{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"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":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"IssueDetail.TaskDetailSurface (cyclomatic 895): IssueDetail.TaskDetailSurface has cyclomatic complexity 895 (threshold 15). Of this number, 365 points are the body\u0027s own statements and 530 belong to 213 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e152c6cee100e1d3df6a6c754a5b7ed3ec7d42188e77c6bd8243960f8fb619c9"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatThread.TaskChatThread (cyclomatic 828): TaskChatThread.TaskChatThread has cyclomatic complexity 828 (threshold 15). Of this number, 225 points are the body\u0027s own statements and 603 belong to 104 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f3e2ef7dc27b0a43ed01c6fda430f945c4b32e1892bbf3b01c5edd292065a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.StandardConnectionSetupFlow (cyclomatic 588): ConnectionSetupFlow.StandardConnectionSetupFlow has cyclomatic complexity 588 (threshold 15). Of this number, 251 points are the body\u0027s own statements and 337 belong to 73 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5101ae8d1f22993765cc566a21d3cc06d165e9d64515525719b43ad93073c9"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfigForm.AgentConfigForm (cyclomatic 576): AgentConfigForm.AgentConfigForm has cyclomatic complexity 576 (threshold 15). Of this number, 382 points are the body\u0027s own statements and 194 belong to 64 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6876dc730e7bb23b74a92a0a647496b4b710d1cf20287aa207e5e80dd4d74812"}},{"ruleId":"D1","level":"warning","message":{"text":"Inbox.StreamlinedInbox (cyclomatic 532): Inbox.StreamlinedInbox has cyclomatic complexity 532 (threshold 15). Of this number, 198 points are the body\u0027s own statements and 334 belong to 96 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acedc21617a399ba1e1a28993bba6e2e23c52a4695e440ef26b8b9c3950c350"}},{"ruleId":"D1","level":"warning","message":{"text":"native-restart-recovery.claimNativeRestartRecoveries (cyclomatic 502): native-restart-recovery.claimNativeRestartRecoveries has cyclomatic complexity 502 (threshold 15). Most of this is not in the body itself: 8 of the 502 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1188, 1279, 2197). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f41b81f644762d74289a9fd5d1c5df43c04fce210c874c0b50cd71b2da5ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueProperties.IssueProperties (cyclomatic 492): IssueProperties.IssueProperties has cyclomatic complexity 492 (threshold 15). Of this number, 317 points are the body\u0027s own statements and 175 belong to 85 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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"308fd31e6e88ff1d274372e78905ac5e643cc9e22aa124ae683757bc62a08d07"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat.heartbeatService.executeRunAttempt (cyclomatic 490): heartbeat.heartbeatService.executeRunAttempt has cyclomatic complexity 490 (threshold 15). Of this number, 377 points are the body\u0027s own statements and 113 belong to 29 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":"server/src/services/heartbeat.ts"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"70428887ba883d80072f6b712f65e4a6d2b10fd957cff30190d7a8511ccb0459"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSessionAttempt (cyclomatic 450): native-session-executor.executePaperclipNativeSessionAttempt has cyclomatic complexity 450 (threshold 15). To reduce it, separate the cases: extract each independent 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 (native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10798}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8fe1c2f2cd8b37c0da5c2e5aa34f7e4320f083380cf98162a5dbae4a54df34"}},{"ruleId":"D1","level":"warning","message":{"text":"Secrets.Secrets (cyclomatic 441): Secrets.Secrets has cyclomatic complexity 441 (threshold 15). Of this number, 243 points are the body\u0027s own statements and 198 belong to 85 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ed51a576bfbde7e7698643a8125cb08177a4c6ab78ba2fa8f33a03d6cf388e"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-task-runtime.executeEnvironmentTask (cyclomatic 409): environment-task-runtime.executeEnvironmentTask has cyclomatic complexity 409 (threshold 15). Of this number, 371 points are the body\u0027s own statements and 38 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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd94503309206dbb7a7dab82e89df9f8a01880721ac3af93fec53b27ef11744e"}},{"ruleId":"D1","level":"warning","message":{"text":"IssuesList.StreamlinedIssuesList (cyclomatic 390): IssuesList.StreamlinedIssuesList has cyclomatic complexity 390 (threshold 15). Of this number, 118 points are the body\u0027s own statements and 272 belong to 80 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e0f7a4558af7caaf5d59e20eea6bb1626cb1c3e7f0159a561f5dc998d5f9e7"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim (cyclomatic 377): native-session-executor.createRunnerdBackendWithinSessionClaim has cyclomatic complexity 377 (threshold 15). Of this number, 233 points are the body\u0027s own statements and 144 belong to 30 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16302}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dba2d3f4a39b35e134b3a8e83083ae23cc665b761b171be1e6bb738236045f"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner (cyclomatic 371): OnboardingWizard.OnboardingWizardInner has cyclomatic complexity 371 (threshold 15). To reduce it, separate the cases: extract each independent 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: 4 other methods here (OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b828f7b19750dc968909358fa6b9ef92e55c2f580c50123770e36b7d0ef2acb"}},{"ruleId":"D1","level":"warning","message":{"text":"explicit-native-continuation.admitExplicitNativeContinuation (cyclomatic 367): explicit-native-continuation.admitExplicitNativeContinuation has cyclomatic complexity 367 (threshold 15). Of this number, 352 points are the body\u0027s own statements and 15 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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"554d0737c6feddf8916a4d7051efb29162b6c519545bc58efb76d3e649636ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#resumeWork (cyclomatic 359): DurablePrpCodexTransport.#resumeWork has cyclomatic complexity 359 (threshold 15). Of this number, 349 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6714}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d0846c302eda7226bc69596732b638bb3f1564830fea683582f1f939f8ccf0"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyInbox.Inbox (cyclomatic 354): LegacyInbox.Inbox has cyclomatic complexity 354 (threshold 15). Of this number, 94 points are the body\u0027s own statements and 260 belong to 71 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39d9c2049014b5b6eda05c4752a6707729b414f00a38fb67941a5052902b3d5"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyIssuesList.IssuesList (cyclomatic 348): LegacyIssuesList.IssuesList has cyclomatic complexity 348 (threshold 15). Of this number, 95 points are the body\u0027s own statements and 253 belong to 79 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd2f7952e48d5146cf08578177d7d6b3542ffd4d6c3ca29b969f68a4aac4c63"}},{"ruleId":"D1","level":"warning","message":{"text":"plugins.pluginRoutes (cyclomatic 335): plugins.pluginRoutes has cyclomatic complexity 335 (threshold 15). Most of this is not in the body itself: 1 of the 335 points is its own statement and the rest belongs to 54 function items inside it that branch (a function literal at line 1881, a function literal at line 1051, a function literal at line 1189, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"65de141ccb4522e62ddfcf283a0ad87f96a122f52f50eaaab043135059050a48"}},{"ruleId":"D1","level":"warning","message":{"text":"testing.createTestHarness (cyclomatic 330): testing.createTestHarness has cyclomatic complexity 330 (threshold 15). Of this number, 255 points are the body\u0027s own statements and 75 belong to 36 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/plugins/sdk/src/testing.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c87516b2f329f202be558ba748ac99e5005502bbd5c3a91be82023ce664097b"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueDocumentsSection.AccountIssueDocumentsSection (cyclomatic 321): IssueDocumentsSection.AccountIssueDocumentsSection has cyclomatic complexity 321 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 296 belong to 74 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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"493544c2f8f6863ad786cfa040dd89f7200b2faea8fb2868462020d8c657c762"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-codex-app-server::run (cyclomatic 316): paperclip_runner_core::bin::fake-codex-app-server::run has cyclomatic complexity 316 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"306ac1c94fa96d80a8490d5fcdbbbd6ce88b26915e072434eca6e5a34bdfd8b6"}},{"ruleId":"D1","level":"warning","message":{"text":"access.accessRoutes (cyclomatic 313): access.accessRoutes has cyclomatic complexity 313 (threshold 15). Most of this is not in the body itself: 2 of the 313 points are its own statements and the rest belongs to 49 function items inside it that branch (a function literal at line 3619, a function literal at line 2812, a function literal at line 3436, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3e05915a18f89f8a612b1f1832bf1891340d77599896384d2e7a6f21394193"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentSetup.Setup (cyclomatic 303): NewAgentSetup.Setup has cyclomatic complexity 303 (threshold 15). To reduce it, separate the cases: extract each independent 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: 5 other methods here (NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, NewAgentSetup.Setup::saveDraft, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c08d7a4e6e740c4220bc917161360834a73e8a906632384f764e2ccd328e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.companyPortabilityService.importBundle (cyclomatic 300): company-portability.companyPortabilityService.importBundle has cyclomatic complexity 300 (threshold 15). Of this number, 281 points are the body\u0027s own statements and 19 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":"server/src/services/company-portability.ts"},"region":{"startLine":5276}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8577b1b460e0d0e720012341af03f28a1d4f8bb51f41087790b5eeeb2362d8"}},{"ruleId":"D1","level":"warning","message":{"text":"status-decision-committer.commitNativeStatusDecision (cyclomatic 295): status-decision-committer.commitNativeStatusDecision has cyclomatic complexity 295 (threshold 15). Most of this is not in the body itself: 9 of the 295 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1707, 2141, 2654, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a1c6b902bbd8cf3e12215965f2914b27c8e3f079c4877151fc5df4f973924b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.connectGalleryApp (cyclomatic 295): tool-access.toolAccessService.connectGalleryApp has cyclomatic complexity 295 (threshold 15). Of this number, 275 points are the body\u0027s own statements and 20 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6ffab50c5fefa50fa93972b00523163fdffe14af892456129b93e96470930"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueDetail.IssueDetailChatTab (cyclomatic 287): IssueDetail.IssueDetailChatTab has cyclomatic complexity 287 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 199 belong to 38 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b625b37796253565fa778bf0f931bb707590812b8565d0fd114ae9b3d3078f"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver (cyclomatic 282): environment-runtime.createSandboxEnvironmentDriver has cyclomatic complexity 282 (threshold 15). To reduce it, separate the cases: extract each independent 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 (environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease, environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd3a1a8a146170a769b1c216d76d1230457c287fd8d47eddc3c6de8973323e6"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.CompanySkills (cyclomatic 278): CompanySkills.CompanySkills has cyclomatic complexity 278 (threshold 15). Of this number, 103 points are the body\u0027s own statements and 175 belong to 80 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f80a6681774657e13be41ccf879219dc339f0680a89f2ddee02b54f63adcc12"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-preparation.prepareHeartbeatWorkspaceLocked (cyclomatic 273): workspace-preparation.prepareHeartbeatWorkspaceLocked has cyclomatic complexity 273 (threshold 15). To reduce it, separate the cases: extract each independent 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 (workspace-preparation.prepareHeartbeatWorkspaceLocked::bindIssueToPersistedExecutionWorkspace) 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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb9d79fe964d2e20b794c9347a12a917e5933f9f5a82a8a8cc0837b3238422"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyEnvironments.CompanyEnvironments (cyclomatic 257): CompanyEnvironments.CompanyEnvironments has cyclomatic complexity 257 (threshold 15). Of this number, 145 points are the body\u0027s own statements and 112 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b3ea4d81fd9005fd63c6da7e88452aabba0c09494132428d08fc413dbda60"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.renderPaperclipWakePromptBody (cyclomatic 247): server-utils.renderPaperclipWakePromptBody has cyclomatic complexity 247 (threshold 15). Of this number, 196 points are the body\u0027s own statements and 51 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":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdbf27d327898943b90f093e80d4666a0e208621603a84ddeea6ab46c3fe981"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createAuthorizationService.decideBase (cyclomatic 243): authorization.createAuthorizationService.decideBase has cyclomatic complexity 243 (threshold 15). Of this number, 214 points are the body\u0027s own statements and 29 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":"server/src/services/authorization.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e06038c2160507a35e0b5efd6197a597d22fd25add3a337adb7b918497d9b6"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.CompanySkills (cyclomatic 243): CompanySkills.production.CompanySkills has cyclomatic complexity 243 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 153 belong to 75 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05759369b690b9764b80f0600eed3e9539d95fa02e6e779a1082ce9d4fbbf7c"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.reconcileStrandedAssignedIssues (cyclomatic 233): service.recoveryService.reconcileStrandedAssignedIssues has cyclomatic complexity 233 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5cff59bf7b05ad8b8d33634dd8ce374fcd49d2f2593437a1285ee6c2f42594"}},{"ruleId":"D1","level":"warning","message":{"text":"external-chat-question-response.resolveQuestionResponseChain (cyclomatic 230): external-chat-question-response.resolveQuestionResponseChain has cyclomatic complexity 230 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9851afedb9d1742d499bff38fe56dcbd0352c53a369617945a5427278582da"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces (cyclomatic 224): execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces has cyclomatic complexity 224 (threshold 15). To reduce it, separate the cases: extract each independent 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 (execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces::expireTaskDirectory) 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a091788c369cd8ad7bbda534077118f6ca4d7032fdae4a621c8aad06653a6aeb"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.companyPortabilityService.exportBundle (cyclomatic 221): company-portability.companyPortabilityService.exportBundle has cyclomatic complexity 221 (threshold 15). Of this number, 191 points are the body\u0027s own statements and 30 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":"server/src/services/company-portability.ts"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee9174cbb8e2845defd6c921802b3c6070e3fdb89644fce6d09a7f6cb41785"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownEditor.MarkdownEditor (cyclomatic 218): MarkdownEditor.MarkdownEditor has cyclomatic complexity 218 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 177 belong to 48 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08a72cc7e1ca4995b1ebb49ad425ad4a39fa7aa68007551df1ffd90678bc5e"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-events.nativeRunEventsToTranscript (cyclomatic 212): native-run-events.nativeRunEventsToTranscript has cyclomatic complexity 212 (threshold 15). Of this number, 204 points are the body\u0027s own statements and 8 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b76e0eb505c2cb0ef8f538e1926e49f280aa8fdd893759f7c33ac81e75a82ac"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.PromptsTab (cyclomatic 209): AgentDetail.PromptsTab has cyclomatic complexity 209 (threshold 15). Of this number, 110 points are the body\u0027s own statements and 99 belong to 40 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"578b73022f6df2600411201be57bd1261e94f9bd0fe573cfda2164c37ccf8378"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.failedChatRetrySource (cyclomatic 207): failed-run-retry.createChatFailedRunRetry.failedChatRetrySource has cyclomatic complexity 207 (threshold 15). Of this number, 199 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6654d345612004f8cbc5cfb1b8076926b56300dfaed22bbda5ccaca9ac5c8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-finalizer.finalizeNativeRun (cyclomatic 203): native-run-finalizer.finalizeNativeRun has cyclomatic complexity 203 (threshold 15). Of this number, 188 points are the body\u0027s own statements and 15 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d539700215cf6cdc6d1109e6318f50b284dadf2647490b7fd7b7d2d66a823237"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-session-notifications.mapNotificationBody (cyclomatic 202): codex-session-notifications.mapNotificationBody has cyclomatic complexity 202 (threshold 15). Of this number, 200 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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a26a28e5d4c399682f540ed42dd62aa790c5ef5ac4ec2fe9794bf85c53a58b5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-execution.parseNativeExecutionInput (cyclomatic 201): native-execution.parseNativeExecutionInput has cyclomatic complexity 201 (threshold 15). Of this number, 198 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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34dd2ee913551caef151c869450fc7be5bff5f2e989a0353ac71d2bfc9c9da4"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-managed-runtime.prepareSandboxManagedRuntime (cyclomatic 200): sandbox-managed-runtime.prepareSandboxManagedRuntime has cyclomatic complexity 200 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 139 belong to 28 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaa90ee2313a074f18d92ab9cb5f09f91531997423944879ea4566940e88827"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.enqueueWakeup (cyclomatic 200): queue.createHeartbeatQueue.enqueueWakeup has cyclomatic complexity 200 (threshold 15). To reduce it, separate the cases: extract each independent 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 (queue.createHeartbeatQueue.enqueueWakeup::existingDurableReceipt) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f908b879b6d9c0b8f68fae8dae72f46fd39e9916c4d62f05a37187a7b7ca5077"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-runtime.executeNativeSession (cyclomatic 200): native-session-runtime.executeNativeSession has cyclomatic complexity 200 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a437874e78e3ddbf8a9faf137cecc47624ec546d478fe12d102e13cff9c60e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Costs.Costs (cyclomatic 198): Costs.Costs has cyclomatic complexity 198 (threshold 15). Of this number, 121 points are the body\u0027s own statements and 77 belong to 33 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":"ui/src/pages/Costs.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"42184bc2955501bb3929b207e52234e5950a9484fad40d213c1a4e59e5caf10c"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-management-authz.connectionManagementGuard.\u003Creturned closure\u003E.\u003Creturned closure\u003E::authorizeRequest (cyclomatic 196): connection-management-authz.connectionManagementGuard.\u003Creturned closure\u003E.\u003Creturned closure\u003E::authorizeRequest has cyclomatic complexity 196 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dc25a794d180863b08b6c6c129889b3b2858e0d604740f5fb0d91b59d2e6a2"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.recoverActiveExecutions (cyclomatic 195): recovery.createHeartbeatRecovery.recoverActiveExecutions has cyclomatic complexity 195 (threshold 15). Of this number, 183 points are the body\u0027s own statements and 12 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cee82a24aec3ad385aaffa367d2a2d989ed02ff20a0967a2198e52e87504f5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.inspectRetainedNativeSessionCleanup (cyclomatic 195): native-session-executor.inspectRetainedNativeSessionCleanup has cyclomatic complexity 195 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 134 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"69622ea843c4eeaea660799ba81767473e5836a8eea242213a72a39d2086fd41"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 190): App.App has cyclomatic complexity 190 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 116 belong to 58 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"824575111042dd0a86e2fe0a6a0620527ce5229d634ad48f7c416e21058689b6"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.attentionService.list (cyclomatic 189): attention.attentionService.list has cyclomatic complexity 189 (threshold 15). Of this number, 166 points are the body\u0027s own statements and 23 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":"server/src/services/attention.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae374b6371d7c490f90d1cb25cb7b3755547afc70884b218a78eba37133ca5"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-selection.selectHeartbeatRuntime (cyclomatic 188): runtime-selection.selectHeartbeatRuntime has cyclomatic complexity 188 (threshold 15). Of this number, 117 points are the body\u0027s own statements and 71 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":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7250b6354710b539e2729b9738223109bbdf5f5b93db5a8f446761b5f600708"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.execute (cyclomatic 186): PaperclipRunnerToolAuthority.execute has cyclomatic complexity 186 (threshold 15). Of this number, 164 points are the body\u0027s own statements and 22 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bc1b4d7dc41376ef26c1806b9560b31f3e0dc8e8f704fae2ce2a93a8f2536b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeTool (cyclomatic 185): tool-gateway.createToolGatewayService.executeTool has cyclomatic complexity 185 (threshold 15). Of this number, 184 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a51dd52ee8c1d6dd5393c658c5ebd87f98f338a254161a0ad548d01f6b95217"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskSidePanel.TaskSidePanelForScope (cyclomatic 185): TaskSidePanel.TaskSidePanelForScope has cyclomatic complexity 185 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 130 belong to 26 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a83809058155e9e5b68a0854537636b6888b860c4acb7824cf9f59723d860"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointSetup.ChatSdkEndpointSetup (cyclomatic 183): ChatEndpointSetup.ChatSdkEndpointSetup has cyclomatic complexity 183 (threshold 15). Of this number, 103 points are the body\u0027s own statements and 80 belong to 24 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"732c5c2bbfb799485fb5a567abfa94481b2d07413b8321239f07de8393829d72"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillRoutes (cyclomatic 182): company-skills.companySkillRoutes has cyclomatic complexity 182 (threshold 15). Most of this is not in the body itself: 1 of the 182 points is its own statement and the rest belongs to 65 function items inside it that branch (a function literal at line 1400, a function literal at line 1231, assertCanMutateCompanySkills, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3849604cb0edcd981db6cb2ab75b9a26022b9faf4daaaf945bc1a49a40ebc36"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-runtime.consumeTurn (cyclomatic 177): native-session-runtime.consumeTurn has cyclomatic complexity 177 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 154 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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2465d5ad51f10d805c9e966147011a929e3790ebac7f24e5efd2a5432839e0"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-host-services.buildHostServices (cyclomatic 177): plugin-host-services.buildHostServices has cyclomatic complexity 177 (threshold 15). Of this number, 158 points are the body\u0027s own statements and 19 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aa45736d59089321a36efc4e95bb2f9176c9d21d666eb4566e30bd2fb4553e"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailEndpointSetup.EmailEndpointSetupForm (cyclomatic 177): EmailEndpointSetup.EmailEndpointSetupForm has cyclomatic complexity 177 (threshold 15). Of this number, 124 points are the body\u0027s own statements and 53 belong to 22 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdda40d4f35b5aa46ca172a8c84d2a4bc597224e7eb7ec5d62c2a05b9796071"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-adapter.openQualifiedAcpxRuntime (cyclomatic 171): acpx-runtime-adapter.openQualifiedAcpxRuntime has cyclomatic complexity 171 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 102 belong to 22 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a67ec1d0eb7329d2d32e9b12e60ef7d0c60d9885cfe714e02fb9a93f48b3fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"Browse.Browse (cyclomatic 171): Browse.Browse has cyclomatic complexity 171 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 122 belong to 34 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e3a7df77310c063349ff0a6e73564be858e6b6b5f6628f2404072dc021fae6"}},{"ruleId":"D1","level":"warning","message":{"text":"LogViewer.LogViewer (cyclomatic 167): LogViewer.LogViewer has cyclomatic complexity 167 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 115 belong to 25 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db38572ba246ad123c01b42c1b55582301439348a91123c03cd6f383af62e45"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.AgentDetail (cyclomatic 166): AgentDetail.AgentDetail has cyclomatic complexity 166 (threshold 15). Of this number, 93 points are the body\u0027s own statements and 73 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b032486b63d15a2e7c25a8c97c934fa1b6a1f00461a9325ec52a59d906d5bc60"}},{"ruleId":"D1","level":"warning","message":{"text":"task-interruption-presentation.projectTaskInterruptionState (cyclomatic 165): task-interruption-presentation.projectTaskInterruptionState has cyclomatic complexity 165 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7917a0819935ea521bcf8b89f5a92d06e366626f9d482f88edd655e373044c"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 164): execute.execute has cyclomatic complexity 164 (threshold 15). To reduce it, separate the cases: extract each independent 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 (execute.execute::runAttempt, execute.execute::toResult) 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c512f7a2746080bfaf5370d5675f2a17c825d4a7c04708b22d02334fe6dfe42"}},{"ruleId":"D1","level":"warning","message":{"text":"callbacks.createChatInteractionCallbacks.handleAction (cyclomatic 164): callbacks.createChatInteractionCallbacks.handleAction has cyclomatic complexity 164 (threshold 15). Of this number, 137 points are the body\u0027s own statements and 27 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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"778fdbbad5fa06f20326a036078aa9b4fb253057b80b726f4aa48edac3e00404"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-acpx-sidecar::run (cyclomatic 164): paperclip_runner_core::bin::fake-acpx-sidecar::run has cyclomatic complexity 164 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"419d864de2a2b28606162213edc0753b7131a4b2a1f16e64f89aadbe427a769d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointSetup.ProviderConnectStep (cyclomatic 161): ChatEndpointSetup.ProviderConnectStep has cyclomatic complexity 161 (threshold 15). Of this number, 143 points are the body\u0027s own statements and 18 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b64dc89096ce1ac3ca1815af545e2faeb4c80b33afc277ac8624a908cb613"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeRemoteHttpTool (cyclomatic 160): tool-gateway.createToolGatewayService.executeRemoteHttpTool has cyclomatic complexity 160 (threshold 15). Of this number, 133 points are the body\u0027s own statements and 27 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7731}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb8bb14ce8b343da879da0edadcc115fc8fdfcecd8568a59692d2870e306725"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.Layout (cyclomatic 159): Layout.Layout has cyclomatic complexity 159 (threshold 15). Of this number, 112 points are the body\u0027s own statements and 47 belong to 21 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e672d50cc09d8328842131f0d4ab5ae2acf37a243159fbb75c200f1a7ebde64"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionIntentInteractionBody.ConnectionIntentInteractionBody (cyclomatic 159): ConnectionIntentInteractionBody.ConnectionIntentInteractionBody has cyclomatic complexity 159 (threshold 15). Of this number, 133 points are the body\u0027s own statements and 26 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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"780e79dfdc3550c1f0a373ff27016045125503c497d5a2cd215704cb66f8e80e"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.resolveAgentRunner (cyclomatic 157): agent-runner-selection.resolveAgentRunner has cyclomatic complexity 157 (threshold 15). Of this number, 151 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c29b50f7e414a0108177796c781eaaffe8678452bbe204eb70e677cb4d89a4"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfigForm.SubmittedBrowserCodeLoginPanel (cyclomatic 157): AgentConfigForm.SubmittedBrowserCodeLoginPanel has cyclomatic complexity 157 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 81 belong to 30 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4723b8abbf14f547b17b0c6d7c135529cd5b50085ef6a2b6d17720b49a5314e"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerInspector.RunnerInspector (cyclomatic 157): RunnerInspector.RunnerInspector has cyclomatic complexity 157 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 92 belong to 24 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92e6f635c25300b15fdb63e55a21460a7c792d88e054ab892a8606c92628516"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceFileBrowser.WorkspaceFileBrowser (cyclomatic 156): WorkspaceFileBrowser.WorkspaceFileBrowser has cyclomatic complexity 156 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 86 belong to 33 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":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac219fad24c1e69f8804dcecdf592fa602c8799b599d5ba7dfec645c03da4a"}},{"ruleId":"D1","level":"warning","message":{"text":"retries.createHeartbeatRetries.scheduleBoundedRetryForRun (cyclomatic 155): retries.createHeartbeatRetries.scheduleBoundedRetryForRun has cyclomatic complexity 155 (threshold 15). Of this number, 91 points are the body\u0027s own statements and 64 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7985faaaee80db169d7eb5624adaa6dfc93bcd259f154731504800b58eb283f"}},{"ruleId":"D1","level":"warning","message":{"text":"config-fields.CodexLocalConfigFields (cyclomatic 155): config-fields.CodexLocalConfigFields has cyclomatic complexity 155 (threshold 15). Of this number, 104 points are the body\u0027s own statements and 51 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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cdd4ee8210235aef3616dd653c802bbca3f994d4cd5b2f5f41a89f04622fda"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternallyConnectedTaskBanner.ConnectedTaskComposer (cyclomatic 154): ExternallyConnectedTaskBanner.ConnectedTaskComposer has cyclomatic complexity 154 (threshold 15). Of this number, 100 points are the body\u0027s own statements and 54 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":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0b99a97e73dd5c80606c820551ccd139142577fe9fc4609190babde72f092"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.production.AgentDetail (cyclomatic 154): AgentDetail.production.AgentDetail has cyclomatic complexity 154 (threshold 15). Of this number, 79 points are the body\u0027s own statements and 75 belong to 28 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96f39b386307ca233975b1899e28f88cac679f67382f78500822ed5d1ab27e0"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChatPrototype.AgentChatPrototype (cyclomatic 154): AgentChatPrototype.AgentChatPrototype has cyclomatic complexity 154 (threshold 15). Most of this is not in the body itself: 7 of the 154 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 358, 241, 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":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f324668b5a5fd3a2eb950f5ca47dc5afd856756df6a01b1863cffc1946f1cc"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-retry-schedule.readIdleRetrySchedule (cyclomatic 153): idle-retry-schedule.readIdleRetrySchedule has cyclomatic complexity 153 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-retry-schedule.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b3c638a93fe6878c250f5a26513283fe0671f107496cd283a7dcccadf2a1b4"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.toolGatewayRoutes (cyclomatic 153): tool-gateway.toolGatewayRoutes has cyclomatic complexity 153 (threshold 15). Most of this is not in the body itself: 1 of the 153 points is its own statement and the rest belongs to 26 function items inside it that branch (a function literal at line 815, a function literal at line 1047, assertBoardMutationAccess, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14df36550a5d4c64653fe2df84518d4036f0893773f0482e1e9930cadb31747"}},{"ruleId":"D1","level":"warning","message":{"text":"native-completion-feedback.nativeCompletionFeedback (cyclomatic 152): native-completion-feedback.nativeCompletionFeedback has cyclomatic complexity 152 (threshold 15). Of this number, 148 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":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9a827831cd9a423cf7c63342f379009a8c098a77de5246f74e0d817219788e"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.invalidateActivityQueries (cyclomatic 152): LiveUpdatesProvider.invalidateActivityQueries has cyclomatic complexity 152 (threshold 15). Of this number, 149 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c5fed0e94c76a9cb60d28cf28406e4fd930d731a1da3bfa620e778418ed8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-selection.selectHeartbeatEnvironment (cyclomatic 151): environment-selection.selectHeartbeatEnvironment has cyclomatic complexity 151 (threshold 15). Of this number, 149 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":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ed99532f167415e5bfd26c73fc71d0fa80e08944e306e032aefa0dc8272d79"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelRoutes (cyclomatic 151): chat-channels.chatChannelRoutes has cyclomatic complexity 151 (threshold 15). Most of this is not in the body itself: 1 of the 151 points is its own statement and the rest belongs to 64 function items inside it that branch (a function literal at line 445, a function literal at line 598, setupHandoff, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee92939507f3fe81c2d05f6bf78829ade190328eaf746d6e83f71ffb2161a532"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelService.processMessage (cyclomatic 150): chat-channels.chatChannelService.processMessage has cyclomatic complexity 150 (threshold 15). To reduce it, separate the cases: extract each independent 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 (chat-channels.chatChannelService.processMessage::persistTaskMutation) 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":"server/src/services/chat-channels.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13dbe12b7eeb263e875aaf214fe4c15af93d8767895514646829ed75e98c6d4"}},{"ruleId":"D1","level":"warning","message":{"text":"companies.companyRoutes (cyclomatic 146): companies.companyRoutes has cyclomatic complexity 146 (threshold 15). Most of this is not in the body itself: 1 of the 146 points is its own statement and the rest belongs to 36 function items inside it that branch (a function literal at line 1256, resolveImportTransferBody, a function literal at line 852, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8026e2c3bab591bf47c654b339976a0dd480d94baf054c8002d74bfc2e2c7790"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.transcriptToTaskChatItems (cyclomatic 146): transcript-adapter.transcriptToTaskChatItems has cyclomatic complexity 146 (threshold 15). Of this number, 140 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"298a22c6a6d07c95654300ee271ee4fdaa792a587596e148f2b8d158f4333540"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-continuation-fallback.continueFreshInTransaction (cyclomatic 144): fresh-continuation-fallback.continueFreshInTransaction has cyclomatic complexity 144 (threshold 15). Of this number, 127 points are the body\u0027s own statements and 17 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54f3781e21b291ff795e06a829c32258a30871e22a43fdd414ca3d00c354ed9"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatComposer.TaskChatComposer (cyclomatic 144): TaskChatComposer.TaskChatComposer has cyclomatic complexity 144 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (TaskChatComposer.TaskChatComposer::submit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce978d3c05ea0a97a7313e4fd0f2b6af765edb13ddd7de6c06fb571c9c877f0"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubChatSetup.GitHubChatSetup (cyclomatic 144): GitHubChatSetup.GitHubChatSetup has cyclomatic complexity 144 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 47 belong to 19 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":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f76e474a38e4579427311820315054afbcfb217ff44ea919ef0e809368d06da"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.buildRuntime (cyclomatic 143): execute.buildRuntime has cyclomatic complexity 143 (threshold 15). Of this number, 127 points are the body\u0027s own statements and 16 belong to 11 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14ffafe425f0ec320d5fd014e478d7860620d007b56009bac3148432601839f"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.environmentRoutes (cyclomatic 143): environments.environmentRoutes has cyclomatic complexity 143 (threshold 15). Most of this is not in the body itself: 1 of the 143 points is its own statement and the rest belongs to 31 function items inside it that branch (a function literal at line 1182, a function literal at line 1327, resolveEnvironmentSecretContextCompanyId, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaffe0dc4a8f649617067b589dcdae1e618d0738a061fa99ebd332d636adad3"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.settleRetainedRunnerdSessionOwned (cyclomatic 141): runnerd-codex-transport.settleRetainedRunnerdSessionOwned has cyclomatic complexity 141 (threshold 15). Of this number, 116 points are the body\u0027s own statements and 25 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"4782cb033982673f85543b589a622c6e938e885649fd28daf94f5b72061d555a"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.inspect (cyclomatic 141): remote-workspace-migration.inspect has cyclomatic complexity 141 (threshold 15). Of this number, 139 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c29933a94afbfaaedd5eb057163ef1296f5f159b3b467a49aeec54e9ff7c4ca"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 138): execute.execute has cyclomatic complexity 138 (threshold 15). Of this number, 98 points are the body\u0027s own statements and 40 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d529e6c26a773b7095c470a4eb883c97687d21f2cb2d65efbd266b0af20a3031"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization-start.createOAuthAuthorizationStart.startOAuth (cyclomatic 138): authorization-start.createOAuthAuthorizationStart.startOAuth has cyclomatic complexity 138 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 49 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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30824e9f0e83b9191fa17cb6a569b4f0361a1734fdf4e32c88228b509d0791b"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-source.inspectWorkspaceRecoverySource (cyclomatic 136): workspace-recovery-source.inspectWorkspaceRecoverySource has cyclomatic complexity 136 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-source.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17546d02e8f568f8317450e6739b1e77d3cded70794aff844d025785c59116a"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubChatPreview.GitHubChatPreview (cyclomatic 135): GitHubChatPreview.GitHubChatPreview has cyclomatic complexity 135 (threshold 15). Of this number, 96 points are the body\u0027s own statements and 39 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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3365d325d17507e0ce3074530aaa59954cc7f8e33b46b46a023b67e895aa5e14"}},{"ruleId":"D1","level":"warning","message":{"text":"native-safe-replacement.reconcileSafeNativeReplacements (cyclomatic 133): native-safe-replacement.reconcileSafeNativeReplacements has cyclomatic complexity 133 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 76 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"22abc75248c7fd4d6e7c08a0f1ce07a00d25e211b0e97154b00da133931267dd"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.cancelRun (cyclomatic 132): run-control.createHeartbeatRunControl.cancelRun has cyclomatic complexity 132 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 77 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3612d06e25d3523997378f7b74fff509d310c26349a4ea8157eeb029d034ae66"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDetail.StandardAppDetail (cyclomatic 131): AppDetail.StandardAppDetail has cyclomatic complexity 131 (threshold 15). Of this number, 103 points are the body\u0027s own statements and 28 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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1caf9c7d2510a55f621a2f8123d24cf3887642374f8946d9530c5fd13b2529"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentProviderConnection.AgentProviderConnection (cyclomatic 131): AgentProviderConnection.AgentProviderConnection has cyclomatic complexity 131 (threshold 15). To reduce it, separate the cases: extract each independent 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 (AgentProviderConnection.AgentProviderConnection::connect) 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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adff8d1ab56abebba95ece13f6d4774d794b4034282825f83c618d13cda0702"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#deliverCommittedEvents (cyclomatic 130): DurablePrpCodexTransport.#deliverCommittedEvents has cyclomatic complexity 130 (threshold 15). Of this number, 116 points are the body\u0027s own statements and 14 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68045900164e662d7e880b13d1026d7beb3d90b74c2556c76b3d9ff010566e"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-continuation.buildExecutionContinuation (cyclomatic 130): execution-continuation.buildExecutionContinuation has cyclomatic complexity 130 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 63 belong to 12 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":"server/src/services/execution-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"036338dbda0dbcb9795c1533dac65c31c1977fd0f38da3b1665725aa597e5b21"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatThread (cyclomatic 129): IssueChatThread.IssueChatThread has cyclomatic complexity 129 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 98 belong to 25 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5872}}}],"partialFingerprints":{"codehealthFindingId/v1":"89759b1f6ce365619012e0deed729454d932d0ceef6b6143a9c861277bf18ef8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionWorkspaceDetail.ExecutionWorkspaceDetail (cyclomatic 129): ExecutionWorkspaceDetail.ExecutionWorkspaceDetail has cyclomatic complexity 129 (threshold 15). Of this number, 80 points are the body\u0027s own statements and 49 belong to 28 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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beea562af53833be79bd195fefb0002b0ebeea92b188379113517191827eda9"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 128): execute.execute has cyclomatic complexity 128 (threshold 15). To reduce it, separate the cases: extract each independent 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 (execute.execute::toAdapterResult) 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ff1b84c901d9cb155584754aa4014d491d89c27ae95e62bc9c359da169dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"live-session.assertCapabilityLiveSessionSnapshot (cyclomatic 128): live-session.assertCapabilityLiveSessionSnapshot has cyclomatic complexity 128 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c8acf81d367346bfa556600b70e497b7acf5c404c0c5bfb234faddbab4b021"}},{"ruleId":"D1","level":"warning","message":{"text":"status-arbiter.arbitrateNativeStatus (cyclomatic 128): status-arbiter.arbitrateNativeStatus has cyclomatic complexity 128 (threshold 15). Of this number, 126 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":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9d7b2799b54188088194569b876968d36c7037fee82c68873f9ffed504a629"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-configuration.prepareHeartbeatExecutionConfiguration (cyclomatic 128): execution-configuration.prepareHeartbeatExecutionConfiguration has cyclomatic complexity 128 (threshold 15). Of this number, 92 points are the body\u0027s own statements and 36 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":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe5aad786967d35ceab56fdb149a4eca1d4d1b1bd3022220efaa3076ca9fc2b"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatorTasks.CoordinatorTasks (cyclomatic 128): CoordinatorTasks.CoordinatorTasks has cyclomatic complexity 128 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 62 belong to 20 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"043153983c0bef82259e043214c64a20345b2b4b5b42828792460d2465ae2bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyStoppedNativeSessionForContinuation (cyclomatic 127): native-session-executor.verifyStoppedNativeSessionForContinuation has cyclomatic complexity 127 (threshold 15). Of this number, 113 points are the body\u0027s own statements and 14 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebb424e361c3880f8eb849f307d9a38753033c13126ee951b7c6336119911f7"}},{"ruleId":"D1","level":"warning","message":{"text":"InviteLanding.InviteLandingPage (cyclomatic 127): InviteLanding.InviteLandingPage has cyclomatic complexity 127 (threshold 15). Of this number, 92 points are the body\u0027s own statements and 35 belong to 12 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d76eaa0bd5c035382768397b4a904e5c9902a991bffed3146766aa271523b3"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineDetail.RoutineDetail (cyclomatic 126): RoutineDetail.RoutineDetail has cyclomatic complexity 126 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 67 belong to 26 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9794749c0269e34d0c519064cd116939a6ebba4e0d29c48705e3240ebe083b5"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoffs.caseHandoffService.handoff (cyclomatic 125): case-handoffs.caseHandoffService.handoff has cyclomatic complexity 125 (threshold 15). Most of this is not in the body itself: 2 of the 125 points are its own statements and the rest belongs to one function literal inside it that branches (line 375). 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0735e1bb66f8010bfc2f05ebd2121c0756e4e98795974b4e9d6b05b69211d87"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-management.connectionManagementService.prepareAuthorization (cyclomatic 124): connection-management.connectionManagementService.prepareAuthorization has cyclomatic complexity 124 (threshold 15). Of this number, 115 points are the body\u0027s own statements and 9 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":"server/src/services/connection-management.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5b58b3fd04bd486a2358173cdc8a405a7ae284826de9ec74ce44ae8a3956eb"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-interaction-publications.enqueueIssueInteractionChatPublications (cyclomatic 124): chat-interaction-publications.enqueueIssueInteractionChatPublications has cyclomatic complexity 124 (threshold 15). Of this number, 91 points are the body\u0027s own statements and 33 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"217a345b0a23c8de478258b2d680ba7f295156c5a3b571e845ed183a67e42455"}},{"ruleId":"D1","level":"warning","message":{"text":"run-evidence-migration.migrateRunEvidence (cyclomatic 124): run-evidence-migration.migrateRunEvidence has cyclomatic complexity 124 (threshold 15). Of this number, 110 points are the body\u0027s own statements and 14 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":"server/src/services/run-evidence-migration.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6422a7a827d319851d0c92dad80b5fec70dbacb920bf815401325fe66809dde"}},{"ruleId":"D1","level":"warning","message":{"text":"native-plan-wait.planWaitFromFacts (cyclomatic 123): native-plan-wait.planWaitFromFacts has cyclomatic complexity 123 (threshold 15). Of this number, 118 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":"server/src/services/native-runtime/native-plan-wait.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5efae9fd6d44826b984cd6a3be98ee9999ebf929988b3dab5b9dd6247c77a06"}},{"ruleId":"D1","level":"warning","message":{"text":"task-interruption-presentation.taskInterruptionPresentations (cyclomatic 123): task-interruption-presentation.taskInterruptionPresentations has cyclomatic complexity 123 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 64 belong to 31 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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ee7cae84395d3292d16172e238f569cf65a1b15a1de0f87780a5d16a7f27d8"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceExportRecovery.RetainedFilesRecovery (cyclomatic 123): WorkspaceExportRecovery.RetainedFilesRecovery has cyclomatic complexity 123 (threshold 15). Of this number, 83 points are the body\u0027s own statements and 40 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d9e567970128df8422256e739d915fd88586a9917d60ec41c811fb93dfeec"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.RunDetail (cyclomatic 122): AgentDetail.RunDetail has cyclomatic complexity 122 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 37 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf728160f86c39e45c01b44d9d18d12dc2baa0360a9997aabdfafa85fa0e2af"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectDetail.ProjectDetail (cyclomatic 122): ProjectDetail.ProjectDetail has cyclomatic complexity 122 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 48 belong to 21 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b2c542ef16b21cfa316a6f7d15107bbced705c404b0735c2a73d62b9cda70"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointDetail.Activity (cyclomatic 121): ChatEndpointDetail.Activity has cyclomatic complexity 121 (threshold 15). Of this number, 81 points are the body\u0027s own statements and 40 belong to 13 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b38863513eb84bea0f1960c3e18abfbf05234ff3fad5a01aefcf0b348a25509"}},{"ruleId":"D1","level":"warning","message":{"text":"cases.caseRoutes (cyclomatic 120): cases.caseRoutes has cyclomatic complexity 120 (threshold 15). Most of this is not in the body itself: 1 of the 120 points is its own statement and the rest belongs to 27 function items inside it that branch (a function literal at line 781, a function literal at line 1031, a function literal at line 1598, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1383a7d6f7513004a3b45593cba9bde617f925ee93dfcf75f1cb1a86b23cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerRunSettingsPicker.ComposerRunSettingsPicker (cyclomatic 120): ComposerRunSettingsPicker.ComposerRunSettingsPicker has cyclomatic complexity 120 (threshold 15). Of this number, 83 points are the body\u0027s own statements and 37 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":"ui/src/components/task-chat/ComposerRunSettingsPicker.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"170a0fe83c9bff0e21e1fec46fb374eec1579a52c8b4dcb68588a85601889974"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.create (cyclomatic 119): issue-thread-interactions.issueThreadInteractionService.create has cyclomatic complexity 119 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 60 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3780}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d09d52e649445db6618c9e4c3caa8840891124862ba73bf32ad4f739ec4c7ea"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-projection.projectExecution (cyclomatic 119): execution-projection.projectExecution has cyclomatic complexity 119 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db332beea0c3383afab82fac1ba676784a27f2324c9a0e9ffb9dedb26f9f1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"index.startServerWithDatabaseTeardown (cyclomatic 119): index.startServerWithDatabaseTeardown has cyclomatic complexity 119 (threshold 15). To reduce it, separate the cases: extract each independent 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 (index.startServerWithDatabaseTeardown::performShutdown) 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":"server/src/index.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2282365654df8ecd9d8b12f978ffb4eb6bc665f128a31d94e53ce84cdf574dc"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-execution.executeHeartbeatRuntime (cyclomatic 118): runtime-execution.executeHeartbeatRuntime has cyclomatic complexity 118 (threshold 15). To reduce it, separate the cases: extract each independent 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-execution.executeHeartbeatRuntime::completeWorkspace) 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a650e705f7ff486acd3fcc9638eb71a25c1c6a77dd9effdb69dcf9e3661265"}},{"ruleId":"D1","level":"warning","message":{"text":"configuration.createChatConfiguration.configureWithCredentialLease (cyclomatic 118): configuration.createChatConfiguration.configureWithCredentialLease has cyclomatic complexity 118 (threshold 15). Of this number, 93 points are the body\u0027s own statements and 25 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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e96ff86903a4e4d85d6ad4748d53352f459a3edb04b9347c29807d6c2db4b2"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyWarmTransitionRestart (cyclomatic 118): native-session-executor.verifyWarmTransitionRestart has cyclomatic complexity 118 (threshold 15). Most of this is not in the body itself: 7 of the 118 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 5522, 5816, 5796). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5495}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0782913cfda4b430b22ff848e1e5a88cfdb6ebb0445b246041bd8e7dbd999f"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineEditor.OwnedInlineEditor (cyclomatic 118): InlineEditor.OwnedInlineEditor has cyclomatic complexity 118 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 91 belong to 28 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":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"029417fed07f0eedcef07bcbef847413b424f2c53ad658d18efca0daabd6597b"}},{"ruleId":"D1","level":"warning","message":{"text":"OrgChart.OrgChart (cyclomatic 118): OrgChart.OrgChart has cyclomatic complexity 118 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 71 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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cab52e7c319f8c3b1ef5b89b25ac0f48e01084f23d9d628aa8a2d60dcdbe280"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.IssueThreadInteractionCard (cyclomatic 117): IssueThreadInteractionCard.IssueThreadInteractionCard has cyclomatic complexity 117 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"66107415bd5673bacd7adc935424f1ca88b5e3716b2c408b1fcc762abed6e4bb"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::durable::state::redact_sensitive_text_values (cyclomatic 117): paperclip_runner_core::durable::state::redact_sensitive_text_values has cyclomatic complexity 117 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1c86ed67b25ad0259181c8ae2f4d8c04640a0a3aa585010560122581408b59"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#closeAndSettle (cyclomatic 116): DurablePrpCodexTransport.#closeAndSettle has cyclomatic complexity 116 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 40 belong to 13 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c46c5ccf384d19c85808482330ffb3f3f655cb8a16c47f80be92574149e27d"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-runtime.prepareManagedAiRuntime (cyclomatic 116): ai-connection-runtime.prepareManagedAiRuntime has cyclomatic complexity 116 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 59 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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e88788e8db15cfdcb030271b534c33e705e5cb1b701518e2dab2689b49c8e"}},{"ruleId":"D1","level":"warning","message":{"text":"client-mirror-sync.startMcpClientMirrorSync (cyclomatic 116): client-mirror-sync.startMcpClientMirrorSync has cyclomatic complexity 116 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 42 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":"server/src/services/public-mcp/client-mirror-sync.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"915681d852530a77558472d4b0e6502382f56ad6016667865a1b20f2b20614d9"}},{"ruleId":"D1","level":"warning","message":{"text":"github-skill-source.scanRepository (cyclomatic 115): github-skill-source.scanRepository has cyclomatic complexity 115 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 26 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":"server/src/services/github-skill-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"399979efbcf2d7d5e62107ce1bc81650c6945ad3ae42bf0c136f3cafe838a3f3"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry.admitTaskRetry (cyclomatic 115): task-retry.admitTaskRetry has cyclomatic complexity 115 (threshold 15). Most of this is not in the body itself: 1 of the 115 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 294, 474). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc66af2b209ec125606a6c4b3df5cb7a4c427e75b22655a2d7b37075555644f"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueRow.IssueRow (cyclomatic 115): IssueRow.IssueRow has cyclomatic complexity 115 (threshold 15). Of this number, 107 points are the body\u0027s own statements and 8 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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d282abdb54e816e74b0e35ee504f736590494f1f158c5589759258f59bdeb44a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-control-recovery-stop.readChatControlRecoveryStop (cyclomatic 114): chat-control-recovery-stop.readChatControlRecoveryStop has cyclomatic complexity 114 (threshold 15). Of this number, 109 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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48f225ea9b0784ab59ae5b07db79760dc8a0598cab5fe077d7d233afdd9e15a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.completeRun (cyclomatic 113): run-completion.createHeartbeatRunCompletion.completeRun has cyclomatic complexity 113 (threshold 15). Of this number, 105 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beef61247641398a73093aedc6546d33a132b187aa6c6a7eba644a8c3afe5bd"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.isPreProviderChatFailure (cyclomatic 113): failed-run-retry.createChatFailedRunRetry.isPreProviderChatFailure has cyclomatic complexity 113 (threshold 15). Of this number, 112 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcc8f7ce04b2680a048c222b8cf52ebff182b48b5483d501e11dabfa8f6a477"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueRecoveryActionCard.IssueRecoveryActionCard (cyclomatic 113): IssueRecoveryActionCard.IssueRecoveryActionCard has cyclomatic complexity 113 (threshold 15). Of this number, 93 points are the body\u0027s own statements and 20 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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e945efa4ad0ed72ff794b3e2e02f3744fd30fc159d6e5f5c16d12407c9d462c"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.#executeCommand (cyclomatic 112): CapabilityMockControlPlaneAdapter.#executeCommand has cyclomatic complexity 112 (threshold 15). Of this number, 107 points are the body\u0027s own statements and 5 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e19b29487d5a1ca64266c42dcb1d92f3dc66fcc2b1f802f3d13d97b6102a7d9"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-workspaces.preparePluginWorkspace (cyclomatic 112): plugin-workspaces.preparePluginWorkspace has cyclomatic complexity 112 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 57 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fa4a0c26ac7db020dff004355edab71c0f4a0ce6e67630d6af5e92b6445478"}},{"ruleId":"D1","level":"warning","message":{"text":"Routines.production.Routines (cyclomatic 112): Routines.production.Routines has cyclomatic complexity 112 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 68 belong to 35 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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"15abd6f5d81cff4421f9f160f1a755f4a0bcc1a54ae178e98458249f862accf8"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentWizard.NewAgentWizard (cyclomatic 112): NewAgentWizard.NewAgentWizard has cyclomatic complexity 112 (threshold 15). Of this number, 77 points are the body\u0027s own statements and 35 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":"ui/storybook/prototypes/NewAgentWizard.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d0269ac7f8da14b41abe86581635a16eccc60eddacb884e0d899c6b2c0b88e"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBulkSettingsSheet.AgentBulkSettingsSheet (cyclomatic 111): AgentBulkSettingsSheet.AgentBulkSettingsSheet has cyclomatic complexity 111 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 57 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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"062f31c5341cb38530e3674e74a80431049b5c243d4cc9185451e970e297e438"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.createToolCatalogDiscovery.remoteTools (cyclomatic 110): discovery.createToolCatalogDiscovery.remoteTools has cyclomatic complexity 110 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 32 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"da707091efcabc4c8a1b6a20602659bc7b5fd583495ecef37822929020890e71"}},{"ruleId":"D1","level":"warning","message":{"text":"Routines.Routines (cyclomatic 110): Routines.Routines has cyclomatic complexity 110 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 61 belong to 33 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":"ui/src/pages/Routines.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ceec7eae975b5b249410671627a1443821994ad072e9d0ca87c3d67cfd505f"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-events.canonicalProviderEventsFromCodex (cyclomatic 109): provider-events.canonicalProviderEventsFromCodex has cyclomatic complexity 109 (threshold 15). Of this number, 107 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ff245bd94374a4151ef498f84761e31fcd9c8787b915ffdf975e349e55d45b"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-api-client.executeRunnerApi (cyclomatic 109): runner-api-client.executeRunnerApi 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673837412b2080001867a3554681669a8063369328e85d6ba759d15e70ff590"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive (cyclomatic 108): remote-workspace-snapshot-archive.workspaceArchive has cyclomatic complexity 108 (threshold 15). To reduce it, separate the cases: extract each independent 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: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"193fd2658cd2001f470aa24b5b9adae698262906845c3c83f6f0b1dbca7e4cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.buildPaperclipWakePayload (cyclomatic 108): run-preparation.buildPaperclipWakePayload has cyclomatic complexity 108 (threshold 15). Of this number, 97 points are the body\u0027s own statements and 11 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf0f84a1e1ea5dde9a1bebfd9d0e330758629fc70f803d9c7ddd6b28efee26"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyStoppedNativeSessionForReplacement (cyclomatic 108): native-session-executor.verifyStoppedNativeSessionForReplacement has cyclomatic complexity 108 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 32 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcc7e892568a1e7ad9435938e1d96829e4694d8bae8a34a726be5d7405ceca2"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionForm.QuestionFormForRequest (cyclomatic 108): QuestionForm.QuestionFormForRequest has cyclomatic complexity 108 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 54 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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce73e2fd474ef1a68345beb751889d66ca57d9a7d0aeb9110c5f25f52ef971ed"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.production.PromptsTab (cyclomatic 108): AgentDetail.production.PromptsTab has cyclomatic complexity 108 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 52 belong to 25 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead20b642ba64d9afdd33f0c3dd42037359df48c3b35cd44c5b12be815a9756d"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::durable::runner::run_durable_runner_with_host_control (cyclomatic 108): paperclip_runner_core::durable::runner::run_durable_runner_with_host_control has cyclomatic complexity 108 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee42ba511b12181c630b7e0444d3c38ac5b995b244b7bb495bd1abdb0691a1f"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#event (cyclomatic 107): DurablePrpControlPlane.#event has cyclomatic complexity 107 (threshold 15). Of this number, 91 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e9f698e42299bc255ba275c3ea9d4100e96052ba662b035c6f793f2ee8fbb8"}},{"ruleId":"D1","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.failRunSetup (cyclomatic 107): run-completion.createHeartbeatRunCompletion.failRunSetup has cyclomatic complexity 107 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"702bb8c972676f978edaf2fa2ef18d14d26ec2a6568543b4147328f8f23910ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentInviteContent.ExternalAgentInviteContent (cyclomatic 107): ExternalAgentInviteContent.ExternalAgentInviteContent has cyclomatic complexity 107 (threshold 15). Of this number, 104 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":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"288c81ed3a13cc0b0c18000569942233a13b5e95d71ab3b606785b9135d7d6fd"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectProperties.ProjectProperties (cyclomatic 107): ProjectProperties.ProjectProperties has cyclomatic complexity 107 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 43 belong to 23 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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9987d1a34a0a764493ae60eccea755fadb1c2b706a8b84b3f34ce04709b41d"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardChat.BoardChat (cyclomatic 107): BoardChat.BoardChat has cyclomatic complexity 107 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 80 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":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78eed89ce5469f26dff33c3572e34276a3dabc4a9f082d284f4b34a866eada"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.#mapProviderEventValue (cyclomatic 106): OpenCodeHarnessSession.#mapProviderEventValue has cyclomatic complexity 106 (threshold 15). Of this number, 105 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e153f992952fa30749bcd9d4e82a4ddf1eef506e2dbabdb0b754ea8da2210943"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.production.RunDetail (cyclomatic 106): AgentDetail.production.RunDetail has cyclomatic complexity 106 (threshold 15). Of this number, 79 points are the body\u0027s own statements and 27 belong to 11 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fdcf7eb8a9485fc03a8db4e391a0c8c763ae8670b6c7cbdd767614243cb72a"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat (cyclomatic 105): OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat has cyclomatic complexity 105 (threshold 15). To reduce it, separate the cases: extract each independent 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: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1f31cfa4bec29b4d4bbfe066b0e2498f36f66fb6dda0df99e340e198a38b56"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook-ingress.createGitHubWebhookIngress.recoverGitHubWebhookEndpoint (cyclomatic 104): webhook-ingress.createGitHubWebhookIngress.recoverGitHubWebhookEndpoint has cyclomatic complexity 104 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 19 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9bcf0a2a1472817a35fcdc91e2723acaa5633697b7d5d203679dee40771f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.pluginManifestV1Schema (cyclomatic 104): plugin.pluginManifestV1Schema has cyclomatic complexity 104 (threshold 15). Of this number, 103 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/shared/src/validators/plugin.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85def48ae1c72d21dd0b0f3e8d12110d08342b55102f164c992552ad579519f"}},{"ruleId":"D1","level":"warning","message":{"text":"online-workspace-source.inspectOnlineWorkspaceSource (cyclomatic 104): online-workspace-source.inspectOnlineWorkspaceSource has cyclomatic complexity 104 (threshold 15). Of this number, 101 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":"server/src/services/online-workspace-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3bca50c39e2d1731589780b1a59585d351ecfffaab47f32590ffe7ee324cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineDetail.production.RoutineDetail (cyclomatic 104): RoutineDetail.production.RoutineDetail has cyclomatic complexity 104 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 63 belong to 25 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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4efc01b55bdd2b7605dd44e4905e35a1380ffce1cc396e222b72dc2708c1494"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineRoutes (cyclomatic 103): routines.routineRoutes has cyclomatic complexity 103 (threshold 15). Most of this is not in the body itself: 1 of the 103 points is its own statement and the rest belongs to 26 function items inside it that branch (a function literal at line 378, a function literal at line 692, a function literal at line 534, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9244f89e55d8761d5904ec13066d26848c084bb4cd953357cec8665ba5b27f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentInviteDialog.ExternalAgentInviteDialog (cyclomatic 103): ExternalAgentInviteDialog.ExternalAgentInviteDialog has cyclomatic complexity 103 (threshold 15). Of this number, 77 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fdbbd1e86c0673a52aabc621361c4d0471222bc2e95918e8820c3510f4db52"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree-merge-history-lib.buildWorktreeMergePlan (cyclomatic 102): worktree-merge-history-lib.buildWorktreeMergePlan has cyclomatic complexity 102 (threshold 15). Of this number, 96 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":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e3390a7a81d6ca2de174fd9f8cbf88e02073eda46d02df14a58e897f649e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-failure-diagnostics.collectRunFailureDiagnostics (cyclomatic 102): run-failure-diagnostics.collectRunFailureDiagnostics has cyclomatic complexity 102 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b082ddb78b125420d0843663f9dbc0fd897edbdbdefe9e3cfcd11b7f0d175a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.performNativeCancellation (cyclomatic 102): native-session-executor.performNativeCancellation has cyclomatic complexity 102 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 57 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9769}}}],"partialFingerprints":{"codehealthFindingId/v1":"58958bbbbbb57e3703d2e06777d2c334719978156751b18856d2682ec5677330"}},{"ruleId":"D1","level":"warning","message":{"text":"run-cost-accounting.accountRunCost (cyclomatic 101): run-cost-accounting.accountRunCost has cyclomatic complexity 101 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 82 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":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"913208d552e6e55715254dd48facb380fe454ebe1125765eec63b1f1657eb120"}},{"ruleId":"D1","level":"warning","message":{"text":"events.createPhotonEvents.processPhotonResponse (cyclomatic 101): events.createPhotonEvents.processPhotonResponse has cyclomatic complexity 101 (threshold 15). Of this number, 91 points are the body\u0027s own statements and 10 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"42070f245d7678176ee0dea145ce6a3365e5aa0831d074a72cda2c3d8db88296"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.prepareRemoteWorkspace (cyclomatic 101): remote-workspaces.prepareRemoteWorkspace has cyclomatic complexity 101 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 34 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed32d1e2aeb6266ab86cb45931427cd37a82a8db90982bfc21fda562063f62d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-finalizer.recordRetryableFailure (cyclomatic 100): native-run-finalizer.recordRetryableFailure has cyclomatic complexity 100 (threshold 15). Most of this is not in the body itself: 4 of the 100 points are its own statements and the rest belongs to one function literal inside it that branches (line 481). 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c93371bc9d536721a61b3b28633ad844658c3a0ec27eb952e1567c63f3042"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskMessageScroller.TaskMessageScroller (cyclomatic 100): TaskMessageScroller.TaskMessageScroller has cyclomatic complexity 100 (threshold 15). Most of this is not in the body itself: 15 of the 100 points are its own statements and the rest belongs to 21 function literals inside it that branch (lines 193, 310, 132, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df4f48bd323f6c2d295fd8031c8710f67251513c381ffd857fa4f874ce9fe06"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfigForm.DisplayedCodeLoginPanel (cyclomatic 99): AgentConfigForm.DisplayedCodeLoginPanel has cyclomatic complexity 99 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 54 belong to 21 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdc7e5309bbcd624bb5bf1d4c2fecc29e2b91d64f375ceb4d67545bac85f75f"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.prepareForAdmission (cyclomatic 98): execution-workspace-repositories.executionWorkspaceRepositoryService.prepareForAdmission has cyclomatic complexity 98 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 71 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dd9e81a9e2fd7f9bb43fa17db0a74ec89491222fb14e53bdb5378e8497d3ba"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.buildManifestFromPackageFiles (cyclomatic 98): company-portability.buildManifestFromPackageFiles has cyclomatic complexity 98 (threshold 15). Of this number, 82 points are the body\u0027s own statements and 16 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":"server/src/services/company-portability.ts"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3660ea74af6add2fb64c75df820df883b5a47d1bd8f32edb2c840607d2dc15"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.companyPortabilityService.buildPreview (cyclomatic 98): company-portability.companyPortabilityService.buildPreview has cyclomatic complexity 98 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4883}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab205fe3522c19f3a7590022b9e9d5a50e701474c3528356d82f9516f56f59c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.KeyStep (cyclomatic 98): ConnectionSetupFlow.KeyStep has cyclomatic complexity 98 (threshold 15). Of this number, 79 points are the body\u0027s own statements and 19 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc59a878122c44932c1752d27c7e2c1a3af07f3e1a929bc1950d6cf59757fd74"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::toAdapterResult (cyclomatic 97): execute.execute::toAdapterResult has cyclomatic complexity 97 (threshold 15). To reduce it, separate the cases: extract each independent 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 (execute.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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaabadbcd139e9d2dd63a1dd480351ac2286bf45d8bffb0be45a4aac5afefe6"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.claimQueuedRun (cyclomatic 96): queue.createHeartbeatQueue.claimQueuedRun 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. This shape REPEATS in the file: one other method here (queue.createHeartbeatQueue.claimQueuedRun::lockIssueExecutionClaim) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"210a3d8a63ea9547b464a0546b45d7073ec7eccdf5ddbc0db85204b688fdcc98"}},{"ruleId":"D1","level":"warning","message":{"text":"company.registerCompanyCommands (cyclomatic 95): company.registerCompanyCommands has cyclomatic complexity 95 (threshold 15). Most of this is not in the body itself: 1 of the 95 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 1657, 1930, 1600, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc5e6ce767bfa095a7ec4268f0c77ec9f5272a658f839b42fabcc8620b988dc"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.request (cyclomatic 95): DurablePrpCodexTransport.request has cyclomatic complexity 95 (threshold 15). Of this number, 94 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea99277c9227f489fe11e6156b4b32cb3738e530e436ac69214645cdbbe6a7e9"}},{"ruleId":"D1","level":"warning","message":{"text":"muse.createMuseBroker (cyclomatic 95): muse.createMuseBroker has cyclomatic complexity 95 (threshold 15). To reduce it, separate the cases: extract each independent 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 (muse.createMuseBroker::authorizeAssignment, muse.createMuseBroker::detectorEvidence) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f48947144d84aaafebb9636ec82e677bc715f69868418f2f25448b188ad0627"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize (cyclomatic 94): execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize has cyclomatic complexity 94 (threshold 15). To reduce it, separate the cases: extract each independent 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 (execute.createAcpxEngineExecutor.executeAcpxEngine, execute.createAcpxEngineExecutor.executeAcpxEngine::startup) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5383}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd80ca0f3e048506117071ae020ec969205dd21aeaa94618b79eab5591abe96"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-forms.lookupSlackFormDelivery (cyclomatic 94): cloud-forms.lookupSlackFormDelivery has cyclomatic complexity 94 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"502efec294ee18fd3561ccd9bb7a9f5181d1c71312601e7dce37840decd222aa"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.spawnLocalRuntimeService (cyclomatic 94): workspace-runtime.spawnLocalRuntimeService has cyclomatic complexity 94 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 16 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbce0edce1d11b76e046fe740a8be75957cc5a440c866353965690bfe5e1e084"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-finalizer.recoverCommittedNativeChatResponseInScope (cyclomatic 94): native-run-finalizer.recoverCommittedNativeChatResponseInScope has cyclomatic complexity 94 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 57 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3b2d5e60e25be555b763f8afc6719e45da1eb1ed99c7439646ab2835b7096a"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportFromVaultDialog.ImportFromVaultDialog (cyclomatic 94): ImportFromVaultDialog.ImportFromVaultDialog has cyclomatic complexity 94 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 57 belong to 25 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"daedfebcf43ee5bef0e09784d1f5252ff42eddac6ee89b346185379f47c8ed32"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::poll_with_control (cyclomatic 94): CodexProvider::poll_with_control has cyclomatic complexity 94 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a5473f67599761ad35fd401e4ceb40a15938b20d85deb8a5c26745eb40d467"}},{"ruleId":"D1","level":"warning","message":{"text":"inbound-attachments.createInboundAttachments.ingestAttachments (cyclomatic 93): inbound-attachments.createInboundAttachments.ingestAttachments has cyclomatic complexity 93 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 37 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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354bd7624fe49796e853aad8ea7ad532c891c200a970a8a213b81e43d16a67c"}},{"ruleId":"D1","level":"warning","message":{"text":"RichWorkProductCard.RichWorkProductCard (cyclomatic 93): RichWorkProductCard.RichWorkProductCard has cyclomatic complexity 93 (threshold 15). Of this number, 91 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":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f82cb4643725380f7923f1283d7e3f44390678bea58d2d604b1185f3b300b34"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentActionButtons.AgentActionButtons (cyclomatic 93): AgentActionButtons.AgentActionButtons has cyclomatic complexity 93 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 48 belong to 20 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":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8e8f37b01ee2260b07afeb221595b09fab96951c743e62ccccab82b754911e"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-blocker.getExecutionBlocker (cyclomatic 92): execution-blocker.getExecutionBlocker has cyclomatic complexity 92 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-blocker.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebc9aad65cbd89d0340e55a27ec88d116d91cca16cad9724d96bdb482abfcd7"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-sidecar.dispatch (cyclomatic 92): acpx-runtime-sidecar.dispatch has cyclomatic complexity 92 (threshold 15). Of this number, 89 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b9622dda625393a9b3bda20b074607c602c9aeb2b83dd61c2fbf3578641626"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAppServerDriver.recoverSession (cyclomatic 91): CodexAppServerDriver.recoverSession has cyclomatic complexity 91 (threshold 15). Of this number, 90 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd6c8aa9142ed070944551b1814ede4831f02032963bf6584100ff219f1434"}},{"ruleId":"D1","level":"warning","message":{"text":"grant-refresh.createOAuthGrantRefresh.refreshOAuthGrantCredentials (cyclomatic 91): grant-refresh.createOAuthGrantRefresh.refreshOAuthGrantCredentials has cyclomatic complexity 91 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 69 belong to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"062b23226346dbd11007eba62ba53e8b66a4208de29c7f653f23298a0b6eb02a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-failed-workspace-recovery.preserveNativeFailedWorkspace (cyclomatic 91): native-failed-workspace-recovery.preserveNativeFailedWorkspace has cyclomatic complexity 91 (threshold 15). Most of this is not in the body itself: 3 of the 91 points are its own statements and the rest belongs to one function literal inside it that branches (line 87). 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f305788fbd0279872df4fb584dd43927cc0ed61c99ec93c96c54f0a40733d302"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSession (cyclomatic 91): native-session-executor.executePaperclipNativeSession has cyclomatic complexity 91 (threshold 15). Of this number, 70 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10366}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b766d0f91c7ed2101e492a82dc8544d8b3a4b9a3edeeb38d5b215676c218a"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyExport.CompanyExport (cyclomatic 91): CompanyExport.CompanyExport has cyclomatic complexity 91 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 62 belong to 26 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"df505fca5a8eef4ab30614d2b851a0b94641263ea5b1651d6b1cccddfec8217a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-failed-run-owner-release.settleFailedRunOwner (cyclomatic 90): native-failed-run-owner-release.settleFailedRunOwner has cyclomatic complexity 90 (threshold 15). Most of this is not in the body itself: 2 of the 90 points are its own statements and the rest belongs to one function literal inside it that branches (line 161). 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":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7bd7117ccf28b46d61b3a89b6abe95df7c13140f61967cc109d68be3c15f58"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.failedNativeRetryCoordinator (cyclomatic 90): failed-run-retry.createChatFailedRunRetry.failedNativeRetryCoordinator has cyclomatic complexity 90 (threshold 15). Of this number, 85 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca14918d202745a9b22d28db15dd5c51aaa9b2876f4cab88825bff6cf2853bc"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.createInboundAdmission.admitInboundMessage (cyclomatic 90): admission.createInboundAdmission.admitInboundMessage has cyclomatic complexity 90 (threshold 15). Most of this is not in the body itself: 1 of the 90 points is its own statement and the rest belongs to one function literal inside it that branches (line 78). 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":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbdd2df9b08059a0afb31ba81a87558462df86d547ae9b0d072461b1b5e5fba"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.AskUserQuestionsCard (cyclomatic 90): IssueThreadInteractionCard.AskUserQuestionsCard has cyclomatic complexity 90 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 53 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7925af1e647c1854cf01c4d703764c345e6ee407a733912e535573078dc785bf"}},{"ruleId":"D1","level":"warning","message":{"text":"scoped-deadline-work.registerScopedDeadlineWork (cyclomatic 89): scoped-deadline-work.registerScopedDeadlineWork has cyclomatic complexity 89 (threshold 15). Most of this is not in the body itself: 4 of the 89 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 122, 266, 294, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scoped-deadline-work.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3e780e1461feda1866b5b839e9571f237163e74a2eafec749d51abb3857918"}},{"ruleId":"D1","level":"warning","message":{"text":"NewIssueDialog.AccountNewIssueDialog (cyclomatic 89): NewIssueDialog.AccountNewIssueDialog 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. This shape REPEATS in the file: 2 other methods here (NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate, NewIssueDialog.AccountNewIssueDialog::handleSubmit) 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba7a1debd3ef303d080b07e8570d43b5c0b68a454a6f3881de3e499d7cb94eb"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.buildTurnTimelineRows (cyclomatic 89): transcript-adapter.buildTurnTimelineRows has cyclomatic complexity 89 (threshold 15). Of this number, 78 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"58efee5fd526ef016c26dfedd1b2a305a56c7ed06a02fb00a0ae6875feb7b175"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillSources.SourceDialog (cyclomatic 89): SkillSources.SourceDialog has cyclomatic complexity 89 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 23 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afe0ae3b6f67a0d070d44dcbc4065729d508ee40a89b5f5b37642496614c2e2"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-finalization-ownership.withNativeWorkspaceFinalizationOwnership (cyclomatic 88): native-workspace-finalization-ownership.withNativeWorkspaceFinalizationOwnership has cyclomatic complexity 88 (threshold 15). Most of this is not in the body itself: 11 of the 88 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 138, 147, 186, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11dccbfde3a8d135c13872babae8d70d1323e465b33e570aee454c237483ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"adapters.adapterRoutes (cyclomatic 88): adapters.adapterRoutes has cyclomatic complexity 88 (threshold 15). Most of this is not in the body itself: 1 of the 88 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 268, 341, 710, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"472be4055697106955eea8a01895edcb3c39654b442a4e486bde4a03914bb029"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatBubble.TaskChatBubbleContent (cyclomatic 88): TaskChatBubble.TaskChatBubbleContent has cyclomatic complexity 88 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 24 belong to 9 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":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3db80c646fd280a44c37270a9b95c1a20294be01ae8c49485a720fa71fc84e8"}},{"ruleId":"D1","level":"warning","message":{"text":"issue.registerIssueCommands (cyclomatic 87): issue.registerIssueCommands has cyclomatic complexity 87 (threshold 15). Most of this is not in the body itself: 3 of the 87 points are its own statements and the rest belongs to 54 function literals inside it that branch (lines 184, 404, 868, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/issue.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df0b10b56c19278264e5d6fe579a985e81a63510608eb41250b906c197fcdcd"}},{"ruleId":"D1","level":"warning","message":{"text":"native-failed-run-owner-release.hasCommittedNativeControllerContainment (cyclomatic 87): native-failed-run-owner-release.hasCommittedNativeControllerContainment has cyclomatic complexity 87 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1caa79a4d4b1417f566a2205bb9b217ffe045ba61d6d6107f2820abe597ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"task-context.prepareHeartbeatTaskContext (cyclomatic 87): task-context.prepareHeartbeatTaskContext has cyclomatic complexity 87 (threshold 15). Of this number, 84 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":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac690cd2f08505d72a2c7d692e88368c50f9b22e54e7b08ce2db566d3ec0bfa5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.migrateRunnerdStateRootForExecution (cyclomatic 87): native-session-executor.migrateRunnerdStateRootForExecution has cyclomatic complexity 87 (threshold 15). Of this number, 86 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae30e743d010829789b47b8bbc5bf7040ba8883651af242506a39f45645ac56c"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatComposer.TaskChatComposer::submit (cyclomatic 87): TaskChatComposer.TaskChatComposer::submit has cyclomatic complexity 87 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (TaskChatComposer.TaskChatComposer) 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9533a86f2424a360fd35e7416cd2959ea2f2be4508ffb168bcff528d532a7e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Layout.production.Layout (cyclomatic 87): Layout.production.Layout has cyclomatic complexity 87 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 40 belong to 18 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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"322c466ad427158e460d2c08ff02b164e5f91152b8888dc1fa7b48067ba5ad6a"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionPoolConnector.PoolConnector (cyclomatic 87): AiConnectionPoolConnector.PoolConnector has cyclomatic complexity 87 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 37 belong to 19 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":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a400f419e0f653807ae2362f0a593ad5f7e8ee70c725b0e2808721f0d65a0ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-receipt-reactions.applyGitHubReceiptReaction (cyclomatic 86): chat-github-receipt-reactions.applyGitHubReceiptReaction has cyclomatic complexity 86 (threshold 15). Of this number, 72 points are the body\u0027s own statements and 14 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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3204f98c17c3525417d66ca68a94069427c9b90ebad897f5bfcb64ece448c6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-use.browserUseService.reconcile (cyclomatic 86): browser-use.browserUseService.reconcile has cyclomatic complexity 86 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 13 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":"server/src/services/browser-use.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"165b44423cf6a05e8cb87d7d0d48d3dec1e836618f7e641d76113e0802d137dd"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createPostgresWakeQueueAdapter.withIssueExecutionLock (cyclomatic 86): postgres.createPostgresWakeQueueAdapter.withIssueExecutionLock has cyclomatic complexity 86 (threshold 15). Most of this is not in the body itself: 1 of the 86 points is its own statement and the rest belongs to one function literal inside it that branches (line 1254). 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"672a59e1763efb06574046045ec0276b5339ae24ac674e6d8251762fdbe6451f"}},{"ruleId":"D1","level":"warning","message":{"text":"task-markdown.buildPaperclipTaskMarkdown (cyclomatic 86): task-markdown.buildPaperclipTaskMarkdown has cyclomatic complexity 86 (threshold 15). Of this number, 80 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":"server/src/services/heartbeat/task-markdown.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11af6064655b17f707672ddd7c936f4dff5f62fcb7f0a440c12fa00f03a4de1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.retainedNativeCleanupJournalMatches (cyclomatic 86): native-session-executor.retainedNativeCleanupJournalMatches has cyclomatic complexity 86 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 41 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"788cfd913a807cb71eac3970a3e2db4fbd9cbd6d1a08a8de427b36881229611b"}},{"ruleId":"D1","level":"warning","message":{"text":"online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoveryHold (cyclomatic 86): online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoveryHold has cyclomatic complexity 86 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e488da8a7a2af0f56f55f31b41a56118ff49e995eb1dcfbcfecb0422332ce9"}},{"ruleId":"D1","level":"warning","message":{"text":"AiProviderSetup.AiProviderSetup (cyclomatic 86): AiProviderSetup.AiProviderSetup has cyclomatic complexity 86 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 16 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":"ui/src/components/ai-connections/AiProviderSetup.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d5d6038581c1e3c6490566f0d2d8295b6347f729eeab7e3f1cb676a486e103"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditFeed.AuditFeed (cyclomatic 86): AuditFeed.AuditFeed has cyclomatic complexity 86 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 13 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fede59639208128d2f0f49eb7691c9af04d463ed2773e7ffc329a96b954557"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedSlackSetup.ManagedSlackSetup (cyclomatic 86): ManagedSlackSetup.ManagedSlackSetup has cyclomatic complexity 86 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 42 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":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33692d11a82bf382f9a9c85e7b8338946adbe9ce35eac38cbe427cb773c48d0"}},{"ruleId":"D1","level":"warning","message":{"text":"backup-lib.runDatabaseBackup (cyclomatic 85): backup-lib.runDatabaseBackup has cyclomatic complexity 85 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 12 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/db/src/backup-lib.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac28f1159b6b7f9b46eb08fe34e34bd7f2605ba719b71a2770df87fb9d02fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-tool-bridge.handleRequest (cyclomatic 85): runner-tool-bridge.handleRequest has cyclomatic complexity 85 (threshold 15). Of this number, 68 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":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df6e24c9cf3c17f28410ff9fdfc3cd966bb0f26fd0040a3b3873e73b3132863"}},{"ruleId":"D1","level":"warning","message":{"text":"native-interaction-bridge.materializeNativeInteractionResponses (cyclomatic 84): native-interaction-bridge.materializeNativeInteractionResponses has cyclomatic complexity 84 (threshold 15). Of this number, 82 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcedbd4c8771f476598764e4c0ea0cbbe9b6e7965508e20e6e6a60d259114dc7"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.resolveChatOriginPublicationBindings (cyclomatic 84): issues.resolveChatOriginPublicationBindings has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"070ea1edb95b6806ec0d43c5f1e7aeadaf03a24adb64e3638532fdd2de1f6218"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-issue-schedule.readIdleIssueSchedule (cyclomatic 84): idle-issue-schedule.readIdleIssueSchedule has cyclomatic complexity 84 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-issue-schedule.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b20b430c9ee15c36c5d72aaeb2b71d26c202b669df75a51913e49d4fb8ae44"}},{"ruleId":"D1","level":"warning","message":{"text":"native-maintenance-no-launch.verifyRetainedMaintenanceNoLaunch (cyclomatic 83): native-maintenance-no-launch.verifyRetainedMaintenanceNoLaunch has cyclomatic complexity 83 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 13 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":"server/src/services/native-runtime/native-maintenance-no-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b844e6a3879487022b0f71666cb1da954d2942e4a66cdfbae05437ac5839f9"}},{"ruleId":"D1","level":"warning","message":{"text":"PiRpcMessageDeltas.normalize (cyclomatic 83): PiRpcMessageDeltas.normalize has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e94b77adb63e8eb24ea08625376ce2050279b1402167fdd54086c483795c66"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-quota-schedule.readIdleQuotaSchedule (cyclomatic 83): idle-quota-schedule.readIdleQuotaSchedule has cyclomatic complexity 83 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-quota-schedule.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dab170705328690f6244e02448f18a4d37060ff963c4bbb67558b4cc8134dd"}},{"ruleId":"D1","level":"warning","message":{"text":"build-config.buildPaperclipRunnerConfig (cyclomatic 82): build-config.buildPaperclipRunnerConfig has cyclomatic complexity 82 (threshold 15). Of this number, 75 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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a17c83ffa3436404f3c101fb6735e40a0bbad44b9facb22228e792d878405f"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.search (cyclomatic 82): connection-intents.connectionIntentService.search has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (connection-intents.connectionIntentService.search::aggregatorAlternatives) 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":"server/src/services/connection-intents.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcae508cad6ad8f48181ab82f1c01c4bd9583e4df8140303b9b06ea608a15800"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-receipts.persistUsageReceiptInTransaction (cyclomatic 82): usage-receipts.persistUsageReceiptInTransaction has cyclomatic complexity 82 (threshold 15). Of this number, 81 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071f6139ee3143986e53191dbe5d6c1ec93b3dbd8919ce8453d733c5be1930b"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.createChatPublicationWorker.processSelectedPublication (cyclomatic 82): worker.createChatPublicationWorker.processSelectedPublication has cyclomatic complexity 82 (threshold 15). Most of this is not in the body itself: 8 of the 82 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 683, 424, 887, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff123cf385682bbaf3d892cf9112ada0a65660f4a368931426054c46225fd048"}},{"ruleId":"D1","level":"warning","message":{"text":"callbacks.createChatInteractionCallbacks.handleModalSubmit (cyclomatic 82): callbacks.createChatInteractionCallbacks.handleModalSubmit has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cb3799d707cf08bee72d48f9f2aaaa51f13f3bdaae4eb8da75ac73bf730971"}},{"ruleId":"D1","level":"warning","message":{"text":"customer-success-inspection.readCustomerSuccessResource (cyclomatic 82): customer-success-inspection.readCustomerSuccessResource has cyclomatic complexity 82 (threshold 15). Most of this is not in the body itself: 1 of the 82 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 151, 227). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f53a06f55061778c9df7729bb61a1a0bfd5ec893035f3220ce3c1a5ff7f51"}},{"ruleId":"D1","level":"warning","message":{"text":"useLiveRunTranscripts.useLiveRunTranscripts (cyclomatic 82): useLiveRunTranscripts.useLiveRunTranscripts has cyclomatic complexity 82 (threshold 15). Most of this is not in the body itself: 2 of the 82 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 424, 250, 413, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7836553cacbb2bc951c932b8dbaff9255881b684006b9b5a25bcf38e51194057"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestItemVerdictsCard (cyclomatic 82): IssueThreadInteractionCard.RequestItemVerdictsCard has cyclomatic complexity 82 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 48 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3864}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee5bf9d5ce18aaa3fbb11d5282df41a55efc002ada75590631d8705d5be166"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.probeNativeRunnerEnvironment (cyclomatic 81): runnerd-codex-transport.probeNativeRunnerEnvironment has cyclomatic complexity 81 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 41 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"0030a22c69dba08cb4adc099291a2edbd2306c484fe7fa477c380941aa567ece"}},{"ruleId":"D1","level":"warning","message":{"text":"report.summarizeControlledCampaign (cyclomatic 81): report.summarizeControlledCampaign has cyclomatic complexity 81 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/report.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7ccc505c9f67893a65d934f2f9eaed3bc114bbcbc08128262a58180d164c15"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-execution-policy.applyIssueExecutionStageTransition (cyclomatic 81): issue-execution-policy.applyIssueExecutionStageTransition has cyclomatic complexity 81 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8646704f6f1aadc08e9e851476fc977a15a350dcd602bacfa9a261e5957882"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-loader.pluginLoader (cyclomatic 81): plugin-loader.pluginLoader has cyclomatic complexity 81 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (plugin-loader.pluginLoader::fetchAndValidate, plugin-loader.pluginLoader::activatePlugin) 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd64a34de34d3f94fa8846166ce24d2e7c517dae4574dfd9aa76a764c3a9ad2"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-receipts.reconcileLateRunUsageReceiptInTransaction (cyclomatic 81): usage-receipts.reconcileLateRunUsageReceiptInTransaction has cyclomatic complexity 81 (threshold 15). Of this number, 70 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fa21887393bc6d404be1c698620fb3ac7e6867e5832251c30032d85f340d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.createDiscordCommands.handleDiscordNativeCommand (cyclomatic 81): commands.createDiscordCommands.handleDiscordNativeCommand has cyclomatic complexity 81 (threshold 15). Most of this is not in the body itself: 11 of the 81 points are its own statements and the rest belongs to one function literal inside it that branches (line 293). 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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9916f3984ab156b8895878423f13135f19f086dfb1d5c9e50c5191aa8094cc33"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCardDetailDrawer.StatusCardDetailDrawer (cyclomatic 81): StatusCardDetailDrawer.StatusCardDetailDrawer has cyclomatic complexity 81 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 20 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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffa73084b18d2b65e554ceb4b0616b3365892261ddb383470795e2cdf5ed563"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentObservabilitySettings.AgentObservabilitySettingsView (cyclomatic 81): AgentObservabilitySettings.AgentObservabilitySettingsView has cyclomatic complexity 81 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 25 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":"ui/src/components/observability/AgentObservabilitySettings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b046dac78c5f80c16ee4ceb356ecd26c125997b3e948b6a3a0aafdfc448a093f"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillSources.SkillSources (cyclomatic 81): SkillSources.SkillSources has cyclomatic complexity 81 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 57 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d5b3f460962633bdb796173aa19f2180d36cc70473a2024600447d3881155b"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.isStoredCoreState (cyclomatic 80): durable-prp-control-plane.isStoredCoreState has cyclomatic complexity 80 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 24 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5fb3ce424761f39ebc23c732ad5d4362939753c476e79c83269fd65090e7be"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.complete (cyclomatic 80): connection-intents.connectionIntentService.complete has cyclomatic complexity 80 (threshold 15). Most of this is not in the body itself: 6 of the 80 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1210, 1325, 1350, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"959499e5d31807323af3521ead67cc71a76aa295ebd8efd67abf1bc13e91440b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-execution-input.buildNativeExecutionInput (cyclomatic 80): native-execution-input.buildNativeExecutionInput has cyclomatic complexity 80 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-input.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdf73a90c550a70751479de267f051dd265eb0be7c5b191b47027ecf0eb6007"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentInviteDialog.MuseInvitationController (cyclomatic 80): ExternalAgentInviteDialog.MuseInvitationController has cyclomatic complexity 80 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 32 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ec488cd4eef08ef4bba3038263e20fd8531a63c4706ac39e4f36575db4f192"}},{"ruleId":"D1","level":"warning","message":{"text":"projectRepositorySkills.installProjectSkillFixtures (cyclomatic 80): projectRepositorySkills.installProjectSkillFixtures has cyclomatic complexity 80 (threshold 15). Most of this is not in the body itself: 15 of the 80 points are its own statements and the rest belongs to 36 function items inside it that branch (a function literal at line 86, a function literal at line 114, a function literal at line 131, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2ea5440fc7f8a6c914ac679522a571b197c85217bd95ba6f426e912a16d38c"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-goals.applyRunnerGoalPrpEvent (cyclomatic 79): runner-goals.applyRunnerGoalPrpEvent has cyclomatic complexity 79 (threshold 15). Most of this is not in the body itself: 4 of the 79 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 661, 692). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d57e1ba8216e348e7fe02f83f0f79d9551db9eafe701af44e530a603dffe13"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.localFacts (cyclomatic 79): native-harness-filesystem-independence.localFacts has cyclomatic complexity 79 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 18 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae0cda9cca09e90c6eb5aa36eba4f8c5606567fc3f9b9487f489d82ec218f75"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestWithContext (cyclomatic 79): connection-intents.connectionIntentService.requestWithContext has cyclomatic complexity 79 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 15 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":"server/src/services/connection-intents.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993c2c663773959e95b69b3b024c8cc3859c17c632b772edeb7a6e1e442b99e"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#reassignTask (cyclomatic 79): PaperclipRunnerToolAuthority.#reassignTask has cyclomatic complexity 79 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 54 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d2c8a82947cb1e352d9689f9194188e096dbd5eb8824b216af9d3d1f30eafa"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.migrateRemoteWorkspaceCohort (cyclomatic 79): remote-workspace-migration.migrateRemoteWorkspaceCohort has cyclomatic complexity 79 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 41 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee25a5ace179a9930b4240701053333600dad6653cf9034ca11fd1dfd5accc"}},{"ruleId":"D1","level":"warning","message":{"text":"McpConnect.McpConnectRequest (cyclomatic 79): McpConnect.McpConnectRequest has cyclomatic complexity 79 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 12 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":"ui/src/pages/McpConnect.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"28889077f84f02606441d3c641e512a97b9eb3306127302dbd313ebd5ad2c7fc"}},{"ruleId":"D1","level":"warning","message":{"text":"TriggerWizard.RoutineTriggerWizard (cyclomatic 79): TriggerWizard.RoutineTriggerWizard has cyclomatic complexity 79 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 16 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":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b8647a880bbdcbcf9e684c85811358acba3a1af590c8035e1b57edc995acf"}},{"ruleId":"D1","level":"warning","message":{"text":"WhatNeedsMe.ClassicWhatNeedsMe (cyclomatic 79): WhatNeedsMe.ClassicWhatNeedsMe has cyclomatic complexity 79 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 61 belong to 31 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":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a5d61bc3d21abacdc62ab306365274ecfae73d639090eb6b4a77ea2f177ec0"}},{"ruleId":"D1","level":"warning","message":{"text":"onboard.onboard (cyclomatic 78): onboard.onboard has cyclomatic complexity 78 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f072a498887ba4f138bd0c8c49e9016eb053a17eb899bea4e290e4beb72214c8"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 78): execute.execute has cyclomatic complexity 78 (threshold 15). To reduce it, separate the cases: extract each independent 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 (execute.execute::toResult) 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffd8bbf4443d2d23b7743c95ed913d8a9c6b71e78c41bb7b568c81266e62c6a"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 78): execute.execute has cyclomatic complexity 78 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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 (execute.execute::toResult) 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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b003762694235bf57224212ab91b856709c4cb100ff74ad2cd969d87c8325cb"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 78): execute.execute has cyclomatic complexity 78 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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 (execute.execute::toResult) 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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab346d3250ca7737d6fe1c4ec65906c9dea0e09478bfc3f60ee16ec78eba37c"}},{"ruleId":"D1","level":"warning","message":{"text":"run.runControlledEval (cyclomatic 78): run.runControlledEval has cyclomatic complexity 78 (threshold 15). Of this number, 75 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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"381ea62e99c400f203ca55ec579b943e2431661e08506c550a4dadd466a9b729"}},{"ruleId":"D1","level":"warning","message":{"text":"slack.executeSlackTool (cyclomatic 78): slack.executeSlackTool has cyclomatic complexity 78 (threshold 15). Of this number, 70 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":"server/src/services/connectors/slack.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c910ef7208e6675eab1f7f2b0c92960ad62b024ea7ef5d58c01d20e9172d4"}},{"ruleId":"D1","level":"warning","message":{"text":"app.createApp (cyclomatic 78): app.createApp has cyclomatic complexity 78 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 44 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":"server/src/app.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"143d56ac7686a39fabdb6b87c22fbfb9d81f8e92b2482eb2eb9ca6098a61dc31"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentAnnotationLayer.DocumentAnnotationLayer (cyclomatic 78): DocumentAnnotationLayer.DocumentAnnotationLayer has cyclomatic complexity 78 (threshold 15). Most of this is not in the body itself: 6 of the 78 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 370, a function literal at line 274, a function literal at line 432, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf321e658078a18201794ce9df7d5db60a913c08dd5dbca765db9e3d73b930a"}},{"ruleId":"D1","level":"warning","message":{"text":"Search.Search (cyclomatic 78): Search.Search has cyclomatic complexity 78 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 52 belong to 23 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Search.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ef82018a910e1ea2dc8cd3b1c4564cf5e3839e42d0b91894d24f08061506f2"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 77): execute.execute has cyclomatic complexity 77 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 22 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7f54008bd32b2c4067b528305cfecec2cf6619cc2202f4cbec1d01a051e7ed"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-forms.parseSlackFormOperation (cyclomatic 77): cloud-forms.parseSlackFormOperation has cyclomatic complexity 77 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0156a30344305c5869cd50b9b34f5c111b52fc9e17400196a947f205453c6c4"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.changeLockedAgent (cyclomatic 77): postgres.changeLockedAgent has cyclomatic complexity 77 (threshold 15). Of this number, 74 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":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4fa6921473691b4a5a799ffc50b270661363b8b5b5ab4e9f5415b41d46f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-version-retention.skillVersionRetentionService.pruneCompanyPage (cyclomatic 77): skill-version-retention.skillVersionRetentionService.pruneCompanyPage has cyclomatic complexity 77 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 29 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0d45e552405f622064e150db0d28872f2ab6bc2623a1b44c17626c9a31b216"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-writes.executeSlackWrite (cyclomatic 77): slack-writes.executeSlackWrite has cyclomatic complexity 77 (threshold 15). Of this number, 73 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":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ebe95810ee6604f53e8669f963c64874d6f3de7479be3dacf2fb667dda2d02"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.providerPackIdentityChecks (cyclomatic 77): native-session-executor.providerPackIdentityChecks has cyclomatic complexity 77 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14178}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d6679d54c70e2129380606fc152ca9fef4b1b1bbe462f7f9a889529e95d9f5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.ensureRemoteRunner (cyclomatic 77): native-session-executor.createRunnerdBackendWithinSessionClaim.ensureRemoteRunner has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 1 of the 77 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 17575, 17551, 17771, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17547}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ed782f6b420a7e4df66459f5feffbc94148b444ca072a77c5cda3f5eee950"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync.readDescriptor (cyclomatic 77): native-workspace-sync.readDescriptor has cyclomatic complexity 77 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d650766642a2b4c46c876996204120b30607641a7eeb1e25207c4767fb04d2ba"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionField.AiConnectionField (cyclomatic 77): AiConnectionField.AiConnectionField has cyclomatic complexity 77 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 15 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionField.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"447d12c8417a050954a4ddb86f02ac874552d5e4b7d067803d28bdd060d96382"}},{"ruleId":"D1","level":"warning","message":{"text":"Row.EnvironmentVariableRow (cyclomatic 77): Row.EnvironmentVariableRow has cyclomatic complexity 77 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 27 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":"ui/src/components/environment-variables-editor/Row.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac497fdca9407e1a95c0bd4b135b2d46a1a7ff0e535a24caf1bfd18ef3a78f2"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.normalizeTranscript (cyclomatic 77): RunTranscriptView.normalizeTranscript has cyclomatic complexity 77 (threshold 15). Of this number, 75 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f712c6a0647bfa3f14262f80a50bd31d401b792febaffcd6dbff32714f037d81"}},{"ruleId":"D1","level":"warning","message":{"text":"config-admission.createAcpxConfigAdmission (cyclomatic 76): config-admission.createAcpxConfigAdmission 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 5 function items inside it that branch (a function literal at line 30, readMode, assertReady, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4e42c60d9d1caea67561ef0946d216f3942b2fcace4c23842f6630cbe3706e"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-expiration.expireReconstructableGitWorkspace (cyclomatic 76): git-workspace-expiration.expireReconstructableGitWorkspace has cyclomatic complexity 76 (threshold 15). Most of this is not in the body itself: 4 of the 76 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 306, 302, 427, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"673914cb28d176d0943239fdedd2b45d67ca976093b8bcf82b3527052c198a41"}},{"ruleId":"D1","level":"warning","message":{"text":"native-status-reassessment.reassessNativeStatusFromSource (cyclomatic 76): native-status-reassessment.reassessNativeStatusFromSource has cyclomatic complexity 76 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-status-reassessment.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa43c892abe102e7577cdbb6f4009c49c187e40b5fa0bf5b2e22685698eb198"}},{"ruleId":"D1","level":"warning","message":{"text":"publication.createToolCatalogPublication.refreshCatalog (cyclomatic 76): publication.createToolCatalogPublication.refreshCatalog has cyclomatic complexity 76 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/publication.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f568fa33da8a1501c305bc26adc1a462063a763fb6b793a74b606d54d7a50b"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.readIssueBlockerAttentionBatch (cyclomatic 76): issues.readIssueBlockerAttentionBatch has cyclomatic complexity 76 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (issues.readIssueBlockerAttentionBatch::classifyPath) 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":"server/src/services/issues.ts"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b59af0aa3bbb15fb5b1c602d980ecd5b39556f01bace2c9573d5621e132e76f"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-admission.createAntigravityAdmission.createGuard.\u003Creturned closure\u003E (cyclomatic 76): antigravity-admission.createAntigravityAdmission.createGuard.\u003Creturned closure\u003E has cyclomatic complexity 76 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e005dd7f495f707b312a9c2cfea8f3a2af39cfb9a36e0546d0591533e63e02"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact-delivery.stageCursorCloudArtifact (cyclomatic 76): artifact-delivery.stageCursorCloudArtifact has cyclomatic complexity 76 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a01fe583b7004cf52204026f476c1b3f49e303d213ac6d6d1e5c260d7f7468"}},{"ruleId":"D1","level":"warning","message":{"text":"Cases.Cases (cyclomatic 76): Cases.Cases has cyclomatic complexity 76 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 19 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":"ui/src/pages/Cases.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c25572ed467b5f5654d3e251f0aca2539ba4544df507ffc9436d29611d4169"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMcpConnectionSetup.RemoteMcpConnectionSetup (cyclomatic 76): RemoteMcpConnectionSetup.RemoteMcpConnectionSetup has cyclomatic complexity 76 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 14 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":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"512ec988632e95c9852de7a8bf426f8c33d9534e4c13b9e6697a8c5d436e7609"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamCatalog.TeamInstallerDialog (cyclomatic 76): TeamCatalog.TeamInstallerDialog has cyclomatic complexity 76 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 35 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8def3bd56c1347d83a9a9cb019bb654eb14def38f35606673f4842aa67144e"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 75): execute.execute has cyclomatic complexity 75 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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 (execute.execute::toResult) 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"756ece20019fbec2cb5fc0e460dc184fcefee5d72ceea9596a77c1759b0f1e22"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.warmTransitionRecoveryProof (cyclomatic 75): durable-prp-control-plane.warmTransitionRecoveryProof has cyclomatic complexity 75 (threshold 15). Of this number, 69 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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d9ab9dcbba772f7460f2005b69437c5aced66b3c6f0681ead238df98e99fef"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.save (cyclomatic 75): ai-connections.aiConnectionService.save has cyclomatic complexity 75 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 54 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":"server/src/services/ai-connections.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9f0457c2ffa89740c88fbb5cd7d8d4d12fe07a7bda2126457315c9b81d1c10"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-probe.probeEnvironment (cyclomatic 75): environment-probe.probeEnvironment has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-probe.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3b39b2012b777b0134bd187b18aa3a4260451ca5f5b619feb2fa1a073a51dc"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery.recoverRetainedWorkspace::runAttempt (cyclomatic 75): workspace-recovery.recoverRetainedWorkspace::runAttempt has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent 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 (workspace-recovery.recoverRetainedWorkspace) 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da55a371ec7d1e88f9b7280551b20ae10e53e0b5ee2a2d029182e21888ee644"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.createChatMessageLifecycle.processLifecycleDelivery (cyclomatic 75): lifecycle.createChatMessageLifecycle.processLifecycleDelivery has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 5 of the 75 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 400, 733, 987, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a6c9914df6e0179ffd2883c1d1e4f206ac46f61bbb6d699db747a0b1376318"}},{"ruleId":"D1","level":"warning","message":{"text":"session-stop.createSlackSessionStop.processSlackSessionStop (cyclomatic 75): session-stop.createSlackSessionStop.processSlackSessionStop has cyclomatic complexity 75 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 57 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c97d755c6bc42bb66def408e22c4a076192f0819adc3ca267ea930be59b87"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.recoverQuiescentRunnerdState (cyclomatic 75): native-session-executor.recoverQuiescentRunnerdState has cyclomatic complexity 75 (threshold 15). Of this number, 72 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6606}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fd2c4df9a41f1f8cb3370ce798541717c8414b7d64da8906131c608458fb43"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-tool-evidence.createCopilotToolEvidence (cyclomatic 75): copilot-tool-evidence.createCopilotToolEvidence has cyclomatic complexity 75 (threshold 15). Of this number, 73 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bfe693ba252db1653dc2c2a45e4293362441185f3fff891937313ab383de03"}},{"ruleId":"D1","level":"warning","message":{"text":"public-mcp.publicMcpIngressRoutes (cyclomatic 75): public-mcp.publicMcpIngressRoutes has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 6 of the 75 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 84, 100, 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":"server/src/routes/public-mcp.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"923db32bf487dcb4c10e91027693245a96dd067069e7ec2fc1ec05bcc0ed866f"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatAssistantMessage (cyclomatic 75): IssueChatThread.IssueChatAssistantMessage has cyclomatic complexity 75 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 8 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a255a5d13f1557ccd5a669ebba84cb599cf841084efec434a35bd33a2678582c"}},{"ruleId":"D1","level":"warning","message":{"text":"FileViewerSheet.FileViewerSheet (cyclomatic 75): FileViewerSheet.FileViewerSheet has cyclomatic complexity 75 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 24 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b5a60989c0f224bfc6ac66cf9c163f37817f2c31d1491b1a437f49d31741b8"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionCard.DecisionCard (cyclomatic 75): DecisionCard.DecisionCard has cyclomatic complexity 75 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 19 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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ea06182b35898dc12ed7bc419052a3b60ffe00cab25c03139463ba90d0e434"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubConnectionRecovery.GitHubAppRecovery (cyclomatic 75): GitHubConnectionRecovery.GitHubAppRecovery has cyclomatic complexity 75 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubConnectionRecovery.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb2cce91e29871e2fa9d94c01f6af236f0a87b79606c916490a149389e5a091"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-sdk-runtime.scopeMicrosoftTeamsEgress (cyclomatic 74): chat-sdk-runtime.scopeMicrosoftTeamsEgress has cyclomatic complexity 74 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 45 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"01510be3c07bb73a762a1dfde2b551acf8ccf2f11f67f763f139269b31906bb5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-continuation.buildNativeContinuationPrompt (cyclomatic 74): native-continuation.buildNativeContinuationPrompt has cyclomatic complexity 74 (threshold 15). Of this number, 66 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":"server/src/services/native-runtime/native-continuation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c8e532c09161f15c536fe9a57d0b79897acd695c4bc020a2f3274f7105ee59"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxRuntimeHost.open (cyclomatic 74): AcpxRuntimeHost.open has cyclomatic complexity 74 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 22 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3aee2381d240690c07294d82ac7d46d6912c87ca6c271cea46223c5a5dc1e4"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueBlockedNotice.IssueBlockedNotice (cyclomatic 74): IssueBlockedNotice.IssueBlockedNotice has cyclomatic complexity 74 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 18 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"15575b674df7710aab39664ce8bd0215408cd11805ea4eaea2fb6ab27adc1528"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 73): execute.execute has cyclomatic complexity 73 (threshold 15). Of this number, 66 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":"packages/adapters/hermes/src/server/execute.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"301475c08cf710c12a8432f2ee53a4d5e3a49407ba92915972aa705e7bd7a494"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.constructor (cyclomatic 73): DurablePrpCodexTransport.constructor has cyclomatic complexity 73 (threshold 15). Of this number, 71 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2280f43c1a54325730609e898070418f7fd6188a3104c44390206e6f7e8f53c"}},{"ruleId":"D1","level":"warning","message":{"text":"manifest.validateManifest (cyclomatic 73): manifest.validateManifest has cyclomatic complexity 73 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/scripts/controlled-evals/manifest.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df2873033462ec6a9ceacef13d1992f4f3be620a9a244fa77364b2047ba8252"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-run-orchestrator.environmentRunOrchestrator.realizeForRun (cyclomatic 73): environment-run-orchestrator.environmentRunOrchestrator.realizeForRun has cyclomatic complexity 73 (threshold 15). Of this number, 66 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":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e99d3a5d8f8f6c27e625cdeb00faefcd1285e37ebce4737c4e0c4d235c06b39"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createConnectionTokenBroker.mintConnectionTokenForAgent (cyclomatic 73): service.createConnectionTokenBroker.mintConnectionTokenForAgent has cyclomatic complexity 73 (threshold 15). Of this number, 68 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":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ecc9364cc0fd46613a618db6b182af59a52102de0ba82a23e35d41c131afe7"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-task-ownership.ownershipClaim (cyclomatic 73): plugin-task-ownership.ownershipClaim has cyclomatic complexity 73 (threshold 15). Most of this is not in the body itself: 2 of the 73 points are its own statements and the rest belongs to one function literal inside it that branches (line 83). 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"431981bd1662a109f06e2cfde615dbe901db4d2c5a2688cfdb0b802a272afb71"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-tree-control.issueTreeControlRoutes (cyclomatic 73): issue-tree-control.issueTreeControlRoutes has cyclomatic complexity 73 (threshold 15). Most of this is not in the body itself: 1 of the 73 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 151, a function literal at line 452, a function literal at line 410, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fa8883b5cb0b3e4f69efe7ea69892cac47502ea8ae03654de4c0e990bcf81"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueFiltersPopover.IssueFiltersPopover (cyclomatic 73): IssueFiltersPopover.IssueFiltersPopover has cyclomatic complexity 73 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 21 belong to 9 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":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f85344731740df050fcbf40227c258e2ed42cd8b2dc3774c35ee3ee0d1c600"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerModelPickerPreview.ComposerModelPickerPreview (cyclomatic 73): ComposerModelPickerPreview.ComposerModelPickerPreview has cyclomatic complexity 73 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 26 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":"ui/storybook/prototypes/composer-model-picker/ComposerModelPickerPreview.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"495800f6e4607984e4f33cf55a06d888b18ff42ae63c7b36e8535f447c5271df"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-profile.resolvePaperclipRunnerProviderProfile (cyclomatic 72): provider-profile.resolvePaperclipRunnerProviderProfile has cyclomatic complexity 72 (threshold 15). Of this number, 71 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b95a9f9fdd1e84464c67b66bc077bee44f55ff925230408da32a75eaaa2c8"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook-ingress.createGitHubWebhookIngress.stageGitHubWebhookIngress (cyclomatic 72): webhook-ingress.createGitHubWebhookIngress.stageGitHubWebhookIngress has cyclomatic complexity 72 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 48 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ccfcd417d911b51fc5f82c80afc4c93316fae736a7e3b1f9b8c912730aee5d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-warm-ingress-ownership.assertNativeWarmIngressRetirement (cyclomatic 72): native-warm-ingress-ownership.assertNativeWarmIngressRetirement has cyclomatic complexity 72 (threshold 15). Most of this is not in the body itself: 7 of the 72 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 46, 84). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-warm-ingress-ownership.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aea1036a3d256fc5600d941dd9fcfe900ae6c94a39f21a529392eee5e49bebd"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.saveRemoteWorkspace (cyclomatic 72): remote-workspaces.saveRemoteWorkspace has cyclomatic complexity 72 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 47 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5e09d3c4de6808ed39c00d501a65e15875583b3c95938026fcb83273e80577"}},{"ruleId":"D1","level":"warning","message":{"text":"app.SettingsBody (cyclomatic 72): app.SettingsBody has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent 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 (app.SettingsBody::fixAllConfigurationErrors) 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5788}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a71561476cf4c82cdf30d1f3781a517ff9b1aebb91cc7280d8d88dede4227ba"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parsePrpEvent (cyclomatic 72): index.parsePrpEvent has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66a0a8ae6ba6299fe2f9b268742a4e14799f3b05ad2d137c0453ae8bdfa3575"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueDocumentAnnotations.IssueDocumentAnnotations (cyclomatic 72): IssueDocumentAnnotations.IssueDocumentAnnotations has cyclomatic complexity 72 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 31 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":"ui/src/components/IssueDocumentAnnotations.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d536e3b684622eef0fa5d3d7d56375c3abeef5e53ff127377afc266a63ff2b"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.DiscoveryGrid (cyclomatic 72): CompanySkills.DiscoveryGrid has cyclomatic complexity 72 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 14 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"404adc89615367b4c916f86cc7e1a01e94eb32ff0074f1cc8ed460c7fdc17a7c"}},{"ruleId":"D1","level":"warning","message":{"text":"persisted-query-cache.persistedQueryScope (cyclomatic 72): persisted-query-cache.persistedQueryScope has cyclomatic complexity 72 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a175df689e75e8bd1690b685dbdd68298804d127e1f2357b8d335c1f9cc3509"}},{"ruleId":"D1","level":"warning","message":{"text":"persisted-query-cache.startPersistedQueryCache.unsubscribe (cyclomatic 72): persisted-query-cache.startPersistedQueryCache.unsubscribe has cyclomatic complexity 72 (threshold 15). Of this number, 67 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30669df79a5d73e45bcc88cba5225cbf69372dfe61dda37446a5c1a06c7b8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-mock-control-plane-adapter.isSemanticToolRuntimeSnapshot (cyclomatic 71): capability-mock-control-plane-adapter.isSemanticToolRuntimeSnapshot has cyclomatic complexity 71 (threshold 15). Most of this is not in the body itself: 13 of the 71 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1923, 2032, 2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"537be586a63c70d122762ac17045bf44eaa4e11a2c9f4da21e65f0eac0552735"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-sources.skillSourceService.refresh (cyclomatic 71): skill-sources.skillSourceService.refresh has cyclomatic complexity 71 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 26 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":"server/src/services/skill-sources.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ea620e3e180b122917384c642c89294cf5847a0d1508f8422d0453f5fe528c"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.dispatchRoutineRun (cyclomatic 71): routines.routineService.dispatchRoutineRun has cyclomatic complexity 71 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 51 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":"server/src/services/routines.ts"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b46da25b7c15aae03dfafcf0e3c733f7d9fae61612cef27013e5ff27054881d"}},{"ruleId":"D1","level":"warning","message":{"text":"SummarySlotCard.SummarySlotCard (cyclomatic 71): SummarySlotCard.SummarySlotCard has cyclomatic complexity 71 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 7 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":"ui/src/components/SummarySlotCard.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2073d81f7f9f618f6127948d651f00396bb7d0d5a1f28a59fa0403b2f58a34ba"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyAccess.CompanyAccess (cyclomatic 71): CompanyAccess.CompanyAccess has cyclomatic complexity 71 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 31 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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"915cd1462264ecac00027acfcd1cd5db8fd03cb00fabed0813bde480ea1d86a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointDetail.ChatEndpointDetail (cyclomatic 71): ChatEndpointDetail.ChatEndpointDetail has cyclomatic complexity 71 (threshold 15). Of this number, 67 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ebb41d2fba6743b1dfd63315fb2bbbceba7b5adb6a852518ce2769581a38ce"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-usage-notice.cursorUsageNotice (cyclomatic 70): cursor-usage-notice.cursorUsageNotice has cyclomatic complexity 70 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a393468fabfc23f824305357c210e77b8f1fe9c75c2ca656a2e58f47fea0d15"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-readonly-inventory.readWorkspaceInventory::visit (cyclomatic 70): remote-workspace-readonly-inventory.readWorkspaceInventory::visit has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-readonly-inventory.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af16d668f79bd68369602157e3d2fc69e88d71569d5a721e2e65394e2d9eafe5"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-use.browserUseService.execute::admissionCheck (cyclomatic 70): browser-use.browserUseService.execute::admissionCheck has cyclomatic complexity 70 (threshold 15). To reduce it, name the conditions: bind each compound test to a 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 (browser-use.browserUseService.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":"server/src/services/browser-use.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1491df682652d96a5cb7c4b7b22b92dc06c8b512afe6776a1991b06d335844"}},{"ruleId":"D1","level":"warning","message":{"text":"fast-responses.fastResponseService.process (cyclomatic 70): fast-responses.fastResponseService.process has cyclomatic complexity 70 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 38 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":"server/src/services/fast-responses.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ac425f12b8b489bae39c2c6b157e2d1081bfe13592af3aa4ecd16511d176d7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.advanceOnce (cyclomatic 70): chat-github-wizard.githubChatWizardService.advanceOnce has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e7873a7f68a21f8dd89dabbe62670e306c72885c277a5d25b0b15a57150d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-usage-notice.cursorUsageNotice (cyclomatic 70): cursor-usage-notice.cursorUsageNotice has cyclomatic complexity 70 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/live/cursor-usage-notice.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"687074526f3d6002d43b7a8743caa32e9455d2011e710c1ca76b9ae272bb8f93"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMcpProductionSetup.RemoteMcpProductionSetup::submit (cyclomatic 70): RemoteMcpProductionSetup.RemoteMcpProductionSetup::submit 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 (RemoteMcpProductionSetup.RemoteMcpProductionSetup) 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":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cfe3a1ac80acf8e91fbe270e0e826828d5834bb3df40c0947b0ef6e3ce8e9f"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityLiveSession.#handleNotification (cyclomatic 69): CapabilityLiveSession.#handleNotification has cyclomatic complexity 69 (threshold 15). Of this number, 59 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8026952e8c2cfca99d8c59620a770728db00148d2a2a8d85d944011f9aaf44"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.ensurePersistedExecutionWorkspaceAvailable (cyclomatic 69): workspace-runtime.ensurePersistedExecutionWorkspaceAvailable has cyclomatic complexity 69 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 21 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3915}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9733ffaef333008389c07207ebd5c93d6fc17a2aa48dd1fda97c992aed6c001"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-graph-liveness.classifyIssueGraphLiveness (cyclomatic 69): issue-graph-liveness.classifyIssueGraphLiveness has cyclomatic complexity 69 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 47 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7188382e89708b3d4f32f011d1fc738f17cb7bb6e57699f48d3e6b7d3e8b8b5"}},{"ruleId":"D1","level":"warning","message":{"text":"question-response-delivery.questionResponseDeliveryService.deliver (cyclomatic 69): question-response-delivery.questionResponseDeliveryService.deliver has cyclomatic complexity 69 (threshold 15). Of this number, 65 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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7a9d610bdbe2a8abc6f655f2decfdd003b862d8479b5a200362771cfa6561"}},{"ruleId":"D1","level":"warning","message":{"text":"activity.createChatActivity.readActivity (cyclomatic 69): activity.createChatActivity.readActivity has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 13 of the 69 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 368, a function literal at line 500, a function literal at line 444, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6417bb3205babc72145250ec278e3bee5fdedd17d3bd0d1d437a2783fbcf4e35"}},{"ruleId":"D1","level":"warning","message":{"text":"BreadcrumbBar.BreadcrumbBar (cyclomatic 69): BreadcrumbBar.BreadcrumbBar has cyclomatic complexity 69 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 40 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":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3450ddfd4e950c399f35aad22e8d78fa93f854197b1d4e2677a4f25919843315"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectWorkspaceDetail.ProjectWorkspaceDetail (cyclomatic 69): ProjectWorkspaceDetail.ProjectWorkspaceDetail has cyclomatic complexity 69 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 32 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":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0233d0df1dbe9c4f06c89b60d46e9c6265edae082a8b35bc740f4fcbfc2faf5d"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-issue-thread-server.createCapabilityIssueThreadMiddleware.middleware (cyclomatic 68): capability-issue-thread-server.createCapabilityIssueThreadMiddleware.middleware has cyclomatic complexity 68 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6b2bc9d00d9b280ba1590c649843c7f57fe86f37088223e420b97f234c953e"}},{"ruleId":"D1","level":"warning","message":{"text":"form-retry.retrySlackFormAcknowledgement (cyclomatic 68): form-retry.retrySlackFormAcknowledgement has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 7 of the 68 points are its own statements and the rest belongs to one function literal inside it that branches (line 22). 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":"server/src/services/chat-channels/slack/form-retry.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"238d2f4df810eec09c04a7c61ab8d8ec7581e8ec3e57f870f82a7be03ec3b370"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-execution-target.resolveEnvironmentExecutionTarget (cyclomatic 68): environment-execution-target.resolveEnvironmentExecutionTarget has cyclomatic complexity 68 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 20 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda5b1d9bf08ed5dd3ef88f2a123a3b08bb3edcf160d670ea2c2c8b4ebe5edc9"}},{"ruleId":"D1","level":"warning","message":{"text":"form-publication.createSlackFormPublicationStage.\u003Creturned closure\u003E (cyclomatic 68): form-publication.createSlackFormPublicationStage.\u003Creturned closure\u003E has cyclomatic complexity 68 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-publication.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2181447e153b544ef9fa93931cc74c065f8e8825ca12a02b2e69bea533814b0"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-control-chronology.readChatControlChronology (cyclomatic 68): chat-control-chronology.readChatControlChronology has cyclomatic complexity 68 (threshold 15). Of this number, 61 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":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f2693d3a66de08d4fe1cfd6700af84fd254ee14d26b3c4b48689e87b6d05b7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-publication-errors.classifyChatPublicationError (cyclomatic 68): chat-publication-errors.classifyChatPublicationError has cyclomatic complexity 68 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b59d69ca6ee9a09fbefc9db2d5fb4e6d1d91df65d4ef99c8aa7a80e765ec01"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.listIssueBlockedInboxAttentionMap (cyclomatic 68): issues.listIssueBlockedInboxAttentionMap has cyclomatic complexity 68 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 14 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":"server/src/services/issues.ts"},"region":{"startLine":5980}}}],"partialFingerprints":{"codehealthFindingId/v1":"b891a0350d7814f9987f17350213f58c0bd900c54780dc157b1fe60328a2279f"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownBody.MarkdownBodyImpl (cyclomatic 68): MarkdownBody.MarkdownBodyImpl has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 3 of the 68 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 879, 833, 996, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"74207b35535573997f6971839166a94a6abe587d8cf7b8e73f05467db4a51beb"}},{"ruleId":"D1","level":"warning","message":{"text":"AsciiArtAnimation.AsciiArtAnimation (cyclomatic 68): AsciiArtAnimation.AsciiArtAnimation has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 1 of the 68 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 208, 114, 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":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa1ca6864dbb2f1861ba7902f33eae5f98790636e6e191d0c9fce184496628c"}},{"ruleId":"D1","level":"warning","message":{"text":"question-set.parsePaperclipQuestionSet.questions (cyclomatic 67): question-set.parsePaperclipQuestionSet.questions has cyclomatic complexity 67 (threshold 15). Of this number, 62 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":"packages/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b24fa24362ce567d7da1d46ac54ab56d6493c1ce90366ffba1bf78b0a77e1"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#authorizeHello (cyclomatic 67): DurablePrpControlPlane.#authorizeHello has cyclomatic complexity 67 (threshold 15). Of this number, 66 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d6ec278c94582fba1235f912ff92dd50706e8868960b12974e73b1c263510"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.createPluginEnvironmentDriver.acquireRunLease (cyclomatic 67): environment-runtime.createPluginEnvironmentDriver.acquireRunLease has cyclomatic complexity 67 (threshold 15). Of this number, 64 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea52f0c4d79e6cdf86057e83ce9e56b07e664d2db08aa0aa1a3414469f506d2"}},{"ruleId":"D1","level":"warning","message":{"text":"status-decision-committer.materializeDecisionEffect (cyclomatic 67): status-decision-committer.materializeDecisionEffect 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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e5c76dbbbe76a1f8cf79e476e5bfeea403224fae7d95bfefeea68fe9816f10"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-callback.createCloudOAuthCallback.completePaperclipCloudConnectorCallback (cyclomatic 67): cloud-callback.createCloudOAuthCallback.completePaperclipCloudConnectorCallback has cyclomatic complexity 67 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 37 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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5afed414690b646575a9cdd293b1fbe760813bc9c23a0f9da81f30acc7105e"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-task-source-recovery.inspect (cyclomatic 67): plugin-task-source-recovery.inspect has cyclomatic complexity 67 (threshold 15). Of this number, 66 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fa08814f773167d7ff7bb95645e52cf1e9ae336ac474cf91e55486b94128e1"}},{"ruleId":"D1","level":"warning","message":{"text":"live-workflow-executor.executeLiveRunnerWorkflow (cyclomatic 67): live-workflow-executor.executeLiveRunnerWorkflow has cyclomatic complexity 67 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdf719de31573c0066329c791d7bc1e608bcf888d05fb7663df8a704527fe0a"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskBrowserPanel.TaskBrowserPanel (cyclomatic 67): TaskBrowserPanel.TaskBrowserPanel has cyclomatic complexity 67 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 19 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":"ui/src/components/task-side-panel/TaskBrowserPanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb5b21f2d73e1d84f3168ed72587ae867acbb4f8c758f55c72cd20a2d693917"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyImport.CompanyImport (cyclomatic 67): CompanyImport.CompanyImport 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. This shape REPEATS in the file: one other method here (CompanyImport.CompanyImport::buildFinalAdapterOverrides) 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9e4f0eb19cf903879c22d54efbd19361dc6e406cb348352384ce4d14ad22fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.AccessStepContent (cyclomatic 67): ConnectionSetupFlow.AccessStepContent has cyclomatic complexity 67 (threshold 15). Of this number, 63 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4013}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed32073889c0f79403ca5edcc9fcbdacda17e766f0424e3c5b0bbf011b1a9be"}},{"ruleId":"D1","level":"warning","message":{"text":"PrimaryAgentStory.installFixtures (cyclomatic 67): PrimaryAgentStory.installFixtures has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 15 of the 67 points are its own statements and the rest belongs to one function literal inside it that branches (line 75). 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":"ui/storybook/support/primary-agent/PrimaryAgentStory.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"438abbdf35fa7a7870d5088374d99ed7f241bf9c9164d6fcfbded09ccedb5f5f"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-recovery-resolution.settleUnrecoverableExecutions (cyclomatic 66): execution-recovery-resolution.settleUnrecoverableExecutions has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 5 of the 66 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 766, 727). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"be48da440c5a1c665f58c0dba3271c42e2984aa45072b084aabe0d223715a208"}},{"ruleId":"D1","level":"warning","message":{"text":"built-in-agents.builtInAgentService.materializeInstructions (cyclomatic 66): built-in-agents.builtInAgentService.materializeInstructions has cyclomatic complexity 66 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 37 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"5616d108e5c15e4e03c7423d4947b11e7603ccdce2b2b7376bbe79019693d567"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretRoutes (cyclomatic 66): secrets.secretRoutes has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 1 of the 66 points is its own statement and the rest belongs to 27 function items inside it that branch (agentSecretContext, boardProposalView, a function literal at line 240, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e1e2d55c895c741dc7387d2babb790cac7ca33e18ac374ee6388fe1fd45c03"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.executeTurn::executeTurn (cyclomatic 65): execute.executeTurn::executeTurn has cyclomatic complexity 65 (threshold 15). To reduce it, name the conditions: bind each compound test to a 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 (execute.executeTurn::executeTurn::toResult) 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"805bdfc24856b066879e060ec8f0ec3045757b1cc6ffe8aa2c047451786ba274"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#attachRunWork (cyclomatic 65): DurablePrpCodexTransport.#attachRunWork has cyclomatic complexity 65 (threshold 15). Of this number, 64 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5091}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c8064f60fafd3638df2a109d42ad501e7ac3064afcd7026ae0b87724131b85"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSdkEndpointRuntime.rehydrateAttachment (cyclomatic 65): ChatSdkEndpointRuntime.rehydrateAttachment has cyclomatic complexity 65 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c98a52737abe14dc85e5c22d9e7d3a34f3e50ef95d86cd0e5fc546658275a78"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-sdk-runtime.installDiscordNativeCommands (cyclomatic 65): chat-sdk-runtime.installDiscordNativeCommands has cyclomatic complexity 65 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 43 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b2ec602a59704aadf8213198af0c23495d4331cfc276445077623ddb9cc87f"}},{"ruleId":"D1","level":"warning","message":{"text":"network.createTailscaleNetworkManager.start (cyclomatic 65): network.createTailscaleNetworkManager.start has cyclomatic complexity 65 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 25 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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"40932d7666e4b78d8056a9ca9d2b3f298d6322d3c2ccb08a6db940cba6e57a37"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-publication.projectTeamsFilePublication (cyclomatic 65): chat-teams-file-publication.projectTeamsFilePublication has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-publication.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3328ba578af8314bc3ee308fb6d68efd532a7fcdc1b18f5837205202fd83d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-acpx-driver.validateRecoverySnapshot (cyclomatic 65): codex-acpx-driver.validateRecoverySnapshot has cyclomatic complexity 65 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d21d0bb581f779a83a9f29d02bd3f3b92a13aa2d9444af51c3caee07457c2"}},{"ruleId":"D1","level":"warning","message":{"text":"company-artifacts.companyArtifactsService.list (cyclomatic 65): company-artifacts.companyArtifactsService.list has cyclomatic complexity 65 (threshold 15). Of this number, 59 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":"server/src/services/company-artifacts.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba73ae8f337661751f64610065e0fdda3a0b456b2f363d231e1d2fef9b1e1ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"live-events-ws.setupLiveEventsWebSocketServer (cyclomatic 65): live-events-ws.setupLiveEventsWebSocketServer has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 1 of the 65 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 288, 375, 299, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe7ee766531b00491416cbb140e19b93a6e09475ac6600cf141e54adbc0d30"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestConfirmationCard (cyclomatic 65): IssueThreadInteractionCard.RequestConfirmationCard has cyclomatic complexity 65 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 28 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87496f661fc01995cd618912af3ba69f033d77df5f7fb46a941eb50f2d462a5"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubBotConfiguration.GitHubAccessEditor (cyclomatic 65): GitHubBotConfiguration.GitHubAccessEditor has cyclomatic complexity 65 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 29 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":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ae9b2bdce20db105a2779c1b4769f49af847c259536caf9f15f7157b3cfd3"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditFeed.production.AuditFeed (cyclomatic 65): AuditFeed.production.AuditFeed has cyclomatic complexity 65 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2781abcc96a06ba4c136f998d195c9e44c61f7ebaaaace53cd4ef603aa7167a5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.vercelClient.invoke (cyclomatic 64): index.vercelClient.invoke has cyclomatic complexity 64 (threshold 15). Of this number, 62 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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d0118bfc784411c806bbbc53c84460482d9250792f3f7a0926fc11f8e38ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ownership-invariant-report.runOwnershipReconciliationPass (cyclomatic 64): ownership-invariant-report.runOwnershipReconciliationPass has cyclomatic complexity 64 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 12 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce1f9b6a8df9a26df009b256b350f219f753ddd0e79197acfe46101274be5b4"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.act (cyclomatic 64): assigned-work-sweep.assignedWorkSweep.act has cyclomatic complexity 64 (threshold 15). Of this number, 62 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03624c1c806e5eb3a1d248a5201f8b4a0861ecec7db4f2815a463f88d48d62f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-finalizer.attemptNativeWorkspaceFinalization (cyclomatic 64): native-workspace-finalizer.attemptNativeWorkspaceFinalization has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 5 of the 64 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 197, a function literal at line 105, settleSuperseded). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"25942b356caf9b4e299b66555da4009947036446d4c05c8ee71cd2aed0e49f80"}},{"ruleId":"D1","level":"warning","message":{"text":"envelope.createInboundEnvelope.prepareInboundEnvelope (cyclomatic 64): envelope.createInboundEnvelope.prepareInboundEnvelope has cyclomatic complexity 64 (threshold 15). Of this number, 59 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":"server/src/services/chat-channels/inbound/envelope.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b105895b793061ee89583f667ab2dcea6d8bc6d064b6f269115006420e4250b4"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelService.runtimeFor (cyclomatic 64): chat-channels.chatChannelService.runtimeFor has cyclomatic complexity 64 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 35 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":"server/src/services/chat-channels.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de912badb0d7136ad9e840dbb68857a66da6099bf8b170f1a4e6a5261f8097a"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.finishGalleryAppConnection (cyclomatic 64): tool-access.toolAccessService.finishGalleryAppConnection has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 14 of the 64 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 3281, 3440, 3184, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c71bf3a7c1e1e7bfe00fb39adb56007397b5fe1a236e0830e096fe3d27bb86f"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol-contract.assertQuestionAdapterFixture (cyclomatic 64): protocol-contract.assertQuestionAdapterFixture has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"737fc3bcef1823fac3544b9a2bf97f3f39e0c6b12911609361fcf0c4589f36d0"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-git.inspectArchivedGitMigrationSource (cyclomatic 64): remote-workspace-migration-git.inspectArchivedGitMigrationSource has cyclomatic complexity 64 (threshold 15). Of this number, 62 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2302141903731231c22ab4a2b6263bd58e342fab21832afa4533271d9c856149"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-control-reconciliation.reconcileAbandonedExecutionControl (cyclomatic 64): execution-control-reconciliation.reconcileAbandonedExecutionControl 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 4 function literals inside it that branch (lines 122, 104, 95, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-control-reconciliation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ffa1d85e474ff11f4492d6553996fc2d077d509ec8dd8096e864089f81818a"}},{"ruleId":"D1","level":"warning","message":{"text":"MuseRunnerConnection.MuseConnectionDetails (cyclomatic 64): MuseRunnerConnection.MuseConnectionDetails has cyclomatic complexity 64 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MuseRunnerConnection.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8db91b5cb1c20d8fd6c10414475aba6eef863bf489dca3294a9080bb9d985e0"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineRunVariablesDialog.RoutineRunVariablesDialog (cyclomatic 64): RoutineRunVariablesDialog.RoutineRunVariablesDialog has cyclomatic complexity 64 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 45 belong to 18 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":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23f4311708f04eb1365d17b165ace858a61a104e3c14ae9d7e8b15fc7e20def"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatInteractionCard.TaskChatInteractionCard (cyclomatic 64): TaskChatInteractionCard.TaskChatInteractionCard has cyclomatic complexity 64 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatInteractionCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebb3bba0ae1bd3af83b94e92a83c7da47b419a0bfea3765034be0d90708f7f8"}},{"ruleId":"D1","level":"warning","message":{"text":"BulkAgentSettingsProposal.BulkEditor (cyclomatic 64): BulkAgentSettingsProposal.BulkEditor has cyclomatic complexity 64 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 18 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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0da5277cab70df42d814eea2cbc3840464ef3fa4e492020a63fca65f0f0ad6f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.registerAgentCommands (cyclomatic 63): agent.registerAgentCommands has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 4 of the 63 points are its own statements and the rest belongs to 32 function items inside it that branch (a function literal at line 844, a function literal at line 251, a function literal at line 300, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f054dfa2836ebfd823dca8b8e1b24c4e353ef6ac0fadbec9ac97bd2c103561"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-issue-thread-server.createCapabilityIssueThreadMiddleware (cyclomatic 63): capability-issue-thread-server.createCapabilityIssueThreadMiddleware has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 1 of the 63 points is its own statement and the rest belongs to 18 function items inside it that branch (cleanRoomPayload, liveView, createCleanRoomSession, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b547f6512fb7e5c0e1a7340a9916e582ad9e8e74693a6fcabcf30430601e39"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-runner-credentials.antigravityCredentialTurn.copyBack (cyclomatic 63): antigravity-runner-credentials.antigravityCredentialTurn.copyBack has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 8 of the 63 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 150, 196, 170, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b0791991b4e740f7ee0a82a9911c69cb3187ed9bde7fddea39abd9d3c496f"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.projectSlackFormRetainedOwner (cyclomatic 63): form-session.projectSlackFormRetainedOwner has cyclomatic complexity 63 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"970944ce8f10912f5d59d3c074d34cb140901ba57485bc5bd37cc19cd9efcad6"}},{"ruleId":"D1","level":"warning","message":{"text":"cancelled-native-startup.isCancelledNativeStartup (cyclomatic 63): cancelled-native-startup.isCancelledNativeStartup has cyclomatic complexity 63 (threshold 15). Of this number, 61 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00cf01ebcdff1396e4f08095be27357cba9bee6a93220fea3e8312178988501"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-reviews.githubChatReviewService.processPublication (cyclomatic 63): chat-github-reviews.githubChatReviewService.processPublication has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 5 of the 63 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1079, 1495, 1098, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99441c94b1d2376609446f24ab470fa55ef10f2afb9789ada8b59d765aa5a55"}},{"ruleId":"D1","level":"warning","message":{"text":"task-creation-provenance.readTaskCreationProvenance (cyclomatic 63): task-creation-provenance.readTaskCreationProvenance has cyclomatic complexity 63 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 12 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":"server/src/services/task-creation-provenance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"445cd2ca7e020ff24c5bcb8ece0fd8572e2bf5a093c6721173dbd5294d4ef6ad"}},{"ruleId":"D1","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.dispatchMethod (cyclomatic 63): worker-rpc-host.startWorkerRpcHost.dispatchMethod has cyclomatic complexity 63 (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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef03d4ca75f6190bb1a01c9fc49b48bc31d8ed6d8fbad3807a6a2c7c78edf1e"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.actorMiddleware::authenticate (cyclomatic 63): auth.actorMiddleware::authenticate has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6964dd561e02062bb10215e0c9a64cf279822f0f5380936f43905b467f8bf4d8"}},{"ruleId":"D1","level":"warning","message":{"text":"health.healthRoutes (cyclomatic 63): health.healthRoutes has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 1 of the 63 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 233, 140). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e4f5e079c3c32c9017a0447409470af002f38e0e39663b73eef58dd8912bc5"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes::handleWakeupRoute (cyclomatic 63): agents.agentRoutes::handleWakeupRoute has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent 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: 6 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":6229}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ea4690a00068ed37f7ce4bd5f95081e00dfc273229c2e144b61e2f1f8936d1"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfigForm.ModelDropdown (cyclomatic 63): AgentConfigForm.ModelDropdown has cyclomatic complexity 63 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 22 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e1e19df8d899fc9f81e56e4533e721c229c17d0aa7254209ad06a50374ae0"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionBlockerNotice.ExecutionBlockerNotice (cyclomatic 63): ExecutionBlockerNotice.ExecutionBlockerNotice has cyclomatic complexity 63 (threshold 15). Of this number, 61 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":"ui/src/components/ExecutionBlockerNotice.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e9df3a9fcd609442ba2b314eb5bbf72ab4d7e878704425cbf65251a741f07"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard.Dashboard (cyclomatic 63): Dashboard.Dashboard has cyclomatic complexity 63 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 28 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":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75dc76b8798052c79629d38d7bf7b2291bc278236a2d2c9cc3d5750878eee31"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-profile.resolvePaperclipRunnerNativeProviderInput (cyclomatic 62): provider-profile.resolvePaperclipRunnerNativeProviderInput has cyclomatic complexity 62 (threshold 15). Of this number, 61 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"999546400d53eb90e5147be0f4f8de192e6181eb0e589baf9174f0916522ef91"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-recovery.importNativeControllerRecovery (cyclomatic 62): native-controller-recovery.importNativeControllerRecovery has cyclomatic complexity 62 (threshold 15). Most of this is not in the body itself: 6 of the 62 points are its own statements and the rest belongs to one function literal inside it that branches (line 314). 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4eb58c4dbe1af170df95eabec04cf54c34baeb72525240903f252006414a919"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-sources.skillSourceService.publish (cyclomatic 62): skill-sources.skillSourceService.publish has cyclomatic complexity 62 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364846e8b7c9827fe4e4d2cd0b4c7e1a231f7f02b5d194f099ff5cbd03ec878"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-response-comments.writeGitHubResponseComment (cyclomatic 62): chat-github-response-comments.writeGitHubResponseComment has cyclomatic complexity 62 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f075c2b86af96de7c00435b77de3c4c048186776045465f651a98bf4e23b2c73"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.loadFacts (cyclomatic 62): assigned-work-sweep.assignedWorkSweep.loadFacts has cyclomatic complexity 62 (threshold 15). Of this number, 51 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55833f5ae8152f80c321a46d4581252c3a067d4fed0b61bde144f85fbc0d92c"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.resumeRemoteStopComments (cyclomatic 62): run-control.createHeartbeatRunControl.resumeRemoteStopComments has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3532b3eba735613c0c7c645828c2c3160320b06f5d72791d7e1d81b2854070"}},{"ruleId":"D1","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.failRun (cyclomatic 62): run-completion.createHeartbeatRunCompletion.failRun has cyclomatic complexity 62 (threshold 15). Of this number, 54 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a59fcec29fe7b425730f21f66053e8401d5fa26bc99dc1bfde100ef1bba06"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.claimFailedChatRunRetry (cyclomatic 62): failed-run-retry.createChatFailedRunRetry.claimFailedChatRunRetry has cyclomatic complexity 62 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6228805f4687e43a0c99fd70c3cc796e48fe22d35f12a53b11c5d460fd39052e"}},{"ruleId":"D1","level":"warning","message":{"text":"app.PageDetail (cyclomatic 62): app.PageDetail has cyclomatic complexity 62 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 23 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba84c8edbf5e68360b5cdc64726611579a6b6e87871d885605ecb9e3d215e17b"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkTimelineChart.WorkTimelineChart (cyclomatic 62): WorkTimelineChart.WorkTimelineChart has cyclomatic complexity 62 (threshold 15). Most of this is not in the body itself: 8 of the 62 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 591, a function literal at line 301, a function literal at line 339, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"977749fd6ec8a9ce5f3f247a0be77f73e13117a5d6e875b5be452211b07c7cbf"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMcpConnectionReview.RemoteMcpConnectionReview (cyclomatic 62): RemoteMcpConnectionReview.RemoteMcpConnectionReview has cyclomatic complexity 62 (threshold 15). Most of this is not in the body itself: 11 of the 62 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 54, a function literal at line 95, a function literal at line 37, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac75acc6306bc3eeb55771189e0f04cbda5ba0f81f01990d148564f832b1e62"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.queueCommand (cyclomatic 61): DurablePrpControlPlane.queueCommand has cyclomatic complexity 61 (threshold 15). Of this number, 60 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b896351b7064e2fa53422332a3bfdcf844538cdbe56ea616b134352dbd273dd"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-issue-thread-server.harnessConfiguration (cyclomatic 61): capability-issue-thread-server.harnessConfiguration 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fbf72b11ff293e138858a27a595ad608b345ce2a015e895a2371ddec5d835c"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-callback.receiveSlackCloudCallback (cyclomatic 61): cloud-callback.receiveSlackCloudCallback has cyclomatic complexity 61 (threshold 15). Of this number, 58 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":"server/src/services/chat-channels/slack/cloud-callback.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"542847613f8943de8bb81c4ae4a15839b59f080f8ef21e4592d16c00f1067115"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.getCloseReadiness (cyclomatic 61): execution-workspaces.executionWorkspaceService.getCloseReadiness 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"84947ecd5336993001d22e2cd30c8423deb4aaee0fdf0ce17ebd7b855f7e8e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-auth-jwt.verifyLocalAgentJwt (cyclomatic 61): agent-auth-jwt.verifyLocalAgentJwt 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":"server/src/agent-auth-jwt.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5412e5ebea6ffdc32ca124a5c4bbabdc82b440384b47d2db7e42aa9f36bf0a51"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-reconstruction.validateNativeWorkspaceReconstruction (cyclomatic 61): native-workspace-reconstruction.validateNativeWorkspaceReconstruction has cyclomatic complexity 61 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ef81857741a544729d7ffbfe3ba5d9c8bedafb3e9c6350a072fd9dde03762a"}},{"ruleId":"D1","level":"warning","message":{"text":"wakeup-authorization.createInboundWakeAuthority.authorizeInboundWakeup (cyclomatic 61): wakeup-authorization.createInboundWakeAuthority.authorizeInboundWakeup has cyclomatic complexity 61 (threshold 15). Of this number, 54 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":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce13cd7160404676d9312901f45dec0b0deda6125666fa6142ea80c5e55dc7c9"}},{"ruleId":"D1","level":"warning","message":{"text":"receipt-reactions.createReceiptReactions.processReceiptReactionWithCredentialLease (cyclomatic 61): receipt-reactions.createReceiptReactions.processReceiptReactionWithCredentialLease has cyclomatic complexity 61 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 18 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f58a8876986ba61308eba623427c860c86774a4cd66f460fd4341587815b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"transport.createChatPublicationTransport.postSafePublication (cyclomatic 61): transport.createChatPublicationTransport.postSafePublication has cyclomatic complexity 61 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d61893d602f10afea18ff30988a99b1da5ad5ea0ab215dce64277451553c53"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.providerSessionIdentityFromDurableProviderState (cyclomatic 61): native-session-executor.providerSessionIdentityFromDurableProviderState has cyclomatic complexity 61 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 3 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7871}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f684c9baf5c12e68f0a502f06ab9a8906e550ebeff5f1fddf0126ae5472449c"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-environments.applyManagedEnvironments (cyclomatic 61): managed-environments.applyManagedEnvironments has cyclomatic complexity 61 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 23 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":"server/src/services/managed-environments.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c081289d8d98af1cf5f7f231d4e14b10a1cd7f6890d1de3ddb4622ed1ba5fc"}},{"ruleId":"D1","level":"warning","message":{"text":"activity.activityRoutes (cyclomatic 61): activity.activityRoutes has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 1 of the 61 points is its own statement and the rest belongs to 14 function items inside it that branch (hasAttributionFilters, a function literal at line 287, a function literal at line 249, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/activity.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36d5c65375e95054f6a3ae534c7f21023da7f71a104a6fe90ce283c68656af7"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-sleep-safety.readIdleSleepSafety (cyclomatic 61): idle-sleep-safety.readIdleSleepSafety 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. This shape REPEATS in the file: one other method here (idle-sleep-safety.readIdleSleepSafety::report) 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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d41cdec3fa8a448c734e8e86534a3bc5431af579c835680dd63e39289ea91b"}},{"ruleId":"D1","level":"warning","message":{"text":"NewIssueDialog.AccountNewIssueDialog::handleSubmit (cyclomatic 61): NewIssueDialog.AccountNewIssueDialog::handleSubmit 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. This shape REPEATS in the file: 2 other methods here (NewIssueDialog.AccountNewIssueDialog, NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate) 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dbfef63b06e125e05035a19ab521f92f670e5179f3dd4547ec70cf4f657e39"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokBotSetupContent.GrokBotSetupContent (cyclomatic 61): GrokBotSetupContent.GrokBotSetupContent has cyclomatic complexity 61 (threshold 15). Of this number, 56 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":"ui/src/components/new-agent/GrokBotSetupContent.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3008c15f0d2ccc524beec748f8374beaa87b931373219cb5f0f1d715274b6bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.DiscoveryGrid (cyclomatic 61): CompanySkills.production.DiscoveryGrid has cyclomatic complexity 61 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65cde85053f15e304724103095c6fb27b48d05e6bea9162935b145771a86a22"}},{"ruleId":"D1","level":"warning","message":{"text":"useNativeRunTranscripts.useNativeRunTranscripts (cyclomatic 61): useNativeRunTranscripts.useNativeRunTranscripts has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 1 of the 61 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 167, 116, 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":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedef1c2435775e7491d49910a21608832e9f7b4585010a9e1c57268d45f470c"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::provider_events::normalize_codex_notification_in (cyclomatic 61): paperclip_runner_core::provider_events::normalize_codex_notification_in 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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f139434f23e8eddd2ed35f865f06a0ca912596a7d84ab99d1af07c385175cb"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-mode.createCursorModeAdmission (cyclomatic 60): cursor-mode.createCursorModeAdmission has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 2 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 38, readMode, assertReady, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/drivers/acpx/cursor-mode.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b95b1d5dfe2c727b6fedab5aea011a118d28625beef3ff03a64f7998f09f03"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-original-volume.verify (cyclomatic 60): native-harness-original-volume.verify has cyclomatic complexity 60 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-original-volume.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f210f31579a3f6012c2db38dfa5d013a5da25491b6f19568978967a92b960570"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.databaseFacts (cyclomatic 60): native-harness-filesystem-independence.databaseFacts has cyclomatic complexity 60 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf292f7fec3b33c981bc1dea3afacea8dde8e3958e5ca72e435c04353ebbdb9"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-session-contract.parseEvalSessionRequest (cyclomatic 60): eval-session-contract.parseEvalSessionRequest has cyclomatic complexity 60 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"799486c1a9aab41619affea0d9f59d7beee8fa9ec9945f1c7ff293b43bb14fc6"}},{"ruleId":"D1","level":"warning","message":{"text":"muse-maintenance.startMuseMaintenance (cyclomatic 60): muse-maintenance.startMuseMaintenance has cyclomatic complexity 60 (threshold 15). Of this number, 58 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":"server/src/services/muse-maintenance.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"da41194ffe2114eb0a1d077ba3405ee592a965f990c8df8d5e0e1a24f4103f59"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatProtocolCard.RuntimeRequestCard (cyclomatic 60): TaskChatProtocolCard.RuntimeRequestCard has cyclomatic complexity 60 (threshold 15). Of this number, 39 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8def92dea5eaf40b016b7ac39b7716b92fae18d699aa24bbec49c3b88b14394"}},{"ruleId":"D1","level":"warning","message":{"text":"useSummaryDraftStream.useSummaryDraftStream (cyclomatic 60): useSummaryDraftStream.useSummaryDraftStream has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 10 of the 60 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 157, a function literal at line 186, bindLog, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cc95ffb8a37bd24803b4719987b58ce56b11b8cae880ac96b1c5c1d970be11"}},{"ruleId":"D1","level":"warning","message":{"text":"connect-flow-preview-main.ConnectFlowPreview (cyclomatic 60): connect-flow-preview-main.ConnectFlowPreview has cyclomatic complexity 60 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 22 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":"ui/src/connect-flow-preview-main.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8649397c38830645cc8ac912f2c58fde6ed2b7c5fc4ab723394b1f1f8ad8587"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printClaudeStreamEvent (cyclomatic 59): format-event.printClaudeStreamEvent 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/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"49873ecdd52aceb7d04da1252c92b1c1a8d51918be26143a71d85fb5d44ee976"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.listRuntimeSkillEntriesLocked (cyclomatic 59): company-skills.companySkillService.listRuntimeSkillEntriesLocked has cyclomatic complexity 59 (threshold 15). Of this number, 58 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":"server/src/services/company-skills.ts"},"region":{"startLine":6152}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cdb3743f8baaafc6344c7eb82915103a9474d9ffd87528c8c22a16d160cc83"}},{"ruleId":"D1","level":"warning","message":{"text":"native-finalization-reconciler.reconcileNativeFinalizationsPass (cyclomatic 59): native-finalization-reconciler.reconcileNativeFinalizationsPass 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"62345ba735b8771629d59c6a61c543a16fc93a311ca0fcf5959337e060463288"}},{"ruleId":"D1","level":"warning","message":{"text":"failures.createChatPublicationFailures.finalizePublicationFailure (cyclomatic 59): failures.createChatPublicationFailures.finalizePublicationFailure has cyclomatic complexity 59 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 36 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":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"862b6052879b3469d80243534bd3db44247b8490999f1801aa842c50dcee73f1"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-execution-recovery.terminalizeLegacyExecution (cyclomatic 59): legacy-execution-recovery.terminalizeLegacyExecution has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 2 of the 59 points are its own statements and the rest belongs to one function literal inside it that branches (line 134). 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b4e56f265cc24d6cfda1b49b3e6fdb2ce8ca2f91a948aebaff96eecd807efd"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.preparePluginTaskOwner (cyclomatic 59): native-session-executor.createRunnerdBackendWithinSessionClaim.preparePluginTaskOwner has cyclomatic complexity 59 (threshold 15). Of this number, 56 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b568e3cb1ae5bd552becde56df9a934da96bfd2a5135516ea74138435cb1cf1e"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.freshChatSourceAfterPublishedControl (cyclomatic 59): issues.freshChatSourceAfterPublishedControl has cyclomatic complexity 59 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2c98fa3c118a384e32a8950a5cf38636e58a2b1e4c7386c12bff9a9c3262a"}},{"ruleId":"D1","level":"warning","message":{"text":"access.accessService.sweepMemberConnectionAccess (cyclomatic 59): access.accessService.sweepMemberConnectionAccess has cyclomatic complexity 59 (threshold 15). Of this number, 53 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":"server/src/services/access.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429b6627080ed38023ee1d3368b3f8ff054e5ca5ce0c830ddfbfb737adf796b"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmation-comment-resolution.resolveConfirmationFromComment (cyclomatic 59): confirmation-comment-resolution.resolveConfirmationFromComment has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 3 of the 59 points are its own statements and the rest belongs to one function literal inside it that branches (line 33). 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":"server/src/services/confirmation-comment-resolution.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b26d870b221c787e8af0dd6dc0907e73e7b1be63c033a688dde9e7dfe9f946"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudAccessGate.CloudAccessGate (cyclomatic 59): CloudAccessGate.CloudAccessGate has cyclomatic complexity 59 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 16 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":"ui/src/components/CloudAccessGate.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d7527fcd095473e1ccf6c6f8de010fb948425707b2a8987b2280631fa455a"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceBaseRefRecovery.WorkspaceBaseRefRecoveryProvider (cyclomatic 59): WorkspaceBaseRefRecovery.WorkspaceBaseRefRecoveryProvider has cyclomatic complexity 59 (threshold 15). Of this number, 56 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":"ui/src/components/WorkspaceBaseRefRecovery.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b7e226e12b1f955cd3a24b499fb996b48fd9170f3023e937f406d446750062"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueRunLedger.IssueRunLedgerContent (cyclomatic 59): IssueRunLedger.IssueRunLedgerContent has cyclomatic complexity 59 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 37 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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3145439ba8ebddb062829cb1f650371e06b03c1a132073cc43a15822c9ebf59"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueWorkspaceCard.IssueWorkspaceCard (cyclomatic 59): IssueWorkspaceCard.IssueWorkspaceCard has cyclomatic complexity 59 (threshold 15). Of this number, 49 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":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea547626df348279b2ef9359662664ebb1ad6c62e7b5f056e26cbab675454c73"}},{"ruleId":"D1","level":"warning","message":{"text":"DesignSandboxTaskThread.PreviewCase (cyclomatic 59): DesignSandboxTaskThread.PreviewCase has cyclomatic complexity 59 (threshold 15). Of this number, 38 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":"ui/src/components/design-sandbox/DesignSandboxTaskThread.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b96e0042d6be84266a2476b2bd0b96af1cf435792b931d4df0a6275039d5c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.SkillDetailPage (cyclomatic 59): CompanySkills.SkillDetailPage 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. This shape REPEATS in the file: one other method here (CompanySkills.SkillDetailPage::renderFilesBody) 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ca586b89a465542060deafc357b1f3215964f3d02cf685b787d552822bb0e2"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.SkillDetailPage (cyclomatic 59): CompanySkills.production.SkillDetailPage 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. This shape REPEATS in the file: one other method here (CompanySkills.production.SkillDetailPage::renderFilesBody) 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f23994fe4b015508beee23a7fc5c97edcdd0af9b8fb3dab89cc6efcb3a02f44"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexCommandExecutor::poll_provider_frames (cyclomatic 59): CodexCommandExecutor::poll_provider_frames 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":5300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2f8dc03f630e30ddd8e98513b9f56e524f656d07d490436d2a50c29b48a70b"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine::startup (cyclomatic 58): execute.createAcpxEngineExecutor.executeAcpxEngine::startup 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. This shape REPEATS in the file: 2 other methods here (execute.createAcpxEngineExecutor.executeAcpxEngine, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05da1420e299d7d437992fd1a894c7466651c16170c66d883068d31bdd4dfa4"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-server-driver.startRuntime (cyclomatic 58): opencode-server-driver.startRuntime has cyclomatic complexity 58 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 21 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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b920dc1ec6cb802a4fd9ff30a5b600649c82268665bfe339138e32c79a290f0a"}},{"ruleId":"D1","level":"warning","message":{"text":"config.loadConfig (cyclomatic 58): config.loadConfig has cyclomatic complexity 58 (threshold 15). Of this number, 53 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":"server/src/config.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"feffb37725e312ede823246a90ccabb40c585407fe63e9756c41196012a93ff4"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-usage.claude (cyclomatic 58): ai-connection-usage.claude has cyclomatic complexity 58 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 33 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9234a5fcce6cd09738255e0bb1101e102fedaa26560deaf5a90150eef2a57023"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.callLocalStdioMcp (cyclomatic 58): tool-gateway.createToolGatewayService.callLocalStdioMcp has cyclomatic complexity 58 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 27 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5502}}}],"partialFingerprints":{"codehealthFindingId/v1":"976bf98e08f82241732538822976f8ecaf07d13549b26368a9d52d0489ffa57b"}},{"ruleId":"D1","level":"warning","message":{"text":"github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E (cyclomatic 58): github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E 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. This shape REPEATS in the file: one other method here (github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E::ancestor) 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5173cffa7e35406c5d5e6671f044cc358f7c151e869cb82298968ad2a2130a"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-workspace-continuation.readFreshWorkspaceReadiness (cyclomatic 58): fresh-workspace-continuation.readFreshWorkspaceReadiness has cyclomatic complexity 58 (threshold 15). Of this number, 55 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c174e1d9172b902d23c35ff5f615424ce336d31376700518fcdbdb87c8f8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"sentry-links.addSentryRunLinks (cyclomatic 58): sentry-links.addSentryRunLinks has cyclomatic complexity 58 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry-links.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"461b00aaef7420e113b586d84d30ec2062813b9933aa12cde0c1e0fa9f4f7613"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-storage.uploadVerifiedWorkspaceSnapshot (cyclomatic 58): remote-workspace-snapshot-storage.uploadVerifiedWorkspaceSnapshot has cyclomatic complexity 58 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 25 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0abbbd398f4b79fdf5616e5e8bd8386468ea07645478203d480706047142d57"}},{"ruleId":"D1","level":"warning","message":{"text":"continuations.createChatInteractionContinuations.processPendingInteractionWakeups (cyclomatic 58): continuations.createChatInteractionContinuations.processPendingInteractionWakeups has cyclomatic complexity 58 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b607f790ff2d076a0c7ef8eb06fc1655ae7df0ced3a44d2640dd3964ce94434"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-integrity.verifyQualifiedAcpxInstallation (cyclomatic 58): installation-integrity.verifyQualifiedAcpxInstallation 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"4faa215495db512760c3c4ab481667840eb822d45a6c3d4547d6c479114715e4"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 58): execute.execute 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/plugins/sandbox-providers/createos/src/execute.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af0b532b26c5d6e7d690a436e3eabc5c1c64a7e5f01a6b69a7d7cf64824d39d"}},{"ruleId":"D1","level":"warning","message":{"text":"error-handler.errorHandler (cyclomatic 58): error-handler.errorHandler 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":"server/src/middleware/error-handler.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7210d94cdd4d573e38794df2344cdb0d596fb3e87b111c98e31a6d77b96831"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.buildLegacyRoutineTriggerFromRecurrence (cyclomatic 58): company-portability.buildLegacyRoutineTriggerFromRecurrence has cyclomatic complexity 58 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 8 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":"server/src/services/company-portability.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf28523a6fa8a3e3ba4ed0c3c9afe34c26ecca2378339d4b5b1aa11c3061e4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-export-retry.retryNativeWorkspaceExport::inspect (cyclomatic 58): native-workspace-export-retry.retryNativeWorkspaceExport::inspect has cyclomatic complexity 58 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3babc371c7871f881cdfd5f2ccb9b2b9b70d4f43a8557348f3e9405f723847"}},{"ruleId":"D1","level":"warning","message":{"text":"config-fields.OpenClawGatewayConfigFields (cyclomatic 58): config-fields.OpenClawGatewayConfigFields has cyclomatic complexity 58 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 31 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":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb721d77dbbab3260d0a758cbd04da214a883916a550667e03745fae51a8796"}},{"ruleId":"D1","level":"warning","message":{"text":"index.EnvironmentVariablesEditor (cyclomatic 58): index.EnvironmentVariablesEditor has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 13 of the 58 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 313, bindRecentSecret, a function literal at line 211, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7c4e235aa2bfdf28244c537b0b7f5774f697d0b5055c27ac5da6522dcd45de"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-contents.restoreGitWorkspaceContents (cyclomatic 57): git-workspace-contents.restoreGitWorkspaceContents has cyclomatic complexity 57 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 13 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3663a20373f34d37c94bdff64325e7cd84b95623e24cbc89a30b4d59b2753f17"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-archive.nativeControllerEvidenceDescriptor (cyclomatic 57): native-controller-archive.nativeControllerEvidenceDescriptor has cyclomatic complexity 57 (threshold 15). Of this number, 55 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":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f04233af65d40034b9f4e4b17e7c49f206621c83140f1dbd252ff1f7325af11"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-storage.fence (cyclomatic 57): native-harness-backup-storage.fence has cyclomatic complexity 57 (threshold 15). Of this number, 54 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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c53ec5ece1e0df74401dc67a813c40e86fd18f531ce25eb3cfefa7fd967452"}},{"ruleId":"D1","level":"warning","message":{"text":"git-credentials.resolveManagedGitHubIdentitySelection (cyclomatic 57): git-credentials.resolveManagedGitHubIdentitySelection has cyclomatic complexity 57 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 34 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":"server/src/services/git-credentials.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"529e73988913bc632bea7e146d3563db37927145b395d2f3a1f16cdfa0b784bc"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry.reconcileTaskChatRetryReceipts (cyclomatic 57): task-retry.reconcileTaskChatRetryReceipts has cyclomatic complexity 57 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 19 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":"server/src/services/task-retry.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"318cdceb05ce4ccd382e74e5909ffa54ca7219811f8ece8b84450ea878577247"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-chat-messages.sendAgentChatMessage (cyclomatic 57): agent-chat-messages.sendAgentChatMessage has cyclomatic complexity 57 (threshold 15). Most of this is not in the body itself: 6 of the 57 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 48, 62, 85, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-chat-messages.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6989d9d280d1bb3b6e49bb2b668ca02196cac73f2744e6452d5a8f485d22264b"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.recover (cyclomatic 57): PaperclipRunnerToolAuthority.recover 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aded47914bfd1eb9a72c563da6944e3ef45573d6d7f82ca96cb1bdf57357e4"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.decisionService.executeEffect (cyclomatic 57): decisions.decisionService.executeEffect has cyclomatic complexity 57 (threshold 15). Most of this is not in the body itself: 5 of the 57 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 432, 414, 501). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c21e79be656059a4dc4a038f22f785a2a3b8368bced1cd16322b53da5355c6"}},{"ruleId":"D1","level":"warning","message":{"text":"online-legacy-workspace-recovery.inspectRemoteRecoveryHold (cyclomatic 57): online-legacy-workspace-recovery.inspectRemoteRecoveryHold has cyclomatic complexity 57 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"771bbbba6a7ad4c4e6481c9eb2b1a8a0f56680acab1aff66d78fa0922ac9474e"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesPanel.ResizablePropertiesPanel (cyclomatic 57): PropertiesPanel.ResizablePropertiesPanel has cyclomatic complexity 57 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 29 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":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac665325364ba68372fe8cebc6a180ba072940b2d9b7a7bd428dbd7603d5a16"}},{"ruleId":"D1","level":"warning","message":{"text":"BudgetPolicyCard.BudgetPolicyCard (cyclomatic 57): BudgetPolicyCard.BudgetPolicyCard has cyclomatic complexity 57 (threshold 15). Of this number, 53 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":"ui/src/components/BudgetPolicyCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0072e2cf9eac9b11e30aee4ae58f998ad754353d2cfc016fa573a05ae21290"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectorPages.AiConnectorPages (cyclomatic 57): AiConnectorPages.AiConnectorPages has cyclomatic complexity 57 (threshold 15). Most of this is not in the body itself: 2 of the 57 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 77, a function literal at line 75, update, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ad608ecdba184a47e1be738bf9a5fd9e7455ddbed916c038948d3cdf9c307"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.buildClaudeRuntimeConfig (cyclomatic 56): execute.buildClaudeRuntimeConfig has cyclomatic complexity 56 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"64532e661654e538515bb271ab343c640eb3f48e30791af339794068d453a886"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-config.parseManagedConfigEnv (cyclomatic 56): managed-config.parseManagedConfigEnv 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":"server/src/services/managed-config.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6460ec3283effbe0e5f10715529cec75185737f83b87bd989c9dca1e0669a543"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-receipt.verifiedWorkspaceRepairReceipt (cyclomatic 56): workspace-recovery-receipt.verifiedWorkspaceRepairReceipt 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":"server/src/services/workspace-recovery-receipt.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0773c6fa7872c99d29970c2fe5a84d87f686f0281362aebe9f9857ec06414123"}},{"ruleId":"D1","level":"warning","message":{"text":"descriptors.classifyRisk (cyclomatic 56): descriptors.classifyRisk 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":"server/src/services/tool-access/catalog/descriptors.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd93c415495b6d279a564bb2a6c3192fc122dab8b9da7dbd4a28f35ff171a99"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-preparation-settlement.readFailedPreparationSettlement (cyclomatic 56): failed-preparation-settlement.readFailedPreparationSettlement has cyclomatic complexity 56 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/failed-preparation-settlement.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c464c08fc50cbbfac9fe3013bbcc7b05c2d0aa5af0bb37b34618eb3fb9799e3"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.loadContext (cyclomatic 56): tool-access-policy.toolAccessPolicyService.loadContext 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6135f28ccfc3ea1f731f00473e56e6df5a3e04750f7af576cf26f96fb7207572"}},{"ruleId":"D1","level":"warning","message":{"text":"deferred-receipt-work.registerDeferredReceiptWork.register (cyclomatic 56): deferred-receipt-work.registerDeferredReceiptWork.register has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 4 of the 56 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 116, 106, 56, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1114186fa1b159f84c50c734b6f66faccaeb43184814f3aabb1e09018e239b"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.#invoke (cyclomatic 56): CapabilitySemanticToolRuntime.#invoke 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d630bc7c9c9ca47b6a01430d82b2632d9caaf08d91cf8639cab1d160751250df"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-runtime-extension.installPiRuntimeExtension (cyclomatic 56): pi-runtime-extension.installPiRuntimeExtension has cyclomatic complexity 56 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 23 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4164895b4c7bb7ec1939be06e94cb63d543ef22174da30a413772613c8fc71"}},{"ruleId":"D1","level":"warning","message":{"text":"company-search.companySearchService.search::fetchIssueSearchData (cyclomatic 56): company-search.companySearchService.search::fetchIssueSearchData has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (company-search.companySearchService.search) 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":"server/src/services/company-search.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee86bbc70eff9c3ace297f1d5d73dace9fe491e1bd0675fbb604dc5a03eb5e22"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-harness-verification.agentHarnessVerificationService.verify (cyclomatic 56): agent-harness-verification.agentHarnessVerificationService.verify has cyclomatic complexity 56 (threshold 15). Of this number, 54 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":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54af51ae4e24ef9827aededda82aa694b690d7bdec2ceebebb83b51cf07ecd9"}},{"ruleId":"D1","level":"warning","message":{"text":"assets.assetRoutes (cyclomatic 56): assets.assetRoutes has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 1 of the 56 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 327, 116, 225, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/assets.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4669f5aa8f7ca40435a7e997e27f1cdab6ad2a5d2155ce36b62207d62ae4f47"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsConnect.AppsConnect (cyclomatic 56): AppsConnect.AppsConnect has cyclomatic complexity 56 (threshold 15). Of this number, 50 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":"ui/src/pages/apps/AppsConnect.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd3f44199fae712b3052e8bfb1cf4bbdde421084a2f9f30faf06c41bd0360ac"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamCatalog.TeamCatalog (cyclomatic 56): TeamCatalog.TeamCatalog has cyclomatic complexity 56 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 21 belong to 9 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"398ab08434e1c882a919f8d3f4c8876b0a4ac7b5bf46ff27529809669c289786"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderConnectionPreview.ProviderConnectionPreview (cyclomatic 56): ProviderConnectionPreview.ProviderConnectionPreview has cyclomatic complexity 56 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 17 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":"ui/storybook/prototypes/ProviderConnectionPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc7794f30223ea4acf1e72ea8a0089c1ea56a8ebc3d752af3c286aa8ced6e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parsePiStdoutLine (cyclomatic 55): parse-stdout.parsePiStdoutLine 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/adapters/pi-local/src/ui/parse-stdout.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30771501fa37adbe5634d20f400bf79ce2a233085e586c97287e9e99900bdfd"}},{"ruleId":"D1","level":"warning","message":{"text":"response-capture.installDatabaseResponseCapture (cyclomatic 55): response-capture.installDatabaseResponseCapture 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 21 function items inside it that branch (a function literal at line 343, sqlMetadata, client, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/db/src/response-capture.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d592ccdaa014b94dd90b3451eb791ed3b1fe54167c4172fb8ca21934df48b828"}},{"ruleId":"D1","level":"warning","message":{"text":"logger.createHttpLogger (cyclomatic 55): logger.createHttpLogger 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":"server/src/middleware/logger.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"813d5689098218d5638e93d7a009ce755484dfab056730a9fbdd6c8dc704c817"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createAuthorizationService.decide (cyclomatic 55): authorization.createAuthorizationService.decide has cyclomatic complexity 55 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 16 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":"server/src/services/authorization.ts"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0653da7470592f326f34c009b0885ca5139cbda5fa4aff3f1c53274744e25b8"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle (cyclomatic 55): plugin-worker-manager.createPluginWorkerHandle 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. This shape REPEATS in the file: 4 other methods here (plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fab8580f612110f746372b692e70e1645c16589c0c395ba62240a42aa6a903"}},{"ruleId":"D1","level":"warning","message":{"text":"task-workspace-access.assertTaskWorkspaceExecutionAccess (cyclomatic 55): task-workspace-access.assertTaskWorkspaceExecutionAccess 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 2 function literals inside it that branch (lines 132, 204). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-workspace-access.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d717717f7cfbc7bdbda3714dd89883267f54a925a460ee301b1a4d88f78f644"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-identity-redaction.createAgentIdentityRedactor (cyclomatic 55): agent-identity-redaction.createAgentIdentityRedactor has cyclomatic complexity 55 (threshold 15). Of this number, 47 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":"server/src/services/agent-identity-redaction.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbfafcc3188350d72dfd3188ef75c3bf090c62e463880977dd6dc7e2d2ff07d"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.scanProjectWorkspaces (cyclomatic 55): company-skills.companySkillService.scanProjectWorkspaces has cyclomatic complexity 55 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":5222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e144fec9d7affb58e590f0b4c343bd48cf0049db540f291f16675dbf0d1a4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.createHeartbeatWorkspaceResolver.resolveAnchorWorkspaceForRun (cyclomatic 55): workspaces.createHeartbeatWorkspaceResolver.resolveAnchorWorkspaceForRun 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc3e14c5f1e7b7770c34eedc09b3558f60f1a4aa9b1b3fa6750e3401be57a1f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-interaction-delivery.assignmentDenial (cyclomatic 55): agent-interaction-delivery.assignmentDenial 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"757e07da1d8448aea297981f6bfe05d7ec46c32d6bb1cb1b1894b576808245a5"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-run-orchestrator.environmentRunOrchestrator.acquireForRun (cyclomatic 55): environment-run-orchestrator.environmentRunOrchestrator.acquireForRun has cyclomatic complexity 55 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cbe3b6336d9c39aebf76f3684685479baa8f428966a8265346d1e88cbda5b5"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmation-actions.createChatConfirmationActions.settleTerminalConfirmationAction (cyclomatic 55): confirmation-actions.createChatConfirmationActions.settleTerminalConfirmationAction has cyclomatic complexity 55 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 9 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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d60932b20a1f39ad9666d5a421e9f6006e4c061d55e9e9479f652a90c106ed"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.nativeProviderRecoveryEvidence (cyclomatic 55): native-session-executor.nativeProviderRecoveryEvidence 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9269}}}],"partialFingerprints":{"codehealthFindingId/v1":"879eb2238ec88c49fe099a533e9aec462b09ce3135b60c7ec77db5f0efe14bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intent-delivery.connectionIntentDeliveryService.deliver (cyclomatic 55): connection-intent-delivery.connectionIntentDeliveryService.deliver has cyclomatic complexity 55 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 19 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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bd3fca88498b5c09ac720719ca954d92a642e10df977ca3986557a47f3a395"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokBotConnection.GrokBotConnection (cyclomatic 55): GrokBotConnection.GrokBotConnection has cyclomatic complexity 55 (threshold 15). Of this number, 49 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":"ui/src/components/GrokBotConnection.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a66aba5d3c4da2101730d456141d5df9918158cdd7490330afe9745f60b5499"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.ConfirmationActionRow (cyclomatic 55): IssueThreadInteractionCard.ConfirmationActionRow has cyclomatic complexity 55 (threshold 15). Of this number, 48 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c517925a182778a334f2a840f8baba7cd5ccb754c12a255dec70a280e1d73af4"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatTurn.TaskChatTurn (cyclomatic 55): TaskChatTurn.TaskChatTurn has cyclomatic complexity 55 (threshold 15). Of this number, 53 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":"ui/src/components/task-chat/TaskChatTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"01093ed367cedb3fa6c3c83b08d6a1b6494e97b22f4fd2aa45a1a92f755c998a"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentThread.CommentThread (cyclomatic 55): CommentThread.CommentThread has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 13 of the 55 points are its own statements and the rest belongs to 16 function items inside it that branch (handleSubmit, a function literal at line 871, handleAttachFile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"51abd3212bad51be7c657d2e0c045ee650b3f6f55c3898f563c577291e2d8442"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run.heartbeatRun (cyclomatic 54): heartbeat-run.heartbeatRun has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (heartbeat-run.heartbeatRun::printAdapterInvoke, heartbeat-run.heartbeatRun::handleEvent) 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2a762da43a0857b244fbf55a9081b2b6e3eb283c8ea4f59a578ab6e94eafc6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-question-adapter.normalizeCodexQuestionSet (cyclomatic 54): codex-question-adapter.normalizeCodexQuestionSet has cyclomatic complexity 54 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 38 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ccc35913b4aaf874b5a94688e48f36f0d28b292a553513e3b09687856acb0f"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractionCard.InteractionCard (cyclomatic 54): InteractionCard.InteractionCard has cyclomatic complexity 54 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 35 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":"packages/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea95ca8532ef8a050075dcb45845eaae4989b1a023328640d5d253c92e32bb75"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-recovery-actions.issueRecoveryActionService.upsertSourceScopedUnlocked (cyclomatic 54): issue-recovery-actions.issueRecoveryActionService.upsertSourceScopedUnlocked has cyclomatic complexity 54 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 31 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84be81e3a041526388d95a35e5dd9e45201f61592ccb0de1bcc6f967f136f72"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-action-replay-intent.isNewHumanIntentAfterToolRejection (cyclomatic 54): tool-action-replay-intent.isNewHumanIntentAfterToolRejection has cyclomatic complexity 54 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-action-replay-intent.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee19c8b1a0d5ee3448832d6ad7fe3286537a9e79024e1fbca738acd5af92111d"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.decideInternal (cyclomatic 54): tool-access-policy.toolAccessPolicyService.decideInternal has cyclomatic complexity 54 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da7eec70fede6212b42534fcb30fa9b848717f0276314aeedd37588a85ca334"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.availability (cyclomatic 54): workspace-file-resources.workspaceFileResourceService.availability has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 11 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 1413, requestAccess, a function literal at line 1376, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"812fa8d20ac6dca213bc0defbe443cac7072a65da96b0caf4e77d2c55a0d3870"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.sweepPendingCleanupLeases (cyclomatic 54): recovery.createHeartbeatRecovery.sweepPendingCleanupLeases has cyclomatic complexity 54 (threshold 15). Of this number, 51 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fe8f08cc34220cb8a90af7df7f3713fbb688ac85614995822fbb45d57362fd"}},{"ruleId":"D1","level":"warning","message":{"text":"task-start.createSlackTaskStart.processSlackTaskStart (cyclomatic 54): task-start.createSlackTaskStart.processSlackTaskStart has cyclomatic complexity 54 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 30 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc6f9832cc28c6c169d4af48444c1df7938a6420bcc6700744a7028302dfeee"}},{"ruleId":"D1","level":"warning","message":{"text":"stopped-codex-turn.stoppedCodexTurnIsTextOnly (cyclomatic 54): stopped-codex-turn.stoppedCodexTurnIsTextOnly has cyclomatic complexity 54 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/stopped-codex-turn.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dd2cc5e0560b74d8a8d82731be486bbb07f4f7330c67ffd3307098cfbd979f"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-policy.createCopilotProtocolGuard.\u003Creturned closure\u003E (cyclomatic 54): copilot-policy.createCopilotProtocolGuard.\u003Creturned closure\u003E has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-policy.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc3bfbfb76a182f36675ad88142c3c10b9f807071a27272b4ac69ee00bd6bb7"}},{"ruleId":"D1","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.buildContext (cyclomatic 54): worker-rpc-host.startWorkerRpcHost.buildContext has cyclomatic complexity 54 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4680e4f4503208942e41ef2006cc1f5b19e38a3c11388952c430fd9a1ebe626"}},{"ruleId":"D1","level":"warning","message":{"text":"board-chat.boardChatRoutes (cyclomatic 54): board-chat.boardChatRoutes 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 11 function items inside it that branch (a function literal at line 315, a function literal at line 99, a function literal at line 294, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/board-chat.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"28569a4c9ba68a86c83953ff6c01f86f7b4954f9682e4b12f33ec99ed9274841"}},{"ruleId":"D1","level":"warning","message":{"text":"access.normalizeAgentDefaultsForJoin (cyclomatic 54): access.normalizeAgentDefaultsForJoin has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc799ede30e9ebb4f3e30f5fe3b8b073696fd46f9c086e81b22237b78640ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarAgents.SidebarAgents (cyclomatic 54): SidebarAgents.SidebarAgents has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 10 of the 54 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 481, a function literal at line 328, 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb737e574061ba375d02a05ba97f40096e56e0b3c0ea9ebf6d1ad28b0889196"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarAgents.production.SidebarAgents (cyclomatic 54): SidebarAgents.production.SidebarAgents has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 10 of the 54 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 481, a function literal at line 328, 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1387c67d9811a6a31eefa3607f195fee63610be4e5facd256c89050957be866"}},{"ruleId":"D1","level":"warning","message":{"text":"Artifacts.Artifacts (cyclomatic 54): Artifacts.Artifacts has cyclomatic complexity 54 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 23 belong to 14 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":"ui/src/pages/Artifacts.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7620d657648b5e78d71387f18d34261e069b61f9f0217dd38e9d8c0fb8701ef2"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatCompactInteractionCard.ItemVerdictsCard (cyclomatic 54): TaskChatCompactInteractionCard.ItemVerdictsCard has cyclomatic complexity 54 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 23 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ee7320a0ee75afd312a6d6bc2c3f8563368a9acde41a2fd0f067d7f65e666f"}},{"ruleId":"D1","level":"warning","message":{"text":"Connections.Connections (cyclomatic 54): Connections.Connections has cyclomatic complexity 54 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 34 belong to 13 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":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"514bbe1ddd6a2e1c2785a08581817e9400046e57714e4a358e8088f6d9165b47"}},{"ruleId":"D1","level":"warning","message":{"text":"acp.testClaudeAcpEnvironment (cyclomatic 53): acp.testClaudeAcpEnvironment has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ada05ae45b5efbe326e295cca06dafaceb12be5d9e32a4315150d5eaa1ee800"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.spawnRunner (cyclomatic 53): durable-prp-control-plane.spawnRunner has cyclomatic complexity 53 (threshold 15). Of this number, 44 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4890dc3da9fea6103029d51b0b196d67bf15bb0c73b4d49251f30ed9a966dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-media-intake.bindTelegramRichAttachment (cyclomatic 53): chat-telegram-media-intake.bindTelegramRichAttachment 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"703cdb5e52fb7f7e839952671be2e086fb94cca93db05ee47df7ee4f1f2b19a4"}},{"ruleId":"D1","level":"warning","message":{"text":"nested-clone-migration.migrateNestedRepositoryClone (cyclomatic 53): nested-clone-migration.migrateNestedRepositoryClone has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 7 of the 53 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 449, 410, 491). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8b001a3969e3301d5b5e619aef76adad33e44c47ba9ba40d9cf92e6d9552e0"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-reviews.githubChatReviewService.execute (cyclomatic 53): chat-github-reviews.githubChatReviewService.execute has cyclomatic complexity 53 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93de30968e0d9013a522a70eb9db932d3e73ab593ee9f5bf5ee8faa49b3a272"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-recovery-resolution.validateExecutionReconciliationInScope (cyclomatic 53): execution-recovery-resolution.validateExecutionReconciliationInScope 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6802e7f5174192f98c594b44e0b8c2d7525b1d29dd31c455c2a812787a7e07f5"}},{"ruleId":"D1","level":"warning","message":{"text":"file-receipts.createSlackFileReceipts.processPendingSlackFileUploadReceipts (cyclomatic 53): file-receipts.createSlackFileReceipts.processPendingSlackFileUploadReceipts has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 8 of the 53 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 556, 725, 555, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbae047bb58a505dff333fc04d38e2533e90bb4ab5eff74bd27455fdbc7cf5d"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmation-actions.createChatConfirmationActions.handleChatConfirmation (cyclomatic 53): confirmation-actions.createChatConfirmationActions.handleChatConfirmation 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79923a542124280834be488dc6c12875fdf54ccd0901680184045fd176decf5"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-api-catalog.dedicatedTools (cyclomatic 53): runner-api-catalog.dedicatedTools has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"000dab6c49eefa596ff1180f679d3345b6bd6f3a62cbcc493a3893f71a8f7787"}},{"ruleId":"D1","level":"warning","message":{"text":"approvals.approvalRoutes (cyclomatic 53): approvals.approvalRoutes has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 1 of the 53 points is its own statement and the rest belongs to 16 function items inside it that branch (a function literal at line 461, a function literal at line 397, assertApprovalMutationAllowedByRunContext, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"771af1aaaf4cb4a226dfc2669603b664ff2d2f907932104252007df8eca20847"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-ui-static.pluginUiStaticRoutes (cyclomatic 53): plugin-ui-static.pluginUiStaticRoutes has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 1 of the 53 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 233, 496). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19e235ccae064085159316e8c2364466f49f186f0bdd1d9e2a426e6600376df"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestToolActionCard (cyclomatic 53): IssueThreadInteractionCard.RequestToolActionCard has cyclomatic complexity 53 (threshold 15). Of this number, 50 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"041200f1f0908e08c289f68e84abf57962aa72c87d424af414174f736cf0f1b5"}},{"ruleId":"D1","level":"warning","message":{"text":"SidePanelTab.SidePanelTab (cyclomatic 53): SidePanelTab.SidePanelTab has cyclomatic complexity 53 (threshold 15). Of this number, 43 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":"ui/src/components/side-panel/SidePanelTab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48fcd83480492fc70061aa3b4820e37c6196bb0ec0165fea2f720e4b6cfee16"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSkillsTab.AgentSkillsTab (cyclomatic 53): AgentSkillsTab.AgentSkillsTab has cyclomatic complexity 53 (threshold 15). Of this number, 21 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":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa5c61dde07a3caacd867044849f7ab826ba644fe1fb52568aeee4afbf13c17"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatorNeedsYou.CoordinatorNeedsYou::renderCard (cyclomatic 53): CoordinatorNeedsYou.CoordinatorNeedsYou::renderCard has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CoordinatorNeedsYou.CoordinatorNeedsYou) 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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2435d10d796b465512181a1b2dcd3501d2fdcdf7c396ad7a7cff742a72a15d"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericMcpConnectStep.GenericMcpConnectStep (cyclomatic 53): GenericMcpConnectStep.GenericMcpConnectStep has cyclomatic complexity 53 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 25 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":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c4390b355db8aeea454c9e7620f15ad7ef1a053461ad58f0fe07b0706724c1"}},{"ruleId":"D1","level":"warning","message":{"text":"update.updateCommand (cyclomatic 52): update.updateCommand has cyclomatic complexity 52 (threshold 15). Of this number, 50 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":"cli/src/commands/update.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb696c8c66b25c73b0680e52c0b2e0ebe48e9668eac6ebfe2f063b3bc95ae13a"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::toResult (cyclomatic 52): execute.execute::toResult has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (execute.execute, execute.execute::runAttempt) 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c928fd82b36a3170786d98c751f1855827268f70bc090ffba3084f533618be08"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printGeminiStreamEvent (cyclomatic 52): format-event.printGeminiStreamEvent has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cb310346934df03db18aae42e30aba363d2eb0a3e62d793cc3a7c2c3514838"}},{"ruleId":"D1","level":"warning","message":{"text":"migration-compatibility.classifyStatement (cyclomatic 52): migration-compatibility.classifyStatement has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/migration-compatibility.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78b306f4365660ddaeaeb3524db7b1c4cf4acf27dcca88317bef14537e47ed5"}},{"ruleId":"D1","level":"warning","message":{"text":"question-set.parsePaperclipQuestionResponse (cyclomatic 52): question-set.parsePaperclipQuestionResponse has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1c23091ec438079904284f2281a4eca5d6a1470403eba2a117bfcae39f42e4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-turn-diff.parseCodexTurnDiff (cyclomatic 52): codex-turn-diff.parseCodexTurnDiff has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (codex-turn-diff.parseCodexTurnDiff::finish) 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f8d8ce66650d129c672668922772456143fc53070fac34100772fc9369934f"}},{"ruleId":"D1","level":"warning","message":{"text":"attachments.downloadPhotonAttachment (cyclomatic 52): attachments.downloadPhotonAttachment has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/attachments.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"24805a0f70b5c4c956dc1b054ebe8d37ad9ecb38ef423b42d020b5d8f90099df"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-incoming-wake-capability.parseIdleCapabilities (cyclomatic 52): idle-incoming-wake-capability.parseIdleCapabilities has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-incoming-wake-capability.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e207386b043d6c93f1e41087ee418d9b74914a320a8e69e5f1f5a0a92da68c12"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.environmentRuntimeService.releaseRunLeases (cyclomatic 52): environment-runtime.environmentRuntimeService.releaseRunLeases has cyclomatic complexity 52 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a78000f2ce85c81a819564bb30de682dc08f3d0f734778947ddcdc9310bbeff"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.resolveExecutionRunAdapterConfig (cyclomatic 52): run-preparation.resolveExecutionRunAdapterConfig has cyclomatic complexity 52 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"283ef52685ebb16405639071ae49298f519ee44588f1fd28b162ebb5be46f0ff"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery.recheckStoppedWorkspaceRecovery (cyclomatic 52): workspace-recovery.recheckStoppedWorkspaceRecovery 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 2 function literals inside it that branch (lines 55, 70). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9023b1ea223a0fef4e0b8b421a99c0c4f5965455986439d4944476ccf8d0e1"}},{"ruleId":"D1","level":"warning","message":{"text":"restart-interrupted-turn.requestInterruptedNativeTurnRetry (cyclomatic 52): restart-interrupted-turn.requestInterruptedNativeTurnRetry has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69a2c0cf7131e4a332c68550dab0af4711d1bbadfa148f7b8aa65d3e1785f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.recoverNativeRunsAfterRestart (cyclomatic 52): recovery.createHeartbeatRecovery.recoverNativeRunsAfterRestart has cyclomatic complexity 52 (threshold 15). Of this number, 48 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f590e7d4999427b21d38c5c4f717f30237ed6161fc61c91acdf892b356ff424"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook-authentication.createGitHubWebhookAuthentication.authenticateGitHubWebhook (cyclomatic 52): webhook-authentication.createGitHubWebhookAuthentication.authenticateGitHubWebhook has cyclomatic complexity 52 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 33 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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca0d818c081209c692623557d06516360a38cbe3811d6ffe2df5fe9d458066"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelService.authorizeRetainedChatSourcePublication (cyclomatic 52): chat-channels.chatChannelService.authorizeRetainedChatSourcePublication has cyclomatic complexity 52 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87ff34a5e9d91ea954387da458b58b76b00d8d1a5379b2ae781eea13e58bae"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.nativeFailedRunRetryStateIsSafe (cyclomatic 52): native-session-executor.nativeFailedRunRetryStateIsSafe has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4bd86d99bb5e7af53d1236ed69088b575196f2d17a3097b3e28d1c51a241f0"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-events.appendNativeSourceEvent (cyclomatic 52): heartbeat-run-events.appendNativeSourceEvent has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a84383b22ae458055da00a25bc7162bb6f428a022ad719b11bc49555f8a5b7"}},{"ruleId":"D1","level":"warning","message":{"text":"customer-success.parseInspectionQuery (cyclomatic 52): customer-success.parseInspectionQuery has cyclomatic complexity 52 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/shared/src/customer-success.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1f8a21e38c5e25ffff05e3496de9777280737d93f361e9ba20db2f16525405"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudCheckpointStore.read (cyclomatic 52): CursorCloudCheckpointStore.read 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a228d4cf2a2d1eca928663ded277ed1ace84587f61aaa7dee74f89415c43388"}},{"ruleId":"D1","level":"warning","message":{"text":"app.QueryTab (cyclomatic 52): app.QueryTab has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 13 of the 52 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 4482, a function literal at line 4385, fileAnswer, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4349}}}],"partialFingerprints":{"codehealthFindingId/v1":"504a80c4eb5216e417b816df691eccf8811fc7305a93e382c7d27133cf38f988"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ChangesTab (cyclomatic 52): index.ChangesTab has cyclomatic complexity 52 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 36 belong to 17 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea645a24d403a1e1088948b95e2fbabd298ba3fad0e32378c1383f3ebf8b5966"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-history.decisionHistoryService.list (cyclomatic 52): decision-history.decisionHistoryService.list has cyclomatic complexity 52 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 14 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":"server/src/services/decision-history.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7178c083b92c246a447b1d34d02ba48fbac40a4de760a32b1c0560b184764a1"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-incoming-wake.readIdleIncomingWakeProof (cyclomatic 52): idle-incoming-wake.readIdleIncomingWakeProof has cyclomatic complexity 52 (threshold 15). Of this number, 48 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":"server/src/services/idle-incoming-wake.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf6af8822ba9efa4dc171e01a7966f058944ab5a4d2aad65cc3313214634735"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.SuggestTasksCard (cyclomatic 52): IssueThreadInteractionCard.SuggestTasksCard has cyclomatic complexity 52 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 17 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb3aa5d0ca264d55f6f3783aac43c68ab27cd3013dcf8952ab7818ff7ecf781"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer.ChatComposer (cyclomatic 52): ChatComposer.ChatComposer has cyclomatic complexity 52 (threshold 15). Of this number, 20 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":"ui/src/components/ChatComposer.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"388d751f7e0a9ee53f32b519ff9601a1a4fb9387437eba5b09cf84cbddaf598f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointSetup.TryStep (cyclomatic 52): ChatEndpointSetup.TryStep has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb566ea24470a0686d1be9d4978f7bd0c5cbd0e9dc728694c8b652b7be816fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"SecretBindingPicker.SecretBindingPicker (cyclomatic 52): SecretBindingPicker.SecretBindingPicker has cyclomatic complexity 52 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 10 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":"ui/src/components/SecretBindingPicker.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"55479e3c96330d7384f9f1e52f729a5103e424fbd8907a029a6e721dad647b1f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.#emitAssistantPart (cyclomatic 51): OpenCodeHarnessSession.#emitAssistantPart has cyclomatic complexity 51 (threshold 15). Of this number, 48 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"693e3d201ca72c63144726cfe50e99d1fd9ef659bfb3b0e506fdb8da261bd046"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-attachments.githubPublicAttachmentsFromMessage (cyclomatic 51): chat-github-attachments.githubPublicAttachmentsFromMessage has cyclomatic complexity 51 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 6 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c988e4a7afa0108ac446dba8cf613e42b5c81c39c5ca56985aeef740b64ff1e"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-repository-checkout.materializeManagedProjectWorkspace (cyclomatic 51): managed-repository-checkout.materializeManagedProjectWorkspace has cyclomatic complexity 51 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-repository-checkout.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f92742c2adda5a5e73a5e5c89f2db846092318d5838209db954a998fd1a9fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-elicitation.fieldFor (cyclomatic 51): mcp-elicitation.fieldFor has cyclomatic complexity 51 (threshold 15). Of this number, 42 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60621c2e10a137b76076305fee0720a76566678aded12f89e8624a8fed751a"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.approveActionRequest (cyclomatic 51): tool-gateway.createToolGatewayService.approveActionRequest 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecb6bd82c925e409874860fa024efa1da30d70d8ee0533b6dab3d71df089e55"}},{"ruleId":"D1","level":"warning","message":{"text":"persisted-workspace-source.resolvePersistedGitWorkspaceSource (cyclomatic 51): persisted-workspace-source.resolvePersistedGitWorkspaceSource has cyclomatic complexity 51 (threshold 15). Of this number, 44 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":"server/src/services/persisted-workspace-source.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"08323252e90afbb7115521e24aeab30c4ee54b953c0c96f735fca8d2bd9f65ab"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.prepareCopy (cyclomatic 51): agent-directory-working-copies.agentDirectoryWorkingCopyService.prepareCopy has cyclomatic complexity 51 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 12 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"03513c9a4006c21590de97ee88f64861b05cbff04fb7a1132ec50ab1b0ef7cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.loadGateFacts (cyclomatic 51): postgres.createPostgresRunDispatchAdapter.loadGateFacts has cyclomatic complexity 51 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2abb7996513edf1a28458d4865e098b3fb6ca2d803bc69e97c2c1c34b76582"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-execution-stop.agentExecutionsHaveStopped (cyclomatic 51): agent-execution-stop.agentExecutionsHaveStopped has cyclomatic complexity 51 (threshold 15). Of this number, 47 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":"server/src/services/agent-execution-stop.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d13d4c4be6423693dfc0c9ddc275a0bc7dcdb1dd85f144d2915954bcffacd0"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-readiness.testNativeRunnerAuthentication (cyclomatic 51): setup-readiness.testNativeRunnerAuthentication has cyclomatic complexity 51 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab424c1380acd73aa07cb96b227e77a5bba2d32d4b35022ee05a4fce20303a1"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-eval-campaign.aggregateProtocolEvalCampaign (cyclomatic 51): runner-protocol-eval-campaign.aggregateProtocolEvalCampaign has cyclomatic complexity 51 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f5685171d66560525898fa3d076ae55c24d704f64f4c0786b4b2513c4de825"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-session.runEvalSessionCli (cyclomatic 51): eval-session.runEvalSessionCli has cyclomatic complexity 51 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e261ae89ed24cfc33373d0d58736426e62a6d07bd45899c013ca3cea0ec7defa"}},{"ruleId":"D1","level":"warning","message":{"text":"native-execution.parsePaperclipNativeExecution (cyclomatic 51): native-execution.parsePaperclipNativeExecution 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/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac2c69babd0a3bafada0950a950a9ebc593455cb85671d230e61fe1ae77146"}},{"ruleId":"D1","level":"warning","message":{"text":"work-timeline.workTimelineService.getTimeline (cyclomatic 51): work-timeline.workTimelineService.getTimeline has cyclomatic complexity 51 (threshold 15). Of this number, 48 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":"server/src/services/work-timeline.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e855071826969555f7fa01e8ab775488aa5477a355bfce384a1c5defae24da6"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceRoutes::handleExecutionWorkspaceRuntimeCommand (cyclomatic 51): execution-workspaces.executionWorkspaceRoutes::handleExecutionWorkspaceRuntimeCommand 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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c438e8555feec59875dc3e303e97e218b7effaaa7c18554f691a66031b3ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChats.AgentChatsContent (cyclomatic 51): AgentChats.AgentChatsContent has cyclomatic complexity 51 (threshold 15). Of this number, 40 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":"ui/src/pages/AgentChats.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f1c2ce60b172467f1461fdbba5f20f12816dcce5f0ebbb90da1f7ce5302dcd"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.phaseSummary (cyclomatic 51): transcript-adapter.phaseSummary has cyclomatic complexity 51 (threshold 15). Of this number, 44 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07aa78c83d4c1336c84ab37dd7d9a3f24f28cb2da435934fa587b2533128a67"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatComposer (cyclomatic 51): IssueChatThread.IssueChatComposer 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. This shape REPEATS in the file: one other method here (IssueChatThread.IssueChatComposer::submitComment) 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"242a79e2d7d2e479105a1d01ef01d59933fa848d07c0d17ac4dd1c16a2b51659"}},{"ruleId":"D1","level":"warning","message":{"text":"FileViewerSheet.FileContentViewer (cyclomatic 51): FileViewerSheet.FileContentViewer has cyclomatic complexity 51 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 19 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e8660a864c2aef9889bd79263cdc3643dfca442df7d15ac368cc3c9298038d"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityFeed.ActivityFeed (cyclomatic 51): ActivityFeed.ActivityFeed has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 8 of the 51 points are its own statements and the rest belongs to 15 function items inside it that branch (renderItem, a function literal at line 450, a function literal at line 419, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ActivityFeed.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edf158126eced9a061ac16809802672b7d72b7c7913b3c091467f7c51bbb6be"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-access-state.resolveWorkspaceAccessState (cyclomatic 51): workspace-access-state.resolveWorkspaceAccessState has cyclomatic complexity 51 (threshold 15). Of this number, 47 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":"ui/src/lib/workspace-access-state.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec32aa902a5da5f776f20d03abc16c73ba94192ea68a26ab764279c8d388436a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSetup.AgentRoutingFields (cyclomatic 51): AgentSetup.AgentRoutingFields has cyclomatic complexity 51 (threshold 15). Of this number, 48 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":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc09f5c2e0fea33c51103e4acb7f92e1a4058b0c1798269ccb9fec2e89950a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexCommandExecutor::restore_provider_if_needed (cyclomatic 51): CodexCommandExecutor::restore_provider_if_needed 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"357b96e52aa532d525b1fdc9264b189e16213ac511193411c2c37f2a55e88f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexHarnessSession.startTurn (cyclomatic 50): CodexHarnessSession.startTurn has cyclomatic complexity 50 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e049c4496ff823f13ca95f53e59a66333443c289b5b8108e5271725e15faf001"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSdkEndpointRuntime.constructor (cyclomatic 50): ChatSdkEndpointRuntime.constructor has cyclomatic complexity 50 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 18 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b96dddf39b15ab191552e0688d291b164522567f1346d44d2c71e80e0161b0c"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createAuthorizationService.decideLowTrustAccess (cyclomatic 50): authorization.createAuthorizationService.decideLowTrustAccess 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":"server/src/services/authorization.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e152cadf65f498ccceaff09546de63019e7e26b03a8c78759ab8d65b48e33d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.leaseEvents (cyclomatic 50): paperclip-cloud-connector.createPaperclipCloudConnector.leaseEvents 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c42485f4eeaaf652a818d00225223528ad99830997e0909ac1ecf0dafa4554c"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.authorizeGuestTask (cyclomatic 50): voice-session-store.voiceSessionStore.authorizeGuestTask 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40f29a6e0e7c3b2938e15a6212da7501858340bb4529dd2a3e76802db9b3343"}},{"ruleId":"D1","level":"warning","message":{"text":"task-repository-acquisition.assertSelectedWorkspaceTrust (cyclomatic 50): task-repository-acquisition.assertSelectedWorkspaceTrust 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":"server/src/services/task-repository-acquisition.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b124105a9b61a3560c3d5deb44e02c53183b6f378d064b4103305f8bd25d76"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.sweepStaleIssueLocks (cyclomatic 50): service.recoveryService.sweepStaleIssueLocks has cyclomatic complexity 50 (threshold 15). Of this number, 38 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6673}}}],"partialFingerprints":{"codehealthFindingId/v1":"adefbc2559e2fac8d17d78d353b0aba1a56181b72a7e037a3335d41379e2b32a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-command-registration.reconcileDiscordCommandRegistration (cyclomatic 50): chat-discord-command-registration.reconcileDiscordCommandRegistration has cyclomatic complexity 50 (threshold 15). Of this number, 46 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad0feaa28203835da8eb2c6f4575eb2109e4568a454222f9c58f2f024421671"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.teamsFileCurrentScope (cyclomatic 50): file-transfer-authority.createTeamsFileAuthority.teamsFileCurrentScope has cyclomatic complexity 50 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"70118e667514b3a3f003767fc8de288c29f39634ae6184e0506d370161ec51d5"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-queue.createChatConversationDeliveryQueue.messageFromDelivery (cyclomatic 50): conversation-queue.createChatConversationDeliveryQueue.messageFromDelivery has cyclomatic complexity 50 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 28 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d545052b1c1aaa331fb6328827fd4fe5265d9b41d4009fe51acf53fd9295fb"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-enrollment.createSlackCloudEnrollment.\u003Creturned closure\u003E (cyclomatic 50): cloud-enrollment.createSlackCloudEnrollment.\u003Creturned closure\u003E has cyclomatic complexity 50 (threshold 15). Of this number, 41 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0901a6a1bd5babc171e28cb6b96506f9b21b62e1b846a7f40762fba81676aacb"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.firePublicTrigger (cyclomatic 50): routines.routineService.firePublicTrigger has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 12 of the 50 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 3005, 3018). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda0b930c968ee58c8f9471d4c5522202d78a7256426edb90085ed87445c095f"}},{"ruleId":"D1","level":"warning","message":{"text":"qualify-copilot-acp.runProbe (cyclomatic 50): qualify-copilot-acp.runProbe has cyclomatic complexity 50 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 32 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fae2781bf92eac4e213313c819c3ee9c64f50de17d976b3afdaef9a7483ec0d"}},{"ruleId":"D1","level":"warning","message":{"text":"qualify-cursor-denial.runDenial (cyclomatic 50): qualify-cursor-denial.runDenial has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 15 of the 50 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 151, groupAlive, killGroup, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/qualify-cursor-denial.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa263144af7edc6a9f1cde636d3ae4ab01e75a9b03b8f0de4adbc4fd3a9e04b"}},{"ruleId":"D1","level":"warning","message":{"text":"status-cards.statusCardService.refreshCurrentCard (cyclomatic 50): status-cards.statusCardService.refreshCurrentCard has cyclomatic complexity 50 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed027c52e6948ac94c7a6daae6c97ae16f24270a03d22d1197639c5ed2995b49"}},{"ruleId":"D1","level":"warning","message":{"text":"file-resources.fileResourceRoutes (cyclomatic 50): file-resources.fileResourceRoutes has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 1 of the 50 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 549, a function literal at line 794, a function literal at line 681, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3df8d554a75bd0b1182e28d68406fc72b6be2d9d4dd9e7ea7677e1fa62123d2"}},{"ruleId":"D1","level":"warning","message":{"text":"GrokBotSetup.GrokBotSetup (cyclomatic 50): GrokBotSetup.GrokBotSetup has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 11 of the 50 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 47, next, a function literal at line 26, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/GrokBotSetup.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb2d2f36938ba1db0b90695f66c2747d2a37f53c973912c46477a9d4caf752d"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-taxonomy.actionCopy (cyclomatic 50): tool-taxonomy.actionCopy has cyclomatic complexity 50 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eff284010c7b9b1e50489d6b4077696f657363d44fdd07453c9a1eb3171ebf"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueDetail.IssueDetailActivityTab (cyclomatic 50): IssueDetail.IssueDetailActivityTab has cyclomatic complexity 50 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 18 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"700b0a6b0187927d51eb014bac97147f88577a4d0672d0f99988f70275d69f7c"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyEnvironments.EnvironmentCustomImageBrowserTerminal (cyclomatic 50): CompanyEnvironments.EnvironmentCustomImageBrowserTerminal has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 5 of the 50 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 703, 533, 584, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fd10a26249e4443868e26eda21ba2b2726e345ab2a51a5285a1d275030e2fe"}},{"ruleId":"D1","level":"warning","message":{"text":"MachineSignInSetup.MachineSignInSetup (cyclomatic 50): MachineSignInSetup.MachineSignInSetup has cyclomatic complexity 50 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 27 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":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"870858c581c0bd4e4b59bcb2c60f94397ba6faf079a20402e719d2348381e341"}},{"ruleId":"D1","level":"warning","message":{"text":"useRecentTasks.useRecentTasks (cyclomatic 50): useRecentTasks.useRecentTasks has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 8 of the 50 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 141, 120, 154, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useRecentTasks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3ee69d59dcb4eb9a8fa22eb969bc71dc454afa7784cb60f810cb892076eaf8"}},{"ruleId":"D1","level":"warning","message":{"text":"env.collectDeploymentEnvRows (cyclomatic 49): env.collectDeploymentEnvRows 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":"cli/src/commands/env.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f465ced78d5abfc118551786e8a0067b84e7f9ef830d6c7991ef6d87128ac5ad"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.createPiJsonlParser.\u003Creturned closure\u003E (cyclomatic 49): parse.createPiJsonlParser.\u003Creturned closure\u003E 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/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"96de54bcb127a5f75ef3480f5eda104a4c7c16b3c1e47e5759c793dc27146e95"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#startTurnWork (cyclomatic 49): DurablePrpCodexTransport.#startTurnWork has cyclomatic complexity 49 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 16 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7868}}}],"partialFingerprints":{"codehealthFindingId/v1":"709ce182d7fb23674b1cf6e862ddc389e82e5e4b3308d985060b076219a760a4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-distribution-integrity.createNativeAcpxDistributionSnapshot (cyclomatic 49): native-distribution-integrity.createNativeAcpxDistributionSnapshot has cyclomatic complexity 49 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 16 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23f43f42244664f48456b7d6bfed80442335300ef4a2c823a3981362bbfa09c"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.reserve (cyclomatic 49): voice-session-store.voiceSessionStore.reserve has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 1 of the 49 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 166, 174). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5b70d4d3469985a490e858991a6ffc1a328121d6d8812d1db7403f7791aeaa"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.cleanupExecutionWorkspaceArtifacts (cyclomatic 49): workspace-runtime.cleanupExecutionWorkspaceArtifacts has cyclomatic complexity 49 (threshold 15). Of this number, 48 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7922a830198adec1ff3380728ebe879385372e418b1b45e6161928297fd4dcc"}},{"ruleId":"D1","level":"warning","message":{"text":"acknowledgement-work.registerGitHubAcknowledgementWork (cyclomatic 49): acknowledgement-work.registerGitHubAcknowledgementWork has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 1 of the 49 points is its own statement and the rest belongs to 7 function items inside it that branch (entry, a function literal at line 86, page, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7324899d893afa0cbabd03e76955c8c20120c8f4967c2062f087f8568102a286"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.callRemoteConnectionProtocol (cyclomatic 49): tool-gateway.createToolGatewayService.callRemoteConnectionProtocol has cyclomatic complexity 49 (threshold 15). Of this number, 41 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5853}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b73f4af545322d58f8064c04035c76943aeea679e412f75a9201c29d3cee9b"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.setup (cyclomatic 49): email-channels.emailChannelService.setup has cyclomatic complexity 49 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 27 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":"server/src/services/email-channels.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"204626fde9647a7f0a83e4133a6c192ae25b99d73e684c53f24bc3762304df5b"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.processDelivery (cyclomatic 49): email-channels.emailChannelService.processDelivery has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 10 of the 49 points are its own statements and the rest belongs to one function literal inside it that branches (line 1235). 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":"server/src/services/email-channels.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d9b0a4e5aa74771c6997ad513fe06216ef9c9881e618492b0bdb7278008e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-policy.createGitHubPublicationPolicy.githubCurrentOmissionPreparedText (cyclomatic 49): publication-policy.createGitHubPublicationPolicy.githubCurrentOmissionPreparedText has cyclomatic complexity 49 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2ddaf979353dd682e3074e932c3e98c01245bf5f6eb3fabaedb5ed458b8a9"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-connection-probe.probeKimiExecutionTarget (cyclomatic 49): kimi-connection-probe.probeKimiExecutionTarget 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":"server/src/services/kimi-connection-probe.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"420b84a1c476edd3553ffd5771bb7e04ed1731fbb348e1cd2ac5e8f2abcab96d"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-authority.restoreCaseHandoffActor (cyclomatic 49): case-handoff-authority.restoreCaseHandoffActor 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":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317e858f7dc42c60bf0c5071935a32657ce86db0a09b4bd50817ef7447384af"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.nativeSessionFailureSourceCode (cyclomatic 49): native-session-executor.nativeSessionFailureSourceCode has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9051}}}],"partialFingerprints":{"codehealthFindingId/v1":"267c021ef7b7bdd257d1f949e39d32678c6a032819f50d0b993de558bce773bc"}},{"ruleId":"D1","level":"warning","message":{"text":"events.createPublicMcpEvents.enqueue (cyclomatic 49): events.createPublicMcpEvents.enqueue has cyclomatic complexity 49 (threshold 15). Of this number, 44 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"620ef47f836c0c01cd30391ba94e3605febffe90068a5697bdcd8693e4db0576"}},{"ruleId":"D1","level":"warning","message":{"text":"status-cards.statusCardRoutes (cyclomatic 49): status-cards.statusCardRoutes has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 1 of the 49 points is its own statement and the rest belongs to 18 function items inside it that branch (a function literal at line 204, enqueueRefresh, enqueueCompile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/status-cards.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"821eec13b05a75a5bce047edcb62f84e513f44533fff8ea59b634c15ee908d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-tree.inspectOnlineOrdinarySource (cyclomatic 49): remote-workspace-migration-tree.inspectOnlineOrdinarySource has cyclomatic complexity 49 (threshold 15). Of this number, 48 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd536d1740a0cd52c9749066d19b13612477452fdde3a8b7c8c77049303979d6"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestCheckboxConfirmationCard (cyclomatic 49): IssueThreadInteractionCard.RequestCheckboxConfirmationCard has cyclomatic complexity 49 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 14 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3429}}}],"partialFingerprints":{"codehealthFindingId/v1":"db60dc10cfd3d6c2ea456cb9d485bb0210e2c059f8fc2cbb5fb9534841c81bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginSettings.PluginSettings (cyclomatic 49): PluginSettings.PluginSettings has cyclomatic complexity 49 (threshold 15). Of this number, 41 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1554de454e35ea1b765ab57c887ac4b523fbd31ba4a920648fd89de07a68df"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatCompactInteractionCard.ConfirmationCard (cyclomatic 49): TaskChatCompactInteractionCard.ConfirmationCard has cyclomatic complexity 49 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 17 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b674634a8308b8203dc5157f6042fac51d7a72141c44e0933de49470c3a26f"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.normalizePaperclipWakePayload (cyclomatic 48): server-utils.normalizePaperclipWakePayload has cyclomatic complexity 48 (threshold 15). Of this number, 43 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"027426047871bce0f3afc4c74a9102e6d6267591bb2a7d6f6074ad35e210a01d"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute (cyclomatic 48): execute.execute has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3c200c863753e7b1bd080d363348108747980f859cffe700f7fd64fea3ea1e"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-events.normalizeCopilotSessionEvent (cyclomatic 48): copilot-events.normalizeCopilotSessionEvent has cyclomatic complexity 48 (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/paperclip-runner/src/drivers/acpx/copilot-events.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a80797d9f77b23ec67057bdf0ad0643142a85efa84ab53f5550c3c0fcaa3cae"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-runner.runCodexCodexTracer (cyclomatic 48): codex-runner.runCodexCodexTracer has cyclomatic complexity 48 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c58e05dd751ad7538b3fa692977b480af506f6b1335a39be2826eb0c123aa6"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-provider-launch.validatePreparedRunnerLaunch (cyclomatic 48): runner-provider-launch.validatePreparedRunnerLaunch has cyclomatic complexity 48 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0160d0efe0c44226daf040d54c437d0559b4a89df4b504e0f2f26346b3b9e9"}},{"ruleId":"D1","level":"warning","message":{"text":"hosted.prepareHostedManifest (cyclomatic 48): hosted.prepareHostedManifest has cyclomatic complexity 48 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 20 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/paperclip-runner/scripts/controlled-evals/hosted.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"08183b15c11ff450aaa9f6f9d32157f9db68b581ee92547d512aaaf5f1640ed2"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-rich-intake.normalizeTelegramRichMessage::block (cyclomatic 48): chat-telegram-rich-intake.normalizeTelegramRichMessage::block 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. This shape REPEATS in the file: one other method here (chat-telegram-rich-intake.normalizeTelegramRichMessage::media) 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":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc46c68ef787bda66e76bec4fca8c27333d611443d41ed78f56f5d50100749"}},{"ruleId":"D1","level":"warning","message":{"text":"records.agentRecords.create (cyclomatic 48): records.agentRecords.create has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 2 of the 48 points are its own statements and the rest belongs to one function literal inside it that branches (line 17). 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":"server/src/modules/agent-lifecycle/adapters/records.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a03c4caa649618328c18149106c9b5c0a0785a9d3be5205b6a7d1e67599b17"}},{"ruleId":"D1","level":"warning","message":{"text":"native-review-participant.validateNativeReviewAssignmentFacts (cyclomatic 48): native-review-participant.validateNativeReviewAssignmentFacts has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c5071385aa1325cabb09e671d3e8185d4144e446186d23beac40b4d34d277b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-deliverable-feedback.hasCurrentPublicationReceipt (cyclomatic 48): native-deliverable-feedback.hasCurrentPublicationReceipt has cyclomatic complexity 48 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945cc66913a8e7d26edf3c72800ac4c97b7b41e5a8ebe0f2ad95be891f625cd"}},{"ruleId":"D1","level":"warning","message":{"text":"sentry.captureRunFailureEvent (cyclomatic 48): sentry.captureRunFailureEvent has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b138fe6544d52706e5da9bc772f66a904118ae8b6f86965b5897c54caddb66f"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.dispatchResolvedInteractionIfCurrent (cyclomatic 48): postgres.createPostgresRunDispatchAdapter.dispatchResolvedInteractionIfCurrent has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 2 of the 48 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 1550, dispatchLockedRun, a function literal at line 1480). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6f293a2b9c218c93e26b1a1fad3568c30c51627b0e7e1b29f982cd432d2e99"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-source.resolveRemoteWorkspaceSource (cyclomatic 48): remote-workspace-source.resolveRemoteWorkspaceSource 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. This shape REPEATS in the file: one other method here (remote-workspace-source.resolveRemoteWorkspaceSource::withReferences) 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6597490479870fa39ff962557a8f8edf99c5c2eec1c6ea14fe039d122cad1858"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createChatPublicationAuthorization.claimPublicationTransportAuthorization (cyclomatic 48): authorization.createChatPublicationAuthorization.claimPublicationTransportAuthorization has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to one function literal inside it that branches (line 69). 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":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2bc5942e3221067958dd512114b6fd0e6c6a07d247e75a9fc30b7d05a839dc"}},{"ruleId":"D1","level":"warning","message":{"text":"wakeups.createInboundWakeups.processInboundWakeup (cyclomatic 48): wakeups.createInboundWakeups.processInboundWakeup has cyclomatic complexity 48 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 12 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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc7f1bc15e44a69d2c61c6253ed46f06363e260bf66bf948c5c326178498845"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelService.handleWebhook (cyclomatic 48): chat-channels.chatChannelService.handleWebhook has cyclomatic complexity 48 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2ea2ef4487496a64dd7d0feeb28de106c8a54653d9e881c4f11374f0ab349c"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-auth.startAntigravityBrowserLogin (cyclomatic 48): antigravity-auth.startAntigravityBrowserLogin has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 178, 157, 197, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5467db1cc7558b44eaadad51d8589145d18248e9b8fae1f624de34b7f53924c"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-adapter.runtimePort (cyclomatic 48): acpx-runtime-adapter.runtimePort has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (acpx-runtime-adapter.runtimePort::closeRuntime) 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f020f48cbc2c3150ba153a6fb3a24340c96531929f721ebfcc4e2af8e1653af"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerdExternalSession.open (cyclomatic 48): RunnerdExternalSession.open has cyclomatic complexity 48 (threshold 15). Of this number, 22 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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a095e21c43ab7b9b2310d80531784e0925f5802e40ad616acf7a60ef83a1615a"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveConsoleDemoServer.#handle (cyclomatic 48): LiveConsoleDemoServer.#handle 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":"packages/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fa45157d21dd477eb0cd3367655e6e1f6fd24c35dfb86359ec22941b6a5159"}},{"ruleId":"D1","level":"warning","message":{"text":"attention-retention.attentionRetentionService.eligible (cyclomatic 48): attention-retention.attentionRetentionService.eligible 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":"server/src/services/attention-retention.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"070d6bb1795ee16d804077ad4e75e2cf650b734a0df785eb6873778882eba9b5"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarNavItem.SidebarNavItem (cyclomatic 48): SidebarNavItem.SidebarNavItem has cyclomatic complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarNavItem.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca331b12044344b1b92a49ec1a9e20bac1ed37a28a766230d1d7deaf59a0ece0"}},{"ruleId":"D1","level":"warning","message":{"text":"useDurableAutosave.useDurableAutosave.execute (cyclomatic 48): useDurableAutosave.useDurableAutosave.execute has cyclomatic complexity 48 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 16 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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a25255c88b295a18e79aae901f5ad6e5353f45fa17f68c483e34e94a901608"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.providerActivityItem (cyclomatic 48): transcript-adapter.providerActivityItem has cyclomatic complexity 48 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"315599095ea5374b0a6ec8772c551ac3059b6721f8d41966c1aaa15125048b59"}},{"ruleId":"D1","level":"warning","message":{"text":"Browse.ConnectorCard (cyclomatic 48): Browse.ConnectorCard has cyclomatic complexity 48 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 27 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044005eb6b39b4eb290f0bc707128f7ae0c94b4d7033941c7fdfc38787e5ccc"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectedAggregatorApps.ConnectedAggregatorApps (cyclomatic 48): ConnectedAggregatorApps.ConnectedAggregatorApps has cyclomatic complexity 48 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 16 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":"ui/src/pages/apps/app-detail/ConnectedAggregatorApps.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"640d84f1eef104cdeaea5eaf5629e3d28eb5ff412fb233187c576c2dffd14a96"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.ImportSkillsFromProjectDialog (cyclomatic 48): ImportSkillsFromProjectDialog.ImportSkillsFromProjectDialog has cyclomatic complexity 48 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 25 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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5dd6cbf15c21dd5f407d445021f65027c46a76332940c42755162efa7fe0bc"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentSetup.Setup::buildConfig (cyclomatic 48): NewAgentSetup.Setup::buildConfig 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::preparedConfig, NewAgentSetup.Setup::saveDraft, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7f8e38c2d6668a108a1fcb891dac2898f0afcd2779f0eeff6cbb8599ee3e73"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-bridge.handleRequest (cyclomatic 47): mcp-bridge.handleRequest has cyclomatic complexity 47 (threshold 15). Of this number, 45 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f088b539e5f8577949557b3f4c9a6cf3f2f7df8ded0fccc1ae63b89842f8bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#watchRunner (cyclomatic 47): DurablePrpCodexTransport.#watchRunner 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 2 function literals inside it that branch (lines 9073, 9136). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9066}}}],"partialFingerprints":{"codehealthFindingId/v1":"655be69d2e0932b6e0cd24508a3a8639616fd0d547604ae32f50ea4438613305"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-question-forms.buildChatQuestionFormModal (cyclomatic 47): chat-question-forms.buildChatQuestionFormModal has cyclomatic complexity 47 (threshold 15). Of this number, 41 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"7788848ab12a488e88b69235cdd66d2aeb0cebc622d14c874a94ca266312391d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-attachments.resolveCanonicalAttachmentTargetOrThrow (cyclomatic 47): chat-github-attachments.resolveCanonicalAttachmentTargetOrThrow has cyclomatic complexity 47 (threshold 15). Of this number, 40 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"51511d535b14291eb7ebe1b016bc40be463a0607ff482a77da8df7f915817a72"}},{"ruleId":"D1","level":"warning","message":{"text":"form-idle-history.createSlackFormHistoryClassifier.\u003Creturned closure\u003E (cyclomatic 47): form-idle-history.createSlackFormHistoryClassifier.\u003Creturned closure\u003E has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-idle-history.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0a242aaf9232ef8446e557c3e8ce4fc7347127b2aa652c7af47571cb24efd5"}},{"ruleId":"D1","level":"warning","message":{"text":"form-delivery.createSlackFormDeliveryOwner.\u003Creturned closure\u003E (cyclomatic 47): form-delivery.createSlackFormDeliveryOwner.\u003Creturned closure\u003E has cyclomatic complexity 47 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-delivery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9206ac38d7f7949965a38bed3b4f6069392ec1fc867c47659d8fdbca2fc697c1"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.realizeExecutionWorkspace (cyclomatic 47): workspace-runtime.realizeExecutionWorkspace has cyclomatic complexity 47 (threshold 15). Of this number, 36 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca920c12dfbd93f9ac245570d7e1341ed681c689ed3f157d268f26002c93c4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.reconstructRuntimeServices (cyclomatic 47): workspace-runtime.reconstructRuntimeServices has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8765}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d7cfff891451432e2f9f68f9ee42f5c2d81ee643a7223d947cb5b87f7f2514"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-response-work.registerGitHubTerminalResponseWork (cyclomatic 47): terminal-response-work.registerGitHubTerminalResponseWork 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 7 function items inside it that branch (a function literal at line 90, page, entry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/terminal-response-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2dc57ce726312d5880b59075862e5ae29e8c11db3582fc56ae0de481d88058"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-mcp-pending.extractRemoteMcpPending (cyclomatic 47): remote-mcp-pending.extractRemoteMcpPending has cyclomatic complexity 47 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 15 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":"server/src/services/remote-mcp-pending.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c735c318ab373453c4c1540722a5689aaafc46bc5f1d284d9a717439f2193cf"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.namedGatewaySessionFromBearer (cyclomatic 47): tool-gateway.createToolGatewayService.namedGatewaySessionFromBearer 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9220}}}],"partialFingerprints":{"codehealthFindingId/v1":"695b5b3601c6eef7b31ea69d0ffe760e1ddfccf898763a0454990345ea775ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"subscriptions.subscriptionService.register (cyclomatic 47): subscriptions.subscriptionService.register has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 105, 129). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/subscriptions.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5b89e854a3540b03727bd1368190e2e3fdd205fa20187e1186988f978e2384"}},{"ruleId":"D1","level":"warning","message":{"text":"acknowledged-native-stop.acknowledgedNativeApiStopExecutionHasStopped (cyclomatic 47): acknowledged-native-stop.acknowledgedNativeApiStopExecutionHasStopped 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":"server/src/services/acknowledged-native-stop.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d6c74c32c1c7c677601b70d621779027b6761c6788f4258efaae46944d3dec"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipControlPlanePort.checkpointSession (cyclomatic 47): PaperclipControlPlanePort.checkpointSession has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 13 of the 47 points are its own statements and the rest belongs to one function literal inside it that branches (line 294). 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97f2a2b91d9a4aac68d409377b5fe20313fff1724304052f6feb27cd172bdd"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.dispatchNativeStatusWakeBatch (cyclomatic 47): queue.createHeartbeatQueue.dispatchNativeStatusWakeBatch has cyclomatic complexity 47 (threshold 15). Of this number, 40 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c014bd0d20de5c12aef9e740a9f327cfd8a7b3ff63cc80e29f98969f7129a9f"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.deriveTeamsFileTransferAuthority (cyclomatic 47): file-transfer-authority.createTeamsFileAuthority.deriveTeamsFileTransferAuthority has cyclomatic complexity 47 (threshold 15). Of this number, 44 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"667d063238724838f89cfdd5fc313ed9272e304a16ee06c464b45557763f9fa9"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-photo.supportedJpeg (cyclomatic 47): chat-telegram-photo.supportedJpeg has cyclomatic complexity 47 (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":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de29b9434d0b7d2a47b2e454b9e9464d34a29012491bb152a463a1b1d4feb4"}},{"ruleId":"D1","level":"warning","message":{"text":"checkpoint.archiveCursorCloudSessionCheckpoint (cyclomatic 47): checkpoint.archiveCursorCloudSessionCheckpoint has cyclomatic complexity 47 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8badcce715fe322017e632863514ff0b70cad4bd17caceb7eae6a9376a4871"}},{"ruleId":"D1","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleInitialize (cyclomatic 47): worker-rpc-host.startWorkerRpcHost.handleInitialize 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a228f07ddcb7c6604e7cbec4a64cbaa01728b73f25ddcf9b8c26cf609a114015"}},{"ruleId":"D1","level":"warning","message":{"text":"github-connection-events.githubConnectionEventService.drainConnectorEvents (cyclomatic 47): github-connection-events.githubConnectionEventService.drainConnectorEvents has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b23b3e66878f81a755d91e6ffc657a7a7749d8fe47f0f68600f5716a3d5f180"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBasicsDialog.AgentBasicsDialog::submit (cyclomatic 47): AgentBasicsDialog.AgentBasicsDialog::submit 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 (AgentBasicsDialog.AgentBasicsDialog) 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":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20eb00aa093f25d79d29e2acd6ad2051a3a89b0fada5f63e274369417a2e8e4"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::buildAdapterConfig (cyclomatic 47): OnboardingWizard.OnboardingWizardInner::buildAdapterConfig 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: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb5439b9a034a5c081302f60d60ea2f3d86694f72368326547a527af060a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"task-chat-activity-presentation.providerActivityPresentation (cyclomatic 47): task-chat-activity-presentation.providerActivityPresentation has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/task-chat-activity-presentation.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f93b93439ed46041aa73fbea34ce315d34133b2b39c7fd1a7bb28d52a14ccb2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderQuotaCard.ProviderQuotaCard (cyclomatic 47): ProviderQuotaCard.ProviderQuotaCard has cyclomatic complexity 47 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 14 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":"ui/src/components/ProviderQuotaCard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa935767a640d2cc6e0eda696f0b3da817b2ebf7cf02b668fd340d13c001f90"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.SkillPane (cyclomatic 47): SkillStudio.SkillPane has cyclomatic complexity 47 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 21 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0787f40ca5031b47440f2710398d66b8435495345ab2ef30745bc532570c307"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSettingsPreview.SettingsPage (cyclomatic 47): AgentSettingsPreview.SettingsPage has cyclomatic complexity 47 (threshold 15). Of this number, 40 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":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6339ac9a491af4313793843b30cd2fb4539e440be770707fe74feee617ddeb2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectAccessProposal.Proposal (cyclomatic 47): ProjectAccessProposal.Proposal has cyclomatic complexity 47 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ProjectAccessProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60ac881ba744f0c536a4a5243c64b50467c6b02c6c619cf0e09fb3aa39d96b5"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxProviderSession::poll_output (cyclomatic 47): AcpxProviderSession::poll_output has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"4408a03cde021b42f3d3f8b3dc8fd96af3a9067ba752c3b78b94b5529c859436"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-media-intake.normalizeTelegramMediaAttachments (cyclomatic 46): chat-telegram-media-intake.normalizeTelegramMediaAttachments has cyclomatic complexity 46 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"191d08e40d46e2471b7bc0b77de7efcdd24bcbf56523d683cc630347778f5ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-runtime-identity.verifyCloudControlAssertion (cyclomatic 46): cloud-runtime-identity.verifyCloudControlAssertion has cyclomatic complexity 46 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2d611cb73ffd4acecdac85555bbe950b0334d1c0a602ec3ae2c1fa543621ba"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.stageSlackFormSubmission (cyclomatic 46): form-session.stageSlackFormSubmission has cyclomatic complexity 46 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaf9fd5d9d3456191bbe6694162f967657cf8623415a66f5bfd37ed88b769c1"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-task-directory-retention.inspectTaskDirectoryFolder (cyclomatic 46): isolated-task-directory-retention.inspectTaskDirectoryFolder has cyclomatic complexity 46 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 15 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac633e90bd7698512316eb4c6b267d22de82b9fc8db708e78305ad0e39a58684"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-repository-rehome.rehomeIsolatedRepositoryWorkspace (cyclomatic 46): isolated-repository-rehome.rehomeIsolatedRepositoryWorkspace has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 5 of the 46 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 393, 479, 463). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb52138ed87efd233187b07c253761547d44a9b8a6c03da9687479b6767985d"}},{"ruleId":"D1","level":"warning","message":{"text":"projects.projectService.updateWorkspace (cyclomatic 46): projects.projectService.updateWorkspace has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1234, 1306). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c793640221dd0ecc86b133a06752ff1daab682f2fc3fb4fb12ecd2bb2c456848"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-events.githubExplicitMentionEvent (cyclomatic 46): chat-github-events.githubExplicitMentionEvent 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":"server/src/services/chat-github-events.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"015404edff55086bbc644d811cf91d7efe78e3e5721122aefb7664e5412867d3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-interaction-presentation.chatInteractionPresentation (cyclomatic 46): chat-interaction-presentation.chatInteractionPresentation has cyclomatic complexity 46 (threshold 15). Of this number, 45 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":"server/src/services/chat-interaction-presentation.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"846db048ee71af278e49f5ffe8b89c5ba1dbd32a1b4cd7a90563f9b1057d45d7"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.buildPaperclipRuntimeMcpServers (cyclomatic 46): run-preparation.buildPaperclipRuntimeMcpServers has cyclomatic complexity 46 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 24 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"743838df5ba3adde6b9a332090ded861304707b59724a958455b6a82649d0be0"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.drainRunningRunsForShutdown (cyclomatic 46): recovery.createHeartbeatRecovery.drainRunningRunsForShutdown has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 7 of the 46 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1363, 1436). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"12951cc8efec879d3ed2356e18eab517106044c9d7a901f9754d6106780fccde"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-publication-text-parts.splitNativePublicationText (cyclomatic 46): chat-publication-text-parts.splitNativePublicationText has cyclomatic complexity 46 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b8185b8c9012b1e2a1093fbc5fab021703ad639b1a16c63ff7d4595559a090"}},{"ruleId":"D1","level":"warning","message":{"text":"native-usage-delivery.createNativeUsageReceiver.capture (cyclomatic 46): native-usage-delivery.createNativeUsageReceiver.capture has cyclomatic complexity 46 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-usage-delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"979a3f23258327189d816466717d9494d904e367934f9fc96499767c8c9b9f34"}},{"ruleId":"D1","level":"warning","message":{"text":"built-in-agents.builtInAgentService.ensure (cyclomatic 46): built-in-agents.builtInAgentService.ensure 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bd546e2626472bf1f24d425da853c2196247c06022559c6f318bb84f5b1033"}},{"ruleId":"D1","level":"warning","message":{"text":"native-chat-review-presentation.reviewPresentationEvidence (cyclomatic 46): native-chat-review-presentation.reviewPresentationEvidence has cyclomatic complexity 46 (threshold 15). Of this number, 43 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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8333e43c4bd8763190539d809f820b271f236d075dd31c0062fcf6622ecff49"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfers.createPublicMcpTransfers (cyclomatic 46): file-transfers.createPublicMcpTransfers has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 162, 208, 157). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c2b3e8e27c174ff6c3f4b958a6b4828f2ec23af397dd21d29712b11337ef05"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-usage-receipt.parseCursorNativeUsageReceipt (cyclomatic 46): cursor-usage-receipt.parseCursorNativeUsageReceipt has cyclomatic complexity 46 (threshold 15). Of this number, 42 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":"packages/paperclip-runner/src/drivers/acpx/cursor-usage-receipt.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9bd123ec00ee3881ef315cb585e2ecb3ebeae93bcf7eacb7a5c7da1a41e0c9"}},{"ruleId":"D1","level":"warning","message":{"text":"HarnessNativeSession.events (cyclomatic 46): HarnessNativeSession.events 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d925335342fac3940cf3a7bfe0b10d312abe56e7d20a5a528208452a15109e40"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.createPlugin (cyclomatic 46): plugin.createPlugin has cyclomatic complexity 46 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 21 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/plugins/sandbox-providers/createos/src/plugin.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"74999efafb1cdac500b31f07a314fa69cf1729a713abdbc82305551ca259df5b"}},{"ruleId":"D1","level":"warning","message":{"text":"events.createPublicMcpEvents.subscribe (cyclomatic 46): events.createPublicMcpEvents.subscribe has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 11 of the 46 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 166, 122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c24ed6a40191bd3bea162dda64541541f89f8512d7948e411c468ecd307e55d"}},{"ruleId":"D1","level":"warning","message":{"text":"useDurableAutosave.useDurableAutosave (cyclomatic 46): useDurableAutosave.useDurableAutosave has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 11 of the 46 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 369, 201, 343, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f565b029fab29a93e3756e8ae3709df5a73df9fb9873f57f2105acada7a8c358"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatUserMessage (cyclomatic 46): IssueChatThread.IssueChatUserMessage has cyclomatic complexity 46 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4be74203405f8eded78868bbac2f8ea415a0899b46d6a633c99588065313b7"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillImportProgress.SkillImportProgress (cyclomatic 46): SkillImportProgress.SkillImportProgress has cyclomatic complexity 46 (threshold 15). Of this number, 38 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":"ui/src/pages/skills/SkillImportProgress.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6883e14fc1bbb497e1babeb93a4f0c38e96cde42d6b59f8a78628bca0658004"}},{"ruleId":"D1","level":"warning","message":{"text":"OrgChart.production.OrgChart (cyclomatic 46): OrgChart.production.OrgChart has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 11 of the 46 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 372, 257, 344, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f782ab26d53bf08cd92172bbd4fcfec649601eda96dc326679e3f5a4e33aff0d"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueArtifactCard.IssueArtifactFile (cyclomatic 46): IssueArtifactCard.IssueArtifactFile has cyclomatic complexity 46 (threshold 15). Of this number, 45 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":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"40721e4f773191719068cbb260b2c2fdc659ac47cb40678cc9c53cd438e921d6"}},{"ruleId":"D1","level":"warning","message":{"text":"useTaskPluginPanels.useTaskPluginPanels (cyclomatic 46): useTaskPluginPanels.useTaskPluginPanels has cyclomatic complexity 46 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 17 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskPluginPanels.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b125b4ff1c2529a8e7833e134beca903c35364457396c931afb5e5bcae849309"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionsReview.AgentConnectionReview (cyclomatic 46): AiConnectionsReview.AgentConnectionReview has cyclomatic complexity 46 (threshold 15). Of this number, 38 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":"ui/storybook/prototypes/AiConnectionsReview.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"65340daa9f691aeee5bf30c4e518cf2bdfd3566394fa1c95ce5c7348e8475d94"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetup.ConnectionSetup (cyclomatic 46): ConnectionSetup.ConnectionSetup 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. This shape REPEATS in the file: one other method here (ConnectionSetup.ConnectionSetup::connect) 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c498f99875a724a2827d5e703a79ccdb9727e5566a197e0715d515a02962c9e2"}},{"ruleId":"D1","level":"warning","message":{"text":"cases-read-only-api.installReadOnlyCaseFixtures (cyclomatic 46): cases-read-only-api.installReadOnlyCaseFixtures has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 2 of the 46 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 113, 107, 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":"ui/storybook/support/cases-read-only-api.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a697fab1cea9c390004040c92fd53a6c7c89a4d8ee33e1111a74e1c04ae99e00"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseCursorStdoutLine (cyclomatic 45): parse-stdout.parseCursorStdoutLine 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c6073d0c2caacc3a23ca5be7036307c9144889ae65a801a2107c52b9c4641a"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#authResponse (cyclomatic 45): DurablePrpControlPlane.#authResponse 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fa1f675cbdc34b8106587ce2af378f8d4f06e720888b3a172cc1da01235fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityLiveSession.sendMessage (cyclomatic 45): CapabilityLiveSession.sendMessage 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"57600cc40fa5a36de6ac00974af396164bab5689598b8c73c3d90f7261bde0cb"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-interaction-policy.agentInteractionDenial (cyclomatic 45): agent-interaction-policy.agentInteractionDenial has cyclomatic complexity 45 (threshold 15). Of this number, 38 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":"server/src/services/agent-interaction-policy.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af548d0ca092d35d6fa1b03785a62ae8b552d9e4804b67f8802a184a585f8ac1"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence-classifier.classifyNativeEvidence (cyclomatic 45): evidence-classifier.classifyNativeEvidence has cyclomatic complexity 45 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 18 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8409ddf73f0a46446a38277be8ca8436ac9604cb2e50e8068deac5077ffe8c19"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.slackFormOperation (cyclomatic 45): paperclip-cloud-connector.createPaperclipCloudConnector.slackFormOperation has cyclomatic complexity 45 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ae32a74463575d98541e2046015b187bea99bb579bc117e649d7c10b4e608f"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.select (cyclomatic 45): ai-connections.aiConnectionService.select 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":"server/src/services/ai-connections.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e004684be91f5b78912e14a872b6cd9e3e1320f09e3e3e659afaf48c7281a6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-store.agentFileStore.apply (cyclomatic 45): agent-file-store.agentFileStore.apply has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 13 of the 45 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 369, 382, 367). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-store.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0abb872eea684b52d92486642fc1c81373c155ded625f0f0edbebef3396e6"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-action-review.commitToolActionReview (cyclomatic 45): tool-action-review.commitToolActionReview has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 11 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 54). 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":"server/src/services/tool-action-review.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"106b0b8e3f89abc82589e116f53265efbca51e4fd02c298871e327a79acafa11"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.processSend (cyclomatic 45): email-channels.emailChannelService.processSend has cyclomatic complexity 45 (threshold 15). Of this number, 41 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":"server/src/services/email-channels.ts"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c452d910a62f10543bcba38b030f76ec029261f142c7866f507cdc9002f86b6"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.setupOptions (cyclomatic 45): connection-intents.connectionIntentService.setupOptions has cyclomatic complexity 45 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaf577f86873a1ce5124b90d951f6b018f8de0bef39f77fdb8c4c0e7e1d5e58"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.deferUnstartedUserComment (cyclomatic 45): postgres.createPostgresRunDispatchAdapter.deferUnstartedUserComment has cyclomatic complexity 45 (threshold 15). Of this number, 40 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c531ccca49b7841e2b98c5868f314b6bc0ec2d0b452a7ca40de18e6fd6d79ec"}},{"ruleId":"D1","level":"warning","message":{"text":"native-finalization-reconciler.claimNativeSessionResumptions (cyclomatic 45): native-finalization-reconciler.claimNativeSessionResumptions has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 8 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 162). 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59801bea60529844dee5a212287a114b5c2187864315651be643d38e8b7d3a0"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.withChatControlRecoveryGate (cyclomatic 45): queue.createHeartbeatQueue.withChatControlRecoveryGate has cyclomatic complexity 45 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 27 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae447eec7e0fff61461ac5b668877ee8a14260ab1ae21ddb15580388aad714"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-inline-images.gif (cyclomatic 45): chat-teams-inline-images.gif has cyclomatic complexity 45 (threshold 15). Of this number, 41 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8fc35ca26f00a8c55dd3ce1b94e1af988058a53fc6afc882b137f36d58f852"}},{"ruleId":"D1","level":"warning","message":{"text":"access-finalization.createOAuthAccessFinalization.finalizeOAuthAccess (cyclomatic 45): access-finalization.createOAuthAccessFinalization.finalizeOAuthAccess has cyclomatic complexity 45 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8be09f42649540084f2e9e8de8aab2b237c9e31cddd3bc60ebaebdd44d59ef"}},{"ruleId":"D1","level":"warning","message":{"text":"retained-provider-pack-source.extractManifest (cyclomatic 45): retained-provider-pack-source.extractManifest has cyclomatic complexity 45 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 26 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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f1b57fc4a92f13676233f549eb1084f695da284524100a94be6a723826f479"}},{"ruleId":"D1","level":"warning","message":{"text":"asset-content-access.canActorReadAssetContent (cyclomatic 45): asset-content-access.canActorReadAssetContent has cyclomatic complexity 45 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/asset-content-access.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e9eea05ca38600da2ad9fd5652e9871d71f220e76afaf8b8df397e6af388be"}},{"ruleId":"D1","level":"warning","message":{"text":"native-restart-recovery.evaluateNativeControllerTakeover (cyclomatic 45): native-restart-recovery.evaluateNativeControllerTakeover 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceda0b78b2a7d47322baec55a24583225a33d5ed7636acdd0a7566f059eb31a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync.prepareNativeWorkspaceSync (cyclomatic 45): native-workspace-sync.prepareNativeWorkspaceSync 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eafa829f9cf4859af552a5e2437483d5bf21c336e3e588733ec0d5111d8717"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-unchanged-proof.proveRemoteWorkspaceUnchanged (cyclomatic 45): remote-workspace-unchanged-proof.proveRemoteWorkspaceUnchanged 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-unchanged-proof.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"755c697c8ed2ba978949a9487e8d49c40fda35f24013b1e67582504a9acd07ea"}},{"ruleId":"D1","level":"warning","message":{"text":"release-provider-pack.verifyReleaseProviderPack (cyclomatic 45): release-provider-pack.verifyReleaseProviderPack has cyclomatic complexity 45 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/scripts/release-provider-pack.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed79402d54b57e08f182411aedfe2d5657672fb4fef4b9ab178d6bcf2ec40c7"}},{"ruleId":"D1","level":"warning","message":{"text":"stage-release-runner-binaries.main (cyclomatic 45): stage-release-runner-binaries.main has cyclomatic complexity 45 (threshold 15). Of this number, 40 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":"packages/paperclip-runner/scripts/stage-release-runner-binaries.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b28f241a02353ebed5c10f19b4a449e62919204f963e06e3973ed75d7ac5211"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-sandbox.prepareAcpxRuntimeSandbox (cyclomatic 45): runtime-sandbox.prepareAcpxRuntimeSandbox has cyclomatic complexity 45 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b6691a578347ca6c35e47a067e5a9cd20125f6e3eaace01500c72d8e85a9e0"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-native-search.fetchTransientSlackSearch (cyclomatic 45): slack-native-search.fetchTransientSlackSearch 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":"server/src/services/connectors/slack-native-search.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4882669a4dc4e0aeae04ea43b9b6b71abdf929ad97cb603741015d58118a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-safe-replacement.remoteWorkspaceReplacementEvidence (cyclomatic 45): native-safe-replacement.remoteWorkspaceReplacementEvidence has cyclomatic complexity 45 (threshold 15). Of this number, 40 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7359e5006c7f86aedea7c313af523ec151a9983f23aae6eea68295bbb83f641"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.buildIssueThreadInteractionSummary (cyclomatic 45): issue-thread-interactions.buildIssueThreadInteractionSummary 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":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ee564c2ef7d15b5b59b2dfda254d747401e5d2dbc92881c6ab140cc4e06025"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionSelect.AiConnectionSelect (cyclomatic 45): AiConnectionSelect.AiConnectionSelect has cyclomatic complexity 45 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 12 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":"ui/src/components/ai-connections/AiConnectionSelect.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd79a57c2fd67a92f08368fa6f4e44e23ad8e1398e2f4f12f6999bea41807069"}},{"ruleId":"D1","level":"warning","message":{"text":"completed-activity-summary.completedActivitySummary (cyclomatic 45): completed-activity-summary.completedActivitySummary has cyclomatic complexity 45 (threshold 15). Of this number, 42 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":"ui/src/components/task-chat/completed-activity-summary.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cc43f202d7f0171548ea5160caa259ee92673c6fe3d22f56c0aced4239f319"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatProtocolActivityRow.TaskChatProtocolActivityRow (cyclomatic 45): TaskChatProtocolActivityRow.TaskChatProtocolActivityRow has cyclomatic complexity 45 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bb0ab3424acd1977da962871ea05016a4bbb0d70e1e6aed0f7d9dfb8e037f5"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCardTile.StatusCardTile (cyclomatic 45): StatusCardTile.StatusCardTile has cyclomatic complexity 45 (threshold 15). Of this number, 40 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":"ui/src/pages/StatusCards/StatusCardTile.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaffdccb90365546d60acd3fe1125d40fe3449cf75bd8d940fc7d39ba0f430f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileWizard.ProfileWizard (cyclomatic 45): ProfileWizard.ProfileWizard has cyclomatic complexity 45 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 25 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dab9324893c3de8a4b740c9f93ac52e3ca785a19c7b72bf22c8f3f8648c8b23"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.SkillPane (cyclomatic 45): CompanySkills.SkillPane 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd2abed355709658bf25a8ff586eb16fd41ad2e324c168ead743b44ea7eb0a2"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.SkillPane (cyclomatic 45): CompanySkills.production.SkillPane 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"33757f9c7e67c3011dc405f58285a844dff28b0f4c69d50d2efb254f3c3aaf19"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaForm.validateField (cyclomatic 45): JsonSchemaForm.validateField 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f17158f51d7ab39efee7b540fb56723ab3f3a0f30c122c7a4c44b2c9af2c29"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionPoolConnectorHost.ConnectionPoolConnectorHost (cyclomatic 45): ConnectionPoolConnectorHost.ConnectionPoolConnectorHost has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 2 of the 45 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 33, 26, 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":"ui/storybook/prototypes/ConnectionPoolConnectorHost.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8246e5d32b40158a4e34ff57dc746f987873fa0b555429e6d555478b51b1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"OriginatingTasks.TaskPageData (cyclomatic 45): OriginatingTasks.TaskPageData has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 1 of the 45 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 175, 141, 215, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/originating-tasks/OriginatingTasks.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2652027ba9c9a0efd69249e387a75693568ff9fa2603a7b31a301f61048acfc7"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::stdio_mcp::run_proxy (cyclomatic 45): paperclip_runner_core::stdio_mcp::run_proxy 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/paperclip-runner/runner/crates/runner-core/src/stdio_mcp.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4638cfe5118371a97949558c05ff033b33ab1d0e11ac02731fb1c8a2a2742a75"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.registerSkillsCommands (cyclomatic 44): skills.registerSkillsCommands 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 15 function literals inside it that branch (lines 379, 235, 405, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5876953477bc92f809124e06542a6e556bfba3af19066e0e7ccae90257e5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseClaudeStdoutLine (cyclomatic 44): parse-stdout.parseClaudeStdoutLine has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"19722cfd540f3ded2c670ae634498279903682c1a6bc09420534502e9906dba3"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveConsole.LiveConsole (cyclomatic 44): LiveConsole.LiveConsole has cyclomatic complexity 44 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 24 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfe46f8dd50857b37ccadaa81dab77fb6aaf1dc26f0ff73da64a8464ed03fca"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-session-server-requests.handleServerRequestBody (cyclomatic 44): codex-session-server-requests.handleServerRequestBody has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f56912f1b89f3b7d8db2745f6990fd543b5e45b53634b62036e4c76bb41b690"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-event.receiveSlackCloudEvent (cyclomatic 44): cloud-event.receiveSlackCloudEvent has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-event.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8711236e86f04f6f6fb002205856dfa7c6f27adbada448a67ea1b02921e40d53"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-operations.workspaceOperationService.createRecorder.recordOperation (cyclomatic 44): workspace-operations.workspaceOperationService.createRecorder.recordOperation has cyclomatic complexity 44 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 27 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-operations.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b409a0fea50290e29c451c85bc968e3ab109317b7b4c7577730618e5e5a017"}},{"ruleId":"D1","level":"warning","message":{"text":"daytona.daytonaClient.execute (cyclomatic 44): daytona.daytonaClient.execute has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/daytona.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6cba06543d30565692cde17648df96565719ab0428654347fd735198ff8001"}},{"ruleId":"D1","level":"warning","message":{"text":"form-owner.reconcileSlackFormEnrollment (cyclomatic 44): form-owner.reconcileSlackFormEnrollment has cyclomatic complexity 44 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51d8f5b87bfc0ae130d8cc190ec9bff252ddaf7381001ce6adb716c9dfaae3b"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.runTool (cyclomatic 44): voice-session-store.voiceSessionStore.runTool 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 one function literal inside it that branches (line 361). 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23dee373e125b710d645ae3832b438bc2c0fcba93d384464a4d752aaf725110"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-contents.validateGitWorkspaceContents (cyclomatic 44): git-workspace-contents.validateGitWorkspaceContents has cyclomatic complexity 44 (threshold 15). Of this number, 40 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf3664365f87d0e54eb914a8e0c15fd4dd9645b73d28d4b30f3d01ff24d8b06"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-github-access.skillSourceGitHubReader (cyclomatic 44): skill-source-github-access.skillSourceGitHubReader has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 4 of the 44 points are its own statements and the rest belongs to 7 function items inside it that branch (authorized, headers, candidates, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccc2fb073599993539c094e7b0c9e686413662c5f8b39bc6f499d59b23e4801"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-creation-operations.recoverSandboxCreations (cyclomatic 44): sandbox-creation-operations.recoverSandboxCreations has cyclomatic complexity 44 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb22e9da03421bbbd83be926c746c65d14f8c6ed5752bad35d8c1cb2e44d2848"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.assertGitSensitiveAdapterWorkspaceValid (cyclomatic 44): workspaces.assertGitSensitiveAdapterWorkspaceValid has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef02aa2e9464868a412e96ed25f39d40b92b3d7a4a611cba461cd0527fc33259"}},{"ruleId":"D1","level":"warning","message":{"text":"native-deliverable-feedback.validateNativeDeliverableEvidence (cyclomatic 44): native-deliverable-feedback.validateNativeDeliverableEvidence has cyclomatic complexity 44 (threshold 15). Of this number, 39 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdc4430741e7b65c243273cfcd21c60451f60da0ad6b731050c5058b51e66d4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.release (cyclomatic 44): agent-directory-working-copies.agentDirectoryWorkingCopyService.release has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb0e73c883f6e4a9fbe9b4a3c9d29d6da4eed76ff73e7381f8d9502997aad26"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.attestReviewedExternalChatRun (cyclomatic 44): run-preparation.attestReviewedExternalChatRun has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 9 of the 44 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2050, 2126). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e1212a1821df283fb1803f5faa735f55d1a5c6d1d5dfed26381ba9815a55c2"}},{"ruleId":"D1","level":"warning","message":{"text":"satisfied-connection-intents.findAvailableToolConnection (cyclomatic 44): satisfied-connection-intents.findAvailableToolConnection has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e33ab11ee64337ee9617587c70b1b2cf9423bde6e3b63321ebf65b7364810e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cases.runReleaseRecoveryTail (cyclomatic 44): use-cases.runReleaseRecoveryTail has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f0fce55885a2c36023eb908cf777b98441e83d4d43967fd96089320b2259c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-observed-workspace-preservation.lockSource (cyclomatic 44): native-observed-workspace-preservation.lockSource has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e296a9ab9deb673db961fbd2e7d9c4b008d85e1758b0f3f955e388a5526516"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.list (cyclomatic 44): workspace-file-resources.workspaceFileResourceService.list has cyclomatic complexity 44 (threshold 15). Of this number, 41 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"237b19b3047490e832883a7b6dfd9623b5549ce710bcc473cd6926523e2dc183"}},{"ruleId":"D1","level":"warning","message":{"text":"native-task-session-publication.publishNativeTaskSessionInTransaction (cyclomatic 44): native-task-session-publication.publishNativeTaskSessionInTransaction has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-task-session-publication.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16e1a926c25238f2ad0447d391e690f6e9ac01cd2626ee838729a620732f31b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.resumeSavedLegacyComments (cyclomatic 44): run-control.createHeartbeatRunControl.resumeSavedLegacyComments has cyclomatic complexity 44 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 17 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a42a8cbec9b502fdc21e9d216065ae13f0fc485e473e00fec0cdc04fdd37fc"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.enqueueWakeup::existingDurableReceipt (cyclomatic 44): queue.createHeartbeatQueue.enqueueWakeup::existingDurableReceipt has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a 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 (queue.createHeartbeatQueue.enqueueWakeup) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e8652da048b161468040006254883f45a8699a40a400a50ae79d085617ae6b"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-warm-session-recovery.inspectRemoteWarmSessionRecovery (cyclomatic 44): remote-warm-session-recovery.inspectRemoteWarmSessionRecovery has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e5a6df0f874693460c4225f3b7f47f70f766567a4cc857a8acca39be3ebc01"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-process-settlement.recoverLegacyProcessSettlement (cyclomatic 44): legacy-process-settlement.recoverLegacyProcessSettlement has cyclomatic complexity 44 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 12 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":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef53c3070453f2003351b44d0fd10572c3a395768c8cdd9ee44f6ce3a80e16a"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-models.decisionModelService.resolve (cyclomatic 44): decision-models.decisionModelService.resolve has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1285782055f85d21de11fb7bca91776251f0104d71ad65e7ecce6faf5226b"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-inline-images.jpeg (cyclomatic 44): chat-teams-inline-images.jpeg has cyclomatic complexity 44 (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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f0c2608e51ddb2726a54f26a813b3f0cb51eb72fabf8ae877210ceda64960a"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-queue.createChatConversationDeliveryQueue.drainConversationDeliveries (cyclomatic 44): conversation-queue.createChatConversationDeliveryQueue.drainConversationDeliveries has cyclomatic complexity 44 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 12 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2bb9599e4953bb02fb85cab0292e4d227625ff4594e87a9780201ee7425ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"endpoints.createChatEndpoints.update (cyclomatic 44): endpoints.createChatEndpoints.update has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 4 of the 44 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 399, 456). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa05fe9232aa8f3a4d379c9def5fb013083c78d7e1dd28cf94298e12d2d4f51"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelService.processMessage::persistTaskMutation (cyclomatic 44): chat-channels.chatChannelService.processMessage::persistTaskMutation 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. This shape REPEATS in the file: one other method here (chat-channels.chatChannelService.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":"server/src/services/chat-channels.ts"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33467b19f10c8ccdb6df30449f6624038014fd255625ebecda3abb80986aed1"}},{"ruleId":"D1","level":"warning","message":{"text":"direct-callback.createDirectOAuthCallback.completeOAuthCallback (cyclomatic 44): direct-callback.createDirectOAuthCallback.completeOAuthCallback has cyclomatic complexity 44 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 23 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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"916786b66d99e7c88c1810bd4641ecacd0b4c8503ff7133d9b693bc32b553842"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-file-handoff.readVerifiedWorkspaceFile (cyclomatic 44): native-runner-file-handoff.readVerifiedWorkspaceFile has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dcb21b31ae3886a08dabba16a70acd223366241102ec05ba38f9a44f95d7eb"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.update (cyclomatic 44): routines.routineService.update has cyclomatic complexity 44 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 23 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":"server/src/services/routines.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"461cc0c6c6d0d882407e78e721e42922b24bedc9ac7af3885fb8d0b8627893f1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRemoteRunnerProcessLauncher.\u003Creturned closure\u003E (cyclomatic 44): native-session-executor.createRemoteRunnerProcessLauncher.\u003Creturned closure\u003E 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 3 function literals inside it that branch (lines 15796, 15739, 15868). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15724}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed9e3f87e54d1e6beaefc1d25310dfe6a1f4def9344411a1558ff2c0d7a3694"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-console-app.RunnerConsoleApp (cyclomatic 44): runner-console-app.RunnerConsoleApp has cyclomatic complexity 44 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 20 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/react/runner-console-app.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"25481e6ae568770ccf1f47ee4043427a97195656c12191ad11f3d1f783e9d835"}},{"ruleId":"D1","level":"warning","message":{"text":"instance-settings.instanceSettingsRoutes (cyclomatic 44): instance-settings.instanceSettingsRoutes 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 15 function items inside it that branch (readTaskDrainStatus, a function literal at line 374, a function literal at line 433, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/instance-settings.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a736724c4443ac3dd605b2dabf37ca854411022376bd0c31c23f7046f04816"}},{"ruleId":"D1","level":"warning","message":{"text":"offline-workspace-operation-reconciliation.reconcileAttempt (cyclomatic 44): offline-workspace-operation-reconciliation.reconcileAttempt has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 9 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 37). 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":"server/src/services/offline-workspace-operation-reconciliation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b72bc040b397494ad3a6978fe600948e09d4afecf224c5067cf175a469e1e9"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 44): CommandPalette.CommandPalette has cyclomatic complexity 44 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 20 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":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1173b572de8c122771ab42649a91004292cf1bf9a46f1e550c3d1c3b8a2862"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.LiveUpdatesProvider (cyclomatic 44): LiveUpdatesProvider.LiveUpdatesProvider has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 7 of the 44 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 2542, 2590, 2486, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a705fd27f49cd0696f76c123c95c7a8279b4a47357c206f40b71868947ebab"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatSystemMessage (cyclomatic 44): IssueChatThread.IssueChatSystemMessage has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e472306f844df852bdd0118e4b84e89362c61115189a9aa07a60274c2eff4f8"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatThreadView.renderItem (cyclomatic 44): TaskChatThreadView.renderItem has cyclomatic complexity 44 (threshold 15). Of this number, 42 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":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1059f3cfb3e4e39d4bf697be2a42abec31bdeb4fbe509572e61142b1d7f0a4"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentToolsTab.AgentToolsTab (cyclomatic 44): AgentToolsTab.AgentToolsTab has cyclomatic complexity 44 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 27 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":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbdde5d3a3c4a8052eada552823fdeba5c48d4b46382663884c9d15be0baf98"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyEnvironments.EnvironmentImageTemplatePanel (cyclomatic 44): CompanyEnvironments.EnvironmentImageTemplatePanel has cyclomatic complexity 44 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a7a1fa75c5e3fcf137fe7d2489157a09fcaf7eb5da8d4198f6608142b8a6c"}},{"ruleId":"D1","level":"warning","message":{"text":"PasteConfigTab.PasteConfigTab (cyclomatic 44): PasteConfigTab.PasteConfigTab has cyclomatic complexity 44 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 28 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":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37da356da4b2760d384d29d1e2f20d1029902dc849a385b62b7f36c52a40815"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillSourceTree.SkillSourceTree (cyclomatic 44): SkillSourceTree.SkillSourceTree 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 10 function items inside it that branch (a function literal at line 138, toggleCheck, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/SkillSourceTree.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"793430b5a1b505d8ad2ff978b28b8b53379c95e5c4db68260556abbcfff4312b"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginManager.PluginManager (cyclomatic 44): PluginManager.PluginManager has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 15 of the 44 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 294, 394, 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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1a10ce8bec4a5e60bebbc163ee078924dbbd9d54b8648420127f5c987d71ac"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingChat.OnboardingChat (cyclomatic 44): OnboardingChat.OnboardingChat has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 15 of the 44 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 143, 226, 276, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbef02dfbe44830a47886b8cb8b946d80b81dc09ca4b5444e197ee90a55c60bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.GalleryStep (cyclomatic 44): ConnectionSetupFlow.GalleryStep has cyclomatic complexity 44 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 15 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4fdad76bf5484361296ca61375212b25d874acceb22ad092af2d9ecc78c281"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-dialogs.AddConnectionDialog (cyclomatic 44): connection-dialogs.AddConnectionDialog has cyclomatic complexity 44 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 10 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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b193fac54b9e9c4410b96cd7f151de1113304d4b81119250cfa1f19ed1432e45"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.runChildProcess (cyclomatic 43): server-utils.runChildProcess 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 12 function literals inside it that branch (lines 4876, 4931, 5052, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a976f142769ccabd3a4558710faf31aff911455d4a9a5cfa6b532c0ce4f4859a"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#prepareLaunchWork (cyclomatic 43): DurablePrpCodexTransport.#prepareLaunchWork has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6205}}}],"partialFingerprints":{"codehealthFindingId/v1":"540df1e01c0d9d0a486109fb08afb9555f35870eae6a4c1783d6eeee1e863b66"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-ephemeral.sendTelegramCallbackNotice (cyclomatic 43): chat-telegram-ephemeral.sendTelegramCallbackNotice 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":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a71de4ff659c3064ab4a8e8befc7ade330f7ac55d7df0b4a970dea9d4114ee"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-resume.rebindNativeSessionCheckpoint (cyclomatic 43): native-session-resume.rebindNativeSessionCheckpoint 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":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"1248f6947e87f8587341a720b238ea686f044c44d28e4626d0f49f89a65cddc9"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.createLifecycleWorker.process (cyclomatic 43): worker.createLifecycleWorker.process has cyclomatic complexity 43 (threshold 15). Of this number, 40 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":"server/src/modules/agent-lifecycle/application/worker.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f393b7ecc31f5779740bec8826b8adb8bbbf93249852a6d21e47a7ad374179"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::walk::visit (cyclomatic 43): remote-workspace-snapshot-archive.workspaceArchive::walk::visit 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. This shape REPEATS in the file: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ef6b6d33b66e1a5b2d23925d72969caa795a50752420e8db46e7fa2b9b1595"}},{"ruleId":"D1","level":"warning","message":{"text":"run-identity.initializeRunIdentity (cyclomatic 43): run-identity.initializeRunIdentity 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 2 function literals inside it that branch (lines 219, 260). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-identity.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df3b43d7885ccb70a14dfdb9b86cb5d143fe37010da1a03bafc76b5273b6f91"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.stageSlackFormSession (cyclomatic 43): form-session.stageSlackFormSession 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc718a414b38d14864e989885da07d4de6c7a98d6e7c1f094014a46bf326fd6"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.validWebBinding (cyclomatic 43): native-harness-filesystem-independence.validWebBinding has cyclomatic complexity 43 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 16 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"433e9b20e5a0ffa027e2187595425dda31f092eef33010faeb384e29d08cbcc4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.ensureGitWorktreeBranchCoherent (cyclomatic 43): workspace-runtime.ensureGitWorktreeBranchCoherent 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0cb31d085650be4d165c9d5cbf0138d93c38ea4689c136a83608d7dc087a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-use.browserUseService.account (cyclomatic 43): browser-use.browserUseService.account has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 9 of the 43 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1103, 1136). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb4115e7a2cea839dad71f30285e9fdb61c49ca0475475ab5da138669af2d0"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeApprovedAgentInvocation (cyclomatic 43): tool-gateway.createToolGatewayService.executeApprovedAgentInvocation has cyclomatic complexity 43 (threshold 15). Of this number, 30 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10228}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cd23617d0dffcac1f0f158edd2420d1f5d2332382b738bd51d9f2fb9fdcf01"}},{"ruleId":"D1","level":"warning","message":{"text":"native-deliverable-feedback.explicitlyRequestsFileOutputBySentence (cyclomatic 43): native-deliverable-feedback.explicitlyRequestsFileOutputBySentence 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 5 function literals inside it that branch (lines 168, 190, 227, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acdd9c7e6d2952bd301cbcf3252afb7706b95211394d65b6e83f9803bc74654"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-fallback.inspectFallback (cyclomatic 43): workspace-recovery-fallback.inspectFallback has cyclomatic complexity 43 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10af7eb3176019e48658f6a310ecd1264fb0d38a99d57a5fc4e63709408d29d"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.resumeDeferredExecutionReceipts (cyclomatic 43): queue.createHeartbeatQueue.resumeDeferredExecutionReceipts has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcb94c257939b568502c0c5d66dbba8b07580a935ce1d47cf88160c2313a500"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-models.decisionModelService.decide (cyclomatic 43): decision-models.decisionModelService.decide has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 13 of the 43 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 236, 271). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3946c62ee39a6fc0700872528fcbc60acec93a2c122577263081693bea4abf8"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.lifecycle (cyclomatic 43): voice-inbound-service.voiceInboundService.lifecycle has cyclomatic complexity 43 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 17 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"152c8ab85513a8097a32af438df032f0305a6e50cc5e5d12cd732b8052355bff"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createChatPublicationQueue.processPendingPublications (cyclomatic 43): queue.createChatPublicationQueue.processPendingPublications has cyclomatic complexity 43 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 8 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":"server/src/services/chat-channels/publications/queue.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"257f6c18b2105843692fe18c19c3ab41164ca7f2a9510d946f3b6ee47471b093"}},{"ruleId":"D1","level":"warning","message":{"text":"task-start-resolution.createSlackTaskStartResolution.resolveSlackTaskStart (cyclomatic 43): task-start-resolution.createSlackTaskStartResolution.resolveSlackTaskStart has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 5 of the 43 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 133, 278, 37). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb53d7771a812a71eb3ce0c51d358010b23d02f745dfce25867aa94935b256c"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.createConnectionIntent (cyclomatic 43): issue-thread-interactions.issueThreadInteractionService.createConnectionIntent has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 11 of the 43 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 3022, sameSavedSetup, a function literal at line 3050, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"df71b774b74067fc7e63723879df8e1303616960f4fc3d98a92c02858e1616ab"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.environmentService.ensureManagedSandboxEnvironment (cyclomatic 43): environments.environmentService.ensureManagedSandboxEnvironment has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 7 of the 43 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 429, 468, 631). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132e420580b4e615ccfbf0a5286ca3771eae5f6f9be63f7448b2f0a23c77dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.reserveRemoteWorkspace (cyclomatic 43): remote-workspaces.reserveRemoteWorkspace 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 2 function literals inside it that branch (lines 207, 296). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d486d8e1090b6d5c9f2e0e71a9ecac4dc92c0a3dc3b1eba82b2229168d0569"}},{"ruleId":"D1","level":"warning","message":{"text":"stdio-mcp.stdioMcpLaunchBindings (cyclomatic 43): stdio-mcp.stdioMcpLaunchBindings has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 6 of the 43 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 25, 39, 36). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/stdio-mcp.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d5f5f1ab6e71e257a23383713d9938497738ad18df8946ec2b37b51233933e"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-observability-runtime.prepareEvalObservabilityRuntime (cyclomatic 43): eval-observability-runtime.prepareEvalObservabilityRuntime 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/paperclip-runner/src/cli/eval-observability-runtime.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc40c7c002be2516734d7487a3e41bfd54b296911692ffcf2272f0015d1ca1a6"}},{"ruleId":"D1","level":"warning","message":{"text":"public-view.publicProviderPayload (cyclomatic 43): public-view.publicProviderPayload has cyclomatic complexity 43 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 16 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/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61a57933ae3d59b8085e4db88756ef3d07b397923fb8b64e00e8613136bdf25"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.queueResolvedInteractionContinuationWakeup (cyclomatic 43): issues.queueResolvedInteractionContinuationWakeup has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d1bd502f9ccfca2e98dc0dd8a884665ec00da13ac2c2a33d4902d901df3e23"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-lifecycle-delivery.registerPluginLifecycleDelivery (cyclomatic 43): plugin-lifecycle-delivery.registerPluginLifecycleDelivery 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":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f86107d1c39fe109c0036ffc9977b55267f701d325e56fa766a2250ce31db3d"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-git.verifiedOriginalLocalSource (cyclomatic 43): remote-workspace-migration-git.verifiedOriginalLocalSource has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"164cda65c32dbb6aa56758a49437c87f5af971d528cf3bd67b571a35537849e6"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-connection-health-work.registerToolConnectionHealthWork (cyclomatic 43): tool-connection-health-work.registerToolConnectionHealthWork has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 46, next, matches, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-connection-health-work.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb278ce798ecf73c4c2c522451d1de2cad019ef3e26ecddfc86e0c8e78c7c33"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSetupPrompt.AgentSetupPrompt (cyclomatic 43): AgentSetupPrompt.AgentSetupPrompt has cyclomatic complexity 43 (threshold 15). Of this number, 19 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":"ui/src/components/AgentSetupPrompt.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb66e2132d0731a96f8f797c638a0e1133c1d8cb8f9b5bddafd99f75f8c4c00"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedCard.formatVerb (cyclomatic 43): FeedCard.formatVerb has cyclomatic complexity 43 (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":"ui/src/components/FeedCard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2b10b9b16fca1dfe14053a2ebf398f173d6a561e13be389cbc7a48cb319832"}},{"ruleId":"D1","level":"warning","message":{"text":"AppNotConnected.AppNotConnected (cyclomatic 43): AppNotConnected.AppNotConnected has cyclomatic complexity 43 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppNotConnected.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713a6cc2b049a975142ad504810c515964fa5910dc37d8959016b8d1336143b"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.ConnectionSetupFlow (cyclomatic 43): ConnectionSetupFlow.ConnectionSetupFlow has cyclomatic complexity 43 (threshold 15). Of this number, 40 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deccb3a672383758468ae1f09d4efe3bda5ff6e1bc3b7d61e9d18ced7c65c84"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::durable::state::validate_binding (cyclomatic 43): paperclip_runner_core::durable::state::validate_binding 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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"900f8c026f1ef82e5b2367c1977b57f65bed6104fddd1ecb8f10193e663ac3a9"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetPaperclipBridge (cyclomatic 42): execution-target.startAdapterExecutionTargetPaperclipBridge has cyclomatic complexity 42 (threshold 15). Of this number, 37 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de3c8111031d089e08a48554ff2bbd83b1f308fa00b7e1f89cea4383d007ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-provider-config.piProviderConfiguration (cyclomatic 42): pi-provider-config.piProviderConfiguration has cyclomatic complexity 42 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 18 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/paperclip-runner/src/drivers/acpx/pi-provider-config.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"052a7a9411ac4b20f37c75a469d7691cdc90dea5b6b9cb047bf8a55630b3ad74"}},{"ruleId":"D1","level":"warning","message":{"text":"company-observability.createOpenCodeCompanyObservability.observe (cyclomatic 42): company-observability.createOpenCodeCompanyObservability.observe 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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2587cedee01ebb7ca3507e88d1e7b58a970a09981d278eb25efce4702f3a24f2"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-inner-distribution.readCopilotInnerTar (cyclomatic 42): copilot-inner-distribution.readCopilotInnerTar has cyclomatic complexity 42 (threshold 15). Of this number, 33 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/paperclip-runner/scripts/copilot-inner-distribution.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde6e8d78d872ee2d1a0691778c59e59bfb988baf5c8d49d64db34f1c0bbdb2a"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-credentials.readConnectionGrantCredentialStates (cyclomatic 42): connection-credentials.readConnectionGrantCredentialStates 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":"server/src/services/connection-credentials.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"762a5808cb1f5e0879423844a48f7b097e6523ea398e5ce2812f2acca2473166"}},{"ruleId":"D1","level":"warning","message":{"text":"interactions.publishPhotonPrompt (cyclomatic 42): interactions.publishPhotonPrompt has cyclomatic complexity 42 (threshold 15). Of this number, 36 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"280105fafba910701b3bdf8b3048df98b843bc03194d37a69dff72e5ed169f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"git-restore-point-storage.validateGitRestorePointRef (cyclomatic 42): git-restore-point-storage.validateGitRestorePointRef 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":"server/src/services/git-restore-point-storage.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d80da243e1f5639e524d761ad270e6565196b0144a4d2b66783863150c65ed"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.evaluatePolicyConditions (cyclomatic 42): tool-access-policy.evaluatePolicyConditions 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"1972e9efc3229e5cbe832da0039dd654030436c9b481925f43da61f24a7dd610"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-workspace-continuation.reusableDirectoryAfterPreparationFailure (cyclomatic 42): fresh-workspace-continuation.reusableDirectoryAfterPreparationFailure has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a1a77f605f14607b2621b5e5ed449b80b08db3e7ff8391899a25e80dcf2f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-interaction-publications.terminalNativeInteractionCopy (cyclomatic 42): chat-interaction-publications.terminalNativeInteractionCopy has cyclomatic complexity 42 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d0d4080909e9c9082644cf3e70c617615f3d5cd8693d592d067e8abf0c4c64"}},{"ruleId":"D1","level":"warning","message":{"text":"fast-response-provider.runFastResponseProvider (cyclomatic 42): fast-response-provider.runFastResponseProvider 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":"server/src/services/fast-response-provider.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7131e5a3f7e8a8cba1cff10dada6feab331576097eb34e67f7cbc8c821dccf9"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cases.runReleaseDrain (cyclomatic 42): use-cases.runReleaseDrain 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0496746a1f66764956d9b91310da9a0a08ca9631eed0782a5f410de9ae62f15c"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-enrollment.stageSlackCloudEnrollmentIntent (cyclomatic 42): cloud-enrollment.stageSlackCloudEnrollmentIntent has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef9a2f68e764e8a5ade8f649c134801e368cf913f305e18cde82271e2a9561b"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.listIssueReviewAttentionMap (cyclomatic 42): issues.listIssueReviewAttentionMap has cyclomatic complexity 42 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 21 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":"server/src/services/issues.ts"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2536ee20a5c08e29674e2b1fa3d46c5f51f27ccd83d1e6024e180519a9f14d"}},{"ruleId":"D1","level":"warning","message":{"text":"app-definition.connectionMethodDefSchema (cyclomatic 42): app-definition.connectionMethodDefSchema has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/app-definition.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5907115fef116809975fa8cd75433185abb0769c536565fe5e436e2f34ed820b"}},{"ruleId":"D1","level":"warning","message":{"text":"public-eval-viewer.validatePublicChatPayload (cyclomatic 42): public-eval-viewer.validatePublicChatPayload has cyclomatic complexity 42 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 14 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"532c799e3ec7a459c4e0328a2a4a91a2275540a6b8de6743945506cdac23e693"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-native-backend.createTransportBackedNativeSessionBackend (cyclomatic 42): codex-native-backend.createTransportBackedNativeSessionBackend has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/codex-native-backend.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f776cf11b0f4e6ee86b5e78b301e115f778566971a3375b1e276f314d7ec48"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-client-mirror.readIdleMcpClientMirror (cyclomatic 42): idle-client-mirror.readIdleMcpClientMirror has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/idle-client-mirror.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d165c66ddafa5653053afc20b9c4d98c571e126f3a78f62ce5cf61a505921b"}},{"ruleId":"D1","level":"warning","message":{"text":"quota-windows.fetchCompanyQuotaWindows (cyclomatic 42): quota-windows.fetchCompanyQuotaWindows 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 8 function items inside it that branch (a function literal at line 57, a function literal at line 43, readAccount, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/quota-windows.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1db617434a02293e8db0e1b1558559f6251a82a134700e09b83b79a5078a331"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes::validateManagedAgentBinding (cyclomatic 42): agents.agentRoutes::validateManagedAgentBinding has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 6 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a42c31ad4a90ecec47731441759c8b8651981fec9457bec4a96eeb081c382"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarAgents.SidebarAgentItem (cyclomatic 42): SidebarAgents.SidebarAgentItem has cyclomatic complexity 42 (threshold 15). Of this number, 37 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bb16552f4ffc00e390357f205804924bddc0b8b50f76712fe3a5eb5ec0015a"}},{"ruleId":"D1","level":"warning","message":{"text":"AdapterLoginChrome.LocalProviderLoginInstructions (cyclomatic 42): AdapterLoginChrome.LocalProviderLoginInstructions has cyclomatic complexity 42 (threshold 15). Of this number, 37 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":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"532972fb68390d3ea6bb362c8a5ef28ebdb37d92c949a228210b0c21117f8cd5"}},{"ruleId":"D1","level":"warning","message":{"text":"schema-config-fields.SchemaConfigFields (cyclomatic 42): schema-config-fields.SchemaConfigFields 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 10 function items inside it that branch (writeValue, a function literal at line 337, a function literal at line 417, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd51d9542d041998ebce373c8d9206a3f183aebe1044ed47b20d2788c770a26"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSecretAccessEditor.AgentSecretAccessEditor (cyclomatic 42): AgentSecretAccessEditor.AgentSecretAccessEditor has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 6 of the 42 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 340, 352, 224, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentSecretAccessEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1619f99465a22f7e3e2ed44b2d71e59c6b1de2db1701ee65151885763885997"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarAgents.production.SidebarAgentItem (cyclomatic 42): SidebarAgents.production.SidebarAgentItem has cyclomatic complexity 42 (threshold 15). Of this number, 37 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1764138c41efcd9c86096fc790199538c92866f8936a38bdd91c5ba89a79ed28"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionModelSettings.DecisionModelSettingsView (cyclomatic 42): DecisionModelSettings.DecisionModelSettingsView has cyclomatic complexity 42 (threshold 15). Of this number, 31 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":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"337fca5e1e4188a651ea6ec7a290bd757a968f3cd9ad432352fe0256dba8d2db"}},{"ruleId":"D1","level":"warning","message":{"text":"useBrowserViewport.useBrowserViewport (cyclomatic 42): useBrowserViewport.useBrowserViewport 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 12 function literals inside it that branch (lines 110, 115, 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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd5631ca475fe9a64c8c87bbc54e27ab0cc0b42e2415fcd864e5fa8bb7e4c91"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-provider-launch.createRunnerProviderLaunch (cyclomatic 41): runner-provider-launch.createRunnerProviderLaunch 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1175fcb55d217d998c4a871612882eac046edfe7f3be7daece405a8733bfc318"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-goals.runnerGoalService.act (cyclomatic 41): runner-goals.runnerGoalService.act has cyclomatic complexity 41 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 19 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":"server/src/services/runner-goals.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b05e452af9d68a8d173dfd7955ba8bd273aee0acf25f2eb10f658c4970da28"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-completion-delivery.chatCompletionDeliveryService.deliver (cyclomatic 41): chat-completion-delivery.chatCompletionDeliveryService.deliver has cyclomatic complexity 41 (threshold 15). Of this number, 34 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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b84546df58db6a512e6502bffbf121a2f1af7c7e34065538ca42dbba8d3a86"}},{"ruleId":"D1","level":"warning","message":{"text":"health.createConnectionHealth.checkConnectionHealth (cyclomatic 41): health.createConnectionHealth.checkConnectionHealth has cyclomatic complexity 41 (threshold 15). Of this number, 40 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":"server/src/services/tool-access/catalog/health.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"247e5da1eeac523b80910ea1d43e6c14dd415fae58e49a8d570dc0902649ddb9"}},{"ruleId":"D1","level":"warning","message":{"text":"verified-preparation-log.hasVerifiedPreparationLog (cyclomatic 41): verified-preparation-log.hasVerifiedPreparationLog 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":"server/src/services/verified-preparation-log.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d166e42856e937bb6fccbea6e3ef6f0b64812b109902b01db0dce35c8790d452"}},{"ruleId":"D1","level":"warning","message":{"text":"preserved-native-result-finalization.readPreservedNativeResultFinalization (cyclomatic 41): preserved-native-result-finalization.readPreservedNativeResultFinalization 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":"server/src/services/native-runtime/preserved-native-result-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"503fdd9de8cf73454890cb96278b7e171b10f232b9d92e55e408b18afcd50fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleGitFiles (cyclomatic 41): git-workspace-restoration.assertReproducibleGitFiles has cyclomatic complexity 41 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1c28500def88fccd289141f59fd108a280f1b1f4a4890f0b80ce1b5cb1dbd4"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-injection-prevention.promptInjectionPreventionService.classify (cyclomatic 41): prompt-injection-prevention.promptInjectionPreventionService.classify has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 12 of the 41 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 201, 234). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5f7a9467995fec792507bacd916e4d0154428395f8893259db2bf0d3cdda9e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-interaction-publications.enqueueTerminalIssueInteractionChatPublications (cyclomatic 41): chat-interaction-publications.enqueueTerminalIssueInteractionChatPublications 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cccc429f20c1755062977f9dcababcf0a223e069c27e660b45db6ecbff69b25"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-retention.remoteWorkspaceSnapshotRetentionService.tick (cyclomatic 41): remote-workspace-snapshot-retention.remoteWorkspaceSnapshotRetentionService.tick has cyclomatic complexity 41 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 17 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":"server/src/services/remote-workspace-snapshot-retention.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e0461b0a8ad26a91c98a3e32939418167ec5f4330648529c727d2db837cbef"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-instruction-working-copies.agentInstructionWorkingCopyService.prepare (cyclomatic 41): agent-instruction-working-copies.agentInstructionWorkingCopyService.prepare has cyclomatic complexity 41 (threshold 15). Of this number, 39 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec78a5ff59be6f6a305a6f8c823f9e6ab843485b498f92be7f73f8c4506b6d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.claimQueuedRun::lockIssueExecutionClaim (cyclomatic 41): queue.createHeartbeatQueue.claimQueuedRun::lockIssueExecutionClaim 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. This shape REPEATS in the file: one other method here (queue.createHeartbeatQueue.claimQueuedRun) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5212ddadadd6ea10095eb282e6d9ee78bf5408c6cd45a51fc29ca783a0151b"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.createTelegramMaintenance.processTelegramMaintenance (cyclomatic 41): maintenance.createTelegramMaintenance.processTelegramMaintenance has cyclomatic complexity 41 (threshold 15). Of this number, 38 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"173e02f95353c19c15911f6865a03ced67797250b28b3d188927636911268a54"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-probes.createSetupProbes.test (cyclomatic 41): setup-probes.createSetupProbes.test 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 3 function literals inside it that branch (lines 105, 295, 246). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33921f5e2fb87f6940635962b27f54b0c682a645181a9c2776af5df6c4856e4"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-lifecycle.createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle (cyclomatic 41): installation-lifecycle.createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle has cyclomatic complexity 41 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d46e2d082ea9b92228c0d142abc16393c084c67e988d8e54520c2a229ff9727"}},{"ruleId":"D1","level":"warning","message":{"text":"native-permission-decline.hasCompletedNativePermissionDecline (cyclomatic 41): native-permission-decline.hasCompletedNativePermissionDecline has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 7 of the 41 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 23, 33, 30, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-permission-decline.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6041cde19f97c1c2bfce91d2ef2d6554dcf827c38614c2786a384f3c05949c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-github-access.createNativeGitHubAccess (cyclomatic 41): native-github-access.createNativeGitHubAccess has cyclomatic complexity 41 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 23 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":"server/src/services/native-runtime/native-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc2eb12f2cd78e40f80721e2a8172d00f7967819110d21213714b676b85235f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.recoverPluginRunnerCheckpoint (cyclomatic 41): native-session-executor.recoverPluginRunnerCheckpoint 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5854}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3899bfca9516a81d55a58de7bfc7782de5046e63a56e7197bbf4389a3bbb287"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipSemanticDispatcher.dispatch (cyclomatic 41): PaperclipSemanticDispatcher.dispatch 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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3d924bf73cae50b01db0ebd871499e1410ca675447e43f29164df90a13f1da"}},{"ruleId":"D1","level":"warning","message":{"text":"companies.companyService.update (cyclomatic 41): companies.companyService.update has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 7 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 318). 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":"server/src/services/companies.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"922e6b17f6b10611cbf2174684f063e37720c3cf23012582abc131b3617e36db"}},{"ruleId":"D1","level":"warning","message":{"text":"costs.costRoutes (cyclomatic 41): costs.costRoutes 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 29 function items inside it that branch (a function literal at line 447, a function literal at line 233, a function literal at line 106, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cbbb8449b1c181318c2bcc1a1e96708d86ea6e2912e24e87176025ea8018fd"}},{"ruleId":"D1","level":"warning","message":{"text":"finalized-workspace-recovery-migration.inspectFinalizedWorkspaceRecoveryHold (cyclomatic 41): finalized-workspace-recovery-migration.inspectFinalizedWorkspaceRecoveryHold 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":"server/src/services/finalized-workspace-recovery-migration.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a40c8275a1f2ba5013d61030316d82eb91de9e73286fb768518760c40bfaad4"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.validateMigrationPublication (cyclomatic 41): remote-workspace-migration.validateMigrationPublication has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed6aeded9d020840fae293269c66cd244b41d2e73720ac517376817c0124c19"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-version-retention-work.registerSkillVersionRetentionWork (cyclomatic 41): skill-version-retention-work.registerSkillVersionRetentionWork 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 49, 131, 50). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-retention-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"26491b5a73dae40bb99274a6fd1169d0428641af0035ba900b67f466b257b051"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineEntitySelector.InlineEntitySelector (cyclomatic 41): InlineEntitySelector.InlineEntitySelector has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 5 of the 41 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 245, a function literal at line 287, a function literal at line 134, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEntitySelector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c3f5e3fbf2f0ca5997828b1a5cb05b1cb42f60a758782bc225d4b7e1275a70"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConversationSidebar.AgentConversationSidebar (cyclomatic 41): AgentConversationSidebar.AgentConversationSidebar has cyclomatic complexity 41 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 21 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":"ui/src/components/AgentConversationSidebar.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"75be336b1885b76ac68b99062191440b2d21d11be25097c72b57eeadf8c0f490"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarNavItem.production.SidebarNavItem (cyclomatic 41): SidebarNavItem.production.SidebarNavItem has cyclomatic complexity 41 (threshold 15). Of this number, 39 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":"ui/src/components/SidebarNavItem.production.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"518579669678e81dd809953cb26074c4af095fc00102d14763cdf62990f951b3"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceBaseRefRecoveryNotice.WorkspaceBaseRefRecoveryNotice (cyclomatic 41): WorkspaceBaseRefRecoveryNotice.WorkspaceBaseRefRecoveryNotice has cyclomatic complexity 41 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 8 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":"ui/src/components/WorkspaceBaseRefRecoveryNotice.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e027ca7039cdbc3ec6a34d26a36716658e8984c42daa26b2cf330d695713e614"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatRunnerActivityGroup.presentation (cyclomatic 41): TaskChatRunnerActivityGroup.presentation 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aede29fb87d4fa02ede88949746b5b86a2c91a968df05571ed99ff5e4d7fd5f"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatProviderActivity (cyclomatic 41): IssueChatThread.IssueChatProviderActivity has cyclomatic complexity 41 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6495b66f96ef99b765e570fcab2d747073438e1cf9a4604b58631077facb922"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatComposer::submitComment (cyclomatic 41): IssueChatThread.IssueChatComposer::submitComment 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. This shape REPEATS in the file: one other method here (IssueChatThread.IssueChatComposer) 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5117}}}],"partialFingerprints":{"codehealthFindingId/v1":"41eda703af8ea7cca4ed1425c8fbe4ab397cc4622b9cd04ca8aaed116d87618f"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscriptionCostCard.SubscriptionCostCard (cyclomatic 41): SubscriptionCostCard.SubscriptionCostCard has cyclomatic complexity 41 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 17 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":"ui/src/components/SubscriptionCostCard.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ed3df611b5287421a3e20f64476f3fafec5386c491c46e0ebddaceb863a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"CostDataQualityNotice.CostDataQualityNotice (cyclomatic 41): CostDataQualityNotice.CostDataQualityNotice has cyclomatic complexity 41 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 14 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":"ui/src/components/CostDataQualityNotice.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefef8bb651166a9149984a8eef3f1351a6e0553fdae5b5bda0253062cd70d37"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionQueueRow.AttentionQueueRow (cyclomatic 41): AttentionQueueRow.AttentionQueueRow has cyclomatic complexity 41 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 11 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d477188a09e826cf961bbd708173f1d1f568e52f423a69b5c0ce790647f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"InstanceGeneralSettings.InstanceGeneralSettings (cyclomatic 41): InstanceGeneralSettings.InstanceGeneralSettings has cyclomatic complexity 41 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceGeneralSettings.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04992be548e584bd33436d7270481b792221a004914c13e32415cd3f838de07"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyImport.CompanyImport::buildFinalAdapterOverrides (cyclomatic 41): CompanyImport.CompanyImport::buildFinalAdapterOverrides 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. This shape REPEATS in the file: one other method here (CompanyImport.CompanyImport) 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9ce2eb4858213dcb5feecf753f6ba5a3aa02a211483e21bbe32566eacf5c64"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueShareSheet.IssueShareSheet (cyclomatic 41): IssueShareSheet.IssueShareSheet has cyclomatic complexity 41 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 22 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":"ui/src/components/IssueShareSheet.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2edca79b519d1283f40b5d1c4cfb2379c4e57074d3495fb0762597e97c036e"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerGoalWidget.RunnerGoalWidget (cyclomatic 41): RunnerGoalWidget.RunnerGoalWidget has cyclomatic complexity 41 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"265756137c52c375adb1a70f79c1e88c97eb7ef297b29dc57e40eb7a195b370f"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentMailIntentSetup.AgentMailIntentSetup (cyclomatic 41): AgentMailIntentSetup.AgentMailIntentSetup has cyclomatic complexity 41 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 14 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":"ui/src/features/connections/AgentMailIntentSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c52f4f0b70591a4a655ffd9280e5bd2b8a24bedabb7d714cb1143d449f963c"}},{"ruleId":"D1","level":"warning","message":{"text":"useAnnouncement.useAnnouncement (cyclomatic 41): useAnnouncement.useAnnouncement has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 3 of the 41 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 35, 79, 21, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAnnouncement.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baa9511110dd8a5d09d2cbe144abe581c5d4f68674e291a9ae3cbf0ff0ccac1"}},{"ruleId":"D1","level":"warning","message":{"text":"persisted-query-cache.startPersistedQueryCache.flush (cyclomatic 41): persisted-query-cache.startPersistedQueryCache.flush has cyclomatic complexity 41 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ef1379dd69fd01ec1b0d07a21470e8830c64f88c69e0d58ce45842ad84d7d9"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-controller.createVoiceSessionController.start (cyclomatic 41): voice-session-controller.createVoiceSessionController.start has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 108, 135). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"85770cb37c21f667be8a512d9da72d8472f42f5be9f9e93911bbe122b36fd801"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.registerPluginCommands (cyclomatic 40): plugin.registerPluginCommands has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 414, 516, 369, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/plugin.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ae95ff8aa9c68f6525d5e76154f1e960706cfd9657e62ab93c4b7d9ad2dc12"}},{"ruleId":"D1","level":"warning","message":{"text":"server.promptServer (cyclomatic 40): server.promptServer has cyclomatic complexity 40 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 18 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":"cli/src/prompts/server.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ac5c94f8a7f200f9f8906bab318de52c4d6ac2f5d15a44791a873765be9bb4"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-events.canonicalProviderEventsFromAcpxRuntimeEvent (cyclomatic 40): provider-events.canonicalProviderEventsFromAcpxRuntimeEvent has cyclomatic complexity 40 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5725a06d7102646843861f1aa1eebdd07bf5a50bc69326ea476700ffe88a7ab"}},{"ruleId":"D1","level":"warning","message":{"text":"native-source-recovery-ownership.assertNativeSourceCheckpointConsumer (cyclomatic 40): native-source-recovery-ownership.assertNativeSourceCheckpointConsumer has cyclomatic complexity 40 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-source-recovery-ownership.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb197c96c1357b6e52f33d4b9f85efd098e9d12a76c3e5450fcfe92aa23388"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-methods.normalizeConnectionMethodConfig (cyclomatic 40): connection-methods.normalizeConnectionMethodConfig 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":"server/src/services/tool-access/connection-methods.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85a6e58c25737aabed4894fb7401d913a79efac78c34c012ea166f0fb338d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ack-receipt.parseSlackFormFinalizedReceipt (cyclomatic 40): ack-receipt.parseSlackFormFinalizedReceipt 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":"server/src/services/chat-channels/slack/ack-receipt.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbba4fde70a2ec277b025fb7d8338cd0e29cb6d9997d08d10483d8b7f906dd4"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.renameSkill (cyclomatic 40): company-skills.companySkillService.renameSkill has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 6 of the 40 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 4215, 4213, 4284, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33b7f2169ea351b028d53dbaf6099a11fc29c9a259f4efa11b51cf9b6994eec"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.preserveControllerEvidence (cyclomatic 40): native-harness-filesystem-independence.preserveControllerEvidence 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"029a715cedc360e9f35ac78aab5738b734bf81e86de453362195f45e0e9014f7"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveCredentialHeadersUnrecorded (cyclomatic 40): tool-gateway.createToolGatewayService.resolveCredentialHeadersUnrecorded 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b06b4bf71ee4743574637aa554fa0d4e12e51b93f9d9ada2f12cec683117b3"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.reconcileExecutionWorkspaceBranch (cyclomatic 40): execution-workspaces.executionWorkspaceService.reconcileExecutionWorkspaceBranch has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to one function literal inside it that branches (line 5245). 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"adda8d5c3b81b46494a431867d18226af467488aa742ee8d08f638da7e7e9b40"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.applyStrandedAssignedIssueEscalation (cyclomatic 40): service.recoveryService.applyStrandedAssignedIssueEscalation has cyclomatic complexity 40 (threshold 15). Of this number, 37 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b208055080bb7f19bcc19697b937a06401da2fd6a6585444385319d41cedb3c4"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.loadStalenessFacts (cyclomatic 40): postgres.createPostgresRunDispatchAdapter.loadStalenessFacts 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"484ac7bc21817efb520aa8e896065d97626bc124d80a4aa38719538e09d44482"}},{"ruleId":"D1","level":"warning","message":{"text":"retained-provider-cache.reclaimInactiveNativeProviderCache (cyclomatic 40): retained-provider-cache.reclaimInactiveNativeProviderCache has cyclomatic complexity 40 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-cache.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c413a7b204577548ec9c37b179885756da3a820ec091797bcddb414e774570"}},{"ruleId":"D1","level":"warning","message":{"text":"native-finalization-upgrade-readiness.readNativeFinalizationUpgradeReadiness (cyclomatic 40): native-finalization-upgrade-readiness.readNativeFinalizationUpgradeReadiness has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to one function literal inside it that branches (line 16). 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":"server/src/services/native-runtime/native-finalization-upgrade-readiness.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"089d5d633983106459a0b0973961229199ac691f05108455fc301a2a27517bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"resource-reconciliation.createChatResourceReconciliation.updateResourceSelection (cyclomatic 40): resource-reconciliation.createChatResourceReconciliation.updateResourceSelection has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 9 of the 40 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 204, 284, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca7b7c55b6217b786079ac37aeb9d7e1e245d1b4a92673f2b639cea44740bd6"}},{"ruleId":"D1","level":"warning","message":{"text":"wake-admission.parseMcpWakeAdmission (cyclomatic 40): wake-admission.parseMcpWakeAdmission has cyclomatic complexity 40 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 13 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":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b94890e7d9064a619270eaf94b4328d1a354248b16a32a12f8c3d06e37d0d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-antigravity-distribution.antigravityArchiveEntries (cyclomatic 40): materialize-antigravity-distribution.antigravityArchiveEntries 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7229fe68dfcf33548ef46a6373bbad72844e8ecf448d3ee82a003c5d88bfe8"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-testops.projectResults (cyclomatic 40): runner-protocol-testops.projectResults has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 10 of the 40 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 162, 158, 169, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf76df5a43954aacd3e0cae9131bf2da3a5dddb09b44599af659e697651bfbd4"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-context.nativeTaskConstraints (cyclomatic 40): runtime-context.nativeTaskConstraints has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 51, 88, 114). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/backends/runtime-context.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5ed24c83ce14eb71fcb5906b3a9b9b291faeb79964700bb6d43bd5cc9e43fa"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-proxy-command.trustedOpenCodeLaunchBinding (cyclomatic 40): opencode-proxy-command.trustedOpenCodeLaunchBinding has cyclomatic complexity 40 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 23 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a024f47eb738bebb7c9fe387842acaedc9bca19661dccb1ab936103afc64df"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-models.discoverAntigravityModels (cyclomatic 40): antigravity-models.discoverAntigravityModels has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 15 of the 40 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 99, 120, 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/paperclip-runner/src/drivers/acpx/antigravity-models.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5265d8562f729dda106c6613ab70d066495c4d9d891cbf41eac180b3fc5a3b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatIdentityConfirm.ChatIdentityConfirm (cyclomatic 40): ChatIdentityConfirm.ChatIdentityConfirm 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":"ui/src/pages/apps/chat/ChatIdentityConfirm.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e294a6f86e66dc75da0da2005355961bfd802873b426719087f2501f2ebd1f85"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueScheduledRetryCard.IssueScheduledRetryCard (cyclomatic 40): IssueScheduledRetryCard.IssueScheduledRetryCard 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":"ui/src/components/IssueScheduledRetryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78a2a760e923534fc2f8c360eb6ea02f721e3ecd90df5d94f3197bddbdc9c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentAdvancedTab.ConfigurationEditor (cyclomatic 40): AgentAdvancedTab.ConfigurationEditor has cyclomatic complexity 40 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 17 belong to 13 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":"ui/src/pages/AgentAdvancedTab.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e288f42b96a90baa0dac5fb5ed02f0c18a9ba308e5b7c0352e0971d0077ac687"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewaysTab.GatewaysTab (cyclomatic 40): GatewaysTab.GatewaysTab has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 14 of the 40 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 356, a function literal at line 544, a function literal at line 284, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d73403c2766be871645d5a235dd9cef16cff4fee66dd1cd04667b22e5d1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"database.promptDatabase (cyclomatic 39): database.promptDatabase has cyclomatic complexity 39 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 17 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/database.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2109068a051d0e3694528db61d36178061d6a9b2144c510f4be69feef09d2f09"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-inventory.validateInventories (cyclomatic 39): capability-inventory.validateInventories 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/paperclip-runner/scripts/lib/capability-inventory.mjs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7eb6a0d9a9e62a36bd8a41744671042269d1a0eb3e01e7fef7c05df567810d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-slack-receipts.applySlackReceiptReaction (cyclomatic 39): chat-slack-receipts.applySlackReceiptReaction 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":"server/src/services/chat-slack-receipts.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"295ccb8f7770884f51053a161f0eac1d1c4fedc652b72cc7fb4fe95411055d17"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-workspace-preparation.callWorkspaceProvider (cyclomatic 39): plugin-workspace-preparation.callWorkspaceProvider 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":"server/src/services/plugin-workspace-preparation.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cff2706ef63d8a1c2d560b1c4bcf0706d792ac676c279c3b01136e1b00e304"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.deleteFile (cyclomatic 39): company-skills.companySkillService.deleteFile has cyclomatic complexity 39 (threshold 15). Of this number, 18 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":"server/src/services/company-skills.ts"},"region":{"startLine":4843}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea5ce5128b3f4f680af24ec1a22df2c54629e97609db749c463e58a966e2efe"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-response-comments.githubResponseCommentService.acknowledge (cyclomatic 39): chat-github-response-comments.githubResponseCommentService.acknowledge 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 4 function literals inside it that branch (lines 201, 202, 198, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"798e674c8fa48b0407f929c3aacc8496688df91bc9b358e0f46233c317652430"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveConnectionGrant (cyclomatic 39): tool-gateway.createToolGatewayService.resolveConnectionGrant has cyclomatic complexity 39 (threshold 15). Of this number, 34 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8278dd5593ca8949aa9e99db984ce99182eba8f5d43e5c1f9f7e25846145d6b"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.repairNativeBlockedWait (cyclomatic 39): service.recoveryService.repairNativeBlockedWait 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 2 function literals inside it that branch (lines 1709, 1837). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abd869a77572e9900ee0564b0d83e0c65e9faeac31aaed44a79d84fd9f31ec3"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.reconcileDispositionRepair (cyclomatic 39): service.recoveryService.reconcileDispositionRepair 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4028}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2facab1242acfc5b6804088728e645b09fbc966e0f1daef0415b57d5ca5a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.terminalizeOrphanedRunningRun (cyclomatic 39): service.recoveryService.terminalizeOrphanedRunningRun has cyclomatic complexity 39 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 8 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6395}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3c5e559989a0e71ce5a068e2d4d55a851db0aa775667ccd27115e2634b5a5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-reconstruction-intervening-executions.reconciledInterveningExecutions (cyclomatic 39): native-reconstruction-intervening-executions.reconciledInterveningExecutions has cyclomatic complexity 39 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-reconstruction-intervening-executions.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8156e61dca06c3a2f1ea8c348a99ef0817b7e4e6a3fbc5e5b7340609c8b4e05d"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-router.aiConnectionRouterService.resolve (cyclomatic 39): ai-connection-router.aiConnectionRouterService.resolve has cyclomatic complexity 39 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-router.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4f84daf5e004e9f29841b1ddbb6c69e665e0b3a15a7c95ea5a0b7a3da5e3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"speko-tool-setup.configureSpekoSessionTools (cyclomatic 39): speko-tool-setup.configureSpekoSessionTools 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":"server/src/services/voice/speko-tool-setup.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4a2f569a3b2688e2125aac3939cabb8e885921d12a25a7b1432e431bd8a27"}},{"ruleId":"D1","level":"warning","message":{"text":"events.createPhotonEvents.handlePhotonEvent (cyclomatic 39): events.createPhotonEvents.handlePhotonEvent has cyclomatic complexity 39 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 13 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92888f0805a16869f22a10f84fafb87be5f88d524006617759a37c6578c43f9"}},{"ruleId":"D1","level":"warning","message":{"text":"native-question-bridge.projectNativeRuntimeRequest (cyclomatic 39): native-question-bridge.projectNativeRuntimeRequest has cyclomatic complexity 39 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-question-bridge.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f56dc49e29be52f40b1b39c1473094b1d1a7f32f04b58920cb16079a3b36ab"}},{"ruleId":"D1","level":"warning","message":{"text":"native-staged-attachment-recovery.resolveNativeStagedAttachmentRecovery (cyclomatic 39): native-staged-attachment-recovery.resolveNativeStagedAttachmentRecovery 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":"server/src/services/native-runtime/native-staged-attachment-recovery.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e53c98a82843ef4bd58acec7d990913ff4f845ec7fe9fd9c7393e1af33c205"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.inspectFinishedPerTurnRunnerdOwner (cyclomatic 39): native-session-executor.inspectFinishedPerTurnRunnerdOwner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6056}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbe4a7650fc1eae9716c8944d7a487c5c3ed79c53e40809272dd38d9fcee508"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAcpxSession.#pumpTurn (cyclomatic 39): CodexAcpxSession.#pumpTurn 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6eaf6b3d3ed41800ce646bc5ed80905c5280434f6b6b03a3c0b9d9028c6ad"}},{"ruleId":"D1","level":"warning","message":{"text":"live-projection.projectCapabilityIssueThread (cyclomatic 39): live-projection.projectCapabilityIssueThread 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc881f6f746e05930430997fbbcafb3f17d09d1d8ea59cc1a1bf7afb196286"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-runtime-extension.askPiNativeQuestion (cyclomatic 39): pi-runtime-extension.askPiNativeQuestion has cyclomatic complexity 39 (threshold 15). Of this number, 34 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddba3d952978ed5cf2b9def76772ef4602b5bd1d43409b642a1845d502ec130"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-subscription-proof.projectIdleMcpSubscriptionProof (cyclomatic 39): idle-subscription-proof.projectIdleMcpSubscriptionProof has cyclomatic complexity 39 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/idle-subscription-proof.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3fbdfa8d5b4b14581755341638c415ab5d5c67fbaff3ceca7efe1cd1529ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionRoutes (cyclomatic 39): ai-connections.aiConnectionRoutes has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 16 function items inside it that branch (a function literal at line 221, a function literal at line 327, 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":"server/src/routes/ai-connections.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"043dc6b7051cdd27c0b1bc0f560871c802cd5f530ffe0777b4d14b4c2fc799e9"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.filterPortableExtensionYaml (cyclomatic 39): company-portability.filterPortableExtensionYaml has cyclomatic complexity 39 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 8 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":"server/src/services/company-portability.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bb1d910df9fc5853b97b88e659705d3e5729dc90687e72dcc091a25f65d85d"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-incoming.readSlackIdleIncomingProof (cyclomatic 39): idle-incoming.readSlackIdleIncomingProof has cyclomatic complexity 39 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6087212f9581dbda081528faf2913ed191666d6018e510bcc016c110b8f5dfc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-log-archive-source.readSource (cyclomatic 39): native-log-archive-source.readSource 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":"server/src/services/native-runtime/native-log-archive-source.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e32e4ec352b79e7720690bdf0b8bbbe9813af790534d65f616684a28eba340"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingCharacter.OnboardingCharacter (cyclomatic 39): OnboardingCharacter.OnboardingCharacter has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 6 of the 39 points are its own statements and the rest belongs to 9 function items inside it that branch (mount, wake, 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":"ui/src/components/onboarding/OnboardingCharacter.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f89e1a4b9f7561acfe81c293c1eb5728b871bacc2a5600169af729b86e421e"}},{"ruleId":"D1","level":"warning","message":{"text":"DotRunnerConnection.DotRunnerConnection (cyclomatic 39): DotRunnerConnection.DotRunnerConnection has cyclomatic complexity 39 (threshold 15). Of this number, 29 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":"ui/src/components/DotRunnerConnection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4350e9ee10b77bdf1d4328b254e74251fe7100f9a974946f4709242ce1f1f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-chat-messages.buildAssistantPartsFromTranscript (cyclomatic 39): issue-chat-messages.buildAssistantPartsFromTranscript 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7ea092f73a7282b995340b735107162f55014ab69fb3eb370634aabdc347c9"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChat.AgentChat (cyclomatic 39): AgentChat.AgentChat has cyclomatic complexity 39 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 14 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":"ui/src/pages/AgentChat.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a01b8a2efbd32c006e3c8cf84d0b12a002d2627bd9902958d91ec23722a68"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineTriggers.RoutineTriggers (cyclomatic 39): RoutineTriggers.RoutineTriggers has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 211, change, a function literal at line 158, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9f36202de1a7d75b0bc87d31b6ead12736b5aad1591c2b49f455ad69d17e98"}},{"ruleId":"D1","level":"warning","message":{"text":"SmokeLabTab.SmokeLabTab (cyclomatic 39): SmokeLabTab.SmokeLabTab has cyclomatic complexity 39 (threshold 15). Of this number, 28 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":"ui/src/pages/tools/SmokeLabTab.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2f9d95f4998eade83ca38efdd05641bdd9d940850691fb0de56c18034c89f5"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnSlackAppSetup.OwnSlackAppSetup (cyclomatic 39): OwnSlackAppSetup.OwnSlackAppSetup 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. This shape REPEATS in the file: one other method here (OwnSlackAppSetup.OwnSlackAppSetup::create) 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bf9d887b75b8575a64a59b3b2ceea288b6f311e16dfa1058ef85398441dd80"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatExecutionDefaults.ChatExecutionDefaults (cyclomatic 39): ChatExecutionDefaults.ChatExecutionDefaults has cyclomatic complexity 39 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatExecutionDefaults.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae187b8781430c557fd2ba9cb676d0721a5074489817775b0193ee877495691"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.InputPane (cyclomatic 39): SkillStudio.InputPane has cyclomatic complexity 39 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 18 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0f836830557b2d6007cace3f15cff7245ba0bbf325a788cc914eb22c892acd"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.awaitRunnerSuspensionBarrier (cyclomatic 38): runnerd-codex-transport.awaitRunnerSuspensionBarrier has cyclomatic complexity 38 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 11 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a057521e10f372edff92777d02b1d8979cfd2d47acb311eb9ad25307ffe80fdd"}},{"ruleId":"D1","level":"warning","message":{"text":"approvals.hireApprovalService.decide (cyclomatic 38): approvals.hireApprovalService.decide has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 6 of the 38 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":"server/src/modules/agent-lifecycle/adapters/approvals.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfa573181ef53a88b6ba5c210e1c47a6c6ce062a1b479cb78ce74960db0803e"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.refreshQuotaCredential (cyclomatic 38): ai-connections.aiConnectionService.refreshQuotaCredential 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 1161, 1158). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0f9765b2a54b016dec9d139c2eebc7e3fbd1a1d6fb4de54c7e0e28e123b2c3"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.waitForMcpTask (cyclomatic 38): tool-gateway.createToolGatewayService.waitForMcpTask 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00277b7a87105f85a816a135d22593589ee2160eed1f6ed5bd12fb3c1503fcc"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.decideQueuedRunStaleness (cyclomatic 38): policy.decideQueuedRunStaleness has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fa0b960c2cc5004a3ec9875e0c4dc8a5e1e557088206a184dbbd1dc6524fcf"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.readContent (cyclomatic 38): workspace-file-resources.workspaceFileResourceService.readContent 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d1d4dfd545a02840122fe623841f53ee7d05cae5f7fe3995f2a784d9827916"}},{"ruleId":"D1","level":"warning","message":{"text":"session-preparation.prepareHeartbeatSession (cyclomatic 38): session-preparation.prepareHeartbeatSession has cyclomatic complexity 38 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e67b7359ef2852d07cd0fe05b07883a82eb570f83636716b7f75441752a071b"}},{"ruleId":"D1","level":"warning","message":{"text":"scheduling.createHeartbeatScheduling.dispatchClaimedIssueMonitor (cyclomatic 38): scheduling.createHeartbeatScheduling.dispatchClaimedIssueMonitor 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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fdd76e54151cdb25a3619b7219e980de7fa3b95e3853280cdc86cd94b5d2f1"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-service.voiceSessionService.start (cyclomatic 38): voice-session-service.voiceSessionService.start has cyclomatic complexity 38 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 14 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90ce7975f55d76c1cca8e7dd6e522230e550c47e84e0979f4ca06523aedf626"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.restoreUnstartedRetryInput (cyclomatic 38): failed-run-retry.createChatFailedRunRetry.restoreUnstartedRetryInput has cyclomatic complexity 38 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e8c7f57387bc3edb49a4365052c6d43276dced506f27e3937768d493a6aabc"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.teamsFileSourceBinding (cyclomatic 38): file-transfer-authority.createTeamsFileAuthority.teamsFileSourceBinding has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e63210a886569f3b7a7148dfd0994b568688013b94d345c11831666b1b74338"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-execution-recovery.settleCancelledLegacyPreparation (cyclomatic 38): legacy-execution-recovery.settleCancelledLegacyPreparation 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 3 function literals inside it that branch (lines 451, 473, 494). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a5cfb4f2e7a772ff83a53f411f349256acae2926b7672538846b33966968f3"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry.continueRefusedTaskChatRetry (cyclomatic 38): task-retry.continueRefusedTaskChatRetry has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 9 of the 38 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 541, 571). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40bbc0882fe23010c20ec220c68e257f57b780556d6dc22d11cc40eab038652"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-api-catalog.buildRunnerApiCatalog (cyclomatic 38): runner-api-catalog.buildRunnerApiCatalog has cyclomatic complexity 38 (threshold 15). Of this number, 30 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":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"905b5c210623797c9a7fc4ba314d540a4b7895fa4c577b0c6846d9d95a9f3496"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#projectMuseDocumentContent (cyclomatic 38): PaperclipRunnerToolAuthority.#projectMuseDocumentContent 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 4 function items inside it that branch (a function literal at line 2840, a function literal at line 2823, a function literal at line 2836, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7065776e5ef88e705fb38000494941386470dd3fd9ea109b3166d8e18c2ca9d"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-projection.executionProjectionsForRuns (cyclomatic 38): execution-projection.executionProjectionsForRuns has cyclomatic complexity 38 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 15 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":"server/src/services/execution-projection.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a8893d44e6ae284ce858509dfad793aab4e709aa71d263a7f2ea06e2a24856"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-proxy-finish-diagnostics.createOpenCodeFinishDiagnosticForwarder.diagnostic (cyclomatic 38): opencode-proxy-finish-diagnostics.createOpenCodeFinishDiagnosticForwarder.diagnostic has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc49175f424d766edb7fcd3203ec1e79bd089dd4cf645027c9583827083e17ed"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.syncFiles (cyclomatic 38): file-sync.syncFiles 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":"packages/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"424e43c559c00beceea79d0005afd73746c417cfcb1c2119136d54c37c90cce7"}},{"ruleId":"D1","level":"warning","message":{"text":"pod-exec.execInPod (cyclomatic 38): pod-exec.execInPod has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 6 of the 38 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 149, 173, 197, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a57674a38a67287f65c0b000b4afcccf5f7dec3164180d69d4ad976e6e169ee"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-billing-import.fetchProviderDailyCosts (cyclomatic 38): provider-billing-import.fetchProviderDailyCosts 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":"server/src/services/provider-billing-import.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46b0e2c257e4e8b980f8786a70871b4588de8b2e5a75ee9658f7bd0a6d0047f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-migration.prestageNativeHarnessBackups (cyclomatic 38): native-harness-backup-migration.prestageNativeHarnessBackups has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 4 of the 38 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 197, 189, 199). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e22033d1f1a5e703728e6ab8205751d3e2ec8eb7dbab68f4e71c58736ab7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-bundled-package-digest.cloudBundledPackageDigest (cyclomatic 38): cloud-bundled-package-digest.cloudBundledPackageDigest has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 6 of the 38 points are its own statements and the rest belongs to 4 function items inside it that branch (walk, follow, logical, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-bundled-package-digest.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed9810ce042ecdfad9d13f162523b486b2c0f903feb8ac198f582c13a31bc94"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBasicsDialog.AgentBasicsDialog (cyclomatic 38): AgentBasicsDialog.AgentBasicsDialog 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 (AgentBasicsDialog.AgentBasicsDialog::submit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"916745d0a687dc03edcba984f77005b08b16c3f157085c55e5795842d8c9b70b"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputFeedbackButtons.OutputFeedbackButtons (cyclomatic 38): OutputFeedbackButtons.OutputFeedbackButtons has cyclomatic complexity 38 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 20 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":"ui/src/components/OutputFeedbackButtons.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc5b139ac4a058e67d16db147882325e0a7eab73e2b037bbc3947e6e8f1f549"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigureBuiltInAgentModal.ConfigureBuiltInAgentModal (cyclomatic 38): ConfigureBuiltInAgentModal.ConfigureBuiltInAgentModal has cyclomatic complexity 38 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 20 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":"ui/src/components/ConfigureBuiltInAgentModal.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"77da23ba4a62799181a51abc8ad228c13cf8dd9239dabfcf624a959616145eaf"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatCompactInteractionCard.CheckboxConfirmationCard (cyclomatic 38): TaskChatCompactInteractionCard.CheckboxConfirmationCard has cyclomatic complexity 38 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 16 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"46163d86fb1acfa2796c556cc1ddcbbdcb4e397104e380a4102319d00e39fd38"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatCompactInteractionCard.TaskChatCompactInteractionCard (cyclomatic 38): TaskChatCompactInteractionCard.TaskChatCompactInteractionCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"952dfed5fc610710e96ce9c82ddf71057015904959a1b819ddd867fbce657ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"useRunnerSubmission.useRunnerSubmission (cyclomatic 38): useRunnerSubmission.useRunnerSubmission has cyclomatic complexity 38 (threshold 15). Of this number, 26 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":"ui/src/hooks/useRunnerSubmission.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"16640d4f5dd8946293e038b613603efa8a75eb2f372be4eabb14ca062f145d37"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectorCatalogNavigation.ConnectorCatalogNavigation (cyclomatic 38): ConnectorCatalogNavigation.ConnectorCatalogNavigation has cyclomatic complexity 38 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 17 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":"ui/storybook/prototypes/ConnectorCatalogNavigation.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37d48f659b18cc35ebec1fc956b653098deb3a0278a430eeb3288baa7d975f"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-type-inventory.measureConversationType (cyclomatic 38): conversation-type-inventory.measureConversationType 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":"ui/storybook/support/design-proposals/conversation-type-inventory.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8430ca0f196d3eb9dd1a7898d8b5efea335ee90a0a6ff3bd8c93523d16cb6ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.parseAcpxStdoutLine (cyclomatic 37): ui.parseAcpxStdoutLine has cyclomatic complexity 37 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 10 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/adapter-utils/src/acpx-engine/ui.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c188072d2d9e22d8bdc6748b2c638c982e48bd6b299f4b6e41d5adcda952b8"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-effort.createGrokEffortAdmission.createGuard.\u003Creturned closure\u003E (cyclomatic 37): grok-effort.createGrokEffortAdmission.createGuard.\u003Creturned closure\u003E 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/paperclip-runner/src/drivers/acpx/grok-effort.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bc5a0ee1ee0b28a21c73408f54a07915bacd4e2700d27a15e1f3c8be00031b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexSessionState.constructor (cyclomatic 37): CodexSessionState.constructor 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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecb37c134c88261897d4e427888c66124c64181d2b8032241d1f392bdb33fe9"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityLiveSession.#connect (cyclomatic 37): CapabilityLiveSession.#connect 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbf1ba5dcec9093331b0ff7858e840c78491a77b142a62bb5a411b72946f369"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-pi-distribution.verifyLockedPiPackageGraph (cyclomatic 37): materialize-pi-distribution.verifyLockedPiPackageGraph has cyclomatic complexity 37 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7356cf1094e7ada06e01ddafc323433965ed9bfc935437b21e417d1f3bedd63d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-inline-image-intake.deriveTeamsInlineImageLocator (cyclomatic 37): chat-teams-inline-image-intake.deriveTeamsInlineImageLocator has cyclomatic complexity 37 (threshold 15). Of this number, 33 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":"server/src/services/chat-teams-inline-image-intake.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9614242d7a406badecbfa8a03fe46378670124fff02fb5a0b96eea3c8085c3"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-lease-handoff.retiredReusableLeasePredecessors (cyclomatic 37): environment-lease-handoff.retiredReusableLeasePredecessors 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":"server/src/services/environment-lease-handoff.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac77d7e75bfcf62d1107e89957e19416ca44aef897a894950588785eaed99c2"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-stop-and-retain.hasConfirmedSandboxStopAndRetain (cyclomatic 37): sandbox-stop-and-retain.hasConfirmedSandboxStopAndRetain 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"948d0826df5d38da62d552749fe23750db029725ef5fa02ca187b83165f3dcb2"}},{"ruleId":"D1","level":"warning","message":{"text":"railway.createRailwayClient.call (cyclomatic 37): railway.createRailwayClient.call 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":"server/src/services/railway.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"36513b2adfb26bebd307b0228801ca4d785c38dc6cee42e27aca38cea22f171b"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.auditInstalledSkillBytes (cyclomatic 37): company-skills.auditInstalledSkillBytes 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":"server/src/services/company-skills.ts"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d326ee401124161973072d24fa01959a19280151d64a3d4059c679d78769301"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-migration.prestageNativeControllers (cyclomatic 37): native-controller-migration.prestageNativeControllers has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 418, 464, 473). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a1373af2bfc17202e8ac03a08123893105ea172032d06e4b4bce6ab6b1a276"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-loader.pluginLoader::activatePlugin (cyclomatic 37): plugin-loader.pluginLoader::activatePlugin 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. This shape REPEATS in the file: 2 other methods here (plugin-loader.pluginLoader, plugin-loader.pluginLoader::fetchAndValidate) 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0786e88382a21f83fe8caab9dd339382338aa0e4d9d54787b7e1c01766db1108"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeBuiltinTool (cyclomatic 37): tool-gateway.createToolGatewayService.executeBuiltinTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c08217b2acace9ca29e6b634c1bfc969f1cb589a3b5f1be116171a324348257"}},{"ruleId":"D1","level":"warning","message":{"text":"successful-run-handoff.decideSuccessfulRunHandoff (cyclomatic 37): successful-run-handoff.decideSuccessfulRunHandoff 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":"server/src/services/recovery/successful-run-handoff.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc81dc6ff08c5e63a7fe9a2aeacee31193dbc9caa1dd765d5b4ed344960f5a2"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.reconcileResolvedDependencyWakeBackstop (cyclomatic 37): service.recoveryService.reconcileResolvedDependencyWakeBackstop has cyclomatic complexity 37 (threshold 15). Of this number, 33 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6068}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88a7c76a09c702e1d083e3e50bd43aedbf81c4baac5709cc3973b58f2de9279"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-recovery-resolution.deliverReconciledExecutions (cyclomatic 37): execution-recovery-resolution.deliverReconciledExecutions has cyclomatic complexity 37 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77d86b7a13313d2e6f3510db3598a23694b42e6859c39709ed8339bdaeaedc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-reconstruction.validateReconstructedWorkspaceDispatch (cyclomatic 37): native-workspace-reconstruction.validateReconstructedWorkspaceDispatch 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":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0d68df90da9e3fcde16e0dbc1073552c84d98c3788c923fe7e3ce668d5d244"}},{"ruleId":"D1","level":"warning","message":{"text":"native-source-retention.retainNativeRecoverySource (cyclomatic 37): native-source-retention.retainNativeRecoverySource has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 4 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 22). 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":"server/src/services/native-runtime/native-source-retention.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43765bed3059fb78f3311b73eb9a34718011184017ceba374f5d4de4ef4a6dc"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.setRunStatusFromLive (cyclomatic 37): run-lifecycle.createHeartbeatLifecycle.setRunStatusFromLive has cyclomatic complexity 37 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 17 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23017553283da0be54573ed53bb1237e28ff5f8ac0eae82c6d4401a7a12ce8c"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-router.poolMemberRuntimeConfig (cyclomatic 37): ai-connection-router.poolMemberRuntimeConfig 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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96577e3556fcddf7bfd5a6f3b0da1f3516d1ffa868c3d3f376de17749344421"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-inbound-wakeup-publications.resolveInboundWakeReceipt (cyclomatic 37): chat-inbound-wakeup-publications.resolveInboundWakeReceipt 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":"server/src/services/chat-inbound-wakeup-publications.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb48316e4bd5503c50fbc009e1168f19a456900b5770e1e175ce1c7820bb130"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-inbound-cleanup.voiceInboundCleanup.check (cyclomatic 37): voice-inbound-cleanup.voiceInboundCleanup.check has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 3 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 81). 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":"server/src/services/voice/voice-inbound-cleanup.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"732bb82adcb98ae34820ed6aa1bb08410faf4acf6de017bd28d13a56d4f3be2c"}},{"ruleId":"D1","level":"warning","message":{"text":"customer-owned.createCustomerOwnedSetup.create (cyclomatic 37): customer-owned.createCustomerOwnedSetup.create 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 12). 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":"server/src/services/connectors/slack/setup/customer-owned.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee862705dffe10b7ea0a4565ead723745e4d999efb1ce4dcedd828dac6ccee6"}},{"ruleId":"D1","level":"warning","message":{"text":"session-status.createSlackSessionStatus.processPendingSlackSessionSyncs (cyclomatic 37): session-status.createSlackSessionStatus.processPendingSlackSessionSyncs has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 136, 315, 362, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6848dfcb0609b9f487024bb606a0efd1eab47890022d8a66085b641603f91"}},{"ruleId":"D1","level":"warning","message":{"text":"revocation-index-contract.parseMcpRevocationIndexRequest (cyclomatic 37): revocation-index-contract.parseMcpRevocationIndexRequest has cyclomatic complexity 37 (threshold 15). Of this number, 35 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":"server/src/services/public-mcp/revocation-index-contract.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"597ee22d5530e10eb56385717e7a9291d67d6a41b76a489e4648ec7b04f35396"}},{"ruleId":"D1","level":"warning","message":{"text":"native-inherited-runner-retry.retireInheritedRemoteRunnerIdentity (cyclomatic 37): native-inherited-runner-retry.retireInheritedRemoteRunnerIdentity 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 2 function literals inside it that branch (lines 115, 179). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-inherited-runner-retry.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4aacf14cf567654fdbd15a3c6450ed6faac43ffc0c8bfbf672cbd5c2fa7133"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-permission-adapter.normalizeAcpxPermission (cyclomatic 37): acp-permission-adapter.normalizeAcpxPermission 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/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"af115adffec3662c394c1de99661caa930bef7c34757d7206a47ce6bac95bc1c"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAcpxSession.#mapRuntimeEvent (cyclomatic 37): CodexAcpxSession.#mapRuntimeEvent 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b71ee61fd81df3b5adb5af1e700c26328db0d1a452bf9765564546c878f0e9"}},{"ruleId":"D1","level":"warning","message":{"text":"app.WikiRouteSidebar (cyclomatic 37): app.WikiRouteSidebar has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 6 of the 37 points are its own statements and the rest belongs to 15 function items inside it that branch (renderToolLink, a function literal at line 2470, a function literal at line 2485, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c204cdfbe473849b501d5e31695835d0ff3d8f13232f332cab04c949e6c63519"}},{"ruleId":"D1","level":"warning","message":{"text":"revocation-index-sync.startMcpRevocationIndexSync (cyclomatic 37): revocation-index-sync.startMcpRevocationIndexSync has cyclomatic complexity 37 (threshold 15). Of this number, 25 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":"server/src/services/public-mcp/revocation-index-sync.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa0041885855d48b833a5a5d3e0aaa4f7421771539a3ac119f0a2f4f76b6b88"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::classifySourceRecoveryRevalidation (cyclomatic 37): issues.issueRoutes::classifySourceRecoveryRevalidation 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. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::parseAttachmentRangeHeader, issues.issueRoutes::assertInReviewReviewPath, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":4522}}}],"partialFingerprints":{"codehealthFindingId/v1":"596e5dbf5f1c6107c158f3a023ccd3200cf7f98448f0bc8e778efae9ef4a1a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-incoming.slackIncomingContext (cyclomatic 37): idle-incoming.slackIncomingContext has cyclomatic complexity 37 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf46c514d755cc4ce8a65ecd66b192137d6c2781268a8ea65febb58c07b1b3ca"}},{"ruleId":"D1","level":"warning","message":{"text":"Auth.AuthPage (cyclomatic 37): Auth.AuthPage has cyclomatic complexity 37 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Auth.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd35dfe8600abecf4ad2f666c9a16fdf59c7b013bb7cd2a752f74209d7cb6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.buildActivityToast (cyclomatic 37): LiveUpdatesProvider.buildActivityToast 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7d66ce1bf5997f1e888e26da469ea1ea637f3d3b3325683147af69cf916439"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceExportRecovery.WorkspaceExportRecovery (cyclomatic 37): WorkspaceExportRecovery.WorkspaceExportRecovery has cyclomatic complexity 37 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc0b7dbcb2ca7c497f7867d1abea656ca8d807d8bb538b31e33067666e23896"}},{"ruleId":"D1","level":"warning","message":{"text":"IssuePropertiesArtifactsTab.IssuePropertiesArtifactsTab (cyclomatic 37): IssuePropertiesArtifactsTab.IssuePropertiesArtifactsTab 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 6 function items inside it that branch (a function literal at line 626, a function literal at line 715, a function literal at line 696, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"790a6df6d6ab20c011eb4fcd51d6335deaf24244bc2a41cce236e17330c5b3c0"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.planToolChanges (cyclomatic 37): tools.planToolChanges has cyclomatic complexity 37 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 12 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/tools.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d888fa05a5f16acd878e77d3fba70fdb3921613db990e78524ef54436d2f9109"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.ConfigurationTab (cyclomatic 37): AgentDetail.ConfigurationTab has cyclomatic complexity 37 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0f586dbf37b269352eec66119a1107c4c2e62377c01543aa6c04bfef8b6447"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalDetail.ApprovalDetail (cyclomatic 37): ApprovalDetail.ApprovalDetail has cyclomatic complexity 37 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 9 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":"ui/src/pages/ApprovalDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46056b4c0b040b9e36e2e084f1eba37331d1b90a4c564c56d736ad29d997738"}},{"ruleId":"D1","level":"warning","message":{"text":"FastResponseSettings.FastResponseSettingsView (cyclomatic 37): FastResponseSettings.FastResponseSettingsView has cyclomatic complexity 37 (threshold 15). Of this number, 27 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c509b421534d3648dda9fb0ebc39aa19d290c8eebc7fa2b85c4f4d6d66728db7"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfilesTab.ProfilesTab (cyclomatic 37): ProfilesTab.ProfilesTab has cyclomatic complexity 37 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 20 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2c71ef75e2011849504392b576eab482648adf324f14a59302b1acd8a043fb"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBulkRoster.AgentBulkRoster (cyclomatic 37): AgentBulkRoster.AgentBulkRoster has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 15 of the 37 points are its own statements and the rest belongs to 10 function items inside it that branch (openEditor, a function literal at line 93, 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":"ui/src/components/agents/AgentBulkRoster.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5a341f5ec25e925608ddc783ee5b319a41dc99d7280b7fc9cd242f439176b4"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProviderState::validate (cyclomatic 37): CodexProviderState::validate 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8187d410fbdf8c7f8d84bee47b3c9b5e12c2677048b7e1e26196cbcd38940e7"}},{"ruleId":"D1","level":"warning","message":{"text":"onboard.quickstartDefaultsFromEnv (cyclomatic 36): onboard.quickstartDefaultsFromEnv 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d1fabe9f74db41bef460bb5b28bdb2233ef7d64f9e59c34a119b9ba63c865"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-callback-bridge.startSandboxCallbackBridgeWorker.processRequestFile (cyclomatic 36): sandbox-callback-bridge.startSandboxCallbackBridgeWorker.processRequestFile has cyclomatic complexity 36 (threshold 15). Of this number, 28 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db3d10944dcf0e3faf2ebbe72288b4f574046c6925e72d9eeaa0dbcd98e28bf"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printItemCompleted (cyclomatic 36): format-event.printItemCompleted has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcf64dfc633e638b2b2ab23a060baee197f874314ebbf8f392f0e9471d110dc"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-assets-root.resolveRunnerProviderAssetsRoot (cyclomatic 36): provider-assets-root.resolveRunnerProviderAssetsRoot has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b618063554fed7ba18aace92d1748e8a8b789cbc57bcf4a7459269aa2fb31f"}},{"ruleId":"D1","level":"warning","message":{"text":"PhotonReceiver.catchUp (cyclomatic 36): PhotonReceiver.catchUp has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/receiver.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"260c0defd4e99775d1b32e237343059560e1c7e50ef14f7f31e4cc838ee275fc"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope (cyclomatic 36): plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope 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: 4 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e95c295e00219f9f0098cbf1b7f5e4170c704534fc1dd4087d3c3d574fe553"}},{"ruleId":"D1","level":"warning","message":{"text":"failures.sanitizeHttpFailure (cyclomatic 36): failures.sanitizeHttpFailure has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"037d31b922b5235c06532212abdda7e038563b14c0ba2c1e53b9c1e385d6abb3"}},{"ruleId":"D1","level":"warning","message":{"text":"cancelled-native-startup.failedNativePreparation (cyclomatic 36): cancelled-native-startup.failedNativePreparation 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8899622463e6c77068fe0f95b435093eac66fbb7abee5fe565237cf24a1fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-policy.parseProjectExecutionWorkspacePolicy (cyclomatic 36): execution-workspace-policy.parseProjectExecutionWorkspacePolicy has cyclomatic complexity 36 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 6 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc173a2809319fe81bbd0db7165cc266f290868b8334af156c524e1b47c4c16"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-repository-rehome.sweepOrphanedIsolatedRepositorySources (cyclomatic 36): isolated-repository-rehome.sweepOrphanedIsolatedRepositorySources has cyclomatic complexity 36 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 20 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ed9141f7448114ecd03bfde11cf7e75f81972415d7520f575b7368ab89c58d"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.readLoadedSkillFile (cyclomatic 36): company-skills.companySkillService.readLoadedSkillFile has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b23bd1742adee555a9cbe0edd16810b4c16cee9d27862ddb36d209d10de9a25"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.controllerBinding (cyclomatic 36): native-harness-filesystem-independence.controllerBinding 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb51c43a334f60d161d9132e21785a69f13cdefbd2b7ab4f1b425bb243c5730c"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.inspectGitWorktreeBranchIncoherence (cyclomatic 36): workspace-runtime.inspectGitWorktreeBranchIncoherence has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cc23c1006cd5a35e109ced9a634309319de8875d9c0fe2f8e914a182cd9c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.admittedRateLimitAdmissions (cyclomatic 36): tool-access-policy.toolAccessPolicyService.admittedRateLimitAdmissions has cyclomatic complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbfa5d50cacd0f7c5c7d95b586b614ce6f44402010b04deb315c57d5c62d523"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-review-policy.githubReviewSchedulingDecision (cyclomatic 36): chat-github-review-policy.githubReviewSchedulingDecision 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-review-policy.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3870c74cd7c715f1464c2c7d068875e46ee4adc278ea1b238de758c9d8d92aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.runApprovedTestInvocation (cyclomatic 36): tool-gateway.createToolGatewayService.runApprovedTestInvocation has cyclomatic complexity 36 (threshold 15). Of this number, 26 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9789}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c23c69ffd6ce3252d360563c4384450f9e1fd9880b71030fa45ab5daf5b14"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.prepareProjectRepositoryWorkspaces (cyclomatic 36): workspaces.prepareProjectRepositoryWorkspaces has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"df036694b112d66f788de8ed855d719ee6ef1db6ffd3c8d7ff311480b7e35ee4"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-workspace-continuation.retainedIssueWorkspaceForRetry (cyclomatic 36): fresh-workspace-continuation.retainedIssueWorkspaceForRetry 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6456b14ffed516ba821c71554343423e72883a5515c4f933aed255c3a6d0bc53"}},{"ruleId":"D1","level":"warning","message":{"text":"released-writer-escalation.continueOne (cyclomatic 36): released-writer-escalation.continueOne 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":"server/src/services/recovery/released-writer-escalation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b382e21bdb4eb683978b4b00affd8d6bb536ef69bf3345374301b0a6f9bb304f"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.reconcileHotRestartAdoption (cyclomatic 36): recovery.createHeartbeatRecovery.reconcileHotRestartAdoption has cyclomatic complexity 36 (threshold 15). Of this number, 33 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0304fde95d433dc7f24f93c06c679d01975c60b95dbed5525a9cba83b73a98e"}},{"ruleId":"D1","level":"warning","message":{"text":"external-chat-question-response-retry.resolveQuestionResponseRetryAdmission (cyclomatic 36): external-chat-question-response-retry.resolveQuestionResponseRetryAdmission 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":"server/src/services/native-runtime/external-chat-question-response-retry.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4219a4905a63a129b6d7d6d2beb03a8d9e5706912df50a365311c44ab4cea17e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-attachment-reuse.resolveExternalChatResponseWaitAuthorizationInTransaction (cyclomatic 36): chat-attachment-reuse.resolveExternalChatResponseWaitAuthorizationInTransaction 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1701b758fc8028ce1582400a59d561f4682d0a5c5148bb54a179f3a1c9f769"}},{"ruleId":"D1","level":"warning","message":{"text":"command-work.registerDiscordCommandWork (cyclomatic 36): command-work.registerDiscordCommandWork has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 47, next, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/command-work.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a7bc477ab8b5b41170c22d819b4e121d1a1148be19d4bb948b67c7a28bcec"}},{"ruleId":"D1","level":"warning","message":{"text":"managed.createManagedSlackSetup.provision (cyclomatic 36): managed.createManagedSlackSetup.provision has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 3 of the 36 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 21, 29, 44). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/managed.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7b263b37ba3ff5020401bcde8dfdb4ef5c98f5363429a15a5e87800adf81c8"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-effects.providerEffectPayload (cyclomatic 36): provider-effects.providerEffectPayload 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd69b92c0872fda99f38e05bdb8fd46108ab340c47c41e0f8ae5336e48e7f805"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-drafts.createTelegramPublicationDrafts.reserveTelegramPublicationDraft (cyclomatic 36): publication-drafts.createTelegramPublicationDrafts.reserveTelegramPublicationDraft has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 8 of the 36 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 344, 284). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"50613b33f291a66827cb58445cd2e29592ec0a18fae1081c3ed83c4be47f664b"}},{"ruleId":"D1","level":"warning","message":{"text":"requests.createChatPublicationRequests.publishBoardMessage (cyclomatic 36): requests.createChatPublicationRequests.publishBoardMessage has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 6 of the 36 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 207, validRejectedIds). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0ff3a98ea8eee84e76a10804e8b0cc825b1d879d18022096667cd05390826c"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.githubLifecycleEventFromRequest (cyclomatic 36): messages.githubLifecycleEventFromRequest 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":"server/src/services/chat-channels/github/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"874bc69f196bcaf7682a91493ecd8d99402d467530f03c4bd649409125c43d68"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.definitions (cyclomatic 36): PaperclipRunnerToolAuthority.definitions has cyclomatic complexity 36 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 17 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"434e7efa7b3db009d6cfa5fe55db0a50deec5a94df2c77e6b1848c9b68b8935d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.synchronizeCompletedProviderPlan (cyclomatic 36): native-session-executor.synchronizeCompletedProviderPlan has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"396cd06765759ab2c90febb47e4ee81114c40cc3862d776907f717a5ea0dd260"}},{"ruleId":"D1","level":"warning","message":{"text":"native-chat-review-presentation.authorizeNativeChatReviewPresentation (cyclomatic 36): native-chat-review-presentation.authorizeNativeChatReviewPresentation 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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bed02240f4e92c343a52d4c7457294867bcc0d47786d3ce5983ee551b0d07a"}},{"ruleId":"D1","level":"warning","message":{"text":"routine.grokRoutineService.acknowledge (cyclomatic 36): routine.grokRoutineService.acknowledge has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 4 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 282). 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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a68689633e513ab73163a884324675db928124b0937fc85c0a325f8cf4d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.port.settle (cyclomatic 36): native-broker.createNativeExternalBroker.port.settle has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 2 of the 36 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 299, 297). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1261d4623bacd3558919b92af39819c8262a391ce4b1c45a9fecd63d1a14864"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-wake-proof.projectIdleMcpWakeProof (cyclomatic 36): idle-wake-proof.projectIdleMcpWakeProof 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":"server/src/services/public-mcp/idle-wake-proof.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c675ea37a22f82a84e81047529b70f73d3b816b2ca78350b9e22529796e858"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-questions.createAntigravityQuestionBridge.guard (cyclomatic 36): antigravity-questions.createAntigravityQuestionBridge.guard has cyclomatic complexity 36 (threshold 15). Of this number, 30 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/paperclip-runner/src/drivers/acpx/antigravity-questions.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5059bf2213742614322807639a0ba22bbec3a5dbf304cb82eb02c2c0ed5b45ef"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-sidecar.waitForTool (cyclomatic 36): acpx-runtime-sidecar.waitForTool has cyclomatic complexity 36 (threshold 15). Of this number, 30 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fb89c26f67a23c8711e27f55f9a29a1dfaa8d9547be62c2ebffc12ed3a12be"}},{"ruleId":"D1","level":"warning","message":{"text":"projects.projectRoutes::handleProjectWorkspaceRuntimeCommand (cyclomatic 36): projects.projectRoutes::handleProjectWorkspaceRuntimeCommand 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":"server/src/routes/projects.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb78ff0f822980096639a3a5a01a84242428d0c75f5bd0187b587402e7ff6101"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueListSearchParams (cyclomatic 36): issues.issueListSearchParams 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":"ui/src/api/issues.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f323ff97f16f5d80cd24c0a80798519792d2da2ad925e2823e44f5f41b1b76a8"}},{"ruleId":"D1","level":"warning","message":{"text":"SwipeToArchive.SwipeToArchive (cyclomatic 36): SwipeToArchive.SwipeToArchive has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 8 of the 36 points are its own statements and the rest belongs to 9 function items inside it that branch (handleTouchMove, handleTouchEnd, handleTouchStart, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SwipeToArchive.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c6adcb426af4528606ad146ca365bf37eb738667fe9bc5e8b9fe6dd63efce"}},{"ruleId":"D1","level":"warning","message":{"text":"TrustPresetSection.TrustPresetSection (cyclomatic 36): TrustPresetSection.TrustPresetSection has cyclomatic complexity 36 (threshold 15). Of this number, 29 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":"ui/src/components/TrustPresetSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"af870f0232b4f7f36000ec76932945630c27f1a4b87d78737f5fe9f4e2908e4f"}},{"ruleId":"D1","level":"warning","message":{"text":"AdapterManager.AdapterManager (cyclomatic 36): AdapterManager.AdapterManager has cyclomatic complexity 36 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 18 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca03ef734005ab3393d66a10455f2f04eb95152556376a00d749f3e211276fba"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentThread.CommentCard (cyclomatic 36): CommentThread.CommentCard has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee383a1df7e99b24ccb40a07b8650e11aa6ba3c2b8657d9694a5f96d09445c46"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-app-host.createMcpAppHost.handleRequest (cyclomatic 36): mcp-app-host.createMcpAppHost.handleRequest has cyclomatic complexity 36 (threshold 15). Of this number, 33 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":"ui/src/components/mcp-app/mcp-app-host.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5ec9ffb9ece8e3117c883f132e337df25a4abed23e6ba50556d5b6650e334"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatCompactInteractionCard.SuggestedTasksCard (cyclomatic 36): TaskChatCompactInteractionCard.SuggestedTasksCard has cyclomatic complexity 36 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f705e7c12fd4b69a57da3c7191c36782ddade733da0d4a1fa507c4dec76e0fff"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.readWorktreeSeedManifest (cyclomatic 35): worktree.readWorktreeSeedManifest has cyclomatic complexity 35 (threshold 15). Of this number, 31 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dac610a92ad66497941087ff729e23a0ee97e26cb389795534cac315154f96a"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetProcessSessionBridge (cyclomatic 35): execution-target.startAdapterExecutionTargetProcessSessionBridge has cyclomatic complexity 35 (threshold 15). Of this number, 17 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3ccd6de8d67ddd80ee024efb9bb221719e389f367423791516c9589c277e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"governance-events.claudeHookPayload (cyclomatic 35): governance-events.claudeHookPayload 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/paperclip-runner/src/governance-events.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"00acefadb52a2f193256837ed786aefe9fbc4c4732f3a694100b54778a8e9495"}},{"ruleId":"D1","level":"warning","message":{"text":"candidate-admission.parseAcpxCandidateAdmission (cyclomatic 35): candidate-admission.parseAcpxCandidateAdmission has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/candidate-admission.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cedac1a9c678265b54dc2b8582a6c4e2e16477e7aee52f603add0f89a25672"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#applyProviderIdentityEvent (cyclomatic 35): DurablePrpCodexTransport.#applyProviderIdentityEvent 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8735}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3a98582e6f3a325c9e168e28ac9454ecbc84723c975fba9883cb8c4464d70b"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.bridgedCodexQuestionParams (cyclomatic 35): runnerd-codex-transport.bridgedCodexQuestionParams has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 13 of the 35 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1509, 1518). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9924a31d2733e21c57a7537f638c2e26748d851fd9e33d4fe68517856f02ff5"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-runtime-files.inventoryKimiRuntimeFiles (cyclomatic 35): kimi-runtime-files.inventoryKimiRuntimeFiles has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 7 of the 35 points are its own statements and the rest belongs to 3 function items inside it that branch (visit, a function literal at line 41, a function literal at line 38). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3e04d95efa9437e536aa35b0c641b12645d5067cce678eaf9c4084766b5205"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-question-forms.validateChatQuestionFormSubmission (cyclomatic 35): chat-question-forms.validateChatQuestionFormSubmission 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ee291f420ad19f72ae4330bad6286cf39e61ca5db14a88b54b98cfc0d23360"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-attachments.prepareGitHubPublicAttachment (cyclomatic 35): chat-github-attachments.prepareGitHubPublicAttachment 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2933fbb5475607d899709d1c659849bddbccd4f18e85d5fdc4324f382e22b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"configuration.updateAgentConfiguration (cyclomatic 35): configuration.updateAgentConfiguration 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":"server/src/modules/agent-lifecycle/adapters/configuration.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eded3e4ea28b94cbc8eebb95af6d59a32ec90a979840149357b1ac301c2f68"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence-classifier.classifyEvidenceRef (cyclomatic 35): evidence-classifier.classifyEvidenceRef 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0377351cb2bb559a230af47d236fb2c2aa890587ef9f68a280e6c4cb607b88bc"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.rotateUnlocked (cyclomatic 35): secrets.secretService.rotateUnlocked has cyclomatic complexity 35 (threshold 15). Of this number, 31 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":"server/src/services/secrets.ts"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e0ed6bc8594670928ac07211dedf51041f64ff4dd4cbca7f69463af2776541"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-refresh.createLegacyOAuthRefresh::refreshOAuthCredentials (cyclomatic 35): connection-refresh.createLegacyOAuthRefresh::refreshOAuthCredentials 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":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c80864f92549668021879e48b255889afa002d2e7625400ddebbb89424c03f1"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-configuration.prepareAgentConfiguration (cyclomatic 35): agent-configuration.prepareAgentConfiguration 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":"server/src/services/agent-configuration.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa1968b4aec2abd9361ad3df930507f25d3433c1730397c606f9b385ce7ded"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.captureAuthorityHistory::visit (cyclomatic 35): native-harness-filesystem-independence.captureAuthorityHistory::visit has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a 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 (native-harness-filesystem-independence.captureAuthorityHistory) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef2c3a805a0d5a1bb7f4bae73b654cd406377c46f98d9bb5b931c889b49409"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.recordInvocation (cyclomatic 35): tool-access-policy.toolAccessPolicyService.recordInvocation 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"9886f7fb0e9e7ec5fcec2b7acd63623ebc306bb25829ef13124b79641b3301f3"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-use.browserUseService.execute (cyclomatic 35): browser-use.browserUseService.execute has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (browser-use.browserUseService.execute::admissionCheck) 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":"server/src/services/browser-use.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eb00efd15b7a5c5d78e985664882309b4c9cdf9d3e3d5a0d43c45c782966e9"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-checks.githubReviewCheckService.dispatch (cyclomatic 35): chat-github-checks.githubReviewCheckService.dispatch has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 5 of the 35 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 95, a function literal at line 105, guardedFetch, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-checks.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0b5aa0a52994565bff203dadda6a4fdae0cb39fe37c4b19df244d1dff8ee17"}},{"ruleId":"D1","level":"warning","message":{"text":"project-git-authorization.projectGitAuthorizationService.resolve (cyclomatic 35): project-git-authorization.projectGitAuthorizationService.resolve 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":"server/src/services/project-git-authorization.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d454f4e7b859180dbd667a69883ff601b061d054de0cdf099bc308345e95d01"}},{"ruleId":"D1","level":"warning","message":{"text":"explicit-native-continuation.admitExplicitContinuationRetry (cyclomatic 35): explicit-native-continuation.admitExplicitContinuationRetry has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb4583ed7bc28b0dab1de366380d9c78a7c449814b4559bef3274d7a56c04f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-host-recovery.confirmNativeControllerStopped (cyclomatic 35): native-controller-host-recovery.confirmNativeControllerStopped 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 46). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-host-recovery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65067a884820650ddd2ff30902792b90c27276380355561802667611fb7e2e1"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-native-commands.parseDiscordNativeCommand (cyclomatic 35): chat-discord-native-commands.parseDiscordNativeCommand has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-native-commands.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ed5e3604399d64cd49413afb69c70cc8e425fa68b08fd5ad30b2278bdb9b5"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook-ingress.createGitHubWebhookIngress.processGitHubWebhookIngress (cyclomatic 35): webhook-ingress.createGitHubWebhookIngress.processGitHubWebhookIngress 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"6042dbd7d3f9a9c94cacd25d16b780caf7e3b6dc04ddd2f4a5c1b8098e0a1b6a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-inline-images.png (cyclomatic 35): chat-teams-inline-images.png 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"186b733847bae93e0896bce9e6118df5f7814688ceb16efe2a13e4fe0116a7d7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-photo.supportedPng (cyclomatic 35): chat-telegram-photo.supportedPng 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":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43c16c07c2cfe2ae6f4796150769562fc3a6d31d0f4827bb345d03f7d2ba938"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.assertCurrentAuthority (cyclomatic 35): native-broker.createNativeExternalBroker.assertCurrentAuthority 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b136b79232d2f8beb6fa8775a4b8b745fb1485006ce87e5960bc6f2d34c3f01"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-locations.safeAcpxLocations (cyclomatic 35): safe-locations.safeAcpxLocations has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 2 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 42). 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/paperclip-runner/src/drivers/acpx/safe-locations.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc60c6a4da99e1b63f7dcfc1ee56b4bd5d48e2c92a5b4cb1875d06a558a7ebf4"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-tool-evidence.createCursorToolEvidence.tool (cyclomatic 35): cursor-tool-evidence.createCursorToolEvidence.tool 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 77). 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/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93f29a6fcfa0696804726c405e1fea4a8d3e4f08db390a9d377276e326188d3"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.startTurn (cyclomatic 35): CursorCloudSession.startTurn has cyclomatic complexity 35 (threshold 15). Of this number, 16 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"30806ee233ccf9972da1ffec8e61efb24630e204417bfe994741bda50f12a036"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.#dispatch (cyclomatic 35): CursorCloudSession.#dispatch has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8822cd65a2a67a46f76456f21b0108b8a801f2058092b57f33fe9c645329574"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-runtime.replayProvesEffectFreeInitialAcpxTurn (cyclomatic 35): native-session-runtime.replayProvesEffectFreeInitialAcpxTurn has cyclomatic complexity 35 (threshold 15). Of this number, 26 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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f320e470528fd40e5951ac1354fc94fbac0ff4302e9a4513162acccfce59a3"}},{"ruleId":"D1","level":"warning","message":{"text":"routes.handleBridgeRequest (cyclomatic 35): routes.handleBridgeRequest 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/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8118521155fd953419eff0a79093ca43c333a8e03d0b29b049221f48b0142635"}},{"ruleId":"D1","level":"warning","message":{"text":"status-cards.statusCardService.writeSummary (cyclomatic 35): status-cards.statusCardService.writeSummary 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 2 function literals inside it that branch (lines 948, 971). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a01784cac4b1370447685b2972f5ea92150894c27f354f503e6ceaafe7e7cc"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.reserveMigration (cyclomatic 35): remote-workspace-migration.reserveMigration 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 382). 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da397f9de10aac848b914c02186183667c7c803135f0f90e26d86773cf1eb8"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatMarker.TaskChatMarker (cyclomatic 35): TaskChatMarker.TaskChatMarker 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":"ui/src/components/task-chat/TaskChatMarker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d938ec3d18175436f5d267e1f17ec7103c2fea59dfd83a61f3726c681038713e"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatorTaskCommitment.CoordinatorTaskMotion (cyclomatic 35): CoordinatorTaskCommitment.CoordinatorTaskMotion 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 5 function literals inside it that branch (lines 51, 109, 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":"ui/src/components/coordinator/CoordinatorTaskCommitment.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6ee5064667534d77e972eb08abf08c193e6d8c7e11a47c1570fb3e0147c94d"}},{"ruleId":"D1","level":"warning","message":{"text":"Agents.Agents (cyclomatic 35): Agents.Agents has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a 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 (Agents.Agents::renderAgentRow) 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d75cbb224464b68b4d4d3fe93d560e2189600b6f892cad864c416841c4d6707"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.TranscriptToolGroup (cyclomatic 35): RunTranscriptView.TranscriptToolGroup has cyclomatic complexity 35 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 15 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b20856929bd254eb4e49829478309cb7a3120cb183f21b17d4becd1e313b872"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineList.RoutineListRow (cyclomatic 35): RoutineList.RoutineListRow 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":"ui/src/components/RoutineList.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1498cef4439095a34505f9c63fd73f7b4e181a6b685fe821af452d5fce436652"}},{"ruleId":"D1","level":"warning","message":{"text":"PhotonConnectStep.PhotonConnectStep (cyclomatic 35): PhotonConnectStep.PhotonConnectStep has cyclomatic complexity 35 (threshold 15). Of this number, 28 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":"ui/src/pages/apps/chat/PhotonConnectStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7bb6bb9b2ba105380a4218acdce9dce4d6445bc30c9af7cb344763004a1ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillPackagePreview.SkillPackagePreview (cyclomatic 35): SkillPackagePreview.SkillPackagePreview has cyclomatic complexity 35 (threshold 15). Of this number, 31 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":"ui/src/pages/skills/SkillPackagePreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e27a401652007dd97a42d98eb54da8270337358fd1f7955c7853cb1d394ce83"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.VersionHistorySheet (cyclomatic 35): SkillStudio.VersionHistorySheet has cyclomatic complexity 35 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 13 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"728966844cac6fc0432877aa2f190189d1ab8ac6c1c589519c2aa0af4913d465"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyImport.importAdapterValues (cyclomatic 35): CompanyImport.importAdapterValues 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b74893376118d5c1ec61e01d37e4e9d421ec9928d337a4485de9f079465fa79"}},{"ruleId":"D1","level":"warning","message":{"text":"InstanceAccess.InstanceAccess (cyclomatic 35): InstanceAccess.InstanceAccess has cyclomatic complexity 35 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 14 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceAccess.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba8cac1f008d88b03df34515bdd51a6f3924ab9c114ac433f11ec8bd2ec82f5"}},{"ruleId":"D1","level":"warning","message":{"text":"useAgentChatRead.AgentChatReadProvider (cyclomatic 35): useAgentChatRead.AgentChatReadProvider has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 19, 81, 65, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAgentChatRead.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5c6b04397375909764032ef3b6b974ce02436f1bb76dbff337ca1fcb52681f"}},{"ruleId":"D1","level":"warning","message":{"text":"Management.Management (cyclomatic 35): Management.Management has cyclomatic complexity 35 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 9 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":"ui/storybook/prototypes/provider-routing/Management.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db0a2117eac368fb36d996d21104a961ba40e97816dde4e0997a6ac46e40775"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::start_with_tools_observed (cyclomatic 35): CodexProvider::start_with_tools_observed 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1531b69eae24a37c9db5d327c4a0988b0395dc11948042265b4cd96658d097e"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printCursorStreamEvent (cyclomatic 34): format-event.printCursorStreamEvent 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b79bd403dcf37e6ffffc8ad395a5d3b481dbc43fcd301c007737ddc0d55f57a"}},{"ruleId":"D1","level":"warning","message":{"text":"migration-compatibility.parseStatements (cyclomatic 34): migration-compatibility.parseStatements has cyclomatic complexity 34 (threshold 15). Of this number, 33 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/db/src/migration-compatibility.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e5edc50a2928d353f76db4d2b40a5ef6627b2d81e9d2b5114e20613c5a7bca"}},{"ruleId":"D1","level":"warning","message":{"text":"App.LiveRunner (cyclomatic 34): App.LiveRunner 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 items inside it that branch (startRun, handleRecord, postAction). 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/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cf0c2a33578fbba2cd32d9069e5317eb40f02d528dc76e248ffe38011a546"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#commandResult (cyclomatic 34): DurablePrpControlPlane.#commandResult has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7787fcee07c4d2a3f18b29b39dc3b4e39a9793a842a6387d69acf919827c86"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.#dispatchToolCall (cyclomatic 34): OpenCodeHarnessSession.#dispatchToolCall has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"373483f5c833fa88051cecfd6595d484ee6c349d21088fade342f1efa9588ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-pi-distribution.materializePiDistribution (cyclomatic 34): materialize-pi-distribution.materializePiDistribution has cyclomatic complexity 34 (threshold 15). Of this number, 29 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54ef2c6fa1f3c132449454b2d59dba347eec786e6e10d8a75d996489cd38825"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-http-endpoint-guard.isPrivateOrReservedIpv4 (cyclomatic 34): remote-http-endpoint-guard.isPrivateOrReservedIpv4 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":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14afacde43dc8de088000066ac749e475400ce851f2c19bf4c17477848bbcfc"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-sdk-runtime.registerCallbacks (cyclomatic 34): chat-sdk-runtime.registerCallbacks has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 1932, 1997, 1864, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aa24cd0e9e622a0a4a2e4ba48a03b93f5652658be9f9234a2d194b8c28f0a7"}},{"ruleId":"D1","level":"warning","message":{"text":"delivery-work-coordinator.createDeliveryWorkCoordinator.register.start (cyclomatic 34): delivery-work-coordinator.createDeliveryWorkCoordinator.register.start has cyclomatic complexity 34 (threshold 15). Of this number, 21 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":"server/src/services/delivery-work-coordinator.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"344f02ef7e5970dba7aac9767fe4f890b39708d97fdb2340f7bdd2f7f8436252"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-summary.resolveHeartbeatRunResponse (cyclomatic 34): heartbeat-run-summary.resolveHeartbeatRunResponse has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (heartbeat-run-summary.resolveHeartbeatRunResponse::resolveCompletedUpstreamResponse) 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42097c4008983a183b32fe35ff375737ff11002686d7c3e96030b5c805d39e4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-git-source-roots.readWorkspaceGitSourceRoots (cyclomatic 34): workspace-git-source-roots.readWorkspaceGitSourceRoots has cyclomatic complexity 34 (threshold 15). Of this number, 25 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b40df0e408e38f3ea3491a580e0d3c922e798762ba15249b3d0c7168792d8"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-shutdown-workspace-settlement.allowLegacyShutdownWorkspaceCleanup (cyclomatic 34): legacy-shutdown-workspace-settlement.allowLegacyShutdownWorkspaceCleanup 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 one function literal inside it that branches (line 178). 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":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"09829f67cc1d7bd5d8ec68000fa2ead4180e14f36dd0b7d003afc92c2cf60221"}},{"ruleId":"D1","level":"warning","message":{"text":"review-check-work.registerGitHubReviewCheckWork (cyclomatic 34): review-check-work.registerGitHubReviewCheckWork 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 (a function literal at line 53, page, entry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/review-check-work.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a4c61b6d26375eea083c79a79eb70c7e550f3bcd7a961dda63ac1c229c6304"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.connectedMcpToolsForCompany (cyclomatic 34): tool-gateway.createToolGatewayService.connectedMcpToolsForCompany 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 5 function literals inside it that branch (lines 1752, 1781, 1691, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d3afdb295b74ab0bf2d8a90a41e9e2d4a8a1742b4a94fe5fe7767147c53de"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.maybeRefreshPaperclipCloudGrant (cyclomatic 34): tool-gateway.createToolGatewayService.maybeRefreshPaperclipCloudGrant has cyclomatic complexity 34 (threshold 15). Of this number, 23 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"204782835dae5aca2fb6c6d3c7ec7f7073c122ee27853962157427c1e21b60da"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-receipts.lateUsageGrowth (cyclomatic 34): usage-receipts.lateUsageGrowth has cyclomatic complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/usage-receipts.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e91c057504df6ccecb084982ca62936befc0c7dbc1ab081c806c5aeeaf3ef9b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-log-export.createNativeRunLogCoverageVerifier.line (cyclomatic 34): native-run-log-export.createNativeRunLogCoverageVerifier.line has cyclomatic complexity 34 (threshold 15). Of this number, 26 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9656bc101a1e16d2db6454a86340b3825f63fd1ef49a552c85f380b4d444a0"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-ingress.createSlackCloudEventIngress (cyclomatic 34): cloud-ingress.createSlackCloudEventIngress 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 2 function literals inside it that branch (lines 34, 49). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-ingress.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a6d900f9270dd9f866bfb59ae3d8b81e3a3551e7e0597c469348004cfc3408"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-management.githubChatManagementService.verification (cyclomatic 34): chat-github-management.githubChatManagementService.verification has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-management.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dcecd43e6ee2e6f01fa12d222a98243ad2eb11333fa9e4e336fe6151eb3e55"}},{"ruleId":"D1","level":"warning","message":{"text":"root-threads.createDiscordRootThreads.admitDiscordRootMention (cyclomatic 34): root-threads.createDiscordRootThreads.admitDiscordRootMention 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 3 function literals inside it that branch (lines 86, 83, 338). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4602ce7cf21aa090133f32ea8d3322aa61a87e792b6327e11da2bb476b89b4"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-task-directory-snapshot.decodeTaskDirectorySnapshot (cyclomatic 34): isolated-task-directory-snapshot.decodeTaskDirectorySnapshot 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":"server/src/services/isolated-task-directory-snapshot.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c241b322211950139d9a1a00357853c631de47f12e90505db3e17b863ed7c8ea"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.acceptRequestConfirmation (cyclomatic 34): issue-thread-interactions.issueThreadInteractionService.acceptRequestConfirmation 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 2 function items inside it that branch (a function literal at line 2496, publish). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a278100bc58846c1ba3da95343609011bf452759721811aba0f155b20cf6f9"}},{"ruleId":"D1","level":"warning","message":{"text":"native-codex-runner.executeNativeCodexRunner (cyclomatic 34): native-codex-runner.executeNativeCodexRunner has cyclomatic complexity 34 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 6 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99df3f7e3806be7445e503113813f955bf54b43b54afa8650f0aa44604e575b"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-readiness.probeRemoteNativeCodex (cyclomatic 34): setup-readiness.probeRemoteNativeCodex has cyclomatic complexity 34 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 17 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":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"874120f65857e35989d8b816b80bc40d7f8a3fe91e78143d9163ed328d4a1fe1"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-runner-task.createPluginRunnerTaskOwner.prepareLaunch (cyclomatic 34): plugin-runner-task.createPluginRunnerTaskOwner.prepareLaunch 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"104b59eb0095f8c1194a811630dc7855b98d0baba64af46928474eb0602d74c2"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-title.setIssueTitle (cyclomatic 34): issue-title.setIssueTitle has cyclomatic complexity 34 (threshold 15). Of this number, 32 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":"server/src/services/issue-title.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"945fe49436854cb8fd59c1ae0f48679d85a46fd331cdc5eebb793de3b07ba397"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#generateImage (cyclomatic 34): PaperclipRunnerToolAuthority.#generateImage has cyclomatic complexity 34 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a48a892752c2d473bc8999d11c8c6c9bc1f396c3c1a75d5363c091fc6ce2bc"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-lifecycle.recoverLegacyCaseHandoffCleanup (cyclomatic 34): case-handoff-lifecycle.recoverLegacyCaseHandoffCleanup 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"718f341f09e32592a5880e2f4cc0514764bd2db756ace82ce0600b6ef3a792d3"}},{"ruleId":"D1","level":"warning","message":{"text":"muse.createMuseBroker::authorizeAssignment (cyclomatic 34): muse.createMuseBroker::authorizeAssignment 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. This shape REPEATS in the file: 2 other methods here (muse.createMuseBroker, muse.createMuseBroker::detectorEvidence) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c20fb53e93cf8b5d9028819228e612a99e02fa23cffbb5e31c8ce6cdb8a221c"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.authorizeAssignment (cyclomatic 34): dot.createBroker.authorizeAssignment 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d915948886bddca6cf7766a3fc5466e044645fcec448de82d753d4fb1d79b32f"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-recovery-attachments.attachPreservedRemoteWorkspaceSnapshots (cyclomatic 34): remote-workspace-recovery-attachments.attachPreservedRemoteWorkspaceSnapshots has cyclomatic complexity 34 (threshold 15). Of this number, 32 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c6ebf48f023f5e081a0cdbd5031d9e0395cd63b79f12ebcaface5bccf26f1c"}},{"ruleId":"D1","level":"warning","message":{"text":"single-read-evidence.updateSingleReadEvidence (cyclomatic 34): single-read-evidence.updateSingleReadEvidence 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/paperclip-runner/src/drivers/acpx/single-read-evidence.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"52faf8f35cee383a47287e27c44060fc021fbb04dec76fb3ed75a91acd48885a"}},{"ruleId":"D1","level":"warning","message":{"text":"harness-driver.runHarnessDriverConformance (cyclomatic 34): harness-driver.runHarnessDriverConformance 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/paperclip-runner/src/conformance/harness-driver.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"010069431e2a18959cdacee4b808ca4029dd834003656cf858e92c04ec2f0d55"}},{"ruleId":"D1","level":"warning","message":{"text":"app.CreateSpaceModal (cyclomatic 34): app.CreateSpaceModal has cyclomatic complexity 34 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 12 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3224b6d067b78dbee60c5d85a001b777cb66dc849b18356c289a5e2d86d2a1"}},{"ruleId":"D1","level":"warning","message":{"text":"app.DistillationSettingsPanel (cyclomatic 34): app.DistillationSettingsPanel 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 5 function items inside it that branch (enableForActiveProjects, runBackfill, runDistillNow, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f790304aaa706643a9932ced7965ba236be3edacf64775114350cd6b34e09f"}},{"ruleId":"D1","level":"warning","message":{"text":"app.SpaceEditCard (cyclomatic 34): app.SpaceEditCard has cyclomatic complexity 34 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 17 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6698}}}],"partialFingerprints":{"codehealthFindingId/v1":"973dd996637b653f707d30d302b1a4bab407adb8be09c1aa3cb5aeb0e9e26473"}},{"ruleId":"D1","level":"warning","message":{"text":"app.PaperclipIngestionSpaceCard (cyclomatic 34): app.PaperclipIngestionSpaceCard has cyclomatic complexity 34 (threshold 15). Of this number, 22 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"319dba97dfb59fe91ad4bb09dec2baddc2af2a061c8959bd6e9a2ef7f2195547"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-management-authz.assertBoundedManagementSelectors (cyclomatic 34): connection-management-authz.assertBoundedManagementSelectors 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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc79eed52bc2ed382e29fa0feddb53479892196085fcbeaa2a76208e20362786"}},{"ruleId":"D1","level":"warning","message":{"text":"muse.museTransportRoutes::handler (cyclomatic 34): muse.museTransportRoutes::handler 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":"server/src/routes/muse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e209aed2fe327a92b17628b32b669178c2e9a9403e0f6397aa6d2f324cf926"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessRoutes::handlePaperclipCloudConnectorCallback (cyclomatic 34): tool-access.toolAccessRoutes::handlePaperclipCloudConnectorCallback has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (tool-access.toolAccessRoutes::describeConnectionCapabilities) 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":"server/src/routes/tool-access.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"776a4c6fd7b4b58ce8f8d7f594d437d0ad72de3f1238a8fff0f01719d0a5b963"}},{"ruleId":"D1","level":"warning","message":{"text":"access.isPrivateOrReservedIpv4 (cyclomatic 34): access.isPrivateOrReservedIpv4 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":"server/src/routes/access.ts"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42fdc1b3b3f99ec6af1bb85e90d49dc40b45b3a0c74cf4b88075dc2dfc7ee68"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchableSelect.SearchableSelect (cyclomatic 34): SearchableSelect.SearchableSelect has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 10 of the 34 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 149, selectOption, 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":"ui/src/components/SearchableSelect.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b9b95c9fb2e526aca67eb6e5d817058f40f0362b3e37168af585eeedb69ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"CliAuth.CliAuthPage (cyclomatic 34): CliAuth.CliAuthPage has cyclomatic complexity 34 (threshold 15). Of this number, 30 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":"ui/src/pages/CliAuth.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2053d4e55b77cea4215bbeb7acc9336e320c2ce412d4ab3de982ebf34a3d38"}},{"ruleId":"D1","level":"warning","message":{"text":"Issues.OrganizationIssues (cyclomatic 34): Issues.OrganizationIssues has cyclomatic complexity 34 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 11 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":"ui/src/pages/Issues.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c05e661fd98b9560734d976b3f3242f41e8286fb94aee05c38aa395c7fb33b"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatRunnerTurn.TaskChatRunnerTurn (cyclomatic 34): TaskChatRunnerTurn.TaskChatRunnerTurn has cyclomatic complexity 34 (threshold 15). Of this number, 25 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":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ce780046f7cb4550aea982ceed30ff4986aa42cf7a925473bd1c12aea89762"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatChainOfThought (cyclomatic 34): IssueChatThread.IssueChatChainOfThought has cyclomatic complexity 34 (threshold 15). Of this number, 31 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"878342d569df0bd4472db80f38171e7905f91f7d558fc1ca09f2aafbad0c191a"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentAnnotationPanel.AnnotationPanelBody (cyclomatic 34): DocumentAnnotationPanel.AnnotationPanelBody has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 266, 160, 214, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6fdba49f5a7ddee6f6871173044c09856238c5b3d3f4b71db094db430a1ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"CaseDetail.CaseDetail (cyclomatic 34): CaseDetail.CaseDetail 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CaseDetail.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4126924192c5ce38ee0107fd3f0a3f0ea95ed15c90be7a76d3d9b4d4342a8365"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionWorkspaceCloseDialog.ExecutionWorkspaceCloseDialog (cyclomatic 34): ExecutionWorkspaceCloseDialog.ExecutionWorkspaceCloseDialog has cyclomatic complexity 34 (threshold 15). Of this number, 31 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":"ui/src/components/ExecutionWorkspaceCloseDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"800a4914383f8fd1a0c981a2772975af3a134504340259b24dadc38481c5e70a"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySettings.CompanySettings (cyclomatic 34): CompanySettings.CompanySettings has cyclomatic complexity 34 (threshold 15). Of this number, 24 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":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a90172504f1589e778e1922d95e2ffb221d0aba2481c1f878891318cdd95a"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptInjectionPreventionSettings.PromptInjectionPreventionSettingsView (cyclomatic 34): PromptInjectionPreventionSettings.PromptInjectionPreventionSettingsView has cyclomatic complexity 34 (threshold 15). Of this number, 26 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":"ui/src/components/prompt-injection-prevention/PromptInjectionPreventionSettings.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77d64768f0f4bcf409a60b1488fa896b1e0f916d9ea9c91f99b3e300bb9e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillFolderTree.MoveToFolderDialog (cyclomatic 34): SkillFolderTree.MoveToFolderDialog has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 6 function items inside it that branch (renderNode, matches, submitNewFolder, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0ab18c0fd61728b47794f63e9936c48b93bcae72e5da86cfe1193b1f947222"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.InstallPreviewDialog (cyclomatic 34): CompanySkills.InstallPreviewDialog has cyclomatic complexity 34 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 13 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72923ba36ed5e2b0937ec6135c92c82d7ea020c9208a65b1d86a45dbbf8fc5e"}},{"ruleId":"D1","level":"warning","message":{"text":"ProposalsTab.PendingProposal (cyclomatic 34): ProposalsTab.PendingProposal has cyclomatic complexity 34 (threshold 15). Of this number, 28 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":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf32e718c664e3c6860ec574c189b0055a33db5155fc7463d564097d15d5a24e"}},{"ruleId":"D1","level":"warning","message":{"text":"Agents.production.Agents (cyclomatic 34): Agents.production.Agents 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. This shape REPEATS in the file: one other method here (Agents.production.Agents::renderAgentRow) 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c7fe1a280891e95391bfbc41404bb16844ec3fbfb0eff084b4ddbc65a0478"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleEditor.parseCronToPreset (cyclomatic 34): ScheduleEditor.parseCronToPreset 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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b57d52ad236f29f1bfdece4478a4fede64c72a8333d064629b926608b5bd459"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.InstallPreviewDialog (cyclomatic 34): CompanySkills.production.InstallPreviewDialog has cyclomatic complexity 34 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 13 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"48394ed191c1a552e8d4b554a72c375dab00a0b8195f7793d5046e245bb016b8"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueArtifactCard.IssueWorkProductArtifactCard (cyclomatic 34): IssueArtifactCard.IssueWorkProductArtifactCard 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":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3848520345634018b300121aebf635b8fff1eaa15cf43a33a943004bbfe8bf8"}},{"ruleId":"D1","level":"warning","message":{"text":"BulkAgentSettingsProposal.Proposal (cyclomatic 34): BulkAgentSettingsProposal.Proposal 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 9 function items inside it that branch (a function literal at line 153, a function literal at line 194, 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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"49220e7e91e78c5f6e2b184277a4d05db09b46120cfa3e22e08e0cea9493a11d"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalCommandExecutor::operation (cyclomatic 34): ExternalCommandExecutor::operation 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/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc31ace01659902da4a807359dbca727858ac3865e591f9d450980275de5dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.ensureWorktreeSeeded (cyclomatic 33): worktree.ensureWorktreeSeeded 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a19f8657aabf76eb5f34a278b8bdd009ce165d3461aef2398f7494ae05bd34c"}},{"ruleId":"D1","level":"warning","message":{"text":"local-process-sandbox.buildLocalProcessSandboxSpawnTarget (cyclomatic 33): local-process-sandbox.buildLocalProcessSandboxSpawnTarget has cyclomatic complexity 33 (threshold 15). Of this number, 29 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/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e70201ac87382d41206cc8f68b5bdc0dce4bba6dc848239622b2dc5899cda4c"}},{"ruleId":"D1","level":"warning","message":{"text":"acp.testCodexAcpEnvironment (cyclomatic 33): acp.testCodexAcpEnvironment 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76ac080da7a9a101145c62d10a46995ca8aacf527c5426060ccfd7d125b92b3"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.createGeminiJsonlParser.\u003Creturned closure\u003E (cyclomatic 33): parse.createGeminiJsonlParser.\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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95889dc91d53f2b19c0a412ecd360093e5c886947b1c1223f4d924d148c67c3"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.buildPrompt (cyclomatic 33): execute.buildPrompt 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad5f6e50917bec8f75b54a1a7966d5a304954523e2e449f73fdd42175e21949"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-cloud.parseNativeCursorCloudConfig (cyclomatic 33): cursor-cloud.parseNativeCursorCloudConfig 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/paperclip-runner/src/contracts/cursor-cloud.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dbf040ceadb8357b00d7f71834173f7cde44df479b77100a562ad68fd5a590"}},{"ruleId":"D1","level":"warning","message":{"text":"native-execution.buildNativeModelEnvelope (cyclomatic 33): native-execution.buildNativeModelEnvelope has cyclomatic complexity 33 (threshold 15). Of this number, 29 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":"packages/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"110a89aea77d746366fe4baf327c25b8b44f51acedbab69ea4ae1dfb2b86bb86"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-security-config.createIsolatedCodexAppServerArgs (cyclomatic 33): codex-security-config.createIsolatedCodexAppServerArgs 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe11ac744ed75be9cf99290b6c62d088fb0cea47f5f325e53cb2bf85690403"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.validStagedRunAttachment (cyclomatic 33): durable-prp-control-plane.validStagedRunAttachment 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3447b35102df8fecf6f2b2e476a8dc2f0a0013d456ea8462cb778fda998cac73"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#recoverRunnerProcess (cyclomatic 33): DurablePrpCodexTransport.#recoverRunnerProcess has cyclomatic complexity 33 (threshold 15). Of this number, 24 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9214}}}],"partialFingerprints":{"codehealthFindingId/v1":"64878bf2af4c29d5bbb62fa0fe8129d518a53c699664ab111f05eddcdc670597"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityLiveSession.#handleServerRequest (cyclomatic 33): CapabilityLiveSession.#handleServerRequest 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"4911419ea6ada58f6dcafa655bc1c3f2e7c2206bc3eb2ed4752509460b847822"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings (cyclomatic 33): remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings 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: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a16d8664c642cf69e888c4d9d907b1b20d1c7a7f6b1e1f10cfe868b7bd313d"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.paperclipCloudConnectorConfigFromEnv (cyclomatic 33): paperclip-cloud-connector.paperclipCloudConnectorConfigFromEnv 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10eb7dac0d20213b98b948823b600a96ccf527d6f35d3a05b7f96f5e37e0ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.updateUnlocked (cyclomatic 33): secrets.secretService.updateUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad76d1ad0e9d2e4fcc7a2862aac413a42e9c71394ad1c0b4b709bbd76dcf0b08"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interaction-resolution.evaluateIssueThreadInteractionResolverAudience (cyclomatic 33): issue-thread-interaction-resolution.evaluateIssueThreadInteractionResolverAudience 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":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf9fa8e61bf7a6058b45586ae49c34fca10abefd2d3894209608eceb67584a3"}},{"ruleId":"D1","level":"warning","message":{"text":"github-access-discovery.loadGitHubGrantMetadata (cyclomatic 33): github-access-discovery.loadGitHubGrantMetadata 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":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a63fcd503976fb94b7bd03bdc3d131a2ea741f2fdabb30931ed4572e74410e3"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.createOAuthDiscovery.endpointsFromMetadataUrl (cyclomatic 33): discovery.createOAuthDiscovery.endpointsFromMetadataUrl 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fc32e2ae53c76cdb8951d0d89bcbb1f816b0cccc6e60ebaeba4e288d5943d6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-checkpoints.validateAgentFileCheckpoint (cyclomatic 33): agent-file-checkpoints.validateAgentFileCheckpoint 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":"server/src/services/agent-file-checkpoints.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9283efa12841d572d16a90e3768fcd982aca5ae461c9fdf6aee6af58a90d57"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.resolveAgentRunnerTargetForCompany (cyclomatic 33): agent-runner-selection.resolveAgentRunnerTargetForCompany has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ce1b01062813c74c0682cf87f566ed46a4cdfad5bc31eb5e55bb0e60dca92f"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-native-progress.reconcileNativeChatProgress (cyclomatic 33): chat-native-progress.reconcileNativeChatProgress has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 6 of the 33 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 220, defer). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-native-progress.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62d3154df86a2887c9a377419e47f7db26d5e2a498672107e242d9e7f3cd778"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-receipt-reactions.stageReceiptReactionRemovals (cyclomatic 33): chat-receipt-reactions.stageReceiptReactionRemovals has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 127). 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":"server/src/services/chat-receipt-reactions.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a1f46b9c9f7617f7a175ca5abf517620d082c0c72688526a3925bca4d91c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-reviews.githubChatReviewService.scope (cyclomatic 33): chat-github-reviews.githubChatReviewService.scope 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"18467915b6cefecd8f9552bb5e8f7c5f5a7b3e9fa70f8fde08b7acdc951be769"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.adopt (cyclomatic 33): agent-directory-working-copies.agentDirectoryWorkingCopyService.adopt 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"84648849c3544d42b7c075cbd1c79a1f353f64aa5176a5f0d225106d72306d39"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-quota-reset.parseProviderQuotaClockReset (cyclomatic 33): provider-quota-reset.parseProviderQuotaClockReset has cyclomatic complexity 33 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-quota-reset.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f82d6f6e6120e8e0acb6e6ac0606220dda3f7cb8124e0e2010340232e962780"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.hasCurrentNativePassiveWait (cyclomatic 33): service.recoveryService.hasCurrentNativePassiveWait 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db85511575a8752500031d0c9068a4946d78c60f57c22c0225ed428d22d32df"}},{"ruleId":"D1","level":"warning","message":{"text":"budget-reservations.reserveRunBudget (cyclomatic 33): budget-reservations.reserveRunBudget has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 92, 115, 147). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-reservations.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c66d298f0fcc48945c2c9cdf6583132a5735462de192b2f76aea9e0227ea132"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.decideScheduledRetryGate (cyclomatic 33): policy.decideScheduledRetryGate 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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcb4493245f4dc646c81dce7c67afffdc1bd1a990947fabfa4c6ad4b33aa089"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cases.promoteDeferredWake (cyclomatic 33): use-cases.promoteDeferredWake 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96def81d8078cdc7190a8f7b7f02d3de81d2ab17459131c7efe29e6d359845a"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cases.createAdmitWakeBehindIssueExecution.admitWakeBehindIssueExecution (cyclomatic 33): use-cases.createAdmitWakeBehindIssueExecution.admitWakeBehindIssueExecution 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d723d71685d4d7b6b973516e16eaeda0a0bb99a3347bac1c0f2c61e7a39bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"external-chat-question-response.completedQuestionFormMatchesInteraction (cyclomatic 33): external-chat-question-response.completedQuestionFormMatchesInteraction 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":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5278f05475307bd0f476afdcfd83390a1870a86f0fabfb22991b53d976ea384"}},{"ruleId":"D1","level":"warning","message":{"text":"completion.createSlackCompletion.resumeLocked (cyclomatic 33): completion.createSlackCompletion.resumeLocked 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":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d65ef1131300fd4543754bddcaafb2325de0a1bd1afa5d09eabbb193383679"}},{"ruleId":"D1","level":"warning","message":{"text":"service.slackChatRegistrationService.complete (cyclomatic 33): service.slackChatRegistrationService.complete 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 one function literal inside it that branches (line 92). 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":"server/src/services/connectors/slack/setup/service.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"120426d4ac1967d4ab05b7993f5e7dc1e33d2d3eb159eca5608262252f8e0241"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-connection-activity.listConnectionLifecycleEvents (cyclomatic 33): tool-connection-activity.listConnectionLifecycleEvents has cyclomatic complexity 33 (threshold 15). Of this number, 24 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":"server/src/services/tool-connection-activity.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a0b9a276421242f245d907e9ae9448de52521e6aacfd4b4034729f60f97c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.sweepMergedPullRequestConfirmations (cyclomatic 33): issue-thread-interactions.issueThreadInteractionService.sweepMergedPullRequestConfirmations has cyclomatic complexity 33 (threshold 15). Of this number, 30 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcaab5445864cf9ebd88d7c053163585d38d9ffa5d7877a2aaf1fe22f3bcb55"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-runner-task.createPluginRunnerTaskOwner.launcher (cyclomatic 33): plugin-runner-task.createPluginRunnerTaskOwner.launcher has cyclomatic complexity 33 (threshold 15). 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 242, 229, 283, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cf3ebbc1b0ef3cb632ff16556e3e00f8af0bf04a826df9be6fd2cd8bfc5166"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-launch-assets.stageRemoteLaunchAssets (cyclomatic 33): remote-launch-assets.stageRemoteLaunchAssets has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 107, stageCodexSkills, a function literal at line 176, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"157f6c34cca04e551c452f29a1cd836c870c4e67fb07aba28884de718c075f65"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.blockedInboxIssueConditions (cyclomatic 33): issues.blockedInboxIssueConditions 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":"server/src/services/issues.ts"},"region":{"startLine":6659}}}],"partialFingerprints":{"codehealthFindingId/v1":"280daadba32a9b362359fb0f82abbefc8c10b520fec527d8a9158bd2db8ce82c"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfers.createPublicMcpTransfers.getUploadUrl (cyclomatic 33): file-transfers.createPublicMcpTransfers.getUploadUrl has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 251, 221). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c085b169b8b6c81d79e967e4e400fd13d6d88df7ba1ff0cb91a5538f19dd389"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-wake-proof.readIdleMcpWakeProof (cyclomatic 33): idle-wake-proof.readIdleMcpWakeProof has cyclomatic complexity 33 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/idle-wake-proof.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8aa5475bbdc49b6603fe929f6f5ee9d90d3997a96d8259bb88567a22ece182"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.pluginUiSlotDeclarationSchema (cyclomatic 33): plugin.pluginUiSlotDeclarationSchema 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/shared/src/validators/plugin.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"774dc514ea6bc66dc295a3e81282e14933322df2cae9171c898665979c9a1c2d"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudCheckpointStore.acquire (cyclomatic 33): CursorCloudCheckpointStore.acquire has cyclomatic complexity 33 (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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f21a5cfc73b80ceda00943875d4d3e75432af95963865c1b2afcde11d208be8"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-metadata-probe.probeCopilotMetadata (cyclomatic 33): copilot-metadata-probe.probeCopilotMetadata has cyclomatic complexity 33 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5224afedf34a7aca73c4e09a655152fe092b8d27e3e1198c0897edc0ddd527"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.executeInSession (cyclomatic 33): plugin.executeInSession has cyclomatic complexity 33 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b3285bea6bda990797a1f63b7b7c75686ddc0879c522814f8f91de02dbb645"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireCheckpoints (cyclomatic 33): native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireCheckpoints has cyclomatic complexity 33 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 8 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6511540503d478ae5150da4e506be3f468bf830d4b96d2a620f63d3c5ee9d6c3"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.tick (cyclomatic 33): native-harness-backup-expiration.nativeHarnessBackupExpirationService.tick has cyclomatic complexity 33 (threshold 15). Of this number, 29 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fe8e267023dbef9505b47d40219a9de38a9b1a4a8862b7fad7c7e2651b0546"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.attentionRoutes (cyclomatic 33): attention.attentionRoutes 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 8 function items inside it that branch (a function literal at line 109, a function literal at line 206, a function literal at line 293, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attention.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e372bf69de65132222c720fd6fae071c5610a461b999c3d43f1b3809903a3"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-git.materializeArchivedGitMigrationSource (cyclomatic 33): remote-workspace-migration-git.materializeArchivedGitMigrationSource has cyclomatic complexity 33 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb2af618de74ee0e5f20d601371e6293128eb8823b386e119dfb66a05d29e5b"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-work.skillPackageWork.retire (cyclomatic 33): skill-package-work.skillPackageWork.retire has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 84, a function literal at line 75, removeLocal, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-work.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3822c62fd0d6dee3d617801f750f347a4823e4b8dc6c4fa34567720e22d4464f"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatorSidebar.CoordinatorSidebar (cyclomatic 33): CoordinatorSidebar.CoordinatorSidebar has cyclomatic complexity 33 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 17 belong to 9 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CoordinatorSidebar.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8306090523b8db6bf257439dcb386bd497bed27a59ae3422b205a9b3b25a16b3"}},{"ruleId":"D1","level":"warning","message":{"text":"SecretPicker.SecretPicker (cyclomatic 33): SecretPicker.SecretPicker has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 286, 265, 166, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/SecretPicker.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e435f52ec822b49039b6ed4906804239af840791a9cb34fc0036da8b0e0a1eb"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatRunnerActivityGroup.ActivityRowContent (cyclomatic 33): TaskChatRunnerActivityGroup.ActivityRowContent 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc12d53e5792fbc50ad0d98be1e2854022921932b03157771febab037f44bf20"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatToolCard.TaskChatToolCard (cyclomatic 33): TaskChatToolCard.TaskChatToolCard 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":"ui/src/components/task-chat/TaskChatToolCard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd65caa35e65e36b550553992452df4be6cba0aec393d0bf14f2d2f1b48d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatActivityPhase.TaskChatActivityPhase (cyclomatic 33): TaskChatActivityPhase.TaskChatActivityPhase has cyclomatic complexity 33 (threshold 15). Of this number, 25 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":"ui/src/components/task-chat/TaskChatActivityPhase.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"697034480bdd7dd9e22860f9e49205a8d26a97035ff8f0aa736cc1525b58d4ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationPlayback.ConversationPlayback (cyclomatic 33): ConversationPlayback.ConversationPlayback has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 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":"ui/src/components/design-sandbox/ConversationPlayback.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d92fcb31cc017e3d2c9372e5b7d25c9d391789ace4fc77a6b2b4c446507ece"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.TranscriptCommandGroup (cyclomatic 33): RunTranscriptView.TranscriptCommandGroup has cyclomatic complexity 33 (threshold 15). Of this number, 23 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9449725a6e55abad1a47105c4b39d31272168585478f0de88592307bc2fcc624"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionResolver.DecisionResolver (cyclomatic 33): DecisionResolver.DecisionResolver has cyclomatic complexity 33 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 16 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":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8689b8cd35b0fdf881d333644f62acc970c412d049d406ce3f9408e1104eae"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentProviderConnection.AgentProviderConnection::connect (cyclomatic 33): AgentProviderConnection.AgentProviderConnection::connect 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: one other method here (AgentProviderConnection.AgentProviderConnection) 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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae0e0ae287f1badac42af1a758dfba43d47148327cfe8473960e285d2018ed8"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerActivityPreview.RunnerActivityPreview (cyclomatic 33): RunnerActivityPreview.RunnerActivityPreview has cyclomatic complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 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":"ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bccbb4bd029d146d73145f151d2a7ebe96e9b346bda9006d5cc6f31f77e31bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentInvitePreview.ExternalAgentInvitePreview (cyclomatic 33): ExternalAgentInvitePreview.ExternalAgentInvitePreview has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 54, 62, 95, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d5c7c211a289378eabb3ec9251b56542478446032a53c87b7fa0a67da85125"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexCommandExecutor::attach_run (cyclomatic 33): CodexCommandExecutor::attach_run 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6108c044ce44570c584baf225b32769df30814c2738cc09f7b2d77bf50ad22cf"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-security-config.normalizedCodexPlatformManifest (cyclomatic 32): codex-security-config.normalizedCodexPlatformManifest has cyclomatic complexity 32 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a212379660fa0035df51574d1dc1b96f898043c2c05881d778ce7a6cbbabfbbb"}},{"ruleId":"D1","level":"warning","message":{"text":"environment.createSanitizedAcpxSpawnInput (cyclomatic 32): environment.createSanitizedAcpxSpawnInput 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/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d4143e195e949e77d59d8a503fde0857a1ff1a3ec011d9a8aa72a509ec705"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityLiveSession.#captureTurnUsage (cyclomatic 32): CapabilityLiveSession.#captureTurnUsage 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":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c18a974500ff8bcd9dbd4eadf75729ac0c7e4ed15556e93ca11316627538b39"}},{"ruleId":"D1","level":"warning","message":{"text":"build-copilot-distribution.readCopilotArchiveEntries (cyclomatic 32): build-copilot-distribution.readCopilotArchiveEntries has cyclomatic complexity 32 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"867884f3c336cba54a6cce24e2e925d98d48513d2d60e0e8dad9327a7443750d"}},{"ruleId":"D1","level":"warning","message":{"text":"verify-runtime.verifyControllerRuntime (cyclomatic 32): verify-runtime.verifyControllerRuntime has cyclomatic complexity 32 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 12 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/paperclip-runner/scripts/controlled-evals/verify-runtime.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"392049f11994510e002cff58893d502894e5c6b38b386737a588b8814497bd6f"}},{"ruleId":"D1","level":"warning","message":{"text":"owner-proof.proveLocalProcessGone (cyclomatic 32): owner-proof.proveLocalProcessGone 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":"server/src/services/owner-proof.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61353d70beb5916571e54da9a0c18dad80461932a5aadc7e341ff3266ddc8e0"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-workspace-recovery-migration.readMigratedLegacyWorkspaceSource (cyclomatic 32): legacy-workspace-recovery-migration.readMigratedLegacyWorkspaceSource has cyclomatic complexity 32 (threshold 15). Of this number, 28 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":"server/src/services/legacy-workspace-recovery-migration.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a29586555fb66128cc6b281f1ac7e2b4a9d7d76f4c6ff9bf34aa73d7b09534"}},{"ruleId":"D1","level":"warning","message":{"text":"native-provider-failure.createNativeProviderFailureObservation.observe (cyclomatic 32): native-provider-failure.createNativeProviderFailureObservation.observe 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":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4ba0795a6e037af48d338fb022e040d7d9c838609ea57bcd5b238187d571ec"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-config.parseManagedEnvironmentsSection (cyclomatic 32): managed-config.parseManagedEnvironmentsSection 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":"server/src/services/managed-config.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6cfccc0a44ea26635e935023d20023e0bc60d3287bbf471c850906bf95f3ec"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.createOAuthDiscovery.discoverOAuthEndpoints (cyclomatic 32): discovery.createOAuthDiscovery.discoverOAuthEndpoints 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5384cea842a2c19ae10fe5dd2f4203e6135819eef98316d6133dc87afec944"}},{"ruleId":"D1","level":"warning","message":{"text":"object-run-log-store.createObjectRunLogStore.read (cyclomatic 32): object-run-log-store.createObjectRunLogStore.read 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a726359d4dae814c37be42322953c19e5b77f20b6576076514ced8cb702225d"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-task-directory-retention.expireIsolatedTaskDirectory (cyclomatic 32): isolated-task-directory-retention.expireIsolatedTaskDirectory has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 237, 295). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a791b59ce27b7887758ecc41583cd07bbebb34a2e2165b344e74dba19d41e27"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.updateFile (cyclomatic 32): company-skills.companySkillService.updateFile has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 4769, 4791). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0b4210e67c405b14c417bdfd751ddcb1bbb90964e0afecfe5655c77da359ab"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-recovery.recoverSkillPackage (cyclomatic 32): skill-package-recovery.recoverSkillPackage has cyclomatic complexity 32 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-recovery.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c952a1923ce0fa9c831b7292c2a351365bc810adef4d3884d294a3c44416d5cb"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.historyEpochBinding (cyclomatic 32): native-harness-filesystem-independence.historyEpochBinding 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbd8ddd6ae933707be895c74e500d69ad8e7061232c2033832eb95040087e2d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-preservation-source.assertSettledNativeHarnessBackupSource (cyclomatic 32): native-harness-preservation-source.assertSettledNativeHarnessBackupSource has cyclomatic complexity 32 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-preservation-source.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2b0558e2a6403cd4bdeeb3dde5301ecac446e7bc1d09226ffcce1ec0734168"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.resolveManagedPaperclipRuntimePublicOrigin (cyclomatic 32): workspace-runtime.resolveManagedPaperclipRuntimePublicOrigin 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5684}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c66004492255b50f88fb36c9a0c55a0b188514bd3e37376bf0cb7333a07016"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-injection-prevention.promptInjectionPreventionService.resolve (cyclomatic 32): prompt-injection-prevention.promptInjectionPreventionService.resolve 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"099aedbaaa4d2b8092172f404b9b4a6f6b254371cd54d46f62a146d910c6073c"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.writeAudit (cyclomatic 32): tool-gateway.createToolGatewayService.writeAudit 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"186216af8259b5d0562b8f74dbf18b611668ae6801c0a2d1573de4f3af9b538c"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-probe.probeAgentDirectory::walk (cyclomatic 32): agent-directory-probe.probeAgentDirectory::walk 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. This shape REPEATS in the file: one other method here (agent-directory-probe.probeAgentDirectory) 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87847970a0d9f8f9574e13b61753b9e3afbda62ba9976d19381d34c02f8d847"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.reconcileActiveRecoveryActions (cyclomatic 32): service.recoveryService.reconcileActiveRecoveryActions 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c9ceb81db65538e6648abe24f2907f7f00c8914dc579bbc11b2022a9559d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-execution-lease.startNativeSessionExecutionLeaseRenewal (cyclomatic 32): native-execution-lease.startNativeSessionExecutionLeaseRenewal 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 5 function items inside it that branch (renew, failed, lose, \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":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"990fe4966c5534f76d8dbb804bdaf138b7fd83e5acc2983bfa908acb1c5c27ea"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-files.archiveList (cyclomatic 32): remote-workspace-files.archiveList has cyclomatic complexity 32 (threshold 15). Of this number, 24 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ecad85a835313f791dac2cea827ae74563d2114276876f0c4bc2f036815c54"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-instruction-revisions.agentInstructionRevisionService.commitInternal (cyclomatic 32): agent-instruction-revisions.agentInstructionRevisionService.commitInternal 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 230, 267, 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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1043ac4b46cf7b94293a3c778e46c97b9f6cd3e78ad0627241d050b08bac3afb"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipControlPlanePort.appendEvent (cyclomatic 32): PaperclipControlPlanePort.appendEvent has cyclomatic complexity 32 (threshold 15). Of this number, 30 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b67b175a7f4e80c1539c2614a584c0785a8adb66a45afe8f8180fac0c1092e5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-finalization-reconciler.registerOwnershipReconciliationWork (cyclomatic 32): native-finalization-reconciler.registerOwnershipReconciliationWork 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 5 function literals inside it that branch (lines 921, 970, 969, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"f122b17f788ccf451ba04550ba00c3bf2c42d886e913525ebb94222e70e1365d"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-limit-resume.requestProviderLimitResumeRetry (cyclomatic 32): provider-limit-resume.requestProviderLimitResumeRetry 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-limit-resume.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"61305efc3a5df0e31974c87409848c170b750cf0d54c375cf0146333ab238f66"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-action-delivery.toolActionDeliveryService.deliver (cyclomatic 32): tool-action-delivery.toolActionDeliveryService.deliver 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 4 function literals inside it that branch (lines 45, 235, 349, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e069703cdf045846d7a14cf669246a5ec993f2f28da88863d59bddfdf86f42"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.createChatPublicationResolution.resolveProviderEffect (cyclomatic 32): resolution.createChatPublicationResolution.resolveProviderEffect 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 3 function literals inside it that branch (lines 476, 354, 341). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae82c23ac97e9197a65187affa73855ee0c4429b603a7bc6f4ac1443f02be73"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.acceptSuggestedTasks (cyclomatic 32): issue-thread-interactions.issueThreadInteractionService.acceptSuggestedTasks has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 12 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 4530). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4431}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6cf3a6cc15af88ba0e81ecce6c1e69bd4407eb30fad531eff64df5c90e217e"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-file-handoff.scrubNativeRunnerStagingResidue (cyclomatic 32): native-runner-file-handoff.scrubNativeRunnerStagingResidue 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74856ff773f0060348acb6f9037c3a7b2d8588be26cb6d30ed63c1d08783b31"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.provenStoppedOwnNativeSession (cyclomatic 32): native-session-executor.provenStoppedOwnNativeSession 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bb1abc21c6ded67a0e5ebe73c5da1de24adea358a4e9246cc6a621c3404eab"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.port.dispatch (cyclomatic 32): native-broker.createNativeExternalBroker.port.dispatch 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 one function literal inside it that branches (line 239). 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7dc8b2ad40fdaad6751eacd1ef4bbc081836cc54f0d03e34c36dcdc0bb9410"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-conversation-lifecycle.readSettlement (cyclomatic 32): slack-conversation-lifecycle.readSettlement 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":"server/src/services/slack-conversation-lifecycle.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a4f096154ec4951ca9e93f5c337fec13905996f6bc710870a76235bf9f8752"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-integrity.commandLease.spawn (cyclomatic 32): installation-integrity.commandLease.spawn has cyclomatic complexity 32 (threshold 15). Of this number, 30 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8616cd8566e1a5e31ab1996239108fcdeff014b767a0fe0c02ec9c46f05bed"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAcpxSession.dispatchTool (cyclomatic 32): CodexAcpxSession.dispatchTool 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a615a748a413cd6476ecd696967661f86971df16d0297f9150a5c08ae0ec19"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact-delivery.recoverPublishedArtifactAliases (cyclomatic 32): artifact-delivery.recoverPublishedArtifactAliases has cyclomatic complexity 32 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb1f0371d6296f97157faaae6a3441396b15e2baa21006a18ed1ff3db1dc6ff"}},{"ruleId":"D1","level":"warning","message":{"text":"PiUiBridge.handle (cyclomatic 32): PiUiBridge.handle has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b1bfc7b11e19bfe69f57d8856d397e64734ff0189fb9c71c90b6cadfb27030"}},{"ruleId":"D1","level":"warning","message":{"text":"app.WikiPage (cyclomatic 32): app.WikiPage has cyclomatic complexity 32 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 14 belong to 9 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9af03d114ca36df4ccc9b2d83575dc3705e31fce32fb824285d1153bdd88e0"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-retention.decisionRetentionService.materializeSourceState (cyclomatic 32): decision-retention.decisionRetentionService.materializeSourceState 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":"server/src/services/decision-retention.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bb2014159b2087b3a48a4e27eeba006f8f32ee3a4dd39fc692d97d61757241"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes::handleAgentHire (cyclomatic 32): agents.agentRoutes::handleAgentHire 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. This shape REPEATS in the file: 6 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":4483}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8290a8ed56c5f183932c6b05d813c9443bcf882c8d99076d41f47629b44802a"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes::handleAgentHire::performHire (cyclomatic 32): agents.agentRoutes::handleAgentHire::performHire 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. This shape REPEATS in the file: 6 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":4671}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0d7a376ebebb07fb1266f8ca585f08c49e6bade1ed6c774253029286c8148a"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-installation-maintenance.skillInstallationMaintenance.installations::convert (cyclomatic 32): skill-installation-maintenance.skillInstallationMaintenance.installations::convert 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04f969e107b2cdb19c9435a98bef4f8041e4cac211c642ad501847c485ebcee"}},{"ruleId":"D1","level":"warning","message":{"text":"CellMarquee.CellMarquee (cyclomatic 32): CellMarquee.CellMarquee has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 89, 61, 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":"ui/src/components/CellMarquee.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b8e1d527ac35f485841214845f17a915f832bd28e54b59d090022a09a535f1"}},{"ruleId":"D1","level":"warning","message":{"text":"useKeyboardShortcuts.useKeyboardShortcuts (cyclomatic 32): useKeyboardShortcuts.useKeyboardShortcuts 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 3 function literals inside it that branch (lines 51, 135, 32). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"609915a3523f6716d76d46a2618f250d73dbd7a4fca43ceff9238bb83825b7ea"}},{"ruleId":"D1","level":"warning","message":{"text":"config-fields.ClaudeLocalAdvancedFields (cyclomatic 32): config-fields.ClaudeLocalAdvancedFields has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a9af00c243740e2a47619e1ec6949b9ea88e4e10d6a2c981e5d5b7f7de63e5"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatPlanPreviewCard.TaskChatPlanPreviewCard (cyclomatic 32): TaskChatPlanPreviewCard.TaskChatPlanPreviewCard 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":"ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b77f9ab5b581238c5e6602c8bcb2ec9856954f0febd119282d8a471e82d9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.SystemNoticeCommentContent (cyclomatic 32): IssueChatThread.SystemNoticeCommentContent has cyclomatic complexity 32 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee1ef75529edef7ca2874b68f75eb3699a2a247fd599a5b3e8f6de094623d88"}},{"ruleId":"D1","level":"warning","message":{"text":"task-side-panel-state.parsePayload (cyclomatic 32): task-side-panel-state.parsePayload 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":"ui/src/lib/task-side-panel-state.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9540dd9ce56cb44d85e0797b76aae8474ddf6d1f8d96e9f11bf68af95154e28f"}},{"ruleId":"D1","level":"warning","message":{"text":"compact.compactAgentConfiguration (cyclomatic 32): compact.compactAgentConfiguration has cyclomatic complexity 32 (threshold 15). Of this number, 25 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":"ui/src/lib/agent-configuration/compact.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"228a823a11a4285f99183c345f94cf08d832606c8923c337fb3b2d70500579dc"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatorReviewPanel.CoordinatorReviewPanelContent (cyclomatic 32): CoordinatorReviewPanel.CoordinatorReviewPanelContent has cyclomatic complexity 32 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorReviewPanel.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"311fd742c8d513370a37e3e658cfe7b782ab0ee2d14d3af03d1a76d415c46f65"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionCloseMenu.AttentionCloseMenu (cyclomatic 32): AttentionCloseMenu.AttentionCloseMenu has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9976c744934b2e0e81ca9681f4a442d8e524607dd2706586c47df29a45504f"}},{"ruleId":"D1","level":"warning","message":{"text":"AggregatorConnectDialog.AggregatorConnectDialog (cyclomatic 32): AggregatorConnectDialog.AggregatorConnectDialog has cyclomatic complexity 32 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 12 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":"ui/src/pages/apps/AggregatorConnectDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44b39997a3331b96cdd93a93c4c8e87ca6087a5d821e03bce8b66819631102f"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentitiesSection.IdentitiesSection (cyclomatic 32): IdentitiesSection.IdentitiesSection has cyclomatic complexity 32 (threshold 15). Of this number, 29 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f34519f0054417f235a0915794ba0889a584c96c3a26851bb5db919328a9aad"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.RunsPane (cyclomatic 32): SkillStudio.RunsPane has cyclomatic complexity 32 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 15 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f5c10bd4d5d342a1067e991383f438913e19f36f4085aa59b88027b3e2fc96"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.RunDetailView (cyclomatic 32): SkillStudio.RunDetailView has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d10c44f41b768e14e27690ecb62d529f39182dc5f1244804dfbc4c5fe8bbb3f"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginPage.PluginPage (cyclomatic 32): PluginPage.PluginPage has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 60, 43, 101, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbd1064d9eecccc3668749f5c36bf00a22868cdecba57c26913ab3d7942f5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditTab.ActivityRow (cyclomatic 32): AuditTab.ActivityRow 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20061843bf48e712731b4f7795f273647d2f0554b73068e22a94071b6b5f772"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::provider_events::project_acpx_state_event (cyclomatic 32): paperclip_runner_core::provider_events::project_acpx_state_event has cyclomatic complexity 32 (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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c6af4c8ba63fb9179c24dca02884eb5907d844c7d4b8b6a0fedbe2afa885c1"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-checkpoint.checkpointMain (cyclomatic 31): workspace-checkpoint.checkpointMain 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 4 function items inside it that branch (walk, walk::capture, walk::flush, \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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"266ce6ee294538b57c9cab35ad697aa9401a43a1cb546d43d0fcec54e50fab1e"}},{"ruleId":"D1","level":"warning","message":{"text":"ssh.parseSshRemoteExecutionSpec (cyclomatic 31): ssh.parseSshRemoteExecutionSpec 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/adapter-utils/src/ssh.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6e6cb95cc29220d17ef2de846bff4bfcca2ac371c662e9072727614862ff5f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-session-terminal.mapTerminalTurn (cyclomatic 31): codex-session-terminal.mapTerminalTurn 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/paperclip-runner/src/drivers/codex/codex-session-terminal.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f644820e6c7687c85583f4b8601dd8c84d847a2bb391d49e3fbc4e17b4a82"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#handleDecryptedFrame (cyclomatic 31): DurablePrpControlPlane.#handleDecryptedFrame 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12647f53e888974ce616eb1655aa7c69b82f2e6ebc582cd5a9441a6c46cfeeb"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-media-intake.mp4Kind::scan (cyclomatic 31): chat-telegram-media-intake.mp4Kind::scan 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba62f6809ba382a869f07911da352e2e15eab05e9858aaf8670150b304e1254"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-consent.classifyTeamsUploadResponse (cyclomatic 31): chat-teams-file-consent.classifyTeamsUploadResponse 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"316dcc14290eebb494320ad95fe157850fa1684a648f8d0445b726159c7071a4"}},{"ruleId":"D1","level":"warning","message":{"text":"onboarding-first-task-admission.readHumanDecision (cyclomatic 31): onboarding-first-task-admission.readHumanDecision 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":"server/src/services/onboarding-first-task-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb9d5766b569308561917be43f70adfda6d696aea7962e1af96af0baa414995"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.resolveSecretValueInternal (cyclomatic 31): secrets.secretService.resolveSecretValueInternal 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":"server/src/services/secrets.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b70e6d24c6c01f5da7eeb5bfca51ab4d554ca032ea83466654714c4191a883"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.resolveRuntimeSkillSource (cyclomatic 31): company-skills.companySkillService.resolveRuntimeSkillSource 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":"server/src/services/company-skills.ts"},"region":{"startLine":5999}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cac2264d67f719cab2b3501bcff61a2558759bd8876786f6769eabd3ab74e10"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.runTestToolInvocation (cyclomatic 31): tool-gateway.createToolGatewayService.runTestToolInvocation 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d30ccbbf2ce5ab308d98cb257192ac572b85c301ebd48990c4da30dd9b5314"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.request (cyclomatic 31): execution-workspace-repositories.executionWorkspaceRepositoryService.request has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 166, 187, 193, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"201a5efbb654da204bc4694165ad8a90443c9ff7db38d3d973c191be4a7eb064"}},{"ruleId":"D1","level":"warning","message":{"text":"explicit-native-continuation.readTaskRetryRetryAuthority (cyclomatic 31): explicit-native-continuation.readTaskRetryRetryAuthority 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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e73acc65e396af452a4e594400678be15311398bbd9b66b9d6ec47ffc239103"}},{"ruleId":"D1","level":"warning","message":{"text":"native-cancellation-request.claimCancellationRequest (cyclomatic 31): native-cancellation-request.claimCancellationRequest has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 161). 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":"server/src/services/native-runtime/native-cancellation-request.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa03ff3749e0066a969eeea9a3be7b3186733b715800278454d3e1d989107d4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-board-response-wait.readNativeBoardResponseWaitSource (cyclomatic 31): native-board-response-wait.readNativeBoardResponseWaitSource 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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a228068fc912575526572fd1829f5d99e697a2014ba9da1347e60fa4a878cf"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.mergeCoalescedContextSnapshot (cyclomatic 31): run-preparation.mergeCoalescedContextSnapshot 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e70f11dae62059190464771f1c1bed013bb66861f2193d8a2e0714e6de4cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-invariant.waitingReason (cyclomatic 31): assigned-work-invariant.waitingReason 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367238097d1c5533d71b71d3181259f86084ed960273e149930fc5120dd1a36"}},{"ruleId":"D1","level":"warning","message":{"text":"use-cases.createRecordWatchdogDecision.recordWatchdogDecision (cyclomatic 31): use-cases.createRecordWatchdogDecision.recordWatchdogDecision 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":"server/src/modules/active-run-watchdog/application/use-cases.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0951768923030a0ba7e5f61afc6c0e6756e9740cebac33b6a7ec67fbed628de7"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-storage.uploadWorkspaceSnapshotTimed (cyclomatic 31): remote-workspace-snapshot-storage.uploadWorkspaceSnapshotTimed has cyclomatic complexity 31 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 10 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f70bb14c5a9cee5a85d376b6b631721546a88fa8ce7557653751e43dc1171c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-export-recovery.recoverCandidate (cyclomatic 31): native-workspace-export-recovery.recoverCandidate has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 42, 62). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-recovery.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6583a201ce388e700cc1909ca7fd38b7ca3159a2433c2127c8bc9c02c90773"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch-work.registerRunDispatchWork (cyclomatic 31): dispatch-work.registerRunDispatchWork has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 42, 65, 26, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/dispatch-work.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"225f1fec3d29a6039eb35aec6abd61288c35e8b531708e56d635e89e265b6e74"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.createTelegramMaintenance.repairTelegramStopSubscription (cyclomatic 31): maintenance.createTelegramMaintenance.repairTelegramStopSubscription has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 812, request, plainObject). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc6fe84ea2b33b1a8a57c1990fbee3c69134473987c54b640345f8d2634b9b"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.assertFailedNativeRetryState (cyclomatic 31): failed-run-retry.createChatFailedRunRetry.assertFailedNativeRetryState 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"546e5c1781fb90ba6491dda30e4c662b883c189b18a2ed0f3004724bd85f7669"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-drafts.createTelegramPublicationDrafts.handleTelegramGenerationStopped (cyclomatic 31): publication-drafts.createTelegramPublicationDrafts.handleTelegramGenerationStopped 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 one function literal inside it that branches (line 104). 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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0bedf52d74e9cc47d5559687039876b52b71cd0a3d57ac072dafebe92beae2"}},{"ruleId":"D1","level":"warning","message":{"text":"session-stop.slackSessionStopPayload (cyclomatic 31): session-stop.slackSessionStopPayload 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"505987f2bc42e8368ff03a9a83a09e40a05aabf848b51a42f970e5696b24ab83"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-transport.captureReadOnlyWorkspaceArchive (cyclomatic 31): remote-workspace-transport.captureReadOnlyWorkspaceArchive has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (inspect, a function literal at line 523, same, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70ceff24871de77a7bea513c60b2d7cff6fd2b5f7348d9e6d8303098829dda"}},{"ruleId":"D1","level":"warning","message":{"text":"native-provider-pack-admission.rememberRecoveredNativeProviderPack (cyclomatic 31): native-provider-pack-admission.rememberRecoveredNativeProviderPack has cyclomatic complexity 31 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c163e8ac564a232612f3b0b23bdb5a3b54fff244903db00fe1d23d18150d79d4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-file-handoff.stageNativeRunnerWakeAttachments (cyclomatic 31): native-runner-file-handoff.stageNativeRunnerWakeAttachments 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ba2d09fce132edb63bf8075994786760d3f59a949635b033b80c44fda0efe"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#callApi (cyclomatic 31): PaperclipRunnerToolAuthority.#callApi has cyclomatic complexity 31 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 9 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6bd5ff64edc6c84d7626f89a23c179e22d6a15db52bdad09faf5eb032cb503"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.resolveNativeBilling (cyclomatic 31): native-session-executor.resolveNativeBilling 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13946}}}],"partialFingerprints":{"codehealthFindingId/v1":"408393f682d48d213b9152f669344fa6ed9ed857162b928159342fea49ea34d7"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.exchangeAuthorizationCode (cyclomatic 31): oauth.createPublicMcpOAuth.exchangeAuthorizationCode 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 one function literal inside it that branches (line 372). 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e79f0d61f49048fcd2c91152208d74c2ac94fcab1f4f591914d5f38a85e7a7"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.token (cyclomatic 31): oauth.createPublicMcpOAuth.token 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15a1b5a65a963a720eb5261b8b4b15352830a6e1c174c42fe31c6e84b46e54b"}},{"ruleId":"D1","level":"warning","message":{"text":"frontmatter.parseYamlBlock (cyclomatic 31): frontmatter.parseYamlBlock 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/shared/src/frontmatter.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"986d0a0459496f7f9194f61affa75ae8113098e06279fa97ca9813df00b31b30"}},{"ruleId":"D1","level":"warning","message":{"text":"installed-provider-authority.resolveInstalledProviderAuthority (cyclomatic 31): installed-provider-authority.resolveInstalledProviderAuthority 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/paperclip-runner/src/drivers/acpx/installed-provider-authority.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7c7c2017b5b5abf168e419c1c314e28035848754930ee9f2006d00d28635d7"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.handle (cyclomatic 31): cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.handle 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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bc0239990abcd2dcd7ffab22ee22784f27f8b6940254335716aa997fc4f984"}},{"ruleId":"D1","level":"warning","message":{"text":"events.createPublicMcpEvents.start (cyclomatic 31): events.createPublicMcpEvents.start has cyclomatic complexity 31 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e8a9deabbd5ab6e25088d1de5edea0e44e0ef6d06d0009f2ad4f897c29b13b"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-runner-probe.probePluginRunnerEnvironment (cyclomatic 31): plugin-runner-probe.probePluginRunnerEnvironment 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":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e89eee9f96cadbd24737f088dc4606079047796745a18232468d873b5e87e40"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes::assertSelectableAdapterType (cyclomatic 31): agents.agentRoutes::assertSelectableAdapterType 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. This shape REPEATS in the file: 6 other methods here (agents.agentRoutes, agents.agentRoutes::applyHiringAgentAuthInheritance, agents.agentRoutes::validateManagedAgentBinding, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ae626d43b110bfd7ec4876e8a0ffed43dac701d2472236f76fb0f8a72a994e"}},{"ruleId":"D1","level":"warning","message":{"text":"api-compression.apiCompression.\u003Creturned closure\u003E (cyclomatic 31): api-compression.apiCompression.\u003Creturned closure\u003E has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 183, a function literal at line 167, a function literal at line 208, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/api-compression.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8eee8b4fdfa1a7c3c9ffa3aa68e160374d10a485a63c22fee26219dba0cd0c"}},{"ruleId":"D1","level":"warning","message":{"text":"online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoverySource (cyclomatic 31): online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoverySource 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecf7ab4076847a4d37b35369fec4ed5b6b2117848c301e44e31a03cc07f6722"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarCompanyMenu.BuiltinCompanyMenu (cyclomatic 31): SidebarCompanyMenu.BuiltinCompanyMenu has cyclomatic complexity 31 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6a3c3e2721e604b6af451cd6efa5fedeb25aa5d3bf77a68bf3f96a9f4e35e8"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-filters.applyIssueFilters (cyclomatic 31): issue-filters.applyIssueFilters has cyclomatic complexity 31 (threshold 15). Of this number, 22 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":"ui/src/lib/issue-filters.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8962365dfb39ecbce0017d05ed1ce1c26c6a6e2d7483cbd42295ab4821ed6ac"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateSecretPopover.SecretPopoverForm (cyclomatic 31): CreateSecretPopover.SecretPopoverForm has cyclomatic complexity 31 (threshold 15). Of this number, 23 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":"ui/src/components/environment-variables-editor/CreateSecretPopover.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d4daf18b163f1b3c0c41ec62b066f23eb46fb15115db0b713ec5597e4a304a"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery-lineage.readRecoveryRetryLineage (cyclomatic 31): recovery-lineage.readRecoveryRetryLineage 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":"ui/src/lib/recovery-lineage.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6d2a6a38040d31b4a8cdee795817980ec59995b74a27091d6edfd1b73b25bb"}},{"ruleId":"D1","level":"warning","message":{"text":"board-send-draft.readBoardSendDraft (cyclomatic 31): board-send-draft.readBoardSendDraft has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/board-send-draft.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ca56a6ad35ead9479436700326b310ef23401f767605c011fc975e45c374a8"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailEndpointSetup.EmailEndpointSettings (cyclomatic 31): EmailEndpointSetup.EmailEndpointSettings has cyclomatic complexity 31 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebd493d5c776c1d969bf7505fc9e8fd7d4035635a5ac9727517f99eb6652fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubBotManagement.GitHubRepositoryAccess (cyclomatic 31): GitHubBotManagement.GitHubRepositoryAccess has cyclomatic complexity 31 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 12 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faf8364da5407f55e96a363768ed5fa3cf52d9c1912002bc487ac3164d75280"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.SkillCard (cyclomatic 31): CompanySkills.SkillCard has cyclomatic complexity 31 (threshold 15). Of this number, 28 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"537f610c1d6343c46e6de0a7a8d4eaacaab4f37cd9daf2e73478cc9acac7ffa2"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.NewSkillWizard (cyclomatic 31): CompanySkills.NewSkillWizard has cyclomatic complexity 31 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 9 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c10c88077b705f31d2e9f0357557066bae03a7c66b04927d2d4e8aee6fb304"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportFromVaultDialog.SelectStep (cyclomatic 31): ImportFromVaultDialog.SelectStep has cyclomatic complexity 31 (threshold 15). Of this number, 24 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"205cca47c8df2ea5200c39576a09fbed7b820d8d9e4e56e5cce14bc69e6eb281"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentSetup.Setup::preparedConfig (cyclomatic 31): NewAgentSetup.Setup::preparedConfig 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::saveDraft, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9cbe46c60da80c279132cfc387654b8d3a49ecde42c4cbe02e8f54a90ed186"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.NewSkillWizard (cyclomatic 31): CompanySkills.production.NewSkillWizard has cyclomatic complexity 31 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 9 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97606885888f769e4a2665271a43b7e5f456d6c6b72cb6006dca5b05a18e75b"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactFileRow.ArtifactFileRow (cyclomatic 31): ArtifactFileRow.ArtifactFileRow 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/v1/ArtifactFileRow.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc2ddf8f4a2e5a3643d204ab6ac108b86461c9a379f62a71a50422acfc89d73"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatQueuedMessages.SortableQueuedMessage (cyclomatic 31): TaskChatQueuedMessages.SortableQueuedMessage 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":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d1bda36c2b235522af3fdc029893cecca7cd71e09d71ca2aa01501dc47f208"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.printAcpxStreamEvent (cyclomatic 30): cli.printAcpxStreamEvent 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc6ef26c316a2cbac137cb22411b16949003e7d734be7b090faccdb4266903e"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-seed-cache.readWorkspaceSeedGeneration (cyclomatic 30): workspace-seed-cache.readWorkspaceSeedGeneration has cyclomatic complexity 30 (threshold 15). Of this number, 26 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"39224193691da8bb4a251ac0ec070373f88664628e7d2e25a12d5d74ad81dbaa"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.#pumpEvents (cyclomatic 30): OpenCodeHarnessSession.#pumpEvents 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e03b05abb4c89a1ac91ee9fb78c7a4305d097dc3eac1717c9efac4d27dfc5e"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#handleSemanticToolInput (cyclomatic 30): DurablePrpCodexTransport.#handleSemanticToolInput has cyclomatic complexity 30 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cbfeb02b65019568d96390396d909273dab4aac35fbafc8e6599bd1455efc8"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityLiveSessionService.create (cyclomatic 30): CapabilityLiveSessionService.create 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb40363484a5b7731585c90d07837d917f1bc0d35b15bdc2c8b415a2a33cf72d"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-copilot-binary.writeCopilotMaterialization (cyclomatic 30): materialize-copilot-binary.writeCopilotMaterialization has cyclomatic complexity 30 (threshold 15). Of this number, 25 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/paperclip-runner/scripts/materialize-copilot-binary.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea4dc23aaaa61dda8afbe50f09a67ed287131817f884990dbcc0c0e155ce0c9"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-publication-projection.projectCard (cyclomatic 30): chat-publication-projection.projectCard 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":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6795f4c41582d724493b90008e35bc77718baa5b9b9a85677d73de1d0202e7d3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-rich-intake.normalizeTelegramRichMessage::media (cyclomatic 30): chat-telegram-rich-intake.normalizeTelegramRichMessage::media 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 (chat-telegram-rich-intake.normalizeTelegramRichMessage::block) 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":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b056b94c5151974feffc2e7382e67e9fc57654fc5850e97e3ea2dcc0085e7734"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-task-resume.resumeRefusal (cyclomatic 30): plugin-task-resume.resumeRefusal 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":"server/src/services/plugin-task-resume.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e931ad412df320fdad7cb6b3f750bd3ec8adb4b8161f3dcf140043e4cc22641e"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector-enrollment.startPaperclipCloudConnectorEnrollmentUnlocked (cyclomatic 30): paperclip-cloud-connector-enrollment.startPaperclipCloudConnectorEnrollmentUnlocked 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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a69b65941c95bc5dd07d6a1ffedeaf129ba3e3d3e7e2a436f57add73e6ce3d"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.createToolCatalogDiscovery.discoverSkills (cyclomatic 30): discovery.createToolCatalogDiscovery.discoverSkills has cyclomatic complexity 30 (threshold 15). Of this number, 27 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a170525934baab70038580c6d195657bb6437383ed21314a5bbcd04ea3e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"form-owner.stageSlackFormOwnerConfiguration (cyclomatic 30): form-owner.stageSlackFormOwnerConfiguration 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bce42ec0d5c5b35940edd4b8c7d72abe0ec595570419649702d35862b662189"}},{"ruleId":"D1","level":"warning","message":{"text":"native-startup-cleanup.verifyNativeStartupCleanup (cyclomatic 30): native-startup-cleanup.verifyNativeStartupCleanup has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 171, read, stopped). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-startup-cleanup.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc5e440044226f099870b9192de6046b392765b4845f44a1bf20dcbeb57e197"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-archive-source.assertSettledControllerArchiveSource (cyclomatic 30): native-controller-archive-source.assertSettledControllerArchiveSource 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":"server/src/services/native-runtime/native-controller-archive-source.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc8903761fd693ca208de27be87e4aceb7d1b7743c7234188352aec8fb804d2"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-storage.persistNativeHarnessBackupOnce (cyclomatic 30): native-harness-backup-storage.persistNativeHarnessBackupOnce has cyclomatic complexity 30 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"279a9d898a0bc773a30425d15a3c4851ef01a8ba692780683720a4660e8bff54"}},{"ruleId":"D1","level":"warning","message":{"text":"timer-policy.createHeartbeatTimerPolicy.readTimerHeartbeatSchedules (cyclomatic 30): timer-policy.createHeartbeatTimerPolicy.readTimerHeartbeatSchedules has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9310126576a7a825d4e67ab339154b147fc3dfc9d639b6c61c0fd75f1a344d44"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-base-ref-diagnostics.readWorkspaceBaseRefDiagnostic (cyclomatic 30): workspace-base-ref-diagnostics.readWorkspaceBaseRefDiagnostic 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":"server/src/services/workspace-base-ref-diagnostics.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f507b8b98e2ec07696fcf75dbc5ce086ec63289049c476ae8ef127118cb2f28f"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.spawnLocalRuntimeService.readiness (cyclomatic 30): workspace-runtime.spawnLocalRuntimeService.readiness 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7245cfb3a1a21781f829384db4373cf0f09d8cc9fa8798c0743f8fe7701a1e59"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.startRuntimeServicesForWorkspaceControlInvocation (cyclomatic 30): workspace-runtime.startRuntimeServicesForWorkspaceControlInvocation 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d3aa3a7ab7b785c6377bb783269790b1b2040e0a901ee6b3386f596572fd73"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.resolveClaudeRunnerConfig (cyclomatic 30): agent-runner-selection.resolveClaudeRunnerConfig has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4543183f517aa263e2962a9fca8b0f2619bdd6821abb2182d61428a255363290"}},{"ruleId":"D1","level":"warning","message":{"text":"costs.createCostEventInTransaction (cyclomatic 30): costs.createCostEventInTransaction 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":"server/src/services/costs.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"47af914e352323c0336039c1e03030ac267cddb1446d46fcbbae2b31ea936dbf"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.argumentFiltersMatch (cyclomatic 30): tool-access-policy.argumentFiltersMatch 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"06054663d32574e9876dc79695eb505be2820c66939829a30f879c9578006d22"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-run-publications.githubRunReplyState (cyclomatic 30): chat-run-publications.githubRunReplyState 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6622ed6d770ef85a2f9727ea58753a3fb65faae6aae799b95adfd8254ddec5f6"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.pollStoredMcpTask (cyclomatic 30): tool-gateway.createToolGatewayService.pollStoredMcpTask has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":7650}}}],"partialFingerprints":{"codehealthFindingId/v1":"983580e00ecea8630e1e6fc5e06ead62b5483f99d789ec7b85f93034139dd8d5"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.inspectGitCloseReadiness (cyclomatic 30): execution-workspaces.inspectGitCloseReadiness 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6604b22bb0d12bb5f78096dc2ec55e7b8e74b8540f207f79cf61f89d5e4193"}},{"ruleId":"D1","level":"warning","message":{"text":"blocker-stall-wakeups.wakeWaitersOfStalledIssues (cyclomatic 30): blocker-stall-wakeups.wakeWaitersOfStalledIssues has cyclomatic complexity 30 (threshold 15). Of this number, 26 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":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba080398890aeab50c03d389019e854d309a50c716d6ee725fdddfbe21ecef45"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-invariant.evaluateAssignedWork (cyclomatic 30): assigned-work-invariant.evaluateAssignedWork has cyclomatic complexity 30 (threshold 15). Of this number, 22 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be8ef477910b2242a5f28d2b89a77e2837391f82c91c8940bb04c777f5d8ede"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-workspace-rehome.rehomeOne (cyclomatic 30): legacy-workspace-rehome.rehomeOne 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":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3397be214a67a3bc1e7d42474a266fe6f72c28f9a3c339128ce06ae44b74b84"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-handoff.buildNativeSessionHandoff (cyclomatic 30): native-session-handoff.buildNativeSessionHandoff has cyclomatic complexity 30 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-handoff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6c8de9e37d62d894eb806b9b21e2a271fc5edd867ae2cecd6219855edc8397"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-command-registration-store.reconcileStoredDiscordCommandRegistration (cyclomatic 30): chat-discord-command-registration-store.reconcileStoredDiscordCommandRegistration has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c7d4ffe82bdf395be816b0a2dd41696325d344cb1bf3e2535c79d9e5d07625"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.authorizeFailedChatRunRetry (cyclomatic 30): failed-run-retry.createChatFailedRunRetry.authorizeFailedChatRunRetry 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfdffbd516de1ee43c5120fcfa21793310df8de74a71045260530477dbe1b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"file-receipts.createSlackFileReceipts.lockSlackFileReceiptAuthorization (cyclomatic 30): file-receipts.createSlackFileReceipts.lockSlackFileReceiptAuthorization 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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0632205dfbc4d84dd889fe6f1ffd28611dcbd3d2481a922d083717c5ed993f"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-app-discovery.discoverExecutorApps (cyclomatic 30): aggregator-app-discovery.discoverExecutorApps 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1b799190136ceddf36392f6bdda9ba891a790f796ff9645c76109aedd54c15"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-opencode-artifacts.prepareRemoteOpenCodeArtifacts (cyclomatic 30): remote-opencode-artifacts.prepareRemoteOpenCodeArtifacts has cyclomatic complexity 30 (threshold 15). Of this number, 20 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":"server/src/services/native-runtime/remote-opencode-artifacts.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0a1d29135ee546b17d77b59f98e670f89d24dfc84253167ffe9a282d7cdd65"}},{"ruleId":"D1","level":"warning","message":{"text":"openapi.resolveOperationAuthLevel (cyclomatic 30): openapi.resolveOperationAuthLevel 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":"server/src/routes/openapi.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc2bdc722f94c15b7d51a30c13bafa018cded1a7d9ef228eda7005ca71db8c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-skill-library-tools.executeSkillLibraryTool (cyclomatic 30): native-skill-library-tools.executeSkillLibraryTool has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 113, 133). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-skill-library-tools.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec62aa29a71207f8c68d3e01681301104e3d5fe29fe28a38b78ec533c683c8e4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyRemoteRunnerReattachment (cyclomatic 30): native-session-executor.verifyRemoteRunnerReattachment 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15305}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe54b17c00b4421ac3cf3f29b4cc65cf2da57a0067f0d213787a02d7790b6f"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.retireQuiescedSaves (cyclomatic 30): remote-workspaces.retireQuiescedSaves 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d1d9d86fd2c8d5d05cb99707b482517a946e37626c9d206a77d6e15994b7c6"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-skills.checkMcpSkillEntry (cyclomatic 30): mcp-skills.checkMcpSkillEntry has cyclomatic complexity 30 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/mcp-skills.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"43259a97169fc51635227c4581cfe7f14d2a4b4920b890cca08ed8c2260d9cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"publish-runner-protocol-eval-history.validatePublicProtocolEvalReport (cyclomatic 30): publish-runner-protocol-eval-history.validatePublicProtocolEvalReport 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/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3306994519520d01d1d59e565eabc86f70853c0c633f0114959fee1b62cccd2"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-session.boundedEvalSessionUsage (cyclomatic 30): eval-session.boundedEvalSessionUsage has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92fd9f09fa691134e2d8ea5b4e78910115388c8063cf3cdd45903ba9d48bcfa"}},{"ruleId":"D1","level":"warning","message":{"text":"app.ProvenanceDrawer (cyclomatic 30): app.ProvenanceDrawer has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3737}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c35a6e051669523ee1dbefb7f6aa190fc8cf22723615d7d941319575efaa55"}},{"ruleId":"D1","level":"warning","message":{"text":"archive-stream.streamSandboxArchive (cyclomatic 30): archive-stream.streamSandboxArchive 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 3 function items inside it that branch (a function literal at line 83, transfer, a function literal at line 111). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/sandbox-providers/daytona/src/archive-stream.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fe456f2cc03a01569edbfbd3578c8704e6e0059a59b2f1565b302e9dee9e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"pod-exec.execInPodStreaming (cyclomatic 30): pod-exec.execInPodStreaming 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 8 function literals inside it that branch (lines 338, 380, 351, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c7906989b16ae00b459e4856eedf980a05acbe18589c495f82686a5f62b2fd"}},{"ruleId":"D1","level":"warning","message":{"text":"ephemeral-migration-data.migrateEphemeralServerData (cyclomatic 30): ephemeral-migration-data.migrateEphemeralServerData 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":"server/src/maintenance/ephemeral-migration-data.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b52c750f159560135af3604ab20d2dec826a40037bdc47847f3f231613fb448"}},{"ruleId":"D1","level":"warning","message":{"text":"StarToggle.StarToggle (cyclomatic 30): StarToggle.StarToggle has cyclomatic complexity 30 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/StarToggle.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6494e3548b0b0a711ed6eadd352d496293bf2cfb56b2ef81e4d0237ecdc57"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionCredentialStep.SubscriptionConnectionStep (cyclomatic 30): AiConnectionCredentialStep.SubscriptionConnectionStep has cyclomatic complexity 30 (threshold 15). Of this number, 25 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":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"601272313b906303b6d36440fca11c625ea697e07df90cb57dcd43570bd3c175"}},{"ruleId":"D1","level":"warning","message":{"text":"config-fields.GeminiLocalConfigFields (cyclomatic 30): config-fields.GeminiLocalConfigFields has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 11 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":"ui/src/adapters/gemini-local/config-fields.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12d484ae8f03d5f10a2e8c0080a638ab371ac50f75b2b65f45d56b19e52b24b"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarCompanyMenu.production.BuiltinCompanyMenu (cyclomatic 30): SidebarCompanyMenu.production.BuiltinCompanyMenu has cyclomatic complexity 30 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"213388ab2d2cc00b7b296e19a5accdbb30312063e7fc92f88cdffa2f208a4ca8"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow-sort.workflowSort (cyclomatic 30): workflow-sort.workflowSort has cyclomatic complexity 30 (threshold 15). Of this number, 21 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":"ui/src/lib/workflow-sort.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc2d127cf950faede4e3101dc2349b62ad23db94789e15c527cffcb70eaeb02"}},{"ruleId":"D1","level":"warning","message":{"text":"DispositionRecoveryNotice.DispositionRecoveryNotice (cyclomatic 30): DispositionRecoveryNotice.DispositionRecoveryNotice has cyclomatic complexity 30 (threshold 15). Of this number, 25 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"478811a7be22301d798f7e5bfebad422b5b93f69fe00b82bc2f9d5b47a428b54"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-events.runtimeRequestEntry (cyclomatic 30): native-run-events.runtimeRequestEntry has cyclomatic complexity 30 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"339215eec9fae84e106db755f771ed58797d4ce663bfef0b1edeee95754f6eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"Timeline.Timeline (cyclomatic 30): Timeline.Timeline has cyclomatic complexity 30 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 12 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":"ui/src/pages/Timeline.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1764542acefa67ec7ee9feb5a9c116630d5e1505061b897e361c2e5edd7d33a"}},{"ruleId":"D1","level":"warning","message":{"text":"save.planInstructions (cyclomatic 30): save.planInstructions 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"649ef89871f61929d8221a522eaef80b8f7222c7f3151c5e5705637512a9f86a"}},{"ruleId":"D1","level":"warning","message":{"text":"TokensPanel.TokensPanel (cyclomatic 30): TokensPanel.TokensPanel has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 358, a function literal at line 393, a function literal at line 110, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"82913b35d2b7d4b1b705c1b9967c917e0ca0414da1ad0b68de37b27c784bdb47"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileSettings.ProfileSettings (cyclomatic 30): ProfileSettings.ProfileSettings has cyclomatic complexity 30 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProfileSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dd0d0dedfe60923800aea005c8e5bf9272dab1d7f0273bc047626af329a8b9"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyExport.filterPaperclipYaml (cyclomatic 30): CompanyExport.filterPaperclipYaml has cyclomatic complexity 30 (threshold 15). Of this number, 26 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7384bb61db97434baa8106530914ef032753dde1ea951df2b462d51e873685"}},{"ruleId":"D1","level":"warning","message":{"text":"cron-readable.describeCron (cyclomatic 30): cron-readable.describeCron 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":"ui/src/lib/cron-readable.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42120328528d6f420d4c1a9ea299038cba3a7541db287338275a556d8d657a1"}},{"ruleId":"D1","level":"warning","message":{"text":"editable-sections.production.OverviewSection (cyclomatic 30): editable-sections.production.OverviewSection has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 178, 192, 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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a9d6590b7b90e7ef3fadaa8c366e7a36eb3896815e2de6b3771267a41f87c1"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatCompactInteractionCard.ReceiptDisclosure (cyclomatic 30): TaskChatCompactInteractionCard.ReceiptDisclosure has cyclomatic complexity 30 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d883b47983a1ac6a1003881896e28d6b1318f848c10e4b6891c1bf866af325"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialTaskPage.CredentialTaskPage (cyclomatic 30): CredentialTaskPage.CredentialTaskPage 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 3 function literals inside it that branch (lines 70, 17, 99). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/credential-access/CredentialTaskPage.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08dab36d6fecaf3751c6dd25083cd8c1009a2412ef47b7950ca711a8510c945"}},{"ruleId":"D1","level":"warning","message":{"text":"DurableRunnerConfig::validate (cyclomatic 30): DurableRunnerConfig::validate 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/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d373daec7b4fe982c126962bd7bb623afac4653a43a4936ade75ce82791eda"}},{"ruleId":"D1","level":"warning","message":{"text":"context.upsertProfile (cyclomatic 29): context.upsertProfile 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":"cli/src/client/context.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fa6291cb5924aac3f4e375cf8ad7984db2c8da899ab1a46754b487cf2da0b4"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-sync.integrateImportedGitHead (cyclomatic 29): git-workspace-sync.integrateImportedGitHead has cyclomatic complexity 29 (threshold 15). Of this number, 26 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89e9185b4ee86d73df545879a7527d5229fff4477e6c2f2186d2e0db6fb1a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-observability.buildProviderObservabilityLaunch (cyclomatic 29): agent-observability.buildProviderObservabilityLaunch 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/adapter-utils/src/agent-observability.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb299e01d28ae9b2dce70558a5cf97fbc18db3b60f960e9e4d0dce316a9faa4"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-token-runner.runSetupTokenLogin (cyclomatic 29): setup-token-runner.runSetupTokenLogin 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 4 function items inside it that branch (onData, submitCode, captureCredential, \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/adapters/claude-local/src/server/setup-token-runner.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6309cd3d5045f618c8e5d68c3eb16447f70a9b0bce8468a4b9cc4ae9569284"}},{"ruleId":"D1","level":"warning","message":{"text":"build-config.buildClaudeLocalConfig (cyclomatic 29): build-config.buildClaudeLocalConfig 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":"packages/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cde6cc6310db93c52e56ca26a49441bf119c1e431194959187af922e896732"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printCodexStreamEvent (cyclomatic 29): format-event.printCodexStreamEvent 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"375b8b3fad06176b861bb58c25b10c721390d47c0917e6260113cdbd1826fc69"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseAssistantMessage (cyclomatic 29): parse-stdout.parseAssistantMessage 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aa93c737f38827a4bfcc6b8e5695b8cae50504c30a3862449023875890b8a3"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-events.boundedAcpMeta::visit (cyclomatic 29): provider-events.boundedAcpMeta::visit 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983595d6b2267b434a094859bc0e3035433545362f90dff04d75a796a87cf34"}},{"ruleId":"D1","level":"warning","message":{"text":"harness-driver.parseHarnessRuntimeRequestResolution (cyclomatic 29): harness-driver.parseHarnessRuntimeRequestResolution 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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4c7e82916db5b2337a63c24c67723add3cf9c31e374c304733cbb3493ebb1c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-question-forms.parseFormField (cyclomatic 29): chat-question-forms.parseFormField 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d4a8dadbc3527856c8b79ffb1965e49629aa80cc1ab37fd75b2343e704b22"}},{"ruleId":"D1","level":"warning","message":{"text":"PhotonCloudClient.allocation (cyclomatic 29): PhotonCloudClient.allocation 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":"server/src/services/photon/cloud.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"675d6f94f8a65de40c3a8ea8f5fc6f2b8225c28e372b319d759355982f98aa0c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-media-intake.oggOpus (cyclomatic 29): chat-telegram-media-intake.oggOpus 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d2b020172a9bf0634a69ec9ab27e30109483116ca2ff27ef300f2781c199bc"}},{"ruleId":"D1","level":"warning","message":{"text":"s3-multipart.putS3Multipart (cyclomatic 29): s3-multipart.putS3Multipart has cyclomatic complexity 29 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 14 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":"server/src/storage/s3-multipart.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"934677b85b8c55191169ae89ad67aa219232d7106f71dcc2a881addfbcc0ada5"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-http.readMcpHttpResponse (cyclomatic 29): mcp-http.readMcpHttpResponse has cyclomatic complexity 29 (threshold 15). Of this number, 18 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":"server/src/services/mcp-http.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33111c67d0b66c518f10ddd8ec8c307c46fe7aa0d219fad545d1c90aacc4925"}},{"ruleId":"D1","level":"warning","message":{"text":"form-owner.reconcilePendingSlackFormWork (cyclomatic 29): form-owner.reconcilePendingSlackFormWork has cyclomatic complexity 29 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5543a8b8d65acd8ce812b3f1e2faf2d2351d3571df5e51322c08e39ef72f0a04"}},{"ruleId":"D1","level":"warning","message":{"text":"publications.createPhotonPublicationDelivery.deliverPhotonPublication (cyclomatic 29): publications.createPhotonPublicationDelivery.deliverPhotonPublication has cyclomatic complexity 29 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 10 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":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c2debc2451f02ea801c238c4538faf756f8084c8423f5006aafdd734b4a656"}},{"ruleId":"D1","level":"warning","message":{"text":"run-origin.sourceMessageWalk (cyclomatic 29): run-origin.sourceMessageWalk 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":"server/src/services/chat-channels/run-origin.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"82060cbe6f0c53d9f9dcb66485085dc526cc9b4e95c3a0f3bf9a7d877f588f9b"}},{"ruleId":"D1","level":"warning","message":{"text":"cancelled-native-startup.hasSettledFailedPreparationEvidence (cyclomatic 29): cancelled-native-startup.hasSettledFailedPreparationEvidence has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5995cf0d02374cc0e5ff3aea389c931725e0d12a40cd4048fbc2fba6ed5000"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.classifyWorkspaceRestorationError (cyclomatic 29): git-workspace-restoration.classifyWorkspaceRestorationError has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cce1480f7dd6d3f93538a13d45fb9a72f8fdbc5f2ddc558a81fa97b48653f0c"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-skills.mcpSkillsService.applyEntry (cyclomatic 29): mcp-skills.mcpSkillsService.applyEntry 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":"server/src/services/mcp-skills.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef662ece0f69855236a8353d8da9937656cf9bcc35f94b766ec77cb0b1548f76"}},{"ruleId":"D1","level":"warning","message":{"text":"project-environments.projectEnvironmentOptions (cyclomatic 29): project-environments.projectEnvironmentOptions 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":"server/src/services/project-environments.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"60abebe9969c217553e0eadca9546613b7ea1a9ac68e70bb4e59c5c6cab67e97"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.list (cyclomatic 29): company-skills.companySkillService.list has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 7 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3411, 3391, 3364). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dc34a821a885aeffb2d3b0a1466f37ff6e53c2c893824aa0ad338825c5a809"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.upsertImportedSkills (cyclomatic 29): company-skills.companySkillService.upsertImportedSkills 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":"server/src/services/company-skills.ts"},"region":{"startLine":6391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dfb1c4e1e0ad2e5f53bc2612e25761ec43e921697f3f500dbb0b9670446acd"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-git-snapshot.runGit (cyclomatic 29): skill-source-git-snapshot.runGit 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 13 function literals inside it that branch (lines 139, 78, 91, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c555ef200f309cfb6093ef3f2e80ae91a021dd81b122c0469ef5beefcf4b631"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-sync.skillSourceSyncService.importBinding (cyclomatic 29): skill-source-sync.skillSourceSyncService.importBinding has cyclomatic complexity 29 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-sync.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0145fb4501f819492955c1164273617d2127d17c173588ae812833592abd62db"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.buildTestCallStatus (cyclomatic 29): tool-gateway.createToolGatewayService.buildTestCallStatus 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10821}}}],"partialFingerprints":{"codehealthFindingId/v1":"964f4c3c5012f23acff712f671220ffe0095073dde2dde41039711c407bfa666"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.updateNamedGateway (cyclomatic 29): tool-gateway.createToolGatewayService.updateNamedGateway has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 11121). 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8580023346dcb514e4b2f4f1ea6baff7a62f6833a3600f4637cc32eb431fd3b1"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-interaction-delivery.recheckQueuedRunInteractions (cyclomatic 29): agent-interaction-delivery.recheckQueuedRunInteractions has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 273). 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e2cd79984960a95052663478559ffb2e688e1c8ce2df41135211d20ba9d562"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-writer-hold.readRemoteWorkspaceWriterHold (cyclomatic 29): remote-workspace-writer-hold.readRemoteWorkspaceWriterHold has cyclomatic complexity 29 (threshold 15). Of this number, 26 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":"server/src/services/remote-workspace-writer-hold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b3a41f52b1d525b684bd8149d733c2b7d721dc017ce5ad9d9fec5de4af5d81"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.releaseEnvironmentLeasesForRun (cyclomatic 29): run-control.createHeartbeatRunControl.releaseEnvironmentLeasesForRun has cyclomatic complexity 29 (threshold 15). Of this number, 27 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6892b28f9f5056753608578a6052cd9b408c3c9bd32f5257ea2d8ab231d12bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.resumeRetryableNativeProcessSessions (cyclomatic 29): recovery.createHeartbeatRecovery.resumeRetryableNativeProcessSessions has cyclomatic complexity 29 (threshold 15). Of this number, 25 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"185d42bc71deff69ac2da3e7eeb66e888fa73d85c472ccd94d9d36cb8fedc114"}},{"ruleId":"D1","level":"warning","message":{"text":"queue.createHeartbeatQueue.runQueuedDispatchPass::claimQueuedRunsForAgent (cyclomatic 29): queue.createHeartbeatQueue.runQueuedDispatchPass::claimQueuedRunsForAgent 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabb8cce943be3af525b1cea57dbed4c767e159aba62153459e5d4cab96390a3"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.terminalizeRunOnLeaseRelease (cyclomatic 29): run-lifecycle.createHeartbeatLifecycle.terminalizeRunOnLeaseRelease 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"593b1b292b66c2ef4d1cbdf3ea43733329432116925086e3a02fb5a8ed161ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-warm-session-recovery.inspectRemoteWarmSessionRecovery.revalidate (cyclomatic 29): remote-warm-session-recovery.inspectRemoteWarmSessionRecovery.revalidate 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":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"776027b0044e12ceeb725f2b3b8a3a75f9e47b3ca348e2964a8d1a527b80536c"}},{"ruleId":"D1","level":"warning","message":{"text":"receiver-work.registerChatReceiverWork (cyclomatic 29): receiver-work.registerChatReceiverWork 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 5 function literals inside it that branch (lines 41, 68, 40, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/runtime/receiver-work.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"173828b3acf043d1af1e9bceeec63ab834be596dd6f5d06f82cbbd712f757ee9"}},{"ruleId":"D1","level":"warning","message":{"text":"gateway-events.createDiscordGatewayEvents.processDiscordGatewayEvent (cyclomatic 29): gateway-events.createDiscordGatewayEvents.processDiscordGatewayEvent has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 7 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 118). 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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e7a8dd67a2ca19a13ab1e4989aafae9a5469cd54f59fe50c604f0bc8f4ec80"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-enrollment.reconcilePendingSlackCloudEnrollments (cyclomatic 29): cloud-enrollment.reconcilePendingSlackCloudEnrollments has cyclomatic complexity 29 (threshold 15). Of this number, 22 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da8e5e31e872c7d031a833b58e0c2a1c356477087f6a66cafaf848f3d2bae80"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-prp-outbound.connectRunnerPrpIngress (cyclomatic 29): runner-prp-outbound.connectRunnerPrpIngress 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 one function literal inside it that branches (line 358). 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":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c899c3f957610bcc5932432f3720f27e420d0da716ebd35b03b724d20aede3e"}},{"ruleId":"D1","level":"warning","message":{"text":"retained-provider-pack-oci.receiveRetainedProviderPack (cyclomatic 29): retained-provider-pack-oci.receiveRetainedProviderPack has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabba6eda0a278b2a83d4dd0e873bdc109d1aeeb28eea38cdd6533625f2a48e8"}},{"ruleId":"D1","level":"warning","message":{"text":"project-tools.callProjectTool (cyclomatic 29): project-tools.callProjectTool 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":"server/src/services/project-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbef66aef07d4b0b6ee8bd70798e32e9fb959029a3a2021282309fb74343f1ea"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.readSettledRunnerdProjection (cyclomatic 29): native-session-executor.readSettledRunnerdProjection has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5947}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d509631fdddd827a54c602619d52af30cb22543b472820ae93fe5e5a0fcb8d2"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.refreshFinishedPerTurnRunnerdProjection (cyclomatic 29): native-session-executor.refreshFinishedPerTurnRunnerdProjection 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 one function literal inside it that branches (line 7492). 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7488}}}],"partialFingerprints":{"codehealthFindingId/v1":"be830b09b907bffcb480a26ea9f39604e9c4e5b486f20b7ed242c378323084e8"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyStagedRemoteRunner (cyclomatic 29): native-session-executor.verifyStagedRemoteRunner 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, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d457bd197cd5558ab1043fdeeffb25ce62a70da446804320002e4bbc6952cfb3"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-antigravity-distribution.antigravityDistribution (cyclomatic 29): materialize-antigravity-distribution.antigravityDistribution has cyclomatic complexity 29 (threshold 15). Of this number, 26 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"045eb3a804096355571a20867aa2c083246c567ae9247cb52ee7989cc0ec4258"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-eval-history-view.renderProtocolEvalHistoryIndex (cyclomatic 29): runner-protocol-eval-history-view.renderProtocolEvalHistoryIndex has cyclomatic complexity 29 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 11 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/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2f1237a4ddf8296ecca5bbf7185e9875d983f644068cd70dd3c2614149ca11"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.#observe (cyclomatic 29): CursorCloudSession.#observe 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7612291eca4c496e2b7e03f84cc8f140c8e53f23e398f0b1546668107885fc"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-gateway-runtime.prepareEvalGatewayRuntime (cyclomatic 29): eval-gateway-runtime.prepareEvalGatewayRuntime 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/cli/eval-gateway-runtime.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d252f1c34d73147d4cd670cf36100b05ac34983c19ff96db2f57d4de4892aef4"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-creation-cleanup.readEnvironmentCreationCleanupError (cyclomatic 29): environment-creation-cleanup.readEnvironmentCreationCleanupError 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, name the conditions: bind each compound test to a well-named local or 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/plugins/sdk/src/environment-creation-cleanup.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78d1abc21a60a23933accad5be4c43b7a9f73c49da5d251dfc7e7b9a5969275"}},{"ruleId":"D1","level":"warning","message":{"text":"subscription-report.subscriptionCostReport (cyclomatic 29): subscription-report.subscriptionCostReport 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 2 function literals inside it that branch (lines 26, 110). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/subscription-report.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7004c0fe574c867f384eee85c11401dfea792b64c652fc49de6ca3267155d5ed"}},{"ruleId":"D1","level":"warning","message":{"text":"billing-reconciliation.billingReconciliationService.adjust (cyclomatic 29): billing-reconciliation.billingReconciliationService.adjust 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 one function literal inside it that branches (line 113). 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea173abaa0f28864193529dccf70b20e9072a5eb0bdc3f38f86f11c2cecf98"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::lockQueuedCommentState (cyclomatic 29): issues.issueRoutes::lockQueuedCommentState 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. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":7942}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20abe614a0f7ad5f6b4b49f90607ca62659b069799ab0cc1112cf954762c033"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-timer-schedule.readIdleAgentTimerSchedule (cyclomatic 29): idle-timer-schedule.readIdleAgentTimerSchedule 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":"server/src/services/heartbeat/idle-timer-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05f7d1487e93c77b9964e6031ba852e87b4450a31b30866b20b72813aa53b53"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-host-services.clampProviderSpanAttributes (cyclomatic 29): plugin-host-services.clampProviderSpanAttributes 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"8173ba230ebf138eab5af75252f4ebcda3ac7ebcf6a14c5c41741d169f9c5950"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentInviteContent.DotConnectionChecks (cyclomatic 29): ExternalAgentInviteContent.DotConnectionChecks 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 one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc4f0392e6f92b16d34bf69c02967e88fee831321ac4c556e471f7c5d9c2343"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarRecentTasks.RecentTasksList (cyclomatic 29): SidebarRecentTasks.RecentTasksList has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 253, toggleTaskPause, submitRename, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarRecentTasks.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1b9e81837aa6c35bb53232643d525dbd039acd54adc27a28a4d7077de9ddc6"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionCredentialStep.ApiKeyConnectionStep (cyclomatic 29): AiConnectionCredentialStep.ApiKeyConnectionStep has cyclomatic complexity 29 (threshold 15). Of this number, 23 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":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7133d8e3d2c19bf02aa9b1d0e7d53b1b7bce481c3e6134d1ca082d9f2f7bee"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parseItemEvent (cyclomatic 29): index.parseItemEvent 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"165035bbe6000a3ce5b4d47b99046f7f3f134001faea82bc1f247c399c098926"}},{"ruleId":"D1","level":"warning","message":{"text":"index.runtimeRequestEntry (cyclomatic 29): index.runtimeRequestEntry has cyclomatic complexity 29 (threshold 15). Of this number, 26 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab85ed6ce24af232faf12e5f1dd1f6807af8f9363c6bce5d297ad1f2ab2e4a6"}},{"ruleId":"D1","level":"warning","message":{"text":"Inbox.FailedRunInboxRow (cyclomatic 29): Inbox.FailedRunInboxRow 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e52495655a8d70d007a405553dafb1e494815a9903b932c5e08cbcbb01b5ef"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.resolveVisibleIssueRouteContext (cyclomatic 29): LiveUpdatesProvider.resolveVisibleIssueRouteContext has cyclomatic complexity 29 (threshold 15). Of this number, 23 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f216db47547ad1d697db08a4b5e38816e07b654307cf9effa3b1d1daa65280b6"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.paperclipRunnerActivityItems (cyclomatic 29): transcript-adapter.paperclipRunnerActivityItems 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 2 function literals inside it that branch (lines 1480, 1478). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"536c862425ba6edb8cd5d744dd6dafa92e9561d367436808b2094770051ff863"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatThreadView.TaskChatThreadView (cyclomatic 29): TaskChatThreadView.TaskChatThreadView 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 5 function literals inside it that branch (lines 356, 398, 377, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ecc7b2707cc2f2b62b09e387ff827f28ffaa42c645333d216217ea58e2b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"save.planSecrets (cyclomatic 29): save.planSecrets 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 (a function literal at line 86, assertBindingsCurrent, env, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"666670a7ebb8659767c54babb23958f24d9eaf01ed7ac4f5b25c83abb43d1147"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchResultRow.SearchResultRowImpl (cyclomatic 29): SearchResultRow.SearchResultRowImpl 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":"ui/src/components/search/SearchResultRow.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"79419918c63aedbb0a77a083d33801007cc6be299a4e117e931a8d1d4687edd9"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionHistory.DecisionHistoryTable (cyclomatic 29): DecisionHistory.DecisionHistoryTable 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 one function literal inside it that branches (line 14). 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":"ui/src/components/decision-models/DecisionHistory.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"32edeec514cbb49f6914313ecae2d1aa2ee9ed287ed7db7c2ded4b417a969965"}},{"ruleId":"D1","level":"warning","message":{"text":"CoordinatorNeedsYou.CoordinatorNeedsYou (cyclomatic 29): CoordinatorNeedsYou.CoordinatorNeedsYou 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 (CoordinatorNeedsYou.CoordinatorNeedsYou::renderCard) 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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd34ea508599fd0636e490b32523e6856eb79fa8cc430033dd9a4b1f57ec15a"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectedAppSkills.ConnectedAppSkillsList (cyclomatic 29): ConnectedAppSkills.ConnectedAppSkillsList has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skills/ConnectedAppSkills.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ef879aeb999318b2968fcb053cd8ffa63f4ce6ac0e334f41823cb9720e840f"}},{"ruleId":"D1","level":"warning","message":{"text":"InstanceExperimentalSettings.InstanceExperimentalSettings (cyclomatic 29): InstanceExperimentalSettings.InstanceExperimentalSettings has cyclomatic complexity 29 (threshold 15). Of this number, 23 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":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff04df09bda5f253d1de0867ea125208fe118ae737cf8c2839c637b14f7108f2"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedAiConnectionDetails.ManagedAiConnectionDetails (cyclomatic 29): ManagedAiConnectionDetails.ManagedAiConnectionDetails has cyclomatic complexity 29 (threshold 15). Of this number, 24 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":"ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"584b7d16c0dee9a7631461e0987e0a8767b154168e5fec91834c8fd7088df89e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.OAuthConnectStateScreen (cyclomatic 29): ConnectionSetupFlow.OAuthConnectStateScreen 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d9c8bcb2bba97b1924bb3ed6a9a2c01f8560f2f443c76dd663834bf6d089f0"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceConsent.ServiceConsent (cyclomatic 29): ServiceConsent.ServiceConsent has cyclomatic complexity 29 (threshold 15). Of this number, 23 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":"ui/storybook/prototypes/google-workspace/ServiceConsent.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7de47b1a3e704cc2e0f63c998df5820b349320f29fc2cfd4fdf422bd7ece401"}},{"ruleId":"D1","level":"warning","message":{"text":"work-journey.GrokWorkJourney (cyclomatic 29): work-journey.GrokWorkJourney 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":"ui/storybook/stories/agents/grok-bot/work-journey.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2bf5f63f980db5d8e5bf404b61bfcf97622412424eb6f5bede1c67d759eaa9"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxCommandExecutor::attach_run (cyclomatic 29): AcpxCommandExecutor::attach_run 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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99a6a55ceef4c75fb4ce8e4740bc7d598b442c78edc808aa94c405c78910847"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedDurableState::validate (cyclomatic 29): ManagedDurableState::validate 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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cce72d548ed7cb047c5732980c5f7fc9e4475cd8939cfa0363a76b149057e9"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::provider_backend::normalize_provider_notification (cyclomatic 29): paperclip_runner_core::provider_backend::normalize_provider_notification 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"10607c64415c687a8234357e9dae20817d194fb81703fa1787d560e7359a4848"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::tool_file_changes::codex_turn_diff_snapshot (cyclomatic 29): paperclip_runner_core::tool_file_changes::codex_turn_diff_snapshot 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/paperclip-runner/runner/crates/runner-core/src/tool_file_changes.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"173f044728a37162d0478d42d6ba977f27c19fed7663dd27df01a58868cd3bea"}},{"ruleId":"D1","level":"warning","message":{"text":"configure.configure (cyclomatic 28): configure.configure 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":"cli/src/commands/configure.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acc4de7b31d23f1b8937302a57bb48a824ef53049326ea52f466ea4a27db6e8"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-seed-cache.publishWorkspaceSeedGeneration::capacity (cyclomatic 28): workspace-seed-cache.publishWorkspaceSeedGeneration::capacity has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (workspace-seed-cache.publishWorkspaceSeedGeneration) 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0175b414df1a55b3d9dae3fe755f2a9c3fdcef146b74c1e4ce7f44d3ba81afc"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-home.seedManagedCodexHome (cyclomatic 28): codex-home.seedManagedCodexHome has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"240ecaf034c77c6ad404b00c85a386b774e57d8858aca297f75170cab0d81258"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::toResult (cyclomatic 28): execute.execute::toResult has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (execute.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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b14233e28ded09f305dc332d2d1e788838e3dffea6f090395fdfbe3a4c4bf"}},{"ruleId":"D1","level":"warning","message":{"text":"migration-compatibility.classifyDoBlock (cyclomatic 28): migration-compatibility.classifyDoBlock 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/db/src/migration-compatibility.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77a54df1578230d12bd5ea8f7b487675f5cc61d8b569a3203ef1e346c559603"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-failure.generated.readProviderFailure (cyclomatic 28): provider-failure.generated.readProviderFailure 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/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5535f20d9ff89b2a91eacc345cc4d8f790462b720a76f90c83036ac39058f91"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.completedMaintenanceTerminalReceipt (cyclomatic 28): runnerd-codex-transport.completedMaintenanceTerminalReceipt 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09a37afd604e23a32d9d13dec1aff71ebd68d50fae96455672f6f8fccdead6e"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-failure.generated.readProviderFailure (cyclomatic 28): provider-failure.generated.readProviderFailure 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/shared/src/provider-failure.generated.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16e4a10a00c4cca23559f2c4d70e2566d4fa9985b3f0037a1dd8030875ff8d8"}},{"ruleId":"D1","level":"warning","message":{"text":"index.vercelClient.send (cyclomatic 28): index.vercelClient.send has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca1c386395f179006f055e7cf049524eae22707ea1a172714bcf2d33adc5b2"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-provider-lifecycle.parseSlackLifecycle (cyclomatic 28): chat-provider-lifecycle.parseSlackLifecycle 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"987627046df7208b8ba760fd665b05a58947b8dd698c1d5c54783c356da450b3"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-repository-rehome.cleanupRehomedSource (cyclomatic 28): isolated-repository-rehome.cleanupRehomedSource has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"6536bd09972ad1c02bb9a29832cc473342c09059a46465f6c576dcdb8d858cb9"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-injection-provider.runPromptInjectionProvider (cyclomatic 28): prompt-injection-provider.runPromptInjectionProvider has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-injection-provider.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d5d5828052706b7dcf536b4bccefaec89d0b54f47ce903f8e2e260ca23340f"}},{"ruleId":"D1","level":"warning","message":{"text":"projects.projectService.update (cyclomatic 28): projects.projectService.update has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 989, 1037, 1069). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"b371a7b277d3ff1a6046b7ea919697706344fdf6e4015ce83dc26168d6c4e4e3"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-repository-dependencies.skillRepositoryDependencies (cyclomatic 28): skill-repository-dependencies.skillRepositoryDependencies has cyclomatic complexity 28 (threshold 15). Of this number, 18 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":"server/src/services/skill-repository-dependencies.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531eb0423b94bbbabcf674aaeecfd20fb3669511572bfb073654de9e1794d58"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-migration.preservedActiveCheckpoint (cyclomatic 28): native-controller-migration.preservedActiveCheckpoint 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b516f1e5fe1aa2337ef91268fb825114ca22fbdb18f6df74ea3f47f9fb56c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.environmentRuntimeService.flushDeferredOrphanCleanups (cyclomatic 28): environment-runtime.environmentRuntimeService.flushDeferredOrphanCleanups has cyclomatic complexity 28 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4420}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a40d1f5376669f988211416a25b797262d8c577b736c0d09d53fb1836f85a7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.agentRunnerAvailability (cyclomatic 28): agent-runner-selection.agentRunnerAvailability 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6dd2a569e72424cec8d72d812f41e5ef2c85d0cf7921b174f9dcc334a12e81"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.scopeAllowsTool (cyclomatic 28): tool-access-policy.scopeAllowsTool 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"672a7883d39ea845cf52f83fd1b70e45e6e8725d4644effaa5627014ec638f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-access.authorizeSlackChannel (cyclomatic 28): slack-access.authorizeSlackChannel 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":"server/src/services/connectors/slack-access.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94ae5022c0743e088c6e4bf8e4e6f61cc5ec1ed36dcd337ac1a207d71963fd8"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-mcp-tools.createAssignedMcpTools (cyclomatic 28): assigned-mcp-tools.createAssignedMcpTools 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. This shape REPEATS in the file: one other method here (assigned-mcp-tools.createAssignedMcpTools::search) 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6452b269871e62831974087200b5d20aa245149532332ae07e26e9675dfc3f3"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.findToolForSession (cyclomatic 28): tool-gateway.createToolGatewayService.findToolForSession has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db684bd8374cb0a245da6097915efb36841bf47df2d79b65a065de96fa60474"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeTestCall (cyclomatic 28): tool-gateway.createToolGatewayService.executeTestCall has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":11772}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a0be68955a01a220330fe3db9de6c099e87c7cdd199741b1de2289ff17486"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.preserveWorkspaceMetadataForPatch (cyclomatic 28): execution-workspaces.preserveWorkspaceMetadataForPatch 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a67a35a06e35f51844e29a0d732e034f88a4e5828c0b8da429195624a225e4"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.assessDelivery (cyclomatic 28): execution-workspaces.executionWorkspaceService.assessDelivery has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2b81ff2f8860668f92a5772305234f636bdd22dd4691a163bacaa22b363edd"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.usableConnectionForAgent (cyclomatic 28): connection-intents.connectionIntentService.usableConnectionForAgent has cyclomatic complexity 28 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 12 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":"server/src/services/connection-intents.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f3f55f7f647dd4362e5fe64ba37fdf820345419a9df2ba3222a8dcc0d6f26d"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-receipts.createRunUsageRecorder.capture (cyclomatic 28): usage-receipts.createRunUsageRecorder.capture has cyclomatic complexity 28 (threshold 15). Of this number, 24 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc38711db5d1f0d3c1d36c47ec63012866958dcf9288140800312340999f3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.decideReleaseRecovery (cyclomatic 28): policy.decideReleaseRecovery 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":"server/src/modules/wake-queue/domain/policy.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55754e462357c6efbfc6ee5244e19544d95c14ac0bf6d74adda6a65c2f6d030"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery.reconcileRetainedWorkspaces (cyclomatic 28): workspace-recovery.reconcileRetainedWorkspaces has cyclomatic complexity 28 (threshold 15). Of this number, 20 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"3812545c083662a06f97d40f3491106da779a4fb3eec7fe31170395216c9e157"}},{"ruleId":"D1","level":"warning","message":{"text":"run-scratch.sweepOrphanedRunScratch (cyclomatic 28): run-scratch.sweepOrphanedRunScratch has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-scratch.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c155fd9552a18beba1610fbe2b481a89537dd141981fca1da6b829b7eefbb3"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-observability.agentObservabilityService.configure (cyclomatic 28): agent-observability.agentObservabilityService.configure has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 77, 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":"server/src/services/agent-observability.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"016dbed618fd589329fa39745be64338b10c5fa0f46fe62017fcfd5ad0480f9f"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-reply-push.pushVoiceReplies (cyclomatic 28): voice-reply-push.pushVoiceReplies has cyclomatic complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 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":"server/src/services/voice/voice-reply-push.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8933b62e6fca4efd87c85510cd308f5b68241b10fbdcbe503a372fe5f0e1cce7"}},{"ruleId":"D1","level":"warning","message":{"text":"manager-grants.createSlackManagerGrants.complete (cyclomatic 28): manager-grants.createSlackManagerGrants.complete 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 3 function literals inside it that branch (lines 103, 128, 108). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/manager-grants.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"05402afd7ac29cf2ce9bed0211c8d020dac29acf77cc3599b737ba678def9ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.createSlackCommands.handleSlackSlashCommand (cyclomatic 28): commands.createSlackCommands.handleSlackSlashCommand has cyclomatic complexity 28 (threshold 15). Of this number, 21 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":"server/src/services/chat-channels/slack/commands.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7649d9e2f007b1bc417a63bdc758a0b879bac38c390782272b78251f61f5feaa"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-services.createSlackSetupServices (cyclomatic 28): setup-services.createSlackSetupServices has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 10 function items inside it that branch (a function literal at line 42, a function literal at line 77, linkSlackAccount, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/setup-services.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"463b4e2fa5416fa0888ae157d0d377aba5bd58effabdbaeb6a854cc6e5223803"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.createChatMessageLifecycle.recordLifecycleDelivery (cyclomatic 28): lifecycle.createChatMessageLifecycle.recordLifecycleDelivery 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 one function literal inside it that branches (line 173). 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff27490ac9d318dddbefe7d2423ba0a86eb3272a8122aa5af41ed8fed2d685c"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook-callbacks.createSlackWebhookCallbacks.recordSlackWebhookCallback (cyclomatic 28): webhook-callbacks.createSlackWebhookCallbacks.recordSlackWebhookCallback 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 one function literal inside it that branches (line 62). 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":"server/src/services/chat-channels/slack/webhook-callbacks.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b1d120c0f90dee968f402656ffb6188ec06bdc89f0e4960ddb2774bb77e271"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.listGitHubRepositories (cyclomatic 28): tool-access.toolAccessService.listGitHubRepositories has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 4347, 4398, 4445, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":4342}}}],"partialFingerprints":{"codehealthFindingId/v1":"272f19db8bea7371c28ab7cb54a5b8f03dc183c5cdfe18740e08cd5c4e733eb8"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-execution-recovery.legacyExecutionNeedsReconciliation (cyclomatic 28): legacy-execution-recovery.legacyExecutionNeedsReconciliation 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58e2ebc229722cf0a813383a4cc58411ca642d1a57ecaef80c15cbd7ee62fb4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyRemoteRunnerOrSettledExit (cyclomatic 28): native-session-executor.verifyRemoteRunnerOrSettledExit 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15504}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0cd04f7acd2e705b8cc27854f6df620dade17e5d18a3c161d94a1754548628"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.persistRemoteRunnerCheckpoint (cyclomatic 28): native-session-executor.createRunnerdBackendWithinSessionClaim.persistRemoteRunnerCheckpoint has cyclomatic complexity 28 (threshold 15). Of this number, 17 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17881}}}],"partialFingerprints":{"codehealthFindingId/v1":"969bff992e67e5784e0f001cb12318b0ce75f5ba4e1e55072235c352cb2a9ad3"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-lifecycle.isCaseHandoffSourceReleased (cyclomatic 28): case-handoff-lifecycle.isCaseHandoffSourceReleased 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a340170942860bb7fa8ef4962d9d73d1c6320acc09aaa0ff76bb47cef10a1654"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.reserveNativeOperation (cyclomatic 28): native-broker.createNativeExternalBroker.reserveNativeOperation has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to one function literal inside it that branches (line 134). 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7492f3c7afef7f01562e2552e8cb1683b0bdd6ac5468142e8ce57f6e29fc148c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-restart-recovery.classifyNativeRunnerRecoveryEvidence (cyclomatic 28): native-restart-recovery.classifyNativeRunnerRecoveryEvidence 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b54e8ffb1d98f4c36a2ad4b347895d8a73f302c47eee70f56f0ed965942b42e"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-testops.inspectSelection (cyclomatic 28): runner-protocol-testops.inspectSelection has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"781d8c616235c81de944e04cceb9d963116fe3f274483d92d1c93f121bfb031d"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-message-projection.createPiMessageProjection.normalize (cyclomatic 28): pi-message-projection.createPiMessageProjection.normalize 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/paperclip-runner/src/drivers/acpx/pi-message-projection.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3231e976ea7848d20a34cbb5890cb069a3684b2dace2578966429284da0983"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-instructions.createKimiInstructionAdmission.createGuard.\u003Creturned closure\u003E (cyclomatic 28): kimi-instructions.createKimiInstructionAdmission.createGuard.\u003Creturned closure\u003E 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/paperclip-runner/src/drivers/acpx/kimi-instructions.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae501e8ede13bf7df72d702f34ded4c151f511ebb3a083246325f830eb4edee"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-auth.validateAntigravityAuthorizationUrl (cyclomatic 28): antigravity-auth.validateAntigravityAuthorizationUrl 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b018d42dbc0e9e863e84ff792bd28a1ad165373fe4993b5dbab32fe6bf2958"}},{"ruleId":"D1","level":"warning","message":{"text":"harness-driver-backend.isBoundedPersistedJson::visit (cyclomatic 28): harness-driver-backend.isBoundedPersistedJson::visit 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f8efa02ffb00d1f5aecaa6ba504efe2fde20a8e0544a6ff9b357a680faf65"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.initialize (cyclomatic 28): CursorCloudSession.initialize has cyclomatic complexity 28 (threshold 15). Of this number, 19 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b2dc1be36149583430beddf16e0d6234d5fae3b103c8dcf413d636dff4b6fc"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-sidecar.sanitizeRuntimeEvent (cyclomatic 28): acpx-runtime-sidecar.sanitizeRuntimeEvent 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39fc47530b58d9d466ef828b1d4f324e83d5362e2e806e36064784f0a00dd68"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-semantic-tool-runtime.commandForOperation (cyclomatic 28): capability-semantic-tool-runtime.commandForOperation 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a2724112c3b0aeb1590f8f1303974bb2ca631a9416dfab268f5f68344c47ba"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.syncInFileMappings (cyclomatic 28): file-sync.syncInFileMappings has cyclomatic complexity 28 (threshold 15). Of this number, 21 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":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6af261d4122663a0c871310242c56b477d10f27d1d794a70bc161fad566e65"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.syncOutDirectoryMapping (cyclomatic 28): file-sync.syncOutDirectoryMapping has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 1408, 1411, 1457, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"88795e9e0b2c33e76c29aff0a20e918a7dc0497fc368a593863e6b4fe55ca4b8"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-update-diff.lineDiff (cyclomatic 28): skill-update-diff.lineDiff has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 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":"server/src/services/skill-update-diff.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"53db200b5ce38a7ca1736a6b651413c13af2491ec6873dc3806239045e002e45"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.handleMcpGatewayProtocol (cyclomatic 28): tool-gateway.handleMcpGatewayProtocol has cyclomatic complexity 28 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab18eaa18949ae1b895e829b2377f7570071408ae2f4788250b17491140df39"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-host-services.recordWorkerProviderSpan::visit (cyclomatic 28): plugin-host-services.recordWorkerProviderSpan::visit 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a71e12c5ae8130d67aa86642bd3ebed46bc124f2dfe638232864b46c60b720d"}},{"ruleId":"D1","level":"warning","message":{"text":"assignees.suggestedCommentAssigneeValue (cyclomatic 28): assignees.suggestedCommentAssigneeValue has cyclomatic complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 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":"ui/src/lib/assignees.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8e6093080f9b0c1bcf9dd8e737badbb99771586d13d53ae7663aa4cdf086ce"}},{"ruleId":"D1","level":"warning","message":{"text":"NewProjectDialog.NewProjectForm (cyclomatic 28): NewProjectDialog.NewProjectForm has cyclomatic complexity 28 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewProjectDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b1e91486cb88877f2a3bc361ff0816dbf7cd24edc8702f0bec7d8fc3d7b666"}},{"ruleId":"D1","level":"warning","message":{"text":"NewGoalDialog.NewGoalDialog (cyclomatic 28): NewGoalDialog.NewGoalDialog has cyclomatic complexity 28 (threshold 15). Of this number, 14 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":"ui/src/components/NewGoalDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"180cd784a7fcbbe1587fcb56539fcf21b04f32a33ae6cf8f82bf4f9f1bdead6c"}},{"ruleId":"D1","level":"warning","message":{"text":"issueDetailCache.isCompleteIssueSnapshot (cyclomatic 28): issueDetailCache.isCompleteIssueSnapshot 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":"ui/src/lib/issueDetailCache.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f37c3c0aa3e5c7392998fa71fae4dabe625006021b259bc801f8cac59b0cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarStarredProjects.SidebarStarredProjects (cyclomatic 28): SidebarStarredProjects.SidebarStarredProjects 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 6 function literals inside it that branch (lines 106, 57, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a480dac64c9f58ee4f9d5ee50b708e2ef532c54fe5b9a95c89a2e99694eaba41"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarShell.SidebarShell (cyclomatic 28): SidebarShell.SidebarShell has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 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":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb0d9f7f1c3be57e21fcfb0b882def8109ff9a12ab7514038d9667a11df3796"}},{"ruleId":"D1","level":"warning","message":{"text":"useLocalAiLogin.useLocalAiLogin (cyclomatic 28): useLocalAiLogin.useLocalAiLogin 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 3 function literals inside it that branch (lines 51, 30, 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":"ui/src/components/ai-connections/useLocalAiLogin.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0d4c1f1df917762fd18f4a0c496f7f5389abe33db33206815349c92cdf09cb"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarStarredProjects.production.SidebarStarredProjects (cyclomatic 28): SidebarStarredProjects.production.SidebarStarredProjects 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 6 function literals inside it that branch (lines 106, 57, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"097bcac2d22ec99e6c1cf6ba29e9c5ad4edda0e125ca4d4181fce4877e0d0e88"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueRecoveryActionCard.NativeControllerContainmentRecovery (cyclomatic 28): IssueRecoveryActionCard.NativeControllerContainmentRecovery has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3494c6941aa1161d3a41faed2c17f98c6a807484f5f257f8a618e4a331bcbfe"}},{"ruleId":"D1","level":"warning","message":{"text":"task-chat-adapter.commentsToTaskChatItems (cyclomatic 28): task-chat-adapter.commentsToTaskChatItems 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":"ui/src/components/task-chat/task-chat-adapter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"072e96aa0332105bbc0bf5a9ce98fe30ce1b422df0b7a0c50cf634a858edcfbd"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.ToolActionResolution (cyclomatic 28): IssueThreadInteractionCard.ToolActionResolution 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1aa33649fdfcffca31161491bd8866a8b1caec99f03e2b32e02b961765859a"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatLiveRunPill.TaskChatLiveRunPill (cyclomatic 28): TaskChatLiveRunPill.TaskChatLiveRunPill 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":"ui/src/components/task-chat/TaskChatLiveRunPill.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4148d5afffd123cabbbc7a26565fe2fd61c7822161f7b70812489c85a01ba"}},{"ruleId":"D1","level":"warning","message":{"text":"RunWorkspaceRecoverySurface.WorkspaceValidationRecoverySurface (cyclomatic 28): RunWorkspaceRecoverySurface.WorkspaceValidationRecoverySurface has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 239, 136, 167, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunWorkspaceRecoverySurface.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a121979ca090ea6186bdd4e651f3f51127c7c08b75675c159a703836dcb3e721"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionsBundleSettings.InstructionsBundleSettings (cyclomatic 28): InstructionsBundleSettings.InstructionsBundleSettings has cyclomatic complexity 28 (threshold 15). Of this number, 22 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":"ui/src/pages/agent-detail/InstructionsBundleSettings.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"79367a621b1b7fbd268dfe373ca8d2431f657c75bfb3d3743f68704899fa13f9"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.LatestRunCard (cyclomatic 28): AgentDetail.LatestRunCard has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"961c8b5631342dc18248d6b63855a7e0bb1372a3160335000d39b1960e19c613"}},{"ruleId":"D1","level":"warning","message":{"text":"editable-sections.OverviewSection (cyclomatic 28): editable-sections.OverviewSection 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 10 function literals inside it that branch (lines 161, 175, 200, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39da2244dbb87a8e0b9590d0fec53f4f42843cc532a26cf735c19459079081d"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCommentary.AgentCommentary (cyclomatic 28): AgentCommentary.AgentCommentary 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AgentCommentary.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3268654ef40b1544151e36ef0e86e35d70c678c6eb50bf27f4d5328c1836836"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.StudioNewSkillPanel (cyclomatic 28): SkillStudio.StudioNewSkillPanel has cyclomatic complexity 28 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 12 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeade95339befa0d6f58cac4b14a15e496d33e683c484a30ac65782d0cf0da20"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.SkillCard (cyclomatic 28): CompanySkills.production.SkillCard has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b07f5c3870cf33264ca86c1a6fe10d48e17771c6b3a3ea311f7a750b1ab4c7e"}},{"ruleId":"D1","level":"warning","message":{"text":"TailscaleSshMachine.TailscaleSshMachine (cyclomatic 28): TailscaleSshMachine.TailscaleSshMachine has cyclomatic complexity 28 (threshold 15). Of this number, 19 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":"ui/src/components/TailscaleSshMachine.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"324aa05746c40eb27a00178fd46082b0eeadfd8a9242bb7c4eadc2158af5fee1"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatQueuedMessages.TaskChatQueuedMessages::runRowAction (cyclomatic 28): TaskChatQueuedMessages.TaskChatQueuedMessages::runRowAction 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":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"db45fd42992d5ddb31733d1a4f0fe0b1947dca03dc1400afe71d88219235ed66"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.production.LatestRunCard (cyclomatic 28): AgentDetail.production.LatestRunCard has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9fb62f03755bb0418a21bd7d97aba6fcdcb971995f514141e20f86e9429689"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.production.ConfigurationTab (cyclomatic 28): AgentDetail.production.ConfigurationTab has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd91d23636697a4000841c49202ee9ae936848e3d77c01d46aecd5f4f97e1e08"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxProviderState::accept_runtime_event (cyclomatic 28): AcpxProviderState::accept_runtime_event 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab716fc4f181eeedc960b2c61f876e6dbebc25b80d7d08738e898c51d72e73f"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProviderConfig::validate (cyclomatic 28): CodexProviderConfig::validate 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a79382b068d3ad40567f83a0bb49626a9eeebdc1f89cf3088610ce532c77d6"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.applyMergePlan (cyclomatic 27): worktree.applyMergePlan 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 2 function literals inside it that branch (lines 3742, 3920). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ddb7ca2251b87884952be3e19668eb95b6f3770f0fc7711a466e9b9be586b3"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-sync.readGitWorkspaceSnapshot (cyclomatic 27): git-workspace-sync.readGitWorkspaceSnapshot has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d6968a9246e9011411e15b6dbb5c7e79e5920aed7a7dbe69f5576544f9dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-callback-bridge.startSandboxCallbackBridgeWorker.loop (cyclomatic 27): sandbox-callback-bridge.startSandboxCallbackBridgeWorker.loop 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 2 function literals inside it that branch (lines 1490, 1495). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7806f396a04cb8b21ac6bd319e6db4f1cd21a6b70b080d6666bb635fe367b1"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.runAdapterExecutionTargetProcess (cyclomatic 27): execution-target.runAdapterExecutionTargetProcess 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c513d5c7533aa0ecec222656e89a2517e421ed14e57d598d785983f50b7b837"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-seed-cache.publishWorkspaceSeedGeneration (cyclomatic 27): workspace-seed-cache.publishWorkspaceSeedGeneration 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 (workspace-seed-cache.publishWorkspaceSeedGeneration::capacity) 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6359191906878b816b27146b86d3cc667c2f9020b75777233dcd4faa039fdf93"}},{"ruleId":"D1","level":"warning","message":{"text":"startup-reuse.summarizeStartupReuse (cyclomatic 27): startup-reuse.summarizeStartupReuse 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/adapter-utils/src/startup-reuse.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda76bdac70ba7b1e143ed5a07366e8ce4f2b033e6a3228bcc9f2989436c6517"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printTextMessage (cyclomatic 27): format-event.printTextMessage 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"03643f8617d9a7da25fedb04d4d7bb20658572248494b8a3b6decc361436dc8b"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::toResult (cyclomatic 27): execute.execute::toResult 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 (execute.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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cc3d74f433a0de98a77d43c8886613a249fee24ad1655443a3db1ec47568ea"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-notification-identity.classifyCodexNotification (cyclomatic 27): codex-notification-identity.classifyCodexNotification 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/codex/codex-notification-identity.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2869d0b18d0c391ad390843ca849aa52700a5188c89074bd6d62b83d9f784f83"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilitySemanticDispatcher.#applyMutation (cyclomatic 27): CapabilitySemanticDispatcher.#applyMutation has cyclomatic complexity 27 (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/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"111a1a40720bd88089533f1677ec285c44ab19da53d19db0d490f7fad3f2269a"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.checkpointState (cyclomatic 27): durable-prp-control-plane.checkpointState 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, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aab886bc82c509ffeb7fd43212c8d1c35b48d6213cded7f8da8d39b34cfab73"}},{"ruleId":"D1","level":"warning","message":{"text":"performance-diagnostics.startOpenCodePerformanceDiagnostics.server (cyclomatic 27): performance-diagnostics.startOpenCodePerformanceDiagnostics.server has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 51, 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/paperclip-runner/src/drivers/opencode/performance-diagnostics.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e26e6538a96a71eef000dd98aed82a164f1f0578a5e53795c25dd9a590b6d76"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-call-freshness.earlierToolCalls (cyclomatic 27): terminal-call-freshness.earlierToolCalls 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/paperclip-runner/src/live/terminal-call-freshness.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b98faa0e6857044ae50b4aaf2a452202c79ea7279233e7a0f04735ba7113d"}},{"ruleId":"D1","level":"warning","message":{"text":"EvidencePanel.ToolsBrowser (cyclomatic 27): EvidencePanel.ToolsBrowser has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 202, 176, 220, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1727247b6581299b8fde97d9f20d1e9fb586fa6239cdfc172dc75bf13695f2cb"}},{"ruleId":"D1","level":"warning","message":{"text":"native-distribution-integrity.readNativeAcpxDistributionEntries (cyclomatic 27): native-distribution-integrity.readNativeAcpxDistributionEntries 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeab310d74f7466b54c3f3b4d6b6524fd15305c12bdc2a47f1fc0bd5d8b1ab4"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-attachments.validateGitHubAttachmentLocator (cyclomatic 27): chat-github-attachments.validateGitHubAttachmentLocator 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37f95a9f8a2fab864be51aa19b69e7cff23a7df04e0f49db592431bb13ba526"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.scopeAllows (cyclomatic 27): authorization.scopeAllows 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":"server/src/services/authorization.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3917f58d66c105008c236aecfe3dedc75aeb13a75cac98846961b5d5033b2e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-goals.capabilityForAgent (cyclomatic 27): runner-goals.capabilityForAgent 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":"server/src/services/runner-goals.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9482b5763edb08352c1b1dd3d91133706d2acbec8056f8258b38ea511bacbb1f"}},{"ruleId":"D1","level":"warning","message":{"text":"github-grant-continuity.projectIdleGitHubGrantContinuity (cyclomatic 27): github-grant-continuity.projectIdleGitHubGrantContinuity 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45ad9e8860d15f58a6b86751dcbe7917b2ce16b2d3ec4d814c6962bae0346c9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.supabaseClient.send (cyclomatic 27): index.supabaseClient.send 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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e4654810f14bc3124f65efebdfa7d94f22e975608c0a921bbe1c9ca92f8fe6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.supabaseClient.invoke (cyclomatic 27): index.supabaseClient.invoke 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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"102f9d9af25d65e6cbd4415acfaf0ffb03981e64365a244a48c6964505206f0a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-provider-lifecycle.parseTelegramLifecycle (cyclomatic 27): chat-provider-lifecycle.parseTelegramLifecycle 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7782e2f91527b0a763311da09e148fda9f34ab01ef5f2f234a43fad1f6aa4cd2"}},{"ruleId":"D1","level":"warning","message":{"text":"credentials.createChatCredentials.persistCredentials (cyclomatic 27): credentials.createChatCredentials.persistCredentials has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaaa8e75e67ce684a0c8a3d5fba1c049400c7a9d89b97b98273d7ad30295b5c"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-checkpoint.captureAgentFiles::walk (cyclomatic 27): agent-file-checkpoint.captureAgentFiles::walk 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":"server/src/services/scripts/agent-file-checkpoint.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d566aba8ef7801b75cf830b99646d81c8202a341807dc6409c09f48b234c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"external-objects.externalObjectService.registerRefreshWork (cyclomatic 27): external-objects.externalObjectService.registerRefreshWork 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 6 function items inside it that branch (a function literal at line 1171, load, a function literal at line 1177, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb9c84a51d9edddd087f2a1c48e783c52fb5d759d38953f72681d0e712057b5"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.updateStatus (cyclomatic 27): company-skills.companySkillService.updateStatus 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":"server/src/services/company-skills.ts"},"region":{"startLine":4361}}}],"partialFingerprints":{"codehealthFindingId/v1":"21971e91dd7902a1e05e3e56558b60fee95426eb6fdd3a1982a38c7b4950eea7"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.preserveNativeHarnessFilesystemIndependence (cyclomatic 27): native-harness-filesystem-independence.preserveNativeHarnessFilesystemIndependence has cyclomatic complexity 27 (threshold 15). Of this number, 16 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ae7ae823d2c07149ab7a55bbd8d2716ed615a5a7d29744fcb89631d61efd63"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-migration.migrateNativeControllers (cyclomatic 27): native-controller-migration.migrateNativeControllers 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbacaeb3a0d963b0bd130ed0e5aca1291ab6dfbddc9932674d6bc5d0351a902"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-mcp-tools.createAssignedMcpTools::search (cyclomatic 27): assigned-mcp-tools.createAssignedMcpTools::search 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. This shape REPEATS in the file: one other method here (assigned-mcp-tools.createAssignedMcpTools) 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11b382554857db82485090290ca0350364105affaebea2bf087cbf41d69cb68"}},{"ruleId":"D1","level":"warning","message":{"text":"run-failure-diagnostics.readNativeCloseSettlement (cyclomatic 27): run-failure-diagnostics.readNativeCloseSettlement 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":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4a62b2991a20c540902500f7af972d6185ca7230e2c539d879c019ebaf97f6"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.claimContinuation (cyclomatic 27): assigned-work-sweep.assignedWorkSweep.claimContinuation 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 one function literal inside it that branches (line 792). 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"274e498736699a8e87c0dd852fbdd807487f87d9c14170037d457a5389c48678"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-recovery-resolution.markExecutionReconciliation (cyclomatic 27): execution-recovery-resolution.markExecutionReconciliation has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"38290971dd3fe67a908afe534d7ea7e5c96a2902255b46b1b5b3a0a562b577d5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-pricing.priceCodexReceipt (cyclomatic 27): codex-pricing.priceCodexReceipt 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/codex-pricing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb78f275900b8ab9ce7ceeb4257f521a20e39cb2a7417af0bc1333351ae47f6"}},{"ruleId":"D1","level":"warning","message":{"text":"email-connections.emailConnectionService.listCredentials (cyclomatic 27): email-connections.emailConnectionService.listCredentials has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 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 96, a function literal at line 134, a function literal at line 88, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-connections.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7859ecb84705073e583351577000b6da874e0e37d141c3c2a774fabacdb034ad"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.authorize (cyclomatic 27): email-channels.emailChannelService.authorize 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":"server/src/services/email-channels.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed1c68948f4b3a023e0fc74dbec647786bb8b1d259dfbfe683829a386523bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.sweepOrphanedActiveLeases (cyclomatic 27): recovery.createHeartbeatRecovery.sweepOrphanedActiveLeases has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a780e7d2a50a9107e1dd5f0c33426cd9778e9b6df3533f9f03459107bc0f460d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-liveness.classifyRunLiveness (cyclomatic 27): run-liveness.classifyRunLiveness has cyclomatic complexity 27 (threshold 15). Of this number, 24 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":"server/src/services/run-liveness.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d95f638843c03865f1a151c88be2fcf644d4e9d1b1e0c608f160b809ccbfa16"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.handleSuccessfulRunHandoff (cyclomatic 27): run-lifecycle.createHeartbeatLifecycle.handleSuccessfulRunHandoff 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac59ae30559674413265710ce1b29ee3e0e977aa6ebac66dc6c0b17f0a58074a"}},{"ruleId":"D1","level":"warning","message":{"text":"task-watchdogs.classifyTaskWatchdogSubtree (cyclomatic 27): task-watchdogs.classifyTaskWatchdogSubtree has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-watchdogs.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd732c45cd2b5ed6678454fa53ec08ef11268c88963162765fe0c4a76c65650d"}},{"ruleId":"D1","level":"warning","message":{"text":"question-response-delivery.isRetiredExternalChatQuestionSource (cyclomatic 27): question-response-delivery.isRetiredExternalChatQuestionSource has cyclomatic complexity 27 (threshold 15). Of this number, 22 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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"77593c3636bcf7aa1713a805ce70c4d7cdeae751f30ffb58e964d2080c3960bf"}},{"ruleId":"D1","level":"warning","message":{"text":"resource-reconciliation.createChatResourceReconciliation.applyProviderAvailability (cyclomatic 27): resource-reconciliation.createChatResourceReconciliation.applyProviderAvailability 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 one function literal inside it that branches (line 386). 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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bdc0e2d626a564b247d47e3fb3697a597dc35ef2e8f24a2b171f627d7eaf1e"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.createDiscordCommands.reconcileDiscordCommands (cyclomatic 27): commands.createDiscordCommands.reconcileDiscordCommands has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 4 function items inside it that branch (reconcile::authorize, reconcile, reconcile::setCapability, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef1807add6b555015284ce4c7f7233a0dd0d978654a5c01eb963a3171db6be3"}},{"ruleId":"D1","level":"warning","message":{"text":"file-delivery.createTeamsFileDelivery.teamsTransferProtocol (cyclomatic 27): file-delivery.createTeamsFileDelivery.teamsTransferProtocol 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 items inside it that branch (a function literal at line 111, currentRuntime, a function literal at line 190). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d258eb7802c64fe1993bc26b91238632950a25b1a882ebd3a110b8a0d165f14"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-provider-links.teamsConversationLink (cyclomatic 27): chat-provider-links.teamsConversationLink 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbb7ccf8d61cc7dc9b3ee3ed691934f8ae61a9249671e78fdfd7cf7ab68e706"}},{"ruleId":"D1","level":"warning","message":{"text":"reactions.createInboundReactions.handleReaction (cyclomatic 27): reactions.createInboundReactions.handleReaction has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5975e040e41cef6595ac3fa66718583b32d2b5c443744cb6ab9969dcf2bb560"}},{"ruleId":"D1","level":"warning","message":{"text":"exchange.createConnectionTokenExchange.mintExchangeConnectionToken (cyclomatic 27): exchange.createConnectionTokenExchange.mintExchangeConnectionToken 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":"server/src/services/tool-access/token-broker/exchange.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f201e15ee4e22f0eda4126e2f4c40d1645aa2de074075fabfa31ef2646422bf"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.updateConnection (cyclomatic 27): tool-access.toolAccessService.updateConnection has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 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":"server/src/services/tool-access.ts"},"region":{"startLine":4678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebadcc5cbbabb15464f337cf3e42c66f770eb85d32ccbf4d86c0b37eafc23858"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.rejectRequestConfirmation (cyclomatic 27): issue-thread-interactions.issueThreadInteractionService.rejectRequestConfirmation has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 2805). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"231fa19deb81db8f80a48c7801cdcc2fed3b7c3a1ec7e42c8063adeb2a1c4f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-commentary.submitAgentCommentary (cyclomatic 27): agent-commentary.submitAgentCommentary has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 39). 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":"server/src/services/agent-commentary.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2768957086d535b5a5a8e698b17f086830caaecf4390d35e8fb536f12dd214"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#reserveApiResponseCapture (cyclomatic 27): PaperclipRunnerToolAuthority.#reserveApiResponseCapture 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 1582, 1618, 1614). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d8588a64305306779fb8b5df234f6ffc7724ac93dcddfee1aa39516bcf6eac"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#withInstructionMutationReceipt (cyclomatic 27): PaperclipRunnerToolAuthority.#withInstructionMutationReceipt has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 2977, a function literal at line 2972, a function literal at line 3028, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2953}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec5b5f5bb76c88dba7fd447d90c6dbad3cb2130cd306ad43530b3ae2a9c03b8"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.claimWarmNativeInstructionCopy (cyclomatic 27): native-session-executor.claimWarmNativeInstructionCopy has cyclomatic complexity 27 (threshold 15). Of this number, 25 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e705ff70074523c9425320765cb8a5fefbf09d9e0955ff2577b6768688e1dd"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.environmentService.acquireLease (cyclomatic 27): environments.environmentService.acquireLease has cyclomatic complexity 27 (threshold 15). Of this number, 18 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":"server/src/services/environments.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c9ad0f817be536f06be3eeab6ff03bbd8cacb8c09098bed7e66c73fd1c2c72"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.environmentService.releaseLease (cyclomatic 27): environments.environmentService.releaseLease has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 1755). 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":"server/src/services/environments.ts"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fd94e25b55ab666c31f234818f3cab730481771600789166c5043e0f122837"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.requestTurn (cyclomatic 27): dot.createBroker.requestTurn has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0e0aaf3fc3e1d9ab12fb2cc44886ad45e5c2b90add6a353010fafc8ba8430"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-events.appendHeartbeatRunEventBatch (cyclomatic 27): heartbeat-run-events.appendHeartbeatRunEventBatch 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 4 function literals inside it that branch (lines 194, 182, 197, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"68729f6b1b3dcb808b65c978583b503f270ff01c0a16209b067e67ba9cd70a96"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync.readNativeWorkspaceSyncReference (cyclomatic 27): native-workspace-sync.readNativeWorkspaceSyncReference 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"25acde46365bca1afdf944bdf4afe501e817182aaefc2916554ce2829299e916"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync.parseGitSnapshot (cyclomatic 27): native-workspace-sync.parseGitSnapshot has cyclomatic complexity 27 (threshold 15). Of this number, 23 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafa76e113867cdba9cfc2777fd0a779f0952cf4985295e4838d61a13ce7ec43"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-sandbox.readAcpxRecoveryWorkspace (cyclomatic 27): runtime-sandbox.readAcpxRecoveryWorkspace 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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c600c6b947fe5b1c6940706e9524ed11753f48ea25132434ce721f5d6fb59bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.#recoverActive (cyclomatic 27): CursorCloudSession.#recoverActive 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42b9e890cdaac1cdf8bf810238d6093daf140107042e4f1e5474033a9b89ae6"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.#consume (cyclomatic 27): CursorCloudSession.#consume 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bbd8eabb4815db982e2c65c27873065dce3d5280a510f741e18c48ba7a304c"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-session.parseEvalSessionCliArgs (cyclomatic 27): eval-session.parseEvalSessionCliArgs 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c5084411ae1a221b03da73c56190af24feb06ff2db97b678a26a9b6ef677c4"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-models.probeKimiModels (cyclomatic 27): kimi-models.probeKimiModels 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":"packages/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1c89ed807e435e5d06ee09f4cc5023a03ae0394e0ba799992fa9f210eecb3d"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-app-server-proxy.handle (cyclomatic 27): opencode-app-server-proxy.handle 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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f992d8da7d2b40be002cc0e8b1b3ee2c3c38bf022ffb42fd27ca06eafd4d30a7"}},{"ruleId":"D1","level":"warning","message":{"text":"PiAssistantMessages.normalize (cyclomatic 27): PiAssistantMessages.normalize 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b41704ce824492c181c571d880e5bdf4ffcc47b8505e01d85b5f455c09b389"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.Conversation (cyclomatic 27): conversation.Conversation has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 143, 74, 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":"packages/paperclip-runner/src/react/components/conversation.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6026f1c942b5bea03c0ddf9c4dcbb7a4bfbf5662a5e13ea04da41d685977037"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerCore.doExpose (cyclomatic 27): BrokerCore.doExpose 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17617988328e94404c449ca76fa29b78e66ebf3ed4009dce7ae545d5689f86c"}},{"ruleId":"D1","level":"warning","message":{"text":"events.createPublicMcpEvents.deliverOne (cyclomatic 27): events.createPublicMcpEvents.deliverOne has cyclomatic complexity 27 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d730d3ac2022dd180cea5a0e22d6c7c5423b076b6299ebec8cb174a4d83bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"status-cards.statusCardService.update (cyclomatic 27): status-cards.statusCardService.update 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":"server/src/services/status-cards.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caea6abde2fd373baa3a0c1563f0b5786de157789d76c50c070a171cd0a3d30"}},{"ruleId":"D1","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.createBinding (cyclomatic 27): secret-proposals.createSecretProposalsService.createBinding has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"249d85ede2dd9e7993207bd5cc032347a645afbc8f0cdbc0c4a429084a22c07f"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.companyPortabilityService.resolveSource (cyclomatic 27): company-portability.companyPortabilityService.resolveSource has cyclomatic complexity 27 (threshold 15). Of this number, 21 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":"server/src/services/company-portability.ts"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"9813654d1e1cec9b7f9ec3e1782336f61f8ec74898c60e63bfcc247ebd7ec3cb"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-job-idle-schedule.projectIdlePluginJobSchedule (cyclomatic 27): plugin-job-idle-schedule.projectIdlePluginJobSchedule 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":"server/src/services/plugin-job-idle-schedule.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1991c4536b33e8dd3add6048dd7a3cf4b007e4f963ee7a09e0042665cbbb6aa"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.captureMigration (cyclomatic 27): remote-workspace-migration.captureMigration 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"040844d2fe7531623cc7ca9339adf22f71bc74b26fb8559ca67cad054fd15f0f"}},{"ruleId":"D1","level":"warning","message":{"text":"status-card-idle-schedule.projectIdleStatusCardSchedule (cyclomatic 27): status-card-idle-schedule.projectIdleStatusCardSchedule 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":"server/src/services/status-card-idle-schedule.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf6602e0c4fe88eaaf0bf531f0e703f857bf23fb5f2b042992c1b9b9adf0bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"continuation-contract.rebindContinuationContract (cyclomatic 27): continuation-contract.rebindContinuationContract has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 22). 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":"server/src/services/native-runtime/continuation-contract.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f52d353fd347dff3aabd283c43db33d051a53e54501c2a274a84762909215d2"}},{"ruleId":"D1","level":"warning","message":{"text":"interaction-audience.describeResolverAudience (cyclomatic 27): interaction-audience.describeResolverAudience 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":"ui/src/lib/interaction-audience.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e549fe9b51510f30f8cab7872218204f03ce311489513e593b50d303a840f7ee"}},{"ruleId":"D1","level":"warning","message":{"text":"useBackgroundSubmitQueue.useBackgroundSubmitQueue (cyclomatic 27): useBackgroundSubmitQueue.useBackgroundSubmitQueue has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 78, 98, 126, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab0adad1db65a950a0db2699fa59a325cfb24fced24adeae0e3cff16352fde9"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.ClassicSidebar (cyclomatic 27): Sidebar.ClassicSidebar has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Sidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2439c3279dce177768a2d7c9415249428f8c8ef7aded9887d14c519f7d5d4961"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.handleLiveEvent (cyclomatic 27): LiveUpdatesProvider.handleLiveEvent 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4899db5edfadeb67dd381b89f6d32dbc9871e574115a28dee88f99ea2c14c1"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatSystemNotice.TaskChatSystemNotice (cyclomatic 27): TaskChatSystemNotice.TaskChatSystemNotice 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":"ui/src/components/task-chat/TaskChatSystemNotice.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1202f26b6ccf858eace8d46feccc6dceae5ce97cdf216f4881deb4f1400982"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestConnectionAuthorizationCard (cyclomatic 27): IssueThreadInteractionCard.RequestConnectionAuthorizationCard has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a7694ad2f7e5a4a095d9ddd5d9075f975d9f4396b6a797f872f5442383e81e"}},{"ruleId":"D1","level":"warning","message":{"text":"patch.createUnifiedDiffClassifier.\u003Creturned closure\u003E (cyclomatic 27): patch.createUnifiedDiffClassifier.\u003Creturned closure\u003E 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":"ui/src/lib/patch.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe4545d756bfb5a2dc253d22523dba15950921fac06bc061a05eaf815d35bc0"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerInspector.JsonNode (cyclomatic 27): RunnerInspector.JsonNode 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cef0447d6f5b4542b4031c083a9ae7ecfabd1aa765fb349fc96ef129d4fd851"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.TranscriptProviderActivity (cyclomatic 27): RunTranscriptView.TranscriptProviderActivity has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"add9f1d2bedbb8e80c82c2d74cabe9d5a76a26d043398566e3d0ed17a6f50df7"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve.resolveAgentConfiguration (cyclomatic 27): resolve.resolveAgentConfiguration has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/resolve.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c5d5d497f95983fcff6e485a8e779980dd1c40dc4be8bf80c2204b445e625"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineHistoryTab.RoutineHistoryTab (cyclomatic 27): RoutineHistoryTab.RoutineHistoryTab has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a397978489f7e6d62f3780e7c3ba7dd6a0aa8d453d8520bf9a5c41bd2f985cb"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionInlineVerbs.BudgetAlertActions (cyclomatic 27): AttentionInlineVerbs.BudgetAlertActions has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"88391f3fe0516d1d00e6df2f83c2946fbc4705e88b9d35f403457f72c5c21ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedCard.resolveContent (cyclomatic 27): FeedCard.resolveContent 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":"ui/src/components/FeedCard.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3f35ae72decea033e847341766c29f9f3d20e82aa6f5df8617d0303e8838e6"}},{"ruleId":"D1","level":"warning","message":{"text":"profile-model.parseEntries (cyclomatic 27): profile-model.parseEntries 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":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc1486004be6932176dd0cb0972880d5d040cb9993930908bcc1f4e1ec9a17"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointDetail.Settings (cyclomatic 27): ChatEndpointDetail.Settings has cyclomatic complexity 27 (threshold 15). Of this number, 21 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a10d88db90f39a09a4acab17a538ac816a7bd0a5c3de4c3cf616cda0302887"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedPanel.DangerZone (cyclomatic 27): AdvancedPanel.DangerZone 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c453ce97d8be55206832958d4882153f2c5fc32490e9c82dc3254ee9670aaa24"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentSetup.Setup::finish (cyclomatic 27): NewAgentSetup.Setup::finish 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d883f5711c9b22efa7a7f91bef8313a981a0c5309cd81833c7414fda554edc"}},{"ruleId":"D1","level":"warning","message":{"text":"DesignPageAside.DesignPageAside (cyclomatic 27): DesignPageAside.DesignPageAside 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 7 function items inside it that branch (resizeWithKeyboard, a function literal at line 48, a function literal at line 59, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DesignPageAside.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9359c6ba0a50ff3a4154310cd419a14fe987d56324a16c98cfb28f82798e8dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"FrontmatterPanel.FrontmatterPanel (cyclomatic 27): FrontmatterPanel.FrontmatterPanel has cyclomatic complexity 27 (threshold 15). Of this number, 22 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":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"22734e6ab2692fe3b51b3e29b1d3db2fa9bb7be687dedb7497d1201d53fca2aa"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberMultiSelect.MemberMultiSelect (cyclomatic 27): MemberMultiSelect.MemberMultiSelect has cyclomatic complexity 27 (threshold 15). Of this number, 16 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":"ui/src/components/MemberMultiSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac2a369fdc73d2a9321fa5fd1d2a678c80d34a384c4e2ca5171f2e899a63813"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceControls.VoiceControls (cyclomatic 27): VoiceControls.VoiceControls has cyclomatic complexity 27 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/voice/VoiceControls.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7434a77bd20d3127a1c0e3c5a981e503178af9fc4ff9018343f1160c8bc954df"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexCommandExecutor::start_turn (cyclomatic 27): CodexCommandExecutor::start_turn 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"a763bf4248669a084f364dea1cbf202c0f4ef9595ae5988bcbb5d311934461cb"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::process_lineage::journal::reap_journals (cyclomatic 27): paperclip_runner_core::process_lineage::journal::reap_journals 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/paperclip-runner/runner/crates/runner-core/src/process_lineage/journal.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"38326c4e89607da65a645679e21321e2b152252e72bfa02dedd16e39dc176a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.worktreeCleanupCommand (cyclomatic 26): worktree.worktreeCleanupCommand 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2882}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a963616cb4be599fa6fa97ac6b717bfbfe0499e1ae41c37509c943c4913e0d"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseAssistantMessage (cyclomatic 26): parse-stdout.parseAssistantMessage 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"691acd190ee6f2fe585c90f751e7479e6177ddcc07ed96dfcbfbb03710e18b70"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseGeminiStdoutLine (cyclomatic 26): parse-stdout.parseGeminiStdoutLine 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0cf3cb4f11f409bdc0080503d8627d1402e821d9a43f08c81a8c072500170d"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::toResult (cyclomatic 26): execute.execute::toResult has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (execute.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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4d73b38706c44c8cf4b8304a1b597d9bef39d05a7814b55a8abca3ebcebdef"}},{"ruleId":"D1","level":"warning","message":{"text":"build-config.buildOpenClawGatewayConfig (cyclomatic 26): build-config.buildOpenClawGatewayConfig 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/adapters/openclaw-gateway/src/ui/build-config.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd905a29c650cbb2ce529b1788a6fd89fac806c0d1adc7032599071b5f2ddbf"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.createOpenCodeJsonlParser.\u003Creturned closure\u003E (cyclomatic 26): parse.createOpenCodeJsonlParser.\u003Creturned closure\u003E 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/adapters/opencode-local/src/server/parse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e5e1b52fb42fe24bb2bfe5231cc9cc257592aee5dd7b764e2f7ae28c6af2a7"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-events.canonicalProviderEventsFromOpenCodePart (cyclomatic 26): provider-events.canonicalProviderEventsFromOpenCodePart 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"78416d71a9f042c3ff394b034753e71e37ed62ec8182ee82e34ef3403bf6fcd1"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexHarnessSession.goal (cyclomatic 26): CodexHarnessSession.goal 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e20cafc958a827ccf8c42a115bc94d194e404481cc5bd13ec64d6e457c953c"}},{"ruleId":"D1","level":"warning","message":{"text":"environment.createAcpxSidecarHostEnvironment (cyclomatic 26): environment.createAcpxSidecarHostEnvironment 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/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2747134f128b075ca84a0b20ec66647861c00e708bbdfa84270bffa1e4a7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.unsettledSemanticInput (cyclomatic 26): durable-prp-control-plane.unsettledSemanticInput 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. This is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"89183b2df3c735626bf36e16c01e501ea9f2164aaa64f44e23feb8ad87b71273"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-server-driver.startOpenCodeProviderProxy.server (cyclomatic 26): opencode-server-driver.startOpenCodeProviderProxy.server 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 2530, 2568, 2597). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"802770812d043c3bec36fa48080c6e8bcb3ce6be8ff334d4ff722842aae9328a"}},{"ruleId":"D1","level":"warning","message":{"text":"DevtoolsInspector.DevtoolsInspector (cyclomatic 26): DevtoolsInspector.DevtoolsInspector has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4386703966a4877d781a5efa17f4fc2d3d4c12dfe6e9c07695f247dc3dfe08f1"}},{"ruleId":"D1","level":"warning","message":{"text":"PhotonChatAdapter.sendPart (cyclomatic 26): PhotonChatAdapter.sendPart has cyclomatic complexity 26 (threshold 15). Of this number, 22 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":"server/src/services/photon/adapter.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4397dc8b63ceaaa2f1ba07d9d1347ead911c7bb7dbfe3a408b98f1a521f6f3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-media-intake.gif (cyclomatic 26): chat-telegram-media-intake.gif has cyclomatic complexity 26 (threshold 15). Of this number, 22 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677f2cef9a3ab0f308b46e007541ec0390b08e0231a5640752aea47ff4a500f"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-forms.projectSlackIssuedFormGrant (cyclomatic 26): cloud-forms.projectSlackIssuedFormGrant has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba4f997b25abf454c6304eff6ef4cf924de45910c0c9b5eb0e305241e8e36f7"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-platform-proof.verifyWorkspaceWorkerStopReceipt (cyclomatic 26): native-workspace-platform-proof.verifyWorkspaceWorkerStopReceipt 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":"server/src/services/native-runtime/native-workspace-platform-proof.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4092d0e732b50d53ad99c9f4acf0a9f464135658a07d8c84ca28b3e8d1df39e"}},{"ruleId":"D1","level":"warning","message":{"text":"client-metadata.createClientMetadataResolver.\u003Creturned closure\u003E (cyclomatic 26): client-metadata.createClientMetadataResolver.\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":"server/src/services/public-mcp/client-metadata.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56460bc2c8a285f6064c45240bea6bb430fb67f9af6393c5d3fe4b98e484a84"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.resolveAdapterConfigForRuntime (cyclomatic 26): secrets.secretService.resolveAdapterConfigForRuntime 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":"server/src/services/secrets.ts"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc169cb624f7d6221ed230c0aa818dd5877953b1df69a003f1ef07835a2d165e"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-config.resolveEnvironmentDriverConfigForRuntime (cyclomatic 26): environment-config.resolveEnvironmentDriverConfigForRuntime has cyclomatic complexity 26 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f5398a1f3c64653bf8ed0f45727debfc7664f4466ca30f7c7fb5bef99969a3"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-qualification.resolveAcpxQualification (cyclomatic 26): acpx-qualification.resolveAcpxQualification 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":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e523e0850e6f6bbf58ec9c629391f0818eed3e179a88e951ded711b86f42ce2"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-deliverable-file.readVerifiedRemoteWorkspaceFile (cyclomatic 26): remote-deliverable-file.readVerifiedRemoteWorkspaceFile 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":"server/src/services/native-runtime/remote-deliverable-file.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a894559b8056b7c4d05a7a01aee47cde8e95d6d9d0e784b24cfa6b63ae4c42"}},{"ruleId":"D1","level":"warning","message":{"text":"client.createOAuthClientProtocol.exchangeOAuthToken (cyclomatic 26): client.createOAuthClientProtocol.exchangeOAuthToken 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":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a616e2191bad44b5e3dd9de85c8d4cd85901484966067501142ad94d10b805"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-http.mcpToolHeaderParameters::visit (cyclomatic 26): mcp-http.mcpToolHeaderParameters::visit 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":"server/src/services/mcp-http.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8590f908ae4ffdcdee7f5986219a2e00209e6d6cef8efd84074e8d53e1a37fb"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.acceptSlackFormNoEffect (cyclomatic 26): form-session.acceptSlackFormNoEffect 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cff99aa0fc15c5c1e731ffe60e0a6b44444ba8e64430fb18261c4d210d5d6c"}},{"ruleId":"D1","level":"warning","message":{"text":"form-owner.rearmSlackFormAttention (cyclomatic 26): form-owner.rearmSlackFormAttention 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f83ffdc03fa7742cea69b4e0420511faad24d812baed6871dfab54b6d57858"}},{"ruleId":"D1","level":"warning","message":{"text":"git-connection-failure.classifyTransportLine (cyclomatic 26): git-connection-failure.classifyTransportLine 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":"server/src/services/git-connection-failure.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc579118c2d4b412528dec2283d77734cc7492708ef818f5ddf3e4a6bf79907a"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleBaseGitStorage (cyclomatic 26): git-workspace-restoration.assertReproducibleBaseGitStorage has cyclomatic complexity 26 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f6851d1a03ad7191ee696cf22a3f4a6e4bdaedac749e43280e2cadcdea6343"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.runtimeCredential (cyclomatic 26): ai-connections.aiConnectionService.runtimeCredential 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 3 function literals inside it that branch (lines 1035, 1083, 1061). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50685d7b864b4cb1f44d375fcb45bf5ce0b8af129e1af7091c7f0a19ceab878"}},{"ruleId":"D1","level":"warning","message":{"text":"budget-resume-continuation.deliverOne (cyclomatic 26): budget-resume-continuation.deliverOne 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":"server/src/services/budget-resume-continuation.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5e0fef84b04fddd29421fddb8bdf3d1bd5fd58240a488e5988c7c37d531f63"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-recovery.resolveNativeControllerRecovery (cyclomatic 26): native-controller-recovery.resolveNativeControllerRecovery 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedf40e2538ad60462304e33535c058422f96531261c1e3a02c85980cef3fb68"}},{"ruleId":"D1","level":"warning","message":{"text":"file-manifest-cache.verifyFileManifest (cyclomatic 26): file-manifest-cache.verifyFileManifest 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 3 function items inside it that branch (a function literal at line 45, walk, a function literal at line 39). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/file-manifest-cache.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe4a767c261d67f4058a756b47bd3a12b9041d7528f6105cbb20f6f224ced65"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.readUrlSkillImports (cyclomatic 26): company-skills.readUrlSkillImports has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"4845f73c0b494213d1eb91d8d6c035d35d786d06ba0570114b37df1ed5f51e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.createVersion (cyclomatic 26): company-skills.companySkillService.createVersion has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 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":"server/src/services/company-skills.ts"},"region":{"startLine":3757}}}],"partialFingerprints":{"codehealthFindingId/v1":"662c0c207175f2af81b0080b7704b0ff1f2d779c979ad801c71b905783a4800b"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.resetSkill (cyclomatic 26): company-skills.companySkillService.resetSkill 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":"server/src/services/company-skills.ts"},"region":{"startLine":5040}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe303eb50414ec1fd84affd3121a59aa2e50d485989981c1a5990bff2a0cc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.captureWebEvidence (cyclomatic 26): native-harness-filesystem-independence.captureWebEvidence has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (native-harness-filesystem-independence.captureWebEvidence::read, native-harness-filesystem-independence.captureWebEvidence::visit) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a9bf69c07a1e0737db6561e289473e587f5ffa5728c95a7d41b3b1667fa758"}},{"ruleId":"D1","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.upsertPolicy (cyclomatic 26): budgets.budgetServiceInTransaction.upsertPolicy 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":"server/src/services/budgets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de9f74da6df1504a30a49d5375d993dd7c7f7bfc8f4605c99c14870df5abcb0"}},{"ruleId":"D1","level":"warning","message":{"text":"distribution-plugin-catalog.distributionPluginActivationGuard.\u003Creturned closure\u003E (cyclomatic 26): distribution-plugin-catalog.distributionPluginActivationGuard.\u003Creturned closure\u003E 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":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7715550c07674dd77ebefa8db366dbf0a4e1c257159c56f5a2e6a6e91487f81a"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.reflectToolActionInteractionLifecycle (cyclomatic 26): tool-gateway.createToolGatewayService.reflectToolActionInteractionLifecycle 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 one function literal inside it that branches (line 2580). 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"2940d9e5121cf4f0f4904fff62f703228e962013c2a6bf0a12bb14caa2227790"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-ai-credential-writeback.syncManagedAiCredentials (cyclomatic 26): managed-ai-credential-writeback.syncManagedAiCredentials has cyclomatic complexity 26 (threshold 15). 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 items inside it that branch (account, a function literal at line 71). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-ai-credential-writeback.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a0b00341335c2a0aea8cb481e56835cea2cd9386fd06629c67b52b368b9c0"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-runtime.assertManagedAiProjectAuth (cyclomatic 26): ai-connection-runtime.assertManagedAiProjectAuth 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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2327d8ed35f558e025bf8c9a9ccda0a3cdfd73e623d6b76c8ace9c1c13866f"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.reopenClosedIsolatedExecutionWorkspaceForIssue::reopen::reopenSource (cyclomatic 26): execution-workspaces.executionWorkspaceService.reopenClosedIsolatedExecutionWorkspaceForIssue::reopen::reopenSource 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c31bc2714f534f7271989536a067d0965dbe7d9275a14051335bac996ef56ac"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.checkpoint (cyclomatic 26): agent-directory-working-copies.agentDirectoryWorkingCopyService.checkpoint 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb783af7fd75c885ef36c14cd83146c0c464c5f0bbf64d40f5a5ad9ec836b92b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.collectStopped (cyclomatic 26): agent-directory-working-copies.agentDirectoryWorkingCopyService.collectStopped 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8e8bb0e33301bd0c9676942a322600be32215865040b2f0b783b76fee2f748"}},{"ruleId":"D1","level":"warning","message":{"text":"fast-responses.fastResponseService.settle (cyclomatic 26): fast-responses.fastResponseService.settle 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 one function literal inside it that branches (line 581). 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":"server/src/services/fast-responses.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"520c2dbc8882cf18e30676749b87c96ff7d250f887a2dded53a11dccff1c2b8f"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.loadRunContext (cyclomatic 26): connection-intents.connectionIntentService.loadRunContext 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":"server/src/services/connection-intents.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4f19f6b870678173430777f4b6e9feff112514e8c5ccb1c1b3c786947d2edd"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createWakeAdmissionWriter.coalesceIntoActiveExecutionRun (cyclomatic 26): postgres.createWakeAdmissionWriter.coalesceIntoActiveExecutionRun 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ad1e30662d94cf1cc4dbd29be7ae2508ffb84ff64ac40c5d88b8d2bc169ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-asset-retention.runtimeAssetRetention.tick (cyclomatic 26): runtime-asset-retention.runtimeAssetRetention.tick has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-asset-retention.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2901798d81f6b1eb702dbe8b2b1741f500dfaa9f33f5d56b7b85da4f42516a"}},{"ruleId":"D1","level":"warning","message":{"text":"instruction-working-copy.createHeartbeatInstructionWorkingCopy.prepare (cyclomatic 26): instruction-working-copy.createHeartbeatInstructionWorkingCopy.prepare has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/instruction-working-copy.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73341257d4cb574edf397b6ddf4ac76e662285e571cc44bbb77ef4bae85a0ff"}},{"ruleId":"D1","level":"warning","message":{"text":"native-chat-workspace.nativeChatWorkspaceCwd (cyclomatic 26): native-chat-workspace.nativeChatWorkspaceCwd 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":"server/src/services/native-runtime/native-chat-workspace.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3436ff72fc72df6246f992e77f1942d70af30ffe77b408161eea6cc80ed16757"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-source.resolveRemoteWorkspaceSource::withReferences (cyclomatic 26): remote-workspace-source.resolveRemoteWorkspaceSource::withReferences has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (remote-workspace-source.resolveRemoteWorkspaceSource) 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7055ba418fb6baef92fa3e46be007aa2d9ccf7d19ed7dc05f170ca4b7f90cd3"}},{"ruleId":"D1","level":"warning","message":{"text":"native-usage-accounting.createNativeTurnAccounting.observe (cyclomatic 26): native-usage-accounting.createNativeTurnAccounting.observe 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":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec2c06b14ab78ee0d02e305bfd1a266216758d39c98f0010d74293f2760a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-replacement.createChatPublicationReplacement.inboundWakePublicationToReplace (cyclomatic 26): publication-replacement.createChatPublicationReplacement.inboundWakePublicationToReplace 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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3f035a7ef857455e7722d05e26230db08f363c397a437d980a3e412748c081"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.decide (cyclomatic 26): voice-inbound-service.voiceInboundService.decide 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 one function literal inside it that branches (line 229). 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9d14816c23e4385a46f4fecc857d937a38d5c4b576b525f6b7d0d9f698edd9"}},{"ruleId":"D1","level":"warning","message":{"text":"resources.githubRepositoryInventoryItemFromPayload (cyclomatic 26): resources.githubRepositoryInventoryItemFromPayload 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":"server/src/services/chat-channels/github/resources.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cac079630ed4e0193d1ccc6fdc55bbc3979fc0f7f0afd0325c7a09452fa6664"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.cloudCallback (cyclomatic 26): chat-github-wizard.githubChatWizardService.cloudCallback 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f75552821865b5b1db688d3d3b4ae4c721d21639c89ef7824f171edd70d496"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.telegramLifecycleEventFromPayload (cyclomatic 26): messages.telegramLifecycleEventFromPayload 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":"server/src/services/chat-channels/telegram/messages.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"896746790aa5785219a660727957111ebc8773126fa1ae2e81cb7deb6ba7a0c2"}},{"ruleId":"D1","level":"warning","message":{"text":"task-authority.createSlackTaskAuthorityRegistration.authorize (cyclomatic 26): task-authority.createSlackTaskAuthorityRegistration.authorize 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 one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-authority.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"28214da1cc66117bc22c6aaf1c5315a201c2a5f760b5b57844cb8a9bc1f030a9"}},{"ruleId":"D1","level":"warning","message":{"text":"reader.createToolCatalogReader.listCatalog (cyclomatic 26): reader.createToolCatalogReader.listCatalog has cyclomatic complexity 26 (threshold 15). Of this number, 21 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":"server/src/services/tool-access/catalog/reader.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cd569344f0f7e3c3574aa5181607162198ab32ff558333dcce8f5496de0599"}},{"ruleId":"D1","level":"warning","message":{"text":"health.buildRuntimeAlerts (cyclomatic 26): health.buildRuntimeAlerts 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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5164b977e17bf3a6524f1e2ca95ef395a4a85907dafeac0221614bcc21697686"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.ensureNoDuplicateNameError (cyclomatic 26): tool-access.toolAccessService.ensureNoDuplicateNameError 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":"server/src/services/tool-access.ts"},"region":{"startLine":4906}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ac3268c76fa52d95a7f2751dc2e6565ee4a2006e4baa1a4020ba3239d0f99a"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-api-client.runnerApiUrl (cyclomatic 26): runner-api-client.runnerApiUrl has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e129b03a5462c08754b83fbe4a3678bafa1357f996bcb285a826b1e03a487101"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-pack-layers.readProviderPackLayers (cyclomatic 26): provider-pack-layers.readProviderPackLayers has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-layers.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e1a832f330e567dc08d48d8383add7244477f05dfb10db1773f2d7cf1664dd"}},{"ruleId":"D1","level":"warning","message":{"text":"built-in-agents.validateBuiltInAgentDefinitions (cyclomatic 26): built-in-agents.validateBuiltInAgentDefinitions has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd80363fe1c9d50b5679f6a4284af92fde3f31e68bb93f39706cfe0554f32ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.closeIdleWarmNativeSessions::closeEntry (cyclomatic 26): native-session-executor.closeIdleWarmNativeSessions::closeEntry has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2559b930b0ac6e18789c54980348dec54a1fda5851cee20b738efb5bad041f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.retireSupersededWarmNativeSessions (cyclomatic 26): native-session-executor.retireSupersededWarmNativeSessions has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5bace8eeb2c0304bcbf9b6b38f3ec7d8ec1f23e166f69028b9416856a7bdca"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.rebaseRetainedNativeCleanupProviderHome (cyclomatic 26): native-session-executor.rebaseRetainedNativeCleanupProviderHome 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"31045ef1ad16b110f035f5a4bebf43bfe65020caba6038ab6e78e570ddfba6fe"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.restoreWarmRunnerdController (cyclomatic 26): native-session-executor.restoreWarmRunnerdController has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7655}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e90544f2400e5a5d700f28727d3dcc6cb1a1d914a15504b01282acc54a156"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.inspectRemoteHarnessState (cyclomatic 26): native-session-executor.createRunnerdBackendWithinSessionClaim.inspectRemoteHarnessState has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17203}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dda986fcf43ecec0b6565e692ad04e3c7bb66ba19997817392825a23bd40da"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.readIssueBlockerAttentionBatch::classifyPath (cyclomatic 26): issues.readIssueBlockerAttentionBatch::classifyPath 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 (issues.readIssueBlockerAttentionBatch) 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":"server/src/services/issues.ts"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe4415b03bf7e77bae609f6e5fb25cb7400cfb7dd3e99c084405f11442d7375"}},{"ruleId":"D1","level":"warning","message":{"text":"external-bot-authority.authorizeExternalBotBinding (cyclomatic 26): external-bot-authority.authorizeExternalBotBinding has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-bot-authority.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"84392bcd7d455248b98883d2723179a73f86014022130615f1b3349bc3a514b0"}},{"ruleId":"D1","level":"warning","message":{"text":"github-skill-repository.parseGitHubSkillRepositoryUrl (cyclomatic 26): github-skill-repository.parseGitHubSkillRepositoryUrl 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, name the conditions: bind each compound test to a well-named local or 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/shared/src/github-skill-repository.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff479f7265e37133d59e9a6dcf335a54c6ebfa2134a36d85844e6583829780b0"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol-contract.assertAcpxQuestionFixture (cyclomatic 26): protocol-contract.assertAcpxQuestionFixture 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a00ddd06a5ce17913bc99596b5181cef83f15312ee982c2931d625e104ce26"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-integrity.verifyQualifiedRuntimeExecutable (cyclomatic 26): installation-integrity.verifyQualifiedRuntimeExecutable 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"83941f8b355b670b7fdd7c1e078eefbb1cacf0efc9651bfcbd42a2346b452057"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeBackgroundTaskTracker.#inbound (cyclomatic 26): ClaudeBackgroundTaskTracker.#inbound 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/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcde031f77b32a2bcaf97787b4306cf9298ce2e2b336ca6e17f873695f177d3"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-runtime-extension.checkPiNativeTool (cyclomatic 26): pi-runtime-extension.checkPiNativeTool 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f917744f98392e206522c9675e1eb7cdcd5242fd6f687bc87657857535e374"}},{"ruleId":"D1","level":"warning","message":{"text":"app.buildRoutineHealthItems (cyclomatic 26): app.buildRoutineHealthItems 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"099737585b35eae8c667bae41b5fcd2c726338e7eb7befcedac4745b9356ca1a"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.createSandbox (cyclomatic 26): plugin.createSandbox 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b9707c909e6b45122f9d5670b647405d97bca30d08fbc6f60516bc0ffcb42c"}},{"ruleId":"D1","level":"warning","message":{"text":"company-search-extract.companySearchExtractService.extract (cyclomatic 26): company-search-extract.companySearchExtractService.extract 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":"server/src/services/company-search-extract.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6eb5cd062de9a08d9a0e4771f82ed103513041fe23a655de47864274c75bbeb"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback.buildAgentContext (cyclomatic 26): feedback.buildAgentContext has cyclomatic complexity 26 (threshold 15). Of this number, 22 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":"server/src/services/feedback.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05810b6c61c8678840dbf009e0045b2db6f265b97b7b71595b5212bc816a35c"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.decisionService.createInStore (cyclomatic 26): decisions.decisionService.createInStore 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":"server/src/services/decisions.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d42308223205f214645943b07d75e651d9f5635772e38641cca1f2a1e17215"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-apps.mcpAppsRoutes (cyclomatic 26): mcp-apps.mcpAppsRoutes 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 7 function items inside it that branch (viewerWhoMayComment, a function literal at line 110, 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":"server/src/routes/mcp-apps.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"436269e03f9c89929d19a51764d3b5893dccfa8911d55101341b3d9478b1ffd7"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes (cyclomatic 26): agents.agentRoutes has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 6 other methods here (agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::applyHiringAgentAuthInheritance, agents.agentRoutes::validateManagedAgentBinding, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32af139e1dc57daf0d56ff3649f80b33db7cb3850159581945989390a07cd0a"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.decisionRoutes (cyclomatic 26): decisions.decisionRoutes 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 9 function literals inside it that branch (lines 59, 165, 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":"server/src/routes/decisions.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"51191b18d6d05b62e2dc1f7f9f7802b3152ebdf6256ef94d003972665dc83aac"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-installation-maintenance.skillInstallationMaintenance.verifyVersions (cyclomatic 26): skill-installation-maintenance.skillInstallationMaintenance.verifyVersions 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"122994e6813c8187aa0204e833635471e2c62e745ff8ce491004388916ada63b"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-lifecycle-delivery.registerPluginLifecycleDelivery.prepareForIdleSleep (cyclomatic 26): plugin-lifecycle-delivery.registerPluginLifecycleDelivery.prepareForIdleSleep 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 2 function items inside it that branch (a function literal at line 278, current). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d55f3024cc9e9bfd32812d86136c98256bc3d054b066fa3387333c987cfc2ea"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-workspace-snapshot-crypto.store::handle (cyclomatic 26): benchmark-workspace-snapshot-crypto.store::handle 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":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab09d1abbf029fd67acf9946a454670009214932b91df7dce5e4b84ca7c7ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConversationsSidebar.AgentConversationsSidebar (cyclomatic 26): AgentConversationsSidebar.AgentConversationsSidebar has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 58, 20, 32, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConversationsSidebar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9240e9c37e80e64a1ae2a75b807475791cb1944caa0b2cd4fd1a7927d80dabf9"}},{"ruleId":"D1","level":"warning","message":{"text":"useIssueRowDetails.useIssueRowDetails (cyclomatic 26): useIssueRowDetails.useIssueRowDetails 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 7 function literals inside it that branch (lines 53, 97, 31, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useIssueRowDetails.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d95d4b99861fc2490d3708feffeed1cf00859b85c635ee244215523128883f"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-draft.loadDraftSubmission (cyclomatic 26): composer-draft.loadDraftSubmission 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"594688769f4b1e5f07bc29d68aa1fc9f1d1293e984645b23c482a87c0752d7c8"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.deriveRunStatusLabel (cyclomatic 26): transcript-adapter.deriveRunStatusLabel 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f252aadbd522831b209627c7e202dcc05133167e9b3f88ee9ef66ffa619c4e4d"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatFeedbackButtons (cyclomatic 26): IssueChatThread.IssueChatFeedbackButtons 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 7 function items inside it that branch (handleVote, handleSubmitReason, a function literal at line 2837, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ec0963bb3eb82b854972e1bc38d8094ea2c03e57d8623ce98ebfee212e0afa"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueMonitorBanner.buildMonitorSurfaceCopy (cyclomatic 26): IssueMonitorBanner.buildMonitorSurfaceCopy 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":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"066ef001046258de2d50723d5c3cb54c000f0a0954e53765ae7777be8798a97a"}},{"ruleId":"D1","level":"warning","message":{"text":"IssuePropertiesArtifactsTab.MarkdownWorkProductRow (cyclomatic 26): IssuePropertiesArtifactsTab.MarkdownWorkProductRow has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1063643c16815edd676f4afc31cf2efcb3c9df1aa4ec00d907128397f2b91c41"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatComposerDock.TaskChatComposerDock (cyclomatic 26): TaskChatComposerDock.TaskChatComposerDock has cyclomatic complexity 26 (threshold 15). 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 19, 14). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposerDock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71c13784c000d728222a05744bc87ef76283a1b91543f90f4fff6a70ea146f"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityRow.ActivityRow (cyclomatic 26): ActivityRow.ActivityRow 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":"ui/src/components/ActivityRow.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f776262befe4c5b647b71f736ba2b8ea226dd3cdc6255ceca9e168fbabd3c53"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentBubbleActionRow.IssueChatFeedbackButtons (cyclomatic 26): AgentBubbleActionRow.IssueChatFeedbackButtons 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 7 function items inside it that branch (handleVote, handleSubmitReason, a function literal at line 196, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentBubbleActionRow.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bf9312a2ec35efc60a0a204bdbe4011d818d1a7556da7118bdddb103222e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackIdentityStep.SlackIdentityStep (cyclomatic 26): SlackIdentityStep.SlackIdentityStep has cyclomatic complexity 26 (threshold 15). Of this number, 16 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":"ui/src/pages/apps/chat/SlackIdentityStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e80d98cdaf93f36f81411395008ba763b37883cc20b295a9c613b9090758a80"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentMultiSelect.AgentMultiSelect (cyclomatic 26): AgentMultiSelect.AgentMultiSelect has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentMultiSelect.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3204ee6d81f2ddd9e814761d6f3c7afe771ed9a7d63bc04d63d16e979426d046"}},{"ruleId":"D1","level":"warning","message":{"text":"JoinRequestQueue.JoinRequestQueue (cyclomatic 26): JoinRequestQueue.JoinRequestQueue has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 136, 32). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/JoinRequestQueue.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"167691bfac2d7787992c05ba63e3efe007a357b259edc0a5c4c8d0d0966dea4f"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionAuth.AuthAttempt (cyclomatic 26): AiConnectionAuth.AuthAttempt has cyclomatic complexity 26 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionAuth.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"540564c960be840534cff36ea7e475d8aab8d0c144de3ff7f347548a25df9ca7"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamCatalog.StepPreview (cyclomatic 26): TeamCatalog.StepPreview has cyclomatic complexity 26 (threshold 15). Of this number, 19 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c266fdc58edbdb50d5841d6eab449cc6545ee77d74da2bb966247e5d56f183"}},{"ruleId":"D1","level":"warning","message":{"text":"wizard-preview-main.respond (cyclomatic 26): wizard-preview-main.respond 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":"ui/src/wizard-preview-main.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"929cc17046fb8c26ba9c71ffe91fc6771c2987eea4dfba89d7f6dc8a369e5355"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxCommandExecutor::poll_provider_events (cyclomatic 26): AcpxCommandExecutor::poll_provider_events 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":2895}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c66fa3a47f45d81d1d65a420b547d0e829f08340214e60671375295049da21"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxProviderSessionConfig::validate (cyclomatic 26): AcpxProviderSessionConfig::validate 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d65ed719833f43705428f23fd571445a2cc0b7ef267666e0c692d84395e611"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsAgentCoreHarnessProvider::poll (cyclomatic 26): AwsAgentCoreHarnessProvider::poll 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/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cab5b447a16131f2a62dc3ca7cc6d851ca0efaace800109c2aa0762dd8d4a77"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeManagedProvider::normalize_remote_event (cyclomatic 26): ClaudeManagedProvider::normalize_remote_event has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3d9658a2d72ade4a360bdc5c4fb39d5fde67f746c750423e73c2642f123f0c"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::durable::runner::process_command (cyclomatic 26): paperclip_runner_core::durable::runner::process_command 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/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65337c2ca12453b7fbcd61a99b2f4ea8ac1e2b05b3d83e1ae2c6b8a0dc7fc4d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 26): (anonymous) has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 137, 154, 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":"ui/public/sw.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"784d541b36fbc03c6274b030240ee804459ae3d00262288afa125d66ceed3e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"access.registerAccessCommands (cyclomatic 25): access.registerAccessCommands has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 175, 109, 223, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f70f134a5ca9354e98eb03f8295f890ce88759f75e397909413942d32931a8"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.runWorktreeInit (cyclomatic 25): worktree.runWorktreeInit has cyclomatic complexity 25 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc951e7687b6f6c11005b21ebce9ca41c0cead720a30b3eacb173235b2fe3e56"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-checkpoint.createUsageCheckpointLog (cyclomatic 25): usage-checkpoint.createUsageCheckpointLog 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 3 function items inside it that branch (publish, log, retain). 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/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ee1513996250d826379e444b5833a54ecee4780eb50bac6882b97b1bcf914d"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printAssistantMessage (cyclomatic 25): format-event.printAssistantMessage 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b185b40688b5b2f75c9960ebf01677c493c56fe2f211c09f2e9d4d90a6bd9d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"acp.testGeminiAcpEnvironment (cyclomatic 25): acp.testGeminiAcpEnvironment 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6510d4d02e487cdd3b75aa15821de700c51be55d1ef01538160b7c0750923a"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.createToolDefinitions (cyclomatic 25): tools.createToolDefinitions 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 10 function literals inside it that branch (lines 327, 357, 650, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/mcp-server/src/tools.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c5737e5b5881388b4e6cf2e4037f9aeb43912531380fa66202b5341e7ff36f"}},{"ruleId":"D1","level":"warning","message":{"text":"replay-contract.bindingIssues (cyclomatic 25): replay-contract.bindingIssues has cyclomatic complexity 25 (threshold 15). Of this number, 15 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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be1e4acc9908a583e2e47e3afb7f788774021d152ccedcb7664137516ce3688"}},{"ruleId":"D1","level":"warning","message":{"text":"governance-events.codexHookPayload (cyclomatic 25): governance-events.codexHookPayload 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/paperclip-runner/src/governance-events.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"991e6d1498502ac9a6a6bde04968f174980e601c9359634a60b5fb69734c87f8"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-extension-adapter.summary (cyclomatic 25): copilot-extension-adapter.summary has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b901849d3c02f1204e469bc89e36ab32073a825440587cc447c3ad8808584d96"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-failure.createProviderFailure (cyclomatic 25): provider-failure.createProviderFailure 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":"packages/paperclip-runner/src/drivers/provider-failure.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0aa1ca033e44d707556c1bff8fa0628a10ef2e1de301c9873e2777893b271f"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexHarnessSession.reconcile (cyclomatic 25): CodexHarnessSession.reconcile 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c95a841b1e8ef5de3d0911601e6740482686b6f312628f59635545f798503"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.decideCapabilitySemanticAuthorization (cyclomatic 25): policy.decideCapabilitySemanticAuthorization 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/paperclip-runner/src/semantic-tools/policy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c7f53b0f98de3c9bab058daffc110b7898b59a4266df533e63193d8d32b641"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.validStoredWarmTransition (cyclomatic 25): durable-prp-control-plane.validStoredWarmTransition 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. This is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"53afd5c40ab9837eb0b90e3972add2220fc233c9e293cb706958b13d221e6071"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-input-error.toolInputError (cyclomatic 25): tool-input-error.toolInputError 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/paperclip-runner/src/drivers/tool-input-error.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4bf63aab480ab657fdd4b963b03a7f51ec4316caaf5e7cf51f8ee331a10c4"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#startWork (cyclomatic 25): DurablePrpCodexTransport.#startWork has cyclomatic complexity 25 (threshold 15). Of this number, 19 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6475}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd217a22cac1f53363a289460b188cc29449d1a1defd3f949c83516ab095b9b5"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.liveAcpxRuntimeRequests (cyclomatic 25): runnerd-codex-transport.liveAcpxRuntimeRequests 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 one function literal inside it that branches (line 1459). 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c446964bbcdb5fa51398dc8dfdbf99b1daa43d8de51060ddc9f2fef592f7b95"}},{"ruleId":"D1","level":"warning","message":{"text":"build-runtime.buildControllerRuntime (cyclomatic 25): build-runtime.buildControllerRuntime has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (packageManifest, inventory, copyPackage). 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/paperclip-runner/scripts/controlled-evals/build-runtime.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d65cc89cbdb8463c4f13685e9d0399875db51dc5e0b54f3c1b04078e544179d"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-provider-routing.aiProviderRoutingSchema (cyclomatic 25): ai-provider-routing.aiProviderRoutingSchema 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/shared/src/ai-provider-routing.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97836fdadc1137323bb2b1994dd63d86a5be1081f02e25533d3a8f2a7ff2740"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-question-forms.createChatQuestionFormDraft (cyclomatic 25): chat-question-forms.createChatQuestionFormDraft 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46c8bf9b8f6e2abbaabbb58f914b02f32fa93b2e63f288c220bc752f15870f6"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.transition (cyclomatic 25): policy.transition 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":"server/src/modules/agent-lifecycle/domain/policy.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94370acdf9e8ac8b256001fac5e148170c4640d77d77ef3066e63d9403b0d45"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createAuthorizationService.decideReadsForActors (cyclomatic 25): authorization.createAuthorizationService.decideReadsForActors has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. 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":"server/src/services/authorization.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"de187047760efbeb37b476752f5a5543d5402600633dd1dab844eee1490ffcc2"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-stop-and-retain.readStopOnlyCleanup (cyclomatic 25): sandbox-stop-and-retain.readStopOnlyCleanup 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6298f85ccc4164f452b75ba76f9eda76ef793f6949830d3052564bb0302100"}},{"ruleId":"D1","level":"warning","message":{"text":"cognee-connection.callCogneeCloud (cyclomatic 25): cognee-connection.callCogneeCloud has cyclomatic complexity 25 (threshold 15). Of this number, 22 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":"server/src/services/cognee-connection.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc400c9dcf0f7277e4b7c5e2fe23fb01d5d5e2e3087ffb4ffb63fa9198a60354"}},{"ruleId":"D1","level":"warning","message":{"text":"form-ack-work.transferSlackFormAckReceipt (cyclomatic 25): form-ack-work.transferSlackFormAckReceipt has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 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. This is NOT this file\u0027s highest cyclomatic complexity: form-ack-work.assertSlackFormReceiptHistory (cyclomatic 28) 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"99143feec5be91f8b93943a9b7f2fe7a932e9ad292b2e516a398ef38aa780d59"}},{"ruleId":"D1","level":"warning","message":{"text":"form-retirement-work.transferSlackFormRetirement (cyclomatic 25): form-retirement-work.transferSlackFormRetirement has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 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":"server/src/services/chat-channels/slack/form-retirement-work.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9617b26504aff730aa6a73548a9b3c15061fbcb503dba0fb65229ac5be1c67ee"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-client.githubBotRequestOnce (cyclomatic 25): chat-github-client.githubBotRequestOnce 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":"server/src/services/chat-github-client.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2579e4c057abf9e50881a5e1278c58909b2a1261427cf3613d36bc0d21211e8"}},{"ruleId":"D1","level":"warning","message":{"text":"run-log-store.openLegacyRunLogForMigration (cyclomatic 25): run-log-store.openLegacyRunLogForMigration has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-log-store.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b8fd6045d8a5817d7794c25eacd65d2545d2594c17d7532cb94c202f089d29"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-policy.parseIssueExecutionWorkspaceSettings (cyclomatic 25): execution-workspace-policy.parseIssueExecutionWorkspaceSettings has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f861f8fc18d993266a4a6de841f39066206e20fdfe2b569a84fae5940c4d6fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"task-workspace-access.taskWorkspaceProjectRequirements (cyclomatic 25): task-workspace-access.taskWorkspaceProjectRequirements has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 28, 44, 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":"server/src/services/task-workspace-access.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ab8a9c092e62e752379e911767b1aaf206ca5a4b4b34cfaa67e7b81788334"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-inspection.inspectSkillPackage (cyclomatic 25): skill-package-inspection.inspectSkillPackage has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-inspection.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc05514ea0bac5fdd2fb16216b475a0ef0f5209bf4292b28f4c73b1b44a5db0"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.browseProjectWorkspace (cyclomatic 25): company-skills.companySkillService.browseProjectWorkspace has cyclomatic complexity 25 (threshold 15). Of this number, 19 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":"server/src/services/company-skills.ts"},"region":{"startLine":5162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c212543915b2f247fedc596a686128c39bdd238991c502a3f4529da5b63f82"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-finalization-state.preserveRemoteWorkspacePreparationFailure (cyclomatic 25): native-workspace-finalization-state.preserveRemoteWorkspacePreparationFailure has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 19). 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":"server/src/services/native-runtime/native-workspace-finalization-state.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c48099aab0acd9813d48d977ec690499f8580c358ddd841ac8501aacba60d8"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.admitInvocation (cyclomatic 25): tool-access-policy.toolAccessPolicyService.admitInvocation has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 1509). 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"261acc6356260242f7fab7da899c2e1405f0f6da13969086cc2e0bd02b7732e7"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-delivery.slackDelivery (cyclomatic 25): slack-delivery.slackDelivery 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":"server/src/services/connectors/slack-delivery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ea973c863c0a60ed9cc8d030a15c94989a17e5e255102a580a90dcad4a2d40"}},{"ruleId":"D1","level":"warning","message":{"text":"response-execution.githubResponseExecution (cyclomatic 25): response-execution.githubResponseExecution 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":"server/src/services/chat-channels/github/response-execution.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5a5e3b48eea92f0539f29cff29f8484991ee17f86525f93493acc807a05749"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.namedGatewayContextProtocol (cyclomatic 25): tool-gateway.createToolGatewayService.namedGatewayContextProtocol 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce492deca4af33495787124e9e743d8e3f9845d13b8d059ab81de94e02a8cad"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-provider-routing.managedProviderRouting (cyclomatic 25): ai-provider-routing.managedProviderRouting 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":"server/src/services/ai-provider-routing.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf5073d4859f62f83491b59dd8e4027771153945fddaaecfd8aa63f118d947a"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.resolveRunReferencedProjects (cyclomatic 25): workspaces.resolveRunReferencedProjects 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d3505cd92f5ff6655e537683e51301469284092c6e3141196b0653e316fe2a"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.hasPendingTaskWorkspaceRecovery (cyclomatic 25): execution-workspaces.hasPendingTaskWorkspaceRecovery has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1503, 1516, 1480). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb505a6498a87b9c3603caf18a84812c4e6b3ac706a957c8676d2571bb4f6cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-conversations.prepareConversationTurn (cyclomatic 25): agent-conversations.prepareConversationTurn 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 one function literal inside it that branches (line 186). 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":"server/src/services/agent-conversations.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"583c4c7c6c543f53e7db2105456c66468c6c4fbc3dd86937c4092cbdfd47f9cd"}},{"ruleId":"D1","level":"warning","message":{"text":"queued-run-dispatch-order.queuedRunDispatchLine (cyclomatic 25): queued-run-dispatch-order.queuedRunDispatchLine has cyclomatic complexity 25 (threshold 15). Of this number, 13 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":"server/src/services/heartbeat/queued-run-dispatch-order.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"acefe6ceab9b4abbaf98de017548b1a1b0b0f644f937cac5ae14b4e1e655b774"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.decidePersistedLegacyContinuation (cyclomatic 25): service.recoveryService.decidePersistedLegacyContinuation 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3947}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa79069f5e0d13a8d207c86540dc0c10848fee29463add1f2e3b23b56a2e49b"}},{"ruleId":"D1","level":"warning","message":{"text":"fast-responses.fastResponseSourceCurrent (cyclomatic 25): fast-responses.fastResponseSourceCurrent 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":"server/src/services/fast-responses.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ab7512557a53763782ac666919b7c37f39c7a571dac4c4f3f7b17dc477f5d1"}},{"ruleId":"D1","level":"warning","message":{"text":"fast-responses.fastResponseService.resolve (cyclomatic 25): fast-responses.fastResponseService.resolve 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":"server/src/services/fast-responses.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c46b85a89c87b9c9daa9c441a6dd11041604ad3d8bf3516fefec9b89a04804"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.managedAgent (cyclomatic 25): connection-intents.connectionIntentService.managedAgent 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":"server/src/services/connection-intents.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b543acd0f5eb7876524a1efc9d3654d5d852999ed2fd5a76dc7e89519b4aa32a"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.resolveService (cyclomatic 25): connection-intents.connectionIntentService.resolveService 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":"server/src/services/connection-intents.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a303aa410b1361380005370a444a8ea4799632cd994514d48d2ac52afe9a5357"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-mode.resolveNativeRuntimeMode (cyclomatic 25): runtime-mode.resolveNativeRuntimeMode 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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"095ae8e7e6fe98a80bebfc5e942b7dd5392e39b04af3038d3870cef82b90d09c"}},{"ruleId":"D1","level":"warning","message":{"text":"case-context.getCaseExecutionContext (cyclomatic 25): case-context.getCaseExecutionContext 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-context.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d264e337a20104ae9e8f05fcd9c745cca8788e16f44f04eb757ceb01e1261e50"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-trace-store.assessProviderTraceEntries (cyclomatic 25): provider-trace-store.assessProviderTraceEntries 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4470d01d173430323f800931c259f90f2a3ee90ab3be6ab247549b60b8c02f28"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-log-export.restoreCompactedEvent (cyclomatic 25): native-run-log-export.restoreCompactedEvent has cyclomatic complexity 25 (threshold 15). Of this number, 19 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c2fed1254c24699c8b43d09df02cdc01d7a903a240a850999133b512031e57"}},{"ruleId":"D1","level":"warning","message":{"text":"preparation.createChatPublicationPreparation.ensureDurablePublicationTransport (cyclomatic 25): preparation.createChatPublicationPreparation.ensureDurablePublicationTransport has cyclomatic complexity 25 (threshold 15). Of this number, 14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/preparation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb949b36675e42bbe4e57f413b76b9468067745609690baacabf33e5d1c185f"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-reply-schedule.voiceReplySchedule.load (cyclomatic 25): voice-reply-schedule.voiceReplySchedule.load 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":"server/src/services/voice/voice-reply-schedule.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f676fc0e89994dbbdf8d7d39b8c6688ae08b600630cd296c0faba83e0538c3"}},{"ruleId":"D1","level":"warning","message":{"text":"callback-verification.createSlackCallbackVerification.verifySlackRequestUrl (cyclomatic 25): callback-verification.createSlackCallbackVerification.verifySlackRequestUrl has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 267). 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"651e812f8e6dabc8a15620995f619a167468e6fd9bd511e3a9a8997b135f7dde"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.prepareFailedChatRunRetry (cyclomatic 25): failed-run-retry.createChatFailedRunRetry.prepareFailedChatRunRetry has cyclomatic complexity 25 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd19f66c82603bb2122d8977f6272fd69198933e45672b39baa4414f04237f77"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-execution-recovery.settleInterruptedNativeBootstrap (cyclomatic 25): legacy-execution-recovery.settleInterruptedNativeBootstrap has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 351, 380). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e019685c4fae75690beb4ebe0ad0ed14b03d8c75c25aee64d354ac5827904c9c"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.submitItemVerdicts (cyclomatic 25): issue-thread-interactions.issueThreadInteractionService.submitItemVerdicts has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 4727). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8793be297c3366687b03697fea0d9d46e32b38151259e06a218a9763003e37"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-connection-probe.probeCopilotConnection (cyclomatic 25): copilot-connection-probe.probeCopilotConnection 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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"519eac98531c8d7c3a37f73b2c51d22abe56f875196be344e5fdbc4213686837"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-connection-probe.probeCopilotExecutionTarget (cyclomatic 25): copilot-connection-probe.probeCopilotExecutionTarget 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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a86b2cbed57d4e073c2cbe5e46f72b5e46ef002b4b7278a382396a484d5264"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-provider-pack-verification.compatibleInstallation (cyclomatic 25): remote-provider-pack-verification.compatibleInstallation 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":"server/src/services/native-runtime/remote-provider-pack-verification.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d1cc67358cda424a509276df2d86c1a16c92b4d010c418a388777fd3e3123"}},{"ruleId":"D1","level":"warning","message":{"text":"native-provider-artifacts.restoreNativeProviderArtifacts (cyclomatic 25): native-provider-artifacts.restoreNativeProviderArtifacts 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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e9cd49f7d56264fff79f69b7b3bbc678e73c975b882a5a48992732afeb425c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-bootstrap-proof.runnerdStateIsOpenedSessionBeforeTurn (cyclomatic 25): native-bootstrap-proof.runnerdStateIsOpenedSessionBeforeTurn 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8c07b8ad26fbc6bb27bc6d44108340244c7afe44652fe430adf7ef58146f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-api-client.validateRunnerApiCall (cyclomatic 25): runner-api-client.validateRunnerApiCall 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4e5dd5a78d12031d7b621e0fde1aafbb73b6bbf8a6585c16779c66f94b0606"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact-transfer.createArtifactInstaller.\u003Creturned closure\u003E (cyclomatic 25): artifact-transfer.createArtifactInstaller.\u003Creturned closure\u003E has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 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":"server/src/services/native-runtime/artifact-transfer.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e44bfe391f9c9f7009a4683f35202868f8993a9d17514790b2e677f7e281064"}},{"ruleId":"D1","level":"warning","message":{"text":"current-wake-comments.readCurrentWakeComments (cyclomatic 25): current-wake-comments.readCurrentWakeComments 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 one function literal inside it that branches (line 628). 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0806b37357735eb0acb5373f7c3bc1d4f65ac7b3cafe3b9987935fb7c74c7fd"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#createTask::authorizeCreate (cyclomatic 25): PaperclipRunnerToolAuthority.#createTask::authorizeCreate 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. This shape REPEATS in the file: one other method here (PaperclipRunnerToolAuthority.#createTask) 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9342f02e4f2ec3148fa4ac13e4609167de97de0c245423f4825d249ffc73f9"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.assertCleanupActivationCommitted (cyclomatic 25): native-session-executor.assertCleanupActivationCommitted 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, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b6188a142c6733a06f60501b927b32492b0c317b643e5a018047e8db461652"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.interruptedRotationSource (cyclomatic 25): native-session-executor.interruptedRotationSource has cyclomatic complexity 25 (threshold 15). Of this number, 22 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6259}}}],"partialFingerprints":{"codehealthFindingId/v1":"f770299846a438ffc647b87920de15865d5b8492b914f9bfc59cc32fc57f3585"}},{"ruleId":"D1","level":"warning","message":{"text":"native-local-process-stop.inspectSettledNativeRunProcess (cyclomatic 25): native-local-process-stop.inspectSettledNativeRunProcess has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 467). 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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaea806c2b4c9ddd591b0b0a8dd949c5065829434e80a40738650c4fe8ff0cf"}},{"ruleId":"D1","level":"warning","message":{"text":"access.accessService.updateMemberAndPermissions (cyclomatic 25): access.accessService.updateMemberAndPermissions 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 one function literal inside it that branches (line 541). 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":"server/src/services/access.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dfe42a5ba5654d6283059757d7e38f1e4cebb9dddc0e14f135382d54486e25"}},{"ruleId":"D1","level":"warning","message":{"text":"muse-oauth-diagnostics.recordMuseCodeRejection (cyclomatic 25): muse-oauth-diagnostics.recordMuseCodeRejection has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/muse-oauth-diagnostics.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b98fc0a07e12f02b2e3997aa7be0cfb22213ee1d99b73a91efb7748861b89b"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-recovery-attachments.retainRemoteRecoveryAttachments (cyclomatic 25): remote-workspace-recovery-attachments.retainRemoteRecoveryAttachments has cyclomatic complexity 25 (threshold 15). Of this number, 14 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e46d87109292c1e7e0958fe4d7a44dac86343fa1f2f1385d872649fb726dc"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-finalize-attempt-settlement.settleAbandonedRemoteSnapshotSave (cyclomatic 25): workspace-finalize-attempt-settlement.settleAbandonedRemoteSnapshotSave 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 one function literal inside it that branches (line 119). 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":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4869dd497b1f39cae3a971c59b8c498607b9bee87fb0bc5c92c60f8f4cc724ef"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-commands.scoreWorkspaceRuntimeServiceMatch (cyclomatic 25): workspace-commands.scoreWorkspaceRuntimeServiceMatch 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/shared/src/workspace-commands.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ff050a931aa6efd8fb8776ace2cd271f5b9c4041598a1d7c31ca8cf11dcf9"}},{"ruleId":"D1","level":"warning","message":{"text":"install-copilot-assets.installCopilotAssets (cyclomatic 25): install-copilot-assets.installCopilotAssets 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/paperclip-runner/scripts/install-copilot-assets.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a483e783987868f18867cafc7baf1c1fb6f582f9685495c3a98dda42471238"}},{"ruleId":"D1","level":"warning","message":{"text":"local-runner-browser-server.createLocalRunnerBrowserMiddleware.middleware (cyclomatic 25): local-runner-browser-server.createLocalRunnerBrowserMiddleware.middleware has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a5fe3943daf0c90e707409af81fbc57bc43cb153f44b5cb9a17dd48d12f951"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-integrity.openVerifiedRuntimeExecutable (cyclomatic 25): installation-integrity.openVerifiedRuntimeExecutable 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2083b8a0fb120e40d555dda06f7712b5cddd5221e738b4468eb07192b61ae10"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-testops.verifyPublication (cyclomatic 25): runner-protocol-testops.verifyPublication 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"765d610f566c51f376e9d39dfc5bd42689d60a9e242b29af4d16e64bc0a8766a"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-sidecar-input.directAcpxSidecarErrorCode (cyclomatic 25): acpx-sidecar-input.directAcpxSidecarErrorCode 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/paperclip-runner/src/cli/acpx-sidecar-input.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"67325f4862fa74d54ef660dccebc14d9cff801fac8276cd40e7d65075b8d1e73"}},{"ruleId":"D1","level":"warning","message":{"text":"serve-config.parseServeStatus (cyclomatic 25): serve-config.parseServeStatus 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/tailscale-https-broker/src/serve-config.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"366eee6e0b4c88e3bc0a0b15d565742fb8f3b3d254df8d22eceab70fef1036ea"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration.sessionRetentionBlocker (cyclomatic 25): native-harness-backup-expiration.sessionRetentionBlocker 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24a53e046ba21dbb5d1e628d4b42dee0cb943782157023dab201ebb9e4c4ca9"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireDurableBackups (cyclomatic 25): native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireDurableBackups has cyclomatic complexity 25 (threshold 15). Of this number, 16 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c7ac40e6cb101a5cc56e02faaeea65649ea4136ad7bd44c96bfd52c7ab7d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"activity.activityService.runsForIssue (cyclomatic 25): activity.activityService.runsForIssue has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 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":"server/src/services/activity.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6939a9352e72b2936b2b3892c40061e7b816b751ea4f48089aedc439be03713"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::assertNativeRunKeepsOwnExecutionLock (cyclomatic 25): issues.issueRoutes::assertNativeRunKeepsOwnExecutionLock 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. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":14801}}}],"partialFingerprints":{"codehealthFindingId/v1":"951504b1b472d646ac36eaddea680158f60634d36da489846ba7579fad73c497"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-commentary.agentCommentaryRoutes (cyclomatic 25): agent-commentary.agentCommentaryRoutes 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 6 function items inside it that branch (a function literal at line 56, a function literal at line 41, authorizeBoardRead, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-commentary.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"408ed3f03fdd327ff763a8fcc499eb58669ef42f72a2482e5df680c78c504c4a"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-training.decisionTrainingRoutes (cyclomatic 25): decision-training.decisionTrainingRoutes has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 199, a function literal at line 233, a function literal at line 175, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-training.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16088b05fcd16929f6b3f9c323906b962016f33de96336624a6971e765ac251"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-local-folders.inspectPluginLocalFolder (cyclomatic 25): plugin-local-folders.inspectPluginLocalFolder 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c3108bfbbaf0a3000ed5733af1cddca3f98e7ab5228328991f857d4246a4b8"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork (cyclomatic 25): native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork 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 4 function literals inside it that branch (lines 94, 110, 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6913cb29f38bdffb688c303effcc391e4f156e0b086d8406bec1d0f14cca369d"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-custom-image-terminal-ws.setupEnvironmentCustomImageTerminalWebSocketServer (cyclomatic 25): environment-custom-image-terminal-ws.setupEnvironmentCustomImageTerminalWebSocketServer has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 521, 634, 722, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"af56019faafd63efaecc0c26dd9404e32473cd2834c835861dee30da1a7838ac"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarAccountMenu.SidebarAccountMenu (cyclomatic 25): SidebarAccountMenu.SidebarAccountMenu has cyclomatic complexity 25 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAccountMenu.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e861f550eae2a4d07792fbdb32417d4b8c7a6360b0798cdbb56d4c653121c63"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceFileLink.WorkspaceFileLink (cyclomatic 25): WorkspaceFileLink.WorkspaceFileLink has cyclomatic complexity 25 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileLink.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0d1416b841447025b0fbe1d937ef7621a8e12245ebd5d6111c551f40728ade"}},{"ruleId":"D1","level":"warning","message":{"text":"useTaskRetry.useTaskRetry (cyclomatic 25): useTaskRetry.useTaskRetry 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 7 function literals inside it that branch (lines 36, 68, 57, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskRetry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0255a9187eedbaf183a0331ec71d25371aa75b9424000295592fac007afece"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-queued-comment-queue.normalizeIssueQueuedCommentQueue (cyclomatic 25): issue-queued-comment-queue.normalizeIssueQueuedCommentQueue has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 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":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d082f88eb7a741e3946fb08ce1a1a1fa009bdc42a2a7f5da99cae65df2166e9a"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionForm.answerError (cyclomatic 25): QuestionForm.answerError 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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c142102ae82fbfcafb429512280a68358d8814cdb01e597b46abdefb8d95104"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRuntimeControls.CommandActionButtons (cyclomatic 25): WorkspaceRuntimeControls.CommandActionButtons 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 372). 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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ef2b65187afae56262f6c23ef2c21f649b2ca802c5473f28f96d75e75a6ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskBrowserFooter.TaskBrowserFooter (cyclomatic 25): TaskBrowserFooter.TaskBrowserFooter has cyclomatic complexity 25 (threshold 15). Of this number, 22 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":"ui/src/components/task-side-panel/TaskBrowserFooter.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb538eadd1bfbaae63c05cfda7e6b95f8227ce6328a8047de0b33c67219aca00"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-format.formatIssueActivityAction (cyclomatic 25): activity-format.formatIssueActivityAction 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5c218d28c3760682c5af7165bf76d2c992cd3f4e6f34a17fd1c7a856140195"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.TranscriptToolCard (cyclomatic 25): RunTranscriptView.TranscriptToolCard 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"335687ac42c7e83b587bfd621937d6f2c61b1483a04fcc547aace23b2d7f1fdb"}},{"ruleId":"D1","level":"warning","message":{"text":"Projects.Projects (cyclomatic 25): Projects.Projects has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 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":"ui/src/pages/Projects.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff66d334feb831f2db9c6806fe9c15de319e9f9c302aa260ede220be9d9765c1"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineVariablesEditor.RoutineVariablesEditor (cyclomatic 25): RoutineVariablesEditor.RoutineVariablesEditor has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 94, 190, 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":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"18981d53a31694d417cae5dcebf5d6616ce1471bff831cd2d5861e91fe89f42a"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.attentionDetailLine (cyclomatic 25): attention.attentionDetailLine 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":"ui/src/lib/attention.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f81078e8b52c5f2c2d8cc264cd2868cc824e2d4a5b2bc0f6d0c4d77467cafd"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-state.slackSetupState (cyclomatic 25): setup-state.slackSetupState 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":"ui/src/pages/apps/chat/slack/setup-state.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b48f2762b5a059cb8e93b2d4864587c8fb005d8409918a4dc053451903fcca6"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.SelectStep (cyclomatic 25): ImportSkillsFromProjectDialog.SelectStep 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 2 function literals inside it that branch (lines 1082, 1066). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0325bb77c6d5e2c377f49e7159173d5dd8f2c64bf5f2d210246dd4636ab8b36"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillFolderTree.SkillFolderRail (cyclomatic 25): SkillFolderTree.SkillFolderRail 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 7 function items inside it that branch (a function literal at line 233, a function literal at line 164, a function literal at line 168, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5959142532da5373bdc16ed9e0d1226103491049381753dbb13a0f03648939a"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.RunTemplateAdvancedPanel (cyclomatic 25): SkillStudio.RunTemplateAdvancedPanel has cyclomatic complexity 25 (threshold 15). Of this number, 18 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c09402e03f34b1cbfff63015d19579afb00be4b1b32008829299f2e7022c89d"}},{"ruleId":"D1","level":"warning","message":{"text":"InboxAgentPolicyControl.InboxAgentPolicyControl (cyclomatic 25): InboxAgentPolicyControl.InboxAgentPolicyControl has cyclomatic complexity 25 (threshold 15). Of this number, 18 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":"ui/src/components/InboxAgentPolicyControl.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d383a54611c07fa625da9889c2f984d9b2fdae969de7f77450cd920c54f99260"}},{"ruleId":"D1","level":"warning","message":{"text":"McpAppFrame.McpAppFrame (cyclomatic 25): McpAppFrame.McpAppFrame 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 9 function literals inside it that branch (lines 95, 126, 135, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/mcp-app/McpAppFrame.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac62b39e83b63d08b6a264ea65005e4dc22ffc238f15ea7324c082e98134e6"}},{"ruleId":"D1","level":"warning","message":{"text":"useWorkspaceFileAvailability.useWorkspaceFileAvailability (cyclomatic 25): useWorkspaceFileAvailability.useWorkspaceFileAvailability has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 88, 155, 190, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useWorkspaceFileAvailability.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b273620da8410f9a53955f0d91ff4ff4be631dcdb8ef46c3d9f4ea3243a87"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxCommandExecutor::execute (cyclomatic 25): AcpxCommandExecutor::execute has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fea4f51ef426258edf1dbfe655d02af52078b1bb32e9edc3409e63bcf706961"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxProviderSession::start_turn_timed (cyclomatic 25): AcpxProviderSession::start_turn_timed 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e434286d2fe8691f51362ee1c0b9dfccc2c890fe8df47d94712c56ac454e9708"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::start_turn_with_options_and_effort (cyclomatic 25): CodexProvider::start_turn_with_options_and_effort 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30192f5d93b37bb4bf4f14e2451ad4767557a10e220f8b99b8aaf63f7b947dd"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderStartupAttempt::validate (cyclomatic 25): ProviderStartupAttempt::validate 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66e260d05e28dac40f490f6b1398c92e0265c63a05020e23dacea1ca240da37"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-install-check.managedInstallChecks (cyclomatic 24): managed-install-check.managedInstallChecks 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":"cli/src/checks/managed-install-check.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6561ec02bfc0be05064a3642f888bd6bebc420ecca8f8385129de3c23569af"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-sync.fetchGitBundleIntoLocalRef (cyclomatic 24): git-workspace-sync.fetchGitBundleIntoLocalRef has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"7522725cdf1eb01da5be25adc27c29827d91f0e3b827c5714425267e7aecccf5"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-managed-runtime.prepareRemoteManagedRuntime (cyclomatic 24): remote-managed-runtime.prepareRemoteManagedRuntime 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/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b2d289f6593626fd8c39b082b61c72fa1b2b2563afe0bb19d6e41ed0e213a"}},{"ruleId":"D1","level":"warning","message":{"text":"http2-bridge-server.wrapDuplexChannelAsNodeDuplex (cyclomatic 24): http2-bridge-server.wrapDuplexChannelAsNodeDuplex 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 5 function items inside it that branch (a function literal at line 459, endReadableIfDrained, clearBackpressureStallTimer, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e4d4235f04b210f681ec3b6a3ba5c4ed0156c17e1039f222efe9caaceb4c10"}},{"ruleId":"D1","level":"warning","message":{"text":"command-managed-runtime.createCommandManagedRuntimeClient (cyclomatic 24): command-managed-runtime.createCommandManagedRuntimeClient has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 344, fallbackSyncIn, a function literal at line 292, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1415444070c8b0aba5dfd239d2584703c9e3e02b10ae465eb2889540d4ef9afc"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.createClaudeStreamParser.\u003Creturned closure\u003E (cyclomatic 24): parse.createClaudeStreamParser.\u003Creturned closure\u003E 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e8a470619cd96dcaf0b300e2efcd8b826e4e679f92d7d55cc050789f6cda7"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.createCodexJsonlParser.\u003Creturned closure\u003E (cyclomatic 24): parse.createCodexJsonlParser.\u003Creturned closure\u003E 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/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d75a3583365ceadbb73ecd34fb6230e46f0977eb29668e29bd1c0deeb11f0e"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printKimiStreamEvent (cyclomatic 24): format-event.printKimiStreamEvent 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa9a771bf7729d33cbff001193943cb065a1906cecef33f7561629fb456fe6e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-boundaries.validateCodexWorkingDirectory (cyclomatic 24): codex-boundaries.validateCodexWorkingDirectory 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/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c834c566486078bd57d55b3d3c744c22f7fdc03efe5e342d237b1922536b7c10"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence-redaction.capabilityEvidenceDetail (cyclomatic 24): evidence-redaction.capabilityEvidenceDetail 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/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"31959eb196a670784f2bcc3f71e32da10f6976de5b60be4717b261a3a3b2a2d7"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.rotateRunIdentity (cyclomatic 24): DurablePrpControlPlane.rotateRunIdentity has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a2bbb684d6de31aec2c06d8e759d7f7b42049b642cc1c3c80fe7843749f383"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.acpxProviderPackageAuthority (cyclomatic 24): runnerd-codex-transport.acpxProviderPackageAuthority 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3587}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a749181d6062e026a738346922e6cfcd19fdd5c30c0e6854debc68965bb6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.waitForRunnerCommand (cyclomatic 24): runnerd-codex-transport.waitForRunnerCommand has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9937}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb19d4a88ace8cfdacfa2c9a6ed558d384fbeb8ad00cf6583e68bbee9bc683b"}},{"ruleId":"D1","level":"warning","message":{"text":"EvidencePanel.EvidencePanel (cyclomatic 24): EvidencePanel.EvidencePanel 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 7 function literals inside it that branch (lines 479, 615, 367, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ed8255fa338fb46517ca98cc9983241b6e07e5fa38f2b9c2156f891ad7a7bd"}},{"ruleId":"D1","level":"warning","message":{"text":"issue.resolveIssueRecoveryActionSchema (cyclomatic 24): issue.resolveIssueRecoveryActionSchema 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/shared/src/validators/issue.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f863c2062827bd8d907361d52be3cf0d3dae8db3e01b21e48113dead2399b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.isAiConnectionCompatible (cyclomatic 24): ai-connections.isAiConnectionCompatible 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/shared/src/ai-connections.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c9c917d75434a14665d5386d13b3a12c0a38f46ab14ad823980ff17026f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-sdk-runtime.validatedAttachmentRecoveryDescriptor (cyclomatic 24): chat-sdk-runtime.validatedAttachmentRecoveryDescriptor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8a8f22018baa07b51a89c4df95a4242cddb687820cd1b2eade34b8394cf44"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-runtime-identity.verifyClaims (cyclomatic 24): cloud-runtime-identity.verifyClaims 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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"094cfe459b1612949e930d2e8f89f50d20eed2da5decfe02cab362008c17f622"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-preparation-timing.measureTraced (cyclomatic 24): execution-preparation-timing.measureTraced 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 5 function items inside it that branch (run, a function literal at line 249, a function literal at line 226, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e243da65ea25ab9fa3c170b657073fb7d018d7cbf4aea9e5b621052996ef9fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createAuthorizationService.decideTaskBridgeAccess (cyclomatic 24): authorization.createAuthorizationService.decideTaskBridgeAccess 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":"server/src/services/authorization.ts"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8cb1bc322835d6d4ead34f6948306317f2d949be13c2c8dce34c71fe952188"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.unseal (cyclomatic 24): paperclip-cloud-connector.unseal 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e5487e533e9f9379f5c477a4482f8ee8115ba66137e5629d8f1704c720e434"}},{"ruleId":"D1","level":"warning","message":{"text":"github-grant-continuity.createGitHubGrantContinuity.syncGitHubGrantBindings (cyclomatic 24): github-grant-continuity.createGitHubGrantContinuity.syncGitHubGrantBindings has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 237, 265). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1822be85289efa020fb6f75cb7d4a9b9da3863517e02c467e2d06f95ba356400"}},{"ruleId":"D1","level":"warning","message":{"text":"native-rest-client.nativeRestSender.send (cyclomatic 24): native-rest-client.nativeRestSender.send has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-rest-client.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc1f9ff24a58d581012e2fab012d736bbe880c3ca640694c341a40674d9d85b"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-use-client.browserUseClient.call (cyclomatic 24): browser-use-client.browserUseClient.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":"server/src/services/browser-use-client.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7516ddfd87783272a2585e2321f8143be07d983e15d410a3989c0d3eb6538fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"ack-retirement-receipt.slackFormRetirementHistoryReceipt (cyclomatic 24): ack-retirement-receipt.slackFormRetirementHistoryReceipt 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":"server/src/services/chat-channels/slack/ack-retirement-receipt.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfb1631ce7f6eee24e1ec0c5f3749bb16dac66b20ca60f83d6809550a969a52"}},{"ruleId":"D1","level":"warning","message":{"text":"form-ack-work.parseSlackFormAckWork (cyclomatic 24): form-ack-work.parseSlackFormAckWork 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. This is NOT this file\u0027s highest cyclomatic complexity: form-ack-work.assertSlackFormReceiptHistory (cyclomatic 28) 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c86b11e67ad483f1c478baf09d2278df50513b15439540f16f2f8f88bcce80"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.inspectRecipe (cyclomatic 24): git-workspace-restoration.inspectRecipe 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. This is NOT this file\u0027s highest cyclomatic complexity: git-workspace-restoration.readGitCacheRestoration (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfab089e95ac356df772c8c0bcb1dec615c9851220bfc55b2a78b2f65b82d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.classifyInventoryKind (cyclomatic 24): company-skills.classifyInventoryKind 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":"server/src/services/company-skills.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"06492db22e35ccc4b148002fd799b28cd26b2a3b6f5a0220bf023e32ee2701d0"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.installFromCatalog (cyclomatic 24): company-skills.companySkillService.installFromCatalog 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":"server/src/services/company-skills.ts"},"region":{"startLine":5803}}}],"partialFingerprints":{"codehealthFindingId/v1":"03893bdf2ea7a3e541c28f782e8f7ce04a5ddc81ed11e4c7fe30a07aa14c0bbf"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-git-snapshot.openGitSkillSnapshot (cyclomatic 24): skill-source-git-snapshot.openGitSkillSnapshot 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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa123eec042bde3c25ae881f4794ebc74ab18ff29d60b1f2bb2c366dcf47985"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-sources.skillSourceService.settings (cyclomatic 24): skill-sources.skillSourceService.settings has cyclomatic complexity 24 (threshold 15). Of this number, 15 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":"server/src/services/skill-sources.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f1fa9626e20fd36d147dbc48aadabd0580c535f7d2176c9b37334f2fe82fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-migration.preservedDatabaseOnlyFailedCheckpoint (cyclomatic 24): native-controller-migration.preservedDatabaseOnlyFailedCheckpoint 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deae4e88474ffde91bdb42fa3ff5bb80241961aa111aa97297fd539db080ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-migration.findLocalNativeControllerObligation (cyclomatic 24): native-controller-migration.findLocalNativeControllerObligation 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f95c2e1d010c507f2cefbce4c946555646e31fa6ad1273c90a582330ded41e"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-creation-operations.createOwnedSandbox (cyclomatic 24): sandbox-creation-operations.createOwnedSandbox has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e2922059036850ac853946a9602e57f660bc5b77f2808b27498b00373079d8"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-injection-prevention.promptInjectionPreventionService.settle (cyclomatic 24): prompt-injection-prevention.promptInjectionPreventionService.settle has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 114). 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a32f1f3e707168053eeaafc56dbc9d132323926d1e317da125a0c95546117b0"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.selectorMatches (cyclomatic 24): tool-access-policy.selectorMatches has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b393b4b1f7705b32dae85491cddcfbbd4e8ce5619e8c1ffeb67b5161eab37b"}},{"ruleId":"D1","level":"warning","message":{"text":"review-check-state.githubReviewCheckState (cyclomatic 24): review-check-state.githubReviewCheckState 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":"server/src/services/chat-channels/github/review-check-state.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"46921f646a5bdbaad4c06cb5070194660d40275101d12afa1a8caf2b38d80735"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-job-scheduler.createPluginJobScheduler.refresh (cyclomatic 24): plugin-job-scheduler.createPluginJobScheduler.refresh has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-job-scheduler.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6290e5986bb2825dac81cdfb83e185a3ad23a3abed827aabb02c381e75722692"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-loader.pluginLoader::fetchAndValidate (cyclomatic 24): plugin-loader.pluginLoader::fetchAndValidate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (plugin-loader.pluginLoader, plugin-loader.pluginLoader::activatePlugin) 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b79d7f457acb732369577bc2eb5a195432b2c507315f6d8987c2583c78cebf"}},{"ruleId":"D1","level":"warning","message":{"text":"native-deliverable-feedback.declinedTaskDocumentNotRequired (cyclomatic 24): native-deliverable-feedback.declinedTaskDocumentNotRequired 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf652dcd8a4a5ec7a22db4d2f851fc0f5ed9853f42eb4caca71bb742a1d8dff"}},{"ruleId":"D1","level":"warning","message":{"text":"required-quality-review.readRequiredQualityReview (cyclomatic 24): required-quality-review.readRequiredQualityReview 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":"server/src/services/required-quality-review.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f7b05928721a67804bb182f241f56badb2a38197202d694d513d3e6522ac58"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.resumeShutdownStoppedRetryPreparations (cyclomatic 24): service.recoveryService.resumeShutdownStoppedRetryPreparations 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4692}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58521455e451b9456b0d0a10de007feb9066b058c8f55b2411c6b2a846a5830"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createWakeAdmissionWriter.mergeIntoExistingDeferredWake (cyclomatic 24): postgres.createWakeAdmissionWriter.mergeIntoExistingDeferredWake 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe2eeb7706bdf72d452e5b7419406149803b473407a492c6e4261e03803c303"}},{"ruleId":"D1","level":"warning","message":{"text":"saved-workspace-archive.buildIndex (cyclomatic 24): saved-workspace-archive.buildIndex 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":"server/src/services/saved-workspace-archive.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe9a80757f4f8e3848cfa49f05687c45323cc4c02b93a0c8583b489a75ebde"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.enumerateWorkspaceFiles (cyclomatic 24): workspace-file-resources.enumerateWorkspaceFiles 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"207448911533989562891bbb0e535971dc96e689997eabb22be642ee71528b81"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.resolve (cyclomatic 24): workspace-file-resources.workspaceFileResourceService.resolve 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fa6a064a0bcb96da80a15e6103daf29a69c81368d3522448bc2ea6ff3533c8"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-context.resolveNativeRuntimeMcpSnapshot (cyclomatic 24): runtime-context.resolveNativeRuntimeMcpSnapshot 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 3 function literals inside it that branch (lines 374, 340, 339). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25a6b1529828448f99f4c110a7ecf502e81775f0f990ce53330140bf73e1b45"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.completedRunTerminationProof (cyclomatic 24): run-control.createHeartbeatRunControl.completedRunTerminationProof 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d85b456d5a646f8dfb9b8b3302178fd6b50d7750dea37ffd146037999c95f"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-models.decisionModelService.settle (cyclomatic 24): decision-models.decisionModelService.settle has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 151). 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":"server/src/services/decision-models.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8121fb1e8c4f5a429b6bd8015e42fcea044561ac02d2860bd6baef9fc1bb45ae"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat.heartbeatService (cyclomatic 24): heartbeat.heartbeatService has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1047, 1341, 1372, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce43583811b5f5075513d5e34743d4f0b174f2f7f64b2887a08965599bd493fc"}},{"ruleId":"D1","level":"warning","message":{"text":"delivery-ledger.normalizedLifecycleEffect (cyclomatic 24): delivery-ledger.normalizedLifecycleEffect 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":"server/src/services/chat-channels/inbound/delivery-ledger.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb8abe2e5aebd8e283ae5109feb23ca945710444055b369e668fef7e1825cca"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-policy.createGitHubPublicationPolicy.settleGitHubAutomaticPublication (cyclomatic 24): publication-policy.createGitHubPublicationPolicy.settleGitHubAutomaticPublication has cyclomatic complexity 24 (threshold 15). Of this number, 19 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":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd76307ab1d041200a4b858275d2939bc3758f5d68f5b5c0659c0c36b27dc05"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.createChatPublicationResolution.resolvePublication (cyclomatic 24): resolution.createChatPublicationResolution.resolvePublication has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements 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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4cbc650ba48fac791f300695c893e2ca4f385d14493417b991ee30ab49397"}},{"ruleId":"D1","level":"warning","message":{"text":"media.validateHeifDimensions::visit (cyclomatic 24): media.validateHeifDimensions::visit 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":"server/src/services/photon/media.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2d08c71e19c8bfe386154d8e6578c44d4e2df5ff06672189056ca72c38548d"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.reconnectGalleryApp (cyclomatic 24): tool-access.toolAccessService.reconnectGalleryApp has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3687, 3641, 3640). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad871a12940ba2191596fdff6de04f0dfab1c9aa5c66369229197936c6c38c4c"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.recordSecretProposalExecutionResult (cyclomatic 24): issue-thread-interactions.issueThreadInteractionService.recordSecretProposalExecutionResult has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 3486). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b00935f267323d1d851d789d525e66d335c666c4b1b44661294666ba8ff107"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.withdrawInteraction (cyclomatic 24): issue-thread-interactions.issueThreadInteractionService.withdrawInteraction 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 one function literal inside it that branches (line 5535). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5493}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8a138095c47164de45d1af51fa9c14634e3fce47c06901ed25f36ad5f990c2"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-api-response.captureRunnerApiResponse (cyclomatic 24): runner-api-response.captureRunnerApiResponse 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":"server/src/services/native-runtime/runner-api-response.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85811bdb9962ceb751a195c2935fbbdd584cbe4acf930fa84c915cfeab45949"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoffs.caseHandoffService.apply (cyclomatic 24): case-handoffs.caseHandoffService.apply 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc42705e28339a85bb794195aba5e46ef6c78dd1d1b063ffb3acfdf04fc9cc2"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoffs.caseHandoffService.acceptTerminal (cyclomatic 24): case-handoffs.caseHandoffService.acceptTerminal 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dc936d7902dd4bd889a0fba66d37e7223806556b565d41fafd43b7989163a5"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-bridge-tools.executeWorkspaceToolInLane (cyclomatic 24): runner-bridge-tools.executeWorkspaceToolInLane has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-bridge-tools.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"90933eaf279f30168694ce02cc0cb1f806460501fbbf62954a3900182b391ae2"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#createTask (cyclomatic 24): PaperclipRunnerToolAuthority.#createTask has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (PaperclipRunnerToolAuthority.#createTask::authorizeCreate) 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4787b24485df1bbc6d86740efb0fe7a0083e5ba94c14760509c1a4c353f37a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.restorePerTurnRunnerdController (cyclomatic 24): native-session-executor.restorePerTurnRunnerdController has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7428}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde775c4d69c24c0c901c42f9db98cd63f8b87fa5acd16f0ae7d9a298577484f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.providerSessionIdentityTransitionIsAllowed (cyclomatic 24): native-session-executor.providerSessionIdentityTransitionIsAllowed 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8086}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad4a08416f8b5f94b41d12659bab643dd23f20bf738dbb88736c76c6934240e"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareRunner (cyclomatic 24): native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareRunner has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19054}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86107ae05bd173311a643e02542d6375c22b69b233a1f728f124cadff10b1b8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-instance-secrets.agentInstanceSecretService.apply (cyclomatic 24): agent-instance-secrets.agentInstanceSecretService.apply has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 22, 19). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instance-secrets.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f785713a5475b2a28f29dc3e5bf5f66a928c15ae289860897d069d809ec0f421"}},{"ruleId":"D1","level":"warning","message":{"text":"access.accessService.updateMember (cyclomatic 24): access.accessService.updateMember has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 1146). 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":"server/src/services/access.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c5dcb1ad7ef5770932109ba09c00dd654f5ce41687ee05faac8b9ae047d48"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-api-wake-admission.parseApiWakeAdmission (cyclomatic 24): idle-api-wake-admission.parseApiWakeAdmission 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":"server/src/services/idle-api-wake-admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8d144905ec51d216a417e0dbb00d46d9d933dbd77f644669e232543e744a7c"}},{"ruleId":"D1","level":"warning","message":{"text":"operation-groups-doc.validateOperationGroupsInput (cyclomatic 24): operation-groups-doc.validateOperationGroupsInput 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/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3db42be8c40e81ae6b0052e8ddec2e726cba68ba1f7d2d54d5f64e39f998940"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-integrity.isDeclaredHoistedProviderPlatform (cyclomatic 24): installation-integrity.isDeclaredHoistedProviderPlatform has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9841ad9c88d9ab062adce210840d594e942890aecd066a7f594c59e84dc21d9"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-eval-campaign.buildProtocolEvalCatalog (cyclomatic 24): runner-protocol-eval-campaign.buildProtocolEvalCatalog has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcec395c0bd318d2630fe336192d1c403708d125026d2ea93802b4d125f5cae"}},{"ruleId":"D1","level":"warning","message":{"text":"acp-edit-context.safeAcpxEditTarget (cyclomatic 24): acp-edit-context.safeAcpxEditTarget has cyclomatic complexity 24 (threshold 15). Of this number, 16 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/paperclip-runner/src/drivers/acpx/acp-edit-context.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf35a50cc3062de262436dd7d93d19f58c9477af4288e1e9e8d21b6b6a55c4d8"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-message-boundary.createKimiMessageProjection.normalize (cyclomatic 24): kimi-message-boundary.createKimiMessageProjection.normalize 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/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"93930c0d09e3ac58e867c734b07758a62f5da03bbf987183f3361e6ec80388a1"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-tool-bridge.taggedValue (cyclomatic 24): runner-tool-bridge.taggedValue 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b60a617086ac2c9b8dcbd56532f05bd32226b3cad468167804faf0d05035b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeProviderCycles.#classify (cyclomatic 24): ClaudeProviderCycles.#classify 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/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d731da53e77a880878bff45ecaa1a500c7b318c72ed0a6a68afbde33b6e23d19"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-process.retireAntigravityProcess (cyclomatic 24): antigravity-process.retireAntigravityProcess 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 4 function items inside it that branch (alive, signal, a function literal at line 51, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/drivers/acpx/antigravity-process.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b16fa8ce5dbe2f110f1f5b5b7c71fc89c60d4655eb50ffb90ec30b71e2c7e6"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-instructions.createCursorInstructionAdmission.createGuard.\u003Creturned closure\u003E (cyclomatic 24): cursor-instructions.createCursorInstructionAdmission.createGuard.\u003Creturned closure\u003E 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/paperclip-runner/src/drivers/acpx/cursor-instructions.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4537cacc88bfe6561591cc6d86f4332eff93bab879a07e8dd1e023c7608c78ca"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-adapter.goalSnapshotFromAcpMessage (cyclomatic 24): acpx-runtime-adapter.goalSnapshotFromAcpMessage has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5132501fffcaed856b26ef80bc6ca9ed45a32be9e6f8c3ab767552b0d5ca1495"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.#interrupt (cyclomatic 24): CursorCloudSession.#interrupt 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc4c901f9b6a07b648d0b3e96390320a3a73c395533e48e4a5c377d915f8858"}},{"ruleId":"D1","level":"warning","message":{"text":"app.OnThisPagePane (cyclomatic 24): app.OnThisPagePane 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a63c378d32311df4b44f4ea115a6a76889a6f55aead6562c78bcb57e0ab8d6"}},{"ruleId":"D1","level":"warning","message":{"text":"local-ai-login.localAiLoginService.start (cyclomatic 24): local-ai-login.localAiLoginService.start has cyclomatic complexity 24 (threshold 15). 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 218). 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":"server/src/services/local-ai-login.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a229e5a24414d257b9663f91d09421a7fd357de3558b4192a63f205a45e879d1"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.decisionService.decide (cyclomatic 24): decisions.decisionService.decide has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3ab701106fd72e436d7e5d499d8a15b910ed0764fa2982e2f8a7cbcd87440c"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.parseYamlBlock (cyclomatic 24): company-portability.parseYamlBlock has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: company-portability.isSensitiveEnvKey (cyclomatic 26) 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":"server/src/services/company-portability.ts"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85840ad8b041d815daabc4cf1fc3b7452aafa0dc8ad39221ce037b1527b8651"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-harness-verification.assertHarnessTestPassed (cyclomatic 24): agent-harness-verification.assertHarnessTestPassed has cyclomatic complexity 24 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f630b1b70895d5da041bffe4793d9ba1b94d6d436931c15160c9ccc1778ba31"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-update-diff.diffSkillPackageFiles (cyclomatic 24): skill-update-diff.diffSkillPackageFiles 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 cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-update-diff.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54907376fec31cf8dbdf27d9c4834eea0b20cbcf3cc2ec6bebe6617156331ca"}},{"ruleId":"D1","level":"warning","message":{"text":"restricted-workspace-retry.prepareRestrictedWorkspaceRetry (cyclomatic 24): restricted-workspace-retry.prepareRestrictedWorkspaceRetry 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":"server/src/services/restricted-workspace-retry.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"31432110450bca0c3e12667b2ce224f43dbc043e71a46ac12cd43b7e0f1db994"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::assertInReviewReviewPath (cyclomatic 24): issues.issueRoutes::assertInReviewReviewPath 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. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":4873}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f02f88dbd123171ca7dc26a75a4f78bbf56c00f04f9c99fd1744b8194ada7f6"}},{"ruleId":"D1","level":"warning","message":{"text":"device-login.tailscaleDeviceLoginService.resume (cyclomatic 24): device-login.tailscaleDeviceLoginService.resume has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 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":"server/src/services/connectors/tailscale/device-login.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"984256eb7765591e97d82e96cea52d132ada4473a924bebf33ba3d3d06042e87"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-sleep-safety.readIdleSleepSafety::report (cyclomatic 24): idle-sleep-safety.readIdleSleepSafety::report 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. This shape REPEATS in the file: one other method here (idle-sleep-safety.readIdleSleepSafety) 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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"684a093df3a58638e93985f75e9b270c00c9acb0ac2a3970a9169affcff5e6e5"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-maintenance.skillPackageMaintenance.migrateVersions (cyclomatic 24): skill-package-maintenance.skillPackageMaintenance.migrateVersions 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1144a5e3dbda7c01d0a659a7ea27261581e73029171c803579081c2c2e3f65df"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-installation-maintenance.legacyFiles (cyclomatic 24): skill-installation-maintenance.legacyFiles has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 2 function items inside it that branch (visit, a function literal at line 43). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"047bb245ba00851c02f6c94bc9af9eee4725a0779f5289efa1e8f7a62e8d02ea"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-api-ws.proxyPluginApiWebSocket (cyclomatic 24): plugin-api-ws.proxyPluginApiWebSocket has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/plugin-api-ws.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3db64312547e7f163d452d685619431f672ab85b586e6ac45d85d3cb62cd59f"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCharacter.AgentCharacter (cyclomatic 24): AgentCharacter.AgentCharacter has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 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":"ui/src/components/AgentCharacter.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19a1b0377a43165ef9f79282aa054f5c61b834e7a24216ba1fb8fbcdc2fdcd6"}},{"ruleId":"D1","level":"warning","message":{"text":"schema-config-fields.ComboboxField (cyclomatic 24): schema-config-fields.ComboboxField has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 85, a function literal at line 168, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e82c02314d7828805da455a8c3062460173feacd4a72cd717947d9503e86da"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarAccountMenu.production.SidebarAccountMenu (cyclomatic 24): SidebarAccountMenu.production.SidebarAccountMenu 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf85d0a3e6f28dc90080938984ef9883901bdfba05580c87728b80ff762fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatStatusNotice.TaskChatStatusNotice (cyclomatic 24): TaskChatStatusNotice.TaskChatStatusNotice 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":"ui/src/components/task-chat/TaskChatStatusNotice.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a0c4af78f1c09c77c14123c3a172874609400ed21ab94deae9401c7ac77698"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.paperclipRunnerFinalResponse (cyclomatic 24): transcript-adapter.paperclipRunnerFinalResponse has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27cee63a7bdffba7bce4a32f0cdebd51efdb4f97e4a380b7bf7b025e6d56ed6"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatStatusPill.TaskChatStatusPill (cyclomatic 24): TaskChatStatusPill.TaskChatStatusPill 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":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"417fc1c93f86912fb2b449eb4578273505b013de873d3d89e538ba162e2b3fdd"}},{"ruleId":"D1","level":"warning","message":{"text":"AllowedProjectsEditor.AllowedProjectsEditor (cyclomatic 24): AllowedProjectsEditor.AllowedProjectsEditor has cyclomatic complexity 24 (threshold 15). 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":"ui/src/components/AllowedProjectsEditor.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cda35a20d9f74a32411a0035fca1f057c858e48596d2b4ffb04d24c02404a2b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfigSaveBar.AgentConfigSaveBar (cyclomatic 24): AgentConfigSaveBar.AgentConfigSaveBar has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 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":"ui/src/pages/agent-detail/AgentConfigSaveBar.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a661327bf4c967ac0b975e0ffe49b2f976d9ea8936bcfa35ea51b1685eadc9d3"}},{"ruleId":"D1","level":"warning","message":{"text":"save.saveAgentConfiguration (cyclomatic 24): save.saveAgentConfiguration 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6e6138365091be64a5a49c18edf15534007499b8cefe8bc10a38eec176e250"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectWorkspaceSummaryCard.ProjectWorkspaceSummaryCard (cyclomatic 24): ProjectWorkspaceSummaryCard.ProjectWorkspaceSummaryCard 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":"ui/src/components/ProjectWorkspaceSummaryCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc8ef557b1e3c7b7f02a6c41951be018aab087313ff1df943f204977a9507a5"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineTriggers.WebhookSettings (cyclomatic 24): RoutineTriggers.WebhookSettings 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd8447d31b1cae72b1667681f666e9a4841fbe2adeec2beb562757001105375"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionQueueRow.ApprovalResolver (cyclomatic 24): AttentionQueueRow.ApprovalResolver has cyclomatic complexity 24 (threshold 15). Of this number, 17 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"964993ce29ebc6258a1856774b0f0d49a196172dda23bb6c2439c6ff678ee1ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileDetail.ProfileDetail (cyclomatic 24): ProfileDetail.ProfileDetail 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f122c1d3938b9325b38c0bbe308be61ecc7a2aa8408eb4e3d85d3c1039e5cb"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantConnection.AssistantConnection (cyclomatic 24): AssistantConnection.AssistantConnection has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AssistantConnection.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f0884fcf063919af7a5a0c4bf2135b82606642236c21cb9afc7bad237cd46"}},{"ruleId":"D1","level":"warning","message":{"text":"TailscaleConnector.TailscaleConnector (cyclomatic 24): TailscaleConnector.TailscaleConnector has cyclomatic complexity 24 (threshold 15). Of this number, 14 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":"ui/src/pages/apps/TailscaleConnector.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"541eec42044c9d9418127bd0628e0f6a7cb69d7c20d23295b1710eca53ba8d76"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentSetup.Setup::saveDraft (cyclomatic 24): NewAgentSetup.Setup::saveDraft has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19ed02d036734009d956da3b143497806f7135cbd1844e53d1ec7d44c256883"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionParticipantPicker.ExecutionParticipantPicker (cyclomatic 24): ExecutionParticipantPicker.ExecutionParticipantPicker has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 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":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"371686be6a13c8c72cc777d4255809f00cd212dbb5315aca9ac2c09b26e0853f"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaForm.SecretField (cyclomatic 24): JsonSchemaForm.SecretField 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aae94d331eaed484f8794a19a5dd94ef2744ee370a4beaea6dd502c85fe47c0"}},{"ruleId":"D1","level":"warning","message":{"text":"InvitesSection.InvitesSection (cyclomatic 24): InvitesSection.InvitesSection has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 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":"ui/src/components/access/InvitesSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8914b7f9ab6f08041914a7d1fbe1537b4e1e6d372d1ba08a0b00148441574c"}},{"ruleId":"D1","level":"warning","message":{"text":"useAiConnectionDefaults.useAiConnectionDefaults (cyclomatic 24): useAiConnectionDefaults.useAiConnectionDefaults 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 5 function literals inside it that branch (lines 60, 44, 70, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/useAiConnectionDefaults.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e670bf79dd0bf1bd1d858f6bc99123dbf0143f989702f1f958990ff9e704a8"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionAccountControls.AiConnectionAccountControls (cyclomatic 24): AiConnectionAccountControls.AiConnectionAccountControls 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":"ui/src/components/ai-connections/AiConnectionAccountControls.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bf71ac67cbf7937f58ebbaff5eb54233b2531425cbe1a6b73f5aaf0f7a330e"}},{"ruleId":"D1","level":"warning","message":{"text":"SpekoPhoneLine.SpekoPhoneLineForm (cyclomatic 24): SpekoPhoneLine.SpekoPhoneLineForm has cyclomatic complexity 24 (threshold 15). Of this number, 19 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":"ui/src/components/voice/SpekoPhoneLine.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f60a3e61ce95bba777b1714f93f7195c5831c4bbe52b2969ad24dc65fd8dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleWorkspaceServices.GoogleWorkspaceServicesDialog (cyclomatic 24): GoogleWorkspaceServices.GoogleWorkspaceServicesDialog has cyclomatic complexity 24 (threshold 15). Of this number, 19 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":"ui/src/features/connections/GoogleWorkspaceServices.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe899e02c899bdce39d3a4c25627de9ed40edeae476f1d2a5580c6cd69a0610"}},{"ruleId":"D1","level":"warning","message":{"text":"useMuseConnection.museConnectionState (cyclomatic 24): useMuseConnection.museConnectionState 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":"ui/src/hooks/useMuseConnection.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4b612d5e882a01b083b52530a2fb91eace517e90520a2b12762af6d811fff0"}},{"ruleId":"D1","level":"warning","message":{"text":"useTaskPluginPanels.useTaskPluginPanels.stream (cyclomatic 24): useTaskPluginPanels.useTaskPluginPanels.stream has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 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":"ui/src/hooks/useTaskPluginPanels.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a33d2877d9640b7dbe2b0680c671e04f4e6afed0c8320dddf327d44efb04cf"}},{"ruleId":"D1","level":"warning","message":{"text":"api.installFixtureApi.fixtureFetch (cyclomatic 24): api.installFixtureApi.fixtureFetch has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/capability-gaps/api.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"531f04e29de89a58ffc6ad0ba6ebb97e862a84b43a2772db1a65552dbf116566"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::governance_events::safety_action (cyclomatic 24): paperclip_runner_core::governance_events::safety_action has cyclomatic complexity 24 (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/paperclip-runner/runner/crates/runner-core/src/governance_events.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"168140ffa6df16eef305cdbf79856917a560d5fc03cb6ea228c3221fc4d652ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ssh.integrateImportedGitHead (cyclomatic 23): ssh.integrateImportedGitHead has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1fcc4e11477a38ae792abdfe15020a4fd5d9d892a5c88759ff4b257d248524"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-runner-permissions.paperclipRunnerTransitionConfig (cyclomatic 23): paperclip-runner-permissions.paperclipRunnerTransitionConfig 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/adapter-utils/src/paperclip-runner-permissions.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b729dde353d15f66e18fe333b9049fe5f7b5f6458365dde371e2f35044efeca7"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseCodexItem (cyclomatic 23): parse-stdout.parseCodexItem 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b898b13e289559f8cfc35ed22babeb6291683c09085119748f1d1a042e7163"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printToolCallEventTopLevel (cyclomatic 23): format-event.printToolCallEventTopLevel 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e24d2ea19fa4fc436c94836f4c9ab1aeaf686a63d6dcd26ca462f5a49dd06d1"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.createCursorJsonlParser.\u003Creturned closure\u003E (cyclomatic 23): parse.createCursorJsonlParser.\u003Creturned closure\u003E 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/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0ee252a261207c8e82c80ddf738f9550f240aab0e51f8700d8386f177a2f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::toResult (cyclomatic 23): execute.execute::toResult 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. This shape REPEATS in the file: one other method here (execute.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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9967c25f39274c64c679d3a45727acdf3ea294fd147e25e4012422f1a2dbc1f"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseCursorToolCallEvent (cyclomatic 23): parse-stdout.parseCursorToolCallEvent 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7c5784abd257627e903d9de9b019aad6eeb5865b7cddcbaac5096d588acfa8"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printOpenCodeStreamEvent (cyclomatic 23): format-event.printOpenCodeStreamEvent 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/adapters/opencode-local/src/cli/format-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9a88f14bcbdb77a82d818fbbdcd69c2dd4c10cebda71989c838960195131b8"}},{"ruleId":"D1","level":"warning","message":{"text":"redaction.inspect (cyclomatic 23): redaction.inspect 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/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d3e36f3ee2a2d86a2dcef5457eff9f6ba76cd1aca01abc9c9a2022446b1a3a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-question-adapter.runtimeRequestResponse (cyclomatic 23): codex-question-adapter.runtimeRequestResponse 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"497a2cc948677666e82a4bcf6d1c0dec324179e609280cca1993d119e57b2d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-driver-values.parseProviderIdentity (cyclomatic 23): codex-driver-values.parseProviderIdentity has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"405b11c348463d7752edb25002862a9f3a45650871c74c442d1ea87bc5bf1499"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.#validateState (cyclomatic 23): CapabilityMockControlPlaneAdapter.#validateState 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7268c81a7abbebc4d51b3eea376a917b1bfbf9cb58566b1985c0c8edf36248a"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence-redaction.redactCapabilityEvidenceData (cyclomatic 23): evidence-redaction.redactCapabilityEvidenceData has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98d6b086e1fc41a730f737ceae0b6cec9b288c6d4636789c6146baac55d2c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#authHello (cyclomatic 23): DurablePrpControlPlane.#authHello 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. This is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce73e8246edcf0f037af53058b313bb67b5210aabf3cd8241f26d287fc71a8a8"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-call-markup.toolCallMarkupStart (cyclomatic 23): tool-call-markup.toolCallMarkupStart 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/paperclip-runner/src/drivers/opencode/tool-call-markup.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3692a2fb40bd13dda6bff887a3e0b25d7efd145bb066092b26fc29a6bbcb12"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#releaseSettledRunner (cyclomatic 23): DurablePrpCodexTransport.#releaseSettledRunner has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4901}}}],"partialFingerprints":{"codehealthFindingId/v1":"3116da7aa57410798e0aaace5fc5b24c12b760751176c00165d148a5eba8c121"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#stopProviderBeforeSuspend (cyclomatic 23): DurablePrpCodexTransport.#stopProviderBeforeSuspend 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe7999777fbbfc17449589789a8afa1e8236587349217d83a89e8a86477adfe"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadItems.ProviderActivity (cyclomatic 23): ThreadItems.ProviderActivity has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e96b9655acce7f50524a76c571f942f6e26d1b430b7c2d9834edf7972800c9"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-cursor-distribution.materializePinnedCursorDistribution (cyclomatic 23): materialize-cursor-distribution.materializePinnedCursorDistribution 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/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1888692226fb4abd109dbe3ee2fedf742e9766fe1e15d709106ac4653a03440b"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-question-forms.parseChatQuestionFormSubmitTokenPayload (cyclomatic 23): chat-question-forms.parseChatQuestionFormSubmitTokenPayload 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"868cf87bf5d1fb06781ce96fbb61462896ec01e006771c90c7a22d889da1093b"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-consent.installTeamsFileConsentHook (cyclomatic 23): chat-teams-file-consent.installTeamsFileConsentHook 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 820). 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"d732d6b6f741eba98086555599449dcddde652322de36316fccb89450099ea1d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-records.configPatchFromSnapshot (cyclomatic 23): agent-records.configPatchFromSnapshot 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":"server/src/lib/agent-records.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"89525b982cbffe339dce0b17807ae73d8b9db9274fdb8de10b363de4a171d2b3"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createAuthorizationService.applyResponsibleUserIntersection (cyclomatic 23): authorization.createAuthorizationService.applyResponsibleUserIntersection 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":"server/src/services/authorization.ts"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"14462e8f74851010753374323034b00e83624ce2f3cabcde6b714ee62794facc"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-local-work.readIdleLocalWork (cyclomatic 23): idle-local-work.readIdleLocalWork has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-local-work.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc576841bdee9703d17bd758a8beb731d12e0ed122fa6f8654983a25e289fcf9"}},{"ruleId":"D1","level":"warning","message":{"text":"s3-multipart.putS3MultipartFile (cyclomatic 23): s3-multipart.putS3MultipartFile 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 3 function items inside it that branch (sendPart, worker, a function literal at line 237). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/s3-multipart.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"98387dc5976e3c69bbb299c710a4003a14cc91d5076b965be7b63bc62df4fa12"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-owner-stop-proof.proveLocalWorkspaceOwnerStopped (cyclomatic 23): native-workspace-owner-stop-proof.proveLocalWorkspaceOwnerStopped has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-owner-stop-proof.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8dc07ac064dc88359bc5da4e5ea7d0e64442fc30301ddb56e3a0598599403e"}},{"ruleId":"D1","level":"warning","message":{"text":"refresh-leases.createOAuthRefreshLeases.acquireOAuthGrantRefreshLease (cyclomatic 23): refresh-leases.createOAuthRefreshLeases.acquireOAuthGrantRefreshLease 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":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5f085c9c392633f13a5c7742885c212ee3ce87d09a2fb025e38798733b0e53"}},{"ruleId":"D1","level":"warning","message":{"text":"credential-access.createConnectionCredentialAccess.resolveCredentialHeaders (cyclomatic 23): credential-access.createConnectionCredentialAccess.resolveCredentialHeaders 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":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab483cd9e86b8f40a06afcb9af24c7ac00c24924373ea7fc4a78abfabd3367d"}},{"ruleId":"D1","level":"warning","message":{"text":"installs.createConnectionInstalls.putConnectionInstalls (cyclomatic 23): installs.createConnectionInstalls.putConnectionInstalls 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 2 function literals inside it that branch (lines 181, 271). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/installs.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"706a50e6fd5cd86cfa45daec21d62d2b8af048d9904af31c1be4da45dae22146"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.prepareSlackFormProofAcceptance (cyclomatic 23): form-session.prepareSlackFormProofAcceptance 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"922978e207cc08bb1c79518548d236ec3954a3dff2e4d2a6ea0882b4e6b48f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleFetchHead (cyclomatic 23): git-workspace-restoration.assertReproducibleFetchHead 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. This is NOT this file\u0027s highest cyclomatic complexity: git-workspace-restoration.readGitCacheRestoration (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb9a8e1fe67fe4d0f663d45fe89bd9432b4f7ab7a8ef74c259a0316157cc551"}},{"ruleId":"D1","level":"warning","message":{"text":"git-repository-excludes.copyVerifiedGitExcludes (cyclomatic 23): git-repository-excludes.copyVerifiedGitExcludes has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-repository-excludes.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a96f0f6d3810719095e44750ae915c2bfa5761aef6f034b9c6e3cf37dce3be6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-durability.persistDurableAgentFiles (cyclomatic 23): agent-file-durability.persistDurableAgentFiles 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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"838c1208c3699830acfcc19e6ae28e10be1f1642ec20b3f6c3108888282acf34"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-files.validateSkillPackageManifest (cyclomatic 23): skill-package-files.validateSkillPackageManifest 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":"server/src/services/skill-package-files.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2870ceea0acb668811e69d6a2cf5d47ef5af82d86cf475abccbfbd8d652079bf"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-version-cache.protectedVersions (cyclomatic 23): skill-version-cache.protectedVersions has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-cache.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9550185632bcb96f483dc7deeb3b544fc9e3a80edb92617453fa66cdf8f15d"}},{"ruleId":"D1","level":"warning","message":{"text":"github-external-object-provider.createGitHubExternalObjectProvider::resolver (cyclomatic 23): github-external-object-provider.createGitHubExternalObjectProvider::resolver 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71c9d1e9436dca58a553f08e0436ae2f4625f72e997d864250bd4a40b08a9eb"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.assetBindings (cyclomatic 23): native-harness-filesystem-independence.assetBindings 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d126a9f65abcdc4c6c5c6bc48be6df7482df8808493e8a4b0028228db52d3"}},{"ruleId":"D1","level":"warning","message":{"text":"reusable-sandbox-resume-replacement.reusableSandboxReplacementPlan (cyclomatic 23): reusable-sandbox-resume-replacement.reusableSandboxReplacementPlan 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":"server/src/services/reusable-sandbox-resume-replacement.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"359250ecbe32941ce03b2367030a95e849b7252d567a2454ddf069759bcf5e71"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-workspace-identity.probeManagedWorkspaceReadiness (cyclomatic 23): managed-workspace-identity.probeManagedWorkspaceReadiness 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":"server/src/services/managed-workspace-identity.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b90487db90e115908886b51c34d5aca63fcd5b521d522012ef66988ef1dd77"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.resolveNewAgentRunnerForCompany (cyclomatic 23): agent-runner-selection.resolveNewAgentRunnerForCompany 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"560ee9961faee8defe91d517aaeae81edbf462a87bfcf18c106241568091a68a"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-elicitation.legacyCardContent (cyclomatic 23): mcp-elicitation.legacyCardContent has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5df379db83b100f2ef141123a6a073aa3e6ef3e86c7991bfe41b202b3af9f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.prepareConfiguredRepositoryCopy.verify (cyclomatic 23): execution-workspace-repositories.executionWorkspaceRepositoryService.prepareConfiguredRepositoryCopy.verify 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7309ee7d82f190bba495471f4877c4fe92032eb2c34e8fce0a09488f1b3b195d"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.resolveSourceWorkspaceConfiguration (cyclomatic 23): execution-workspaces.executionWorkspaceService.resolveSourceWorkspaceConfiguration 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e6f680dc0197d9532f567b08ba1bf7f62e15bb90e517c1fd10829a69263fab"}},{"ruleId":"D1","level":"warning","message":{"text":"native-cancellation-request.nativeRetryCancellationEligible (cyclomatic 23): native-cancellation-request.nativeRetryCancellationEligible 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":"server/src/services/native-runtime/native-cancellation-request.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a917bc2d395ca7b835bc53440c1a003d5eaebde4f53bf0582cb7b6d83fd282a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-conversations.settleConversationTurn (cyclomatic 23): agent-conversations.settleConversationTurn 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 one function literal inside it that branches (line 363). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbe67d81984b6f28f3a621899a6766392e420bfdab05adfbd3ace217ec55a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"native-deliverable-feedback.deliverableLabelNamesFile (cyclomatic 23): native-deliverable-feedback.deliverableLabelNamesFile has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 131, namesFile, namesFile::ownsInline, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba3a3821a711f63026b80d0b8867b0c85d0199878c026fe94ade67fc102477"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.enqueueStrandedIssueRecovery (cyclomatic 23): service.recoveryService.enqueueStrandedIssueRecovery 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":"server/src/services/recovery/service.ts"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6148bef6ddeb1d04744b1981cf58b155a0ddf274602a6339bcb579b64c9b5e5"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.ensureSourceScopedStrandedRecoveryAction (cyclomatic 23): service.recoveryService.ensureSourceScopedStrandedRecoveryAction 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":"server/src/services/recovery/service.ts"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"755c49c6a7655810a9956d1cad3e5fd64942d2df0e785d82230e8192fc3f06a9"}},{"ruleId":"D1","level":"warning","message":{"text":"live-recovery-work.registerLiveRecoveryWork.register::load (cyclomatic 23): live-recovery-work.registerLiveRecoveryWork.register::load 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":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c999a725113510440d9fd3622082bb5fef3aa37f252c1578f3dbb5d79c9a481"}},{"ruleId":"D1","level":"warning","message":{"text":"native-source-retention.settleRecoveredNativeSourceRetention (cyclomatic 23): native-source-retention.settleRecoveredNativeSourceRetention 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":"server/src/services/native-runtime/native-source-retention.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a740fcf03b2887c9b4c217b524bb37e84eb5d6c62e602229295e0a7c8a58fe"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.visibleCandidates (cyclomatic 23): workspace-file-resources.workspaceFileResourceService.visibleCandidates 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ee35940056ee5a5cfc0c508c7d67ae4f4483f38ffe216d649cd6e81c57bca"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.prepareDownload (cyclomatic 23): workspace-file-resources.workspaceFileResourceService.prepareDownload 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"80080b1d7cd9645d083e20012bb96918b436e4c43bdc2cffdd4543feb9f7f91d"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-fallback.settleSiblingRecoveredHold (cyclomatic 23): workspace-recovery-fallback.settleSiblingRecoveredHold 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 454). 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"74afacc7f6366da6715b359fd59009e18ae90330b57eb0e7cf63eadf9aaef0b8"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-stop-proof.rearmExhaustedStopProof (cyclomatic 23): workspace-recovery-stop-proof.rearmExhaustedStopProof 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 one function literal inside it that branches (line 87). 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":"server/src/services/workspace-recovery-stop-proof.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ba5bdc2e856367af54d867a6ae501d346ec6a4021737dab10d06b8768b4da3"}},{"ruleId":"D1","level":"warning","message":{"text":"case-access.assertCaseTrustedForExecution (cyclomatic 23): case-access.assertCaseTrustedForExecution has cyclomatic complexity 23 (threshold 15). Of this number, 20 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":"server/src/services/case-access.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"118b0e13781f3de689cc9d1002e47e019ec25516164f3114b30c1ef0b7e84474"}},{"ruleId":"D1","level":"warning","message":{"text":"case-context.caseWakeWithInstructionReference (cyclomatic 23): case-context.caseWakeWithInstructionReference has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-context.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aa25312b9c47e0df4f53575db236a5ea851a3c3b899abacf7a9333bce511d3"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.finalizeIssueCommentPolicy (cyclomatic 23): run-lifecycle.createHeartbeatLifecycle.finalizeIssueCommentPolicy 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb6b6384a4cd43b6ddd8a98ce6d73858185fed9529250de513e55492b1f94d0"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-log-export.nativeRunLogPrefixCursor (cyclomatic 23): native-run-log-export.nativeRunLogPrefixCursor 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d6509949447c83b6ca8b4d2deb1833f176a790c3af489eb4ae4d34830732c7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-command-registration.request (cyclomatic 23): chat-discord-command-registration.request 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d82ca645e1c69839d74b2067ef7b36de4293b0bcbe6960514190c19ab8fdfb"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-effects.createProviderEffects.lockCurrentProviderEffectAuthorization (cyclomatic 23): provider-effects.createProviderEffects.lockCurrentProviderEffectAuthorization 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc00350fe20e3f797438b5534c57e8d51d036a3b54b2402fe0473130be790b7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.start (cyclomatic 23): chat-github-wizard.githubChatWizardService.start has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ff3c36090d2228bad2656961e90e84842b7b5884c69fce96eddc196f998a11"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.exchangeCloudManifest (cyclomatic 23): chat-github-wizard.githubChatWizardService.exchangeCloudManifest 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"89150cd560738a13420dc7961e50b3cc747bcb2e10cb0db150037bd2a8df4692"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-transfers.teamsFileTransferService.process (cyclomatic 23): chat-teams-file-transfers.teamsFileTransferService.process 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 804). 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad4cd0bdc190865c9ad02d1f6799fa884d968cc32b1192891a5294dfd1fc502"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-board-authority.authorizeSlackBoardPublication (cyclomatic 23): slack-board-authority.authorizeSlackBoardPublication 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":"server/src/services/slack-board-authority.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbd76f537309c78815fc7a64ad5cc06adc5ae383fd0fd8bc6a2f28b52428435"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-runner-port-holders.retireSandboxRunnerPortHolders (cyclomatic 23): sandbox-runner-port-holders.retireSandboxRunnerPortHolders 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":"server/src/services/native-runtime/sandbox-runner-port-holders.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae810ec4acd27132f52c18c07f0a221271694a77ede2fc3ee37828c563932b9"}},{"ruleId":"D1","level":"warning","message":{"text":"case-agent-read.projectAgentCaseRead (cyclomatic 23): case-agent-read.projectAgentCaseRead 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":"server/src/services/case-agent-read.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96ba54593ad7dd72f877876bdb51470031672d817e0dcec98a7edca71b8482f"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-pi-companion.importRemotePiCompanion (cyclomatic 23): remote-pi-companion.importRemotePiCompanion has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f5c0f28024116b8fac9fa87e97feef96735d632edff85184e20d8f8b8c0e34"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-authority.assertCaseHandoffSourceAuthority (cyclomatic 23): case-handoff-authority.assertCaseHandoffSourceAuthority 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a629a92f31c9c83b7fda473b006b9c464e258134ba22f417e8d89f0675b36d1"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.restoreRevision (cyclomatic 23): routines.routineService.restoreRevision 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 2 function literals inside it that branch (lines 2809, 2837). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f53a71512ed9e19de0dc12e63f27210efe0478655fecf66c1be3136ffb3084"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.tickScheduledTriggers (cyclomatic 23): routines.routineService.tickScheduledTriggers 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":"server/src/services/routines.ts"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6385cd71f414d6769e584ac40077b720018ab50cb814b232a3cb803f486667dd"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-task-runtime.settleDispatchedEnvironmentTask (cyclomatic 23): environment-task-runtime.settleDispatchedEnvironmentTask 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 cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46bf80f14de66c90cd174cd6806f6eafed713ef6458d9a65073c8902a25ae8c"}},{"ruleId":"D1","level":"warning","message":{"text":"wakeup-notices.createInboundWakeNotices.projectNotices (cyclomatic 23): wakeup-notices.createInboundWakeNotices.projectNotices 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d4a579e0290a23527d624ead61d984580b9bfe0c024b88667fa645c0796729"}},{"ruleId":"D1","level":"warning","message":{"text":"access.accessService.ensureMembership (cyclomatic 23): access.accessService.ensureMembership 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 one function literal inside it that branches (line 948). 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":"server/src/services/access.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"645f41702626d2a7c2685d1aeb8c080728614e73a350affdb0bbd589b5a8b282"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.authorize (cyclomatic 23): oauth.createPublicMcpOAuth.authorize has cyclomatic complexity 23 (threshold 15). Of this number, 16 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5777422284a93ae484f2ae2c70340d03535cbfc42b306932314283f6ad7514ac"}},{"ruleId":"D1","level":"warning","message":{"text":"routine.grokRoutineService.send (cyclomatic 23): routine.grokRoutineService.send 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 3 function items inside it that branch (a function literal at line 170, handoff, a function literal at line 222). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc4918e08acfc411b4fe95fbe99d449c123b55090f66ed60d93c5c3c98739be"}},{"ruleId":"D1","level":"warning","message":{"text":"muse-receiver.createReceiver.signal (cyclomatic 23): muse-receiver.createReceiver.signal 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 one function literal inside it that branches (line 72). 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":"server/src/services/muse-receiver.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"016296bcb3031029b7aceb6f848dc54cc23f10d2e3fa38e2a7c2f9c38b992170"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-snapshot-ledger-settlement.retireEndedRemoteSnapshotLedgerRow (cyclomatic 23): remote-snapshot-ledger-settlement.retireEndedRemoteSnapshotLedgerRow 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":"server/src/services/recovery/remote-snapshot-ledger-settlement.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7a6df7f3c8e9ffb700fec6fdabd58c633bf6f8973c25e56ef988a94cb587ba"}},{"ruleId":"D1","level":"warning","message":{"text":"provision-kimi.provisionKimiPackageRoot (cyclomatic 23): provision-kimi.provisionKimiPackageRoot 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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaf12b9126e149bc48708398d7215e8e3330ba735bbdc9137446217fb5970b0"}},{"ruleId":"D1","level":"warning","message":{"text":"inline-assets.cursorCloudInlineInstructions::bundle::visit (cyclomatic 23): inline-assets.cursorCloudInlineInstructions::bundle::visit 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/paperclip-runner/src/drivers/cursor-cloud/inline-assets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7d4cc9a10075ca7b49cd1605d57d3fd65207619bef645087c76da84f7ff32"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-semantic-tool-runtime.validateJsonSchema (cyclomatic 23): capability-semantic-tool-runtime.validateJsonSchema 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a33ff654913349f0a4103e71d855a1e169b3c2698ffa1475e7b47f64466e15"}},{"ruleId":"D1","level":"warning","message":{"text":"menu.Menu (cyclomatic 23): menu.Menu 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 9 function items inside it that branch (onMenuKeyDown, focusItem, a function literal at line 116, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/react/components/menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1087612f852c31ab2e7ce449123fc10a7763e4eb1f86fb22b89670a4c7cad1"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol.decodeRequest (cyclomatic 23): protocol.decodeRequest 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/tailscale-https-broker/src/protocol.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"95633a572b185f1e6c31c5b446d065e7d16fd44625f9d16786feeb39431fdc8a"}},{"ruleId":"D1","level":"warning","message":{"text":"attention-receipts.attentionReceiptService.list (cyclomatic 23): attention-receipts.attentionReceiptService.list 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":"server/src/services/attention-receipts.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceffba3e40e38d3a72e3a7ecb21f8be022b7e5a98f54db1b330e99174ff7bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"dashboard.dashboardService.summary (cyclomatic 23): dashboard.dashboardService.summary 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":"server/src/services/dashboard.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d0919ede61cb40d499494166f8b02cab227ca38f658f5dbdb4226f8a8e202c"}},{"ruleId":"D1","level":"warning","message":{"text":"teams-catalog.renderYamlBlock (cyclomatic 23): teams-catalog.renderYamlBlock 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de4fb52c8bfa441be3b42d9fccf6fa556aa2caa8719570ab278fdcd1bd7fba3"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-search-oauth.slackSearchOAuthService.complete (cyclomatic 23): slack-search-oauth.slackSearchOAuthService.complete has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"70749cbc9cf4a78c71ef9338f1a3fe2952b48dd9c2a13d324c3959e82509f80a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-owner-recovery.resumeNativeWorkspaceAfterOwnerStop (cyclomatic 23): native-workspace-owner-recovery.resumeNativeWorkspaceAfterOwnerStop 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 one function literal inside it that branches (line 53). 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":"server/src/services/native-runtime/native-workspace-owner-recovery.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b72c596d186f6814e1c4ec773f2ce5ae38cca2ea740562b01aec55fb785b590"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.buildIssueWakeDiagnosis (cyclomatic 23): issues.buildIssueWakeDiagnosis 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":"server/src/routes/issues.ts"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae62958603865e143584613da7890e702feb3cd5724abc3b7a73b5aa8fde490"}},{"ruleId":"D1","level":"warning","message":{"text":"live-event-delivery.createLiveEventDelivery.receive (cyclomatic 23): live-event-delivery.createLiveEventDelivery.receive 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6934e44d7d017e5ffca588e05b450aebd1c1090044b2add872f09ab6e1f03612"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-delivery.caseHandoffDeliveryService.deliver (cyclomatic 23): case-handoff-delivery.caseHandoffDeliveryService.deliver 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":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec7b77f54107adddfd9fab87214986a4145ef26adb1d3a96f6086f972fccb83"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-delivery.caseHandoffDeliveryService.sweepPending (cyclomatic 23): case-handoff-delivery.caseHandoffDeliveryService.sweepPending 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":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f048c6e3e1f8434f08ad899fdcee57e7869e31dcc204b99fc5cb00bda6daf2"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-reply-content.markdownReplyContent::visit (cyclomatic 23): markdown-reply-content.markdownReplyContent::visit 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":"ui/src/lib/markdown-reply-content.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbdd2463e990f23ace6f97f88a3b16f0ad221f642a1f7114f9a0617efc9b3e9"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarProjects.SidebarProjects (cyclomatic 23): SidebarProjects.SidebarProjects 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 10 function literals inside it that branch (lines 362, 350, 335, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5114de07b3e26a3358f51e8eca95799e440ec52fd137345c25af25c377f69dab"}},{"ruleId":"D1","level":"warning","message":{"text":"search-query-parser.parseSearchQuery (cyclomatic 23): search-query-parser.parseSearchQuery 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":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d16f2c82194772d50691b28aa32fdabadfc7eb9ef06949fe9bdee506fe539c0"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySettingsSidebar.production.CompanySettingsSidebar (cyclomatic 23): CompanySettingsSidebar.production.CompanySettingsSidebar has cyclomatic complexity 23 (threshold 15). Of this number, 17 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":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"24431ce517372b1accc7bf65b8cce1831f3a495cdaf2c42d19f3c16e23acfe4b"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueColumns.InboxIssueTrailingColumns (cyclomatic 23): IssueColumns.InboxIssueTrailingColumns 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 one function literal inside it that branches (line 330). 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":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daca8fbe48e6409d082545ecbb08e4fdb1d726fa840de72c822ddc746bddedc"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-sort.sortIssues (cyclomatic 23): issue-sort.sortIssues 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 3 function items inside it that branch (value, a function literal at line 48, 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":"ui/src/lib/issue-sort.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d744d2dadca35412c9e185cc44d9ab49622a16c0a0e46774b6cdaa00a43f74"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-draft.isComposerSendRequest (cyclomatic 23): composer-draft.isComposerSendRequest 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b84f31648e80bcb9d0d1edb780c21c048e02a6fe181e3ba73003734c6653dd"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-draft.draftAttachments (cyclomatic 23): composer-draft.draftAttachments 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef027246bcf8a5b76a52baecf40225f32a2875766d8e2876065b8f76b2c2aba3"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.VirtualizedIssueChatThreadListInner (cyclomatic 23): IssueChatThread.VirtualizedIssueChatThreadListInner 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 10 function literals inside it that branch (lines 4486, 4507, 4516, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e18f064b6ef5fc00e09e36b1d9f51ff797f87561ef56f6fcb3eaddb69a74bb"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueAttachmentsSection.IssueAttachmentsSection (cyclomatic 23): IssueAttachmentsSection.IssueAttachmentsSection has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueAttachmentsSection.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7712f75f4f7a6f08da303a17a345ae043f8b83a9f12ea4a9fafc55e9a5faea"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskTreeControls.TaskTreeControlDialog (cyclomatic 23): TaskTreeControls.TaskTreeControlDialog 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":"ui/src/components/TaskTreeControls.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d64e404320f373d988c631f2e5a3dcc9c94ce76e399d615ba719633886b899"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderTraceStatusBadge.ProviderTraceStatusBadge (cyclomatic 23): ProviderTraceStatusBadge.ProviderTraceStatusBadge 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":"ui/src/components/ProviderTraceStatusBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"858c71cf34e6d28194c1628e9c5e2cd1089996b388b8ca23cdcb32345f531299"}},{"ruleId":"D1","level":"warning","message":{"text":"Companies.Companies (cyclomatic 23): Companies.Companies 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 4 function items inside it that branch (a function literal at line 131, saveEdit, a function literal at line 151, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Companies.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb38f5040ea3f8441a69fcb66ce0458b82195fe42fc73b9fddc5015d6d9b2cf"}},{"ruleId":"D1","level":"warning","message":{"text":"BuiltInBundlePanel.BuiltInBundlePanel (cyclomatic 23): BuiltInBundlePanel.BuiltInBundlePanel has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BuiltInBundlePanel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2154352943de47c38f41c72f9730756a26746d63d9482b137cf5798835948a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLogo.AppLogo (cyclomatic 23): AppLogo.AppLogo has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppLogo.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0867a6e1672be239e175464fb256d369d6f65dd623c2d99accc9905acf6d2b51"}},{"ruleId":"D1","level":"warning","message":{"text":"save.planResolvedConfiguration (cyclomatic 23): save.planResolvedConfiguration 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff25a1015f4be8a8a8dffe9940b4eb7580262a2843f81fd2047f35f9aa97a97"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchFilterMenu.SearchFilterMenu (cyclomatic 23): SearchFilterMenu.SearchFilterMenu 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 5 function items inside it that branch (a function literal at line 181, a function literal at line 147, handleOptionClick, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/search/SearchFilterMenu.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"46214d15528338f048acdd87b27be4a5e21063c020adf06365844e73266ab5cb"}},{"ruleId":"D1","level":"warning","message":{"text":"NeedsYouCardBodies.BlockedTaskCardBody (cyclomatic 23): NeedsYouCardBodies.BlockedTaskCardBody 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":"ui/src/components/coordinator/NeedsYouCardBodies.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb2b975eb2e40ce21e4214ab11bc0284576658f8f578d96e65274e341b3f09e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectClientDialog.ConnectClientDialog (cyclomatic 23): ConnectClientDialog.ConnectClientDialog has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 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":"ui/src/pages/apps/gateways/ConnectClientDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dd63fedb3e88124b4cb17eab4afa4597200048fa88118e630f4ea8e0833179"}},{"ruleId":"D1","level":"warning","message":{"text":"Secrets.ProviderVaultCard (cyclomatic 23): Secrets.ProviderVaultCard 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3883}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55a24669c1b355f5b5bb861eb76893e2ccffa0625e8b3f848de2fd79c59becd"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginSettings.PluginLocalFolderRow (cyclomatic 23): PluginSettings.PluginLocalFolderRow 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"132b139135720083d00c0eda924389a8954422a1daa6d66f59cb700e447e3025"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillSourceConnectionRepair.SkillSourceConnectionRepair (cyclomatic 23): SkillSourceConnectionRepair.SkillSourceConnectionRepair has cyclomatic complexity 23 (threshold 15). Of this number, 17 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":"ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d310d27633913ab1876d6010fb951337413fddbb27579ba34b71359c8f5ac977"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskVoiceLauncher.TaskVoiceLauncher (cyclomatic 23): TaskVoiceLauncher.TaskVoiceLauncher has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/voice/TaskVoiceLauncher.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8cf364c437a3055df9cbde9d4a42f3f937cf6cb276801615e361973e7e475"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact-card-data.parseArtifactCsv (cyclomatic 23): artifact-card-data.parseArtifactCsv has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/artifact-card-data.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe267276726e9b69a1169aaeeb68299fc3850c98762a99f23fac60fc703e0b1"}},{"ruleId":"D1","level":"warning","message":{"text":"github-link.parseGitHubLink (cyclomatic 23): github-link.parseGitHubLink 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":"ui/src/lib/github-link.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e350d8bfaca864814422f77d581983312dcf15801447465d9e78978a7a950902"}},{"ruleId":"D1","level":"warning","message":{"text":"UserSecretDefinitionsTab.UserSecretDefinitionsTab (cyclomatic 23): UserSecretDefinitionsTab.UserSecretDefinitionsTab has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"554186d6df76ed8c8314e6836f669d7e78287aa366e1964d7a7664c203ea177d"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::codex_provider::classify_notification_thread (cyclomatic 23): paperclip_runner_core::codex_provider::classify_notification_thread 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f981225b1cf9e4e9d3044e80c75cca13a8aa661ec6485b22f9226d30fe6d3"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::provider_failure::codex_startup_failure (cyclomatic 23): paperclip_runner_core::provider_failure::codex_startup_failure 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":"packages/paperclip-runner/runner/crates/runner-core/src/provider_failure.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff215aeff0388e041b7173f0439b6f464713e40cdcd97b4f7bb35ad14c66def9"}},{"ruleId":"D1","level":"warning","message":{"text":"board-auth.loginBoardCli (cyclomatic 22): board-auth.loginBoardCli 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":"cli/src/client/board-auth.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fb733ec7c140a59120dd1c2edc19f12371786aeb30e4231ee9b48cd7fe7a58"}},{"ruleId":"D1","level":"warning","message":{"text":"run.registerRunCommands (cyclomatic 22): run.registerRunCommands 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 10 function literals inside it that branch (lines 136, 54, 79, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/run.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ea1ae2885d9884d5a68b40d95d7fb5ac4e12144b885568a4746d6bcd9d6abf"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.registerSecretCommands (cyclomatic 22): secrets.registerSecretCommands 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 14 function literals inside it that branch (lines 393, 541, 375, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/secrets.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6414c7a61dfa8f7c43e6f919fbd2e8ef5461216a291870e6b6a1b7eae57e183e"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.createDuplexReadinessGate (cyclomatic 22): execution-target.createDuplexReadinessGate 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 4 function literals inside it that branch (lines 4191, 4327, 4343, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5211fbfa7d7de8e894f4baf51f5fd79facd69aa05edbe402200f9e558fda5ed"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-merge.walkDirectory (cyclomatic 22): workspace-restore-merge.walkDirectory 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 3 function items inside it that branch (visitBatch, readEntry, a function literal at line 176). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3c62930573a23ae08902bf9cf5d6004c49fd40f4609173892ff7f9039e329f"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.classifyError (cyclomatic 22): execute.classifyError has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a622b2300af04058b2f087d36328296bc55a9386409ede40d5248bbf0e4ee0cd"}},{"ruleId":"D1","level":"warning","message":{"text":"quota-probe.main (cyclomatic 22): quota-probe.main 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/adapters/claude-local/src/cli/quota-probe.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e9fd596d07c603e07d04cf837b6ae92e9a3839cbcf38462a948fcf06bc469"}},{"ruleId":"D1","level":"warning","message":{"text":"setup-token-parse.hasValidQuery (cyclomatic 22): setup-token-parse.hasValidQuery 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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb0cce5878b6ce2b021731f6ddc2febb282ebfafa7a2b4f34e010dfc7af4d36"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-config.prepareOpenCodeRuntimeConfig (cyclomatic 22): runtime-config.prepareOpenCodeRuntimeConfig 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/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ecf16224d2047056a53fbac7e6d00b6ea25eba830302d9dffa411e4e262d8c"}},{"ruleId":"D1","level":"warning","message":{"text":"response-capture.responseValueSize (cyclomatic 22): response-capture.responseValueSize 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/db/src/response-capture.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec42edb0b9c018612806e9bb96b336ca73573c7e2718a3cfa10884e6346323a"}},{"ruleId":"D1","level":"warning","message":{"text":"client.reconcilePendingMigrationHistory (cyclomatic 22): client.reconcilePendingMigrationHistory 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/db/src/client.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaf71c0e234a25bbe8ef49580a17bb734958ebe793b109ac5a3eee9032751dc"}},{"ruleId":"D1","level":"warning","message":{"text":"migration-compatibility.classifyAlterTableAction (cyclomatic 22): migration-compatibility.classifyAlterTableAction 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/db/src/migration-compatibility.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d7f188a21e9278bbeab7d60e5ad78969dba99f259567750feaa780f64422a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-session-workspace.recordCanonicalWorkspaceChange (cyclomatic 22): codex-session-workspace.recordCanonicalWorkspaceChange has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 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":"packages/paperclip-runner/src/drivers/codex/codex-session-workspace.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"34995ab9e3655a1358bee6657fc5a1e6db34eea96958ac5b1e9586dbbda4a64c"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.captureLegacyDurablePrpCheckpoint (cyclomatic 22): durable-prp-control-plane.captureLegacyDurablePrpCheckpoint 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, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d8d2c8c00e2e05cdacda5ce0cb3eb2029fdc43c66b212d5d921e5447595426"}},{"ruleId":"D1","level":"warning","message":{"text":"upstream-served.createUpstreamServedTap (cyclomatic 22): upstream-served.createUpstreamServedTap 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 2 function items inside it that branch (inspect, report). 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/paperclip-runner/src/drivers/opencode/upstream-served.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f56ecd36c4616977b5cc20535a31546d543da4e2aa6e5711300d0496c76f8fb"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundedJsonCompactor.write (cyclomatic 22): BoundedJsonCompactor.write has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"46497110d86445982cf53c3cd67be6b2ba09277f24afadf93d6b06bc7e72f58d"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.resolveRuntimeRequest (cyclomatic 22): OpenCodeHarnessSession.resolveRuntimeRequest has cyclomatic complexity 22 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbdd2306bff15a4f22edcaea4a0ef7376bfc39c37841ad54749a77a46125f80"}},{"ruleId":"D1","level":"warning","message":{"text":"redaction.authorizationCredentialRange (cyclomatic 22): redaction.authorizationCredentialRange 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":"server/src/redaction.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e96bc70d795d0fbabeeef6a535c4d85b1b221154ed24f34bf8b80d41e27422"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-inline-image-intake.route (cyclomatic 22): chat-teams-inline-image-intake.route 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":"server/src/services/chat-teams-inline-image-intake.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb9036a7409934e19f49350060857b99f43642c496148265cf68f76a4e0c15"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-connection-failure.classifyRemoteConnectionError (cyclomatic 22): remote-connection-failure.classifyRemoteConnectionError 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":"server/src/services/remote-connection-failure.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36d17786c0c99b34d26ddd998ebbfe55f981535afe8ba759fbeec8a9ac0d4be"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-sdk-runtime.createProviderAdapter (cyclomatic 22): chat-sdk-runtime.createProviderAdapter 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 5 function literals inside it that branch (lines 1448, 1412, 1419, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb3dcc7a309c80ec492d63e53c800a9aa85daf1116fd731c67e1562e5aa9ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete (cyclomatic 22): remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadcf1ddd4e420e738615738f8952f5fd51bd17f0a03d7bb9ea5890447387f1c"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-archive.remoteWorkspaceFailureDetail (cyclomatic 22): remote-workspace-snapshot-archive.remoteWorkspaceFailureDetail 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b81d0eb1651cf62cbf259b81235a9ff910a1e57f8ecf3b77c865370c0bfb7"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.evaluateAuthorizationPolicyForAssignment (cyclomatic 22): authorization.evaluateAuthorizationPolicyForAssignment 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":"server/src/services/authorization.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"254fa0c18b006920e235f1722af7c616a9000b6759bb3d6c7e84f263f71a1d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-execution-policy.normalizeIssueExecutionPolicy (cyclomatic 22): issue-execution-policy.normalizeIssueExecutionPolicy has cyclomatic complexity 22 (threshold 15). Of this number, 15 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":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"414d68ce6d3f27c020f57e6c0dbc16f8bc80794f0812b4b1f222f168e465a935"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.createSecretUnlocked (cyclomatic 22): secrets.secretService.createSecretUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adb611929a6006e773d7114c6b63438fa68e06ac72a9607559b0b69000bdeab"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification (cyclomatic 22): plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fb34bcddf9af512e37b8e43d1ba1b59dea79efa741bde71c8db8304eaa166c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-recovery-binding.currentNativeWorkspaceRecoveryResult (cyclomatic 22): native-workspace-recovery-binding.currentNativeWorkspaceRecoveryResult 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":"server/src/services/native-runtime/native-workspace-recovery-binding.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7946ef4c70ca187d5637dbd5cf4abea131cc7d38cf05d47afb803f3fb6907ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-absence-proof.verifyReceipt (cyclomatic 22): sandbox-absence-proof.verifyReceipt 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":"server/src/services/sandbox-absence-proof.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0395fbc3c4b27d4acddabfb744c26f353813c3440c40f7525702a327c3bef1c1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-identity.explicitOperatorRunIdentity (cyclomatic 22): run-identity.explicitOperatorRunIdentity 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":"server/src/services/run-identity.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4924b0138dd17b2242b7b16f57e93f5019447b80206a56cc221f4d53dc7bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.acceptSlackFormClosed (cyclomatic 22): form-session.acceptSlackFormClosed 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb69fb6012a5b7760b35740317b0cb7825a3169649da88bb57998352ebb7f05c"}},{"ruleId":"D1","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.readRange (cyclomatic 22): object-byte-journal.createObjectByteJournal.readRange has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/object-byte-journal.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"57630e8620e426705b0160736c83dff19b7dc18b88c74dad7dcf596c06fb332d"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleManagedCheckout (cyclomatic 22): git-workspace-restoration.assertReproducibleManagedCheckout has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: git-workspace-restoration.readGitCacheRestoration (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e6d8638d91b329ced5647a0deb7999f4f156e30b680d2a44bbc62305d0175b"}},{"ruleId":"D1","level":"warning","message":{"text":"nested-clone-migration.inspectStandaloneClone (cyclomatic 22): nested-clone-migration.inspectStandaloneClone 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. This is NOT this file\u0027s highest cyclomatic complexity: nested-clone-migration.readPending (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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab306a5d76432a56090cfda2dd45ff204bd24729c3c2c65bd8a12739facd0a5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-stamp.matchingBackupDirectories (cyclomatic 22): native-harness-backup-stamp.matchingBackupDirectories 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab92932615f3b2ec6a279845da8d0da2e4628a109a64c855fc5ab0573b5222b3"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.deriveImportedSkillSource (cyclomatic 22): company-skills.deriveImportedSkillSource 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":"server/src/services/company-skills.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c49b27d6d9916eb113acf81a981a3f2f3f206d57a6991ef4140727e35d369e"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.importPackageFiles (cyclomatic 22): company-skills.companySkillService.importPackageFiles has cyclomatic complexity 22 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":6246}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba2e06de0bacb0a8c621ae5fc7018d9ddf2161e7c4a04c0760cc8f14670093f"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-sync.skillSourceSyncService.sweep (cyclomatic 22): skill-source-sync.skillSourceSyncService.sweep 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8940998d40f885c17b7be04e8498b6cf65b76850824a5962a76338e7e6e33d80"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-cache.trimSkillPackageCache (cyclomatic 22): skill-package-cache.trimSkillPackageCache has cyclomatic complexity 22 (threshold 15). Of this number, 16 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":"server/src/services/skill-package-cache.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07df5fba8544f1f569ddefbaed04b1751a20a23693ba779c264f8f1855a21ff"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-store.skillPackageStore.manifestFor::load (cyclomatic 22): skill-package-store.skillPackageStore.manifestFor::load 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":"server/src/services/skill-package-store.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d90aa90ba272968942a0862c4c17a2309e898c55db54d1905cc9fcc7f6f659"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-store.skillPackageStore.prepare (cyclomatic 22): skill-package-store.skillPackageStore.prepare has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 452, 481, 511). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-store.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"734606c7b3add49b8349ff884c99a24cb7ddc54c0e252f5bc6d35e65457e085d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.captureWebEvidence::read (cyclomatic 22): native-harness-filesystem-independence.captureWebEvidence::read 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. This shape REPEATS in the file: 2 other methods here (native-harness-filesystem-independence.captureWebEvidence, native-harness-filesystem-independence.captureWebEvidence::visit) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d230a8223ff87d992b3127c63922947d7a9599132cece50fa5b1df1cb4d736b1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.preserveWebEvidence (cyclomatic 22): native-harness-filesystem-independence.preserveWebEvidence has cyclomatic complexity 22 (threshold 15). Of this number, 13 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"13686969340a5719b2d8ea3f0ff975da9190b08801df3e2a80ff639ef6272625"}},{"ruleId":"D1","level":"warning","message":{"text":"ownership-invariant-report.settleKind (cyclomatic 22): ownership-invariant-report.settleKind 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c179977fee49028ce61e10754f4037cbd46b9c22e5d282ea9439f3ba1e7f41ba"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-login-handoff.verifyWorkspaceHandoffTicket (cyclomatic 22): workspace-login-handoff.verifyWorkspaceHandoffTicket 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":"server/src/auth/workspace-login-handoff.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc6129c0f0bfa9a995f6623025638d1a711d76811237d860f657edbcec8098"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.refreshRemoteTrackingBaseRefWithDiagnostic (cyclomatic 22): workspace-runtime.refreshRemoteTrackingBaseRefWithDiagnostic 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 3 function literals inside it that branch (lines 1068, 1048, 1055). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"b900e9a7fa82affd77a8fc36f2e3fe48852c7409e0db118d4a5174d3633f7d9f"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-client.slackClient.\u003Creturned closure\u003E (cyclomatic 22): slack-client.slackClient.\u003Creturned closure\u003E 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":"server/src/services/connectors/slack-client.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c237ff04715f73a157331a8f27830c8007a32d7852383b083a00cb9d2366641"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-response-comments.githubResponseCommentService.finishRun (cyclomatic 22): chat-github-response-comments.githubResponseCommentService.finishRun 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fc1603bbffb5be958607f9a6d7dac2f5827ffe2f462b73f131d7832fea3daf"}},{"ruleId":"D1","level":"warning","message":{"text":"distribution-plugin-catalog.readDistributionPluginCatalog (cyclomatic 22): distribution-plugin-catalog.readDistributionPluginCatalog has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 145). 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":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52a6160d693bbd1a3c403e1e22e92a8c57ffcc26f569e7a062028c1ee911c33"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveConnectedRemoteTool (cyclomatic 22): tool-gateway.createToolGatewayService.resolveConnectedRemoteTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4c387d4a886e539962c99a4146dbcbf59f49e25efbbe734e059d47ca852954"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.askElicitationRound (cyclomatic 22): tool-gateway.createToolGatewayService.askElicitationRound has cyclomatic complexity 22 (threshold 15). Of this number, 18 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6733}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4cf86da1cdeb6d2c3a34d334c72f5ccf21ce79c277b720bde46135baef5bee"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executePluginTool (cyclomatic 22): tool-gateway.createToolGatewayService.executePluginTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":13755}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d05498caa39528c1e497acc86b2eb7c65bde3777e38dc8b303edf0e5569735"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.sharedPublicationPin (cyclomatic 22): execution-workspace-repositories.executionWorkspaceRepositoryService.sharedPublicationPin 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e9258106fa0f47783d84b1ab41d15c55e21a63bcf35b97efff512564a893fd"}},{"ruleId":"D1","level":"warning","message":{"text":"preserved-result-finalization.readApplicableResult (cyclomatic 22): preserved-result-finalization.readApplicableResult 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":"server/src/services/preserved-result-finalization.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8d90068380c49279a17a1a0d4df61ddce964a5231a8e937d5e1574c268cc5f"}},{"ruleId":"D1","level":"warning","message":{"text":"run-state.createHeartbeatRunState.evaluateSessionCompaction (cyclomatic 22): run-state.createHeartbeatRunState.evaluateSessionCompaction 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec5d0791ee957cd954b0897a79cb62f38f61b16e4536c21fe0a9935cc4c0799"}},{"ruleId":"D1","level":"warning","message":{"text":"deadline-work.registerActiveRunSilenceWork (cyclomatic 22): deadline-work.registerActiveRunSilenceWork 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 5 function literals inside it that branch (lines 26, 45, 25, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/adapters/deadline-work.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1337b1923d2ee94c3abf6d8e69aa5301e0799afdce5e1ee7655d9222987ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"budget-reservations.recheckRunBudgetReservationInTransaction (cyclomatic 22): budget-reservations.recheckRunBudgetReservationInTransaction has cyclomatic complexity 22 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-reservations.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a4522da0ceccd31a207492afb37a438750a7eb340fac4493a7f04f0b8bd671"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.search::aggregatorAlternatives (cyclomatic 22): connection-intents.connectionIntentService.search::aggregatorAlternatives has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (connection-intents.connectionIntentService.search) 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":"server/src/services/connection-intents.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c5512c8fafeb0f0a5e3fe5df475cdea0b9a5d983fffb2955f1a4797ab62acb"}},{"ruleId":"D1","level":"warning","message":{"text":"budget-enforcement-worker.registerBudgetEnforcementWork (cyclomatic 22): budget-enforcement-worker.registerBudgetEnforcementWork 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-enforcement-worker.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc40a890de169091c91ef6a1fc8644b82a4edba297cf74606d91466f02c6c4"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry-authority.taskChatRetryExecutionContained (cyclomatic 22): task-retry-authority.taskChatRetryExecutionContained 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":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee823d11197535ac3a301fda3834914061178963f205ac1c354be7922b48ef40"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry-authority.taskChatRetryAdmittedContinuationStopped (cyclomatic 22): task-retry-authority.taskChatRetryAdmittedContinuationStopped 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":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c58e96485c9ade609c4b28fddcfb87da31b890df1187cbe3f7c07022ce0a99a"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-storage.loadWorkspaceSnapshotArchiveTimed (cyclomatic 22): remote-workspace-snapshot-storage.loadWorkspaceSnapshotArchiveTimed has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc78e594839a3fd49677f1bf8c564449a51a255555c542263525bf71f541156c"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-warm-session-recovery.isSettledRemoteWarmControlState (cyclomatic 22): remote-warm-session-recovery.isSettledRemoteWarmControlState 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 2 function items inside it that branch (a function literal at line 71, matchesSession). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda808806010c5a97a8faff5688e39d85a863a37523f6635189270883c96a998"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-recovery-inventory.readNativeControllerRecoveryInventory (cyclomatic 22): native-controller-recovery-inventory.readNativeControllerRecoveryInventory 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":"server/src/services/native-runtime/native-controller-recovery-inventory.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e395afa9c69e25d82efc2f6da8e479b31525311a0b26f53211480d9b03cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-preparation.createTelegramPublicationPreparation.prepareTelegramPublication (cyclomatic 22): publication-preparation.createTelegramPublicationPreparation.prepareTelegramPublication 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 2 function literals inside it that branch (lines 43, 125). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/publication-preparation.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4f95a90217addeb3b50e53ab32f65ce7f325b0bc88270f55465cc5a5ef695a"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-delivery-diagnostics.captureVoiceDeliveryDiagnostics (cyclomatic 22): voice-delivery-diagnostics.captureVoiceDeliveryDiagnostics has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-delivery-diagnostics.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a250ceb16a1f2a24c90f4a9bb68bd15f87950740027a2dd962aec050fc3ccf47"}},{"ruleId":"D1","level":"warning","message":{"text":"file-delivery.createTeamsFileDelivery.tryProcessTeamsFilePublication (cyclomatic 22): file-delivery.createTeamsFileDelivery.tryProcessTeamsFilePublication 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c7b165daca9040c53d562c2e0e6458850b6db2e382da042f15956094d49d43"}},{"ruleId":"D1","level":"warning","message":{"text":"reactions.createInboundReactions.processPendingReactionDelivery (cyclomatic 22): reactions.createInboundReactions.processPendingReactionDelivery 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 one function literal inside it that branches (line 652). 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. This is NOT this file\u0027s highest cyclomatic complexity: reactions.createInboundReactions.normalizedPendingReaction (cyclomatic 26) 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32993df95c1b8aa5d9ca9e96036ed529ca6e9ed9c9557749820590cf7a53654"}},{"ruleId":"D1","level":"warning","message":{"text":"composio-app-setup.composioAppAccounts::visit (cyclomatic 22): composio-app-setup.composioAppAccounts::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":"server/src/services/composio-app-setup.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af350ccc2436d56c67382cccb323e569e871dedc1050b48846204c4c495dd27"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog-completion.createOAuthCatalogCompletion.finishOAuthCatalogWithRecommendedDefaults (cyclomatic 22): catalog-completion.createOAuthCatalogCompletion.finishOAuthCatalogWithRecommendedDefaults has cyclomatic complexity 22 (threshold 15). Of this number, 19 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":"server/src/services/tool-access/oauth/catalog-completion.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a0d1f87468c28b542a1aec1fcf863123e5f74a580bd491bb736bffccfca2d3"}},{"ruleId":"D1","level":"warning","message":{"text":"client-registration.createOAuthClientRegistration::oauthClientBindingMatches (cyclomatic 22): client-registration.createOAuthClientRegistration::oauthClientBindingMatches 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8ae723d09d6a2e7f86ecf2acf3dba12a51a67ee14d5552978de0f5f3fa1fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.createConnection (cyclomatic 22): tool-access.toolAccessService.createConnection has cyclomatic complexity 22 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":4552}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9b1cbf4400b21cbe94e4826fe6da2b34432ca5bb2a581c78f32357d74ccc67"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByHistoricalComments (cyclomatic 22): issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByHistoricalComments has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5024}}}],"partialFingerprints":{"codehealthFindingId/v1":"224e756f25351c6bde30de8f814f491852932cd4ba6c582a4ef42a39017d958b"}},{"ruleId":"D1","level":"warning","message":{"text":"openapi.zodToOpenApiSchema (cyclomatic 22): openapi.zodToOpenApiSchema has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fc033dd22ff85545682b3ea4ad79c392ebaeed7b2bc8c2f4a76ac87cd8b3a6"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.updateTrigger (cyclomatic 22): routines.routineService.updateTrigger has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 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":"server/src/services/routines.ts"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1960fea79d35dbe908df3627d8f0ceca8ad8c87511211b0011017df3d43db9"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#readApiFile (cyclomatic 22): PaperclipRunnerToolAuthority.#readApiFile 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03ccc8fe0751d0b48a9021fca877feb55b08161d64dc6ebb8198c98d4d80f43"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.runtimeQuestionFallbackFromEvent (cyclomatic 22): native-session-executor.runtimeQuestionFallbackFromEvent has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"21764b0cf1e6d62492f2bc9284c4304d35fefb043530286130d97964a0b807b5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.verifyStagedAttachmentRestart (cyclomatic 22): native-session-executor.verifyStagedAttachmentRestart 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dae3ffb88e253974623070a0da4ce5c48fc4fb411549c6098c77622734cd530"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.prepareRemoteRunnerAssets (cyclomatic 22): native-session-executor.createRunnerdBackendWithinSessionClaim.prepareRemoteRunnerAssets has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17061}}}],"partialFingerprints":{"codehealthFindingId/v1":"41388301cc25c0658b70cff8711527b1d28e6d9b2904646493dcedd90007b8a3"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoff-lifecycle.completeTerminalCaseHandoffsForIssue (cyclomatic 22): case-handoff-lifecycle.completeTerminalCaseHandoffsForIssue 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee76476fa7fcde27f2f278f9fbe1f66a049a7a7129852886a2ff1642e668d821"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueService::enrichCommentsWithDerivedAgentAttribution (cyclomatic 22): issues.issueService::enrichCommentsWithDerivedAgentAttribution 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":"server/src/services/issues.ts"},"region":{"startLine":7405}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c5768b0ed2e84f96a2039d29e60701926e8272f797e6104c72caf3f037f069"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-task-ownership.readyPortableTaskSource (cyclomatic 22): plugin-task-ownership.readyPortableTaskSource 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b823cf7614ffe763a72c6fda4d04d4f05b752ffdadc8791994edb0b987e2b991"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.actorForGrant (cyclomatic 22): oauth.createPublicMcpOAuth.actorForGrant 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e73fb1dc62e17c789ed53f5b22dc0c2296c5a630595bdb6e6235017e596373"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-inspection.inspectGrokWorkspaceObligations (cyclomatic 22): workspace-inspection.inspectGrokWorkspaceObligations has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 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":"server/src/services/grok-bot/workspace-inspection.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"271a159e47f0fc705b36981353b3e250b9821e06643de2c9cd5ec44f0532bd9a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.forward (cyclomatic 22): native-broker.createNativeExternalBroker.forward has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa77eae4df7bb2068ddd9bba716c19efa9e8198cf33ee3385e3817da655ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-events.appendHeartbeatRunEvent (cyclomatic 22): heartbeat-run-events.appendHeartbeatRunEvent 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf8f78af5ec55ee1d8eef661a46ed72d9a4f7e9e00bc2af6310f65c91fdb750"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-unsaved-files-settlement.settlePreparationOnlyRemoteWorkspaceEpoch (cyclomatic 22): remote-workspace-unsaved-files-settlement.settlePreparationOnlyRemoteWorkspaceEpoch 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 one function literal inside it that branches (line 18). 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":"server/src/services/recovery/remote-workspace-unsaved-files-settlement.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"649ceac618676065d55fff436214e0a3a1dfa3da04b898b97142603953c5b2d0"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-checkpoint.validateNativeRunnerCheckpointOwner (cyclomatic 22): native-runner-checkpoint.validateNativeRunnerCheckpointOwner 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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b551602df0081250889b01fb997baedb4247b01c8742d87bfd48d5b85e71b54"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.attentionCardType (cyclomatic 22): attention.attentionCardType 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/shared/src/types/attention.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e2eb6d0c57c6db56be3f0654f2b173cfd1b7f51b28d05dbc24bf33ed9b0bbb"}},{"ruleId":"D1","level":"warning","message":{"text":"operation-groups-doc.renderOperationGroupsDocument (cyclomatic 22): operation-groups-doc.renderOperationGroupsDocument 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/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4690355b2f2df5f99fff576de784cb0ad68a5cc93f39e742e02e31af6299b14d"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-installation.verifyPiInstallation (cyclomatic 22): pi-installation.verifyPiInstallation has cyclomatic complexity 22 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/pi-installation.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c51cb99fd247f5f376384b8f2fc5ea4cd94dca2a837e388f10102eaba15350"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-testops.main (cyclomatic 22): runner-protocol-testops.main 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4e5dbb82b70e09c011df45d048d4ca7439b76770e9a8070e1c6e0c2b5131e0"}},{"ruleId":"D1","level":"warning","message":{"text":"live-projection.derivedRecordItems (cyclomatic 22): live-projection.derivedRecordItems 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9135fccc0743204afeb5c5a6699609c92ba6422c019ec90ba06551fbd5faffc1"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-eval-suite.runCapabilityLiveCodexMatrix (cyclomatic 22): capability-eval-suite.runCapabilityLiveCodexMatrix has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab40106ea4cfb3c83f7251df16f1e5d2581fdb42a5537b01c31f36a39b48da5"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-acp-runtime.createPiLaunchSpec (cyclomatic 22): pi-acp-runtime.createPiLaunchSpec 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d134142df7ab81f5b0f30d436dbd0b76dd9513943be96fe927e7baa20b99b5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow-report.runnerWorkflowAlerts (cyclomatic 22): workflow-report.runnerWorkflowAlerts has cyclomatic complexity 22 (threshold 15). Of this number, 17 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":"packages/paperclip-runner/src/eval/workflow-report.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"890d5311944b1d0714bae3830c8dc3e6509fe382faf3bc22403a9af1c5810d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"app.SettingsBody::fixAllConfigurationErrors (cyclomatic 22): app.SettingsBody::fixAllConfigurationErrors 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. This shape REPEATS in the file: one other method here (app.SettingsBody) 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2063005a82d1da461146628b3b5fade31bc125d59dc90c07d0ba1f813726dc"}},{"ruleId":"D1","level":"warning","message":{"text":"core.assemblePaperclipSourceBundle (cyclomatic 22): core.assemblePaperclipSourceBundle 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b779bb8b544d30c05f1bde44cc0810648d66429a52978ae2f54a28df2ad6f"}},{"ruleId":"D1","level":"warning","message":{"text":"config.parseConfig (cyclomatic 22): config.parseConfig has cyclomatic complexity 22 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or 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/plugins/sandbox-providers/createos/src/config.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfc12a5ca4c2a7e283e85a6bbdecdf56c36168229febc4d68a285cad49ff822"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.assertTarballEntriesConfined (cyclomatic 22): file-sync.assertTarballEntriesConfined has cyclomatic complexity 22 (threshold 15). Of this number, 18 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6c637ca56e98a2fb558a0b6103a1619da983f93a9e5e5a593d13dda566b29d"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog-builder.buildReferencedCatalogSkill (cyclomatic 22): catalog-builder.buildReferencedCatalogSkill has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fb2e32219dd8805d7bd974934fb88dbe9545af34fc5e4b9b8c7057b0210f7b"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerCore.compensateExpose (cyclomatic 22): BrokerCore.compensateExpose 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ee2c1a5c198cd9e138b787e920fa60663ba12146ca1aa17d0989d24962c023"}},{"ruleId":"D1","level":"warning","message":{"text":"capabilities.createPublicMcpExecutor.\u003Creturned closure\u003E (cyclomatic 22): capabilities.createPublicMcpExecutor.\u003Creturned closure\u003E 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":"server/src/services/public-mcp/capabilities.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08bc704a8a5bdec0968d818ca38b1e115a5648fa8d61dd2c6dd0176d24b54b4"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-event-schedule.projectIdleMcpEventSchedule (cyclomatic 22): idle-event-schedule.projectIdleMcpEventSchedule 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":"server/src/services/public-mcp/idle-event-schedule.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"36459c4fc689a8438d7a437f06121255b0c5fdc1512a92590826a56ecd208d78"}},{"ruleId":"D1","level":"warning","message":{"text":"local-ai-credentials.readVerifiedLocalAiCredential (cyclomatic 22): local-ai-credentials.readVerifiedLocalAiCredential 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":"server/src/services/local-ai-credentials.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cd98c37d4eac56c98d837166b54ec822f647142f7e01b9ddb906c22b00c9eb"}},{"ruleId":"D1","level":"warning","message":{"text":"billing-reconciliation.billingReconciliationService.importInvoice (cyclomatic 22): billing-reconciliation.billingReconciliationService.importInvoice 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 one function literal inside it that branches (line 27). 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e46581e505516e772c9066f74daa276ee009fb99ae337e33507f80e48832cd4"}},{"ruleId":"D1","level":"warning","message":{"text":"company-search.issueFilterConditions (cyclomatic 22): company-search.issueFilterConditions 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":"server/src/services/company-search.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2a862830e542dad5f2d47f35ea4e12584f8fda298ef86cb544f0ae24f999a"}},{"ruleId":"D1","level":"warning","message":{"text":"github-connection-events.githubSnapshotUpdate (cyclomatic 22): github-connection-events.githubSnapshotUpdate 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d163dc382bae9560ba3bbd23c0ddda0f2ba528e7e9d18d8d81ca704a8c36dd16"}},{"ruleId":"D1","level":"warning","message":{"text":"costs.parseCostDateRange (cyclomatic 22): costs.parseCostDateRange 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":"server/src/routes/costs.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8961f524c59383e3f0adb6099ff5f1ffdb0222c18ac6a2febcb4de50e62c285c"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-skills.mcpSkillsRoutes (cyclomatic 22): mcp-skills.mcpSkillsRoutes 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 6 function items inside it that branch (a function literal at line 112, assertCanReview, 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":"server/src/routes/mcp-skills.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6570a50680d9f09f679f675d3813178d84b65ab5cfd845d40588ece1d26ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"built-in-agents.builtInAgentRoutes (cyclomatic 22): built-in-agents.builtInAgentRoutes 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 8 function items inside it that branch (a function literal at line 183, assertCanControlBuiltInRoutine, logBuiltInAgentMutation, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/built-in-agents.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"89787425837d45cb7b6bfa9f5850b2c0324143a7f38e0c0e6f1f8abc67ef0d38"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::assertSuggestedTaskEffectsAllowed (cyclomatic 22): issues.issueRoutes::assertSuggestedTaskEffectsAllowed has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":6454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67c713daaa3e3de4f19b06e37bcd9c370bbf83f88311e5503450a07442fdbf7"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::findQueuedCommentWake (cyclomatic 22): issues.issueRoutes::findQueuedCommentWake has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":7716}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f71ccec66f1d80f87ae4683b322818356090602dd314a3ad21c17792148e54"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::assertAgentStatusChangeKeepsLiveRunBound (cyclomatic 22): issues.issueRoutes::assertAgentStatusChangeKeepsLiveRunBound has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":14861}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b02e006d0990b4aa0d4a39fb25619ed8ea2e86f358f1588b523a58f9dfa1df"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery-observability.recoveryObservabilityService.report (cyclomatic 22): recovery-observability.recoveryObservabilityService.report 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":"server/src/services/recovery-observability.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"74514ef9602260eec2754d7862a51386c283706befe1e6c073dcebb60e948230"}},{"ruleId":"D1","level":"warning","message":{"text":"live-event-delivery.createLiveEventDelivery.drain (cyclomatic 22): live-event-delivery.createLiveEventDelivery.drain 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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6ee7510c98e6601edf8709e4f0cb47a1af26a6c6fe94e4b4c9cd16f3554eff"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort::observe (cyclomatic 22): remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort::observe 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. This shape REPEATS in the file: one other method here (remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort) 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ca7fc73898f2d434b1384e31a084ac095fb5d32a08cbf4b52fa1d259c54e2d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-maintenance.migrateAgentFiles (cyclomatic 22): agent-file-maintenance.migrateAgentFiles 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 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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e7c08762bf19d1efebba4a0c786652d9b68878d47de0ccd928214387b7a15"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubStarPrompt.GitHubStarPrompt (cyclomatic 22): GitHubStarPrompt.GitHubStarPrompt 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 4 function literals inside it that branch (lines 73, 83, 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":"ui/src/components/GitHubStarPrompt.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bf6ebb8cbfe871ee411867974af5a324efd3c24cc5777b52bfad1b48d2d630"}},{"ruleId":"D1","level":"warning","message":{"text":"SetMyUserSecretDialog.SetMyUserSecretDialog (cyclomatic 22): SetMyUserSecretDialog.SetMyUserSecretDialog has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/SetMyUserSecretDialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1a3f8192fba16e8a816758671c43abcfacab92fdbec1b1dc7c64ca2451011a"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-run-settings.composerEfforts (cyclomatic 22): composer-run-settings.composerEfforts 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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e1f03cd84c2076a20338b248a51f9ed43b253f14c191763196be8ecc937dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-hierarchy-context.loadIssueHierarchyChildren (cyclomatic 22): issue-hierarchy-context.loadIssueHierarchyChildren 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":"ui/src/lib/issue-hierarchy-context.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18e498ffd8b8e6d45a4047a3ac772a584dbcab02add54bb78bde20111caae50"}},{"ruleId":"D1","level":"warning","message":{"text":"query-invalidation-batcher.removeCoveredFilters (cyclomatic 22): query-invalidation-batcher.removeCoveredFilters has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 174, isScalar, 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":"ui/src/lib/query-invalidation-batcher.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d4708714516e112540ad92e2b97117c2bd8fcdb5b5ad79ceff708284f836de"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-timeline-events.extractIssueTimelineEvents (cyclomatic 22): issue-timeline-events.extractIssueTimelineEvents 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":"ui/src/lib/issue-timeline-events.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7f26fbc46f7cf4a11e5a25cc9f96fdbf18b1434ccb0466c71d70539c5ababe"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.coalesceSettledTurns (cyclomatic 22): transcript-adapter.coalesceSettledTurns 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"07697539af269ae905a792def3450d03fb797ebdaa0e2f6517e66e22d67d9223"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueLinkQuicklook.IssueLinkQuicklook (cyclomatic 22): IssueLinkQuicklook.IssueLinkQuicklook has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 339, 328, 266, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueLinkQuicklook.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"729de93d3e269271f57da76233644b9d7c67ed66419aacbced416a42ed86467d"}},{"ruleId":"D1","level":"warning","message":{"text":"IssuePlanDecompositionsSection.IssuePlanDecompositionsSection (cyclomatic 22): IssuePlanDecompositionsSection.IssuePlanDecompositionsSection 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 one function literal inside it that branches (line 56). 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":"ui/src/components/IssuePlanDecompositionsSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec1b62da2a892454c253005cf5c84141d90215c0aece755f05f00517f641697"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputPrimaryCard.OutputPrimaryCard (cyclomatic 22): OutputPrimaryCard.OutputPrimaryCard 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":"ui/src/components/issue-output/OutputPrimaryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"25936f774878ca33e470e838e053d808a830be85d94c9ff67b4efebabf01bc6f"}},{"ruleId":"D1","level":"warning","message":{"text":"use-side-panel-tabs.sidePanelTabsReducer (cyclomatic 22): use-side-panel-tabs.sidePanelTabsReducer 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":"ui/src/components/side-panel/use-side-panel-tabs.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda117f50bb8ae4375d33186e59b1bed1031c94382c7b66b284529b29366f155"}},{"ruleId":"D1","level":"warning","message":{"text":"RunDetails.WorkspaceOperationsSection (cyclomatic 22): RunDetails.WorkspaceOperationsSection has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 410). 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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0997e1c884c0773d4937ed3cb3c7f84df365268f0e32c0351e298545ed197115"}},{"ruleId":"D1","level":"warning","message":{"text":"channels.planChannelChanges (cyclomatic 22): channels.planChannelChanges 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":"ui/src/lib/agent-configuration/channels.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b539ea093546f4c5d574481e155ff8414230c64bba46585b36f3199be432ec1b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.StatusCards (cyclomatic 22): index.StatusCards 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/StatusCards/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8def3c1cfa6d09b9eb0b431c9fc3fcaff394e26db42c8845e87b53ca01ff25df"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineSaveBar.RoutineSaveBar (cyclomatic 22): RoutineSaveBar.RoutineSaveBar has cyclomatic complexity 22 (threshold 15). Of this number, 13 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":"ui/src/components/RoutineSaveBar.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"39224191c3108c6c8d64b7ef681aa58cecfd73a7ba1284e492592985166f2780"}},{"ruleId":"D1","level":"warning","message":{"text":"cron-fires.parseField (cyclomatic 22): cron-fires.parseField 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":"ui/src/lib/cron-fires.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e597a9c7243f3d0bd0a1e45f7a7204c72b70dc478d0ad0e3eca8d0bb084b690e"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionTriageStrip.DecisionTriageStrip (cyclomatic 22): DecisionTriageStrip.DecisionTriageStrip has cyclomatic complexity 22 (threshold 15). Of this number, 14 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":"ui/src/components/DecisionTriageStrip.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e33267a20bfef3cdc48e362d6ec1cda01a44170cb76b495399cef3308af1b"}},{"ruleId":"D1","level":"warning","message":{"text":"AggregatorAppManager.AccountObservations (cyclomatic 22): AggregatorAppManager.AccountObservations 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AggregatorAppManager.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa1b85a685995802d19bc5480f33299f32c3ae91036fd62d1559ab8053b36f6"}},{"ruleId":"D1","level":"warning","message":{"text":"Browse.ConnectionAccountRow (cyclomatic 22): Browse.ConnectionAccountRow 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"221237f1c892842c9ab8152d54b91be4324a4fad20715577e47e5dc64cd29b6d"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubBotManagement.GitHubBotManagement (cyclomatic 22): GitHubBotManagement.GitHubBotManagement has cyclomatic complexity 22 (threshold 15). Of this number, 18 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc491a53caeaed201e1fd1ec839b993ae59a2777e5cc36372b3f02bfd37020f2"}},{"ruleId":"D1","level":"warning","message":{"text":"RailwayAccessPanel.RailwayAccessPanel (cyclomatic 22): RailwayAccessPanel.RailwayAccessPanel has cyclomatic complexity 22 (threshold 15). Of this number, 19 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":"ui/src/pages/apps/app-detail/RailwayAccessPanel.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d632f8f871e128f1bc2bd862641335acf246480042822ccbfb99b828e5b479"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedPanel.ReconnectForm (cyclomatic 22): AdvancedPanel.ReconnectForm has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a6aa40e8b7690f3fb3c77b81dfee489d53d65f750d87378c78b2b516222fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillFolderTree.TreeBranch (cyclomatic 22): SkillFolderTree.TreeBranch has cyclomatic complexity 22 (threshold 15). Of this number, 17 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9292eeb5ba8beef80e8600df582d246dbfb796c29d019a53c92bfb44cbd3f36"}},{"ruleId":"D1","level":"warning","message":{"text":"Secrets.AgentAccessSection (cyclomatic 22): Secrets.AgentAccessSection has cyclomatic complexity 22 (threshold 15). Of this number, 20 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4561}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f4d34b1f1bbcadbdaca0358228f52f0c0c0edc7f32ed364b9da77d1ea739f"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginSettings.PluginConfigForm (cyclomatic 22): PluginSettings.PluginConfigForm has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dcd894477b22f657636877cd2c3a1bf94fd24b40893111529cabeed2caffde"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAgentSetup.Setup::runTest (cyclomatic 22): NewAgentSetup.Setup::runTest 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7dee1ea4a3f224a293983d7623f115609f552963142c3dd12e296e050f7fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"CaseListRow.CaseListRow (cyclomatic 22): CaseListRow.CaseListRow 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/cases/CaseListRow.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd85f41f2346783c07fa1b1580b7fd623d1a5d2a3d4869fdb28b670a22f0966f"}},{"ruleId":"D1","level":"warning","message":{"text":"SpekoProviderSetup.SpekoProviderSetup (cyclomatic 22): SpekoProviderSetup.SpekoProviderSetup 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/voice/SpekoProviderSetup.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edba621297c3df3be1407ffc076272f03a3c6cac5d310e63880a9d8e96e6d7e"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMcpProductionSetup.RemoteMcpProductionSetup (cyclomatic 22): RemoteMcpProductionSetup.RemoteMcpProductionSetup has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (RemoteMcpProductionSetup.RemoteMcpProductionSetup::submit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"049c371ecc5eb3a317e3e961b81437faf6f324ae4f871f95d6024d2b149a6258"}},{"ruleId":"D1","level":"warning","message":{"text":"useMuseConnection.useMuseConnection (cyclomatic 22): useMuseConnection.useMuseConnection has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 71, 54, 57, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useMuseConnection.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1fb5cfad0ae48808c1d614a6eb232858af556a78f335d37fc92aecf0772fa3"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectorPages.Setup (cyclomatic 22): AiConnectorPages.Setup 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 items inside it that branch (complete, a function literal at line 191, a function literal at line 186, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"32070b5254893ba582c2d964576b87eea9278e27ac91bf7800c1853dcdfffbc8"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessEditor.AccessEditor (cyclomatic 22): AccessEditor.AccessEditor has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/AccessEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f7c01d46c56722b7d1eccabbe781ad0c4334766e44ae51d8b012e3f702087b"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxProviderState::accept_event (cyclomatic 22): AcpxProviderState::accept_event 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8af3b2bc1456b5189d709a4893f0a8645b6fb40408808163c048366bb0ceb4"}},{"ruleId":"D1","level":"warning","message":{"text":"LineageState::observe (cyclomatic 22): LineageState::observe 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/paperclip-runner/runner/crates/runner-core/src/process_lineage.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d3882cb790927c3513a2a85f8ca063c720434ab29f3ac176b9ce909cc9c59"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::acpx_event_payload::decode_runtime_event (cyclomatic 22): paperclip_runner_core::acpx_event_payload::decode_runtime_event 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/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"721d0920efceaa7ae5dcd289e4e9e61b362e4083b3a749cf3779e6c5ca6e1448"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::provider_backend::terminal_events (cyclomatic 22): paperclip_runner_core::provider_backend::terminal_events 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdc68cbfdd4eeed18d507ec81ccec5e8af8e355a4e441bf75ee72d4e5d2e723"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-checkpoint.validateCheckpointPayload (cyclomatic 21): workspace-checkpoint.validateCheckpointPayload has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dc2ae44964ceeede163d7070f90a01cf0849abee1e1eab68aed4c13183269b"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-callback-bridge.startSandboxCallbackBridgeWorker.failPendingRequests (cyclomatic 21): sandbox-callback-bridge.startSandboxCallbackBridgeWorker.failPendingRequests 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4ced7aa5b71c45c62efd66c5b66f57ca2fc29052a93b4bf5b64d8c64f5c8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-seed-cache.evictSeedGenerations (cyclomatic 21): workspace-seed-cache.evictSeedGenerations has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"486cfab4645db02fa81abc24775529b618db3d62aeb9c3a1b63ab17f0119fbb4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-merge.mergeDirectoryWithBaseline (cyclomatic 21): workspace-restore-merge.mergeDirectoryWithBaseline 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 2 function literals inside it that branch (lines 772, 794). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3974073c3fa2e3d8256a6c5299008ee9255ccf7d21008a315cc567bc3356c0"}},{"ruleId":"D1","level":"warning","message":{"text":"quota.mapCodexRpcQuota (cyclomatic 21): quota.mapCodexRpcQuota 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"038cc3267a03e09028f42b8b007c9449ec0a320626d57157f8c9d83c6a51978f"}},{"ruleId":"D1","level":"warning","message":{"text":"acp.testKimiAcpEnvironment (cyclomatic 21): acp.testKimiAcpEnvironment 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/adapters/kimi-local/src/server/acp.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1246b7201dcb7a0fa7af28b9daf0e723c4d3c31e48cf02e8de3f84aed56865b"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseKimiStdoutLine (cyclomatic 21): parse-stdout.parseKimiStdoutLine 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/adapters/kimi-local/src/ui/parse-stdout.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8a7dfba3c8cf8952137612b57485d542a115e402a82bae6a56bd1b732d4723"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.extractRuntimeServicesFromMeta (cyclomatic 21): execute.extractRuntimeServicesFromMeta 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edadfaa964207f8961d68ccf308e35ba444dd5e4ebb26d93056612d267a335b"}},{"ruleId":"D1","level":"warning","message":{"text":"governance-events.safetyAction (cyclomatic 21): governance-events.safetyAction 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/paperclip-runner/src/governance-events.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27432c7526c439ae44acfecb625e51c6518983c0f013b404c631a99686327f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessCodexAppServerTransport.#onLine (cyclomatic 21): ProcessCodexAppServerTransport.#onLine 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/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14239850ba19e6bb8f7c86e365bf14ddd520a76fbb3fef28c53c9a01a83eae8"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-extensions.createCursorProfileExtensionAdapter.notification (cyclomatic 21): cursor-extensions.createCursorProfileExtensionAdapter.notification 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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dffdb66a4b045709c2b15935672e0f94e47a0f83ba440a2c6d6a0ddf394b8b6"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-extensions.createCursorNotificationNormalizer.\u003Creturned closure\u003E (cyclomatic 21): cursor-extensions.createCursorNotificationNormalizer.\u003Creturned closure\u003E 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"824e0355345bbbad9cbf90994a8c743e34578a54352a4fc4244272fb7ed1b997"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-driver-values.differingJsonPaths (cyclomatic 21): codex-driver-values.differingJsonPaths 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/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bc05657e0e321a470508e6a3fa86dc197362ed7097f19e16b1345ac4fce01c"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.#recoverPendingSemanticInputsOnce (cyclomatic 21): DurablePrpControlPlane.#recoverPendingSemanticInputsOnce 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: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2119853a74592c1e0d413a0b61bdce275587ca8c3d8ca8b8bab628facc76d968"}},{"ruleId":"D1","level":"warning","message":{"text":"company-observability.createOpenCodeCompanyObservability.finish (cyclomatic 21): company-observability.createOpenCodeCompanyObservability.finish has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 99, 87). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e082aa383efbc019823b6c7ce8b0a8d876f6cf7c02aff861a070010879f9d8e3"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-performance.parseProviderPerformanceSpans (cyclomatic 21): provider-performance.parseProviderPerformanceSpans 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 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/paperclip-runner/src/contracts/provider-performance.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0275126b8b7a55954777c2e4b066d54194ce5e7496f9e7cdbae636a6489e0af6"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#downloadAttachment (cyclomatic 21): DurablePrpCodexTransport.#downloadAttachment 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d2b5caab14fbc01422ce212ff94010607898f8b772279362687faa80e568c6"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#commandResult (cyclomatic 21): DurablePrpCodexTransport.#commandResult 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8128}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bee3eb1b687c7e98ffab059d528688903a428f3b1bb8d6eb4f10933f535c42"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.createCapabilityRunnerdProviderEnvironmentBase (cyclomatic 21): runnerd-codex-transport.createCapabilityRunnerdProviderEnvironmentBase 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7faefd6187b95229cddaf5d46b802a23b7473cf45b1fade67ac3484cd8018a7"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueHeader.IssueHeader (cyclomatic 21): IssueHeader.IssueHeader 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9435a0b4f2eb53eb5834a00188394ff4a7c1734436cd54d59bdb695f96e781"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-kimi-distribution.verifyLockedKimiPackageGraph (cyclomatic 21): materialize-kimi-distribution.verifyLockedKimiPackageGraph 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffdca4c398cd63869870270742a3e238f3f2d73d5094a44761a991966eed7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"forbidden-imports.violationReason (cyclomatic 21): forbidden-imports.violationReason 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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6f149553b224821250df1e0309a789f4c63066f69c59dc2c9a7307e3c6cf15"}},{"ruleId":"D1","level":"warning","message":{"text":"redaction.sanitizeValue (cyclomatic 21): redaction.sanitizeValue 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":"server/src/redaction.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ec4ce56351a43ad3c104ae8b95a09ee628970b47f5758aac38db27151c49f"}},{"ruleId":"D1","level":"warning","message":{"text":"redaction.sanitizeRecord (cyclomatic 21): redaction.sanitizeRecord 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":"server/src/redaction.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dbddd4ebd11e823407163c9bdec48cdd739d1b77c109dc2fc74c9f3019f25d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-sdk-runtime.createAttachmentRecoveryDescriptor (cyclomatic 21): chat-sdk-runtime.createAttachmentRecoveryDescriptor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2015206a7fdc3e5c00e0d34714816ab2d33aa530a4e4844f6ee825a46e2ee350"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-records.configPatchFromApprovalPayload (cyclomatic 21): agent-records.configPatchFromApprovalPayload 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":"server/src/lib/agent-records.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c500023a0ac194e3c57fa0384b4b9f992c44c90219e1826d8f6ddd8fe04cd"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-summary.findHeartbeatRunCompletionComment (cyclomatic 21): heartbeat-run-summary.findHeartbeatRunCompletionComment 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cc271e0581890bcd77269d4e56a6de4e1cbc6d9722ed1f021dce7857d65006"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmation-decision.readPersistedConfirmationDecision (cyclomatic 21): confirmation-decision.readPersistedConfirmationDecision 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":"server/src/services/confirmation-decision.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a5e74618fde413b5b2da67f27b4fe4150b87d72677e5c64e02883e268d19f1"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretResolutionErrorCode (cyclomatic 21): secrets.secretResolutionErrorCode 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":"server/src/services/secrets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6f838db32d832da7706bb1b79175b488b894b0919816c095d9f9f662270680"}},{"ruleId":"D1","level":"warning","message":{"text":"connections.tailscaleConnectionService.complete (cyclomatic 21): connections.tailscaleConnectionService.complete 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":"server/src/services/connectors/tailscale/connections.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b35d6c478677fd5847a2661598e2c7af7426bbcdad8286caef4a4055399a42"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-config.normalizeEnvironmentConfigForPersistence (cyclomatic 21): environment-config.normalizeEnvironmentConfigForPersistence 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":"server/src/services/environment-config.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"716eb11fd74db3f3a8328244b6b7b01dc6011d9d2f244da0b261769b21f8b1b8"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree-config.collectSiblingWorktreePorts (cyclomatic 21): worktree-config.collectSiblingWorktreePorts 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":"server/src/worktree-config.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb98a68c727aa2ff859130206486b29d214e56a15c0f2a5ed4df2a22c1122430"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree-config.maybeRepairLegacyWorktreeConfigAndEnvFiles (cyclomatic 21): worktree-config.maybeRepairLegacyWorktreeConfigAndEnvFiles has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 470). 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":"server/src/worktree-config.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cff625ad030c1d9c2d2f3737b8b7ea74f560066a258fe69cc5030c68955d60"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-continuation.getConversationOwnershipBlocker (cyclomatic 21): conversation-continuation.getConversationOwnershipBlocker 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":"server/src/services/conversation-continuation.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f2cdbd359d4220e79b1afa227e1318ab1d1652f1335fd22936a15065936d50"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-management.connectionManagementService.evaluateTarget (cyclomatic 21): connection-management.connectionManagementService.evaluateTarget 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":"server/src/services/connection-management.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"853de1a2c1e2c4cc2a1100aca45c5c8859d06c8e623b8e7719d64f870515da2e"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-management.connectionManagementService.describeAgentInstallCapabilities (cyclomatic 21): connection-management.connectionManagementService.describeAgentInstallCapabilities 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 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":"server/src/services/connection-management.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46db10f2ddc32ec6b1d25218f29d0c3d8d43bd598c567970145f37b6c02b0f0"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-policy.buildExecutionWorkspaceAdapterConfig (cyclomatic 21): execution-workspace-policy.buildExecutionWorkspaceAdapterConfig 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b06cf04a015769470806bb7efa80875f77a029926f0638a4dc1a19e49dd85"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-fresh-workspace.reserveFreshPluginTaskWorkspace (cyclomatic 21): provider-fresh-workspace.reserveFreshPluginTaskWorkspace 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 one function literal inside it that branches (line 116). 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":"server/src/services/provider-fresh-workspace.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7441c507be4f664c81969fc6fbbf36f76d1cee02451e0cd239eeee3a0b59e0"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-repository-rehome.inspectWorktree (cyclomatic 21): isolated-repository-rehome.inspectWorktree has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa63337822abed03b80fc9bae45600059fc6809b5c5e72726d06c2d87ffc962a"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-repository-rehome.cloneDisposable (cyclomatic 21): isolated-repository-rehome.cloneDisposable 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa38c5301f713db869c821a49ee1025aabbba107d65f4eeb944a60c5efd6fff0"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-repository-rehome.rehomeExpiredIsolatedRestoration (cyclomatic 21): isolated-repository-rehome.rehomeExpiredIsolatedRestoration 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0557db7ab215e5e5303e7e01f32ca5f114e82c76eff2b5ce0208e283012bee"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-instructions.deriveBundleState (cyclomatic 21): agent-instructions.deriveBundleState 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac027e70952e41a0b178c3e0b873150f433f02ab0b29d2d537ed8f3a8a510fd8"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-archive.restoreNativeHarnessArchive (cyclomatic 21): native-harness-backup-archive.restoreNativeHarnessArchive has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 105). 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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4489e5e6073073df78512787c2f007ee0d20efd7206f8fa7b7439399cc0397"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-recovery.deferNativeRunForBusyAgentDirectory (cyclomatic 21): native-controller-recovery.deferNativeRunForBusyAgentDirectory 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 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. This is NOT this file\u0027s highest cyclomatic complexity: native-controller-recovery.deferNativeControllerRecovery (cyclomatic 26) 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4138fa5704fa64032614ed8bafbbb148e136075017350b8846750b02caa0ff3b"}},{"ruleId":"D1","level":"warning","message":{"text":"github-external-object-provider.pullRequestSnapshot (cyclomatic 21): github-external-object-provider.pullRequestSnapshot 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbd7a2172b9321b98e6a814051d506ca99f96eb57d45de58d9b302a8f15d332"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-github-access.skillSourceGitHubReader.read (cyclomatic 21): skill-source-github-access.skillSourceGitHubReader.read has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 94). 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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"84157464741d03c9553e83ebad407ec50f2edc1382117c0a11d639eb2dad096f"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-instance-cleanup.cleanupWorktreeInstanceArtifacts (cyclomatic 21): workspace-instance-cleanup.cleanupWorktreeInstanceArtifacts has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44f0130cbb05cc844216414c2a75aeb46fc87ea4e6874d9359ca89dd9f2a204"}},{"ruleId":"D1","level":"warning","message":{"text":"local-service-supervisor.normalizeRegistryRecord (cyclomatic 21): local-service-supervisor.normalizeRegistryRecord 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd007c3fe2c65f1e4ec90d6082f86ac49113c76ea05a1e3109f020afa9fa108"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.startLocalRuntimeService (cyclomatic 21): workspace-runtime.startLocalRuntimeService 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7164}}}],"partialFingerprints":{"codehealthFindingId/v1":"569b77adaad994adc6d71ddb203859221db9f49e5d49993928326d112d8b96ed"}},{"ruleId":"D1","level":"warning","message":{"text":"cron.parseField (cyclomatic 21): cron.parseField 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":"server/src/services/cron.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c83661d8048b9f9e9ad083138b7c1145139bba3ca4fa46b7c5be05cb255a715"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery-effect-receipts.priorRecoveryApiReceipt (cyclomatic 21): recovery-effect-receipts.priorRecoveryApiReceipt 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":"server/src/services/recovery-effect-receipts.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fceed8e5c20797f365d27d84e9a50037067b78962c3f810c119169b87af028"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.matchingAgentActionRequest (cyclomatic 21): tool-gateway.createToolGatewayService.matchingAgentActionRequest 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10606}}}],"partialFingerprints":{"codehealthFindingId/v1":"573e33e2689dea6d61ab963f181b17be9ed63e82903d8213e93afd020235ec30"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-task-directory.materializeIsolatedTaskDirectory (cyclomatic 21): isolated-task-directory.materializeIsolatedTaskDirectory 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":"server/src/services/isolated-task-directory.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"605335e2861ac8f93e56e8a9c22716ec24e570e241eb20a567e7500e4588ee0a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-conversations.deliverConversationComments (cyclomatic 21): agent-conversations.deliverConversationComments has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 702, canDeliver). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d897a37ee882bacfaa9cf08066e4635fbe5e57b7c447b1539dfb6ebfa74f6880"}},{"ruleId":"D1","level":"warning","message":{"text":"run-failure-report.reportRunFailure (cyclomatic 21): run-failure-report.reportRunFailure 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefc3a9ee98171f5f79309bd4afef2a0916866a558cf4de0ca2baaf940341034"}},{"ruleId":"D1","level":"warning","message":{"text":"plan-review-context.buildDocumentReviewContext (cyclomatic 21): plan-review-context.buildDocumentReviewContext has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 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":"server/src/services/plan-review-context.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9e8977f8b6d5533b0f395409fe0b4401d3e3b401f11677aa6a21caf954882e"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recoveryService.hasPersistedDurableWaitPath (cyclomatic 21): service.recoveryService.hasPersistedDurableWaitPath 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac6560af11c0d77c5251797ab606ee4d3363bc1c419f7412093d7c421da9ad2"}},{"ruleId":"D1","level":"warning","message":{"text":"anthropic-pricing.priceAnthropicReceipt (cyclomatic 21): anthropic-pricing.priceAnthropicReceipt 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":"server/src/services/anthropic-pricing.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8c4f3022efbb3c4c9ad7ee2697bb5871056754506a4192a8ca4785bf5de31f"}},{"ruleId":"D1","level":"warning","message":{"text":"fast-response-provider.fastResponseModel (cyclomatic 21): fast-response-provider.fastResponseModel has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-response-provider.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e66a7c9e0914eb954ff181124bb070c538922ee1c3beabe1665374a75d7199"}},{"ruleId":"D1","level":"warning","message":{"text":"saved-workspace-archive.createSavedWorkspaceArchiveOpener.\u003Creturned closure\u003E (cyclomatic 21): saved-workspace-archive.createSavedWorkspaceArchiveOpener.\u003Creturned closure\u003E has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/saved-workspace-archive.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d01dada90e5727be7d52cc601b12696e59f730984b47dbf9b5e7ded733ef084"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-skill-preservation.manifestFiles (cyclomatic 21): runtime-skill-preservation.manifestFiles 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":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b84daa972a84cd52dc2965b14ac170d5a6fa5142468bb17c56969f2034eee0"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipControlPlanePort.completeRun (cyclomatic 21): PaperclipControlPlanePort.completeRun 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 one function literal inside it that branches (line 696). 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ffaaa8ac8bfbe11c9527d26897d3c7e46b0d70cfb3206aab8cd4c0c18ae31d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.acknowledgeRemoteStop (cyclomatic 21): run-control.createHeartbeatRunControl.acknowledgeRemoteStop 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a09c778d2e5bdc7ee9466e4a49230509c5e24a8c724667392627d419b5349c"}},{"ruleId":"D1","level":"warning","message":{"text":"external-chat-question-response-input.materializeExternalChatQuestionResponseInput (cyclomatic 21): external-chat-question-response-input.materializeExternalChatQuestionResponseInput 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 2 function literals inside it that branch (lines 24, 98). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response-input.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a07819699ec4e1ed43fa8b9565afd5460a41a74213c4fdf81f2b310ec8b24a"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-recovery.voiceSessionRecovery.refresh (cyclomatic 21): voice-session-recovery.voiceSessionRecovery.refresh 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":"server/src/services/voice/voice-session-recovery.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0239c478a57060a8a8a16a0b148f0a3f91b2653d065248d741590ba7b6a3645"}},{"ruleId":"D1","level":"warning","message":{"text":"task-start.createSlackTaskStart.finalizeSlackTaskStartFailure (cyclomatic 21): task-start.createSlackTaskStart.finalizeSlackTaskStartFailure 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 one function literal inside it that branches (line 237). 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea30651dfd8eaeb6dc5d8e685c8a739de9327f10153e4feacf853690e6206c51"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-webhook-config.resyncGitHubAppWebhook (cyclomatic 21): chat-github-webhook-config.resyncGitHubAppWebhook 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0ac904c3a4c372217a97ffea9cf4fd95067cf5f65587135a2ae9fc903e773d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-registration.githubChatRegistrationService.start (cyclomatic 21): chat-github-registration.githubChatRegistrationService.start has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 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":"server/src/services/chat-github-registration.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5440490a2c45e66792653f51f6bf98b2dc779d5cb43993427cf04429516d934c"}},{"ruleId":"D1","level":"warning","message":{"text":"app-setup.createGitHubAppSetup.storeGitHubApp (cyclomatic 21): app-setup.createGitHubAppSetup.storeGitHubApp 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 3 function literals inside it that branch (lines 97, 109, 130). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/app-setup.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422ad6d6e14026b25133ca10be37d8f8472d653bf8e7462fb3999cbed4ccab3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-inline-images.prepareTeamsInlineImage (cyclomatic 21): chat-teams-inline-images.prepareTeamsInlineImage 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7b11b2d85228c899421aa5fcd2cfd2d316af76b1d551adbc52b55658b22777"}},{"ruleId":"D1","level":"warning","message":{"text":"outbound-attachments.hydrateOutboundAttachment (cyclomatic 21): outbound-attachments.hydrateOutboundAttachment 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":"server/src/services/chat-channels/outbound-attachments.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b19976d0b652ecff412bb6e541edfc4291b295fbd1bf2319d9ab16f3cb6d15"}},{"ruleId":"D1","level":"warning","message":{"text":"root-threads.createDiscordRootThreads.reconcileDiscordRootThread (cyclomatic 21): root-threads.createDiscordRootThreads.reconcileDiscordRootThread has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 493, 420, 448). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bbe4704c53ace59e29852aa7431a82dc85e285277d1a43e7229128ecdd727e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-channels.chatChannelService.applyProviderLifecycleEffect (cyclomatic 21): chat-channels.chatChannelService.applyProviderLifecycleEffect 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 3 function literals inside it that branch (lines 2830, 2907, 2756). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26cb0055004cc4ec94e4a23e51dbfb42b33117df71f574e4bdbf5ad295039b6"}},{"ruleId":"D1","level":"warning","message":{"text":"removal.createConnectionRemoval::removeConnectionUnlocked (cyclomatic 21): removal.createConnectionRemoval::removeConnectionUnlocked 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 shape REPEATS in the file: one other method here (removal.createConnectionRemoval::classifyConnectionSecrets) 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":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d148cf0fdcbdf08fc79cde9fc710af2aa055b5381d590a6913dc602b1a29d9"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-app-discovery.pages (cyclomatic 21): aggregator-app-discovery.pages 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2775d73b84c328f07921de300a9c7280678332defea76821f2d6817b173733"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.gitHubReadGrantAccess (cyclomatic 21): tool-access.gitHubReadGrantAccess 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":"server/src/services/tool-access.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3c0ccc4740dd67b561b4514b3b17d033844f14027deed86c14e65948b5937b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessService.configureRailwaySsh (cyclomatic 21): tool-access.toolAccessService.configureRailwaySsh 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 one function literal inside it that branches (line 4767). 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":"server/src/services/tool-access.ts"},"region":{"startLine":4764}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e728073c8f6793bdb60a38fde996bc145b06fc22c9f4bfdc9b93da000e1bc60"}},{"ruleId":"D1","level":"warning","message":{"text":"git-credentials.resolveManagedGitHubCredential::acquire (cyclomatic 21): git-credentials.resolveManagedGitHubCredential::acquire 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":"server/src/services/git-credentials.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5498a1771e32cc33d61456bc664fa2a613b30a90c64ada891ed3b2cb25163b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-provider-artifacts.releaseRetiredNativeProviderArtifacts (cyclomatic 21): native-provider-artifacts.releaseRetiredNativeProviderArtifacts has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 768, 881). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adc166dcc9d4e41aa50cfadc261b2cca2b1b6c4ba473052168cc7603bf4d198"}},{"ruleId":"D1","level":"warning","message":{"text":"native-bootstrap-proof.runnerdStateHasNoProviderTurn (cyclomatic 21): native-bootstrap-proof.runnerdStateHasNoProviderTurn 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c646e7172318088542ed9d116fe742e4aa38c9129125ba86d70e22796a7ef85b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-bootstrap-proof.runnerdStateIsIncompleteBootstrap (cyclomatic 21): native-bootstrap-proof.runnerdStateIsIncompleteBootstrap 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bf9d40a6dac77bf429d2679abda8e9069ff812a39e2c66fca09a1bcad512b1"}},{"ruleId":"D1","level":"warning","message":{"text":"stopped-codex-turn.completionScriptInput::literal (cyclomatic 21): stopped-codex-turn.completionScriptInput::literal 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. This is NOT this file\u0027s highest cyclomatic complexity: stopped-codex-turn.completionScriptInput (cyclomatic 26) 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":"server/src/services/native-runtime/stopped-codex-turn.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba840f221a5f193ad5bc4bd3e34b96c95c7068f79c41a92564af79c52159d065"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-pack-layers.stageProviderPackLayers (cyclomatic 21): provider-pack-layers.stageProviderPackLayers has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-layers.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f312c4a4a937c118da3bf66b559bbeeeeeab63d0ecd765a15f6d72cc9847732"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-pack-upload.uploadVerifiedProviderPack (cyclomatic 21): provider-pack-upload.uploadVerifiedProviderPack 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-upload.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ff24ae1af2399edd9ae9c83ea83061fb5150ffc7f5dc25a7785940cabf56cf"}},{"ruleId":"D1","level":"warning","message":{"text":"fireflies-webhook.verifyFirefliesWebhook (cyclomatic 21): fireflies-webhook.verifyFirefliesWebhook 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":"server/src/services/fireflies-webhook.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05bd593bcf00e30b95d3da95758e3478eaf39a5017007f44f76af6e254371d9"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.runtimeInputLifecycleMetric (cyclomatic 21): native-session-executor.runtimeInputLifecycleMetric 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd140833a4c35bb77ac59f11540ad05a6e2bb0665485a371233f8f0234a0f877"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.semanticProviderPlanMarkdown (cyclomatic 21): native-session-executor.semanticProviderPlanMarkdown 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"c871ae280e13f937837d0390a36cf35614d001e0c56bc20b79c71dad975136b9"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.cleanupProviderHomeSnapshot::visit (cyclomatic 21): native-session-executor.cleanupProviderHomeSnapshot::visit 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efe2c663c20647733d7a496800c33651fbc8cfe1e7e0ef6ad0537cde7c831ad"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.syncRemoteRunnerDirectoryOut (cyclomatic 21): native-session-executor.syncRemoteRunnerDirectoryOut 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14877}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a04e1909bc3414c9d8c024d4a9b6692adfa01c80e011699ae6c56ce441fb17c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.inspectOwnUnpreparedBootstrap (cyclomatic 21): native-session-executor.createRunnerdBackendWithinSessionClaim.inspectOwnUnpreparedBootstrap 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9ddb8cacf51ae19f57b7b017b91ce56ecbc9f680e26dd7581210033a5bfc9"}},{"ruleId":"D1","level":"warning","message":{"text":"work-intent-outbox.saveUndeliveredUserComments (cyclomatic 21): work-intent-outbox.saveUndeliveredUserComments has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 132, 155). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-intent-outbox.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b8731877e1138fa0d9d704bc2db9eecd105d6d16c916031539805572f04ba"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.environmentService.update (cyclomatic 21): environments.environmentService.update 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1f143de7502cf6bd3972b324089054e19b43d2eda0b4841642edb3b2665030"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-task-source-recovery.assertSourceIdentity (cyclomatic 21): plugin-task-source-recovery.assertSourceIdentity 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 one function literal inside it that branches (line 194). 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1b99dc6589f2ae84f87b0fa34e5d13258ba930d487e0fd8f3b1a786a7e19de"}},{"ruleId":"D1","level":"warning","message":{"text":"wakeup-notices.createInboundWakeNotices.currentInboundWakeNotice (cyclomatic 21): wakeup-notices.createInboundWakeNotices.currentInboundWakeNotice 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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cdf172f3c1e6dd73d4950fce40343a89192ff2dc898638b41a16510b4107be"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.approveGrant (cyclomatic 21): oauth.createPublicMcpOAuth.approveGrant 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19c5538b64422d55ed2d13353f0089379e692bc469d1111a3f609c1318642a5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.port.attach (cyclomatic 21): native-broker.createNativeExternalBroker.port.attach has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 214, drain). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81949256f6e79b425a812ba7160bdb34a9ea0ed18e3f87982703611186c531"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createDotRunnerMcpTools.callTool (cyclomatic 21): dot.createDotRunnerMcpTools.callTool 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2fc6cc9e81eddc69dc7cf45d94a5fa0c791ad63a5063d802a1a6cead3547c4"}},{"ruleId":"D1","level":"warning","message":{"text":"instance-settings.instanceSettingsService.updateExperimental (cyclomatic 21): instance-settings.instanceSettingsService.updateExperimental 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 one function literal inside it that branches (line 653). 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":"server/src/services/instance-settings.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"26da14246982ca81fe6819072eaa4d6d8b6290a1bc66e5abd3e80ba41177db9d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-checkpoint.nativeRunnerCheckpointWriter.\u003Creturned closure\u003E (cyclomatic 21): native-runner-checkpoint.nativeRunnerCheckpointWriter.\u003Creturned closure\u003E 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 one function literal inside it that branches (line 164). 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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd712e9d5030d751e0cfd959f343b78d87f3146adafa47eef8c15f0ca0b7d97"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-native-usage.createCursorNativeUsage.begin (cyclomatic 21): cursor-native-usage.createCursorNativeUsage.begin 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/paperclip-runner/scripts/cursor-native-usage.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"048dbd3eddc3684e59549e3d58d486f86b15821c1a5325cc9615abe6d800e413"}},{"ruleId":"D1","level":"warning","message":{"text":"provision-kimi.provisionKimi (cyclomatic 21): provision-kimi.provisionKimi has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0e0f739c6faf8c0d2a13292118a9bfe6ee24681a42a8dfebca214303f1f55f"}},{"ruleId":"D1","level":"warning","message":{"text":"provision-pi.provisionPi (cyclomatic 21): provision-pi.provisionPi has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/scripts/provision-pi.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad59640f891585dcef6610336712c42b67342d3cf7158e5234fcf5885b91f45"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-launch-policy.assertCursorWorkspacePolicy (cyclomatic 21): cursor-launch-policy.assertCursorWorkspacePolicy 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/paperclip-runner/src/drivers/acpx/cursor-launch-policy.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6f67ccb249994ecb59dbd02f2bf2c99fb26a92283919885b07686eede25bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"model-verification.createAcpxEffectiveModelGate.observe (cyclomatic 21): model-verification.createAcpxEffectiveModelGate.observe 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/paperclip-runner/src/drivers/acpx/model-verification.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f67b8561cdf931af0342217592ebdfa00420fefced241e9014ee32acbe1539"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-metadata-probe.validateKimiMetadata (cyclomatic 21): kimi-metadata-probe.validateKimiMetadata 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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f2356c70f57c5460c33c640e5abba158995bbee9405199c3d3728dd02be605"}},{"ruleId":"D1","level":"warning","message":{"text":"DotSession.command (cyclomatic 21): DotSession.command has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 153). 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/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf42e88dec99bf1063734799e234fa1560f1f08d74a2cd185cfffbe99dc26b42"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow-traceability.validateStressTraceabilityManifest (cyclomatic 21): workflow-traceability.validateStressTraceabilityManifest 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/paperclip-runner/src/eval/workflow-traceability.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3aa337a7e2262c912f48d72ae91a8d0cdc961f3cdd530b808e4089f0c01aae"}},{"ruleId":"D1","level":"warning","message":{"text":"public-view.publicItem (cyclomatic 21): public-view.publicItem 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, 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/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b88f9440aca114b3e30e039c0b09b68546e9cba9571e0c5c3b1100b7f6d695"}},{"ruleId":"D1","level":"warning","message":{"text":"scenario-parity.capabilityScenarioParity (cyclomatic 21): scenario-parity.capabilityScenarioParity 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/paperclip-runner/src/scenarios/scenario-parity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"79732c5733220a5a108d81fce1c6d3277327cce8ca62b947a9f489c6b80514d8"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveConsoleScriptedSession.#runBeat (cyclomatic 21): LiveConsoleScriptedSession.#runBeat 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/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c12e3b23734b68c5e43d3d0e6c992104e5002ac34b05be326054d86a6974a5"}},{"ruleId":"D1","level":"warning","message":{"text":"app.FreshnessChip (cyclomatic 21): app.FreshnessChip 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f038fc90a6d704776c5b6bd980ccadaf5eb3222d2e434cee6055c5b5d40330f8"}},{"ruleId":"D1","level":"warning","message":{"text":"app.IngestTab (cyclomatic 21): app.IngestTab 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3978}}}],"partialFingerprints":{"codehealthFindingId/v1":"522d13f693d27a5d969af203a21b2560c2377a374d8f4f2f0362b131f02a0d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleHostRequestInScope (cyclomatic 21): worker-rpc-host.startWorkerRpcHost.handleHostRequestInScope 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f33846502e023d78d99d06a9ba62dc90089c5531df8f8b9b6d3e71d0079061"}},{"ruleId":"D1","level":"warning","message":{"text":"org-chart-svg.guessRoleTag (cyclomatic 21): org-chart-svg.guessRoleTag 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":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8034f77b5e1a426b7f6bcfb34391b896bd98227528ae5a0c4caa786b8ed8e727"}},{"ruleId":"D1","level":"warning","message":{"text":"form-normal-ack.acknowledgeSlackFormDeliveries (cyclomatic 21): form-normal-ack.acknowledgeSlackFormDeliveries 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":"server/src/services/chat-channels/slack/form-normal-ack.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b061abbe82493bfb60d2eb68c07f7e9865131eac7c3d526f952978f2aa4c90"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.buildPortableProjectWorkspaces (cyclomatic 21): company-portability.buildPortableProjectWorkspaces 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: company-portability.isSensitiveEnvKey (cyclomatic 26) 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":"server/src/services/company-portability.ts"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8adc6b4757e6586f6b5ec131fa5a7da07daece66c9c9785e9cb61faca12ed8a"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-search-oauth.slackSearchOAuthService.accessToken (cyclomatic 21): slack-search-oauth.slackSearchOAuthService.accessToken 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 2 function literals inside it that branch (lines 225, 261). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0fd62dfdb76a691c17cf642eea191dec021d92351f317aceefb2bc6773e522"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::buildQueuedCommentQueue (cyclomatic 21): issues.issueRoutes::buildQueuedCommentQueue 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 shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":7843}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d4fe5cd9d5cad943cb954fdab5e7f40a67c8a8df925d18ad90166b4dbbba04"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-action-audit.agentActionAuditService.list (cyclomatic 21): agent-action-audit.agentActionAuditService.list 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":"server/src/services/agent-action-audit.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"308a31cf080a508d5b604048fdc947441599813c97b564ade7670338c196db6d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-migration.prepareSource (cyclomatic 21): native-harness-backup-migration.prepareSource 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":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5cdcab070114bc3cdf1dba82e036273837e478a7cb4ae405b01d9f8321a57"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-host-services.buildHostServices.readAuthorizationPolicy (cyclomatic 21): plugin-host-services.buildHostServices.readAuthorizationPolicy 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cea05d1184d5cd3a9d6dd4e7ced410f8541f0e0db20ce89895a66ced19b89e"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort (cyclomatic 21): remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort 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. This shape REPEATS in the file: one other method here (remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort::observe) 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a99631bb1f7857095affc8c964937050f51fed659831a93302d32f539479d4"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-idle-schedule.skillSourceIdleSchedule (cyclomatic 21): skill-source-idle-schedule.skillSourceIdleSchedule has cyclomatic complexity 21 (threshold 15). Of this number, 15 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":"server/src/services/skill-source-idle-schedule.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b69fea2800d7358a318b4397dab7cbcbed2dbd11d2678546b38a109bbdff554"}},{"ruleId":"D1","level":"warning","message":{"text":"useCoordinatorWorkspaceEnabled.useCoordinatorWorkspaceEnabled (cyclomatic 21): useCoordinatorWorkspaceEnabled.useCoordinatorWorkspaceEnabled 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useCoordinatorWorkspaceEnabled.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dbe8e108212cd1002c05e44ee28fffd53e6314d1046ce64f9b74a8666de417"}},{"ruleId":"D1","level":"warning","message":{"text":"cross-tab-poll.stableFingerprint::visit (cyclomatic 21): cross-tab-poll.stableFingerprint::visit 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":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a04b50fa8466047700ca0805416f99951032ded1261d4c5704eade00c1235d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parseQuestionSet.questions (cyclomatic 21): index.parseQuestionSet.questions 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24628ff62b4f2854b44f9064a5e18ddd7dad604939b07a8daa597c8ff481c22"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarShell.production.SidebarShell (cyclomatic 21): SidebarShell.production.SidebarShell has cyclomatic complexity 21 (threshold 15). Of this number, 13 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":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fd5566f96924b177cd403d378049f883492d391319b91f22b1964e3a2e91a7"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskListColumns.SortableColumnHeader (cyclomatic 21): TaskListColumns.SortableColumnHeader has cyclomatic complexity 21 (threshold 15). Of this number, 16 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":"ui/src/components/TaskListColumns.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cb0c6af00003089c8c9e0e28030003a07b2a98825d8270bdf243ba0f275203"}},{"ruleId":"D1","level":"warning","message":{"text":"DispositionRecoveryNotice.dispositionRetryUnavailableReason (cyclomatic 21): DispositionRecoveryNotice.dispositionRetryUnavailableReason 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f53525368055707f730abd346493debe435c95bf5bd5954c7701e3d7c775b39"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-taxonomy.toolActivityPresentation (cyclomatic 21): tool-taxonomy.toolActivityPresentation 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":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e4950e93565e98cd2a0013f98cc0f2cbc156719b7075629ec2c6dcea76d897"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatRunnerActivityGroup.TaskChatRunnerActivityGroup (cyclomatic 21): TaskChatRunnerActivityGroup.TaskChatRunnerActivityGroup 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5fb77f4b2572193f686a4fa5e32e0efcd0cfbdf8688a21ef0b4cb889e96089"}},{"ruleId":"D1","level":"warning","message":{"text":"RichWorkProductCard.stateChipFor (cyclomatic 21): RichWorkProductCard.stateChipFor 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":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cd0618b5a7e104cd3f3e57241e754a80254c048bab9ad8542e19df41c2156b"}},{"ruleId":"D1","level":"warning","message":{"text":"status-notice-presentation.statusNoticePresentation (cyclomatic 21): status-notice-presentation.statusNoticePresentation 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":"ui/src/components/task-chat/status-notice-presentation.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31897b263d1010d1ac1e1fb33424c1f294edb8927d0972efd4e577fca660b58"}},{"ruleId":"D1","level":"warning","message":{"text":"useLiveRunTranscripts.useLiveRunTranscripts.stream (cyclomatic 21): useLiveRunTranscripts.useLiveRunTranscripts.stream 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":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4b34a8466df23b7fbbff5e45947e05decfc266aa17c73f8a7d14a4a42d33e5"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.TaskTreeNode (cyclomatic 21): IssueThreadInteractionCard.TaskTreeNode 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a980b7c06fb3bccc5433f185f5d1db94f848d1b0eb238dd67981b9d8e0e9fb7d"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentAnnotationPopover.DocumentAnnotationPopover (cyclomatic 21): DocumentAnnotationPopover.DocumentAnnotationPopover has cyclomatic complexity 21 (threshold 15). Of this number, 11 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":"ui/src/components/DocumentAnnotationPopover.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"04984995c373f438a0d5165f542fd9951aa1b1190cf09ee0c90b8c3000ab39fd"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-change-receipt.formatIssueChangeValue (cyclomatic 21): issue-change-receipt.formatIssueChangeValue 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":"ui/src/lib/issue-change-receipt.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6397111d056fa6173c715b2ed8e84856eac9cdc85fda153c0f99a84d56ccd460"}},{"ruleId":"D1","level":"warning","message":{"text":"runRetryState.describeRunRetryState (cyclomatic 21): runRetryState.describeRunRetryState 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":"ui/src/lib/runRetryState.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58915a7ae75530bfbf9ef2e1ab7354b2c2bdf3a9dc6d2f51d40b28ddfc2d81f"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-format.formatStructuredIssueChange (cyclomatic 21): activity-format.formatStructuredIssueChange 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deab128777b512b8e057605f791da6bfb4e94cdb4971a1152ef02d868e2fec4"}},{"ruleId":"D1","level":"warning","message":{"text":"activity-format.formatActivityVerb (cyclomatic 21): activity-format.formatActivityVerb 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cbebb19e40df96d02b3e0fd66586b01c884a38a6dfab4f18ef78209b61b315"}},{"ruleId":"D1","level":"warning","message":{"text":"BudgetIncidentCard.BudgetIncidentCard (cyclomatic 21): BudgetIncidentCard.BudgetIncidentCard 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":"ui/src/components/BudgetIncidentCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"621f92804d15d9a3b84f0895eddedb573bd0145bef8a3b8708842e63aa526ede"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineHistoryTab.RevisionPreview (cyclomatic 21): RoutineHistoryTab.RevisionPreview 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ac3ce37ed08487792ed20fdfb74eb2346f5516937652a11b3eb42e9a819c46"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionWorkspaceDetail.readConfiguredRuntimeServicePorts (cyclomatic 21): ExecutionWorkspaceDetail.readConfiguredRuntimeServicePorts 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 2 function items inside it that branch (a function literal at line 190, addServices). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6bed2bea2771d06ea4f3189c2d4d76474c5e491d610d1df32e525f32bb90df"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditHub.AuditHub (cyclomatic 21): AuditHub.AuditHub has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditHub.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d924dd23d02cfedcc01eaa3ef126dc2664f30b17204fbcd64920865f8d10563"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionHistoryPanel.DecisionHistoryPanel (cyclomatic 21): DecisionHistoryPanel.DecisionHistoryPanel 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":"ui/src/components/DecisionHistoryPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5876ceccb02b4f60772441fe256c0704f590c4e75f33e5ad41add5f3b17aeec8"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedCard.getIconSpec (cyclomatic 21): FeedCard.getIconSpec 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":"ui/src/components/FeedCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef30e88760d1cd67370a3a5778e4475ef17b325d0c564d27ef27f065b49c44c"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewaysList.GatewaysList (cyclomatic 21): GatewaysList.GatewaysList 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 8 function literals inside it that branch (lines 99, 125, 179, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/GatewaysList.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b18aa9c9f7f850236b9874721ebac7c6a542709899b1350d6bb095f0ce49f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.CatalogDetailPane (cyclomatic 21): CompanySkills.CatalogDetailPane 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96bbb3f798920eb5bd21034e9bc1c691b3c4342d66f63fb6adbc880f7141dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.SkillVersionDiffDialog (cyclomatic 21): CompanySkills.SkillVersionDiffDialog 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 7 function literals inside it that branch (lines 2575, 2546, 2550, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f12006de54478ebe3ce2c5de3c5354ad74c53340202311c004b1404227d680"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.CatalogDetailPane (cyclomatic 21): CompanySkills.production.CatalogDetailPane 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce962e316b5b6e61f9bb6f2d5258082254a4bebe08a3f91485f6fd35a39776b"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.SkillVersionDiffDialog (cyclomatic 21): CompanySkills.production.SkillVersionDiffDialog 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 7 function literals inside it that branch (lines 2665, 2636, 2640, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c22a2c62b8b5c19b202d9040e5ba337507a66bf3a467ef9f4f1c38dc555252"}},{"ruleId":"D1","level":"warning","message":{"text":"IssuePrivacyActions.IssuePrivacyActions (cyclomatic 21): IssuePrivacyActions.IssuePrivacyActions 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuePrivacyActions.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aef7720f37bca70a284896d2d4c86676e48c4b9b80423f246cf47476e16b75"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionUsagePanel.AiConnectionUsagePanel (cyclomatic 21): AiConnectionUsagePanel.AiConnectionUsagePanel 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f783c4e037a118c639b192b7fe82a59144b08f566860c0031f6dda00860c59a6"}},{"ruleId":"D1","level":"warning","message":{"text":"ForkSkillDialog.ForkSkillDialog (cyclomatic 21): ForkSkillDialog.ForkSkillDialog has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/ForkSkillDialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e152a2cd42b1f1da4687ade5a552a8a972d20aa67ade14441b3b7d2ba3319"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.prepare_native_config (cyclomatic 21): admission.prepare_native_config 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/paperclip-runner/scripts/patch-antigravity-runtime.admission.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"267d161ea75ab15f513b195704d08620ec27289154d61157b42378edef78b854"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderToolBridge::validate_recovered (cyclomatic 21): ProviderToolBridge::validate_recovered 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/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b74504b6ced239e3c627ee9acae1b3c21fa90187abb805db40a51a229ebc6f"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::acpx_sidecar_transport::parse_frame (cyclomatic 21): paperclip_runner_core::acpx_sidecar_transport::parse_frame 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: paperclip_runner_core::acpx_sidecar_transport::response_error_classification (cyclomatic 77) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86d9b258373bb037341647c3ab8d6f4c801518bc39e0c2889ed3e38e889842a"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::managed_provider_backend::complete_managed_usage (cyclomatic 21): paperclip_runner_core::managed_provider_backend::complete_managed_usage 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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5657f362d078278a02727d39c86c2bd925a0d4ffa43402734ab387633edb79d4"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::replay::reduce_replay_fixture (cyclomatic 21): paperclip_runner_core::replay::reduce_replay_fixture has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/replay.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83edaeac6c009875538ea5bf6f140cf1a1413316ddc8a481c66d13667d53e9c"}},{"ruleId":"D1","level":"warning","message":{"text":"service-health-check.serviceHealthChecks (cyclomatic 20): service-health-check.serviceHealthChecks 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":"cli/src/checks/service-health-check.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3431fbb7b02313b9594d4868ce481fc63d7d7019b52a4fdcdf101d764e6bb50"}},{"ruleId":"D1","level":"warning","message":{"text":"teams.registerTeamCommands (cyclomatic 20): teams.registerTeamCommands 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 literals inside it that branch (lines 139, 222, 73, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/teams.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0d09bca249c3c046c8112149bc909d98a4028e590d275639cc087aacccd4aa"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.collectClaimedWorktreePorts (cyclomatic 20): worktree.collectClaimedWorktreePorts 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":"cli/src/commands/worktree.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"08942d9383bb054e2f93f1b967faa38d88908f15de0fd26750d80759f8c0aa40"}},{"ruleId":"D1","level":"warning","message":{"text":"http2-bridge-server.createHttp2BridgeServer.handleStream (cyclomatic 20): http2-bridge-server.createHttp2BridgeServer.handleStream has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc9013e1f2872be46e77be9b7e2ee900efd4adc729fc3c6fabaa20755004bc"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetPaperclipBridge.forwardBridgeRequest (cyclomatic 20): execution-target.startAdapterExecutionTargetPaperclipBridge.forwardBridgeRequest 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e5e6a21e394c57859f2a9d08da9e8bd5ceedb6ca19e14e6b4d76b6fed28059"}},{"ruleId":"D1","level":"warning","message":{"text":"env-bindings.parseEnvBindings (cyclomatic 20): env-bindings.parseEnvBindings 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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a22850c6d8608497a4e2f0fcd228850eb58428907526f1a7246b4712bd6c1c"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-config.parseCodexProvidersConfig (cyclomatic 20): runtime-config.parseCodexProvidersConfig 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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"614578413feab630ea92f4ec3b1551e8ce92764374273b27f0be5d8f4428ee58"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.execute::runAttempt (cyclomatic 20): execute.execute::runAttempt 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: 2 other methods here (execute.execute, execute.execute::toResult) 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac37b11c4f67771a8a4519bd703554f63afe6c031d4ab1b344dd7dbd9f90b9c6"}},{"ruleId":"D1","level":"warning","message":{"text":"build-config.buildCodexLocalConfig (cyclomatic 20): build-config.buildCodexLocalConfig 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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1273f76e1ae3bdeb38fcc44deb93c8f2c29514c3141b550bcd2ca457a0955c"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printPiStreamEvent (cyclomatic 20): format-event.printPiStreamEvent 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/adapters/pi-local/src/cli/format-event.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f979cdccec1ba1f6c3db52611e2e7c556d463ffb36e5c752732044b01ff2252b"}},{"ruleId":"D1","level":"warning","message":{"text":"menu.Menu (cyclomatic 20): menu.Menu has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 9 function items inside it that branch (onMenuKeyDown, focusItem, a function literal at line 108, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95580498cd75dfc8eed0545744514b7f9ecf2f193dfd84bbd3d666401806e65"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-file-changes.toolFileChangesFromCodexChanges (cyclomatic 20): tool-file-changes.toolFileChangesFromCodexChanges 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 222). 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b335c2978e06ae142125358405d72105232ef11f9d2e3d750743b76a4be5727"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-turn-diff.parseCodexTurnDiff::finish (cyclomatic 20): codex-turn-diff.parseCodexTurnDiff::finish 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 (codex-turn-diff.parseCodexTurnDiff) 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44dc12965ef9208633071168cf675c6cae9625eb8cf2046e032c572ede51768"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-security-config.codexExecutableReadOnlyRoots (cyclomatic 20): codex-security-config.codexExecutableReadOnlyRoots has cyclomatic complexity 20 (threshold 15). Of this number, 13 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab26964bd9f0b25254a54ed56e678295afbb1dd051294c709c3f4df7848dc23"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery-identity.createAcpxRecoveryBinding (cyclomatic 20): recovery-identity.createAcpxRecoveryBinding 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 is NOT this file\u0027s highest cyclomatic complexity: recovery-identity.verifyExpectedAcpxIdentity (cyclomatic 28) 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/paperclip-runner/src/drivers/acpx/recovery-identity.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb55364dc4523e4eb3354ed88d46ca1ec97d55aa9f984721b55801f93ddcbab"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-provider-launch.createRunnerdCodexAppServerArgs (cyclomatic 20): runner-provider-launch.createRunnerdCodexAppServerArgs 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"515de4ee3e86abf849b207fa6d1551baeab0a11ec24adf1ec404ea9a77652262"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundedJsonCompactor.#endString (cyclomatic 20): BoundedJsonCompactor.#endString 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/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed7ce59e9f4cfd6ff7e5da4a81ce3e043ef1afc453603bdadfe432665ec0d0c"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-context-materializer.managedCodexProviderConfig (cyclomatic 20): runtime-context-materializer.managedCodexProviderConfig 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/paperclip-runner/src/drivers/runtime-context-materializer.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe455b368da06bfdfcb5757fc594d6784b5eb220188e7cdc111d8aa6d69d4ada"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-server-driver.resolvePinnedOpenCodeCommand (cyclomatic 20): opencode-server-driver.resolvePinnedOpenCodeCommand 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9d1651d0322269b169a444a9d75973098badf8a26a0b567ee2843bc0b4c0b7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-command.resolveCodexCommand (cyclomatic 20): codex-command.resolveCodexCommand has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-command.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e15f6e35283ff26db3c73a0f297b068198170a0c9e3cd95ec407c6204ed6260"}},{"ruleId":"D1","level":"warning","message":{"text":"Composer.Composer (cyclomatic 20): Composer.Composer has cyclomatic complexity 20 (threshold 15). Of this number, 14 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/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b64c43fde6c614c9818590d6cb4fc313db27f0ab30b86255fe218e632d1439d"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadItems.ThreadItemView (cyclomatic 20): ThreadItems.ThreadItemView has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2830f7832023dd60e322b1e21e39d080206e6b3753f8121964a8645977c7e1"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-cursor-distribution.cursorDistributionClosure::walk (cyclomatic 20): materialize-cursor-distribution.cursorDistributionClosure::walk has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1d204ce745f26899ce23a4e94a8fb6e8e7c616b0f4cb0e5465c707e27e570e"}},{"ruleId":"D1","level":"warning","message":{"text":"contract-fingerprints.stripRustComments (cyclomatic 20): contract-fingerprints.stripRustComments 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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3883a8082e9836644ee53b2902b993aafb013d408c1e1801ba74943a47cc609d"}},{"ruleId":"D1","level":"warning","message":{"text":"forbidden-imports.findSpecifiersInFiles (cyclomatic 20): forbidden-imports.findSpecifiersInFiles has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (visit, add, a function literal at line 63). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3777056c1cfc777a5b69232d5da1c972b2b4742f53aa27a2cea171481471e4c"}},{"ruleId":"D1","level":"warning","message":{"text":"hosted.hostedPolicy (cyclomatic 20): hosted.hostedPolicy 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/paperclip-runner/scripts/controlled-evals/hosted.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e3a3604802a84194f499d25691cd382dba703f8a764322ca1419e92fa2bcba"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-references.stripMarkdownCode (cyclomatic 20): issue-references.stripMarkdownCode 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/shared/src/issue-references.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d09760f1456cd045b7276ae4422f63116a2ce87288f926ab98d38ea3169d01"}},{"ruleId":"D1","level":"warning","message":{"text":"issue.paperclipQuestionSchema (cyclomatic 20): issue.paperclipQuestionSchema 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/shared/src/validators/issue.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"40399c4f65308bb29e25fd9807896b5bd46a4edbfa67af881bfc1df290de1674"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-telegram-media-intake.mp3 (cyclomatic 20): chat-telegram-media-intake.mp3 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce7af1b7e3ae086ffe7920100f53939e66a9a940485a97a76e5467094502949"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadCapability.exchange (cyclomatic 20): UploadCapability.exchange 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5ce726929dea7442ab5e49f58c5cf6d0b4bf81c414c2e0d16fb75c28aef564"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSdkEndpointRuntime.attachmentRecoveryDescriptor (cyclomatic 20): ChatSdkEndpointRuntime.attachmentRecoveryDescriptor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"632863b045514fd4ca15a5754a7f5570d885f549166b06c9113adac15186aaac"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit (cyclomatic 20): remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit 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: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0dd49966a5376bf026f9fe961f87f45d99adca4bf5c7be55a9caec8fddd7cc"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-targets.decisionTargetService.sweep (cyclomatic 20): decision-targets.decisionTargetService.sweep 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":"server/src/services/decision-targets.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"048433c72ad60d10d9bc61a362bc229c6d4986e3ce2754d6b49281554759b4b9"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.call (cyclomatic 20): paperclip-cloud-connector.createPaperclipCloudConnector.call has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a852593237c3a5e4f70301ad61d99795a142ae264d14b31886dd51e5065a41"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.collectMissingRuntimeBindings (cyclomatic 20): secrets.secretService.collectMissingRuntimeBindings has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":5382}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc5e640925c0603cd06c9a596b69a9c09a1de3bd79e2ecd2659fdaa03961b00"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification (cyclomatic 20): plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification 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: 4 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c562dde38de5018c01e0d8f1e52c90171192f140b0f875f4df8796c4899d8f99"}},{"ruleId":"D1","level":"warning","message":{"text":"file-crypto-pool.fileCryptoWorker (cyclomatic 20): file-crypto-pool.fileCryptoWorker 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 5 function items inside it that branch (pump, run, writeAll, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-crypto-pool.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c040ef247968dc0aca1c47793d0982b1935baea37ecbcd6b2e9bbc71255e348"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-workspace-work.registerTerminalWorkspaceWork (cyclomatic 20): terminal-workspace-work.registerTerminalWorkspaceWork 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 66, 90, 55). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/terminal-workspace-work.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9549e507dba2c9af8d9c8d8eaa57a0ccb6dbb920dee46be3cfb1800f9f521306"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-operations.workspaceOperationService.sweepRuntimeControlOperations (cyclomatic 20): workspace-operations.workspaceOperationService.sweepRuntimeControlOperations 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"34faeee4b2c5eb7bf6db9142e0548ff543ee81e777c8b86047bc2c1829e9525f"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-recovery-actions.issueRecoveryActionService.projectNativeRunActivity (cyclomatic 20): issue-recovery-actions.issueRecoveryActionService.projectNativeRunActivity 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e4fd0770a8e11708e135aad37217e2c796ed697f705837904913e82592e363"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-workspace-restore-recovery.preserveLegacyWorkspaceRestoreSources (cyclomatic 20): legacy-workspace-restore-recovery.preserveLegacyWorkspaceRestoreSources 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":"server/src/services/legacy-workspace-restore-recovery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e3e52881c7fa6204e26683321be9ee5d26d6f55786df128ee1ff7a5c323cd"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.readSlackFormTerminalRequest (cyclomatic 20): form-session.readSlackFormTerminalRequest 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e46f5e6cf3b93a0daf33eed426e7f544111d5bdeac307da0daf51e336a8ce3"}},{"ruleId":"D1","level":"warning","message":{"text":"cancelled-native-startup.isCancelledUnclaimedWorkspaceWaitRetry (cyclomatic 20): cancelled-native-startup.isCancelledUnclaimedWorkspaceWaitRetry 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. This is NOT this file\u0027s highest cyclomatic complexity: cancelled-native-startup.isInterruptedNativePreparationCandidate (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"467053880a0cb58d0bd051474ffb6150309b985c82ffab0b3d20bca477a685a4"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-tree-control.issueTreeControlService.restoreIssueStatusesForHold (cyclomatic 20): issue-tree-control.issueTreeControlService.restoreIssueStatusesForHold has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa5d0a486760acce99163d073cda677af4b645705403082a6b0be35e11e761"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-remote-workspace-source.canIsolateRemoteWorkspaceSource (cyclomatic 20): isolated-remote-workspace-source.canIsolateRemoteWorkspaceSource 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":"server/src/services/isolated-remote-workspace-source.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b328a88ef82f43c137c2ac4e83a9471d6c48ae2971ca75b179541718dd15e1e"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-contents.restoreSettings (cyclomatic 20): git-workspace-contents.restoreSettings 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3030aea8ec9f12d55d43da2b4b0c79294a124c1f76554ebf88d6cb6466251ed7"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-review-recovery.prepareApprovedToolReview (cyclomatic 20): tool-review-recovery.prepareApprovedToolReview 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 2 function literals inside it that branch (lines 22, 33). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-review-recovery.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d855df3b30ab80fed94f02407b71cb1bde8c50b69feb3fa22fada7bc9fb5be9"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-model-provider.runDecisionProvider (cyclomatic 20): decision-model-provider.runDecisionProvider has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-model-provider.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c29e8bdc33cf0821685e76b945c2b78a12971e645349429ac7ced89e93f4be7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-durability.restoreDurableAgentFiles (cyclomatic 20): agent-file-durability.restoreDurableAgentFiles has cyclomatic complexity 20 (threshold 15). Of this number, 11 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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81e0fe18a92ec255c526bd59423ce88530ec7be750726d29c607dbfdce7ff2f"}},{"ruleId":"D1","level":"warning","message":{"text":"documents.documentService.upsertIssueDocument (cyclomatic 20): documents.documentService.upsertIssueDocument 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 244). 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":"server/src/services/documents.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b41ee3e14bcccce94e115cd46cb4eb18f75daf7b24620dd98bc912c4f85987"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.discoverProjectWorkspaceSkillDirectories (cyclomatic 20): company-skills.discoverProjectWorkspaceSkillDirectories has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afafcf454ae4574ba9451233f0c3297aa8b87cff1c8fa5e38eb48f4e3874173"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.createLocalSkill (cyclomatic 20): company-skills.companySkillService.createLocalSkill 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. This is NOT this file\u0027s highest cyclomatic complexity: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4607}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9dd321a0a3ef122d571b612f78d0a718212fe19354611968963c4aeeba1f6b"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-sources.skillSourceService.importFromUrl (cyclomatic 20): skill-sources.skillSourceService.importFromUrl has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 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":"server/src/services/skill-sources.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a2f18f4a6c1b5597aebc16a6f9cbd2b0dea040c813512a782293d493d1018f"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-package-store.skillPackageStore.restoreInto (cyclomatic 20): skill-package-store.skillPackageStore.restoreInto 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":"server/src/services/skill-package-store.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"551b43abb014c84269af52250ed7ff5f682c23a6cf109862f62f568dba5aecae"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-archive.persistLegacyControllerEvidence (cyclomatic 20): native-controller-archive.persistLegacyControllerEvidence 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":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"09647123be8726e25cbbcdc192becb645c85c338bafa28b45836bc27d5d64168"}},{"ruleId":"D1","level":"warning","message":{"text":"effective-run-config-fingerprints.canonicalizeValue (cyclomatic 20): effective-run-config-fingerprints.canonicalizeValue 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":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e0cb1edab629cd5b1ad475dc5bedd5e73fbe99c4bcd3024d7f4e60d06024d9"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.resolveGrokRunnerConfig (cyclomatic 20): agent-runner-selection.resolveGrokRunnerConfig has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"31df17ce6f5f381baecdc17214971f60b64187fa0e5c300bfef567e5a0cf16fd"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-hiring.prepareAgentHire (cyclomatic 20): agent-hiring.prepareAgentHire 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":"server/src/services/agent-hiring.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"841bb51c4dc06cd74a931af8a8da901b650df2976b7a45eb83b27737087fb144"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.timeWindowMatches (cyclomatic 20): tool-access-policy.timeWindowMatches 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0827487ab92ff909cfc8dc54b9e55f73b2be4b1215b51d6101897d7a1c81a0c0"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.createTrustRuleFromActionRequest (cyclomatic 20): tool-access-policy.toolAccessPolicyService.createTrustRuleFromActionRequest 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce903a716fa6c681d0c2ccdca0e45ac3b94e220769220b395d3831ab720a5ce"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-tasks.parseMcpTask (cyclomatic 20): mcp-tasks.parseMcpTask 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":"server/src/services/mcp-tasks.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5c887ee4deeb75b0d70472f682d7510028016882f0f1cd568b3edacd92975d"}},{"ruleId":"D1","level":"warning","message":{"text":"bundled-plugins.reconcileBundledPluginManifest (cyclomatic 20): bundled-plugins.reconcileBundledPluginManifest 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":"server/src/services/bundled-plugins.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c772e4326afc5e82b64d9f9e69d59f7c85e728e69eacaf10fb8c8622742e2"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveRunContext (cyclomatic 20): tool-gateway.createToolGatewayService.resolveRunContext 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095d5814a1379498c6c2bda2317563a7dca48df2cb9fc1b41f13ff65643e972"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.buildExecutionWorkspaceConfigSnapshot (cyclomatic 20): workspaces.buildExecutionWorkspaceConfigSnapshot has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c267966676f212625e071b0ff0f17d1810d66b316f6b6693dbfc1ff020798ab4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.assertGitWorktreeBaseWorkspaceReady (cyclomatic 20): workspaces.assertGitWorktreeBaseWorkspaceReady 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffd8d8f87c15adc8bd37b26c9c3c61d4f147351361cba5433eecff1dd1018af"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.compactTerminalWorkspace (cyclomatic 20): execution-workspaces.executionWorkspaceService.compactTerminalWorkspace has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcd2b4ec819471bb1977c0724f34922f8d12880994999c56a7da640dad569a2"}},{"ruleId":"D1","level":"warning","message":{"text":"run-failure-report.isMissingSecretConfigurationBlocker (cyclomatic 20): run-failure-report.isMissingSecretConfigurationBlocker has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32602e4c31e9a2256d45ce7664c42d39f8e680135f435f57001ab8e19acff72"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.createHeartbeatRunPreparation.resolveResponsibleUserIdForRunSeed (cyclomatic 20): run-preparation.createHeartbeatRunPreparation.resolveResponsibleUserIdForRunSeed 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"751578c47926b9352ca580da92af837ee332edea5c3aa30a400ed88a1fcb8e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"run-state.buildExplicitResumeSessionOverride (cyclomatic 20): run-state.buildExplicitResumeSessionOverride 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77936dbf5b77ca74de6705a4cb6a5ee1a8b94544ae7bb9e33a5e2029241794d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-state.resolveNextSessionState (cyclomatic 20): run-state.resolveNextSessionState 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51db36f856b2a55efda2e4d382dcc3480e223cfbeb965df6d3fcce3dc21bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-finalizer.claimCoordinator (cyclomatic 20): native-run-finalizer.claimCoordinator 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 231). 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8ecc5a2e487b0e62ea6f5a54b630522e57ec4905040ebf23f13be6de4197dc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-resumption-admission.readNativeSessionResumptionAgent (cyclomatic 20): native-session-resumption-admission.readNativeSessionResumptionAgent 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":"server/src/services/native-runtime/native-session-resumption-admission.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8db39d75e9f9cf9cde59741d18cfd071f0d8893808da3b75ba12dbd3fd163ac"}},{"ruleId":"D1","level":"warning","message":{"text":"automatic-run-brake.createAutomaticRunBrake.refresh (cyclomatic 20): automatic-run-brake.createAutomaticRunBrake.refresh 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d8e207743f0966673b079ceacc6b0e9e9491da169959295c16b37f8a055786"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.runTick (cyclomatic 20): email-channels.emailChannelService.runTick 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 4 function literals inside it that branch (lines 2178, 2273, 2209, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a441947464f3ad5eafe16a49bd5bdc6fecfd1198e12b61b522c1f8777ece0c"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.directSearchResult (cyclomatic 20): connection-intents.connectionIntentService.directSearchResult 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":"server/src/services/connection-intents.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d3f3fc285f88a414eab1fc80ff478c08d6fa6cd7688d35806c0751a315aaf3"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestForRunAuthFailure (cyclomatic 20): connection-intents.connectionIntentService.requestForRunAuthFailure 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d46e782d75867b5fd4c70ebf0623b46020ef02cf93f3135638f7cbd383cfa8"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-fallback.continueFromLastSavedWorkspace (cyclomatic 20): workspace-recovery-fallback.continueFromLastSavedWorkspace has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d899af8ed40e835e2a780088baa499cc476eea40249f96c10640aac27fe21f3"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-capture-policy.rearmExhaustedCapturePolicy (cyclomatic 20): workspace-recovery-capture-policy.rearmExhaustedCapturePolicy 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 one function literal inside it that branches (line 30). 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":"server/src/services/workspace-recovery-capture-policy.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f5e04332c50ffe3a682e7b144f5cc025c713522531b70cac133d6bec1d2205"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-mode.resolveHeartbeatNativeRuntimeMode (cyclomatic 20): runtime-mode.resolveHeartbeatNativeRuntimeMode 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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a1ebf6ae18d91b84414664ba7a9d18e82bd4b0bb8ac012e008f19c17831d71"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.writeRunStatus (cyclomatic 20): run-lifecycle.createHeartbeatLifecycle.writeRunStatus 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 1110). 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6329a9f5d8b170567340a9b15c9a42e8eed4a2bbcf6fd5c4d3c3b532e932e10"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade-readiness.readUpgradeReadiness (cyclomatic 20): upgrade-readiness.readUpgradeReadiness 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":"server/src/services/heartbeat/upgrade-readiness.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3677b78f17d956445a0b003a95d60311fbf5d67dc71291f157fb3526a19206aa"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-attachment-reuse.principalAuthorized (cyclomatic 20): chat-attachment-reuse.principalAuthorized has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"804de2b04c180c39f534dc16828ec226f3f76c057350fe0e572562dcf8f42fe9"}},{"ruleId":"D1","level":"warning","message":{"text":"publication-replacement.createChatPublicationReplacement.runOwnershipMilestoneSupersessionReason (cyclomatic 20): publication-replacement.createChatPublicationReplacement.runOwnershipMilestoneSupersessionReason 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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc184747b6bf326bc5ffae0115233fb889d1d9edaafb07f2305d9fa0ec35729"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.saveConfiguration (cyclomatic 20): voice-inbound-service.voiceInboundService.saveConfiguration has cyclomatic complexity 20 (threshold 15). Of this number, 16 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75080b6defb42ecbb5bdda3cd2caf55a3ce8909d82ffb2b71d3e595a3af140e"}},{"ruleId":"D1","level":"warning","message":{"text":"identity-links.createChatIdentityLinks.confirmIdentityLink (cyclomatic 20): identity-links.createChatIdentityLinks.confirmIdentityLink has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"be77042ae41e0ed76ed66be1cebb6b75f6b5bc06cec61897d57e59f4e5f9944a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-management.githubChatManagementService.lookupPerson (cyclomatic 20): chat-github-management.githubChatManagementService.lookupPerson 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"4807dcfa61939572a6c6ef65207973cedbfdc5b67508c710fd631b0eebbf043a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-native-commands.parseDiscordNativeCommandReceipt (cyclomatic 20): chat-discord-native-commands.parseDiscordNativeCommandReceipt 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":"server/src/services/chat-discord-native-commands.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cabbaed03e94679a8a21b4a123725c276f3822362c7f30534125937d2f94802"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.microsoftTeamsLifecycleEventFromPayload (cyclomatic 20): messages.microsoftTeamsLifecycleEventFromPayload 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":"server/src/services/chat-channels/microsoft-teams/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"213f7c6298a0b5d1b50ab39275b9cfc4489840ab17edc42c218221f2e7e379b0"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry.readBoardMessageRetrySource (cyclomatic 20): task-retry.readBoardMessageRetrySource 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":"server/src/services/task-retry.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5397b724c7b10227b89f2ddaad2dce40831b74f8a5b84ff9c2ea353e43c24391"}},{"ruleId":"D1","level":"warning","message":{"text":"openapi.applyDocumentFixups (cyclomatic 20): openapi.applyDocumentFixups 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":"server/src/routes/openapi.ts"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca417b540fabbe0a76cbccb9bd5508257e8e2c32bb544a7135d7c72125ab483d"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#downloadArtifact (cyclomatic 20): PaperclipRunnerToolAuthority.#downloadArtifact has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f4fdcb1e84503872371c57e58930384b0c0d2a190089010449a7fdfc2c7ab4"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#assertDotApiFileAccess (cyclomatic 20): PaperclipRunnerToolAuthority.#assertDotApiFileAccess 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc1beee304bb76e5feff584ef57065471a244e0289bf96a485ea49f05a28563"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#boundContext (cyclomatic 20): PaperclipRunnerToolAuthority.#boundContext 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bab0e62be4dbd0173edb632fee667e8cd67e74354b2329f21ab0de3b7be9dca"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#requestHumanInput::apply (cyclomatic 20): PaperclipRunnerToolAuthority.#requestHumanInput::apply 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3270}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d9bfecddbf65ac5833b8b94abccc86138b957d89de408b9463ce80ac89339"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.detachNativeSessionsForRestart (cyclomatic 20): native-session-executor.detachNativeSessionsForRestart has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c648ce8a6243dd433613d6b8f65d60d8d4755007abb3204b0b171cccf0519b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.restoreRemoteSuspendedRunnerCheckpoint (cyclomatic 20): native-session-executor.restoreRemoteSuspendedRunnerCheckpoint 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7570}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c50ee411e242e6982f033f4f86619d380b561f544c26ea5e690a15320611e28"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.listBlockedInboxIssues (cyclomatic 20): issues.listBlockedInboxIssues has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 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":"server/src/services/issues.ts"},"region":{"startLine":6795}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba976df077836031e7d6446753e7d6aaa82af5e9f3a26df0bc585e7ce469d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.dotPairingContext (cyclomatic 20): oauth.createPublicMcpOAuth.dotPairingContext 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6774ee92cede89ad3234a80467b9114323cb380863247e7ad1239eb6845cf8"}},{"ruleId":"D1","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.operation (cyclomatic 20): native-broker.createNativeExternalBroker.operation 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"838491c5dc298b41faa72eefd905fc92addc63b88290d2431a7caeac8f3cb6ff"}},{"ruleId":"D1","level":"warning","message":{"text":"muse.createMuseBroker::detectorEvidence (cyclomatic 20): muse.createMuseBroker::detectorEvidence has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (muse.createMuseBroker, muse.createMuseBroker::authorizeAssignment) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8293fa30fd035e12ca717e2b7445e5ddf4647c8f1c73b735fc223fea0e793b6"}},{"ruleId":"D1","level":"warning","message":{"text":"dot-runner.createDotRunnerMcpBridge.callTool (cyclomatic 20): dot-runner.createDotRunnerMcpBridge.callTool 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":"server/src/services/public-mcp/dot-runner.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a76b6fd1409d171f52aa93f0c53acb9018a72bff6f3cf889f626837f96677b1"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.requestWork (cyclomatic 20): dot.createBroker.requestWork 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed58be6b28a1ed22f3db126928798160246960baa41e91cf2b1723efccff4581"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.challenge (cyclomatic 20): dot.createBroker.challenge 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 453). 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"9600f0d9900a8cf31360dfad4ea0844de437043fa05b1be0c6519ec81959e5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.stopGrokWork (cyclomatic 20): dot.createBroker.stopGrokWork 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 491). 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"5463b66877540e777e4a7d79ec125d2d92afd77ffdec00a73086b84944e79e82"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-events.appendLockedEvent (cyclomatic 20): heartbeat-run-events.appendLockedEvent 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"f721548523913689e723d4880ba6a2295ff7f36e52918961f102d6e6faca4792"}},{"ruleId":"D1","level":"warning","message":{"text":"patch-antigravity-runtime.antigravityEmbeddedZip (cyclomatic 20): patch-antigravity-runtime.antigravityEmbeddedZip 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/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf94c76b3855ae1fd3a2bb842cbd502fe7e92bfe25da46fe86a2fa7f06ddd55"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-antigravity-distribution.materializePinnedAntigravityDistribution (cyclomatic 20): materialize-antigravity-distribution.materializePinnedAntigravityDistribution 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ae6d6fccf7cd6e4e26a018387382bfcad84c4fe7050576caec66a4d340fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"provision-pi.provisionPackageRoot (cyclomatic 20): provision-pi.provisionPackageRoot 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/paperclip-runner/scripts/provision-pi.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17a45213bb09aba096de2eebb6b6631d87e6ed74c4bc9f528ba036cf51729d"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-credentials.stageManagedGrokCredential (cyclomatic 20): grok-credentials.stageManagedGrokCredential 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/grok-credentials.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7ea07f341bb8f0353186b0657fa620e276584fabc42034277e93a1c16805f3"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-auth.sanitizeAntigravityCredential (cyclomatic 20): antigravity-auth.sanitizeAntigravityCredential has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4553d20658d8a9dc9d6fe4acd71f456d2d63f3ee5b8afdf255c937453b026fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSseParser.push (cyclomatic 20): CursorCloudSseParser.push 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95545e918b0f99e4d798357e7bb0d89c3604a88c8c733804c310cbbfcf828fb"}},{"ruleId":"D1","level":"warning","message":{"text":"opencode-app-server-proxy.pumpEvents (cyclomatic 20): opencode-app-server-proxy.pumpEvents 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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2abac4998369c3f528db3fca33938dd3379702d8a272934b19047cd8d66479f"}},{"ruleId":"D1","level":"warning","message":{"text":"PiToolIdentities.normalize (cyclomatic 20): PiToolIdentities.normalize has cyclomatic complexity 20 (threshold 15). Of this number, 12 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bda904b6f46e4a4d5a0eebc7afae0034c3719a018994df16125c95401570eb"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-runtime.reconcileRecoveryCheckpoint (cyclomatic 20): native-session-runtime.reconcileRecoveryCheckpoint has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-runtime.governedWaitFollowUpMayStartFresh (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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b80102ea2b616153d0d8d80ba6c4a1c824ab5eb6fec83f7898dd249e3b681"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.decidePaperclipSemanticAuthorization (cyclomatic 20): authorization.decidePaperclipSemanticAuthorization 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/paperclip-runner/src/semantic-tools/authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf16c9e36cb4ea6c0106627d2a8205c5809f4d00c31a7c84f3c53824cd03b58"}},{"ruleId":"D1","level":"warning","message":{"text":"ScenarioChatDemoRuntime.handle (cyclomatic 20): ScenarioChatDemoRuntime.handle 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/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5021a877feebeb6b449f8896d1e8afb5bff0a64da9342c0e545e92c9b4c96"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-drain.createPluginIdleDrain.prepare (cyclomatic 20): idle-drain.createPluginIdleDrain.prepare 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/plugins/sdk/src/idle-drain.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d11ebc7e4321867f5a958d902e11e6c1fd194debc63bb21e644e44525ffab3f"}},{"ruleId":"D1","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleLine (cyclomatic 20): worker-rpc-host.startWorkerRpcHost.handleLine has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd88db481d7be3b4b06631b370b6b4b88df20b8ad35c97628dca152e9bbbd68"}},{"ruleId":"D1","level":"warning","message":{"text":"external-objects-server.stripMarkdownCode (cyclomatic 20): external-objects-server.stripMarkdownCode 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/shared/src/external-objects-server.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2267bee5a21597dc8476e1d6b53b96010434a97eee6d01d2941f9fc158320"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog-builder.validateLocalReferences (cyclomatic 20): catalog-builder.validateLocalReferences 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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea9bb7693748da9ec5d9742077146231e16127f2390d320ddad000e921089b"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.blockedWorkCountMap (cyclomatic 20): attention.blockedWorkCountMap 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":"server/src/services/attention.ts"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"088edf76c405d943960bf61e46bbf86e09e34931cfb0f60cc2d13137ddf46052"}},{"ruleId":"D1","level":"warning","message":{"text":"authz.assertCompanyAccess (cyclomatic 20): authz.assertCompanyAccess 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":"server/src/routes/authz.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d16e66447302bf6a2c8d47781754a85a708408e221eb7384be7b376663a608e"}},{"ruleId":"D1","level":"warning","message":{"text":"company-search.matchedFacetConditions (cyclomatic 20): company-search.matchedFacetConditions 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":"server/src/services/company-search.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb48faa61810cb2edff9159c3e221be63c0f9e183ca880be79bae60f17f913d"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback.feedbackService.saveIssueVote (cyclomatic 20): feedback.feedbackService.saveIssueVote 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 1941). 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":"server/src/services/feedback.ts"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99fd294b00ca1f093772145067d09655cdbb90b011a6692cee1d23f817fab35"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact-review-documents.artifactReviewDocumentService.ensureForWorkProduct (cyclomatic 20): artifact-review-documents.artifactReviewDocumentService.ensureForWorkProduct 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":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"311e7b807416004faabe00ecb8c3bd5e94c01014259a396ddc16fe2ce6750b99"}},{"ruleId":"D1","level":"warning","message":{"text":"github-connection-events.githubConnectionEventService.applyInstallationEvent (cyclomatic 20): github-connection-events.githubConnectionEventService.applyInstallationEvent 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eab6305f55e299bb4cc1b1d08702208fbf141a6acb2dd6835592795158f4209"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.parseAttentionArchiveManifest (cyclomatic 20): decisions.parseAttentionArchiveManifest 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":"server/src/services/decisions.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d717d17f40f864a42d0433f188e7722134a03415c59b9a59c2e3d4efcc4191c5"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.decisionService.list (cyclomatic 20): decisions.decisionService.list has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"448d9f312987d759969cb253b0312d2d9cc603dc1f7c16f2e737c5461d42b893"}},{"ruleId":"D1","level":"warning","message":{"text":"public-mcp.publicMcpManagementRoutes (cyclomatic 20): public-mcp.publicMcpManagementRoutes 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 11 function items inside it that branch (requestOAuth, realUser, sameOrigin, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/public-mcp.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc9298557aac0d2d73473311d3931d640f4247f4b025753edc8242f4db6a5a2"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-readiness.resolveWorkspaceReadiness (cyclomatic 20): workspace-readiness.resolveWorkspaceReadiness 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":"server/src/services/workspace-readiness.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c62b54f455df2bfad30e4276e3916a50c0bc2a9195dd13d3286ab009f6af98"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.agentRoutes::applyHiringAgentAuthInheritance (cyclomatic 20): agents.agentRoutes::applyHiringAgentAuthInheritance 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: 6 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::validateManagedAgentBinding, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 7 times rather than 7 independent problems. Splitting this body alone leaves the other 6 exactly as they are. Where these are variations on one operation, the change that clears all 7 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":"server/src/routes/agents.ts"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a826c6c7a6d2ce5fa03fb26706f31a03c994e65f825cd572f07a5d6c9145f5"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.buildExecutionStageWakeup (cyclomatic 20): issues.buildExecutionStageWakeup 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":"server/src/routes/issues.ts"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c7c45b65f9966b316a9e1fbaa9bf3c207298a7dd789d02bae0956e3b9ed7e5"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::resolveRunDelegationParentDefault (cyclomatic 20): issues.issueRoutes::resolveRunDelegationParentDefault 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: 12 other methods here (issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, issues.issueRoutes::assertInReviewReviewPath, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6bf3fc6ebf30377e06289f180f90cfda2d588d6b6a0c1c18c0a5d377a7e3ff"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::assertAgentIssueMutationAllowed (cyclomatic 20): issues.issueRoutes::assertAgentIssueMutationAllowed 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: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":5940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dcb2a3b83218afef0744c78b4519b53d375544eba10e280971cc2e9f2ce076"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::prepareIssueListForActor (cyclomatic 20): issues.issueRoutes::prepareIssueListForActor 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: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":8910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9780948bfd51fb7783e177451531fd845aab56c078f95a7ceb5b2ee406f7b6a8"}},{"ruleId":"D1","level":"warning","message":{"text":"assets.sanitizeSvgBuffer (cyclomatic 20): assets.sanitizeSvgBuffer has cyclomatic complexity 20 (threshold 15). Of this number, 15 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":"server/src/routes/assets.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b75952d1f9b247ab88b41924dbc0035a9441ca102880e1db38d110902b99b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-host-services.buildHostServices.queuePluginInteractionContinuationWakeup (cyclomatic 20): plugin-host-services.buildHostServices.queuePluginInteractionContinuationWakeup 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"087c73ce17abe86d5d611eb5e02568cc768ba4598eb69ba61c47ad5f3a68086f"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-tree.onlineOrdinarySourceBlockers (cyclomatic 20): remote-workspace-migration-tree.onlineOrdinarySourceBlockers 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"031e84d54281513ad2540d0d50b6e25b697040235a282150c1df2841be02cbbe"}},{"ruleId":"D1","level":"warning","message":{"text":"online-legacy-workspace-recovery.coveredHistoricalSource (cyclomatic 20): online-legacy-workspace-recovery.coveredHistoricalSource 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"601f08b3c59bc40225957c66cebfcb0ab15765869933ba4452b7f7b77154a26c"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare-native-run.prepareNativeHeartbeatRun (cyclomatic 20): prepare-native-run.prepareNativeHeartbeatRun 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 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":"server/src/services/native-runtime/prepare-native-run.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b14605420dcf4b644a39d3aaf0a12411bb53a3f1c3e3c81c48dccdc7a1694d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-replacement-evidence.decideNativeReplacement (cyclomatic 20): native-replacement-evidence.decideNativeReplacement has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-replacement-evidence.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"432b45c90b75219fe5cbdc9addcd7c10010098900f8d89eb84f327b74ea28389"}},{"ruleId":"D1","level":"warning","message":{"text":"sw.self.addEventListener(\u0022fetch\u0022) (cyclomatic 20): sw.self.addEventListener(\u0022fetch\u0022) 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 154, 137, 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":"ui/public/sw.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca515fa8203336472ee4ce46a59c18721c40c892b9ccef7f2d5ac94d959fb5f"}},{"ruleId":"D1","level":"warning","message":{"text":"composer-run-settings.composerDefaultModel (cyclomatic 20): composer-run-settings.composerDefaultModel 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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc7aef13e1f8639fb872387ec7535d2c3bee3e1f42f765a56b8917e68bcf074"}},{"ruleId":"D1","level":"warning","message":{"text":"remark-workspace-file-refs.parseWorkspaceFileHref (cyclomatic 20): remark-workspace-file-refs.parseWorkspaceFileHref 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":"ui/src/lib/remark-workspace-file-refs.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd14025db600663784266c33b3d5c3cb40883c290edf1c88a9736439838f3542"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownBody.CodeBlock (cyclomatic 20): MarkdownBody.CodeBlock 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"13997e14e94b34344edbe1259356cca61c20d21216129a597bdb633813978cf5"}},{"ruleId":"D1","level":"warning","message":{"text":"inbox.buildInboxIssueGroupCreateDefaults (cyclomatic 20): inbox.buildInboxIssueGroupCreateDefaults 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":"ui/src/lib/inbox.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01f573a6aa41edf4599e91b65cc63aaae981907060f1fd4053fe2a8159af129"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySettingsSidebar.CompanySettingsSidebar (cyclomatic 20): CompanySettingsSidebar.CompanySettingsSidebar 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CompanySettingsSidebar.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"52943a1fcdeeb0b039294759eb627210e627fae1f4a8a697bda382d5304c7dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"qualify-claude-setup.qualifyRunnerEnvironment (cyclomatic 20): qualify-claude-setup.qualifyRunnerEnvironment 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":"ui/src/lib/qualify-claude-setup.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e819970491c128d5d8d52a7e41688e782ff093c67a6917130968de0927ecc3e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parseDeltaEvent (cyclomatic 20): index.parseDeltaEvent 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd05ae1abb9b8e2231e49cfe631d5221369d16f0b1689514fa982d021d761a9"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::managedBindingForStep (cyclomatic 20): OnboardingWizard.OnboardingWizardInner::managedBindingForStep 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: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea0286532e3a044e138da0c8c6dccc3af3efb0801ef1ab85ddf22427e31683c"}},{"ruleId":"D1","level":"warning","message":{"text":"issueDetailBreadcrumb.isIssueDetailHeaderSeed (cyclomatic 20): issueDetailBreadcrumb.isIssueDetailHeaderSeed 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":"ui/src/lib/issueDetailBreadcrumb.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ae0127f9df36c49797993abdf220156ee0dafecac9c8acc5bebfc592fd465d"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-monitor.deriveMonitorState (cyclomatic 20): issue-monitor.deriveMonitorState 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":"ui/src/lib/issue-monitor.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc2e1123b6bab675d51b95ffd9256c4414569c0c9d7d6868b05ed27cbc4ce4e"}},{"ruleId":"D1","level":"warning","message":{"text":"DesignSandboxTasks.DesignSandboxTasks (cyclomatic 20): DesignSandboxTasks.DesignSandboxTasks 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":"ui/src/pages/DesignSandboxTasks.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1703eb66468713739b4776fef6cb3582178eb659f8663afdefae63e7bd8aafa"}},{"ruleId":"D1","level":"warning","message":{"text":"useIssueHierarchyContext.useIssueHierarchyContext (cyclomatic 20): useIssueHierarchyContext.useIssueHierarchyContext has cyclomatic complexity 20 (threshold 15). Of this number, 13 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":"ui/src/hooks/useIssueHierarchyContext.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97091d006bf493bf03cbf0cccbf30b4c1dcd24a8498b727d1eb2fcc5305b95a"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestConfirmationResolution (cyclomatic 20): IssueThreadInteractionCard.RequestConfirmationResolution 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8e2a8425f4f6c184cb49d797dfef3c2c2d756509a784ad1d57b5a72e90a75b"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatThread.acceptedSemanticResultVerificationCaveats (cyclomatic 20): TaskChatThread.acceptedSemanticResultVerificationCaveats has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 419, 396). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa31fbc494b1fb9e123799def8a9e0a25ca05fef8ae404316049b70da7f51a41"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-output.getOutputFileGlyph (cyclomatic 20): issue-output.getOutputFileGlyph 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":"ui/src/lib/issue-output.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"853684a0bd914d933c8258970b148743dfd58e488c7771c1744ba14ab2423b74"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityRow.EntityRow (cyclomatic 20): EntityRow.EntityRow 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":"ui/src/components/EntityRow.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd82ec33b153c8645c5ffec0571e2d6cf66fb856eccacc990208c259d05315d"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditRuns.AuditRuns (cyclomatic 20): AuditRuns.AuditRuns 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditRuns.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"014c08a84e0c96a6150fc07a59c9ebca87c4974edfccd71225f30af007086c66"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.summarizeToolDecision (cyclomatic 20): RunTranscriptView.summarizeToolDecision 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f26f19c780ee896fd09e52dc7715a3b64a38a286ee6e34634d7f70085b9f02"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.RunTranscriptView (cyclomatic 20): RunTranscriptView.RunTranscriptView 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 literals inside it that branch (lines 1887, 1862). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b50a447881bf1c1e28d95da4f31ae361951d2b3afa202ac7485f472f301cda"}},{"ruleId":"D1","level":"warning","message":{"text":"RunDetails.RunInvocationCard (cyclomatic 20): RunDetails.RunInvocationCard 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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce68551e34f3c9906ce5df03061c06b2eace191c80c2323bf9510d749478edea"}},{"ruleId":"D1","level":"warning","message":{"text":"load.loadAgentConfiguration (cyclomatic 20): load.loadAgentConfiguration 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 8 function literals inside it that branch (lines 89, 51, 52, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a271096ee03b45a56aaef7cccbcd39ab89596cf7029e269110940a1dfb8971b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectAccessMembers.ProjectAccessMembers (cyclomatic 20): ProjectAccessMembers.ProjectAccessMembers 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectAccessMembers.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"99100b515bfbfc6d92f9e0dbafb1d3153299f0114e81b31f03be5067588c620b"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionInlineVerbs.FailedRunActions (cyclomatic 20): AttentionInlineVerbs.FailedRunActions 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":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd21a77a184c47a7513cd50832f7c49083664f013bf41eea96a37c31f5cfcc57"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionQueuePage.DecisionQueuePage (cyclomatic 20): DecisionQueuePage.DecisionQueuePage has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c2c39ed5d586ad7990bce11433b949f5ec9e5561a02847697a63ba2b6b8f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfilesIndex.ProfilesIndex (cyclomatic 20): ProfilesIndex.ProfilesIndex has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 234, 189, 68, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfilesIndex.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d314f49e34adaee30b7651399fd2346df949e7a3e4405aaa29c9247fe18af31c"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposioAppSetup.ComposioAppSetup (cyclomatic 20): ComposioAppSetup.ComposioAppSetup has cyclomatic complexity 20 (threshold 15). Of this number, 13 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":"ui/src/pages/apps/ComposioAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9685bcf345422a48357f64d51d3783b922bb87c96c798aa4d02ed5cb5d50b312"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailEndpointSetup.readEmailSetupDraft (cyclomatic 20): EmailEndpointSetup.readEmailSetupDraft 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b58ab660bb13e0ef3c5ebcd9cdc82ad5c399237d4b4c87cb1b820a54e89e5"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConnectionAccess.AgentConnectionAccess (cyclomatic 20): AgentConnectionAccess.AgentConnectionAccess 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 6 function items inside it that branch (a function literal at line 18, a function literal at line 62, a function literal at line 46, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AgentConnectionAccess.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1245f889fd2d4f18e5a1f47d7cd2c3f17acf6dfd946662c90152ca90410d5f3f"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewayDetail.GatewayDetail (cyclomatic 20): GatewayDetail.GatewayDetail 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":"ui/src/pages/apps/gateways/GatewayDetail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09acfdda3a1c7e89dbbfc5f81bbf4b18850b3f5eb99d6dcbc46bc267d7accd0"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.SkillDetailPage::renderFilesBody (cyclomatic 20): CompanySkills.SkillDetailPage::renderFilesBody 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 (CompanySkills.SkillDetailPage) 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"779312b971d3a3338a0340abf5fd6fe22353114283bc3a02d26a487520a51502"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.SkillStudio (cyclomatic 20): SkillStudio.SkillStudio has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7ec23504c28932aa4d508677bfaa01a159db25cf8b1fd6ca7af6cff366cec8"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyImport.ImportPreviewPane (cyclomatic 20): CompanyImport.ImportPreviewPane has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"621e37c6ffe1e04b3dba74620779fa05fe04b48302a74396bd52396f6d30f29b"}},{"ruleId":"D1","level":"warning","message":{"text":"DesignGuide.DesignGuide (cyclomatic 20): DesignGuide.DesignGuide has cyclomatic complexity 20 (threshold 15). Of this number, 12 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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eef620978ff228937f0a96f16f552effeb3a453f19f7360e83942e3ffafe87e"}},{"ruleId":"D1","level":"warning","message":{"text":"AdapterManager.AdapterRow (cyclomatic 20): AdapterManager.AdapterRow 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e6a258c2eca1e618ebc36ce9987aabbe5d9d2b52a1e0a1e872307226fdde24"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.SkillDetailPage::renderFilesBody (cyclomatic 20): CompanySkills.production.SkillDetailPage::renderFilesBody 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 (CompanySkills.production.SkillDetailPage) 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b895d614777dc3e11f680357caa338d427bea73be405832579135f9eca04f50"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentChatPicker.AgentChatPickerResults (cyclomatic 20): AgentChatPicker.AgentChatPickerResults 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 2 function items inside it that branch (a function literal at line 94, selectAgent). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentChatPicker.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1c16e9b563c74eb9aba49da5687b2611f40d4a026b5653893bfbe04b08b397"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatTurnStatusIsland.TaskChatTurnPlan (cyclomatic 20): TaskChatTurnStatusIsland.TaskChatTurnPlan 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":"ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"752c5eefc3636a0b1aca7b85680ae425aa0f0d79fa92504dd3356f9718ce11d0"}},{"ruleId":"D1","level":"warning","message":{"text":"TweakPanel.TweakPanel (cyclomatic 20): TweakPanel.TweakPanel has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 164, 61, 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":"ui/src/components/task-chat/TweakPanel.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a396ab2138ed751b8814c8949ce4d1649b425ab0e525844c7d300e07625170d4"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskDetailTasksPanel.TaskDetailTasksPanel (cyclomatic 20): TaskDetailTasksPanel.TaskDetailTasksPanel 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":"ui/src/components/task-detail/TaskDetailTasksPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1607211fb68a1d0d9220caf85c8a38f305f69f56ea87490384f0e385519175"}},{"ruleId":"D1","level":"warning","message":{"text":"webhook-url-warning.webhookUrlWarningReason (cyclomatic 20): webhook-url-warning.webhookUrlWarningReason 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":"ui/src/lib/webhook-url-warning.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa58944c43dc4bbb1032ab3908cb478a1915b64feb3cba8ec51863e49e45bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerRunSettingsLiveStory.ComposerRunSettingsLiveStory (cyclomatic 20): ComposerRunSettingsLiveStory.ComposerRunSettingsLiveStory has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/composer-model-picker/ComposerRunSettingsLiveStory.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8333d7d0f7c1da32f10459b27b61e6ee7fca6152bf55030c1fd3f03ad41c4fab"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadPreview.UploadPreview (cyclomatic 20): UploadPreview.UploadPreview 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 8 function items inside it that branch (handlePreviewLink, a function literal at line 17, a function literal at line 40, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/artifact-upload/UploadPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5b6d184a68fe728f87cd5fae2dcfaf2fabbdcb23ff3a2076cdb176d65b1d89"}},{"ruleId":"D1","level":"warning","message":{"text":"task-list-data.columnData (cyclomatic 20): task-list-data.columnData 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":"ui/storybook/support/design-proposals/task-list-data.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"47276ae7e30a60337270eb9f56f337a4a690d9b3bb317467074f43d0f7dd1783"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentWorkloadTrial.AgentWorkloadContent (cyclomatic 20): AgentWorkloadTrial.AgentWorkloadContent 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 8 function literals inside it that branch (lines 88, 67, 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":"ui/storybook/support/design-proposals/AgentWorkloadTrial.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab23fa26c60fc56b27f9c87a26cf6eab1766f9210631960b132c04a1d190ffb"}},{"ruleId":"D1","level":"warning","message":{"text":"client.main (cyclomatic 20): client.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf017d3f2864159f97134637f49a60bf753938bf298d1a0bb5e48ef798ecafb2"}},{"ruleId":"D1","level":"warning","message":{"text":"client.main (cyclomatic 20): client.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v5/client.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"42863504aa84f9c72fcea33abfa82d021a99188ba07d875464ea7a28602df505"}},{"ruleId":"D1","level":"warning","message":{"text":"client.main (cyclomatic 20): client.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v6/client.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f020edfb8e77845e0c6a49cdbbdf1b97dd764ca18ac6d6f6c684f9d2bb7529"}},{"ruleId":"D1","level":"warning","message":{"text":"client.main (cyclomatic 20): client.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5b5eda95957f9bac2b93c9e4d69505128552edb49546e435aa3e750a72a2f0"}},{"ruleId":"D1","level":"warning","message":{"text":"client.main (cyclomatic 20): client.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v8/client.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b719d9fe5d5858e8ff7916b8e1cd04f2f7edb03e52adf0e3480ed427bbc604f"}},{"ruleId":"D1","level":"warning","message":{"text":"client.main (cyclomatic 20): client.main has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v9/client.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"a904089ea3f741b8621f01f1a550b592c45fffca0b66c2777aad441f77c8e1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxCommandExecutor::start_turn_in_open_session (cyclomatic 20): AcpxCommandExecutor::start_turn_in_open_session 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb370899438003778e745d5e05c441e8cac9b376bacc98ba846dc6210fd6ca73"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::drain_completed_turn_tail_for_warm_attachment (cyclomatic 20): CodexProvider::drain_completed_turn_tail_for_warm_attachment 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9d4910da585eca6ccf9ca239e389e3b50f8b8d851e7ca374dc312d25e17926"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalCommandExecutor::execute_inner (cyclomatic 20): ExternalCommandExecutor::execute_inner has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a9a7e52269dfa0972bf1f0dc74b723dad94610f14c671ee4cc513b87dccb2"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::claude_managed_provider::stream_remote_events (cyclomatic 20): paperclip_runner_core::claude_managed_provider::stream_remote_events 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/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1b4c3181765efb3c5073ed130e57b83d4fc5e276c17970d1e15ef6aef4d4b5"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::question_response::validate_answer (cyclomatic 20): paperclip_runner_core::question_response::validate_answer 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/paperclip-runner/runner/crates/runner-core/src/question_response.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7908d4ac7e1982715ce228aab486d42bd60af0df6fb30c5bf583abb28c8a2d54"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 20): (anonymous) 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":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9777cbf89ba98465ebd5556ec5a9fddc9e6de0c8a9d81dee42540db720bdd9"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-auth.loginMcpDevice (cyclomatic 19): mcp-auth.loginMcpDevice 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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8939b99843c900f562b78fbb811f389b6a4e69441274354c3937bba0b4ea46"}},{"ruleId":"D1","level":"warning","message":{"text":"storage.promptStorage (cyclomatic 19): storage.promptStorage has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/storage.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba01a4059039a497dcc2c61ab61400debea774744598ea1dc251ae2ba689b74"}},{"ruleId":"D1","level":"warning","message":{"text":"service.registerServiceCommands (cyclomatic 19): service.registerServiceCommands 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 5 function literals inside it that branch (lines 174, 198, 228, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/service.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02cfb02b5f579f9d9565c2b8bdddb8f550628b7a548a3fc752cbabff81ed0e4"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run.heartbeatRun::printAdapterInvoke (cyclomatic 19): heartbeat-run.heartbeatRun::printAdapterInvoke 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. This shape REPEATS in the file: 2 other methods here (heartbeat-run.heartbeatRun, heartbeat-run.heartbeatRun::handleEvent) 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"274bf8fe6210e476b5e55b4b24e22368c8cf9427ce73d91422f5f098189857d7"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-diagnostics.sanitizeWorkspaceRestoreDiagnostic (cyclomatic 19): workspace-restore-diagnostics.sanitizeWorkspaceRestoreDiagnostic 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8265abacf529e3dc079ca179d611a9e2b9a46466627ae6b8c4f516a115dc33ef"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-merge.directoryMergeConflicts (cyclomatic 19): workspace-restore-merge.directoryMergeConflicts has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd038da93f47cc5ab8ee83aea2d4331e638d01f58615d4979b9ad822e54c2a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.emitRuntimeEvent (cyclomatic 19): execute.emitRuntimeEvent 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3295}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c2711e5301ae084c1de8f3fa722259ce3e87e243e4e879135ba3efa77edb4e"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.describeErrorDiagnostics (cyclomatic 19): execute.describeErrorDiagnostics 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dc101c4d008c123e4fdc04bb36737b69ef184bc6edea9baed76b335c91dcf4"}},{"ruleId":"D1","level":"warning","message":{"text":"acp.prepareClaudeRemoteManagedHome (cyclomatic 19): acp.prepareClaudeRemoteManagedHome 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3622cad17c2e57d66e4c50040ae517b8272f8fb91b1c46def4f18dca790a15f5"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexRpcClient.onStdout (cyclomatic 19): CodexRpcClient.onStdout 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9403148ca2bc66c26d279673de5074e53d7185ef6b870c3b5bf76bd45460c70"}},{"ruleId":"D1","level":"warning","message":{"text":"quota-probe.main (cyclomatic 19): quota-probe.main 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/adapters/codex-local/src/cli/quota-probe.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95374b048fe9dba15f96178778fb3f430628c0d4667a7c256a27c31128acac4"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseCommandExecutionItem (cyclomatic 19): parse-stdout.parseCommandExecutionItem 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4207e535d523c2a243194558868df1ff6229d741addb4125e6305889a7ad3"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseSdkMessage (cyclomatic 19): parse-stdout.parseSdkMessage 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/adapters/cursor-cloud/src/ui/parse-stdout.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf09cb84d9b897b20db8e038dc88442ada69007d1f9514f8389f8913d959aaf"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.executeTurn::executeTurn::toResult (cyclomatic 19): execute.executeTurn::executeTurn::toResult has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (execute.executeTurn::executeTurn) 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc01903c7718e2fbaeeab096c5facf34bf5b2dae7469586b14a43b7feebb495d"}},{"ruleId":"D1","level":"warning","message":{"text":"replay-contract.versionIssues (cyclomatic 19): replay-contract.versionIssues has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"762cb01e5e42db8c8ea7761c9b730bd1211a9b9a54c5fbc839fc939bfddd20cd"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-model.buildTranscript (cyclomatic 19): transcript-model.buildTranscript 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d037efaaa10433ce8b5df0b6b5035cdac65ef64194cb2f0fa4cfa13d9fda19c6"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-file-changes.toolFileChangesFromAcpContent (cyclomatic 19): tool-file-changes.toolFileChangesFromAcpContent 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":"packages/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a9814d6cd446b7c7d4181bf67f84a28aeae5a70df5773de3967f3aeb37db1b"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-extension-adapter.createPiProfileExtensionAdapter.notification (cyclomatic 19): pi-extension-adapter.createPiProfileExtensionAdapter.notification has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-extension-adapter.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"110a63439ed8a18fd4f5e6b3f135554e649323965025d06a3942fad1d1cbf417"}},{"ruleId":"D1","level":"warning","message":{"text":"completion-continuation.resolveCompletionContinuation (cyclomatic 19): completion-continuation.resolveCompletionContinuation 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/paperclip-runner/src/drivers/completion-continuation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2976498c4a31efaba115ff8c9e761408b3fc94b8cdc571a3836d8960208f63"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-runner.replayPersistedCodexEvents (cyclomatic 19): codex-runner.replayPersistedCodexEvents 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dfac16943aafe9f7e89e60152ba575fa4b433f4bc0bb5020e5ff5376087ecb"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-input-variants.handoffCase (cyclomatic 19): tool-input-variants.handoffCase 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/paperclip-runner/src/contracts/tool-input-variants.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81b561d056f90b3527b6e3ccbb98af64ea9dc339b61ce698f263ef5dc2fa5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"repeated-tool-input-rejection.inputProblem (cyclomatic 19): repeated-tool-input-rejection.inputProblem has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0116f01392c03e147e57fb1503d39f18197fa42418c682d816dedad22f7f49"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.#emitSettledFinalAgentMessage (cyclomatic 19): OpenCodeHarnessSession.#emitSettledFinalAgentMessage 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1988b12b5f6d44ab67dcab95983a3ac20e7f859aa92cb5bd25f3e093b124b2f8"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.retireProbeResources (cyclomatic 19): DurablePrpCodexTransport.retireProbeResources 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 2 function literals inside it that branch (lines 5576, 5606). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5574}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b162195397708c0635a79b87d13dd5834b886940639b0268a19ec7cb201d3f"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.acpxRunnerLaunchProfile (cyclomatic 19): runnerd-codex-transport.acpxRunnerLaunchProfile 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6962deaebe68c29d2a3f4748d7c46d54bdb7feb73b173a81d9ca4982b1607b"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-kimi-distribution.buildKimiDistribution (cyclomatic 19): materialize-kimi-distribution.buildKimiDistribution 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd12bd83b90937d872fcaf6cc658f88cf6b6a9d4aed830e7b057c205c3ed9e89"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-clean-room-smoke.main (cyclomatic 19): capability-clean-room-smoke.main 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/scripts/capability-clean-room-smoke.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f4ca841db5197264854b4f683e5e761f5d79b8a441e4b6c97022b437ce6a00"}},{"ruleId":"D1","level":"warning","message":{"text":"observability.inspectControlledObservability (cyclomatic 19): observability.inspectControlledObservability 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/paperclip-runner/scripts/controlled-evals/observability.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4ff58518142338c59598399ca47645854c4ccf87658296a6ef9408f23a50c1"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.decodeControlledEvidence (cyclomatic 19): archive.decodeControlledEvidence 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/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"facb4d4e66e86b1dcf36ebb30d344a27a6824c95bbc29b5ce116e198b73521e6"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-apps.readMcpIcons (cyclomatic 19): mcp-apps.readMcpIcons 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":"packages/shared/src/mcp-apps.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a17f60c36f45ba31227051cd2cbc4af5a86b11804acf5a159f70efaec3464f"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.createAiConnectionSchema (cyclomatic 19): ai-connections.createAiConnectionSchema 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/shared/src/ai-connections.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7774f1829dd93cbb018cdf16dfe8ac0c8806274666a4e744748d1a5130fac2"}},{"ruleId":"D1","level":"warning","message":{"text":"hot-restart.isObservedHotRestartTargetAlive (cyclomatic 19): hot-restart.isObservedHotRestartTargetAlive 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":"server/src/services/hot-restart.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e693191793058ec0ce3e17313b0099d2336cabe3175ca26562d365f5b01238"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-question-forms.formKind (cyclomatic 19): chat-question-forms.formKind 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad27b3e989cf0d86e10da0392431a3c23d30e19c5d23a86758e65df6550eeb4"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-forms.withSlackFormSubmissionEvidence (cyclomatic 19): cloud-forms.withSlackFormSubmissionEvidence 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":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7a1b605732b94886196349d8d936bcb185dd663e737e1266d87c625ec7ade8"}},{"ruleId":"D1","level":"warning","message":{"text":"http-log-policy.secretSensitiveRouteFamily (cyclomatic 19): http-log-policy.secretSensitiveRouteFamily 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":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"acebcfd0d97bdf68690406be5082ba1fd9e9ff7932bc62b9aa0175f3569c6724"}},{"ruleId":"D1","level":"warning","message":{"text":"network.createTailscaleNetworkManager.connect (cyclomatic 19): network.createTailscaleNetworkManager.connect 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b969ff5f0d56d6a2061263247bba53ccea9ec59432f8fc098b49404faf5fa76b"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.resolveSecretValueForAgentAccess (cyclomatic 19): secrets.secretService.resolveSecretValueForAgentAccess 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":"server/src/services/secrets.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e221c1613bfb751e47d460b9ac318b9b81ede7fc5d4ec9dbc455679731c219"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.completeClaudeOAuthUserSecret (cyclomatic 19): secrets.secretService.completeClaudeOAuthUserSecret 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":"server/src/services/secrets.ts"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa188309dcb18c7da5624f4f398726d4bd8dcef0a686bdc5c2e4dea3dc7b42e2"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.resolveUserSecretValue (cyclomatic 19): secrets.secretService.resolveUserSecretValue 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":"server/src/services/secrets.ts"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1863ef49a717af2f674e3bbc9e76c3a5c3f9d2899b763c0932a76bcb97784ebd"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-profile.resolvePaperclipRunnerCursorCloudConfig (cyclomatic 19): provider-profile.resolvePaperclipRunnerCursorCloudConfig has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54e8d39eccb702d0f5678d256242bc1edc1accce8b4186aa5de8e9ec3f0700e"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-stop-and-retain.settleStopOnlyCleanup (cyclomatic 19): sandbox-stop-and-retain.settleStopOnlyCleanup 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 one function literal inside it that branches (line 240). 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c409fe9d58609ee95526ffa1cd255726fbd86719b30ca34c0573344ff60720"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-workspace-restore-recovery.matchesOriginalSource (cyclomatic 19): legacy-workspace-restore-recovery.matchesOriginalSource 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":"server/src/services/legacy-workspace-restore-recovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e87afed5f9d2246a4e0024dfa4ca8a82b1747639a4bcbca522584b2926fcc9"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.createOAuthDiscovery.oauthEndpointsForConnection (cyclomatic 19): discovery.createOAuthDiscovery.oauthEndpointsForConnection 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26d5fb971a95da175e26a036233d37f41e85d3f73dcedd0a51e44661bd15a6f"}},{"ruleId":"D1","level":"warning","message":{"text":"form-session.readSlackFormTerminalIntent (cyclomatic 19): form-session.readSlackFormTerminalIntent 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7191916a551e8b352fe98b1da3976415fe16087b6581eee24ec5f2705e2e7fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"form-ack-work.stageSlackFormNormalAck (cyclomatic 19): form-ack-work.stageSlackFormNormalAck has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: form-ack-work.assertSlackFormReceiptHistory (cyclomatic 28) 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a78f6b9dcab377d146b88a0090a71853e5a0c9661a608487b206f990b0b50c"}},{"ruleId":"D1","level":"warning","message":{"text":"credentials.verifyGitHubCredentials (cyclomatic 19): credentials.verifyGitHubCredentials has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/credentials.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3b626c7399d181e07dfca9b49f59305c9f40a116976b14996f18ae07d18d8"}},{"ruleId":"D1","level":"warning","message":{"text":"interactions.parsePhotonQuestionAnswer (cyclomatic 19): interactions.parsePhotonQuestionAnswer 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"923dbd887bc66dcf278dc78c12d5b6bd0411367b7a0bff036a35fe7fa1dc6fe7"}},{"ruleId":"D1","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.recordVerifiedSourcePrefix (cyclomatic 19): object-byte-journal.createObjectByteJournal.recordVerifiedSourcePrefix 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e84b42a9b29654429f72cd8ae632389fa68cc6e59df1c45710a98368aca85d"}},{"ruleId":"D1","level":"warning","message":{"text":"object-run-log-store.createObjectRunLogStore.admit (cyclomatic 19): object-run-log-store.createObjectRunLogStore.admit 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1a86bf32cc74ebefd37a427b1cbb5f9d6c61d12ffb656d3c0de4fc2e624aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"cancelled-native-startup.isInterruptedNativePreparation (cyclomatic 19): cancelled-native-startup.isInterruptedNativePreparation has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: cancelled-native-startup.isInterruptedNativePreparationCandidate (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6cc21b9cdc078878a5dc7888fd60513406dffba6bc31e27594836bed323d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-startup-cleanup.requestNativeStartupCleanup (cyclomatic 19): native-startup-cleanup.requestNativeStartupCleanup 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 one function literal inside it that branches (line 94). 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. This is NOT this file\u0027s highest cyclomatic complexity: native-startup-cleanup.readNativeStartupContext (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":"server/src/services/native-runtime/native-startup-cleanup.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"072953e3e6ac43b55ae1ccc4f35d15715b4864ee1681eea7827c88ada6921c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-policy.parseExecutionWorkspaceStrategy (cyclomatic 19): execution-workspace-policy.parseExecutionWorkspaceStrategy 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d95cc7faadf81f8c1e6469031afec3fcd630df02b19e0043a8c034b10610765"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-git-source-roots.readWorkspaceGitLinkedRoots (cyclomatic 19): workspace-git-source-roots.readWorkspaceGitLinkedRoots 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c5b6deeb49c8b4241fd2f3dca84488f85ab1afcf01dd5062c0eeac932072e6"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-source-lock.withWorkspaceSourceLocks (cyclomatic 19): workspace-source-lock.withWorkspaceSourceLocks 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":"server/src/services/workspace-source-lock.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b6ded7ad998032e307768c9ac44875cce4f5adff5146d3b623e2a09509ec53"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-lifecycle-lock.withExecutionWorkspaceLifecycleLock (cyclomatic 19): execution-workspace-lifecycle-lock.withExecutionWorkspaceLifecycleLock 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 35). 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":"server/src/services/execution-workspace-lifecycle-lock.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e4d20e32dabc49ff39a0004e179d9d6152a1669e8bdadbbc567d1e1c1fccb1"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.finishGitCacheTrash (cyclomatic 19): git-workspace-restoration.finishGitCacheTrash 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. This is NOT this file\u0027s highest cyclomatic complexity: git-workspace-restoration.readGitCacheRestoration (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"386a50f7a3afac93c467ad53e03023454e8d1d32d03555a1e715a35504dfb737"}},{"ruleId":"D1","level":"warning","message":{"text":"isolated-task-directory-retention.sweepIsolatedTaskDirectories (cyclomatic 19): isolated-task-directory-retention.sweepIsolatedTaskDirectories 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffcae67b80e56a6c60a4dc570c0cd2c490c18e9be673c5315962fcb1fe45641"}},{"ruleId":"D1","level":"warning","message":{"text":"task-workspace-lineage.buildIndependentTaskWorkspaceSettings (cyclomatic 19): task-workspace-lineage.buildIndependentTaskWorkspaceSettings 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":"server/src/services/task-workspace-lineage.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e05f8b6e22992111b7db0369af83c31a43a703c780417dd873082f18feb75b"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-api-placement.resolveProviderApiPlacement (cyclomatic 19): provider-api-placement.resolveProviderApiPlacement 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":"server/src/services/native-runtime/provider-api-placement.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58df438d503a1e2e185518c6e457f8a747449f6538ef083104abd2a6d862f10"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-archive.captureNativeHarnessArchive::visit (cyclomatic 19): native-harness-backup-archive.captureNativeHarnessArchive::visit 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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1f321276bec65724b22ef1935f49fcf079a896db060783d7b6f9c13bcf3c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-skill-cache.matches (cyclomatic 19): runtime-skill-cache.matches 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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45c0ca045323a334c3001ffa6ea6462005b1b3144caa9e14d7ff8efbb182b79"}},{"ruleId":"D1","level":"warning","message":{"text":"github-pull-request-merge.createPullRequestMergeDetailsResolver.\u003Creturned closure\u003E (cyclomatic 19): github-pull-request-merge.createPullRequestMergeDetailsResolver.\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":"server/src/services/github-pull-request-merge.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"079fb791da7d03ba08afdecd5932d47fff0f2f1a6b2e8299d4606276ed341874"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.parseSkillImportSourceInput (cyclomatic 19): company-skills.parseSkillImportSourceInput 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, separate the cases: extract each independent 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: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1904b5b18d886e3e4dd3a9b61b1f87ba3ae6feec315af437d962f6845e1d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.reconcileLocalPathSkillSources (cyclomatic 19): company-skills.companySkillService.reconcileLocalPathSkillSources 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. This is NOT this file\u0027s highest cyclomatic complexity: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"657fa084e080eb448df18f62221c9ddd1ee5c93cd38b78480572980ac52116dc"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.getTestRunDetail (cyclomatic 19): company-skills.companySkillService.getTestRunDetail 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. This is NOT this file\u0027s highest cyclomatic complexity: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7049}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a8763b77981cecc47c09cfa91de2e0ed0224ef9cc313ef82ad89284dad0816"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.deleteSkills (cyclomatic 19): company-skills.companySkillService.deleteSkills 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 5 function items inside it that branch (a function literal at line 7448, assertUnused, withCacheLocks, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5f92b6552ab9a299fa04872bd93635a1a4c5a36edd187d79fc4eb8203f2bfc"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-git-snapshot.acquire.readBlobs (cyclomatic 19): skill-source-git-snapshot.acquire.readBlobs 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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ef87c6953713d2fb7752ef02b3de4a7b5a7e7c4c19bee5a896cd9d40bfe684"}},{"ruleId":"D1","level":"warning","message":{"text":"github-operation-credentials.allowsGitHubCredentialExport (cyclomatic 19): github-operation-credentials.allowsGitHubCredentialExport 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":"server/src/services/github-operation-credentials.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"24776f99f790b03edb0b599969995c0e81d8d36fe6d613e24e284fcaf71d0945"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.captureWebEvidence::visit (cyclomatic 19): native-harness-filesystem-independence.captureWebEvidence::visit has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (native-harness-filesystem-independence.captureWebEvidence, native-harness-filesystem-independence.captureWebEvidence::read) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"18515ed28cfca986fe908916c0acac4c4d7e62bd1401071112d1b1a8ee00f33a"}},{"ruleId":"D1","level":"warning","message":{"text":"local-service-supervisor.terminateLocalService (cyclomatic 19): local-service-supervisor.terminateLocalService has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f498fff3d338a863bcfb5ba616eb404d8da8154e3346d5b128205e470c656a"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.restartDesiredRuntimeServicesOnStartup (cyclomatic 19): workspace-runtime.restartDesiredRuntimeServicesOnStartup 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":9097}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14aaa576e2ecb339c595e3bcc7c6bb05451d2ac94d1fd5ebc72e691cf02c4e0"}},{"ruleId":"D1","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.resolveIncident (cyclomatic 19): budgets.budgetServiceInTransaction.resolveIncident 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":"server/src/services/budgets.ts"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1fecaa8d808628995462adad29faf401fe651271f4f1a7fa9dc9a78bbfaccf"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-capability-validator.pluginCapabilityValidator.validateManifestCapabilities (cyclomatic 19): plugin-capability-validator.pluginCapabilityValidator.validateManifestCapabilities 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":"server/src/services/plugin-capability-validator.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"94db8ebd45037122e6a14c7c61b7577e737449fafecd306b1047a1c421552fe7"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-job-scheduler.createPluginJobScheduler.dispatch (cyclomatic 19): plugin-job-scheduler.createPluginJobScheduler.dispatch 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 122). 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":"server/src/services/plugin-job-scheduler.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8588725dc9ef006dc55ad75e7a610fa67d4ba6ca2c45db10b06c00bda9e9f45c"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-database.splitSqlStatements (cyclomatic 19): plugin-database.splitSqlStatements 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":"server/src/services/plugin-database.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c102cf31afa6b30e4c31969d5dc9eaf1ef77d0adbb6b7cf73852a1b555cc2def"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-loader.ensureLocalPluginBuilt (cyclomatic 19): plugin-loader.ensureLocalPluginBuilt 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"317c4f13156248f97d648a65d9ef1854951c9a5cef13745465fcbd0bee7ed291"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-finalizer.endSupersededNativeFinalizationRuns (cyclomatic 19): native-run-finalizer.endSupersededNativeFinalizationRuns 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 one function literal inside it that branches (line 389). 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae743b920c72c185b0cbce94ebe4cd5714b249939df6dd5937597b8f34d89449"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.control (cyclomatic 19): email-channels.emailChannelService.control 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 4 function literals inside it that branch (lines 2396, 2460, 2419, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5da51af6c80b7c99adfd4014357d6e19468fc4058ed29309819c547b973590"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.selectedProvider (cyclomatic 19): connection-intents.connectionIntentService.selectedProvider 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":"server/src/services/connection-intents.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"442fb90b52cb4b0b3d1ad4eca15d796779170f807f6de1423389390ffc055bff"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.promoteOrCancelDueRetry::promoteLockedRun (cyclomatic 19): postgres.createPostgresRunDispatchAdapter.promoteOrCancelDueRetry::promoteLockedRun 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47088c601854e42311e9af09683845871a3f6a145f105e177121c152f1c893d"}},{"ruleId":"D1","level":"warning","message":{"text":"dot-assignment-follow-up.consumeDotHistoryReceipt (cyclomatic 19): dot-assignment-follow-up.consumeDotHistoryReceipt 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 3 function literals inside it that branch (lines 73, 60, 58). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-assignment-follow-up.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"932c1a2e2daec1e05d9fb15a807f509e5f635afc2f80cc2606e78cc030899fb0"}},{"ruleId":"D1","level":"warning","message":{"text":"muse-assignment-follow-up.consumeMuseHistoryReceipt (cyclomatic 19): muse-assignment-follow-up.consumeMuseHistoryReceipt 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 3 function literals inside it that branch (lines 69, 56, 54). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/muse-assignment-follow-up.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd32f4e88c51eab66ec2b7ad4e351ff4461f3c373942d31b7bbffbb15a980e0"}},{"ruleId":"D1","level":"warning","message":{"text":"scheduled-resume-continuation.decideScheduledResumeContinuation (cyclomatic 19): scheduled-resume-continuation.decideScheduledResumeContinuation 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":"server/src/services/native-runtime/scheduled-resume-continuation.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e6c246865e3efd2d5797970853115b18bf184e0edbe7342749b2374993e78"}},{"ruleId":"D1","level":"warning","message":{"text":"obsolete-policy-reviews.dismissCandidates (cyclomatic 19): obsolete-policy-reviews.dismissCandidates 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 one function literal inside it that branches (line 78). 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":"server/src/services/native-runtime/obsolete-policy-reviews.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7024d172e1300931284a72a0bd53d5082c2296820563e24c0230c00dc35aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.resumeExecutionWaitComments (cyclomatic 19): run-control.createHeartbeatRunControl.resumeExecutionWaitComments 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec81a5610642d9ef34b3c5631a259869bd9f5d33d25591df4dfbd4b3028870"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-status.createHeartbeatAgentStatus.reconcileStrandedAgentStatuses (cyclomatic 19): agent-status.createHeartbeatAgentStatus.reconcileStrandedAgentStatuses 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/agent-status.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c770620a71e165de50b6617eead4674907031ed4a14d919be00a5e441612f"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.reapOrphanedRuns (cyclomatic 19): recovery.createHeartbeatRecovery.reapOrphanedRuns has cyclomatic complexity 19 (threshold 15). Of this number, 13 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ae33c0a6d16202daebbf000d6257cc217bbb88d78c3edcb8b075c9307be1f"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.setRunStatus (cyclomatic 19): run-lifecycle.createHeartbeatLifecycle.setRunStatus has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e44e07c338361239139a41e178ae662912e1951fcbb23bca0aa4df44a6edca"}},{"ruleId":"D1","level":"warning","message":{"text":"native-superseded-workspace-export.continueFromLastSaveWhenSandboxGone (cyclomatic 19): native-superseded-workspace-export.continueFromLastSaveWhenSandboxGone 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 one function literal inside it that branches (line 125). 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":"server/src/services/native-runtime/native-superseded-workspace-export.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3285c1bf621b026f698a62cd1c44d49160d722165fee24e32c9e22c4e2d4f2"}},{"ruleId":"D1","level":"warning","message":{"text":"native-usage-accounting.createNativeTurnAccounting.snapshot (cyclomatic 19): native-usage-accounting.createNativeTurnAccounting.snapshot 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":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d19738ef3ded3eb9feb75329dfd7329ee1f184881dacf22cd944eca70ff572"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-execution.executeHeartbeatRuntime::completeWorkspace (cyclomatic 19): runtime-execution.executeHeartbeatRuntime::completeWorkspace has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (runtime-execution.executeHeartbeatRuntime) 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca60dbfe22c08dc4f48935a19e9ac7f36b8eba783c3f2c490b3d005033c69f"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-publication-text-parts.boundedMarkdownBlocks (cyclomatic 19): chat-publication-text-parts.boundedMarkdownBlocks has cyclomatic complexity 19 (threshold 15). Of this number, 12 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c67083695a05f33255371db0ea3d3dd708489b3845cb39c03de80d505e58d5"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-webhook-config.nextCursor (cyclomatic 19): chat-github-webhook-config.nextCursor 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b6769694e40e8f564d51c74685f23bbd2d949d48b8a230289153392ad92360"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-cloud-ingress.dispatchGitHubBotCloudEvent (cyclomatic 19): chat-github-cloud-ingress.dispatchGitHubBotCloudEvent 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":"server/src/services/chat-github-cloud-ingress.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ced5c40857914d9ba4d6417e05f00e1239d5da5bf2583ae923872b4965dd85c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-registration.githubChatRegistrationService.complete (cyclomatic 19): chat-github-registration.githubChatRegistrationService.complete 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":"server/src/services/chat-github-registration.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe60c880c6385ff87b34a97c3c9baec3e5b8076abf28a7215bd423e1f458e6d"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.stageTeamsBoardFileIntent (cyclomatic 19): file-transfer-authority.createTeamsFileAuthority.stageTeamsBoardFileIntent 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"568e963c0c97f39637b6703cbf9433814b433e571160fd493899722941a407b3"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-publication-batches.projectChatFileTransfer (cyclomatic 19): chat-publication-batches.projectChatFileTransfer 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":"server/src/services/chat-publication-batches.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e5bdc7632180efb4dcfc156edb8f27a6dea874984243e6597effb6b2e1a79"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.definiteAttachmentProviderRejection (cyclomatic 19): policy.definiteAttachmentProviderRejection 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, 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":"server/src/services/chat-channels/publications/policy.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"89040d48b979ea4cb0702414eed73346f344e04220b40d0f5ca5235e4a0481f9"}},{"ruleId":"D1","level":"warning","message":{"text":"board-messages.createSlackBoardMessages.processPendingSlackBoardMessages (cyclomatic 19): board-messages.createSlackBoardMessages.processPendingSlackBoardMessages 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 2 function literals inside it that branch (lines 31, 66). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/board-messages.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"75840b2b8402273b57308c410fa67cb49d31be2cb6cc8b61e12200a43333a9df"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-reconciliation.createDiscordRuntimeReconciliation.reconcileDiscordRuntime (cyclomatic 19): runtime-reconciliation.createDiscordRuntimeReconciliation.reconcileDiscordRuntime has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 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":"server/src/services/chat-channels/discord/runtime-reconciliation.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef57313385a2bd10ce4d54673117885776e839ea0b8643e2bf9b34a088f5806"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-question-forms.validDraft (cyclomatic 19): chat-discord-question-forms.validDraft 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":"server/src/services/chat-discord-question-forms.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b633ceb615fd01383be9daef5bd88bc9769cf619394ad8313509007f2a44faa3"}},{"ruleId":"D1","level":"warning","message":{"text":"removal.createConnectionRemoval::classifyConnectionSecrets (cyclomatic 19): removal.createConnectionRemoval::classifyConnectionSecrets has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (removal.createConnectionRemoval::removeConnectionUnlocked) 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":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"de14b99d3ca3051610f37fd8ef736e5b8e759c61601ab259270603227dda6e79"}},{"ruleId":"D1","level":"warning","message":{"text":"projection.pendingNewToolsForProfile (cyclomatic 19): projection.pendingNewToolsForProfile 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/projection.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e4afb6c9641102d441f8ba47ec0b474121c3d1e80086fd2debc5e3971bd3e5"}},{"ruleId":"D1","level":"warning","message":{"text":"vercel-callback.createVercelOAuthCallback.completeVercelConnectCallback (cyclomatic 19): vercel-callback.createVercelOAuthCallback.completeVercelConnectCallback 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":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c600a3aea237156703debe956ffb5a9b37b8a8607c6acf1223de09a9f740e19"}},{"ruleId":"D1","level":"warning","message":{"text":"git-restore-point.writeIgnoredFiles (cyclomatic 19): git-restore-point.writeIgnoredFiles has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cb8ded57eefab60e35f82d85732d0bb49516d71b45228e09163cb3b1fdc5a4"}},{"ruleId":"D1","level":"warning","message":{"text":"git-restore-point.decodeRestorePointPayload (cyclomatic 19): git-restore-point.decodeRestorePointPayload has cyclomatic complexity 19 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"89634318b076d810e57ef5a8412dc428dbb8fe935185cb89fd2142a2062bed69"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expireStaleRequestConfirmationsForIssueDocument (cyclomatic 19): issue-thread-interactions.issueThreadInteractionService.expireStaleRequestConfirmationsForIssueDocument has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 5280, 5308). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb18ef872da6db21a5cc2af9c87605fd611746af985c072a741952efecf59e1"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.answerQuestions (cyclomatic 19): issue-thread-interactions.issueThreadInteractionService.answerQuestions 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 5671). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5620}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73cd5cbd0511358b78048a94685a3769a28b19be6a7f5c0b2392aa8a4fec3fc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-execution-driver.createNativeRunnerExecutionDriver.controlPlaneRegistration (cyclomatic 19): native-runner-execution-driver.createNativeRunnerExecutionDriver.controlPlaneRegistration 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 5 function literals inside it that branch (lines 130, 119, 292, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"674bad28821e166c7040ae488e16514e0df649a0605ec01ff4ba24175a16b054"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-runner-port-holders.parseSandboxRunnerHolders (cyclomatic 19): sandbox-runner-port-holders.parseSandboxRunnerHolders 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":"server/src/services/native-runtime/sandbox-runner-port-holders.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d84da9a99b90bb092aedc6b7f3e3a14dc6c083983a7aa3347128bf7f090f92"}},{"ruleId":"D1","level":"warning","message":{"text":"current-wake-comments.assertCurrentWakeCommentsRead (cyclomatic 19): current-wake-comments.assertCurrentWakeCommentsRead 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 757). 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04a59c7524fb76c84ab9a3836dff381de3ed0bbfb34bc74c44e725290042223"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-pi-companion.validate (cyclomatic 19): remote-pi-companion.validate 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a85a17d59ab37fdbb78555e145eeada799161f74ef7f0eb558a6df03bfdd3d"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-attachment-staging.createRemoteAttachmentStager (cyclomatic 19): remote-attachment-staging.createRemoteAttachmentStager 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 4 function items inside it that branch (write, write::run, write::cleanup, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-attachment-staging.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f70673a9a11010db29836b349401473ecc809c994c51df5ea2d3b31d37c857"}},{"ruleId":"D1","level":"warning","message":{"text":"routines.routineService.recordSuppressedAutomaticRun (cyclomatic 19): routines.routineService.recordSuppressedAutomaticRun 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 one function literal inside it that branches (line 1455). 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":"server/src/services/routines.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"427086ed6297511654954aeab9c787a10a90cfc417765fa159aa184ca6f2a8cc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.reserveWarmNativeInstructionDirectory (cyclomatic 19): native-session-executor.reserveWarmNativeInstructionDirectory 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, separate the cases: extract each independent 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e1c5f6f637cb4cf9c32364c3be0672285de2c51672b78655c4b05b0367c68a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.migrateLegacyRunnerdStateRoot (cyclomatic 19): native-session-executor.migrateLegacyRunnerdStateRoot has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5683579f9f469fd569eeb077e16fc0e3ae2eb120a35ec718b406f3e56c8b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage (cyclomatic 19): native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage 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. This shape REPEATS in the file: one other method here (native-session-executor.executePaperclipNativeSessionAttempt) 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11548}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dfa6a0f55ff8af6db02aeb8e97e1acb1543f7175737ee8febc00c80afb8729"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-plugin-environments.ensureManagedPluginEnvironment (cyclomatic 19): managed-plugin-environments.ensureManagedPluginEnvironment 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 4 function items inside it that branch (reconcile, a function literal at line 163, a function literal at line 137, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-plugin-environments.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a873ca9dc35b25af8e1b1e78dcf72c9cd7dd34e9fc391b1bc7963036e29c0"}},{"ruleId":"D1","level":"warning","message":{"text":"access.accessService.setUserCompanyAccess (cyclomatic 19): access.accessService.setUserCompanyAccess 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 4 function literals inside it that branch (lines 843, 853, 860, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02033e45ac45fc6e1e3858c80124a9574bccd0dd2af73865948e79d53cbf956"}},{"ruleId":"D1","level":"warning","message":{"text":"routine.grokRoutineService.reserve (cyclomatic 19): routine.grokRoutineService.reserve 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 132). 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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb3c65286172344865d8b18d0dd1c631ec591c4e754d69b853447d081dd0555"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-finalize-attempt-settlement.abandonedWorkspaceOperationSettle.\u003Creturned closure\u003E (cyclomatic 19): workspace-finalize-attempt-settlement.abandonedWorkspaceOperationSettle.\u003Creturned closure\u003E 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 one function literal inside it that branches (line 53). 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":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d917b3e0908085f2c20662be661177d69a3c1ab3e63fe0b2cf0a94a644743d8"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-rate-limits.parseProviderRateLimitSnapshot (cyclomatic 19): provider-rate-limits.parseProviderRateLimitSnapshot 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/shared/src/provider-rate-limits.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"00653cbc5693622e331f3bc0ad0795a281da4ef138414ae5891a21ca8ae870cc"}},{"ruleId":"D1","level":"warning","message":{"text":"installation-integrity.inspectCommand (cyclomatic 19): installation-integrity.inspectCommand 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e1edd30317aa247c1be5f637890df4859fb907fed13d33a3434c822abac2f7"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-tool-bridge.startRunnerToolBridge (cyclomatic 19): runner-tool-bridge.startRunnerToolBridge 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"754fbc879f6aaffbe253fea533cac90a5dcfed23be5ac1d5b90cf6141129aa20"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-failure.acpxProviderFailure (cyclomatic 19): provider-failure.acpxProviderFailure 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/paperclip-runner/src/drivers/acpx/provider-failure.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"62776deffb2d395f3d79b3d8698a3d1a0a4dce0dca7df4fabf4fdd6fc5cfac51"}},{"ruleId":"D1","level":"warning","message":{"text":"HarnessDriverBackend.recoverSession (cyclomatic 19): HarnessDriverBackend.recoverSession 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c70babd41cdb5fa75215fcce6a0adc0c5f2c9c4bf9ac474980b01a1c28359c3"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-model.buildTranscript (cyclomatic 19): transcript-model.buildTranscript 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/browser/transcript-model.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d249a6524b30b84620612276cbbe816b6bd861e0034c4dd49cf3ff54ed2a1711"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-metadata-probe.kimiMetadataProbeDigest (cyclomatic 19): kimi-metadata-probe.kimiMetadataProbeDigest 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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b842a68b1203ac79eca74a6f55ada8779a7d08ece4956b76d3538dfeded485c1"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityToolAuthorizationEngine.#evaluate (cyclomatic 19): CapabilityToolAuthorizationEngine.#evaluate 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/paperclip-runner/src/tools/capability-tool-authorization.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f5307272c90b2c83bad1e6a7ef98ee800678e08f80131128580c60baa441c5"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-acp-runtime.snapshotPiWorkspaceFile (cyclomatic 19): pi-acp-runtime.snapshotPiWorkspaceFile has cyclomatic complexity 19 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"484e3cd9d5fbae3026610150434ffb4d1abf16b9e82f4552b9c4ed6f092acc74"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow-scoring.scoreRunnerWorkflow (cyclomatic 19): workflow-scoring.scoreRunnerWorkflow 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/paperclip-runner/src/eval/workflow-scoring.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9deee395aebdae9860eea6dd5990090055549b10ac18e817c32431ad325d2ea"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-runtime.retryQuarantinedSessionCleanups (cyclomatic 19): native-session-runtime.retryQuarantinedSessionCleanups has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-runtime.governedWaitFollowUpMayStartFresh (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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93e61af6972c53685b1d8825dd11e445c5b4315a3b9814a3a00ccc9d2cac25"}},{"ruleId":"D1","level":"warning","message":{"text":"tailnet-gateway.createCapabilityTailnetGateway.server (cyclomatic 19): tailnet-gateway.createCapabilityTailnetGateway.server has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 310, 243, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/tailnet-gateway.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d585a1cca636f46f4914e363b44512ebdddb7bf58715bebc29294a45d554fe24"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.destroyFailedCreation (cyclomatic 19): plugin.destroyFailedCreation 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb4c35922af8f5e20616535e0551dec13371dfe8d3482f4e0cbc5dfa3341ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"portability-zip.readZipArchive (cyclomatic 19): portability-zip.readZipArchive 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/shared/src/portability-zip.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1b8b7fceccd97ea6842bf6544103294dfe3483e6f6e4327339465ae645c5ba"}},{"ruleId":"D1","level":"warning","message":{"text":"billing-reconciliation.billingReconciliationService.reconcile (cyclomatic 19): billing-reconciliation.billingReconciliationService.reconcile 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 89). 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"004b67173909ab6452055811809c72f7d56bdddc4d17d143a2865112b8838edf"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback.buildOpenCodeTraceFiles (cyclomatic 19): feedback.buildOpenCodeTraceFiles 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd6d3ac474158186d73144ae83c3d14de5abc17712acde38763ce32e9726566"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback.resolveFeedbackTarget (cyclomatic 19): feedback.resolveFeedbackTarget 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":"server/src/services/feedback.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"574d267d68b3cb56b1cedf488077d21c0429fc59a058e79a92700afe26076ec5"}},{"ruleId":"D1","level":"warning","message":{"text":"summary-slots.summarySlotService.assertSummarizerWriter (cyclomatic 19): summary-slots.summarySlotService.assertSummarizerWriter 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":"server/src/services/summary-slots.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01885e9f3bc21e557f47e59eb98c1a744629fa5636fe785ec9a29416119eb54"}},{"ruleId":"D1","level":"warning","message":{"text":"status-cards.statusCardService.assertSummarizerWriter (cyclomatic 19): status-cards.statusCardService.assertSummarizerWriter 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":"server/src/services/status-cards.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d73a1802ee646c6aa758fdaa73132f0440a4b7b66303ec915d1dd9d9a313643"}},{"ruleId":"D1","level":"warning","message":{"text":"decisions.decisionService.executeDecisionEffects (cyclomatic 19): decisions.decisionService.executeDecisionEffects has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 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":"server/src/services/decisions.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1066a2d2b6bda3eb123001e22d4d80ad0f9238fbf59d2a9eb490272561e213d"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.resolvePortableRoutineDefinition (cyclomatic 19): company-portability.resolvePortableRoutineDefinition has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: company-portability.isSensitiveEnvKey (cyclomatic 26) 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":"server/src/services/company-portability.ts"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"de98bdb98fe9abd350666a0fee2408278c0bfa95572092ed0506ccc91e652b16"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-admission.trackIdleRequestHandlers (cyclomatic 19): idle-admission.trackIdleRequestHandlers has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 3 function items inside it that branch (visit, visit::invoke, a function literal at line 127). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/idle-admission.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6349de77d3a5e8eaec1e7c87eb259f4878422a13f152b1e170df08068c373c"}},{"ruleId":"D1","level":"warning","message":{"text":"customer-success.customerSuccessRoutes (cyclomatic 19): customer-success.customerSuccessRoutes 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 2 function literals inside it that branch (lines 87, 79). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: customer-success.verifyInspectionPermit (cyclomatic 28) 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":"server/src/routes/customer-success.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b475d1f7cc9d6b3c04abcc584078fc50ed6c8168deeff40e77a8953651279b40"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud.cloudRoutes (cyclomatic 19): cloud.cloudRoutes 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 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":"server/src/routes/cloud.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b73dd21f834d7dda9e8248fc63e989d5e8fc4929887b46249037d0a12162205"}},{"ruleId":"D1","level":"warning","message":{"text":"native-agent-runtime-inheritance.inheritedScalar (cyclomatic 19): native-agent-runtime-inheritance.inheritedScalar 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":"server/src/services/native-runtime/native-agent-runtime-inheritance.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad5f30a17c3fd3ea05edebddbbde173c9c09671f519ad4b67362208c306ea2f"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-trace-idle-schedule.projectIdleProviderTraceSchedule (cyclomatic 19): provider-trace-idle-schedule.projectIdleProviderTraceSchedule 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":"server/src/services/provider-trace-idle-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a23f817ff4a995b87424e27e93244478bdcc2db038bbd47ef5a1f181630d01"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-deadline-proof.deadlineOwnerWorkReplacement (cyclomatic 19): idle-deadline-proof.deadlineOwnerWorkReplacement 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":"server/src/services/idle-deadline-proof.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7a92e27e62a068e31c53943b1c594e67e78d7d8da3eb8b2f3a064b3ac374d1"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-config-validator.secretRefsAsIds (cyclomatic 19): plugin-config-validator.secretRefsAsIds 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":"server/src/services/plugin-config-validator.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d4f4db0ef747a3d4c30a40576814abfe0f2158c8db24898691900b3f079090"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-review-attention.main (cyclomatic 19): benchmark-review-attention.main 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":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7521d8fb875ea64f6e6a0d9e8efac452013293bdbe1bb181691208acb063c046"}},{"ruleId":"D1","level":"warning","message":{"text":"online-legacy-workspace-recovery.lockOnlineLegacyWorkspaceRecoverySources (cyclomatic 19): online-legacy-workspace-recovery.lockOnlineLegacyWorkspaceRecoverySources 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d693b3c7680b5d8882e998c739ce4800039ea04846bc3ebf10f7eba84fe498"}},{"ruleId":"D1","level":"warning","message":{"text":"historical-cleanup-verification.historicalCleanupVerificationService.run (cyclomatic 19): historical-cleanup-verification.historicalCleanupVerificationService.run 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 2 function items inside it that branch (inspect, a function literal at line 70). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/historical-cleanup-verification.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d20dcd18289f57ada59df0bec215c7585fc5e0f20feeec6cea097b00970d94"}},{"ruleId":"D1","level":"warning","message":{"text":"index.startServerWithDatabaseTeardown::performShutdown (cyclomatic 19): index.startServerWithDatabaseTeardown::performShutdown 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. This shape REPEATS in the file: one other method here (index.startServerWithDatabaseTeardown) 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":"server/src/index.ts"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36f838c84c5aa84f1c6a8677616b62f51c285a089faa5a56294effb8e6ec011"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-maintenance.collectAgentFileObjects (cyclomatic 19): agent-file-maintenance.collectAgentFileObjects has cyclomatic complexity 19 (threshold 15). Of this number, 10 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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ac045dbbce7ac8840b1675710c3873fa3093085783bd2a0d4036fe8d9312ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerFileDropTarget.ComposerFileDropTarget (cyclomatic 19): ComposerFileDropTarget.ComposerFileDropTarget 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 6 function literals inside it that branch (lines 64, 48, 69, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerFileDropTarget.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5736a4352a8a495202b6d3412b7bd620d35e54040ba63dd6d7be8f7a70ce705"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerAddMenu.ComposerAddMenu (cyclomatic 19): ComposerAddMenu.ComposerAddMenu has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerAddMenu.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b91cd0eddd3c84a66135827f815792ec536ffe4dfe6ba00510b2aedff31f1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate (cyclomatic 19): NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (NewIssueDialog.AccountNewIssueDialog, NewIssueDialog.AccountNewIssueDialog::handleSubmit) 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9d5e78ce1e714a049fbb0bf4b68ad91cea5009c9c40e0e638f3f5a854e698b"}},{"ruleId":"D1","level":"warning","message":{"text":"task-status-presentation.blockedAttentionLabel (cyclomatic 19): task-status-presentation.blockedAttentionLabel 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":"ui/src/lib/task-status-presentation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8515bd3c2a8404ab86b24cbadfb7d94aa63759ee2fc0850d231c5369be037dc8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentInviteContent.MuseConnectionChecks (cyclomatic 19): ExternalAgentInviteContent.MuseConnectionChecks has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"975f68e76508e4a6d7e7f862d241e8f7395d7cb89f726e2f917f8a1b82e7ff12"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-detail-navigation.parseAgentDetailView (cyclomatic 19): agent-detail-navigation.parseAgentDetailView 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":"ui/src/pages/agent-detail-navigation.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d83ca1ec8864718a5a3192ae63022b2437caf5e2ecc8f904be3504866285dca"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarProjects.ProjectItem (cyclomatic 19): SidebarProjects.ProjectItem has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe0fe274de9f071c2c80f94d99c702dc9ec62d9d09522639bada52c333f62a"}},{"ruleId":"D1","level":"warning","message":{"text":"SavedProviderKeySelect.useSavedProviderKeys (cyclomatic 19): SavedProviderKeySelect.useSavedProviderKeys has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/SavedProviderKeySelect.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de21c61d27f93f52b4e12bac8ed633f8744e674d455e1e0f40dbeb94a9f01f7"}},{"ruleId":"D1","level":"warning","message":{"text":"config-fields.HermesGatewayConfigFields (cyclomatic 19): config-fields.HermesGatewayConfigFields 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 8 function items inside it that branch (a function literal at line 229, a function literal at line 117, readValue, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/hermes-gateway/config-fields.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a69b82ad7fc8bf8ea4dc7bf93206985232d4a957e39e9d61148e16e55f929c"}},{"ruleId":"D1","level":"warning","message":{"text":"registry.syncExternalAdapters (cyclomatic 19): registry.syncExternalAdapters has cyclomatic complexity 19 (threshold 15). Of this number, 13 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":"ui/src/adapters/registry.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de5ade984347a3951db50b259605258daf284be6c5f3e2f399f455a68542f7f"}},{"ruleId":"D1","level":"warning","message":{"text":"BreadcrumbBar.production.BreadcrumbBar (cyclomatic 19): BreadcrumbBar.production.BreadcrumbBar 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 117). 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":"ui/src/components/BreadcrumbBar.production.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbed3599e7280b6aba094bf3ec3a25757312af9cec0de76b5557135469fc4dab"}},{"ruleId":"D1","level":"warning","message":{"text":"KanbanBoard.KanbanCard (cyclomatic 19): KanbanBoard.KanbanCard 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/KanbanBoard.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c13a865395e5f5a1d3d3d8fb89dceba5a102816aef97c6aae4aedffcf83b03c"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveTranscriptInterests.receive (cyclomatic 19): LiveTranscriptInterests.receive 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":"ui/src/lib/live-transcript-interests.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6264500de1013f70dd059664c40edf4f2926d99f15aaeb5e3aa2680dc279f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.useTaskRunLiveUpdates (cyclomatic 19): LiveUpdatesProvider.useTaskRunLiveUpdates 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 4 function literals inside it that branch (lines 180, 159, 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac09d0ce19300d9763507d6bbead773a5946ae4e737f7a85f6bc70457a902a93"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.buildRunStatusToast (cyclomatic 19): LiveUpdatesProvider.buildRunStatusToast 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b393384fc01060cd655e1be98b101bcc40f24112698bae50cadced6c4530b9e7"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatDiffView.TaskChatDiffView (cyclomatic 19): TaskChatDiffView.TaskChatDiffView 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 one function literal inside it that branches (line 66). 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":"ui/src/components/task-chat/TaskChatDiffView.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9527c5a6124e21e378f9428502f2c05bc1adfe2ba0da4aea1ca6a8afbd3ae63d"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatProtocolCard.ProviderActivityCard (cyclomatic 19): TaskChatProtocolCard.ProviderActivityCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebe14530f7cd8dc826f45e9915ad74a1b5ff6cfd2db6d850735599a4490977b"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-chat-messages.buildIssueChatMessages (cyclomatic 19): issue-chat-messages.buildIssueChatMessages 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8081ee12142611330ec3b26c4bce67c704d58daac7831c452c87376ca154344"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueThreadInteractionCard.QuestionOptionButton (cyclomatic 19): IssueThreadInteractionCard.QuestionOptionButton 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3380f2829ad23eac242793e65d8f455255e4d2d4924620d6ca75b017868a9b36"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueAssigneePausedNotice (cyclomatic 19): IssueChatThread.IssueAssigneePausedNotice 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e0e21530ec4f38def20fdc064ff65a92be13b0c09d5d7b284f46afde4c0629"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRuntimeControls.buildWorkspaceServiceControlEntries (cyclomatic 19): WorkspaceRuntimeControls.buildWorkspaceServiceControlEntries 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 2 function literals inside it that branch (lines 243, 255). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"301bae8cc36ee585060dec5b8faf625d33f760c1a50883feae0e4cc869d6239d"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatStatusPill.useHeldSelfTalk (cyclomatic 19): TaskChatStatusPill.useHeldSelfTalk 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 8 function literals inside it that branch (lines 158, 241, 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":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c917f37f28d8afb4487e70afe1aad19f7d5d962268364a46683908fa442448f1"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionHistory.InstructionHistory (cyclomatic 19): InstructionHistory.InstructionHistory 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":"ui/src/components/InstructionHistory.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b53b00842b437146fd0d147baed7fecd51553771c9fdbf2d247f3606f5a168"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCostsPanel.AgentCostsPanel (cyclomatic 19): AgentCostsPanel.AgentCostsPanel has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentCostsPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdd7975eec712044f91a3a64c00495f51c54ae85c412a6c28bfdd3633be8188"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentHistoryDialog.AgentHistoryDialog (cyclomatic 19): AgentHistoryDialog.AgentHistoryDialog has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-detail/AgentHistoryDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"520bb794a5bb684fb8b9a85d398309ed4d561bd5dc1c3ac4f21814d05efc16b4"}},{"ruleId":"D1","level":"warning","message":{"text":"Routines.buildRoutineGroups (cyclomatic 19): Routines.buildRoutineGroups 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 6 function literals inside it that branch (lines 176, 206, 220, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb262600d81b732584cfde052f062762020b2b9df62101f63ad37a53735c48c"}},{"ruleId":"D1","level":"warning","message":{"text":"UserProfile.UserProfile (cyclomatic 19): UserProfile.UserProfile 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":"ui/src/pages/UserProfile.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"00de9c7c04b52eda28cd61631d9b458c00fada228aa27c4d115b29fe45856b27"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionCloseMenu.AttentionForOtherGate (cyclomatic 19): AttentionCloseMenu.AttentionForOtherGate 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 3 function literals inside it that branch (lines 450, 411, 429). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b06de4120f9644da65c70f4e3864cda6dbf129f7d95847ebe5b651808809e08"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionResolver.CompactDecision (cyclomatic 19): DecisionResolver.CompactDecision 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 5 function items inside it that branch (a function literal at line 113, a function literal at line 89, blocked, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c735d6e81878bd4eb2111b9cdc14ec431cd8c20883f89037d4f8c8e0734b79c"}},{"ruleId":"D1","level":"warning","message":{"text":"StalledReviewActions.StalledReviewActions (cyclomatic 19): StalledReviewActions.StalledReviewActions has cyclomatic complexity 19 (threshold 15). Of this number, 16 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":"ui/src/components/StalledReviewActions.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca37494ea3211e935c75f0d5a810bd9e9bc3fb76aad3f00fec0be6795a8bb54c"}},{"ruleId":"D1","level":"warning","message":{"text":"Browse.connectorAction (cyclomatic 19): Browse.connectorAction 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e303f7df9dc7c63e54e333a7499a9f42a53f82068bffb20444fe1a13adb2896"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatEndpointDetail.Access (cyclomatic 19): ChatEndpointDetail.Access has cyclomatic complexity 19 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb594edd8558cda2c682b2904dd30cab03ae6337ab1ab33be1aba4708163a65"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentitiesSection.GitHubConnectionSummary (cyclomatic 19): IdentitiesSection.GitHubConnectionSummary 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"982b7469122c24dfba44e6764af3c48cc38eddb7b9db532a1f01ad50f091d667"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.CatalogList (cyclomatic 19): CompanySkills.CatalogList 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 (renderRow, a function literal at line 1669). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8dc9e0756b996c56743e5d99f1f86900842696c05d29a8829405092903757"}},{"ruleId":"D1","level":"warning","message":{"text":"ProposalsTab.ProposalsTab (cyclomatic 19): ProposalsTab.ProposalsTab has cyclomatic complexity 19 (threshold 15). Of this number, 14 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":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8404a210d8b1c68e1bdd17f37ad68ca9015f0a39c26e9ee237eb52bff70307c"}},{"ruleId":"D1","level":"warning","message":{"text":"Routines.production.buildRoutineGroups (cyclomatic 19): Routines.production.buildRoutineGroups 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 6 function literals inside it that branch (lines 175, 205, 219, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3040d413d3c1e63d2007105e4eb804276c9e325a78b5d48759d06be7fd0ea0"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySkills.production.CatalogList (cyclomatic 19): CompanySkills.production.CatalogList 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 (renderRow, a function literal at line 1759). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"20aa39fad55b202c1cb84129ad051393162122b7f41a7b0dfb7598a16e9f8dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"CaseWorkSummary.CaseWorkSummary (cyclomatic 19): CaseWorkSummary.CaseWorkSummary 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":"ui/src/components/cases/CaseWorkSummary.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf71fb27a7994a3211dfb48625af2905b3d41544c9f5e40c828d47889a5d1dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"McpAppView.McpAppViewContent (cyclomatic 19): McpAppView.McpAppViewContent 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":"ui/src/components/mcp-app/McpAppView.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3d96cdbee6d6535807f9601d0a8ad0e98d4b1a38e1e31173f2b6032bf0f511"}},{"ruleId":"D1","level":"warning","message":{"text":"account-scope.bindAccount.whenAccountReady (cyclomatic 19): account-scope.bindAccount.whenAccountReady 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 3 function items inside it that branch (lookup, a function literal at line 43, a function literal at line 44). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/account-scope.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c452bc659c69b4126407fbf72e8c6395f5b3ea05ea548fa83df56c8b0e87f52"}},{"ruleId":"D1","level":"warning","message":{"text":"csv-preview.parseCsv (cyclomatic 19): csv-preview.parseCsv has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/csv-preview.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6555abe32377faad56e2222ec9f1b8554da6c4f6e5e0459acb171a1a8657ae7a"}},{"ruleId":"D1","level":"warning","message":{"text":"persisted-query-cache.startPersistedQueryCache (cyclomatic 19): persisted-query-cache.startPersistedQueryCache 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4dadb76c923793e60d836443934f88ff5126603d8c6757b3e32170524df9b6"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamCatalog.TeamDetailPane (cyclomatic 19): TeamCatalog.TeamDetailPane 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"88568be353797c0542999c210602739761527c69cff1458769bd97dbb5c3bee8"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletedActivityPreview.CompletedActivityPreview (cyclomatic 19): CompletedActivityPreview.CompletedActivityPreview has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/completed-activity/CompletedActivityPreview.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b7e22be097b3efd977202a3086fb7f50d4010c065b455436862c3a483910d"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.prepared_consume (cyclomatic 19): Client.prepared_consume 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":"server/src/services/scripts/v7/client.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38bcd2fb823ef7552e19ad6fa4bee1e3e95da52e283c14ac086b5898a945ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.prepared_consume (cyclomatic 19): Client.prepared_consume 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":"server/src/services/scripts/v8/client.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d164c083719e0be202eca6cd3c5ac8df357054a653115807ddd81dec66cecf8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.prepared_consume (cyclomatic 19): Client.prepared_consume 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":"server/src/services/scripts/v9/client.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fc8ce9886c82442374185926451b45e81622e3cb82024cddcfba3283a4b00c"}},{"ruleId":"D1","level":"warning","message":{"text":"Command::validate (cyclomatic 19): Command::validate 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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b9b031f395e2e76860294da9b5f7ff7b0b5db25f4baeb4bbd978f6e6ee86a6"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedProviderCommandExecutor::project_event (cyclomatic 19): ManagedProviderCommandExecutor::project_event 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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0741e56082254c818655b968c999f9820f5d3602f0159e753d4372f125d5c200"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderToolBridge::begin_call (cyclomatic 19): ProviderToolBridge::begin_call 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/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"883dee6824b2dc63e1a9bb212afe93d77f051da0cb077d8c081a1910080c4483"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::acpx_event_payload::decode_acpx_event (cyclomatic 19): paperclip_runner_core::acpx_event_payload::decode_acpx_event has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"10647c92e65e5af535bf00e102e7f5060a29c179f7cecf0ae7a6f5ad501bc8c3"}},{"ruleId":"D1","level":"warning","message":{"text":"main (cyclomatic 19): main 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":"ui/src/artifact-directions/shot.cjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"48155afbcf307ada42439bd715a0d891feadbb46ee9a96502d27b135d6e24fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.runWorktreeReseed (cyclomatic 18): worktree.runWorktreeReseed 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9e1f12a257c829c3de971e04764453a14a0f82c3c9b3f94447958aa09ec43e"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-sync.isNotAGitRepositoryError (cyclomatic 18): git-workspace-sync.isNotAGitRepositoryError 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"620b3ec0cef65ed1e4d296704236a5a9a5b003f01f50094df7b9247065f53dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"http2-bridge-server.parseCanonicalBridgeRequestPath (cyclomatic 18): http2-bridge-server.parseCanonicalBridgeRequestPath 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cbdc3042ee4c5e01c5c1d0daac7034c585d8ce135855766d966fb147734dce"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.ensureSandboxCommandResolvable (cyclomatic 18): execution-target.ensureSandboxCommandResolvable 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"1300169ded126cde27e3feadf6ce865fc18b64530d9f3df631d563fbd18910cf"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetProcessSessionBridge.server (cyclomatic 18): execution-target.startAdapterExecutionTargetProcessSessionBridge.server 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 literals inside it that branch (lines 2393, 2439, 2388, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d98ae8b4b6fe1f33acfec2468fa84a3361e5cf9ef96c0c3344ab506a02d0c2"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.normalizePaperclipWakeExecutionStage (cyclomatic 18): server-utils.normalizePaperclipWakeExecutionStage 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. This is NOT this file\u0027s highest cyclomatic complexity: server-utils.isNormalizedPaperclipExternalChatQuestionResponseTurn (cyclomatic 40) 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e3368787466d7676c544d1c4ac57ce3e74591c4fee2c2d70b1f2a9e33944c2"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.materializePaperclipSkillCopy (cyclomatic 18): server-utils.materializePaperclipSkillCopy 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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: server-utils.isNormalizedPaperclipExternalChatQuestionResponseTurn (cyclomatic 40) 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4626}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2390a44933fa7353ac047674229b3e2ce1efecc465fb0b027f6bc6e25a06d6"}},{"ruleId":"D1","level":"warning","message":{"text":"claude-config.prepareSandboxClaudeProbeRuntime (cyclomatic 18): claude-config.prepareSandboxClaudeProbeRuntime 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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c49d8c79457142d50b527eadfaac2f08ec47a611e365f4d03b258ea09319958"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-args.buildCodexExecArgs (cyclomatic 18): codex-args.buildCodexExecArgs 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/adapters/codex-local/src/server/codex-args.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d820ddff1e31a7760ccbcff4c9a1f34f74943b1d104541be9c5db41871c4e9ad"}},{"ruleId":"D1","level":"warning","message":{"text":"detect-model.resolveProvider (cyclomatic 18): detect-model.resolveProvider 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/adapters/hermes/src/server/detect-model.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd7b5031522e8026f18e78678f234fa07c0224e5285e117c1560ef3800f5d0"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.parseKimiJsonl (cyclomatic 18): parse.parseKimiJsonl 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/adapters/kimi-local/src/server/parse.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc6e7823d67d979f48dd93db87efe2c54d511dc9c64698a8055ea5e0124eed0"}},{"ruleId":"D1","level":"warning","message":{"text":"clean-poisoned-claude-sessions.main (cyclomatic 18): clean-poisoned-claude-sessions.main 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":"packages/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78897d2002ff3e099f386ea25b32d592cdcf7222ce89661ed8e2f549da62c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"check-migration-safety.splitSqlList (cyclomatic 18): check-migration-safety.splitSqlList 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/db/src/check-migration-safety.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fbdb8d2211f70f816f862916651ed0de04a3babb7cc17acc842242fa8162ba"}},{"ruleId":"D1","level":"warning","message":{"text":"result-normalization.normalizePrpResultSignals (cyclomatic 18): result-normalization.normalizePrpResultSignals 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 one function literal inside it that branches (line 223). 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/paperclip-runner/src/protocol/result-normalization.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f967de0eb18810d5f3dd8381c27ea624cd39df24b291f032d17f876fadb565f"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector.Inspector (cyclomatic 18): Inspector.Inspector has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f465d0fc1b993b0d5fb0f549f387089cd2d3c535eeda44ed20cc2082780655e"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestCard.RequestCard (cyclomatic 18): RequestCard.RequestCard 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22d2bb8453ed2220989ee4d34539340f3e51e8dba9db22b2e629ff350c09aad"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-events.acpxToolDetailFromRuntimeEvent (cyclomatic 18): provider-events.acpxToolDetailFromRuntimeEvent 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0676b04ba76a6827938355a942d6dd39572d0aa6e73deb6f869afbaa7821fe"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence-redaction.capabilityEvidenceDetails (cyclomatic 18): evidence-redaction.capabilityEvidenceDetails has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aec1af473b4e4e588597b642c33d932c6d27cdad73b2cbeba4639582194c736"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.runnerEnvironment (cyclomatic 18): durable-prp-control-plane.runnerEnvironment has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4909}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54ecd7b4e7632ab72d824cba637c7c449470f17abf4ab11db643b075d691c1d"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic-tool-receipt.parseSemanticToolReceipt (cyclomatic 18): semantic-tool-receipt.parseSemanticToolReceipt 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/paperclip-runner/src/drivers/semantic-tool-receipt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"014de1768bf455895c04b0cea46029da208346557de9bf1453b92b97842281d3"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpCodexTransport.#claimReleasedRunner (cyclomatic 18): DurablePrpCodexTransport.#claimReleasedRunner 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4949}}}],"partialFingerprints":{"codehealthFindingId/v1":"370d3620cfd76a4d84a9edb7f122bfd0061f2ef07ebb873d88e7b27de39900a4"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.controllerAcceptedTurnStartId (cyclomatic 18): runnerd-codex-transport.controllerAcceptedTurnStartId has cyclomatic complexity 18 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"351e21009fa7430765a1b9be8d61830df6ccd2771b1263f10ffd92ab18581fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"build-copilot-distribution.buildPinnedCopilotDistribution (cyclomatic 18): build-copilot-distribution.buildPinnedCopilotDistribution 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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aba89dd187762271c56399f1e01c7d581ca3167b35bced459431c56d43d0d0"}},{"ruleId":"D1","level":"warning","message":{"text":"private-snapshot.createAcpxPrivateSnapshot::copy (cyclomatic 18): private-snapshot.createAcpxPrivateSnapshot::copy 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. This shape REPEATS in the file: one other method here (private-snapshot.createAcpxPrivateSnapshot) 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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13d6b03826144fe71f3aea8ee180ad0d62ad82d0de442e6ba3df4d73ca2975d"}},{"ruleId":"D1","level":"warning","message":{"text":"private-snapshot.createAcpxPrivateSnapshot (cyclomatic 18): private-snapshot.createAcpxPrivateSnapshot 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 (private-snapshot.createAcpxPrivateSnapshot::copy) 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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7475092d43ccc2717ee2a49f5728b1ad77a044c98d8fc94694f495979fb25683"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-verified-runtime.discoverPiRuntimeFiles::visit (cyclomatic 18): pi-verified-runtime.discoverPiRuntimeFiles::visit 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/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"72193a2c85260d5172461cbf39b1b1b184b6dbddb7414cd66312ea47bfacca8e"}},{"ruleId":"D1","level":"warning","message":{"text":"contract-fingerprints.fingerprintContracts (cyclomatic 18): contract-fingerprints.fingerprintContracts 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40f421d907f9e0c612248621b5b8a9b06660923385c65967fa929754c30284a"}},{"ruleId":"D1","level":"warning","message":{"text":"issue.createLegacyAskUserQuestionsPayloadSchema (cyclomatic 18): issue.createLegacyAskUserQuestionsPayloadSchema 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/shared/src/validators/issue.ts"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"790b8d2c86f702467b1829ad22f51564367e30780db3e372459c31f2541d25f8"}},{"ruleId":"D1","level":"warning","message":{"text":"run-cancellation.cancellationResultJson (cyclomatic 18): run-cancellation.cancellationResultJson 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":"server/src/services/run-cancellation.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"40214c4853b2ba6f11331c3cc4ef638c94bd9ff11b5817cf3eefe5adc267db23"}},{"ruleId":"D1","level":"warning","message":{"text":"controller-instance-lease.tickControllerInstanceLease (cyclomatic 18): controller-instance-lease.tickControllerInstanceLease 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":"server/src/services/controller-instance-lease.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"224491d81b38a288c3c2819e1b3a589ac84dfc8ab0752ef218d89727ffb94f4f"}},{"ruleId":"D1","level":"warning","message":{"text":"onboarding-first-task-admission.readOnboardingFirstTaskDecision (cyclomatic 18): onboarding-first-task-admission.readOnboardingFirstTaskDecision 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":"server/src/services/onboarding-first-task-admission.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9200d8da942b5e2301664302abc79392f8da8b6c47ffa53641426a4780eca4"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.startAuthorization (cyclomatic 18): paperclip-cloud-connector.createPaperclipCloudConnector.startAuthorization 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"36648bd529a629047b640fa1c70ca893242bb36d4ee74209eacabb7c29da13c3"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.createCurrentUserSecretValue (cyclomatic 18): secrets.secretService.createCurrentUserSecretValue 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":"server/src/services/secrets.ts"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a57aae91c609d4ba1b3f00522e080de27a94cceee29ecfdd833089eecf8d59"}},{"ruleId":"D1","level":"warning","message":{"text":"devices.parseTailscaleDevices (cyclomatic 18): devices.parseTailscaleDevices 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 literals inside it that branch (lines 13, 15). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/tailscale/devices.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bb0c684f9cf5043b7a32bf5a43c56ab2f937ff0077d86b1f1e25bdadbc8005"}},{"ruleId":"D1","level":"warning","message":{"text":"managed-native-credentials.bindManagedNativeCredentialTurn (cyclomatic 18): managed-native-credentials.bindManagedNativeCredentialTurn has cyclomatic complexity 18 (threshold 15). Of this number, 10 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":"server/src/services/native-runtime/managed-native-credentials.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b588e6ef6880eef785e719a64d8d8fd257db8df0225bbabb7ebe499ed0188151"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-goals.normalizedPrpGoal (cyclomatic 18): runner-goals.normalizedPrpGoal 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":"server/src/services/runner-goals.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"9267036c574c26e410073c7ec798ea2eef8821048c2babf0972412c4eaa6045d"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-snapshot.attachPreservedWorkspaceSnapshots (cyclomatic 18): workspace-recovery-snapshot.attachPreservedWorkspaceSnapshots has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-snapshot.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d66035d4b471060de06f781dee2635f11f5256aa6c1e6badff47fed4c11b1"}},{"ruleId":"D1","level":"warning","message":{"text":"retry.githubProviderRetry (cyclomatic 18): retry.githubProviderRetry 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":"server/src/services/chat-channels/github/retry.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"441aab4b82e8e04969efdfce1ad2718df0b895a2f66dad5a329f4f520f5d16cd"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.authorizeSession (cyclomatic 18): voice-session-store.voiceSessionStore.authorizeSession 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d771b39de3e355f46288e513b43f96b1e9297812b0851ce291b5eb55eb5c960"}},{"ruleId":"D1","level":"warning","message":{"text":"owner-gone-attestation.confirmOwnerGone (cyclomatic 18): owner-gone-attestation.confirmOwnerGone has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 102). 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":"server/src/services/recovery/owner-gone-attestation.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ea50d4e8313b9f30d083d3faf948ebf346bd601518f2d99cdfbeb032ed2169"}},{"ruleId":"D1","level":"warning","message":{"text":"project-workspace-provider.resolveProjectWorkspaceProvider (cyclomatic 18): project-workspace-provider.resolveProjectWorkspaceProvider 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":"server/src/services/project-workspace-provider.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f295ae4466246da74b166b14fead99971583f56f891578f99434cce74e8e3edd"}},{"ruleId":"D1","level":"warning","message":{"text":"resource-memberships.resourceMembershipService.updateAgent (cyclomatic 18): resource-memberships.resourceMembershipService.updateAgent 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":"server/src/services/resource-memberships.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"23daa2e91193335c15b044bc91bda889718bd6ad71182ab33b5d503bb5a748f8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-instruction-authorization.resolveInstructionActor (cyclomatic 18): agent-instruction-authorization.resolveInstructionActor 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":"server/src/services/agent-instruction-authorization.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1371fb014a963b65bfbb3540687a85f4696e46a053fde6b7536e30df5ec15"}},{"ruleId":"D1","level":"warning","message":{"text":"native-controller-recovery.assertNativeRetainedSandboxBinding (cyclomatic 18): native-controller-recovery.assertNativeRetainedSandboxBinding has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: native-controller-recovery.deferNativeControllerRecovery (cyclomatic 26) 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2010358666859d66da853f95ada990c98d9c62ea487c20f974d90a7ed63f6a5f"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-version-retention.skillVersionRetentionService.tick (cyclomatic 18): skill-version-retention.skillVersionRetentionService.tick has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-retention.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b38c137473419d4c50045babd7eed8c5600349c74823511b71bf88d044a2cae"}},{"ruleId":"D1","level":"warning","message":{"text":"work-products.workProductService.update (cyclomatic 18): work-products.workProductService.update 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 one function literal inside it that branches (line 313). 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":"server/src/services/work-products.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"de94976bd0a84f3887d8841f4be3985c4a7d0c009666cffbd06aa590ae54e5c3"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-sync.projectSkillRepositories (cyclomatic 18): skill-source-sync.projectSkillRepositories has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-sync.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e678ebadd6954b77ae9eb5b82326e7a78e4751ce77378c02f216e2a6b7cc72dc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-filesystem-independence.captureAuthorityHistory (cyclomatic 18): native-harness-filesystem-independence.captureAuthorityHistory 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 (native-harness-filesystem-independence.captureAuthorityHistory::visit) 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: native-harness-filesystem-independence.matchingReceipt (cyclomatic 19) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03831827f3eba4f0f807659801bfcdb0bb5e033429af7d17dd21e90af49b1e0"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-validation-diagnostics.readManagedGitInspectionDiagnostic (cyclomatic 18): workspace-validation-diagnostics.readManagedGitInspectionDiagnostic 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":"server/src/services/workspace-validation-diagnostics.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2371d5d91879104eb89527fbe414470e5e15bd471c2a01ca7d579680027574"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease (cyclomatic 18): environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease 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. This shape REPEATS in the file: 2 other methods here (environment-runtime.createSandboxEnvironmentDriver, environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30643ec09954a13da4905048e8d933df3da9d53aa8e091521079763685c8ddb"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner-selection.resolvePiRunnerConfig (cyclomatic 18): agent-runner-selection.resolvePiRunnerConfig has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"07774016e53ccb5a5b02fb08102ee252d7b159b6ac6771c4490956a0636ed21b"}},{"ruleId":"D1","level":"warning","message":{"text":"budgets.flushBudgetEvaluationWorkPage (cyclomatic 18): budgets.flushBudgetEvaluationWorkPage has cyclomatic complexity 18 (threshold 15). Of this number, 9 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":"server/src/services/budgets.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e8b2b292680413c6cf0d01be5df173ff5e305dd98e6e4120ec5121f21c825c"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-use.browserUseService.credentials (cyclomatic 18): browser-use.browserUseService.credentials 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":"server/src/services/browser-use.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3441dc4c775d6ebccbc801ba530b09c3b53d5b716bdf799bbdbbf1805ba13ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-run-publications.enqueueChatRunLifecycleMilestones (cyclomatic 18): chat-run-publications.enqueueChatRunLifecycleMilestones 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d94c8c2b1dff404839fe32279a0e00b68d6bb82a4546a4d3eef0123f5b8c096"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.buildRemoteHeaders (cyclomatic 18): tool-gateway.createToolGatewayService.buildRemoteHeaders 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d5c509cc1cb6e527e67f26717f3f5195a94cdd9252eb6aa5b1f63b5d869edd"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.insertNamedGatewayToken (cyclomatic 18): tool-gateway.createToolGatewayService.insertNamedGatewayToken has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":8748}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c12c22a1a73d6f1ce1fef4a754978f1605d91b823e4538246cc63204df3770"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.getTestCallStatus (cyclomatic 18): tool-gateway.createToolGatewayService.getTestCallStatus 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12171}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e67cf46ca18e1e537a8c08b5e35ac800659cfc561dcc3cfbf8025b5902e1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E::ancestor (cyclomatic 18): github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E::ancestor has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd67dfb61c2a9debc86dd431c1c2175a634b4b05ff598af44430162594d8984"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.runTaskDirectoryFolderWork (cyclomatic 18): execution-workspaces.executionWorkspaceService.runTaskDirectoryFolderWork 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"febe14dd1d38fccf61ef3e409b5f356c1cf29567594a6b9b2f1198b7f55a5dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.terminalWorkspaceWorkSettled (cyclomatic 18): execution-workspaces.executionWorkspaceService.terminalWorkspaceWorkSettled 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e960fe96c7de3cbe159ffff3fef688676993c5a0b6a518879a967e33861234b"}},{"ruleId":"D1","level":"warning","message":{"text":"routine-run-status.syncLockedRoutineRunStatusForIssue (cyclomatic 18): routine-run-status.syncLockedRoutineRunStatusForIssue 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":"server/src/services/routine-run-status.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b49c6f2137855762266fb72714d4b15210998842c12c34d7098ee39f3babc74"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-probe.retireAgentDirectoryTransferScratch (cyclomatic 18): agent-directory-probe.retireAgentDirectoryTransferScratch has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3467dbf6e29e3cde35f6445ca305f2669d745acd27a33b10abcc6535c450ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-tools-token.verifyRuntimeToolsToken (cyclomatic 18): runtime-tools-token.verifyRuntimeToolsToken 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":"server/src/runtime-tools-token.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"46760daf514c1d653581186241e1caef93b8e8418fd8b63e78a2464ff68b2b91"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.enrichWakeContextSnapshot (cyclomatic 18): run-preparation.enrichWakeContextSnapshot 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"45809d6526f57e10f796ae4e946df8bb1bc36ad6b363cb4bc59f962d21ec617f"}},{"ruleId":"D1","level":"warning","message":{"text":"stranded-notice.buildStrandedRecoveryEscalationNotice (cyclomatic 18): stranded-notice.buildStrandedRecoveryEscalationNotice 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":"server/src/services/recovery/stranded-notice.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33d9d319fdab6ddd47579091d74ffe030fa8093a4c4c2e300b2fe62326230e3"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-invariant.pendingIntent (cyclomatic 18): assigned-work-invariant.pendingIntent 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6127c907233f9da42e862a67ec5c050c903f0893c8e94833b79a031ffe2957"}},{"ruleId":"D1","level":"warning","message":{"text":"process.createProcessAdapter.cleanupRunProcess (cyclomatic 18): process.createProcessAdapter.cleanupRunProcess 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":"server/src/modules/active-run-watchdog/adapters/process.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f80d9514195052fa2712a65491b8633c3b6dd2f415f6b46bf2fadfdcaa7be52"}},{"ruleId":"D1","level":"warning","message":{"text":"native-observed-workspace-preservation.pinFailedObservedWorkspace (cyclomatic 18): native-observed-workspace-preservation.pinFailedObservedWorkspace 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 161). 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. This is NOT this file\u0027s highest cyclomatic complexity: native-observed-workspace-preservation.matchesObserved (cyclomatic 29) 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":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c74f6aca09dfeff1a04dce1d21087f2cde593d54795d4684b878d8e255bafbc"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-files.createRemoteWorkspaceFiles.open (cyclomatic 18): remote-workspace-files.createRemoteWorkspaceFiles.open has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: remote-workspace-files.parseFileEntry (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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3837c939d283f96dcbe132164cb48eead7a10b3d2cd2528ac9c16e740307d2"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery.requestWorkspaceRecovery (cyclomatic 18): workspace-recovery.requestWorkspaceRecovery 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 164). 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85907911612971c2708199dbaaea8d8af8a207c8ae984b358c3e48e9da402d7"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-skill-preservation.rehydratePreservedRuntimeSkill (cyclomatic 18): runtime-skill-preservation.rehydratePreservedRuntimeSkill 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 3 function literals inside it that branch (lines 240, 251, 252). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd8fb25520265345317cd2cd0734b74daeb97b8ca057b240cb5d562845fe712"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-context.materializeAsset (cyclomatic 18): runtime-context.materializeAsset 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 108, 98, 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":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ddfa6b66c36c1e6fdc580d42a8f1d4e7f8539598ba02ba5c7a299a035d1f4d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-interaction-bridge.applyNativeAttentionStatusDecision (cyclomatic 18): native-interaction-bridge.applyNativeAttentionStatusDecision 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 one function literal inside it that branches (line 79). 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb99a7ea556d136ff3e294f294e1b5c0d9b92f5c1f0977a7022787e869a448f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-interaction-bridge.routePersistedNativeResultAttention (cyclomatic 18): native-interaction-bridge.routePersistedNativeResultAttention has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce886db72e68f8dbdbaa8da4e9e64e3604a0586662d3bb7a636d5fac79c5299"}},{"ruleId":"D1","level":"warning","message":{"text":"native-retired-backup-source.retiredSourceAuthorizesNativeBackupRestore (cyclomatic 18): native-retired-backup-source.retiredSourceAuthorizesNativeBackupRestore 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":"server/src/services/native-runtime/native-retired-backup-source.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b922f4067ce26274fe4a7f99d3f1f599fee1621ac46cc8f221cb687a0f8eaf1"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-session.aiConnectionSessionCompatibilityInputs (cyclomatic 18): ai-connection-session.aiConnectionSessionCompatibilityInputs 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-session.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a187736adba79b42640b345f939c928eb90691715ec8578b726a9d8862ae992"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-policy-bootstrap.parseExecutionPolicyBootstrapEnv (cyclomatic 18): execution-policy-bootstrap.parseExecutionPolicyBootstrapEnv 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":"server/src/services/execution-policy-bootstrap.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"10388efa1abbe52f374b8837f6be5ef813d85c00bc63d466b15ac5bdb746573a"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-workspace-seed.describeRetainedPriorWorkspace (cyclomatic 18): fresh-workspace-seed.describeRetainedPriorWorkspace 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":"server/src/services/fresh-workspace-seed.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"853ccf6d87d4a31d2e30b45f77eb1e5f48758f8c34c49db6da1dd2b2420725f0"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-preparation.prepareHeartbeatWorkspaceLocked::bindIssueToPersistedExecutionWorkspace (cyclomatic 18): workspace-preparation.prepareHeartbeatWorkspaceLocked::bindIssueToPersistedExecutionWorkspace has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (workspace-preparation.prepareHeartbeatWorkspaceLocked) 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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2a74c506deaa7ac9a27b80713b07ac589f83ee90e53da93104706f6e8731bc"}},{"ruleId":"D1","level":"warning","message":{"text":"native-usage-accounting.normalizeNativeUsage (cyclomatic 18): native-usage-accounting.normalizeNativeUsage has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"45193b129ab6fe02610a540887365edbfe45a15168b6df88e518efb24fce7f09"}},{"ruleId":"D1","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.nativePreDispatchFailureResult (cyclomatic 18): run-completion.createHeartbeatRunCompletion.nativePreDispatchFailureResult 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18c1786f5f631a51e4c436a789fa938a9433a616810e09610fa6bdae864870e"}},{"ruleId":"D1","level":"warning","message":{"text":"task-watchdogs.taskWatchdogService.readIdleSchedule (cyclomatic 18): task-watchdogs.taskWatchdogService.readIdleSchedule 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b6e3262849816710d88c2165b66acd99ed097f128cca3c2cc912ec280c1be5"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-client.createSlackSetupClient.api (cyclomatic 18): provider-client.createSlackSetupClient.api 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":"server/src/services/connectors/slack/setup/provider-client.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed7099614acd0f76226086c2390d65a9b8128ce5a688daa2f59789d8fbfcdc"}},{"ruleId":"D1","level":"warning","message":{"text":"completion.createSlackCompletion.sendSetupMessage (cyclomatic 18): completion.createSlackCompletion.sendSetupMessage 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":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf90a0e680d9d8712fba7db18c758a97c1224c62eb9b5c6db332ba72ea2a05"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-effects.createProviderEffects.processProviderEffect::processClaimedEffect (cyclomatic 18): provider-effects.createProviderEffects.processProviderEffect::processClaimedEffect 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5e3fc564029fe2ea09be53a6fe9a6fbd29c51719b58927963e1681f92a487f"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-management.githubChatManagementService.saveConfiguration (cyclomatic 18): chat-github-management.githubChatManagementService.saveConfiguration has cyclomatic complexity 18 (threshold 15). 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 147, 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d489c1a4e1e1bb180ac92b96d105b856a9d3324eef9ad2ef0c36e49d1e3ea97"}},{"ruleId":"D1","level":"warning","message":{"text":"outbound-attachments.createOutboundAttachments.publicationFiles (cyclomatic 18): outbound-attachments.createOutboundAttachments.publicationFiles has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 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":"server/src/services/chat-channels/outbound-attachments.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"994972d3ab490ce3ab9706051c6805e9985787fc28f44382761d58168e0e3acd"}},{"ruleId":"D1","level":"warning","message":{"text":"task-retry-authorization.createGitHubTaskRetryBatchAuthority.authorizeGitHubTaskRetryBatch (cyclomatic 18): task-retry-authorization.createGitHubTaskRetryBatchAuthority.authorizeGitHubTaskRetryBatch has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5019fa3d0af102c3741ec665f5a9da554072262fdf8802a169450ae9dac763b"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-transfers.teamsFileTransferService.resolveInTransaction (cyclomatic 18): chat-teams-file-transfers.teamsFileTransferService.resolveInTransaction 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd7a7f763f897abc6099e5147cf941984d81c1214c77675f0da92918b42bb93"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-provider-links.chatProviderConversationUrl (cyclomatic 18): chat-provider-links.chatProviderConversationUrl 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d77c7bfc7d6ef17b38a9e2f77f577ada834f8fff005beede8f1a30afe1fb5a"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-board-messages.mirrorSlackBoardComment (cyclomatic 18): slack-board-messages.mirrorSlackBoardComment 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":"server/src/services/slack-board-messages.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0019bcac3744280103b9512aa55a780e303d5646d5b9069e7fc058c96f5c65"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-question-forms.retainDiscordQuestionFormCorrection (cyclomatic 18): chat-discord-question-forms.retainDiscordQuestionFormCorrection 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":"server/src/services/chat-discord-question-forms.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4560fd9f53331e9810fb2ba381e71cec5d1000dad886d0082bafdca4c78ea64"}},{"ruleId":"D1","level":"warning","message":{"text":"callbacks.createChatInteractionCallbacks.denyExternalAction (cyclomatic 18): callbacks.createChatInteractionCallbacks.denyExternalAction has cyclomatic complexity 18 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1799b3a83e165bea03391df7b0c77c7cf6133300a9ca81ae687d6e30d2dae971"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-slack-sessions.setSlackSessionStatus (cyclomatic 18): chat-slack-sessions.setSlackSessionStatus 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":"server/src/services/chat-slack-sessions.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f60991cb50a1c1e0c5037aabdd81a499c5e711881d1a6e3896dec0b77b4be0f"}},{"ruleId":"D1","level":"warning","message":{"text":"default-access.createCatalogDefaultAccess.upsertAskFirstPolicies (cyclomatic 18): default-access.createCatalogDefaultAccess.upsertAskFirstPolicies 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7623d11107316e50c2aa79d4b9ba993f433ecf1a5621fc281cc4023d5fe8b7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.aggregatorDiscoveryState (cyclomatic 18): aggregator-accounts.createAggregatorAccounts.aggregatorDiscoveryState 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d72196555ac5598234cfe5b631e7cd56b6c4e6114bf5cd50216e1bbe993e4d8"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.discoverAggregatorInventory (cyclomatic 18): aggregator-accounts.createAggregatorAccounts.discoverAggregatorInventory has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0193d5c0097f883153a8614302dcfdf557aeed7bc4511c77d9de6acd6740cc6f"}},{"ruleId":"D1","level":"warning","message":{"text":"health.createToolRuntimeHealth.runtimeHealth (cyclomatic 18): health.createToolRuntimeHealth.runtimeHealth 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 10 function literals inside it that branch (lines 283, 303, 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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c29b4e91c3e463b33f15b5c8464276d15084f3eb26c4ca19d79e917ab3162d3"}},{"ruleId":"D1","level":"warning","message":{"text":"review-queue.createToolActionReviewQueue.listActionRequests (cyclomatic 18): review-queue.createToolActionReviewQueue.listActionRequests has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/activity/review-queue.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78e39da0e36f27e107737c1b3a43e13abf5843fe67dc8f927e16f9eaeae7c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-profile-entry-validation.assertProfileEntryInputs (cyclomatic 18): tool-profile-entry-validation.assertProfileEntryInputs 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":"server/src/services/tool-profile-entry-validation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8ea9da70abbbfbd4ea999143f30c057bbe381159048bbdd571baabe67fb4d9"}},{"ruleId":"D1","level":"warning","message":{"text":"git-restore-point.scanChangedPaths (cyclomatic 18): git-restore-point.scanChangedPaths 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e19bfdab3b078b122b00c4ed5b53740dd1d12b65a751e8344298984afd884f"}},{"ruleId":"D1","level":"warning","message":{"text":"native-failed-workspace-recovery.registerCancelledWorkspacePreservationWork::check (cyclomatic 18): native-failed-workspace-recovery.registerCancelledWorkspacePreservationWork::check 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6480679f27e915b14e0ab7941fc73873ccf72ff9b6aa720b9f395cdc976f56f0"}},{"ruleId":"D1","level":"warning","message":{"text":"native-codex-runner.resolveRemotePaperclipRunnerBinary (cyclomatic 18): native-codex-runner.resolveRemotePaperclipRunnerBinary 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0c266715440002719507f93225a95ddc3d05b496be1d718d24d1121ef2e181"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.prepareRemoteExternalRunner.prepare (cyclomatic 18): native-session-executor.prepareRemoteExternalRunner.prepare has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d62289c911020842142886c3690e0d981ca3a0e38ec968a699d50fb49a15a1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRemoteNativeArtifactPreparation.verifyRemoteRunner (cyclomatic 18): native-session-executor.createRemoteNativeArtifactPreparation.verifyRemoteRunner 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18934}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb46181fe22fea214d841ee9be3a9f0c3d6f02533e77530eae2540146e8effa"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.terminalExplicitBlockersByRoot (cyclomatic 18): issues.terminalExplicitBlockersByRoot has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42bc48d0ab5e6bf79c882adc1262f6cf59ca453b5b0bebb298c4a63b61dfaa8"}},{"ruleId":"D1","level":"warning","message":{"text":"muse-identity.museIdentity.authenticate (cyclomatic 18): muse-identity.museIdentity.authenticate 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":"server/src/services/muse-identity.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df34bbb43b29f78375d7fad3cec01ee4560ad868adef1ce1430ef4b9ccc0851"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-principal-http.dotPrincipalControlRoutes (cyclomatic 18): cloud-principal-http.dotPrincipalControlRoutes 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 63). 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":"server/src/modules/external-agents/cloud-principal-http.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1258c8d97d1619fda0936c678e70ae33c02622e936510fe48edc074abf290360"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-profile-avatar.setAgentProfileAvatar (cyclomatic 18): agent-profile-avatar.setAgentProfileAvatar 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 43). 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":"server/src/services/agent-profile-avatar.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"96abd136b14f9e971cf58fecac21a15ca0084765e35c0fcf2a8715bbfa4cdd02"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.pair (cyclomatic 18): dot.createBroker.pair 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 one function literal inside it that branches (line 128). 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cf0ba297897f7774203695eb08c5d1fae5cea2fed524fc914fcef6281dff0a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-restart-recovery.nativeProviderProcessIdentities (cyclomatic 18): native-restart-recovery.nativeProviderProcessIdentities 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6a2e7a18e4fa9a4ffa5c69e449db9b485e4141f54885ec8aa8e2f9f1318abb"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-recovery-attachments.retainedRecoveryAttachmentProvenance (cyclomatic 18): remote-workspace-recovery-attachments.retainedRecoveryAttachmentProvenance 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"104560050a3d228821cf8c846afb5f32c7bc5b690dc37640e16ba3ea97e87054"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-retained-orphan-settlement.heldBy (cyclomatic 18): environment-retained-orphan-settlement.heldBy 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":"server/src/services/environment-retained-orphan-settlement.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad5f592a323eed03ef4ebf9c9607d1499ce6ca5fb1344b5ae7971abfb6b5d9d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-checkpoint.nativeRunnerCheckpointRemoteBootstrapEvidence (cyclomatic 18): native-runner-checkpoint.nativeRunnerCheckpointRemoteBootstrapEvidence 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578160a9abe3cc1f55d266d81aca6dfe19027b2b984f4e2e6e9687a9f1442fe"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.pluginLauncherDeclarationSchema (cyclomatic 18): plugin.pluginLauncherDeclarationSchema 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/shared/src/validators/plugin.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7cdf390fe1fb70ce77c4b7fcd490e0a42a38da4557306456b6eb910ab15e42"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-search.scoreConnectionSearch (cyclomatic 18): connection-search.scoreConnectionSearch 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/shared/src/connection-search.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a2031cc58c26fdd45d0fb4ffc398dcb0cc6d9b67e60470bb4791922b9bc971"}},{"ruleId":"D1","level":"warning","message":{"text":"patch-antigravity-runtime.antigravityParSection (cyclomatic 18): patch-antigravity-runtime.antigravityParSection 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/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fabeaff66efdf0f23a900d22dd374d7ddd514144a08bd94080cffa79b62bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"materialize-antigravity-distribution.ownedDirectory (cyclomatic 18): materialize-antigravity-distribution.ownedDirectory 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff83bbc9325195246e5ab46fbdd6cc7cc26effe25c9733d8db034558d3d137f"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudSession.#readObservedRun (cyclomatic 18): CursorCloudSession.#readObservedRun 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ac60ada62a65954b3d521919bf6d6f44e602570e1c5cdd51cc79b0c6aed8fc"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-metadata-probe.validateCopilotMetadata (cyclomatic 18): copilot-metadata-probe.validateCopilotMetadata 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/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a6e1a288f1ea77a53fde839e2a726b91c0569f66485c1e638c682497095eba"}},{"ruleId":"D1","level":"warning","message":{"text":"live-projection.providerActivityItem (cyclomatic 18): live-projection.providerActivityItem 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f472252a067d411c14e9169661727b3be299f82b4588578cf88ed476ba31a0e4"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.reconcileExpiredExtensionReceipt (cyclomatic 18): CapabilitySemanticToolRuntime.reconcileExpiredExtensionReceipt 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa90649ffde4df06e1a8d4c996cfdff662a6a2c52f93e563a5ab600968cd2b"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.#snapshotProjection (cyclomatic 18): CapabilitySemanticToolRuntime.#snapshotProjection has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 3 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0323f2d8e84aee5d0a6b81fa1808348e232d41ff04a2d5dec44e08c144896a"}},{"ruleId":"D1","level":"warning","message":{"text":"capability-eval-suite.runCase (cyclomatic 18): capability-eval-suite.runCase 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/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed031d88803db1c8076c551c9c5edf9c03d059caac435bca2d9c83018e1936"}},{"ruleId":"D1","level":"warning","message":{"text":"PiTurnUsage.accept (cyclomatic 18): PiTurnUsage.accept has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"87013fea38cbef9a5b9516b92a5cd706435266587a307ea305e87a9594aeef72"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-runtime-extension.piMcpToolError (cyclomatic 18): pi-runtime-extension.piMcpToolError 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4595cae207e9cd3b1397faaff8c5c2788ef2c41436419c996244913e8b3a6d2f"}},{"ruleId":"D1","level":"warning","message":{"text":"compatibility.assertPaperclipRunnerEvalCompatibility (cyclomatic 18): compatibility.assertPaperclipRunnerEvalCompatibility 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/paperclip-runner/src/evals/compatibility.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd6ce66e7936dbacfbeca7bd2ef0bf6cd37c425a0d44e522f9a12d926919f5c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-runtime.goalFromEvent (cyclomatic 18): native-session-runtime.goalFromEvent has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between 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: native-session-runtime.governedWaitFollowUpMayStartFresh (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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cd5532027e808d28a96130ebaff777cbef3023c7e3c74f3c4d11d1c12cdffa"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector.Inspector (cyclomatic 18): inspector.Inspector has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/react/inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"34365dfd723ea0a08d622e0a927b19f1a27e52d0a8a992d05af5418e57557c6f"}},{"ruleId":"D1","level":"warning","message":{"text":"app.SpaceRowMenu (cyclomatic 18): app.SpaceRowMenu has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (handleArchive, handleRefresh, a function literal at line 2819, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b440cc927397a54b42a924a04b098e58ca99f8df1c61c16e266658ee98dc850c"}},{"ruleId":"D1","level":"warning","message":{"text":"app.LintPanelContent (cyclomatic 18): app.LintPanelContent 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4589}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f02834e23333ea327b92690f550b4bbc5a3f2bbd08468deb8faf9b465896fc"}},{"ruleId":"D1","level":"warning","message":{"text":"core.startWikiQuerySession (cyclomatic 18): core.startWikiQuerySession 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 3906). 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b430f666e7ad3515d2e98de04a871a67ae99d2fd4f736d417c15972e711717"}},{"ruleId":"D1","level":"warning","message":{"text":"lease-lifecycle.checkLeaseResumable (cyclomatic 18): lease-lifecycle.checkLeaseResumable 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/plugins/sandbox-providers/kubernetes/src/lease-lifecycle.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eaaa2b698555c06814e82d690b721fe8bebb6375bc11ea243d1fecad6a321a"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-creation-cleanup.readEnvironmentAcquisitionDiagnostic (cyclomatic 18): environment-creation-cleanup.readEnvironmentAcquisitionDiagnostic 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/plugins/sdk/src/environment-creation-cleanup.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"daacec871d11414e6d9a9ded866cda0766465b46c6e6ab6fb579ecb90e8f1baa"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-tasks.parseEnvironmentTaskResult (cyclomatic 18): environment-tasks.parseEnvironmentTaskResult 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/plugins/sdk/src/environment-tasks.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e4bdb9d8c2f9229910cf1a90c3884e6d24bdf857b56403cb19ab9418bb8fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog-builder.readReferencedSkillDescriptor (cyclomatic 18): catalog-builder.readReferencedSkillDescriptor 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81f8c575b5d731d6077c596d80319a0c4dc7a800e7f8d8a34d38e61234ea41a"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-queues.decisionQueueService.materializeSeedSources (cyclomatic 18): decision-queues.decisionQueueService.materializeSeedSources has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecd25c9311b4685c6ede482eca319b2b851afeb7bb79c5636095e9997e04675"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration.readSessionIdentity (cyclomatic 18): native-harness-backup-expiration.readSessionIdentity 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cc0081f2926cfa6e104f25535502cb8071980cb5bc0bce768725b48a6871e6"}},{"ruleId":"D1","level":"warning","message":{"text":"company-search.companySearchService.search (cyclomatic 18): company-search.companySearchService.search 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. This shape REPEATS in the file: one other method here (company-search.companySearchService.search::fetchIssueSearchData) 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":"server/src/services/company-search.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"03012bd27b92209def6b54c8b7c7ae2dcf77caf283e0902c849534bee61d81ba"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback.buildClaudeTraceFiles (cyclomatic 18): feedback.buildClaudeTraceFiles 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":"server/src/services/feedback.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c69babb13eb011bc2bc6f10e61e7dd3889d7fc2df948baf6b1b244c860e45e"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.extractPortableScopedEnvInputs (cyclomatic 18): company-portability.extractPortableScopedEnvInputs has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: company-portability.isSensitiveEnvKey (cyclomatic 26) 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":"server/src/services/company-portability.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b22abd3a70ae3f8d7f133646c749d8d2d5713a3ffb7f0494b42ae3ae57d8af"}},{"ruleId":"D1","level":"warning","message":{"text":"teams-catalog.collectCatalogTeamSkillPreparations (cyclomatic 18): teams-catalog.collectCatalogTeamSkillPreparations 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"8306fba6394ee5ef45aff64b4687486ae591f172186cdb1bf4c634a9a7e2ee83"}},{"ruleId":"D1","level":"warning","message":{"text":"slack-tools.slackToolRoutes (cyclomatic 18): slack-tools.slackToolRoutes 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 8 function items inside it that branch (a function literal at line 141, a function literal at line 97, a function literal at line 43, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/slack-tools.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd3ad8725c2ce01ed4aee3f2cf8c3047507d32c52efe26d03d86974be026401"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-trace-workspace-diff-reprojection.projectCodexWorkspaceDiffsFromTrace (cyclomatic 18): provider-trace-workspace-diff-reprojection.projectCodexWorkspaceDiffsFromTrace 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":"server/src/services/provider-trace-workspace-diff-reprojection.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ee952dd40073257220c30cee1739695bdcba34f8af5c65c324ac2578dd901"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime-service-authz.assertAgentCanManageRuntimeServicesForWorkspace (cyclomatic 18): workspace-runtime-service-authz.assertAgentCanManageRuntimeServicesForWorkspace 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":"server/src/routes/workspace-runtime-service-authz.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461148e20a489c2bc3b6acb9e8b82f1929332b15fb8a9ae35f998817ff90546"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-owner-recovery.confirmRetainedCopybackOwnerStop (cyclomatic 18): native-workspace-owner-recovery.confirmRetainedCopybackOwnerStop 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":"server/src/services/native-runtime/native-workspace-owner-recovery.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"002d207599b852c05ae01172fad53566e01e8bc87d017ae9c6d3cba4244ec2cd"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.coordinateIssueListGet (cyclomatic 18): issues.coordinateIssueListGet has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e12f9495c46394f9705bc355b33ec97ab3a6e77c1cc019701d1726c423bb9ef"}},{"ruleId":"D1","level":"warning","message":{"text":"onboarding-seed.onboardingSeedService.applyWithin (cyclomatic 18): onboarding-seed.onboardingSeedService.applyWithin 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":"server/src/services/onboarding-seed.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58c0be29769e0c5c1ad7402fa5fbc1f6b35f48f321cd16e90ef626bc44f3238"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access.toolAccessRoutes::describeConnectionCapabilities (cyclomatic 18): tool-access.toolAccessRoutes::describeConnectionCapabilities 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 (tool-access.toolAccessRoutes::handlePaperclipCloudConnectorCallback) 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":"server/src/routes/tool-access.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7056cc230e9949317b5b5da08dabd5e4b280baa9e7ca6871aa831c0ef9f8b899"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-scheduled-work.readIdleRoutineSchedule (cyclomatic 18): idle-scheduled-work.readIdleRoutineSchedule 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":"server/src/services/idle-scheduled-work.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3607f00559f7da26bdf9fdb4d9547d6aedfb5e269de835ec59f47a557648aaec"}},{"ruleId":"D1","level":"warning","message":{"text":"access.listAvailableSkills (cyclomatic 18): access.listAvailableSkills 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":"server/src/routes/access.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3646e6d6a77f3988c11535d1f0cef3d4026f2180200605bf598c4d6f193fe942"}},{"ruleId":"D1","level":"warning","message":{"text":"access.isPrivateOrReservedIpv6 (cyclomatic 18): access.isPrivateOrReservedIpv6 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":"server/src/routes/access.ts"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79ec7f73bbe716277d1ce6ea8a130640e59aba857d1171e1229a928b56d52a6"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-dev-watcher.resolvePluginWatchTargets (cyclomatic 18): plugin-dev-watcher.resolvePluginWatchTargets 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 (addRuntimeFilesFromDir, addWatchTarget, a function literal at line 133). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-dev-watcher.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fcc2741804e668ffcb3ea380b3855840fe513be030eb8c620addee2b620563"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-task-list-projection.assertPerformance (cyclomatic 18): benchmark-task-list-projection.assertPerformance has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-task-list-projection.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3c43aaad745fde05f51240e0e155b60c9d69fae2a0477d0bc0fca0cca620c6"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-tree.requiresOnlineOrdinarySource (cyclomatic 18): remote-workspace-migration-tree.requiresOnlineOrdinarySource 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3ec46b997344c50450a039fefb65817bb47962de1dcfe815050581a0a9a8ed"}},{"ruleId":"D1","level":"warning","message":{"text":"approval-queue-seeding-work.approvalQueueSeedingService.sweep (cyclomatic 18): approval-queue-seeding-work.approvalQueueSeedingService.sweep 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":"server/src/services/approval-queue-seeding-work.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c6feb91dd5ea8ac2d21e1d94dd97fbf021d204eab8d1f128f7f01957bf816b"}},{"ruleId":"D1","level":"warning","message":{"text":"qualify-cloud-configuration.runCloudConfigurationQualification (cyclomatic 18): qualify-cloud-configuration.runCloudConfigurationQualification 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":"server/src/qualify-cloud-configuration.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4041738f055ff65f9a3bdabf203a62f8f3416a501710d9d91b0289d099bac784"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-parser.looksLikeWorkspacePath (cyclomatic 18): workspace-file-parser.looksLikeWorkspacePath 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":"ui/src/lib/workspace-file-parser.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5abbbe5203297c498b46f485d38553110faae2650279da8dac82137629849"}},{"ruleId":"D1","level":"warning","message":{"text":"DevRestartBanner.DevRestartBanner (cyclomatic 18): DevRestartBanner.DevRestartBanner 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":"ui/src/components/DevRestartBanner.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"593791440701521d07edb44aeb3ea54a60849ec839ed742fca63a4d07d518ae7"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportsToPicker.ReportsToPicker (cyclomatic 18): ReportsToPicker.ReportsToPicker has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ReportsToPicker.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8135232224b73728beec1b691d464fc3348f0f1d986c219a4f0d88acc00faa"}},{"ruleId":"D1","level":"warning","message":{"text":"app-connect-policy.canEnterAppsConnect (cyclomatic 18): app-connect-policy.canEnterAppsConnect 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":"ui/src/pages/apps/app-connect-policy.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"91162ebcdd8eb0e472ef452581b1d1f74b7bcbe358fc59b8f8e101599de430b1"}},{"ruleId":"D1","level":"warning","message":{"text":"DispositionRecoveryNotice.readDispositionRecoverySnapshot (cyclomatic 18): DispositionRecoveryNotice.readDispositionRecoverySnapshot 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"576da9726d033fee960e20317573ee75de9903709a9052d41bef9808eedfa810"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-queued-comment-queue.startingQueuedCommentIds (cyclomatic 18): issue-queued-comment-queue.startingQueuedCommentIds 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 3 function literals inside it that branch (lines 25, 16, 19). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8c430f264a5ec80d51cf0b81704275be9adbee688de5259418817211283f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"run-log-chunks.applyRetentionBudget (cyclomatic 18): run-log-chunks.applyRetentionBudget 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":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"03384de5b63cd437c8fe6282ddc5055da9029ff2a04adce0decaf8256a5cb195"}},{"ruleId":"D1","level":"warning","message":{"text":"transcriptPresentation.summarizeToolInput (cyclomatic 18): transcriptPresentation.summarizeToolInput 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":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b63a014dae72bb5b8f010ab387eb7782a912ab75c6bfb7ba4d6b3ba22c69e9"}},{"ruleId":"D1","level":"warning","message":{"text":"transcriptPresentation.describeToolInput (cyclomatic 18): transcriptPresentation.describeToolInput has cyclomatic complexity 18 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"26012e7ebee5286051d42cacfe2263fbcaf7e3a302acf39c72d79645cb45f26c"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-chat-messages.runDurationLabel (cyclomatic 18): issue-chat-messages.runDurationLabel 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fa6971b4d47f6ff3195f4b5843c6c8428763102a92fa23d2246ff632dc110e"}},{"ruleId":"D1","level":"warning","message":{"text":"property-picker.PropertyPicker (cyclomatic 18): property-picker.PropertyPicker 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":"ui/src/components/issue-properties/property-picker.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fbfabeb5666b58d57f711add47c51ded1b3a9c2c65352ccebd8eef357d5940"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskAttachmentPanel.TextAttachmentPreview (cyclomatic 18): TaskAttachmentPanel.TextAttachmentPreview 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":"ui/src/components/task-side-panel/TaskAttachmentPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98475a99e392a3b1fbf66c1f85fd37c4a3eeb274a98f493a2723c22754479e9"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactFileChip.ArtifactFileChip (cyclomatic 18): ArtifactFileChip.ArtifactFileChip has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ArtifactFileChip.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"74707a71b61d7000dfe75ef5217e0f942a1a4323b825417417988b03fb7910c8"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatThinking.TaskChatThinking (cyclomatic 18): TaskChatThinking.TaskChatThinking 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":"ui/src/components/task-chat/TaskChatThinking.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d02074cbf0e1b4d2504fa556352c916b32c6ab0c6fd68f0d0a0fe0b52de1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-events.runResultEntry (cyclomatic 18): native-run-events.runResultEntry 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa8e88f27f55b0b2260b2a8536cb8e83eb7e2e1a7743e5cf50349001c5fc52"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditFeed.AuditRow (cyclomatic 18): AuditFeed.AuditRow 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4b5326ec08f29be450352dd65d069fd8af1e8ffabd4fbc61d8476ba3fa3f8c"}},{"ruleId":"D1","level":"warning","message":{"text":"RunWorkspaceSourceInspection.recordedFailure (cyclomatic 18): RunWorkspaceSourceInspection.recordedFailure 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":"ui/src/components/RunWorkspaceSourceInspection.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50d3c6becb1ad90420265936b75a7e0f1d5d23f83140aacb6e00f36a802e5ac"}},{"ruleId":"D1","level":"warning","message":{"text":"live-run-event.liveRunEvent (cyclomatic 18): live-run-event.liveRunEvent 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":"ui/src/lib/live-run-event.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea7cc1adf233c99373ec3de2d403acf544a672cc78a35ef64960e38956cd624"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.RunListItem (cyclomatic 18): AgentDetail.RunListItem 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35a75ea24a5932d577f11f25cb9faa4f80ab90164715ceb1a200fe307cf1838"}},{"ruleId":"D1","level":"warning","message":{"text":"Approvals.Approvals (cyclomatic 18): Approvals.Approvals 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Approvals.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b6cf08c413787f34286faa6c3c4bb14f6303d9615a7764f434c127d6a0f26d"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnSlackAppSetup.OwnSlackAppSetup::create (cyclomatic 18): OwnSlackAppSetup.OwnSlackAppSetup::create 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. This shape REPEATS in the file: one other method here (OwnSlackAppSetup.OwnSlackAppSetup) 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37acce20453ed67354511d8d4ecb06a064741abfd48d011731f14490041f443"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillSources.DisconnectSourceDialog (cyclomatic 18): SkillSources.DisconnectSourceDialog has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2bc99129da926b4441d95dd7899aea9b0432b89230023d26d79653a28ddaf0"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportFromVaultDialog.ReviewStep (cyclomatic 18): ImportFromVaultDialog.ReviewStep has cyclomatic complexity 18 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"186bb97bd2493b1fe5586b5afc9a7258c796f995c09a9f26d9d020c66cf8854a"}},{"ruleId":"D1","level":"warning","message":{"text":"Secrets.SecretEventsTab (cyclomatic 18): Secrets.SecretEventsTab 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 4942, userLabel, a function literal at line 4910, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d33536311e79a7d9a327549db019566bbc9ea52b1164f07cd185d4098d3ac58"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutineTriggerCard.RoutineTriggerCard (cyclomatic 18): RoutineTriggerCard.RoutineTriggerCard 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":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfea77a3a424707cd0af9777afbf0ea9909e779cfb1e97f1344e308c7a665d2"}},{"ruleId":"D1","level":"warning","message":{"text":"CaseFieldsPanel.CaseFieldValue (cyclomatic 18): CaseFieldsPanel.CaseFieldValue has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CaseFieldsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a194e739bc61a8367143d92a82d8cb6d00424a2987a11207b7edcccfb3f21432"}},{"ruleId":"D1","level":"warning","message":{"text":"CaseRevisionRail.CaseRevisionRail (cyclomatic 18): CaseRevisionRail.CaseRevisionRail has cyclomatic complexity 18 (threshold 15). Of this number, 11 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":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d7937560018c0ca7175d9c7ab4b2f2a355bcc4e486e2190c7a2e098fe73045"}},{"ruleId":"D1","level":"warning","message":{"text":"CommentThread.TimelineList (cyclomatic 18): CommentThread.TimelineList 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 one function literal inside it that branches (line 594). 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5ca8597022e2c0d41443bbbc86c39d2f9e80b20016c593dd186af12f755df3"}},{"ruleId":"D1","level":"warning","message":{"text":"useTaskRowBudget.useTaskRowBudget (cyclomatic 18): useTaskRowBudget.useTaskRowBudget 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 33, 24, 18, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskRowBudget.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"42841f2da05d582ed96a30a8deca6e1237ce7fd26a4d67e6a6046381af174ad6"}},{"ruleId":"D1","level":"warning","message":{"text":"CaseHandoffHistory.HandoffRow (cyclomatic 18): CaseHandoffHistory.HandoffRow 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":"ui/src/components/cases/CaseHandoffHistory.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cb526fe14567ff8a4f5b7744beabff5c26c10f9f56abab98cd3ff13631708"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentWorkPanels.AgentTasksPanel (cyclomatic 18): AgentWorkPanels.AgentTasksPanel 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 3 function literals inside it that branch (lines 192, 139, 184). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/AgentWorkPanels.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"196400d1ae6dbf8f0527bccc4483c397718cabf5abc63b922e7bb4d7bfe410eb"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsUsingSkillDialog.AgentsUsingSkillDialog (cyclomatic 18): AgentsUsingSkillDialog.AgentsUsingSkillDialog 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 6 function items inside it that branch (a function literal at line 168, a function literal at line 158, a function literal at line 203, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f8b956f5bc416ed9d4303e0909e88dce85cb079e4356fec761552ee60bc536"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetupFlow.validEnrollmentAccessState (cyclomatic 18): ConnectionSetupFlow.validEnrollmentAccessState 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d63a09b4ebeebb7b9e03f1d9288d94ef154576985b3bb66e2f64b824de41349"}},{"ruleId":"D1","level":"warning","message":{"text":"new-agent-adapters.isNewAgentAdapterAllowed (cyclomatic 18): new-agent-adapters.isNewAgentAdapterAllowed 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":"ui/src/lib/new-agent-adapters.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"974cd65e708d9e7701edbf9065b2b6379e13ce29bd83860944a30f8fbba18919"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-controller.createVoiceSessionController.notify (cyclomatic 18): voice-session-controller.createVoiceSessionController.notify 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":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9436e32f9ab9151676474e19c155510ede235d17ede6bce8bc22389dc8fca829"}},{"ruleId":"D1","level":"warning","message":{"text":"ButtonSpecimen.ButtonSpecimen (cyclomatic 18): ButtonSpecimen.ButtonSpecimen has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"ui/storybook/support/design-proposals/ButtonSpecimen.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"610d2edf0c1f3706bc289591247d777a553e69a731f25ffc48d4b5bb8ac0a16f"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.migrate_input_receipts (cyclomatic 18): Client.migrate_input_receipts 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":"server/src/services/scripts/v9/client.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafd742bc76641c217a467395cdaaae280420ca1a3571b004fa9b92c4d4a494c"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxSidecarTransport::start_for_agent (cyclomatic 18): AcpxSidecarTransport::start_for_agent 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. This is NOT this file\u0027s highest cyclomatic complexity: paperclip_runner_core::acpx_sidecar_transport::response_error_classification (cyclomatic 77) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddff09033250638fd429c41a3be47977e5f2c8885a2f879df6017d5f0a9b479"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::start_compaction_turn (cyclomatic 18): CodexProvider::start_compaction_turn 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acaf3353777d3216c2478af73533927e725422dca3102c7b60f2558b0be933f"}},{"ruleId":"D1","level":"warning","message":{"text":"DurableState::enqueue_event_with_source_event_id (cyclomatic 18): DurableState::enqueue_event_with_source_event_id 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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d1b103e3994614b3be964c66cdf4e0f87bd8ab3dca294d0e9a616c8ad7a717"}},{"ruleId":"D1","level":"warning","message":{"text":"State::validate (cyclomatic 18): State::validate 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/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a3dfcc5f8901e9ebfd4919657077c3eff90e681c052a07c76977ebe386f581"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::aws_agentcore_provider::restored_usage_snapshot (cyclomatic 18): paperclip_runner_core::aws_agentcore_provider::restored_usage_snapshot 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":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"11424ffbe34d096e79893b7855bd7b88a59f269540b34439ef550c7e7520ac81"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-acpx-sidecar::bootstrap_success (cyclomatic 18): paperclip_runner_core::bin::fake-acpx-sidecar::bootstrap_success has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec9827bc9eae438b2edd6335ab7a8361be60f8e762682b52e1014caaf40f7c3"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets-check.secretsCheck (cyclomatic 17): secrets-check.secretsCheck 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":"cli/src/checks/secrets-check.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b70e90c90e84b7baba29b380163430c08f6b24af80ea42f0f21b6a09bf0259c"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run.heartbeatRun::handleEvent (cyclomatic 17): heartbeat-run.heartbeatRun::handleEvent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (heartbeat-run.heartbeatRun, heartbeat-run.heartbeatRun::printAdapterInvoke) 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c580f841d593771f5fa670cf3d27a88c90351a157e86d65679cdf86e07af6ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.quarantineSeededWorktreeExecutionState (cyclomatic 17): worktree.quarantineSeededWorktreeExecutionState 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 1288). 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a59dc34f50a73d247728010cbe9ec8cd5039b15588389092107d0988c4335b3"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.inspectVerifiedSeedDatabase (cyclomatic 17): worktree.inspectVerifiedSeedDatabase 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3256f3965945efdf99f2ca0a19e25f2e2a3b83f482fe12a0eeb513ec23efa26"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.worktreeMergeHistoryCommand (cyclomatic 17): worktree.worktreeMergeHistoryCommand 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cceb9ccdd86af5256c5f900c215f229609c21cffcc16659c09d4c47bfb7de5"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree.worktreeRepairCommand (cyclomatic 17): worktree.worktreeRepairCommand 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4280d2bbe6d1b4cd45c3617fe1c96948f95e1dc84b7e628233c245384163b09"}},{"ruleId":"D1","level":"warning","message":{"text":"server.server (cyclomatic 17): server.server 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":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba138b982ac184d6e1ff231f88f0c06894736373834aa2dd8d33a1c07930923e"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-diagnostics.gitFailureKind (cyclomatic 17): workspace-restore-diagnostics.gitFailureKind 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a066f254f301b0ede618bed346875b7d8fa76c208eb15868927c5f6063761856"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.normalizeAdapterExecutionTargetSessionIdentity (cyclomatic 17): execution-target.normalizeAdapterExecutionTargetSessionIdentity has cyclomatic complexity 17 (threshold 15). Of this number, 13 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":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec1ca2b9c586ad01b5d43f0680875f0e0fb7178bc1a00245c88d05d7001c3b0"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.prepareGitHubExecutionEnvironment (cyclomatic 17): execution-target.prepareGitHubExecutionEnvironment 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"4719c751f7277bc2b2d53d8d635752086107497357c91c9e30c9fb06c5d28c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"ssh.spawnText (cyclomatic 17): ssh.spawnText has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 245, 320, 265, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/ssh.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f52b86c0840fb398e1233cfa847df49cde61c4d535cabcc79a24c5c5db08756"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.normalizePaperclipWakePlanReviewThread (cyclomatic 17): server-utils.normalizePaperclipWakePlanReviewThread has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: server-utils.isNormalizedPaperclipExternalChatQuestionResponseTurn (cyclomatic 40) 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88fa3c33bac7ff292488303b5901c9d22016b3a208c3c689fc9e7d3181d2ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-merge.acquireDirectoryMergeLock (cyclomatic 17): workspace-restore-merge.acquireDirectoryMergeLock has cyclomatic complexity 17 (threshold 15). Of this number, 11 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b061cc69d730eb869975e6da4d19661995d4cae146793e1aae82f0495e32f6"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.prepareCodexSkillRuntime (cyclomatic 17): execute.prepareCodexSkillRuntime 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8557831f29a31239143a2a469475be2559ab72ea38965a7165600a9d6f255e"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine (cyclomatic 17): execute.createAcpxEngineExecutor.executeAcpxEngine has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (execute.createAcpxEngineExecutor.executeAcpxEngine::startup, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f5d7e8c26e037474d543b80d96f9e6499070ea49731982a048e2224fdcfef5"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-failure.readConnectionFailure (cyclomatic 17): connection-failure.readConnectionFailure 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/adapter-utils/src/connection-failure.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"feae0a0c6de918c7aeca9a5f3af840d8e6a33e8926244edfa79629b49d9cf5a9"}},{"ruleId":"D1","level":"warning","message":{"text":"acp.probeClaudeAcpSandboxLogin (cyclomatic 17): acp.probeClaudeAcpSandboxLogin 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a89239858444937826a5fb9ea9d2634a8100d13aee615b856ea88e00df2c9"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printCursorCloudEvent (cyclomatic 17): format-event.printCursorCloudEvent 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/adapters/cursor-cloud/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3aa9bc221074ad0e4e04d49d29aaefceab57c3ab1237225c25c8e00e16a63e"}},{"ruleId":"D1","level":"warning","message":{"text":"format-event.printGrokStreamEvent (cyclomatic 17): format-event.printGrokStreamEvent 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/adapters/grok-local/src/cli/format-event.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec47af7e4deec08790120e83929d3ddcdee991c9ecd78a59aaf66628e4fa7d"}},{"ruleId":"D1","level":"warning","message":{"text":"gateway-ui-parser.parseStdoutLine (cyclomatic 17): gateway-ui-parser.parseStdoutLine 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/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcbde75531b2460aeb9249acfa4ce8893f8c19613e86380df596867dcfcb64c"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.consumeEvents (cyclomatic 17): execute.consumeEvents 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce0e996e3f939b2320660d8937cd87eeb8d6bdf3ad137a067bb9aa091facf0"}},{"ruleId":"D1","level":"warning","message":{"text":"build-config.buildPiLocalConfig (cyclomatic 17): build-config.buildPiLocalConfig 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/adapters/pi-local/src/ui/build-config.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d6ad9a9c05c482e4e7720557727e5ea7ef5415191e5c174f1499e7b86e3d5"}},{"ruleId":"D1","level":"warning","message":{"text":"prepared-queries.installPreparedQueries (cyclomatic 17): prepared-queries.installPreparedQueries has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function items inside it that branch (visit, a function literal at line 13, a function literal at line 28). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/db/src/prepared-queries.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95d8f38b9081c280f2cfd3880cccaa33b3114a2fd8e9cda86a94b378b8c6357"}},{"ruleId":"D1","level":"warning","message":{"text":"client.applyPendingMigrationsManually (cyclomatic 17): client.applyPendingMigrationsManually has cyclomatic complexity 17 (threshold 15). Of this number, 12 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/db/src/client.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"40582219aab4180e6ccbe9ad6c40916e0fce846ea5e4abf193b59fdff4b4974b"}},{"ruleId":"D1","level":"warning","message":{"text":"session-reducer.timelineSummary (cyclomatic 17): session-reducer.timelineSummary 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: session-reducer.applyProjection (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/paperclip-runner/src/reducer/session-reducer.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef05bdf44e32dd88425eae35ec0c684783dd91d8864b0796b5f4844e428f241c"}},{"ruleId":"D1","level":"warning","message":{"text":"composer.Composer (cyclomatic 17): composer.Composer has cyclomatic complexity 17 (threshold 15). Of this number, 10 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":"packages/paperclip-runner/devtools/browser/src/components/ui/composer.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5719c584cff0f0dc7c735720c02e23ab278e6c492120b87251ef1d9dc03a12b3"}},{"ruleId":"D1","level":"warning","message":{"text":"redaction.redact (cyclomatic 17): redaction.redact 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/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7a297388ff6b570ef1b52f52d9d05595fa52a65f5eb7afccb4cb06e386ae7"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-file-changes.unifiedHunkFromTexts (cyclomatic 17): tool-file-changes.unifiedHunkFromTexts 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"be59acac47b587bea5bb68202656c29c717752c07d3ed9cfc6ecc5fd1413829a"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-diff.diffPaperclipWorkspace (cyclomatic 17): workspace-diff.diffPaperclipWorkspace 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/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b31c5f36561dfa29090fa31da4d7abf084327753725bcb7a71f9f160cfeb59"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-turn-diff.gitDiffPath (cyclomatic 17): codex-turn-diff.gitDiffPath 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4451cd7bf9e014b17bc39a8aba0e307ba063703eee8d547fa376d5e08dfbf11"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-question-adapter.runtimeRequestKind (cyclomatic 17): codex-question-adapter.runtimeRequestKind 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d2d1fa67f5a74ec685ef70f7f29b61e6c6fb732d5b1c258011514774534658"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-thread-normalization.parseCodexThreadGoal (cyclomatic 17): codex-thread-normalization.parseCodexThreadGoal has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: codex-thread-normalization.isSupportedCodexNotificationMethod (cyclomatic 29) 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/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f761888c21ae7ae48cbcb9c3b68db46138573bd097d981514c8fa3a893858e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAppServerDriver.openSession (cyclomatic 17): CodexAppServerDriver.openSession 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8c9e38e94eab2cdef379693c3ee40b9e7d9f08eb5da1bbcca3c5d44fafcd6"}},{"ruleId":"D1","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.completeRun (cyclomatic 17): CapabilityMockControlPlaneAdapter.completeRun 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec4f2ffdc37400c8c9f862f9619306f51803d693200ca331236f2f355d17cab"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-credentials.acquireCredentialHomeLock (cyclomatic 17): codex-credentials.acquireCredentialHomeLock 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"948ace3374403c5d31b2a6ed930a95ac2f8ea14a0c6f78b8b5b7af9dc22a4721"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-binary.runnerBinaryTarget (cyclomatic 17): runner-binary.runnerBinaryTarget 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/paperclip-runner/src/live/runner-binary.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"630d5c558d3977e3cfef7ccbc08fb60840b1c39fab52d227bd6f627a52f3b312"}},{"ruleId":"D1","level":"warning","message":{"text":"DevtoolsInspector.EvalReportInspector (cyclomatic 17): DevtoolsInspector.EvalReportInspector 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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a14a61cbc03bca72d8de9b3c5880ffecc0f046429ae2f3a81fe22e2674ae16"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.readAttemptControlledEvidence (cyclomatic 17): archive.readAttemptControlledEvidence 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/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82827ffdd98e1951dde1f163bd66d63bd955c542b07768c4dfa365c4c6d70df"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-apps.readMcpAppResource (cyclomatic 17): mcp-apps.readMcpAppResource 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/shared/src/mcp-apps.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d9992c9b90a5227b2f44ee582ff0d80b0e8250734db20407abd2bca8ada065"}},{"ruleId":"D1","level":"warning","message":{"text":"PhotonCloudClient.request (cyclomatic 17): PhotonCloudClient.request 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":"server/src/services/photon/cloud.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b25a8a29c559f02d4fc609a65d0ef796d960ac5e8273a9d7d155f19936cef60"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-http-endpoint-guard.isPrivateOrReservedIpv6 (cyclomatic 17): remote-http-endpoint-guard.isPrivateOrReservedIpv6 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":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d083633250810c1ffc0bed7b421123a9119e164b20fa6a30dae635e9812e3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-http-fetch.sendRequest (cyclomatic 17): remote-http-fetch.sendRequest 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-http-fetch.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"af23b2502eb517482478456750ca21039d66aae94270ed25665a0d9a25395020"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-attachments.githubAttachmentCommentFetch.\u003Creturned closure\u003E (cyclomatic 17): chat-github-attachments.githubAttachmentCommentFetch.\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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8e6d0d513252d6a5d703cd3ce667f6aeeb1d982f7876e2edcfafc032a768bb"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-runtime-identity.cloudRuntimePublicKeyForKid (cyclomatic 17): cloud-runtime-identity.cloudRuntimePublicKeyForKid has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1decc04a4ea1795559b7dabe8b44136f4984505521cc6375d7bac93268ce3dde"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-summary.summarizeHeartbeatRunResultJson (cyclomatic 17): heartbeat-run-summary.summarizeHeartbeatRunResultJson 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4232c5f990cb263223e5e0e5b5f00e078aa6bdbcf8b9fc8a7fa1bfccf603364"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-summary.resolveHeartbeatRunResponse::resolveCompletedUpstreamResponse (cyclomatic 17): heartbeat-run-summary.resolveHeartbeatRunResponse::resolveCompletedUpstreamResponse has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (heartbeat-run-summary.resolveHeartbeatRunResponse) 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa631c9c5538ca007c80409ed92fb493958b7f75c71debead6478f3f8cb11e02"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-recovery-state.nativeRunHasNoWorkspaceAccess (cyclomatic 17): workspace-restore-recovery-state.nativeRunHasNoWorkspaceAccess 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":"server/src/services/workspace-restore-recovery-state.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5c5a748aeadfab9d2fb09cc459f5fe15cdd27106a30c49108a34162b93e662"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.removeSecretUnlocked (cyclomatic 17): secrets.secretService.removeSecretUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":3464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff0b2234bca7454da3838ae33ac44bfaf02f5c42e04fa3f92b0535c7cc22448"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.collectMissingAdapterConfigRuntimeBindings (cyclomatic 17): secrets.secretService.collectMissingAdapterConfigRuntimeBindings has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":5541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2b837f502f84303dc3c2869be777b842c744f02b5d4621a76736c79a29629b"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-runner-credentials.bindAntigravityCredentialTurn (cyclomatic 17): antigravity-runner-credentials.bindAntigravityCredentialTurn 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 7 function items inside it that branch (a function literal at line 326, retryRetirement, retain, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92b7fffeb223146a26a44aecc1319fa11549a99e4daa722c5f23db0b8a6655d"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-request-resolution-authority.canonicalPendingRequest (cyclomatic 17): runtime-request-resolution-authority.canonicalPendingRequest 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":"server/src/services/native-runtime/runtime-request-resolution-authority.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab0e59c56c538cb883e85a19c757cfa2431d33f17b27e4e2adbe5663e7adef7"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeRunCoordinatorStore.claimFinalization (cyclomatic 17): NativeRunCoordinatorStore.claimFinalization 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 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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fb19775fda83e01b2208e0bae4cb92406e9bdf7cdc7642418245f5481097f7"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-credentials.writeConnectionCredential (cyclomatic 17): connection-credentials.writeConnectionCredential 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":"server/src/services/connection-credentials.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdbd1f305246c531b04e0e745b2019d0ea7deb9bb207d523f991008752d7519"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-http.discoverMcpProtocol (cyclomatic 17): mcp-http.discoverMcpProtocol 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":"server/src/services/mcp-http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6215eb9b5c94f21dda351138577b1948139c121411f273df73591e616aaafb97"}},{"ruleId":"D1","level":"warning","message":{"text":"credential-access.createConnectionCredentialAccess.vaultGrantForConnection (cyclomatic 17): credential-access.createConnectionCredentialAccess.vaultGrantForConnection 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":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4320297c5787248a35eb768e33fcf498e191ea36f5ffec4fc8b35a3d20ee594f"}},{"ruleId":"D1","level":"warning","message":{"text":"form-owner.stageSlackFormEnrollment (cyclomatic 17): form-owner.stageSlackFormEnrollment 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a181c186f4a9f302f2b9efe1a558b65c3accc9f78c108cdf5296bc0de5187e2c"}},{"ruleId":"D1","level":"warning","message":{"text":"form-owner.stageSlackFormPublication (cyclomatic 17): form-owner.stageSlackFormPublication 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"344ad8c5187cab3eaaca8c9d6b258a6c83fd9b950856c45d6def1d744631f369"}},{"ruleId":"D1","level":"warning","message":{"text":"speko-call-report.parseSpekoCallReport (cyclomatic 17): speko-call-report.parseSpekoCallReport 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":"server/src/services/voice/speko-call-report.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"271ad4e9f6459f47e674c94f32cc1cc02c6d96e64e76fba36d375b94898e139b"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.authorizeConnection (cyclomatic 17): voice-session-store.voiceSessionStore.authorizeConnection has cyclomatic complexity 17 (threshold 15). Of this number, 13 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aaee6d3121ff4e41c43d6558ec0e8d8b952dc9e2ec633d56e5507a41dbca9c"}},{"ruleId":"D1","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.append (cyclomatic 17): object-byte-journal.createObjectByteJournal.append 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e14768db88c28624d0d025d826ededfd13674c4f099a4a8e585b6d356ae4594"}},{"ruleId":"D1","level":"warning","message":{"text":"completed-turn-cleanup-hold-settlement.decideBlockedStatus (cyclomatic 17): completed-turn-cleanup-hold-settlement.decideBlockedStatus 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":"server/src/services/native-runtime/completed-turn-cleanup-hold-settlement.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13ef0405d4fbcfebb68049444c379c43dc928c7cae064cea3dbd9ce59eb8e5f"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-fresh-workspace.stageProviderFreshWorkspace (cyclomatic 17): provider-fresh-workspace.stageProviderFreshWorkspace 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":"server/src/services/provider-fresh-workspace.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af2c8323f714237c8fd277a0c1a4bf33d84426e84d84936b680d685c22c44ee"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-git-source-roots.readNestedWorkspaceGitSourceRoots::visit (cyclomatic 17): workspace-git-source-roots.readNestedWorkspaceGitSourceRoots::visit 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95f36344e85ca92f39104de25cfddcb61e7463d27a13542b5959a4863351c21"}},{"ruleId":"D1","level":"warning","message":{"text":"git-connection-failure.classifyGitCloneFailure (cyclomatic 17): git-connection-failure.classifyGitCloneFailure 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":"server/src/services/git-connection-failure.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cef86ed3ebd265d778b8fed36f4faac11db695eb4632ec82a3a5d63172b431"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-expiration-locks.lockPaths (cyclomatic 17): git-workspace-expiration-locks.lockPaths has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration-locks.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d67ec5ebd81acff05add12d4d61b7526c8016329aea67a72b91614addbcf86"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.restoreGitCacheBase (cyclomatic 17): git-workspace-restoration.restoreGitCacheBase has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent 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: git-workspace-restoration.readGitCacheRestoration (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e63c3e2cc5bfe5e7af4f282fca4015e273920d58a439ef04b4e1dccf21c6c08"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-review-projection.toolReviewProjectionService.sweep (cyclomatic 17): tool-review-projection.toolReviewProjectionService.sweep 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":"server/src/services/tool-review-projection.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d24b0f3e4d9bb0a932953a2cf42201a95e87bb2f50cc6e699191f2140b02c5d"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connection-usage.grok (cyclomatic 17): ai-connection-usage.grok 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d127a57aae061233c74457780788e10ef7a641a2ae0403f6dca8b429952c278e"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.recoverQuotaCredentialInTransaction (cyclomatic 17): ai-connections.aiConnectionService.recoverQuotaCredentialInTransaction 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":"server/src/services/ai-connections.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18465f875128b7ffbddca980e9c6dd76bb1f80e9f853baec4e85c52fac6953d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-file-store.agentFileStore.write (cyclomatic 17): agent-file-store.agentFileStore.write 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 317). 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"55df80e7410d88601faaa1f5eaeb666b70cb75ba289b22ed1e48a9fd2259b24e"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-custom-images.environmentCustomImageService.finishSetupSession (cyclomatic 17): environment-custom-images.environmentCustomImageService.finishSetupSession 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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb52c351f09a4f29c306bb4b0e8483329fb16658b15bf348f3aaf86fba7a4e08"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync::visit (cyclomatic 17): native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync::visit 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: native-harness-backup-stamp.readNativeHarnessBackupStamp (cyclomatic 19) 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42f2367c4d9a28cc43f1976037c3df5eb8f4230a472a323b242cf3fafaf5b8a"}},{"ruleId":"D1","level":"warning","message":{"text":"github-commit-details.createGitHubCommitDiffDetailsResolver.\u003Creturned closure\u003E (cyclomatic 17): github-commit-details.createGitHubCommitDiffDetailsResolver.\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":"server/src/services/github-commit-details.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1096602091372cf4d9494edffaec1e72cd51902df169340519737650950549a"}},{"ruleId":"D1","level":"warning","message":{"text":"work-products.workProductDiffSummaryFromEventPayload (cyclomatic 17): work-products.workProductDiffSummaryFromEventPayload 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":"server/src/services/work-products.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"001d8bdb59541ab344f9d932921ff749470e81343bd68fb5fa57b57e22bfdff1"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.deriveCanonicalSkillKey (cyclomatic 17): company-skills.deriveCanonicalSkillKey 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: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"4023199de6ab63682617539f70d89825e8455f6afb73cf59bee40be4bd4c3f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.installUpdate (cyclomatic 17): company-skills.companySkillService.installUpdate 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: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4991}}}],"partialFingerprints":{"codehealthFindingId/v1":"958292957aa02c9da99149be8508687e6d82ac7aa5ee3f3fed1edadd6dd11c01"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.withRuntimeSkillEntries (cyclomatic 17): company-skills.companySkillService.withRuntimeSkillEntries 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, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":6110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71f099cb8c97ceef3fbd49f94e0ac0698839eb9ec05f4a2f5e9481fdeb64ac7"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skills.companySkillService.snapshotRemoteImports (cyclomatic 17): company-skills.companySkillService.snapshotRemoteImports 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: company-skills.importedSkillPersistValuesMatchExisting (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":6504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8b3944061df1bdc3dae757c8584185259172ca1bf7f4bde433be9006095ca3"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-source-sync.adoptProjectSkillRepository (cyclomatic 17): skill-source-sync.adoptProjectSkillRepository 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 one function literal inside it that branches (line 62). 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac13740debde4e79e5f16b93b0bfcf153511e08e4ed8b0f4022a0fe70b438f3"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-storage.restoreCurrentNativeHarnessBackup (cyclomatic 17): native-harness-backup-storage.restoreCurrentNativeHarnessBackup 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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b3cb89245ed538728ece5b201d21633ed3e7fc03e540b9315989990e880555"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.recordWorkspaceCommandOperation (cyclomatic 17): workspace-runtime.recordWorkspaceCommandOperation has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 3314). 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e774738bd22290cdc5b2af84aee4789fbbdca693d188b7437b72b14901365a"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-runtime.waitForAllocatedPortBind (cyclomatic 17): workspace-runtime.waitForAllocatedPortBind 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dab1bf0dff678f40f9b1ec8ac5330d659be50cd9d31430d8b742499abb1e6f9"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease (cyclomatic 17): environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (environment-runtime.createSandboxEnvironmentDriver, environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"548197620079237db8ec9cd68b32c3e65414fafe367f63675c8557376f46dc84"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-github-response-comments.githubResponseCommentService.failRun (cyclomatic 17): chat-github-response-comments.githubResponseCommentService.failRun 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 one function item inside it that branches (assertRun). 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c4b939ade480b62e2c4f639dfab81863ffd450c12759c356cd1674ef18a720"}},{"ruleId":"D1","level":"warning","message":{"text":"speko-agent-tools.resolveAuthority (cyclomatic 17): speko-agent-tools.resolveAuthority 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":"server/src/services/voice/speko-agent-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"610c20065dc5472704b278bca73cdb331f91e6cd400dc5e55d1cfba1523a7641"}},{"ruleId":"D1","level":"warning","message":{"text":"deadline-work.registerDeadlineWork (cyclomatic 17): deadline-work.registerDeadlineWork has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 34, 63, 62). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/deadline-work.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f50b7a5427ec0c6993abea9d11dd6d6d5343f4b6a52a219968bdf575cf06c8"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.requestApprovalForRecordedToolCall (cyclomatic 17): tool-gateway.createToolGatewayService.requestApprovalForRecordedToolCall 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"92caabd3604125085589cec1e697159d71183425d07749503e210fd1f8e10542"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.storedMcpTaskContext (cyclomatic 17): tool-gateway.createToolGatewayService.storedMcpTaskContext 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2e561e8ff7339b104b173370863b824804c1d5cf3d886db90d338f8e2e00de"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.assertRecoveryBinding (cyclomatic 17): execution-workspace-repositories.executionWorkspaceRepositoryService.assertRecoveryBinding 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"166ac008d7d10cc7143c7cec189b314b01684e160f5a3b30068d9ba3466d31a9"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.findGitWorktreeContention (cyclomatic 17): execution-workspaces.executionWorkspaceService.findGitWorktreeContention 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d49b6f8d389293a9ded6cf6778144a21e8ed16b7b50201392a3199c62ca947"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces::expireTaskDirectory (cyclomatic 17): execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces::expireTaskDirectory has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces) 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3675}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fafae18e84102fc61ef2e3d0bc8f2ed6a4b791a2ca6089713cb187be5fbe16"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-workspace-continuation.canSelectFreshWorkspace (cyclomatic 17): fresh-workspace-continuation.canSelectFreshWorkspace 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a046190ac345ff4d5484a63c12461d731fe11a33d494b6e5348282931c394824"}},{"ruleId":"D1","level":"warning","message":{"text":"native-pending-effect-work.registerNativePendingEffectWork (cyclomatic 17): native-pending-effect-work.registerNativePendingEffectWork 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 4 function items inside it that branch (a function literal at line 55, load, a function literal at line 53, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-pending-effect-work.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4554245dbcd5229ddeff88a674414bcb8002b30dec33998ed0e788ee448e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-failure-report.isHermesConnectionFailure (cyclomatic 17): run-failure-report.isHermesConnectionFailure 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0525353ac3846124f7088e53a2106604450b2f4ea0b0ab6f4d1e3375f68f388"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-directory-probe.probeAgentDirectory (cyclomatic 17): agent-directory-probe.probeAgentDirectory has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (agent-directory-probe.probeAgentDirectory::walk) 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79daafbe7a37b40272457fbe9d5711ac3987ac22058ecd9839490acfdd786fe"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.gatewayConnectionIds (cyclomatic 17): run-preparation.gatewayConnectionIds 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"41632a5a56fb7f304d14a4558b452f85fae2268e016272d051a8b4483a07fb50"}},{"ruleId":"D1","level":"warning","message":{"text":"queued-run-line.queuedRunDispatchFacts (cyclomatic 17): queued-run-line.queuedRunDispatchFacts 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":"server/src/services/heartbeat/queued-run-line.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac11ba00716cb89e6ed23c8c63c4960612673dc67096358aa284123c9763c2"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-workspace-rehome.deliverPendingRecoveryWakes (cyclomatic 17): legacy-workspace-rehome.deliverPendingRecoveryWakes 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":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e992b0d62e95fee3ad393dad30552c2cdc2ae1b4082d5bb51d1bd4fc169fc95"}},{"ruleId":"D1","level":"warning","message":{"text":"service.classifyAdapterFailureForRecovery (cyclomatic 17): service.classifyAdapterFailureForRecovery 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":"server/src/services/recovery/service.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d062a4c998a1790e5d8f00106a9a48c5996141edeef9a12606af5cc92688a5f3"}},{"ruleId":"D1","level":"warning","message":{"text":"retries.createHeartbeatRetries.retryScheduledRetryNow (cyclomatic 17): retries.createHeartbeatRetries.retryScheduledRetryNow 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2f10c4b9a236c5e2aa7f3c2e320fd7adc917d0223c9272eb448a3a3f31daaf"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestForQueuedAgentSetup (cyclomatic 17): connection-intents.connectionIntentService.requestForQueuedAgentSetup 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe5e8648010248fdda6db3b6f02de6b33689ac60b8e3d42f439058356950e82"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-tree-resume.deliverPendingPage (cyclomatic 17): issue-tree-resume.deliverPendingPage 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":"server/src/services/issue-tree-resume.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"533f3289464bcbda5f3d1932f7b88f1783bae0c0cce71e639a10131bd3a8a2f2"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-execution-target.sandboxLeaseAcquisitionFromMetadata (cyclomatic 17): environment-execution-target.sandboxLeaseAcquisitionFromMetadata 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f58cc16f292805a9eb878c8a888832c94abd03237d6619d4090b63fc887b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.denyReasonForPathSegments (cyclomatic 17): workspace-file-resources.denyReasonForPathSegments 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"444b3c8c6fe100bba91fda59bb89ad86c00f88b218d573fe4c5fdbdd1813b118"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.listCandidates (cyclomatic 17): workspace-file-resources.workspaceFileResourceService.listCandidates 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e53d451b03324d8680c7c321ea3d603c23df11999b5d36357d1fff09d4a7a34"}},{"ruleId":"D1","level":"warning","message":{"text":"case-access.assertActorCanWriteCase (cyclomatic 17): case-access.assertActorCanWriteCase 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":"server/src/services/case-access.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b75437acded6972afbdca1ae4b98e021333b6b3ddbfeac8bc3e5fe5b9f4c4b"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-skill-preservation.preserveRuntimeSkillAssets (cyclomatic 17): runtime-skill-preservation.preserveRuntimeSkillAssets has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3824f02066b9a55b4dd1915b23dc8e1a5231a36bb1a781fa9931d8340942ee0"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-context.rehydratePinnedSkillAssets (cyclomatic 17): runtime-context.rehydratePinnedSkillAssets 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":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f12670f226dc7c121f71f2d99e46e9552d9844a6c19962eb50bbaaca6c654"}},{"ruleId":"D1","level":"warning","message":{"text":"native-lifecycle.resolveHeartbeatNativeLifecyclePolicy (cyclomatic 17): native-lifecycle.resolveHeartbeatNativeLifecyclePolicy 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":"server/src/services/heartbeat/native-lifecycle.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b9b3579b4ff499fdcef71a6aaa7460f4c5201c9f0d440fcf992c1b1929d2be"}},{"ruleId":"D1","level":"warning","message":{"text":"agentmail.executeAgentmailTool (cyclomatic 17): agentmail.executeAgentmailTool 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":"server/src/services/connectors/agentmail.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"39acd589bfa559dad965b6803aeaedffeb0dd99abba3e48d75a9fa05b5c9ac17"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-workspace-seed.materializeFreshWorkspaceSeed (cyclomatic 17): fresh-workspace-seed.materializeFreshWorkspaceSeed has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-seed.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f413054e3d18c2d8e81a02ffc865ada65f94ed7687a14b5c0daeeee70e8f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-log-authority.createRunLogWriterAuthority.\u003Creturned closure\u003E (cyclomatic 17): run-log-authority.createRunLogWriterAuthority.\u003Creturned closure\u003E 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":"server/src/services/heartbeat/run-log-authority.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e90c20de58b0ba633bef23718155c48c6371d7b8de7cac98d003d70a4c871e"}},{"ruleId":"D1","level":"warning","message":{"text":"session-preparation.resolveHeartbeatAdapterSession (cyclomatic 17): session-preparation.resolveHeartbeatAdapterSession 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":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"034c00383676f14e729e3704ebafe1d7ef609325c66ad1de6c859cdc872c820f"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-github-launchers.prepareHeartbeatGitHubLaunchers (cyclomatic 17): heartbeat-github-launchers.prepareHeartbeatGitHubLaunchers 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":"server/src/services/heartbeat-github-launchers.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbca2d9876749ef2c5b8f00d9e81707a14a455582c71b60eff331260f293418f"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-effects.createProviderEffects.finalizeProviderEffectFailure (cyclomatic 17): provider-effects.createProviderEffects.finalizeProviderEffectFailure has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 255). 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64b01ea1f534a3dfc588cee4163a40ecde16adfb40275b1353cfeeb78252e37"}},{"ruleId":"D1","level":"warning","message":{"text":"failed-retry-notices.createFailedRetryNotices.project (cyclomatic 17): failed-retry-notices.createFailedRetryNotices.project has cyclomatic complexity 17 (threshold 15). Of this number, 12 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":"server/src/services/chat-channels/failed-retry-notices.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a01ac15b79204179bfe5545ff65aa73c7ad50cfd2cd41760526d11c7a1a6a1c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-transfers.teamsFileTransferService.canCancelConflict (cyclomatic 17): chat-teams-file-transfers.teamsFileTransferService.canCancelConflict 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e66485c27e796597a4c9ca7190f55fa30fbde58640d755f330e52665695dfc6"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-provider-links.telegramConversationLink (cyclomatic 17): chat-provider-links.telegramConversationLink 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a3863ce483cb689f91b8ef6d11836063a52d4ac3b08ab01f330d6ddfc30c3d"}},{"ruleId":"D1","level":"warning","message":{"text":"endpoints.createChatEndpoints.create (cyclomatic 17): endpoints.createChatEndpoints.create has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad23f4b790a11c738c9d801924cb35220dc4b90a466d086b6075a155d7f464e5"}},{"ruleId":"D1","level":"warning","message":{"text":"continuations.createChatInteractionContinuations.registerInteractionContinuationWork (cyclomatic 17): continuations.createChatInteractionContinuations.registerInteractionContinuationWork has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 514, a function literal at line 511, entry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"654e7f5b4de5b3adaeac49ff4aa9e172fb4c61bebad43da2e56ba840a1f2d1ac"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-app-discovery.discoverArcadeApps (cyclomatic 17): aggregator-app-discovery.discoverArcadeApps 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ef86fcc2e65d8a6ed172140b064cf8295e6faa6925c3f2cc280ee80e59e4a0"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.syncAggregatorApps (cyclomatic 17): aggregator-accounts.createAggregatorAccounts.syncAggregatorApps 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 3 function literals inside it that branch (lines 363, 381, 360). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd377ee9e34d04228db1e9fa5c1f40dc686e1c977d8a96d488a7046b8a49f06a"}},{"ruleId":"D1","level":"warning","message":{"text":"client-registration.createOAuthClientRegistration.ensureOAuthClient (cyclomatic 17): client-registration.createOAuthClientRegistration.ensureOAuthClient has cyclomatic complexity 17 (threshold 15). Of this number, 13 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9392de80b67cfa8bfb04f93644c06d73ba92a8da9a12423e981b16e23387324e"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-transport.command (cyclomatic 17): remote-workspace-transport.command has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8c6a392afc3f63415ceff08b52ad58402e3d0c502121927ed4a3c13bf39928"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByComment (cyclomatic 17): issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByComment 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 literals inside it that branch (lines 4959, 4979). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bce9673e4c3af424ef1e7afb282f05b6f82a86fdbed8ec80758092ffef26a5"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-prp-coordinator.runnerPrpCoordinator.prepare (cyclomatic 17): runner-prp-coordinator.runnerPrpCoordinator.prepare has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-prp-coordinator.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"761db89eb0582ab0fdd8a5cde79795bfdcf6c0f7a55c0b9cf56fdf4caa8be22d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-provider-pack-admission.recordNativeProviderPackAdmissionOnce (cyclomatic 17): native-provider-pack-admission.recordNativeProviderPackAdmissionOnce 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 206). 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":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d4cb87c14c0089d16e54412777bd3a25d251c8a6cf33a4de01b6e127c84f02"}},{"ruleId":"D1","level":"warning","message":{"text":"native-tool-trace.createNativeToolTrace.observe (cyclomatic 17): native-tool-trace.createNativeToolTrace.observe 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":"server/src/services/native-runtime/native-tool-trace.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"970ec1efb98541c63e992008b7ee15f4d76f9aa215fb5580177a7ca3e916a14c"}},{"ruleId":"D1","level":"warning","message":{"text":"retained-provider-pack-source.verifyFileContents (cyclomatic 17): retained-provider-pack-source.verifyFileContents 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 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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e932f34523cab663e742f07e27add9a08672ced2257e5cdd7891f349a77d8"}},{"ruleId":"D1","level":"warning","message":{"text":"board-auth.boardAuthService.approveCliAuthChallenge (cyclomatic 17): board-auth.boardAuthService.approveCliAuthChallenge 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 373). 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":"server/src/services/board-auth.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"397990bc20cb7318f697b9381aeb6b7f151fe0062eb89610c971e3fbcd0c027b"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#withMutationReceipt::mutate (cyclomatic 17): PaperclipRunnerToolAuthority.#withMutationReceipt::mutate 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"c442658bd7336b832b80051eb9107758320622d3ba4a8b8bd633eed1eea2170a"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.assertRetainedNativeSourceArchiveSettled (cyclomatic 17): native-session-executor.assertRetainedNativeSourceArchiveSettled has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4922}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ea3885fbc4777e96f6ac767f870a8cdbe514c43fad1278cf6f81cc89e42bc7"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.stopStaleRemoteRunnerBeforeBootstrap (cyclomatic 17): native-session-executor.stopStaleRemoteRunnerBeforeBootstrap 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7060}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c7c97d152acd59de0702545baa5999bf398d0524243c942630f05e0e340d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.assertRemoteRunnerBuildMetadata (cyclomatic 17): native-session-executor.assertRemoteRunnerBuildMetadata 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: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51c4e9f50ed18565cb251b41bc95c213bfcb601f363a83ba96e7e5cbbd57075"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.prepareRemoteRunner (cyclomatic 17): native-session-executor.createRunnerdBackendWithinSessionClaim.prepareRemoteRunner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3377e3b00dde667f122019a3959c713f1aa8ce9cd717339103de26dc21e76a9"}},{"ruleId":"D1","level":"warning","message":{"text":"task-search.taskSearchCtes (cyclomatic 17): task-search.taskSearchCtes has cyclomatic complexity 17 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-search.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9eb01e6305e596a108c40abab6704fea9567a556eb3324b3e78dff31c2a2d4"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.deriveIssueCommentRunLogAttribution (cyclomatic 17): issues.deriveIssueCommentRunLogAttribution 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":"server/src/services/issues.ts"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ee0ce31cbf851dc8c9682e851e9e514c39a8099448e25a058f433739ab2cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.consent (cyclomatic 17): oauth.createPublicMcpOAuth.consent 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 literals inside it that branch (lines 591, 587). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dc5075de82d017836b4ee9e3afeaa43a71202193ffcf2a3c261e367599bb65"}},{"ruleId":"D1","level":"warning","message":{"text":"file-transfers.createPublicMcpTransfers.authorize (cyclomatic 17): file-transfers.createPublicMcpTransfers.authorize 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":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f3cb5c3cafd3d6a937b030f3d0bc919fbcf420e60a055839a7b577a9701a17"}},{"ruleId":"D1","level":"warning","message":{"text":"wake-admission.createMcpWakeAdmission (cyclomatic 17): wake-admission.createMcpWakeAdmission has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7ee27a72558a618ed3b9570bbc7aac8062a6605957b6e979c7eacf095b87d7"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.isRetiredOwnAllocation (cyclomatic 17): remote-workspaces.isRetiredOwnAllocation 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669d7631b638895c1e71d479e088ec32f44e80d0e5830f9daab6834342339ce"}},{"ruleId":"D1","level":"warning","message":{"text":"protocol-contract.projectAcpxFixture (cyclomatic 17): protocol-contract.projectAcpxFixture 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7f41039d9f0960142b13d3a0c76c9ba2a5491654736f969c400eb170a2faab"}},{"ruleId":"D1","level":"warning","message":{"text":"probe-antigravity-metadata.stopAntigravityMetadataChild (cyclomatic 17): probe-antigravity-metadata.stopAntigravityMetadataChild 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/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5257645c75e5b6c3459a93b30239264c79262628a37d6ee905f867bae8991c0"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-usage.createGrokPromptUsageCollector.observe (cyclomatic 17): grok-usage.createGrokPromptUsageCollector.observe 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/paperclip-runner/src/drivers/acpx/grok-usage.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f40b7f7cd86787042a350cf64426823584f776ac6e1a1dc080ccb661f813e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-auth.verifyAntigravityCredential (cyclomatic 17): antigravity-auth.verifyAntigravityCredential 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e1c4ac8c74dcd0c2a539661e0da2b99fe8bc3aec0ccb6befa7c78729182c50"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-adapter.runtimePort::closeRuntime (cyclomatic 17): acpx-runtime-adapter.runtimePort::closeRuntime has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (acpx-runtime-adapter.runtimePort) 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6ccc5849aacd2f52bf3275d63b6d3b0c67496ea97783cc22f071b7ff45c1be"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudDriver.#open (cyclomatic 17): CursorCloudDriver.#open 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bc869df202a650db81f82511fdf8c7e571be30e22c695f6b47befcded084f3"}},{"ruleId":"D1","level":"warning","message":{"text":"acpx-runtime-sidecar.parseOpenParams (cyclomatic 17): acpx-runtime-sidecar.parseOpenParams 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0900bf12deefecc342193e6f3c724b30d54ef52bd0bcffa8476e7a20654b059"}},{"ruleId":"D1","level":"warning","message":{"text":"control-plane-port.runControlPlanePortConformance (cyclomatic 17): control-plane-port.runControlPlanePortConformance 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/paperclip-runner/src/conformance/control-plane-port.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"461eec1bee99fe477d634c916458a0503a7023635cd80e61a83008dac2ac0624"}},{"ruleId":"D1","level":"warning","message":{"text":"pi-runtime-extension.readPiRuntimeConfiguration.servers (cyclomatic 17): pi-runtime-extension.readPiRuntimeConfiguration.servers 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6433da3feb4f561dfd9aa86b807fd3c05948f2be5f12a54642243d89a812ba50"}},{"ruleId":"D1","level":"warning","message":{"text":"request-card.RequestCard (cyclomatic 17): request-card.RequestCard has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/react/request-card.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eab8ad7890ef8cf273b707fea0f423771b2ecf4b0c8828a6144731f81bf347"}},{"ruleId":"D1","level":"warning","message":{"text":"app.IngestFilesModal (cyclomatic 17): app.IngestFilesModal has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (confirm, a function literal at line 1846, a function literal at line 1841, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"8def97e077bcbc3ac14fc7b11b67d14134dbae1330e779edf08f120d6800b3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"core.validatePaperclipIngestionProfile (cyclomatic 17): core.validatePaperclipIngestionProfile 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dc32a6c82ae8085ef010eb1031f0e809a4a1125c75a8167f53cf46a8734a9e"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.validateArchive (cyclomatic 17): file-sync.validateArchive 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/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b8f2a1c76abdd708951c25fd668977221f20a171b56340ea26dcfb6fb6b834"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.syncOutFileMappings (cyclomatic 17): file-sync.syncOutFileMappings 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 literals inside it that branch (lines 1323, 1272, 1281). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"061437a8947bf3a0c33f83751a8d37865ecdb375c681d528d565ee6f02238cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"file-sync.assertTarballEntriesConfined (cyclomatic 17): file-sync.assertTarballEntriesConfined 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/plugins/sandbox-providers/kubernetes/src/file-sync.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b19e230d02e08ede6fe7bcbabc2f78c3f0753f9a2889632f579535648f6a094"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-provider.parseWorkspaceProviderResult (cyclomatic 17): workspace-provider.parseWorkspaceProviderResult 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/plugins/sdk/src/workspace-provider.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"431231e843df3851ec09ca2d894f3ad54e335c29fb299356dda4995ab26b820a"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog-builder.classifyCatalogFile (cyclomatic 17): catalog-builder.classifyCatalogFile 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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"45333dd8fa649c4784a447f9eead48d06d0a9384a14d6dcf907649a065aee52a"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.enrichAttentionItems (cyclomatic 17): attention.enrichAttentionItems has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 713, 741). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0718e9d59e5717188901044ad2c5ea1466a019327fab5399c4cdb8407e4d998"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.resolveIssueAudienceContextMap (cyclomatic 17): attention.resolveIssueAudienceContextMap 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":"server/src/services/attention.ts"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8796030eaff8951ceeeedbad9c745c9b5a8e03e21e71a3e46d4de0abece859"}},{"ruleId":"D1","level":"warning","message":{"text":"attention.attentionService.transfer (cyclomatic 17): attention.attentionService.transfer 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 one function literal inside it that branches (line 3089). 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":"server/src/services/attention.ts"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"54503a9720be3eae3665c6e6bba13fe67f99ffddd2a6b83cd84214ee4f3e6b33"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-sleep-proof.readIdleMcpSleepProof (cyclomatic 17): idle-sleep-proof.readIdleMcpSleepProof 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":"server/src/services/public-mcp/idle-sleep-proof.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b4af9e0e3caab8ec284a17746d5d88ef832d2b88ff9acd3732f2deeb0dd4d5"}},{"ruleId":"D1","level":"warning","message":{"text":"local-ai-browser-login.startLocalBrowserLogin (cyclomatic 17): local-ai-browser-login.startLocalBrowserLogin has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-browser-login.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723cf94d68e20c511a2d89b4549ae508bf77a9e764f45e5a90ace3fa5a600c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.assertAiConnectionCreateAccess (cyclomatic 17): ai-connections.assertAiConnectionCreateAccess 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":"server/src/routes/ai-connections.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3c8c66144d3b884ee047669eabe4d96cdd94bb493f5419e09cd1ecf6561edf"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-sessions.voiceWebhookRoutes (cyclomatic 17): voice-sessions.voiceWebhookRoutes 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 94, 106). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/voice-sessions.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f7627cabda19d27a8aff3dadec841f380f8310357e5aa830ca62960c8b49dd"}},{"ruleId":"D1","level":"warning","message":{"text":"github-connection-events.githubConnectionEventService.processForCompany (cyclomatic 17): github-connection-events.githubConnectionEventService.processForCompany has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e358a4eedce39db2d7db2d4bca19d876cff37130ebddedfc4dd4d2082eac889"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.readPortableIssueComments (cyclomatic 17): company-portability.readPortableIssueComments 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: company-portability.isSensitiveEnvKey (cyclomatic 26) 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":"server/src/services/company-portability.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"52841120081eeafb1b909cf61e7eaa4c7a2110c8cd9def6126ad7c79d33cc95d"}},{"ruleId":"D1","level":"warning","message":{"text":"grok-bot.grokBotRoutes (cyclomatic 17): grok-bot.grokBotRoutes has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 6 function items inside it that branch (companyScope, scope, a function literal at line 39, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/grok-bot.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d094620263b030adf6237b5f17c66d497686451a20f47855c8ec743ca459ee"}},{"ruleId":"D1","level":"warning","message":{"text":"email.agentmailErrorHandler (cyclomatic 17): email.agentmailErrorHandler 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":"server/src/routes/email.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"352f14817c2de2bd7c4ff5d5c74ed7cde55909aba3e703d3e1f9385999b93d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"company-skill-policy.companySkillPolicyRoutes (cyclomatic 17): company-skill-policy.companySkillPolicyRoutes 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 5 function items inside it that branch (assertCanAdministerPolicy, assertSkillPolicyCompanyAccess, currentPrincipal, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3049ea3d7c515ba724ae2822ea4cadb4cf526448ecd42456c5e45e7023af1abb"}},{"ruleId":"D1","level":"warning","message":{"text":"login-environment.resolveLoginEnvironmentTarget (cyclomatic 17): login-environment.resolveLoginEnvironmentTarget 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":"server/src/services/login-environment.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fdf9241cf6fecd09e3ac2c052481e8de898ed49417f062427ea206a4b79786"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::parseAttachmentRangeHeader (cyclomatic 17): issues.issueRoutes::parseAttachmentRangeHeader has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::assertInReviewReviewPath, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":4746}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda28edb5d5a7dd63051b6dc4c41cc9b58c2d5cfbc3aef969769d338cf4de99"}},{"ruleId":"D1","level":"warning","message":{"text":"case-work-summary.enrichCaseWork (cyclomatic 17): case-work-summary.enrichCaseWork 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 4 function literals inside it that branch (lines 57, 18, 19, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-work-summary.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8421f39f98c72a21fd4320d2307ba7275f3dad7241859bcc6b9ac9e3f5be7eb9"}},{"ruleId":"D1","level":"warning","message":{"text":"announcement-feed.announcementFeedService.asset (cyclomatic 17): announcement-feed.announcementFeedService.asset has cyclomatic complexity 17 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/announcement-feed.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a41760033e625685b439209de79d0b8b3a46487b9c8305ea122225ab7d9494a"}},{"ruleId":"D1","level":"warning","message":{"text":"idle-deadline-proof.composeIdleDeadlineProof (cyclomatic 17): idle-deadline-proof.composeIdleDeadlineProof 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":"server/src/services/idle-deadline-proof.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acd90e1df89c1e8161ea766dea68ff846ac76e5ff19d2f91cae09b4bfe0459f"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-tree.workspaceMigrationLayoutBlockers (cyclomatic 17): remote-workspace-migration-tree.workspaceMigrationLayoutBlockers 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ddd6554c5b8be9ceadd49a7571983d69505428869dd3c7d171c44488fa2bff"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync-retention.retentionBlocker (cyclomatic 17): native-workspace-sync-retention.retentionBlocker 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a6fa4539e47ef26b5ffa99ace6157b87aa38cc33521de2f029fa577d016eee"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarSection.SidebarSectionHeader (cyclomatic 17): SidebarSection.SidebarSectionHeader has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3391304e408202bf248dee43faaf99e192104b152d1668efb278e0fb6665a8"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.classifyError (cyclomatic 17): errors.classifyError 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":"ui/src/api/errors.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc9662f35a7255f31d9bd7ac23a2dffe9ca7f2a8647ecf529eacf88a89306df"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyContext.CompanyProvider (cyclomatic 17): CompanyContext.CompanyProvider has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 163, 150, 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":"ui/src/context/CompanyContext.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b539c3c7259f76d7352d50d2ba5170e1655e83b42dae7d4644240343e1fef8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownEditor.autocompleteOptionMatchesLink (cyclomatic 17): MarkdownEditor.autocompleteOptionMatchesLink 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"96550693a4d5bed4a903a98273c986fe15959139ed47e394d55de3ebfebe58b5"}},{"ruleId":"D1","level":"warning","message":{"text":"useBackgroundSubmitQueue.useBackgroundSubmitQueue.readQueue (cyclomatic 17): useBackgroundSubmitQueue.useBackgroundSubmitQueue.readQueue 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":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9dcdfbebe22bdb2adf2c35b4bd52cbab7b8b1332e92b4168a6cba4d997362d"}},{"ruleId":"D1","level":"warning","message":{"text":"select.SelectPopover (cyclomatic 17): select.SelectPopover 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 5 function literals inside it that branch (lines 89, 69, 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":"ui/src/components/ui/select.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dc5274224a3b1332fc2fdfc950fc9136f301e7a0b5bb5d7ce2d1d39316b7e9"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownUrlLink.MarkdownUrlLink::render (cyclomatic 17): MarkdownUrlLink.MarkdownUrlLink::render 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":"ui/src/components/MarkdownUrlLink.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b3cfc72686fdcd5a9dea43c083ed25139c0c5a62b7ed75d0a30316ece2f0f2"}},{"ruleId":"D1","level":"warning","message":{"text":"AppConnectionSidebar.AppDetailSidebar (cyclomatic 17): AppConnectionSidebar.AppDetailSidebar has cyclomatic complexity 17 (threshold 15). Of this number, 11 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":"ui/src/components/AppConnectionSidebar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f359403238bfe6872a1a01b95bb2619c677043ef0fb32776bf0ffbb61074224"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionPicker.AiConnectionPicker (cyclomatic 17): AiConnectionPicker.AiConnectionPicker has cyclomatic complexity 17 (threshold 15). Of this number, 12 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":"ui/src/components/ai-connections/AiConnectionPicker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"374fe96e1bf74d4bb8d393c86c63acf649ccca155e9128da23b8b6927c59db39"}},{"ruleId":"D1","level":"warning","message":{"text":"proposal-review.ApproveDialog (cyclomatic 17): proposal-review.ApproveDialog 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":"ui/src/pages/secrets/proposal-review.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1e8e78fa866ae4d5eb03ac3ed14d24555b1c750e60b73753839787f811d71f"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizard (cyclomatic 17): OnboardingWizard.OnboardingWizard has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 376, 421, 303, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fa96d060dc50c0d01473f199e099cb6d672bd4daa9edb6f80853dc89afee61"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::handleKeyDown (cyclomatic 17): OnboardingWizard.OnboardingWizardInner::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. This shape REPEATS in the file: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e34077a302de5d33d7aeffcd0035cadce17d12aaf3b65bfc16898e6989c26"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatLab.useStreamingReplay (cyclomatic 17): TaskChatLab.useStreamingReplay 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 6 function literals inside it that branch (lines 77, 119, 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":"ui/src/pages/TaskChatLab.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"382bc73dec463af8a31eab257e7f14b569dce77eef075ff6e8cf180487fe7f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueFilterPanel.IssueFilterPanel (cyclomatic 17): IssueFilterPanel.IssueFilterPanel 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":"ui/src/components/IssueFilterPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048de74dfcb45c3fcb32ae69b760ada1d4d09b5b58173a76b96601d767feaf4"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyInbox.FailedRunInboxRow (cyclomatic 17): LegacyInbox.FailedRunInboxRow 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"126e77704a749c6250bc9ceb0e9cb8ddea17527f7e86ff05312d781bfee6e90d"}},{"ruleId":"D1","level":"warning","message":{"text":"EmailMessageCard.EmailMessageCard (cyclomatic 17): EmailMessageCard.EmailMessageCard 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":"ui/src/components/EmailMessageCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ad79cd0402f7a8b9edd84151cd696650c039699a36ca7139c89808a48c6c9"}},{"ruleId":"D1","level":"warning","message":{"text":"image-resources.imagePreparationReceiptIds (cyclomatic 17): image-resources.imagePreparationReceiptIds 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":"ui/src/components/task-chat/image-resources.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef947d76d728cc3aa83d0328fe4072f937a66e2d5f55b6096b80d49769d87ddc"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning-summary.reasoningSummarySections (cyclomatic 17): reasoning-summary.reasoningSummarySections 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":"ui/src/components/task-chat/reasoning-summary.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db5432435f9d6e320010e7943d301cd196e8e3707c3e8c8e2e0c54e0ddaa63b"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatProtocolCard.WorkspaceChangeFileRow (cyclomatic 17): TaskChatProtocolCard.WorkspaceChangeFileRow 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdab8484934167e7e91531d86f4df4076cf72ae99ae4bcf2eb51d20738e1b16"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.paperclipRunnerAcceptedResponseWake (cyclomatic 17): transcript-adapter.paperclipRunnerAcceptedResponseWake has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"d280f2bd9a451d9b2abc10a1f5c15c1d76f028064d251640138ec9e7111f0c78"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.ExpiredRequestConfirmationActivity (cyclomatic 17): IssueChatThread.ExpiredRequestConfirmationActivity 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"915927aafb0476dc6e3d4dfe6e46aca64494cd43ffb8dc9bd4e6ed4e59f389de"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatThread.semanticProgressCommentIds (cyclomatic 17): TaskChatThread.semanticProgressCommentIds 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"7091d9ccf79be6d4a71fc48c475107c822a6d55f0ccf2d7eab74ee4536421da2"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageGalleryModal.ImageGalleryModal (cyclomatic 17): ImageGalleryModal.ImageGalleryModal 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 5 function literals inside it that branch (lines 62, 74, 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":"ui/src/components/ImageGalleryModal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c22eb5a0ca4ac077cfac3d407777946c3978194b2fc2e75cef7d253cdb2458"}},{"ruleId":"D1","level":"warning","message":{"text":"SidePanelFrame.SidePanelFrame (cyclomatic 17): SidePanelFrame.SidePanelFrame 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":"ui/src/components/side-panel/SidePanelFrame.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e238b69b1e3f97b447827dcacb655e5420716d8616ebe1f5731740a50b96b943"}},{"ruleId":"D1","level":"warning","message":{"text":"SidePanelTabs.SidePanelTabs (cyclomatic 17): SidePanelTabs.SidePanelTabs has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SidePanelTabs.SidePanelTabs::handleKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9cbe56537dec0e36399101d5b759bf6440ed7a0b8410d8572648459d19dead"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueRunLedger.stopReasonLabel (cyclomatic 17): IssueRunLedger.stopReasonLabel 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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"075a4af100584832344820147070d75f4dd2f84efef6c92897540cc9fa01e6b9"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatTurnHandoff.TaskChatTurnHandoff (cyclomatic 17): TaskChatTurnHandoff.TaskChatTurnHandoff has cyclomatic complexity 17 (threshold 15). Of this number, 12 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":"ui/src/components/task-chat/TaskChatTurnHandoff.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4ea8477bc81c705b73b63c4920f35d9c2b29ad66b291c58663cf6963270a82"}},{"ruleId":"D1","level":"warning","message":{"text":"Agents.OrgTreeNode (cyclomatic 17): Agents.OrgTreeNode 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ef982cb007c5870ba17fd8b74234cb4e07f43091d7fa3029b5798b70f1453"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSkillRow.AgentSkillRow (cyclomatic 17): AgentSkillRow.AgentSkillRow has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-skills/AgentSkillRow.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed627d5d6b470d1ea25794df5ecf8a5de8dbb8e19462611329c5c2a8ae71b270"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTree.FileTree::handleRowKeyDown (cyclomatic 17): FileTree.FileTree::handleRowKeyDown 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":"ui/src/components/FileTree.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38b5c903d1381e7897b0e0b61fa8bffad962e12883075469e57f59c57013b92"}},{"ruleId":"D1","level":"warning","message":{"text":"RunTranscriptView.summarizeToolInput (cyclomatic 17): RunTranscriptView.summarizeToolInput 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c42a5f8a84c510e61c22a3a7fb390564da395b745d85280c61d331fe37898d6"}},{"ruleId":"D1","level":"warning","message":{"text":"TailscaleDeviceSignIn.TailscaleDeviceSignIn (cyclomatic 17): TailscaleDeviceSignIn.TailscaleDeviceSignIn 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/TailscaleDeviceSignIn.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbe46a38fd587a0ba415858eae7032efcd16444812a8b611c9ac7dfcee833c5"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedPanel.ReconnectCard (cyclomatic 17): AdvancedPanel.ReconnectCard has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba1cd2750a5b2be1a2de0ca1185912187e009a381551a507af1b18e85592a82"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.ProjectSkillBrowser (cyclomatic 17): ImportSkillsFromProjectDialog.ProjectSkillBrowser has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 874, 833, 851, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb8f2c5b137ec937a594bbb1d600fe97f608b6a1da4a6c2f3bf4548ae9e9b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Agents.production.OrgTreeNode (cyclomatic 17): Agents.production.OrgTreeNode 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73a53578cd2813a11bfbe42abe6a04534a86527f2f926529b72a7e227cda1bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleEditor.ScheduleEditor (cyclomatic 17): ScheduleEditor.ScheduleEditor has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7ffe0fa7a04e6175d9b49c053c93c31e23d7c8dedb3b508fd8dedbbaa93b72"}},{"ruleId":"D1","level":"warning","message":{"text":"editable-sections.production.TriggersSection (cyclomatic 17): editable-sections.production.TriggersSection has cyclomatic complexity 17 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe22b6e38dbb0b119b6e298b32ce30d54cd526e9d5d3fed13332ccf3cb1ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"ExcerptSheet.ExcerptSheet (cyclomatic 17): ExcerptSheet.ExcerptSheet has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/ExcerptSheet.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ab6678ff2ac584871fa2ad906aacc705ddb41ad32a232588df58c439f0fd7e"}},{"ruleId":"D1","level":"warning","message":{"text":"excerpt.documentExcerpt (cyclomatic 17): excerpt.documentExcerpt 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":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d67b2774f23d78114cb91e53b970e258a794b95aeb12e67e5e8526921db1fa"}},{"ruleId":"D1","level":"warning","message":{"text":"excerpt.documentExcerpt (cyclomatic 17): excerpt.documentExcerpt 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":"ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c89f96d685578c35e1b7dd3fd2af2323a414dd1c2eaeb6c2207598aab3b47"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactsPanel.ArtifactsPanel (cyclomatic 17): ArtifactsPanel.ArtifactsPanel has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 173, 185, 139). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"365eeaa67f45bc6ff2f736d67c33200a418410fce81d6eeb3fc84584218696db"}},{"ruleId":"D1","level":"warning","message":{"text":"BuiltInAgentGate.BuiltInAgentGate (cyclomatic 17): BuiltInAgentGate.BuiltInAgentGate has cyclomatic complexity 17 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BuiltInAgentGate.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fecb0674bcc6cf417a9e02d356ad1b7a888fa817b91018f06c7669075d37d50"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskList.TaskList::renderBranch (cyclomatic 17): TaskList.TaskList::renderBranch 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":"ui/src/components/TaskList.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"78315909f22e5470c88515c1b5c745161efa668887ac08133c17fc3d88f990c6"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceAccessCard.WorkspaceAccessCard (cyclomatic 17): WorkspaceAccessCard.WorkspaceAccessCard 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":"ui/src/components/WorkspaceAccessCard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e477897393dcfa9992308c124f02f03ec24e8a45fc9d446c2dd26b28dabe7ef2"}},{"ruleId":"D1","level":"warning","message":{"text":"SpekoIncomingCalls.SpekoIncomingCallCard (cyclomatic 17): SpekoIncomingCalls.SpekoIncomingCallCard has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/voice/SpekoIncomingCalls.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac8de09264f2cf40f082372651f0e398d8164ad5e4a435e9b5a85d2cdaf4a6a"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditTab.AuditTab (cyclomatic 17): AuditTab.AuditTab 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"218b9a74fa57d08a6a688f7b66845462446b6cd359aa6512996f602190b5fb51"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionSetup.ConnectionSetup::connect (cyclomatic 17): ConnectionSetup.ConnectionSetup::connect has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ConnectionSetup.ConnectionSetup) 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3ee0cbe00a72bc097264b23e526b43070e6d4c7da438f41cb75ae204ad2ff4"}},{"ruleId":"D1","level":"warning","message":{"text":"client.http (cyclomatic 17): client.http 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":"server/src/services/scripts/v2/client.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e55df8a9a9afc572aed50c78d32ca0d0db5f5f1613bb02285f161f7eb222f7"}},{"ruleId":"D1","level":"warning","message":{"text":"AcpxProviderDescriptor::validate_session (cyclomatic 17): AcpxProviderDescriptor::validate_session 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d58ecf4176566e5faca51565cf674132d046e3ef170dda2b63e1ced1d45eef"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeManagedProvider::fetch_final_usage (cyclomatic 17): ClaudeManagedProvider::fetch_final_usage 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/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f635bcff41115a865bcd0e7ec216c07bff49de2791b7eb50c8a70c08cb7af7f6"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::set_goal (cyclomatic 17): CodexProvider::set_goal 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"218cd1d2bc0687eda2da36fd697fb4842b6eb4b3347e914c6a56aff413bd4090"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexProvider::request_classified_until (cyclomatic 17): CodexProvider::request_classified_until 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":3970}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c7fd5f5eaebb38b7514e62e14458fa195f12d56f2d2d028f799e0e1ee8f95c"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerTransportEndpoint::open (cyclomatic 17): RunnerTransportEndpoint::open 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/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9f446387efb3de08e545653619c10ed25c2ba945b5a7b737b24b3b3df88437"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeProviderCommandExecutor::execute (cyclomatic 17): NativeProviderCommandExecutor::execute 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/paperclip-runner/runner/crates/runner-core/src/native_provider_backend.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4a8e537b85e7bcad7c9760820a7fb6dd51bf3d7da60aa263f3cf6b85ca9371"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::fake_harness::run_fake_harness (cyclomatic 17): paperclip_runner_core::fake_harness::run_fake_harness has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/fake_harness.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc64eea267487891cc0238aa13d9997cd65d21dc672b92119c05534fe7a12324"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::managed_provider_backend::valid_agentcore_usage_snapshot (cyclomatic 17): paperclip_runner_core::managed_provider_backend::valid_agentcore_usage_snapshot has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a1b666151f2c71b650017274ac0c08b7aef89d2f389ce168e1933e9d979732"}},{"ruleId":"D1","level":"warning","message":{"text":"update.compareVersions (cyclomatic 16): update.compareVersions 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":"cli/src/commands/update.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fc5adb82c4f39afce336b790a044cf46fbad2712c71c46346df9b03289ec25"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-snapshot-thread.runSnapshotThread (cyclomatic 16): workspace-snapshot-thread.runSnapshotThread 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named 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/adapter-utils/src/workspace-snapshot-thread.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"977cee4beeff2952a08f4d5a8b18da55294fe10af2dc4ce7be3882a9b72b1c42"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-git-stream.runWorkspaceGitProcess (cyclomatic 16): workspace-git-stream.runWorkspaceGitProcess 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 2 function items inside it that branch (collect, terminate). 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/adapter-utils/src/workspace-git-stream.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"278b0cd89dea6476d529352678d04268ddd490538d11212114f06f07e8a7975b"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-callback-bridge.createFileSystemSandboxCallbackBridgeQueueClient.writeResponseFile (cyclomatic 16): sandbox-callback-bridge.createFileSystemSandboxCallbackBridgeQueueClient.writeResponseFile 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ec80343c1f7d746f9c9b96a72802884d3dbd879f84407a512870cad656651f"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-target.maybeRunSandboxInstallCommand (cyclomatic 16): execution-target.maybeRunSandboxInstallCommand 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcf1cbfb69d1caf814468941b1380dd01862bebb929c366396706038ae698be"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-seed-cache.cachedGenerations (cyclomatic 16): workspace-seed-cache.cachedGenerations 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e3f7ee16346bbc4febbfb24bc06ad0c9e2ea84703ddc8327d89496a846a4de"}},{"ruleId":"D1","level":"warning","message":{"text":"command-redaction.collectDiagnosticEnvironmentSecrets (cyclomatic 16): command-redaction.collectDiagnosticEnvironmentSecrets 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/adapter-utils/src/command-redaction.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdd4917a8ee7ec12ba4acede28d6639c6ff52bd208519c359a9931144b9ac88"}},{"ruleId":"D1","level":"warning","message":{"text":"server-utils.readPaperclipSkillSyncPreference (cyclomatic 16): server-utils.readPaperclipSkillSyncPreference 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 4257). 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. This is NOT this file\u0027s highest cyclomatic complexity: server-utils.isNormalizedPaperclipExternalChatQuestionResponseTurn (cyclomatic 40) 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42787cfe4586ab9cc17334b885b48689e3470a5775f9f69b7e870449de4627f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-observability-home.prepareAcpxCodexObservabilityHome (cyclomatic 16): codex-observability-home.prepareAcpxCodexObservabilityHome 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 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/adapter-utils/src/codex-observability-home.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb360c153aa1ac851ef05ba6d904df8ab9609c0d0b416d753cb36b1ea65692cb"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-session-failure.sanitizeTerminalSessionFailure (cyclomatic 16): terminal-session-failure.sanitizeTerminalSessionFailure 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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d46a0b5667c3534f1263f199ddb34a6d6c681bef534a7957679e323db042e9"}},{"ruleId":"D1","level":"warning","message":{"text":"run-site-sandbox.createSandboxRunSite.placeWorkspace (cyclomatic 16): run-site-sandbox.createSandboxRunSite.placeWorkspace has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 249, 286). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f72fee9690bb6749479b2f141309f43527a1fbd4271f70de899dfdfea7e8e6"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.buildPrompt (cyclomatic 16): execute.buildPrompt 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3008f4ec9548b8ff3cdd94e4742a55aba5dd02902d4502d953d41523a439cd19"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.summarizeAcpxTurnUsage (cyclomatic 16): execute.summarizeAcpxTurnUsage 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3490}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c212f035ec17947db01ffd18cfc23b0fa0a6b4be8755a4dd403cb2fc46548e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-auth-merge-decision.parseAuth (cyclomatic 16): codex-auth-merge-decision.parseAuth 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/adapters/codex-local/src/server/codex-auth-merge-decision.cjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8f85443d934b33e8b98f7af62b3b9aa089b6819fca14acfd8505ee17ff3688"}},{"ruleId":"D1","level":"warning","message":{"text":"parse.parseGrokJsonl (cyclomatic 16): parse.parseGrokJsonl 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/adapters/grok-local/src/server/parse.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e95eeb66bbb4cc64699bd063ea95d1ffe0e4d14e5a4be5d33638ba883106c"}},{"ruleId":"D1","level":"warning","message":{"text":"execute.networkFailureReason (cyclomatic 16): execute.networkFailureReason 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"06139ad25fde2023f35f1493453d0faadf41d58829dd35db4fe28c34ca4a40ca"}},{"ruleId":"D1","level":"warning","message":{"text":"detect-model.parseModelFromConfig (cyclomatic 16): detect-model.parseModelFromConfig 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/adapters/hermes/src/server/detect-model.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"224936b7c7798fe39168ea5372f70211502b8aca2f3f0a8e9145f72a726d8e94"}},{"ruleId":"D1","level":"warning","message":{"text":"parse-stdout.parseHermesStdoutLine (cyclomatic 16): parse-stdout.parseHermesStdoutLine 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/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d04b743572775872f0ad69ed68e8e91e16f1a0e395c1f2d4bb1a1df7ebaeb05"}},{"ruleId":"D1","level":"warning","message":{"text":"ui-parser.parseStdoutLine (cyclomatic 16): ui-parser.parseStdoutLine 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/adapters/hermes/ui-parser.cjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bda3ea5af61edec4fc88efb2c581aa42f39d18e7bf15911c1fd13c53eb2199"}},{"ruleId":"D1","level":"warning","message":{"text":"build-config.parseEnvBindings (cyclomatic 16): build-config.parseEnvBindings 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/adapters/kimi-local/src/ui/build-config.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8144202422b80dad598fd48ffc0e7356132bd250ff63b5b78c4104505af657"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-config.preparePiRuntimeConfig (cyclomatic 16): runtime-config.preparePiRuntimeConfig 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/adapters/pi-local/src/server/runtime-config.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c2be4322ed5c5a670ff3f0e85d6dd028127387cf52d98a1cdbac8171aa1694"}},{"ruleId":"D1","level":"warning","message":{"text":"migration-compatibility.parseMigrationCompatOverride (cyclomatic 16): migration-compatibility.parseMigrationCompatOverride 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/db/src/migration-compatibility.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"397dcdc4b967847c517056cb1de7043c3fbb781cecbd208b6bd8ec0e18983b33"}},{"ruleId":"D1","level":"warning","message":{"text":"check-migration-safety.analyzeMigrationSafety (cyclomatic 16): check-migration-safety.analyzeMigrationSafety 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/db/src/check-migration-safety.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4479795126c14498e6b9ce90d2ec3022bd3625f40fd3a5bd346c1017f9259e1"}},{"ruleId":"D1","level":"warning","message":{"text":"use-live-console.useLiveConsole (cyclomatic 16): use-live-console.useLiveConsole 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 9 function literals inside it that branch (lines 218, 243, 279, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf3fd082bdcfac47ca0a850868c678e479d34205b73b37bb95b796bad2e63a5"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-cloud.parseNativeCursorCloudConfig.repos (cyclomatic 16): cursor-cloud.parseNativeCursorCloudConfig.repos 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/paperclip-runner/src/contracts/cursor-cloud.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96e1fd7685ce6c2710dc8f0bfb1680b599087f7fc51aa6c62bdbe4193f13b01"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-context.parseNativeRuntimeContext (cyclomatic 16): runtime-context.parseNativeRuntimeContext 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/paperclip-runner/src/contracts/runtime-context.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd59db93f17648bb5a7b237739b6e316971187e38419cc9c78f5dd8285dedcb"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-events.createAcpxToolEventNormalizer.\u003Creturned closure\u003E (cyclomatic 16): provider-events.createAcpxToolEventNormalizer.\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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49868cdc149f64a54e61684bbe7f2c466ec7f5f3149a420f56b9fb3c6991f21"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-diff.capturePaperclipWorkspace::visit (cyclomatic 16): workspace-diff.capturePaperclipWorkspace::visit 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/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1faad64cf8f54f5a5c431cb1b6bf40ae5488a088921bb92593c9cc7b5b58516"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-startup-trust.trustCodexStartupRoot (cyclomatic 16): codex-startup-trust.trustCodexStartupRoot 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/paperclip-runner/src/drivers/codex/codex-startup-trust.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d087ab82730d614eef4f65e0a240bbd39a4d29cb23fc0827483167fbb015dd5a"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexHarnessSession.steer (cyclomatic 16): CodexHarnessSession.steer 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38b8abd5b7052f133cf662965fc996e9773dd242a865b9afd6c2497ce62c6a1"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-runner.dispositionIssues (cyclomatic 16): codex-runner.dispositionIssues 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6657911bfd0d675dd63bc2a4f74dc2576174066188aea6678d021a5b1575bb77"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence-redaction.providerActivityDetails (cyclomatic 16): evidence-redaction.providerActivityDetails 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/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"967dffe8c5622fc52457d47839705a794fd729c42149658e42aad7c4b73bf23e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-credentials.readManagedCredential (cyclomatic 16): codex-credentials.readManagedCredential 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c156dc2d320efba7f6b9405b1b72efbd8420cf413735e7c0e719d1c05c31e3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex-credentials.runDirectorySyncHelper (cyclomatic 16): codex-credentials.runDirectorySyncHelper 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 5 function literals inside it that branch (lines 1178, 1212, 1188, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbd9df9ded341ad1cb4e9f63674aa6bb70b40da9e6eae0067a8c8f3820298ad"}},{"ruleId":"D1","level":"warning","message":{"text":"RawWebSocketWireConnection.#consume (cyclomatic 16): RawWebSocketWireConnection.#consume 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: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"308ffaa0163ff3f6b5ea0498c917bdde5dd3c9cf1d79066f57b3b53c57b87669"}},{"ruleId":"D1","level":"warning","message":{"text":"DurablePrpControlPlane.constructor (cyclomatic 16): DurablePrpControlPlane.constructor 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. This is NOT this file\u0027s highest cyclomatic complexity: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d1bd61e1711cfd1a2e4399580f832933da6073efc3ca341c3d9d6452ecabf4"}},{"ruleId":"D1","level":"warning","message":{"text":"durable-prp-control-plane.canonicalJson (cyclomatic 16): durable-prp-control-plane.canonicalJson 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: durable-prp-control-plane.isUnclaimedBootstrapState (cyclomatic 29) 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c553d4fbf3c3d585f9fdf730a5e21d64b10aa9706b04301ad4d7ab04048c31a"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-media-attribution.attributeUnsupportedToolMedia (cyclomatic 16): tool-media-attribution.attributeUnsupportedToolMedia 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/paperclip-runner/src/drivers/opencode/tool-media-attribution.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5fd894b9ba421b7bc230f4be101f5341e6fbdad62fbfb8fff13d88ec28ed1a"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic-tool-receipt.readNativeSemanticReceipt (cyclomatic 16): semantic-tool-receipt.readNativeSemanticReceipt 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/semantic-tool-receipt.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7dfff85aab22d02d3c1baa356275ef56b1896b82d3751720dc184e5c6e0656"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCodeHarnessSession.#recoverEmptyResponse (cyclomatic 16): OpenCodeHarnessSession.#recoverEmptyResponse 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1009f6199515731e48a6aedd6474326c53b3ceb1703c6b385bfa7527983c768a"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.providerDrainStateFromSnapshot (cyclomatic 16): runnerd-codex-transport.providerDrainStateFromSnapshot 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. This is NOT this file\u0027s highest cyclomatic complexity: runnerd-codex-transport.carriedSuspendSettlementProven (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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7322fd513f73695bdcbe505712ef9f8141d67344cbb3ccd2670faa7a75d9ef"}},{"ruleId":"D1","level":"warning","message":{"text":"runnerd-codex-transport.appServerThreadGoal (cyclomatic 16): runnerd-codex-transport.appServerThreadGoal has cyclomatic complexity 16 (threshold 15). Of this number, 11 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. This is NOT this file\u0027s highest cyclomatic complexity: runnerd-codex-transport.carriedSuspendSettlementProven (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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"540bb9c3d2410dce5ae59ec3a6f8cde13c5e31194f51d4a9b48fa9c65d6ae8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"aws-secrets-manager-provider.loadAwsSecretsManagerConfig (cyclomatic 16): aws-secrets-manager-provider.loadAwsSecretsManagerConfig 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d96d38ffc6eaa719ebde4f1497d7d309b639219423ec373728f4634c12bface"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-consent.bindTeamsFileConsent (cyclomatic 16): chat-teams-file-consent.bindTeamsFileConsent 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d47cae792b3eb0941e7f8bd516c917337175038015c6422d1c348122a94029"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatSdkEndpointRuntime.handleWebhook (cyclomatic 16): ChatSdkEndpointRuntime.handleWebhook has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 2449, beforeDeadline). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"81788622e379db6289538278a4e52b799e91958abdcfd1ebe55704a07aaba6cb"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-queued-comment-queue.decideQueuedCommentQueueSteering (cyclomatic 16): issue-queued-comment-queue.decideQueuedCommentQueueSteering 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":"server/src/services/issue-queued-comment-queue.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"88270337399a518fadb92ae38055de556318b0ae4e1318b06b0ff4ed0c735843"}},{"ruleId":"D1","level":"warning","message":{"text":"trust-preset-resolver.resolveCoreTrustPreset (cyclomatic 16): trust-preset-resolver.resolveCoreTrustPreset 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":"server/src/services/trust-preset-resolver.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"161610a88738bc601d76430fb949d9c20e62867b70c630acfd2295b6815241d8"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip-cloud-connector.unsealEvents (cyclomatic 16): paperclip-cloud-connector.unsealEvents 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"2762de7121f00fb735ca528c4a293b39facc178eed1c479d120ee9bc84ce5bc2"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.secretService.listAgentSecretAccess (cyclomatic 16): secrets.secretService.listAgentSecretAccess has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"62986b915b236b908d659fcc5c8bb059cfbfa5b31cbb4f96c3e38431cd33ac97"}},{"ruleId":"D1","level":"warning","message":{"text":"json-schema-secret-refs.collectSecretRefPaths (cyclomatic 16): json-schema-secret-refs.collectSecretRefPaths has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (walk). 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":"server/src/services/json-schema-secret-refs.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9714b85baec30dc7e85ff727f1b126850c324a5827cd03abe1bb0960e9d41b72"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::handleProcessExit (cyclomatic 16): plugin-worker-manager.createPluginWorkerHandle::handleProcessExit has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 4 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c85f58c6d7124671a2045205e93346355dddc09a40e4c916ab3c81b70d8788"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-goals.settleLiveRunnerGoalBeforeInterrupt (cyclomatic 16): runner-goals.settleLiveRunnerGoalBeforeInterrupt 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":"server/src/services/runner-goals.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9865c898435f6bf8c933a4fb8f7bf4743ac1e99810d1988cc28bb167c36f6"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-native-chat-progress.publicNativeChatProgressText (cyclomatic 16): safe-native-chat-progress.publicNativeChatProgressText 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":"server/src/services/safe-native-chat-progress.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"da51b6c72707b87c46e4be522b7d5115e382a9aaaee882ca7eb23ca671b09485"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeRunCoordinatorStore.appendEvent (cyclomatic 16): NativeRunCoordinatorStore.appendEvent 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 one function literal inside it that branches (line 225). 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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0471f81529f7ecdc9f0ed6a4af5c7b4f23e9815ebdf7b9bc1bcb597d15034f"}},{"ruleId":"D1","level":"warning","message":{"text":"s3-provider.createS3StorageProvider.listExactVersions (cyclomatic 16): s3-provider.createS3StorageProvider.listExactVersions 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd4acf2a7f8e8054bcb012fcca006f03797f32648e640f488bdf55502ab0905"}},{"ruleId":"D1","level":"warning","message":{"text":"service.assertPutFileInput (cyclomatic 16): service.assertPutFileInput 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":"server/src/storage/service.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f73ad36e5f064696621c80c943dcbee70924476920bf25426407bde6aa16411"}},{"ruleId":"D1","level":"warning","message":{"text":"client-credentials-service.createClientCredentialsService.requestClientCredentialsToken (cyclomatic 16): client-credentials-service.createClientCredentialsService.requestClientCredentialsToken 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":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"539e2f307d8ac764b7762e25832fd313919259227991f402e20e9be60fe7b2f6"}},{"ruleId":"D1","level":"warning","message":{"text":"client-credentials-service.createClientCredentialsService.createMachineSignIn (cyclomatic 16): client-credentials-service.createClientCredentialsService.createMachineSignIn 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2334941cffa19b1cab49a317cc9fef2c5b0213c86cc47da48882ce42c7c6f5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"failures.healthFailureHttpStatus (cyclomatic 16): failures.healthFailureHttpStatus 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":"server/src/services/tool-access/catalog/failures.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0588e71be0cd134e65c6a97176aca83c4c3720177d888ddc0924cc230506aff"}},{"ruleId":"D1","level":"warning","message":{"text":"form-signature-refresh.replaceSlackFormReceiptSignature (cyclomatic 16): form-signature-refresh.replaceSlackFormReceiptSignature has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"server/src/services/chat-channels/slack/form-signature-refresh.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"953980f62b429cbe1429e68f0840e5a01cfda8a4103e01264884fef5a15cad3a"}},{"ruleId":"D1","level":"warning","message":{"text":"cloud-consumer.slackFormConnectorIdentity (cyclomatic 16): cloud-consumer.slackFormConnectorIdentity 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":"server/src/services/chat-channels/slack/cloud-consumer.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8bb24d8ce4e0cf06688ba21362f652ae0b657d38a2175d75fe2a48a9fdb091"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-provider-lifecycle.parseGitHubLifecycle (cyclomatic 16): chat-provider-lifecycle.parseGitHubLifecycle 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"751729f73054199c29c8216c8123601715fd83cde8c927ff7d36763f754ab595"}},{"ruleId":"D1","level":"warning","message":{"text":"speko-protocol.verifySpekoSignature (cyclomatic 16): speko-protocol.verifySpekoSignature 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":"server/src/services/voice/speko-protocol.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3646be979cbd29a2a6b89a3f7b960eb8cec64a43f159cfe482736586becd087"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-workspaces.reconcilePluginWorkspaceReservation (cyclomatic 16): plugin-workspaces.reconcilePluginWorkspaceReservation 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"395759921ad067086dc1cb53d4f12c57babc78c4b5b743cfa7f963b11c5918a8"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-workspaces.resolvePluginWorkspaceFinalization (cyclomatic 16): plugin-workspaces.resolvePluginWorkspaceFinalization has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db07069bdf46c8842d12c0a4e4c6ff775bf9f9c2e5d07d38236ad9c7755e9ad"}},{"ruleId":"D1","level":"warning","message":{"text":"repository-object-cache.readRepositoryObjectCache (cyclomatic 16): repository-object-cache.readRepositoryObjectCache 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":"server/src/services/repository-object-cache.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1ae7253080bad2321c416d93d78df2d216617e3575660a061bf247f8ce682d"}},{"ruleId":"D1","level":"warning","message":{"text":"repository-object-cache.publishRepositoryObjectCache (cyclomatic 16): repository-object-cache.publishRepositoryObjectCache 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 one function literal inside it that branches (line 94). 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":"server/src/services/repository-object-cache.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09704c4933250f8a241fa367905d355e851d0e08056882e70af6ba03cf33c08"}},{"ruleId":"D1","level":"warning","message":{"text":"git-workspace-restoration.gitCacheExpirationLockLocations (cyclomatic 16): git-workspace-restoration.gitCacheExpirationLockLocations has cyclomatic complexity 16 (threshold 15). 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, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: git-workspace-restoration.readGitCacheRestoration (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"76599317dec6b3c4ca6757b2a9b1eb960e6e59618bc4c7179208280fcefa695d"}},{"ruleId":"D1","level":"warning","message":{"text":"nested-clone-migration.planRefs (cyclomatic 16): nested-clone-migration.planRefs 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: nested-clone-migration.readPending (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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c0d6c0b4c8a01d549ecc7889d56039e7bdf2e8bbab64d921b0aa01442a4352"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-host-provision.workspaceRequiresCopyOnlyProvisioning (cyclomatic 16): workspace-host-provision.workspaceRequiresCopyOnlyProvisioning 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":"server/src/services/workspace-host-provision.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adce08d7c375d649c5df0806bfff154d8dc456959f9c12877bc48da502c8590"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-content-guards.readToolArgumentsEnvelope (cyclomatic 16): tool-content-guards.readToolArgumentsEnvelope 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":"server/src/services/tool-content-guards.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"89170c2081888bb7acf9350b86343e5b8abf2e840a0a7ac047e88be1207c7c2d"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectDecision (cyclomatic 16): ai-connections.aiConnectionService.selectDecision 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":"server/src/services/ai-connections.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a066d9adf20a3a44ec05240978e9250b4fb93f50a264dab7bbb4b165cd3278"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectImageGeneration (cyclomatic 16): ai-connections.aiConnectionService.selectImageGeneration 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":"server/src/services/ai-connections.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf732afa86654b3984c84b874dc74ec7a45b7b1378285834684c5418ee3569a"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectFastResponse (cyclomatic 16): ai-connections.aiConnectionService.selectFastResponse has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (ai-connections.aiConnectionService.selectPromptInjectionPrevention) 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":"server/src/services/ai-connections.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"3272712c1688c7c3967e27625d5eda78faa5e1a293b4a92ea8daba3590cfeec2"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectPromptInjectionPrevention (cyclomatic 16): ai-connections.aiConnectionService.selectPromptInjectionPrevention has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (ai-connections.aiConnectionService.selectFastResponse) 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":"server/src/services/ai-connections.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ddcc37210f14461b0c764a86e0abdb7c401e49d7da92bb05eead93e652aecc"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-connections.aiConnectionService.credential (cyclomatic 16): ai-connections.aiConnectionService.credential 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":"server/src/services/ai-connections.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d238e19654689f02948d0b1fe766739d7f7057daf2d0a81f8679a32906ba160"}},{"ruleId":"D1","level":"warning","message":{"text":"resource-memberships.resourceMembershipService.updateProject (cyclomatic 16): resource-memberships.resourceMembershipService.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":"server/src/services/resource-memberships.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"746e310ae26369c3d3fd9f62a7d3459861df2bad7a14627e5c888207501e8b19"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-provider-pack-authority.resolveRemoteProviderPackAuthority (cyclomatic 16): remote-provider-pack-authority.resolveRemoteProviderPackAuthority 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":"server/src/services/native-runtime/remote-provider-pack-authority.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7b05984dd20b945632b49f53694845c73a110b08a8b2d2f6c29bc7669e3e72"}},{"ruleId":"D1","level":"warning","message":{"text":"work-products.refreshPullRequestWorkProductMetadata (cyclomatic 16): work-products.refreshPullRequestWorkProductMetadata 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 96). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-products.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988577ab567a3af104c15e478c1e58d6a8b672fe34b3672d5df2fc72e131cd2"}},{"ruleId":"D1","level":"warning","message":{"text":"projects.projectService.createWorkspace (cyclomatic 16): projects.projectService.createWorkspace 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 1147, 1179). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88d8557c79bc3420fc00907d058d24c20a54e0ed77dcf3c492584448905bf4a"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-sources.skillSourceService.disconnect (cyclomatic 16): skill-sources.skillSourceService.disconnect has cyclomatic complexity 16 (threshold 15). Of this number, 11 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":"server/src/services/skill-sources.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60fbbefbb66fa780cfebf73fefc27b913ef4702e91fe33887b1bee1a09f7c60"}},{"ruleId":"D1","level":"warning","message":{"text":"timer-policy.heartbeatTimerPolicyIsWellFormed (cyclomatic 16): timer-policy.heartbeatTimerPolicyIsWellFormed 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1211af137066e8e58c34cbfdc7694bf0176d35528460a3152d82e7b42d253336"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-creation-operations.queueSandboxCreationCleanup (cyclomatic 16): sandbox-creation-operations.queueSandboxCreationCleanup 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 166). 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":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4b70335c9cfde841fbef65dedf2d83c79774b4c065cffbfc908f16f96102f5"}},{"ruleId":"D1","level":"warning","message":{"text":"UnixBrokerClient.roundTrip (cyclomatic 16): UnixBrokerClient.roundTrip 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 2 function literals inside it that branch (lines 244, 221). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/broker-client.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f06ac8cdff2f6586c78d98242b476dd7816bfbc6c715e6be04a112025c70c9"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.reusableSandboxLeaseScopeMatches (cyclomatic 16): environment-runtime.reusableSandboxLeaseScopeMatches 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fc25795f31271204ede2bbd2697cfb58ba627fa6bb5a46889b9efd127d1d65"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-runtime.createPluginEnvironmentDriver.resolvePluginDriverForRelease (cyclomatic 16): environment-runtime.createPluginEnvironmentDriver.resolvePluginDriverForRelease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eba4b1c99b9da8a8effac0deb0b2ecdff6672a01560ad5be30885b2a7e53cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.evaluateAffectedScopes (cyclomatic 16): budgets.budgetServiceInTransaction.evaluateAffectedScopes has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e3b0e2ce66e6fd584827fab46b629a63e4edd591c3fcc957298ca6dc0e83e"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.matchingApprovedActionRequestCount (cyclomatic 16): tool-access-policy.toolAccessPolicyService.matchingApprovedActionRequestCount 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 one function literal inside it that branches (line 1988). 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c5e1e18d42396861fb2d8c6ef7bfb5c893bdb8db3932745e1f84afa2cd9e95"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-elicitation.elicitationContent (cyclomatic 16): mcp-elicitation.elicitationContent 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aecf9ade948c571739f19fe9e8c2d5528c9040020f82a4f1380defd1f19eafd"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.mcpInputRequiredPending (cyclomatic 16): tool-gateway.mcpInputRequiredPending 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5410f6869a43a168fc9abc29f6326e9ab8df07e2ce97ee676cec01ac8f72748"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.planMcpTaskInput (cyclomatic 16): tool-gateway.createToolGatewayService.planMcpTaskInput 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4278de7cfde656d914ffeabaf2fb088396fa3ad5af24cb32b104788d8ef5b35"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.mergeExecutionWorkspaceConfig (cyclomatic 16): execution-workspaces.mergeExecutionWorkspaceConfig 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9253862b201ce7c564f8645f109577afa21d8e908da16740897f618d4b01605"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.workspaceDeliveryCandidate (cyclomatic 16): execution-workspaces.executionWorkspaceService.workspaceDeliveryCandidate 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"939f88bbcbb56396a8a11a9285cad9d480adfaa3c1daaf804e981cd9c863c359"}},{"ruleId":"D1","level":"warning","message":{"text":"fresh-continuation-fallback.recordFreshContinuationCheck (cyclomatic 16): fresh-continuation-fallback.recordFreshContinuationCheck 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d01d0b2a7790dd89bb9c6f0544504a3ba09626f50da9b973068ca94c5337fd"}},{"ruleId":"D1","level":"warning","message":{"text":"status-decision-committer.assertPendingEffectTarget (cyclomatic 16): status-decision-committer.assertPendingEffectTarget 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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fc5ead88ef5d87293c97d3e0e44e6458bdc82a9a3f4fe28a7b440269eb158b"}},{"ruleId":"D1","level":"warning","message":{"text":"native-exact-resume-failure.interruptedExactResumeCause (cyclomatic 16): native-exact-resume-failure.interruptedExactResumeCause 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":"server/src/services/native-runtime/native-exact-resume-failure.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7202bdfe082a9529e608183f139599875febdf803b125c9067a7d72479f3f1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-preparation.gatewayAppliesToRun (cyclomatic 16): run-preparation.gatewayAppliesToRun 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f19299ed429073c252d0791b53edb6d1819ec2547fcd5948567f7d18b3217"}},{"ruleId":"D1","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.report (cyclomatic 16): assigned-work-sweep.assignedWorkSweep.report 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00554ad967e4f089c19095214edc7349c2f2b113b2fe719c7185f77e5ff0eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.queueSend (cyclomatic 16): email-channels.emailChannelService.queueSend has cyclomatic complexity 16 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5201635c7852a30df0ceb4fcc9b880e0f590f1e8ae0640c364a23530bc761d"}},{"ruleId":"D1","level":"warning","message":{"text":"email-channels.emailChannelService.reconnect (cyclomatic 16): email-channels.emailChannelService.reconnect 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 2512, 2535, 2541). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ea3468c69186a820daac9cb0e11fde551abdca37402e3824e1c19fe9ac0dc3"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-agent-access.grantConnectionAgentTools (cyclomatic 16): connection-agent-access.grantConnectionAgentTools 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":"server/src/services/connection-agent-access.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e517d53dad419381163dbce8fbb161a303c5c6fd087b7d2777b45cb426100112"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestChatHandoff (cyclomatic 16): connection-intents.connectionIntentService.requestChatHandoff 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"deacf67ee0f7d5d6fe3a8898b43743ab034f84b45b10836920ba8b5fa215aaa9"}},{"ruleId":"D1","level":"warning","message":{"text":"wake-context.isResolvedInteractionContinuationWakeContext (cyclomatic 16): wake-context.isResolvedInteractionContinuationWakeContext 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":"server/src/modules/run-dispatch/domain/wake-context.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccc12eb6fd9191953e3f25c8509dfdbff1e6222bb95d0faba0d397cf044bc84"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-busy-wait.parkWorkspaceBusyRetryInTx (cyclomatic 16): workspace-busy-wait.parkWorkspaceBusyRetryInTx 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":"server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b50f423abdb422aef330ff896346d51a56f291a4e362b96dfb9e9a7ea1f2ee"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-receipts.readPendingRunUsageReceipts (cyclomatic 16): usage-receipts.readPendingRunUsageReceipts 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0dc26d924adb1aa9660153ff941331ef35e6df3ee5463c3f62faff03df1c95"}},{"ruleId":"D1","level":"warning","message":{"text":"context.enrichPromotedWakeContext (cyclomatic 16): context.enrichPromotedWakeContext 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":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f368b3f5f900013d73c8a2d4f6fe430522731e523d86661f12fa9200ba25ff"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.buildTransaction.isWatcherCommentDuringFinishingRun (cyclomatic 16): postgres.buildTransaction.isWatcherCommentDuringFinishingRun 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe87a2347f490c306692de84b04dbf87ae8aaf7f1bcb9322c39c0c232a64e98"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.recordNativeTerminalRecoveryIfNeeded (cyclomatic 16): postgres.recordNativeTerminalRecoveryIfNeeded 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"64baae15c30c275649fff8cb654c5a96c043cbc5ba673375db4547afedf28bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"queued-comment-postgres.buildTransaction.buildQueueSnapshot (cyclomatic 16): queued-comment-postgres.buildTransaction.buildQueueSnapshot 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a135b4f8647a1849180cd5221405a239bdb75b5454c61a3fa7ba9fe8a9b6b0"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-finalization-work.nativeWorkspaceFinalizationWork.checkWithinTrace (cyclomatic 16): native-workspace-finalization-work.nativeWorkspaceFinalizationWork.checkWithinTrace 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":"server/src/services/native-runtime/native-workspace-finalization-work.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4400fb1610623c29c42c625d2eb690f160b9080674dcec28c1ee75d11bc4da8"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-snapshot-storage.findUnchangedWorkspaceSnapshot (cyclomatic 16): remote-workspace-snapshot-storage.findUnchangedWorkspaceSnapshot 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 108). 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab831cc1946b8771a3513749de58d0d1de8aae1ebd7846825282ea16acfb5b30"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-files.createRemoteWorkspaceFiles.open.execute (cyclomatic 16): remote-workspace-files.createRemoteWorkspaceFiles.open.execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: remote-workspace-files.parseFileEntry (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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c2bb1fba2030fef17d4c07888234fb0e073edd24240afa139f6ba0398c5188"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.loadAvailabilityTargets (cyclomatic 16): workspace-file-resources.workspaceFileResourceService.loadAvailabilityTargets has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a771a1d7bc73adbe0ac57b9577349e92e8fc622399be6080a0db1501c231666"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery-fallback.confirmSourceAllocationStopped (cyclomatic 16): workspace-recovery-fallback.confirmSourceAllocationStopped has cyclomatic complexity 16 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa051bda82a557b00db51ee54419ae3d16b0e376ec6c593545fd9a3029d8381"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-restore-hold-settlement.settleRecoveredWorkspaceRestoreHolds (cyclomatic 16): workspace-restore-hold-settlement.settleRecoveredWorkspaceRestoreHolds 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":"server/src/services/workspace-restore-hold-settlement.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc3c8eeef0808109b0feb303ae1ef2ef44993681254430983c26f250f820f56"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-recovery.recoverRetainedWorkspace (cyclomatic 16): workspace-recovery.recoverRetainedWorkspace 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 (workspace-recovery.recoverRetainedWorkspace::runAttempt) 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: workspace-recovery.wakeCopybackOwnerRecheck (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b806e4f89790079b1504811a8995605381a551c199486e2c5a7f779cd682b3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"case-access.canActorReceiveCase (cyclomatic 16): case-access.canActorReceiveCase 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":"server/src/services/case-access.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"da247715be16ccd51b55b8e6ce708439b7dc64796dcb073a7150de2f547814ab"}},{"ruleId":"D1","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.handleRunLivenessContinuation (cyclomatic 16): run-lifecycle.createHeartbeatLifecycle.handleRunLivenessContinuation 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebfb8a2e4d54255c13af48d3cdb4fd84ca915184623f14e6fcfa678fa01013a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-observability.agentObservabilityService.readCredentials (cyclomatic 16): agent-observability.agentObservabilityService.readCredentials 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":"server/src/services/agent-observability.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"582fd980ec26ce5720981c79973435640972542c9c4ec71cac7c4eb6d7d98e38"}},{"ruleId":"D1","level":"warning","message":{"text":"task-watchdogs.taskWatchdogService.evaluateWatchdog (cyclomatic 16): task-watchdogs.taskWatchdogService.evaluateWatchdog 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af0c11e6c5f1a920ed68989070cab1bc1944e680bf1a8e0c086f7017af4b64d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-publication-text-parts.renderPublicationTransportText (cyclomatic 16): chat-publication-text-parts.renderPublicationTransportText 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"650309536cdd5727a4faf164738f06f366c1e0977f0715fe4ecb34a8a49bdfbb"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-discord-command-registration-store.stored (cyclomatic 16): chat-discord-command-registration-store.stored 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":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf29f551588a8617c5a51ca0735ec228016ed69c4db3189900ea1bc58e55829b"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-selection.assertEnvironmentSelectionForCompany (cyclomatic 16): environment-selection.assertEnvironmentSelectionForCompany 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":"server/src/services/environment-selection.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0430fdc402c2bed83951cbe0e878c5c13808fd473f2a68a9ec6920f87a6eeb1"}},{"ruleId":"D1","level":"warning","message":{"text":"callback-verification.slackRequestWorkspaceId (cyclomatic 16): callback-verification.slackRequestWorkspaceId 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 4 function items inside it that branch (nestedId, stringField, authorizationField, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"576e6b361b2193ebc5c21114ae22347a3462885ee5e05f8b465ec1fed0f98571"}},{"ruleId":"D1","level":"warning","message":{"text":"callback-verification.slackCallbackObservationUrl (cyclomatic 16): callback-verification.slackCallbackObservationUrl 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a746ee8eb09bf6aba8f0894716ea2d6c4d985d14a267150900aa671154e2b91"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.telegramLifecycleActor (cyclomatic 16): messages.telegramLifecycleActor 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":"server/src/services/chat-channels/telegram/messages.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"332142c3ab5a58e0bdf70eb8d369643063c5e8b58ae12a2323fabdec0b98e11a"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-teams-file-transfers.teamsFileTransferService.claim (cyclomatic 16): chat-teams-file-transfers.teamsFileTransferService.claim 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 648). 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"7793edde95a6a072bddf597c8bab9adc1334bbe77009e158b12667f0732dedb4"}},{"ruleId":"D1","level":"warning","message":{"text":"endpoints.createChatEndpoints.providerSetupState (cyclomatic 16): endpoints.createChatEndpoints.providerSetupState 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7353b732c29b21273015df9492cf79bc1f284625eb67741428107b02dc944e"}},{"ruleId":"D1","level":"warning","message":{"text":"default-access.createCatalogDefaultAccess.enableCatalogEntriesByDefault (cyclomatic 16): default-access.createCatalogDefaultAccess.enableCatalogEntriesByDefault 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f783ffcc7771c02b50a026524d5a4f5b18bc244feef07611a7fe08ab6d9ca593"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.manageComposioAppAccount (cyclomatic 16): aggregator-accounts.createAggregatorAccounts.manageComposioAppAccount 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6671c7c4c94d7366e0c34a24a89ee5e7cb91aa04bf91aa4e90c8b3025cce08"}},{"ruleId":"D1","level":"warning","message":{"text":"nested-repository-worktrees.restoreNestedRepositoryWorktree (cyclomatic 16): nested-repository-worktrees.restoreNestedRepositoryWorktree 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 241). 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":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8884e16cbf56b5c4f5032ebcc4368b9139a8c20284658a6adebdcfdd0e75d410"}},{"ruleId":"D1","level":"warning","message":{"text":"git-restore-point.captureRestorePoint (cyclomatic 16): git-restore-point.captureRestorePoint 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a9e09682c6c6fbf5f0fca72b25c24d8ddfaf98d9d7526296c5319814015ed"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-continuation.continuationApiResult (cyclomatic 16): execution-continuation.continuationApiResult 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":"server/src/services/execution-continuation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b795379b1c6aee3af9d062715ab1758d576a755f0043231ce32d9252d93c288"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.getMergeConfirmationPullRequestReferences (cyclomatic 16): issue-thread-interactions.getMergeConfirmationPullRequestReferences 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8395b3639ffb029226245c091f4db1c2d00e52c03b512d4c6a852fd106fa7917"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-thread-interactions.expireStaleRequestConfirmationTarget (cyclomatic 16): issue-thread-interactions.expireStaleRequestConfirmationTarget has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0f51e6ff47a5a88b58f1ff909cf463cb291dbb357e0c4e6e46df623c62e29a"}},{"ruleId":"D1","level":"warning","message":{"text":"antigravity-connection-probe.testAntigravityConnection (cyclomatic 16): antigravity-connection-probe.testAntigravityConnection 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":"server/src/services/antigravity-connection-probe.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfc3822f189f8e0442dd245bc9ec6a25b341fefe0e92c9b5eea2f8e86b743b1"}},{"ruleId":"D1","level":"warning","message":{"text":"native-provider-artifact-files.capture (cyclomatic 16): native-provider-artifact-files.capture 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":"server/src/services/native-runtime/native-provider-artifact-files.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fea2a0b2d0a58d7db070b0bbbaa123623cdc6813d78615235d9b3f0bb172bf1"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-operation-timing.recordRunnerTimingReceipt (cyclomatic 16): runner-operation-timing.recordRunnerTimingReceipt 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":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a6fd31ccecbf11c9bb79798051a8f9f81432850b6e755807c4e86451ccabfe"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-runner-task.createPluginRunnerTaskOwner.registration.checkpoint (cyclomatic 16): plugin-runner-task.createPluginRunnerTaskOwner.registration.checkpoint 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba25b57769b56524e6cab57a9e5804d610b0e0e6e1d161615a6aba8495eb3e27"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-launch-assets.assertSelectedSkillsTree (cyclomatic 16): remote-launch-assets.assertSelectedSkillsTree 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 2 function items inside it that branch (visit, a function literal at line 44). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5982c86aeee23d0e6bb9e8fbaed2a90c7c5196b3392cdb6570ad84e844fe19"}},{"ruleId":"D1","level":"warning","message":{"text":"task-workspace-tools.callTaskWorkspaceTool (cyclomatic 16): task-workspace-tools.callTaskWorkspaceTool 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":"server/src/services/task-workspace-tools.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38ed891769450bc04f3e11e809fd71f14a8a61180cbfa6e578690f073eba4bd"}},{"ruleId":"D1","level":"warning","message":{"text":"current-wake-comments.decodeCursor (cyclomatic 16): current-wake-comments.decodeCursor 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5964e73b0412cb7cca866b13be2058bf478bf674d1327877cbdbf6a781e6c9b3"}},{"ruleId":"D1","level":"warning","message":{"text":"retained-provider-pack-oci.unpackTransport (cyclomatic 16): retained-provider-pack-oci.unpackTransport 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 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":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2297cfc570775e6655e88230984a93f66b56bbe27b380876d5f447651c9c80"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-pi-companion.inventoryRemoteCompanion (cyclomatic 16): remote-pi-companion.inventoryRemoteCompanion 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 items inside it that branch (visit, a function literal at line 73). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1098e234313c5ca39cd99dcd776bfc0263490bd56da3b8762f977f3231a276ba"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runner-file-handoff.writeStagedAttachment (cyclomatic 16): native-runner-file-handoff.writeStagedAttachment 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdda5f8041c4ab83a25d240b398e389167f29ed33ca2912fab5160a187cb4ff"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workflow-tools.executeNativeWorkflowTool (cyclomatic 16): native-workflow-tools.executeNativeWorkflowTool 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":"server/src/services/native-runtime/native-workflow-tools.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"af711722cabbd76857a50e9855aec67300f765e555d1c81c3fb5286f3b92782e"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-task-attachments.readTaskAttachment (cyclomatic 16): runner-task-attachments.readTaskAttachment 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":"server/src/services/native-runtime/runner-task-attachments.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88644352771941ebbb8121932c0abd863eb42cfa5a3ec9a344dc0888de7a8c5"}},{"ruleId":"D1","level":"warning","message":{"text":"heartbeat-run-privacy.getHeartbeatRunReadDecisions (cyclomatic 16): heartbeat-run-privacy.getHeartbeatRunReadDecisions 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 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":"server/src/services/heartbeat-run-privacy.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"391512abb0b9df42507271fecc105619aed5bb67550204fd681d2ca87fbea52e"}},{"ruleId":"D1","level":"warning","message":{"text":"built-in-agents.builtInAgentService.provision (cyclomatic 16): built-in-agents.builtInAgentService.provision 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1aa99278b3b43cade86c726b808695d4646aab72c4da8700fa2f6dfcf4f813"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#setTaskMonitor (cyclomatic 16): PaperclipRunnerToolAuthority.#setTaskMonitor has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (authorizeTarget, a function literal at line 2542). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f150a4ac79c0ea9df33b44c242e645c1910310718cb3943bd5d9850335db076d"}},{"ruleId":"D1","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#registerDeliverable (cyclomatic 16): PaperclipRunnerToolAuthority.#registerDeliverable has cyclomatic complexity 16 (threshold 15). Of this number, 10 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0d4bccc9e042d62b66077b832280436b2a936d60e1b58ed146d9ab5c2c6385"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.createGovernedWaitEventObservation.observe (cyclomatic 16): native-session-executor.createGovernedWaitEventObservation.observe 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. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ebcf54c6ea27ed1c295620fd2d863fa120bca451188836b638dd30cce6110e"}},{"ruleId":"D1","level":"warning","message":{"text":"native-session-executor.loadWarmNativeCheckpoint (cyclomatic 16): native-session-executor.loadWarmNativeCheckpoint has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: native-session-executor.nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e1f8d14a0122bf50a22bdc72664c89d291ffcd78de4848ed7dff41377048eb"}},{"ruleId":"D1","level":"warning","message":{"text":"native-chat-review-presentation.restoreNativeChatReviewPresentationInTransaction (cyclomatic 16): native-chat-review-presentation.restoreNativeChatReviewPresentationInTransaction 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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3ab449470abbebd43534a51e3ed15ebca2c34bbe543fce8cae94ad276f8704"}},{"ruleId":"D1","level":"warning","message":{"text":"muse-identity.inspectMuseConnectionCredential (cyclomatic 16): muse-identity.inspectMuseConnectionCredential 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: muse-identity.assertMuseCurrentAuthority (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":"server/src/services/muse-identity.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5e051422184eab9f5ab70c47553218ed709ea908688ccee57790add95f9159"}},{"ruleId":"D1","level":"warning","message":{"text":"dot.createBroker.createPairing (cyclomatic 16): dot.createBroker.createPairing 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 one function literal inside it that branches (line 102). 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"00757984b1c756d462808391c727d42a977f5617c3cc504aff46bd08a15303ea"}},{"ruleId":"D1","level":"warning","message":{"text":"wake-admission.authorizeMcpWakeAdmission (cyclomatic 16): wake-admission.authorizeMcpWakeAdmission 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":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11571d8723ce018dac41738dd6878c9dbb4f9d29077b85054dbd87f58dab4ac"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync.verifiedDurableSeed (cyclomatic 16): native-workspace-sync.verifiedDurableSeed 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c477ec608cffc1e0fd01ec5ab311b61ac650acddfa6cd084be7632678d9dd5b6"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-migration.inspectNativeWorkspaceMigration (cyclomatic 16): native-workspace-migration.inspectNativeWorkspaceMigration 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":"server/src/services/native-runtime/native-workspace-migration.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29a4c54cdc5db2e15b63b1f383119d9783909ac386b9d9745fb03661f17b21f"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.settleSaveInvocation (cyclomatic 16): remote-workspaces.settleSaveInvocation 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 723). 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"471d78d68685d85b143cd23f4bc6322d7298b81fb278037c6a27ed6eec491f15"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspaces.provisionRemoteWorkspace (cyclomatic 16): remote-workspaces.provisionRemoteWorkspace has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1212, 1244). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ddb1595afd4c56e713fb1a13f02cef8b3d99697c5febffb366c3830df891c7"}},{"ruleId":"D1","level":"warning","message":{"text":"case-handoffs.agentCaseHandoffSchema (cyclomatic 16): case-handoffs.agentCaseHandoffSchema 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/shared/src/case-handoffs.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fdd74d4977a0f30a6ef23e0f92d7dff85e38f1fdf7679cd83dd44f97be7844"}},{"ruleId":"D1","level":"warning","message":{"text":"frontmatter.parseYamlScalar (cyclomatic 16): frontmatter.parseYamlScalar 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/shared/src/frontmatter.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ffb7c90242d49fc82acf68210309f8c4dcc9d777325682b012747c2bc2fed5"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runner.paperclipRunnerSupportsPlatform (cyclomatic 16): agent-runner.paperclipRunnerSupportsPlatform 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/shared/src/agent-runner.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aef5a3b893fcadf07490366ea1b230986f5ad2732fcae3c593d9b6dea3af2d9"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-rate-limits.summarizeProviderRateLimits (cyclomatic 16): provider-rate-limits.summarizeProviderRateLimits 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/shared/src/provider-rate-limits.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b0f8888aaaa63581c2d8ed78fe21905016c0a3a9c93a6c5c77a1bfffc663c"}},{"ruleId":"D1","level":"warning","message":{"text":"probe-antigravity-metadata.createAntigravityMetadataRpc (cyclomatic 16): probe-antigravity-metadata.createAntigravityMetadataRpc 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 62, 75, 81, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e177ff3faeb48e2ff32df26865a2be6b109adf94129172eb0d28f0e611dd2eea"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi-installation.verifyKimiInstallation (cyclomatic 16): kimi-installation.verifyKimiInstallation 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, name the conditions: bind each compound test to a 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 is NOT this file\u0027s highest cyclomatic complexity: kimi-installation.readMetadata (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/kimi-installation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"322ab786512bfb154f32436fd0c081ddd70643ce0fde7a5e8aeb69646f301c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-protocol-eval-history-view.chart (cyclomatic 16): runner-protocol-eval-history-view.chart 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 4 function items inside it that branch (a function literal at line 45, a function literal at line 54, a function literal at line 36, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3bdbb3267e1c48004dbd454e6abd7cc3eb8501e55fc0cd6f7f9110fb6829db"}},{"ruleId":"D1","level":"warning","message":{"text":"qualify-copilot-acp.evaluateProbe (cyclomatic 16): qualify-copilot-acp.evaluateProbe 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b7fa356d17f5c91b8d676faaaaa03dbe181211e3c603e0ba7388cb8d03bd2f"}},{"ruleId":"D1","level":"warning","message":{"text":"copilot-tool-evidence.createCopilotToolEvidence.notice (cyclomatic 16): copilot-tool-evidence.createCopilotToolEvidence.notice 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c474e13ceb9f49954d51ee8bcba495313ca8bc61687795eea8928a9aca4b6c19"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-files-binding.bindAcpxAgentFiles (cyclomatic 16): agent-files-binding.bindAcpxAgentFiles has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 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/paperclip-runner/src/drivers/acpx/agent-files-binding.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c1d95fa99d3d158178e4133a64e1a0ba1609adc2b8893cf992afd600d3320b"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-accounting.persistedAcpxTurnUsage (cyclomatic 16): usage-accounting.persistedAcpxTurnUsage 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/paperclip-runner/src/drivers/acpx/usage-accounting.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cfc8b412a3acaf30594c3c231bf242980361b0f5c3fe2fbb1a3e72779c24a6"}},{"ruleId":"D1","level":"warning","message":{"text":"CursorCloudClient.getUsage (cyclomatic 16): CursorCloudClient.getUsage has cyclomatic complexity 16 (threshold 15). Of this number, 10 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. This is NOT this file\u0027s highest cyclomatic complexity: cloud-client.parseRun (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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6136a28168c9544ea74488e486424e5b33e13e2cf711e9d6987beffcbbad25"}},{"ruleId":"D1","level":"warning","message":{"text":"artifact-staging-budget.seedBudget (cyclomatic 16): artifact-staging-budget.seedBudget 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: artifact-staging-budget.readBudget (cyclomatic 19) 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/paperclip-runner/src/drivers/cursor-cloud/artifact-staging-budget.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"17108f80e1355e3f5a1851fd03f36cc572e97823804ec0dd3009f737054667f7"}},{"ruleId":"D1","level":"warning","message":{"text":"cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.pump (cyclomatic 16): cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.pump 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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c228e37e4aab22e3f131f68aaded6ed3bc554836b10fa5581845dfe0a85a1"}},{"ruleId":"D1","level":"warning","message":{"text":"semantic-conformance.canonicalJson (cyclomatic 16): semantic-conformance.canonicalJson 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/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebe8b483f72c028b51ab573d4e515efa3b8620954365f95d5f154a7f2f1fb36"}},{"ruleId":"D1","level":"warning","message":{"text":"live-console-demo-server.requireTransportAdmission (cyclomatic 16): live-console-demo-server.requireTransportAdmission 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/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"992c97c865e6ac3310801d26551bcf28cd4a739c767c4b81f0ca375583517407"}},{"ruleId":"D1","level":"warning","message":{"text":"use-runner-console.useRunnerConsole (cyclomatic 16): use-runner-console.useRunnerConsole 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 9 function literals inside it that branch (lines 225, 250, 286, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/react/use-runner-console.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e42e1c92fd0919bc9e26c35ee13b4e7abd4ea10de6ef552f0141c27b353727e"}},{"ruleId":"D1","level":"warning","message":{"text":"app.UnconfiguredFolder (cyclomatic 16): app.UnconfiguredFolder has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae8e797a85beafb7efdb550c5eb8276cd86df7bcfa60469f61462363538420b"}},{"ruleId":"D1","level":"warning","message":{"text":"core.normalizePaperclipIngestionProfile (cyclomatic 16): core.normalizePaperclipIngestionProfile 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af916c31bdb60c85c9694376741a82fa7e56cfd687ffd1e1dbb6b60bfe7b0b7"}},{"ruleId":"D1","level":"warning","message":{"text":"core.distillPaperclipProjectPage (cyclomatic 16): core.distillPaperclipProjectPage 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731b45a045ba88dd8353c81cf5e531195baa541ca86f7ad9831dddb33ee3ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"bridge-client.consumeExecuteEventStream (cyclomatic 16): bridge-client.consumeExecuteEventStream 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/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3e22aa28fdc7c8f52ca75eb08f89e38aca66bccdd4ab15d8134888b8d0431a"}},{"ruleId":"D1","level":"warning","message":{"text":"config.validateCloudflareDriverConfig (cyclomatic 16): config.validateCloudflareDriverConfig 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/plugins/sandbox-providers/cloudflare/src/config.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3ba1cf5cb24a1fd7d89c33692b0f85e1cd4100c1ae064b0f6e6bc5fce796f3"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-sync-error.sanitize (cyclomatic 16): environment-sync-error.sanitize 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/plugins/sdk/src/environment-sync-error.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fbcc861010ecd81b5f8a87ce4786dbcd31126eec27c3f9d720ea2d24fd64b9"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree-seed-source.resolveRegisteredWorktreeSeedSource (cyclomatic 16): worktree-seed-source.resolveRegisteredWorktreeSeedSource 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/shared/src/worktree-seed-source.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb95af182924d83842729fe4c58cec5d9866bdf2e15a5f84d98da81eefa9b22d"}},{"ruleId":"D1","level":"warning","message":{"text":"StrictParser.parseString (cyclomatic 16): StrictParser.parseString 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/tailscale-https-broker/src/strict-json.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"64906533ed51f90ce6b2372f8a5e0ded8ba31d0e42c82fe7ac3d171a5e3c8af7"}},{"ruleId":"D1","level":"warning","message":{"text":"local-agent-process-boundary.createLocalAgentProcessBoundary.classifyBatch (cyclomatic 16): local-agent-process-boundary.createLocalAgentProcessBoundary.classifyBatch has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 386, a function literal at line 377, operatorPid). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/local-agent-process-boundary.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8ddcc18276d5e739643ebfc2ff06718711364e61fbfc2e2e41c16a3cf0e484"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-queues.sourceIssueId (cyclomatic 16): decision-queues.sourceIssueId has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2516cfc671dfdaa065e532c1c23b3c6876cae8c703c52d81095d4814147fc447"}},{"ruleId":"D1","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireSession (cyclomatic 16): native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireSession has cyclomatic complexity 16 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"360c8da1ed5ce320455cc5e6deaaee53020db4a133ac8b59f7186d2397562720"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-lifecycle-inbox.pluginLifecycleInbox.acknowledge (cyclomatic 16): plugin-lifecycle-inbox.pluginLifecycleInbox.acknowledge 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 one function literal inside it that branches (line 101). 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":"server/src/services/plugin-lifecycle-inbox.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59dd87c8dc2f249c1368162b5847ba4eeff6ade0bd325367d7b1d4051ec759e"}},{"ruleId":"D1","level":"warning","message":{"text":"company-export-readme.generateReadme (cyclomatic 16): company-export-readme.generateReadme 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":"server/src/services/company-export-readme.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb0525443702dc972f644cf764f04ba46205fb6e1e2c91ddd7315bd857684eb"}},{"ruleId":"D1","level":"warning","message":{"text":"local-ai-login.localAiLoginService.check (cyclomatic 16): local-ai-login.localAiLoginService.check 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":"server/src/services/local-ai-login.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63276aab4bbc271af78157f5be9b3aaff60a0cc37660e8c391e00bbb7cc710c"}},{"ruleId":"D1","level":"warning","message":{"text":"decision-training.loadSourceDecision (cyclomatic 16): decision-training.loadSourceDecision 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":"server/src/services/decision-training.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14aa6651c90f9fd75265e04fe883db7022f5d4cdc95e56b1bbf6ea7041da6be"}},{"ruleId":"D1","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.reflectProposalLifecycleOnInteraction (cyclomatic 16): secret-proposals.createSecretProposalsService.reflectProposalLifecycleOnInteraction 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a3bb207e7da217572d1a574731c0cdaabbf51c67b717d7fc78919b31c21ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.applyBindingApproval (cyclomatic 16): secret-proposals.createSecretProposalsService.applyBindingApproval 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beb7863a58707f24c9b662ae8127df3595e0aa8589daf1411b504cf9a55bc8f"}},{"ruleId":"D1","level":"warning","message":{"text":"smoke-lab.smokeLabService.issueToken (cyclomatic 16): smoke-lab.smokeLabService.issueToken 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":"server/src/services/smoke-lab.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a0a33bfb1a14ab65b4b4d0947a982594f7fa68b4517e58488a6414bb585a12"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability-agent-selection.resolvePortableExportAgentSelection (cyclomatic 16): company-portability-agent-selection.resolvePortableExportAgentSelection 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":"server/src/services/company-portability-agent-selection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7380982a0f29bf3a86f298967da806edb931b4c2664ef3114d56e7b91f60f14"}},{"ruleId":"D1","level":"warning","message":{"text":"company-portability.parseGitHubSourceUrl (cyclomatic 16): company-portability.parseGitHubSourceUrl 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: company-portability.isSensitiveEnvKey (cyclomatic 26) 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":"server/src/services/company-portability.ts"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2efd7bb9c88bb2ea1002ca98b2c2ba9670314cc73ae05db26d84f8483957cd"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-avatars.agentAvatarRoutes (cyclomatic 16): agent-avatars.agentAvatarRoutes 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 31). 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":"server/src/routes/agent-avatars.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"320c76f3ac76f94ed13dd5ee1868fc8453aaf91b538611657907c1eaca683cf5"}},{"ruleId":"D1","level":"warning","message":{"text":"email.emailRoutes (cyclomatic 16): email.emailRoutes 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 (manager, a function literal at line 270, a function literal at line 296, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/email.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0f03dbdf2986210d58741dbd2001c721af063c667f65e089e222140a387c79"}},{"ruleId":"D1","level":"warning","message":{"text":"native-runtime-response-delivery.registerNativeRuntimeResponseDelivery (cyclomatic 16): native-runtime-response-delivery.registerNativeRuntimeResponseDelivery has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runtime-response-delivery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f695e6f19722185c3bd6c59b84a64223fe44904d068bc1f5bdcca7673ed1ca16"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-runtime-settings.prepareRuntimeSettingsPatch (cyclomatic 16): agent-runtime-settings.prepareRuntimeSettingsPatch 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":"server/src/services/agent-runtime-settings.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"50934efeb1977ab9a841880bbf581aced5cb8c1aefeed14fc9e158851bfc5bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-project-access.addAgentProjectAccess (cyclomatic 16): agent-project-access.addAgentProjectAccess has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 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":"server/src/services/agent-project-access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cf4ee9e72ac13ed933ee3baf9413515acf601517f4f2ae484a813306855080"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.readToolActionContinuationContext (cyclomatic 16): issues.readToolActionContinuationContext 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":"server/src/routes/issues.ts"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b87190dff46b094dedb1075d82b70b6712f8e7a7a2089e981127de4783e02d"}},{"ruleId":"D1","level":"warning","message":{"text":"issues.issueRoutes::resolveWorkProductCreatedByRunId (cyclomatic 16): issues.issueRoutes::resolveWorkProductCreatedByRunId 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: 12 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, issues.issueRoutes::parseAttachmentRangeHeader, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 13 times rather than 13 independent problems. Splitting this body alone leaves the other 12 exactly as they are. Where these are variations on one operation, the change that clears all 13 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":"server/src/routes/issues.ts"},"region":{"startLine":7189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58fe39bdba1df6b8a5c5cac54b77d5c16184509aaebe5fa846d711541dbf58"}},{"ruleId":"D1","level":"warning","message":{"text":"approvals.cancelApprovalAndNotify (cyclomatic 16): approvals.cancelApprovalAndNotify 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":"server/src/routes/approvals.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a27c4e247c84f989a5b3eef6a15cd8216ce969048fe7fa9e2e0397e674082b1"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-tracing-config.resolveBrowserTracingConfig (cyclomatic 16): browser-tracing-config.resolveBrowserTracingConfig 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":"server/src/browser-tracing-config.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"af983b4220e8356e5e399ad8155a2d6191e01b9338eedd715f94860d0edc6aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-local-folders.listPluginLocalFolderEntries (cyclomatic 16): plugin-local-folders.listPluginLocalFolderEntries has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (visit). 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9aed7b90d46777b8bc4567f4fbc53ed2a10259db7c5709e7e9c8d2b351e77a"}},{"ruleId":"D1","level":"warning","message":{"text":"connection-intents.runtimeConnectionIntentRoutes (cyclomatic 16): connection-intents.runtimeConnectionIntentRoutes 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 66, 48). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-intents.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"61529b3510771794fdb2bc2a279a5e5adf3bcb98b4d733f7e5c9e7184c501e66"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin-host-services.isPrivateIP (cyclomatic 16): plugin-host-services.isPrivateIP 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"89742a3cd2d85aa4ca6e6c822807144b6c3842511e23e9ff064d5c151ace7178"}},{"ruleId":"D1","level":"warning","message":{"text":"remote-workspace-migration-tree.prepareNestedWorkspaceImports (cyclomatic 16): remote-workspace-migration-tree.prepareNestedWorkspaceImports has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"537c31c842ea26ae6e2bbfa8b915ff1ec53e3905ce0077e8eeac2c6640f0d2ac"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.expireFolder (cyclomatic 16): native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.expireFolder 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 one function literal inside it that branches (line 312). 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052a88f21946c0c7f1c5d7b174b9b446c462b12c3388c522761ac2439958493"}},{"ruleId":"D1","level":"warning","message":{"text":"native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.nextDeadlineAt (cyclomatic 16): native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.nextDeadlineAt 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"891bd749b6477fe5b35a3db7f08bd3a7b34f2391cb90a640d6e2301492ab12b3"}},{"ruleId":"D1","level":"warning","message":{"text":"live-events-ws.authorizeUpgrade (cyclomatic 16): live-events-ws.authorizeUpgrade 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":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f3b63ed284322f9ca2fd6f7444aee84f9ef2d43db47f275be814ab5d8e3561"}},{"ruleId":"D1","level":"warning","message":{"text":"online-workspace-migration.parseOnlineWorkspaceMigrationRequest (cyclomatic 16): online-workspace-migration.parseOnlineWorkspaceMigrationRequest 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":"server/src/maintenance/online-workspace-migration.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f916e42928daccc973e7a1d694541cc4a7affcd09af87d168ccfbfc098cabf02"}},{"ruleId":"D1","level":"warning","message":{"text":"PrimaryAgentPresentation.PrimaryAgentCrownButton (cyclomatic 16): PrimaryAgentPresentation.PrimaryAgentCrownButton has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/primary-agent/PrimaryAgentPresentation.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f1812fdfa75598b9260f2cbcc2867695695f8b26ac3ea4026e06d3291deff1"}},{"ruleId":"D1","level":"warning","message":{"text":"recent-tasks.recordRecentTask (cyclomatic 16): recent-tasks.recordRecentTask 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":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9623ff9a67b7fbc4a6a5b61fc39db6588bcf8e4701d4abc14252f7454e356eda"}},{"ruleId":"D1","level":"warning","message":{"text":"angle-bracket-markdown.transformAngleBrackets (cyclomatic 16): angle-bracket-markdown.transformAngleBrackets 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":"ui/src/lib/angle-bracket-markdown.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9842c36981e69aa437c91a399bbf4a21294cb41f3b84723b98c89b80c258ed"}},{"ruleId":"D1","level":"warning","message":{"text":"equals-markdown.unescapeProse (cyclomatic 16): equals-markdown.unescapeProse 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 23, 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":"ui/src/lib/equals-markdown.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6182fd460ae4e0442cab8dcfa6be9441354b5709cacc3691ba8989f5e6bc40"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySettingsNav.getCompanySettingsTab (cyclomatic 16): CompanySettingsNav.getCompanySettingsTab 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":"ui/src/components/access/CompanySettingsNav.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"901dd29e850544fa56680c5bef953574a771c3708bd19b89323e77c796dc3093"}},{"ruleId":"D1","level":"warning","message":{"text":"keyboardShortcuts.resolveAttentionQueueKeyAction (cyclomatic 16): keyboardShortcuts.resolveAttentionQueueKeyAction 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":"ui/src/lib/keyboardShortcuts.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a846b50f3559efe5d220cfb2d571b49d2c1ae6aa323e3434d708b6cbdc970c7"}},{"ruleId":"D1","level":"warning","message":{"text":"keyboardShortcuts.resolveIssueDetailGoKeyAction (cyclomatic 16): keyboardShortcuts.resolveIssueDetailGoKeyAction 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":"ui/src/lib/keyboardShortcuts.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4987ad10fe2ce07e24eb45d142cfe08e74a78f9cbfb07473093b0eed199c3f35"}},{"ruleId":"D1","level":"warning","message":{"text":"useConnectionModels.useConnectionModelsState (cyclomatic 16): useConnectionModels.useConnectionModelsState 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":"ui/src/components/ai-connections/useConnectionModels.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efa1d662e56002735906c514cbb179ff1893ab35bf2480a0098cb55f2601e71"}},{"ruleId":"D1","level":"warning","message":{"text":"index.normalizedEnvEntries (cyclomatic 16): index.normalizedEnvEntries 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":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf46ec48e8367558d759d76aacb32a9cfd1b3fff8949ff2f55e0df5c1914d30"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.production.Sidebar (cyclomatic 16): Sidebar.production.Sidebar 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Sidebar.production.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1c5dd16c3b3f5a06f3650c380c002f64deb5d412fd7731106d699f91a5e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockedInboxView.BlockedInboxRow (cyclomatic 16): BlockedInboxView.BlockedInboxRow 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":"ui/src/components/BlockedInboxView.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31cea0e45860e7cead899ab75c02d85ffbcd3de6a458a156e072665e7f2a7e8"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveUpdatesProvider.applyRunLiveStatusPatchToCaches (cyclomatic 16): LiveUpdatesProvider.applyRunLiveStatusPatchToCaches has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5d6a72006ba6ed4659ce2f070130f0218a9801ae208e7fe89c7f0d92dadf02"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceExportRecovery.PreviousServerStopConfirmation (cyclomatic 16): WorkspaceExportRecovery.PreviousServerStopConfirmation 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd0f072a3502f7860e73cd5996230f8dda9ba742330fe8256707889f82767c"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalCard.ApprovalCard (cyclomatic 16): ApprovalCard.ApprovalCard 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":"ui/src/components/ApprovalCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f40711d7aaa41aea75b3a00d1e92132c0a6de5266d1cc39d49eaf7676e51ab"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatProtocolActivityRow.detailContent (cyclomatic 16): TaskChatProtocolActivityRow.detailContent 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":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6c3d21bdb1b42427fcd2dc354be05a4d54c052596758792b9a9d0a2e3f11d"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskChatRichInput.TaskChatRichInput (cyclomatic 16): TaskChatRichInput.TaskChatRichInput has cyclomatic complexity 16 (threshold 15). Of this number, 8 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":"ui/src/components/task-chat/TaskChatRichInput.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ee20a04e6c4e1ad6a649cacdc26d726e73ea2ded704e584c804d3e0be5987b"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript-adapter.summarizeToolInput (cyclomatic 16): transcript-adapter.summarizeToolInput has cyclomatic complexity 16 (threshold 15). 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eedacf1e84b439e42b0c5e2841b2c957b02d8268d2ddb0fa08a916664048c3"}},{"ruleId":"D1","level":"warning","message":{"text":"run-log-chunks.mergeRunLogChunks (cyclomatic 16): run-log-chunks.mergeRunLogChunks 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":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"740a89753467be0414bb339465057962fcac170ca6ada6d27a66b3baffdbd463"}},{"ruleId":"D1","level":"warning","message":{"text":"issue-chat-messages.computeSegmentTimings (cyclomatic 16): issue-chat-messages.computeSegmentTimings 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e898e4b6d917f88002bf64a0b0127193099db67b22a3d5c16fed91de3f926a"}},{"ruleId":"D1","level":"warning","message":{"text":"IssueChatThread.IssueChatToolPart (cyclomatic 16): IssueChatThread.IssueChatToolPart 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"db003bdae0aeced248371252a3c1fd75c4b635a47548589c6ea05c27118e8dbb"}},{"ruleId":"D1","level":"warning","message":{"text":"board-send-draft.canDismissBoardSendBatch (cyclomatic 16): board-send-draft.canDismissBoardSendBatch 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":"ui/src/components/chat/board-send-draft.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd3c17d3e1a355be89ece11862671f9d4cc329a57917f833c5e8e89cdcbf973"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRuntimeControls.CommandSection (cyclomatic 16): WorkspaceRuntimeControls.CommandSection 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 452). 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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"82927c6bd0875a1e6a4bcc9808507d097a1ce3bbf0557ab3ef31888c1dc1df62"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextUsageMeter.ContextUsageCard (cyclomatic 16): ContextUsageMeter.ContextUsageCard 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":"ui/src/components/ContextUsageMeter.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15b0facb4845d036eaebb419e229ea6703bc44d4917eb8eea5137413c9398a0"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskWorkspaceFilePanel.TaskWorkspaceFilePanel (cyclomatic 16): TaskWorkspaceFilePanel.TaskWorkspaceFilePanel 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":"ui/src/components/task-side-panel/TaskWorkspaceFilePanel.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a69e78a486bebec8a0e573da79a2d92de8a8e9b7cd31433d84402fd194b44f"}},{"ruleId":"D1","level":"warning","message":{"text":"SidePanelTabs.SidePanelTabs::handleKeyDown (cyclomatic 16): SidePanelTabs.SidePanelTabs::handleKeyDown 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 (SidePanelTabs.SidePanelTabs) 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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a844f3483da86cccb1ce32c52382f1466b82648f28aed0107400a1420fc3b61"}},{"ruleId":"D1","level":"warning","message":{"text":"RunnerInspector.buildOperations (cyclomatic 16): RunnerInspector.buildOperations has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8eb23807a698d9e146b096882617c212689f47a60f1545bf7a2ed10574b109"}},{"ruleId":"D1","level":"warning","message":{"text":"FileViewerSheet.FileViewerBody (cyclomatic 16): FileViewerSheet.FileViewerBody 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c64af9efaf32d2e8663223160f51e823662f51c1b51ea97c6d679ce377a905a"}},{"ruleId":"D1","level":"warning","message":{"text":"Agents.Agents::renderAgentRow (cyclomatic 16): Agents.Agents::renderAgentRow 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. This shape REPEATS in the file: one other method here (Agents.Agents) 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e154ead789514778038aad47b49508e0cc6dae2fb3ca2bdb43914e298bdb6df5"}},{"ruleId":"D1","level":"warning","message":{"text":"native-run-stop.stopFailedNativeRun (cyclomatic 16): native-run-stop.stopFailedNativeRun 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":"ui/src/lib/native-run-stop.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe5d103d6a5e18db0ab995f7e382ccef0dd66f269c1ffa3b99806229fc7ab57"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentLifecycleStatus.AgentLifecycleStatus (cyclomatic 16): AgentLifecycleStatus.AgentLifecycleStatus 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":"ui/src/components/AgentLifecycleStatus.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a9c7d11f2c5f5159cc4303c95534cd4fd6e1ec55817aa07e0a55b1fb592001"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTree.parseFrontmatter (cyclomatic 16): FileTree.parseFrontmatter 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":"ui/src/components/FileTree.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1e459fcd8ced3c4021d2115f348932934a1ba65ca712499198d151c1eef5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"RunDetails.WorkspaceOperationLogViewer (cyclomatic 16): RunDetails.WorkspaceOperationLogViewer 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a17f58542eca4c7b452c6e9659caba860a91b7aa164cef8e3d0151654c589b8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-configuration-yaml.parseAgentConfigurationYaml (cyclomatic 16): agent-configuration-yaml.parseAgentConfigurationYaml 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 2 function literals inside it that branch (lines 44, 53). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration-yaml.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7803cea61f9a36c145dcce1ed5ceac215d47cc760a1318bdcaa86e7950b9bc"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.KeysTab (cyclomatic 16): AgentDetail.KeysTab has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6c54ad198f86e54169acf3793490f9a5ff4b1f32e4f298a7f55cb7d80f3988"}},{"ruleId":"D1","level":"warning","message":{"text":"project-workspaces-tab.buildProjectWorkspaceSummaries (cyclomatic 16): project-workspaces-tab.buildProjectWorkspaceSummaries has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-workspaces-tab.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0631df21430bb4c6a3e47964ab429ca25f414f33f9c67e19635957cf6f3928af"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspaces.Workspaces (cyclomatic 16): Workspaces.Workspaces has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Workspaces.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a674d2428b16ad5641d2f4c191a6438e023fc875bfc5ea58c5c368158b0dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactCard.VideoPreview (cyclomatic 16): ArtifactCard.VideoPreview has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (loadThumbnailFrame, handleLoadedData, a function literal at line 61, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/ArtifactCard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"05879f5a1022ad069c8898f0ed8c2945bdf44cb83208906279f850fb59058842"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionCard.executionRow (cyclomatic 16): DecisionCard.executionRow 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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a9c27cd4824ba0af97634ea531a25275f9159823e241835b4bcae61d481064"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionModelSettings.DecisionModelSettingsSection (cyclomatic 16): DecisionModelSettings.DecisionModelSettingsSection has cyclomatic complexity 16 (threshold 15). Of this number, 11 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":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c477ed3d4cdeb5039424fb6b2a659bc3cbe8eb1ad52e5658b0b6d0a289667e"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanySettingsPluginPage.CompanySettingsPluginPage (cyclomatic 16): CompanySettingsPluginPage.CompanySettingsPluginPage has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettingsPluginPage.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ce50c22e0377b2f612667620e921e5facc086b3bc08a98527d09eb270a5fa8"}},{"ruleId":"D1","level":"warning","message":{"text":"profile-model.buildEntries (cyclomatic 16): profile-model.buildEntries 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":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e713bbb7bada0ffbec2fc1a598ec12cd037afc4501c71e0d7016f5d3d1eafc9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewQueueCard.ReviewRow (cyclomatic 16): ReviewQueueCard.ReviewRow 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":"ui/src/pages/apps/ReviewQueueCard.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31899725544b541a3168892e98d2ac7899af570210c7c4e615ef01673852a6b"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillStudio.SkillPathDialog (cyclomatic 16): SkillStudio.SkillPathDialog 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 2 function items inside it that branch (a function literal at line 1799, submit). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"a073e461d4376c03e0453478be922f66021f7f0799d8fc30a23f86fd62925ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyImport.ConflictResolutionList (cyclomatic 16): CompanyImport.ConflictResolutionList has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 469). 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1696395c0074762f8d3cb2719abaf3153f7b4409368d6112758245bf53309efd"}},{"ruleId":"D1","level":"warning","message":{"text":"company-export-selection.buildExportCheckedFiles (cyclomatic 16): company-export-selection.buildExportCheckedFiles 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":"ui/src/lib/company-export-selection.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d70c33f892e74fcc6854867aa73339085dc9e19a0c7be2cb206e83f32eb991"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanyExport.generateReadmeFromSelection (cyclomatic 16): CompanyExport.generateReadmeFromSelection 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c609788081b5f4db879f355f231fc10a504e2029707070a6d74962ac771a2310"}},{"ruleId":"D1","level":"warning","message":{"text":"Agents.production.Agents::renderAgentRow (cyclomatic 16): Agents.production.Agents::renderAgentRow 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. This shape REPEATS in the file: one other method here (Agents.production.Agents) 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6425ea351036c0092719c5e02e4fea56e595ba0b88bf0e29656e960159fff230"}},{"ruleId":"D1","level":"warning","message":{"text":"App.boardRoutes (cyclomatic 16): App.boardRoutes 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":"ui/src/App.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e5e152725b6d64cb4a573f1d89f9bf760db53cc10c70ad6979020c917163a4"}},{"ruleId":"D1","level":"warning","message":{"text":"file-resources.buildQuery (cyclomatic 16): file-resources.buildQuery 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":"ui/src/api/file-resources.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceda399e475d39188360ff9dec3d21ca8543c5d4c7f9256e179273f70e4fd931"}},{"ruleId":"D1","level":"warning","message":{"text":"PanelCard.PanelCard (cyclomatic 16): PanelCard.PanelCard 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":"ui/src/artifact-directions/directions/d1-solid/PanelCard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"197828a7f6cc5db936bb6b557a3940b3f465625a115f0d5cf90964158111a770"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaForm.getDefaultForSchema (cyclomatic 16): JsonSchemaForm.getDefaultForSchema 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb78bbccb1acb7e6baa0242bf82c35342d1a7f30cb9844e84e6284b83af234f"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaForm.JsonSchemaForm (cyclomatic 16): JsonSchemaForm.JsonSchemaForm 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 1326, 1364, 1380). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b258e636540403415f054efac18e582cf9802d725ae81570f9430bd15de6264"}},{"ruleId":"D1","level":"warning","message":{"text":"AiConnectionUsagePanel.overageSummary (cyclomatic 16): AiConnectionUsagePanel.overageSummary 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":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d91cc1d103fb124a0147131827eb16515c6de4a1defe8fe569159be8c64605"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsUsingSkillDialog.AgentRow (cyclomatic 16): AgentsUsingSkillDialog.AgentRow has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fbd4c4398624a9320a585d3df075e106c46eb20f8e14fb21191cba7faee7dc"}},{"ruleId":"D1","level":"warning","message":{"text":"project-created-items.projectCreatedItems (cyclomatic 16): project-created-items.projectCreatedItems 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 3 function literals inside it that branch (lines 9, 33, 20). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/project-created-items.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0264f281efe085f75f57764ad2fd8d9b4615e86fc6269e7d38d821588bcb4"}},{"ruleId":"D1","level":"warning","message":{"text":"radio-card.RadioCardGroup (cyclomatic 16): radio-card.RadioCardGroup 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 items inside it that branch (handleKeyDown, a function literal at line 130). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ui/radio-card.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"85851acfee1510ec111e974003ac1e57348eccc12d5c65093d2c76f5767e940b"}},{"ruleId":"D1","level":"warning","message":{"text":"PrimaryAgentProvider.PrimaryAgentProvider (cyclomatic 16): PrimaryAgentProvider.PrimaryAgentProvider has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 45, a function literal at line 38, isCurrentScope, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/PrimaryAgentProvider.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30a23bb4a3b40cf4f223778f04bb5e72cb93730251e60f9ac34f96352556224"}},{"ruleId":"D1","level":"warning","message":{"text":"sdk.startTracingSdk (cyclomatic 16): sdk.startTracingSdk 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":"ui/src/lib/browser-tracing/sdk.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba50deab41f080bda200bdf835533d20e16b817b3aeba50e812cdc1ee74c723"}},{"ruleId":"D1","level":"warning","message":{"text":"launchers.PluginLauncherProvider (cyclomatic 16): launchers.PluginLauncherProvider has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 679, 639, 629, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/plugins/launchers.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e666fe40129740e3f9cec9649b58d408c743e823b400745115b987dbaaf055"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetail.production.KeysTab (cyclomatic 16): AgentDetail.production.KeysTab has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf314a93842f689e228de1cdb3c84ebd25ea4c7e0e571b687e3760ceed24fecd"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposioAppManager.ComposioAccountObservations (cyclomatic 16): ComposioAppManager.ComposioAccountObservations has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 55, refresh). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/ComposioAppManager.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc89cc0990f3ace10bbc565ce12081acc1cf32908d570ccae58c35a14ee43da"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditTab.lifecycleSummary (cyclomatic 16): AuditTab.lifecycleSummary 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d08f3a5da6fa56f70a57cc6736f93c3035155769143979b54220ef33749d3"}},{"ruleId":"D1","level":"warning","message":{"text":"useAgentEnvironmentSlots.useAgentEnvironmentSlots (cyclomatic 16): useAgentEnvironmentSlots.useAgentEnvironmentSlots 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":"ui/src/plugins/useAgentEnvironmentSlots.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e01b98520c86e6a211d7e0a33a1f7cde9aff822523b24cd5ac0e76711865e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationTypographyPreview.ConversationTypographyPreview (cyclomatic 16): ConversationTypographyPreview.ConversationTypographyPreview 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 16, 35, 43). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ConversationTypographyPreview.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f8c33221655775d4a1a27060cc7b727cef04a9fe1a905e17a6b6204af059ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectHealthTrial.ProjectHealthContent (cyclomatic 16): ProjectHealthTrial.ProjectHealthContent has cyclomatic complexity 16 (threshold 15). Of this number, 9 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":"ui/storybook/support/design-proposals/ProjectHealthTrial.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3fd7bb4476b8e3597b57c22aed7686eab8424235444bab24da6c97db1bee43"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexCommandExecutor::retire_orphaned_startup_attempt (cyclomatic 16): CodexCommandExecutor::retire_orphaned_startup_attempt has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: CodexCommandExecutor::execute (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3798a76b32b96edad20082c12e5ddb6ca957902c13a067d708915c38724cdcec"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::acpx_event_payload::decode_rich_event (cyclomatic 16): paperclip_runner_core::acpx_event_payload::decode_rich_event has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: paperclip_runner_core::acpx_event_payload::rich_event_schema (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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee560d61bb523cb039901c35a1196a7f154db62f23c39bab41d1703d1162931"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::aws_agentcore_provider::normalize_stream_event (cyclomatic 16): paperclip_runner_core::aws_agentcore_provider::normalize_stream_event 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/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0daf3f2ed625113a4be74a0fe9b7c665104b6d45bd5aaea9ab309107521bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::durable::runner::process_host_control (cyclomatic 16): paperclip_runner_core::durable::runner::process_host_control has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb981a0f92845db972e73b726ed4656f3bc06f6654e78ba4e4ad8bd409cba18a"}},{"ruleId":"D1","level":"warning","message":{"text":"paperclip_runner_core::durable::transport::validate_challenge (cyclomatic 16): paperclip_runner_core::durable::transport::validate_challenge 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/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da6a25e8e8753ecee5e3c5a14ed8bf85f58cea70dd29bbc49020c049487894"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatThread.TaskChatThread (cognitive 1236): TaskChatThread.TaskChatThread has cognitive complexity 1236 (threshold 15). Drivers by points: ternaries 234 (665 pts), if/else 154 (266 pts), boolean chains 253, loops 42 (48 pts), error handling 3 (4 pts) (nesting depth added 550). Of this number, 280 points are the body\u0027s own statements and 956 belong to 104 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bb0df8a01801031771bb33045c0fd5cf2b0bf80c99944c4b84e259e8ad743b"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueDetail.TaskDetailSurface (cognitive 1031): IssueDetail.TaskDetailSurface has cognitive complexity 1031 (threshold 15). Drivers by points: ternaries 292 (476 pts), if/else 233 (274 pts), boolean chains 247, loops 19 (22 pts), error handling 8 (11 pts), match/switch 1 (nesting depth added 231). Of this number, 438 points are the body\u0027s own statements and 593 belong to 213 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e00581a72f76c034fae3dfea73bce4d6a8b5e5667fcf59e74cbdb2b1133aed"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-codex-app-server::run (cognitive 771): paperclip_runner_core::bin::fake-codex-app-server::run has cognitive complexity 771 (threshold 15). Drivers by points: if/else 209 (600 pts), boolean chains 86, loops 19 (83 pts), match/switch 1 (2 pts) (nesting depth added 456). 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/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"689abc6dcd21d51dc7d527df0050805a02a6bba5e1f456b795ff699cd880f17c"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.companyPortabilityService.importBundle (cognitive 752): company-portability.companyPortabilityService.importBundle has cognitive complexity 752 (threshold 15). Drivers by points: if/else 134 (380 pts), ternaries 53 (174 pts), loops 41 (116 pts), boolean chains 58, error handling 7 (24 pts) (nesting depth added 459). Of this number, 715 points are the body\u0027s own statements and 37 belong to 10 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3aefa34ba9d15b67a2a61ce9477a5081157a5ad6827ec7e4a889ed9b80613b"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueProperties.IssueProperties (cognitive 632): IssueProperties.IssueProperties has cognitive complexity 632 (threshold 15). Drivers by points: ternaries 256 (422 pts), boolean chains 119, if/else 75 (84 pts), loops 7 (nesting depth added 175). Of this number, 424 points are the body\u0027s own statements and 208 belong to 85 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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddf37cb90ae27c3bf65b35afc28a48fbe2c81871d00195c5afa8f72d56073a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.StandardConnectionSetupFlow (cognitive 614): ConnectionSetupFlow.StandardConnectionSetupFlow has cognitive complexity 614 (threshold 15). Drivers by points: ternaries 122 (214 pts), boolean chains 202, if/else 127 (186 pts), error handling 6 (10 pts), loops 2 (nesting depth added 155). Of this number, 250 points are the body\u0027s own statements and 364 belong to 73 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b40beae186fb24145964849b695a3154795f6e8776bfde71e8925e15c6cbb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat.heartbeatService.executeRunAttempt (cognitive 576): heartbeat.heartbeatService.executeRunAttempt has cognitive complexity 576 (threshold 15). Drivers by points: if/else 152 (242 pts), ternaries 88 (168 pts), boolean chains 136, error handling 16 (28 pts), loops 2 (nesting depth added 182). Of this number, 461 points are the body\u0027s own statements and 115 belong to 29 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":"server/src/services/heartbeat.ts"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ba5c5d6993d943b6f80393c15f98e7075a9f93c0c72d69ff4e7a862f984097"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.reconcileStrandedAssignedIssues (cognitive 551): service.recoveryService.reconcileStrandedAssignedIssues has cognitive complexity 551 (threshold 15). Drivers by points: if/else 178 (458 pts), boolean chains 49, ternaries 19 (41 pts), loops 2 (3 pts) (nesting depth added 303). 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfcd710382d8e342222158a9d2b8eddb4d59d4af7971687cdfc8955a0a6fa68"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigForm.AgentConfigForm (cognitive 551): AgentConfigForm.AgentConfigForm has cognitive complexity 551 (threshold 15). Drivers by points: ternaries 164 (290 pts), boolean chains 177, if/else 63 (75 pts), error handling 6 (7 pts), loops 2 (nesting depth added 139). Of this number, 376 points are the body\u0027s own statements and 175 belong to 64 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6578d60c3d995115d2b26bc24a8d67529fe3b06efecc932bff3fad02e4057a47"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSessionAttempt (cognitive 525): native-session-executor.executePaperclipNativeSessionAttempt has cognitive complexity 525 (threshold 15). Drivers by points: ternaries 167 (777 pts), if/else 193 (357 pts), boolean chains 209, error handling 10 (17 pts), loops 2 (3 pts) (nesting depth added 782). 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: 2 other methods here (native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage, native-session-executor.executePaperclipNativeSessionAttempt::observeAccountingEvent) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10798}}}],"partialFingerprints":{"codehealthFindingId/v1":"967fddc3526bf62125f76d3dc4c32aa6d635864367b7bb939d20f2986a608164"}},{"ruleId":"D2","level":"warning","message":{"text":"Inbox.StreamlinedInbox (cognitive 462): Inbox.StreamlinedInbox has cognitive complexity 462 (threshold 15). Drivers by points: if/else 134 (201 pts), boolean chains 143, ternaries 59 (87 pts), loops 24 (29 pts), error handling 1, match/switch 1 (nesting depth added 100). Of this number, 142 points are the body\u0027s own statements and 320 belong to 96 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"0550b60503f8fa3f8a5cda7ef6759e39b85231ef67a591fc9298cb6ec458be19"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim (cognitive 450): native-session-executor.createRunnerdBackendWithinSessionClaim has cognitive complexity 450 (threshold 15). Drivers by points: ternaries 148 (226 pts), if/else 69 (111 pts), boolean chains 107, error handling 2 (3 pts), loops 1 (3 pts) (nesting depth added 123). Of this number, 227 points are the body\u0027s own statements and 223 belong to 30 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55ab88357de3da2466fd38c8a2a259baa25fa68c88f1344d75142973d284801"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces (cognitive 441): execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces has cognitive complexity 441 (threshold 15). Drivers by points: if/else 126 (308 pts), ternaries 37 (85 pts), boolean chains 64, error handling 7 (18 pts), loops 3 (8 pts) (nesting depth added 246). 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 (execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces::expireTaskDirectory) 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95a4cb20af4e035dd884a9cb03c5759a11dbb6875af209b02cb6b9399a7c364"}},{"ruleId":"D2","level":"warning","message":{"text":"native-restart-recovery.claimNativeRestartRecoveries (cognitive 440): native-restart-recovery.claimNativeRestartRecoveries has cognitive complexity 440 (threshold 15). Drivers by points: ternaries 59 (162 pts), boolean chains 152, if/else 53 (125 pts), loops 1 (nesting depth added 175). Most of this is not in the body itself: 10 of the 440 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1188, 1279, 2197). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"59646777a8fbea0c48731b994381d595282f3e71f48b5045737a92ef68e9ebba"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-preparation.prepareHeartbeatWorkspaceLocked (cognitive 430): workspace-preparation.prepareHeartbeatWorkspaceLocked has cognitive complexity 430 (threshold 15). Drivers by points: ternaries 92 (167 pts), if/else 88 (138 pts), boolean chains 112, error handling 7 (11 pts), loops 2 (nesting depth added 129). Of this number, 287 points are the body\u0027s own statements and 143 belong to 29 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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"886400155d4aab8f806220e38c552c145e8d7cb5558b7a7f40fb967a8d9171bc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.executeNativeSession (cognitive 421): native-session-runtime.executeNativeSession has cognitive complexity 421 (threshold 15). Drivers by points: if/else 100 (199 pts), ternaries 42 (93 pts), boolean chains 89, error handling 13 (25 pts), loops 8 (15 pts) (nesting depth added 169). Of this number, 275 points are the body\u0027s own statements and 146 belong to 24 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d448e9873202fcb194ae1dd6bddbb717aeaf91069ba3601f7af986aeb72c828"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-task-runtime.executeEnvironmentTask (cognitive 415): environment-task-runtime.executeEnvironmentTask has cognitive complexity 415 (threshold 15). Drivers by points: if/else 92 (153 pts), boolean chains 139, ternaries 58 (111 pts), error handling 4 (9 pts), loops 1 (3 pts) (nesting depth added 121). Of this number, 359 points are the body\u0027s own statements and 56 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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2531b50847744a549ad5c4454265b236d1f3c36634bd435d8301ce2e1c5bac20"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.CompanySkills (cognitive 414): CompanySkills.CompanySkills has cognitive complexity 414 (threshold 15). Drivers by points: ternaries 107 (213 pts), if/else 91 (121 pts), boolean chains 56, error handling 9 (13 pts), loops 10 (11 pts) (nesting depth added 141). Of this number, 166 points are the body\u0027s own statements and 248 belong to 80 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"df099c5955b20e3745a5ac5c7660d55d0f60573d9df0d8b44921e2eb8d9a0f88"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyEnvironments.CompanyEnvironments (cognitive 413): CompanyEnvironments.CompanyEnvironments has cognitive complexity 413 (threshold 15). Drivers by points: ternaries 108 (282 pts), boolean chains 66, if/else 47 (62 pts), loops 3 (nesting depth added 189). Of this number, 206 points are the body\u0027s own statements and 207 belong to 37 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7a687d7c0e74ceb3a54fab6fc9ac83ef418f7554ed025fba4ae0258551ad9f"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.renderPaperclipWakePromptBody (cognitive 408): server-utils.renderPaperclipWakePromptBody has cognitive complexity 408 (threshold 15). Drivers by points: ternaries 74 (174 pts), if/else 93 (170 pts), boolean chains 40, loops 10 (23 pts), match/switch 1 (nesting depth added 190). Of this number, 364 points are the body\u0027s own statements and 44 belong to 15 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86bdf15fabc330e4bb25c7cb10d9886651c4a1c9c6f79b6ab2cd1f4dbd623ef"}},{"ruleId":"D2","level":"warning","message":{"text":"explicit-native-continuation.admitExplicitNativeContinuation (cognitive 387): explicit-native-continuation.admitExplicitNativeContinuation has cognitive complexity 387 (threshold 15). Drivers by points: if/else 87 (180 pts), boolean chains 119, ternaries 45 (80 pts), loops 5 (8 pts) (nesting depth added 131). Of this number, 366 points are the body\u0027s own statements and 21 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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff6cac0ef0760a209c35e9f363077e79a0f6c102a6288a453e559d600e9d436"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.companyPortabilityService.exportBundle (cognitive 382): company-portability.companyPortabilityService.exportBundle has cognitive complexity 382 (threshold 15). Drivers by points: if/else 73 (150 pts), ternaries 59 (128 pts), loops 37 (56 pts), boolean chains 35, error handling 4 (13 pts) (nesting depth added 174). Of this number, 335 points are the body\u0027s own statements and 47 belong to 12 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":"server/src/services/company-portability.ts"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c96e0dfb0b8f30e2e78c6e963314d946e9f1586bdcd4b87f4e4d6658b33e245"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#resumeWork (cognitive 378): DurablePrpCodexTransport.#resumeWork has cognitive complexity 378 (threshold 15). Drivers by points: if/else 115 (186 pts), boolean chains 112, ternaries 44 (71 pts), error handling 4 (7 pts), loops 1 (2 pts) (nesting depth added 102). Of this number, 363 points are the body\u0027s own statements and 15 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6714}}}],"partialFingerprints":{"codehealthFindingId/v1":"791f4dba89c701827044716f2035d3b7728ea582075e4787bcc00ee0d1e449e7"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-acpx-sidecar::run (cognitive 377): paperclip_runner_core::bin::fake-acpx-sidecar::run has cognitive complexity 377 (threshold 15). Drivers by points: if/else 104 (285 pts), boolean chains 42, loops 11 (41 pts), match/switch 3 (9 pts) (nesting depth added 217). 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/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad82da4e237aaf588f680f7dd5db9da05002f4bc820843dfc014c52e317d79a"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.connectGalleryApp (cognitive 375): tool-access.toolAccessService.connectGalleryApp has cognitive complexity 375 (threshold 15). Drivers by points: if/else 107 (191 pts), boolean chains 85, ternaries 47 (76 pts), error handling 6 (14 pts), loops 4 (9 pts) (nesting depth added 126). Of this number, 342 points are the body\u0027s own statements and 33 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":"server/src/services/tool-access.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"92055dcf82e8e22492f6f82eabe2f57e340939e2e5a5832f5e7e2baaedd40b1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Secrets.Secrets (cognitive 361): Secrets.Secrets has cognitive complexity 361 (threshold 15). Drivers by points: ternaries 226 (400 pts), boolean chains 116, if/else 69 (82 pts), loops 2, match/switch 1 (nesting depth added 187). To reduce it, split the body into named stages: move each independent 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 (Secrets.Secrets::renderRowActions) 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83d0c104108fae3ee3d84a144e1f4a3a2c94371dc9b02f843fcbf72c6857a73"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.CompanySkills (cognitive 359): CompanySkills.production.CompanySkills has cognitive complexity 359 (threshold 15). Drivers by points: ternaries 92 (177 pts), if/else 79 (109 pts), boolean chains 49, error handling 9 (13 pts), loops 10 (11 pts) (nesting depth added 120). Of this number, 143 points are the body\u0027s own statements and 216 belong to 75 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de2018cd214cebf3e47a5bd919e18c1e03d9b7d41c229a423503d43dc9e5e72"}},{"ruleId":"D2","level":"warning","message":{"text":"status-decision-committer.commitNativeStatusDecision (cognitive 355): status-decision-committer.commitNativeStatusDecision has cognitive complexity 355 (threshold 15). Drivers by points: if/else 96 (171 pts), ternaries 43 (88 pts), boolean chains 69, error handling 10 (21 pts), loops 5 (6 pts) (nesting depth added 132). Most of this is not in the body itself: 8 of the 355 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1707, 2141, 2448, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1987b1a94c8c68e9c644babc70196df6399f6d4bf6def1f4cfccea2067b0c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueDetail.IssueDetailChatTab (cognitive 350): IssueDetail.IssueDetailChatTab has cognitive complexity 350 (threshold 15). Drivers by points: ternaries 86 (147 pts), if/else 57 (94 pts), boolean chains 81, loops 15 (23 pts), error handling 5 (nesting depth added 106). Of this number, 94 points are the body\u0027s own statements and 256 belong to 38 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0c2a88e996995389fede767d1f02b86780a33a5df628fc3d564ddcab6660a9"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueDocumentsSection.AccountIssueDocumentsSection (cognitive 345): IssueDocumentsSection.AccountIssueDocumentsSection has cognitive complexity 345 (threshold 15). Drivers by points: if/else 106 (132 pts), ternaries 79 (118 pts), boolean chains 90, error handling 2 (3 pts), loops 2 (nesting depth added 66). Of this number, 21 points are the body\u0027s own statements and 324 belong to 74 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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443f99f16f3d47fcaffd93d0d0a1902ba04842628960db6087b1c97cf6d74fc"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.attentionService.list (cognitive 344): attention.attentionService.list has cognitive complexity 344 (threshold 15). Drivers by points: ternaries 66 (168 pts), if/else 51 (102 pts), loops 21 (38 pts), boolean chains 36 (nesting depth added 170). Of this number, 318 points are the body\u0027s own statements and 26 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":"server/src/services/attention.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"01593cad7f35cbb1b0b55abc677a685d25827c819dbb5fac93dadf3bdfbcf501"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-managed-runtime.prepareSandboxManagedRuntime (cognitive 343): sandbox-managed-runtime.prepareSandboxManagedRuntime has cognitive complexity 343 (threshold 15). Drivers by points: if/else 71 (160 pts), ternaries 45 (89 pts), boolean chains 45, loops 16 (35 pts), error handling 6 (14 pts) (nesting depth added 160). Of this number, 64 points are the body\u0027s own statements and 279 belong to 28 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd769b436eab71d2cada76c274a4446772e3bac09ac3a356be2adfc6e23b6bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver (cognitive 341): environment-runtime.createSandboxEnvironmentDriver has cognitive complexity 341 (threshold 15). Drivers by points: if/else 144 (235 pts), boolean chains 106, ternaries 64 (105 pts), error handling 11 (22 pts), loops 8 (14 pts) (nesting depth added 149). To reduce it, split the body into named stages: move each independent 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 (environment-runtime.createSandboxEnvironmentDriver::resolveSandboxProviderPlugin, environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease, environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbc8eee4cd5a2c65756865413b868979c999f667a015ee58703dc3b7f761a10"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyInbox.Inbox (cognitive 341): LegacyInbox.Inbox has cognitive complexity 341 (threshold 15). Drivers by points: if/else 124 (188 pts), boolean chains 76, ternaries 31 (48 pts), loops 22 (27 pts), error handling 1, match/switch 1 (nesting depth added 86). Of this number, 68 points are the body\u0027s own statements and 273 belong to 71 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0d314f2f8035a2d9fec56b72b06988e86ec213698d66f95ae2cb691988fc7c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-events.nativeRunEventsToTranscript (cognitive 335): native-run-events.nativeRunEventsToTranscript has cognitive complexity 335 (threshold 15). Drivers by points: if/else 83 (196 pts), ternaries 23 (77 pts), boolean chains 57, loops 5 (nesting depth added 167). Of this number, 329 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8c4b8da409d36cfdf0f44ae21e46b1e3f3eb3a0586ead661bb449b25775aef"}},{"ruleId":"D2","level":"warning","message":{"text":"IssuesList.StreamlinedIssuesList (cognitive 324): IssuesList.StreamlinedIssuesList has cognitive complexity 324 (threshold 15). Drivers by points: if/else 81 (122 pts), boolean chains 105, ternaries 54 (74 pts), loops 17 (22 pts), match/switch 1 (nesting depth added 66). Of this number, 85 points are the body\u0027s own statements and 239 belong to 80 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd86c295ad4635fe4b7424a67faf994606f22b868e970c2a7078bedf95da839"}},{"ruleId":"D2","level":"warning","message":{"text":"testing.createTestHarness (cognitive 322): testing.createTestHarness has cognitive complexity 322 (threshold 15). Drivers by points: if/else 158 (180 pts), boolean chains 68, ternaries 43 (47 pts), loops 25 (27 pts) (nesting depth added 28). Of this number, 271 points are the body\u0027s own statements and 51 belong to 36 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/plugins/sdk/src/testing.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"af742a85b770dd4e638ccf7b38eecd816e2484d8d391f8223b412acc84fb5086"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionIntentInteractionBody.ConnectionIntentInteractionBody (cognitive 314): ConnectionIntentInteractionBody.ConnectionIntentInteractionBody has cognitive complexity 314 (threshold 15). Drivers by points: ternaries 91 (254 pts), boolean chains 35, if/else 19 (25 pts) (nesting depth added 169). Of this number, 279 points are the body\u0027s own statements and 35 belong to 9 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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb79af6fc51e3bac4a9fc1201d4617c34f9d98814065d923ae2d77c772e7ee"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createAuthorizationService.decideBase (cognitive 310): authorization.createAuthorizationService.decideBase has cognitive complexity 310 (threshold 15). Drivers by points: if/else 111 (218 pts), boolean chains 69, ternaries 11 (22 pts), loops 1 (nesting depth added 118). Of this number, 278 points are the body\u0027s own statements and 32 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":"server/src/services/authorization.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5726261567dbbdf97f96d50b7c78c0fc81ee17440859b9b841715bab04f910"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentSetup.Setup (cognitive 309): NewAgentSetup.Setup has cognitive complexity 309 (threshold 15). Drivers by points: ternaries 129 (271 pts), boolean chains 219, if/else 70 (87 pts), error handling 8 (11 pts), loops 4 (6 pts) (nesting depth added 164). To reduce it, split the body into named stages: move each independent 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: 5 other methods here (NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, NewAgentSetup.Setup::saveDraft, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"615453d3b1082db9cc8a72afc884b9d23ccc2b77e5556a2844acbf18d0d8f59c"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyIssuesList.IssuesList (cognitive 305): LegacyIssuesList.IssuesList has cognitive complexity 305 (threshold 15). Drivers by points: if/else 81 (122 pts), boolean chains 94, ternaries 46 (66 pts), loops 17 (22 pts), match/switch 1 (nesting depth added 66). Of this number, 68 points are the body\u0027s own statements and 237 belong to 79 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be2b1a3d32bb686bdbd527fcbc11ba7d9fc7b9b32afb1a9c3a3db8750f080bd"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-selection.selectHeartbeatRuntime (cognitive 292): runtime-selection.selectHeartbeatRuntime has cognitive complexity 292 (threshold 15). Drivers by points: ternaries 59 (159 pts), if/else 35 (82 pts), boolean chains 48, error handling 1 (3 pts) (nesting depth added 149). Of this number, 168 points are the body\u0027s own statements and 124 belong to 10 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f28e8ed5e87541ee905b17e745591441f48daa3232d316c69b2556417a174f"}},{"ruleId":"D2","level":"warning","message":{"text":"Costs.Costs (cognitive 290): Costs.Costs has cognitive complexity 290 (threshold 15). Drivers by points: ternaries 64 (173 pts), boolean chains 80, if/else 18 (26 pts), loops 11 (nesting depth added 117). Of this number, 155 points are the body\u0027s own statements and 135 belong to 33 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":"ui/src/pages/Costs.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"047df9400c8e8a27f36d234bb7751ed4b3f7d3d695382c0fb5b6c5758ad4434b"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.transcriptToTaskChatItems (cognitive 284): transcript-adapter.transcriptToTaskChatItems has cognitive complexity 284 (threshold 15). Drivers by points: if/else 60 (172 pts), ternaries 20 (64 pts), boolean chains 41, loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 159). Of this number, 273 points are the body\u0027s own statements and 11 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a68e602cdbb30baad0050409eb7fcdd14d8a9cf434404a6ee2bd93fc6a66253"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-finalizer.finalizeNativeRun (cognitive 279): native-run-finalizer.finalizeNativeRun has cognitive complexity 279 (threshold 15). Drivers by points: ternaries 60 (132 pts), if/else 40 (78 pts), boolean chains 63, error handling 2 (5 pts), loops 1 (nesting depth added 113). Of this number, 257 points are the body\u0027s own statements and 22 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c728ba15098880a764f759805e9155ad9b753bda9bc61d6c4bd17e57fc350509"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionWorkspaceDetail.ExecutionWorkspaceDetail (cognitive 276): ExecutionWorkspaceDetail.ExecutionWorkspaceDetail has cognitive complexity 276 (threshold 15). Drivers by points: ternaries 68 (216 pts), if/else 23 (33 pts), boolean chains 25, error handling 1, loops 1 (nesting depth added 158). Of this number, 187 points are the body\u0027s own statements and 89 belong to 28 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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c562a356c441a9660b99f8abe8db688284036ca6904fcb3dc5db8150d112c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubChatSetup.GitHubChatSetup (cognitive 269): GitHubChatSetup.GitHubChatSetup has cognitive complexity 269 (threshold 15). Drivers by points: ternaries 35 (136 pts), if/else 22 (73 pts), boolean chains 57, loops 2, error handling 1 (nesting depth added 152). Of this number, 165 points are the body\u0027s own statements and 104 belong to 19 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":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed13cb167c8a11695e7eccee8c0a03210ce7868d49d1108d0213c81bb097f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#deliverCommittedEvents (cognitive 266): DurablePrpCodexTransport.#deliverCommittedEvents has cognitive complexity 266 (threshold 15). Drivers by points: ternaries 28 (126 pts), if/else 38 (95 pts), boolean chains 38, error handling 1 (4 pts), loops 2 (3 pts) (nesting depth added 159). Of this number, 247 points are the body\u0027s own statements and 19 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83bcc6655c89cca62982b509fd4f249f922bfdfcbd32729fb587f9f462d1451"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeTool (cognitive 260): tool-gateway.createToolGatewayService.executeTool has cognitive complexity 260 (threshold 15). Drivers by points: if/else 64 (138 pts), ternaries 39 (71 pts), boolean chains 42, error handling 3 (9 pts) (nesting depth added 112). Of this number, 258 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3183eac04799d03751e7769a433a4d8561ed410f7424d2afbf2d9297f8be8251"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.resolveAgentRunner (cognitive 259): agent-runner-selection.resolveAgentRunner has cognitive complexity 259 (threshold 15). Drivers by points: if/else 67 (139 pts), boolean chains 44, ternaries 15 (41 pts), loops 10 (24 pts), error handling 6 (11 pts) (nesting depth added 117). Of this number, 256 points are the body\u0027s own statements and 3 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f37c9823c3622acf29e4cb031240f4b8b4ae7019d06f62438c2c4e542596e21"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::runner::run_durable_runner_with_host_control (cognitive 258): paperclip_runner_core::durable::runner::run_durable_runner_with_host_control has cognitive complexity 258 (threshold 15). Drivers by points: if/else 78 (218 pts), match/switch 7 (23 pts), boolean chains 12, loops 3 (5 pts) (nesting depth added 158). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"822f4e922cee6306e6994e01bcdf356af4e6b39b315a9688972d8c077d48c63b"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 254): App.App has cognitive complexity 254 (threshold 15). Drivers by points: ternaries 83 (141 pts), if/else 63 (75 pts), boolean chains 32, error handling 3 (5 pts), loops 1 (nesting depth added 72). Of this number, 114 points are the body\u0027s own statements and 140 belong to 58 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe636cf6b31f5ea66536896b0af2c5b7abe9b0b40614775a8a1dc3c6cf50fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.consumeTurn (cognitive 253): native-session-runtime.consumeTurn has cognitive complexity 253 (threshold 15). Drivers by points: if/else 79 (177 pts), boolean chains 35, ternaries 16 (24 pts), error handling 4 (9 pts), loops 6 (8 pts) (nesting depth added 113). Of this number, 30 points are the body\u0027s own statements and 223 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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2128b71b293c9227340780f74b74a4ac17b4cbca5f9a02ad4092144b49d4f23f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-notifications.mapNotificationBody (cognitive 251): codex-session-notifications.mapNotificationBody has cognitive complexity 251 (threshold 15). Drivers by points: if/else 94 (163 pts), boolean chains 55, ternaries 12 (28 pts), loops 2 (5 pts) (nesting depth added 88). Of this number, 250 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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea01b6ea31cbcc0e68aaf55789c1b851e61a4c5b1229dfc2a2283798ba4f9ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-management-authz.connectionManagementGuard.\u003Creturned closure\u003E.\u003Creturned closure\u003E::authorizeRequest (cognitive 249): connection-management-authz.connectionManagementGuard.\u003Creturned closure\u003E.\u003Creturned closure\u003E::authorizeRequest has cognitive complexity 249 (threshold 15). Drivers by points: if/else 81 (137 pts), boolean chains 59, ternaries 16 (30 pts), loops 15 (23 pts) (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741f394e2e249e0514f80426ad593336bf2d944e784fc97e335336eddb0afeb"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner (cognitive 248): OnboardingWizard.OnboardingWizardInner has cognitive complexity 248 (threshold 15). Drivers by points: boolean chains 287, if/else 187 (250 pts), ternaries 117 (225 pts), error handling 10 (11 pts), loops 1 (nesting depth added 172). To reduce it, split the body into named stages: move each independent 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: 4 other methods here (OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::handleLaunchToDashboard, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55e2dda7ceae89f31a0c41b6213ff9ba00ddaf7bbcc129350d75a7606870acf"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.invalidateActivityQueries (cognitive 238): LiveUpdatesProvider.invalidateActivityQueries has cognitive complexity 238 (threshold 15). Drivers by points: if/else 58 (126 pts), boolean chains 51, ternaries 9 (38 pts), loops 8 (23 pts) (nesting depth added 112). Of this number, 235 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5cc0ada0b5358294c0a699f776f4463cfd2a44c0d4303b6ea88b857f3dff31"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.AskUserQuestionsCard (cognitive 229): IssueThreadInteractionCard.AskUserQuestionsCard has cognitive complexity 229 (threshold 15). Drivers by points: ternaries 56 (193 pts), boolean chains 17, if/else 8 (12 pts), error handling 4 (7 pts) (nesting depth added 144). Of this number, 99 points are the body\u0027s own statements and 130 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"77faf0c3b875f1dcced879049e19a7604fc6eaf85a2e3a1c814a17e954e8ea8b"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillRoutes (cognitive 228): company-skills.companySkillRoutes has cognitive complexity 228 (threshold 15). Drivers by points: if/else 112 (147 pts), ternaries 33 (45 pts), boolean chains 24, error handling 6 (7 pts), loops 3 (5 pts) (nesting depth added 50). None of this is in the body itself: all 228 points belong to 65 function items inside it that branch (a function literal at line 1400, a function literal at line 412, a function literal at line 780, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8fe10c90160fefffe9f98af62e6d7593753b3761eacced23e64f1417dabc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.PromptsTab (cognitive 227): AgentDetail.PromptsTab has cognitive complexity 227 (threshold 15). Drivers by points: if/else 52 (77 pts), boolean chains 73, ternaries 40 (73 pts), loops 3 (4 pts) (nesting depth added 59). Of this number, 89 points are the body\u0027s own statements and 138 belong to 40 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8684cca9c209483397ad4650b729480c0864e3a135179f0c14fc873e21df126"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.buildHostServices (cognitive 224): plugin-host-services.buildHostServices has cognitive complexity 224 (threshold 15). Drivers by points: if/else 90 (112 pts), ternaries 59 (78 pts), boolean chains 25, loops 5, error handling 2 (4 pts) (nesting depth added 43). Of this number, 199 points are the body\u0027s own statements and 25 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, 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92f41da84caf2c06a5ca1a309e27d56253b193249fd7fa1ed3a9382248ffce"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerInspector.RunnerInspector (cognitive 224): RunnerInspector.RunnerInspector has cognitive complexity 224 (threshold 15). Drivers by points: ternaries 58 (129 pts), if/else 42 (47 pts), boolean chains 45, error handling 3 (nesting depth added 76). Of this number, 107 points are the body\u0027s own statements and 117 belong to 24 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"111739d44e7c6254719f520bbca0cd2465c5132b1648dd9cff598dae33f19149"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.recoverActiveExecutions (cognitive 222): recovery.createHeartbeatRecovery.recoverActiveExecutions has cognitive complexity 222 (threshold 15). Drivers by points: if/else 46 (97 pts), boolean chains 65, ternaries 25 (56 pts), loops 3 (4 pts) (nesting depth added 83). Of this number, 213 points are the body\u0027s own statements and 9 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d2a7ad39b12a4f2ef5759861da98bb6413822f4673e7bbc6c3766e900a59dc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-execution.parseNativeExecutionInput (cognitive 221): native-execution.parseNativeExecutionInput has cognitive complexity 221 (threshold 15). Drivers by points: if/else 65 (98 pts), ternaries 27 (65 pts), boolean chains 58 (nesting depth added 71). Of this number, 217 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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0616424e6744ec41381ac03385af5707e6dfb1e83ec46075de8b614a5ac9c6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.execute (cognitive 221): PaperclipRunnerToolAuthority.execute has cognitive complexity 221 (threshold 15). Drivers by points: if/else 59 (108 pts), ternaries 30 (70 pts), boolean chains 37, error handling 1 (5 pts), match/switch 1 (nesting depth added 93). Of this number, 193 points are the body\u0027s own statements and 28 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"532d168e2d909217e6f0ce56682d3d63d7dd215117e7052db24e4a7137a62e45"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeRemoteHttpTool (cognitive 218): tool-gateway.createToolGatewayService.executeRemoteHttpTool has cognitive complexity 218 (threshold 15). Drivers by points: if/else 80 (131 pts), ternaries 24 (43 pts), boolean chains 38, error handling 3, loops 2 (3 pts) (nesting depth added 71). Of this number, 176 points are the body\u0027s own statements and 42 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47abe9622338d26a1f68033e8c5e4f324754e80371668dd5a20d3b0b8000cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-evidence-migration.migrateRunEvidence (cognitive 216): run-evidence-migration.migrateRunEvidence has cognitive complexity 216 (threshold 15). Drivers by points: if/else 41 (103 pts), ternaries 20 (42 pts), boolean chains 33, loops 10 (22 pts), error handling 6 (16 pts) (nesting depth added 106). Of this number, 186 points are the body\u0027s own statements and 30 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":"server/src/services/run-evidence-migration.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"548cbd56c34bcc5d137e95f64adff784c3f4580326150f0dcefbb2d5f766e40f"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEditor.MarkdownEditor (cognitive 208): MarkdownEditor.MarkdownEditor has cognitive complexity 208 (threshold 15). Drivers by points: if/else 99 (124 pts), boolean chains 66, ternaries 9 (13 pts), loops 3, error handling 1 (2 pts) (nesting depth added 30). Of this number, 37 points are the body\u0027s own statements and 171 belong to 48 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"7891101e59ed934d8092fba7ce9652f21050edcf058feb53547853b257436a4c"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.enqueueWakeup (cognitive 207): queue.createHeartbeatQueue.enqueueWakeup has cognitive complexity 207 (threshold 15). Drivers by points: if/else 221 (493 pts), ternaries 67 (178 pts), boolean chains 150, loops 2 (4 pts) (nesting depth added 385). 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 (queue.createHeartbeatQueue.enqueueWakeup::existingDurableReceipt) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"59baf50e2767efbc3d1ae2ef0bb27caa190290cd554028f7de1c0bc5eb9c0fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-adapter.openQualifiedAcpxRuntime (cognitive 205): acpx-runtime-adapter.openQualifiedAcpxRuntime has cognitive complexity 205 (threshold 15). Drivers by points: if/else 51 (94 pts), ternaries 49 (63 pts), boolean chains 41, error handling 4 (7 pts) (nesting depth added 60). Of this number, 81 points are the body\u0027s own statements and 124 belong to 22 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"44689d969ec83e34920e5aa29196f04d4bd5d5135cbbf3e9ee765e3a103014e0"}},{"ruleId":"D2","level":"warning","message":{"text":"github-skill-source.scanRepository (cognitive 203): github-skill-source.scanRepository has cognitive complexity 203 (threshold 15). Drivers by points: if/else 37 (78 pts), ternaries 27 (71 pts), boolean chains 29, loops 13 (25 pts) (nesting depth added 97). Of this number, 146 points are the body\u0027s own statements and 57 belong to 15 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":"server/src/services/github-skill-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3336b80f6e11220d2161269e4a1db8d8eab3b7b33aebfb823f93788c78721"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive (cognitive 201): remote-workspace-snapshot-archive.workspaceArchive has cognitive complexity 201 (threshold 15). Drivers by points: if/else 165 (318 pts), boolean chains 84, loops 36 (71 pts), ternaries 20 (39 pts), error handling 1 (2 pts) (nesting depth added 208). To reduce it, split the body into named stages: move each independent 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: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e8e3e5ac8708c218ffa1d5a1fd0aa98b1530090c9c4ff5c70855fa7e856c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-management.connectionManagementService.prepareAuthorization (cognitive 201): connection-management.connectionManagementService.prepareAuthorization has cognitive complexity 201 (threshold 15). Drivers by points: if/else 55 (132 pts), boolean chains 29, ternaries 9 (25 pts), loops 6 (15 pts) (nesting depth added 102). Of this number, 190 points are the body\u0027s own statements and 11 belong to 5 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":"server/src/services/connection-management.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2cd1b0982077e5a1f3381333d2d7ef3395a7e7de94168a2a0824efeb6756da"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.IssueThreadInteractionCard (cognitive 201): IssueThreadInteractionCard.IssueThreadInteractionCard has cognitive complexity 201 (threshold 15). Drivers by points: ternaries 63 (166 pts), boolean chains 31, if/else 4 (nesting depth added 103). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"70830da6c98c7d401c00fe72c62fe191b11fb8634085afca9836326da780ef19"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization-start.createOAuthAuthorizationStart.startOAuth (cognitive 197): authorization-start.createOAuthAuthorizationStart.startOAuth has cognitive complexity 197 (threshold 15). Drivers by points: ternaries 39 (84 pts), if/else 49 (77 pts), boolean chains 31, loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 76). Of this number, 114 points are the body\u0027s own statements and 83 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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"863b08a5a0ca623b8960ceb04de395b45a9153d7636093b2317a4fd77194942a"}},{"ruleId":"D2","level":"warning","message":{"text":"InviteLanding.InviteLandingPage (cognitive 197): InviteLanding.InviteLandingPage has cognitive complexity 197 (threshold 15). Drivers by points: ternaries 47 (124 pts), if/else 31 (38 pts), boolean chains 34, error handling 1 (nesting depth added 84). Of this number, 155 points are the body\u0027s own statements and 42 belong to 12 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45dbc7ed50fa7681733787e73ea0354691304a15d753ef8bc126e482f444d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-interaction-publications.enqueueIssueInteractionChatPublications (cognitive 195): chat-interaction-publications.enqueueIssueInteractionChatPublications has cognitive complexity 195 (threshold 15). Drivers by points: ternaries 42 (130 pts), boolean chains 38, if/else 17 (26 pts), loops 1 (nesting depth added 97). Of this number, 128 points are the body\u0027s own statements and 67 belong to 7 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e725235b3098f9e96426c66707e495fb675caff3788fe02ce10661218f14d32"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueRecoveryActionCard.IssueRecoveryActionCard (cognitive 193): IssueRecoveryActionCard.IssueRecoveryActionCard has cognitive complexity 193 (threshold 15). Drivers by points: ternaries 54 (153 pts), boolean chains 29, if/else 10, error handling 1 (nesting depth added 99). Of this number, 172 points are the body\u0027s own statements and 21 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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f02805e9e5fbbd42a5f3387aa86c13d94c6b64f70092f35b9e55db3d95ccb1"}},{"ruleId":"D2","level":"warning","message":{"text":"retries.createHeartbeatRetries.scheduleBoundedRetryForRun (cognitive 191): retries.createHeartbeatRetries.scheduleBoundedRetryForRun has cognitive complexity 191 (threshold 15). Drivers by points: if/else 51 (87 pts), ternaries 44 (63 pts), boolean chains 41 (nesting depth added 55). Of this number, 89 points are the body\u0027s own statements and 102 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3789d4a981153feb28a7cc360427739080b95f240a866e205ca6b375b847af4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.processMessage (cognitive 191): chat-channels.chatChannelService.processMessage has cognitive complexity 191 (threshold 15). Drivers by points: ternaries 55 (120 pts), if/else 67 (92 pts), boolean chains 58, error handling 1, loops 1 (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. This shape REPEATS in the file: one other method here (chat-channels.chatChannelService.processMessage::persistTaskMutation) 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":"server/src/services/chat-channels.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2af0934103ea745f5f76db2259ae5cb3b3a16b1d9e11531bb8b5bf444d9cec"}},{"ruleId":"D2","level":"warning","message":{"text":"Browse.Browse (cognitive 190): Browse.Browse has cognitive complexity 190 (threshold 15). Drivers by points: ternaries 36 (62 pts), boolean chains 58, if/else 42 (58 pts), loops 10 (11 pts), error handling 1 (nesting depth added 43). Of this number, 54 points are the body\u0027s own statements and 136 belong to 34 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4787e0ca7f580238c543350e9b52f5de1c3a0da5f57a35c150bded128aaa03be"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueRow.IssueRow (cognitive 189): IssueRow.IssueRow has cognitive complexity 189 (threshold 15). Drivers by points: ternaries 74 (156 pts), boolean chains 28, if/else 3 (5 pts) (nesting depth added 84). Of this number, 174 points are the body\u0027s own statements and 15 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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f482cef104132636b81dff43702f4b6fa67d559a50c02c081c2f9afb7ddf7b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.parsePrpEvent (cognitive 187): index.parsePrpEvent has cognitive complexity 187 (threshold 15). Drivers by points: ternaries 26 (148 pts), if/else 21 (24 pts), boolean chains 15 (nesting depth added 125). 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"74909bdd646d1b19568e4a8224e17df9f3b2354de5630848e617b90762e434ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::poll_with_control (cognitive 187): CodexProvider::poll_with_control has cognitive complexity 187 (threshold 15). Drivers by points: if/else 73 (155 pts), boolean chains 22, match/switch 4 (10 pts) (nesting depth added 88). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fa991fb90f2494ee3b7d66cba17dfa144649f02ac3e9c30974ea3df783ff5e"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::state::redact_sensitive_text_values (cognitive 187): paperclip_runner_core::durable::state::redact_sensitive_text_values has cognitive complexity 187 (threshold 15). Drivers by points: if/else 41 (86 pts), boolean chains 56, loops 25 (45 pts) (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f89f0f8b9fcf2644934253cfa20d5b7b576a91357b42b049ea3f7b36cbe684"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskSidePanel.TaskSidePanelForScope (cognitive 186): TaskSidePanel.TaskSidePanelForScope has cognitive complexity 186 (threshold 15). Drivers by points: if/else 71 (83 pts), ternaries 36 (50 pts), boolean chains 49, loops 4 (nesting depth added 26). Of this number, 51 points are the body\u0027s own statements and 135 belong to 26 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cab7585cbb53cbb9307e2f93b6f3220e0df50711e812aa9437c5192508a668"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.settleRetainedRunnerdSessionOwned (cognitive 185): runnerd-codex-transport.settleRetainedRunnerdSessionOwned has cognitive complexity 185 (threshold 15). Drivers by points: if/else 54 (115 pts), boolean chains 36, loops 7 (17 pts), error handling 4 (13 pts), ternaries 2 (4 pts) (nesting depth added 82). Of this number, 150 points are the body\u0027s own statements and 35 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"db26fd5ab7a4852b03ac9fb29e505912a95a01f79ab0a7135524ff6619c3589b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentInviteContent.ExternalAgentInviteContent (cognitive 185): ExternalAgentInviteContent.ExternalAgentInviteContent has cognitive complexity 185 (threshold 15). Drivers by points: ternaries 39 (141 pts), boolean chains 32, if/else 2 (12 pts) (nesting depth added 112). Of this number, 172 points are the body\u0027s own statements and 13 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":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffecde7460560059ce69040b7b06d5b54b576e1b940c03a5fa1563fafd80ee8b"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-execution.executeHeartbeatRuntime (cognitive 184): runtime-execution.executeHeartbeatRuntime has cognitive complexity 184 (threshold 15). Drivers by points: if/else 71 (133 pts), ternaries 53 (126 pts), boolean chains 56, error handling 9 (20 pts), loops 1 (nesting depth added 146). 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 (runtime-execution.executeHeartbeatRuntime::completeWorkspace) 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf8bc231daa53c3d08b76f9494e3b7c33efe639061d8e3938e316330635cfd9"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.Layout (cognitive 184): Layout.Layout has cognitive complexity 184 (threshold 15). Drivers by points: ternaries 50 (96 pts), boolean chains 55, if/else 31 (33 pts) (nesting depth added 48). Of this number, 141 points are the body\u0027s own statements and 43 belong to 21 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"974349286c0f18044c54733061b9a113712e74b0de3be71d4de8d402c5a08fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.companyPortabilityService.buildPreview (cognitive 183): company-portability.companyPortabilityService.buildPreview has cognitive complexity 183 (threshold 15). Drivers by points: if/else 45 (99 pts), loops 19 (31 pts), ternaries 11 (30 pts), boolean chains 20, error handling 1 (3 pts) (nesting depth added 87). 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":"server/src/services/company-portability.ts"},"region":{"startLine":4883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1836bc4c333c48aae6c862238ef14cdb914f3e95bbf18c72dde7feadc2478dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointSetup.ProviderConnectStep (cognitive 183): ChatEndpointSetup.ProviderConnectStep has cognitive complexity 183 (threshold 15). Drivers by points: ternaries 46 (103 pts), boolean chains 63, if/else 13 (16 pts), error handling 1 (nesting depth added 60). Of this number, 161 points are the body\u0027s own statements and 22 belong to 12 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbb96531c4d20bbefea265b7bf4fd2bac9ed5092cf192a32e7f6d646ad9c3ce"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.AgentDetail (cognitive 182): AgentDetail.AgentDetail has cognitive complexity 182 (threshold 15). Drivers by points: ternaries 43 (72 pts), boolean chains 61, if/else 45 (48 pts), error handling 1 (nesting depth added 32). Of this number, 106 points are the body\u0027s own statements and 76 belong to 32 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9332aeeaf0a1c93b76a54f0c01ac3cbb9b9a965577247ad46afbb4684ec80ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerRunSettingsPicker.ComposerRunSettingsPicker (cognitive 179): ComposerRunSettingsPicker.ComposerRunSettingsPicker has cognitive complexity 179 (threshold 15). Drivers by points: ternaries 57 (125 pts), boolean chains 36, if/else 12 (18 pts) (nesting depth added 74). Of this number, 120 points are the body\u0027s own statements and 59 belong to 18 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":"ui/src/components/task-chat/ComposerRunSettingsPicker.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceded24bab4a2655ab9ec0882534660df0ea60144e3d69c71d499a37ab81413"}},{"ruleId":"D2","level":"warning","message":{"text":"callbacks.createChatInteractionCallbacks.handleAction (cognitive 176): callbacks.createChatInteractionCallbacks.handleAction has cognitive complexity 176 (threshold 15). Drivers by points: if/else 60 (96 pts), boolean chains 47, ternaries 19 (28 pts), error handling 3 (5 pts) (nesting depth added 47). Of this number, 143 points are the body\u0027s own statements and 33 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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff1f31e7dbde7216d18abcf63d82dd6ffef1c7bae412362e7088c06f88ed45f"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.readIssueBlockerAttentionBatch (cognitive 174): issues.readIssueBlockerAttentionBatch has cognitive complexity 174 (threshold 15). Drivers by points: if/else 51 (113 pts), loops 32 (72 pts), boolean chains 32, ternaries 5 (11 pts) (nesting depth added 108). To reduce it, split the body into named stages: move each independent 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 (issues.readIssueBlockerAttentionBatch::classifyPath) 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":"server/src/services/issues.ts"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6d36f661afef89bf963f04c29571140c5919c0483ee54b743e8aad921e72df"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.create (cognitive 172): issue-thread-interactions.issueThreadInteractionService.create has cognitive complexity 172 (threshold 15). Drivers by points: if/else 60 (111 pts), boolean chains 36, ternaries 9 (16 pts), loops 6 (8 pts), error handling 1 (nesting depth added 60). Of this number, 87 points are the body\u0027s own statements and 85 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a306b91960627d2be0b3a0832021d0de7662dff4d161df2373b74e5200b17"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.inspect (cognitive 172): remote-workspace-migration.inspect has cognitive complexity 172 (threshold 15). Drivers by points: if/else 54 (98 pts), boolean chains 46, ternaries 11 (16 pts), error handling 2 (8 pts), loops 4 (nesting depth added 55). Of this number, 170 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ba9ff2ce61f37c6770d691c8799bd2944e22e826d43db00fba95242ea6cf92"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.production.AgentDetail (cognitive 172): AgentDetail.production.AgentDetail has cognitive complexity 172 (threshold 15). Drivers by points: ternaries 35 (69 pts), boolean chains 55, if/else 45 (48 pts) (nesting depth added 37). Of this number, 70 points are the body\u0027s own statements and 102 belong to 28 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1c025109642f2b28b590276c231cafee80227606f03a4be9081e42ac07df7f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.startServerWithDatabaseTeardown (cognitive 168): index.startServerWithDatabaseTeardown has cognitive complexity 168 (threshold 15). Drivers by points: if/else 140 (211 pts), boolean chains 118, ternaries 36 (48 pts), error handling 20 (40 pts), loops 4 (5 pts) (nesting depth added 104). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (index.startServerWithDatabaseTeardown::ensureMigrations, index.startServerWithDatabaseTeardown::performShutdown) 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":"server/src/index.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a7f3de74178d811c46d44a1d59158b4aa7e35f939cdea14a07f6dc2c557f51"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueFiltersPopover.IssueFiltersPopover (cognitive 167): IssueFiltersPopover.IssueFiltersPopover has cognitive complexity 167 (threshold 15). Drivers by points: ternaries 55 (153 pts), boolean chains 11, if/else 3 (nesting depth added 98). Of this number, 87 points are the body\u0027s own statements and 80 belong to 9 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":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"972a95c7909902c415bf85d3ecaff03e9c2b2dfe0f3f80a02f436ca2e152d78e"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.prepareForAdmission (cognitive 166): execution-workspace-repositories.executionWorkspaceRepositoryService.prepareForAdmission has cognitive complexity 166 (threshold 15). Drivers by points: if/else 40 (90 pts), ternaries 12 (29 pts), boolean chains 21, loops 7 (16 pts), error handling 4 (10 pts) (nesting depth added 82). Of this number, 50 points are the body\u0027s own statements and 116 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"32763ef786a1b285fd867e24617097fcb15aaecd3b032f98fe5e8a8302545fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"run-failure-diagnostics.collectRunFailureDiagnostics (cognitive 166): run-failure-diagnostics.collectRunFailureDiagnostics has cognitive complexity 166 (threshold 15). Drivers by points: if/else 68 (129 pts), boolean chains 16, loops 8 (14 pts), ternaries 4 (7 pts) (nesting depth added 70). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2810fa6f9fde85d7b23cd8624a3f31c1b17559646f096837b2da44421d8f84"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.cancelRun (cognitive 166): run-control.createHeartbeatRunControl.cancelRun has cognitive complexity 166 (threshold 15). Drivers by points: if/else 41 (76 pts), boolean chains 40, ternaries 22 (38 pts), error handling 5 (10 pts), loops 1 (2 pts) (nesting depth added 57). Of this number, 66 points are the body\u0027s own statements and 100 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7fc044c62047ae51cf8f36705eb567d883a39f0bd86c538dfbfba8ebc545ea"}},{"ruleId":"D2","level":"warning","message":{"text":"native-safe-replacement.reconcileSafeNativeReplacements (cognitive 166): native-safe-replacement.reconcileSafeNativeReplacements has cognitive complexity 166 (threshold 15). Drivers by points: if/else 38 (83 pts), boolean chains 42, ternaries 14 (34 pts), loops 3 (5 pts), error handling 1 (2 pts) (nesting depth added 68). Of this number, 66 points are the body\u0027s own statements and 100 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e97db0dde3744f438544c5332774b837d5c05aa61e49bbbec03cd7d5357fb2d"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 165): execute.execute has cognitive complexity 165 (threshold 15). Drivers by points: ternaries 80 (128 pts), if/else 84 (114 pts), boolean chains 73, error handling 7 (15 pts), loops 2 (nesting depth added 86). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (execute.execute::runAttempt, execute.execute::toResult) 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c9e17fafb269cba4665099d0cf54b31f855505c63d31c63414cf4bddfd1d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCommandExecutor::poll_provider_frames (cognitive 162): CodexCommandExecutor::poll_provider_frames has cognitive complexity 162 (threshold 15). Drivers by points: if/else 52 (135 pts), loops 3 (10 pts), match/switch 3 (9 pts), boolean chains 8 (nesting depth added 96). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":5300}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e104a0d90c38919dc67868b57a74271c77892e74f2c3de24fdab63e6c74e7"}},{"ruleId":"D2","level":"warning","message":{"text":"task-interruption-presentation.taskInterruptionPresentations (cognitive 161): task-interruption-presentation.taskInterruptionPresentations has cognitive complexity 161 (threshold 15). Drivers by points: ternaries 41 (58 pts), if/else 28 (54 pts), boolean chains 26, loops 12 (21 pts), error handling 1 (2 pts) (nesting depth added 53). Of this number, 80 points are the body\u0027s own statements and 81 belong to 31 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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a4fc8183f323ddbfbaa5314a84e29427cbf10070dd261ad475de5b87e282f8"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.toolGatewayRoutes (cognitive 161): tool-gateway.toolGatewayRoutes has cognitive complexity 161 (threshold 15). Drivers by points: ternaries 63 (73 pts), if/else 49 (53 pts), boolean chains 19, error handling 16 (nesting depth added 14). None of this is in the body itself: all 161 points belong to 26 function items inside it that branch (a function literal at line 815, a function literal at line 1047, assertBoardMutationAccess, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"103122a2b7009fc11d6a10c8316abb7de6cb19716fc2aa6d6966173ba8dd96a5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-completion-feedback.nativeCompletionFeedback (cognitive 160): native-completion-feedback.nativeCompletionFeedback has cognitive complexity 160 (threshold 15). Drivers by points: if/else 51 (80 pts), boolean chains 49, ternaries 13 (26 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 44). Of this number, 154 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":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8e178da878272c6b51f497613427a51d714f0586de885107424fc2039995d"}},{"ruleId":"D2","level":"warning","message":{"text":"task-interruption-presentation.projectTaskInterruptionState (cognitive 159): task-interruption-presentation.projectTaskInterruptionState has cognitive complexity 159 (threshold 15). Drivers by points: ternaries 26 (63 pts), if/else 41 (50 pts), boolean chains 46 (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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bbd91bf0d4a06f5a2b52ec6a3d52c2ac2bb7228f7a0d42ffa95d670f1a6c78"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-selection.selectHeartbeatEnvironment (cognitive 158): environment-selection.selectHeartbeatEnvironment has cognitive complexity 158 (threshold 15). Drivers by points: if/else 31 (56 pts), ternaries 31 (52 pts), boolean chains 47, error handling 1 (3 pts) (nesting depth added 48). Of this number, 152 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":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2836ec796494e85ded1e0f7ad59d95010306e31946cd7a3f498d9d1f69d428ab"}},{"ruleId":"D2","level":"warning","message":{"text":"customer-success-inspection.readCustomerSuccessResource (cognitive 158): customer-success-inspection.readCustomerSuccessResource has cognitive complexity 158 (threshold 15). Drivers by points: if/else 53 (118 pts), ternaries 7 (19 pts), boolean chains 14, loops 2 (5 pts), error handling 1 (2 pts) (nesting depth added 81). None of this is in the body itself: all 158 points belong to 2 function literals inside it that branch (lines 151, 227). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0cb2dfdaf6267a1340e35994080986c1f5c0bac93c5f01f582cccedf077ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.AccessStepContent (cognitive 158): ConnectionSetupFlow.AccessStepContent has cognitive complexity 158 (threshold 15). Drivers by points: ternaries 46 (139 pts), boolean chains 10, if/else 2 (9 pts) (nesting depth added 100). Of this number, 146 points are the body\u0027s own statements and 12 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4013}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb463171f4cda3747f684a4c2e55563ec4942389bae526a16275f6436b9be02b"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 157): execute.execute has cognitive complexity 157 (threshold 15). Drivers by points: if/else 47 (62 pts), ternaries 32 (45 pts), boolean chains 39, error handling 4 (10 pts), loops 1 (nesting depth added 34). Of this number, 114 points are the body\u0027s own statements and 43 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"300378ac78b95a610aa5bbba161565fa9a7e9808b1913e64bd6a7d2189c6bfe3"}},{"ruleId":"D2","level":"warning","message":{"text":"muse-maintenance.startMuseMaintenance (cognitive 157): muse-maintenance.startMuseMaintenance has cognitive complexity 157 (threshold 15). Drivers by points: if/else 28 (87 pts), loops 13 (29 pts), error handling 5 (18 pts), ternaries 7 (17 pts), boolean chains 6 (nesting depth added 98). Of this number, 155 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":"server/src/services/muse-maintenance.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db917d5a46553015e71ff40f46984162e04a7f063ccfa678dbfc66489df5ac"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoffs.caseHandoffService.handoff (cognitive 156): case-handoffs.caseHandoffService.handoff has cognitive complexity 156 (threshold 15). Drivers by points: if/else 56 (90 pts), ternaries 19 (34 pts), boolean chains 27, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 52). Most of this is not in the body itself: 1 of the 156 points is its own statement and the rest belongs to one function literal inside it that branches (line 375). 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48a6d04418f0833e22c84c8ed0f5051024f7ce60dadf21802e44844fe04736f"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.normalizeTranscript (cognitive 156): RunTranscriptView.normalizeTranscript has cognitive complexity 156 (threshold 15). Drivers by points: if/else 40 (93 pts), ternaries 13 (42 pts), boolean chains 20, loops 1 (nesting depth added 82). Of this number, 155 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3b208b49ffb3d6820fbc6beae9f36f783c26cbd84beb1da65a585c0da42708"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceFileBrowser.WorkspaceFileBrowser (cognitive 155): WorkspaceFileBrowser.WorkspaceFileBrowser has cognitive complexity 155 (threshold 15). Drivers by points: if/else 55 (58 pts), boolean chains 47, ternaries 34 (45 pts), loops 4 (5 pts) (nesting depth added 15). Of this number, 63 points are the body\u0027s own statements and 92 belong to 33 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":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a4df5c8ecb7a0f2d36e0ebbdcbe7ada3f1774717939f6289ffad0307653222"}},{"ruleId":"D2","level":"warning","message":{"text":"Routines.production.Routines (cognitive 154): Routines.production.Routines has cognitive complexity 154 (threshold 15). Drivers by points: ternaries 54 (92 pts), if/else 35 (39 pts), boolean chains 19, error handling 2 (3 pts), loops 1 (nesting depth added 43). Of this number, 62 points are the body\u0027s own statements and 92 belong to 35 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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f33c3ea758820493bb4cace3cd51c763e7b95b78c6635029f41f5bc797e351"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery.recoverRetainedWorkspace::runAttempt (cognitive 152): workspace-recovery.recoverRetainedWorkspace::runAttempt has cognitive complexity 152 (threshold 15). Drivers by points: if/else 37 (83 pts), ternaries 11 (38 pts), boolean chains 15, error handling 6 (15 pts), loops 1 (nesting depth added 82). 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b974f7ee7dc927ae2653d8a99c6782c72bc29ffc53c02fadcce6f70caadf5eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelRoutes (cognitive 152): chat-channels.chatChannelRoutes has cognitive complexity 152 (threshold 15). Drivers by points: if/else 95 (101 pts), boolean chains 27, ternaries 20 (23 pts), error handling 1 (nesting depth added 9). None of this is in the body itself: all 152 points belong to 64 function items inside it that branch (a function literal at line 598, assertConnectionManager, a function literal at line 445, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba080149be72e125c85cc46bd74dcf6739b8c90e38f3811786123f27a81394e"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-loader.pluginLoader (cognitive 149): plugin-loader.pluginLoader has cognitive complexity 149 (threshold 15). Drivers by points: if/else 96 (143 pts), ternaries 29 (57 pts), error handling 23 (52 pts), boolean chains 22, loops 11 (18 pts) (nesting depth added 111). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (plugin-loader.pluginLoader::fetchAndValidate, plugin-loader.pluginLoader::activatePlugin) 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c5941d9523803133f296656b0c2fcbbcbb235e802ad3621908818f4931f118"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::toAdapterResult (cognitive 148): execute.execute::toAdapterResult has cognitive complexity 148 (threshold 15). Drivers by points: ternaries 55 (121 pts), boolean chains 25, if/else 2 (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. This shape REPEATS in the file: one other method here (execute.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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b2865af2df46a948c145997f36583d8c41e911f23b24080d70438608d5efe3"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.request (cognitive 148): DurablePrpCodexTransport.request has cognitive complexity 148 (threshold 15). Drivers by points: if/else 46 (88 pts), ternaries 15 (30 pts), boolean chains 21, loops 3 (9 pts) (nesting depth added 63). Of this number, 146 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2f67008ade4ba9b138a39b7da9a46c070776d776dde722de49c6a9dcd6a95a"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-run-orchestrator.environmentRunOrchestrator.acquireForRun (cognitive 148): environment-run-orchestrator.environmentRunOrchestrator.acquireForRun has cognitive complexity 148 (threshold 15). Drivers by points: ternaries 21 (112 pts), if/else 11 (23 pts), boolean chains 13 (nesting depth added 103). Of this number, 142 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50ee1b88ed6d5b7e1a09f2a078a7fad9e3d5051861d902722150261e9726d35"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.failedChatRetrySource (cognitive 148): failed-run-retry.createChatFailedRunRetry.failedChatRetrySource has cognitive complexity 148 (threshold 15). Drivers by points: if/else 38 (60 pts), boolean chains 53, ternaries 23 (32 pts), loops 2 (3 pts) (nesting depth added 32). Of this number, 142 points are the body\u0027s own statements and 6 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"930ac33d1fab7bb215a84053cadef8fac03602a124e3b8244ad52566be0183f6"}},{"ruleId":"D2","level":"warning","message":{"text":"online-workspace-source.inspectOnlineWorkspaceSource (cognitive 148): online-workspace-source.inspectOnlineWorkspaceSource has cognitive complexity 148 (threshold 15). Drivers by points: if/else 31 (66 pts), loops 21 (35 pts), boolean chains 23, error handling 6 (12 pts), ternaries 6 (12 pts) (nesting depth added 61). Of this number, 143 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-workspace-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e65f2e21f3d3f96acc8d04f79003f0ce399eab5b2deca0f4dcf8c178d4c5f20"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration.createChatConfiguration.configureWithCredentialLease (cognitive 147): configuration.createChatConfiguration.configureWithCredentialLease has cognitive complexity 147 (threshold 15). Drivers by points: if/else 55 (91 pts), boolean chains 30, ternaries 14 (20 pts), error handling 4 (6 pts) (nesting depth added 44). Of this number, 119 points are the body\u0027s own statements and 28 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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa12937c18329ae9979d51f88b75184062eda02d1287250effa542ed0de7fcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.environmentRoutes (cognitive 147): environments.environmentRoutes has cognitive complexity 147 (threshold 15). Drivers by points: if/else 70 (79 pts), boolean chains 38, ternaries 21 (28 pts), error handling 1 (2 pts) (nesting depth added 17). None of this is in the body itself: all 147 points belong to 31 function items inside it that branch (a function literal at line 1182, a function literal at line 1327, resolveEnvironmentSecretContextCompanyId, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a088799ba8bc9292993c10bc64edfcccca47593ba738e57af3ce9eaf2e079d81"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatComposer.TaskChatComposer (cognitive 147): TaskChatComposer.TaskChatComposer has cognitive complexity 147 (threshold 15). Drivers by points: ternaries 100 (154 pts), if/else 103 (142 pts), boolean chains 101, error handling 7 (10 pts), loops 3 (5 pts) (nesting depth added 98). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (TaskChatComposer.TaskChatComposer::submit, TaskChatComposer.TaskChatComposer::resendUncertainSubmission) 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbafdb4c826aefb69ab49e66bb107ff2e36e108be8ffa36d99c1ba8a5cced9d"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineEditor.OwnedInlineEditor (cognitive 147): InlineEditor.OwnedInlineEditor has cognitive complexity 147 (threshold 15). Drivers by points: if/else 66 (89 pts), boolean chains 33, ternaries 14 (24 pts), error handling 1 (nesting depth added 33). Of this number, 36 points are the body\u0027s own statements and 111 belong to 28 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":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42f9629207c29e645982a627e33f8c9801b801993bedde18a3527ac3f343a34"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 146): execute.execute has cognitive complexity 146 (threshold 15). Drivers by points: ternaries 97 (185 pts), boolean chains 69, if/else 49 (62 pts), error handling 3 (9 pts), loops 1 (nesting depth added 107). To reduce it, split the body into named stages: move each independent 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 (execute.execute::toAdapterResult) 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56d5eb6166947603579489a26208271189139b76e16b5c18517bdedcc2668fe"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.buildManifestFromPackageFiles (cognitive 146): company-portability.buildManifestFromPackageFiles has cognitive complexity 146 (threshold 15). Drivers by points: ternaries 43 (86 pts), if/else 18 (29 pts), boolean chains 27, loops 4 (nesting depth added 54). Of this number, 114 points are the body\u0027s own statements and 32 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":"server/src/services/company-portability.ts"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbafd02a53ab2dc2a0234327800558bd9655207f1ce7f1d3e4d4f5292db10cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-continuation-fallback.continueFreshInTransaction (cognitive 145): fresh-continuation-fallback.continueFreshInTransaction has cognitive complexity 145 (threshold 15). Drivers by points: boolean chains 51, if/else 38 (47 pts), ternaries 29 (43 pts), loops 3 (4 pts) (nesting depth added 24). Of this number, 132 points are the body\u0027s own statements and 13 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a29763a2c4613694af6aa5799732c1b562f78be8924337be574d66fbe404641"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-configuration.prepareHeartbeatExecutionConfiguration (cognitive 145): execution-configuration.prepareHeartbeatExecutionConfiguration has cognitive complexity 145 (threshold 15). Drivers by points: ternaries 46 (70 pts), if/else 28 (36 pts), boolean chains 33, error handling 2 (3 pts), loops 2 (3 pts) (nesting depth added 34). Of this number, 100 points are the body\u0027s own statements and 45 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":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"65936a4c573bb6a210ea3745eec08ef75d62c6ea4cd5be848f2ca767ccfa1ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentWizard.NewAgentWizard (cognitive 145): NewAgentWizard.NewAgentWizard has cognitive complexity 145 (threshold 15). Drivers by points: ternaries 41 (80 pts), boolean chains 46, if/else 12 (18 pts), error handling 1 (nesting depth added 45). Of this number, 96 points are the body\u0027s own statements and 49 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":"ui/storybook/prototypes/NewAgentWizard.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78b2e78618238863d3f52399a66ef3e298f1118546efd3d19cff522ed82068a"}},{"ruleId":"D2","level":"warning","message":{"text":"cases.caseRoutes (cognitive 144): cases.caseRoutes has cognitive complexity 144 (threshold 15). Drivers by points: if/else 61 (73 pts), ternaries 31 (39 pts), boolean chains 17, loops 8 (14 pts), error handling 1 (nesting depth added 26). None of this is in the body itself: all 144 points belong to 27 function items inside it that branch (a function literal at line 781, a function literal at line 1598, a function literal at line 1031, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a64a0e1bc963722bc2fb92de280d2b8e95fc9b25257983756f8ae1d2361bfcb"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.pluginManifestV1Schema (cognitive 143): plugin.pluginManifestV1Schema has cognitive complexity 143 (threshold 15). Drivers by points: if/else 66 (103 pts), boolean chains 26, loops 6 (11 pts), ternaries 1 (3 pts) (nesting depth added 44). Of this number, 142 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/shared/src/validators/plugin.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e66d66ce3c586d5f236aeebf6f84fee3f1db8b20c230bb131384b2db91f2e1"}},{"ruleId":"D2","level":"warning","message":{"text":"scoped-deadline-work.registerScopedDeadlineWork (cognitive 142): scoped-deadline-work.registerScopedDeadlineWork has cognitive complexity 142 (threshold 15). Drivers by points: if/else 38 (70 pts), loops 22 (35 pts), ternaries 10 (17 pts), boolean chains 15, error handling 4 (5 pts) (nesting depth added 53). Most of this is not in the body itself: 3 of the 142 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 122, 294, 266, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scoped-deadline-work.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0630d8e8af343eae10dc4f746665a7ab67ba6e6483a5a6526b1889dc0c11f979"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree-merge-history-lib.buildWorktreeMergePlan (cognitive 141): worktree-merge-history-lib.buildWorktreeMergePlan has cognitive complexity 141 (threshold 15). Drivers by points: if/else 29 (64 pts), boolean chains 33, ternaries 15 (32 pts), loops 7 (12 pts) (nesting depth added 57). Of this number, 133 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6281ffa28ce8807111c11523a3fe3d0768ebfb0a1b0e55b90ef7ae1fc9695aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.canonicalProviderEventsFromCodex (cognitive 141): provider-events.canonicalProviderEventsFromCodex has cognitive complexity 141 (threshold 15). Drivers by points: ternaries 34 (68 pts), boolean chains 44, if/else 26 (29 pts) (nesting depth added 37). Of this number, 137 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfee7a70a3b67932a833fe1d0181c6ef6d4b6d9f2d0c6ffa08c991fd55aed21"}},{"ruleId":"D2","level":"warning","message":{"text":"live-session.assertCapabilityLiveSessionSnapshot (cognitive 141): live-session.assertCapabilityLiveSessionSnapshot has cognitive complexity 141 (threshold 15). Drivers by points: if/else 44 (72 pts), boolean chains 27, ternaries 9 (22 pts), loops 12 (17 pts), error handling 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e753d9df6b4a455a1bfd3850a5e9411ef58c06db881091bb9956d161053687"}},{"ruleId":"D2","level":"warning","message":{"text":"external-chat-question-response.resolveQuestionResponseChain (cognitive 141): external-chat-question-response.resolveQuestionResponseChain has cognitive complexity 141 (threshold 15). Drivers by points: if/else 37 (59 pts), boolean chains 50, ternaries 17 (27 pts), error handling 2 (4 pts), loops 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3547ecf917b556eda4907d29387024c431c205871548fc5af3b8a3ec5129c19"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.performNativeCancellation (cognitive 141): native-session-executor.performNativeCancellation has cognitive complexity 141 (threshold 15). Drivers by points: if/else 42 (89 pts), boolean chains 28, ternaries 9 (21 pts), error handling 1 (3 pts) (nesting depth added 61). Of this number, 65 points are the body\u0027s own statements and 76 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9769}}}],"partialFingerprints":{"codehealthFindingId/v1":"7530a888bd6165aa7a0d4b24a0475704782d1bc111682e4ede6f7619181cfe7a"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatThread (cognitive 141): IssueChatThread.IssueChatThread has cognitive complexity 141 (threshold 15). Drivers by points: if/else 48 (60 pts), ternaries 33 (48 pts), boolean chains 27, loops 5, error handling 1 (nesting depth added 27). Of this number, 39 points are the body\u0027s own statements and 102 belong to 25 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5872}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6dfb6c8dc3ea66ef392c0cbf4a0852f30b85ca30dc7bbea7ca1eca51c47933"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-api-client.executeRunnerApi (cognitive 140): runner-api-client.executeRunnerApi has cognitive complexity 140 (threshold 15). Drivers by points: if/else 40 (63 pts), ternaries 21 (37 pts), boolean chains 28, error handling 4 (6 pts), loops 3 (6 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa2c0af9200a8a7d13cda06d6f9f19d969554caa3444dfe24bd7eabb4b1a1cb"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatBubble.TaskChatBubbleContent (cognitive 140): TaskChatBubble.TaskChatBubbleContent has cognitive complexity 140 (threshold 15). Drivers by points: ternaries 44 (103 pts), boolean chains 25, if/else 7 (12 pts) (nesting depth added 64). Of this number, 110 points are the body\u0027s own statements and 30 belong to 9 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":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a1e7728972ecac4bd6c6a959827f12590b4150f220e8b30f02c958ffac554c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointSetup.ChatSdkEndpointSetup (cognitive 140): ChatEndpointSetup.ChatSdkEndpointSetup has cognitive complexity 140 (threshold 15). Drivers by points: boolean chains 63, ternaries 29 (39 pts), if/else 29 (35 pts), error handling 3 (nesting depth added 16). Of this number, 66 points are the body\u0027s own statements and 74 belong to 24 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4174b02255f20998804c829f727f35d522ad972d33a09fb8d9a7ff7a22cba1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.migrateRunnerdStateRootForExecution (cognitive 139): native-session-executor.migrateRunnerdStateRootForExecution has cognitive complexity 139 (threshold 15). Drivers by points: if/else 37 (95 pts), boolean chains 26, ternaries 4 (14 pts), error handling 1 (3 pts), loops 1 (nesting depth added 70). Of this number, 135 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c23a2936974264100f723b95948714f6573825489cbfc891ae86c8cee04092b"}},{"ruleId":"D2","level":"warning","message":{"text":"backup-lib.runDatabaseBackup (cognitive 138): backup-lib.runDatabaseBackup has cognitive complexity 138 (threshold 15). Drivers by points: if/else 30 (50 pts), loops 20 (37 pts), ternaries 8 (24 pts), boolean chains 14, error handling 5 (13 pts) (nesting depth added 61). Of this number, 128 points are the body\u0027s own statements and 10 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/db/src/backup-lib.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c2f26b21dd522540d0cb81f942ebafe26f29bb96da75524ac8111dd4a26da1"}},{"ruleId":"D2","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.completeRun (cognitive 138): run-completion.createHeartbeatRunCompletion.completeRun has cognitive complexity 138 (threshold 15). Drivers by points: if/else 36 (52 pts), ternaries 29 (48 pts), boolean chains 29, error handling 4 (9 pts) (nesting depth added 40). Of this number, 130 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb85a511e87f7cc5288def8bee67db471e92408508d450f7e6845c892899f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-control-recovery-stop.readChatControlRecoveryStop (cognitive 137): chat-control-recovery-stop.readChatControlRecoveryStop has cognitive complexity 137 (threshold 15). Drivers by points: if/else 33 (90 pts), boolean chains 21, ternaries 8 (21 pts), loops 3 (5 pts) (nesting depth added 72). Of this number, 129 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41d4899fffe7adc61aaf5876301f1665012d0c3baf8b422013d69e8617cd8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-use.browserUseService.reconcile (cognitive 136): browser-use.browserUseService.reconcile has cognitive complexity 136 (threshold 15). Drivers by points: if/else 31 (80 pts), boolean chains 29, ternaries 5 (19 pts), loops 4 (8 pts) (nesting depth added 67). Of this number, 111 points are the body\u0027s own statements and 25 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":"server/src/services/browser-use.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"332b32e7db0cd17ed78a8f2e031289edfd558d75969a209cf7e5132f483a9af6"}},{"ruleId":"D2","level":"warning","message":{"text":"Routines.Routines (cognitive 136): Routines.Routines has cognitive complexity 136 (threshold 15). Drivers by points: ternaries 47 (70 pts), if/else 37 (41 pts), boolean chains 21, error handling 2 (3 pts), loops 1 (nesting depth added 28). Of this number, 58 points are the body\u0027s own statements and 78 belong to 33 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":"ui/src/pages/Routines.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f40343019241829f4a93668364440fc7a29db97687aba7f3043c84348fad21"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarnessSession.#mapProviderEventValue (cognitive 134): OpenCodeHarnessSession.#mapProviderEventValue has cognitive complexity 134 (threshold 15). Drivers by points: if/else 40 (72 pts), boolean chains 39, ternaries 9 (19 pts), loops 1 (4 pts) (nesting depth added 45). Of this number, 133 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d31e2dc435b60d9eac34f08b28679496429ca14b544ab14018180014826dc9c"}},{"ruleId":"D2","level":"warning","message":{"text":"events.createPhotonEvents.processPhotonResponse (cognitive 133): events.createPhotonEvents.processPhotonResponse has cognitive complexity 133 (threshold 15). Drivers by points: if/else 44 (75 pts), boolean chains 30, ternaries 12 (26 pts), error handling 2 (nesting depth added 45). Of this number, 116 points are the body\u0027s own statements and 17 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a861d45be4d2665c4fed1618471d61a125258224058c8ce018f9c840b22050b"}},{"ruleId":"D2","level":"warning","message":{"text":"app.SettingsBody (cognitive 133): app.SettingsBody has cognitive complexity 133 (threshold 15). Drivers by points: ternaries 79 (170 pts), if/else 35 (39 pts), boolean chains 28, error handling 14 (17 pts) (nesting depth added 98). To reduce it, split the body into named stages: move each independent 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 (app.SettingsBody::fixAllConfigurationErrors) 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5788}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c841998c3e148acc540f9e83df7ebe0b45c65ebd3cab2eda41495357ba2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Cases.Cases (cognitive 133): Cases.Cases has cognitive complexity 133 (threshold 15). Drivers by points: ternaries 41 (96 pts), boolean chains 20, if/else 11 (15 pts), loops 2 (nesting depth added 59). Of this number, 99 points are the body\u0027s own statements and 34 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":"ui/src/pages/Cases.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3fed66c865bd5dd29a76560cbfe09bf588ee415de573ad9a685c6f35a8089c"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.search (cognitive 130): connection-intents.connectionIntentService.search has cognitive complexity 130 (threshold 15). Drivers by points: if/else 35 (76 pts), ternaries 25 (71 pts), boolean chains 54, loops 9 (20 pts), error handling 1 (2 pts) (nesting depth added 99). 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 (connection-intents.connectionIntentService.search::aggregatorAlternatives) 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":"server/src/services/connection-intents.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea2f7c83758b8d6799639f70829ab90f6c543e088f58d46a5b6fd6d07f2ee6c"}},{"ruleId":"D2","level":"warning","message":{"text":"Artifacts.Artifacts (cognitive 130): Artifacts.Artifacts has cognitive complexity 130 (threshold 15). Drivers by points: ternaries 28 (96 pts), if/else 20 (25 pts), boolean chains 9 (nesting depth added 73). Of this number, 92 points are the body\u0027s own statements and 38 belong to 14 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":"ui/src/pages/Artifacts.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db8b2597129bd180a2d0198db94be1f11c6a1e1c35734b6f0433b8947eeffb"}},{"ruleId":"D2","level":"warning","message":{"text":"task-markdown.buildPaperclipTaskMarkdown (cognitive 129): task-markdown.buildPaperclipTaskMarkdown has cognitive complexity 129 (threshold 15). Drivers by points: if/else 37 (68 pts), ternaries 15 (35 pts), boolean chains 21, loops 3 (5 pts) (nesting depth added 53). Of this number, 122 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/task-markdown.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cf95546072d5e176127c0bd29fe1023b2bb15c0ba8e91a59dda1c40469cff0"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-sidecar.dispatch (cognitive 129): acpx-runtime-sidecar.dispatch has cognitive complexity 129 (threshold 15). Drivers by points: if/else 54 (89 pts), ternaries 11 (25 pts), boolean chains 13, error handling 1 (2 pts) (nesting depth added 50). Of this number, 125 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f6e0644adf35e4e698dc0222e45eb30bef755f46880676bcbbe40873e08c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectDetail.ProjectDetail (cognitive 129): ProjectDetail.ProjectDetail has cognitive complexity 129 (threshold 15). Drivers by points: if/else 50 (61 pts), boolean chains 36, ternaries 21 (26 pts), error handling 3 (6 pts) (nesting depth added 19). Of this number, 77 points are the body\u0027s own statements and 52 belong to 21 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"803041d1c455be202997816bedd2f4ae920c3bd09cf87d8b72ecdc921f68ae50"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineDetail.RoutineDetail (cognitive 129): RoutineDetail.RoutineDetail has cognitive complexity 129 (threshold 15). Drivers by points: ternaries 39 (47 pts), if/else 41 (43 pts), boolean chains 37, error handling 1, loops 1 (nesting depth added 10). Of this number, 59 points are the body\u0027s own statements and 70 belong to 26 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bc318714b1cda6bc2b078c6a32fdedb55cfe376aaae4962948c3d5f7337c22"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-execution-policy.applyIssueExecutionStageTransition (cognitive 128): issue-execution-policy.applyIssueExecutionStageTransition has cognitive complexity 128 (threshold 15). Drivers by points: if/else 35 (87 pts), boolean chains 30, ternaries 7 (10 pts), loops 1 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dd18a18aad4fa6ce145920a75cda00c1a9ae0747912aac37dbe0f7781a029a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.spawnLocalRuntimeService (cognitive 128): workspace-runtime.spawnLocalRuntimeService has cognitive complexity 128 (threshold 15). Drivers by points: if/else 38 (60 pts), ternaries 26 (44 pts), boolean chains 16, error handling 3 (5 pts), loops 2 (3 pts) (nesting depth added 43). Of this number, 99 points are the body\u0027s own statements and 29 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"456945e614202b201c3fa59f2d6ac1b6c7a455460288f8153f3d4fd014f50d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"native-interaction-bridge.materializeNativeInteractionResponses (cognitive 128): native-interaction-bridge.materializeNativeInteractionResponses has cognitive complexity 128 (threshold 15). Drivers by points: if/else 30 (73 pts), boolean chains 32, ternaries 7 (22 pts), loops 1 (nesting depth added 58). Of this number, 126 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d2ce1a209fb0fe5d6453e639443707180c638ce4fd09a3cebe96905dace33"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCardDetailDrawer.StatusCardDetailDrawer (cognitive 128): StatusCardDetailDrawer.StatusCardDetailDrawer has cognitive complexity 128 (threshold 15). Drivers by points: ternaries 46 (100 pts), boolean chains 23, if/else 5 (nesting depth added 54). Of this number, 98 points are the body\u0027s own statements and 30 belong to 9 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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a62abd8f224186da51ad092ddffb6b0477d3f00297f391927c4dbdb725b478"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailEndpointSetup.EmailEndpointSetupForm (cognitive 128): EmailEndpointSetup.EmailEndpointSetupForm has cognitive complexity 128 (threshold 15). Drivers by points: boolean chains 69, ternaries 21 (32 pts), if/else 22 (24 pts), error handling 3 (nesting depth added 13). Of this number, 79 points are the body\u0027s own statements and 49 belong to 22 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9020f1fac2d2adb6d38f476b042ae7f040bf5ee34480fb82aa892694fa40518"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.#executeCommand (cognitive 127): CapabilityMockControlPlaneAdapter.#executeCommand has cognitive complexity 127 (threshold 15). Drivers by points: if/else 39 (82 pts), boolean chains 29, ternaries 5 (11 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 51). Of this number, 122 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e79a44d706b550395aa48148a49d682761fbd84bd9454d62c929d8e313728c"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-expiration.expireReconstructableGitWorkspace (cognitive 127): git-workspace-expiration.expireReconstructableGitWorkspace has cognitive complexity 127 (threshold 15). Drivers by points: if/else 44 (83 pts), boolean chains 17, loops 6 (13 pts), error handling 5 (10 pts), ternaries 2 (4 pts) (nesting depth added 53). Most of this is not in the body itself: 4 of the 127 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 306, 302, 427, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4420465acc8db0ce0378ca129a019240c4ecb453814722b381647d7591d6738"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.buildPaperclipWakePayload (cognitive 127): run-preparation.buildPaperclipWakePayload has cognitive complexity 127 (threshold 15). Drivers by points: ternaries 52 (79 pts), boolean chains 29, if/else 9 (16 pts), loops 3 (nesting depth added 34). Of this number, 114 points are the body\u0027s own statements and 13 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47e96658acc56263e0dd306a5f5c8cb3f9759f161b8bbf83e985ff86e2eb259"}},{"ruleId":"D2","level":"warning","message":{"text":"inbound-attachments.createInboundAttachments.ingestAttachments (cognitive 127): inbound-attachments.createInboundAttachments.ingestAttachments has cognitive complexity 127 (threshold 15). Drivers by points: if/else 34 (74 pts), boolean chains 20, ternaries 9 (20 pts), error handling 4 (10 pts), loops 3 (nesting depth added 57). Of this number, 91 points are the body\u0027s own statements and 36 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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1c718efc4c43b031de2cad7ce8c63c08f5e6a5aca5890618c84806bbd6950b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigForm.SubmittedBrowserCodeLoginPanel (cognitive 127): AgentConfigForm.SubmittedBrowserCodeLoginPanel has cognitive complexity 127 (threshold 15). Drivers by points: boolean chains 55, if/else 41 (48 pts), ternaries 16 (21 pts), error handling 3 (nesting depth added 12). Of this number, 44 points are the body\u0027s own statements and 83 belong to 30 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a380b14f04f196d94f31bd1fafc944f0891e013070a7aa1b540abd6bef3212b2"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.buildRuntime (cognitive 126): execute.buildRuntime has cognitive complexity 126 (threshold 15). Drivers by points: if/else 35 (45 pts), boolean chains 44, ternaries 28 (33 pts), loops 2 (3 pts), error handling 1 (nesting depth added 16). Of this number, 123 points are the body\u0027s own statements and 3 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9723db01ba1c4fd07249422aba063226417e20507987a53955bec5e9bef7d75e"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-execution-target.resolveEnvironmentExecutionTarget (cognitive 126): environment-execution-target.resolveEnvironmentExecutionTarget has cognitive complexity 126 (threshold 15). Drivers by points: ternaries 21 (48 pts), if/else 18 (37 pts), error handling 7 (25 pts), boolean chains 16 (nesting depth added 64). Of this number, 70 points are the body\u0027s own statements and 56 belong to 5 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b08e79ef98eaf57f1be426e3527f1f19b7dba189d59febbdada3bac995e18d"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.buildTurnTimelineRows (cognitive 126): transcript-adapter.buildTurnTimelineRows has cognitive complexity 126 (threshold 15). Drivers by points: if/else 29 (57 pts), boolean chains 33, ternaries 9 (33 pts), loops 3 (nesting depth added 52). Of this number, 117 points are the body\u0027s own statements and 9 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9590601a5fe2ed4b86f2c0eb821e3c311a07ae9955e02ad94a8aa3aadc3ab8"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-source.inspectWorkspaceRecoverySource (cognitive 125): workspace-recovery-source.inspectWorkspaceRecoverySource has cognitive complexity 125 (threshold 15). Drivers by points: if/else 33 (53 pts), boolean chains 42, ternaries 14 (27 pts), loops 2 (3 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":"server/src/services/workspace-recovery-source.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"447f9ebf718f61e6c626244f17ff45b51332524334c414b242ab9cabef31ed9a"}},{"ruleId":"D2","level":"warning","message":{"text":"onboard.onboard (cognitive 123): onboard.onboard has cognitive complexity 123 (threshold 15). Drivers by points: if/else 48 (74 pts), ternaries 11 (19 pts), boolean chains 18, error handling 3 (8 pts), loops 2 (4 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ad14f1d16b624228395dbd533accf4df8b6e0b9acf48fc183a0274d4ad455c"}},{"ruleId":"D2","level":"warning","message":{"text":"useLiveRunTranscripts.useLiveRunTranscripts (cognitive 121): useLiveRunTranscripts.useLiveRunTranscripts has cognitive complexity 121 (threshold 15). Drivers by points: if/else 42 (77 pts), loops 17 (19 pts), boolean chains 13, ternaries 8 (11 pts), error handling 1 (nesting depth added 40). Most of this is not in the body itself: 1 of the 121 points is its own statement and the rest belongs to 16 function literals inside it that branch (lines 424, 250, 413, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf47e61bfefc953bc5532eda253a1ee6a1aaa257791ecac49d58569e82116f85"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatPrototype.AgentChatPrototype (cognitive 121): AgentChatPrototype.AgentChatPrototype has cognitive complexity 121 (threshold 15). Drivers by points: ternaries 25 (54 pts), boolean chains 37, if/else 17 (26 pts), loops 3 (4 pts) (nesting depth added 39). Most of this is not in the body itself: 7 of the 121 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 241, 627, 613, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b7e9fe3b929eac73b9a5eecf2468888c079e6bcab097cdebd8278a52689ad"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.claimQueuedRun (cognitive 120): queue.createHeartbeatQueue.claimQueuedRun has cognitive complexity 120 (threshold 15). Drivers by points: if/else 82 (151 pts), boolean chains 40, ternaries 22 (37 pts), loops 1 (nesting depth added 84). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (queue.createHeartbeatQueue.claimQueuedRun::lockIssueExecutionClaim) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"033e1bea16bc147e8d0c123bc2efd2edc21827f3209f0c7dcdc5b2bc265a2694"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentProviderConnection.AgentProviderConnection (cognitive 120): AgentProviderConnection.AgentProviderConnection has cognitive complexity 120 (threshold 15). Drivers by points: ternaries 46 (96 pts), boolean chains 50, if/else 27 (39 pts), error handling 1 (nesting depth added 62). To reduce it, split the body into named stages: move each independent 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 (AgentProviderConnection.AgentProviderConnection::connect) 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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ad614f9b2bb27316e71c5311d8c5c0f53636217db1c2c852f3ef769d94103"}},{"ruleId":"D2","level":"warning","message":{"text":"company.registerCompanyCommands (cognitive 119): company.registerCompanyCommands has cognitive complexity 119 (threshold 15). Drivers by points: if/else 47 (65 pts), boolean chains 20, error handling 16 (20 pts), ternaries 9 (11 pts), loops 2 (3 pts) (nesting depth added 25). None of this is in the body itself: all 119 points belong to 13 function literals inside it that branch (lines 1657, 1930, 1600, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c637e274dfab50e506371f92250a0cf18b4a2193a1eb432c2cea877fa9bae"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.localFacts (cognitive 119): native-harness-filesystem-independence.localFacts has cognitive complexity 119 (threshold 15). Drivers by points: if/else 39 (102 pts), boolean chains 21, loops 7 (15 pts), ternaries 3 (8 pts) (nesting depth added 76). To reduce it, split the body into named stages: move each independent 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 (native-harness-filesystem-independence.localFacts::walk) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"124ffdb102d0953696a23f0b4cadab19ab1501063d1f22ff57263163e32a24d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ownership-invariant-report.runOwnershipReconciliationPass (cognitive 119): ownership-invariant-report.runOwnershipReconciliationPass has cognitive complexity 119 (threshold 15). Drivers by points: if/else 28 (74 pts), boolean chains 19, loops 9 (14 pts), error handling 4 (9 pts), ternaries 2 (3 pts) (nesting depth added 57). Of this number, 103 points are the body\u0027s own statements and 16 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5891ac0078231dc43a27bd19c3618aa7e08ab580a6cf133df5f246741c1e75"}},{"ruleId":"D2","level":"warning","message":{"text":"client-mirror-sync.startMcpClientMirrorSync (cognitive 119): client-mirror-sync.startMcpClientMirrorSync has cognitive complexity 119 (threshold 15). Drivers by points: if/else 42 (66 pts), boolean chains 29, ternaries 8 (16 pts), loops 3 (7 pts), error handling 1 (nesting depth added 36). Of this number, 79 points are the body\u0027s own statements and 40 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":"server/src/services/public-mcp/client-mirror-sync.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7093cbc6cdc8f1e3df1b66f677f7c8de259cebc25c5921de693fe594a04ec3b"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 118): execute.execute has cognitive complexity 118 (threshold 15). Drivers by points: if/else 29 (58 pts), ternaries 19 (41 pts), boolean chains 16, error handling 1 (2 pts), loops 1 (nesting depth added 52). Of this number, 77 points are the body\u0027s own statements and 41 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6f9a503442b845d0b5bbd5891f1fc19142b787f5439a6b32be2bb81adbd415"}},{"ruleId":"D2","level":"warning","message":{"text":"native-execution-input.buildNativeExecutionInput (cognitive 118): native-execution-input.buildNativeExecutionInput has cognitive complexity 118 (threshold 15). Drivers by points: ternaries 43 (100 pts), boolean chains 17, if/else 1 (nesting depth added 57). Of this number, 114 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-input.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5720038168996b40d016dacc1164461b229e3aaa458b10d933388478787b66d4"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat (cognitive 118): OnboardingWizard.OnboardingWizardInner::handleGiveHeartbeat has cognitive complexity 118 (threshold 15). Drivers by points: if/else 44 (62 pts), ternaries 17 (28 pts), boolean chains 25, error handling 2 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::handleLaunchToDashboard, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5333baafde7736ea737190a41ad68798e8a268ba86e71e1e8643ed5de06fe4c"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorNeedsYou.CoordinatorNeedsYou::renderCard (cognitive 118): CoordinatorNeedsYou.CoordinatorNeedsYou::renderCard has cognitive complexity 118 (threshold 15). Drivers by points: ternaries 31 (102 pts), boolean chains 16 (nesting depth added 71). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (CoordinatorNeedsYou.CoordinatorNeedsYou) 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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cfa3cd65c30b1cb7a3fc5aefe500f30e0148dd9dd894d0a442b84e3d90f09a"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardChat.BoardChat (cognitive 118): BoardChat.BoardChat has cognitive complexity 118 (threshold 15). Drivers by points: if/else 56 (69 pts), boolean chains 30, ternaries 7 (8 pts), error handling 5 (7 pts), loops 3 (4 pts) (nesting depth added 17). Of this number, 23 points are the body\u0027s own statements and 95 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":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe86aed3ea2853d9ece93b22802d4e3abe00e329a2cb4a1fc65700e7398ed2a"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerModelPickerPreview.ComposerModelPickerPreview (cognitive 118): ComposerModelPickerPreview.ComposerModelPickerPreview has cognitive complexity 118 (threshold 15). Drivers by points: ternaries 39 (85 pts), boolean chains 20, if/else 7 (13 pts) (nesting depth added 52). Of this number, 78 points are the body\u0027s own statements and 40 belong to 12 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":"ui/storybook/prototypes/composer-model-picker/ComposerModelPickerPreview.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffa4ce6c87e1ed797c30a701a1fac8cd6ce4bd93fd5ba6a73eab3593adbdc2b"}},{"ruleId":"D2","level":"warning","message":{"text":"built-in-agents.builtInAgentService.materializeInstructions (cognitive 117): built-in-agents.builtInAgentService.materializeInstructions has cognitive complexity 117 (threshold 15). Drivers by points: if/else 32 (68 pts), loops 7 (16 pts), boolean chains 14, ternaries 5 (13 pts), error handling 2 (6 pts) (nesting depth added 57). Of this number, 38 points are the body\u0027s own statements and 79 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"094b7a9853e243e72de53de99b4589281ebcf072b83d1f0aea60d0768a5dee10"}},{"ruleId":"D2","level":"warning","message":{"text":"slack.executeSlackTool (cognitive 116): slack.executeSlackTool has cognitive complexity 116 (threshold 15). Drivers by points: if/else 32 (61 pts), ternaries 9 (24 pts), boolean chains 20, loops 3 (8 pts), error handling 1 (3 pts) (nesting depth added 51). Of this number, 108 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3c9d781e5be5d44f9f17c8094326d253bbc201c408003c27c602c8949d8709"}},{"ruleId":"D2","level":"warning","message":{"text":"activity.createChatActivity.readActivity (cognitive 116): activity.createChatActivity.readActivity has cognitive complexity 116 (threshold 15). Drivers by points: ternaries 49 (92 pts), if/else 6 (13 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 51). Of this number, 21 points are the body\u0027s own statements and 95 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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c878addac036ce2a1cb0539860237c18eae07dd34c2d99359824f23474b161a"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.resolveChatOriginPublicationBindings (cognitive 116): issues.resolveChatOriginPublicationBindings has cognitive complexity 116 (threshold 15). Drivers by points: if/else 36 (78 pts), boolean chains 20, ternaries 7 (14 pts), loops 3 (4 pts) (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2482d1b2d4f974ca898f1b555ce81f623a41dd8a1fd3b0d3524fc8279deb1db"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDetail.StandardAppDetail (cognitive 116): AppDetail.StandardAppDetail has cognitive complexity 116 (threshold 15). Drivers by points: boolean chains 51, ternaries 33 (48 pts), if/else 14, error handling 2, loops 1 (nesting depth added 15). Of this number, 88 points are the body\u0027s own statements and 28 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, 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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c88fa37204ea4f4006fbdb6efb9ca283ca65f9425d4ef66066c8664abe866f1"}},{"ruleId":"D2","level":"warning","message":{"text":"callbacks.createChatInteractionCallbacks.handleModalSubmit (cognitive 115): callbacks.createChatInteractionCallbacks.handleModalSubmit has cognitive complexity 115 (threshold 15). Drivers by points: if/else 41 (69 pts), boolean chains 28, ternaries 9 (14 pts), error handling 2 (4 pts) (nesting depth added 35). Of this number, 93 points are the body\u0027s own statements and 22 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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f8481ea0c0d013a8cb0383578649cfeb2fad44915e6c8fc7896bf3163aa359"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceExportRecovery.RetainedFilesRecovery (cognitive 115): WorkspaceExportRecovery.RetainedFilesRecovery has cognitive complexity 115 (threshold 15). Drivers by points: ternaries 27 (58 pts), boolean chains 46, if/else 9, error handling 2 (nesting depth added 31). Of this number, 83 points are the body\u0027s own statements and 32 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3c13d13441eea70d3536b0fc6ff78bf540826b57ebb1292f7fb5b6787f02a6"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestItemVerdictsCard (cognitive 115): IssueThreadInteractionCard.RequestItemVerdictsCard has cognitive complexity 115 (threshold 15). Drivers by points: ternaries 43 (84 pts), boolean chains 20, if/else 7 (8 pts), loops 2, error handling 1 (nesting depth added 42). Of this number, 53 points are the body\u0027s own statements and 62 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3864}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98f95b0b604eacb14473d6de2a501f92f1ef68941c64b6b2bd7f3507a466236"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectProperties.ProjectProperties (cognitive 115): ProjectProperties.ProjectProperties has cognitive complexity 115 (threshold 15). Drivers by points: ternaries 29 (52 pts), boolean chains 45, if/else 16 (17 pts), error handling 1 (nesting depth added 24). Of this number, 75 points are the body\u0027s own statements and 40 belong to 23 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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de318167ee3db7f9fc47dfc24ace75edf7a56c528613d5cc6b9225e2e7fb014"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineRunVariablesDialog.RoutineRunVariablesDialog (cognitive 115): RoutineRunVariablesDialog.RoutineRunVariablesDialog has cognitive complexity 115 (threshold 15). Drivers by points: ternaries 33 (84 pts), boolean chains 16, if/else 11 (14 pts), loops 1 (nesting depth added 54). Of this number, 21 points are the body\u0027s own statements and 94 belong to 18 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":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05b86a4d357ee7c376618187763ee7ed40767c2c0c5c0d01b195c67584db09e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointDetail.Activity (cognitive 115): ChatEndpointDetail.Activity has cognitive complexity 115 (threshold 15). Drivers by points: boolean chains 57, ternaries 24 (51 pts), if/else 7 (nesting depth added 27). Of this number, 61 points are the body\u0027s own statements and 54 belong to 13 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f45f5074e5c0e003a7b6bb5a76dea42b0576729c7a746770a9ef3a7f9e190cb"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-type-inventory.measureConversationType (cognitive 115): conversation-type-inventory.measureConversationType has cognitive complexity 115 (threshold 15). Drivers by points: ternaries 9 (63 pts), if/else 11 (36 pts), boolean chains 10, loops 3 (6 pts) (nesting depth added 82). 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":"ui/storybook/support/design-proposals/conversation-type-inventory.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f71e702f1541e9f1b113cf93e850670129696374511784698dafef02fb8608b"}},{"ruleId":"D2","level":"warning","message":{"text":"status-arbiter.arbitrateNativeStatus (cognitive 114): status-arbiter.arbitrateNativeStatus has cognitive complexity 114 (threshold 15). Drivers by points: if/else 40 (52 pts), ternaries 14 (32 pts), boolean chains 30 (nesting depth added 30). Of this number, 110 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":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f51f9a72b21efa1a23c846baa6867af792e5659ca90bf987a373f5a173ada08"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-finalization-ownership.withNativeWorkspaceFinalizationOwnership (cognitive 114): native-workspace-finalization-ownership.withNativeWorkspaceFinalizationOwnership has cognitive complexity 114 (threshold 15). Drivers by points: if/else 30 (55 pts), ternaries 21 (38 pts), boolean chains 17, error handling 3 (4 pts) (nesting depth added 43). Most of this is not in the body itself: 12 of the 114 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 138, 147, 186, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5585523704717fc3cb6eb71294e8a730d6024a4f2f03a76ad4ba2cb2ea181a18"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.scanProjectWorkspaces (cognitive 113): company-skills.companySkillService.scanProjectWorkspaces has cognitive complexity 113 (threshold 15). Drivers by points: if/else 24 (69 pts), ternaries 7 (18 pts), boolean chains 14, loops 6 (9 pts), error handling 1 (3 pts) (nesting depth added 61). Of this number, 107 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":"server/src/services/company-skills.ts"},"region":{"startLine":5222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0654895a02e5011d3b79cdcd77c6147523fd8113252f6e56ce2e186e7a23a9d7"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-contract.assertQuestionAdapterFixture (cognitive 113): protocol-contract.assertQuestionAdapterFixture has cognitive complexity 113 (threshold 15). Drivers by points: if/else 30 (78 pts), boolean chains 19, error handling 2 (7 pts), loops 5 (7 pts), ternaries 1 (2 pts) (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da77b32fde9e7de597767e845920c5fe655c375ae7f0810bb5b7390ccca6f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubChatPreview.GitHubChatPreview (cognitive 113): GitHubChatPreview.GitHubChatPreview has cognitive complexity 113 (threshold 15). Drivers by points: boolean chains 52, ternaries 21 (47 pts), if/else 9 (10 pts), error handling 4 (nesting depth added 27). Of this number, 89 points are the body\u0027s own statements and 24 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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d06008122595df1824a1138d314766a167f1e4c5a5acfda9f76e72b17da144"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.createPiJsonlParser.\u003Creturned closure\u003E (cognitive 112): parse.createPiJsonlParser.\u003Creturned closure\u003E has cognitive complexity 112 (threshold 15). Drivers by points: if/else 32 (90 pts), ternaries 3 (8 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"049fd102523250ed7a53971bf1c944240836a60113b14917d66784df27c0eb41"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parsePiStdoutLine (cognitive 112): parse-stdout.parsePiStdoutLine has cognitive complexity 112 (threshold 15). Drivers by points: if/else 45 (101 pts), boolean chains 8, loops 1 (3 pts) (nesting depth added 58). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/ui/parse-stdout.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b661da35acb48a83510235d12f657daa61da06e1b0090cd5514bce33bc2123a8"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-probe.probeEnvironment (cognitive 112): environment-probe.probeEnvironment has cognitive complexity 112 (threshold 15). Drivers by points: if/else 21 (55 pts), ternaries 8 (25 pts), boolean chains 20, error handling 4 (12 pts) (nesting depth added 59). 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":"server/src/services/environment-probe.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6b61188e208f7be2ed056c30cec356227d3cb1557e76362d142191d8e2691d"}},{"ruleId":"D2","level":"warning","message":{"text":"company-artifacts.companyArtifactsService.list (cognitive 112): company-artifacts.companyArtifactsService.list has cognitive complexity 112 (threshold 15). Drivers by points: if/else 28 (51 pts), ternaries 20 (43 pts), boolean chains 12, loops 3 (6 pts) (nesting depth added 49). Of this number, 102 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-artifacts.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7225452c79056d9c7f7eae2d14610c8fb2b03783778efd91bbadfdf63735f17b"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueBlockedNotice.IssueBlockedNotice (cognitive 112): IssueBlockedNotice.IssueBlockedNotice has cognitive complexity 112 (threshold 15). Drivers by points: ternaries 31 (69 pts), if/else 12 (19 pts), boolean chains 16, loops 6 (8 pts) (nesting depth added 47). Of this number, 84 points are the body\u0027s own statements and 28 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d26ca648fdbc7a785046283db210ca8525922b11cd09dac8c688ac97e6f8ed"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run.heartbeatRun (cognitive 111): heartbeat-run.heartbeatRun has cognitive complexity 111 (threshold 15). Drivers by points: if/else 45 (90 pts), ternaries 23 (43 pts), boolean chains 16, loops 4 (7 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: 2 other methods here (heartbeat-run.heartbeatRun::printAdapterInvoke, heartbeat-run.heartbeatRun::handleEvent) 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5728ce8b49afbced8f90f44a08ff3eb1a7912cca58bfde243f110501c38f52b2"}},{"ruleId":"D2","level":"warning","message":{"text":"grant-refresh.createOAuthGrantRefresh.refreshOAuthGrantCredentials (cognitive 111): grant-refresh.createOAuthGrantRefresh.refreshOAuthGrantCredentials has cognitive complexity 111 (threshold 15). Drivers by points: if/else 30 (51 pts), ternaries 20 (31 pts), boolean chains 26, error handling 2 (3 pts) (nesting depth added 33). Of this number, 21 points are the body\u0027s own statements and 90 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":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae273160dc52f0c3db0241af19f07f253e10f59c149dc304785b76f6b4ec3a"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.listIssueBlockedInboxAttentionMap (cognitive 110): issues.listIssueBlockedInboxAttentionMap has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 23 (54 pts), if/else 18 (35 pts), boolean chains 14, loops 4, match/switch 1 (3 pts) (nesting depth added 50). Of this number, 98 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":5980}}}],"partialFingerprints":{"codehealthFindingId/v1":"474dccab4645f6b0a773f746d17477dc53d545d1507ff1e53a3f12ea86699c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionForm.QuestionFormForRequest (cognitive 110): QuestionForm.QuestionFormForRequest has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 39 (56 pts), boolean chains 29, if/else 22 (23 pts), error handling 2 (nesting depth added 18). Of this number, 61 points are the body\u0027s own statements and 49 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, 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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c499702c36ec4f18cb9bba18c300b2674c9d2d4ee9297ccf8703a6742a5298"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentActionButtons.AgentActionButtons (cognitive 110): AgentActionButtons.AgentActionButtons has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 29 (58 pts), if/else 18 (27 pts), boolean chains 23, error handling 1, match/switch 1 (nesting depth added 38). Of this number, 57 points are the body\u0027s own statements and 53 belong to 20 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f91eff1a85268e09513280337b559b770926a3d5dc0d637848757a21a0e3446"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointSetup.TryStep (cognitive 110): ChatEndpointSetup.TryStep has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 33 (96 pts), boolean chains 14 (nesting depth added 63). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d2dfcb1dc2e9d1819447a3a8d91d6e41844f36e6f7a0a5be32c3deea57996"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportFromVaultDialog.ImportFromVaultDialog (cognitive 110): ImportFromVaultDialog.ImportFromVaultDialog has cognitive complexity 110 (threshold 15). Drivers by points: if/else 34 (41 pts), ternaries 17 (32 pts), boolean chains 29, loops 6 (8 pts) (nesting depth added 24). Of this number, 41 points are the body\u0027s own statements and 69 belong to 25 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71085323f523fa6f068e3dd743fe74d070795b0d00b26f2ca417bb927821013"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseClaudeStdoutLine (cognitive 109): parse-stdout.parseClaudeStdoutLine has cognitive complexity 109 (threshold 15). Drivers by points: ternaries 18 (52 pts), if/else 20 (46 pts), loops 3 (9 pts), boolean chains 2 (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/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"92029dc84aab23b769967c0295d050ecb48b175eab9a71e82701949562ec371c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-finalization-reconciler.reconcileNativeFinalizationsPass (cognitive 109): native-finalization-reconciler.reconcileNativeFinalizationsPass has cognitive complexity 109 (threshold 15). Drivers by points: if/else 28 (71 pts), ternaries 9 (16 pts), boolean chains 13, error handling 2 (5 pts), loops 2 (4 pts) (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"4612b6651549a2fa536fdf03bb41d317ad93bf8d126d76034732227bf7912827"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.#invoke (cognitive 109): CapabilitySemanticToolRuntime.#invoke has cognitive complexity 109 (threshold 15). Drivers by points: if/else 34 (84 pts), boolean chains 11, error handling 3 (7 pts), ternaries 6 (7 pts) (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65eba9274b08d1be1feba2fdc9b64506fbc2b2b588593cc5665541f1d1b0243"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-lifecycle-delivery.registerPluginLifecycleDelivery (cognitive 109): plugin-lifecycle-delivery.registerPluginLifecycleDelivery has cognitive complexity 109 (threshold 15). Drivers by points: if/else 20 (67 pts), ternaries 4 (18 pts), boolean chains 11, loops 5 (8 pts), error handling 2 (5 pts) (nesting depth added 67). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0314f2d2379d07608b2759d80520dfa5e7758367d66007e312b079ae3dbb135"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentInviteDialog.ExternalAgentInviteDialog (cognitive 109): ExternalAgentInviteDialog.ExternalAgentInviteDialog has cognitive complexity 109 (threshold 15). Drivers by points: ternaries 29 (65 pts), boolean chains 27, if/else 12 (17 pts) (nesting depth added 41). Of this number, 82 points are the body\u0027s own statements and 27 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfb5a75a00f9fc0454da25676a4f3748eeaf24258767d889bac0c52c3be9ad"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-sources.skillSourceService.publish (cognitive 108): skill-sources.skillSourceService.publish has cognitive complexity 108 (threshold 15). Drivers by points: ternaries 20 (57 pts), if/else 14 (25 pts), boolean chains 22, loops 4 (nesting depth added 48). Of this number, 102 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":"server/src/services/skill-sources.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ea07103fd0375f2917f85585b6aa3282183f93920a2cd973b95cc539ccfa4a"}},{"ruleId":"D2","level":"warning","message":{"text":"task-creation-provenance.readTaskCreationProvenance (cognitive 108): task-creation-provenance.readTaskCreationProvenance has cognitive complexity 108 (threshold 15). Drivers by points: if/else 31 (60 pts), ternaries 12 (26 pts), boolean chains 14, loops 5 (8 pts) (nesting depth added 46). Of this number, 93 points are the body\u0027s own statements and 15 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":"server/src/services/task-creation-provenance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3450a26ac9c4dd8db89f823772cfaac445d3bc4bcbe5533a6603928c144300a3"}},{"ruleId":"D2","level":"warning","message":{"text":"run-cost-accounting.accountRunCost (cognitive 108): run-cost-accounting.accountRunCost has cognitive complexity 108 (threshold 15). Drivers by points: ternaries 24 (43 pts), if/else 24 (30 pts), boolean chains 25, loops 5 (6 pts), error handling 2 (4 pts) (nesting depth added 28). Most of this is not in the body itself: 12 of the 108 points are its own statements and the rest belongs to one function literal inside it that branches (line 272). 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":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ac54dd9ed061bb2b6a38ac79e4480f798636da2474300b770581a4eb05691f"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-projection.projectExecution (cognitive 108): execution-projection.projectExecution has cognitive complexity 108 (threshold 15). Drivers by points: if/else 31 (44 pts), boolean chains 33, ternaries 12 (28 pts), error handling 1 (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":"server/src/services/execution-projection.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05d6ac2e995557588d7f999cb09c93b6fc7c58f703473843cc242cb9d9a7981"}},{"ruleId":"D2","level":"warning","message":{"text":"access.accessService.sweepMemberConnectionAccess (cognitive 108): access.accessService.sweepMemberConnectionAccess has cognitive complexity 108 (threshold 15). Drivers by points: if/else 24 (60 pts), ternaries 10 (20 pts), loops 8 (18 pts), boolean chains 10 (nesting depth added 56). Of this number, 104 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":"server/src/services/access.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"681799391966835e3dc539cd4fdae815cb1c6b44e719b6facf28af30d145a335"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBulkSettingsSheet.AgentBulkSettingsSheet (cognitive 108): AgentBulkSettingsSheet.AgentBulkSettingsSheet has cognitive complexity 108 (threshold 15). Drivers by points: boolean chains 44, ternaries 25 (40 pts), if/else 20 (24 pts) (nesting depth added 19). Of this number, 44 points are the body\u0027s own statements and 64 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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85762e3e89871ab600e293fe667a2033dc29587768f50694346e20cdc72926e"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionCard.InteractionCard (cognitive 107): InteractionCard.InteractionCard has cognitive complexity 107 (threshold 15). Drivers by points: ternaries 26 (56 pts), if/else 13 (39 pts), boolean chains 12 (nesting depth added 56). Of this number, 32 points are the body\u0027s own statements and 75 belong to 18 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/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"13963dcdddc1b87db4c1f087bfd9e38ef081691d66f4c7280eb8b800be221b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"publication.createToolCatalogPublication.refreshCatalog (cognitive 107): publication.createToolCatalogPublication.refreshCatalog has cognitive complexity 107 (threshold 15). Drivers by points: ternaries 26 (59 pts), boolean chains 25, if/else 11 (18 pts), loops 3 (4 pts), error handling 1 (nesting depth added 41). Of this number, 93 points are the body\u0027s own statements and 14 belong to 5 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":"server/src/services/tool-access/catalog/publication.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f736fdd681767b957d7d6f0d4bf39b45ea246623d373c10664953339c828aa41"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineDetail.production.RoutineDetail (cognitive 107): RoutineDetail.production.RoutineDetail has cognitive complexity 107 (threshold 15). Drivers by points: if/else 42 (44 pts), ternaries 31 (36 pts), boolean chains 25, error handling 1, loops 1 (nesting depth added 7). Of this number, 41 points are the body\u0027s own statements and 66 belong to 25 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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"be762135ef976fa941f230eae75e4d17951ac7356f7d1880384f9c7d18cf6445"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_events::normalize_codex_notification_in (cognitive 107): paperclip_runner_core::provider_events::normalize_codex_notification_in has cognitive complexity 107 (threshold 15). Drivers by points: if/else 48 (99 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 53). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"e793064a15eaf3e08c9f57c6185dfe2699e577fe4f2fd76fb4745e52f781e78f"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::stdio_mcp::run_proxy (cognitive 107): paperclip_runner_core::stdio_mcp::run_proxy has cognitive complexity 107 (threshold 15). Drivers by points: if/else 24 (84 pts), boolean chains 11, match/switch 4 (10 pts), loops 2 (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/paperclip-runner/runner/crates/runner-core/src/stdio_mcp.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c73482f7122bd92aad17a697d8679c22574d63bf6ef381c28e88683ea4104ab"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.recoverNativeRunsAfterRestart (cognitive 106): recovery.createHeartbeatRecovery.recoverNativeRunsAfterRestart has cognitive complexity 106 (threshold 15). Drivers by points: ternaries 20 (72 pts), if/else 10 (17 pts), boolean chains 12, loops 5 (nesting depth added 59). Of this number, 104 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"35be305b4d27f6d92bab4a9028affebe5de0c147dd3265cde7256253fb73b8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"task-retry.admitTaskRetry (cognitive 106): task-retry.admitTaskRetry has cognitive complexity 106 (threshold 15). Drivers by points: if/else 27 (43 pts), boolean chains 33, ternaries 18 (25 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 25). None of this is in the body itself: all 106 points belong to 2 function literals inside it that branch (lines 294, 474). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7031d41cdc067d3939a47a583b6f020e7543ed75c3caf36e874dec1a64d2633a"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#closeAndSettle (cognitive 105): DurablePrpCodexTransport.#closeAndSettle has cognitive complexity 105 (threshold 15). Drivers by points: if/else 25 (41 pts), boolean chains 33, ternaries 7 (13 pts), error handling 8 (12 pts), loops 2 (6 pts) (nesting depth added 30). Of this number, 83 points are the body\u0027s own statements and 22 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de785209fe3e4af5832953b27ba8f0ab2f3bd97cb7c42eb14f15a0b6ef7c972"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-contents.restoreGitWorkspaceContents (cognitive 105): git-workspace-contents.restoreGitWorkspaceContents has cognitive complexity 105 (threshold 15). Drivers by points: if/else 30 (75 pts), boolean chains 13, ternaries 6 (13 pts), error handling 2 (3 pts), loops 1 (nesting depth added 53). Of this number, 79 points are the body\u0027s own statements and 26 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a9d970534806fd17f2beb46ee08ea35a9eed7d5c1523ccf8bb89c9033f0291"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspaces.prepareRemoteWorkspace (cognitive 105): remote-workspaces.prepareRemoteWorkspace has cognitive complexity 105 (threshold 15). Drivers by points: if/else 28 (54 pts), boolean chains 27, ternaries 9 (13 pts), error handling 3 (7 pts), loops 2 (4 pts) (nesting depth added 36). Of this number, 81 points are the body\u0027s own statements and 24 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f902630c8668c87ebdb1e15d01550bcf098c7577bb59cd07072243a6b816711b"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tool-bridge.handleRequest (cognitive 105): runner-tool-bridge.handleRequest has cognitive complexity 105 (threshold 15). Drivers by points: if/else 44 (63 pts), boolean chains 15, ternaries 12 (15 pts), error handling 6 (7 pts), loops 2 (5 pts) (nesting depth added 26). Of this number, 91 points are the body\u0027s own statements and 14 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"548b1da84c1d98d8a44f3cee09ab98c56aea17a7d3842f2541e61d0fce53d184"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-admission.createAntigravityAdmission.createGuard.\u003Creturned closure\u003E (cognitive 105): antigravity-admission.createAntigravityAdmission.createGuard.\u003Creturned closure\u003E has cognitive complexity 105 (threshold 15). Drivers by points: if/else 31 (74 pts), boolean chains 24, loops 1 (3 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e363d7fdd137f358f874652e35d6803f7c458a952792ed31002aad01a3bb231"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditFeed.AuditFeed (cognitive 105): AuditFeed.AuditFeed has cognitive complexity 105 (threshold 15). Drivers by points: ternaries 32 (65 pts), boolean chains 26, if/else 10 (13 pts), error handling 1 (nesting depth added 36). Of this number, 89 points are the body\u0027s own statements and 16 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09f1b1776c82b9a9b3f2d35defdd7f764f415fb4c266867c5ec400a65e435b4"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-continuation.buildExecutionContinuation (cognitive 104): execution-continuation.buildExecutionContinuation has cognitive complexity 104 (threshold 15). Drivers by points: ternaries 30 (52 pts), boolean chains 45, if/else 6 (7 pts) (nesting depth added 23). Of this number, 62 points are the body\u0027s own statements and 42 belong to 12 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"add43ffdbde6ab28230abc6a99e8e771701b605cee627857757d8e1fe14f386a"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-tree-control.issueTreeControlRoutes (cognitive 104): issue-tree-control.issueTreeControlRoutes has cognitive complexity 104 (threshold 15). Drivers by points: if/else 34 (51 pts), ternaries 14 (21 pts), loops 6 (14 pts), boolean chains 10, error handling 3 (8 pts) (nesting depth added 37). None of this is in the body itself: all 104 points belong to 9 function items inside it that branch (a function literal at line 151, a function literal at line 452, a function literal at line 410, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9164032def8436c552c29d9115fae716362a78cb449e70834b0390003ebee164"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineRoutes (cognitive 104): routines.routineRoutes has cognitive complexity 104 (threshold 15). Drivers by points: if/else 49 (51 pts), ternaries 32 (37 pts), boolean chains 15, loops 1 (nesting depth added 7). None of this is in the body itself: all 104 points belong to 26 function items inside it that branch (a function literal at line 378, a function literal at line 534, canChangeResponsibleUser, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5974a2919033966a04b040e97eb8b8c91f8be376f5a54014fe3744dc57be30"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatComposer.TaskChatComposer::submit (cognitive 104): TaskChatComposer.TaskChatComposer::submit has cognitive complexity 104 (threshold 15). Drivers by points: if/else 39 (59 pts), boolean chains 21, ternaries 11 (17 pts), error handling 4 (7 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. This shape REPEATS in the file: 2 other methods here (TaskChatComposer.TaskChatComposer, TaskChatComposer.TaskChatComposer::resendUncertainSubmission) 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6039e6e8532309af00feaba8e42cc79344cc546cdafa17a6c2871506ee246d1"}},{"ruleId":"D2","level":"warning","message":{"text":"OrgChart.OrgChart (cognitive 104): OrgChart.OrgChart has cognitive complexity 104 (threshold 15). Drivers by points: boolean chains 44, if/else 30 (32 pts), ternaries 21 (26 pts), loops 2 (nesting depth added 7). Of this number, 38 points are the body\u0027s own statements and 66 belong to 27 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd0bb46119038b787581536172e2859b6761e4a42ed4cb5e29c185a32f6879d"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printClaudeStreamEvent (cognitive 103): format-event.printClaudeStreamEvent has cognitive complexity 103 (threshold 15). Drivers by points: ternaries 21 (49 pts), if/else 19 (40 pts), boolean chains 9, loops 2 (4 pts), error handling 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d30fb6bda16706eb492ca819710b619a5a855a72ddbb38b616a1aa5bcf6c78"}},{"ruleId":"D2","level":"warning","message":{"text":"github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E (cognitive 103): github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E has cognitive complexity 103 (threshold 15). Drivers by points: if/else 46 (63 pts), boolean chains 21, ternaries 8 (13 pts), loops 4 (5 pts), error handling 1 (nesting depth added 23). Of this number, 63 points are the body\u0027s own statements and 40 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3476c979aa0b969b174467ad6dc6b29f7f4f60f5d8c5fbe1e86e110e5e68b2a"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 103): execute.execute has cognitive complexity 103 (threshold 15). Drivers by points: if/else 25 (61 pts), boolean chains 17, ternaries 4 (13 pts), error handling 6 (9 pts), loops 2 (3 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/execute.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4044d6fe08bf610a1eb1b41a5d80229252424de811cd1b04ad2ef64a930ce32"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueRunLedger.IssueRunLedgerContent (cognitive 103): IssueRunLedger.IssueRunLedgerContent has cognitive complexity 103 (threshold 15). Drivers by points: ternaries 41 (83 pts), if/else 8 (10 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 45). Of this number, 35 points are the body\u0027s own statements and 68 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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93bad20a121d493ecd3c144ac9ddf85b11a498566899fce0c8a86c1ad70795e"}},{"ruleId":"D2","level":"warning","message":{"text":"status-decision-committer.materializeDecisionEffect (cognitive 102): status-decision-committer.materializeDecisionEffect has cognitive complexity 102 (threshold 15). Drivers by points: if/else 59 (92 pts), ternaries 4 (8 pts), boolean chains 2 (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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"76441ef8b670260b171d4ffdcba14ef566626a23d9cfcd6100c4b26bc498b735"}},{"ruleId":"D2","level":"warning","message":{"text":"task-context.prepareHeartbeatTaskContext (cognitive 102): task-context.prepareHeartbeatTaskContext has cognitive complexity 102 (threshold 15). Drivers by points: if/else 38 (44 pts), ternaries 30 (36 pts), boolean chains 22 (nesting depth added 12). Of this number, 98 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, 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":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4f175dce4bcb235deac8c12bf61fd1c695b40cc756e23962d6a731aa66ed4c"}},{"ruleId":"D2","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.failRunSetup (cognitive 102): run-completion.createHeartbeatRunCompletion.failRunSetup has cognitive complexity 102 (threshold 15). Drivers by points: ternaries 39 (58 pts), boolean chains 24, if/else 11 (20 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bac377df5f500693417221e1c25f1cec69627e265d5d4ed607dbe4a703b7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-control-chronology.readChatControlChronology (cognitive 102): chat-control-chronology.readChatControlChronology has cognitive complexity 102 (threshold 15). Drivers by points: if/else 15 (44 pts), ternaries 16 (38 pts), boolean chains 17, loops 2 (3 pts) (nesting depth added 52). Of this number, 93 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":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e75ba354859fed960519be0fa7f06bf72333443ad37ae34ca4b9030507a682"}},{"ruleId":"D2","level":"warning","message":{"text":"muse.createMuseBroker (cognitive 102): muse.createMuseBroker has cognitive complexity 102 (threshold 15). Drivers by points: if/else 119 (174 pts), ternaries 53 (92 pts), boolean chains 69, loops 11 (16 pts), error handling 3 (4 pts) (nesting depth added 100). To reduce it, split the body into named stages: move each independent 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 (muse.createMuseBroker::authorizeAssignment, muse.createMuseBroker::detectorEvidence, muse.createMuseBroker::requestWork) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a761bcbf5887537e08577047b6d5cd49d23ae42043e6e7230cea6f9fc0b2136"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.production.Layout (cognitive 102): Layout.production.Layout has cognitive complexity 102 (threshold 15). Drivers by points: ternaries 32 (54 pts), if/else 29 (31 pts), boolean chains 17 (nesting depth added 24). Of this number, 63 points are the body\u0027s own statements and 39 belong to 18 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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"976402742d9af0ab894e3348f54bf0e2e53f6ee40575b7323f233ef9f7e2d649"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.DiscoveryGrid (cognitive 102): CompanySkills.DiscoveryGrid has cognitive complexity 102 (threshold 15). Drivers by points: ternaries 34 (79 pts), boolean chains 16, if/else 4 (6 pts), loops 1 (nesting depth added 47). Of this number, 83 points are the body\u0027s own statements and 19 belong to 7 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2662238643996b2ba7a43545914024d683c4a292e02b8e7bc2434c8b60045e"}},{"ruleId":"D2","level":"warning","message":{"text":"question-set.parsePaperclipQuestionResponse (cognitive 101): question-set.parsePaperclipQuestionResponse has cognitive complexity 101 (threshold 15). Drivers by points: if/else 26 (67 pts), boolean chains 16, ternaries 6 (13 pts), loops 3 (5 pts) (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fe611ed24b544712086f3f3bf268dcd90b5553bd32550a3a6a37cfc8b858fa"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.adapterRoutes (cognitive 101): adapters.adapterRoutes has cognitive complexity 101 (threshold 15). Drivers by points: if/else 41 (51 pts), boolean chains 21, error handling 10 (16 pts), ternaries 6 (11 pts), loops 2 (nesting depth added 21). None of this is in the body itself: all 101 points belong to 12 function literals inside it that branch (lines 341, 268, 710, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"155665269476350b05af171244135baefd6d2032538b405198ff8d2c1c39fbed"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.KeyStep (cognitive 101): ConnectionSetupFlow.KeyStep has cognitive complexity 101 (threshold 15). Drivers by points: ternaries 29 (50 pts), boolean chains 39, if/else 9 (12 pts) (nesting depth added 24). Of this number, 77 points are the body\u0027s own statements and 24 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8c06af534a7e0a386c72a8ca85c81ad74b9357fa09d6d912f099668bd6651"}},{"ruleId":"D2","level":"warning","message":{"text":"public-mcp.publicMcpIngressRoutes (cognitive 100): public-mcp.publicMcpIngressRoutes has cognitive complexity 100 (threshold 15). Drivers by points: if/else 23 (43 pts), ternaries 15 (33 pts), boolean chains 17, error handling 3 (4 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 40). Most of this is not in the body itself: 5 of the 100 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 84, 100, 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":"server/src/routes/public-mcp.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de84576ec4f1f30e9f36a93c474e6e465addfe0b7cb3b72b648eec1678ad1e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Row.EnvironmentVariableRow (cognitive 100): Row.EnvironmentVariableRow has cognitive complexity 100 (threshold 15). Drivers by points: ternaries 28 (54 pts), boolean chains 24, if/else 17 (21 pts), match/switch 1 (nesting depth added 30). Of this number, 64 points are the body\u0027s own statements and 36 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":"ui/src/components/environment-variables-editor/Row.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dab7db3b39657174adab8cb684e4a09cc9aa12844c08971698c8a43c2b4f78e"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::handleWakeupRoute (cognitive 99): agents.agentRoutes::handleWakeupRoute has cognitive complexity 99 (threshold 15). Drivers by points: if/else 29 (65 pts), ternaries 11 (16 pts), boolean chains 15, error handling 1 (3 pts) (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":6229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d3e7771e2feb55500cccf29d4361dd0a336b98ed36507521f0825352e8531a"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatAssistantMessage (cognitive 99): IssueChatThread.IssueChatAssistantMessage has cognitive complexity 99 (threshold 15). Drivers by points: ternaries 48 (77 pts), boolean chains 17, if/else 4 (5 pts) (nesting depth added 30). Of this number, 92 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59a36af89d93f7d8c2f7202e6bcdd657ea2630350d9eca63e9b8cc82f607c17"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatTurn.TaskChatTurn (cognitive 99): TaskChatTurn.TaskChatTurn has cognitive complexity 99 (threshold 15). Drivers by points: ternaries 32 (76 pts), boolean chains 17, if/else 5 (6 pts) (nesting depth added 45). Of this number, 97 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3145e69dd922a29580de020ee38c46874ded498884cda3f51311b3e69b5b0bef"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.production.PromptsTab (cognitive 99): AgentDetail.production.PromptsTab has cognitive complexity 99 (threshold 15). Drivers by points: boolean chains 37, if/else 30 (35 pts), ternaries 19 (24 pts), loops 2 (3 pts) (nesting depth added 11). Of this number, 44 points are the body\u0027s own statements and 55 belong to 25 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ca6bf57abf9ee8b1edc7c0072cbb31e44661459f12841dc9f165dc40d5b826"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-reviews.githubChatReviewService.processPublication (cognitive 98): chat-github-reviews.githubChatReviewService.processPublication has cognitive complexity 98 (threshold 15). Drivers by points: if/else 27 (47 pts), ternaries 14 (29 pts), boolean chains 17, loops 2 (4 pts), error handling 1 (nesting depth added 37). Most of this is not in the body itself: 4 of the 98 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1079, 1495, 1113, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"8312bb65b4c11a08f49670c9a540167d3e0087075e2f2bceafb42e8515bd9cde"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.ensureSourceScopedStrandedRecoveryAction (cognitive 98): service.recoveryService.ensureSourceScopedStrandedRecoveryAction has cognitive complexity 98 (threshold 15). Drivers by points: ternaries 20 (96 pts), boolean chains 2 (nesting depth added 76). 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":"server/src/services/recovery/service.ts"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"639461eac0418b6ea81d896ebb0120cfce6c7300be30a89a2ff21dfb5d82e067"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSession (cognitive 98): native-session-executor.executePaperclipNativeSession has cognitive complexity 98 (threshold 15). Drivers by points: if/else 40 (54 pts), boolean chains 22, ternaries 12 (17 pts), error handling 3 (4 pts), loops 1 (nesting depth added 20). Of this number, 72 points are the body\u0027s own statements and 26 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10366}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6594927aeeb8385895f1e90c6226583d64ba4b4b0d2fa8a2f95c91a31a1a65"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityLiveSession.#handleNotification (cognitive 97): CapabilityLiveSession.#handleNotification has cognitive complexity 97 (threshold 15). Drivers by points: if/else 23 (37 pts), boolean chains 26, ternaries 9 (26 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 35). Of this number, 81 points are the body\u0027s own statements and 16 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"48817fb4e2a7d01511dfda150e7f03a6bd93e45e1dc7c1832517c202000e8273"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-ingress.createGitHubWebhookIngress.stageGitHubWebhookIngress (cognitive 97): webhook-ingress.createGitHubWebhookIngress.stageGitHubWebhookIngress has cognitive complexity 97 (threshold 15). Drivers by points: if/else 21 (51 pts), ternaries 8 (25 pts), boolean chains 15, error handling 2 (3 pts), loops 2 (3 pts) (nesting depth added 49). Of this number, 33 points are the body\u0027s own statements and 64 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c551fe94feb140136a19cc3c0dc4fa7b71477a19b45644b5159f4ffc047a36"}},{"ruleId":"D2","level":"warning","message":{"text":"completed-activity-summary.completedActivitySummary (cognitive 97): completed-activity-summary.completedActivitySummary has cognitive complexity 97 (threshold 15). Drivers by points: if/else 23 (51 pts), ternaries 11 (29 pts), boolean chains 12, loops 3 (5 pts) (nesting depth added 48). Of this number, 94 points are the body\u0027s own statements and 3 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":"ui/src/components/task-chat/completed-activity-summary.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8ad3a24321953b46d5e839926ebb748d34e38aee94c4a0abe134923f5f882c"}},{"ruleId":"D2","level":"warning","message":{"text":"RichWorkProductCard.RichWorkProductCard (cognitive 97): RichWorkProductCard.RichWorkProductCard has cognitive complexity 97 (threshold 15). Drivers by points: ternaries 40 (71 pts), boolean chains 23, if/else 2, match/switch 1 (nesting depth added 31). Of this number, 95 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":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3072f6a6f28c923ecf46d486a7dde4d5fecce6ad45b6d290ed227ce24859ff06"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskMessageScroller.TaskMessageScroller (cognitive 97): TaskMessageScroller.TaskMessageScroller has cognitive complexity 97 (threshold 15). Drivers by points: if/else 47 (53 pts), ternaries 15 (24 pts), boolean chains 19, loops 1 (nesting depth added 15). Of this number, 21 points are the body\u0027s own statements and 76 belong to 21 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":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0292e82ec6ac0b7954dc349582d7c28733e06dfa652e09105ca258a3bea437"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.environmentRuntimeService.releaseRunLeases (cognitive 96): environment-runtime.environmentRuntimeService.releaseRunLeases has cognitive complexity 96 (threshold 15). Drivers by points: if/else 19 (44 pts), ternaries 11 (34 pts), boolean chains 12, error handling 2 (5 pts), loops 1 (nesting depth added 51). Of this number, 89 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":4164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a805de61d54fac2f366d1733ee43e04dd05b3d8972edfc9d42abd73d7f7aa81"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-finalizer.recordRetryableFailure (cognitive 96): native-run-finalizer.recordRetryableFailure has cognitive complexity 96 (threshold 15). Drivers by points: ternaries 32 (49 pts), if/else 21 (25 pts), boolean chains 22 (nesting depth added 21). Most of this is not in the body itself: 4 of the 96 points are its own statements and the rest belongs to one function literal inside it that branches (line 481). 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbbddcc7ee82b2e10357f264132bde5f09738ed9f916404fc3ece058779feb5"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#event (cognitive 95): DurablePrpControlPlane.#event has cognitive complexity 95 (threshold 15). Drivers by points: if/else 36 (49 pts), boolean chains 22, ternaries 8 (16 pts), error handling 5 (8 pts) (nesting depth added 24). Of this number, 70 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6971e984e38d672960f9d69f845051befdb9d895e5aa46399a3bb430dbeae452"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.processDelivery (cognitive 95): email-channels.emailChannelService.processDelivery has cognitive complexity 95 (threshold 15). Drivers by points: if/else 18 (43 pts), ternaries 11 (36 pts), boolean chains 12, loops 2 (4 pts) (nesting depth added 52). Most of this is not in the body itself: 10 of the 95 points are its own statements and the rest belongs to one function literal inside it that branches (line 1235). 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":"server/src/services/email-channels.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b469a4b008aa5b1ddf4e0bd400238269bf286d20e084ad70701f9b72bbe1321d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.ensureRemoteRunner (cognitive 95): native-session-executor.createRunnerdBackendWithinSessionClaim.ensureRemoteRunner has cognitive complexity 95 (threshold 15). Drivers by points: if/else 26 (53 pts), boolean chains 22, ternaries 5 (16 pts), loops 1 (3 pts), error handling 1 (nesting depth added 40). None of this is in the body itself: all 95 points belong to 5 function literals inside it that branch (lines 17575, 17551, 17640, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17547}}}],"partialFingerprints":{"codehealthFindingId/v1":"996d38b6214a440e363615f8d08f6afbf9fc29cba073577adcecdac8ff37b05f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectWorkspaceDetail.ProjectWorkspaceDetail (cognitive 95): ProjectWorkspaceDetail.ProjectWorkspaceDetail has cognitive complexity 95 (threshold 15). Drivers by points: ternaries 36 (67 pts), boolean chains 14, if/else 14 (nesting depth added 31). Of this number, 49 points are the body\u0027s own statements and 46 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":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f9de5f753907f5972839cd2edb6fd936ca4f69f5295eb4f8501570bf2d29c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsciiArtAnimation.AsciiArtAnimation (cognitive 95): AsciiArtAnimation.AsciiArtAnimation has cognitive complexity 95 (threshold 15). Drivers by points: if/else 25 (49 pts), loops 15 (24 pts), boolean chains 11, ternaries 5 (11 pts) (nesting depth added 39). None of this is in the body itself: all 95 points belong to 9 function literals inside it that branch (lines 114, 208, 188, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"725e4c448d37219f732ccfd51bfffd7a66b936f9f61ee651f8df89b127695a61"}},{"ruleId":"D2","level":"warning","message":{"text":"Connections.Connections (cognitive 95): Connections.Connections has cognitive complexity 95 (threshold 15). Drivers by points: ternaries 23 (67 pts), boolean chains 15, if/else 8 (9 pts), loops 4 (nesting depth added 45). Of this number, 17 points are the body\u0027s own statements and 78 belong to 13 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":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90a520ac4943b886d1d77234c7ffc27f7fb2a6b04fb8ebacbe0174814ad92c1"}},{"ruleId":"D2","level":"warning","message":{"text":"config-admission.createAcpxConfigAdmission (cognitive 94): config-admission.createAcpxConfigAdmission has cognitive complexity 94 (threshold 15). Drivers by points: if/else 36 (65 pts), boolean chains 26, ternaries 2, error handling 1 (nesting depth added 29). Most of this is not in the body itself: 1 of the 94 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 30, readMode, assertReady, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4896331cacbd1759a3b43c203503727b2aa78ef8c9be7dd09314d3e1e6a804"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.save (cognitive 94): ai-connections.aiConnectionService.save has cognitive complexity 94 (threshold 15). Drivers by points: if/else 34 (45 pts), ternaries 15 (25 pts), boolean chains 19, error handling 2 (4 pts), loops 1 (nesting depth added 23). Of this number, 23 points are the body\u0027s own statements and 71 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":"server/src/services/ai-connections.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbb1a244814b52f61bc75eb09929051bac8e33b109499ecb9098f6f89596d45"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.cleanupExecutionWorkspaceArtifacts (cognitive 94): workspace-runtime.cleanupExecutionWorkspaceArtifacts has cognitive complexity 94 (threshold 15). Drivers by points: ternaries 15 (38 pts), if/else 19 (32 pts), error handling 5 (14 pts), boolean chains 9, loops 1 (nesting depth added 45). Of this number, 92 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4383}}}],"partialFingerprints":{"codehealthFindingId/v1":"264ea745175295447169a2716c33816c3962c4cc02db32a43d65f451bec44f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"continuations.createChatInteractionContinuations.processPendingInteractionWakeups (cognitive 94): continuations.createChatInteractionContinuations.processPendingInteractionWakeups has cognitive complexity 94 (threshold 15). Drivers by points: ternaries 24 (65 pts), if/else 8 (17 pts), boolean chains 9, error handling 1 (2 pts), loops 1 (nesting depth added 51). Of this number, 76 points are the body\u0027s own statements and 18 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":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f139ae1cecdb1e3def23f142cbc6721419e066117d87c8e61fe17e94aa024d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionWorkspaceCloseDialog.ExecutionWorkspaceCloseDialog (cognitive 94): ExecutionWorkspaceCloseDialog.ExecutionWorkspaceCloseDialog has cognitive complexity 94 (threshold 15). Drivers by points: ternaries 25 (90 pts), boolean chains 3, if/else 1 (nesting depth added 65). Of this number, 88 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ExecutionWorkspaceCloseDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"323c2369ca4e76779370f1eec7cb03dc0e550e8f2f3e86b044f67c8d37d14e31"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyExport.CompanyExport (cognitive 94): CompanyExport.CompanyExport has cognitive complexity 94 (threshold 15). Drivers by points: if/else 38 (43 pts), boolean chains 23, ternaries 15 (20 pts), loops 6 (8 pts) (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 68 belong to 26 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"641b676810ee5bf7df13a76caa84a7a480c450cc506bfa4c67279c8c423ce57c"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-config.parseManagedConfigEnv (cognitive 93): managed-config.parseManagedConfigEnv has cognitive complexity 93 (threshold 15). Drivers by points: if/else 33 (66 pts), loops 8 (14 pts), boolean chains 8, ternaries 3 (4 pts), error handling 1 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-config.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac58d46e3e27b2160f9cb0702df21891750ca27364bd0675f360f95890c7e63"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-workspace-continuation.readFreshWorkspaceReadiness (cognitive 93): fresh-workspace-continuation.readFreshWorkspaceReadiness has cognitive complexity 93 (threshold 15). Drivers by points: if/else 29 (69 pts), boolean chains 9, ternaries 3 (8 pts), loops 2 (7 pts) (nesting depth added 50). Of this number, 83 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"399d2627b7d035e14032ef59521054f625b8168e751e4d55cd036fa3a5dcca36"}},{"ruleId":"D2","level":"warning","message":{"text":"file-receipts.createSlackFileReceipts.processPendingSlackFileUploadReceipts (cognitive 93): file-receipts.createSlackFileReceipts.processPendingSlackFileUploadReceipts has cognitive complexity 93 (threshold 15). Drivers by points: if/else 20 (41 pts), ternaries 14 (39 pts), boolean chains 10, error handling 1 (2 pts), loops 1 (nesting depth added 47). Most of this is not in the body itself: 13 of the 93 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 556, 725, 555, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c59caaf295c35ee50361231151a561e5b8c1d58201eb3e5b4b0b99b6254c71"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.actorMiddleware::authenticate (cognitive 93): auth.actorMiddleware::authenticate has cognitive complexity 93 (threshold 15). Drivers by points: if/else 31 (55 pts), ternaries 7 (17 pts), boolean chains 15, error handling 2 (6 pts) (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":"server/src/middleware/auth.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07062dcf00a6daad7aac67f201fe0826afbdd2a21b190a1f3260ead6fce67b9"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-control-reconciliation.reconcileAbandonedExecutionControl (cognitive 93): execution-control-reconciliation.reconcileAbandonedExecutionControl has cognitive complexity 93 (threshold 15). Drivers by points: if/else 22 (52 pts), boolean chains 19, ternaries 8 (19 pts), error handling 1 (2 pts), loops 1 (nesting depth added 42). None of this is in the body itself: all 93 points belong to 4 function literals inside it that branch (lines 122, 95, 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":"server/src/services/execution-control-reconciliation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ad6165c34c95bf771bd31368708cb57b5864f621712a2c458cbc6e4914f6e5"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-recovery-actions.issueRecoveryActionService.upsertSourceScopedUnlocked (cognitive 92): issue-recovery-actions.issueRecoveryActionService.upsertSourceScopedUnlocked has cognitive complexity 92 (threshold 15). Drivers by points: ternaries 24 (52 pts), if/else 12 (27 pts), boolean chains 12, error handling 1 (nesting depth added 43). Of this number, 33 points are the body\u0027s own statements and 59 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36acb030ad839d23c18800384bc9c1bb70a79b9e15f83adfd76a4ad5466b9f5"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-workspaces.preparePluginWorkspace (cognitive 92): plugin-workspaces.preparePluginWorkspace has cognitive complexity 92 (threshold 15). Drivers by points: if/else 32 (39 pts), boolean chains 31, ternaries 19 (22 pts) (nesting depth added 10). Of this number, 47 points are the body\u0027s own statements and 45 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb25679e204ac88190ffd39c19a77187370dc9ed0f686718bd24c61929ae067"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.sweepPendingCleanupLeases (cognitive 92): recovery.createHeartbeatRecovery.sweepPendingCleanupLeases has cognitive complexity 92 (threshold 15). Drivers by points: if/else 25 (53 pts), ternaries 13 (26 pts), boolean chains 9, error handling 2 (3 pts), loops 1 (nesting depth added 42). Of this number, 87 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"555c52b5f8ec5ffd415bfbd35a19f477ea0081eec367182e99011585aea66adb"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.finishGalleryAppConnection (cognitive 92): tool-access.toolAccessService.finishGalleryAppConnection has cognitive complexity 92 (threshold 15). Drivers by points: if/else 27 (42 pts), ternaries 16 (26 pts), boolean chains 13, loops 6 (11 pts) (nesting depth added 30). Most of this is not in the body itself: 15 of the 92 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 3281, 3440, 3184, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"184aec6e7c3700830ff2aecfc7afda7f556e857f293cb7ebe7cb2ca4d1c7a498"}},{"ruleId":"D2","level":"warning","message":{"text":"issue.registerIssueCommands (cognitive 91): issue.registerIssueCommands has cognitive complexity 91 (threshold 15). Drivers by points: error handling 54 (56 pts), if/else 19 (21 pts), ternaries 9 (10 pts), loops 3, boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 91 points are its own statements and the rest belongs to 54 function literals inside it that branch (lines 184, 868, 986, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/issue.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49b3a05accf0ed194bb62880ef3c5ff075eddf9063ca90200403ab19a42ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-profile.resolvePaperclipRunnerProviderProfile (cognitive 91): provider-profile.resolvePaperclipRunnerProviderProfile has cognitive complexity 91 (threshold 15). Drivers by points: if/else 32 (49 pts), boolean chains 15, error handling 9 (14 pts), ternaries 7 (13 pts) (nesting depth added 28). Of this number, 90 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a934b647a3b886eebda5c43bb9eca31c3a786884225fc3a6d3d4a10a9cb18b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-publication-text-parts.splitNativePublicationText (cognitive 91): chat-publication-text-parts.splitNativePublicationText has cognitive complexity 91 (threshold 15). Drivers by points: if/else 20 (57 pts), loops 5 (16 pts), ternaries 6 (11 pts), boolean chains 7 (nesting depth added 53). Of this number, 83 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb444492f5c2834fac68bff3c97137d63e47b4e04ab5971d3486184b36a9e339"}},{"ruleId":"D2","level":"warning","message":{"text":"PiRpcMessageDeltas.normalize (cognitive 91): PiRpcMessageDeltas.normalize has cognitive complexity 91 (threshold 15). Drivers by points: if/else 32 (62 pts), boolean chains 22, ternaries 2 (5 pts), loops 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c23fd25cbff996e0fb803d9b9c62228315fa5cbaabd378c139b894a5cb3f96"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.RunDetail (cognitive 91): AgentDetail.RunDetail has cognitive complexity 91 (threshold 15). Drivers by points: boolean chains 59, if/else 22, ternaries 9 (10 pts) (nesting depth added 1). Of this number, 63 points are the body\u0027s own statements and 28 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb49c2ec98307f9d1c3e82e34f890ac1b81360e2f13e107f2088fafc4962e161"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAppServerDriver.recoverSession (cognitive 90): CodexAppServerDriver.recoverSession has cognitive complexity 90 (threshold 15). Drivers by points: if/else 28 (40 pts), boolean chains 27, ternaries 12 (22 pts), error handling 1 (nesting depth added 22). Of this number, 88 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d616f043fa5012c7e6a47e6565093ccc02f3c2cf67a7d8fc5879199935ad40c"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.createToolCatalogDiscovery.remoteTools (cognitive 90): discovery.createToolCatalogDiscovery.remoteTools has cognitive complexity 90 (threshold 15). Drivers by points: if/else 45 (73 pts), boolean chains 30, ternaries 13 (20 pts), error handling 4 (6 pts), loops 2 (3 pts) (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. This shape REPEATS in the file: one other method here (discovery.createToolCatalogDiscovery.remoteTools::listFirstPage) 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f3a6e8c92e2e382f8ea6b426d38412f7c20d143c60f4095b42c5b0dfc15308"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.advanceOnce (cognitive 90): chat-github-wizard.githubChatWizardService.advanceOnce has cognitive complexity 90 (threshold 15). Drivers by points: if/else 27 (44 pts), ternaries 9 (22 pts), boolean chains 20, error handling 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"e318d223f8fc84bb20ab5fe074c139e67cf7a771a6c09a3aa2113f9c4f3207f5"}},{"ruleId":"D2","level":"warning","message":{"text":"muse.museTransportRoutes::handler (cognitive 90): muse.museTransportRoutes::handler has cognitive complexity 90 (threshold 15). Drivers by points: ternaries 11 (52 pts), if/else 21 (34 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/muse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75b1704de8503fe65988173782e74cb7f721d605909a0941b5109a534a6fecf"}},{"ruleId":"D2","level":"warning","message":{"text":"app.createApp (cognitive 90): app.createApp has cognitive complexity 90 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 32, ternaries 14 (19 pts), error handling 3 (5 pts), loops 1 (nesting depth added 18). Of this number, 45 points are the body\u0027s own statements and 45 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":"server/src/app.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e8e8332094592f2fa3b80c097757032b46e2cf2c643a3ed21726ed076d512f"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-issue-thread-server.createCapabilityIssueThreadMiddleware.middleware (cognitive 89): capability-issue-thread-server.createCapabilityIssueThreadMiddleware.middleware has cognitive complexity 89 (threshold 15). Drivers by points: if/else 39 (59 pts), ternaries 11 (15 pts), boolean chains 10, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 26). Of this number, 80 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1611e6fcf5b5af4a8e8e9a825197fbee0d3ad15bd92dc2953d496b76b673222e"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.createHeartbeatWorkspaceResolver.resolveAnchorWorkspaceForRun (cognitive 89): workspaces.createHeartbeatWorkspaceResolver.resolveAnchorWorkspaceForRun has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 22 (42 pts), if/else 16 (31 pts), boolean chains 11, error handling 1 (3 pts), loops 1 (2 pts) (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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"473049cfa0b3e882fabb0fc994b387f116e9ac04313e21ce9ca5ef581c153c21"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.complete (cognitive 89): connection-intents.connectionIntentService.complete has cognitive complexity 89 (threshold 15). Drivers by points: if/else 37 (56 pts), boolean chains 26, ternaries 5 (7 pts) (nesting depth added 21). Most of this is not in the body itself: 5 of the 89 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1210, 1325, 1350, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94a256eb1e0589a10f0da1aed555df4481338a1617116849f5942a98ab4d887"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestConfirmationCard (cognitive 89): IssueThreadInteractionCard.RequestConfirmationCard has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 26 (53 pts), boolean chains 17, if/else 14 (15 pts), error handling 3, loops 1 (nesting depth added 28). Of this number, 59 points are the body\u0027s own statements and 30 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f842009ac79082f99bce760dd0d002ae68a287d01dc9a3e3613c423974470"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-provider-launch.createRunnerProviderLaunch (cognitive 88): runner-provider-launch.createRunnerProviderLaunch has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 23 (66 pts), if/else 9 (15 pts), boolean chains 7 (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8c5f52c6b45e3e40e8f882041bba867bc9d9ffebe9579226d4bfbcd860ec29"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.probeNativeRunnerEnvironment (cognitive 88): runnerd-codex-transport.probeNativeRunnerEnvironment has cognitive complexity 88 (threshold 15). Drivers by points: if/else 31 (44 pts), boolean chains 21, ternaries 10 (13 pts), error handling 6 (9 pts), loops 1 (nesting depth added 19). Of this number, 40 points are the body\u0027s own statements and 48 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d111b95b0ce19cd7aa6886cd581188e10e4ccb4f77d9ee7e180cc0ed291f43b1"}},{"ruleId":"D2","level":"warning","message":{"text":"question-response-delivery.questionResponseDeliveryService.deliver (cognitive 88): question-response-delivery.questionResponseDeliveryService.deliver has cognitive complexity 88 (threshold 15). Drivers by points: if/else 17 (32 pts), ternaries 17 (32 pts), boolean chains 19, error handling 3 (5 pts) (nesting depth added 32). Of this number, 87 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/question-response-delivery.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c6430f3869fb33eabcca29db21bd43fcfb1da87cb41db01aa6437477b617f0"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.createChatPublicationTransport.postSafePublication (cognitive 88): transport.createChatPublicationTransport.postSafePublication has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 14 (40 pts), if/else 23 (37 pts), boolean chains 11 (nesting depth added 40). Of this number, 70 points are the body\u0027s own statements and 18 belong to 7 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":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"812e79cdbff368bf9d8966293816c0ea95b84f246ef40f6d343bf374016111d4"}},{"ruleId":"D2","level":"warning","message":{"text":"NewIssueDialog.AccountNewIssueDialog (cognitive 88): NewIssueDialog.AccountNewIssueDialog has cognitive complexity 88 (threshold 15). Drivers by points: if/else 96 (134 pts), ternaries 96 (124 pts), boolean chains 113, error handling 1 (2 pts), loops 1 (nesting depth added 67). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate, NewIssueDialog.AccountNewIssueDialog::handleSubmit) 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce478f3c66e8cf527320843e2fc2587548988b68407c7112a2e20fd2b64f8f08"}},{"ruleId":"D2","level":"warning","message":{"text":"AiProviderSetup.AiProviderSetup (cognitive 88): AiProviderSetup.AiProviderSetup has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 31 (56 pts), boolean chains 30, if/else 2 (nesting depth added 25). Of this number, 76 points are the body\u0027s own statements and 12 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":"ui/src/components/ai-connections/AiProviderSetup.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e181068a7d7513172500f08ddf458239811e3b6bae2fef859749ba7139a5fe3"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxProviderSession::poll_output (cognitive 88): AcpxProviderSession::poll_output has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (70 pts), boolean chains 9, match/switch 5 (7 pts), loops 2 (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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"5170447f240567fd565385af2d217125ada38be9cbca97657548aa8bc32ec193"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-readonly-inventory.readWorkspaceInventory::visit (cognitive 87): remote-workspace-readonly-inventory.readWorkspaceInventory::visit has cognitive complexity 87 (threshold 15). Drivers by points: if/else 25 (54 pts), boolean chains 21, ternaries 3 (7 pts), loops 3 (5 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (remote-workspace-readonly-inventory.readWorkspaceInventory) 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":"server/src/services/remote-workspace-readonly-inventory.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f313ba60f37ffe8dd86205631bfe003fe0867a094db04be278dde97fc5f0c7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-interaction-publications.terminalNativeInteractionCopy (cognitive 87): chat-interaction-publications.terminalNativeInteractionCopy has cognitive complexity 87 (threshold 15). Drivers by points: ternaries 21 (63 pts), if/else 13 (17 pts), boolean chains 7 (nesting depth added 46). Of this number, 82 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7393c27cef43b93d96a4b0c7aea19841d7e7244ac1882cba85be91021301fb"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.dispatchNativeStatusWakeBatch (cognitive 87): queue.createHeartbeatQueue.dispatchNativeStatusWakeBatch has cognitive complexity 87 (threshold 15). Drivers by points: ternaries 19 (48 pts), if/else 12 (25 pts), boolean chains 11, error handling 1 (2 pts), loops 1 (nesting depth added 43). Of this number, 69 points are the body\u0027s own statements and 18 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f988531c23a7ad97811beb64ae051a3b24b7319871b9f2df4df76ee740630803"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-ingress.createGitHubWebhookIngress.recoverGitHubWebhookEndpoint (cognitive 87): webhook-ingress.createGitHubWebhookIngress.recoverGitHubWebhookEndpoint has cognitive complexity 87 (threshold 15). Drivers by points: if/else 31 (56 pts), boolean chains 18, loops 4 (5 pts), ternaries 3 (5 pts), error handling 2 (3 pts) (nesting depth added 29). Of this number, 61 points are the body\u0027s own statements and 26 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4fd37b45eb38cd4b0ca5a89070e233015f46aaecbafcee28c90340766e7350"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createConnectionTokenBroker.mintConnectionTokenForAgent (cognitive 87): service.createConnectionTokenBroker.mintConnectionTokenForAgent has cognitive complexity 87 (threshold 15). Drivers by points: if/else 30 (37 pts), ternaries 16 (26 pts), boolean chains 21, error handling 3 (nesting depth added 17). Of this number, 82 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":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdd9b4fdbe7281acb35861099a58687cabe97a5ed2c950f5eebf63932c28f4"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-environments.applyManagedEnvironments (cognitive 87): managed-environments.applyManagedEnvironments has cognitive complexity 87 (threshold 15). Drivers by points: if/else 43 (64 pts), boolean chains 10, error handling 6 (8 pts), loops 3 (4 pts), ternaries 1 (nesting depth added 24). Of this number, 61 points are the body\u0027s own statements and 26 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":"server/src/services/managed-environments.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bd64f325cbda19cd373e1014126637d30337fe5d35f5bdd519f8bd58ea3c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigForm.DisplayedCodeLoginPanel (cognitive 87): AgentConfigForm.DisplayedCodeLoginPanel has cognitive complexity 87 (threshold 15). Drivers by points: boolean chains 37, if/else 28 (30 pts), ternaries 12 (18 pts), error handling 2 (nesting depth added 8). Of this number, 36 points are the body\u0027s own statements and 51 belong to 21 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f9c5be9643e33607d2a0b38f9bf5fdb507a653efed0e1b8fc884e96c74a522"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.buildPaperclipRunnerConfig (cognitive 86): build-config.buildPaperclipRunnerConfig has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 30 (46 pts), boolean chains 24, if/else 12 (14 pts), loops 2 (nesting depth added 18). Of this number, 82 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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae495db30cb372bd63264deb6adf64fc81d2621e8cf7ddaf0e2d5e5ad4b5713"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.callLocalStdioMcp (cognitive 86): tool-gateway.createToolGatewayService.callLocalStdioMcp has cognitive complexity 86 (threshold 15). Drivers by points: if/else 31 (54 pts), boolean chains 10, error handling 6 (10 pts), loops 5 (8 pts), ternaries 2 (4 pts) (nesting depth added 32). Of this number, 36 points are the body\u0027s own statements and 50 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0815f7692706f9b3661fcb81a4992235338792804e53ea23c7b9ac79a30050"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.list (cognitive 86): workspace-file-resources.workspaceFileResourceService.list has cognitive complexity 86 (threshold 15). Drivers by points: if/else 17 (48 pts), ternaries 6 (16 pts), boolean chains 11, error handling 3 (10 pts), loops 1 (nesting depth added 48). Of this number, 73 points are the body\u0027s own statements and 13 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"963e6327738ab394d255f5e00592dd5c5687b99b874495b079529658b7e10db7"}},{"ruleId":"D2","level":"warning","message":{"text":"failures.createChatPublicationFailures.finalizePublicationFailure (cognitive 86): failures.createChatPublicationFailures.finalizePublicationFailure has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 24 (57 pts), boolean chains 17, if/else 10 (12 pts) (nesting depth added 35). Of this number, 34 points are the body\u0027s own statements and 52 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a97d0b5863c772d043ef49a2cb031429a4092f929d3c2f4ad915741bbf8165a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.inspectRetainedNativeSessionCleanup (cognitive 86): native-session-executor.inspectRetainedNativeSessionCleanup has cognitive complexity 86 (threshold 15). Drivers by points: boolean chains 38, if/else 23 (33 pts), ternaries 6 (8 pts), error handling 3 (5 pts), loops 2 (nesting depth added 14). Of this number, 62 points are the body\u0027s own statements and 24 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67a2c4043c00d591f0116318a7ef09714c5ef7849abccfa84e7021c80a0e7eb"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.providerPackIdentityChecks (cognitive 86): native-session-executor.providerPackIdentityChecks has cognitive complexity 86 (threshold 15). Drivers by points: if/else 16 (39 pts), ternaries 7 (24 pts), boolean chains 18, loops 3 (4 pts), error handling 1 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4307cbe444d76cb65f6f8b72d996099243b3df57970b266368b4852fe57b58"}},{"ruleId":"D2","level":"warning","message":{"text":"github-connection-events.githubConnectionEventService.drainConnectorEvents (cognitive 86): github-connection-events.githubConnectionEventService.drainConnectorEvents has cognitive complexity 86 (threshold 15). Drivers by points: if/else 19 (42 pts), ternaries 6 (19 pts), error handling 4 (10 pts), boolean chains 9, loops 4 (6 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e742a142a0b247b530774619a7a0966657169a9f18db86519fcafec1b245b3"}},{"ruleId":"D2","level":"warning","message":{"text":"health.healthRoutes (cognitive 86): health.healthRoutes has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 34 (57 pts), if/else 13 (16 pts), boolean chains 9, error handling 3 (4 pts) (nesting depth added 27). None of this is in the body itself: all 86 points belong to 2 function literals inside it that branch (lines 233, 140). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6edb20cb82147c4f691b8da9967523c121b56c4453b9e2e36bcee5b919600c"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.migrateRemoteWorkspaceCohort (cognitive 86): remote-workspace-migration.migrateRemoteWorkspaceCohort has cognitive complexity 86 (threshold 15). Drivers by points: if/else 31 (46 pts), boolean chains 15, loops 12 (15 pts), ternaries 4 (6 pts), error handling 3 (4 pts) (nesting depth added 21). Of this number, 39 points are the body\u0027s own statements and 47 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d60ad90861c36008dd177c66415f8818eaa9dd98b2adb5b69034bf23caee8"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentAnnotationLayer.DocumentAnnotationLayer (cognitive 86): DocumentAnnotationLayer.DocumentAnnotationLayer has cognitive complexity 86 (threshold 15). Drivers by points: if/else 36 (48 pts), boolean chains 21, ternaries 12 (13 pts), loops 3 (4 pts) (nesting depth added 14). Most of this is not in the body itself: 6 of the 86 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 285, a function literal at line 274, a function literal at line 370, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f81083267169ec7af62292d8966cc10ee2fab09b09b7232853a868c6c9c57"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignSandboxTaskThread.PreviewCase (cognitive 86): DesignSandboxTaskThread.PreviewCase has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 31 (64 pts), boolean chains 16, if/else 6 (nesting depth added 33). Of this number, 65 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":"ui/src/components/design-sandbox/DesignSandboxTaskThread.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef27e6a9ff8115af0488aa5fafcffe62f1d8a5a0274f9a29b8e87943ab804de"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-question-adapter.normalizeCodexQuestionSet (cognitive 85): codex-question-adapter.normalizeCodexQuestionSet has cognitive complexity 85 (threshold 15). Drivers by points: ternaries 28 (49 pts), if/else 12 (20 pts), boolean chains 11, loops 2 (5 pts) (nesting depth added 32). Of this number, 23 points are the body\u0027s own statements and 62 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ea9f2f5d1e2dda6e124a173d5f26bfd595ce1ee238fea90faf1fdb0989953b"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.ensurePersistedExecutionWorkspaceAvailable (cognitive 85): workspace-runtime.ensurePersistedExecutionWorkspaceAvailable has cognitive complexity 85 (threshold 15). Drivers by points: if/else 32 (48 pts), ternaries 16 (22 pts), boolean chains 14, error handling 1 (nesting depth added 22). Of this number, 60 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3915}}}],"partialFingerprints":{"codehealthFindingId/v1":"389a980908669c3871bcba155bf215d5c7ede847be8ea031a00df711659b3eea"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.buildIssueThreadInteractionSummary (cognitive 85): issue-thread-interactions.buildIssueThreadInteractionSummary has cognitive complexity 85 (threshold 15). Drivers by points: if/else 30 (54 pts), ternaries 13 (30 pts), boolean chains 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa00b93772db57ad2b70486d230b9eba9426b21043037a493ffe4a9cc93698c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternallyConnectedTaskBanner.ConnectedTaskComposer (cognitive 85): ExternallyConnectedTaskBanner.ConnectedTaskComposer has cognitive complexity 85 (threshold 15). Drivers by points: boolean chains 46, if/else 16 (17 pts), ternaries 7 (10 pts), error handling 6 (9 pts), loops 2 (3 pts) (nesting depth added 8). Of this number, 47 points are the body\u0027s own statements and 38 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":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d7211b5083cc85ed2a93401f87ba56c78bd2556d7e99ee06b6098a832041d2"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionCard.DecisionCard (cognitive 85): DecisionCard.DecisionCard has cognitive complexity 85 (threshold 15). Drivers by points: ternaries 13 (39 pts), boolean chains 37, loops 3 (6 pts), if/else 3 (nesting depth added 29). Of this number, 73 points are the body\u0027s own statements and 12 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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f244b95916b26581c1cd79b832990dce85762d292ed241c3ecd3a024adbb837"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-interaction-presentation.chatInteractionPresentation (cognitive 84): chat-interaction-presentation.chatInteractionPresentation has cognitive complexity 84 (threshold 15). Drivers by points: if/else 12 (35 pts), ternaries 7 (25 pts), loops 5 (13 pts), boolean chains 10, match/switch 1 (nesting depth added 49). Of this number, 83 points are the body\u0027s own statements and 1 belongs 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":"server/src/services/chat-interaction-presentation.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda5f0057811729bc9f506d7069afc645d02b153b452c6da1c08a8a10de358be"}},{"ruleId":"D2","level":"warning","message":{"text":"blocker-stall-wakeups.wakeWaitersOfStalledIssues (cognitive 84): blocker-stall-wakeups.wakeWaitersOfStalledIssues has cognitive complexity 84 (threshold 15). Drivers by points: if/else 15 (45 pts), ternaries 8 (27 pts), loops 3 (6 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 55). Of this number, 82 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b006ee7b3b09c5d903de0f2958f2f17c280a5f082395c33eec5163a90f519b"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-tool-evidence.createCopilotToolEvidence (cognitive 84): copilot-tool-evidence.createCopilotToolEvidence has cognitive complexity 84 (threshold 15). Drivers by points: if/else 37 (61 pts), boolean chains 19, ternaries 3 (4 pts) (nesting depth added 25). Of this number, 82 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fe96794ce9da414ab2b46bb64170200178379a7fd128f845beab7d9cc85897"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.filterPortableExtensionYaml (cognitive 84): company-portability.filterPortableExtensionYaml has cognitive complexity 84 (threshold 15). Drivers by points: if/else 28 (52 pts), loops 9 (27 pts), boolean chains 5 (nesting depth added 42). Of this number, 75 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":"server/src/services/company-portability.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"637300cfd08a3632af0b7cacb76023f43c88de838bea69d5f8916efd352d5adc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentInviteContent.MuseConnectionChecks (cognitive 84): ExternalAgentInviteContent.MuseConnectionChecks has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 16 (82 pts), boolean chains 2 (nesting depth added 66). Of this number, 79 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc1c328eceaf7ca2ca12369585143c32513cc5791e8ffe5328efd4e4712a84d"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamCatalog.TeamInstallerDialog (cognitive 84): TeamCatalog.TeamInstallerDialog has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 16 (31 pts), boolean chains 26, if/else 17 (25 pts), loops 2 (nesting depth added 23). Of this number, 43 points are the body\u0027s own statements and 41 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5488264646ce36bff15a07c22b7de4c888f5a71937807d6f7023d670b4fde80"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-store.agentFileStore.apply (cognitive 83): agent-file-store.agentFileStore.apply has cognitive complexity 83 (threshold 15). Drivers by points: if/else 24 (52 pts), loops 10 (17 pts), ternaries 7 (9 pts), boolean chains 5 (nesting depth added 37). Of this number, 21 points are the body\u0027s own statements and 62 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e15a021e44043895b672caad8763eb4e85b80c114d8e45af1841bd72666c475"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestWithContext (cognitive 83): connection-intents.connectionIntentService.requestWithContext has cognitive complexity 83 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 23, ternaries 15 (23 pts) (nesting depth added 24). Of this number, 73 points are the body\u0027s own statements and 10 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":"server/src/services/connection-intents.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4dc067dfe2e938adf411270cc67019cffd7f46b0e2c06492c2ab3e3b1c2410"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.createChatMessageLifecycle.processLifecycleDelivery (cognitive 83): lifecycle.createChatMessageLifecycle.processLifecycleDelivery has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 18 (37 pts), boolean chains 25, if/else 15 (20 pts), error handling 1 (nesting depth added 24). Most of this is not in the body itself: 4 of the 83 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 400, 733, 987, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fe41ad9280968aaec4e13424273734c4b92c7e26a46eea294cf83846d0bdad"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.createChatPublicationWorker.processSelectedPublication (cognitive 83): worker.createChatPublicationWorker.processSelectedPublication has cognitive complexity 83 (threshold 15). Drivers by points: if/else 42 (53 pts), boolean chains 14, ternaries 5 (8 pts), error handling 6 (7 pts), loops 1 (nesting depth added 15). Most of this is not in the body itself: 8 of the 83 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 424, 887, 683, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51b0e510a9ced7bbdc53f7952366769c884f472872c6241d2ba7549fced8e46"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatNeedsMe.ClassicWhatNeedsMe (cognitive 83): WhatNeedsMe.ClassicWhatNeedsMe has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 20 (30 pts), if/else 28 (29 pts), boolean chains 21, loops 3 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 63 belong to 31 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":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a742391ba795fe46901eee50182c5ddeec660e3624aebbe75505634ee67928c"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-mode.createCursorModeAdmission (cognitive 82): cursor-mode.createCursorModeAdmission has cognitive complexity 82 (threshold 15). Drivers by points: if/else 32 (59 pts), boolean chains 20, ternaries 2, error handling 1 (nesting depth added 27). Most of this is not in the body itself: 1 of the 82 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 38, readMode, assertReady, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/drivers/acpx/cursor-mode.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"718a472e3ba6547216117fcc736e546192ed20312a5457554fe7f30c08cf8d75"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-goals.applyRunnerGoalPrpEvent (cognitive 82): runner-goals.applyRunnerGoalPrpEvent has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 15 (29 pts), boolean chains 27, if/else 20 (26 pts) (nesting depth added 20). Most of this is not in the body itself: 3 of the 82 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 661, 692). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2ad25448330f6ac98269d1e8bf35f9286ace306104b7732f5e3e6fad367a5b"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.resumeRemoteStopComments (cognitive 82): run-control.createHeartbeatRunControl.resumeRemoteStopComments has cognitive complexity 82 (threshold 15). Drivers by points: if/else 24 (44 pts), ternaries 8 (22 pts), boolean chains 15, loops 1 (nesting depth added 34). 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d23bf593254a00e6ec01a5ad9bf313fa30c061954980436122767528a275ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-runtime-extension.installPiRuntimeExtension (cognitive 82): pi-runtime-extension.installPiRuntimeExtension has cognitive complexity 82 (threshold 15). Drivers by points: if/else 22 (45 pts), boolean chains 15, ternaries 7 (13 pts), loops 5 (8 pts), error handling 1 (nesting depth added 32). Of this number, 57 points are the body\u0027s own statements and 25 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc969848c5137bc39a71004ae5ada89232b182f593c512bfc5e9f841493a0ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"access.normalizeAgentDefaultsForJoin (cognitive 82): access.normalizeAgentDefaultsForJoin has cognitive complexity 82 (threshold 15). Drivers by points: if/else 36 (50 pts), ternaries 7 (12 pts), boolean chains 11, error handling 4 (9 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":"server/src/routes/access.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"0350dd2815ce76660ab044ae2b72b93dce4ff1cb032976beda0c2cff231899de"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.SuggestTasksCard (cognitive 82): IssueThreadInteractionCard.SuggestTasksCard has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 26 (55 pts), boolean chains 11, if/else 6 (8 pts), loops 4 (6 pts), error handling 2 (nesting depth added 33). Of this number, 58 points are the body\u0027s own statements and 24 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb097f61da8362b8f67e69fe3c055bd5a2e413fe5a70d6f427f9b7de1c940505"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestToolActionCard (cognitive 82): IssueThreadInteractionCard.RequestToolActionCard has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 26 (61 pts), boolean chains 16, if/else 4, error handling 1 (nesting depth added 35). Of this number, 78 points are the body\u0027s own statements and 4 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37b5711eed8e1d042941f2204e7daf926b5131d83eb346113593949354af50a"}},{"ruleId":"D2","level":"warning","message":{"text":"FileViewerSheet.FileViewerSheet (cognitive 82): FileViewerSheet.FileViewerSheet has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 32 (48 pts), boolean chains 18, if/else 15, error handling 1 (nesting depth added 16). Of this number, 59 points are the body\u0027s own statements and 23 belong to 16 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6df62377697dbe9b8401508fca00b18fd2fd21542c20b74ace5c719388ddaf2"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.changeLockedAgent (cognitive 81): postgres.changeLockedAgent has cognitive complexity 81 (threshold 15). Drivers by points: if/else 28 (36 pts), boolean chains 22, ternaries 11 (21 pts), loops 1 (2 pts) (nesting depth added 19). Of this number, 80 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed7d5c4e4d3a1b4eb07b651579684b9307564259706c060b162a73858540337"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.decideInternal (cognitive 81): tool-access-policy.toolAccessPolicyService.decideInternal has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (57 pts), boolean chains 17, ternaries 3 (4 pts), loops 3 (nesting depth added 33). Of this number, 78 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"679b861aeada7ece489255222b8ab601042c7bf06e4fef53297bba6f622803f1"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-writes.executeSlackWrite (cognitive 81): slack-writes.executeSlackWrite has cognitive complexity 81 (threshold 15). Drivers by points: if/else 40 (51 pts), boolean chains 18, ternaries 6 (9 pts), loops 1 (2 pts), error handling 1 (nesting depth added 15). Of this number, 76 points are the body\u0027s own statements and 5 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":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af3df6675b82f8585da65640214413330ff459bba2e168145f1cb045d20e92c"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-runtime.prepareManagedAiRuntime (cognitive 81): ai-connection-runtime.prepareManagedAiRuntime has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (33 pts), boolean chains 27, ternaries 14 (18 pts), loops 2, error handling 1 (nesting depth added 12). Of this number, 58 points are the body\u0027s own statements and 23 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde07d2cc2593ce4899b3753446476c6f20e8def4062efa1bb39a3be0bd37dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.availability (cognitive 81): workspace-file-resources.workspaceFileResourceService.availability has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (47 pts), error handling 5 (11 pts), boolean chains 10, ternaries 5 (8 pts), loops 4 (5 pts) (nesting depth added 32). Most of this is not in the body itself: 14 of the 81 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 1413, requestAccess, a function literal at line 1376, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"116b6a82fca5c42a3f554f441248c6ea6c94d71442c88bb6023f96b54d78aef5"}},{"ruleId":"D2","level":"warning","message":{"text":"task-retry.reconcileTaskChatRetryReceipts (cognitive 81): task-retry.reconcileTaskChatRetryReceipts has cognitive complexity 81 (threshold 15). Drivers by points: if/else 15 (43 pts), boolean chains 17, ternaries 8 (16 pts), error handling 1 (4 pts), loops 1 (nesting depth added 39). Of this number, 48 points are the body\u0027s own statements and 33 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":"server/src/services/task-retry.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b52fb9d9c4be7bddcf7863c7783405c3e8c63d48693e13187ef9f877414afd1"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.verifyStoppedNativeSessionForContinuation (cognitive 81): native-session-executor.verifyStoppedNativeSessionForContinuation has cognitive complexity 81 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 28, loops 5 (6 pts), ternaries 2 (4 pts), error handling 2 (nesting depth added 18). Of this number, 77 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2225dcf4f1c8ba0a0fb50e20ff484d20d9b7696d54da1fd20360dd82f9f058"}},{"ruleId":"D2","level":"warning","message":{"text":"qualify-copilot-acp.runProbe (cognitive 81): qualify-copilot-acp.runProbe has cognitive complexity 81 (threshold 15). Drivers by points: if/else 22 (46 pts), ternaries 4 (10 pts), boolean chains 9, error handling 6 (9 pts), loops 5 (7 pts) (nesting depth added 35). Of this number, 21 points are the body\u0027s own statements and 60 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d49c17adc51ebe0715138036dce47a46595eb27ec4839476e7acee91b1e697c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ChangesTab (cognitive 81): index.ChangesTab has cognitive complexity 81 (threshold 15). Drivers by points: ternaries 23 (49 pts), if/else 22 (24 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 28). Of this number, 22 points are the body\u0027s own statements and 59 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":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb16ecff03972363a68e8faa756c7778fc623ffc387dd5f518f7656859071007"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.syncFiles (cognitive 81): file-sync.syncFiles has cognitive complexity 81 (threshold 15). Drivers by points: if/else 14 (39 pts), ternaries 8 (26 pts), loops 6 (10 pts), boolean chains 6 (nesting depth added 47). Of this number, 77 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/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"038cf887bed0ff08800127d69368b10b7ed1e720175de28fc5d2ce892a0e9cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"BudgetPolicyCard.BudgetPolicyCard (cognitive 81): BudgetPolicyCard.BudgetPolicyCard has cognitive complexity 81 (threshold 15). Drivers by points: ternaries 36 (63 pts), boolean chains 11, if/else 4 (6 pts), error handling 1 (nesting depth added 29). Of this number, 76 points are the body\u0027s own statements and 5 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":"ui/src/components/BudgetPolicyCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea7cd383ce7b07246fc58186c0be3131099d906dc299654c5901f18f0e3dfca"}},{"ruleId":"D2","level":"warning","message":{"text":"SecretBindingPicker.SecretBindingPicker (cognitive 81): SecretBindingPicker.SecretBindingPicker has cognitive complexity 81 (threshold 15). Drivers by points: ternaries 26 (58 pts), boolean chains 14, if/else 6 (9 pts) (nesting depth added 35). Of this number, 67 points are the body\u0027s own statements and 14 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":"ui/src/components/SecretBindingPicker.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d116a0f663bf74d247ad14f4f0bdcec5a1f194083120e2d7f7530af7b4981e"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printGeminiStreamEvent (cognitive 80): format-event.printGeminiStreamEvent has cognitive complexity 80 (threshold 15). Drivers by points: if/else 23 (38 pts), ternaries 11 (31 pts), boolean chains 10, error handling 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a91e83e39c4206eba85693c4aecc490356b655771d1ef5387a12a6bfbb6a15"}},{"ruleId":"D2","level":"warning","message":{"text":"question-set.parsePaperclipQuestionSet.questions (cognitive 80): question-set.parsePaperclipQuestionSet.questions has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 19 (29 pts), if/else 20 (28 pts), boolean chains 18, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 21). Of this number, 71 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/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5397abb95ef093ba0425f156d1312010d9c91e2025a8189752ea5df6dd527d2"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.createLifecycleWorker.process (cognitive 80): worker.createLifecycleWorker.process has cognitive complexity 80 (threshold 15). Drivers by points: if/else 20 (58 pts), boolean chains 10, ternaries 3 (7 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 44). Of this number, 78 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/application/worker.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd97b261bed0932b4bb2a962472a891d295ae24a396cc95170f48351c73f0437"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.resolveAdapterConfigForRuntime (cognitive 80): secrets.secretService.resolveAdapterConfigForRuntime has cognitive complexity 80 (threshold 15). Drivers by points: if/else 16 (41 pts), ternaries 8 (34 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"192c359bb09a514f28427b759e5afe05a17118c02be38bdfdb67e61d2c6f2696"}},{"ruleId":"D2","level":"warning","message":{"text":"daytona.daytonaClient.execute (cognitive 80): daytona.daytonaClient.execute has cognitive complexity 80 (threshold 15). Drivers by points: if/else 26 (51 pts), loops 4 (11 pts), ternaries 2 (9 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/daytona.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7799aff9e6f4f4db59ab719fc115923eba8ff967f6dc6bd84f6baa5eb1e56224"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.listRuntimeSkillEntriesLocked (cognitive 80): company-skills.companySkillService.listRuntimeSkillEntriesLocked has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 15 (39 pts), if/else 11 (24 pts), boolean chains 14, loops 3 (nesting depth added 37). Of this number, 79 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":"server/src/services/company-skills.ts"},"region":{"startLine":6152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e478fd76f5e3060659ed28923aff6f97d934dad42eb615cd92a405da283b95"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-sources.skillSourceService.refresh (cognitive 80): skill-sources.skillSourceService.refresh has cognitive complexity 80 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 26, ternaries 12 (22 pts), loops 1 (2 pts), error handling 1 (nesting depth added 20). Of this number, 48 points are the body\u0027s own statements and 32 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":"server/src/services/skill-sources.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fabc24263624adbe8fd8d7c4ef6f933f1c170cf279c1339829410ca215a97d"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.waitForMcpTask (cognitive 80): tool-gateway.createToolGatewayService.waitForMcpTask has cognitive complexity 80 (threshold 15). Drivers by points: if/else 24 (60 pts), ternaries 5 (10 pts), error handling 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":7438}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe290dd66df0e95df21e685c54920f51e82bf3b5c242679a336a616cdfd07f16"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-mode.resolveHeartbeatNativeRuntimeMode (cognitive 80): runtime-mode.resolveHeartbeatNativeRuntimeMode has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 10 (66 pts), if/else 5 (12 pts), boolean chains 2 (nesting depth added 63). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3fc3ea1b88f1a8d69ca16ba68b16d5a5233ba27ff921033ea1c4b5e58395b4"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.createInboundAdmission.admitInboundMessage (cognitive 80): admission.createInboundAdmission.admitInboundMessage has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 16 (35 pts), boolean chains 27, if/else 14 (18 pts) (nesting depth added 23). None of this is in the body itself: all 80 points belong to one function literal inside it that branches (line 78). 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":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a80fbf2223b046130e40b570136d6f5b9bfee86ade01fc1d9b2bb65d2aaee02"}},{"ruleId":"D2","level":"warning","message":{"text":"error-handler.errorHandler (cognitive 80): error-handler.errorHandler has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 18 (43 pts), if/else 15 (20 pts), boolean chains 17 (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":"server/src/middleware/error-handler.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad598485cd1abc2e79c1e7c189cb86bf7c9a40a74573db8df674b6f11ac39c91"}},{"ruleId":"D2","level":"warning","message":{"text":"SummarySlotCard.SummarySlotCard (cognitive 80): SummarySlotCard.SummarySlotCard has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 39 (59 pts), boolean chains 18, if/else 3 (nesting depth added 20). Of this number, 71 points are the body\u0027s own statements and 9 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":"ui/src/components/SummarySlotCard.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3785a4544644c8382fe87014dc1b1437369173d87c0fa1433e3dc161f1718226"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSources.SourceDialog (cognitive 80): SkillSources.SourceDialog has cognitive complexity 80 (threshold 15). Drivers by points: boolean chains 38, ternaries 19 (31 pts), if/else 10, error handling 1 (nesting depth added 12). Of this number, 59 points are the body\u0027s own statements and 21 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d814b8708bc2498e1eca3077ffc2d90e6a02c1b262477b68f514c38a7d9e63"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginSettings.PluginSettings (cognitive 80): PluginSettings.PluginSettings has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 28 (62 pts), boolean chains 15, if/else 3 (nesting depth added 34). Of this number, 59 points are the body\u0027s own statements and 21 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5f154b857efe5398c7973a1519b5e478108ff47f81a35e80b0525ca7e47904"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMcpProductionSetup.RemoteMcpProductionSetup::submit (cognitive 80): RemoteMcpProductionSetup.RemoteMcpProductionSetup::submit has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 21, ternaries 12 (18 pts), error handling 6 (10 pts), loops 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. This shape REPEATS in the file: one other method here (RemoteMcpProductionSetup.RemoteMcpProductionSetup) 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":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e22f29776a822999cbb2e2d4ea54889e519a59938a7fbbf39a17b56978cbe7"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#attachRunWork (cognitive 79): DurablePrpCodexTransport.#attachRunWork has cognitive complexity 79 (threshold 15). Drivers by points: if/else 22 (38 pts), ternaries 12 (20 pts), boolean chains 14, loops 3 (6 pts), error handling 1 (nesting depth added 27). Of this number, 77 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5091}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a0d1370e7ca5a69e596f5aa34e16717dafe55ec0b2d2bd0c24352d7a17be3"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-recovery-resolution.settleUnrecoverableExecutions (cognitive 79): execution-recovery-resolution.settleUnrecoverableExecutions has cognitive complexity 79 (threshold 15). Drivers by points: if/else 20 (50 pts), boolean chains 15, ternaries 5 (10 pts), error handling 1 (2 pts), loops 2 (nesting depth added 36). Most of this is not in the body itself: 8 of the 79 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 766, 727). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"766751e62fb41680f92b1a3a59582758009c5a539685cd0b406e275247f1d5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"native-status-reassessment.reassessNativeStatusFromSource (cognitive 79): native-status-reassessment.reassessNativeStatusFromSource has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 17 (31 pts), boolean chains 24, if/else 13 (22 pts), error handling 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":"server/src/services/native-runtime/native-status-reassessment.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b7e407af25eb78fb31bde27931ef1ac6d2356c1aad4be24382e4dc9b59137"}},{"ruleId":"D2","level":"warning","message":{"text":"receipt-reactions.createReceiptReactions.processReceiptReactionWithCredentialLease (cognitive 79): receipt-reactions.createReceiptReactions.processReceiptReactionWithCredentialLease has cognitive complexity 79 (threshold 15). Drivers by points: if/else 25 (38 pts), ternaries 13 (26 pts), boolean chains 12, error handling 2 (3 pts) (nesting depth added 27). Of this number, 56 points are the body\u0027s own statements and 23 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":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"929dfdbde1f25525283502ac6621bca4d16c423bd6e21e59e334a4c97b67d51c"}},{"ruleId":"D2","level":"warning","message":{"text":"work-timeline.workTimelineService.getTimeline (cognitive 79): work-timeline.workTimelineService.getTimeline has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 14 (40 pts), if/else 12 (23 pts), boolean chains 9, loops 7 (nesting depth added 37). Of this number, 76 points are the body\u0027s own statements and 3 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":"server/src/services/work-timeline.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e273e508af14efb8ddc333c6da3bc935d21317dd67e9dc28c3fa36e77f159bf"}},{"ruleId":"D2","level":"warning","message":{"text":"attention-retention.attentionRetentionService.eligible (cognitive 79): attention-retention.attentionRetentionService.eligible has cognitive complexity 79 (threshold 15). Drivers by points: if/else 23 (43 pts), ternaries 11 (27 pts), boolean chains 9 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-retention.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"01837c4e73c205bf6408080dc3dac939797381d371eec896c5cb8acc994853fa"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditFeed.production.AuditFeed (cognitive 79): AuditFeed.production.AuditFeed has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 24 (52 pts), boolean chains 19, if/else 6 (7 pts), error handling 1 (nesting depth added 29). Of this number, 69 points are the body\u0027s own statements and 10 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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf72dae4c0c498d6be8dc6b19baa45c6d5f227219c47cf0736ece4ca2d3b416"}},{"ruleId":"D2","level":"warning","message":{"text":"update.updateCommand (cognitive 78): update.updateCommand has cognitive complexity 78 (threshold 15). Drivers by points: if/else 27 (45 pts), ternaries 11 (20 pts), boolean chains 7, error handling 4 (6 pts) (nesting depth added 29). Of this number, 75 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":"cli/src/commands/update.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ab693774caf8ca5d64e1ad3b2a6548de602f0648cee714efd1ed2cd9ca6099"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-usage.claude (cognitive 78): ai-connection-usage.claude has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 25 (47 pts), boolean chains 21, if/else 6 (9 pts), loops 1 (nesting depth added 25). Of this number, 33 points are the body\u0027s own statements and 45 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf84624291b8df48c895aaf701caab07926e5515a7b4aac4bee5e3ebfd824fd"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-version-retention.skillVersionRetentionService.pruneCompanyPage (cognitive 78): skill-version-retention.skillVersionRetentionService.pruneCompanyPage has cognitive complexity 78 (threshold 15). Drivers by points: if/else 52 (109 pts), boolean chains 12, error handling 6 (11 pts), loops 4 (5 pts), ternaries 2 (4 pts) (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (skill-version-retention.skillVersionRetentionService.pruneCompanyPage::eligible) 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6f9d1916b26b1fe3f6ea8cda7b0a9ff23f3d951cf5f5b8d09b6c589c6794a1"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-reviews.githubChatReviewService.execute (cognitive 78): chat-github-reviews.githubChatReviewService.execute has cognitive complexity 78 (threshold 15). Drivers by points: if/else 27 (51 pts), boolean chains 14, ternaries 5 (11 pts), loops 1 (2 pts) (nesting depth added 31). Of this number, 69 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbf8db1c2004464eff607570754ef22c7e2b9bb68f5780678c6b29a8b8c4f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-receipts.persistUsageReceiptInTransaction (cognitive 78): usage-receipts.persistUsageReceiptInTransaction has cognitive complexity 78 (threshold 15). Drivers by points: boolean chains 29, ternaries 17 (29 pts), if/else 12 (18 pts), error handling 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d17572dc87ca7bd6ff47c34293f69e9005f40c5e1edffda113e71080cf53260"}},{"ruleId":"D2","level":"warning","message":{"text":"app.PageDetail (cognitive 78): app.PageDetail has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 27 (43 pts), if/else 19 (22 pts), boolean chains 12, loops 1 (nesting depth added 19). Of this number, 54 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"227cb2d4be0a0d5348c761e67e0faaaa95618f26f4e7a038b69e99dc00547e20"}},{"ruleId":"D2","level":"warning","message":{"text":"quota-windows.fetchCompanyQuotaWindows (cognitive 78): quota-windows.fetchCompanyQuotaWindows has cognitive complexity 78 (threshold 15). Drivers by points: if/else 14 (35 pts), ternaries 6 (18 pts), boolean chains 16, error handling 3 (8 pts), loops 1 (nesting depth added 38). Most of this is not in the body itself: 1 of the 78 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 57, a function literal at line 111, readAccount, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/quota-windows.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eba986be16eaeb470d72224ba96776ee16513c3208fd2555907df99783336c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConversationSidebar.AgentConversationSidebar (cognitive 78): AgentConversationSidebar.AgentConversationSidebar has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 16 (53 pts), boolean chains 16, if/else 6 (9 pts) (nesting depth added 40). Of this number, 32 points are the body\u0027s own statements and 46 belong to 5 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":"ui/src/components/AgentConversationSidebar.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df11e59c0aca848b6a3eaf21b4d513bf83a94b61649edac70ce76d7acd5edac"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.Search (cognitive 78): Search.Search has cognitive complexity 78 (threshold 15). Drivers by points: if/else 31 (33 pts), boolean chains 22, ternaries 20 (22 pts), loops 1 (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 53 belong to 23 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Search.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5782ef6350eac913fe5db43c3ab7243f326f0f3e3777185af49f71f3d4570f"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillImportProgress.SkillImportProgress (cognitive 78): SkillImportProgress.SkillImportProgress has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 31 (71 pts), boolean chains 7 (nesting depth added 40). Of this number, 69 points are the body\u0027s own statements and 9 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":"ui/src/pages/skills/SkillImportProgress.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1198519d36a1059261169ab8f7cf1a7e13e5945c4f7cd43d0da1e6d95e74b7"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.runTool (cognitive 77): voice-session-store.voiceSessionStore.runTool has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (49 pts), ternaries 7 (17 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 38). None of this is in the body itself: all 77 points belong to one function literal inside it that branches (line 361). 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f03259d751d1890f0907c4698a94d854dab71efb9c69f540c94e9b24ad411d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-interaction-delivery.assignmentDenial (cognitive 77): agent-interaction-delivery.assignmentDenial has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 17, ternaries 7 (13 pts), loops 1 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da3cb5762431a72a11228440ef1766188e0186b3db5b41d8341d399fdf85597"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.loadFacts (cognitive 77): assigned-work-sweep.assignedWorkSweep.loadFacts has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 23 (43 pts), boolean chains 22, loops 6 (7 pts), if/else 3 (5 pts) (nesting depth added 23). Of this number, 68 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb22dad855461036386019ccb32c33d196cfcd913dccad2c65dca8b076bd3256"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.act (cognitive 77): assigned-work-sweep.assignedWorkSweep.act has cognitive complexity 77 (threshold 15). Drivers by points: if/else 29 (36 pts), ternaries 18 (30 pts), boolean chains 11 (nesting depth added 19). Of this number, 75 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba64a18ddef76592132995e4fa92419a085c360e48d248232ae0833186e5638"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-policy.createCopilotProtocolGuard.\u003Creturned closure\u003E (cognitive 77): copilot-policy.createCopilotProtocolGuard.\u003Creturned closure\u003E has cognitive complexity 77 (threshold 15). Drivers by points: if/else 27 (53 pts), boolean chains 20, ternaries 1 (3 pts), error handling 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-policy.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c03260a70a8e68d410b22016d5573d0552972055506ba417cb82ff43c1df60"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMcpConnectionReview.RemoteMcpConnectionReview (cognitive 77): RemoteMcpConnectionReview.RemoteMcpConnectionReview has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 19 (33 pts), boolean chains 22, if/else 15 (20 pts), error handling 1, loops 1 (nesting depth added 19). Most of this is not in the body itself: 9 of the 77 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 54, a function literal at line 95, a function literal at line 37, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b1c9dd4c7bcc590e364ed26eee59f53c9cc87bc68a20bfbe40654da8cdc0cf"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 76): execute.execute has cognitive complexity 76 (threshold 15). Drivers by points: boolean chains 47, ternaries 35 (47 pts), if/else 33 (38 pts), error handling 1 (2 pts) (nesting depth added 18). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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 (execute.execute::toResult) 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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"22240372a7ecc80237517d7b3769826babcdb00f095a62bee785e216b3ded371"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createAuthorizationService.decide (cognitive 76): authorization.createAuthorizationService.decide has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 17 (48 pts), boolean chains 15, if/else 8 (13 pts) (nesting depth added 36). Of this number, 54 points are the body\u0027s own statements and 22 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":"server/src/services/authorization.ts"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b051a24a80b5704fbf36f9e73e9b66384873ab18ef581876fa8b3d6964676c"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveCredentialHeadersUnrecorded (cognitive 76): tool-gateway.createToolGatewayService.resolveCredentialHeadersUnrecorded has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 9 (30 pts), if/else 13 (28 pts), boolean chains 9, error handling 4 (8 pts), loops 1 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f437ec208d4581923f60b9dafd138006b52ffae3c06ef77ae907dfef94b38334"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.resolveExecutionRunAdapterConfig (cognitive 76): run-preparation.resolveExecutionRunAdapterConfig has cognitive complexity 76 (threshold 15). Drivers by points: if/else 18 (31 pts), ternaries 13 (23 pts), boolean chains 12, loops 5 (10 pts) (nesting depth added 28). Of this number, 71 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ee660e003faceff7a3ccc976718218e5d017a5ab1fc00e1b3c5673fd38ec2a"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.sweepStaleIssueLocks (cognitive 76): service.recoveryService.sweepStaleIssueLocks has cognitive complexity 76 (threshold 15). Drivers by points: if/else 15 (30 pts), ternaries 14 (24 pts), boolean chains 11, loops 8 (11 pts) (nesting depth added 28). Of this number, 57 points are the body\u0027s own statements and 19 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6673}}}],"partialFingerprints":{"codehealthFindingId/v1":"027121e2033cde891b1dee85eb2957962c653fb3798fce84072eb25629d8ca31"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-run-orchestrator.environmentRunOrchestrator.realizeForRun (cognitive 76): environment-run-orchestrator.environmentRunOrchestrator.realizeForRun has cognitive complexity 76 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 22, ternaries 8 (14 pts), error handling 3 (5 pts) (nesting depth added 20). Of this number, 72 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":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b55b174700a693c08d6609c94a46e83c777209d4492b2a079427fb5cfe3b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.dispatchRoutineRun (cognitive 76): routines.routineService.dispatchRoutineRun has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 20 (32 pts), if/else 15 (23 pts), boolean chains 17, error handling 3 (4 pts) (nesting depth added 21). Of this number, 20 points are the body\u0027s own statements and 56 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":"server/src/services/routines.ts"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"638314e6cd1f204e333e800df169e2bb9312ba3517add28953597ba4f958edd5"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.recover (cognitive 76): PaperclipRunnerToolAuthority.recover has cognitive complexity 76 (threshold 15). Drivers by points: if/else 33 (50 pts), boolean chains 12, ternaries 5 (10 pts), error handling 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"728892b1a10c3a8d1711ab1121461d5be8a81d60cbff771e14d3afc8253f9ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#reassignTask (cognitive 76): PaperclipRunnerToolAuthority.#reassignTask has cognitive complexity 76 (threshold 15). Drivers by points: if/else 33 (38 pts), boolean chains 19, ternaries 12 (15 pts), error handling 2 (3 pts), loops 1 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 54 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60832de8a01798c545d0c9667e41ecb169253d4fcbf538ecac0ad494441db7"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-billing-import.fetchProviderDailyCosts (cognitive 76): provider-billing-import.fetchProviderDailyCosts has cognitive complexity 76 (threshold 15). Drivers by points: if/else 11 (33 pts), ternaries 13 (30 pts), loops 5 (9 pts), boolean chains 4 (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":"server/src/services/provider-billing-import.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"71476697b1ddce8574f372d73cf5588d2ba2117ca8b870310f2c83cd907f1053"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.PluginManager (cognitive 76): PluginManager.PluginManager has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 20 (54 pts), boolean chains 14, if/else 7 (8 pts) (nesting depth added 35). Of this number, 17 points are the body\u0027s own statements and 59 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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc7172535e94a754861ed22554e1ee1e62750881f56aefd7833e04b312ba352"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCommandExecutor::restore_provider_if_needed (cognitive 76): CodexCommandExecutor::restore_provider_if_needed has cognitive complexity 76 (threshold 15). Drivers by points: if/else 33 (50 pts), boolean chains 22, loops 1 (4 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efb81b9ca9c454dbcd7fee9d7d77c805521f7e03fa57d681cfa5fd29a7c3dc3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-checkpoint.captureAgentFiles::walk (cognitive 75): agent-file-checkpoint.captureAgentFiles::walk has cognitive complexity 75 (threshold 15). Drivers by points: if/else 14 (49 pts), loops 4 (14 pts), boolean chains 7, ternaries 2 (5 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/agent-file-checkpoint.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"89df7a43463db6c3941ee9def0caee3a5dbbd530ad67663619748e7dc2315f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-identity-redaction.createAgentIdentityRedactor (cognitive 75): agent-identity-redaction.createAgentIdentityRedactor has cognitive complexity 75 (threshold 15). Drivers by points: if/else 28 (46 pts), boolean chains 11, loops 7 (9 pts), ternaries 7 (9 pts) (nesting depth added 22). Of this number, 65 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":"server/src/services/agent-identity-redaction.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e081ecd37f9df2139eaf7f4adc993c5b066b75c07265f1f715a1d6c886935a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.readContent (cognitive 75): workspace-file-resources.workspaceFileResourceService.readContent has cognitive complexity 75 (threshold 15). Drivers by points: if/else 16 (41 pts), ternaries 6 (18 pts), boolean chains 9, error handling 2 (6 pts), loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b1121784199793d302fda05234e151780ad68a3e5bbfcb838cba98493ae22"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-session.runEvalSessionCli (cognitive 75): eval-session.runEvalSessionCli has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 31 (45 pts), if/else 9 (16 pts), error handling 4 (9 pts), boolean chains 5 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeb6cd6e23d96185ce54cf721c04a1c44ed7432396f00725dd8c5507cb3e5c6"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolCard.RuntimeRequestCard (cognitive 75): TaskChatProtocolCard.RuntimeRequestCard has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 15 (37 pts), boolean chains 19, if/else 10 (18 pts), error handling 1 (nesting depth added 30). Of this number, 45 points are the body\u0027s own statements and 30 belong to 10 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e5dd48415c75487aa3e7eea36d65e2524c5dd74bc1cae3f7d0795d019180eb"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-chat-messages.buildAssistantPartsFromTranscript (cognitive 75): issue-chat-messages.buildAssistantPartsFromTranscript has cognitive complexity 75 (threshold 15). Drivers by points: if/else 22 (47 pts), ternaries 4 (13 pts), boolean chains 9, loops 3 (6 pts) (nesting depth added 37). Of this number, 74 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8137386cd123519b5444b0aa2db8bebd0272b8b4abfe0c758c2cafdc268ead"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueDocumentAnnotations.IssueDocumentAnnotations (cognitive 75): IssueDocumentAnnotations.IssueDocumentAnnotations has cognitive complexity 75 (threshold 15). Drivers by points: if/else 25 (28 pts), ternaries 17 (26 pts), boolean chains 21 (nesting depth added 12). Of this number, 41 points are the body\u0027s own statements and 34 belong to 14 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":"ui/src/components/IssueDocumentAnnotations.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1fbf0d66dabcb1a595614a0d2fe81153189027bdd04a1d421ed4b1c9f8f25e"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedSlackSetup.ManagedSlackSetup (cognitive 75): ManagedSlackSetup.ManagedSlackSetup has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 28, ternaries 13 (25 pts), if/else 18 (19 pts), error handling 3 (nesting depth added 13). Of this number, 38 points are the body\u0027s own statements and 37 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":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c66423c4675075057cfdc138954b434d01293644747e4704ec67886c49f8a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.CompanyImport::buildFinalAdapterOverrides (cognitive 75): CompanyImport.CompanyImport::buildFinalAdapterOverrides has cognitive complexity 75 (threshold 15). Drivers by points: if/else 15 (49 pts), boolean chains 14, loops 2 (6 pts), ternaries 3 (6 pts) (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (CompanyImport.CompanyImport) 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2cdeaa85ffba8b44211e7b1b2d3c4f200a72144dcd7b1b9d597824b77a9891"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-dialogs.AddConnectionDialog (cognitive 75): connection-dialogs.AddConnectionDialog has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 29 (63 pts), boolean chains 10, error handling 1, if/else 1 (nesting depth added 34). Of this number, 63 points are the body\u0027s own statements and 12 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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6284eb35e6555afcf11fc1b0907e78f5437a9c9b9c849c793cf23d7da37bdca2"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize (cognitive 74): execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 17 (35 pts), boolean chains 21, if/else 10 (17 pts), error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (execute.createAcpxEngineExecutor.executeAcpxEngine, execute.createAcpxEngineExecutor.executeAcpxEngine::startup, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepPromptBuild) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d26bbfa91fe59dcb51d0f5aec2f2e5ce96edbbde6af04e1cf957f21b2c2b4e"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 74): execute.execute has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 31 (47 pts), if/else 36 (41 pts), boolean chains 38, error handling 2 (4 pts) (nesting depth added 23). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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 (execute.execute::toResult) 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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e019ad3506a35c8b16f07f6298a76a7281da806219d39f6774a9617e0e4acec6"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspaces.saveRemoteWorkspace (cognitive 74): remote-workspaces.saveRemoteWorkspace has cognitive complexity 74 (threshold 15). Drivers by points: if/else 27 (38 pts), ternaries 13 (17 pts), boolean chains 16, error handling 3 (nesting depth added 15). Of this number, 24 points are the body\u0027s own statements and 50 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23279e1ec9144eb4a0066cc3e2f96a1d2a91c539319b728999ab3f2e4dacadf"}},{"ruleId":"D2","level":"warning","message":{"text":"live-workflow-executor.executeLiveRunnerWorkflow (cognitive 74): live-workflow-executor.executeLiveRunnerWorkflow has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 29 (35 pts), boolean chains 18, if/else 11 (17 pts), error handling 3 (4 pts) (nesting depth added 13). Of this number, 69 points are the body\u0027s own statements and 5 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/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"8917e257b2e95f0306e195833f7bf13db0a1e22b481c30e2ab04516a5f3f4c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"live-events-ws.setupLiveEventsWebSocketServer (cognitive 74): live-events-ws.setupLiveEventsWebSocketServer has cognitive complexity 74 (threshold 15). Drivers by points: if/else 34 (40 pts), ternaries 9 (16 pts), boolean chains 14, error handling 2 (3 pts), loops 1 (nesting depth added 14). None of this is in the body itself: all 74 points belong to 10 function literals inside it that branch (lines 288, 375, 269, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539ccdc43c0704b02420d553760190a15585b2db8bcde9db61233585b65cde4"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTree.FileTree (cognitive 74): FileTree.FileTree has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 23 (33 pts), if/else 15 (21 pts), boolean chains 19, match/switch 1 (nesting depth added 16). Most of this is not in the body itself: 5 of the 74 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 416, handleRowKeyDown, toggleNode, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileTree.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ea66ad17a7c0454e336d7b5861240c2e06672d2f34063330f574ccb09a5f80"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.SkillDetailPage (cognitive 74): CompanySkills.SkillDetailPage has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 68 (118 pts), boolean chains 23, if/else 4 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CompanySkills.SkillDetailPage::renderFilesBody) 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff551d57bcf7001ed8a97a5f17dca54285710badade573716e21f30f1733031"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.DiscoveryGrid (cognitive 74): CompanySkills.production.DiscoveryGrid has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 25 (52 pts), boolean chains 17, if/else 3 (4 pts), loops 1 (nesting depth added 28). Of this number, 62 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"690e80849b781bfef44a5893702eab34be1b2404efad54a2e198975a7ca52cdb"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.SkillDetailPage (cognitive 74): CompanySkills.production.SkillDetailPage has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 67 (117 pts), boolean chains 23, if/else 4 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (CompanySkills.production.SkillDetailPage::renderFilesBody) 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"da802cc3c76cc2f52ed5231f7b669b2e2619bf526e138c7717263e710feec962"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionPoolConnector.PoolConnector (cognitive 74): AiConnectionPoolConnector.PoolConnector has cognitive complexity 74 (threshold 15). Drivers by points: boolean chains 31, ternaries 19 (26 pts), if/else 13 (15 pts), error handling 2 (nesting depth added 9). Of this number, 43 points are the body\u0027s own statements and 31 belong to 19 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":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd026b94eec2dab947863c30a3209dd3560c069dce4f0c91e6edb05a2b6a4f2"}},{"ruleId":"D2","level":"warning","message":{"text":"persisted-query-cache.startPersistedQueryCache.unsubscribe (cognitive 74): persisted-query-cache.startPersistedQueryCache.unsubscribe has cognitive complexity 74 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 21, loops 5 (16 pts), ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 25). Of this number, 72 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae2761a713daf435fc9ccfbbfaa2e03b09f7a465a794b18622114bceaecde5e"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 73): execute.execute has cognitive complexity 73 (threshold 15). Drivers by points: ternaries 31 (50 pts), if/else 34 (39 pts), boolean chains 36, error handling 2 (4 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. This shape REPEATS in the file: one other method here (execute.execute::toResult) 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bca2b9684ff180fa92805287f4be1e7d567dfe7b7f461b04dee7eceb17a650"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-question-forms.buildChatQuestionFormModal (cognitive 73): chat-question-forms.buildChatQuestionFormModal has cognitive complexity 73 (threshold 15). Drivers by points: ternaries 11 (29 pts), if/else 14 (25 pts), boolean chains 14, loops 4 (5 pts) (nesting depth added 30). Of this number, 64 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"887d3d222f0a7a6cca4f9f90ba9f85e547f2c9cf9b5beaa7e4c438779c57f1e9"}},{"ruleId":"D2","level":"warning","message":{"text":"health.createConnectionHealth.checkConnectionHealth (cognitive 73): health.createConnectionHealth.checkConnectionHealth has cognitive complexity 73 (threshold 15). Drivers by points: ternaries 16 (49 pts), if/else 10 (13 pts), boolean chains 8, loops 1 (2 pts), error handling 1 (nesting depth added 37). Of this number, 72 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":"server/src/services/tool-access/catalog/health.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"245af8aca615574b31dea09bd2a8c9ebaa848ae1c2e7eccf58d3bd7f12ef36c7"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.runtimeFor (cognitive 73): chat-channels.chatChannelService.runtimeFor has cognitive complexity 73 (threshold 15). Drivers by points: if/else 18 (45 pts), boolean chains 20, error handling 2 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 31). Of this number, 38 points are the body\u0027s own statements and 35 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":"server/src/services/chat-channels.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aa34601d3c6127ffcd5dc9271c0de8cbe1aa465ebf509711e4af64900eab30"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-api-catalog.dedicatedTools (cognitive 73): runner-api-catalog.dedicatedTools has cognitive complexity 73 (threshold 15). Drivers by points: ternaries 15 (36 pts), if/else 23, 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":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"721e37301964f269b929efd0d87ecfd8dd19c8929f396bfaf2df772959113239"}},{"ruleId":"D2","level":"warning","message":{"text":"installation-integrity.verifyQualifiedAcpxInstallation (cognitive 73): installation-integrity.verifyQualifiedAcpxInstallation has cognitive complexity 73 (threshold 15). Drivers by points: if/else 28 (44 pts), boolean chains 12, ternaries 5 (7 pts), error handling 3 (5 pts), loops 3 (5 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad8cb6c55252572d0634305d908dec23891ad9cbf513716934df2f80f548e8"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionService.executeEffect (cognitive 73): decisions.decisionService.executeEffect has cognitive complexity 73 (threshold 15). Drivers by points: if/else 26 (32 pts), ternaries 15 (23 pts), boolean chains 12, loops 3 (5 pts), error handling 1 (nesting depth added 16). Most of this is not in the body itself: 5 of the 73 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 432, 414, 501). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"583843eff0a09a71728a4fe95540312b4adf5aa2f02078f1a2c75a60e17fcc2e"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.buildLegacyRoutineTriggerFromRecurrence (cognitive 73): company-portability.buildLegacyRoutineTriggerFromRecurrence has cognitive complexity 73 (threshold 15). Drivers by points: if/else 24 (36 pts), ternaries 12 (22 pts), boolean chains 15 (nesting depth added 22). Of this number, 69 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffac704e0877a6a2e66e0838dec82b1dcd9a2b9ebd76a1dba37af883cabfb26"}},{"ruleId":"D2","level":"warning","message":{"text":"board-chat.boardChatRoutes (cognitive 73): board-chat.boardChatRoutes has cognitive complexity 73 (threshold 15). Drivers by points: if/else 28 (38 pts), boolean chains 13, ternaries 7 (12 pts), error handling 3 (5 pts), loops 2 (5 pts) (nesting depth added 20). None of this is in the body itself: all 73 points belong to 11 function items inside it that branch (a function literal at line 315, a function literal at line 99, a function literal at line 294, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/board-chat.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b93c19f6403129fab4c36ade7198779c08b34184800a315e85fddc71fe9bbeb"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.production.RunDetail (cognitive 73): AgentDetail.production.RunDetail has cognitive complexity 73 (threshold 15). Drivers by points: boolean chains 53, if/else 16, ternaries 4. Of this number, 51 points are the body\u0027s own statements and 22 belong to 11 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea220ae6f68b8d4a85955d07c25bb293cd126a0232798f041032a83fdda2033"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditTab.ActivityRow (cognitive 73): AuditTab.ActivityRow has cognitive complexity 73 (threshold 15). Drivers by points: ternaries 29 (71 pts), boolean chains 2 (nesting depth added 42). Of this number, 69 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee485fefa53f602766db1a799f1e0961378f651f8cc6aeb62bc18f9b9cf511cf"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 72): execute.execute has cognitive complexity 72 (threshold 15). Drivers by points: if/else 31 (34 pts), boolean chains 21, ternaries 6 (10 pts), error handling 4 (7 pts) (nesting depth added 10). Of this number, 68 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e2b7a2b50b8bba221941e0589a65188dfe4e15cdf0a8a3ca387b59be0e45dc"}},{"ruleId":"D2","level":"warning","message":{"text":"run.runControlledEval (cognitive 72): run.runControlledEval has cognitive complexity 72 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 15, error handling 10 (12 pts), ternaries 9 (10 pts), loops 3 (nesting depth added 11). Of this number, 69 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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"478ae718e87f862362494eccf54b1b46edbbedce5bb77ff6e063833790d15264"}},{"ruleId":"D2","level":"warning","message":{"text":"descriptors.classifyRisk (cognitive 72): descriptors.classifyRisk has cognitive complexity 72 (threshold 15). Drivers by points: if/else 31 (44 pts), boolean chains 16, ternaries 6 (12 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":"server/src/services/tool-access/catalog/descriptors.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72c98d30396163b0012704ef58a1e156904ae88727b833e8d9e2b2617cab2d"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-reply-push.pushVoiceReplies (cognitive 72): voice-reply-push.pushVoiceReplies has cognitive complexity 72 (threshold 15). Drivers by points: if/else 11 (33 pts), ternaries 9 (29 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 45). Of this number, 33 points are the body\u0027s own statements and 39 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":"server/src/services/voice/voice-reply-push.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6b02e5690fa72df0982c9b990cb4c1a83a77604ee5f81e548831a8ab923910"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-sleep-safety.readIdleSleepSafety (cognitive 72): idle-sleep-safety.readIdleSleepSafety has cognitive complexity 72 (threshold 15). Drivers by points: if/else 51 (77 pts), boolean chains 52, ternaries 26 (46 pts), loops 1 (2 pts), error handling 1 (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. This shape REPEATS in the file: one other method here (idle-sleep-safety.readIdleSleepSafety::report) 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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e62d5079aaf8d133216c6e4807777bceb49864cdd871474bc787ead68094abb"}},{"ruleId":"D2","level":"warning","message":{"text":"config-fields.CodexLocalConfigFields (cognitive 72): config-fields.CodexLocalConfigFields has cognitive complexity 72 (threshold 15). Drivers by points: boolean chains 41, ternaries 20 (29 pts), if/else 2 (nesting depth added 9). Of this number, 69 points are the body\u0027s own statements and 3 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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eace2f395ef7c7989e1a4e8844bd5f9e921ff2e881ec6eb6f217be87e2f22074"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueShareSheet.IssueShareSheet (cognitive 72): IssueShareSheet.IssueShareSheet has cognitive complexity 72 (threshold 15). Drivers by points: ternaries 16 (53 pts), boolean chains 10, if/else 9 (nesting depth added 37). Of this number, 23 points are the body\u0027s own statements and 49 belong to 11 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueShareSheet.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbfd700402634b5404affb74941d8c59607b838b0129a056727598fa646be8e"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 71): execute.execute has cognitive complexity 71 (threshold 15). Drivers by points: if/else 40 (45 pts), ternaries 28 (39 pts), boolean chains 36, error handling 2 (4 pts), loops 1 (nesting depth added 18). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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 (execute.execute::toResult) 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8cbeac6ef97482eaff338208265c9a167cde28cf89fc8847663cd884367a25"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarnessSession.#pumpEvents (cognitive 71): OpenCodeHarnessSession.#pumpEvents has cognitive complexity 71 (threshold 15). Drivers by points: if/else 14 (44 pts), ternaries 3 (12 pts), boolean chains 7, error handling 2 (5 pts), loops 2 (3 pts) (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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f9c7c53e06eb7f21a3fbee3159b9f3666a0f78568d2bf534c81ffd7b07f43"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-native-progress.reconcileNativeChatProgress (cognitive 71): chat-native-progress.reconcileNativeChatProgress has cognitive complexity 71 (threshold 15). Drivers by points: if/else 18 (51 pts), ternaries 4 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 42). Most of this is not in the body itself: 10 of the 71 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 220, defer). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-native-progress.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f082a1d3e510b8ffcfe5d669d02836a5c202364012dda8fa277a16416c383bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.directSearchResult (cognitive 71): connection-intents.connectionIntentService.directSearchResult has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 12 (65 pts), boolean chains 6 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"68289f6288c66f2b561b8dd63e15c97e3b1a6b0b779c90b7b9f95d128e8a98fc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-finalizer.attemptNativeWorkspaceFinalization (cognitive 71): native-workspace-finalizer.attemptNativeWorkspaceFinalization has cognitive complexity 71 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 13 (23 pts), boolean chains 10, error handling 5 (8 pts) (nesting depth added 22). Most of this is not in the body itself: 3 of the 71 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 197, a function literal at line 105, settleSuperseded). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9079652369711b0c4a001cdeacf472ad7a3ae278737d085d9c1325544a3418a4"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-callback.createCloudOAuthCallback.completePaperclipCloudConnectorCallback (cognitive 71): cloud-callback.createCloudOAuthCallback.completePaperclipCloudConnectorCallback has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 28 (36 pts), if/else 18 (21 pts), boolean chains 14 (nesting depth added 11). Of this number, 31 points are the body\u0027s own statements and 40 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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75178a926aed781556fc655b2c00844a03def6a91e2844defb5b1f8adf9e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-prp-outbound.connectRunnerPrpIngress (cognitive 71): runner-prp-outbound.connectRunnerPrpIngress has cognitive complexity 71 (threshold 15). Drivers by points: if/else 15 (40 pts), ternaries 5 (20 pts), error handling 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 44). None of this is in the body itself: all 71 points belong to one function literal inside it that branches (line 358). 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":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b846af36c503d2bd0bd0da6945ccfd262870c169918c8711843e821a204b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSkillsTab.AgentSkillsTab (cognitive 71): AgentSkillsTab.AgentSkillsTab has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 20 (44 pts), boolean chains 14, if/else 12, match/switch 1 (nesting depth added 24). Of this number, 43 points are the body\u0027s own statements and 28 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":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d89ae4b35e78ea93de6ef2aaab2d5956eb8fd8d80ed479f20ace2955bd084f"}},{"ruleId":"D2","level":"warning","message":{"text":"useNativeRunTranscripts.useNativeRunTranscripts (cognitive 71): useNativeRunTranscripts.useNativeRunTranscripts has cognitive complexity 71 (threshold 15). Drivers by points: if/else 26 (41 pts), ternaries 8 (11 pts), boolean chains 9, loops 9, error handling 1 (nesting depth added 18). None of this is in the body itself: all 71 points belong to 13 function literals inside it that branch (lines 167, 116, 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":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72576bb6be985294b8c82389eba50da4e298af6a8814b0a0aa8641a95f228d7"}},{"ruleId":"D2","level":"warning","message":{"text":"OriginatingTasks.TaskPageData (cognitive 71): OriginatingTasks.TaskPageData has cognitive complexity 71 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 14 (29 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 29). None of this is in the body itself: all 71 points belong to 8 function literals inside it that branch (lines 175, 141, 215, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/originating-tasks/OriginatingTasks.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8879849b41d5e21558d41c7e117fd8aaab5fd0bdde6325d3f09680a16b611b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.registerAgentCommands (cognitive 70): agent.registerAgentCommands has cognitive complexity 70 (threshold 15). Drivers by points: error handling 31 (33 pts), if/else 17 (18 pts), loops 7 (10 pts), ternaries 7 (9 pts) (nesting depth added 8). Most of this is not in the body itself: 4 of the 70 points are its own statements and the rest belongs to 32 function items inside it that branch (a function literal at line 844, a function literal at line 251, a function literal at line 300, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbf0dccfee04edf1c4c7824e19a7cd8556098ca8179fa4ae973a0fefb38b012"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-profile.resolvePaperclipRunnerNativeProviderInput (cognitive 70): provider-profile.resolvePaperclipRunnerNativeProviderInput has cognitive complexity 70 (threshold 15). Drivers by points: if/else 27 (40 pts), boolean chains 17, ternaries 8 (13 pts) (nesting depth added 18). Of this number, 68 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ebf6d558b642a637f8fe1525e563feecc7d4ae62903c7492d0f2a75c1e95af"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-repository-checkout.materializeManagedProjectWorkspace (cognitive 70): managed-repository-checkout.materializeManagedProjectWorkspace has cognitive complexity 70 (threshold 15). Drivers by points: if/else 23 (36 pts), ternaries 13 (21 pts), error handling 5 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 23). Of this number, 63 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":"server/src/services/managed-repository-checkout.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"99693e8b7fdb077f67d8421847b96853d3fba092e38087da5ab5104806dcab9a"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-elicitation.fieldFor (cognitive 70): mcp-elicitation.fieldFor has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 24 (43 pts), if/else 11 (15 pts), boolean chains 12 (nesting depth added 23). Of this number, 62 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b403087f4cf4124ef8ec4c35ddd3a5ef37315526729d8034697b652b5241d263"}},{"ruleId":"D2","level":"warning","message":{"text":"envelope.createInboundEnvelope.prepareInboundEnvelope (cognitive 70): envelope.createInboundEnvelope.prepareInboundEnvelope has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 33 (50 pts), boolean chains 13, if/else 4 (7 pts) (nesting depth added 20). Of this number, 60 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":"server/src/services/chat-channels/inbound/envelope.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2defa234a3785046ee6e00cacd59506de23259fb3751e3a7cdbe8970e0db4a"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-api-catalog.buildRunnerApiCatalog (cognitive 70): runner-api-catalog.buildRunnerApiCatalog has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 12 (43 pts), if/else 7 (12 pts), boolean chains 11, loops 3 (4 pts) (nesting depth added 37). Of this number, 58 points are the body\u0027s own statements and 12 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":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4934ebb07893ae00b879d6738dc97771aa761a197a8fc24b5d6251deca32434"}},{"ruleId":"D2","level":"warning","message":{"text":"events.createPublicMcpEvents.enqueue (cognitive 70): events.createPublicMcpEvents.enqueue has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 14 (37 pts), if/else 10 (16 pts), boolean chains 12, loops 3 (5 pts) (nesting depth added 31). Of this number, 63 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14185be051d86a7de193b679b145ade0a8ad05f66847e66970fde6587e612d2"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-ui-static.pluginUiStaticRoutes (cognitive 70): plugin-ui-static.pluginUiStaticRoutes has cognitive complexity 70 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 11, ternaries 6 (11 pts), error handling 6 (10 pts) (nesting depth added 22). None of this is in the body itself: all 70 points belong to 2 function literals inside it that branch (lines 233, 496). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f2b64ebd72490e81ac3edd75d36bb901aafff18db3ff994d7094617a0097ea"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-git.inspectArchivedGitMigrationSource (cognitive 70): remote-workspace-migration-git.inspectArchivedGitMigrationSource has cognitive complexity 70 (threshold 15). Drivers by points: if/else 23 (39 pts), boolean chains 20, ternaries 8 (11 pts) (nesting depth added 19). Of this number, 66 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f52bdf7e84383d70a09dacace1faf589c5f00155ee5edfc123ad03b21184ed"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMcpConnectionSetup.RemoteMcpConnectionSetup (cognitive 70): RemoteMcpConnectionSetup.RemoteMcpConnectionSetup has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 21 (43 pts), boolean chains 25, if/else 2 (nesting depth added 22). Of this number, 62 points are the body\u0027s own statements and 8 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":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c24d489bc6d394cd2d2ae1e5029770d34b1f8a0c03d29522dba838adeaaac0"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-recovery-resolution.deliverReconciledExecutions (cognitive 69): execution-recovery-resolution.deliverReconciledExecutions has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (48 pts), ternaries 9 (11 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 34). Of this number, 53 points are the body\u0027s own statements and 16 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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f18306849dcb8da337d6beada1931b51f9af662dbbb0196338f0ba8ee09795"}},{"ruleId":"D2","level":"warning","message":{"text":"session-stop.createSlackSessionStop.processSlackSessionStop (cognitive 69): session-stop.createSlackSessionStop.processSlackSessionStop has cognitive complexity 69 (threshold 15). Drivers by points: if/else 20 (24 pts), ternaries 20 (24 pts), boolean chains 20, error handling 1 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 49 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f767c2945d8c876a792c37da23d94103f9f86d223aeaad75a05c4f59bc9b44"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-connection-probe.probeKimiExecutionTarget (cognitive 69): kimi-connection-probe.probeKimiExecutionTarget has cognitive complexity 69 (threshold 15). Drivers by points: if/else 21 (37 pts), error handling 6 (12 pts), ternaries 5 (12 pts), boolean chains 7, 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":"server/src/services/kimi-connection-probe.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"74144cff228d1071b062c189f5e76a0e461e02d0757a3cfb31fdac4e99fb70ad"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-blocker.getExecutionBlocker (cognitive 69): execution-blocker.getExecutionBlocker has cognitive complexity 69 (threshold 15). Drivers by points: boolean chains 29, ternaries 21 (26 pts), if/else 12 (14 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-blocker.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f628a318b26d27bcc4fe80280bcdd5444d78c81679a4e3d06cd4d687e5ed32"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-eval-campaign.aggregateProtocolEvalCampaign (cognitive 69): runner-protocol-eval-campaign.aggregateProtocolEvalCampaign has cognitive complexity 69 (threshold 15). Drivers by points: if/else 16 (42 pts), boolean chains 11, ternaries 6 (9 pts), loops 4 (7 pts) (nesting depth added 32). 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb18cdbbad7244d0071e5ed725ea6ecc44f0e757eb6bc5166fb6dc9ee0d59bcb"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxRuntimeHost.open (cognitive 69): AcpxRuntimeHost.open has cognitive complexity 69 (threshold 15). Drivers by points: if/else 32 (37 pts), boolean chains 16, ternaries 11 (15 pts), error handling 1 (nesting depth added 9). Of this number, 52 points are the body\u0027s own statements and 17 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":"packages/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cab4631738b5692cd8a4156529c51cf4bbac902176990f10f086c121afb5a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBody.MarkdownBodyImpl (cognitive 69): MarkdownBody.MarkdownBodyImpl has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 15 (27 pts), boolean chains 21, if/else 19 (20 pts), loops 1 (nesting depth added 13). Most of this is not in the body itself: 2 of the 69 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 879, 833, 814, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"35129d83e04efbd834a98a6b36637ec7e1552ccd33f12901959ce3c87f2f9e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyAccess.CompanyAccess (cognitive 69): CompanyAccess.CompanyAccess has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 20 (32 pts), boolean chains 24, if/else 12 (13 pts) (nesting depth added 13). Of this number, 30 points are the body\u0027s own statements and 39 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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e06d24078964000003c9e446068b96355c8b9502576cca912abd2f154383ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetPaperclipBridge (cognitive 68): execution-target.startAdapterExecutionTargetPaperclipBridge has cognitive complexity 68 (threshold 15). Drivers by points: if/else 14 (28 pts), ternaries 9 (19 pts), boolean chains 13, error handling 3 (8 pts) (nesting depth added 29). Of this number, 51 points are the body\u0027s own statements and 17 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":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"751b0754033033d8f30f1a7023d09bd999940c50e2484847ad5dcfc591a55421"}},{"ruleId":"D2","level":"warning","message":{"text":"response-capture.installDatabaseResponseCapture (cognitive 68): response-capture.installDatabaseResponseCapture has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (27 pts), error handling 10 (14 pts), boolean chains 12, ternaries 7 (11 pts), loops 4 (nesting depth added 13). Most of this is not in the body itself: 3 of the 68 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 343, sqlMetadata, tableName, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/db/src/response-capture.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce180e077c42406d42a8647e300244d1ddf70c191350fbb8d0c73804913f2b9"}},{"ruleId":"D2","level":"warning","message":{"text":"migration-compatibility.classifyStatement (cognitive 68): migration-compatibility.classifyStatement has cognitive complexity 68 (threshold 15). Drivers by points: if/else 39 (51 pts), ternaries 7 (14 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/migration-compatibility.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"404f40c3dd9fd9c1449c547a44678580287acb233c739c1c5619bc83f938291d"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.bridgedCodexQuestionParams (cognitive 68): runnerd-codex-transport.bridgedCodexQuestionParams has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 24 (60 pts), if/else 4 (5 pts), boolean chains 3 (nesting depth added 37). Most of this is not in the body itself: 15 of the 68 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1509, 1518). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5555138c43313899dc057dfdb07095c2261393eb6d0ac08ca52a7cfa57eb059"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-receipt-reactions.applyGitHubReceiptReaction (cognitive 68): chat-github-receipt-reactions.applyGitHubReceiptReaction has cognitive complexity 68 (threshold 15). Drivers by points: if/else 27 (49 pts), boolean chains 20, ternaries 7 (10 pts), loops 4 (7 pts), error handling 3 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (chat-github-receipt-reactions.applyGitHubReceiptReaction::request) 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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0954cee71c6664e3410f04515fad8e30d03d9a721f56115a286b53f5cc945d31"}},{"ruleId":"D2","level":"warning","message":{"text":"index.vercelClient.invoke (cognitive 68): index.vercelClient.invoke has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (39 pts), ternaries 6 (12 pts), boolean chains 11, loops 2 (5 pts), match/switch 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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8ff54590c2887c87dc43cd669c8a9d693970f45f9064d4f1dd1804ff680e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-repository-rehome.sweepOrphanedIsolatedRepositorySources (cognitive 68): isolated-repository-rehome.sweepOrphanedIsolatedRepositorySources has cognitive complexity 68 (threshold 15). Drivers by points: if/else 15 (47 pts), boolean chains 9, loops 3 (6 pts), error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 39). Of this number, 27 points are the body\u0027s own statements and 41 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3db4ddeea81b37fc76a5d6688ffdc532342d5cb87f4df83821df2c44ea2481"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.realizeExecutionWorkspace (cognitive 68): workspace-runtime.realizeExecutionWorkspace has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (35 pts), ternaries 11 (19 pts), boolean chains 9, error handling 3 (5 pts) (nesting depth added 23). Of this number, 57 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"117669809bb06148a4641e5c819bb48c7431cd050bcb688cc83ca3d54c218bec"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.getCloseReadiness (cognitive 68): execution-workspaces.executionWorkspaceService.getCloseReadiness has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 18 (30 pts), if/else 22 (26 pts), boolean chains 11, 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfdffead286f315cb03845b855cc9d3f9aeb13b6a808029ba91cb08d1f49f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"run-completion.createHeartbeatRunCompletion.failRun (cognitive 68): run-completion.createHeartbeatRunCompletion.failRun has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 25 (34 pts), boolean chains 17, if/else 9 (13 pts), error handling 2 (4 pts) (nesting depth added 15). Of this number, 60 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4286c4617d94019edfa8eb7421bc0d03e6f5bb48b04fa9a1b40e240e6eb6bce"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-router.aiConnectionRouterService.resolve (cognitive 68): ai-connection-router.aiConnectionRouterService.resolve has cognitive complexity 68 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 9, ternaries 3 (8 pts), loops 3 (6 pts), error handling 1 (3 pts) (nesting depth added 32). Of this number, 59 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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"291d588ba38e7ee11d4be429edab988a425873fd2301a7e8c1bba18462c55ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"stopped-codex-turn.stoppedCodexTurnIsTextOnly (cognitive 68): stopped-codex-turn.stoppedCodexTurnIsTextOnly has cognitive complexity 68 (threshold 15). Drivers by points: if/else 15 (46 pts), boolean chains 11, match/switch 2 (5 pts), error handling 1 (4 pts), loops 1, ternaries 1 (nesting depth added 37). 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":"server/src/services/native-runtime/stopped-codex-turn.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c6439f3193f916ff62aad74240403eb73e799a4e379432f16783578ba4a7e4"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-history.decisionHistoryService.list (cognitive 68): decision-history.decisionHistoryService.list has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 35 (57 pts), boolean chains 7, if/else 3, loops 1 (nesting depth added 22). Of this number, 56 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":"server/src/services/decision-history.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9371433ff1a0d89a63df2a7869b7086c5a593e8e60183df90c43024af7546db"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-access-state.resolveWorkspaceAccessState (cognitive 68): workspace-access-state.resolveWorkspaceAccessState has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 14 (33 pts), boolean chains 21, if/else 11 (14 pts) (nesting depth added 22). Of this number, 65 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":"ui/src/lib/workspace-access-state.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f14dbd6efd9720b2b5f52e1850ea653ffd90803c9043ab12b2d739f8a1cfc1a"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.queueCommand (cognitive 67): DurablePrpControlPlane.queueCommand has cognitive complexity 67 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 21, loops 3 (7 pts), ternaries 3 (4 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1ed5e7a6e15ef8916637102d9d3adedf7d9b10f9f1388bfc5eed5081951e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-prp-control-plane.spawnRunner (cognitive 67): durable-prp-control-plane.spawnRunner has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 20 (28 pts), if/else 17 (25 pts), boolean chains 10, error handling 2 (3 pts), loops 1 (nesting depth added 17). Of this number, 55 points are the body\u0027s own statements and 12 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9df5e41cb75863e8753df306ad1c732f089626044b3803e99fc5e67574c0170"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-server-driver.startRuntime (cognitive 67): opencode-server-driver.startRuntime has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (23 pts), ternaries 18 (22 pts), boolean chains 10, error handling 6 (9 pts), loops 2 (3 pts) (nesting depth added 12). Of this number, 43 points are the body\u0027s own statements and 24 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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c89f2a95743433ab0b415b0f6df5479d400e4a93e39719fe8f2214c367d1d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"network.createTailscaleNetworkManager.start (cognitive 67): network.createTailscaleNetworkManager.start has cognitive complexity 67 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 19, loops 2 (3 pts), error handling 1 (2 pts), ternaries 2 (nesting depth added 17). Of this number, 48 points are the body\u0027s own statements and 19 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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca303aaaa9d909ed7e4fa6d603c51b27d55a000b689d65d6755dfaf91108ddde"}},{"ruleId":"D2","level":"warning","message":{"text":"qualify-cursor-denial.runDenial (cognitive 67): qualify-cursor-denial.runDenial has cognitive complexity 67 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 9, ternaries 3 (8 pts), loops 5 (7 pts), error handling 5 (6 pts) (nesting depth added 24). Of this number, 16 points are the body\u0027s own statements and 51 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/paperclip-runner/scripts/qualify-cursor-denial.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b723221f7161ccc08b0ccbc12383a2ce2324fc904d0048fb0f9ba02682cbc7"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatRunnerActivityGroup.presentation (cognitive 67): TaskChatRunnerActivityGroup.presentation has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 19 (45 pts), boolean chains 14, if/else 6 (8 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c267d00af403193ef4a0d343db9621dc5885774b3514fff74b45a27c4e95baa4"}},{"ruleId":"D2","level":"warning","message":{"text":"TriggerWizard.RoutineTriggerWizard (cognitive 67): TriggerWizard.RoutineTriggerWizard has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 16 (38 pts), boolean chains 25, if/else 3, error handling 1 (nesting depth added 22). Of this number, 57 points are the body\u0027s own statements and 10 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":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a884bbe9e50359f693bca8f3b23413aae23b348cf6eec2a96bda2a04a4a1a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectedAggregatorApps.ConnectedAggregatorApps (cognitive 67): ConnectedAggregatorApps.ConnectedAggregatorApps has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 21 (48 pts), boolean chains 15, if/else 2 (3 pts), loops 1 (nesting depth added 28). Of this number, 31 points are the body\u0027s own statements and 36 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":"ui/src/pages/apps/app-detail/ConnectedAggregatorApps.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aadbd67e2e15f498268567b2a74d41cf2c644342441b03438c5cad4c723644a"}},{"ruleId":"D2","level":"warning","message":{"text":"env.collectDeploymentEnvRows (cognitive 66): env.collectDeploymentEnvRows has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 41 (60 pts), boolean chains 2, error handling 1 (2 pts), if/else 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/env.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7290f7da4da20df0fcb688da8333c726a56691247dcabb36c9d06be28b1614"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarnessSession.#emitAssistantPart (cognitive 66): OpenCodeHarnessSession.#emitAssistantPart has cognitive complexity 66 (threshold 15). Drivers by points: if/else 18 (26 pts), ternaries 12 (25 pts), boolean chains 12, loops 2 (3 pts) (nesting depth added 22). Of this number, 63 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacbd64b940afcc77418da7fbdba90d54974ce5a16dce1ce729e2a0bdd4138de"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-receipt.verifiedWorkspaceRepairReceipt (cognitive 66): workspace-recovery-receipt.verifiedWorkspaceRepairReceipt has cognitive complexity 66 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 20, ternaries 4 (8 pts), error handling 2 (6 pts), loops 1 (3 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-receipt.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4674779d9d3d968cc4287a0f9a9962c613e1cde8f4f8a565858c29942f47590"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-mcp-pending.extractRemoteMcpPending (cognitive 66): remote-mcp-pending.extractRemoteMcpPending has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 13, loops 3 (6 pts), error handling 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 27). Of this number, 47 points are the body\u0027s own statements and 19 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-mcp-pending.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8575ecac4a153b93e7fee11c975bd5166fcc64da7f807da600203dd5f6c2a7"}},{"ruleId":"D2","level":"warning","message":{"text":"native-deliverable-feedback.validateNativeDeliverableEvidence (cognitive 66): native-deliverable-feedback.validateNativeDeliverableEvidence has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 20, ternaries 5 (13 pts), loops 1 (nesting depth added 25). Of this number, 59 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69ec1cee67f283b19ff5d1e64018c0765a630785dba33b463c0dd75623aa4e2"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.claimFailedChatRunRetry (cognitive 66): failed-run-retry.createChatFailedRunRetry.claimFailedChatRunRetry has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 16 (32 pts), if/else 16 (22 pts), boolean chains 11, error handling 1 (nesting depth added 22). Of this number, 54 points are the body\u0027s own statements and 12 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"4397eefd74c4dc1d516fc21f73ab428597c3eee7ae94997629debd5f22452c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createChatPublicationQueue.processPendingPublications (cognitive 66): queue.createChatPublicationQueue.processPendingPublications has cognitive complexity 66 (threshold 15). Drivers by points: if/else 23 (49 pts), boolean chains 8, loops 4 (6 pts), ternaries 2, error handling 1 (nesting depth added 28). Of this number, 50 points are the body\u0027s own statements and 16 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":"server/src/services/chat-channels/publications/queue.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d5b8d4aac8c547a3a013550c1018bbfc812353d6b90c770f2157391e00171f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync.prepareNativeWorkspaceSync (cognitive 66): native-workspace-sync.prepareNativeWorkspaceSync has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (31 pts), ternaries 8 (22 pts), boolean chains 8, error handling 2 (5 pts) (nesting depth added 32). Of this number, 65 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdf5a33e44f80e20718d11eeda798e1df6f128e2657bfebf9f65bc88ec250a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAcpxSession.#pumpTurn (cognitive 66): CodexAcpxSession.#pumpTurn has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 19 (41 pts), if/else 14 (19 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b585f9bfecd1930ebf2716ff82a92d653d10bbe67309f6e565c22efbdbabc30"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-version-retention-work.registerSkillVersionRetentionWork (cognitive 66): skill-version-retention-work.registerSkillVersionRetentionWork has cognitive complexity 66 (threshold 15). Drivers by points: if/else 22 (46 pts), loops 9 (11 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 28). None of this is in the body itself: all 66 points belong to 3 function literals inside it that branch (lines 49, 131, 50). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-retention-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a354147106b5627564027750e5a9a50bad4e4f385b01ad218a8f631dba24e72"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-connection-health-work.registerToolConnectionHealthWork (cognitive 66): tool-connection-health-work.registerToolConnectionHealthWork has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 10 (16 pts), boolean chains 12, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 24). None of this is in the body itself: all 66 points belong to 7 function items inside it that branch (a function literal at line 46, next, matches, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-connection-health-work.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"407bb8d7e4639109ecc79ae180893e20936199fd28050530bb26f83b2407d177"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineSignInSetup.MachineSignInSetup (cognitive 66): MachineSignInSetup.MachineSignInSetup has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 23 (41 pts), boolean chains 14, if/else 6 (8 pts), error handling 3 (nesting depth added 20). Of this number, 31 points are the body\u0027s own statements and 35 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":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"77db8379ecd58c15cd1569944f3af7cc6c812fe88af660622fe28e1e7856172b"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings (cognitive 65): remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings has cognitive complexity 65 (threshold 15). Drivers by points: if/else 20 (51 pts), boolean chains 7, loops 4 (7 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. This shape REPEATS in the file: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c1bf8747dfe26350a95923f9404704554f1386b3fc904e2e002e70c7a1096a"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-response-comments.writeGitHubResponseComment (cognitive 65): chat-github-response-comments.writeGitHubResponseComment has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 25, if/else 14 (20 pts), ternaries 13 (20 pts) (nesting depth added 13). Of this number, 58 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"835cbcd617664c09bd466a71855281c4f9c898797e372c2eb906f3e1733a62bd"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-retention.remoteWorkspaceSnapshotRetentionService.tick (cognitive 65): remote-workspace-snapshot-retention.remoteWorkspaceSnapshotRetentionService.tick has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (40 pts), boolean chains 10, loops 4 (7 pts), ternaries 3 (6 pts), error handling 1 (2 pts) (nesting depth added 30). Of this number, 39 points are the body\u0027s own statements and 26 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":"server/src/services/remote-workspace-snapshot-retention.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"856c5af955eed14dfc452be4012acc313a1d21ddc273a867007669200e50e29a"}},{"ruleId":"D2","level":"warning","message":{"text":"deferred-receipt-work.registerDeferredReceiptWork.register (cognitive 65): deferred-receipt-work.registerDeferredReceiptWork.register has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 21 (32 pts), if/else 13 (16 pts), boolean chains 15, error handling 1 (2 pts) (nesting depth added 15). Most of this is not in the body itself: 4 of the 65 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 116, 56, 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":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"90662db941a00722df46ee0bbbeb9871e3e38a7f6f7362567520544a4b902d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoff-authority.restoreCaseHandoffActor (cognitive 65): case-handoff-authority.restoreCaseHandoffActor has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (47 pts), boolean chains 16, 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":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2cccea4ecef8ec6f47b64925d8e81fffc5daa4180f3bb722cb44aa4ee81c5d"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.listIssueReviewAttentionMap (cognitive 65): issues.listIssueReviewAttentionMap has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 12 (32 pts), if/else 8 (15 pts), boolean chains 13, loops 5 (nesting depth added 27). Of this number, 27 points are the body\u0027s own statements and 38 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ff527fdc578c6573a75d49956424b7f1661c99dcf4895dea52d81ddb2ffb0d"}},{"ruleId":"D2","level":"warning","message":{"text":"serve-config.parseServeStatus (cognitive 65): serve-config.parseServeStatus has cognitive complexity 65 (threshold 15). Drivers by points: if/else 18 (48 pts), loops 3 (8 pts), ternaries 1 (5 pts), boolean chains 4 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/serve-config.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3ead8100f28a5b654d6415e50ee24a35443b81a3c09a15ddc65ac3d2ccb1f1"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesPanel.ResizablePropertiesPanel (cognitive 65): PropertiesPanel.ResizablePropertiesPanel has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 23 (32 pts), if/else 21, boolean chains 12 (nesting depth added 9). Of this number, 35 points are the body\u0027s own statements and 30 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":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"31670f1a32d48a3a3bf3483e26510cf17ac1a17b00aa9118390436f9b36bbfeb"}},{"ruleId":"D2","level":"warning","message":{"text":"useDurableAutosave.useDurableAutosave.execute (cognitive 65): useDurableAutosave.useDurableAutosave.execute has cognitive complexity 65 (threshold 15). Drivers by points: if/else 30 (47 pts), boolean chains 9, error handling 4 (9 pts) (nesting depth added 22). Of this number, 51 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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4035dcb65e6af020d4efa430043ffe9e2868641b7585feba9760fa0982313ba0"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxCommandExecutor::poll_provider_events (cognitive 65): AcpxCommandExecutor::poll_provider_events has cognitive complexity 65 (threshold 15). Drivers by points: if/else 13 (41 pts), loops 4 (10 pts), match/switch 3 (10 pts), boolean chains 4 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":2895}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4df5a67f1a21ef0ee4fd08b74d4170df4ddf9f0b67ca770874a7914f714be1d"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-credentials.readConnectionGrantCredentialStates (cognitive 64): connection-credentials.readConnectionGrantCredentialStates has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 8, loops 5 (8 pts), ternaries 2 (6 pts), error handling 1 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-credentials.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c1fe36d128b6bb0317c37de3c0546dc9cef2330229cf39d275896dbf8132f"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.approveActionRequest (cognitive 64): tool-gateway.createToolGatewayService.approveActionRequest has cognitive complexity 64 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 13, error handling 4 (8 pts), ternaries 3 (7 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12275}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b83f95b9fccc8fae54c4b4de734cb561a9d9a9afb1ba03388b05f18951a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-receipts.reconcileLateRunUsageReceiptInTransaction (cognitive 64): usage-receipts.reconcileLateRunUsageReceiptInTransaction has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 19 (26 pts), if/else 16 (21 pts), boolean chains 17 (nesting depth added 12). Of this number, 55 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efb19aadcb5eacda0e5afe2725971bc57a34e827d8543e0c39cbb63fce099d9"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.createDiscordCommands.handleDiscordNativeCommand (cognitive 64): commands.createDiscordCommands.handleDiscordNativeCommand has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 24, if/else 23 (24 pts), ternaries 10 (15 pts), error handling 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 64 points are its own statements and the rest belongs to one function literal inside it that branches (line 293). 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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"412c887b563b6711328365dcc61f5dbd8bcd5aa0038ff1c360db65d2d5f04369"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.recoverQuiescentRunnerdState (cognitive 64): native-session-executor.recoverQuiescentRunnerdState has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 17, ternaries 5 (8 pts), error handling 1 (2 pts), loops 2 (nesting depth added 19). Of this number, 59 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6606}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60a6a846d18cdbfd66a9eb354935dbb48d064925950097119cdbe61ca72dfb1"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.buildContext (cognitive 64): worker-rpc-host.startWorkerRpcHost.buildContext has cognitive complexity 64 (threshold 15). Drivers by points: if/else 29 (36 pts), boolean chains 14, ternaries 8, loops 1 (4 pts), error handling 2 (nesting depth added 10). Of this number, 62 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3c9b98a4f43fcadaeb52682503ab6274b74e2ec6e0b5a4ec88596a6f3e0f15"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-harness-verification.assertHarnessTestPassed (cognitive 64): agent-harness-verification.assertHarnessTestPassed has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 9 (54 pts), boolean chains 9, if/else 1 (nesting depth added 45). Of this number, 60 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":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2368419509bac2baa869d237faca26b819593b67c2ced3683fc33b5449fd8df7"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineTriggers.RoutineTriggers (cognitive 64): RoutineTriggers.RoutineTriggers has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 22 (47 pts), boolean chains 10, if/else 4 (6 pts), error handling 1 (nesting depth added 27). Most of this is not in the body itself: 14 of the 64 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 211, change, a function literal at line 158, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364bd8adab83b7e4c1f4febb299581c2a0ba557c550b34d29917a39003c68e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentObservabilitySettings.AgentObservabilitySettingsView (cognitive 64): AgentObservabilitySettings.AgentObservabilitySettingsView has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 32, ternaries 15 (29 pts), if/else 3 (nesting depth added 14). Of this number, 33 points are the body\u0027s own statements and 31 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":"ui/src/components/observability/AgentObservabilitySettings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f582f7943152422b8491e0f908c8ce1dbe829e694d90db0647b0368599bd1dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"connect-flow-preview-main.ConnectFlowPreview (cognitive 64): connect-flow-preview-main.ConnectFlowPreview has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 15 (36 pts), if/else 15, boolean chains 13 (nesting depth added 21). Of this number, 43 points are the body\u0027s own statements and 21 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":"ui/src/connect-flow-preview-main.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"854c1583f5eca0b07fd3ecd47805e9db4722434470677ffb216479b10dd201ae"}},{"ruleId":"D2","level":"warning","message":{"text":"acp.testClaudeAcpEnvironment (cognitive 63): acp.testClaudeAcpEnvironment has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 19 (26 pts), if/else 12 (19 pts), boolean chains 15, 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4c448f5095bf6cff1e3ac39778aa5279ac7d9f7f8971fee13bce70a823b4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-turn-diff.parseCodexTurnDiff (cognitive 63): codex-turn-diff.parseCodexTurnDiff has cognitive complexity 63 (threshold 15). Drivers by points: if/else 25 (42 pts), boolean chains 24, ternaries 9 (16 pts), loops 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. This shape REPEATS in the file: one other method here (codex-turn-diff.parseCodexTurnDiff::finish) 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"74963a9fae1b504f99d5d116727b6d9287133cf4af96b466ebd77460dcdc04d2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-server-requests.handleServerRequestBody (cognitive 63): codex-session-server-requests.handleServerRequestBody has cognitive complexity 63 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 6 (16 pts), error handling 4 (9 pts), boolean chains 8 (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":"packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4373a15d86564c48e3033ba8f79483e2d9c99bc2a8e3e98f2e8cb889f34a3d79"}},{"ruleId":"D2","level":"warning","message":{"text":"approvals.hireApprovalService.decide (cognitive 63): approvals.hireApprovalService.decide has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 16 (37 pts), if/else 12 (17 pts), boolean chains 9 (nesting depth added 26). Most of this is not in the body itself: 5 of the 63 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":"server/src/modules/agent-lifecycle/adapters/approvals.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32095e6e3ae4ada7f02be18df40ae5253055b3e280138386efca01c0c13ad54"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::walk::visit (cognitive 63): remote-workspace-snapshot-archive.workspaceArchive::walk::visit has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 11, ternaries 4 (10 pts), 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. This shape REPEATS in the file: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fba4779b133b2a9c02b2ce331cad6587b0845a91e922fc6d5efc74a0355204"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope (cognitive 63): plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 12 (36 pts), if/else 9 (16 pts), boolean chains 11 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 5 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, plugin-worker-manager.createPluginWorkerHandle::openDuplexChannel, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd7ad316546a0b5389472cc38fdd708d8a6e5ebba5784592f6fbd4228a146ad"}},{"ruleId":"D2","level":"warning","message":{"text":"task-repository-acquisition.assertSelectedWorkspaceTrust (cognitive 63): task-repository-acquisition.assertSelectedWorkspaceTrust has cognitive complexity 63 (threshold 15). Drivers by points: if/else 15 (27 pts), ternaries 14 (19 pts), boolean chains 13, loops 2 (4 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":"server/src/services/task-repository-acquisition.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"adefe9c7c1569c69f0478eccc4697ff20f356728abd3186b06ae15ef86657e03"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.captureWebEvidence (cognitive 63): native-harness-filesystem-independence.captureWebEvidence has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 12, loops 6 (8 pts), ternaries 4 (8 pts) (nesting depth added 17). Of this number, 35 points are the body\u0027s own statements and 28 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"807cfa139a1c6c524f035a5b360e2f3eb28288443f274bfc7010d8e421a3bc12"}},{"ruleId":"D2","level":"warning","message":{"text":"persisted-workspace-source.resolvePersistedGitWorkspaceSource (cognitive 63): persisted-workspace-source.resolvePersistedGitWorkspaceSource has cognitive complexity 63 (threshold 15). Drivers by points: if/else 25 (41 pts), boolean chains 16, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 18). Of this number, 58 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":"server/src/services/persisted-workspace-source.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb4f15b5b0d82fa253c27385fad26e07d54ce4fba8dc420e5ba28feaa4b220"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.prepareCopy (cognitive 63): agent-directory-working-copies.agentDirectoryWorkingCopyService.prepareCopy has cognitive complexity 63 (threshold 15). Drivers by points: if/else 23 (38 pts), ternaries 9 (11 pts), boolean chains 9, error handling 4 (5 pts) (nesting depth added 18). Of this number, 47 points are the body\u0027s own statements and 16 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3536a908aad5a75e1c05028bdcff43f24117c8ea9a26613d2ef585e9acea5a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"fast-response-provider.runFastResponseProvider (cognitive 63): fast-response-provider.runFastResponseProvider has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 12 (36 pts), boolean chains 12, if/else 6 (11 pts), error handling 2 (4 pts) (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-response-provider.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"873976c168fc1719b44dbc8bbeef583e1a7420a0b2440deeb9c28713ca60ad0c"}},{"ruleId":"D2","level":"warning","message":{"text":"task-start.createSlackTaskStart.processSlackTaskStart (cognitive 63): task-start.createSlackTaskStart.processSlackTaskStart has cognitive complexity 63 (threshold 15). Drivers by points: if/else 23 (31 pts), ternaries 12 (18 pts), boolean chains 10, error handling 3 (4 pts) (nesting depth added 15). Of this number, 27 points are the body\u0027s own statements and 36 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c88a9721eeb289ad3b8878533c5f9a891bacb8dfa486659fa73f2e6400d831"}},{"ruleId":"D2","level":"warning","message":{"text":"confirmation-actions.createChatConfirmationActions.handleChatConfirmation (cognitive 63): confirmation-actions.createChatConfirmationActions.handleChatConfirmation has cognitive complexity 63 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 18, ternaries 6 (11 pts), error handling 1, loops 1 (nesting depth added 15). Of this number, 61 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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a908d24b20d41cc46b68c7303252937a7d2222927131a2d6f9583602e2e69f"}},{"ruleId":"D2","level":"warning","message":{"text":"direct-callback.createDirectOAuthCallback.completeOAuthCallback (cognitive 63): direct-callback.createDirectOAuthCallback.completeOAuthCallback has cognitive complexity 63 (threshold 15). Drivers by points: if/else 22 (32 pts), ternaries 16 (24 pts), boolean chains 7 (nesting depth added 18). Of this number, 24 points are the body\u0027s own statements and 39 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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed172ccbbea4e973d96a238c66b34569cabe3e90ea7d10b88dfc4a83767a28c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-failed-workspace-recovery.preserveNativeFailedWorkspace (cognitive 63): native-failed-workspace-recovery.preserveNativeFailedWorkspace has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 36, if/else 21 (24 pts), ternaries 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 2 of the 63 points are its own statements and the rest belongs to one function literal inside it that branches (line 87). 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dca98d73c312ddbf1ea3d3fa91e5bb5805fbf3f8e4654ec72ad9adb3cebbeba"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAcpxSession.#mapRuntimeEvent (cognitive 63): CodexAcpxSession.#mapRuntimeEvent has cognitive complexity 63 (threshold 15). Drivers by points: if/else 11 (27 pts), ternaries 9 (23 pts), boolean chains 12, loops 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cac904d28c7209c4a331e1e3d2db74685f3431947a954ae9208a34f3204f961"}},{"ruleId":"D2","level":"warning","message":{"text":"company-search.companySearchService.search::fetchIssueSearchData (cognitive 63): company-search.companySearchService.search::fetchIssueSearchData has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 18, ternaries 5 (11 pts), loops 3 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (company-search.companySearchService.search) 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":"server/src/services/company-search.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a11dc0fde239b44e4e3095d228e41ca77308a3c24de62605029e380d88045"}},{"ruleId":"D2","level":"warning","message":{"text":"activity.activityRoutes (cognitive 63): activity.activityRoutes has cognitive complexity 63 (threshold 15). Drivers by points: if/else 29 (34 pts), ternaries 13 (15 pts), boolean chains 11, loops 2 (3 pts) (nesting depth added 8). None of this is in the body itself: all 63 points belong to 14 function items inside it that branch (a function literal at line 287, a function literal at line 249, a function literal at line 355, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/activity.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea341eb7de451ac59b127bbd93bf23c61647ce9f03deb2ea6e13bdc579d46b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionField.AiConnectionField (cognitive 63): AiConnectionField.AiConnectionField has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 16 (27 pts), boolean chains 26, if/else 9 (10 pts) (nesting depth added 12). Of this number, 48 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":"ui/src/components/ai-connections/AiConnectionField.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb06c765923928b4069cfa3139b998fef1d8d8f3de6c75813e202def619addf"}},{"ruleId":"D2","level":"warning","message":{"text":"TrustPresetSection.TrustPresetSection (cognitive 63): TrustPresetSection.TrustPresetSection has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 23 (53 pts), boolean chains 7, if/else 3 (nesting depth added 30). Of this number, 53 points are the body\u0027s own statements and 10 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":"ui/src/components/TrustPresetSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a634101c1cbd73e9e2476e12a05bd8b466d22fb680fa174f6f5ab428daf28873"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineVariablesEditor.RoutineVariablesEditor (cognitive 63): RoutineVariablesEditor.RoutineVariablesEditor has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 17 (56 pts), boolean chains 5, if/else 2 (nesting depth added 39). Most of this is not in the body itself: 2 of the 63 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 94, 190, 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":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8558ae6524d1f551a5e33ba95b85cd29ea3916b0bbf190f17e627e3e8a1e5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCommentary.AgentCommentary (cognitive 63): AgentCommentary.AgentCommentary has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 14 (48 pts), boolean chains 8, if/else 5 (6 pts), loops 1 (nesting depth added 35). Of this number, 55 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AgentCommentary.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7523ec9d61fd6684b4f02ffee1b79b2e727f386b5bf63c3c03ef44d6355d9592"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.createGeminiJsonlParser.\u003Creturned closure\u003E (cognitive 62): parse.createGeminiJsonlParser.\u003Creturned closure\u003E has cognitive complexity 62 (threshold 15). Drivers by points: if/else 19 (50 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e88333b52a8affbccc77ac0c4264cc1a2b66b39f1a8318cd754ced43ad4b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-issue-thread-server.harnessConfiguration (cognitive 62): capability-issue-thread-server.harnessConfiguration has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 22, ternaries 18 (21 pts), if/else 16 (19 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b9ab8bbaf903aa6fb1f7193c35b5ff3d9ba2eabe15150840801f65b26a8043"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-loader.pluginLoader::activatePlugin (cognitive 62): plugin-loader.pluginLoader::activatePlugin has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 12 (27 pts), if/else 13 (18 pts), error handling 6 (13 pts), boolean chains 3, 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. This shape REPEATS in the file: 2 other methods here (plugin-loader.pluginLoader, plugin-loader.pluginLoader::fetchAndValidate) 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2154153049053442377db3ee20fed4484385b30f8b0f04e27cb10c8d64a3617"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-queue.createChatConversationDeliveryQueue.drainConversationDeliveries (cognitive 62): conversation-queue.createChatConversationDeliveryQueue.drainConversationDeliveries has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (47 pts), boolean chains 9, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 27). Of this number, 53 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0814e0b19767ccb60cabdc4982e824a1723e741424188896ad7c6a02eeba35c9"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.firePublicTrigger (cognitive 62): routines.routineService.firePublicTrigger has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 12, ternaries 7 (10 pts), error handling 1 (nesting depth added 13). Most of this is not in the body itself: 14 of the 62 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 3005, 3018). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"0738fec846f9eff5893872c35f8310b31c72f9404c74eb3f96729c8a30253fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"live-projection.projectCapabilityIssueThread (cognitive 62): live-projection.projectCapabilityIssueThread has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 10 (24 pts), if/else 12 (20 pts), boolean chains 10, loops 8 (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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"94faeb3f26271eaa47cfa52e92e348856dde6ef532d9997548ab787dac913991"}},{"ruleId":"D2","level":"warning","message":{"text":"native-execution.parsePaperclipNativeExecution (cognitive 62): native-execution.parsePaperclipNativeExecution has cognitive complexity 62 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 11, loops 5 (6 pts), ternaries 4 (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/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a02ef9e3b789ebb3bc054f75b6dc3e54cc7efb67f8790a82fe6cac79a3090"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-management-authz.assertBoundedManagementSelectors (cognitive 62): connection-management-authz.assertBoundedManagementSelectors has cognitive complexity 62 (threshold 15). Drivers by points: if/else 14 (41 pts), loops 6 (14 pts), boolean chains 7 (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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b1180851fe6ddc95a2327eb40da8d5ce2e4986fee890883cca73f76bc77d48"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretRoutes (cognitive 62): secrets.secretRoutes has cognitive complexity 62 (threshold 15). Drivers by points: if/else 36, ternaries 14 (15 pts), boolean chains 10, loops 1 (nesting depth added 1). None of this is in the body itself: all 62 points belong to 27 function items inside it that branch (boardProposalView, a function literal at line 1043, a function literal at line 240, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5c87ac58fb5485865a541b73e5d0513663b81cad40dcb6d36ff3f5c7ab7b66"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentInviteContent.DotConnectionChecks (cognitive 62): ExternalAgentInviteContent.DotConnectionChecks has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 20 (55 pts), boolean chains 7 (nesting depth added 35). Of this number, 40 points are the body\u0027s own statements and 22 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"144d897066f30da75fb06193569e5ba5b28373f9cf6a3291a198dfec1a80547a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSecretAccessEditor.AgentSecretAccessEditor (cognitive 62): AgentSecretAccessEditor.AgentSecretAccessEditor has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 15 (27 pts), if/else 10 (19 pts), boolean chains 15, loops 1 (nesting depth added 21). Most of this is not in the body itself: 4 of the 62 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 340, 352, 253, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentSecretAccessEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"248571debdbe3d285f5bec9ef66c85da18f85dd45045e565b94778bc6ee4ad96"}},{"ruleId":"D2","level":"warning","message":{"text":"McpConnect.McpConnectRequest (cognitive 62): McpConnect.McpConnectRequest has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 42, ternaries 12 (16 pts), if/else 4 (nesting depth added 4). Of this number, 51 points are the body\u0027s own statements and 11 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":"ui/src/pages/McpConnect.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a78e4f115c21983907f017b87a1b6cf02c2be2e56df1da45b2265663c1f61b"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskBrowserPanel.TaskBrowserPanel (cognitive 62): TaskBrowserPanel.TaskBrowserPanel has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 13 (33 pts), boolean chains 20, if/else 7 (8 pts), error handling 1 (nesting depth added 21). Of this number, 48 points are the body\u0027s own statements and 14 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":"ui/src/components/task-side-panel/TaskBrowserPanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c19a1ea37c2b7a570cdcf396b9a9ea6f7127fd655fddb637c65ff12ddc8fe7a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaForm.validateField (cognitive 62): JsonSchemaForm.validateField has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 19, error handling 1 (4 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"99094974c02129aa6356a0b7c4e4ee814fe31f6770dcb272d363a97c517d160c"}},{"ruleId":"D2","level":"warning","message":{"text":"useSummaryDraftStream.useSummaryDraftStream (cognitive 62): useSummaryDraftStream.useSummaryDraftStream has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 15, ternaries 8 (10 pts), loops 2 (3 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 7 of the 62 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 186, a function literal at line 157, bindLog, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b5ab1e87271509d8a91dde65384965274557a493a59fc86de92edb2531190d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderConnectionPreview.ProviderConnectionPreview (cognitive 62): ProviderConnectionPreview.ProviderConnectionPreview has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 24 (43 pts), boolean chains 15, if/else 4 (nesting depth added 19). Of this number, 45 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":"ui/storybook/prototypes/ProviderConnectionPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"98557f11b71654cdc4ea12d02f9981b4e473fa0039707105f762705515bcdbd0"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.reconstructRuntimeServices (cognitive 61): workspace-runtime.reconstructRuntimeServices has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 16, loops 3 (5 pts), ternaries 3 (5 pts), error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e910c974439dba1b3d492a47643c0d8e7bc3cc5d5ea24d4d345ca2d58ff24117"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-probe.probeAgentDirectory::walk (cognitive 61): agent-directory-probe.probeAgentDirectory::walk has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (49 pts), boolean chains 5, loops 2 (5 pts), ternaries 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. This shape REPEATS in the file: one other method here (agent-directory-probe.probeAgentDirectory) 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adb5ef53ac9dd07141c9a6357754cdee5b5c8deca56338ef8d5095d231650c5"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-reply-schedule.voiceReplySchedule.load (cognitive 61): voice-reply-schedule.voiceReplySchedule.load has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 13 (37 pts), if/else 10 (18 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-reply-schedule.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0dfac8222e56335d73ec844f1cd2e1b04d5ded8872a175dd622ebab90c69c"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-execution-recovery.terminalizeLegacyExecution (cognitive 61): legacy-execution-recovery.terminalizeLegacyExecution has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (21 pts), ternaries 13 (21 pts), boolean chains 19 (nesting depth added 12). None of this is in the body itself: all 61 points belong to one function literal inside it that branches (line 134). 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26e6285686a84df339bacef96ec4d5906bd6a078ee0185733f76adc3446491d"}},{"ruleId":"D2","level":"warning","message":{"text":"retained-provider-pack-source.extractManifest (cognitive 61): retained-provider-pack-source.extractManifest has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (42 pts), loops 6 (10 pts), boolean chains 7, ternaries 2 (nesting depth added 26). Of this number, 41 points are the body\u0027s own statements and 20 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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c400d86dfa66f5a8e39adc0de8a23ba7ee1a6652852ba3d005a8624dc2bf54"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRemoteRunnerProcessLauncher.\u003Creturned closure\u003E (cognitive 61): native-session-executor.createRemoteRunnerProcessLauncher.\u003Creturned closure\u003E has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 15 (27 pts), if/else 17 (23 pts), boolean chains 7, error handling 2 (3 pts), loops 1 (nesting depth added 19). None of this is in the body itself: all 61 points belong to 3 function literals inside it that branch (lines 15796, 15739, 15868). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2e7ca6e496b349401221abe6d0fab364748386d2017f6b56dad8e1526950ed"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConsoleDemoServer.#handle (cognitive 61): LiveConsoleDemoServer.#handle has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 14, ternaries 6 (13 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f4a07055a90a1069ccb8ec3708fbff4dbf42b8a09452a64fd8be283ee13921"}},{"ruleId":"D2","level":"warning","message":{"text":"status-cards.statusCardService.refreshCurrentCard (cognitive 61): status-cards.statusCardService.refreshCurrentCard has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (27 pts), ternaries 12 (19 pts), boolean chains 15 (nesting depth added 17). Of this number, 43 points are the body\u0027s own statements and 18 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":"server/src/services/status-cards.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff502aaf79187d76a5fd6f5495801cc1eaa5d5c09449b72409e5896b615827bc"}},{"ruleId":"D2","level":"warning","message":{"text":"assets.assetRoutes (cognitive 61): assets.assetRoutes has cognitive complexity 61 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 20, ternaries 8, error handling 2 (nesting depth added 8). None of this is in the body itself: all 61 points belong to 4 function literals inside it that branch (lines 327, 116, 225, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/assets.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"69951a490a8fd50dd8adaf64e22e1fbe0b5b1ccbc44149fc991700ee051f3919"}},{"ruleId":"D2","level":"warning","message":{"text":"NewIssueDialog.AccountNewIssueDialog::handleSubmit (cognitive 61): NewIssueDialog.AccountNewIssueDialog::handleSubmit has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 28 (30 pts), boolean chains 16, if/else 9 (13 pts), error handling 1 (2 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. This shape REPEATS in the file: 2 other methods here (NewIssueDialog.AccountNewIssueDialog, NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate) 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3080ff7d1b6783fc298aa97bc60ab8f23f200b03fb98a97df26db2ee8e20255b"}},{"ruleId":"D2","level":"warning","message":{"text":"BreadcrumbBar.BreadcrumbBar (cognitive 61): BreadcrumbBar.BreadcrumbBar has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 32, ternaries 14 (25 pts), if/else 4 (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 25 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":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4823a1a8e8e19dba286ae58a31a14eacd844dd4e41e26e313c26364f14b14777"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkTimelineChart.WorkTimelineChart (cognitive 61): WorkTimelineChart.WorkTimelineChart has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 19, ternaries 14 (16 pts), loops 3 (4 pts) (nesting depth added 7). Most of this is not in the body itself: 6 of the 61 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 301, a function literal at line 591, a function literal at line 339, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"502922896cf986ba98c7081060d00496fd86ed4477c234fde10951f7fec6afd6"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine::startup (cognitive 60): execute.createAcpxEngineExecutor.executeAcpxEngine::startup has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 13 (21 pts), boolean chains 18, if/else 12 (15 pts), error handling 4 (5 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (execute.createAcpxEngineExecutor.executeAcpxEngine, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepPromptBuild, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de7e6ee15d22cf3a6cbac0e6894c5266a3d46e41a0cca7f52d21d2d81bf1c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseCursorStdoutLine (cognitive 60): parse-stdout.parseCursorStdoutLine has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (36 pts), ternaries 7 (14 pts), boolean chains 10 (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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d63dcd3610c706f60efd7953948800c4744d37ed27ede5db2e0f326ffdcf4"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.canonicalProviderEventsFromAcpxRuntimeEvent (cognitive 60): provider-events.canonicalProviderEventsFromAcpxRuntimeEvent has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 20 (42 pts), boolean chains 9, if/else 8 (9 pts) (nesting depth added 23). Of this number, 58 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d58ea7b9cb49e205cfa0662f0e391046c0547bfb9b57143da4ef1a0398777d"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-bridge.handleRequest (cognitive 60): mcp-bridge.handleRequest has cognitive complexity 60 (threshold 15). Drivers by points: if/else 20 (25 pts), ternaries 11 (19 pts), boolean chains 10, error handling 4 (6 pts) (nesting depth added 15). Of this number, 57 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdcffc2ab7c8c0785fdc62808398e16a96bc39fe18b6f5688b271ddff9569e7"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-summary.resolveHeartbeatRunResponse (cognitive 60): heartbeat-run-summary.resolveHeartbeatRunResponse has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (27 pts), ternaries 10 (20 pts), boolean chains 13 (nesting depth added 18). Of this number, 47 points are the body\u0027s own statements and 13 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce4d30df5ef62582d894e234baf27e4025d1b478ffd5b5f73c3087b08a25510"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence-classifier.classifyEvidenceRef (cognitive 60): evidence-classifier.classifyEvidenceRef has cognitive complexity 60 (threshold 15). Drivers by points: if/else 18 (30 pts), ternaries 12 (26 pts), boolean chains 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed3584566a2017b583ed9d40a215d4fc6fdbb9c0f3e25436292dba4a7f76df3"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-inline-images.gif (cognitive 60): chat-teams-inline-images.gif has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (41 pts), boolean chains 13, ternaries 2 (4 pts), loops 2 (nesting depth added 24). Of this number, 54 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f220ff96db0d7be7e626a170517de18cc4f631e1ca6fe81307eb6cb05857bb"}},{"ruleId":"D2","level":"warning","message":{"text":"app.WikiPage (cognitive 60): app.WikiPage has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 16 (46 pts), if/else 11 (12 pts), boolean chains 2 (nesting depth added 31). Of this number, 47 points are the body\u0027s own statements and 13 belong to 9 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a0e427e8879bcf590a174dbb7952587efbe9236054d213c8c516b330d71a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"config-fields.OpenClawGatewayConfigFields (cognitive 60): config-fields.OpenClawGatewayConfigFields has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 31 (35 pts), boolean chains 14, if/else 10, error handling 1 (nesting depth added 4). Of this number, 26 points are the body\u0027s own statements and 34 belong to 15 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":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5070d89619d9aba1c89b7e849a4c35697be1f3a13dfa27e6e53a14232c7d2d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.EnvironmentVariablesEditor (cognitive 60): index.EnvironmentVariablesEditor has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (29 pts), boolean chains 14, ternaries 12 (14 pts), loops 3 (nesting depth added 5). Most of this is not in the body itself: 12 of the 60 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 313, bulkImport, a function literal at line 211, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3483082042cb45bd40594da522afaed21e8a7823904ccc73dbfa3ad0d890f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionBlockerNotice.ExecutionBlockerNotice (cognitive 60): ExecutionBlockerNotice.ExecutionBlockerNotice has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 14 (29 pts), boolean chains 21, if/else 10 (nesting depth added 15). Of this number, 56 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":"ui/src/components/ExecutionBlockerNotice.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5a11f428aceb1eef239e603f336a3ccf23776ea3d4914d488f8c053c0e60ae"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatUserMessage (cognitive 60): IssueChatThread.IssueChatUserMessage has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 32 (50 pts), boolean chains 8, if/else 2 (nesting depth added 18). Of this number, 55 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f1ecef8db1249f5a2a4833d54b34eaad97309ed4b36b7f67d7c754c6b51176"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer.ChatComposer (cognitive 60): ChatComposer.ChatComposer has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 21 (33 pts), boolean chains 15, if/else 12 (nesting depth added 12). Of this number, 18 points are the body\u0027s own statements and 42 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":"ui/src/components/ChatComposer.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9168b501b83fc3514d87f483d596cb557b9dd68f955ab425b7bac395527334c0"}},{"ruleId":"D2","level":"warning","message":{"text":"PasteConfigTab.PasteConfigTab (cognitive 60): PasteConfigTab.PasteConfigTab has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 16 (29 pts), if/else 13 (15 pts), boolean chains 9, loops 3 (4 pts), error handling 3 (nesting depth added 16). Of this number, 23 points are the body\u0027s own statements and 37 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":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c543d682c9db932620f19e7061bbdc6998f66ca25c69b20fd86c972ac75cb689"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubBotConfiguration.GitHubAccessEditor (cognitive 60): GitHubBotConfiguration.GitHubAccessEditor has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 30, ternaries 16 (22 pts), if/else 3 (5 pts), error handling 2 (3 pts) (nesting depth added 9). Of this number, 27 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":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40031dfda5616050b4f62d71530de80577bec4e025d913b66da996ebe62531f"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentSetup.Setup::buildConfig (cognitive 60): NewAgentSetup.Setup::buildConfig has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 17 (29 pts), if/else 12 (18 pts), boolean chains 9, loops 2 (4 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::preparedConfig, NewAgentSetup.Setup::saveDraft, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36460eebb9bf082e35be342f53f2c4da131a013f6f02a46b55141eb8100f97d"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::toResult (cognitive 59): execute.execute::toResult has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 27 (46 pts), boolean chains 11, if/else 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (execute.execute, execute.execute::runAttempt) 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"de60e601a02b45d4f9c26080ab310dc92f3f069a67917fa5d85bedca5665660f"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-methods.normalizeConnectionMethodConfig (cognitive 59): connection-methods.normalizeConnectionMethodConfig has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (36 pts), boolean chains 12, ternaries 5 (7 pts), loops 4 (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":"server/src/services/tool-access/connection-methods.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"168b21cbf60da4a05b387854c65a0df860efaab1e9cd9644089477cac5700f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"railway.createRailwayClient.call (cognitive 59): railway.createRailwayClient.call has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (41 pts), ternaries 3 (8 pts), boolean chains 5, loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/railway.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc164a0f26511c5732093be7dd976b68cde0f147ba890694622b8661a47644"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.deleteFile (cognitive 59): company-skills.companySkillService.deleteFile has cognitive complexity 59 (threshold 15). Drivers by points: if/else 21 (33 pts), ternaries 8 (15 pts), boolean chains 6, error handling 3 (5 pts) (nesting depth added 21). Of this number, 30 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":"server/src/services/company-skills.ts"},"region":{"startLine":4843}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a7e8a31f923dca0e368c3a2e49f79bf0353936a6aee6483fd46defb83bc069"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.loadContext (cognitive 59): tool-access-policy.toolAccessPolicyService.loadContext has cognitive complexity 59 (threshold 15). Drivers by points: if/else 24 (38 pts), boolean chains 17, ternaries 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"0330053191467ffd1c378c609da3e66757b52d8d2e724f6d291759bc00cfff3f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-failed-run-owner-release.settleFailedRunOwner (cognitive 59): native-failed-run-owner-release.settleFailedRunOwner has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 17, ternaries 8 (10 pts), loops 2 (nesting depth added 15). Most of this is not in the body itself: 1 of the 59 points is its own statement and the rest belongs to one function literal inside it that branches (line 161). 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":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"077d2aa1d7f4b1464753ed7c3fddd71985cb055bce8886194c551f416fb952ba"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresWakeQueueAdapter.withIssueExecutionLock (cognitive 59): postgres.createPostgresWakeQueueAdapter.withIssueExecutionLock has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 26, if/else 18 (20 pts), ternaries 11 (12 pts), loops 1 (nesting depth added 3). None of this is in the body itself: all 59 points belong to one function literal inside it that branches (line 1254). 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7604da93f5bb68ab54e26e17d9fa40cf6ebabac34ab017e8a7968a26969cc4ff"}},{"ruleId":"D2","level":"warning","message":{"text":"session-status.createSlackSessionStatus.processPendingSlackSessionSyncs (cognitive 59): session-status.createSlackSessionStatus.processPendingSlackSessionSyncs has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 8 (17 pts), boolean chains 9, error handling 1 (2 pts), loops 1 (nesting depth added 27). Of this number, 17 points are the body\u0027s own statements and 42 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":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e14121ad01375788bf6bbbd45f5f9d4a0966fcbbcc991acfbc7961b831e197"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.handleWebhook (cognitive 59): chat-channels.chatChannelService.handleWebhook has cognitive complexity 59 (threshold 15). Drivers by points: if/else 24 (33 pts), ternaries 9 (15 pts), boolean chains 9, error handling 1 (2 pts) (nesting depth added 16). Of this number, 58 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":"server/src/services/chat-channels.ts"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"814849be729f09545b873a3b19d5af9fcde8a31edc500f59559a7996a6b3faec"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleHostRequestInScope (cognitive 59): worker-rpc-host.startWorkerRpcHost.handleHostRequestInScope has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 13 (54 pts), boolean chains 3, error handling 1, if/else 1 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db4195b2b29fd483a731c634b8ad0753dc8a2a7b5024754ec1c695857f51d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.tick (cognitive 59): native-harness-backup-expiration.nativeHarnessBackupExpirationService.tick has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (33 pts), error handling 4 (11 pts), boolean chains 8, ternaries 2 (5 pts), loops 1 (2 pts) (nesting depth added 29). Of this number, 55 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11cd3644d40e3eb4ed5c6b8ddcfca50302f406de97878b8aff26a9b7a944253"}},{"ruleId":"D2","level":"warning","message":{"text":"approvals.approvalRoutes (cognitive 59): approvals.approvalRoutes has cognitive complexity 59 (threshold 15). Drivers by points: if/else 29 (30 pts), ternaries 11 (18 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 10). None of this is in the body itself: all 59 points belong to 16 function items inside it that branch (a function literal at line 461, a function literal at line 397, a function literal at line 666, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff33fb34136e3724abac618840adeb227582d73377889c67cd031cb8853da3a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatMarker.TaskChatMarker (cognitive 59): TaskChatMarker.TaskChatMarker has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 22 (48 pts), boolean chains 9, if/else 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatMarker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a5fa1cda0e1e6049c11d73440a5989522b13b744da612e6a22f3931df7680c"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.ConfirmationActionRow (cognitive 59): IssueThreadInteractionCard.ConfirmationActionRow has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 25 (34 pts), boolean chains 21, if/else 3 (4 pts) (nesting depth added 10). Of this number, 50 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e57fa6009d36c18dfd443eb728aa4e6a2b4e227ebeeb39045d847281879788"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestCheckboxConfirmationCard (cognitive 59): IssueThreadInteractionCard.RequestCheckboxConfirmationCard has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 19 (31 pts), boolean chains 19, if/else 7, error handling 2 (nesting depth added 12). Of this number, 43 points are the body\u0027s own statements and 16 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7aa694fb3a3a66162d7e33858a7ec955805718cf482f533ec0942554a65623"}},{"ruleId":"D2","level":"warning","message":{"text":"ProposalsTab.PendingProposal (cognitive 59): ProposalsTab.PendingProposal has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 19 (44 pts), boolean chains 11, if/else 2 (4 pts) (nesting depth added 27). Of this number, 49 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9740bf9df7573fa98d072e417bc1de7ab7420d63e6a40af3922f2215d08971"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectorCatalogNavigation.ConnectorCatalogNavigation (cognitive 59): ConnectorCatalogNavigation.ConnectorCatalogNavigation has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 20 (44 pts), boolean chains 13, if/else 2 (nesting depth added 24). Of this number, 44 points are the body\u0027s own statements and 15 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":"ui/storybook/prototypes/ConnectorCatalogNavigation.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afece7072e934f80c75c25d6a1d43c81090a8c568af11693dfb7278f5bceb48"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetProcessSessionBridge (cognitive 58): execution-target.startAdapterExecutionTargetProcessSessionBridge has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 5 (10 pts), boolean chains 9, error handling 3 (6 pts), loops 2 (4 pts) (nesting depth added 23). Of this number, 19 points are the body\u0027s own statements and 39 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18db380b5b2ac6991660f11d58efb9a366f9bbbc3bf011cd203a65456d8da7f"}},{"ruleId":"D2","level":"warning","message":{"text":"report.summarizeControlledCampaign (cognitive 58): report.summarizeControlledCampaign has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (28 pts), ternaries 8 (15 pts), boolean chains 10, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 24). Of this number, 49 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/paperclip-runner/scripts/controlled-evals/report.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0f5ae89ef5e12e01adbff1d54a5cc120b6caacaa6afd7fac678b92fe0dc40d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-question-forms.validateChatQuestionFormSubmission (cognitive 58): chat-question-forms.validateChatQuestionFormSubmission has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 11, ternaries 3 (6 pts), loops 1 (nesting depth added 24). Of this number, 57 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed540ec5db09560de5866352065892cb1b18e09715d589fa45d19ba08ba3cd4a"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-config.parseManagedEnvironmentsSection (cognitive 58): managed-config.parseManagedEnvironmentsSection has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (39 pts), ternaries 5 (11 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-config.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3120d71efe0fc2fc4c4531f3694cba0899a366355a12da328044572db143780d"}},{"ruleId":"D2","level":"warning","message":{"text":"nested-clone-migration.migrateNestedRepositoryClone (cognitive 58): nested-clone-migration.migrateNestedRepositoryClone has cognitive complexity 58 (threshold 15). Drivers by points: if/else 30 (38 pts), boolean chains 12, ternaries 4 (5 pts), loops 2, error handling 1 (nesting depth added 9). Most of this is not in the body itself: 8 of the 58 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 410, 449, 491). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7015d6159e39ec57c60a232a3f89c28d9dde6ce9b39934f75690684c14b1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.auditInstalledSkillBytes (cognitive 58): company-skills.auditInstalledSkillBytes has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (39 pts), boolean chains 10, loops 4 (6 pts), ternaries 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b757e8204c4b80f9f3e9b8c6d34063888fff37d4c514782be394c7681f6111e7"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-creation-operations.recoverSandboxCreations (cognitive 58): sandbox-creation-operations.recoverSandboxCreations has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 7 (19 pts), boolean chains 11, error handling 1 (2 pts), loops 1 (nesting depth added 27). Of this number, 46 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":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5a1ecaf60ca06a3f839fcb8dde8d8d8fe27c8b94da8b50777f4478da422ed"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.startRuntimeServicesForWorkspaceControlInvocation (cognitive 58): workspace-runtime.startRuntimeServicesForWorkspaceControlInvocation has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (36 pts), loops 5 (11 pts), boolean chains 6, error handling 2 (4 pts), ternaries 1 (nesting depth added 33). Of this number, 53 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"119a93130fcc4d4b28c6dfc50b74321dccfbb84128ee22ce058390b8ac821e83"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeBuiltinTool (cognitive 58): tool-gateway.createToolGatewayService.executeBuiltinTool has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (35 pts), ternaries 4 (10 pts), boolean chains 7, error handling 3 (6 pts) (nesting depth added 23). Of this number, 53 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3508}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bb9a6911dca17ebb0779ae35fc5e0fd3b85cc8fb1cabdf63f9e31a202a3a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-files.archiveList (cognitive 58): remote-workspace-files.archiveList has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 12, loops 3 (6 pts), ternaries 2 (6 pts), error handling 1 (nesting depth added 27). Of this number, 49 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2046680c5673ab2127da86a3f0c936f3d7aa99bb27586ed13750ce476c74776"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-enrollment.reconcilePendingSlackCloudEnrollments (cognitive 58): cloud-enrollment.reconcilePendingSlackCloudEnrollments has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (40 pts), error handling 2 (10 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 36). Of this number, 38 points are the body\u0027s own statements and 20 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc72a365ce659a8d0b561871765aaf2ee983d6cd6a4ff2621998d4363fa97d4"}},{"ruleId":"D2","level":"warning","message":{"text":"built-in-agents.builtInAgentService.ensure (cognitive 58): built-in-agents.builtInAgentService.ensure has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 14, ternaries 5 (11 pts), loops 1 (4 pts), error handling 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c46d799cbc790e595a7cee794a086674cd4129aa43b0cf2d3db113e880d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-maintenance-no-launch.verifyRetainedMaintenanceNoLaunch (cognitive 58): native-maintenance-no-launch.verifyRetainedMaintenanceNoLaunch has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 43, loops 10 (11 pts), if/else 2 (3 pts), error handling 1 (nesting depth added 2). Of this number, 51 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":"server/src/services/native-runtime/native-maintenance-no-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e56c6a5a665e98b692801fbc0155cea831a59205f6245b2170993dae98eeed5"}},{"ruleId":"D2","level":"warning","message":{"text":"publish-runner-protocol-eval-history.validatePublicProtocolEvalReport (cognitive 58): publish-runner-protocol-eval-history.validatePublicProtocolEvalReport has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 5 (11 pts), boolean chains 6, ternaries 3 (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/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddee6c68d58f66ed856d04545e8734c0936d87924a13d5644104aaa66fe5f7c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-sandbox.prepareAcpxRuntimeSandbox (cognitive 58): runtime-sandbox.prepareAcpxRuntimeSandbox has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 23 (35 pts), if/else 12 (14 pts), boolean chains 9 (nesting depth added 14). Of this number, 47 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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c8df8a9cfcc9e9523e89e25cc68289a72bed9bf344be062f3afbdc7fa88cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"routes.handleBridgeRequest (cognitive 58): routes.handleBridgeRequest has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (27 pts), ternaries 5 (14 pts), boolean chains 9, error handling 3 (8 pts) (nesting depth added 24). Of this number, 55 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/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7544f076e9cc0576ff37db3c75d06e86960ac3238b5478b02b0e40033cb08148"}},{"ruleId":"D2","level":"warning","message":{"text":"file-resources.fileResourceRoutes (cognitive 58): file-resources.fileResourceRoutes has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (26 pts), error handling 20 (21 pts), boolean chains 7, ternaries 4 (nesting depth added 10). None of this is in the body itself: all 58 points belong to 6 function items inside it that branch (a function literal at line 794, a function literal at line 549, a function literal at line 681, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac9745a9cba9315560683af17c64c3f6eaa82686df07ad5aabcc3342f183fda"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.providerActivityItem (cognitive 58): transcript-adapter.providerActivityItem has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 16 (27 pts), boolean chains 18, if/else 5 (10 pts), loops 2 (3 pts) (nesting depth added 17). Of this number, 50 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e5d9d53f2cbb4db15ea66fbdc161e61fc1f908e7220841bf4009cce58616e7"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.deriveRunStatusLabel (cognitive 58): transcript-adapter.deriveRunStatusLabel has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (42 pts), loops 3 (8 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 37). 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc96ab336364a009026f4f4c9faa9e87fa7520e31bef86ecf024b5b74501034"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewaysTab.GatewaysTab (cognitive 58): GatewaysTab.GatewaysTab has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 19 (44 pts), boolean chains 8, if/else 5, error handling 1 (nesting depth added 25). Most of this is not in the body itself: 14 of the 58 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 356, a function literal at line 544, a function literal at line 148, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"00639c7307d71366269577fa7447094df87eabf82e007e6fe4a18ebb8d25f9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.InputPane (cognitive 58): SkillStudio.InputPane has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 14 (24 pts), boolean chains 10 (nesting depth added 22). Of this number, 29 points are the body\u0027s own statements and 29 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"3900f22cf788724c0bbfbb730d471d3fea0c3661bd828dc2d80d5d492727fcf6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-home.seedManagedCodexHome (cognitive 57): codex-home.seedManagedCodexHome has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (37 pts), ternaries 3 (9 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 29). Of this number, 52 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8fd7d871392003a87d62c9da52f9933cfa323b5ad7c20c0d612eb35b7ea51"}},{"ruleId":"D2","level":"warning","message":{"text":"migration-compatibility.parseStatements (cognitive 57): migration-compatibility.parseStatements has cognitive complexity 57 (threshold 15). Drivers by points: if/else 20 (32 pts), loops 4 (10 pts), boolean chains 9, ternaries 2 (6 pts) (nesting depth added 22). Of this number, 56 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/db/src/migration-compatibility.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2948a4f95d224ddccee0fe9f97c9cf8780146f95b541b032fe11df203a858465"}},{"ruleId":"D2","level":"warning","message":{"text":"company-observability.createOpenCodeCompanyObservability.observe (cognitive 57): company-observability.createOpenCodeCompanyObservability.observe has cognitive complexity 57 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 13, ternaries 2 (5 pts), loops 1 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e7b4e9b88cdb2b40c7f00b3bf767896138b58ce5dc53fbeddc492220535fed"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-inventory.validateInventories (cognitive 57): capability-inventory.validateInventories has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (39 pts), loops 6 (8 pts), boolean chains 7, ternaries 1 (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/paperclip-runner/scripts/lib/capability-inventory.mjs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfd40735e4a5abdbf9853b21cea9e7b342455d043edc815e89ae43f0ba4e586"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-storage.fence (cognitive 57): native-harness-backup-storage.fence has cognitive complexity 57 (threshold 15). Drivers by points: if/else 21 (40 pts), boolean chains 15, ternaries 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcdeb83d307e57e8c2e3acb53344a8b3400de1d6e0c62bc5eea2abd3f8b87a2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.callRemoteConnectionProtocol (cognitive 57): tool-gateway.createToolGatewayService.callRemoteConnectionProtocol has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 14, ternaries 8 (13 pts), error handling 1 (nesting depth added 15). Of this number, 48 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5853}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d19fd308a7ccd0f5d249811e4793a5e69aa934c2cce680baa6777146ea0fb4f"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduling.createHeartbeatScheduling.dispatchClaimedIssueMonitor (cognitive 57): scheduling.createHeartbeatScheduling.dispatchClaimedIssueMonitor has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (26 pts), ternaries 13 (24 pts), boolean chains 6, error handling 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a667b496d5f7bb21ba0fb34bc2191ec59618dba75e7f08350b5ff11920b355"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-execution-stop.agentExecutionsHaveStopped (cognitive 57): agent-execution-stop.agentExecutionsHaveStopped has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 18, loops 3, error handling 1 (nesting depth added 18). Of this number, 56 points are the body\u0027s own statements and 1 belongs 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":"server/src/services/agent-execution-stop.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2965b81b20f97ad57b0597e46ac00fdcfb09f8a293cd3afb3ab2ac80345eb3e"}},{"ruleId":"D2","level":"warning","message":{"text":"wakeups.createInboundWakeups.processInboundWakeup (cognitive 57): wakeups.createInboundWakeups.processInboundWakeup has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 13 (26 pts), if/else 15 (18 pts), boolean chains 12, error handling 1 (nesting depth added 16). Of this number, 44 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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ba80a47800476551338225aaece3b3d60222f2111e33ae8dd2526054d73558"}},{"ruleId":"D2","level":"warning","message":{"text":"access-finalization.createOAuthAccessFinalization.finalizeOAuthAccess (cognitive 57): access-finalization.createOAuthAccessFinalization.finalizeOAuthAccess has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (32 pts), ternaries 7 (10 pts), boolean chains 9, loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 19). Of this number, 53 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":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aa1556f8cdb1f8cf871b9e5bbc47e7f80d06e17cab7f3c4f5a8160ef7e0017"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-readiness.testNativeRunnerAuthentication (cognitive 57): setup-readiness.testNativeRunnerAuthentication has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 13 (24 pts), if/else 11 (19 pts), boolean chains 11, error handling 2 (3 pts) (nesting depth added 20). Of this number, 55 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":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4a12fa36eac4e7bf35a5d2b4b530deef7547daaf395e1323e9feee345d148f"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.environmentService.ensureManagedSandboxEnvironment (cognitive 57): environments.environmentService.ensureManagedSandboxEnvironment has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (28 pts), ternaries 10 (17 pts), boolean chains 9, loops 1 (3 pts) (nesting depth added 19). Most of this is not in the body itself: 12 of the 57 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 429, 468, 631). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ba483276aa97295606f0f37ceb6e8cab699e875adf93e2a639e84e84bda01"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact-delivery.stageCursorCloudArtifact (cognitive 57): artifact-delivery.stageCursorCloudArtifact has cognitive complexity 57 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 20, loops 3 (4 pts), error handling 2 (3 pts) (nesting depth added 11). Of this number, 54 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/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae19d5a629aa78ec2011b2a205ec024a809c8d926311d6087c9da19b798f0b5"}},{"ruleId":"D2","level":"warning","message":{"text":"search-query-parser.parseSearchQuery (cognitive 57): search-query-parser.parseSearchQuery has cognitive complexity 57 (threshold 15). Drivers by points: if/else 21 (56 pts), loops 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"074058070439c6dcb94c709c006b74048333c38f3b56003565098b8e265cb626"}},{"ruleId":"D2","level":"warning","message":{"text":"Agents.Agents (cognitive 57): Agents.Agents has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 28, ternaries 12 (14 pts), if/else 8 (11 pts), loops 4 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 32 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d23596eb481641fec45997fd30ae0cb56ad15f0fc34c03a436893632323ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentToolsTab.AgentToolsTab (cognitive 57): AgentToolsTab.AgentToolsTab has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 12 (20 pts), if/else 13 (19 pts), boolean chains 13, loops 4 (5 pts) (nesting depth added 15). Of this number, 20 points are the body\u0027s own statements and 37 belong to 15 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cda0368d65d09579d855026cb1f6b6b699e57e7ee256bed61fae57ecc537eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyEnvironments.EnvironmentImageTemplatePanel (cognitive 57): CompanyEnvironments.EnvironmentImageTemplatePanel has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 19 (34 pts), boolean chains 11, if/else 8 (11 pts), error handling 1 (nesting depth added 18). Of this number, 46 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ce11d58204ce06bae6e3c6abc1ff42ae0510508fe568d9d8db1639161866d4"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.CompanyImport (cognitive 57): CompanyImport.CompanyImport has cognitive complexity 57 (threshold 15). Drivers by points: if/else 97 (169 pts), ternaries 44 (71 pts), boolean chains 66, loops 15 (30 pts), error handling 5 (10 pts) (nesting depth added 119). To reduce it, split the body into named stages: move each independent 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 (CompanyImport.CompanyImport::buildFinalAdapterOverrides) 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f4cfcad12f85496d4a068958adadc4ae6c7fd05c8a9afd165d640789166e7"}},{"ruleId":"D2","level":"warning","message":{"text":"local-process-sandbox.buildLocalProcessSandboxSpawnTarget (cognitive 56): local-process-sandbox.buildLocalProcessSandboxSpawnTarget has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 8 (17 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 23). Of this number, 50 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/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdcb0decfd5ffb49d0a060cd15e76a7e6cfff267cb22f411aeb242e3ef42eec"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-attachments.prepareGitHubPublicAttachment (cognitive 56): chat-github-attachments.prepareGitHubPublicAttachment has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (31 pts), ternaries 5 (12 pts), boolean chains 9, loops 2 (3 pts), error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53dacb3649acebb4f7edc7115c84ef4c57bc8e815f4761595922d035d5628ef"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-completion-delivery.chatCompletionDeliveryService.deliver (cognitive 56): chat-completion-delivery.chatCompletionDeliveryService.deliver has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (31 pts), ternaries 7 (15 pts), boolean chains 9, error handling 1 (nesting depth added 19). Of this number, 44 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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b56dd948fad40b3d9e5e9b148551f4d5d8a0432c3692582383029074ad50518"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-use.browserUseService.account (cognitive 56): browser-use.browserUseService.account has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 13, ternaries 5 (10 pts), error handling 1 (2 pts), loops 1 (nesting depth added 21). Most of this is not in the body itself: 12 of the 56 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1103, 1136). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8211ab678a967dc09221ce54650a2a9e97eab773ce8f6b8013ee663d857414"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-events.githubExplicitMentionEvent (cognitive 56): chat-github-events.githubExplicitMentionEvent has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 21 (35 pts), if/else 10 (11 pts), boolean chains 10 (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":"server/src/services/chat-github-events.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"189d0aa7f17e847e2346b8d2b87beffd84991865ec8db67e74b2510a97d84297"}},{"ruleId":"D2","level":"warning","message":{"text":"fast-responses.fastResponseService.process (cognitive 56): fast-responses.fastResponseService.process has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 10 (17 pts), boolean chains 13, error handling 4 (5 pts), loops 1 (2 pts) (nesting depth added 16). Of this number, 34 points are the body\u0027s own statements and 22 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":"server/src/services/fast-responses.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"9634d34a76b5080e9121c69ddab2eaded2c608fe262a6c4c48c7cebe919e32c4"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.setup (cognitive 56): email-channels.emailChannelService.setup has cognitive complexity 56 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 15, ternaries 3 (5 pts), error handling 2 (4 pts) (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 34 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":"server/src/services/email-channels.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e75a4372c2087817cb24ceb118f66e259c9f4ebd00c63f5994ddae73f5c0500"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-storage.uploadVerifiedWorkspaceSnapshot (cognitive 56): remote-workspace-snapshot-storage.uploadVerifiedWorkspaceSnapshot has cognitive complexity 56 (threshold 15). Drivers by points: if/else 29 (38 pts), boolean chains 13, ternaries 3, error handling 1, loops 1 (nesting depth added 9). Of this number, 32 points are the body\u0027s own statements and 24 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7916b625f0a79cdb6404c4ea7315c2b2630f59adde85e7c869fa3bf3400028b"}},{"ruleId":"D2","level":"warning","message":{"text":"restart-interrupted-turn.requestInterruptedNativeTurnRetry (cognitive 56): restart-interrupted-turn.requestInterruptedNativeTurnRetry has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 10 (16 pts), boolean chains 14, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c3d0392f7258c9a3351f6415339484b4987f09815326b4ebf6363ff974c34"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.resumeDeferredExecutionReceipts (cognitive 56): queue.createHeartbeatQueue.resumeDeferredExecutionReceipts has cognitive complexity 56 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 13 (15 pts), boolean chains 8, loops 5 (6 pts) (nesting depth added 17). 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e172aeef171bb6ad57c2270d49915653d4fd6303e88e21d2941b52b26a4916e"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-models.decisionModelService.resolve (cognitive 56): decision-models.decisionModelService.resolve has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (27 pts), ternaries 11 (20 pts), boolean chains 9 (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":"server/src/services/decision-models.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a592f6eead8523b4e2493351b34662f62ccd5fea9580bd4903725e13e9d56b0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.preparePluginTaskOwner (cognitive 56): native-session-executor.createRunnerdBackendWithinSessionClaim.preparePluginTaskOwner has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 17 (22 pts), if/else 15 (18 pts), boolean chains 16 (nesting depth added 8). Of this number, 52 points are the body\u0027s own statements and 4 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcaf016803e802d58a4f6f98c8fd4d0b5ba384a5a4e792b6d1b93b7f9b47712"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigForm.ModelDropdown (cognitive 56): AgentConfigForm.ModelDropdown has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 25, ternaries 8 (17 pts), if/else 10 (12 pts), loops 2 (nesting depth added 11). Of this number, 32 points are the body\u0027s own statements and 24 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f7dd9f25d8242b0b01fb5a7a67026f9b9eda5ee9508bfeb241268373505ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"IssuePropertiesArtifactsTab.IssuePropertiesArtifactsTab (cognitive 56): IssuePropertiesArtifactsTab.IssuePropertiesArtifactsTab has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 15 (29 pts), if/else 11 (20 pts), boolean chains 7 (nesting depth added 23). Most of this is not in the body itself: 13 of the 56 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 626, a function literal at line 715, a function literal at line 696, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8aa804116e5b88a284ebb313fff34a23f78d4afa65182177db52f9c029139b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderTraceStatusBadge.ProviderTraceStatusBadge (cognitive 56): ProviderTraceStatusBadge.ProviderTraceStatusBadge has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 15 (53 pts), boolean chains 2, if/else 1 (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProviderTraceStatusBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"333adcc66a1276e2d0f7705de35338745472eb541e2bfc6a84a03572bc86ecf0"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.NewSkillWizard (cognitive 56): CompanySkills.NewSkillWizard has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 19 (46 pts), boolean chains 10 (nesting depth added 27). Of this number, 32 points are the body\u0027s own statements and 24 belong to 5 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb07639a4eef4c1917b25f7a379185e80562fcfee554b5211b8736eae2cb21"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSources.SkillSources (cognitive 56): SkillSources.SkillSources has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 48, ternaries 6, if/else 1, loops 1. Of this number, 18 points are the body\u0027s own statements and 38 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"15529285d2e21ee430d4919a9461b5b7db49b06afbe4d5375c322de95850b995"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.NewSkillWizard (cognitive 56): CompanySkills.production.NewSkillWizard has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 19 (46 pts), boolean chains 10 (nesting depth added 27). Of this number, 32 points are the body\u0027s own statements and 24 belong to 5 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dbf5a06535f470a185f9620db3fa11baed4f5ec169a64fcd93228817c055fa"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatCompactInteractionCard.ConfirmationCard (cognitive 56): TaskChatCompactInteractionCard.ConfirmationCard has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 19 (31 pts), boolean chains 13, if/else 9 (11 pts), error handling 1 (nesting depth added 14). Of this number, 38 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbecf5197f18daa067607b8adcdfc917f8ed7a5108947de94c0321072ef7848"}},{"ruleId":"D2","level":"warning","message":{"text":"cases-read-only-api.installReadOnlyCaseFixtures (cognitive 56): cases-read-only-api.installReadOnlyCaseFixtures has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 17 (37 pts), boolean chains 11, if/else 7, match/switch 1 (nesting depth added 20). Most of this is not in the body itself: 1 of the 56 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 113, 107, 141, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/cases-read-only-api.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf59cfefa61bd3b8cb405cac7117d261807818fcb3eddbe1049bc6ccb763ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.createOpenCodeJsonlParser.\u003Creturned closure\u003E (cognitive 55): parse.createOpenCodeJsonlParser.\u003Creturned closure\u003E has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (40 pts), ternaries 5 (11 pts), boolean chains 3, 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/adapters/opencode-local/src/server/parse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50770842201fbd23ec966b41bda2ccd776196033a984f24ff8dfa3991656ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-provider-config.piProviderConfiguration (cognitive 55): pi-provider-config.piProviderConfiguration has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 12, loops 5 (9 pts), ternaries 4 (9 pts), error handling 1 (nesting depth added 18). Of this number, 30 points are the body\u0027s own statements and 25 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/paperclip-runner/src/drivers/acpx/pi-provider-config.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fb2eddcf3dc6fa2d37babd079a58a108a349e9da4799db0b0725596b7040fb"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-recovery.importNativeControllerRecovery (cognitive 55): native-controller-recovery.importNativeControllerRecovery has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 22, ternaries 3 (5 pts), error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 5 of the 55 points are its own statements and the rest belongs to one function literal inside it that branches (line 314). 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7091313aef4d68a2b342eba56ed9256c76ba2e2bedfc9e9b50e80f37ce59986"}},{"ruleId":"D2","level":"warning","message":{"text":"satisfied-connection-intents.findAvailableToolConnection (cognitive 55): satisfied-connection-intents.findAvailableToolConnection has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (38 pts), boolean chains 13, ternaries 3 (4 pts) (nesting depth added 20). Of this number, 54 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":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c369e91ca361c832d348de6bdd9c602f36d153456c4a38c6f929fde5f8e98105"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.reconcileHotRestartAdoption (cognitive 55): recovery.createHeartbeatRecovery.reconcileHotRestartAdoption has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (34 pts), ternaries 6 (11 pts), boolean chains 7, loops 2, error handling 1 (nesting depth added 18). Of this number, 51 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d0717fd47fcc26c7d70eff21b188ce88bfda4e5b1470156c5862c5153d128"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-router.poolMemberRuntimeConfig (cognitive 55): ai-connection-router.poolMemberRuntimeConfig has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 17 (34 pts), boolean chains 9, if/else 8 (9 pts), error handling 1 (3 pts) (nesting depth added 20). Of this number, 47 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-router.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"05111901d1015bb72431636d86916d767e1d546b38a5e15a3262ab3510c7c228"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-file-publication.projectTeamsFilePublication (cognitive 55): chat-teams-file-publication.projectTeamsFilePublication has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 21, ternaries 7 (11 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":"server/src/services/chat-teams-file-publication.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8993c906c1f91b4d240d84c0b9202d72fba04fb37396989bee19361fa87ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.nativeSessionFailureSourceCode (cognitive 55): native-session-executor.nativeSessionFailureSourceCode has cognitive complexity 55 (threshold 15). Drivers by points: if/else 43 (49 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9051}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46d8dd4deb49f96e4180f70ce199e32a9be712b462a89b4de8000082bdfc2f1"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-events.appendNativeSourceEvent (cognitive 55): heartbeat-run-events.appendNativeSourceEvent has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 18 (23 pts), if/else 13 (20 pts), boolean chains 12 (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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbee0c376b46ee8ddb8a54fee4d678c2d618db871625cfe2d0b33fc84584c7d3"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-auth.startAntigravityBrowserLogin (cognitive 55): antigravity-auth.startAntigravityBrowserLogin has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 9, error handling 4 (7 pts), ternaries 2 (4 pts), loops 3 (nesting depth added 15). None of this is in the body itself: all 55 points belong to 6 function literals inside it that branch (lines 157, 178, 197, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1768abbe15a768b9241b7bdff6e37ea063941e702ced9850d09192b5d54884b7"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-native-search.fetchTransientSlackSearch (cognitive 55): slack-native-search.fetchTransientSlackSearch has cognitive complexity 55 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 18, ternaries 6 (12 pts), 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":"server/src/services/connectors/slack-native-search.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"432a1c28055ba09f3173d13cc7428f71982904fec3f45ed39013375b3d795d68"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-issue-schedule.readIdleIssueSchedule (cognitive 55): idle-issue-schedule.readIdleIssueSchedule has cognitive complexity 55 (threshold 15). Drivers by points: boolean chains 25, if/else 10 (20 pts), ternaries 4 (9 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":"server/src/services/idle-issue-schedule.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2a585333faaf338283a7ecc29bc075f53fc62437455ea2a36ae447a4bc34be"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBasicsDialog.AgentBasicsDialog::submit (cognitive 55): AgentBasicsDialog.AgentBasicsDialog::submit has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 10 (28 pts), if/else 12 (15 pts), boolean chains 11, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AgentBasicsDialog.AgentBasicsDialog) 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":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7def3206d962aef2d092d3ae884dd8d1ba001d1be5a666016bf648c0737e9c67"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudAccessGate.CloudAccessGate (cognitive 55): CloudAccessGate.CloudAccessGate has cognitive complexity 55 (threshold 15). Drivers by points: boolean chains 21, if/else 13 (16 pts), ternaries 10 (16 pts), loops 1 (2 pts) (nesting depth added 10). Of this number, 37 points are the body\u0027s own statements and 18 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":"ui/src/components/CloudAccessGate.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"33304a3f0f85c224370ac192cf6f74ec0b912b1a82d6c0394e5e730d42f5ffb3"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestConnectionAuthorizationCard (cognitive 55): IssueThreadInteractionCard.RequestConnectionAuthorizationCard has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 18 (47 pts), boolean chains 5, if/else 2, error handling 1 (nesting depth added 29). Of this number, 53 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"627cc1141d02605e349d6bed946396995ccb6df601acc6fd90d01819a3aef9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMcpConnectStep.GenericMcpConnectStep (cognitive 55): GenericMcpConnectStep.GenericMcpConnectStep has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 25 (32 pts), boolean chains 13, if/else 9 (10 pts) (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 30 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22c2639a0a083feb058e31d3d10a2df4f84162abfaa38581f388c692208ea3c"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::claude_managed_provider::stream_remote_events (cognitive 55): paperclip_runner_core::claude_managed_provider::stream_remote_events has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (44 pts), match/switch 2 (8 pts), loops 2 (3 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b06e4dcd79c1e4ff21bc52aaccd1d9d1ef9e1a08ebe385f5bbbdcb63c099812"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute (cognitive 54): execute.execute has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 29 (36 pts), if/else 7 (9 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df2fccf3809cffd4b453c46e82cc158ca27010324c05306e7d1ac35b861c7ae"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.awaitRunnerSuspensionBarrier (cognitive 54): runnerd-codex-transport.awaitRunnerSuspensionBarrier has cognitive complexity 54 (threshold 15). Drivers by points: if/else 25 (43 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (nesting depth added 20). Of this number, 44 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8df85d8fd2d77b9176cceab9aaad03b84fc5b0cebae320b13d9d5f66a095d9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-distribution-integrity.createNativeAcpxDistributionSnapshot (cognitive 54): native-distribution-integrity.createNativeAcpxDistributionSnapshot has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (25 pts), loops 10 (13 pts), boolean chains 12, ternaries 3, error handling 1 (nesting depth added 10). Of this number, 38 points are the body\u0027s own statements and 16 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"38391d107915ba363125cb69245ab3c27618f253aae2334050451acce37ced30"}},{"ruleId":"D2","level":"warning","message":{"text":"form-retry.retrySlackFormAcknowledgement (cognitive 54): form-retry.retrySlackFormAcknowledgement has cognitive complexity 54 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 16, ternaries 3 (5 pts) (nesting depth added 12). Most of this is not in the body itself: 4 of the 54 points are its own statements and the rest belongs to one function literal inside it that branches (line 22). 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":"server/src/services/chat-channels/slack/form-retry.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c404faad0ecd1a7671d02ba084636589a5c811c0d08e7ada44585f946ed48a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.controllerBinding (cognitive 54): native-harness-filesystem-independence.controllerBinding has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 11, ternaries 5 (8 pts), loops 2 (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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0542ba435692be236a4f1cf49653db9c8d13dc50909f5346cbe3eff3c75c50ba"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-checks.githubReviewCheckService.dispatch (cognitive 54): chat-github-checks.githubReviewCheckService.dispatch has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 16 (33 pts), if/else 11 (14 pts), boolean chains 6, error handling 1 (nesting depth added 20). Most of this is not in the body itself: 4 of the 54 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 95, a function literal at line 105, guardedFetch, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-checks.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c109d689871ac321e3e5e07f69e02fad860b524027dd00bcac4fccbd63ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-plan-wait.planWaitFromFacts (cognitive 54): native-plan-wait.planWaitFromFacts has cognitive complexity 54 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 20, loops 2, error handling 1, ternaries 1 (nesting depth added 7). Of this number, 52 points are the body\u0027s own statements and 2 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":"server/src/services/native-runtime/native-plan-wait.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"174bcbd51aa55bc2d6d6dbfb0e5b1f8af381c9c3c543b9a5c9ed97c55e7c69e9"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.attestReviewedExternalChatRun (cognitive 54): run-preparation.attestReviewedExternalChatRun has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 11, error handling 3 (7 pts), ternaries 3 (4 pts), loops 1 (nesting depth added 17). Most of this is not in the body itself: 15 of the 54 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2050, 2126). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"6661acff07ea9498722b612228cd8aee5cbb130c944d5cb9d022e234a77a8b36"}},{"ruleId":"D2","level":"warning","message":{"text":"use-cases.runReleaseDrain (cognitive 54): use-cases.runReleaseDrain has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (35 pts), ternaries 4 (11 pts), boolean chains 7, loops 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f78d4e513f866e37fb4d01fe8c93d5f21b3ac63b6bafbe6f8057bf54c2b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-discord-command-registration.reconcileDiscordCommandRegistration (cognitive 54): chat-discord-command-registration.reconcileDiscordCommandRegistration has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 10 (19 pts), boolean chains 12, error handling 4 (nesting depth added 14). Of this number, 50 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a4f9fc75c22c75262c3c73c55559e300afced2d665338e38ded23eb35b3d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parseYamlBlock (cognitive 54): frontmatter.parseYamlBlock has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (41 pts), boolean chains 9, loops 3 (4 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/frontmatter.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb9b61b89080fb46724682fd4a37c24fa9a8ade98a4cb50ff7184e379d67b1d"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-console-app.RunnerConsoleApp (cognitive 54): runner-console-app.RunnerConsoleApp has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 27 (32 pts), if/else 12 (16 pts), boolean chains 6 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 28 belong to 10 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/src/react/runner-console-app.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af234193b1701ae9e374bbdf0189eb75aae528123b3728cc9d4b51567f8d425"}},{"ruleId":"D2","level":"warning","message":{"text":"app.QueryTab (cognitive 54): app.QueryTab has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 22 (29 pts), if/else 10 (12 pts), boolean chains 9, error handling 2, loops 2 (nesting depth added 9). Most of this is not in the body itself: 13 of the 54 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 4482, fileAnswer, a function literal at line 4385, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6319e9d4930c2dcbcdf78253b97c54fc7be746901abc44ab6ee00dce68ce35d0"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::validateManagedAgentBinding (cognitive 54): agents.agentRoutes::validateManagedAgentBinding has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 13, ternaries 5 (8 pts), error handling 2 (6 pts), loops 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. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9776d90289c3d0816ef95996b60b934b83d5b1ac4fb0011c36820a9f89e64b"}},{"ruleId":"D2","level":"warning","message":{"text":"interaction-audience.describeResolverAudience (cognitive 54): interaction-audience.describeResolverAudience has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 20 (49 pts), boolean chains 5 (nesting depth added 29). Of this number, 53 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":"ui/src/lib/interaction-audience.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"83284d407b6b631e3a2f258bba891b575337b19601aee8056b94c24033bb17ce"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-hierarchy-context.loadIssueHierarchyChildren (cognitive 54): issue-hierarchy-context.loadIssueHierarchyChildren has cognitive complexity 54 (threshold 15). Drivers by points: if/else 8 (32 pts), loops 6 (15 pts), boolean chains 7 (nesting depth added 33). Of this number, 53 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-hierarchy-context.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126bcbb99a920796abd0fb10d806b5a4d105e56e09a3a7d0f6a422e6fdbc861"}},{"ruleId":"D2","level":"warning","message":{"text":"SidePanelTab.SidePanelTab (cognitive 54): SidePanelTab.SidePanelTab has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 23 (30 pts), boolean chains 16, if/else 7 (8 pts) (nesting depth added 8). Of this number, 44 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelTab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad605a6993531ee91b252ed7a7a5dede95d80ecccadfa339cfa2f5c613359187"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCardTile.StatusCardTile (cognitive 54): StatusCardTile.StatusCardTile has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 24 (37 pts), boolean chains 16, if/else 1 (nesting depth added 13). Of this number, 49 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":"ui/src/pages/StatusCards/StatusCardTile.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8491ccf962329e3b1ddc7ec93f81dcb91e59a997f12c635742aa29a061d8e5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubConnectionRecovery.GitHubAppRecovery (cognitive 54): GitHubConnectionRecovery.GitHubAppRecovery has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 34, ternaries 10 (16 pts), error handling 3, if/else 1 (nesting depth added 6). Of this number, 44 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubConnectionRecovery.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cfdb5b0a003dc16611f59ab9e91a40bbe09c3c0de0645e4d8b05be440d37e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamCatalog.TeamCatalog (cognitive 54): TeamCatalog.TeamCatalog has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 12 (22 pts), boolean chains 21, if/else 9 (10 pts), loops 1 (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 18 belong to 9 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c7c352033c93621b551c7a58771051e841778f90f96b8864e619fdca3d7264"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectAccessProposal.Proposal (cognitive 54): ProjectAccessProposal.Proposal has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 14 (29 pts), boolean chains 20, if/else 5 (nesting depth added 15). Of this number, 43 points are the body\u0027s own statements and 11 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":"ui/storybook/support/design-proposals/ProjectAccessProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faff31b0381283425fafabed0c18ce738c985f0003161c680f14abcc7fb1da6"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-callback-bridge.startSandboxCallbackBridgeWorker.loop (cognitive 53): sandbox-callback-bridge.startSandboxCallbackBridgeWorker.loop has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (23 pts), error handling 5 (12 pts), ternaries 3 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 26). None of this is in the body itself: all 53 points belong to 2 function literals inside it that branch (lines 1490, 1495). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"049229ba4506aa43347213778fea35eb5e4aaef8abc75d7ae410e253ccbd6459"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printItemCompleted (cognitive 53): format-event.printItemCompleted has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 12 (26 pts), if/else 13 (19 pts), boolean chains 5, 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d8b4d51582b6af21ee05021a067720eea3311f4a1af1d5d3275890d13f9f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printCodexStreamEvent (cognitive 53): format-event.printCodexStreamEvent has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 10 (28 pts), if/else 14 (21 pts), boolean chains 3, error handling 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7206b19d39550cdeab185bc5f0b9ca56708510c91739c9023137fc6b8f10ef00"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-attachments.githubPublicAttachmentsFromMessage (cognitive 53): chat-github-attachments.githubPublicAttachmentsFromMessage has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 18, loops 4 (8 pts), ternaries 3 (nesting depth added 12). Of this number, 47 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e03b1f41533559344d2c644e980c07b565f523b30800a966791c2cf5908579"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.registerCallbacks (cognitive 53): chat-sdk-runtime.registerCallbacks has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (35 pts), ternaries 7 (14 pts), boolean chains 4 (nesting depth added 20). Most of this is not in the body itself: 8 of the 53 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 1932, 1997, 1864, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a9918a148039f663b7bf5b53590d19be86557c94ee6cab450bd4b285e66d21"}},{"ruleId":"D2","level":"warning","message":{"text":"records.agentRecords.create (cognitive 53): records.agentRecords.create has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 17 (29 pts), if/else 12 (14 pts), boolean chains 10 (nesting depth added 14). Most of this is not in the body itself: 1 of the 53 points is its own statement and the rest belongs to one function literal inside it that branches (line 17). 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":"server/src/modules/agent-lifecycle/adapters/records.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"976cbbde8b367933173490860aa6b1813afd1998d716f441b4d8b5aff26ef3e8"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.leaseEvents (cognitive 53): paperclip-cloud-connector.createPaperclipCloudConnector.leaseEvents has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 10, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb53830253c59630bb0bceeb48ca522cf55eca3219d3a72f9ee74087070008"}},{"ruleId":"D2","level":"warning","message":{"text":"github-access-discovery.loadGitHubGrantMetadata (cognitive 53): github-access-discovery.loadGitHubGrantMetadata has cognitive complexity 53 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 12 (22 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"625efa529d9a8cbe9b666f864e288bfcb3a0e88c27f028b3d2fddc032a6a1cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"form-idle-history.createSlackFormHistoryClassifier.\u003Creturned closure\u003E (cognitive 53): form-idle-history.createSlackFormHistoryClassifier.\u003Creturned closure\u003E has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 11, loops 4 (5 pts), error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-idle-history.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c758bc6cd11a38f76d7f4ed8aeab53c26dc9b3b74c46640504ded73f3d722b77"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.evaluatePolicyConditions (cognitive 53): tool-access-policy.evaluatePolicyConditions has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (40 pts), boolean chains 13 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"366415e1eb0ce9b63bcecd852e456009e53f7357fa88d9d49c5f4df966ab75dd"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.reconcileActiveRecoveryActions (cognitive 53): service.recoveryService.reconcileActiveRecoveryActions has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 4 (9 pts), boolean chains 7, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb063d1bcfc6fde6f1dc2a0a466983c170962ddf00ec596b3cfbdd988d51542"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.reconcileResolvedDependencyWakeBackstop (cognitive 53): service.recoveryService.reconcileResolvedDependencyWakeBackstop has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 6, ternaries 4 (5 pts), loops 3 (4 pts), error handling 1 (3 pts) (nesting depth added 21). Of this number, 49 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6068}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ae0195a99320c88b0c467154b5129b6db7bd47ca71614b2c3ce54da8111f34"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instruction-working-copies.agentInstructionWorkingCopyService.prepare (cognitive 53): agent-instruction-working-copies.agentInstructionWorkingCopyService.prepare has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 13, ternaries 6 (7 pts), loops 1 (nesting depth added 13). Of this number, 49 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2498998a4f1651db5369963e02fb18cfc483b21b9b875b1b8c22c4f5b0d700"}},{"ruleId":"D2","level":"warning","message":{"text":"native-runner-file-handoff.scrubNativeRunnerStagingResidue (cognitive 53): native-runner-file-handoff.scrubNativeRunnerStagingResidue has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (44 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (nesting depth added 27). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a4f6ed98dcef548665f51fd4ed9879abe88a49b8ab91fac2e98988143c458a"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspaces.reserveRemoteWorkspace (cognitive 53): remote-workspaces.reserveRemoteWorkspace has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 10 (15 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 17). None of this is in the body itself: all 53 points belong to 2 function literals inside it that branch (lines 207, 296). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0805d300823fb95f26a3769d8a941f723459d8b2617d8c6c909358e0650060f7"}},{"ruleId":"D2","level":"warning","message":{"text":"HarnessNativeSession.events (cognitive 53): HarnessNativeSession.events has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 6 (18 pts), boolean chains 10, loops 2 (3 pts), error handling 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c6edda8aeab265b120b391289343ed38a2f259132ca2b12d65c31be0eed895"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-runtime-extension.askPiNativeQuestion (cognitive 53): pi-runtime-extension.askPiNativeQuestion has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 9 (18 pts), boolean chains 11 (nesting depth added 17). Of this number, 48 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b368d4a4a9073913dcaf998676064b11c34fe8c074770214a69dcfb5ff2168"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.executeInSession (cognitive 53): plugin.executeInSession has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 10 (16 pts), boolean chains 3, error handling 3, loops 1 (nesting depth added 23). Of this number, 47 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d85b0ab698dbdd0fda1d23944db4ef8fe43ddf57cf64d5c29bd469f2b469b61"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intent-delivery.connectionIntentDeliveryService.deliver (cognitive 53): connection-intent-delivery.connectionIntentDeliveryService.deliver has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 12, ternaries 2 (4 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 16). Of this number, 39 points are the body\u0027s own statements and 14 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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb97edd356c0237f176aaa376659422a7af62a7400fc68aa37b9159ff744d4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-incoming-wake.readIdleIncomingWakeProof (cognitive 53): idle-incoming-wake.readIdleIncomingWakeProof has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (38 pts), boolean chains 9, loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 14). Of this number, 50 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-incoming-wake.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7283351850ecc397544ad72938e1c965b8cadbf170efdc3ea54288a175fde1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokBotSetupContent.GrokBotSetupContent (cognitive 53): GrokBotSetupContent.GrokBotSetupContent has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 12 (28 pts), boolean chains 25 (nesting depth added 16). Of this number, 51 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/GrokBotSetupContent.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf63feaaf274b6f85ca51afda4062239c52e602fddb8fc5044fa395b9c067c3"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.planToolChanges (cognitive 53): tools.planToolChanges has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 6 (10 pts), boolean chains 8, loops 6 (nesting depth added 18). Of this number, 37 points are the body\u0027s own statements and 16 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":"ui/src/lib/agent-configuration/tools.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a749e4e06f333cd491be1deb2e1b27bd8cd87da66be0fea8eed2ee38bafc7"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSourceTree.SkillSourceTree (cognitive 53): SkillSourceTree.SkillSourceTree has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 11 (20 pts), if/else 13 (16 pts), boolean chains 15, loops 1 (2 pts) (nesting depth added 13). Most of this is not in the body itself: 8 of the 53 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 138, toggleCheck, a function literal at line 122, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/SkillSourceTree.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"429e44ca8452d7cb0d643807426aa1dc10c59dfdad0c12b97e0f703675c421b8"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::tool_file_changes::codex_turn_diff_snapshot (cognitive 53): paperclip_runner_core::tool_file_changes::codex_turn_diff_snapshot has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (45 pts), boolean chains 6, loops 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/tool_file_changes.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87fdd8cca9da8e6461e31e98b79522985df1c571737f5c43b13151831ff1ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.executeTurn::executeTurn (cognitive 52): execute.executeTurn::executeTurn has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 21, ternaries 8 (9 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. This shape REPEATS in the file: one other method here (execute.executeTurn::executeTurn::toResult) 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aeb6f08c3d9e3b86658b816422cba129032e5337c6863844072c62cb2569d7"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConsole.LiveConsole (cognitive 52): LiveConsole.LiveConsole has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 26 (34 pts), if/else 12, boolean chains 6 (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 27 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, 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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70a4d5af74cd5335813d0f741d599e616b5a69fda578848383f9432a5810a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.canonicalProviderEventsFromOpenCodePart (cognitive 52): provider-events.canonicalProviderEventsFromOpenCodePart has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 17 (44 pts), boolean chains 4, if/else 4 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e302afe1e330017ef48ae06ea7b3b7ff2ed0db9efee3b8b0aa8a1f45456099b8"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarnessSession.#dispatchToolCall (cognitive 52): OpenCodeHarnessSession.#dispatchToolCall has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 6 (14 pts), boolean chains 10, error handling 2 (3 pts) (nesting depth added 20). Of this number, 49 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fd2ac4ac8fa5c4abcf498044302813ec08191915c4bad9bfb2fff71bfcb4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal-call-freshness.earlierToolCalls (cognitive 52): terminal-call-freshness.earlierToolCalls has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (26 pts), ternaries 5 (14 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 28). 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/paperclip-runner/src/live/terminal-call-freshness.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9342c27bdad280f2d3809094b87e3ed6fe18f80167f3fdf9362485a9bfcb8373"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createAuthorizationService.decideLowTrustAccess (cognitive 52): authorization.createAuthorizationService.decideLowTrustAccess has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 10, ternaries 4 (9 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":"server/src/services/authorization.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42714b875ad33f63ab551217712b71451d9d2f413173e634b6367792c176025"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-goals.runnerGoalService.act (cognitive 52): runner-goals.runnerGoalService.act has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (23 pts), ternaries 12 (21 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 24 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":"server/src/services/runner-goals.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61ae7525475fbf3095ec9c8019e6ef0eb4ab64724ed0331e621058bf5221ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleGitFiles (cognitive 52): git-workspace-restoration.assertReproducibleGitFiles has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 8, loops 6 (8 pts), ternaries 3 (6 pts) (nesting depth added 18). Of this number, 39 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b510e45fd58218cb4344c7dfdf8aeaaa106a4b0dcf34aa151f8f322d186fce"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.readLoadedSkillFile (cognitive 52): company-skills.companySkillService.readLoadedSkillFile has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 13, ternaries 5 (11 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d07f5b660175f070cb99c1ef5424af37cbec20f32edab1a32c1f1fc6649c837"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-run-publications.githubRunReplyState (cognitive 52): chat-run-publications.githubRunReplyState has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (36 pts), boolean chains 11, ternaries 3 (4 pts), loops 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"623e8d17d9ac8595ee22878b01482726cb05e02a589eb789c178253488f94792"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-service.voiceSessionService.start (cognitive 52): voice-session-service.voiceSessionService.start has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 8 (12 pts), boolean chains 9, error handling 4 (7 pts), loops 1 (3 pts) (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 27 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":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"29821af7ed71d97f2241277d591a03caaddcd291cb52d97de0b84269488e7b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.createTelegramMaintenance.processTelegramMaintenance (cognitive 52): maintenance.createTelegramMaintenance.processTelegramMaintenance has cognitive complexity 52 (threshold 15). Drivers by points: if/else 25 (34 pts), boolean chains 9, ternaries 4 (8 pts), error handling 1 (nesting depth added 13). Of this number, 48 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e7c6cbffad77390f08f19a4e461e8189d49da86bd09faa9cf4e82b2b3cfc65"}},{"ruleId":"D2","level":"warning","message":{"text":"resource-reconciliation.createChatResourceReconciliation.applyProviderAvailability (cognitive 52): resource-reconciliation.createChatResourceReconciliation.applyProviderAvailability has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 10 (28 pts), if/else 9 (17 pts), boolean chains 7 (nesting depth added 26). None of this is in the body itself: all 52 points belong to one function literal inside it that branches (line 386). 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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1aeec632d3a54d7c66f96fa7888a041695c13bcade1ab02f34aa97caa0ed56"}},{"ruleId":"D2","level":"warning","message":{"text":"speko-tool-setup.configureSpekoSessionTools (cognitive 52): speko-tool-setup.configureSpekoSessionTools has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 16, ternaries 2 (6 pts), error handling 2 (3 pts), loops 2 (nesting depth added 17). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/speko-tool-setup.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe0825f3539c50966215e6409e9f4274c4f700b29a00046ef444df24645cc18"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-authentication.createGitHubWebhookAuthentication.authenticateGitHubWebhook (cognitive 52): webhook-authentication.createGitHubWebhookAuthentication.authenticateGitHubWebhook has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 12, error handling 6 (9 pts), ternaries 2 (4 pts) (nesting depth added 13). Of this number, 25 points are the body\u0027s own statements and 27 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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fc5a354aeb5b072209ecb7226137867f5cfc60207315db5637b0a7637b842f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.nativeFailedRunRetryStateIsSafe (cognitive 52): native-session-executor.nativeFailedRunRetryStateIsSafe has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 10, loops 2 (4 pts), error handling 2 (3 pts), ternaries 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"2153b224034c6c131d518fbe1cf9dea7abdc9e46a513ba441d528ff25255ae49"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-harness-verification.agentHarnessVerificationService.verify (cognitive 52): agent-harness-verification.agentHarnessVerificationService.verify has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 18, ternaries 13 (18 pts), if/else 14 (16 pts) (nesting depth added 7). Of this number, 50 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":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2093c4925b27c42cb90150a2c425c537b4630c49121804cebc0cbf86a546a42c"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceRoutes::handleExecutionWorkspaceRuntimeCommand (cognitive 52): execution-workspaces.executionWorkspaceRoutes::handleExecutionWorkspaceRuntimeCommand has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 13, ternaries 9 (12 pts), error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3712b4d44261edf41ea805d524c59b5fddbbd46c6d9bdc98c8ef399a072c70"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-work.skillPackageWork.retire (cognitive 52): skill-package-work.skillPackageWork.retire has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (38 pts), loops 2 (7 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 27). Of this number, 16 points are the body\u0027s own statements and 36 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":"server/src/services/skill-package-work.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"70682b65fe91746e2829d046a8b7e7f651d64ff94ceba66bfab4661702f527e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentInviteDialog.MuseInvitationController (cognitive 52): ExternalAgentInviteDialog.MuseInvitationController has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 21, ternaries 13 (16 pts), if/else 14 (15 pts) (nesting depth added 4). Of this number, 31 points are the body\u0027s own statements and 21 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, 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6577a0494ad077c6ddab25a4b2c4b93dae1c284fb041151e2ae0d8eebb6652"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarAgents.SidebarAgents (cognitive 52): SidebarAgents.SidebarAgents has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 13, ternaries 9 (10 pts), loops 5 (nesting depth added 7). Most of this is not in the body itself: 10 of the 52 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 481, a function literal at line 328, 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f21804efda6a07ed01cb9d99098b45994b0948dbaef162a96ef7beaacc19b93"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::buildAdapterConfig (cognitive 52): OnboardingWizard.OnboardingWizardInner::buildAdapterConfig has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 21, ternaries 10 (18 pts), if/else 9 (13 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. This shape REPEATS in the file: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::handleLaunchToDashboard, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6353090f302bc01f873b0f281d20ab69a347bae9dfabc84222a2ef9334ee99"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarAgents.production.SidebarAgents (cognitive 52): SidebarAgents.production.SidebarAgents has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 13, ternaries 9 (10 pts), loops 5 (nesting depth added 7). Most of this is not in the body itself: 10 of the 52 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 481, a function literal at line 328, 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e54dff2252207263879e67b4f80b979974f8b72b377d45afcbca4552f352d2"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-sort.workflowSort (cognitive 52): workflow-sort.workflowSort has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (38 pts), loops 10 (12 pts), boolean chains 2 (nesting depth added 22). Of this number, 37 points are the body\u0027s own statements and 15 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/workflow-sort.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeef64ae6ba004f03effc3edb4dbff3586f2466b8bc1c4af6349882b0abb123"}},{"ruleId":"D2","level":"warning","message":{"text":"FileViewerSheet.FileContentViewer (cognitive 52): FileViewerSheet.FileContentViewer has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 21, ternaries 12 (17 pts), if/else 12 (14 pts) (nesting depth added 7). Of this number, 33 points are the body\u0027s own statements and 19 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebcccdb78141dfd7df45d0ff8d9da701c6cf5517121ebf465b0e636730b4a15"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsConnect.AppsConnect (cognitive 52): AppsConnect.AppsConnect has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 25, if/else 16 (22 pts), ternaries 3 (5 pts) (nesting depth added 8). Of this number, 49 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppsConnect.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a1e2b968fe06d254c836ef1662e141762716c9bafd91a2603d8b4c78c050a3"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyExport.filterPaperclipYaml (cognitive 52): CompanyExport.filterPaperclipYaml has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (41 pts), boolean chains 10, loops 1 (nesting depth added 24). Of this number, 48 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e955285b52e86486782486a9a2585fc803773d86ec6de6521288cba827509d1"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatCompactInteractionCard.TaskChatCompactInteractionCard (cognitive 52): TaskChatCompactInteractionCard.TaskChatCompactInteractionCard has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 17 (40 pts), boolean chains 8, if/else 4 (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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e365d7160c40613da2db4378623b447edc6be7883f62725d1cc5d7fbc8d62b"}},{"ruleId":"D2","level":"warning","message":{"text":"server.promptServer (cognitive 51): server.promptServer has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 11, ternaries 3 (8 pts), error handling 3 (6 pts) (nesting depth added 15). Of this number, 26 points are the body\u0027s own statements and 25 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":"cli/src/prompts/server.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"84039fe2847c207422739a6a6cb89cfb6c079387d5a8fb1b2004c0e07d62e065"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-sync.integrateImportedGitHead (cognitive 51): git-workspace-sync.integrateImportedGitHead has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 10, error handling 4 (10 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 24). Of this number, 49 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e0f4952abad43ca16f4c288080e37e51fc878b762011875b0206c930a2c4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ui.parseAcpxStdoutLine (cognitive 51): ui.parseAcpxStdoutLine has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 8 (21 pts), if/else 13 (17 pts), boolean chains 13 (nesting depth added 17). Of this number, 29 points are the body\u0027s own statements and 22 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/adapter-utils/src/acpx-engine/ui.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421410b55dce2332562b816dc7088f9d933dfc0cddef789f3f84abad4eb70cf"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.buildClaudeRuntimeConfig (cognitive 51): execute.buildClaudeRuntimeConfig has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 22, if/else 17 (20 pts), ternaries 8, loops 1 (nesting depth added 3). Of this number, 46 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90f8b639d93d459b939376ea566d36116ec42b5d6b7fdc76e77a01f0bc1ab10"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-copilot-binary.writeCopilotMaterialization (cognitive 51): materialize-copilot-binary.writeCopilotMaterialization has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (27 pts), error handling 4 (10 pts), boolean chains 7, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 25). Of this number, 48 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-copilot-binary.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"91509911c03434a595d495e6d19bf5417bed26f2213cd367a67b63267614150c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-interaction-policy.agentInteractionDenial (cognitive 51): agent-interaction-policy.agentInteractionDenial has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 12, ternaries 6 (8 pts), loops 1, match/switch 1 (nesting depth added 14). Of this number, 46 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":"server/src/services/agent-interaction-policy.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fa7a47228868e29d7c527633652dc64b5da5d86156e52bf5adc50d67bb1f82"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence-classifier.classifyNativeEvidence (cognitive 51): evidence-classifier.classifyNativeEvidence has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 14 (19 pts), if/else 15 (18 pts), boolean chains 13, loops 1 (nesting depth added 8). Of this number, 31 points are the body\u0027s own statements and 20 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce90af57a86c7b040b7e2314abbb6b59e4cecf7461d2d5083883c5ac841720af"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.readUrlSkillImports (cognitive 51): company-skills.readUrlSkillImports has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 14 (36 pts), if/else 5 (9 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 27). Of this number, 41 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":"server/src/services/company-skills.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975d810f4760ce0b9b09a601179a623881280406966d9c0bbbeb54dedd92a92"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.writeAudit (cognitive 51): tool-gateway.createToolGatewayService.writeAudit has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 21 (44 pts), boolean chains 6, error handling 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46f6a511ef2a3583ce9f0412d70e6e1462f4d31f78181214b0e99cd34c244b6"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeApprovedAgentInvocation (cognitive 51): tool-gateway.createToolGatewayService.executeApprovedAgentInvocation has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 9 (15 pts), boolean chains 9, error handling 2 (nesting depth added 13). Of this number, 39 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":10228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7740515be29e7f537411bd4ad57fb51d64d8a5d819932df0e258eb8d351b814a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.prepareProjectRepositoryWorkspaces (cognitive 51): workspaces.prepareProjectRepositoryWorkspaces has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 7 (14 pts), boolean chains 11, loops 2 (nesting depth added 18). Of this number, 49 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6a008762942941333e9df5d07d4a77927c71cd32cb35530dc9a118419c669a"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.search::aggregatorAlternatives (cognitive 51): connection-intents.connectionIntentService.search::aggregatorAlternatives has cognitive complexity 51 (threshold 15). Drivers by points: if/else 6 (19 pts), ternaries 5 (16 pts), loops 3 (9 pts), boolean chains 7 (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. This shape REPEATS in the file: one other method here (connection-intents.connectionIntentService.search) 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":"server/src/services/connection-intents.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b576545cb2ee34233fd13a44c16a570b44e6f8d8c6fe03b899afe4db555283ac"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.resumeRetryableNativeProcessSessions (cognitive 51): recovery.createHeartbeatRecovery.resumeRetryableNativeProcessSessions has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 7 (10 pts), boolean chains 8, loops 1 (nesting depth added 21). Of this number, 43 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0926b3f1f0a2960d03b189c9f02a3bd4bd92857c15955971390f9ebc8be13c0"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.withChatControlRecoveryGate (cognitive 51): queue.createHeartbeatQueue.withChatControlRecoveryGate has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 13, ternaries 7 (13 pts), error handling 1 (nesting depth added 13). Of this number, 22 points are the body\u0027s own statements and 29 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d2a5adec549afa9be0fd602b80c4eb9de6e581c3f2d60df6a9b17b98697c42"}},{"ruleId":"D2","level":"warning","message":{"text":"command-work.registerDiscordCommandWork (cognitive 51): command-work.registerDiscordCommandWork has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 8 (13 pts), boolean chains 9, ternaries 3 (5 pts), error handling 2 (4 pts) (nesting depth added 17). None of this is in the body itself: all 51 points belong to 8 function items inside it that branch (a function literal at line 47, refresh, next, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/command-work.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9863f7445e9122c0a31f08e105af3684d48fb91873ebc4f8548c56e8d56c9"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.lifecycle (cognitive 51): voice-inbound-service.voiceInboundService.lifecycle has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 13, ternaries 4 (9 pts) (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 26 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9bd1bc10b02590cfa31a8c3166d7b64df93ee70e52f4f1e26bcbb6b3c91da4"}},{"ruleId":"D2","level":"warning","message":{"text":"completion.createSlackCompletion.resumeLocked (cognitive 51): completion.createSlackCompletion.resumeLocked has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 8 (29 pts), if/else 9 (12 pts), boolean chains 8, error handling 2 (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":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bb0a857d517fa18fcb0216b26c1cdc40c68d286e679066196102776182ebbf"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-probes.createSetupProbes.test (cognitive 51): setup-probes.createSetupProbes.test has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 11, ternaries 5 (8 pts), loops 1 (3 pts) (nesting depth added 16). Most of this is not in the body itself: 1 of the 51 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 105, 295, 246). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"913fe56b3ad4f68652314ef967567a7e49514363fdc076b868ab7acec59049cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAcpxSession.dispatchTool (cognitive 51): CodexAcpxSession.dispatchTool has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 12, ternaries 3 (10 pts), error handling 1 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059e1b02d1534036fc3bf10b59a48b3ec645dd2b286b4fa53270c4a63db99ed"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-incoming.readSlackIdleIncomingProof (cognitive 51): idle-incoming.readSlackIdleIncomingProof has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 5 (9 pts), ternaries 4 (8 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 23). Of this number, 47 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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a174cb29ab40eb4e46169f3e30da5a6f057aa101a8595a047b29910a7e8cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueScheduledRetryCard.IssueScheduledRetryCard (cognitive 51): IssueScheduledRetryCard.IssueScheduledRetryCard has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 23 (35 pts), boolean chains 10, if/else 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueScheduledRetryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1830478f82560eb6070e14e5811fd7c4e488785c2137a40fe400b9e124cd9b50"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatChainOfThought (cognitive 51): IssueChatThread.IssueChatChainOfThought has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 20 (36 pts), if/else 6 (8 pts), boolean chains 7 (nesting depth added 18). Of this number, 48 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8777676d38ab6beb6857ef52744b770a871471581ff79990528dab980b76a76"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.constructor (cognitive 50): DurablePrpCodexTransport.constructor has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 16, ternaries 6 (9 pts) (nesting depth added 9). Of this number, 47 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2280a0fd406ded6ac3cd44b0a66a2d426db88d379139f61dd0f15347b6b28a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"logger.createHttpLogger (cognitive 50): logger.createHttpLogger has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (28 pts), ternaries 7 (13 pts), boolean chains 9 (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":"server/src/middleware/logger.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f58c548f0ed6ea5e42b382b5c5bd08e16c49a1a73fe6a17a819a4741a279ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-repository-dependencies.skillRepositoryDependencies (cognitive 50): skill-repository-dependencies.skillRepositoryDependencies has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 6 (15 pts), boolean chains 6, ternaries 1 (5 pts) (nesting depth added 26). Of this number, 42 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":"server/src/services/skill-repository-dependencies.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7fcba97cf9f6d54b29f23772b4e8eb997a90f10b31012e6110b7d746f3f97c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-archive.nativeControllerEvidenceDescriptor (cognitive 50): native-controller-archive.nativeControllerEvidenceDescriptor has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 13, ternaries 11 (13 pts), loops 2 (4 pts) (nesting depth added 13). Of this number, 46 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":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3943a8dd5f04474580d218ca24c5a0d2625cfa2200e27066be0f55dc6c2e41bf"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-response-comments.githubResponseCommentService.acknowledge (cognitive 50): chat-github-response-comments.githubResponseCommentService.acknowledge has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 14, ternaries 4 (10 pts) (nesting depth added 17). Most of this is not in the body itself: 2 of the 50 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 201, 202, 198, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f606c6ede1ff375790afeab3fac773beb0d94809aa1a6ad088c2c3e9359320de"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.reconcileExecutionWorkspaceBranch (cognitive 50): execution-workspaces.executionWorkspaceService.reconcileExecutionWorkspaceBranch has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (28 pts), ternaries 9 (13 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 15). Most of this is not in the body itself: 9 of the 50 points are its own statements and the rest belongs to one function literal inside it that branches (line 5245). 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2031a92cb828438d2a93bba3218ff244db4424606e66ea5025ca72138f9eeb75"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-auth-jwt.verifyLocalAgentJwt (cognitive 50): agent-auth-jwt.verifyLocalAgentJwt has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 21 (23 pts), if/else 15, boolean chains 12 (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":"server/src/agent-auth-jwt.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aed5b7d9a414ba59646a025dc9100be3000db5e742b2df193485026da6bbe3f"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.dispatchResolvedInteractionIfCurrent (cognitive 50): postgres.createPostgresRunDispatchAdapter.dispatchResolvedInteractionIfCurrent has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 17, ternaries 5 (11 pts), error handling 1 (nesting depth added 11). Most of this is not in the body itself: 1 of the 50 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 1550, dispatchLockedRun, a function literal at line 1480). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b02b5e7e0b8c2cd2f0832d807578d66c30ba51fe1868af546579ecc77fac48"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.enumerateWorkspaceFiles (cognitive 50): workspace-file-resources.enumerateWorkspaceFiles has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (37 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 28). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3911df04ed2102147853d984aa8f4b853e2f6cea87e34575ceefff948fd8c5f"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-inline-images.jpeg (cognitive 50): chat-teams-inline-images.jpeg has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 13, loops 4 (9 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"11401bd68424d4d66dc7a681f53b4daa835c49c20c2efa4370925413ceec859e"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createChatPublicationAuthorization.claimPublicationTransportAuthorization (cognitive 50): authorization.createChatPublicationAuthorization.claimPublicationTransportAuthorization has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 15, error handling 2 (4 pts), ternaries 4 (nesting depth added 12). None of this is in the body itself: all 50 points belong to one function literal inside it that branches (line 69). 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":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b165e01e43ca4eded7e00c60646dd906323a6a892ab6925d89f326dd32c44e9"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-photo.supportedJpeg (cognitive 50): chat-telegram-photo.supportedJpeg has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 13, loops 4 (9 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":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1e038f620b2cbc85cae708fe05c4e40c115fd13838a76791d398574019856a"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.listGitHubRepositories (cognitive 50): tool-access.toolAccessService.listGitHubRepositories has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 11, ternaries 4 (10 pts), loops 3 (6 pts), error handling 1 (3 pts) (nesting depth added 23). None of this is in the body itself: all 50 points belong to 6 function literals inside it that branch (lines 4347, 4398, 4445, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":4342}}}],"partialFingerprints":{"codehealthFindingId/v1":"934fd965d95c2dca849fb3386c94962dbc24cf672031137612570fb80b96ab31"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-chat-messages.sendAgentChatMessage (cognitive 50): agent-chat-messages.sendAgentChatMessage has cognitive complexity 50 (threshold 15). Drivers by points: if/else 34 (37 pts), boolean chains 11, loops 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 5 of the 50 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 48, 62, 85, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-chat-messages.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5701f131fb29ee001eed30b51a78d3ff049095a930f816b3b6a0b781d9d9360"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.createPlugin (cognitive 50): plugin.createPlugin has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 12, error handling 5 (6 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 25 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/plugin.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55db532477bcad114722b6f58e196edf5bfd30017df7c66bd71d106074f30ab"}},{"ruleId":"D2","level":"warning","message":{"text":"task-chat-activity-presentation.providerActivityPresentation (cognitive 50): task-chat-activity-presentation.providerActivityPresentation has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 15 (33 pts), if/else 6 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 24). 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":"ui/src/components/task-chat/task-chat-activity-presentation.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48bb230381094126eb9a34a4496262f73617dce2da8309655dd1f49f4c3bc84"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.phaseSummary (cognitive 50): transcript-adapter.phaseSummary has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 9 (17 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 19). Of this number, 41 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a1c9c270de13fe8224c9d16a324b43e168f453769e29e8a24e6d7e7d15d38b"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard.Dashboard (cognitive 50): Dashboard.Dashboard has cognitive complexity 50 (threshold 15). Drivers by points: loops 13 (15 pts), if/else 11 (12 pts), boolean chains 11, ternaries 7 (10 pts), error handling 1 (2 pts) (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 27 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":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0268979857feaa6b99c4bf325e98442435fe6e2b7a06270292d62271029e663"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorReviewPanel.CoordinatorReviewPanelContent (cognitive 50): CoordinatorReviewPanel.CoordinatorReviewPanelContent has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 18 (37 pts), boolean chains 10, if/else 1 (3 pts) (nesting depth added 21). Of this number, 46 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorReviewPanel.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39e576ee8b4114d0ba77b5c4b3fdcf35fc057390141eab04355b533547d6a22"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatCompactInteractionCard.ItemVerdictsCard (cognitive 50): TaskChatCompactInteractionCard.ItemVerdictsCard has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 16 (20 pts), boolean chains 16, if/else 11 (12 pts), error handling 1, loops 1 (nesting depth added 5). Of this number, 26 points are the body\u0027s own statements and 24 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b6877693878e31bcc17739e0b081de9eb8df7436e2e54044eab35e0a7d7888"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatQueuedMessages.TaskChatQueuedMessages::runRowAction (cognitive 50): TaskChatQueuedMessages.TaskChatQueuedMessages::runRowAction has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 12 (31 pts), if/else 8 (10 pts), loops 3 (6 pts), boolean chains 2, 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":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0324b3dfb10c3dc2abda6e75bd2e23dfc31a6aa1768bc6ab0df01afdd0afdd1"}},{"ruleId":"D2","level":"warning","message":{"text":"acp.testCodexAcpEnvironment (cognitive 49): acp.testCodexAcpEnvironment has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 16 (26 pts), if/else 11 (16 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37eab5b357c516a5504f34fb2528b761a0117b03c446c7fd4518aa45678f9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"replay-contract.bindingIssues (cognitive 49): replay-contract.bindingIssues has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 5 (12 pts), boolean chains 2 (nesting depth added 23). Of this number, 32 points are the body\u0027s own statements and 17 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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec55857bc666bc6073a8936d4253e56a31fe266e73db886c80d684afcba6f29"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-runner.runCodexCodexTracer (cognitive 49): codex-runner.runCodexCodexTracer has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 15, if/else 9 (11 pts), error handling 2 (6 pts) (nesting depth added 9). Of this number, 41 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c4879ec3d44b27b167f2a42d59e17dc65d2b088fc3991688579cf990b89ee"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#prepareLaunchWork (cognitive 49): DurablePrpCodexTransport.#prepareLaunchWork has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 14 (17 pts), boolean chains 12, 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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8580db316d14432767dfcb62b3121862485b90b329586bf30305ca13fbfdbc43"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityLiveSession.#connect (cognitive 49): CapabilityLiveSession.#connect has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 15 (22 pts), if/else 10 (20 pts), boolean chains 7 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d50361f3048fd5437133ac8c6891b8df69f8ba22813b4abcd0ac890b4d1ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"config.loadConfig (cognitive 49): config.loadConfig has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 23 (25 pts), boolean chains 20, error handling 1 (2 pts), if/else 2 (nesting depth added 3). 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":"server/src/config.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4f002a7d4dcb2faea3afac54af0c0e8796a30bc020176e0135300313900e65"}},{"ruleId":"D2","level":"warning","message":{"text":"task-workspace-access.assertTaskWorkspaceExecutionAccess (cognitive 49): task-workspace-access.assertTaskWorkspaceExecutionAccess has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 21, ternaries 13 (15 pts), if/else 12, loops 1 (nesting depth added 2). None of this is in the body itself: all 49 points belong to 2 function literals inside it that branch (lines 132, 204). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-workspace-access.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d833082c3e6ed4ed25a78cd297e70cc96ff9c50d247ee096738d4f828f79da9b"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.namedGatewayContextProtocol (cognitive 49): tool-gateway.createToolGatewayService.namedGatewayContextProtocol has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 9 (22 pts), if/else 6 (12 pts), loops 4 (10 pts), boolean chains 5 (nesting depth added 25). Of this number, 46 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6491ae999891b5469bdb20979141a781aa579f8ebbc1662d1ed0adcac763211d"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-recovery-resolution.validateExecutionReconciliationInScope (cognitive 49): execution-recovery-resolution.validateExecutionReconciliationInScope has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 21, if/else 13 (19 pts), ternaries 3 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03f4a78f7d8b909434c9d79ff9386a3fb36b326c381f1884c4bf2675e83aba2"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-enrollment.createSlackCloudEnrollment.\u003Creturned closure\u003E (cognitive 49): cloud-enrollment.createSlackCloudEnrollment.\u003Creturned closure\u003E has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 14 (27 pts), boolean chains 12, if/else 9, error handling 1 (nesting depth added 13). Of this number, 38 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0418ebcd3f6d817496cf8731cb0bcc2ef3376b021f76a3c2844b82e5da8cbb54"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-launch-assets.stageRemoteLaunchAssets (cognitive 49): remote-launch-assets.stageRemoteLaunchAssets has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 8, loops 4 (6 pts), ternaries 3 (6 pts) (nesting depth added 17). Of this number, 18 points are the body\u0027s own statements and 31 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":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf115104ad0b2ae00d994c57e2eac4a23a473e6a0470ba1419bea22da3892b2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.port.dispatch (cognitive 49): native-broker.createNativeExternalBroker.port.dispatch has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 10, ternaries 1 (nesting depth added 18). None of this is in the body itself: all 49 points belong to one function literal inside it that branches (line 239). 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a670217cd706b45fc75ccdb94b09a640f40778842ce89af8f31216a3452f15"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.clampProviderSpanAttributes (cognitive 49): plugin-host-services.clampProviderSpanAttributes has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (40 pts), boolean chains 8, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1f992d925ceeba28ff5995927101116819f788f7bf36beb9f4179c97e4cafc"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.buildActivityToast (cognitive 49): LiveUpdatesProvider.buildActivityToast has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 19 (35 pts), boolean chains 8, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"110b9a6aa69a019c8fe14f813f548f73a2d8eb9d72d4974e213acf528dffb53a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatThreadView.renderItem (cognitive 49): TaskChatThreadView.renderItem has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 19 (44 pts), boolean chains 4, match/switch 1 (nesting depth added 25). Of this number, 44 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91daf9d36a68f482b7e09333cf85494f2923aa8513d217f5e4a06fcab6acd22"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewaysList.GatewaysList (cognitive 49): GatewaysList.GatewaysList has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 16 (46 pts), boolean chains 2, if/else 1 (nesting depth added 30). Most of this is not in the body itself: 9 of the 49 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 99, 179, 229, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/GatewaysList.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c25cf9580a7cefc689460e75f134d5cc2d384293f32905444f6f4929e807ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"BulkAgentSettingsProposal.BulkEditor (cognitive 49): BulkAgentSettingsProposal.BulkEditor has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 30, ternaries 15 (16 pts), if/else 3 (nesting depth added 1). Of this number, 34 points are the body\u0027s own statements and 15 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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6137520894f7570cb3477e180b76f81cbc8784fcb4dfc7c4e67af07b12106397"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-mock-control-plane-adapter.isSemanticToolRuntimeSnapshot (cognitive 48): capability-mock-control-plane-adapter.isSemanticToolRuntimeSnapshot has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 21, ternaries 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 48 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1923, 2026, 2032). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50fd8200af645d1a93da7956a424cdbbd41d9039e3040f7fc6148756a8c08e1"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityLiveSession.sendMessage (cognitive 48): CapabilityLiveSession.sendMessage has cognitive complexity 48 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 9, error handling 5 (8 pts), ternaries 4 (6 pts), loops 1 (nesting depth added 8). Of this number, 46 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2783ae40714de2babef72121ef878c09063b81ba8903f521b10a8c7bea85d2"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.downloadPhotonAttachment (cognitive 48): attachments.downloadPhotonAttachment has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 14, error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/attachments.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f9bafe70d7f4c23881252f7dfc4bd054fc320a375e0a1e9c1d980a1a7c57cc"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle (cognitive 48): plugin-worker-manager.createPluginWorkerHandle has cognitive complexity 48 (threshold 15). Drivers by points: if/else 248 (297 pts), ternaries 53 (94 pts), boolean chains 75, error handling 22 (30 pts), loops 21 (25 pts) (nesting depth added 102). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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: 5 other methods here (plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, plugin-worker-manager.createPluginWorkerHandle::openDuplexChannel, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"d896b822abfadfe11123fcfe5122ad4a28bfa38ae596e7c454c6581df762bba1"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-operations.workspaceOperationService.createRecorder.recordOperation (cognitive 48): workspace-operations.workspaceOperationService.createRecorder.recordOperation has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 12, ternaries 4 (8 pts), error handling 2 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 30 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7956aefe2e7382b0566e9548a1b3a8b4ff69e2d360eaa8567b5eaa3a5f111d"}},{"ruleId":"D2","level":"warning","message":{"text":"failures.sanitizeHttpFailure (cognitive 48): failures.sanitizeHttpFailure has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 10, ternaries 2 (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":"server/src/services/tool-access/catalog/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcd8d32c16d2e240f9ebe7840d7c8e1e4473415f619138af93c146082b012dc"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-task-directory-retention.inspectTaskDirectoryFolder (cognitive 48): isolated-task-directory-retention.inspectTaskDirectoryFolder has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 13, ternaries 2, error handling 1 (nesting depth added 7). Of this number, 34 points are the body\u0027s own statements and 14 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8673ba58ae13a161544a674d0dc9dab2df17b61611f62ee72acad968abcca733"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-repository-rehome.rehomeIsolatedRepositoryWorkspace (cognitive 48): isolated-repository-rehome.rehomeIsolatedRepositoryWorkspace has cognitive complexity 48 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 11, ternaries 3, error handling 2, loops 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 4 of the 48 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 393, 479, 463). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc163a0a54ddb64c147327798ec7398f362ef22e8ac25e59e4afeeb58b0b74fc"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-delivery.slackDelivery (cognitive 48): slack-delivery.slackDelivery has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 5 (14 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 24). Of this number, 47 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":"server/src/services/connectors/slack-delivery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de3fbda4084e5b7feac7d2597008e9eee2b69b2c49a6262205c86979bd44396"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.runTestToolInvocation (cognitive 48): tool-gateway.createToolGatewayService.runTestToolInvocation has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 18 (37 pts), if/else 5 (6 pts), boolean chains 4, error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":9538}}}],"partialFingerprints":{"codehealthFindingId/v1":"be91a72a0820cfda4fdc5e2ee9d748f3c16e2a39c83cf36f80fd9570a4a97da6"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.update (cognitive 48): routines.routineService.update has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (25 pts), ternaries 15 (16 pts), boolean chains 7 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 28 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":"server/src/services/routines.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b246ce370cd705943db2fa1742f445b1aa6a1b5ab33925aa5a4de65b1b128df"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-projection.executionProjectionsForRuns (cognitive 48): execution-projection.executionProjectionsForRuns has cognitive complexity 48 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 6 (12 pts), ternaries 8 (11 pts), boolean chains 8 (nesting depth added 17). Of this number, 37 points are the body\u0027s own statements and 11 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":"server/src/services/execution-projection.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4102f1c84d900d02f14f6d1d615641c9a7deef9f50482d4c59e9e70bc80ca53"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-recovery-attachments.attachPreservedRemoteWorkspaceSnapshots (cognitive 48): remote-workspace-recovery-attachments.attachPreservedRemoteWorkspaceSnapshots has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 7, ternaries 3 (4 pts), loops 1 (nesting depth added 20). Of this number, 44 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e5250acbfffb65071574407b9b99962c2c6d0c8de646918b563b2c1d6da937"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact-delivery.recoverPublishedArtifactAliases (cognitive 48): artifact-delivery.recoverPublishedArtifactAliases has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 25). Of this number, 36 points are the body\u0027s own statements and 12 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/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93fe2b38c4fb3add5e56b5ea7bcb5c75da4cdda2a82522e168ff36ed79ab2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipSemanticDispatcher.dispatch (cognitive 48): PaperclipSemanticDispatcher.dispatch has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (24 pts), error handling 6 (10 pts), boolean chains 7, ternaries 5 (7 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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad98b71b08bc89fe5410e5d6b79d9c6d8b4e281992c42cd80e59c1fdb705843"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.syncInFileMappings (cognitive 48): file-sync.syncInFileMappings has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 6 (11 pts), loops 5 (6 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 21). Of this number, 32 points are the body\u0027s own statements and 16 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05c74c82145554da0105a662b108ed6809e5bcbabb00ef34633aab889770c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"events.createPublicMcpEvents.subscribe (cognitive 48): events.createPublicMcpEvents.subscribe has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 8 (12 pts), boolean chains 10, loops 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 14 of the 48 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 166, 122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec3485de63f002a77d488bb9adc09f693cbf59154637da2a887ae1e5bb696f9"}},{"ruleId":"D2","level":"warning","message":{"text":"status-cards.statusCardRoutes (cognitive 48): status-cards.statusCardRoutes has cognitive complexity 48 (threshold 15). Drivers by points: if/else 19, ternaries 17 (19 pts), boolean chains 5, error handling 3 (5 pts) (nesting depth added 4). None of this is in the body itself: all 48 points belong to 18 function items inside it that branch (enqueueRefresh, enqueueCompile, a function literal at line 204, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/status-cards.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2462fa8c1b7c3ed72957087cb158fa90bb45768e4d1759dc3f326f235258d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorTasks.CoordinatorTasks (cognitive 48): CoordinatorTasks.CoordinatorTasks has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 39 (43 pts), boolean chains 35, if/else 20 (22 pts), loops 8 (13 pts) (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CoordinatorTasks.CoordinatorTasks::updateFilters) 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":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab662fa43bf4e73d4df97a0e67eeb3d63db99b07d93dc49162d5e8f49005118"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatProviderActivity (cognitive 48): IssueChatThread.IssueChatProviderActivity has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 25 (38 pts), boolean chains 10 (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 21 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86f40b0f7493c656191fd22f58b5448bcdd388db4b065a8d37d6fc34c5d53e"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatSystemMessage (cognitive 48): IssueChatThread.IssueChatSystemMessage has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 22 (32 pts), boolean chains 10, if/else 5 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2693fdaf05403b2fc0e9020337a7c3ef527c427401a35cb6e2018bc34caf99"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatComposer (cognitive 48): IssueChatThread.IssueChatComposer has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 66 (111 pts), if/else 76 (105 pts), boolean chains 66, error handling 3, loops 1 (nesting depth added 74). To reduce it, split the body into named stages: move each independent 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 (IssueChatThread.IssueChatComposer::resendUncertainSubmission, IssueChatThread.IssueChatComposer::submitComment, IssueChatThread.IssueChatComposer::attachFile) 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f29a9d8956f9c6fc78395fe5b34c47684fbb56c26959c421d047c87028082a"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedCard.resolveContent (cognitive 48): FeedCard.resolveContent has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 13 (35 pts), if/else 7 (8 pts), boolean chains 5 (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":"ui/src/components/FeedCard.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade663a4f2d7df35f62ae512d53014ab43c028e1f7641519df840d6ee8e07f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointDetail.ChatEndpointDetail (cognitive 48): ChatEndpointDetail.ChatEndpointDetail has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 30, ternaries 12 (13 pts), if/else 5 (nesting depth added 1). Of this number, 45 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2646ca34eebaa55133248285c2cd73d29458290c4ab4fb4c6813ce2800f4e65"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportFromVaultDialog.SelectStep (cognitive 48): ImportFromVaultDialog.SelectStep has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 10 (33 pts), boolean chains 14, if/else 1 (nesting depth added 23). Of this number, 29 points are the body\u0027s own statements and 19 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb470717ae5ac1018deb40fc73ac4d610853b1c5db450a7d21d2c7f49daf3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.importAdapterValues (cognitive 48): CompanyImport.importAdapterValues has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 23 (38 pts), boolean chains 10 (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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"448e711867f84e92389cfed800cdbc78bb689e9057fb4f92944f9d905f82343a"}},{"ruleId":"D2","level":"warning","message":{"text":"Agents.production.Agents (cognitive 48): Agents.production.Agents has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 25, if/else 8 (11 pts), ternaries 7, loops 5 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 27 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"240f6986fef3f185357181f50432d1a30d204ee6980596724ecbd7ff2dcb0994"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::process_lineage::journal::reap_journals (cognitive 48): paperclip_runner_core::process_lineage::journal::reap_journals has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 5 (9 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_lineage/journal.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf9150aea1f3982c179c2d0f2f7430469a8536150445cb1d2e794fb09ef991"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_backend::normalize_provider_notification (cognitive 48): paperclip_runner_core::provider_backend::normalize_provider_notification has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 10, loops 1 (2 pts), match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"6108e85f2ca36333ca207074db3e3cd12d06ed6a63419dfe00c35d8da053c10a"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printCursorStreamEvent (cognitive 47): format-event.printCursorStreamEvent has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (25 pts), ternaries 6 (16 pts), boolean chains 5, 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e67feb20c97cf590830cbffd4c29367e6bfff0c33f6ef61d158673ae01c0f44"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.createCursorJsonlParser.\u003Creturned closure\u003E (cognitive 47): parse.createCursorJsonlParser.\u003Creturned closure\u003E has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (41 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e613dcece5f1be23ba56246da300ae594825028652c4e0e7134a908fe811ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-assets-root.resolveRunnerProviderAssetsRoot (cognitive 47): provider-assets-root.resolveRunnerProviderAssetsRoot has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 4, 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/paperclip-runner/src/drivers/acpx/provider-assets-root.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e1bbfd20df980c3e750a2c8e75702c9b102e615d0a9135df5ad0ee5af2e8ca"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#watchRunner (cognitive 47): DurablePrpCodexTransport.#watchRunner has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 13 (25 pts), boolean chains 11, if/else 10 (11 pts) (nesting depth added 13). None of this is in the body itself: all 47 points belong to 2 function literals inside it that branch (lines 9073, 9136). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9066}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c4976cb4cd8d6eb6f1a93b94e875516627d1bcedbd1f5c4ab143880ded253e"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-rich-intake.normalizeTelegramRichMessage::block (cognitive 47): chat-telegram-rich-intake.normalizeTelegramRichMessage::block has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 7 (25 pts), if/else 5 (10 pts), loops 4 (9 pts), boolean chains 2, match/switch 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (chat-telegram-rich-intake.normalizeTelegramRichMessage::media) 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":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daba57ea41e5cb7900e722ae23ce672efcafe6fda50334034f3b4b21f44acee"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-forms.lookupSlackFormDelivery (cognitive 47): cloud-forms.lookupSlackFormDelivery has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 13, error handling 2 (3 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":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a8d32a89295600e4553ecbf4c0bd3310c804f28328582c72fb2d5ffc763f0"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-incoming-wake-capability.parseIdleCapabilities (cognitive 47): idle-incoming-wake-capability.parseIdleCapabilities has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 8 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-incoming-wake-capability.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16a19d04d6f9d7596d8556dedd4d764a7a2d733d816bdfea190e81035aac145"}},{"ruleId":"D2","level":"warning","message":{"text":"form-session.projectSlackFormRetainedOwner (cognitive 47): form-session.projectSlackFormRetainedOwner has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 17 (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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9137d0b5e06f984b3a70224ba07528940443990da0a98db07a32dd257e4cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"interactions.publishPhotonPrompt (cognitive 47): interactions.publishPhotonPrompt has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 15, ternaries 9, loops 2 (3 pts) (nesting depth added 10). Of this number, 37 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc10894cf7d31e96b38ec99f7a87322e0f3fa0d26d9796f308102cd271b26a95"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-task-directory-retention.expireIsolatedTaskDirectory (cognitive 47): isolated-task-directory-retention.expireIsolatedTaskDirectory has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27 (40 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 14). Most of this is not in the body itself: 13 of the 47 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 237, 295). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0188e5ac3adc8e895af9ddde2c4c07b929f4e3670cd42f75d69069cd04a69c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-use.browserUseService.execute (cognitive 47): browser-use.browserUseService.execute has cognitive complexity 47 (threshold 15). Drivers by points: if/else 44 (59 pts), boolean chains 36, ternaries 17 (31 pts), loops 3 (4 pts), error handling 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (browser-use.browserUseService.execute::admissionCheck) 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":"server/src/services/browser-use.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdda1713e1167bd9deb2508f886095bf75ea9f03f15aaff534e66ff704b3c55"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.namedGatewaySessionFromBearer (cognitive 47): tool-gateway.createToolGatewayService.namedGatewaySessionFromBearer has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 15, ternaries 4 (5 pts), error handling 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff77b6a8d35515f4d536992516f0ff5dfa1594a014f4761b76b96d2e4baf761"}},{"ruleId":"D2","level":"warning","message":{"text":"sentry.captureRunFailureEvent (cognitive 47): sentry.captureRunFailureEvent has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 15 (16 pts), boolean chains 11, error handling 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"86977321f707a82ab5739a4346a5b9a562371881086cb08523a4ebb8d4c5411c"}},{"ruleId":"D2","level":"warning","message":{"text":"email-connections.emailConnectionService.listCredentials (cognitive 47): email-connections.emailConnectionService.listCredentials has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 7 (18 pts), if/else 6 (14 pts), boolean chains 9, error handling 2 (5 pts), loops 1 (nesting depth added 22). Most of this is not in the body itself: 2 of the 47 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 96, a function literal at line 134, a function literal at line 88, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-connections.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c79c1e0178b3d4301677f8681e3d2179ee47f26f57e28302d3cf798d27bc63"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.visibleCandidates (cognitive 47): workspace-file-resources.workspaceFileResourceService.visibleCandidates has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (36 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e2df64d81b89857aa3404ef075c4d44a5e5cea22d4ab3e19d574799e3794f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.resumeSavedLegacyComments (cognitive 47): run-control.createHeartbeatRunControl.resumeSavedLegacyComments has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 11, ternaries 6 (7 pts), loops 1 (2 pts) (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 20 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72eb012429c09bff5a99bb95e3ba979e41d3e5a770288d7fff4fc658d55ed5d"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-action-delivery.toolActionDeliveryService.deliver (cognitive 47): tool-action-delivery.toolActionDeliveryService.deliver has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 8 (21 pts), if/else 15 (17 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 16). None of this is in the body itself: all 47 points belong to 4 function literals inside it that branch (lines 45, 235, 349, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a766518d4cf64b3266881c91a5013f1ddea5857820d4ac63b775a5af9a3f40"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByHistoricalComments (cognitive 47): issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByHistoricalComments has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 6 (12 pts), boolean chains 1 (nesting depth added 24). Of this number, 34 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5024}}}],"partialFingerprints":{"codehealthFindingId/v1":"291cbe594009384d44bbc9d83a1352a89f1e9797c6619f836786eb174903f9df"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.inspectFinishedPerTurnRunnerdOwner (cognitive 47): native-session-executor.inspectFinishedPerTurnRunnerdOwner has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 9, loops 2 (3 pts), error handling 2, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6056}}}],"partialFingerprints":{"codehealthFindingId/v1":"367c591025c943e54f93d4afa788e20c638bc7a31e64b6cc75fdee188aa8dc24"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-acpx-driver.validateRecoverySnapshot (cognitive 47): codex-acpx-driver.validateRecoverySnapshot has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 21, 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b7581e5fbca6bf08167c0f614d7b120f18e5d2052b0e0fa8c7eab824a01849"}},{"ruleId":"D2","level":"warning","message":{"text":"revocation-index-sync.startMcpRevocationIndexSync (cognitive 47): revocation-index-sync.startMcpRevocationIndexSync has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 7, loops 4 (7 pts), ternaries 3 (6 pts), error handling 1 (nesting depth added 20). Of this number, 41 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":"server/src/services/public-mcp/revocation-index-sync.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3262f704492238063bb167b01fede8cfb2729183b41d1ca20062f01af0575339"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.reserveMigration (cognitive 47): remote-workspace-migration.reserveMigration has cognitive complexity 47 (threshold 15). Drivers by points: if/else 20 (32 pts), ternaries 10 (11 pts), boolean chains 4 (nesting depth added 13). None of this is in the body itself: all 47 points belong to one function literal inside it that branches (line 382). 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef6a1d0ce84a139b9162401e01ffdd7a7b4747eba0c33ab6ec83ec7aea593e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.ConfigurationTab (cognitive 47): AgentDetail.ConfigurationTab has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 19 (31 pts), boolean chains 12, if/else 4 (nesting depth added 12). Of this number, 33 points are the body\u0027s own statements and 14 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7758bfb94b56dd3328e9c53c3aa1ad664a7cd82630eb06a2e04819e056dca02"}},{"ruleId":"D2","level":"warning","message":{"text":"cron-fires.parseField (cognitive 47): cron-fires.parseField has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 4 (10 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cron-fires.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cea5c46f984f4ddf363492de59b0b451dad1fb68f02639f3e7a60a15b9159c"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionCostCard.SubscriptionCostCard (cognitive 47): SubscriptionCostCard.SubscriptionCostCard has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 16 (31 pts), boolean chains 15, if/else 1 (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 24 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":"ui/src/components/SubscriptionCostCard.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e3dbfe4d08377a2f60ca08c12214b67dfc3eb6f81a848fa6b72b526a8fbcf3"}},{"ruleId":"D2","level":"warning","message":{"text":"Browse.ConnectorCard (cognitive 47): Browse.ConnectorCard has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 21 (33 pts), boolean chains 14 (nesting depth added 12). Of this number, 23 points are the body\u0027s own statements and 24 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"be54dbc016cac5ad15fed4c95aba0279b45c5e1c05459d0cdf41dd0ea7887efb"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.ImportSkillsFromProjectDialog (cognitive 47): ImportSkillsFromProjectDialog.ImportSkillsFromProjectDialog has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 16, if/else 15, ternaries 10 (15 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 14 of the 47 points are its own statements and the rest belongs to 14 function items inside it that branch (addBrowsedSkill, a function literal at line 359, a function literal at line 404, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecb89941865b5a041cdb4c3ee06e68b2b1f85e5a5617e710a06bd15685e2e85"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.SkillPane (cognitive 47): CompanySkills.SkillPane has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 15 (25 pts), boolean chains 19, if/else 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8534de873a9217b323cd1937d098ffe2391cf5fe2c4df81d2077c96a8d44c0a"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.SkillPane (cognitive 47): SkillStudio.SkillPane has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 16, ternaries 9 (11 pts) (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 24 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, 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a1ce4cf0c18bf57f2dc733ff016939c8530ab912dc72efa03c8cf859c4979a"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceAccess.InstanceAccess (cognitive 47): InstanceAccess.InstanceAccess has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 11 (15 pts), boolean chains 12 (nesting depth added 16). Of this number, 30 points are the body\u0027s own statements and 17 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":"ui/src/pages/InstanceAccess.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3451e1e67c0a40bf85cc7746e6e1b60e121705ce3143ce197cebbfdd69dbaffe"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.SkillPane (cognitive 47): CompanySkills.production.SkillPane has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 15 (25 pts), boolean chains 19, if/else 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a37eb71f4ff0427a19c6050b8d9fb511435c13364bb2ff6e6a917deec2fff3"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::start_with_tools_observed (cognitive 47): CodexProvider::start_with_tools_observed has cognitive complexity 47 (threshold 15). Drivers by points: if/else 32 (39 pts), boolean chains 6, match/switch 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, 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"e552b70d4de502bc077d865ee32086f2bfde53913b6ea455f63f465902fbbbcf"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.installSkillsForTarget (cognitive 46): agent.installSkillsForTarget has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (20 pts), if/else 6 (13 pts), error handling 3 (11 pts), boolean chains 1, loops 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc12e413e0d1266af3af4726842c5fd9da3f0ca7f83882b999dba67cb197475"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.printAcpxStreamEvent (cognitive 46): cli.printAcpxStreamEvent has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 8 (16 pts), boolean chains 5 (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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca325008a0982ee1fd7d38688662313446f51fb1bf6dc8b5fdc028a674aed387"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-sync.fetchGitBundleIntoLocalRef (cognitive 46): git-workspace-sync.fetchGitBundleIntoLocalRef has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 2 (5 pts), ternaries 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 22). Of this number, 33 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":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"20431b8054b979d8cd9a9580c90ea142888e3790814a9f0847421dc992abd572"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printAssistantMessage (cognitive 46): format-event.printAssistantMessage has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 4 (11 pts), error handling 1 (4 pts), boolean chains 3, loops 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d2264c43ffe5a6f186ab0f06c4c6b00ddba0097140d619d902761c6089f531"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-security-config.normalizedCodexPlatformManifest (cognitive 46): codex-security-config.normalizedCodexPlatformManifest has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (32 pts), boolean chains 9, error handling 1 (4 pts), loops 1 (nesting depth added 25). Of this number, 40 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a46b3958aa758b32e2a6a052d28ad15b15f6078e95cfa67b1fdb3153e9f5e78"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-provider-launch.validatePreparedRunnerLaunch (cognitive 46): runner-provider-launch.validatePreparedRunnerLaunch has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 18, ternaries 3 (6 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc93e14fc20b43e470f23af2293bf86f8c6e2c52e7bbde94dfea68cf2b1d592"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-goals.capabilityForAgent (cognitive 46): runner-goals.capabilityForAgent has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 15 (34 pts), boolean chains 7, if/else 3 (5 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9680b5aa629705459343d495a4c99eb139e78d412a4804f038857e5d1e45665"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.databaseFacts (cognitive 46): native-harness-filesystem-independence.databaseFacts has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 11, loops 3 (4 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32f2a9c648fdc82f257685c4096237eff16ff5171a3eb0d14b4e09a2ec9dfbd"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-migration.prestageNativeControllers (cognitive 46): native-controller-migration.prestageNativeControllers has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 11, ternaries 1 (2 pts), loops 1 (nesting depth added 16). Most of this is not in the body itself: 14 of the 46 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 418, 464, 473). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0b15213a7c223c80a2763f349784926a3a58d6663665aec53653f653824cce"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.ensureGitWorktreeBranchCoherent (cognitive 46): workspace-runtime.ensureGitWorktreeBranchCoherent has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 8, ternaries 4 (7 pts), error handling 3 (6 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"895c9ebdecee59c07f9b8ec4d801f68e74faf0316b84e0514a97da18066a14bf"}},{"ruleId":"D2","level":"warning","message":{"text":"cron.parseField (cognitive 46): cron.parseField has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cron.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"866149d485fce47b74e9c4285429203750c27e59c1aa7c6fbde1906667b865f2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.findToolForSession (cognitive 46): tool-gateway.createToolGatewayService.findToolForSession has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 8, error handling 1 (4 pts), loops 1 (3 pts), ternaries 1 (nesting depth added 25). Of this number, 43 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e5c81c2e440b36d02502a60b7bf4d3306a8f6025ccedc2db4be3af42e90259"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveConnectionGrant (cognitive 46): tool-gateway.createToolGatewayService.resolveConnectionGrant has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 10, ternaries 6 (7 pts) (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1c7368080ec74fefbfcfc423d60b502a5e76eb563d428df3c3af2ef56ffc94"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.preserveWorkspaceMetadataForPatch (cognitive 46): execution-workspaces.preserveWorkspaceMetadataForPatch has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 5 (11 pts), boolean chains 7 (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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"537e71285be39fc9642a8f9cd3696435ee0c956c6c406eb6dec8d4464d52bbb8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-execution-lease.startNativeSessionExecutionLeaseRenewal (cognitive 46): native-execution-lease.startNativeSessionExecutionLeaseRenewal has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (33 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 20). Most of this is not in the body itself: 14 of the 46 points are its own statements and the rest belongs to 5 function items inside it that branch (renew, failed, adopt, \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":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d0539dd4253271f24c53c7e226aa46a6fdad1c08bc2984ad3a50e356cb2d50"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.setupOptions (cognitive 46): connection-intents.connectionIntentService.setupOptions has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 12 (15 pts), boolean chains 14, error handling 1 (2 pts) (nesting depth added 9). Of this number, 35 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"501d15f1ef2bda5121da371e0a304f0841b6991af5ecf00d3059d10bd6d6eab7"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.drainRunningRunsForShutdown (cognitive 46): recovery.createHeartbeatRecovery.drainRunningRunsForShutdown has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 10, ternaries 7, error handling 1, loops 1 (nesting depth added 6). Most of this is not in the body itself: 7 of the 46 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1363, 1436). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b5196d039da39b9b5778fb7946a8af5c204eb4b8779e0cb71aacd582da4639"}},{"ruleId":"D2","level":"warning","message":{"text":"receiver-work.registerChatReceiverWork (cognitive 46): receiver-work.registerChatReceiverWork has cognitive complexity 46 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 7 (11 pts), ternaries 4 (9 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 17). None of this is in the body itself: all 46 points belong to 5 function literals inside it that branch (lines 41, 40, 68, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/runtime/receiver-work.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b490f6d8d3eb0b1a85143342ae5d817c3276ef04652de230bcd9352b6aba675b"}},{"ruleId":"D2","level":"warning","message":{"text":"installation-lifecycle.createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle (cognitive 46): installation-lifecycle.createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 8 (16 pts), boolean chains 11, error handling 1 (nesting depth added 13). Of this number, 23 points are the body\u0027s own statements and 23 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":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f74b6908d21a7379abb3f3c23f8ea3f36e3a749e5163308000deb60540b55"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-app-discovery.discoverExecutorApps (cognitive 46): aggregator-app-discovery.discoverExecutorApps has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 8, ternaries 3 (7 pts), 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37bf7d2f77dd706d9a569fd60babe0758d1c3db532285f9bb4970b4abb178a2"}},{"ruleId":"D2","level":"warning","message":{"text":"git-credentials.resolveManagedGitHubIdentitySelection (cognitive 46): git-credentials.resolveManagedGitHubIdentitySelection has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 23, ternaries 13 (16 pts), if/else 7 (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 23 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":"server/src/services/git-credentials.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6693391829117134b1e6c25c886064940aa826dae9e99b7566ca4ce4d95b5974"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.provenStoppedOwnNativeSession (cognitive 46): native-session-executor.provenStoppedOwnNativeSession has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 4 (7 pts), ternaries 2 (5 pts), boolean chains 4, error handling 2 (nesting depth added 20). Of this number, 40 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"531dcbc44256d6de3be492e0af4143bd45bc6e9e5b3e8915b9cc00530c6a210e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.verifyWarmTransitionRestart (cognitive 46): native-session-executor.verifyWarmTransitionRestart has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 17, error handling 3 (4 pts), loops 1, ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 3 of the 46 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 5522, 5796, 5816). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5495}}}],"partialFingerprints":{"codehealthFindingId/v1":"533e31ab5090a8f07b64423dcbea6b6af9efbacc7a35bb39d43eb0bc94b4348a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.restorePerTurnRunnerdController (cognitive 46): native-session-executor.restorePerTurnRunnerdController has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 5, ternaries 1 (4 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d512b67bbdfbe15a980ac953a474c26bc220d77f712c3596b90f4c61792e5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-restart-recovery.evaluateNativeControllerTakeover (cognitive 46): native-restart-recovery.evaluateNativeControllerTakeover has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 17, ternaries 6 (8 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e039a312f4e85b123285a8a415f5ffe83897f8fb2957b5f98bb5cbfc32caff71"}},{"ruleId":"D2","level":"warning","message":{"text":"stage-release-runner-binaries.main (cognitive 46): stage-release-runner-binaries.main has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 11, loops 3, ternaries 1 (nesting depth added 13). Of this number, 42 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/paperclip-runner/scripts/stage-release-runner-binaries.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2477d596ade3963e9ae18db17b65d833de7d8ea87dfeda38b77e1da151438ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"public-view.publicProviderPayload (cognitive 46): public-view.publicProviderPayload has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 18 (34 pts), boolean chains 6, if/else 3 (5 pts), match/switch 1 (nesting depth added 18). Of this number, 20 points are the body\u0027s own statements and 26 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":"packages/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d73ed06e6bb448feacee5d3eae2d2947a6af1d69fbee5626a6a1404a48af4e"}},{"ruleId":"D2","level":"warning","message":{"text":"core.assemblePaperclipSourceBundle (cognitive 46): core.assemblePaperclipSourceBundle has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"84495cd2b00507816ed597d650e357ab65aaec219c99a3af3352d781c49ad4a5"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleInitialize (cognitive 46): worker-rpc-host.startWorkerRpcHost.handleInitialize has cognitive complexity 46 (threshold 15). Drivers by points: if/else 44, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"881e2e48a006dbfa1367e2c22a2af34e781e6ff741aad3bf1b64208354618143"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-retry-schedule.readIdleRetrySchedule (cognitive 46): idle-retry-schedule.readIdleRetrySchedule has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 14, ternaries 2 (6 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-retry-schedule.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc11c617c7ee58a6b4a5fcc075749c1f730f19d6827dd3e8f02ea53cefd4dc0f"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-tree.inspectOnlineOrdinarySource (cognitive 46): remote-workspace-migration-tree.inspectOnlineOrdinarySource has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 13, loops 4 (7 pts), error handling 2 (6 pts), ternaries 1 (2 pts) (nesting depth added 15). Of this number, 45 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdf0cf4c775e5e20659e5755f4a26d2ed521a01e2c1d6f1fd3cd7a8fd834c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSetupPrompt.AgentSetupPrompt (cognitive 46): AgentSetupPrompt.AgentSetupPrompt has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 14 (18 pts), if/else 15 (16 pts), boolean chains 11, error handling 1 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 24 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, 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":"ui/src/components/AgentSetupPrompt.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c565049779b2d545f6b6027fb6a9936233d4df7ae3218779cf7a61a6cc84850"}},{"ruleId":"D2","level":"warning","message":{"text":"task-chat-adapter.commentsToTaskChatItems (cognitive 46): task-chat-adapter.commentsToTaskChatItems has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 15 (33 pts), if/else 4 (7 pts), boolean chains 5, 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":"ui/src/components/task-chat/task-chat-adapter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c8ca9419c6cc0058a3b4dfe52a6e4d27810df1c218ae8bca26059add23e886"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatRunnerTurn.TaskChatRunnerTurn (cognitive 46): TaskChatRunnerTurn.TaskChatRunnerTurn has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 13 (31 pts), boolean chains 12, if/else 3 (nesting depth added 18). Of this number, 21 points are the body\u0027s own statements and 25 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ec7c72fe5d90ee9cd1ecc11fa7f34ed1f03fc040b0090fc9d5637225f49caa"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentitiesSection.IdentitiesSection (cognitive 46): IdentitiesSection.IdentitiesSection has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 18 (36 pts), boolean chains 5, if/else 5 (nesting depth added 18). Of this number, 43 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cd99fff6fa6f7ce65c3b421c889e67d52fef59071082a2e1494ad9c0ae51c5"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentThread.CommentThread (cognitive 46): CommentThread.CommentThread has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 10, ternaries 7 (9 pts), error handling 1, loops 1 (nesting depth added 4). Most of this is not in the body itself: 10 of the 46 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 871, handleSubmit, handleAttachFile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"5420a3140928576d765fde19fd9eceaa67d9984cad6ce755c5445b8fba2cb512"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerActivityPreview.RunnerActivityPreview (cognitive 46): RunnerActivityPreview.RunnerActivityPreview has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 16 (25 pts), if/else 6 (10 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 14). Of this number, 25 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":"ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0476a91c80378aec4ab8b6af47667a462d3b57f41414f84a4d0a0f95bbb5968"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCommandExecutor::attach_run (cognitive 46): CodexCommandExecutor::attach_run has cognitive complexity 46 (threshold 15). Drivers by points: if/else 29 (38 pts), boolean chains 7, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adcc4b0dc3b763a3b1811fe58062eac09ed8804f3dbd90e61dce29ad71071f1"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.registerPluginCommands (cognitive 45): plugin.registerPluginCommands has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (21 pts), ternaries 7 (12 pts), error handling 10, loops 2 (nesting depth added 6). None of this is in the body itself: all 45 points belong to 10 function literals inside it that branch (lines 414, 516, 369, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/plugin.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0939650f87065ccfcf650de90fec1aa55be4e913b5c335bf822cd228b793c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.registerSkillsCommands (cognitive 45): skills.registerSkillsCommands has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16, error handling 15, boolean chains 7, ternaries 4 (6 pts), loops 1 (nesting depth added 2). None of this is in the body itself: all 45 points belong to 15 function literals inside it that branch (lines 379, 235, 405, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5876045dfd862202741f915e1bdcbe946aa9bd8ca789932778732076a3ac0027"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.applyMergePlan (cognitive 45): worktree.applyMergePlan has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 7 (9 pts), ternaries 5 (6 pts), boolean chains 2 (nesting depth added 17). None of this is in the body itself: all 45 points belong to 2 function literals inside it that branch (lines 3742, 3920). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4954a22e592a32b7533ab18e63815ae68282c819709b2ec8b0e42b9cefd22d"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh.integrateImportedGitHead (cognitive 45): ssh.integrateImportedGitHead has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (23 pts), error handling 4 (10 pts), ternaries 3 (6 pts), boolean chains 5, loops 1 (nesting depth added 23). Of this number, 43 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/adapter-utils/src/ssh.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"103281c605f9f45f15d37dcbfd5497e2f3768ec7337d25a7e052ba4501c9a296"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-media-intake.mp4Kind::scan (cognitive 45): chat-telegram-media-intake.mp4Kind::scan has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 10, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e00ff0964bf3b766f20d98f75bfa4fe401aa4875b91c1539103e4271d99125"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-git-source-roots.readWorkspaceGitSourceRoots (cognitive 45): workspace-git-source-roots.readWorkspaceGitSourceRoots has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 11, loops 2, ternaries 1 (nesting depth added 13). Of this number, 36 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344f859dcbae16e6f4dc78d3d2930c610ef2efd80da41861129fdbc262ac397"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.recordInvocation (cognitive 45): tool-access-policy.toolAccessPolicyService.recordInvocation has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 12 (18 pts), boolean chains 7, 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ddd3fe03cd9ff33e77fa237d29ce820fcbb7beaa42ba808de7f10c966b5570"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal-response-work.registerGitHubTerminalResponseWork (cognitive 45): terminal-response-work.registerGitHubTerminalResponseWork has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 15, ternaries 14, if/else 6 (12 pts), loops 2 (3 pts), error handling 1 (nesting depth added 7). None of this is in the body itself: all 45 points belong to 7 function items inside it that branch (a function literal at line 95, page, entry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/terminal-response-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8c1d44ca7ecff6c54718547daa6753dc641c9331829d5ac16a2d28ea7c02dc"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.applyStrandedAssignedIssueEscalation (cognitive 45): service.recoveryService.applyStrandedAssignedIssueEscalation has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 11 (14 pts), boolean chains 12 (nesting depth added 11). Of this number, 42 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2193208081e44b31521e447d30b24b11e97c18d678ec97bafb7a20db283b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.processSend (cognitive 45): email-channels.emailChannelService.processSend has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 14, ternaries 6 (9 pts), loops 2 (3 pts), error handling 2 (nesting depth added 8). Of this number, 41 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":"server/src/services/email-channels.ts"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c86ba68b5ecbde9cd4b106d9d02398c46f6eaa28ff25174390aa05e3089a2db"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-source.resolveRemoteWorkspaceSource::withReferences (cognitive 45): remote-workspace-source.resolveRemoteWorkspaceSource::withReferences has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 4 (8 pts), boolean chains 5, error handling 1 (2 pts), ternaries 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (remote-workspace-source.resolveRemoteWorkspaceSource) 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef0c65a79136f523dd23cec9b0649bedc4b4fa7a64d8073b5d8549e3e5e0ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-source.resolveRemoteWorkspaceSource (cognitive 45): remote-workspace-source.resolveRemoteWorkspaceSource has cognitive complexity 45 (threshold 15). Drivers by points: if/else 28 (51 pts), boolean chains 16, ternaries 14 (16 pts), loops 5 (9 pts), error handling 1 (2 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. This shape REPEATS in the file: one other method here (remote-workspace-source.resolveRemoteWorkspaceSource::withReferences) 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ace992f4995461435a329e1fd95c12b1b9223d896312161131aea2ab548e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"confirmation-actions.createChatConfirmationActions.settleTerminalConfirmationAction (cognitive 45): confirmation-actions.createChatConfirmationActions.settleTerminalConfirmationAction has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 22, if/else 14 (16 pts), ternaries 5 (7 pts) (nesting depth added 4). Of this number, 35 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afe37f943882f5bda56b4aa831e2680b1e7659744e852aa3b519596a90ca0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync.readDescriptor (cognitive 45): native-workspace-sync.readDescriptor has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 19, ternaries 10 (13 pts), if/else 8 (9 pts), loops 3 (4 pts) (nesting depth added 5). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b28e3791c0b4d5cb3f4f93c964b4886379ee4d733f194d4dea529537c78cd"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-tool-evidence.createCopilotToolEvidence.notice (cognitive 45): copilot-tool-evidence.createCopilotToolEvidence.notice has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 10 (40 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1afcf05064305d5da808a1a4d97281c610d9cc22959208f75ec1ae8287f3ee"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-session-contract.parseEvalSessionRequest (cognitive 45): eval-session-contract.parseEvalSessionRequest has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18, boolean chains 15, ternaries 12. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"60125e84d75a7fc71032e11641238dcdefeb8303f225bf2df0fdb6d02faba3fb"}},{"ruleId":"D2","level":"warning","message":{"text":"app.WikiRouteSidebar (cognitive 45): app.WikiRouteSidebar has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (22 pts), ternaries 11 (13 pts), boolean chains 8, loops 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 45 points are its own statements and the rest belongs to 15 function items inside it that branch (renderToolLink, a function literal at line 2485, a function literal at line 2470, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c048803e12e3b57fc876cfe77b4e38081f1172ae6bfcc6e13f69f7155e71440"}},{"ruleId":"D2","level":"warning","message":{"text":"subscription-report.subscriptionCostReport (cognitive 45): subscription-report.subscriptionCostReport has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 7 (14 pts), boolean chains 7, loops 2 (nesting depth added 17). None of this is in the body itself: all 45 points belong to 2 function literals inside it that branch (lines 26, 110). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/subscription-report.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d9a893a5af78595d1f4b16770f020b4757d97195c3797da20a23cc390e6d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"companies.companyService.update (cognitive 45): companies.companyService.update has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 12, ternaries 5 (6 pts) (nesting depth added 6). Most of this is not in the body itself: 6 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 318). 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":"server/src/services/companies.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607e262e3c227889571c996e51ca13a2d70901c3ed4a1dfcce31e5e01e25f98"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::handleAgentHire (cognitive 45): agents.agentRoutes::handleAgentHire has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 10, ternaries 3 (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. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":4483}}}],"partialFingerprints":{"codehealthFindingId/v1":"45202c684219af5240152744aec9d8a5c616127ff8911659ffbd74313e560440"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-maintenance.skillPackageMaintenance.migrateVersions (cognitive 45): skill-package-maintenance.skillPackageMaintenance.migrateVersions has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (24 pts), ternaries 7 (14 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 24). Of this number, 41 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5980aaf4180da7db2f2525995d1242b171871720c914e054844d4d87e78a7982"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-migration.prestageNativeHarnessBackups (cognitive 45): native-harness-backup-migration.prestageNativeHarnessBackups has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 12, ternaries 1 (4 pts), error handling 2 (3 pts), loops 1 (nesting depth added 12). Most of this is not in the body itself: 5 of the 45 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 197, 189, 199). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da6c60e6f8d8f226586f3e4361f763ab1198a6c19bc731c465b28f32ff24081"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-quota-schedule.readIdleQuotaSchedule (cognitive 45): idle-quota-schedule.readIdleQuotaSchedule has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 15, ternaries 3 (7 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":"server/src/services/heartbeat/idle-quota-schedule.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aef936a1c828dbc140b0c8f605dc66e980ee11cec47683593235c3b510eb0d"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoff-delivery.caseHandoffDeliveryService.sweepPending (cognitive 45): case-handoff-delivery.caseHandoffDeliveryService.sweepPending has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 8 (27 pts), if/else 7 (12 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"76599a07e94e06fab6472f744dcffc4f8dfc4cd0f6b912a7b940c04524a548bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Inbox.FailedRunInboxRow (cognitive 45): Inbox.FailedRunInboxRow has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 16 (35 pts), boolean chains 10 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Inbox.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e53d1080edd1652c47f03f8705129320a8b0f432205d831459ebab2e14dc1c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.resolveVisibleIssueRouteContext (cognitive 45): LiveUpdatesProvider.resolveVisibleIssueRouteContext has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 5 (7 pts), boolean chains 5 (nesting depth added 17). Of this number, 37 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4af09b542ea62ac542c0f4a0fcc806f32570d1b76180becac6e252110df296"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.TranscriptProviderActivity (cognitive 45): RunTranscriptView.TranscriptProviderActivity has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 22 (42 pts), boolean chains 3 (nesting depth added 20). Of this number, 27 points are the body\u0027s own statements and 18 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"84187e10722b7d43b8f54530f01c1afed7a7cb434f96e3a4d383e66dc30f4efa"}},{"ruleId":"D2","level":"warning","message":{"text":"save.planSecrets (cognitive 45): save.planSecrets has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 10 (15 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 18). Of this number, 19 points are the body\u0027s own statements and 26 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e80179aa00f9ea1063ab1e3b80befd2b55358205b1ba85fc1ff2b6b331a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileWizard.ProfileWizard (cognitive 45): ProfileWizard.ProfileWizard has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 16, if/else 10 (11 pts) (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 23 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":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0875fee2f84fcff8e87673b81b17789039c3ba7ac5ca5add5e2402507c556b"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregatorConnectDialog.AggregatorConnectDialog (cognitive 45): AggregatorConnectDialog.AggregatorConnectDialog has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 20 (37 pts), boolean chains 5, if/else 3 (nesting depth added 17). Of this number, 30 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":"ui/src/pages/apps/AggregatorConnectDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72cc45f5e8df04f303e8d5e8576483aed9682629b3aecf74bdaf0904f7fc723"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionAuth.AuthAttempt (cognitive 45): AiConnectionAuth.AuthAttempt has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 9 (35 pts), boolean chains 9, if/else 1 (nesting depth added 26). Of this number, 43 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionAuth.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1086a97f641afc31f7214c598becf80ff71a5796b3c4b32ee14cd0e90126a5e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.GalleryStep (cognitive 45): ConnectionSetupFlow.GalleryStep has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 11 (21 pts), boolean chains 17, if/else 6 (7 pts) (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 9 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe361ded485638a1434a921d148924ff16c8787db77aafef74f6401049b6175e"}},{"ruleId":"D2","level":"warning","message":{"text":"persisted-query-cache.persistedQueryScope (cognitive 45): persisted-query-cache.persistedQueryScope has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 22, if/else 19, 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacaac9e019fc274593aae93adf60f3426ca2aee3dbf63c5980b07732da5a9e7"}},{"ruleId":"D2","level":"warning","message":{"text":"database.promptDatabase (cognitive 44): database.promptDatabase has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 20, ternaries 1 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 19 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":"cli/src/prompts/database.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"601e81393123578b132a965a75e5b69eab3ad7c970f38bbe1eba4682e5fd3089"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.runChildProcess (cognitive 44): server-utils.runChildProcess has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 8, ternaries 7, error handling 2 (4 pts), loops 3 (nesting depth added 7). None of this is in the body itself: all 44 points belong to 12 function literals inside it that branch (lines 4931, 4876, 4830, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4805}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f3e0fc1baee185faa55302fcf2dc1a646950745b5f7f7e297bdd89772297f6"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.createClaudeStreamParser.\u003Creturned closure\u003E (cognitive 44): parse.createClaudeStreamParser.\u003Creturned closure\u003E has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 7, ternaries 3 (6 pts), loops 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e83da38686e17d3f63279f8a09543aca01e6c0c9724c9a53b8df71612a57654"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printTextMessage (cognitive 44): format-event.printTextMessage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 4 (11 pts), boolean chains 5, 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0153c7d224366b2374b8de9cbffe9c383655abbf121a678b2b7bd2e06ec048c4"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-usage-notice.cursorUsageNotice (cognitive 44): cursor-usage-notice.cursorUsageNotice has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 12, loops 4 (7 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce544ed327d1855db509615d03de25d03a01d222003bddbf173e8ee0d876c76"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexHarnessSession.startTurn (cognitive 44): CodexHarnessSession.startTurn has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 14, ternaries 6 (9 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, 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acfbe9d65882104f13c26e4332c0a20b460c6baab41f378d8806f0b5615b3df"}},{"ruleId":"D2","level":"warning","message":{"text":"performance-diagnostics.startOpenCodePerformanceDiagnostics.server (cognitive 44): performance-diagnostics.startOpenCodePerformanceDiagnostics.server has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 8 (14 pts), boolean chains 6, loops 3 (6 pts), error handling 1 (nesting depth added 21). Most of this is not in the body itself: 4 of the 44 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 51, 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/paperclip-runner/src/drivers/opencode/performance-diagnostics.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb0fa7dcb71fb389cc6278bc95fe554ee2c1644e1f0cf969c266f6977810971"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-media-intake.bindTelegramRichAttachment (cognitive 44): chat-telegram-media-intake.bindTelegramRichAttachment has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 14, if/else 8 (13 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"da296658d70650eaf68fce42287cd17202169c0e857607ad888b0e754edf3be2"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-config.resolveEnvironmentDriverConfigForRuntime (cognitive 44): environment-config.resolveEnvironmentDriverConfigForRuntime has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 8, ternaries 2 (4 pts), loops 1 (3 pts) (nesting depth added 20). Of this number, 41 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":"server/src/services/environment-config.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8bea99c0a630c49a1edbd9bfa33c1d2e6b9cf45e13effd3bced30e28d2ab1d"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-http.readMcpHttpResponse (cognitive 44): mcp-http.readMcpHttpResponse has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 8, loops 2 (4 pts), error handling 2 (3 pts), ternaries 1 (nesting depth added 16). Of this number, 32 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":"server/src/services/mcp-http.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde88f1640cad7e9c15803f46477c5104d16864067f7f805a06cee086913d69c"}},{"ruleId":"D2","level":"warning","message":{"text":"form-owner.rearmSlackFormAttention (cognitive 44): form-owner.rearmSlackFormAttention has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 7 (14 pts), boolean chains 8, error handling 1 (3 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"11627d1eac5083921ddadfac9c6252c870407803f2f99fd71dd656613c3afc96"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-injection-provider.runPromptInjectionProvider (cognitive 44): prompt-injection-provider.runPromptInjectionProvider has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 8 (23 pts), if/else 5 (9 pts), boolean chains 8, error handling 2 (4 pts) (nesting depth added 21). 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, 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":"server/src/services/prompt-injection-provider.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2210c685311857a8577b040d168940a00beddb0809f6a726cde438d102269d5"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.resolveRuntimeSkillSource (cognitive 44): company-skills.companySkillService.resolveRuntimeSkillSource has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 4 (9 pts), error handling 4 (7 pts), boolean chains 5 (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":"server/src/services/company-skills.ts"},"region":{"startLine":5999}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a058fccd3fe592db719760d16c94f5631b8407140104ceaf88f6331f7642a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.inspectGitWorktreeBranchIncoherence (cognitive 44): workspace-runtime.inspectGitWorktreeBranchIncoherence has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 17 (38 pts), boolean chains 6 (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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3ab841b62b8f9e308e3972203ec2b6225d989d589a566b72ed54ff137a3b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-use.browserUseService.execute::admissionCheck (cognitive 44): browser-use.browserUseService.execute::admissionCheck has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 22, if/else 16 (19 pts), loops 2, ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (browser-use.browserUseService.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":"server/src/services/browser-use.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a75b2d2d11c337f1a7068091bb9cca23aceffd90620d06e9d2a8850714de9f"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-action-review.commitToolActionReview (cognitive 44): tool-action-review.commitToolActionReview has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 13, ternaries 6 (9 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 8 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 54). 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":"server/src/services/tool-action-review.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"734b06648a003767c23a64184f2110a3d19b397ce28ae21e2ba30efcb9fb4619"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.runApprovedTestInvocation (cognitive 44): tool-gateway.createToolGatewayService.runApprovedTestInvocation has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 10 (15 pts), boolean chains 10, error handling 1 (nesting depth added 10). Of this number, 32 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":9789}}}],"partialFingerprints":{"codehealthFindingId/v1":"afad307e78d642e4026f4fd4a282cc08e009780f5ab09192aa309df41b7e44b5"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-interaction-publications.enqueueTerminalIssueInteractionChatPublications (cognitive 44): chat-interaction-publications.enqueueTerminalIssueInteractionChatPublications has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 8 (20 pts), boolean chains 14, if/else 7 (9 pts), loops 1 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 16 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e17d6b7d8630ea3b3bcb1e6649de9b10187c97fb32b44656431f61b63a44e1"}},{"ruleId":"D2","level":"warning","message":{"text":"fast-responses.fastResponseService.settle (cognitive 44): fast-responses.fastResponseService.settle has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 7 (16 pts), boolean chains 4, loops 1 (nesting depth added 18). None of this is in the body itself: all 44 points belong to one function literal inside it that branches (line 581). 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":"server/src/services/fast-responses.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6608492c14d5f3da20ff3683ecbdd48fa988d78fc6d46d2145e39c773069f344"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipControlPlanePort.checkpointSession (cognitive 44): PaperclipControlPlanePort.checkpointSession has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 17 (19 pts), boolean chains 13, if/else 11 (12 pts) (nesting depth added 3). Most of this is not in the body itself: 9 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 294). 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cddbae1e96dc02ab5b740a5facc0ed245992726234bc6fb60f1966fc319ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"native-finalization-reconciler.claimNativeSessionResumptions (cognitive 44): native-finalization-reconciler.claimNativeSessionResumptions has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 14, ternaries 4 (8 pts), loops 1 (nesting depth added 14). Most of this is not in the body itself: 9 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 162). 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44b29380ffc3806f8dd4f38f6516fdf6988e7a8bdea0dd5b7a3bee746cec963"}},{"ruleId":"D2","level":"warning","message":{"text":"resource-reconciliation.createChatResourceReconciliation.updateResourceSelection (cognitive 44): resource-reconciliation.createChatResourceReconciliation.updateResourceSelection has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 11, ternaries 7 (11 pts), loops 4 (5 pts) (nesting depth added 7). Most of this is not in the body itself: 7 of the 44 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 204, 284, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"955c28f33d5ed049e8025dec085fe0c8329c008d6ff6de8d2672a8bd7b193441"}},{"ruleId":"D2","level":"warning","message":{"text":"endpoints.createChatEndpoints.update (cognitive 44): endpoints.createChatEndpoints.update has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (29 pts), boolean chains 15 (nesting depth added 7). Most of this is not in the body itself: 3 of the 44 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 399, 456). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae40ee956ce68e8ca8867ab395ecf59f71edf7913f305fbaeea2ab56c0509b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"built-in-agents.validateBuiltInAgentDefinitions (cognitive 44): built-in-agents.validateBuiltInAgentDefinitions has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (36 pts), boolean chains 4, ternaries 3, loops 1 (nesting depth added 20). Of this number, 41 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"321262ed904d2efba2feed9ffa60f988bb83828d51332a1dc4fd9a979deedee4"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-locations.safeAcpxLocations (cognitive 44): safe-locations.safeAcpxLocations has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 4 (11 pts), boolean chains 8, ternaries 4 (nesting depth added 16). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to one function literal inside it that branches (line 42). 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/paperclip-runner/src/drivers/acpx/safe-locations.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9594d4159cbf62d10e0a08f1179fbd533dc9eb3f55687ee483c3e6bc47f8e7"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-usage-notice.cursorUsageNotice (cognitive 44): cursor-usage-notice.cursorUsageNotice has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 12, loops 4 (7 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/paperclip-runner/src/live/cursor-usage-notice.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfaa3d6c5fa34080382e891caf4e4ed9676eee3ec9b62ad3d37758f62a8f3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-tasks.parseEnvironmentTaskResult (cognitive 44): environment-tasks.parseEnvironmentTaskResult has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 8 (36 pts), boolean chains 4, if/else 3 (4 pts) (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":"packages/plugins/sdk/src/environment-tasks.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb6ad396f0197995b8b21d3aaebfc1eb0a728901065ede9f24c174b9d5fabab"}},{"ruleId":"D2","level":"warning","message":{"text":"confirmation-comment-resolution.resolveConfirmationFromComment (cognitive 44): confirmation-comment-resolution.resolveConfirmationFromComment has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 16, ternaries 4, loops 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 33). 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":"server/src/services/confirmation-comment-resolution.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccbeeb33fb45bb401f1b2d7f601fa18c846bfdb9c50b524e12780f5cec7b990"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChats.AgentChatsContent (cognitive 44): AgentChats.AgentChatsContent has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 15, ternaries 7 (14 pts), if/else 9 (12 pts), error handling 1 (3 pts) (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 19 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":"ui/src/pages/AgentChats.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d7875e737b7fd4b8b3411d0562e71d25823873d11cb1caef3c8ac22a53fc8d"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineEntitySelector.InlineEntitySelector (cognitive 44): InlineEntitySelector.InlineEntitySelector has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (18 pts), ternaries 11 (16 pts), boolean chains 10 (nesting depth added 6). Most of this is not in the body itself: 4 of the 44 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 134, a function literal at line 245, a function literal at line 287, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEntitySelector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de79a3d2b93b3bf05b9e8f4a281ff6ae878b45cb4c6a1e4c152f1611d51de27"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarAgents.SidebarAgentItem (cognitive 44): SidebarAgents.SidebarAgentItem has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 21 (28 pts), boolean chains 10, if/else 5 (6 pts) (nesting depth added 8). Of this number, 38 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96e18ac767e59f80049727e4370d20b404176c7e123e2d7620da3ff6d7327fc"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionSelect.AiConnectionSelect (cognitive 44): AiConnectionSelect.AiConnectionSelect has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 16 (27 pts), boolean chains 14, if/else 3 (nesting depth added 11). Of this number, 32 points are the body\u0027s own statements and 12 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":"ui/src/components/ai-connections/AiConnectionSelect.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99d4b1107ade5202ba27de5fa58471a82af2568a46b31bdc692a2773431fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarAgents.production.SidebarAgentItem (cognitive 44): SidebarAgents.production.SidebarAgentItem has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 21 (28 pts), boolean chains 10, if/else 5 (6 pts) (nesting depth added 8). Of this number, 38 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"11adb1582f848323545afd8c3ec35ec67ea0f35ea9e79c2d9b390c82ba4847cc"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolActivityRow.TaskChatProtocolActivityRow (cognitive 44): TaskChatProtocolActivityRow.TaskChatProtocolActivityRow has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 22 (27 pts), boolean chains 14, if/else 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b607c6ff2f079e9a213df26ec7acebaaea3a781c87c5571d0ef878287d8144fb"}},{"ruleId":"D2","level":"warning","message":{"text":"task-side-panel-state.parsePayload (cognitive 44): task-side-panel-state.parsePayload has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 8 (18 pts), boolean chains 8 (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":"ui/src/lib/task-side-panel-state.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dde6e314c50045d77e68b8cb9e207ef7b6d9d2aae73a72d6c4cc57c2ea7512"}},{"ruleId":"D2","level":"warning","message":{"text":"OrgChart.production.OrgChart (cognitive 44): OrgChart.production.OrgChart has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 14, ternaries 3, loops 2 (nesting depth added 2). Most of this is not in the body itself: 10 of the 44 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 372, 344, 422, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18a472c193d1cdbef4b26bb98d8e6eeb3fe7a54e8a47b29adaa1a95e9abc46a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatCompactInteractionCard.SuggestedTasksCard (cognitive 44): TaskChatCompactInteractionCard.SuggestedTasksCard has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 16 (24 pts), boolean chains 10, if/else 7, loops 1 (2 pts), error handling 1 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 14 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d12a9491ecaa2a2d675fbabf13780d3f8e63b3c1114d8f73facee22d47605"}},{"ruleId":"D2","level":"warning","message":{"text":"useMuseConnection.museConnectionState (cognitive 44): useMuseConnection.museConnectionState has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 8 (36 pts), boolean chains 8 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useMuseConnection.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa78615b26e4bdf9735032f28996aeb47f9038ef61cf078004a72036e05aefeb"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxProviderState::accept_runtime_event (cognitive 44): AcpxProviderState::accept_runtime_event has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 9, match/switch 2 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46e2399839af4171d7c788e793d58dfd8106766b3478b8dd1726ad3805dc978"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-failure.generated.readProviderFailure (cognitive 43): provider-failure.generated.readProviderFailure has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e867b2b23891ebfbe2cbe610684c9d4826522bb3590c0c5e6739b653b77a381"}},{"ruleId":"D2","level":"warning","message":{"text":"EvidencePanel.EvidencePanel (cognitive 43): EvidencePanel.EvidencePanel has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 17 (37 pts), boolean chains 3, if/else 3 (nesting depth added 20). Most of this is not in the body itself: 12 of the 43 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 479, 615, 367, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f88cfa50586976f857cc6b09a938cf79596e1766da4b9ed382689d6af4ed23"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-failure.generated.readProviderFailure (cognitive 43): provider-failure.generated.readProviderFailure has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/provider-failure.generated.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c79c4e2fe052e49e23da2b7bf9649afff01fb655bb0f3a93eda02f7ea9a84"}},{"ruleId":"D2","level":"warning","message":{"text":"s3-multipart.putS3Multipart (cognitive 43): s3-multipart.putS3Multipart has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 5 (8 pts), error handling 2 (4 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 17). Of this number, 21 points are the body\u0027s own statements and 22 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":"server/src/storage/s3-multipart.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd253aed13329e0fea8b9ed659d048ed00aedff6ff1b4880486a4e15972b8fc"}},{"ruleId":"D2","level":"warning","message":{"text":"run-origin.sourceMessageWalk (cognitive 43): run-origin.sourceMessageWalk has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (36 pts), boolean chains 5, loops 1, ternaries 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":"server/src/services/chat-channels/run-origin.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcc8269dd5eef42a2ba6e828543b113fc25d47607376d2f47cc81b173b4ade4"}},{"ruleId":"D2","level":"warning","message":{"text":"projects.projectService.updateWorkspace (cognitive 43): projects.projectService.updateWorkspace has cognitive complexity 43 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 10, ternaries 5 (nesting depth added 1). None of this is in the body itself: all 43 points belong to 2 function literals inside it that branch (lines 1234, 1306). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"208e449e2b8d493125c135700316e0f7444a48f656ec657294cee737841dd38e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.assetBindings (cognitive 43): native-harness-filesystem-independence.assetBindings has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (35 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 24). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fde243046b3396a518271be00623e51d945eed86b683573ad4d90de0e0aba8f"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-injection-prevention.promptInjectionPreventionService.settle (cognitive 43): prompt-injection-prevention.promptInjectionPreventionService.settle has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 6 (15 pts), boolean chains 5, loops 1 (nesting depth added 18). None of this is in the body itself: all 43 points belong to one function literal inside it that branches (line 114). 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd51674a73ab6559250d17aa2952ba93c349175a7eb2190ae4532cdb3b75cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-run-publications.enqueueChatRunLifecycleMilestones (cognitive 43): chat-run-publications.enqueueChatRunLifecycleMilestones has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (37 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 26). Of this number, 40 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"51aa23519c11d6ef38944af4170e6afc55eaa91c719553b0e4d3b57851dc8cab"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.inspectGitCloseReadiness (cognitive 43): execution-workspaces.inspectGitCloseReadiness has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 5 (11 pts), boolean chains 7, error handling 4 (7 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6569479913419f07f3a404a45dbad79be98e9f079d92f105011335f355509a65"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-mode.resolveHeartbeatRuntimeMode (cognitive 43): runtime-mode.resolveHeartbeatRuntimeMode has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 8 (36 pts), if/else 4 (6 pts), error handling 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d4d8622bba2243e0ffc8ffb960d6c98f2be6cfc2282817896715099a55e43"}},{"ruleId":"D2","level":"warning","message":{"text":"instruction-working-copy.createHeartbeatInstructionWorkingCopy.prepare (cognitive 43): instruction-working-copy.createHeartbeatInstructionWorkingCopy.prepare has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 7, loops 2 (6 pts), error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 21). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/instruction-working-copy.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4c7aa3381d4bbaf6d91ef81736cfc7f0807a8c211299b99c504db6d92ea116"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-api-response.captureRunnerApiResponse (cognitive 43): runner-api-response.captureRunnerApiResponse has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 3 (7 pts), boolean chains 3, error handling 2, ternaries 2 (nesting depth added 19). Of this number, 41 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":"server/src/services/native-runtime/runner-api-response.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c7bb3d32d257b117d088ffa026f87676b1b45a286501b2c1e62a1c9a543eda"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#withInstructionMutationReceipt (cognitive 43): PaperclipRunnerToolAuthority.#withInstructionMutationReceipt has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 5 (9 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 19). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 2972, a function literal at line 2977, a function literal at line 3028, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2953}}}],"partialFingerprints":{"codehealthFindingId/v1":"831e8dd6f69b2b9f1f76a2ce9c97737fdaa587971b0319da8c97d79df8e81837"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-testops.main (cognitive 43): runner-protocol-testops.main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 3 (6 pts), error handling 2 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"10529fdc71598f1bf7efa537cf3baf3a8f8c1f651828026d4320c4aca7a91992"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-tool-evidence.createCursorToolEvidence.tool (cognitive 43): cursor-tool-evidence.createCursorToolEvidence.tool has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 10, ternaries 4 (6 pts) (nesting depth added 10). None of this is in the body itself: all 43 points belong to one function literal inside it that branches (line 77). 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/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"23016ec4dda98ac2fc8109878544aeafe2924cc272df6c77037a34c2ee68d1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ephemeral-migration-data.migrateEphemeralServerData (cognitive 43): ephemeral-migration-data.migrateEphemeralServerData has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 9 (11 pts), boolean chains 4, 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":"server/src/maintenance/ephemeral-migration-data.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb0ebd203d4ebf7f766297dd2e48fc36ba357fc572741b37162f70a857ceba2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.parseItemEvent (cognitive 43): index.parseItemEvent has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (25 pts), ternaries 7 (14 pts), boolean chains 4 (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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d05e77066d6685ca74a3b5034655140eb062194b54bcc4f1eee22725da67c66"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentProviderConnection.AgentProviderConnection::connect (cognitive 43): AgentProviderConnection.AgentProviderConnection::connect has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (20 pts), ternaries 8 (17 pts), boolean chains 5, error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AgentProviderConnection.AgentProviderConnection) 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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e8496c9dfa692221c66f5deee54d4be26cbb5f70aa4b9cfd2297c21f8b14b"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerGoalWidget.RunnerGoalWidget (cognitive 43): RunnerGoalWidget.RunnerGoalWidget has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 22 (29 pts), boolean chains 11, if/else 3 (nesting depth added 7). Of this number, 36 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"872cd84052bca99e16516f08bf0b3ef8519bd70e6a1e90b7076e1d4cdb2abc41"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.OAuthConnectStateScreen (cognitive 43): ConnectionSetupFlow.OAuthConnectStateScreen has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 22 (38 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"2786bbcae7bd8896aeeed7fd53d7c89bfeb72cd51f9fae2ab743c559a44c1508"}},{"ruleId":"D2","level":"warning","message":{"text":"configure.configure (cognitive 42): configure.configure has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 4, loops 2, match/switch 1 (2 pts), ternaries 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":"cli/src/commands/configure.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80c3ae7ff106022c787152598cd1c2654023f727e10e1d638ece9c894ce513b"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.consumeEvents (cognitive 42): execute.consumeEvents has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 4 (11 pts), boolean chains 3, error handling 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80b7b220411fe882bd93d4b8db184a077809c465267a2285410df92dc4ac347"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printOpenCodeStreamEvent (cognitive 42): format-event.printOpenCodeStreamEvent has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (26 pts), ternaries 4 (10 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/cli/format-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d0a0d61f949f5a86f76506e89af8a490d73c5b47c8b47bf06c25f8402c5135"}},{"ruleId":"D2","level":"warning","message":{"text":"migration-compatibility.classifyDoBlock (cognitive 42): migration-compatibility.classifyDoBlock has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/migration-compatibility.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf96025481c1a0e7fc6996cb9798d12e05f2ddfe99c933c11d1f776e231180a5"}},{"ruleId":"D2","level":"warning","message":{"text":"EvidencePanel.ToolsBrowser (cognitive 42): EvidencePanel.ToolsBrowser has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 13 (26 pts), if/else 5 (6 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 17). Of this number, 16 points are the body\u0027s own statements and 26 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":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a46f7ff1973e880c72c3888f9f1dadad180dd04c0d9a3757f8b293729c053a"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-references.stripMarkdownCode (cognitive 42): issue-references.stripMarkdownCode has cognitive complexity 42 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (15 pts), boolean chains 7 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/issue-references.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb3727fa3dca7747cb65032315a773527438b4b2fe9f7cc0f8cc0b7514be20b"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotonReceiver.catchUp (cognitive 42): PhotonReceiver.catchUp has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 10, 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":"server/src/services/photon/receiver.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c02be27b40c4af3cc595110a1ea5b707139653f8bb09888f780553c4b959e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-attachments.resolveCanonicalAttachmentTargetOrThrow (cognitive 42): chat-github-attachments.resolveCanonicalAttachmentTargetOrThrow has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 18, ternaries 2, loops 1 (nesting depth added 5). Of this number, 37 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bb987e67b8ea2d7a3b781513b18c3174ef87f069209a2487031d32f8ea2795"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSdkEndpointRuntime.rehydrateAttachment (cognitive 42): ChatSdkEndpointRuntime.rehydrateAttachment has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 7 (14 pts), boolean chains 11, error handling 1 (2 pts), match/switch 1 (nesting depth added 12). Of this number, 32 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"9068db48a36778bece8324d6b915ab3c7a8e11d0ba283758f83c9e3cf60e80a0"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.rotateUnlocked (cognitive 42): secrets.secretService.rotateUnlocked has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 9, ternaries 4 (5 pts), error handling 3 (nesting depth added 10). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022901adb6722e7e5dacc8d6f25cf0e2ed28c5da8635bc6888f175e2feb329e"}},{"ruleId":"D2","level":"warning","message":{"text":"acknowledgement-work.registerGitHubAcknowledgementWork (cognitive 42): acknowledgement-work.registerGitHubAcknowledgementWork has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 14, ternaries 14, if/else 8 (11 pts), loops 2 (3 pts) (nesting depth added 4). None of this is in the body itself: all 42 points belong to 7 function items inside it that branch (entry, page, 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":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdc6e411e50c330b203ed21f6aed45c267d36180ac2218d61540131aa19687a"}},{"ruleId":"D2","level":"warning","message":{"text":"sentry-links.addSentryRunLinks (cognitive 42): sentry-links.addSentryRunLinks has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 19, if/else 12, ternaries 7 (9 pts), error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry-links.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a98dea646159db08b2b865f9e153d142f9ee8d0f639df6d042f818448cb05f7"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.release (cognitive 42): agent-directory-working-copies.agentDirectoryWorkingCopyService.release has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 17, ternaries 7 (14 pts), if/else 8 (9 pts), error handling 1 (2 pts) (nesting depth added 9). Of this number, 41 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff0e61993656ec60d6c1d53bb1a8fa7e3db0ce576726fb25113c91e99ab1205"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-models.decisionModelService.settle (cognitive 42): decision-models.decisionModelService.settle has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 6 (15 pts), boolean chains 4, loops 1 (nesting depth added 18). None of this is in the body itself: all 42 points belong to one function literal inside it that branches (line 151). 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":"server/src/services/decision-models.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c4cb7cd8bf6b9cabdb355c6f962c1bfb0a262deeadd00f79fe4d1de80642f2"}},{"ruleId":"D2","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.deriveTeamsFileTransferAuthority (cognitive 42): file-transfer-authority.createTeamsFileAuthority.deriveTeamsFileTransferAuthority has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 10, error handling 1 (2 pts), 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"6932e21fb9a8e292562ffb719f1093a424b41a076f199e8b57d5e2da51e30129"}},{"ruleId":"D2","level":"warning","message":{"text":"publication-policy.createGitHubPublicationPolicy.githubCurrentOmissionPreparedText (cognitive 42): publication-policy.createGitHubPublicationPolicy.githubCurrentOmissionPreparedText has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 11 (13 pts), boolean chains 11, error handling 1 (nesting depth added 10). Of this number, 41 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":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19f900e6ccc0464b8dfbba08870e431f59add6136c18fc7cd22a0e0ce6e8c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"asset-content-access.canActorReadAssetContent (cognitive 42): asset-content-access.canActorReadAssetContent has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 18, loops 3, 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":"server/src/services/asset-content-access.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f846aa73e592e66e4f2970ef95dad6475d7e85a767453ad1635a1e42f4cd2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudCheckpointStore.acquire (cognitive 42): CursorCloudCheckpointStore.acquire has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 10, error handling 5 (10 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbf0346ca58261ed69aab1d9a58b6c0d9b19ba7af689bca842c1a4ec0d5982"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-sidecar.sanitizeRuntimeEvent (cognitive 42): acpx-runtime-sidecar.sanitizeRuntimeEvent has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 14 (28 pts), if/else 8 (9 pts), boolean chains 5 (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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"059bc0a4d1a05f37b6167db9c38bb4c07c16cca6133298827a50f59b0ce1cc30"}},{"ruleId":"D2","level":"warning","message":{"text":"external-objects-server.stripMarkdownCode (cognitive 42): external-objects-server.stripMarkdownCode has cognitive complexity 42 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (15 pts), boolean chains 7 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/external-objects-server.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d30175873c82b242598068711e12d552fa450629a3660f5ee92307800344ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"events.createPublicMcpEvents.start (cognitive 42): events.createPublicMcpEvents.start has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 8, ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 14). Of this number, 34 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fa3f8eec1100804b8dc6581923d2875d1f7bebd3eddb18342333631f23bd39"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-git.verifiedOriginalLocalSource (cognitive 42): remote-workspace-migration-git.verifiedOriginalLocalSource has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 10, loops 6 (7 pts) (nesting depth added 13). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f2d18f61da32b31ef49c47514c93dedd180c461709d97f404cb5026eab1526"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-git.materializeArchivedGitMigrationSource (cognitive 42): remote-workspace-migration-git.materializeArchivedGitMigrationSource has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 6, loops 2 (4 pts), ternaries 3 (4 pts) (nesting depth added 11). Of this number, 38 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14d1f12fec1aa131bb16c83e5e9baf6a2b434bbbdf3c2501c94924fc5ce8ccb"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokBotSetup.GrokBotSetup (cognitive 42): GrokBotSetup.GrokBotSetup has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (23 pts), ternaries 7 (10 pts), boolean chains 9 (nesting depth added 5). Most of this is not in the body itself: 6 of the 42 points are its own statements and the rest belongs to 9 function items inside it that branch (next, a function literal at line 26, a function literal at line 86, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/GrokBotSetup.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07f8fb4cdbeb23256f9d55da8830eb6ffc000fc1797e8023160648bc2e3d1c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationPlayback.ConversationPlayback (cognitive 42): ConversationPlayback.ConversationPlayback has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 21 (32 pts), boolean chains 5, if/else 3 (4 pts), loops 1 (nesting depth added 12). Of this number, 34 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":"ui/src/components/design-sandbox/ConversationPlayback.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf09d8e24ddc0d34a2d38142b7f131dafbc87bd9b4aeaea3033cd355a5f476"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchResultRow.SearchResultRowImpl (cognitive 42): SearchResultRow.SearchResultRowImpl has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 16 (30 pts), boolean chains 6, if/else 5 (6 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":"ui/src/components/search/SearchResultRow.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bf22cafa15480ffc9716b935efd1248e3e8b46d60fd09df1ec900bb7c71a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditHub.AuditHub (cognitive 42): AuditHub.AuditHub has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 12 (30 pts), if/else 9, boolean chains 3 (nesting depth added 18). Of this number, 31 points are the body\u0027s own statements and 11 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":"ui/src/pages/audit/AuditHub.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e8c9dbd727a6fc61da09b6fc9a92dd9604631df2bdef6beb0c6e4814198cd4"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatExecutionDefaults.ChatExecutionDefaults (cognitive 42): ChatExecutionDefaults.ChatExecutionDefaults has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 14, ternaries 10 (13 pts), if/else 6 (7 pts), loops 4 (7 pts), error handling 1 (nesting depth added 7). Of this number, 26 points are the body\u0027s own statements and 16 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":"ui/src/pages/apps/chat/ChatExecutionDefaults.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059c6891fcc17d2bbb42d82366e65a2fc46139824454ebe2e0d0dc53ae40846"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectedAppSkills.ConnectedAppSkillsList (cognitive 42): ConnectedAppSkills.ConnectedAppSkillsList has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 19 (33 pts), boolean chains 8, if/else 1 (nesting depth added 14). Most of this is not in the body itself: 2 of the 42 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skills/ConnectedAppSkills.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce55ec2aa03c8e84ca66fb88e4c28e9f7ad35c8360bf1a76b3a4fcc1f0953d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingChat.OnboardingChat (cognitive 42): OnboardingChat.OnboardingChat has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 14, ternaries 8, error handling 2, loops 2 (nesting depth added 3). Most of this is not in the body itself: 11 of the 42 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 143, 226, 276, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a25c878ded097120df9d8d5c23561c42237982ebaab2469258ec23024dd739"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueArtifactCard.IssueArtifactFile (cognitive 42): IssueArtifactCard.IssueArtifactFile has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 22, ternaries 10 (16 pts), if/else 4 (nesting depth added 6). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c343dfd5d2ae2d2fe93dee3a774544f486f56cc79244b47fc72d4741fa9a1327"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetup.ConnectionSetup (cognitive 42): ConnectionSetup.ConnectionSetup has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 34 (50 pts), boolean chains 19, if/else 6 (8 pts), error handling 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. This shape REPEATS in the file: one other method here (ConnectionSetup.ConnectionSetup::connect) 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe452d880a9de66efb86ce56792b72f4c9e149c3d81eb85f94e850638e791aa"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-effort.createGrokEffortAdmission.createGuard.\u003Creturned closure\u003E (cognitive 41): grok-effort.createGrokEffortAdmission.createGuard.\u003Creturned closure\u003E has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 14, error handling 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/grok-effort.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"413dda974e699b04aba29dd48352c28635dded90cf2c529b23deef6832d3c8be"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-driver.parseHarnessRuntimeRequestResolution (cognitive 41): harness-driver.parseHarnessRuntimeRequestResolution has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 8, ternaries 1 (3 pts), 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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"404eb7f03494373f9afd184da70008f373952f59afc825e15313ed7683e65f81"}},{"ruleId":"D2","level":"warning","message":{"text":"contract-fingerprints.fingerprintContracts (cognitive 41): contract-fingerprints.fingerprintContracts has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 4 (12 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 25). Of this number, 40 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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1845037233cca3c672975ca99dfebbbbb6626b834707ff62896d8e256447025"}},{"ruleId":"D2","level":"warning","message":{"text":"owner-proof.proveLocalProcessGone (cognitive 41): owner-proof.proveLocalProcessGone has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 11, ternaries 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":"server/src/services/owner-proof.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"109063142e03260d09c7fbdb8d9dda0ccc4a28cac755d4c35b7c1fe9f7f93fff"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-targets.decisionTargetService.sweep (cognitive 41): decision-targets.decisionTargetService.sweep has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 3 (6 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-targets.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b58d438a8840c11cf12c07ef35aa10e30aefc73860cd8549279bf40c99cac71"}},{"ruleId":"D2","level":"warning","message":{"text":"native-review-participant.validateNativeReviewAssignmentFacts (cognitive 41): native-review-participant.validateNativeReviewAssignmentFacts has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 13 (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":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"156f826015f84994982629cf6d7383222e75c3b247b2821f75b6c2f4ecd4569f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.supabaseClient.send (cognitive 41): index.supabaseClient.send has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 8 (13 pts), boolean chains 6, error handling 3, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da40287033986f8d74e8816ca6798bea27687029682f54014b075701fcfdcb2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.vercelClient.send (cognitive 41): index.vercelClient.send has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 6 (17 pts), if/else 9 (14 pts), boolean chains 5, error handling 3, loops 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b95cbe525db830a44e595f142b67109664132f0f7a856f09ff57d7dd4ad97a"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.createOAuthDiscovery.endpointsFromMetadataUrl (cognitive 41): discovery.createOAuthDiscovery.endpointsFromMetadataUrl has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 14, ternaries 3 (4 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3a0f9c2042b32c6cf175c9447df235bb0ec0dd57d6fd3bb7da22542613d83b"}},{"ruleId":"D2","level":"warning","message":{"text":"form-delivery.createSlackFormDeliveryOwner.\u003Creturned closure\u003E (cognitive 41): form-delivery.createSlackFormDeliveryOwner.\u003Creturned closure\u003E has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 13, ternaries 3 (5 pts) (nesting depth added 7). Of this number, 37 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":"server/src/services/chat-channels/slack/form-delivery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c300b484082aa04987b5e5b59ad820c7350fc3c0c82f62e276fa473bfeccff92"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.updateFile (cognitive 41): company-skills.companySkillService.updateFile has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 9, ternaries 5 (8 pts), error handling 2 (3 pts) (nesting depth added 8). Of this number, 22 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":"server/src/services/company-skills.ts"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc047bd8a50baed2e9765ec77607aaf1db9a45615292057563dd4e778a2b077"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.reconcileDispositionRepair (cognitive 41): service.recoveryService.reconcileDispositionRepair has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 10 (13 pts), boolean chains 12 (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":"server/src/services/recovery/service.ts"},"region":{"startLine":4028}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a037f6c56fa1865c183adeddd4764d46796da106b8c47b664f95bd96a09f6"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.runQueuedDispatchPass::claimQueuedRunsForAgent (cognitive 41): queue.createHeartbeatQueue.runQueuedDispatchPass::claimQueuedRunsForAgent has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 5, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7be3049897cd779505b774314c016c607536fa5ed6881ef00f07b07830f442"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch-work.registerRunDispatchWork (cognitive 41): dispatch-work.registerRunDispatchWork has cognitive complexity 41 (threshold 15). Drivers by points: loops 8 (14 pts), if/else 11 (13 pts), ternaries 6 (8 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 11). None of this is in the body itself: all 41 points belong to 7 function literals inside it that branch (lines 42, 65, 70, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/dispatch-work.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff1428a691a2d1fee75ebc5d384190e68d2c4f98370c99512e2e7f197f30e68"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-inbound-cleanup.voiceInboundCleanup.check (cognitive 41): voice-inbound-cleanup.voiceInboundCleanup.check has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 8, ternaries 2 (4 pts) (nesting depth added 17). Most of this is not in the body itself: 3 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 81). 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":"server/src/services/voice/voice-inbound-cleanup.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb104e3af9bd25b7d4e7a0387478296313c1feb6ac8d804bdbd525524df28efe"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-publication-errors.classifyChatPublicationError (cognitive 41): chat-publication-errors.classifyChatPublicationError has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 17, ternaries 3 (4 pts) (nesting depth added 4). Of this number, 39 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb1ae10c1b1105a0c7147dc5b210de8c990f564f4e01afd9088f7a8699c1b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.isPreProviderChatFailure (cognitive 41): failed-run-retry.createChatFailedRunRetry.isPreProviderChatFailure has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 23, if/else 9 (13 pts), ternaries 4 (5 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"570bf54b82e0443c737f6a0715fffb6a27b76bdffda03a5fc8f1ea3eab9b2d08"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.createChatPublicationResolution.resolveProviderEffect (cognitive 41): resolution.createChatPublicationResolution.resolveProviderEffect has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 8, ternaries 5 (7 pts) (nesting depth added 11). Most of this is not in the body itself: 2 of the 41 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 476, 354, 341). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2fa64746dd742e77d87c0470df0a8107aeaddc0bf720b5f73b8465ed6bc929"}},{"ruleId":"D2","level":"warning","message":{"text":"task-start-resolution.createSlackTaskStartResolution.resolveSlackTaskStart (cognitive 41): task-start-resolution.createSlackTaskStartResolution.resolveSlackTaskStart has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 11, ternaries 5 (6 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 41 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 133, 278, 37). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe823c4f19ea3f742878b65dd6a2e6d27fcda9d11649ccd0b4bd0a52c7590e43"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.acceptSuggestedTasks (cognitive 41): issue-thread-interactions.issueThreadInteractionService.acceptSuggestedTasks has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 12 (20 pts), if/else 11 (15 pts), boolean chains 5, loops 1 (nesting depth added 12). Most of this is not in the body itself: 11 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 4530). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4431}}}],"partialFingerprints":{"codehealthFindingId/v1":"777930c7eb5f9cda525e48b35c7f0db34ec3f3c757a27e5d993d53ab546f699f"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-readiness.probeRemoteNativeCodex (cognitive 41): setup-readiness.probeRemoteNativeCodex has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 12, ternaries 7 (9 pts), error handling 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 25 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":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513d37eca272a06041e6ec89f6141db5161832edbd740dc530e55eb96ff19d5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.verifyStoppedNativeSessionForReplacement (cognitive 41): native-session-executor.verifyStoppedNativeSessionForReplacement has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 21, if/else 16 (17 pts), error handling 1, loops 1, ternaries 1 (nesting depth added 1). Of this number, 37 points are the body\u0027s own statements and 4 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37c91e1c41dc5dc5ca997be2e0cf4e9e78c125c698397e242574dda31b4ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.resolveNativeBilling (cognitive 41): native-session-executor.resolveNativeBilling has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 11 (12 pts), boolean chains 10 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13946}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc42c26843c2d9b236206a25cfa1651b7719442cbcfb64a3b37e8df2ef0e619"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.verifyRemoteRunnerReattachment (cognitive 41): native-session-executor.verifyRemoteRunnerReattachment has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 9 (10 pts), boolean chains 6, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d371cebd7110c54ac676b950fd559d2b9b64cb362c09ffc1c91b9dd030080e2"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.token (cognitive 41): oauth.createPublicMcpOAuth.token has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 8, ternaries 2 (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 18 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ae240da65c4fcf0693becd32275f8884882ef867d89a41d2ee786da99b057"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-sidecar.waitForTool (cognitive 41): acpx-runtime-sidecar.waitForTool has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 11, error handling 2 (3 pts) (nesting depth added 9). Of this number, 33 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc21ea0b9022e86b339824ba7dd869c1897d0a3aed0ee79a878a6457ede04655"}},{"ruleId":"D2","level":"warning","message":{"text":"PiUiBridge.handle (cognitive 41): PiUiBridge.handle has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 6 (11 pts), boolean chains 6, error handling 1 (nesting depth added 10). Of this number, 39 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c66c32d887c2972f334ff069a65331e8470b52ad9043c416c35eff746247c39"}},{"ruleId":"D2","level":"warning","message":{"text":"app.ProvenanceDrawer (cognitive 41): app.ProvenanceDrawer has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 23 (35 pts), boolean chains 6 (nesting depth added 12). Of this number, 22 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3737}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cbad669f5d076d6f90acabfbb870a15a92604edb1eaa32abe415e751c66e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"status-cards.statusCardService.writeSummary (cognitive 41): status-cards.statusCardService.writeSummary has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 10, ternaries 8 (9 pts), loops 2 (4 pts) (nesting depth added 7). Most of this is not in the body itself: 3 of the 41 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 948, 971). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b400ec8e651f29faa2d6c5a9f1f0e09bef985e0a4aafef2b793a81a7be4aea"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.parseYamlBlock (cognitive 41): company-portability.parseYamlBlock has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 6, loops 3 (4 pts) (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":"server/src/services/company-portability.ts"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737dd5b9e904079a13babecb40878f757d1eb2e9c02eac5614d19d0a0a8b777"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-update-diff.diffSkillPackageFiles (cognitive 41): skill-update-diff.diffSkillPackageFiles has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 6 (17 pts), boolean chains 6, loops 1 (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":"server/src/services/skill-update-diff.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ec9db3f24270556fbccbe5536fcb17164f2074d9cbca61c3c2e5caacc29090"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.handleMcpGatewayProtocol (cognitive 41): tool-gateway.handleMcpGatewayProtocol has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 11 (17 pts), boolean chains 5, error handling 1 (nesting depth added 16). 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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4fa647fbba527d4c3684cb343f2c0f47d237093c85bcd82c7da62926beaa2e"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort (cognitive 41): remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 11, loops 5, ternaries 1 (nesting depth added 8). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to 7 function items inside it that branch (observe, a function literal at line 1072, a function literal at line 1062, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"55361b1291b75369ffd0ec7d9ee6ee054e768c75a9bcdd72e399924d14cccd3b"}},{"ruleId":"D2","level":"warning","message":{"text":"profile-model.parseEntries (cognitive 41): profile-model.parseEntries has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 6, loops 5 (6 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2857e1ccb00c49b8f7796cfce543f3812def434051ad1a323a49288ecb7b8c37"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.SkillDetailPage::renderFilesBody (cognitive 41): CompanySkills.SkillDetailPage::renderFilesBody has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 14 (36 pts), boolean chains 5 (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. This shape REPEATS in the file: one other method here (CompanySkills.SkillDetailPage) 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1220848fb0182818758ee64b8691aaec713ed9a0704b66ebf2b9113c4a014a33"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.SkillDetailPage::renderFilesBody (cognitive 41): CompanySkills.production.SkillDetailPage::renderFilesBody has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 14 (36 pts), boolean chains 5 (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. This shape REPEATS in the file: one other method here (CompanySkills.production.SkillDetailPage) 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f0dc74a8d18d9e2c8682381d1cdd58e21a173f49ceb85a964e5947b6cb2976"}},{"ruleId":"D2","level":"warning","message":{"text":"useRecentTasks.useRecentTasks (cognitive 41): useRecentTasks.useRecentTasks has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 16, if/else 15, ternaries 6 (7 pts), loops 3 (nesting depth added 1). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 120, 141, 48, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useRecentTasks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"639c3d9ba3ce26ca023dfaaf8a1bde90ae7c8110734abd6067272f9841504708"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::state::validate_binding (cognitive 41): paperclip_runner_core::durable::state::validate_binding has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 25, if/else 8 (11 pts), match/switch 5 (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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88883b99f5fec552792b596e014137f3da9ed130fada73fbbcb17cd438974c5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-observability.buildProviderObservabilityLaunch (cognitive 40): agent-observability.buildProviderObservabilityLaunch has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 15 (26 pts), boolean chains 7, if/else 5 (7 pts) (nesting depth added 13). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/agent-observability.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aaf946f28b9ba91d29204962cf342832a9eb98e32ea39e995464eccf468c42c"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.boundedAcpMeta::visit (cognitive 40): provider-events.boundedAcpMeta::visit has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 6, ternaries 3 (6 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23a89ca08b94c357622458cc689b8fdd9bb131108c5616cda435f3526dfc7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-runner-credentials.antigravityCredentialTurn.copyBack (cognitive 40): antigravity-runner-credentials.antigravityCredentialTurn.copyBack has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 12, error handling 2, loops 2 (nesting depth added 6). Most of this is not in the body itself: 10 of the 40 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 150, 196, 161, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cdafdb6f53642f5add2033f0b294a8129abda7e2e03b710b81a448a8173efd"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interaction-resolution.evaluateIssueThreadInteractionResolverAudience (cognitive 40): issue-thread-interaction-resolution.evaluateIssueThreadInteractionResolverAudience has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 11, ternaries 6 (10 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":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"301244692b9f3d3686ec22ec5737a59527ae9ba065490505e47d13210a9b169c"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.createOAuthDiscovery.discoverOAuthEndpoints (cognitive 40): discovery.createOAuthDiscovery.discoverOAuthEndpoints has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 14 (21 pts), if/else 6 (10 pts), boolean chains 8, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eff136c3fa0223abc76d41ec9b6ea5d51a53e6879ed2c202f9189b916bfaaf"}},{"ruleId":"D2","level":"warning","message":{"text":"form-owner.reconcileSlackFormEnrollment (cognitive 40): form-owner.reconcileSlackFormEnrollment has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 5 (9 pts), boolean chains 8 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"63602d8d05305e29d64ebff536e8e3db01ab64ea80258e19c910328a7918804a"}},{"ruleId":"D2","level":"warning","message":{"text":"form-owner.reconcilePendingSlackFormWork (cognitive 40): form-owner.reconcilePendingSlackFormWork has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 8 (9 pts), boolean chains 8, error handling 2 (3 pts) (nesting depth added 12). Of this number, 29 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"233a89a3caf08931ea615541d115aa28beb616adb8ea8b4a9d07d675d8529af6"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.refreshQuotaCredential (cognitive 40): ai-connections.aiConnectionService.refreshQuotaCredential has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 12, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). None of this is in the body itself: all 40 points belong to 2 function literals inside it that branch (lines 1161, 1158). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a96cf7a3e093316f6b0944d82e945a7f87a20e0a123e9cba0f2820fe64180f"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-sync.skillSourceSyncService.importBinding (cognitive 40): skill-source-sync.skillSourceSyncService.importBinding has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 7 (15 pts), boolean chains 7, error handling 2 (3 pts) (nesting depth added 14). 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c07a304a81b547a67f9e81889e3cd77b751309d201834711be16f52ca47bf16"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.preserveControllerEvidence (cognitive 40): native-harness-filesystem-independence.preserveControllerEvidence has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 9, ternaries 6 (8 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd3daf843b34b4a4c76237ed5ab046ed217739d43af2cb05735045be7a41cb"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.createPluginEnvironmentDriver.acquireRunLease (cognitive 40): environment-runtime.createPluginEnvironmentDriver.acquireRunLease has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 14, ternaries 14, if/else 8 (12 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9a255e695b3ecbac2035b6a4485a3a558927db10b7e6ef33dc651c44d06766"}},{"ruleId":"D2","level":"warning","message":{"text":"live-recovery-work.registerLiveRecoveryWork.register::load (cognitive 40): live-recovery-work.registerLiveRecoveryWork.register::load has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 14 (28 pts), if/else 9 (10 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":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9b19fc7816869c87c15ed5fd6f99afa821c58f12845f549d35e27a5dd8d3df"}},{"ruleId":"D2","level":"warning","message":{"text":"wakeup-authorization.createInboundWakeAuthority.authorizeInboundWakeup (cognitive 40): wakeup-authorization.createInboundWakeAuthority.authorizeInboundWakeup has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 14, ternaries 6, loops 1 (2 pts) (nesting depth added 5). Of this number, 32 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"824c5f0b39e7634bb7a2702c5633280fa596392f6fe16474efdf92b677408a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-queue.createChatConversationDeliveryQueue.messageFromDelivery (cognitive 40): conversation-queue.createChatConversationDeliveryQueue.messageFromDelivery has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 14 (21 pts), boolean chains 13, if/else 6 (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 17 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ede153a4b2f274f4a1ecf11fb4046fc56be8672b8ad612b8010c012288658"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.acceptRequestConfirmation (cognitive 40): issue-thread-interactions.issueThreadInteractionService.acceptRequestConfirmation has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (22 pts), ternaries 6 (11 pts), boolean chains 6, loops 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 40 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 2496, publish). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"506d5e25a40dfd840421c41bf52e5b0733b9b3fa0915d43d18938e30527fb6dc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-runner-file-handoff.stageNativeRunnerWakeAttachments (cognitive 40): native-runner-file-handoff.stageNativeRunnerWakeAttachments has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 8, loops 3 (7 pts), ternaries 3 (5 pts), error handling 2 (3 pts) (nesting depth added 14). Of this number, 23 points are the body\u0027s own statements and 17 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"394118cbfdcfb4f43a9caaa97d1c20c2cb86383f78a99ece81e26d00186f6ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#generateImage (cognitive 40): PaperclipRunnerToolAuthority.#generateImage has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 6, error handling 4, ternaries 2 (3 pts) (nesting depth added 7). Of this number, 29 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, 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"39658bd196c92d8c7eafc09ecb33c1cef19513026c5c2a5de689a4a69244ae76"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareRunner (cognitive 40): native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareRunner has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (14 pts), boolean chains 8, error handling 1 (3 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareHarness) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19054}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4933c768abd26c1624a18c38af26a1f76cf0f79045f4db37a242b3b20131cc"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#observe (cognitive 40): CursorCloudSession.#observe has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 9, loops 2 (3 pts), ternaries 1 (3 pts), 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7ba8dc2068db156fb62147c2cd7f2f4716a3779d5b5093ae9bf00a453ef1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"app.DistillationSettingsPanel (cognitive 40): app.DistillationSettingsPanel has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 18 (24 pts), if/else 8 (9 pts), boolean chains 3, error handling 3, loops 1 (nesting depth added 7). Most of this is not in the body itself: 15 of the 40 points are its own statements and the rest belongs to 5 function items inside it that branch (enableForActiveProjects, runBackfill, runDistillNow, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0ef6be739d541ce197234fa0be3705f3dddddf35cd1ef5df132aba54953e63"}},{"ruleId":"D2","level":"warning","message":{"text":"pod-exec.execInPod (cognitive 40): pod-exec.execInPod has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (21 pts), ternaries 6 (9 pts), boolean chains 6, error handling 4 (nesting depth added 5). Most of this is not in the body itself: 6 of the 40 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 173, 197, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966e8e65345cf2ca5feed0775befec688d0083f74420b4f00e2a039b60a9b42"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerCore.doExpose (cognitive 40): BrokerCore.doExpose has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 6 (8 pts), boolean chains 3, 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e430752fb6db1be3936d8de9b5ecb2ac21994e2def5154ddd86bb38feb415"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireCheckpoints (cognitive 40): native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireCheckpoints has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 10, loops 2 (5 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 17). Of this number, 39 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aebb19dca294f9110d3066b0c03b0930b9536131cf907dc8d092dac6a1d07eb"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::assertSuggestedTaskEffectsAllowed (cognitive 40): issues.issueRoutes::assertSuggestedTaskEffectsAllowed has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":6454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1330c53588034e87af1ce0325fe39318b4efb880f1389b0cb90ff466f5d0437"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchableSelect.SearchableSelect (cognitive 40): SearchableSelect.SearchableSelect has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 14 (15 pts), boolean chains 8, loops 1 (nesting depth added 7). Most of this is not in the body itself: 12 of the 40 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 149, selectOption, 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":"ui/src/components/SearchableSelect.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d82a21fbdf3f31c47cccf3f406f8847bc6db64a8b9a077fb2b60af49e8156"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatComposer::submitComment (cognitive 40): IssueChatThread.IssueChatComposer::submitComment has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (20 pts), ternaries 8 (12 pts), boolean chains 7, 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. This shape REPEATS in the file: 3 other methods here (IssueChatThread.IssueChatComposer, IssueChatThread.IssueChatComposer::resendUncertainSubmission, IssueChatThread.IssueChatComposer::attachFile) 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0477cb666e79557a80a8facb9a309914bd597bb8f7674c192ea1c6e5201d2aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputFeedbackButtons.OutputFeedbackButtons (cognitive 40): OutputFeedbackButtons.OutputFeedbackButtons has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 14 (18 pts), boolean chains 11, if/else 10, error handling 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 23 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":"ui/src/components/OutputFeedbackButtons.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c8052ac5c448a4670f22c453ab362d47309ec1de2aaabb5edeeef42729bb54"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueWorkspaceCard.IssueWorkspaceCard (cognitive 40): IssueWorkspaceCard.IssueWorkspaceCard has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 31, if/else 5, ternaries 4. Of this number, 33 points are the body\u0027s own statements and 7 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":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e681966c1bc339d0864fdcc700093fbfa89fd6dbc911953b765270cace8c791"}},{"ruleId":"D2","level":"warning","message":{"text":"LogViewer.LogViewer (cognitive 40): LogViewer.LogViewer has cognitive complexity 40 (threshold 15). Drivers by points: if/else 60 (73 pts), boolean chains 55, ternaries 20 (26 pts), error handling 3 (4 pts), loops 1 (nesting depth added 20). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (LogViewer.LogViewer::appendLogContent) 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09169635f555fed0fe1cc48376a1e782022fcc2f641614795cb4219e34100a0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppNotConnected.AppNotConnected (cognitive 40): AppNotConnected.AppNotConnected has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 16, ternaries 9 (13 pts), if/else 11 (nesting depth added 4). Of this number, 36 points are the body\u0027s own statements and 4 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":"ui/src/pages/apps/AppNotConnected.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7fba98a1bf6a404ad6ecebf9a4eb24c22c81181937a7d89be29782619a156d"}},{"ruleId":"D2","level":"warning","message":{"text":"Secrets.ProviderVaultCard (cognitive 40): Secrets.ProviderVaultCard has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 19 (37 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3883}}}],"partialFingerprints":{"codehealthFindingId/v1":"123e1b8fa8d74049f8cb177f2a3e0e2f1781fff0069191340c8315459723de75"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceExperimentalSettings.InstanceExperimentalSettings (cognitive 40): InstanceExperimentalSettings.InstanceExperimentalSettings has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 13, if/else 5 (7 pts) (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 8 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":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b121a0d889d0d5ab2950550f4a31b00f7d8084b84184133a57d8eb62e40175"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalCommandExecutor::operation (cognitive 40): ExternalCommandExecutor::operation has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 10, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2100e088e9b566e5aa2f792b468142ac2d6c4c44c56979a19b63bd93fb7ed16f"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-callback-bridge.startSandboxCallbackBridgeWorker.processRequestFile (cognitive 39): sandbox-callback-bridge.startSandboxCallbackBridgeWorker.processRequestFile has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 6, error handling 4 (5 pts), ternaries 4 (5 pts), loops 1 (nesting depth added 6). Of this number, 29 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36e6aa559dcb235f1cc8e400798d6089d06fcab7d25f8a5ea1e74b3cc2d3a8e"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.createCodexJsonlParser.\u003Creturned closure\u003E (cognitive 39): parse.createCodexJsonlParser.\u003Creturned closure\u003E has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 4, loops 1 (nesting depth added 20). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb172e76f7c84aaa02e921c10f733ccef47788e0393c17242bec97eb61b0713b"}},{"ruleId":"D2","level":"warning","message":{"text":"governance-events.claudeHookPayload (cognitive 39): governance-events.claudeHookPayload has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (18 pts), boolean chains 11, if/else 10 (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/paperclip-runner/src/governance-events.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3b219571389fb771fd77ccba3812229b5887d9a671c5831e21373482889c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#authResponse (cognitive 39): DurablePrpControlPlane.#authResponse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 12, 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"165ec28301fe233d503d58cec3b43f47d88f958ae62aefb3fb724132867ad9d8"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedJsonCompactor.#endString (cognitive 39): BoundedJsonCompactor.#endString has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df9ff50ee9d3f73f10b733f2479bbd8df693d1bb63b40824e5bbe1bc2e4bcf8"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityLiveSessionService.create (cognitive 39): CapabilityLiveSessionService.create has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 15 (28 pts), boolean chains 6, if/else 5 (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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"c055e75c938b7f9fd8646ef7443a4d9ac8babc2ca72516811191e128a4f3f127"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-inner-distribution.readCopilotInnerTar (cognitive 39): copilot-inner-distribution.readCopilotInnerTar has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 10, loops 3 (4 pts), ternaries 2 (3 pts) (nesting depth added 11). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/copilot-inner-distribution.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7fafa9cb7705ffcd676b959cac65d2f2e9c0cc5a423d6f12d2f4afb8663482"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-forms.parseSlackFormOperation (cognitive 39): cloud-forms.parseSlackFormOperation has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 21, if/else 13 (18 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":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"be618918e8a84bfd487615603d0ad915ca57dd7fbca78ec2f96bf907de52cb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.scopeAllows (cognitive 39): authorization.scopeAllows has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (26 pts), ternaries 6 (8 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":"server/src/services/authorization.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e2b963ed2dbe1ccc9a22ded406b6eafb5cda3641016557ecb8d0f3aea82d79"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-http.mcpToolHeaderParameters::visit (cognitive 39): mcp-http.mcpToolHeaderParameters::visit has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-http.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f6ce0cb1cdd21b82ad09e1289b86e192464a89643d385b8a44ec1409c42704"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-refresh.createLegacyOAuthRefresh::refreshOAuthCredentials (cognitive 39): connection-refresh.createLegacyOAuthRefresh::refreshOAuthCredentials has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 12, ternaries 8 (10 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":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b239f461dec17589b85be395b2b025890aec581ef5b4103abad85e63e07b33d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-fresh-workspace.stageProviderFreshWorkspace (cognitive 39): provider-fresh-workspace.stageProviderFreshWorkspace has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 2 (9 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 23). 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":"server/src/services/provider-fresh-workspace.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8930f2b7eb0a5b439ccef2311c7780bc8ab0ef6bef2e2e6aae02d1edc85c12a1"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-repository-rehome.cleanupRehomedSource (cognitive 39): isolated-repository-rehome.cleanupRehomedSource has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 5, ternaries 1 (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"e290d25e27d479c86e93cd4c0c0bcd4a4dfcd9a9fda8f23147465e21fa4a1bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"documents.documentService.upsertIssueDocument (cognitive 39): documents.documentService.upsertIssueDocument has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (25 pts), ternaries 4 (7 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 20). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 244). 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":"server/src/services/documents.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62eb21528e8b00e2484991c52d737f07580be94cc0546721bb845595315b568"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-sync.skillSourceSyncService.sweep (cognitive 39): skill-source-sync.skillSourceSyncService.sweep has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 2 (8 pts), error handling 2 (5 pts), loops 4, boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-sync.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8123d97688f7c76773b6fbda7d9b410645a607dacfa03517109f1fcb56c52733"}},{"ruleId":"D2","level":"warning","message":{"text":"timer-policy.createHeartbeatTimerPolicy.readTimerHeartbeatSchedules (cognitive 39): timer-policy.createHeartbeatTimerPolicy.readTimerHeartbeatSchedules has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 4 (7 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 17). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84a0349d3bbf6113cc1ff1fecfef9f565875708095260dc80dfe1c28cd39d24"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.argumentFiltersMatch (cognitive 39): tool-access-policy.argumentFiltersMatch has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 4 (8 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c2051f1fd6146633d83153b96a506ffce085d6dcff614633a8a18a4b0b0471"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-runtime.assertManagedAiProjectAuth (cognitive 39): ai-connection-runtime.assertManagedAiProjectAuth has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 6 (9 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e6b624533c8656eb70c9f02c1a405a68c2b4f83e01b13ebeeba79e860a0a65"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.enqueueStrandedIssueRecovery (cognitive 39): service.recoveryService.enqueueStrandedIssueRecovery has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 8, ternaries 3 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49fdd9763b30b4f3a2b1c75d08b3da2852730c4e2c72dd95ec60028de42c5cf"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.prepareDownload (cognitive 39): workspace-file-resources.workspaceFileResourceService.prepareDownload has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (27 pts), error handling 2 (6 pts), boolean chains 5, 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"babecfaf145b7e9600f6c58fdf48aa389efcbb387b731caf7218efc20e0a31ab"}},{"ruleId":"D2","level":"warning","message":{"text":"native-continuation.buildNativeContinuationPrompt (cognitive 39): native-continuation.buildNativeContinuationPrompt has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 23, ternaries 10, if/else 6. Of this number, 37 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-continuation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f31cd3cf9f360f02c6665568c44755b5f0488b6aa07fe03eb80c1e107c3809"}},{"ruleId":"D2","level":"warning","message":{"text":"native-interaction-bridge.applyNativeAttentionStatusDecision (cognitive 39): native-interaction-bridge.applyNativeAttentionStatusDecision has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 4 (12 pts), boolean chains 1, loops 1 (nesting depth added 23). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to one function literal inside it that branches (line 79). 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"012e494893e55406a2e4b5ff94bf1d9648e22f6edf0cb9b4764d03333f264170"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.authorizeRetainedChatSourcePublication (cognitive 39): chat-channels.chatChannelService.authorizeRetainedChatSourcePublication has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 13, error handling 2 (3 pts), 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":"server/src/services/chat-channels.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd677e40bbeb27cfa50a247ae9e637962e772e2dac33584ba5fe09e07737295"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.sweepMergedPullRequestConfirmations (cognitive 39): issue-thread-interactions.issueThreadInteractionService.sweepMergedPullRequestConfirmations has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, loops 6 (7 pts), ternaries 3 (4 pts), error handling 1 (2 pts) (nesting depth added 12). Of this number, 37 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"512109fb64ace29fe6589ce9f71c87034018d777b3e2abdae3ee3fa54f20cefd"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-bridge-tools.executeWorkspaceToolInLane (cognitive 39): runner-bridge-tools.executeWorkspaceToolInLane has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 6 (13 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 15). Of this number, 20 points are the body\u0027s own statements and 19 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":"server/src/services/native-runtime/runner-bridge-tools.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c62938ad6c349866d80ec6d91ab532b93e3bd8e9b34b585bb8c4a4e9efc6558"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#createTask::authorizeCreate (cognitive 39): PaperclipRunnerToolAuthority.#createTask::authorizeCreate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 5 (7 pts), boolean chains 3 (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. This shape REPEATS in the file: one other method here (PaperclipRunnerToolAuthority.#createTask) 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"422ae7894adcce1b3897ff644251364b3306b012df81a7029ba93671c4037660"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.detachNativeSessionsForRestart (cognitive 39): native-session-executor.detachNativeSessionsForRestart has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 5, error handling 2 (5 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba2338b6e6223effc1ab20f37f51490449e9c8fbf7ecca53e9cec07ff7d50e6"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.synchronizeCompletedProviderPlan (cognitive 39): native-session-executor.synchronizeCompletedProviderPlan has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 12, ternaries 8 (11 pts), 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69e2efdc383e56afa25b019fdc687501f65a89ab2aa3e7681c4a72f065f5d26"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.recoverPluginRunnerCheckpoint (cognitive 39): native-session-executor.recoverPluginRunnerCheckpoint has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 9 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5854}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dd78a570d97187773c92f6dd7408aa52f0e37a99d1b292b0e25447af9af553"}},{"ruleId":"D2","level":"warning","message":{"text":"app-definition.connectionMethodDefSchema (cognitive 39): app-definition.connectionMethodDefSchema has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 17, loops 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/shared/src/validators/app-definition.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd884df77eaada16c0740e747d62e2f616959d325fed814e47885ba7c3e5e74"}},{"ruleId":"D2","level":"warning","message":{"text":"customer-success.parseInspectionQuery (cognitive 39): customer-success.parseInspectionQuery has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 19, if/else 15 (18 pts), 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/shared/src/customer-success.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317e72205fb452e8eecfba65be4fb3ce7dfe7f81d19b150b40af31ec1971560"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-metadata-probe.probeCopilotMetadata (cognitive 39): copilot-metadata-probe.probeCopilotMetadata has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 10, ternaries 5 (9 pts), error handling 3, loops 1 (nesting depth added 8). Of this number, 24 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/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8381e81938567bd4a8b3ae1224e3b9f1514ee4484ccb17e98d8ed7fd89c2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-runtime-extension.checkPiNativeTool (cognitive 39): pi-runtime-extension.checkPiNativeTool has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4 (8 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c127f6d6bd8df362d65f601b6bae60435a27a70aa901becbfb9a484499ea3f"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-retention.decisionRetentionService.materializeSourceState (cognitive 39): decision-retention.decisionRetentionService.materializeSourceState has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 12, ternaries 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-retention.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3f32e9c9deabd6cc2a03f74edea5dd52bfa43a381ba2e3ed865c3c2f7adb57"}},{"ruleId":"D2","level":"warning","message":{"text":"billing-reconciliation.billingReconciliationService.reconcile (cognitive 39): billing-reconciliation.billingReconciliationService.reconcile has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 9 (28 pts), if/else 3 (5 pts), boolean chains 3, loops 3 (nesting depth added 21). None of this is in the body itself: all 39 points belong to one function literal inside it that branches (line 89). 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c10b7e24c51ebe49f8193c8a9ecb1997f06df20a5d7a015ff837dc73df8f03d"}},{"ruleId":"D2","level":"warning","message":{"text":"company-search-extract.companySearchExtractService.extract (cognitive 39): company-search-extract.companySearchExtractService.extract has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 3 (6 pts), ternaries 3 (6 pts), boolean chains 5 (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":"server/src/services/company-search-extract.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"069e8ffb15a11932146f32249a7108cf1fc9f684bf4ae66ece0ccbaa3a56b4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionService.executeDecisionEffects (cognitive 39): decisions.decisionService.executeDecisionEffects has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 9 (24 pts), if/else 5 (9 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 21). Of this number, 25 points are the body\u0027s own statements and 14 belong to 5 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":"server/src/services/decisions.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f807bec4742c6d127ec48b907bf2ef61511f1ba32ef751c9c700b6afed5b31"}},{"ruleId":"D2","level":"warning","message":{"text":"costs.costRoutes (cognitive 39): costs.costRoutes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 32, boolean chains 5, ternaries 2. None of this is in the body itself: all 39 points belong to 29 function items inside it that branch (a function literal at line 233, a function literal at line 447, a function literal at line 106, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64e5b6ffe5c139c9ed35478d0711d6926e947bcc8003e72f84623ca22046ed"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokBotConnection.GrokBotConnection (cognitive 39): GrokBotConnection.GrokBotConnection has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 24, ternaries 6 (10 pts), if/else 5 (nesting depth added 4). Of this number, 33 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":"ui/src/components/GrokBotConnection.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6677c4640f92907fb05a608a7feb3ca340e0a3602af8ffd93a9a9cc83688f97f"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-timeline-events.extractIssueTimelineEvents (cognitive 39): issue-timeline-events.extractIssueTimelineEvents has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (28 pts), ternaries 2 (6 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":"ui/src/lib/issue-timeline-events.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"09039ac20a57f7c79810a86f2323cfc1e6f4b80d467703f28e4cdb8c4edbffc0"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.ToolActionResolution (cognitive 39): IssueThreadInteractionCard.ToolActionResolution has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 15 (26 pts), boolean chains 8, if/else 3, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1476bcb6db515fa1edf119ca067fdeeaeed2f3977da92a8cf040102e54467cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAdvancedTab.ConfigurationEditor (cognitive 39): AgentAdvancedTab.ConfigurationEditor has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 12, if/else 11, error handling 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 17 belong to 13 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":"ui/src/pages/AgentAdvancedTab.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"24972940c2402cc6edd0e1a701eff0ee6a3fbc3fa0e3f8896d470bf15f48e9e8"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionHistory.DecisionHistoryTable (cognitive 39): DecisionHistory.DecisionHistoryTable has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 18 (33 pts), boolean chains 5, if/else 1 (nesting depth added 15). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 14). 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":"ui/src/components/decision-models/DecisionHistory.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6da791dbf0a388d5300f63ca08dbaf5132377b5dd38af77e23e02fd10e118f8"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionQueueRow.AttentionQueueRow (cognitive 39): AttentionQueueRow.AttentionQueueRow has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 24, ternaries 7 (11 pts), if/else 4 (nesting depth added 4). Of this number, 29 points are the body\u0027s own statements and 10 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"88647fb9b12a54f67752fc5a805436a139200d857e92db9e8d69c7caba777bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilesTab.ProfilesTab (cognitive 39): ProfilesTab.ProfilesTab has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 13 (17 pts), if/else 12, boolean chains 10 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 22 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c496cd3ea2efbc5c3dbea973f0fb91fb91e5294357c03ab22bd52f58b230ff"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnSlackAppSetup.OwnSlackAppSetup (cognitive 39): OwnSlackAppSetup.OwnSlackAppSetup has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 29, ternaries 7 (17 pts), if/else 12 (14 pts), error handling 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (OwnSlackAppSetup.OwnSlackAppSetup::create) 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae82404a9caa18b69ce33d47301a1b4cfe7d57a08311845fd0db1244d51095ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.ProjectSkillBrowser (cognitive 39): ImportSkillsFromProjectDialog.ProjectSkillBrowser has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 9 (33 pts), boolean chains 6 (nesting depth added 24). Most of this is not in the body itself: 9 of the 39 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 874, 851, 889, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"1020d47e37fd1a7f6ae5c12346e5c6876f75321864ecf80d4999468e24d88156"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.InstallPreviewDialog (cognitive 39): CompanySkills.InstallPreviewDialog has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 22 (28 pts), if/else 7, boolean chains 4 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 15 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"70503d363521152da651963918ebf91b9cb491e60cc1d39614daa8b75e81b118"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.InstallPreviewDialog (cognitive 39): CompanySkills.production.InstallPreviewDialog has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 22 (28 pts), if/else 7, boolean chains 4 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 15 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e82d9c34bb786882d432576b5a123b354a0f2cd13d4573ebee368a67147d39"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatInteractionCard.TaskChatInteractionCard (cognitive 39): TaskChatInteractionCard.TaskChatInteractionCard has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 18, if/else 10 (12 pts), ternaries 5 (9 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatInteractionCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedeccd6a66178eeb4c6879ee563b4e64ebf59d32d849a299e2867bef34295e7"}},{"ruleId":"D2","level":"warning","message":{"text":"persisted-query-cache.startPersistedQueryCache.flush (cognitive 39): persisted-query-cache.startPersistedQueryCache.flush has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 12, loops 7 (8 pts), error handling 1 (nesting depth added 6). Of this number, 33 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5757fc6ee69c19dc6e5c13298e1df55bc263887dfa4f1a78ca95490d4b716c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"Management.Management (cognitive 39): Management.Management has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 18 (26 pts), boolean chains 9, if/else 4 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 12 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":"ui/storybook/prototypes/provider-routing/Management.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cedd047698bc849dc4a2c32532de7df50baf0f8a7324cbc013a92b69da00fd2"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.runAdapterExecutionTargetShellCommand (cognitive 38): execution-target.runAdapterExecutionTargetShellCommand has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (35 pts), error handling 1 (3 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f47699faa377f434ac7d0f1b597aaad08d1106ccae36d3963625741d485c210"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printKimiStreamEvent (cognitive 38): format-event.printKimiStreamEvent has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (25 pts), error handling 2 (5 pts), boolean chains 4, loops 1 (2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63e57aa6f20f91b10ae49119929c183262d6647eef413b9aec9f14a1020fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-prp-control-plane.isStoredCoreState (cognitive 38): durable-prp-control-plane.isStoredCoreState has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 16, error handling 1 (2 pts) (nesting depth added 6). Of this number, 37 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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddbb7a6b154e66425d9396caa301a200408be2792feaed425bfc45d5c630efc"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityLiveSession.#handleServerRequest (cognitive 38): CapabilityLiveSession.#handleServerRequest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 5 (9 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c00e9b837c41a76e0fe8d36ecf001ca1d4d87bc07da20f6013b4ed2ecd9f67e"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-pi-distribution.materializePiDistribution (cognitive 38): materialize-pi-distribution.materializePiDistribution has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 7 (8 pts), boolean chains 3, error handling 2, loops 2 (nesting depth added 6). Of this number, 32 points are the body\u0027s own statements and 6 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a03f2106891df379810b47752136a5e3fe3bd245003a6617d8f6b6b12914dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createAuthorizationService.decideReadsForActors (cognitive 38): authorization.createAuthorizationService.decideReadsForActors has cognitive complexity 38 (threshold 15). Drivers by points: loops 10 (18 pts), ternaries 7 (12 pts), boolean chains 4, if/else 2 (4 pts) (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 15 belong to 4 function literals inside it that branch. To reduce it, 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":"server/src/services/authorization.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83260d92e8b92d1d9aaff2384b280ea2f2568b31d4b434fb862a471b727c46"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-snapshot.attachPreservedWorkspaceSnapshots (cognitive 38): workspace-recovery-snapshot.attachPreservedWorkspaceSnapshots has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 22). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-snapshot.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7566e86c22e153817c5202e7d22921de4b3e5064c10ee5d9051feccf64011c"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.reserve (cognitive 38): voice-session-store.voiceSessionStore.reserve has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 13, ternaries 2 (nesting depth added 9). None of this is in the body itself: all 38 points belong to 2 function literals inside it that branch (lines 166, 174). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f7a7a5c1dd96008e77cde00db72e8cf8af8b1be862354e038ee34539a82c46"}},{"ruleId":"D2","level":"warning","message":{"text":"object-run-log-store.createObjectRunLogStore.read (cognitive 38): object-run-log-store.createObjectRunLogStore.read has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 5 (11 pts), boolean chains 9, 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f33a94fe016922ec5c6f96c84ebbf1f184891d25b10de6f6f3cb2e4886fcf2"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.select (cognitive 38): ai-connections.aiConnectionService.select has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 19, if/else 16 (17 pts), ternaries 2 (nesting depth added 1). Of this number, 36 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":"server/src/services/ai-connections.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"67533ac312b11170b381e25f0db712de623ed2cb3946042f8595d378c447a312"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-version-cache.protectedVersions (cognitive 38): skill-version-cache.protectedVersions has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 3 (6 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 22). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-cache.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc785120928fca894e8988b9bc7c8ce2adf02b42db54b7a28fb4095d56593f3"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-shutdown-workspace-settlement.allowLegacyShutdownWorkspaceCleanup (cognitive 38): legacy-shutdown-workspace-settlement.allowLegacyShutdownWorkspaceCleanup has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 12 (nesting depth added 8). Most of this is not in the body itself: 1 of the 38 points is its own statement and the rest belongs to one function literal inside it that branches (line 178). 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":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6373117a51f59165e7e6be45e78a5ff42a442b5774d95311834789ac4d70f44b"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.pollStoredMcpTask (cognitive 38): tool-gateway.createToolGatewayService.pollStoredMcpTask has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 8, ternaries 3 (7 pts), 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7650}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5dba43b9950c89d3b54eec3cde5291ffe7f85f2e52cd0ed3ce5327fac47d66"}},{"ruleId":"D2","level":"warning","message":{"text":"subscriptions.subscriptionService.register (cognitive 38): subscriptions.subscriptionService.register has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 12, ternaries 5 (7 pts) (nesting depth added 7). Most of this is not in the body itself: 4 of the 38 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 105, 129). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/subscriptions.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef538ced80c4d012d1ecccd19a1342eee03f02e2595ab6e25dbd3ac5e69a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-deliverable-feedback.hasCurrentPublicationReceipt (cognitive 38): native-deliverable-feedback.hasCurrentPublicationReceipt has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 10, ternaries 2 (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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f2ceba04b8a0dc04f3c83a71501270275c53459bd1484e1d280e91c872180a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-finalizer.recoverCommittedNativeChatResponseInScope (cognitive 38): native-run-finalizer.recoverCommittedNativeChatResponseInScope has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 31, if/else 4 (6 pts), 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5ccea6f50f2dd19bfd4f128ffbf43663028c1e67d220f5ca0df8fab2817aff"}},{"ruleId":"D2","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.setRunStatusFromLive (cognitive 38): run-lifecycle.createHeartbeatLifecycle.setRunStatusFromLive has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 12, if/else 9 (10 pts) (nesting depth added 8). Most of this is not in the body itself: 14 of the 38 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1288, 1351). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa80d9de44f60a7df92574163a6c473ab7b19b85445f8b7a1ffebb9479aa7fe6"}},{"ruleId":"D2","level":"warning","message":{"text":"removal.createConnectionRemoval::removeConnectionUnlocked (cognitive 38): removal.createConnectionRemoval::removeConnectionUnlocked has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (24 pts), error handling 2 (5 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (removal.createConnectionRemoval::classifyConnectionSecrets) 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":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1cb4969d3ceed0f855fac68b8ba4b1eef16da18fcd34841daeac033418b86"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.environmentService.acquireLease (cognitive 38): environments.environmentService.acquireLease has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 5 (9 pts), boolean chains 8 (nesting depth added 13). Of this number, 16 points are the body\u0027s own statements and 22 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":"server/src/services/environments.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d32414ec4761d236fd8918f5fa46eaa352add4526b3789d907869589b857cc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-native-backend.createTransportBackedNativeSessionBackend (cognitive 38): codex-native-backend.createTransportBackedNativeSessionBackend has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 18 (22 pts), boolean chains 13, if/else 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/codex-native-backend.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff0993b0803c2d0f44882cd42e73eff76a9ff3ba4409981cb11e7ac4172c393"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-observability-runtime.prepareEvalObservabilityRuntime (cognitive 38): eval-observability-runtime.prepareEvalObservabilityRuntime has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 9, loops 4 (5 pts), ternaries 4 (5 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/paperclip-runner/src/cli/eval-observability-runtime.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4df36844172ecd23dd8efcb479c63ae0be1b484a43dd6c053257183a46e572"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-app-server-proxy.handle (cognitive 38): opencode-app-server-proxy.handle has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 3 (8 pts), boolean chains 5, match/switch 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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea248b07221730561adacd2660a975cdfe04d8774dd6c65879347759013fc4bc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.retryQuarantinedSessionCleanups (cognitive 38): native-session-runtime.retryQuarantinedSessionCleanups has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecec7cf731f0029dbc7c6d6d3544a72f372385d1e7cf13faf9faa6655e0240fd"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.syncOutDirectoryMapping (cognitive 38): file-sync.syncOutDirectoryMapping has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 6 (10 pts), error handling 3 (8 pts), boolean chains 4, loops 1 (nesting depth added 18). None of this is in the body itself: all 38 points belong to 4 function literals inside it that branch (lines 1408, 1411, 1428, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbac39ea61954f7d783571e2cf7ebf561c7a7f1e5c94e0828967ad6c8e138b5"}},{"ruleId":"D2","level":"warning","message":{"text":"billing-reconciliation.billingReconciliationService.importInvoice (cognitive 38): billing-reconciliation.billingReconciliationService.importInvoice has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 4 (9 pts), boolean chains 3, loops 3 (nesting depth added 17). None of this is in the body itself: all 38 points belong to one function literal inside it that branches (line 27). 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ac4e94d552c15b3485293523866fa9c1d05d917d75af65a405827189eed85e"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::handleAgentHire::performHire (cognitive 38): agents.agentRoutes::handleAgentHire::performHire has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 16 (23 pts), if/else 7 (11 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. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":4671}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccf00570ba6cb0180bd4514b7bb0e250e0db9d6aa79f780c1d65301952836fa"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.queueResolvedInteractionContinuationWakeup (cognitive 38): issues.queueResolvedInteractionContinuationWakeup has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 22 (23 pts), boolean chains 12, if/else 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":"server/src/routes/issues.ts"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec481cd902c4507908aaa081312facf9a7e0c68ee0ec888b82a9881642f08e"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::findQueuedCommentWake (cognitive 38): issues.issueRoutes::findQueuedCommentWake has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 7, 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":7716}}}],"partialFingerprints":{"codehealthFindingId/v1":"218c09fbe83a33c50b5e4eaf1d59acacb447722cf4dace6a62220927c8ad3368"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessRoutes::handlePaperclipCloudConnectorCallback (cognitive 38): tool-access.toolAccessRoutes::handlePaperclipCloudConnectorCallback has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 14 (20 pts), if/else 7 (9 pts), boolean chains 8, 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. This shape REPEATS in the file: one other method here (tool-access.toolAccessRoutes::describeConnectionCapabilities) 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":"server/src/routes/tool-access.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fef3690b3614c137a991982213d6929a9771b6905a89a90b38efba9d688f215"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.attentionRoutes (cognitive 38): attention.attentionRoutes has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 6, ternaries 4 (5 pts), error handling 1 (2 pts) (nesting depth added 5). None of this is in the body itself: all 38 points belong to 8 function items inside it that branch (a function literal at line 206, a function literal at line 109, a function literal at line 293, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attention.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68e27cc1599c2387a50d1e08dca108d5b5981557db15aa01287dd48cad07fa"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-review-attention.main (cognitive 38): benchmark-review-attention.main has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 8 (24 pts), loops 6 (11 pts), if/else 2, boolean chains 1 (nesting depth added 21). Of this number, 22 points are the body\u0027s own statements and 16 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":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"41683fb594b421b43cd2ca7a043bfa2bfbf8c409c487ac710ecda999df78d9d6"}},{"ruleId":"D2","level":"warning","message":{"text":"inbox.buildInboxIssueGroupCreateDefaults (cognitive 38): inbox.buildInboxIssueGroupCreateDefaults has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 6 (17 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"196af7f133a4fe8a8181f1eb7d867570a52b8f5875219629888ec93588f93e40"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatToolCard.TaskChatToolCard (cognitive 38): TaskChatToolCard.TaskChatToolCard has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 21 (29 pts), boolean chains 9 (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":"ui/src/components/task-chat/TaskChatToolCard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccbeed23d5b69d2a8550600180d8297db5e7f5a89db01f35e45abf955758ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-format.formatActivityVerb (cognitive 38): activity-format.formatActivityVerb has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 6 (15 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7e0dd65a18f81853955b6f6b40d453020bf47db2f61aac2f9fcdbf43aa115e"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineList.RoutineListRow (cognitive 38): RoutineList.RoutineListRow has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 24 (32 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":"ui/src/components/RoutineList.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccac69c843933b47b99182875f2c403851839d776bdca1e8d9eeaf39a6cfa2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionResolver.DecisionResolver (cognitive 38): DecisionResolver.DecisionResolver has cognitive complexity 38 (threshold 15). Drivers by points: loops 7 (11 pts), if/else 9 (10 pts), boolean chains 9, ternaries 6 (8 pts) (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 21 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2545d20218194c75c1f041a3113a98ccce01a738f95e50a6352702018b7fb9ff"}},{"ruleId":"D2","level":"warning","message":{"text":"AdapterManager.AdapterManager (cognitive 38): AdapterManager.AdapterManager has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 19 (27 pts), boolean chains 7, if/else 4 (nesting depth added 8). Most of this is not in the body itself: 12 of the 38 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 550, 290, 342, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61a7d8f6022bd14cb54c107c7269280cd35a302627f59d65f55b5d34b29ddd1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.ConnectionSetupFlow (cognitive 38): ConnectionSetupFlow.ConnectionSetupFlow has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 19, if/else 11 (16 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 6). Of this number, 34 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cea481d450d000862aa9efc3ba73e1a144a770a826e7e12d94f56dbe1201fa9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSetup.AgentRoutingFields (cognitive 38): AgentSetup.AgentRoutingFields has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 20, ternaries 10 (13 pts), if/else 3 (5 pts) (nesting depth added 5). Of this number, 34 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1463f408d9c85d27806e22cee9c99c1fcf8dca2fe9a3d6c30c8957e5c85a16"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialTaskPage.CredentialTaskPage (cognitive 38): CredentialTaskPage.CredentialTaskPage has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 9 (11 pts), boolean chains 2, loops 1 (nesting depth added 9). None of this is in the body itself: all 38 points belong to 3 function literals inside it that branch (lines 70, 17, 99). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/credential-access/CredentialTaskPage.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7288e12a970fc202192bd340241101d4891fa5f7d85ffff63a9338d112a7ed"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxCommandExecutor::attach_run (cognitive 38): AcpxCommandExecutor::attach_run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 8, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"797282d3820bf7556677dd567b8694bc138b8bed1c4f7b817982165bb6b22429"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-checkpoint.validateCheckpointPayload (cognitive 37): workspace-checkpoint.validateCheckpointPayload has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 5 (11 pts), boolean chains 6 (nesting depth added 17). Of this number, 35 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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f23f8e623c287ed7af50e22ae02f1e2d5bade193ad80b45e107b155cf87cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#startTurnWork (cognitive 37): DurablePrpCodexTransport.#startTurnWork has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (34 pts), ternaries 13 (14 pts), boolean chains 12, loops 2 (3 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DurablePrpCodexTransport.#startTurnWork::waitForStarted) 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a517511dba02ed23621e20a8d9c442ff42bbfaa8048d5ce102086420c01082"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-ephemeral.sendTelegramCallbackNotice (cognitive 37): chat-telegram-ephemeral.sendTelegramCallbackNotice has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 9, ternaries 1 (3 pts), error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"29173851ce3a2ffe728c85db6d90e06a47708cd72f024406fdfe08445b981183"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-file-consent.classifyTeamsUploadResponse (cognitive 37): chat-teams-file-consent.classifyTeamsUploadResponse has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 10, ternaries 2 (4 pts), 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"de84c7a826bd84d5b581ea584de6817a5ba3f1e8f000fa8cc1ea99803380af95"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-checkpoints.validateAgentFileCheckpoint (cognitive 37): agent-file-checkpoints.validateAgentFileCheckpoint has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 8, loops 3 (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":"server/src/services/agent-file-checkpoints.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b608b05b3a7dd63076cf29e872e7cadff8a22d6ffad3085492fcba5fb5a92a"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.reconcileLocalPathSkillSources (cognitive 37): company-skills.companySkillService.reconcileLocalPathSkillSources has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 7 (18 pts), if/else 7 (16 pts), boolean chains 2, loops 1 (nesting depth added 20). 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":"server/src/services/company-skills.ts"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791c5bcd3c8fd9de54360df2cf837a15743d78447d4dc425a7756b313e63993"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.upsertImportedSkills (cognitive 37): company-skills.companySkillService.upsertImportedSkills has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 6 (12 pts), boolean chains 7, 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":"server/src/services/company-skills.ts"},"region":{"startLine":6391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1e1149cfe8eb53c2180e744efb1df09f574f865582595763358d1c2b1941f7"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.snapshotRemoteImports (cognitive 37): company-skills.companySkillService.snapshotRemoteImports has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 3 (6 pts), boolean chains 3, ternaries 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":"server/src/services/company-skills.ts"},"region":{"startLine":6504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8de11b5e005498ee22fb63d679af04512d2dba865087ca2297e185731be65d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-migration.migrateNativeControllers (cognitive 37): native-controller-migration.migrateNativeControllers has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (2 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a3c859454322220a5b20cf05b33f9a939e4bcd583b138878faea4224915400"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-database.splitSqlStatements (cognitive 37): plugin-database.splitSqlStatements has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 4, 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":"server/src/services/plugin-database.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"953aa49b163e6a17540648b584845276908e628c5603ae34ba48aa2871b12fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.maybeRefreshPaperclipCloudGrant (cognitive 37): tool-gateway.createToolGatewayService.maybeRefreshPaperclipCloudGrant has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 8 (12 pts), boolean chains 10, error handling 1 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 13 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c09666f8e77940933eb07011510d6522197c64d96f4d64202ae084da06e9bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-deliverable-feedback.explicitlyRequestsFileOutputBySentence (cognitive 37): native-deliverable-feedback.explicitlyRequestsFileOutputBySentence has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 24, if/else 10 (12 pts), ternaries 1 (nesting depth added 2). None of this is in the body itself: all 37 points belong to 5 function literals inside it that branch (lines 168, 190, 227, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2f8c14379ea92887c361dae5f9da0b9bbb071d32638a7eb7be1e7905281316"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.terminalizeOrphanedRunningRun (cognitive 37): service.recoveryService.terminalizeOrphanedRunningRun has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 9, ternaries 8 (9 pts), error handling 2 (3 pts) (nesting depth added 4). Of this number, 30 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6395}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d01c067841c020d7261bfa96022cb688ca430a14669da66ea335d639bf886b"}},{"ruleId":"D2","level":"warning","message":{"text":"budget-reservations.reserveRunBudget (cognitive 37): budget-reservations.reserveRunBudget has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 10). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 92, 115, 147). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-reservations.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f2ddbc565efd60db1fbfdd61b408814ffef56944788b682467a3832f0d3c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.resolve (cognitive 37): workspace-file-resources.workspaceFileResourceService.resolve has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 5, error handling 2 (5 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 17). Of this number, 35 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"af008a5a7a7278948c4d5421aa5709de53f8905995359ac4a124ad90d9c2db4f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-observability.agentObservabilityService.configure (cognitive 37): agent-observability.agentObservabilityService.configure has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 10, ternaries 2 (5 pts) (nesting depth added 12). None of this is in the body itself: all 37 points belong to 2 function literals inside it that branch (lines 77, 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":"server/src/services/agent-observability.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"371df29f8f4404504158c9e1dfeb0aa7f8c81181084c6247e94ce40649cc6f18"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-log-export.createNativeRunLogCoverageVerifier.line (cognitive 37): native-run-log-export.createNativeRunLogCoverageVerifier.line has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (23 pts), error handling 5 (7 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 12). Of this number, 29 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"41da523c88c44edd9d967bd1308dbd688c122b2dac0d72cc690c9413778428ee"}},{"ruleId":"D2","level":"warning","message":{"text":"customer-owned.createCustomerOwnedSetup.create (cognitive 37): customer-owned.createCustomerOwnedSetup.create has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 7, ternaries 4 (7 pts), error handling 3 (nesting depth added 9). None of this is in the body itself: all 37 points belong to one function literal inside it that branches (line 12). 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":"server/src/services/connectors/slack/setup/customer-owned.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81c99191928a53a980b47fe95bafd4d35576938f46125ccd235aa7a87431df4"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.assertFailedNativeRetryState (cognitive 37): failed-run-retry.createChatFailedRunRetry.assertFailedNativeRetryState has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 8, 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39611b549228a3852e4a1bad4fe55eb3c3439e1b8bf1e1b21ac3c4d43946dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-app-discovery.pages (cognitive 37): aggregator-app-discovery.pages has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 7, ternaries 3 (7 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"00723a918721a0393a5c00dfa185ddfb676e01797e6397664cf52641ec791a05"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-connection-activity.listConnectionLifecycleEvents (cognitive 37): tool-connection-activity.listConnectionLifecycleEvents has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), ternaries 5 (6 pts), boolean chains 5, loops 3 (nesting depth added 8). Of this number, 30 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":"server/src/services/tool-connection-activity.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec77b4c51cedf5949830ed898adea987b158fd31fa0c979378a8c17d8081bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-connection-probe.probeCopilotExecutionTarget (cognitive 37): copilot-connection-probe.probeCopilotExecutionTarget has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 7, ternaries 2 (4 pts), error handling 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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"de069db5a7612dcea17d57dcb74df441c69892db78470d6c95f7acf6ef47070e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.refreshFinishedPerTurnRunnerdProjection (cognitive 37): native-session-executor.refreshFinishedPerTurnRunnerdProjection has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (nesting depth added 10). None of this is in the body itself: all 37 points belong to one function literal inside it that branches (line 7492). 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7488}}}],"partialFingerprints":{"codehealthFindingId/v1":"e973fa4ba5a83442c8b57fab06796cd7a3ad21f6a7deafe93ce15eb1d60179a9"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueService::enrichCommentsWithDerivedAgentAttribution (cognitive 37): issues.issueService::enrichCommentsWithDerivedAgentAttribution has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4 (11 pts), boolean chains 4, ternaries 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. This shape REPEATS in the file: 2 other methods here (issues.issueService::getIssueRelationSummaryMap, issues.issueService::assertNoBlockingCycles) 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":"server/src/services/issues.ts"},"region":{"startLine":7405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1613fc6416b838a0eb572b7306d889a96121a9c443839b21331b79506bef5f65"}},{"ruleId":"D2","level":"warning","message":{"text":"attention-receipts.attentionReceiptService.list (cognitive 37): attention-receipts.attentionReceiptService.list has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 7 (13 pts), boolean chains 5, loops 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":"server/src/services/attention-receipts.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a343d796f0ac262813e5068058e2e42223f3969de9a344d54330bda4eb95e5bd"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.extractPortableScopedEnvInputs (cognitive 37): company-portability.extractPortableScopedEnvInputs has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 7 (15 pts), boolean chains 3, 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":"server/src/services/company-portability.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6320d81dd719d34c637277f8dd2348dca7a822b2097d0cd859e62deea81173"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-timer-schedule.readIdleAgentTimerSchedule (cognitive 37): idle-timer-schedule.readIdleAgentTimerSchedule has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 6, loops 4 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-timer-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3659ff8fc8da601b6f3ff8faa39199bc79c5637a1827a8d26a3ec8436ab700b0"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-workspace-snapshot-crypto.store::handle (cognitive 37): benchmark-workspace-snapshot-crypto.store::handle has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 7 (12 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":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcf5a5a4e4be9d05a4a5501dee5358f7c670e0d0984e4edba5e638607abe14b"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueColumns.InboxIssueTrailingColumns (cognitive 37): IssueColumns.InboxIssueTrailingColumns has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (25 pts), ternaries 5 (11 pts), boolean chains 1 (nesting depth added 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 330). 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":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cea243ee5c88b355bfaa0f71a6ffd2cb2d499c7f88d499b37de413e6aefbef"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatStatusPill.TaskChatStatusPill (cognitive 37): TaskChatStatusPill.TaskChatStatusPill has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 18 (32 pts), boolean chains 4, if/else 1 (nesting depth added 14). Of this number, 35 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":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd3de79fabe586f3a27d658cd68d5fc846cb6d5aba191c1f90045b823cf6c97"}},{"ruleId":"D2","level":"warning","message":{"text":"profile-model.buildEntries (cognitive 37): profile-model.buildEntries has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef42c38681c52814312279f7b0ebb12bec224ec5f15ebffcecfcaa00ab3c76"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-state.slackSetupState (cognitive 37): setup-state.slackSetupState has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 9 (27 pts), boolean chains 10 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/slack/setup-state.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe08cd29b818815e46d7187de7e7aa6e5f0777f00500a261691a60a108d4d93"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentMultiSelect.AgentMultiSelect (cognitive 37): AgentMultiSelect.AgentMultiSelect has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 13 (23 pts), if/else 8 (10 pts), boolean chains 4 (nesting depth added 12). Of this number, 18 points are the body\u0027s own statements and 19 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":"ui/src/components/AgentMultiSelect.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd2400ea111e364e1aab1d40030d94cab40b630e606e364e73a0f051c02d434"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.RunTemplateAdvancedPanel (cognitive 37): SkillStudio.RunTemplateAdvancedPanel has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 10 (26 pts), boolean chains 11 (nesting depth added 16). Of this number, 31 points are the body\u0027s own statements and 6 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb3b7d9b24dc6cba5d543d45d3527d81a0c1bdb0214a3c1b771744828456304"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.VersionHistorySheet (cognitive 37): SkillStudio.VersionHistorySheet has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 17, ternaries 7 (12 pts), if/else 4 (6 pts), loops 1 (2 pts) (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 19 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8941e89da0b4dec23ba48356d0861e17d458d7f6eb265048995587a64016e6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-app-host.createMcpAppHost.handleRequest (cognitive 37): mcp-app-host.createMcpAppHost.handleRequest has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (9 pts), boolean chains 6, error handling 3 (6 pts), match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/mcp-app/mcp-app-host.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888612eb07f7273e0eefa168a0b1bb4a7d3c38fc8fd2408592462179eaf4777"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatCompactInteractionCard.CheckboxConfirmationCard (cognitive 37): TaskChatCompactInteractionCard.CheckboxConfirmationCard has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 10, if/else 8, error handling 1 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 16 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"191effa9940d85e881a3fd8d31dfce49022e47bfb3111fa21da179066cf7a18b"}},{"ruleId":"D2","level":"warning","message":{"text":"useTaskPluginPanels.useTaskPluginPanels (cognitive 37): useTaskPluginPanels.useTaskPluginPanels has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 21, if/else 4 (7 pts), ternaries 5, loops 3 (4 pts) (nesting depth added 4). Of this number, 24 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":"ui/src/hooks/useTaskPluginPanels.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bf80034fa8fa271d35b9f4e347529a6f9899c28ea8ee4f58748524f3c70fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"wizard-preview-main.respond (cognitive 37): wizard-preview-main.respond has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (28 pts), ternaries 4 (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":"ui/src/wizard-preview-main.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60c00aef071b43a8aa5e97e4cb3c0520e74093d8f3d96f514b6197de871bdec"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSettingsPreview.SettingsPage (cognitive 37): AgentSettingsPreview.SettingsPage has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 25, ternaries 6 (8 pts), if/else 3, error handling 1 (nesting depth added 2). Of this number, 30 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":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe0d62933a4e276f375a719b6dc3dec48d1eddc46c569673061f52a8bded5bd"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::request_classified_until (cognitive 37): CodexProvider::request_classified_until has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 4, 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":3970}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ab8728e94c55d4573987b88f9d10353d08186c21aa63c3b63a0d64ef0ee783"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProviderState::validate (cognitive 37): CodexProviderState::validate has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 31, if/else 5 (6 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a94df0abab7295bbe07c8b6a42a4ef76644edf04f01bd0c0d0c9e77278b477"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.worktreeCleanupCommand (cognitive 36): worktree.worktreeCleanupCommand has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 6, error handling 2 (5 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 10). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":2882}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceec2e78a621c86467f34d06974366a6e240db0d399373499329bbf50619b459"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseAssistantMessage (cognitive 36): parse-stdout.parseAssistantMessage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 4 (9 pts), boolean chains 7, 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbedb2188b1deec72c83a4e4276e2784e0b1cf41641ef92532e7f234165621be"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::toResult (cognitive 36): execute.execute::toResult has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (28 pts), boolean chains 7, if/else 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (execute.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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deb6fe9e2d1f97102106e0ee0f87240176d043cf65795657fe90b9b70e1cbfb"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.parseKimiJsonl (cognitive 36): parse.parseKimiJsonl has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 4, loops 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/adapters/kimi-local/src/server/parse.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e38c9ab908b2d275980380ea200446326ea20ee75134c832086837224751f8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-security-config.createIsolatedCodexAppServerArgs (cognitive 36): codex-security-config.createIsolatedCodexAppServerArgs has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 18 (22 pts), boolean chains 11, if/else 2, loops 1 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e76774271d3cea4ffa7f527c92ea5784714716d3076af0f7b9ba0e3964d800"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexHarnessSession.reconcile (cognitive 36): CodexHarnessSession.reconcile has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 6, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade7b4013b05116c9ef75dd0d83a666ce0fa94373b715a303a47799021216dda"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#applyProviderIdentityEvent (cognitive 36): DurablePrpCodexTransport.#applyProviderIdentityEvent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 5, 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, 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8b36ab1d015ba45ce68674479a4fa2c50956f994dfb0b4451f1b3c93b717e5"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#recoverRunnerProcess (cognitive 36): DurablePrpCodexTransport.#recoverRunnerProcess has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, ternaries 2 (5 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 8 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f822ecbb26d73b6298a973c4e841133190cd5bfd09566ec8734280bd15a9cf1c"}},{"ruleId":"D2","level":"warning","message":{"text":"manifest.validateManifest (cognitive 36): manifest.validateManifest has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 16, if/else 8 (12 pts), ternaries 2 (5 pts), loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/manifest.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd93ac6de25c24daa7ef3e88f13625d5bc8a03c28666b2401960ff3f2d8889"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSdkEndpointRuntime.constructor (cognitive 36): ChatSdkEndpointRuntime.constructor has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 14, error handling 2 (3 pts), ternaries 2 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 16 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a0055168678cd6f6683e6a1e7eef56da44905f275e75cdbb026d015fc3d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree-config.collectSiblingWorktreePorts (cognitive 36): worktree-config.collectSiblingWorktreePorts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (6 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/worktree-config.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2497253a62e6b9b227e619a73a18bc33a8adc162dc0615856c8261dd495db3c4"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree-config.maybeRepairLegacyWorktreeConfigAndEnvFiles (cognitive 36): worktree-config.maybeRepairLegacyWorktreeConfigAndEnvFiles has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 6 (19 pts), if/else 6 (10 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 18). 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 470). 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":"server/src/worktree-config.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a775889104ec67e29570424a3a7fba5cb3b068d5bde87a12c91da71e07ab8ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-identity.initializeRunIdentity (cognitive 36): run-identity.initializeRunIdentity has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 9 (14 pts), boolean chains 7, loops 1 (nesting depth added 11). None of this is in the body itself: all 36 points belong to 2 function literals inside it that branch (lines 219, 260). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-identity.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f807b4918d1bed9de339cbed6f77dadcc0ccd55b92394ef44be2b385ea4934bc"}},{"ruleId":"D2","level":"warning","message":{"text":"installs.createConnectionInstalls.putConnectionInstalls (cognitive 36): installs.createConnectionInstalls.putConnectionInstalls has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 5 (10 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 14). Most of this is not in the body itself: 9 of the 36 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 181, 271). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/installs.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"177433500d453b89746a421f59d16c29532a5bad646b70814eb35c9a6cc24676"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.spawnLocalRuntimeService.readiness (cognitive 36): workspace-runtime.spawnLocalRuntimeService.readiness has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 10, if/else 6 (7 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406668e317c34c8236ce38401e66d39150a417c4ac9b699272f75191168fa4c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.resolveAgentRunnerTargetForCompany (cognitive 36): agent-runner-selection.resolveAgentRunnerTargetForCompany has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 8, ternaries 4 (6 pts), error handling 2 (5 pts) (nesting depth added 13). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb92103a72e75af21270bd392e9e06775aaf05c75514f92199ceebb245f4228"}},{"ruleId":"D2","level":"warning","message":{"text":"costs.createCostEventInTransaction (cognitive 36): costs.createCostEventInTransaction has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65a0b42aeddb35b6a6b23626c5f234d24cb97c41e1f079a3856e29a9ea49190"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-injection-prevention.promptInjectionPreventionService.resolve (cognitive 36): prompt-injection-prevention.promptInjectionPreventionService.resolve has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 7 (12 pts), boolean chains 10 (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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b6fc78ce8aca86da3c6c3b40086f228ff973036cf07f87a1e8cb4e6078d390"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.sweepOrphanedActiveLeases (cognitive 36): recovery.createHeartbeatRecovery.sweepOrphanedActiveLeases has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 8, boolean chains 3, loops 2 (nesting depth added 12). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f99b752ea7951d59426892a7226dd18f8892ab44ea595632a3484ddf8a332bd"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.claimQueuedRun::lockIssueExecutionClaim (cognitive 36): queue.createHeartbeatQueue.claimQueuedRun::lockIssueExecutionClaim has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 13, ternaries 5 (7 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 (queue.createHeartbeatQueue.claimQueuedRun) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c687617d302a1343f68966d905d15e7f71b05b2159867ddfc69232984dd1be3"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-trace-store.assessProviderTraceEntries (cognitive 36): provider-trace-store.assessProviderTraceEntries has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 4 (8 pts), loops 4 (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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60bb7700581c27ca00e9579d0722a0047e570b127fa6c26fed14d9d964c0247"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-recovery.voiceSessionRecovery.refresh (cognitive 36): voice-session-recovery.voiceSessionRecovery.refresh has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 6 (11 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-recovery.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"19189c5fe9c7e7123f21c030d578343d5d7e68e8c03bfc7c5f31485f1c491b1b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-inline-images.png (cognitive 36): chat-teams-inline-images.png has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 10, 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8377efccbacc7f439675cd987a503e2f4aa87928c91afca4c4b94e2994b827fb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-photo.supportedPng (cognitive 36): chat-telegram-photo.supportedPng has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 10, 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":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd031664e078e419d376b0fb4a04af75dad3a5839e369488a8456f388247a3a"}},{"ruleId":"D2","level":"warning","message":{"text":"events.createPhotonEvents.handlePhotonEvent (cognitive 36): events.createPhotonEvents.handlePhotonEvent has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 16, if/else 13 (15 pts), ternaries 4 (5 pts) (nesting depth added 3). Of this number, 22 points are the body\u0027s own statements and 14 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e04af82c06bd5419eab93c6c42e034ce913432fb681e9ea90b8fa424d218e77"}},{"ruleId":"D2","level":"warning","message":{"text":"exchange.createConnectionTokenExchange.mintExchangeConnectionToken (cognitive 36): exchange.createConnectionTokenExchange.mintExchangeConnectionToken has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (25 pts), if/else 5 (6 pts), boolean chains 5 (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":"server/src/services/tool-access/token-broker/exchange.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee79d19fb8f11f44654d7cfa896c2183c1e5e596f3a989995a78fc6b0bf836b"}},{"ruleId":"D2","level":"warning","message":{"text":"native-codex-runner.executeNativeCodexRunner (cognitive 36): native-codex-runner.executeNativeCodexRunner has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 10 (11 pts), boolean chains 8, loops 1 (2 pts), error handling 1 (nesting depth added 4). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f83826bc6de135e090f98397f30ed8bd84369a361c363508eedeb99cfc837f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-github-access.createNativeGitHubAccess (cognitive 36): native-github-access.createNativeGitHubAccess has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 11, ternaries 5 (8 pts), error handling 4 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 20 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":"server/src/services/native-runtime/native-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc037f910e6716874edcb6c230645f486604757a774d916c9d53c1d5dfc73ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#readApiFile (cognitive 36): PaperclipRunnerToolAuthority.#readApiFile has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 15). Of this number, 34 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74e5e0ba87ca4feb39fb1463f137d400ef6abb5c72973548674c03d3f72ab12"}},{"ruleId":"D2","level":"warning","message":{"text":"routine.grokRoutineService.acknowledge (cognitive 36): routine.grokRoutineService.acknowledge has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 9, ternaries 4 (5 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 282). 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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"71520cd9b7daeb652d1171a88f362dc3c71fcbe22b7829626179ae02a1e3a1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"local-runner-browser-server.createLocalRunnerBrowserMiddleware.middleware (cognitive 36): local-runner-browser-server.createLocalRunnerBrowserMiddleware.middleware has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 4 (8 pts), error handling 4 (7 pts), boolean chains 5 (nesting depth added 11). Of this number, 30 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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ace88e5a2488e6b2e8d238792d801f87f3286dea5a27afa3ce9e8389b3b58a"}},{"ruleId":"D2","level":"warning","message":{"text":"single-read-evidence.updateSingleReadEvidence (cognitive 36): single-read-evidence.updateSingleReadEvidence has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (15 pts), ternaries 3 (6 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/paperclip-runner/src/drivers/acpx/single-read-evidence.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda3831f5f2d8b9858927ce8d512b50f5e7184a90e5abbed1f5dd1876e42707e"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-job-idle-schedule.projectIdlePluginJobSchedule (cognitive 36): plugin-job-idle-schedule.projectIdlePluginJobSchedule has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 7, 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":"server/src/services/plugin-job-idle-schedule.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4efe87e457a6152890dcafbcfac60a89a097b485cacbb11ffdd5d126b80cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-local-folders.inspectPluginLocalFolder (cognitive 36): plugin-local-folders.inspectPluginLocalFolder has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 3 (6 pts), ternaries 3 (5 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dde632c79e06504212f290a611d36b7f2666646783ef8030da0ea577b34e41"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarNavItem.SidebarNavItem (cognitive 36): SidebarNavItem.SidebarNavItem has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 17, ternaries 10 (17 pts), if/else 2 (nesting depth added 7). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarNavItem.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"427bded1f02c270139b8d468b281231bc149ce256105464681036c3b88164ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueListSearchParams (cognitive 36): issues.issueListSearchParams has cognitive complexity 36 (threshold 15). Drivers by points: if/else 34, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/issues.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"476538952314f8504d21f938be120163fd3ee834bd0f9323cb4fb55e112e006a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBasicsDialog.AgentBasicsDialog (cognitive 36): AgentBasicsDialog.AgentBasicsDialog has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 24 (46 pts), boolean chains 39, if/else 13 (16 pts), error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AgentBasicsDialog.AgentBasicsDialog::submit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72189dbf52f9712411ba6d34feef76ad7ea11e2ea3e2d825e2016a5b29c41d95"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 36): CommandPalette.CommandPalette has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 19, if/else 8 (9 pts), ternaries 8 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 18 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":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a107dd6bc75e89b430e62ba0addfaee8a2c7c3cf79c2249f28bd5cfbc45683"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingCharacter.OnboardingCharacter (cognitive 36): OnboardingCharacter.OnboardingCharacter has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 8, ternaries 5, error handling 2, loops 2 (nesting depth added 3). Most of this is not in the body itself: 5 of the 36 points are its own statements and the rest belongs to 9 function items inside it that branch (mount, wake, 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":"ui/src/components/onboarding/OnboardingCharacter.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4c988da2955cfa2853abd0a2842fd3b669d4fd5d5ca37ec1b6b45bdfb8cc1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentAnnotationPanel.AnnotationPanelBody (cognitive 36): DocumentAnnotationPanel.AnnotationPanelBody has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 9 (13 pts), boolean chains 9 (nesting depth added 8). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 160, 266, 214, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"798c640bf17cadd2740dcd988a5f25b2639e7f179eb48fcd186e6cc08d0415c1"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueDetail.IssueDetailActivityTab (cognitive 36): IssueDetail.IssueDetailActivityTab has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 15, if/else 6 (12 pts), ternaries 5 (7 pts), error handling 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 13 of the 36 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 2965, 2939, 3180, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6385ae0a013b15d5fed73d0525027d203bd4bb6d6a86af0ef6070bd734bfef4"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-format.formatStructuredIssueChange (cognitive 36): activity-format.formatStructuredIssueChange has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 7 (11 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/activity-format.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1ea494d8fcdcabb8a9f12812db3573399195c0738c92f3a28a995fa8db3745"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogo.AppLogo (cognitive 36): AppLogo.AppLogo has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 13 (29 pts), boolean chains 4, if/else 3 (nesting depth added 16). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppLogo.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"82abd887c9f7b438361cb285ab3764fe5e12f00161f13dc6b3c44f8536059e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginPage.PluginPage (cognitive 36): PluginPage.PluginPage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 8, ternaries 2 (3 pts) (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 19 belong to 9 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea9712708384c86f4f1a63dbd2f38e9711a1ab22bffb4b5254238ef61445e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaForm.SecretField (cognitive 36): JsonSchemaForm.SecretField has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 16 (28 pts), boolean chains 5, if/else 3 (nesting depth added 12). Of this number, 33 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb287754457ae751bb056af8f5a5d254942ef72cd24abd3eadffc3995dbeb9e"}},{"ruleId":"D2","level":"warning","message":{"text":"useAnnouncement.useAnnouncement (cognitive 36): useAnnouncement.useAnnouncement has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 11, error handling 2, loops 2, ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 2 of the 36 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 35, 54, 79, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAnnouncement.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8447e9fdd64cf588c5012398e44bc4704684f72464939094411aa5380ea505bc"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.production.ConfigurationTab (cognitive 36): AgentDetail.production.ConfigurationTab has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (24 pts), boolean chains 10, if/else 2 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 10 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"290a547e978ff96f90d5e3c50c400039afc63ff540387b6f84a7ee21ab69bfcd"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-callback-bridge.startSandboxCallbackBridgeWorker.failPendingRequests (cognitive 35): sandbox-callback-bridge.startSandboxCallbackBridgeWorker.failPendingRequests has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, error handling 2 (5 pts), loops 3 (5 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae3374a5119f434783c42eee4ee3c528bf47ce03c06fc5f58675382bb826bf2"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.createDuplexReadinessGate (cognitive 35): execution-target.createDuplexReadinessGate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 1, loops 1 (nesting depth added 15). None of this is in the body itself: all 35 points belong to 4 function literals inside it that branch (lines 4191, 4327, 4343, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"90923b4774426b43e43e539946b5701be33e3fb96618061953777a469be2d01b"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printPiStreamEvent (cognitive 35): format-event.printPiStreamEvent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 2 (5 pts), error handling 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/cli/format-event.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f57cfbc17a3416a465092558a890672cec445ee53c131bff78ad2d590597b"}},{"ruleId":"D2","level":"warning","message":{"text":"client.reconcilePendingMigrationHistory (cognitive 35): client.reconcilePendingMigrationHistory has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 3 (5 pts), boolean chains 4, 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/db/src/client.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35b936f223ae4d7fe9df78ead371478c81ba3aeb20c133c4984f9c32f60f655"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-model.buildTranscript (cognitive 35): transcript-model.buildTranscript has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 18). 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dabc10347aa05d5f6f85511a63768f7a9db94bf35f63e9b768e229489f2a4f"}},{"ruleId":"D2","level":"warning","message":{"text":"governance-events.codexHookPayload (cognitive 35): governance-events.codexHookPayload has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (28 pts), boolean chains 7 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/governance-events.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ad8bcd62e8fe34a52c83ef53cb45d2281617d69575507f348ef59dfea5bef0"}},{"ruleId":"D2","level":"warning","message":{"text":"environment.createSanitizedAcpxSpawnInput (cognitive 35): environment.createSanitizedAcpxSpawnInput has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 9, ternaries 8, 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/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a01f506209b8714175f1d2cbd0c1a13dde3691a87ea00fccb9cbe51d596e88"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#authorizeHello (cognitive 35): DurablePrpControlPlane.#authorizeHello has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 17, if/else 9 (13 pts), ternaries 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadc12d2646b7e089f59b57415bab247861d1657a8087825b92bceab25321945"}},{"ruleId":"D2","level":"warning","message":{"text":"DevtoolsInspector.DevtoolsInspector (cognitive 35): DevtoolsInspector.DevtoolsInspector has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 20 (30 pts), boolean chains 4, if/else 1 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 6 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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76d61f8c7d503a68090b513e58eadc2b50b08be3da1ae96300a527c4811b1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-publication-projection.projectCard (cognitive 35): chat-publication-projection.projectCard has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 9 (14 pts), boolean chains 4, loops 1 (nesting depth added 12). Of this number, 31 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":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4fecc232d0d9958dd6820929920951cfb769de56d9f6702495a157ebd7aeff"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.scopeMicrosoftTeamsEgress (cognitive 35): chat-sdk-runtime.scopeMicrosoftTeamsEgress has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 15, loops 2, ternaries 1 (nesting depth added 3). Of this number, 31 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b46923123e3e272dcd93609358ab81da7906df9934f618212ace97102a9517"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.createAttachmentRecoveryDescriptor (cognitive 35): chat-sdk-runtime.createAttachmentRecoveryDescriptor has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 5 (10 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9938d1e7de5be90422a5865b639072834806cd1783793a5b69a08c14958f3cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-runtime-identity.verifyCloudControlAssertion (cognitive 35): cloud-runtime-identity.verifyCloudControlAssertion has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 9, 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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd876500b06a32dbf172071b639a30fff9e9b019207f92f8d1b074f8e3d737b7"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-config.normalizeEnvironmentConfigForPersistence (cognitive 35): environment-config.normalizeEnvironmentConfigForPersistence has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 3 (6 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4a539dc53899782f7419764feb2a20a93588b128d6f5fc5dafcd2a96fd79dd"}},{"ruleId":"D2","level":"warning","message":{"text":"form-session.stageSlackFormSession (cognitive 35): form-session.stageSlackFormSession has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 8 (12 pts), boolean chains 9 (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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f2ed8dcf1beb5156457bd7d3d2b9db24c4e73d6b2f2c4f1c75e10045ae0ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-configuration.prepareAgentConfiguration (cognitive 35): agent-configuration.prepareAgentConfiguration has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 11, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-configuration.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c17c7363c09dc45b3a5368a1a2c13aa7d926db326a19f2e8eb8535274899270"}},{"ruleId":"D2","level":"warning","message":{"text":"file-manifest-cache.verifyFileManifest (cognitive 35): file-manifest-cache.verifyFileManifest has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8, loops 2 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 12). Most of this is not in the body itself: 4 of the 35 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 45, walk, a function literal at line 39). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/file-manifest-cache.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ec4746b0c80f9fa67c4c3fe8e6ed4345184b137d0ccb324f356a6a0e24463"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-inspection.inspectSkillPackage (cognitive 35): skill-package-inspection.inspectSkillPackage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 8, ternaries 3 (7 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 16). Of this number, 34 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-inspection.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf915b0e9265d68a71933fbded9859d2a4404c5f34d7fd2d316817c31cf7ab"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-git-snapshot.runGit (cognitive 35): skill-source-git-snapshot.runGit has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 6 (10 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 8). None of this is in the body itself: all 35 points belong to 13 function literals inside it that branch (lines 139, 78, 91, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b27802afe24ea261dac675fc887c335062ecf60d14d6d81308bc371ae0b70e"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-github-access.skillSourceGitHubReader.read (cognitive 35): skill-source-github-access.skillSourceGitHubReader.read has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (27 pts), boolean chains 6, if/else 2 (nesting depth added 17). Most of this is not in the body itself: 2 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 94). 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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0919188258484e3094648c1b433b1290d55a7166577ef16af8af50ed5e143b50"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-elicitation.legacyCardContent (cognitive 35): mcp-elicitation.legacyCardContent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 6 (10 pts), boolean chains 6, loops 1 (nesting depth added 12). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ffc4afc4664338d0cada5bb26d1a57b6ae7c91619ffae903552f487385e9c3"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executeTestCall (cognitive 35): tool-gateway.createToolGatewayService.executeTestCall has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 10 (13 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 9). 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11772}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5db820ff6878f282f65068f6877e4b6fb238ac86cd757231d6e6f623293d632"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.executePluginTool (cognitive 35): tool-gateway.createToolGatewayService.executePluginTool has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 10 (14 pts), boolean chains 1, error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":13755}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dc4da1123daa1382163ecddfa332e8050aad90b9e585147d80f7a5df986c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"project-git-authorization.projectGitAuthorizationService.resolve (cognitive 35): project-git-authorization.projectGitAuthorizationService.resolve has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 12, ternaries 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/project-git-authorization.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9bb00c645aa87c31f9d9840bc02db3a80e4ba5e780f2647aefc0ae93b4d022"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.terminalWorkspaceWorkSettled (cognitive 35): execution-workspaces.executionWorkspaceService.terminalWorkspaceWorkSettled has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc432d840e41a146a645ee761aa277f52c4767b10830d63783c3de6793a2a28"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-interaction-delivery.recheckQueuedRunInteractions (cognitive 35): agent-interaction-delivery.recheckQueuedRunInteractions has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, loops 3 (7 pts), ternaries 3 (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 one function literal inside it that branches (line 273). 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f219c0c94495a490b989533498570a35bd39d90622e9e0180fe907a5fde4be9"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.buildPaperclipRuntimeMcpServers (cognitive 35): run-preparation.buildPaperclipRuntimeMcpServers has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (13 pts), error handling 2 (4 pts), ternaries 3 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 11 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e32ff29d9be14411a2242d2fe2cd97aa5e350b676817790ada29a558eea963f"}},{"ruleId":"D2","level":"warning","message":{"text":"required-quality-review.readRequiredQualityReview (cognitive 35): required-quality-review.readRequiredQualityReview has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 8 (23 pts), if/else 4 (7 pts), boolean chains 4, 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":"server/src/services/required-quality-review.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e568c56a1c707688e44caf6aa4192c50ac069242c8a57ec421cf26c5d4e2739"}},{"ruleId":"D2","level":"warning","message":{"text":"successful-run-handoff.decideSuccessfulRunHandoff (cognitive 35): successful-run-handoff.decideSuccessfulRunHandoff has cognitive complexity 35 (threshold 15). Drivers by points: if/else 29, boolean chains 5, 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":"server/src/services/recovery/successful-run-handoff.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3655d8be268231d9238f52f13ed53acc5c648a0ba8cec84b880a552f8b62ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery.recheckStoppedWorkspaceRecovery (cognitive 35): workspace-recovery.recheckStoppedWorkspaceRecovery has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 17, if/else 10 (16 pts), loops 1, ternaries 1 (nesting depth added 6). None of this is in the body itself: all 35 points belong to 2 function literals inside it that branch (lines 55, 70). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052a9731b4a1f9946bf108f8a4d240d58937c6f1fd678f49b8c044c0ff1005f"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery.reconcileRetainedWorkspaces (cognitive 35): workspace-recovery.reconcileRetainedWorkspaces has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 6 (8 pts), boolean chains 6, ternaries 1 (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"0033a805158e1e5399b3e03a357205ee7b122658ac1ddf3ce48c82d43d17bc81"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-asset-retention.runtimeAssetRetention.tick (cognitive 35): runtime-asset-retention.runtimeAssetRetention.tick has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 4, loops 3, error handling 2 (nesting depth added 10). Of this number, 28 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":"server/src/services/native-runtime/runtime-asset-retention.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b37eb49cc81c8cf763e4a0e793bc2b98bb0d7be9d370bf2b5a0eae1e96ecfb"}},{"ruleId":"D2","level":"warning","message":{"text":"native-interaction-bridge.routePersistedNativeResultAttention (cognitive 35): native-interaction-bridge.routePersistedNativeResultAttention has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 6 (19 pts), if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 19). Of this number, 21 points are the body\u0027s own statements and 14 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"7219d669375530cfd5a3ead5a248a5b8b12b5812397e08fdbc7917262db0355e"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipControlPlanePort.appendEvent (cognitive 35): PaperclipControlPlanePort.appendEvent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 9, loops 1 (3 pts), ternaries 2 (nesting depth added 7). Of this number, 31 points are the body\u0027s own statements and 4 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fd452b82871259f2dd976a43ca4323d7ba53b3fe07e7262779da89314ac8d0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.acknowledgeRemoteStop (cognitive 35): run-control.createHeartbeatRunControl.acknowledgeRemoteStop has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 6 (13 pts), boolean chains 5, 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e1cc59d9a64243593000dda9db95ba62f7e108d3e9b15baf0b404ee21a44a0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.terminalizeRunOnLeaseRelease (cognitive 35): run-lifecycle.createHeartbeatLifecycle.terminalizeRunOnLeaseRelease has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bfb1c2f17c12453ac1a40ef7d133337045fbf7841bd39a00c69021aac0eac7"}},{"ruleId":"D2","level":"warning","message":{"text":"task-watchdogs.taskWatchdogService.readIdleSchedule (cognitive 35): task-watchdogs.taskWatchdogService.readIdleSchedule has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a29a46cc450223f6bff19456446df4bda35f1add6f99ca9a47234c6bb047dd8"}},{"ruleId":"D2","level":"warning","message":{"text":"media.validateHeifDimensions::visit (cognitive 35): media.validateHeifDimensions::visit has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 4, 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":"server/src/services/photon/media.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"463dfbf687a6a52581d2b4c8c6d48e55a4ada62cd808264773fa78d4b38cdbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.githubLifecycleEventFromRequest (cognitive 35): messages.githubLifecycleEventFromRequest has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 12, if/else 7 (9 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":"server/src/services/chat-channels/github/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6566f35550963b77b39ba6b688fa8cb03cc7e895f4e8ae46f70fee36d7fb91c4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.processMessage::persistTaskMutation (cognitive 35): chat-channels.chatChannelService.processMessage::persistTaskMutation has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 12, if/else 10 (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 (chat-channels.chatChannelService.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":"server/src/services/chat-channels.ts"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"20594c84025fa38a5815c242fd9788f8fa37ef7a5e55e51cb150f4accd5c5f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-connection-probe.probeCopilotConnection (cognitive 35): copilot-connection-probe.probeCopilotConnection has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 6, error handling 2 (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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8691a1c1518f13082e2774dbd59f7aba743ca74dd5f443e3333d6d946918eeba"}},{"ruleId":"D2","level":"warning","message":{"text":"native-skill-library-tools.executeSkillLibraryTool (cognitive 35): native-skill-library-tools.executeSkillLibraryTool has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 11 (15 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 19 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":"server/src/services/native-runtime/native-skill-library-tools.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b70b2f963bab86bb8c27c509fe6a5e80d586970ffa7f62cd224cf5ce5551c82"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.tickScheduledTriggers (cognitive 35): routines.routineService.tickScheduledTriggers has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (7 pts), boolean chains 6, ternaries 3 (6 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":"server/src/services/routines.ts"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab7d4e1f5be38915701b076452f50e151b586a90fc5f652762d84ffc13d05d0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.runtimeInputLifecycleMetric (cognitive 35): native-session-executor.runtimeInputLifecycleMetric has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (27 pts), boolean chains 5, if/else 3 (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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df46e7a5396f6707be109ace7ad70882fa66ea1261d7f096a0595b49c5e4a50"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.semanticProviderPlanMarkdown (cognitive 35): native-session-executor.semanticProviderPlanMarkdown has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 4 (5 pts), boolean chains 3, loops 1 (nesting depth added 15). Of this number, 33 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d210d3284a1303e087ce39f4cb3d8eac5ebbdfcbdbdc31cc7c76480c9960cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.reserveNativeOperation (cognitive 35): native-broker.createNativeExternalBroker.reserveNativeOperation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 6, ternaries 2 (nesting depth added 12). None of this is in the body itself: all 35 points belong to one function literal inside it that branches (line 134). 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a7e11cb3e35ba75fb10c3964b91b59a1cb94478faf6d50e156b46ae94ee436"}},{"ruleId":"D2","level":"warning","message":{"text":"file-transfers.createPublicMcpTransfers (cognitive 35): file-transfers.createPublicMcpTransfers has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 11, if/else 10 (nesting depth added 2). None of this is in the body itself: all 35 points belong to 3 function literals inside it that branch (lines 162, 208, 157). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8750380888fc362213023572b269384557567addd304e3a20c82b32b5a57db"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-adapter.runtimePort (cognitive 35): acpx-runtime-adapter.runtimePort has cognitive complexity 35 (threshold 15). Drivers by points: if/else 52 (67 pts), boolean chains 26, ternaries 13, error handling 2, loops 1 (nesting depth added 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (acpx-runtime-adapter.runtimePort::closeRuntime) 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7217fbbcddcef7b1f022721c7bc921cb99df594b4afee2e8e675352ed4d07a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-driver-backend.isBoundedPersistedJson::visit (cognitive 35): harness-driver-backend.isBoundedPersistedJson::visit has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 3 (6 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77b062927be54930e84d73214f00755a4bccc0a3ebb89f64129dd821aa01baa"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context.nativeTaskConstraints (cognitive 35): runtime-context.nativeTaskConstraints has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 8 (12 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 10 of the 35 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 51, 114, 88). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/backends/runtime-context.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de316598f9b8cafa6443a27860524261fb0c1f68951826466d9fe0544f2327"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#interrupt (cognitive 35): CursorCloudSession.#interrupt has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2871a0daf88e519935f88353623d63f955539f099293cbb0da7931172c498dea"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-model.buildTranscript (cognitive 35): transcript-model.buildTranscript has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 18). 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/paperclip-runner/src/browser/transcript-model.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1128eba165f59f5333ae448ece636003d318883ea55f70e0045dc4d3ec312b37"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionRoutes (cognitive 35): ai-connections.aiConnectionRoutes has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 10, ternaries 4 (5 pts) (nesting depth added 2). None of this is in the body itself: all 35 points belong to 16 function items inside it that branch (a function literal at line 327, a function literal at line 221, a function literal at line 285, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5ae0ef2e2b2ef5119b48824a4d567e53a5af41ca0f9d2db1094a5286cb84d1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-maintenance.verifyAgentFileObjects (cognitive 35): agent-file-maintenance.verifyAgentFileObjects has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 4 (11 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacddbfc6095aa26587edf537e8a5142c69999fc325abeffc5344e8d0ee5cc91"}},{"ruleId":"D2","level":"warning","message":{"text":"SetMyUserSecretDialog.SetMyUserSecretDialog (cognitive 35): SetMyUserSecretDialog.SetMyUserSecretDialog has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 16 (30 pts), if/else 3, boolean chains 2 (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 5 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":"ui/src/pages/secrets/SetMyUserSecretDialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ed00fb87d3b4b53324ce39aea67387b07d00451279f9024055e9b8087311a0"}},{"ruleId":"D2","level":"warning","message":{"text":"MuseRunnerConnection.MuseConnectionDetails (cognitive 35): MuseRunnerConnection.MuseConnectionDetails has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 31, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 34 points are the body\u0027s own statements and 1 belongs 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":"ui/src/components/MuseRunnerConnection.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"902c0d5fe7cf47240275207f2f3fbcb1bff9e633231558f99cee3efebde6ba13"}},{"ruleId":"D2","level":"warning","message":{"text":"Issues.OrganizationIssues (cognitive 35): Issues.OrganizationIssues has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 11, boolean chains 10 (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 13 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Issues.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aa63df04f6b0f15b61d9306ef1916356079b7befebc1aa6f58d5f2a6312131"}},{"ruleId":"D2","level":"warning","message":{"text":"useDurableAutosave.useDurableAutosave (cognitive 35): useDurableAutosave.useDurableAutosave has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 7, loops 5 (6 pts), ternaries 5 (6 pts) (nesting depth added 11). Most of this is not in the body itself: 11 of the 35 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 201, 343, 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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3ff17e64a9949a4f9401ff19ba0143cfbfcebfb1a83c4aa0715a49e110b392"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorTaskCommitment.CoordinatorTaskMotion (cognitive 35): CoordinatorTaskCommitment.CoordinatorTaskMotion has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 14, ternaries 2 (4 pts) (nesting depth added 5). None of this is in the body itself: all 35 points belong to 5 function literals inside it that branch (lines 51, 109, 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":"ui/src/components/coordinator/CoordinatorTaskCommitment.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"415dd00b2d158b51391456199a0b54e4a4cfbffe491e790f4c7fb95d931c9786"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestConfirmationResolution (cognitive 35): IssueThreadInteractionCard.RequestConfirmationResolution has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (25 pts), if/else 6 (7 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebdbcf8feafe7c6cb90e0943070f2598ad31db5d3467fc2f2e110ab52b96256"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatThreadView.TaskChatThreadView (cognitive 35): TaskChatThreadView.TaskChatThreadView has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 20 (30 pts), boolean chains 4, if/else 1 (nesting depth added 10). Most of this is not in the body itself: 10 of the 35 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 356, 377, 398, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"191b17549d20d3efc810dfae4adb5461dbfb0d0558e08b163ab620a8bc901a45"}},{"ruleId":"D2","level":"warning","message":{"text":"channels.planChannelChanges (cognitive 35): channels.planChannelChanges has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 6 (10 pts), boolean chains 5 (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":"ui/src/lib/agent-configuration/channels.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"586c5380839c0c28151607e2a9d40022477f638571bea486f9d0e39b5988d10e"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyEnvironments.EnvironmentCustomImageBrowserTerminal (cognitive 35): CompanyEnvironments.EnvironmentCustomImageBrowserTerminal has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15, boolean chains 12, ternaries 4 (5 pts), error handling 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 35 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 584, 533, 671, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e614f60c8a8bebb159ca73f91166033961a0b9c554c1ba838ae04a3d2c7d17"}},{"ruleId":"D2","level":"warning","message":{"text":"TailscaleConnector.TailscaleConnector (cognitive 35): TailscaleConnector.TailscaleConnector has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 8, boolean chains 5 (nesting depth added 12). Most of this is not in the body itself: 13 of the 35 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 80, a function literal at line 44, start). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/TailscaleConnector.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f33d7d94611cbff4279da9627b943b21b7dbb41c23f0f94e42606e31a8da31"}},{"ruleId":"D2","level":"warning","message":{"text":"TokensPanel.TokensPanel (cognitive 35): TokensPanel.TokensPanel has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 16 (25 pts), boolean chains 7, if/else 2, error handling 1 (nesting depth added 9). Of this number, 18 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":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe6b1ecb88c785a48f2f1bec48f5310433398d5753e2390253aa16eda2e8ea"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinRequestQueue.JoinRequestQueue (cognitive 35): JoinRequestQueue.JoinRequestQueue has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (24 pts), boolean chains 6, if/else 4 (5 pts) (nesting depth added 13). Most of this is not in the body itself: 7 of the 35 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 136, 32). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/JoinRequestQueue.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2859944269e2f1b27ec4f80ace2fcd68b2c06654e6c92aacbad8a3afd7111dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"editable-sections.production.OverviewSection (cognitive 35): editable-sections.production.OverviewSection has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 18 (21 pts), if/else 6 (8 pts), boolean chains 6 (nesting depth added 5). Most of this is not in the body itself: 14 of the 35 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 178, 171, 192, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bef0899a4c79d3f59d7fb8da99abbfb7647e7860961c6531af4db480cae0618"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentThread.TimelineList (cognitive 35): CommentThread.TimelineList has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (30 pts), if/else 4, boolean chains 1 (nesting depth added 18). 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 594). 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d68befb90e5e810d644de732c58cb1ae1ac2f6232cde2d4ff3ca6484e4a08b5"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberMultiSelect.MemberMultiSelect (cognitive 35): MemberMultiSelect.MemberMultiSelect has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (20 pts), if/else 8 (10 pts), boolean chains 5 (nesting depth added 10). Of this number, 18 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":"ui/src/components/MemberMultiSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da212d812b9f4448e2948dae55d389768b66fd01c5eef9d61893dbf1f4655a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentWorkPanels.AgentTasksPanel (cognitive 35): AgentWorkPanels.AgentTasksPanel has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 11 (28 pts), if/else 4, boolean chains 3 (nesting depth added 17). Of this number, 21 points are the body\u0027s own statements and 14 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/AgentWorkPanels.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7920b4a040bfc3fabbd90ec5ceb1c489775f513ff5238f9d8099e1aae6539b"}},{"ruleId":"D2","level":"warning","message":{"text":"work-journey.GrokWorkJourney (cognitive 35): work-journey.GrokWorkJourney has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 13 (24 pts), boolean chains 10, loops 1 (nesting depth added 11). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/agents/grok-bot/work-journey.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46039991f10382c17707a52d4e12d75c6e39ca2c13228791de9bcfeaf1a5f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableRunnerConfig::validate (cognitive 35): DurableRunnerConfig::validate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 14, 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/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9e8ec750f4aac3826907046b76b9c8a801dc52cd337c6e95e796d5568b3c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedDurableState::validate (cognitive 35): ManagedDurableState::validate has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 16, if/else 7 (11 pts), match/switch 4 (6 pts), loops 2 (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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48e63d06a96fcb7f802a4ac68d7533443ced0125d175c0a60d2ddbdf5452250"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_events::project_acpx_state_event (cognitive 35): paperclip_runner_core::provider_events::project_acpx_state_event has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 4 (7 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc77d525852fff8cda37fed94220f8c76012f74737b7fc1fbd12ff186748182"}},{"ruleId":"D2","level":"warning","message":{"text":"onboard.quickstartDefaultsFromEnv (cognitive 34): onboard.quickstartDefaultsFromEnv has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 9, if/else 6 (8 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"33538d6085c0b5ab86e7422aebf5dc984ad6e26feee12443a6feeba55ffd3b87"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-token-runner.runSetupTokenLogin (cognitive 34): setup-token-runner.runSetupTokenLogin has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (27 pts), error handling 4, boolean chains 3 (nesting depth added 5). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 4 function items inside it that branch (onData, submitCode, captureCredential, \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/adapters/claude-local/src/server/setup-token-runner.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"873984c91fc26c1093933d7d67a7bee9060e3a411280e06d546ddd895facb9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#commandResult (cognitive 34): DurablePrpControlPlane.#commandResult has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 8, error handling 1 (3 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4246}}}],"partialFingerprints":{"codehealthFindingId/v1":"74042694e606ba8351d7fee5160f73ceee4ab0101d32d5af8c900d9dc906f879"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-prp-control-plane.runnerEnvironment (cognitive 34): durable-prp-control-plane.runnerEnvironment has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (9 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4909}}}],"partialFingerprints":{"codehealthFindingId/v1":"e892072ff114e19344c557565709d91cfa6ea6fccf1c42ae923306dfeda3f823"}},{"ruleId":"D2","level":"warning","message":{"text":"build-runtime.buildControllerRuntime (cognitive 34): build-runtime.buildControllerRuntime has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 6, boolean chains 3, error handling 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 3 function items inside it that branch (packageManifest, inventory, copyPackage). 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/paperclip-runner/scripts/controlled-evals/build-runtime.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3e74821394407542cd16b27f4d98283f783fec7c87e69ae8216d006a4848c8"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-media-intake.normalizeTelegramMediaAttachments (cognitive 34): chat-telegram-media-intake.normalizeTelegramMediaAttachments has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (12 pts), ternaries 4 (7 pts) (nesting depth added 5). Of this number, 29 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5367a6d16dfce0381206d5a44797ae413e618aa536c96ab7d495991f210530e5"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-media-intake.oggOpus (cognitive 34): chat-telegram-media-intake.oggOpus has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 7, loops 3 (5 pts), ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"803733e08afc5261eaf0c20d286b86d06003cc17bd01727eca157ec42a91ef48"}},{"ruleId":"D2","level":"warning","message":{"text":"credentials.createChatCredentials.persistCredentials (cognitive 34): credentials.createChatCredentials.persistCredentials has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, ternaries 3 (7 pts), error handling 2 (3 pts), loops 2 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfbaa64c842444285e2da49579c184ed89566e0b10c3289737be95d9947327d"}},{"ruleId":"D2","level":"warning","message":{"text":"git-connection-failure.classifyTransportLine (cognitive 34): git-connection-failure.classifyTransportLine has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (30 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":"server/src/services/git-connection-failure.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6679a86aa6f5c39007e05a3477e899f94b254ae4ac82aa23ef6485efb3000abd"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.discoverProjectWorkspaceSkillDirectories (cognitive 34): company-skills.discoverProjectWorkspaceSkillDirectories has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 5 (12 pts), loops 3 (4 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":"server/src/services/company-skills.ts"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6340e85556e352f3f87e178583799e294642859330c7330799a7a789107a0a30"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.installFromCatalog (cognitive 34): company-skills.companySkillService.installFromCatalog has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 7 (13 pts), boolean chains 5, loops 1 (nesting depth added 12). 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":"server/src/services/company-skills.ts"},"region":{"startLine":5803}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b26aec05d4796dd89940e7d52b4ea5f5fa55e423ae6ee65c3174b13c176aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-store.skillPackageStore.manifestFor::load (cognitive 34): skill-package-store.skillPackageStore.manifestFor::load has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 5, error handling 2 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-store.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"706b24bed73374911643b9d2840190e5798bcacda71694ba34dc5cb58aec2dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"effective-run-config-fingerprints.canonicalizeValue (cognitive 34): effective-run-config-fingerprints.canonicalizeValue has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6a84ed388ed5f1f11ba2c0b45ae1d338dfbb495c792ef4bec39a7d4fb3333b"}},{"ruleId":"D2","level":"warning","message":{"text":"review-check-work.registerGitHubReviewCheckWork (cognitive 34): review-check-work.registerGitHubReviewCheckWork has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 10, ternaries 10, loops 2 (3 pts) (nesting depth added 5). None of this is in the body itself: all 34 points belong to 7 function items inside it that branch (a function literal at line 56, entry, page, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/review-check-work.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baabe64ddb06721b34185aa76fe60090fba259be78cd8c30a1b80f53b2a6f90"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-receipt-reactions.stageReceiptReactionRemovals (cognitive 34): chat-receipt-reactions.stageReceiptReactionRemovals has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 10, ternaries 5 (6 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 127). 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":"server/src/services/chat-receipt-reactions.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c416dfe84ce271b34036f973440ba036a2ba551308ebb533b256c965938ccf"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-review-policy.githubReviewSchedulingDecision (cognitive 34): chat-github-review-policy.githubReviewSchedulingDecision has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16, boolean chains 11, ternaries 4 (7 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":"server/src/services/chat-github-review-policy.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308abd15715b392e6951b613a53383b56face1f37a76bdbc067b12d8ed12659"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery-effect-receipts.priorRecoveryApiReceipt (cognitive 34): recovery-effect-receipts.priorRecoveryApiReceipt has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 4, loops 2 (3 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":"server/src/services/recovery-effect-receipts.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7698b3731cf4353833acb7a898e89562dbe15e84df15d1daed6f6f2f428f6ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.resolveRunReferencedProjects (cognitive 34): workspaces.resolveRunReferencedProjects has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 6 (8 pts), boolean chains 5, ternaries 3 (4 pts), error handling 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40fad3517186498532b56d804f7c72f6bf8050c066ba457c8bea38c263898d8"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-conversations.deliverConversationComments (cognitive 34): agent-conversations.deliverConversationComments has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (9 pts), boolean chains 5, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 16). Most of this is not in the body itself: 4 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 702, canDeliver). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b8f993f1a7232c8f0ba5e91e82f56000346ac2d3564f7874ae5522b2a52d11"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.deferUnstartedUserComment (cognitive 34): postgres.createPostgresRunDispatchAdapter.deferUnstartedUserComment has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 15, if/else 12, ternaries 7. Of this number, 32 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"20232d526f7f8d847e5e7bf23af9232c2d7f0d70f9d5732637fb957d10a809ee"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-receipts.readPendingRunUsageReceipts (cognitive 34): usage-receipts.readPendingRunUsageReceipts has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 19). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/usage-receipts.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c72133e10232ad90df3aa3aa8a4edde2b9ade00be9a4aa5fd2eb025ddbee217"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instruction-revisions.agentInstructionRevisionService.commitInternal (cognitive 34): agent-instruction-revisions.agentInstructionRevisionService.commitInternal has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 9 (12 pts), boolean chains 6 (nesting depth added 7). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 230, 267, 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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e594d5332e3a7b5123344c545002226bc9936b4e4669c5115eedf8f83f8f2f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-skill-preservation.hasLocalRuntimeSkillObligations (cognitive 34): runtime-skill-preservation.hasLocalRuntimeSkillObligations has cognitive complexity 34 (threshold 15). Drivers by points: if/else 5 (18 pts), error handling 2 (7 pts), loops 3 (6 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8875868795691457bc856c1f37b73377ce98483465cfb2fb52687bde28731f33"}},{"ruleId":"D2","level":"warning","message":{"text":"run-scratch.sweepOrphanedRunScratch (cognitive 34): run-scratch.sweepOrphanedRunScratch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 9, error handling 3 (5 pts), ternaries 3, loops 2 (nesting depth added 9). Of this number, 31 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":"server/src/services/run-scratch.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a005459adfb510f94c598c2edaa5937ab35164da292f7bb97ce8b21dfa75693"}},{"ruleId":"D2","level":"warning","message":{"text":"task-watchdogs.classifyTaskWatchdogSubtree (cognitive 34): task-watchdogs.classifyTaskWatchdogSubtree has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7, loops 4 (nesting depth added 8). Of this number, 26 points are the body\u0027s own statements and 8 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6a88b4f5b5da106a9fce860f9d1f3e0b64684f64cf63d70af4f4e086ff5906"}},{"ruleId":"D2","level":"warning","message":{"text":"external-chat-question-response.completedQuestionFormMatchesInteraction (cognitive 34): external-chat-question-response.completedQuestionFormMatchesInteraction has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 9, ternaries 3 (6 pts), loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d378e73f756d9e40d8686bca1f2336a0c79307a3ecb99008628542f75bc45874"}},{"ruleId":"D2","level":"warning","message":{"text":"managed.createManagedSlackSetup.provision (cognitive 34): managed.createManagedSlackSetup.provision has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 14, if/else 11 (12 pts), ternaries 5 (7 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 21, 29, 44). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/managed.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dede9886f57e0a6f4b589eef0ac85fe80488117b17e61d9d3adfda4d6c7dd652"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-management.githubChatManagementService.verification (cognitive 34): chat-github-management.githubChatManagementService.verification has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 9, if/else 3 (5 pts), error handling 1 (2 pts), loops 2 (nesting depth added 8). 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3d8068eaa3aa13a22ed8b1d73ce4eb090768fe855359c5357593a9a2abd682"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-ingress.createGitHubWebhookIngress.processGitHubWebhookIngress (cognitive 34): webhook-ingress.createGitHubWebhookIngress.processGitHubWebhookIngress has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, ternaries 4 (6 pts), error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9951a5b0cb0d2d08eb72cade7c48f5afa0ac64556252ab9622b96e9e841cbcd"}},{"ruleId":"D2","level":"warning","message":{"text":"task-authority.createSlackTaskAuthorityRegistration.authorize (cognitive 34): task-authority.createSlackTaskAuthorityRegistration.authorize has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 11). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-authority.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e01c119e06ed1085e4a56cbe4a3864573330f97f303205d2dab2df7f9fe43d"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.reconnectGalleryApp (cognitive 34): tool-access.toolAccessService.reconnectGalleryApp has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 8). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3687, 3641, 3640). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc763081aa08314d25da88c8537133ad069be6ac7f5bb672887abaf3f9fa5e77"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.submitItemVerdicts (cognitive 34): issue-thread-interactions.issueThreadInteractionService.submitItemVerdicts has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (23 pts), ternaries 5, loops 2 (4 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 4727). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"501e4f1d18ad51664d65a9cb5102582e9ef4790d45df0245e3a5041a5b016a95"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-runner-task.createPluginRunnerTaskOwner.launcher (cognitive 34): plugin-runner-task.createPluginRunnerTaskOwner.launcher has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 9, ternaries 4, loops 1 (nesting depth added 6). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 242, 229, 283, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1b7d12563251befa10e99d155aaa8e679f9cf6b87cd2f19ff20cdf8f6425bb"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-runner-port-holders.retireSandboxRunnerPortHolders (cognitive 34): sandbox-runner-port-holders.retireSandboxRunnerPortHolders has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 6, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/sandbox-runner-port-holders.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"79465020252787d31c8080fd94a5d9c51a4abf4790f4132519ebb5dc447bd4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.port.settle (cognitive 34): native-broker.createNativeExternalBroker.port.settle has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 10, ternaries 4 (5 pts) (nesting depth added 5). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 299, 297). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2857d52673a9e4c962c16409150d53fe042b43ddb50255249bdfb6284fe4023"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSseParser.push (cognitive 34): CursorCloudSseParser.push has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 3 (8 pts), boolean chains 4, 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2cf9f04646899bd21a773196761b13acf55c799ed1d1cd1330b715c5aca2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"app.SpaceEditCard (cognitive 34): app.SpaceEditCard has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 14 (20 pts), boolean chains 7, if/else 4, error handling 3 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 17 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6698}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b3842dd82272f72e66e8b89e7000cba86a903bca59a46470c5770f9d0d5004"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateosClient.request (cognitive 34): CreateosClient.request has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 6 (27 pts), if/else 3 (5 pts), boolean chains 1, error handling 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a673f1b516f46c5d9d646c6255f9ce759a1db81a9844d30a269d4c5f6b635fb"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard.dashboardService.summary (cognitive 34): dashboard.dashboardService.summary has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 3 (7 pts), boolean chains 5, loops 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":"server/src/services/dashboard.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87afde500fd7766dac565b719b694bc3060d7e4233ccadf6e75b409e8a33614"}},{"ruleId":"D2","level":"warning","message":{"text":"native-runtime-response-delivery.registerNativeRuntimeResponseDelivery (cognitive 34): native-runtime-response-delivery.registerNativeRuntimeResponseDelivery has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 2 (6 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 18). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runtime-response-delivery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddad872a89112f5c121aaa0928ca32a35f341a9f525d980da98847837e9e524"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-tree.onlineOrdinarySourceBlockers (cognitive 34): remote-workspace-migration-tree.onlineOrdinarySourceBlockers has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 7 (11 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb13ef7a022c1a2f36a51da0c0c75fb5b61a9d46f4554b9d789fd1c099d95f55"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.validateMigrationPublication (cognitive 34): remote-workspace-migration.validateMigrationPublication has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 6, loops 5 (6 pts), 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4be97d44ee4f892ced681e34cbe91d51557ff693f758cd66fefd4a539a6731"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarRecentTasks.RecentTasksList (cognitive 34): SidebarRecentTasks.RecentTasksList has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 7, boolean chains 6, error handling 3 (nesting depth added 6). Most of this is not in the body itself: 3 of the 34 points are its own statements and the rest belongs to 5 function items inside it that branch (toggleTaskPause, a function literal at line 253, submitRename, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarRecentTasks.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"918e1691d694fc2753b080a59532d24d529e7c248bc5aeff97e46061d56a02e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SecretPicker.SecretPicker (cognitive 34): SecretPicker.SecretPicker has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 13, ternaries 10 (13 pts), if/else 8 (nesting depth added 3). Most of this is not in the body itself: 5 of the 34 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 286, 265, 166, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/SecretPicker.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e23c827196c5175dab4d58ac6fb8df1d8948e5e0b997e61c96291de219c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"useIssueRowDetails.useIssueRowDetails (cognitive 34): useIssueRowDetails.useIssueRowDetails has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 6 (8 pts), boolean chains 6, ternaries 3 (nesting depth added 9). 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 literals inside it that branch (lines 53, 44, 97, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useIssueRowDetails.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b1ba760f1f0eddb0e419d9d28d28fb5e7551e14f188799663672f87ed0e7f"}},{"ruleId":"D2","level":"warning","message":{"text":"SwipeToArchive.SwipeToArchive (cognitive 34): SwipeToArchive.SwipeToArchive has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (19 pts), ternaries 8 (9 pts), boolean chains 6 (nesting depth added 3). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 9 function items inside it that branch (handleTouchMove, handleTouchEnd, a function literal at line 37, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SwipeToArchive.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38685101533178432d464da4bbb033fc8e388ffe2caf28069f0a79d4a82b450"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceBaseRefRecovery.WorkspaceBaseRefRecoveryProvider (cognitive 34): WorkspaceBaseRefRecovery.WorkspaceBaseRefRecoveryProvider has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 17, if/else 4 (7 pts), ternaries 4 (7 pts), error handling 1 (3 pts) (nesting depth added 8). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceBaseRefRecovery.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d6cc55c1fbc9a2565b1dbc75fe90dc403e5a25d6fb45e18502365abec3fd99"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatRunnerActivityGroup.TaskChatRunnerActivityGroup (cognitive 34): TaskChatRunnerActivityGroup.TaskChatRunnerActivityGroup has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 15 (29 pts), boolean chains 5 (nesting depth added 14). Of this number, 28 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d2543681b4fd3579c005b866971330fc7a7ccf7e69fd063eb50012c4ad941"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatPlanPreviewCard.TaskChatPlanPreviewCard (cognitive 34): TaskChatPlanPreviewCard.TaskChatPlanPreviewCard has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 16 (23 pts), boolean chains 9, 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":"ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"545b838967505a7c4f3cf2822aac0b50e9ea72ab311c0f75b3e0389cd667ecfe"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatActivityPhase.TaskChatActivityPhase (cognitive 34): TaskChatActivityPhase.TaskChatActivityPhase has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 13 (21 pts), boolean chains 12, if/else 1 (nesting depth added 8). Of this number, 32 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":"ui/src/components/task-chat/TaskChatActivityPhase.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a6c7d80d89523ec88c1180f8af72378888e4e07aeb4c66019df7d2190000b"}},{"ruleId":"D2","level":"warning","message":{"text":"save.planInstructions (cognitive 34): save.planInstructions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 8, loops 3, ternaries 1 (2 pts) (nesting depth added 8). Of this number, 28 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3511c8668024919c2a8b3e0c6c9f641a9f5dbc68a217246c7cedbec437d0415"}},{"ruleId":"D2","level":"warning","message":{"text":"NeedsYouCardBodies.BlockedTaskCardBody (cognitive 34): NeedsYouCardBodies.BlockedTaskCardBody has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 18 (30 pts), boolean chains 3, if/else 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":"ui/src/components/coordinator/NeedsYouCardBodies.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35e1b8f5ed01ef223118941b2ff36f6218f48c1d105b4ca76bc4e125beb0efc"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.SkillCard (cognitive 34): CompanySkills.SkillCard has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 18 (25 pts), boolean chains 7, if/else 2 (nesting depth added 7). Of this number, 31 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5d3bbd47bace8b101f768655fc03ad2e00a026c4a3d955939b41139b5c0b53"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBulkRoster.AgentBulkRoster (cognitive 34): AgentBulkRoster.AgentBulkRoster has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 15, ternaries 10 (11 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 10 function items inside it that branch (openEditor, a function literal at line 93, a function literal at line 41, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agents/AgentBulkRoster.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b64048c12ad64576c39ff865a998e51769f540fd0474e5cd9efc899e4af13f"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedProviderCommandExecutor::project_event (cognitive 34): ManagedProviderCommandExecutor::project_event has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbc59c68f0314f31fb87357e2edb22640e5c821c6bc3870715976ebdfc62473"}},{"ruleId":"D2","level":"warning","message":{"text":"LineageState::observe (cognitive 34): LineageState::observe has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 8, loops 3 (5 pts), match/switch 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_lineage.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4fd31676ce7b5e0080fa3eda5ff8e8b2ddb04253df9a70969f78b5ba928a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::managed_provider_backend::complete_managed_usage (cognitive 34): paperclip_runner_core::managed_provider_backend::complete_managed_usage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 3 (5 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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"765ceee6c9aa5c3fa3ba85399f270b4e1dc8435cf50242c05fa84128c0cf7a84"}},{"ruleId":"D2","level":"warning","message":{"text":"service-health-check.serviceHealthChecks (cognitive 33): service-health-check.serviceHealthChecks has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 11 (25 pts), if/else 4, boolean chains 2, error handling 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/service-health-check.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d331fcc784a3387020191ac28bb2199f8adf38b1db5f43a5d12674074c888bd"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-managed-runtime.prepareRemoteManagedRuntime (cognitive 33): remote-managed-runtime.prepareRemoteManagedRuntime has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 6 (11 pts), boolean chains 3, error handling 2 (3 pts), loops 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/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda8125b0cc4d29f003c39dc38772e0ecfa32ae705a590b5d30d1b5a4319f193"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-callback-bridge.createFileSystemSandboxCallbackBridgeQueueClient.writeResponseFile (cognitive 33): sandbox-callback-bridge.createFileSystemSandboxCallbackBridgeQueueClient.writeResponseFile has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aa875a18f00c5908a518e6b0b837907f4e8ea76c07315f51641c73c48dacea"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-seed-cache.readWorkspaceSeedGeneration (cognitive 33): workspace-seed-cache.readWorkspaceSeedGeneration has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9, loops 2, ternaries 2, error handling 1 (nesting depth added 6). Of this number, 30 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1e9204aabc1f9234f806a44a45ff910640cfdb82bb1d380dffcdb15731609a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-seed-cache.cachedGenerations (cognitive 33): workspace-seed-cache.cachedGenerations has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 3 (6 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f1495d98f7994e7b2bf1530820ed86ad839fa7d892b4e76fac2cfc3f28f33e"}},{"ruleId":"D2","level":"warning","message":{"text":"detect-model.parseModelFromConfig (cognitive 33): detect-model.parseModelFromConfig has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (30 pts), boolean chains 2, 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/adapters/hermes/src/server/detect-model.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1cadf2077812ca60c56df9c4a05cbe9f85506a14d4b26e99e544a5e8b13376"}},{"ruleId":"D2","level":"warning","message":{"text":"response-capture.responseValueSize (cognitive 33): response-capture.responseValueSize has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 6, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/response-capture.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de03c3451fcd95a9435cb4d9922d3aa0b51cfbbc4cdc03154f69a57bfaca4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-extensions.createCursorNotificationNormalizer.\u003Creturned closure\u003E (cognitive 33): cursor-extensions.createCursorNotificationNormalizer.\u003Creturned closure\u003E has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 6 (9 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 13). Of this number, 29 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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43ad9dc45b9ecbef053d6b09d48edc230008512ab6f7e605c87f3ff5feb0da4"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadItems.ProviderActivity (cognitive 33): ThreadItems.ProviderActivity has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 19 (30 pts), boolean chains 3 (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 14 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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"646210847c4fe9b137181fd4e848384e810b2b057563a85c0950ff2b2f162d27"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-verified-runtime.discoverPiRuntimeFiles::visit (cognitive 33): pi-verified-runtime.discoverPiRuntimeFiles::visit has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca83aa78819539de319bb47872e1c4bc1d17082244c1b25c4bf5e7184cd3f64"}},{"ruleId":"D2","level":"warning","message":{"text":"contract-fingerprints.stripRustComments (cognitive 33): contract-fingerprints.stripRustComments has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (10 pts), boolean chains 7 (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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd9918c676413dde33284fbb36a0e8bf6f2dfaa21b27e72835783868b61c377"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-callback.receiveSlackCloudCallback (cognitive 33): cloud-callback.receiveSlackCloudCallback has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 9, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 29 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, 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":"server/src/services/chat-channels/slack/cloud-callback.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"632492336536cc8935970e1846437dd37dc4068f7c94a06d867a5d4650f602c0"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification (cognitive 33): plugin-worker-manager.createPluginWorkerHandle::handleWorkerNotification has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 1 (4 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 5 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae19522362eb4b1c0eabc6459076ecb11d68347b3ce72432017d71d3f0a9d269"}},{"ruleId":"D2","level":"warning","message":{"text":"native-rest-client.nativeRestSender.send (cognitive 33): native-rest-client.nativeRestSender.send has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 4 (9 pts), error handling 3 (4 pts), boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-rest-client.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fc1103b1b8d300d0434a03f290427d419afc1c81ec2d4b48f3e02c47d044ef"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-use-client.browserUseClient.call (cognitive 33): browser-use-client.browserUseClient.call has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 7 (10 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use-client.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4449de6e741637cfe6ae318c909d8b79689422bc3c5d03c680f9d200b95ef985"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-client.githubBotRequestOnce (cognitive 33): chat-github-client.githubBotRequestOnce has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 4 (6 pts), loops 2 (4 pts), boolean chains 2, ternaries 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":"server/src/services/chat-github-client.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e417194808ec65df899a5c6842975ffd4b76129ce413dc6d2863407407511f1"}},{"ruleId":"D2","level":"warning","message":{"text":"publications.createPhotonPublicationDelivery.deliverPhotonPublication (cognitive 33): publications.createPhotonPublicationDelivery.deliverPhotonPublication has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 8, ternaries 2 (5 pts), loops 1 (3 pts) (nesting depth added 11). Of this number, 24 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":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1432c485cc708bd57c708dd1f46125f8160872347c1021cc283dc675b4ba9ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-durability.persistDurableAgentFiles (cognitive 33): agent-file-durability.persistDurableAgentFiles has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, 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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"716c7ee26a4472d3a6e31b0b7182a7491d61e5422da3c909931e8729a4a5190c"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.importPackageFiles (cognitive 33): company-skills.companySkillService.importPackageFiles has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 6 (10 pts), boolean chains 4, loops 4 (nesting depth added 13). Of this number, 27 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":"server/src/services/company-skills.ts"},"region":{"startLine":6246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d707832294c812e3ebff3c5eda9f949cd99fd8683781c9858e1fbcd5e667dafb"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-recovery.recoverSkillPackage (cognitive 33): skill-package-recovery.recoverSkillPackage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5 (11 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 11). Of this number, 28 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":"server/src/services/skill-package-recovery.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"affa156791a7b1a883d850f31f025d2f851f81e0ca21a2ad6753abcdd6130ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.captureAuthorityHistory::visit (cognitive 33): native-harness-filesystem-independence.captureAuthorityHistory::visit has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 8, loops 2 (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. This shape REPEATS in the file: one other method here (native-harness-filesystem-independence.captureAuthorityHistory) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"328d64c71a6b97a208de32db5797ba83eb2f959bf921e9929b66f136226af4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-migration.findLocalNativeControllerObligation (cognitive 33): native-controller-migration.findLocalNativeControllerObligation has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 2 (6 pts), boolean chains 5, loops 1 (nesting depth added 14). Of this number, 30 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d3ac5aa3f39c375bb15e635b33d0d57de8d52fa7fc13409fa92a6fe0853139"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.resolveClaudeRunnerConfig (cognitive 33): agent-runner-selection.resolveClaudeRunnerConfig has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 10, loops 3 (4 pts), ternaries 3 (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"124153c9ffcab07abebdec04b13ec56d10a949b7ccb624ca632540542e1e3a56"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-injection-prevention.promptInjectionPreventionService.classify (cognitive 33): prompt-injection-prevention.promptInjectionPreventionService.classify has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 8, error handling 3, ternaries 3, loops 1 (nesting depth added 5). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 201, 234). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ba377ec21e6a24ccfca121c74b28caa77faa81bd4be1e3878c0515d2fd6838"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-access.authorizeSlackChannel (cognitive 33): slack-access.authorizeSlackChannel has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 8, ternaries 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-access.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7e077f3e2dfadcad2b114ec034fa6534066a8b92c614b85823b02e09d9b66a"}},{"ruleId":"D2","level":"warning","message":{"text":"response-execution.githubResponseExecution (cognitive 33): response-execution.githubResponseExecution has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 11 (24 pts), boolean chains 9 (nesting depth added 13). 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":"server/src/services/chat-channels/github/response-execution.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"827e32bf7ed16661d78f5f57fd652e030cedbe77881e146542d1e49432450c19"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.request (cognitive 33): execution-workspace-repositories.executionWorkspaceRepositoryService.request has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 3 (5 pts), boolean chains 3, loops 2 (nesting depth added 7). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 166, 187, 193, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"27efd46a42206216339b49c29edc780c58ac8252dcc32078a64d0b4abbe062ac"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.report (cognitive 33): assigned-work-sweep.assignedWorkSweep.report has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 4 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"2447c71b5cca2a37f689d1ad3884aa33c9be62b2b3b27d09c97e02c90e98a53f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-quota-reset.parseProviderQuotaClockReset (cognitive 33): provider-quota-reset.parseProviderQuotaClockReset has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 8 (11 pts), boolean chains 8, error handling 1, loops 1 (nesting depth added 5). Of this number, 26 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-quota-reset.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb4cf7d126fff97f0e8434fba03c92b023891a0eec7294dc0d72214a3ec4303"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.decideQueuedRunStaleness (cognitive 33): policy.decideQueuedRunStaleness has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 16 (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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d86d6dc11c154b6c7e595820591f58a2b072c51f3cdb91567ed7d5907bf83f"}},{"ruleId":"D2","level":"warning","message":{"text":"session-preparation.prepareHeartbeatSession (cognitive 33): session-preparation.prepareHeartbeatSession has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 9, if/else 6 (8 pts) (nesting depth added 6). Of this number, 31 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":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71c06d5fd9c2cd46445ba843d1ceb905605faff88a1588bca8fc2fb978e18ce"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-models.decisionModelService.decide (cognitive 33): decision-models.decisionModelService.decide has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 9, error handling 4, ternaries 3, loops 1 (nesting depth added 4). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 236, 271). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d38922b5e728a6931b9439d493c07a47d3c324fefe118b0cc88945665c177e"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.createSlackCommands.handleSlackSlashCommand (cognitive 33): commands.createSlackCommands.handleSlackSlashCommand has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 5, ternaries 4 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 11 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":"server/src/services/chat-channels/slack/commands.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b866457f3950c9940653c2f14a81983873d56b460009b1f0c17b78b64ae2925"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.createChatPublicationResolution.resolvePublication (cognitive 33): resolution.createChatPublicationResolution.resolvePublication has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 10 (12 pts), boolean chains 5 (nesting depth added 10). Most of this is not in the body itself: 1 of the 33 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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39dfa0938e8b604e75c2c279007a759b093a6e036ee89bb86b7d9f92f060fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"gateway-events.createDiscordGatewayEvents.processDiscordGatewayEvent (cognitive 33): gateway-events.createDiscordGatewayEvents.processDiscordGatewayEvent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 7 (10 pts), boolean chains 9 (nesting depth added 6). Most of this is not in the body itself: 6 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 118). 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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c67255fb09781c8495a7df563fc68af39c22fabbb2a576d0469b5bd33c052c"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-app-discovery.discoverArcadeApps (cognitive 33): aggregator-app-discovery.discoverArcadeApps has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 3 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de15aef1c94c72b54c2c9eef470cded1f2da4113d87668b673ff1c7d35cf064"}},{"ruleId":"D2","level":"warning","message":{"text":"native-usage-delivery.createNativeUsageReceiver.capture (cognitive 33): native-usage-delivery.createNativeUsageReceiver.capture has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (10 pts), ternaries 7 (9 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":"server/src/services/native-runtime/native-usage-delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ce417dc5dbdac8f4b944641f4fe35a595af9e9281603e8c2651048a2f6e055"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-title.setIssueTitle (cognitive 33): issue-title.setIssueTitle has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 12, ternaries 4 (nesting depth added 5). Of this number, 31 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":"server/src/services/issue-title.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b99c4ddbe6edfbb7bf6e356fd0aaa3299246a55ff0a0aad8a1cb6f62181ffc4"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.freshChatSourceAfterPublishedControl (cognitive 33): issues.freshChatSourceAfterPublishedControl has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (13 pts), error handling 2 (3 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":"server/src/services/issues.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"288bcb4beaa07831343fcbf09ec62e8cfa7f93fdd3f8a47ad2b4484bd5abe907"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.blockedInboxIssueConditions (cognitive 33): issues.blockedInboxIssueConditions has cognitive complexity 33 (threshold 15). Drivers by points: if/else 26 (27 pts), boolean chains 4, 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":"server/src/services/issues.ts"},"region":{"startLine":6659}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a4bbd94139a64e6cbe30e048beb8e23d4173f1bc2387893b9f88670c3fdd54"}},{"ruleId":"D2","level":"warning","message":{"text":"operation-groups-doc.validateOperationGroupsInput (cognitive 33): operation-groups-doc.validateOperationGroupsInput has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (27 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fece01b1840d5b3c7cc3eff8e294d551e36202441c96da927ac32d9a027dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"operation-groups-doc.renderOperationGroupsDocument (cognitive 33): operation-groups-doc.renderOperationGroupsDocument has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 10 (21 pts), loops 11 (12 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/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db5a5664c956aa3774e122e0c44943232263e60aff0866614b2bca722e4530c"}},{"ruleId":"D2","level":"warning","message":{"text":"public-eval-viewer.validatePublicChatPayload (cognitive 33): public-eval-viewer.validatePublicChatPayload has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (32 pts), loops 8 (11 pts), boolean chains 9 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (public-eval-viewer.validatePublicChatPayload::visit) 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7ce9b87d3e006f0e33ca7edc798e4df77757b998cd523e6a74d7b247d18ad7"}},{"ruleId":"D2","level":"warning","message":{"text":"live-projection.derivedRecordItems (cognitive 33): live-projection.derivedRecordItems has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 4 (7 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6652a29eb65e3fbd28d127c6d7013d7551a6d51575f2629d5aa350a6148d40e"}},{"ruleId":"D2","level":"warning","message":{"text":"app.PaperclipIngestionSpaceCard (cognitive 33): app.PaperclipIngestionSpaceCard has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 15 (19 pts), boolean chains 12, error handling 1, if/else 1 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f46ff7064738b2514979e60cc8ebb4304374018803324e3ece1b123917d5bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"core.validatePaperclipIngestionProfile (cognitive 33): core.validatePaperclipIngestionProfile has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"089231be600139bda82d85720789832cb7179552928466dfc293c386daa7924f"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge-client.consumeExecuteEventStream (cognitive 33): bridge-client.consumeExecuteEventStream has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 3 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e6ad2590dd77958f281c73421d8418ae45830f59a30982e7fe10567f73eaa7"}},{"ruleId":"D2","level":"warning","message":{"text":"lease-lifecycle.checkLeaseResumable (cognitive 33): lease-lifecycle.checkLeaseResumable has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 4 (7 pts), ternaries 3 (7 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/plugins/sandbox-providers/kubernetes/src/lease-lifecycle.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d415c3a17473ea7447b66339d3fb31b58b8b1d471f1e8f5d827a15f05c6a566"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.blockedWorkCountMap (cognitive 33): attention.blockedWorkCountMap has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 5 (8 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 16). Of this number, 30 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":"server/src/services/attention.ts"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbfdbfcf279499d6ae7c8175da1df0d89b0f1ad114c06bd04cc6d4625ff2be"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.collectAgentSafeImportPolicyErrors (cognitive 33): company-portability.collectAgentSafeImportPolicyErrors has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (10 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":"server/src/services/company-portability.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1484a426947e41080ed49463ec9e65c985fbb17d3e3dc64c52311056afcb6a"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.buildPortableProjectWorkspaces (cognitive 33): company-portability.buildPortableProjectWorkspaces has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 4 (7 pts), boolean chains 6, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07610739c266017559548bd2202b4bd6c63b852d738b9a2c3c6eef6049cf733"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-trace-workspace-diff-reprojection.projectCodexWorkspaceDiffsFromTrace (cognitive 33): provider-trace-workspace-diff-reprojection.projectCodexWorkspaceDiffsFromTrace has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 5 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 16). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-trace-workspace-diff-reprojection.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909fc3f33b07ed30cafcf5df62ce14bb28bf915b7902383bea68b51c4624b71"}},{"ruleId":"D2","level":"warning","message":{"text":"native-safe-replacement.discoverNativeReplacements (cognitive 33): native-safe-replacement.discoverNativeReplacements has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f63bb5e28910de1ed5618b1396b9cffef1f9cd26c962cb0caec835569200a5"}},{"ruleId":"D2","level":"warning","message":{"text":"assignees.suggestedCommentAssigneeValue (cognitive 33): assignees.suggestedCommentAssigneeValue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 10, loops 1 (2 pts), ternaries 1 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 15 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/assignees.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d6d20b6979df2c82b144bbaaa950f124f9e2e26fea6f833f9318edd453216"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.handleLiveEvent (cognitive 33): LiveUpdatesProvider.handleLiveEvent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 6, 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4834b4c5e340e94a8894c58fb2418a39f645b37e921ebdcc38a3ea4753426ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DispositionRecoveryNotice.DispositionRecoveryNotice (cognitive 33): DispositionRecoveryNotice.DispositionRecoveryNotice has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 15 (20 pts), boolean chains 11, error handling 1, if/else 1 (nesting depth added 5). Of this number, 28 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2d24aa387415848439d95858a718270cd60aceb19e01ece75c43a4af82dba5"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.SystemNoticeCommentContent (cognitive 33): IssueChatThread.SystemNoticeCommentContent has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 15 (16 pts), if/else 10 (11 pts), boolean chains 6 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a745c72fad6e0e20a3ca41e66a3652a71218fefe62f952e3e698a7e372499ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRuntimeControls.CommandActionButtons (cognitive 33): WorkspaceRuntimeControls.CommandActionButtons has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 17 (27 pts), boolean chains 6 (nesting depth added 10). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 372). 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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c564c419ea61558955da2d39840ba8149a219514a117ae327862258e93728ac"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerInspector.JsonNode (cognitive 33): RunnerInspector.JsonNode has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 18 (25 pts), boolean chains 8 (nesting depth added 7). Of this number, 29 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":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12f3df207028f2d8d1c79265a1a7b3551b47f69ceafe0833c418172b7ee7d90"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigureBuiltInAgentModal.ConfigureBuiltInAgentModal (cognitive 33): ConfigureBuiltInAgentModal.ConfigureBuiltInAgentModal has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 16, ternaries 13 (14 pts), if/else 3 (nesting depth added 1). 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 literals inside it that branch (lines 129, 72, 70, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ConfigureBuiltInAgentModal.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"96125d395fcae3f7f5b60d38117c3e90f4169851a6a36422dea3a0e52e316d80"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCostsPanel.AgentCostsPanel (cognitive 33): AgentCostsPanel.AgentCostsPanel has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 11 (26 pts), boolean chains 7 (nesting depth added 15). Of this number, 21 points are the body\u0027s own statements and 12 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":"ui/src/pages/AgentCostsPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04c884a870ea01b104cad59283cff8024129aa1d8f61d2685c171786ba924f7"}},{"ruleId":"D2","level":"warning","message":{"text":"editable-sections.OverviewSection (cognitive 33): editable-sections.OverviewSection has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 16 (19 pts), if/else 6 (8 pts), boolean chains 6 (nesting depth added 5). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 161, 154, 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":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c900e5f4ec86408e58fe07ac6cc316805b746870e147fd89e7aca6bb7cbd8e"}},{"ruleId":"D2","level":"warning","message":{"text":"CostDataQualityNotice.CostDataQualityNotice (cognitive 33): CostDataQualityNotice.CostDataQualityNotice has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 17, ternaries 7 (9 pts), loops 3 (4 pts), if/else 1 (3 pts) (nesting depth added 5). Of this number, 25 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":"ui/src/components/CostDataQualityNotice.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa743cc0393cdd274ba730d692f92f4756210df55d722cfa32ee68107444539d"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorNeedsYou.CoordinatorNeedsYou (cognitive 33): CoordinatorNeedsYou.CoordinatorNeedsYou has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 70 (164 pts), if/else 30 (46 pts), boolean chains 37, loops 4 (nesting depth added 110). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (CoordinatorNeedsYou.CoordinatorNeedsYou::renderCard) 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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3402c5e729aa7ae95cf31ac92fdbdffdfff56f8a1b45222b63619b81fed30d94"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionInlineVerbs.BudgetAlertActions (cognitive 33): AttentionInlineVerbs.BudgetAlertActions has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 15 (25 pts), boolean chains 6, if/else 2 (nesting depth added 10). Of this number, 28 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"434575e375c98a928a220bb4f7fbb8b5cc644019f64a6b53f486bde3759a5a96"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.PickProjectStep (cognitive 33): ImportSkillsFromProjectDialog.PickProjectStep has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (30 pts), boolean chains 3 (nesting depth added 22). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 698, 712). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32106f90ad896e2dc003909993fb5e70293c3cb4546bbc4b93f12ecb9e986f5"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillFolderTree.SkillFolderRail (cognitive 33): SkillFolderTree.SkillFolderRail has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 12 (13 pts), boolean chains 3, loops 1 (nesting depth added 8). Of this number, 16 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80fc3025caf5d03c4aa76583c45c2ecfce8481fb0927d9ad2c9e1ba5c42149d"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.RunsPane (cognitive 33): SkillStudio.RunsPane has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (15 pts), if/else 10, boolean chains 8 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 17 belong to 8 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d5710c3c44836e28fc36f3eff1b7a3029a48e60dbc31e462b24635c0552c8d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 33): (anonymous) has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 5 (9 pts), boolean chains 5, ternaries 1 (3 pts), other 2 (nesting depth added 10). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 137, 154, 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":"ui/public/sw.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9204d5c8d83bc67aa46f75f649afc66c5f84abfa8e977f766ea290430eabdafe"}},{"ruleId":"D2","level":"warning","message":{"text":"board-auth.loginBoardCli (cognitive 32): board-auth.loginBoardCli has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, ternaries 4 (7 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/board-auth.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d13ad1b68064f597f416681a91136674c35329a38fc6b5357dda6feaa4c8bc"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.collectClaimedWorktreePorts (cognitive 32): worktree.collectClaimedWorktreePorts has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 4 (6 pts), boolean chains 4, 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":"cli/src/commands/worktree.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c043f7a0f88cb3ede596a880ea8b310419a4ef0f88c51272a870c412f7c310"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.ensureWorktreeSeeded (cognitive 32): worktree.ensureWorktreeSeeded has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 9, 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0525bf3fc9dd0d9dffd84779c0c3a1ccee6ae6affe75e5c064248755e2aec4"}},{"ruleId":"D2","level":"warning","message":{"text":"migration-compatibility.classifyAlterTableAction (cognitive 32): migration-compatibility.classifyAlterTableAction has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (28 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/db/src/migration-compatibility.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7019657e5413d6faed6cc5ecd1126538827cbab7c9faab669d68ef2540c6cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-call-markup.toolCallMarkupStart (cognitive 32): tool-call-markup.toolCallMarkupStart has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/tool-call-markup.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd0aced8fff3b2c6ce12c3bcc90a6c5fa24bd44ad67c5b810c0fd049fcfd767"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-cursor-distribution.materializePinnedCursorDistribution (cognitive 32): materialize-cursor-distribution.materializePinnedCursorDistribution has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, loops 3 (4 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63b9528d91a5aa22dc94dae75de999d6de7a023749bcd2687f6ddaa5e29ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotonChatAdapter.sendPart (cognitive 32): PhotonChatAdapter.sendPart has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, ternaries 3 (6 pts), error handling 2 (3 pts) (nesting depth added 9). Of this number, 29 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/adapter.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cefc082ebc136bc0d914de1a49f9dee646936b4bb0f1ef5faff124260fe91f"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-media-intake.gif (cognitive 32): chat-telegram-media-intake.gif has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 7, loops 2 (nesting depth added 12). Of this number, 26 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64b756fc0bc2eda6585bd45cbb183c970fa4dfe78a4ea55dec0493f19801aa"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-slack-receipts.applySlackReceiptReaction (cognitive 32): chat-slack-receipts.applySlackReceiptReaction has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 11, error handling 2 (3 pts), ternaries 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-slack-receipts.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abed6e872722cd391039137d970ad3a1f5c91f1f13e9cf50d6a2cabc0857913"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.slackFormOperation (cognitive 32): paperclip-cloud-connector.createPaperclipCloudConnector.slackFormOperation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 9 (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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d428c9c7a8c493cfd72cf20988cd684f77b9a18c4a2fad1d52493a3b77c83e7"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleBaseGitStorage (cognitive 32): git-workspace-restoration.assertReproducibleBaseGitStorage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, loops 4 (5 pts), ternaries 2 (4 pts) (nesting depth added 10). Of this number, 21 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31412f23c4a14989c104f4fe3ada41529d360f4e3b41e4329c66ad0354784f8"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-task-directory-retention.sweepIsolatedTaskDirectories (cognitive 32): isolated-task-directory-retention.sweepIsolatedTaskDirectories has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e057efd9bb55ee1fe4d77fb98cc5b656f196a6f08320a44bb0e092480296c998"}},{"ruleId":"D2","level":"warning","message":{"text":"project-environments.projectEnvironmentOptions (cognitive 32): project-environments.projectEnvironmentOptions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 11, ternaries 4 (6 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/project-environments.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9007d0bf5c77040e10142b72b480f09cc8172228a9826412a50b3dc5f2d5b5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-original-volume.verify (cognitive 32): native-harness-original-volume.verify has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 12, loops 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-original-volume.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f240989d4c76afbc77ff8c0ba001abc3017c975e2fcbc1249f47522498e24fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.upsertPolicy (cognitive 32): budgets.budgetServiceInTransaction.upsertPolicy has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 9, ternaries 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":"server/src/services/budgets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"d833a8c2e37c8641105cc97da1492f10c4ad60834aafcaf7bbf5f55329ef1451"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.scopeAllowsTool (cognitive 32): tool-access-policy.scopeAllowsTool has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 11, 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"d818be70aa5535616dcb8885dc0c8fffb0d8597e7070fa2a3352138ebae46479"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-capability-validator.pluginCapabilityValidator.validateManifestCapabilities (cognitive 32): plugin-capability-validator.pluginCapabilityValidator.validateManifestCapabilities has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-capability-validator.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a5f9dec59da3bce2d5eb2d718edb2b0ec1d6a29afa0f450d924dfa27c3e0da"}},{"ruleId":"D2","level":"warning","message":{"text":"plan-review-context.buildDocumentReviewContext (cognitive 32): plan-review-context.buildDocumentReviewContext has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (5 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 13). Of this number, 18 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":"server/src/services/plan-review-context.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfda14dd4f2fc3099437a9af94dd9c2f4fd9da9dbeabc3546858640b7bf1943"}},{"ruleId":"D2","level":"warning","message":{"text":"use-cases.createAdmitWakeBehindIssueExecution.admitWakeBehindIssueExecution (cognitive 32): use-cases.createAdmitWakeBehindIssueExecution.admitWakeBehindIssueExecution has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, ternaries 9 (13 pts), if/else 5 (6 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5c248a902940aa39bdc1a1a2ce20f322591338b3676bed645c46ac098bad90"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-log-export.restoreCompactedEvent (cognitive 32): native-run-log-export.restoreCompactedEvent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (20 pts), loops 4 (6 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 9). Of this number, 24 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e138a384e71c4327b65f83e33b9246a070b44b836c8481a9aaed67ddb5e65401"}},{"ruleId":"D2","level":"warning","message":{"text":"root-threads.createDiscordRootThreads.reconcileDiscordRootThread (cognitive 32): root-threads.createDiscordRootThreads.reconcileDiscordRootThread has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 6 (9 pts), boolean chains 4, error handling 1 (nesting depth added 12). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 493, 420, 448). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8544e7d21388692f475af10db6e316b666815aab0b2ec29755efbd901f38eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"review-queue.createToolActionReviewQueue.listActionRequests (cognitive 32): review-queue.createToolActionReviewQueue.listActionRequests has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 6, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 14). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/activity/review-queue.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5301a6ba1c70959db88457f4bd489ee11d55df4f1c880f51f8cad9f726b1a170"}},{"ruleId":"D2","level":"warning","message":{"text":"native-runner-file-handoff.readVerifiedWorkspaceFile (cognitive 32): native-runner-file-handoff.readVerifiedWorkspaceFile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 8, 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd1a26b6b7c445853632440ea8ae289291c825db97d80dc1e55704c2826e280"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-privacy.getHeartbeatRunReadDecisions (cognitive 32): heartbeat-run-privacy.getHeartbeatRunReadDecisions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (14 pts), boolean chains 4 (nesting depth added 17). Of this number, 29 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-privacy.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"219494f2f62b8500e69aac20a09b71f965fbc19f352884a496b1c5584c00c637"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.updateTrigger (cognitive 32): routines.routineService.updateTrigger has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 5, boolean chains 2 (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeac170f688bda19ed567892aa1d1818195f53fb681d31164d009264ebbc42e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.nativeProviderRecoveryEvidence (cognitive 32): native-session-executor.nativeProviderRecoveryEvidence has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 19, if/else 6 (9 pts), ternaries 3 (4 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9269}}}],"partialFingerprints":{"codehealthFindingId/v1":"832c42600f6b65c209315b0a4224da7f8c2b1f4b9642d03f3583e3f622dc274a"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.deriveIssueCommentRunLogAttribution (cognitive 32): issues.deriveIssueCommentRunLogAttribution has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 3 (5 pts), boolean chains 4 (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":"server/src/services/issues.ts"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15c67eeb5640e5f3e36c2a2754999427e865b16d884d4309e3ad8c760f2a1c0"}},{"ruleId":"D2","level":"warning","message":{"text":"install-copilot-assets.installCopilotAssets (cognitive 32): install-copilot-assets.installCopilotAssets has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 4 (5 pts), ternaries 2 (4 pts), boolean chains 3, 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/paperclip-runner/scripts/install-copilot-assets.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3f3425f7a688809bbe0984592b74f46290f5b136d5ea75baa580d488dff582"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.pump (cognitive 32): cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.pump has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (24 pts), if/else 4 (5 pts), boolean chains 2, loops 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"124a789368512ad9e3bea3c58ce3c52bd05bd7dced1469547f25d072a77fac11"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.handle (cognitive 32): cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy.handle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 6, ternaries 3 (6 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afd9b061c9991c9bba4de1b61716531d7aa2fe476df5f7deb3dc219f72fe895"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleLine (cognitive 32): worker-rpc-host.startWorkerRpcHost.handleLine has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 5 (13 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 13). Of this number, 17 points are the body\u0027s own statements and 15 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ff23ea8238e8da365906f630aa3ccfbfc54c9ebfe867f75063d7839afdffdb"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerCore.compensateExpose (cognitive 32): BrokerCore.compensateExpose has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 6 (7 pts), error handling 4 (5 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e7b1c778fbd3380bccda756f128585af9e8f0ea0cf21e075b1f2b086eff0f"}},{"ruleId":"D2","level":"warning","message":{"text":"local-ai-credentials.readVerifiedLocalAiCredential (cognitive 32): local-ai-credentials.readVerifiedLocalAiCredential has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 2 (4 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-credentials.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d21c2fc72a7b0ee41f65fc8103956c4be867597a84d02d90795d995284d950f"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.companyPortabilityService.resolveSource (cognitive 32): company-portability.companyPortabilityService.resolveSource has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 6 (9 pts), boolean chains 5, error handling 2 (3 pts), loops 2 (nesting depth added 8). Of this number, 28 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":"server/src/services/company-portability.ts"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"af123b0be8cc491bba0f67f07832a4785a580e8a598b348deca961dbaba46499"}},{"ruleId":"D2","level":"warning","message":{"text":"onboarding-seed.onboardingSeedService.applyWithin (cognitive 32): onboarding-seed.onboardingSeedService.applyWithin has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 6 (17 pts), if/else 7 (9 pts), boolean chains 6 (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":"server/src/services/onboarding-seed.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f06434914e568f884494ac762ffaae35c7a85072efe4b4d1fea6ea5e02223f5"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery-observability.recoveryObservabilityService.report (cognitive 32): recovery-observability.recoveryObservabilityService.report has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 3, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery-observability.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a1cab9ee1f44bd0a8d0b357a2bf23733ac5c5a105858936587950b2473f492"}},{"ruleId":"D2","level":"warning","message":{"text":"online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoveryHold (cognitive 32): online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoveryHold has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 12, 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"462607930b695f72f4275d6168ef57458bb75e74bea41324577050e69d76483a"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.captureMigration (cognitive 32): remote-workspace-migration.captureMigration has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 9 (12 pts), boolean chains 6, 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"75515cf2fa92a6ec06feca37395ced7601f836548948781f26e3b09601806fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarCompanyMenu.BuiltinCompanyMenu (cognitive 32): SidebarCompanyMenu.BuiltinCompanyMenu has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 10, if/else 9 (10 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b026f4ebef226f24a82c355f09ae5f61d847b9ca02dc0c34d2156c8b5f111e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.normalizedEnvEntries (cognitive 32): index.normalizedEnvEntries has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 5 (15 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43c642b3054ef6971babc7f7a0066541d332657bf1e04efc1a4748f5a947d86"}},{"ruleId":"D2","level":"warning","message":{"text":"Auth.AuthPage (cognitive 32): Auth.AuthPage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 10, if/else 7 (nesting depth added 1). 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, 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":"ui/src/pages/Auth.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9650efc9cd681827293577be3c28c71de9050228487c1690b41ac6f24a58abc3"}},{"ruleId":"D2","level":"warning","message":{"text":"CliAuth.CliAuthPage (cognitive 32): CliAuth.CliAuthPage has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, ternaries 7 (9 pts), if/else 8 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 4 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":"ui/src/pages/CliAuth.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3dceac8f7b4db3a7bd75589b7af6f4ab58284183fa5abefa57f2b9671f18d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatIdentityConfirm.ChatIdentityConfirm (cognitive 32): ChatIdentityConfirm.ChatIdentityConfirm has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 14, ternaries 9 (12 pts), if/else 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatIdentityConfirm.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6105b46b7d2a9a1b88a86ba266e421d4fd63bac056f044d773573d8cd2c0e18"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarNavItem.production.SidebarNavItem (cognitive 32): SidebarNavItem.production.SidebarNavItem has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 14, if/else 2 (nesting depth added 7). Of this number, 30 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":"ui/src/components/SidebarNavItem.production.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13db8c160150c13bb0e6c951be2cabd7b74f1012ef381d9ab286379e1b361dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarCompanyMenu.production.BuiltinCompanyMenu (cognitive 32): SidebarCompanyMenu.production.BuiltinCompanyMenu has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 10, if/else 9 (10 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b4cbb65a9637fc64750ee52897551f59daaf240625630ae27f553d2cf0303b"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatRunnerActivityGroup.ActivityRowContent (cognitive 32): TaskChatRunnerActivityGroup.ActivityRowContent has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 16 (21 pts), boolean chains 10, if/else 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fcea143b9c1d5a947b9f576260cf651455795e30e83f8640fb0e6b9e15b96f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-log-chunks.mergeRunLogChunks (cognitive 32): run-log-chunks.mergeRunLogChunks has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8786c0e9d0ec37bf3abeb3d583be1cddc81b2e92dd9958b9227899523cecfd"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditRuns.AuditRuns (cognitive 32): AuditRuns.AuditRuns has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 6, if/else 3 (nesting depth added 12). Of this number, 24 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditRuns.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"de33b93e61cbd68dfe3360da94f6cb7d9bef3cbdc224dbba77d4ba24fe3402ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectWorkspaceSummaryCard.ProjectWorkspaceSummaryCard (cognitive 32): ProjectWorkspaceSummaryCard.ProjectWorkspaceSummaryCard has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 19 (29 pts), boolean chains 3 (nesting depth added 10). 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":"ui/src/components/ProjectWorkspaceSummaryCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b281c9c5adc3f8ce6184d2aa5d3bcde02b6c3ee223bc052ac5574f5e2cd858"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalDetail.ApprovalDetail (cognitive 32): ApprovalDetail.ApprovalDetail has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, ternaries 9 (11 pts), if/else 5, loops 1 (nesting depth added 2). Of this number, 24 points are the body\u0027s own statements and 8 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":"ui/src/pages/ApprovalDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ab1e6e65b6bd8a4f61f49239cdb2ed36f3ab95bdc67f8bfadfc614115886a8"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySettings.CompanySettings (cognitive 32): CompanySettings.CompanySettings has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 18, if/else 9, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 22 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":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea0d397db6b933d2273887d76f12cad79803197ac340abe33b7b26827ceed2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointDetail.Settings (cognitive 32): ChatEndpointDetail.Settings has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (18 pts), boolean chains 13, if/else 1 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"885ef430ad2f49fc5dc2e88943864255510aef088cc32f96fefef9579f5d16a1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.RunDetailView (cognitive 32): SkillStudio.RunDetailView has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 16 (19 pts), boolean chains 9, if/else 4 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 13 belong to 10 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab97d92547fe2adce0b9179e9716aca98236c2189f4b4fa9ef2a16649f7184d6"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentThread.CommentCard (cognitive 32): CommentThread.CommentCard has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 18 (24 pts), boolean chains 8 (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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f15b888b9de06328dda80245318af807826ebd22bf2669478fe6660f25fdde"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentMailIntentSetup.AgentMailIntentSetup (cognitive 32): AgentMailIntentSetup.AgentMailIntentSetup has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, ternaries 5 (9 pts), if/else 5 (6 pts), error handling 2 (nesting depth added 5). Of this number, 20 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":"ui/src/features/connections/AgentMailIntentSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f02e60da824690a66ba73e8deed5837d16edd88cacde7ffef74fad512f0ba76"}},{"ruleId":"D2","level":"warning","message":{"text":"useAgentChatRead.AgentChatReadProvider (cognitive 32): useAgentChatRead.AgentChatReadProvider has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 19, 81, 65, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAgentChatRead.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec975bfaf060db7ed999f9c9c929de70ad263a9286fbe142cbf64b064562770"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxCommandExecutor::start_turn_in_open_session (cognitive 32): AcpxCommandExecutor::start_turn_in_open_session has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (28 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cc280ea94f9943843af139d7e84a15321ec38eaedd36ef910a3e2a6929dffc"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsAgentCoreHarnessProvider::poll (cognitive 32): AwsAgentCoreHarnessProvider::poll has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"138ba357a85b8bd0f5b18119d991d34a058daf188f36c8a4e686d6e88082a9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::replay::reduce_replay_fixture (cognitive 32): paperclip_runner_core::replay::reduce_replay_fixture has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/replay.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8e8e0c8b6c85ffe2896d8e8f4a9849f3031ed8122a92e285cde6fb5bf79fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.runAdapterExecutionTargetProcess (cognitive 31): execution-target.runAdapterExecutionTargetProcess has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 6 (11 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca443430905243dd790d78cff6bd09f29efcd90420a6ff3b316a431a20f63c17"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip-runner-permissions.paperclipRunnerTransitionConfig (cognitive 31): paperclip-runner-permissions.paperclipRunnerTransitionConfig has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 13 (24 pts), boolean chains 6, if/else 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/adapter-utils/src/paperclip-runner-permissions.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ff4bbfc63682df8a3c9067dbbd46eaebf0676005ab01548cacaccfec870fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"quota-probe.main (cognitive 31): quota-probe.main has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 3 (7 pts), boolean chains 4, ternaries 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":"packages/adapters/claude-local/src/cli/quota-probe.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596444e65c8ea51b936911b5d28d5a47b4563ba3a749c9281f475243bffe5ff"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::toResult (cognitive 31): execute.execute::toResult has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 13 (23 pts), boolean chains 7, if/else 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (execute.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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b207b8ec56204c2258636033e7563b42a7db24b30314ab4fd7f1888543723c79"}},{"ruleId":"D2","level":"warning","message":{"text":"client.applyPendingMigrationsManually (cognitive 31): client.applyPendingMigrationsManually has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 4 (7 pts), boolean chains 1, error handling 1 (nesting depth added 16). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 2 function items inside it that branch (applyMigration, a function literal at line 846). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/db/src/client.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"827bf719d8183bbc14b7a12a5dab39f01cb84a1ec461a59962a40ecae5ee7870"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-input-error.toolInputError (cognitive 31): tool-input-error.toolInputError has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 8 (12 pts), boolean chains 6, loops 1 (nesting depth added 9). 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":"packages/paperclip-runner/src/drivers/tool-input-error.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d75fab274b4add1582312fce46386b14dfd95e6f58a61f0f1f001494c920205"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.packControlledAttempt (cognitive 31): archive.packControlledAttempt has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (5 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9377f3481a7fd2f34c68a02b0f45aceb5b983c8b609945f489b9d42ccd3eef43"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.updateUnlocked (cognitive 31): secrets.secretService.updateUnlocked has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 8, ternaries 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e089ea1ef286c5e91b3c0db4fa349c7503d30cef16cad8a861f74a5af8bcae6"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-operations.workspaceOperationService.sweepRuntimeControlOperations (cognitive 31): workspace-operations.workspaceOperationService.sweepRuntimeControlOperations has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 6 (12 pts), boolean chains 5, 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6153615fdc76a599c5a936c3cea380597675231b2a635275787f3ee2143817b8"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh-leases.createOAuthRefreshLeases.acquireOAuthGrantRefreshLease (cognitive 31): refresh-leases.createOAuthRefreshLeases.acquireOAuthGrantRefreshLease has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 8, ternaries 2 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcf55b09cfb8ca5ae9d01db07d0e7f4afe17fedcc68356172550f752e9c6616"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-model-provider.runDecisionProvider (cognitive 31): decision-model-provider.runDecisionProvider has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (22 pts), boolean chains 4, if/else 2 (4 pts), error handling 1 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-model-provider.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfe8f990758fdd0503ab2e812c0fc11769af89e71020321499e1a527a692349"}},{"ruleId":"D2","level":"warning","message":{"text":"github-external-object-provider.createGitHubExternalObjectProvider::resolver (cognitive 31): github-external-object-provider.createGitHubExternalObjectProvider::resolver has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 4 (6 pts), boolean chains 2, error handling 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0ced7547e291e3e34ce02393884e896d98a31951bcd4686da4d36ec81c8e45"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.resetSkill (cognitive 31): company-skills.companySkillService.resetSkill has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 6 (9 pts), boolean chains 6 (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":"server/src/services/company-skills.ts"},"region":{"startLine":5040}}}],"partialFingerprints":{"codehealthFindingId/v1":"84313fa5025085367394ca4b188039f5a778599c6815e40f54a9703ad43063ae"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.resolveNewAgentRunnerForCompany (cognitive 31): agent-runner-selection.resolveNewAgentRunnerForCompany has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 11, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59282b4c4a24439bd6a6beea9fb24702db1b781208642cbb8b0b2769309c532"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-loader.pluginLoader::fetchAndValidate (cognitive 31): plugin-loader.pluginLoader::fetchAndValidate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, ternaries 3 (5 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. This shape REPEATS in the file: 2 other methods here (plugin-loader.pluginLoader, plugin-loader.pluginLoader::activatePlugin) 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f78b14cbb9135653ec8efa66c7b3a555f52477ff0a9fb3a3d840a7ff7ab1fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.runTaskDirectoryFolderWork (cognitive 31): execution-workspaces.executionWorkspaceService.runTaskDirectoryFolderWork has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 5 (9 pts), ternaries 2 (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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e2bc90b4669446da30d9d7b2100796706f612cb64fb9b7180e41e1bcd03c1f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-conversations.prepareConversationTurn (cognitive 31): agent-conversations.prepareConversationTurn has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 6 (11 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 11). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 186). 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":"server/src/services/agent-conversations.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb89a4d2bee76d7f279712252a7e5a886036136f4c8ebeb427cf9431daa92dd"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.checkpoint (cognitive 31): agent-directory-working-copies.agentDirectoryWorkingCopyService.checkpoint has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (17 pts), if/else 4 (6 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 10). Of this number, 28 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"428f666b989922d295ab586a0006f43d6d293388827b9c022560d5800ec435fd"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-invariant.waitingReason (cognitive 31): assigned-work-invariant.waitingReason has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 7 (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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"be02c688a0fa3eb071234d30e25ddca6db3bb717b0b46b951ca67c4fa131fdd7"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.authorize (cognitive 31): email-channels.emailChannelService.authorize has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 11 (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":"server/src/services/email-channels.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf170a9062bc3e70c787317b41d2e526177b1cf5d15ffe05be0bf0eb77ac2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.resolveService (cognitive 31): connection-intents.connectionIntentService.resolveService has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 6 (11 pts), boolean chains 9 (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":"server/src/services/connection-intents.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ac3631d9c77e5bbaa18e0ea0656f8584f017f0dea46ca1596890a75bf74c49"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.loadGateFacts (cognitive 31): postgres.createPostgresRunDispatchAdapter.loadGateFacts has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 7 (10 pts), boolean chains 9 (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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4257ca717c3f9520c518e1a3cbca7dbecd0543a2ecb0472815cfc4ac4dcd74"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-handoff.buildNativeSessionHandoff (cognitive 31): native-session-handoff.buildNativeSessionHandoff has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 16 (17 pts), if/else 7 (8 pts), boolean chains 4, loops 2 (nesting depth added 2). Of this number, 24 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-handoff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68a4456810ff20547e2c37e94f928d5fe7bcfaf2d7136adfd4ca4ca4d50104"}},{"ruleId":"D2","level":"warning","message":{"text":"root-threads.createDiscordRootThreads.admitDiscordRootMention (cognitive 31): root-threads.createDiscordRootThreads.admitDiscordRootMention has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 10, ternaries 2, error handling 1 (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 3 function literals inside it that branch (lines 86, 83, 338). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cd13d7ce352c421f4b64b70de26451ab0962fb5e52d516946fb7f3232d5732"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.ensureNoDuplicateNameError (cognitive 31): tool-access.toolAccessService.ensureNoDuplicateNameError has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (19 pts), boolean chains 11, if/else 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":"server/src/services/tool-access.ts"},"region":{"startLine":4906}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd19f9c7f8a61c3c548ec14dad03a5bc6e151624d7c5de7e00d24580251444f1"}},{"ruleId":"D2","level":"warning","message":{"text":"git-restore-point.scanChangedPaths (cognitive 31): git-restore-point.scanChangedPaths has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de0a7ed71b52a4b903eeeca6543157d523e0668c7a547adcf431cac6d9adb07"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-task-directory-snapshot.decodeTaskDirectorySnapshot (cognitive 31): isolated-task-directory-snapshot.decodeTaskDirectorySnapshot has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 8, ternaries 1 (2 pts), error handling 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":"server/src/services/isolated-task-directory-snapshot.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea9a0f460bf5702f2190f5727a373bf1d2d3386bce16ced382f06c2eec58046"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.restoreRevision (cognitive 31): routines.routineService.restoreRevision has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 9 (11 pts), boolean chains 3, loops 3 (nesting depth added 9). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2809, 2837). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f8b6c669d69997de393d715339d168cb337843d486d529116625b773db7602"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.syncRemoteRunnerDirectoryOut (cognitive 31): native-session-executor.syncRemoteRunnerDirectoryOut has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, error handling 2 (4 pts), 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14877}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad0858110156fb2ac2a6b943a7ad6e699ec5c537a56d27345a7e65b667d6008"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.terminalExplicitBlockersByRoot (cognitive 31): issues.terminalExplicitBlockersByRoot has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e4c438c64d34ca78b670ba67aba16ab361e9d977d97416b6fca9ce444d879b"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.exchangeAuthorizationCode (cognitive 31): oauth.createPublicMcpOAuth.exchangeAuthorizationCode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 7, error handling 2, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 372). 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80aafd06b48bc743577eabf58ca2476fa2bcb5b5a12ffe053cfa44d6f2df501"}},{"ruleId":"D2","level":"warning","message":{"text":"native-restart-recovery.classifyNativeRunnerRecoveryEvidence (cognitive 31): native-restart-recovery.classifyNativeRunnerRecoveryEvidence has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 9, 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"7006f27f87da0f504aec7bb7c51a10d9bdaaa8024710c0e2b44dde9378be923a"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-recovery-attachments.retainRemoteRecoveryAttachments (cognitive 31): remote-workspace-recovery-attachments.retainRemoteRecoveryAttachments has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 12). Of this number, 20 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbb0c119195d5ca4cdf1a64ffb0b7d7a13e6cae2aabe19aa3c6491edac8034d"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-eval-history-view.renderProtocolEvalHistoryIndex (cognitive 31): runner-protocol-eval-history-view.renderProtocolEvalHistoryIndex has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 9, if/else 4 (7 pts), loops 3 (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a603e16c28d845d91a00bd252c5b9f05fc382677fe9579f316055c8818c85b10"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-testops.verifyPublication (cognitive 31): runner-protocol-testops.verifyPublication has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762debb746ef42f13e2edf8170a91ae8b94ec8850e729c7418b3812ce127971"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.startTurn (cognitive 31): CursorCloudSession.startTurn has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 8, ternaries 2, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 261, 250, 288). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d22d22b7e225b5e96b5718c639bab3618f7e0043098b6f40e6be7f9f126b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-eval-suite.runCapabilityLiveCodexMatrix (cognitive 31): capability-eval-suite.runCapabilityLiveCodexMatrix has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 3 (6 pts), boolean chains 5, loops 1 (nesting depth added 13). Of this number, 29 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/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03a997656da56a8ec5af9e9529f9b67dab92754167ec3e202f3d16895bc520b"}},{"ruleId":"D2","level":"warning","message":{"text":"steering-delivery.unreadSteeredMessageIds (cognitive 31): steering-delivery.unreadSteeredMessageIds has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/steering-delivery.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"70811be8a276203744e6aec53bd259a5244e20f7df096fb040027e97d825247f"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConsoleScriptedSession.#runBeat (cognitive 31): LiveConsoleScriptedSession.#runBeat has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fdea12f07af0de5da8d0ebf5c45d01ec943ff5d7c663ebdee53ad6d1529629"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.assertTarballEntriesConfined (cognitive 31): file-sync.assertTarballEntriesConfined has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 3 (6 pts), loops 2 (3 pts), boolean chains 2, error handling 2 (nesting depth added 11). Of this number, 26 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e2e9a2ac88448ed224d6af7c259d414c68c7d520d4653434e07ef29184a42"}},{"ruleId":"D2","level":"warning","message":{"text":"status-cards.statusCardService.update (cognitive 31): status-cards.statusCardService.update has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 9, if/else 4 (6 pts) (nesting depth added 6). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96f73f905eb495e16c82b0233643ef9a6c8e349317d099b013f5a414f99e7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"activity.activityService.runsForIssue (cognitive 31): activity.activityService.runsForIssue has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 6 (8 pts), boolean chains 5, loops 2 (nesting depth added 7). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"00354b1d8ca8f1807fe30393cb285824af5b316364154bff57226d0fd942e1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.createBinding (cognitive 31): secret-proposals.createSecretProposalsService.createBinding has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 7 (nesting depth added 6). Of this number, 20 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9909832f624514291963cf29096890624926c9e72fd25b3724a9da252819ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-readiness.resolveWorkspaceReadiness (cognitive 31): workspace-readiness.resolveWorkspaceReadiness has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 3 (8 pts), ternaries 2 (6 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":"server/src/services/workspace-readiness.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2078c481a19d796d891b7874874eb61043d8d1e922b4fcb3c6bbdf0cb3002ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"projects.projectRoutes::handleProjectWorkspaceRuntimeCommand (cognitive 31): projects.projectRoutes::handleProjectWorkspaceRuntimeCommand has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14, boolean chains 12, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f45892c998f501c152abe6940cd04d368d12fd0cd4a31ff255b99594cde14d"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::classifySourceRecoveryRevalidation (cognitive 31): issues.issueRoutes::classifySourceRecoveryRevalidation has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":4522}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a5fb836fd9623e8274abfef13f79ece8e4eba200e5759a60c7d625bf80e643"}},{"ruleId":"D2","level":"warning","message":{"text":"live-event-delivery.createLiveEventDelivery.drain (cognitive 31): live-event-delivery.createLiveEventDelivery.drain has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 6, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 12). Of this number, 28 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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90fe47545e8b548ccecf10bdd501c746b99dea2badcc9d8004426af885320ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateSecretPopover.SecretPopoverForm (cognitive 31): CreateSecretPopover.SecretPopoverForm has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 18 (21 pts), if/else 5, boolean chains 4, error handling 1 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/CreateSecretPopover.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac849331c0254b93ee8086247d946a90fc6a4ca38a66146e9e4a41459d17206"}},{"ruleId":"D2","level":"warning","message":{"text":"proposal-review.ApproveDialog (cognitive 31): proposal-review.ApproveDialog has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 13 (28 pts), boolean chains 3 (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"ui/src/pages/secrets/proposal-review.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"02946ed63e7d1f970e6ed72c1e8f2d391f0cdca4c1ed16e4484e0d68454cd4a4"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatSystemNotice.TaskChatSystemNotice (cognitive 31): TaskChatSystemNotice.TaskChatSystemNotice has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 14 (20 pts), boolean chains 8, if/else 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatSystemNotice.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7154f0a9576012c525845895efa5a1b414ee64b3451181ba3ead5e370951cd91"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-taxonomy.toolActivityPresentation (cognitive 31): tool-taxonomy.toolActivityPresentation has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 16 (28 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":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"101bf593639fcdd8cc767d241446c134aa8a5edb85bfede99ce9f7feac2d82e5"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.coalesceSettledTurns (cognitive 31): transcript-adapter.coalesceSettledTurns has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 6 (12 pts), boolean chains 5, 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaba06dfeb7b928d6e261db211e366113ecc26410c806d16f0185f923dcf2b7c"}},{"ruleId":"D2","level":"warning","message":{"text":"useLiveRunTranscripts.useLiveRunTranscripts.stream (cognitive 31): useLiveRunTranscripts.useLiveRunTranscripts.stream has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 5 (11 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8781f24256c05a9a92abfc295b3587a526cc1b02d1406271f1ee817a8f6e883"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-change-receipt.formatIssueChangeValue (cognitive 31): issue-change-receipt.formatIssueChangeValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 5 (11 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":"ui/src/lib/issue-change-receipt.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59aa618d68f92da8b2c4a50c2ae77383efccefdd414549df85afd1714f38b53"}},{"ruleId":"D2","level":"warning","message":{"text":"save.planResolvedConfiguration (cognitive 31): save.planResolvedConfiguration has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 4 (6 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9725b554aadc1dd26a94e999ca3060ecbd29b92eb1e4306ee3c30e92b2bb45f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.LatestRunCard (cognitive 31): AgentDetail.LatestRunCard has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 9, if/else 3 (4 pts), loops 1 (nesting depth added 8). Of this number, 24 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798d8fa2def7d743fdfd0fe5f67e12ac5e7b2c5e767e97e68605bcea951dedd"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchFilterMenu.SearchFilterMenu (cognitive 31): SearchFilterMenu.SearchFilterMenu has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (19 pts), boolean chains 5, if/else 3 (5 pts), loops 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 181, a function literal at line 147, handleOptionClick, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/search/SearchFilterMenu.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f095d2b01e4f8d41a5f98a50bab6d0d1b1ed09e1d86de06e34aa967d6e61ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionQueueRow.ApprovalResolver (cognitive 31): AttentionQueueRow.ApprovalResolver has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (20 pts), boolean chains 7, if/else 4 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda5b3f6ea9f39d7c1b041a0093c6d6e142ee9eaa12ae04323e059098eb0c89d"}},{"ruleId":"D2","level":"warning","message":{"text":"SmokeLabTab.SmokeLabTab (cognitive 31): SmokeLabTab.SmokeLabTab has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 19, ternaries 8 (9 pts), if/else 3 (nesting depth added 1). Of this number, 22 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/SmokeLabTab.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1035e24777c783fa696e897c492b77dbe0ff86a2573dbc01ea3cd74d4eae8"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedPanel.ReconnectCard (cognitive 31): AdvancedPanel.ReconnectCard has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (26 pts), boolean chains 4, error handling 1 (nesting depth added 16). Of this number, 29 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99cd27dd7cbb85ca390b66ee8ac0c73267dccb7cb8e98a62152a3c263d75204"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactFileRow.ArtifactFileRow (cognitive 31): ArtifactFileRow.ArtifactFileRow has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 14, if/else 1 (2 pts) (nesting depth added 5). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/v1/ArtifactFileRow.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d445d249a02b4bb285fa61e47c00c157586da725a6e919643345d5108f34dd76"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact-card-data.parseArtifactCsv (cognitive 31): artifact-card-data.parseArtifactCsv has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 6, loops 1 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/artifact-card-data.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fec66e5e6acd7ddb7ea50f0f5177b2b8936347510adc7289ded6861d173a95e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.production.LatestRunCard (cognitive 31): AgentDetail.production.LatestRunCard has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 9, if/else 3 (4 pts), loops 1 (nesting depth added 8). Of this number, 24 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4f55a46225fa863a996d49fcc9e4c97baea660214a0b8ab9889fe7a21d3eb"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionsReview.AgentConnectionReview (cognitive 31): AiConnectionsReview.AgentConnectionReview has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 20, ternaries 7 (10 pts), if/else 1 (nesting depth added 3). Of this number, 26 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":"ui/storybook/prototypes/AiConnectionsReview.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b1d08620ec00226eba28e1b28bfecc817c68322ae3079f4a8f160c621f5ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConsent.ServiceConsent (cognitive 31): ServiceConsent.ServiceConsent has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 12, if/else 2 (3 pts) (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/google-workspace/ServiceConsent.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e770663058ad673a8f2c9e1cd1518e00c5cb9979021d0cfdb4e090689f9ac25"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentInvitePreview.ExternalAgentInvitePreview (cognitive 31): ExternalAgentInvitePreview.ExternalAgentInvitePreview has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 7, if/else 6 (nesting depth added 6). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 56, 95, 54, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec220b2585fd17a9d1cddacf60f7e702f45eb2c62638f1b08286b29727f57cc"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.runWorktreeInit (cognitive 30): worktree.runWorktreeInit has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 5, boolean chains 3, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 6). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"160ba237da3c3f805badd56360f7572f67b81721639b6b3939493eedd3592467"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-sync.readGitWorkspaceSnapshot (cognitive 30): git-workspace-sync.readGitWorkspaceSnapshot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 4 (8 pts), boolean chains 4, error handling 3, ternaries 3 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 8 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":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c9987dedd73ae677cb6ef77d62e3660985bd46a55671a8193051fe5cbad418"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.emitRuntimeEvent (cognitive 30): execute.emitRuntimeEvent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 5 (10 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91d32753f654e108e1b4515db1a8305fd34ba7175c9d16e896b3f1f77827978"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.buildClaudeLocalConfig (cognitive 30): build-config.buildClaudeLocalConfig has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 6 (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/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a81211d00d5880847a4ae4940f7e9a6a168965aa3a40eec819d61bf03875a9f"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::toResult (cognitive 30): execute.execute::toResult has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 11, if/else 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (execute.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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"577f3c16d5f19745456386bd8dffa81c2437e47dde5bb0851c1bddde7d77e35e"}},{"ruleId":"D2","level":"warning","message":{"text":"check-migration-safety.splitSqlList (cognitive 30): check-migration-safety.splitSqlList has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 3, 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/db/src/check-migration-safety.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3130c4c7f3af21eca1aab4b3ab8516a2f785b86d12223ba26bd4b98df32f7c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarnessSession.resolveRuntimeRequest (cognitive 30): OpenCodeHarnessSession.resolveRuntimeRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 5 (11 pts), boolean chains 6, error handling 1 (nesting depth added 8). Of this number, 27 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da27272da4cfb9d2e5b622b3dbcbbddbb6cf3a64fa3038bb3f1d25b3484ad01"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.waitForRunnerCommand (cognitive 30): runnerd-codex-transport.waitForRunnerCommand has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, ternaries 4 (6 pts), error handling 1, loops 1 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 10 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2c3fa7a40150cf6e163a260534f2406754479a2c1d81a6d6e53d395e08c1ee"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-pi-distribution.verifyLockedPiPackageGraph (cognitive 30): materialize-pi-distribution.verifyLockedPiPackageGraph has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 9, error handling 1 (2 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2d7ec299dce541a33951f959d9da16aceef720b72e0e8eb5f163f424287c54"}},{"ruleId":"D2","level":"warning","message":{"text":"issue.createLegacyAskUserQuestionsPayloadSchema (cognitive 30): issue.createLegacyAskUserQuestionsPayloadSchema has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, 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/shared/src/validators/issue.ts"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773afaf8d687e9ebfdac9df11eb72adf61030b558cd3545a99fd63a04898ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.authorizationCredentialRange (cognitive 30): redaction.authorizationCredentialRange has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cbc23253318c30d520099dcb1f45ddf58f3de975037d5bb13f1dac193a512e"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.sanitizeRecord (cognitive 30): redaction.sanitizeRecord has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 6, 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":"server/src/redaction.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"070e65fcc6533328b288d6cab2b46d010022a4833607dc7a159b8901bf994592"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-management.connectionManagementService.evaluateTarget (cognitive 30): connection-management.connectionManagementService.evaluateTarget has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 3 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-management.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3032b487716256e96b4304c668479c886f3968177ed000261515b517771429"}},{"ruleId":"D2","level":"warning","message":{"text":"cognee-connection.callCogneeCloud (cognitive 30): cognee-connection.callCogneeCloud has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 10). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cognee-connection.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25e63f6067f5628774e43031f7f4b81c218b16a9a4ab7b98cf29b342f838fb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-lifecycle.parseSlackLifecycle (cognitive 30): chat-provider-lifecycle.parseSlackLifecycle has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 6 (12 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a23fd86fb0a414e256859ded5a6df6cc8cf3df1679fc64a8e8c4796f403a4c"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-workspace-preparation.callWorkspaceProvider (cognitive 30): plugin-workspace-preparation.callWorkspaceProvider has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (13 pts), ternaries 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-workspace-preparation.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e79d5f3c4c973ad548fa765cc6a944c8ca0e4b3c65112aadfeca1cf0ca0ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-git-source-roots.readWorkspaceGitLinkedRoots (cognitive 30): workspace-git-source-roots.readWorkspaceGitLinkedRoots has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (6 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6af26289436d4f645c5a890973b1251b30e725920aa0e840fea95b879ce454"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleManagedCheckout (cognitive 30): git-workspace-restoration.assertReproducibleManagedCheckout has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 6, 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adb0fbe5e81840e330468f1bc4429867e38baf6bf5f5e673a4913103c24b013"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-cache.trimSkillPackageCache (cognitive 30): skill-package-cache.trimSkillPackageCache has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 5, loops 2, ternaries 2 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 8 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":"server/src/services/skill-package-cache.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a8ba7a51d7164fb6b6286a65f99430f700ca6679acb634e47ee63cb028a0c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.agentRunnerAvailability (cognitive 30): agent-runner-selection.agentRunnerAvailability has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 12, if/else 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e129819764ffe3385c7689ccc8bbf86ab1f60bdf0c105aa01d98b73fd148f2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.buildTestCallStatus (cognitive 30): tool-gateway.createToolGatewayService.buildTestCallStatus has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, ternaries 5, error handling 1 (4 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10821}}}],"partialFingerprints":{"codehealthFindingId/v1":"98892cf44534df7c2f06f17b1dab5c22d8fefa4fc996547c7557bd31f73edc12"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.assessDelivery (cognitive 30): execution-workspaces.executionWorkspaceService.assessDelivery has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (10 pts), ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"09907388efb9bfd595dda82f240461286468777ec05dc16f9555db04418214fd"}},{"ruleId":"D2","level":"warning","message":{"text":"run-failure-diagnostics.readNativeCloseSettlement (cognitive 30): run-failure-diagnostics.readNativeCloseSettlement has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 5, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"63469a3ce276a65531a605ed90950051ba2201d246cb4dc3fccc68e4c48fe881"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-receipts.lateUsageGrowth (cognitive 30): usage-receipts.lateUsageGrowth has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 9, if/else 4 (nesting depth added 4). Of this number, 26 points are the body\u0027s own statements and 4 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d753bca1f85b99f785c9d22f97bb39bea5e57d89870b7e56f887922e91bb5344"}},{"ruleId":"D2","level":"warning","message":{"text":"native-finalization-reconciler.registerOwnershipReconciliationWork (cognitive 30): native-finalization-reconciler.registerOwnershipReconciliationWork has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), ternaries 5 (9 pts), loops 2 (nesting depth added 6). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 921, 970, 969, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020f98f7404f4d4ae3ac5eac25be6b89c0c15b239e778c3dfa67fae41d4fbcb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-attachment-reuse.resolveExternalChatResponseWaitAuthorizationInTransaction (cognitive 30): chat-attachment-reuse.resolveExternalChatResponseWaitAuthorizationInTransaction has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 9, if/else 6 (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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77a7f735eb674a5c1906b8e55dbe1a1322cb69d8eefc4b117afe61a148aba29"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.failedNativeRetryCoordinator (cognitive 30): failed-run-retry.createChatFailedRunRetry.failedNativeRetryCoordinator has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 16, if/else 8 (14 pts) (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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42f13a46755b14ab4cc83c6a3566dc9a46293d1f8b884d89eca6322e7f0b60c"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-board-authority.authorizeSlackBoardPublication (cognitive 30): slack-board-authority.authorizeSlackBoardPublication has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/slack-board-authority.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f7d25f9cc5582a6576ad3369c50d070b7127abacdc6bb9eed1aa1d89bf18be"}},{"ruleId":"D2","level":"warning","message":{"text":"board-messages.createSlackBoardMessages.processPendingSlackBoardMessages (cognitive 30): board-messages.createSlackBoardMessages.processPendingSlackBoardMessages has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 14). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 31, 66). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/board-messages.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2268af87cdeeb1e47bb43dfbb7fa4a8ed0aaf210cfcdb5e3f9af0b73fa02c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi.applyDocumentFixups (cognitive 30): openapi.applyDocumentFixups has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ccf7bc4e2fc611ec5e59cfef673a7cf11fa4d3bdae8da323513bab1ec75fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.retireSupersededWarmNativeSessions (cognitive 30): native-session-executor.retireSupersededWarmNativeSessions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 8, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f51e11e8922ea020b1def56c3eb6d175d6ff5402c3a2165c5f59b0a1e193ae"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.persistRemoteRunnerCheckpoint (cognitive 30): native-session-executor.createRunnerdBackendWithinSessionClaim.persistRemoteRunnerCheckpoint has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 4 (6 pts), loops 2, error handling 1 (nesting depth added 5). Of this number, 18 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17881}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1257e4127fa3f4aa3739c5c893b4e0e650d2e23732abf642ef56f466e62fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-unchanged-proof.proveRemoteWorkspaceUnchanged (cognitive 30): remote-workspace-unchanged-proof.proveRemoteWorkspaceUnchanged has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 13, 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":"server/src/services/remote-workspace-unchanged-proof.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b7d4dc746b3c58a2ffdef0193452e53169149005a80778727b3bd16ac31537"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-questions.createAntigravityQuestionBridge.guard (cognitive 30): antigravity-questions.createAntigravityQuestionBridge.guard has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 9 (nesting depth added 9). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-questions.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f20fff2cc0cfcb1d728f5a80383ade5bf439fb72566a393472f4fbca36d9a5"}},{"ruleId":"D2","level":"warning","message":{"text":"live-projection.providerActivityItem (cognitive 30): live-projection.providerActivityItem has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 7, if/else 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"764b8b7959f399e9748e9c017a5d6792b10cddbcd9a99513d01de0e4b83d8325"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-app-server-proxy.pumpEvents (cognitive 30): opencode-app-server-proxy.pumpEvents has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (27 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":"packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb61ba0cd8dea9cb149832198fa84cde2ebf114dbf59c262c579f1d98162556"}},{"ruleId":"D2","level":"warning","message":{"text":"PiAssistantMessages.normalize (cognitive 30): PiAssistantMessages.normalize has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa8e332ba24fd5fa4da7db03aca2013e782d9eb551b7e6824504cf0e17eff50"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.replayProvesEffectFreeInitialAcpxTurn (cognitive 30): native-session-runtime.replayProvesEffectFreeInitialAcpxTurn has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 10, ternaries 4, loops 2 (3 pts), error handling 1 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 8 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf53ec573a5d2a6bd5028661e763a1621a737d299165885968b00259fd31c23"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.Conversation (cognitive 30): conversation.Conversation has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15, ternaries 9 (13 pts), boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 143, 74, 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":"packages/paperclip-runner/src/react/components/conversation.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c152f9d18f6e3eaa4e7aba5a651f62c4a7421f661263a128238c774239b10c27"}},{"ruleId":"D2","level":"warning","message":{"text":"app.CreateSpaceModal (cognitive 30): app.CreateSpaceModal has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (14 pts), if/else 8, boolean chains 7, error handling 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 13 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e3971358e83f187d965f87f19ef2c9ee2e39c26f19f116885ccd21f67f36f6"}},{"ruleId":"D2","level":"warning","message":{"text":"pod-exec.execInPodStreaming (cognitive 30): pod-exec.execInPodStreaming has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 4, error handling 4, ternaries 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 380, 338, 319, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff66e03b18459b81109f8b891757de3825a6a6b6b2ef2ef880a3fe04a5f2cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.discoverSkillCandidates (cognitive 30): catalog-builder.discoverSkillCandidates has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb43534c5115c48277c2ba6be74c0387dc68d8a81313b1cf6866610bdc82537"}},{"ruleId":"D2","level":"warning","message":{"text":"events.createPublicMcpEvents.deliverOne (cognitive 30): events.createPublicMcpEvents.deliverOne has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6, ternaries 4 (6 pts), error handling 2 (nesting depth added 5). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09c818ae3d8ef4f376b4bc62a6e58da3ffe6eab5e97686f27200536f2bbbdf1"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.buildAgentContext (cognitive 30): feedback.buildAgentContext has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (15 pts), if/else 8 (12 pts), boolean chains 3 (nesting depth added 6). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"3436be83d48df55c5e2cba179bd1f37f648a0c78dd535ca8be6f649b2936856f"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-runner-probe.probePluginRunnerEnvironment (cognitive 30): plugin-runner-probe.probePluginRunnerEnvironment has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 7 (9 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":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc45718a02606046942444800b4010a93ade9fdfd36f8a9602657d6a4561ac"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::assertSelectableAdapterType (cognitive 30): agents.agentRoutes::assertSelectableAdapterType has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 7, error handling 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c461c96633bf6eadf7e69b61e1dcc197b818b3b67f7766370cf3c33c2fce34"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::lockQueuedCommentState (cognitive 30): issues.issueRoutes::lockQueuedCommentState has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, ternaries 7 (9 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":7942}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab5d0f95550e89a21679dfdb93d4c731e774ddc82b9f92490b191e6edd0c8d"}},{"ruleId":"D2","level":"warning","message":{"text":"finalized-workspace-recovery-migration.inspectFinalizedWorkspaceRecoveryHold (cognitive 30): finalized-workspace-recovery-migration.inspectFinalizedWorkspaceRecoveryHold has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 11, 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":"server/src/services/finalized-workspace-recovery-migration.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"da13dc6b70f40f019ee2b9b98d63d9076002674b2cad9922c92b8a643a4f9e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarStarredProjects.SidebarStarredProjects (cognitive 30): SidebarStarredProjects.SidebarStarredProjects has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 10, if/else 7 (9 pts) (nesting depth added 4). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 106, 57, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c50cbe5b6321175d6390db3ff0a6a9846307963d48b268a2a7d13b98651a88"}},{"ruleId":"D2","level":"warning","message":{"text":"search-query-parser.tokenizeQuery (cognitive 30): search-query-parser.tokenizeQuery has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 5 (12 pts), boolean chains 4 (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":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d95a49d1a66466b00f2c8309d447ed7e8fe22db57a50921a40eec04d1ecb66"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarShell.SidebarShell (cognitive 30): SidebarShell.SidebarShell has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 10, boolean chains 4 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a75e6cb8d7de99e593f12c73c0fa7e4e7bca4fd04693116520493c3342f89"}},{"ruleId":"D2","level":"warning","message":{"text":"index.parseDeltaEvent (cognitive 30): index.parseDeltaEvent has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 7 (8 pts), boolean chains 4 (nesting depth added 11). Of this number, 23 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8838b333f12397b54aaf4c77221e6691f19d87761e4edf8272d0bb8fd0946e"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarStarredProjects.production.SidebarStarredProjects (cognitive 30): SidebarStarredProjects.production.SidebarStarredProjects has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 10, if/else 7 (9 pts) (nesting depth added 4). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 106, 57, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc7656f1281da97c17aac4e7bc6e73ed4c2cbe1a7baa79727dba8315f2cb9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery-lineage.readRecoveryRetryLineage (cognitive 30): recovery-lineage.readRecoveryRetryLineage has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 12, ternaries 9 (11 pts), if/else 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":"ui/src/lib/recovery-lineage.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d0fd07095906884f65e35bbc046686faca0e8e19a8839d17694f3ff322b730"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-taxonomy.actionCopy (cognitive 30): tool-taxonomy.actionCopy has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 28, match/switch 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b95c6de17c81838a2e96ecd5f7dbcd2704d81a1f3a16a820ddb87dee681cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatDiffView.TaskChatDiffView (cognitive 30): TaskChatDiffView.TaskChatDiffView has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (22 pts), boolean chains 8 (nesting depth added 12). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 66). 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":"ui/src/components/task-chat/TaskChatDiffView.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"490e812527b87d8bbb8e1b6487bab19749d525214b1466395c69ce75c5b0d9c7"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRuntimeControls.CommandSection (cognitive 30): WorkspaceRuntimeControls.CommandSection has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (28 pts), boolean chains 2 (nesting depth added 15). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 452). 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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a399cfbdd9fd9d4f36dbdd420bdd011c16ea10b6f3a13338f77abb53185595"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-format.formatIssueActivityAction (cognitive 30): activity-format.formatIssueActivityAction has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6 (12 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1b6641b4fcb5d962d484dc3579db8dc9a4cf53199fc614daffbdfde9e54ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"Routines.buildRoutineGroups (cognitive 30): Routines.buildRoutineGroups has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 6 (10 pts), boolean chains 2 (nesting depth added 12). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 176, 206, 220, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a385399a3e0bd4466b8b75eab7535a69537beb7e1d5b9a66a2688d458fa65e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillFolderTree.MoveToFolderDialog (cognitive 30): SkillFolderTree.MoveToFolderDialog has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 16 (17 pts), boolean chains 9, if/else 4 (nesting depth added 1). 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 (renderNode, submitNewFolder, a function literal at line 841, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6620a02a72ecd2ce6c4c4f39d333fed91d9a2ffb37377c8711bb6fcc11d502a"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillPackagePreview.SkillPackagePreview (cognitive 30): SkillPackagePreview.SkillPackagePreview has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 16, ternaries 11 (13 pts), if/else 1 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/SkillPackagePreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45aa4c8575e46fcba18aef39828ee7fc09c645502818e3e4c228fb772050ab7"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentSetup.Setup::saveDraft (cognitive 30): NewAgentSetup.Setup::saveDraft has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 7 (9 pts), boolean chains 6, error handling 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"014d81809bdcf6cb75fed1eafda36fcd0bd7338f6691c61ae152380d235e2bb3"}},{"ruleId":"D2","level":"warning","message":{"text":"Routines.production.buildRoutineGroups (cognitive 30): Routines.production.buildRoutineGroups has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 6 (10 pts), boolean chains 2 (nesting depth added 12). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 175, 205, 219, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"237b465f954d401c2983abd43a1d84feb849aaf97b0560bbbcb698d9792a8a6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcerptSheet.ExcerptSheet (cognitive 30): ExcerptSheet.ExcerptSheet has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 15 (29 pts), boolean chains 1 (nesting depth added 14). Of this number, 23 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/ExcerptSheet.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20dcf67d46acb76199fb2d383028676c525a9a302e45323fa6a9355de592790"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsUsingSkillDialog.AgentRow (cognitive 30): AgentsUsingSkillDialog.AgentRow has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (29 pts), boolean chains 1 (nesting depth added 16). Of this number, 24 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":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"77316aed559ff019520119b838ceb4f0b0a3ff81fd223bc0544cfbbde3437723"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-controller.createVoiceSessionController.start (cognitive 30): voice-session-controller.createVoiceSessionController.start has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (9 pts), ternaries 3 (9 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 108, 135). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b856d8797ae86bfb4c800110f7b5e819667292f6e2c12672eedd4b2cedc25"}},{"ruleId":"D2","level":"warning","message":{"text":"BulkAgentSettingsProposal.Proposal (cognitive 30): BulkAgentSettingsProposal.Proposal has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 17, ternaries 10 (11 pts), if/else 2 (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 9 function items inside it that branch (a function literal at line 194, a function literal at line 146, a function literal at line 153, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3fe93c9a94adab69fa6e9e1965b7691c00a130b33c2a044895538c2dd38343"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCommandExecutor::start_turn (cognitive 30): CodexCommandExecutor::start_turn has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 6, match/switch 3 (5 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebc8b724d0ef57496f84fc041bec8916042d9a6a90fb0217ee369b60058cbce"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-seed-cache.publishWorkspaceSeedGeneration::capacity (cognitive 29): workspace-seed-cache.publishWorkspaceSeedGeneration::capacity has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 6, ternaries 2 (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. This shape REPEATS in the file: one other method here (workspace-seed-cache.publishWorkspaceSeedGeneration) 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"051868eaab504315e47e86645464ce42e6d24c8b50c3c4177a5b55e06dac543a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-restore-merge.walkDirectory (cognitive 29): workspace-restore-merge.walkDirectory has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 3, ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 8). 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 items inside it that branch (visitBatch, readEntry, a function literal at line 176). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cba17804f41c36b8b514c61328e4818b8109e68042227b1100316fe9685211"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-token-parse.hasValidQuery (cognitive 29): setup-token-parse.hasValidQuery has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1770e936b112beb4d91c9682dc3d7f843d009e47f2b8bbd3f19128be98c1b07f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexRpcClient.onStdout (cognitive 29): CodexRpcClient.onStdout has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 3 (7 pts), boolean chains 2, error handling 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bf421c3cde06bf9369ec746fed229039c072651ff6c20c452ec05dbd227b6f"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseAssistantMessage (cognitive 29): parse-stdout.parseAssistantMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06e8ebbe0989a6ad9c3a93fa31b1f3b564e97654bc1d6e1f8f5810886c7e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseGeminiStdoutLine (cognitive 29): parse-stdout.parseGeminiStdoutLine has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 7, 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a21a8a2a92955d572fd73441109c4fc6fe4e9d8a077289ffcb0d205e7884a7"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.parseGrokJsonl (cognitive 29): parse.parseGrokJsonl has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 4, 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/adapters/grok-local/src/server/parse.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4397b9385ad7b9a2b2eeba2a8502f9fe54990ff4ebaa2c1ebf5c3fd1a44128b"}},{"ruleId":"D2","level":"warning","message":{"text":"check-migration-safety.analyzeMigrationSafety (cognitive 29): check-migration-safety.analyzeMigrationSafety has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 4 (9 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":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"36969c900e56694095821b779e88991b1e05596d417affb0bb85c86568262ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-terminal.mapTerminalTurn (cognitive 29): codex-session-terminal.mapTerminalTurn has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 5 (8 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/paperclip-runner/src/drivers/codex/codex-session-terminal.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649df2907d1e95d03131417bf8c3b8f9a123fa715f588cc4d0b8d5bbad6e384"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-prp-control-plane.warmTransitionRecoveryProof (cognitive 29): durable-prp-control-plane.warmTransitionRecoveryProof has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (12 pts), error handling 1, ternaries 1 (nesting depth added 3). Of this number, 27 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4c4a2f8bb3ee199b77abecbab901f55c5441c3d283ee7b4e5e3f4aa92fa324"}},{"ruleId":"D2","level":"warning","message":{"text":"upstream-served.createUpstreamServedTap (cognitive 29): upstream-served.createUpstreamServedTap has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (6 pts), error handling 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 9). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 2 function items inside it that branch (inspect, report). 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/paperclip-runner/src/drivers/opencode/upstream-served.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcc1b4f0e30846e708eb67b445f49b31af15fa751b370f44034edfd132e2146"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.createCapabilityRunnerdProviderEnvironmentBase (cognitive 29): runnerd-codex-transport.createCapabilityRunnerdProviderEnvironmentBase has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 6 (10 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8ab7423348824c1ba18cd9b4f7cbca1883e984c3fa9b21cdad9d5f22ad2e69"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.transition (cognitive 29): policy.transition has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/domain/policy.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d052276e949a17bf2fb637de6ecdb811fb6ad34fbcfc18b0146b17f7180ee88b"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration.updateAgentConfiguration (cognitive 29): configuration.updateAgentConfiguration has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (9 pts), if/else 8 (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/adapters/configuration.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2fb27a9ab052a3fbb673cb99a0b19531e89d9bdff1ed17260f94525a470a71"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.resolveSecretValueInternal (cognitive 29): secrets.secretService.resolveSecretValueInternal has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 6 (9 pts), boolean chains 7, 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":"server/src/services/secrets.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf01068bcc24ab300191abfc9c6d7d221fbe0784514091d34f477077aa121d"}},{"ruleId":"D2","level":"warning","message":{"text":"client.createOAuthClientProtocol.exchangeOAuthToken (cognitive 29): client.createOAuthClientProtocol.exchangeOAuthToken has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 7, boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"36408608ef40382c753e133eeb353e5c8e9c5ab30e326aad632fef557671c58e"}},{"ruleId":"D2","level":"warning","message":{"text":"credential-access.createConnectionCredentialAccess.resolveCredentialHeaders (cognitive 29): credential-access.createConnectionCredentialAccess.resolveCredentialHeaders has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (7 pts), boolean chains 6, error handling 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb144c381f4af854598d6168e2399f5cbb6bacd4314c6c24fa5b16bce3bbde0"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-skills.mcpSkillsService.applyEntry (cognitive 29): mcp-skills.mcpSkillsService.applyEntry has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 9, 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":"server/src/services/mcp-skills.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4809a4e43cd0d2270e8dd7a744c2fa3f0bd8f8871ce3f4f62dbdda0936063ff"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.updateStatus (cognitive 29): company-skills.companySkillService.updateStatus has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 9, if/else 6 (8 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f6ca7feb855ac66be803342bafa2664c0ade7b71bc3fe435c3ac2b6723741c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.preserveNativeHarnessFilesystemIndependence (cognitive 29): native-harness-filesystem-independence.preserveNativeHarnessFilesystemIndependence has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, loops 3, ternaries 3 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1bc63edf60fb1f6a4ef639e74f2d83656c7b2faae4f7392f94a12bfb97004a"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-creation-operations.createOwnedSandbox (cognitive 29): sandbox-creation-operations.createOwnedSandbox has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (nesting depth added 9). Of this number, 26 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":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6270d6ba039a129df83ad5480ffd6dfa2aaa93bc35572d8a8f25a4bd09c8d0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-response-comments.githubResponseCommentService.finishRun (cognitive 29): chat-github-response-comments.githubResponseCommentService.finishRun has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 7, ternaries 2 (5 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53fba8f3d501267ca2cddb01903f4a42bbc39b27eb14f6249894c04ce966fb"}},{"ruleId":"D2","level":"warning","message":{"text":"distribution-plugin-catalog.distributionPluginActivationGuard.\u003Creturned closure\u003E (cognitive 29): distribution-plugin-catalog.distributionPluginActivationGuard.\u003Creturned closure\u003E has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 11, ternaries 3 (4 pts), error handling 1 (nesting depth added 6). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1daf6b31dfd98be2b9d129904da3cabf4d2cdab0674927d3488f93b4d4ac66"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.buildRemoteHeaders (cognitive 29): tool-gateway.createToolGatewayService.buildRemoteHeaders has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"61608335f94073eda9ec56c780f496e7227673b4325de26b65e4058dbabe61a3"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.assertGitSensitiveAdapterWorkspaceValid (cognitive 29): workspaces.assertGitSensitiveAdapterWorkspaceValid has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 13 (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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cb42798e33e55cf47f9e2df1bc1f8eff42659680bd74cc2a81f9db5c912e25"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-workspace-continuation.retainedIssueWorkspaceForRetry (cognitive 29): fresh-workspace-continuation.retainedIssueWorkspaceForRetry has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 12, 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e846602d94283a3410cbdf1bee913eb809bbc28c926b1569b4076e942cd3e84d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-deliverable-feedback.deliverableLabelNamesFile (cognitive 29): native-deliverable-feedback.deliverableLabelNamesFile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, loops 2 (3 pts), ternaries 2 (nesting depth added 9). Of this number, 16 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6760bec309f4a1aed75ad28429c4a7a5b03656c222649b0721c0c2042e4d6bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"use-cases.createRecordWatchdogDecision.recordWatchdogDecision (cognitive 29): use-cases.createRecordWatchdogDecision.recordWatchdogDecision has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 9, if/else 7 (8 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":"server/src/modules/active-run-watchdog/application/use-cases.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a30c978d7b6737a5ec98434dffadf1f91a86d11e921b7353ac21639ffdbd7b"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.decideScheduledRetryGate (cognitive 29): policy.decideScheduledRetryGate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 9, 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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ef49782473ed858b4b35248ba2d0254f6a3462a33e43df0611d14f9341e3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"retained-provider-cache.reclaimInactiveNativeProviderCache (cognitive 29): retained-provider-cache.reclaimInactiveNativeProviderCache has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-cache.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d176e3ef119378be1ae1bec81806485d3d4228b37677573a9818386b7d8744"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-status.createHeartbeatAgentStatus.reconcileStrandedAgentStatuses (cognitive 29): agent-status.createHeartbeatAgentStatus.reconcileStrandedAgentStatuses has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 4 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). Of this number, 18 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":"server/src/services/heartbeat/agent-status.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"820513462505675b567fbb363f0ddaef4b482a224af9d42ffd9916f8fd62bfda"}},{"ruleId":"D2","level":"warning","message":{"text":"run-liveness.classifyRunLiveness (cognitive 29): run-liveness.classifyRunLiveness has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 5 (8 pts), boolean chains 7 (nesting depth added 5). Of this number, 27 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":"server/src/services/run-liveness.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f809165125a81d6f5eabd79c5573a26d7827562f97b66b4daf8376a0f3915d26"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-limit-resume.requestProviderLimitResumeRetry (cognitive 29): provider-limit-resume.requestProviderLimitResumeRetry has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 6 (8 pts), boolean chains 5, error handling 1 (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-limit-resume.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ba8e5a165af1821ade7f4434468a25fd066779d57c698524a8ca9e601d1c55"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-session.aiConnectionSessionCompatibilityInputs (cognitive 29): ai-connection-session.aiConnectionSessionCompatibilityInputs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 4 (6 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 12). Of this number, 26 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":"server/src/services/ai-connection-session.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce29cea6efae600aff479753b627f3be967c1a76b35925585a0ea7b3c7f4dc4a"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-callbacks.createSlackWebhookCallbacks.recordSlackWebhookCallback (cognitive 29): webhook-callbacks.createSlackWebhookCallbacks.recordSlackWebhookCallback has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 3 (7 pts), boolean chains 3 (nesting depth added 14). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 62). 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":"server/src/services/chat-channels/slack/webhook-callbacks.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"038f88c3e51f4696a8e8b5fb4953f71360b292d7375ede4d6333449c5d04b063"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.discoverAggregatorInventory (cognitive 29): aggregator-accounts.createAggregatorAccounts.discoverAggregatorInventory has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 11). Of this number, 24 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"719ad22640d0d7d4896fdba50e7118c36278771a4bfe31ddcf2a27364953bab3"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-completion.createOAuthCatalogCompletion.finishOAuthCatalogWithRecommendedDefaults (cognitive 29): catalog-completion.createOAuthCatalogCompletion.finishOAuthCatalogWithRecommendedDefaults has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (21 pts), boolean chains 5, if/else 2 (3 pts) (nesting depth added 10). Of this number, 24 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":"server/src/services/tool-access/oauth/catalog-completion.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d5b4a4cdbe1652748188d194116530cee7cdd4c38668dabe8e1d9d7eab7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoff-authority.assertCaseHandoffSourceAuthority (cognitive 29): case-handoff-authority.assertCaseHandoffSourceAuthority has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 9, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 136). 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":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5977a2404329a90e807ce2a818e981c10322ddcc2d56909f994216de12ae2ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.readSettledRunnerdProjection (cognitive 29): native-session-executor.readSettledRunnerdProjection has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, if/else 10, ternaries 5 (6 pts), error handling 1 (nesting depth added 1). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5947}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67edf0b6648c379d9344cb79168c2984ef7db27d78a9faedd69391b5b6f3ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.actorForGrant (cognitive 29): oauth.createPublicMcpOAuth.actorForGrant has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 6 (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ab9e90dfbf2f862862377afd77a3837c6695674843be1b8bc98f4856210a47"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-finalize-attempt-settlement.settleAbandonedRemoteSnapshotSave (cognitive 29): workspace-finalize-attempt-settlement.settleAbandonedRemoteSnapshotSave has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 7, ternaries 3 (5 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 one function literal inside it that branches (line 119). 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":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabed151bf36d04ed512e45d3bdb273a8bdd06c0705bcd1e20c63c81c5781934"}},{"ruleId":"D2","level":"warning","message":{"text":"patch-antigravity-runtime.antigravityParSection (cognitive 29): patch-antigravity-runtime.antigravityParSection has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (4 pts), boolean chains 3 (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/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25fa4df37d8c7fe8d144d305fe10d0aa21e61b954585dfd1b8be73618c61fc"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-antigravity-distribution.antigravityArchiveEntries (cognitive 29): materialize-antigravity-distribution.antigravityArchiveEntries has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 12, 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"147ea95ee5d6874af3fbeccf26e22a36135f3ca00d080873bf26659c528463f4"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-permission-adapter.normalizeAcpxPermission (cognitive 29): acp-permission-adapter.normalizeAcpxPermission has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (10 pts), ternaries 5 (7 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/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f12ed0d24eb817c1dae220f41899632da9cde4d07fb0dcbf465bfd3f7f09eb"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#consume (cognitive 29): CursorCloudSession.#consume has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 4 (8 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c4b0bb53923cbb73b367440c9308ae23949e1bac39f6698551e9f381af87c4"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-models.probeKimiModels (cognitive 29): kimi-models.probeKimiModels has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, error handling 3 (4 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 7). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddac11e5d01ce6fd2f1eca27084e6a1e9fc6bd477cd6456ec2c0e3d1b1e3800"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-traceability.validateStressTraceabilityManifest (cognitive 29): workflow-traceability.validateStressTraceabilityManifest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/workflow-traceability.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f67ab0ea2a47c90f550091ad164a81c130495a143aea2889da610a983d00b7"}},{"ruleId":"D2","level":"warning","message":{"text":"portability-zip.readZipArchive (cognitive 29): portability-zip.readZipArchive has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3, ternaries 2 (3 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/portability-zip.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f100c65962c169aac9af7f86c04a1a2c86ee9196e10461da399406f1bb24b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-queues.decisionQueueService.materializeSeedSources (cognitive 29): decision-queues.decisionQueueService.materializeSeedSources has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (7 pts), boolean chains 3, ternaries 1 (nesting depth added 12). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 426). 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":"server/src/services/decision-queues.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3c40723981b4c78ac78fe9df01906f6ac9b0faff0f1027f36e095434751ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-sessions.voiceWebhookRoutes (cognitive 29): voice-sessions.voiceWebhookRoutes has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 8 (11 pts), boolean chains 2, error handling 2 (nesting depth added 13). None of this is in the body itself: all 29 points belong to 2 function literals inside it that branch (lines 94, 106). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/voice-sessions.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8f91bc2c5615a6d455bc52258c88699df9da3c51b409a19cf60250d85c37e8"}},{"ruleId":"D2","level":"warning","message":{"text":"billing-reconciliation.billingReconciliationService.adjust (cognitive 29): billing-reconciliation.billingReconciliationService.adjust has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 6 (nesting depth added 8). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 113). 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c5bedcbdb13f3fd675b55a97b72542ce5b3c017211bf545923701b0a1f75b9"}},{"ruleId":"D2","level":"warning","message":{"text":"form-normal-ack.acknowledgeSlackFormDeliveries (cognitive 29): form-normal-ack.acknowledgeSlackFormDeliveries has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 5, 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":"server/src/services/chat-channels/slack/form-normal-ack.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fdfedba1095cc2c769047dd3dbaca47f7870c27297d139ebf2a228b8932ffd"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-deadline-proof.deadlineOwnerWorkReplacement (cognitive 29): idle-deadline-proof.deadlineOwnerWorkReplacement has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-deadline-proof.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d604eb849e138dc0ccb0e73bc6d92f61109c1350b0404beb0ddbe8139d75386"}},{"ruleId":"D2","level":"warning","message":{"text":"access.listAvailableSkills (cognitive 29): access.listAvailableSkills has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 5 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b976f5827e5752dd678665e41516090b5914c3ebc8fa4f048605be8374ce05"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.recordWorkerProviderSpan::visit (cognitive 29): plugin-host-services.recordWorkerProviderSpan::visit has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (11 pts), ternaries 5, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15db4d38bf981cf9308aeab71fad10a2958793e5f104a4112eea62d4fb712fe"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.buildHostServices.readAuthorizationPolicy (cognitive 29): plugin-host-services.buildHostServices.readAuthorizationPolicy has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 7 (10 pts), boolean chains 7 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f725f88cddfa342a8be1acddcd751a0396853112fdbb1adbaaa938dc120c3d36"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-tree.workspaceMigrationLayoutBlockers (cognitive 29): remote-workspace-migration-tree.workspaceMigrationLayoutBlockers has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 13). Of this number, 25 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"530d405bf65126176476e74b93c8dd2c92f91de5f558395b99245ede4d0ab4bd"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.nextDeadlineAt (cognitive 29): native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.nextDeadlineAt has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4 (10 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d20d32265a2cb3d3c6eece8f64ea1c21825f95f4a466ec0c844abc6244e1e44"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-custom-image-terminal-ws.setupEnvironmentCustomImageTerminalWebSocketServer (cognitive 29): environment-custom-image-terminal-ws.setupEnvironmentCustomImageTerminalWebSocketServer has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (25 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 634, 521, 722, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d09056d1511c7f4ab90ee69e9ddda77f69c0a0651835416ef45e185720cc06"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-maintenance.migrateAgentFiles (cognitive 29): agent-file-maintenance.migrateAgentFiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, ternaries 4 (5 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 8 of the 29 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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4591c296de15e207947c4f877f424a289d09e69d7e3753d9cddace6ecd386e5"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.syncExternalAdapters (cognitive 29): registry.syncExternalAdapters has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 6, loops 2 (nesting depth added 12). Of this number, 15 points are the body\u0027s own statements and 14 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":"ui/src/adapters/registry.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4b4292bf171730c9ee0a140ffcc0a264bb9e80fdb742dbfdf8809eabeffbe"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignSandboxTasks.DesignSandboxTasks (cognitive 29): DesignSandboxTasks.DesignSandboxTasks has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 13 (23 pts), loops 2 (3 pts), boolean chains 2, if/else 1 (nesting depth added 11). Of this number, 23 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/DesignSandboxTasks.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b65b0b919a471ec69b36d827701b1796bae1c4fe9c62ca3ea867a6310f4c93"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatShimmer.taskChatShimmerOwner (cognitive 29): TaskChatShimmer.taskChatShimmerOwner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 4 (12 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatShimmer.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4df9f628c35def8e0baf0b3ac690048b4604031f6a0b9a52119010e57e57c8"}},{"ruleId":"D2","level":"warning","message":{"text":"status-notice-presentation.statusNoticePresentation (cognitive 29): status-notice-presentation.statusNoticePresentation has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 5 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/status-notice-presentation.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"844bdfc3b4667f3bbcfc9767a2ece568937dbe72947ae37f3f04e914f6071f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueAssigneePausedNotice (cognitive 29): IssueChatThread.IssueAssigneePausedNotice has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (23 pts), boolean chains 3, if/else 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef7728046f61fc2ab497e9c68ee2133cd43a979c20ea2c015ceddda36ff4578"}},{"ruleId":"D2","level":"warning","message":{"text":"use-side-panel-tabs.sidePanelTabsReducer (cognitive 29): use-side-panel-tabs.sidePanelTabsReducer has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 6 (12 pts), boolean chains 2, match/switch 1 (nesting depth added 14). Of this number, 27 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":"ui/src/components/side-panel/use-side-panel-tabs.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2d045c020e68daf389dbb2040928715ba7a04eca7c59f951942b7b26011a94"}},{"ruleId":"D2","level":"warning","message":{"text":"CaseDetail.CaseDetail (cognitive 29): CaseDetail.CaseDetail has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 24, if/else 3, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 26 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":"ui/src/pages/CaseDetail.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f56d27c3777fac0aa954300345286c2cd66629a0e30dd1b4c11e2c094ebe49c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentToolsTab.GitHubIdentitySection (cognitive 29): AgentToolsTab.GitHubIdentitySection has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (29 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"33670741284b8e26879f81630bcf0f88b415f64bc9b27309a230fd85b3101ee5"}},{"ruleId":"D2","level":"warning","message":{"text":"compact.compactAgentConfiguration (cognitive 29): compact.compactAgentConfiguration has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 5, loops 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/compact.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6f18a172f489a8c7fb3111026a306f610b9466231b31662f10db314e664b3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.StatusCards (cognitive 29): index.StatusCards has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 15 (23 pts), boolean chains 6 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/StatusCards/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f1f97f820eafac1dab799cb7516befc7345d6d4d4eb3ec8e025d7cd02b051a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectClientDialog.ConnectClientDialog (cognitive 29): ConnectClientDialog.ConnectClientDialog has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 16 (23 pts), boolean chains 3, if/else 2, error handling 1 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 10 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":"ui/src/pages/apps/gateways/ConnectClientDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f2270ae744c4e0db51ae6ab0f0e6cec1dca3b11d907ac7d208ec0ed41cf956"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.ImportPreviewPane (cognitive 29): CompanyImport.ImportPreviewPane has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 6, if/else 3 (5 pts) (nesting depth added 10). Of this number, 21 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9194642263c2af28ddea5de61d70af1cc36a5435189b2cd5fdd21ea40fe71b8"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentSetup.Setup::preparedConfig (cognitive 29): NewAgentSetup.Setup::preparedConfig has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 12, error handling 1 (2 pts), 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::saveDraft, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da70caa5ccb4b7b181d0c4ebc07047e1a9c7afb4fd774beb7b8e31854547da"}},{"ruleId":"D2","level":"warning","message":{"text":"FrontmatterPanel.FrontmatterPanel (cognitive 29): FrontmatterPanel.FrontmatterPanel has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 14 (18 pts), boolean chains 7, if/else 2 (3 pts), error handling 1 (nesting depth added 5). Of this number, 23 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a3685628368019f0fe1d6ff6f1f7d9b42960c2ff3ca4e32207eeb4f56183ff"}},{"ruleId":"D2","level":"warning","message":{"text":"InvitesSection.InvitesSection (cognitive 29): InvitesSection.InvitesSection has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (19 pts), if/else 5 (6 pts), boolean chains 3, error handling 1 (nesting depth added 8). Of this number, 16 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":"ui/src/components/access/InvitesSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a87f1b8706a0240c436052b472c7c4c2bdae1a2d36ed403b7b8b31be2cc4002"}},{"ruleId":"D2","level":"warning","message":{"text":"TweakPanel.TweakPanel (cognitive 29): TweakPanel.TweakPanel has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 9 (19 pts), loops 6, boolean chains 2, if/else 2 (nesting depth added 10). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 164, 61, 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":"ui/src/components/task-chat/TweakPanel.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a903a7db9c72546ff0c1121f1657fdd7101e918ae6e8f0faa316df63fb264c0f"}},{"ruleId":"D2","level":"warning","message":{"text":"useRunnerSubmission.useRunnerSubmission (cognitive 29): useRunnerSubmission.useRunnerSubmission has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 20, ternaries 5 (6 pts), if/else 3 (nesting depth added 1). Of this number, 18 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":"ui/src/hooks/useRunnerSubmission.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4700fd37e3c8d1e6da337c660f14513668b5dce5f299f473e9241950a2269a6"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxProviderSession::start_turn_timed (cognitive 29): AcpxProviderSession::start_turn_timed has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 5, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbb59876e40802f4dbf973a8ab92fa5e4b8ffaa59e9349742145195cb126c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeManagedProvider::fetch_final_usage (cognitive 29): ClaudeManagedProvider::fetch_final_usage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f91ce4f4c42ef09125e1a21742cc97436faf7747357d00088646d78c0ee02"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::start_compaction_turn (cognitive 29): CodexProvider::start_compaction_turn has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eddf65b4838362e9cdbdc586419b3c5ddd8fdf0624b2fc52a8e632ab7efdb6"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerTransportEndpoint::open (cognitive 29): RunnerTransportEndpoint::open has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 4 (9 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60823010d51156e8c68c143829f942f47c644be8093ec8ad852c70ff7f729c7"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::acpx_event_payload::decode_runtime_event (cognitive 29): paperclip_runner_core::acpx_event_payload::decode_runtime_event has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (6 pts), match/switch 2 (3 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d2f2b6fbc1ba561d27d7c1ea82df2f85264f1d34cbc7b4d0147bbb803e2ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::runner::process_command (cognitive 29): paperclip_runner_core::durable::runner::process_command has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 8, match/switch 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d681dbb28e0705c24df37c89fd1105f8836a4b4b5fff4355de181b7ba8b142"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-install-check.managedInstallChecks (cognitive 28): managed-install-check.managedInstallChecks has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 4 (7 pts), boolean chains 5, error handling 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":"cli/src/checks/managed-install-check.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc3f25ca7c22644825441350b58b970bc168b23c7c93cac33946645e3bb4d14"}},{"ruleId":"D2","level":"warning","message":{"text":"context.upsertProfile (cognitive 28): context.upsertProfile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/context.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb30eece4d7fa0b33b4721dda6a2f95663ffc876aa29b6f0ad9c7438178bb49"}},{"ruleId":"D2","level":"warning","message":{"text":"service.withHotRestartLock (cognitive 28): service.withHotRestartLock has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), error handling 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/service.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcbc7b9fc39d6fbff9f6e18c82d820b39796090834763238dd65d214cae35e8"}},{"ruleId":"D2","level":"warning","message":{"text":"http2-bridge-server.createHttp2BridgeServer.handleStream (cognitive 28): http2-bridge-server.createHttp2BridgeServer.handleStream has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 2 (4 pts), error handling 3, boolean chains 2, loops 1 (nesting depth added 9). 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcd211e3d276d8ff9a9c793f61c67f056574f2160875ff9e5f83906fa0c1347"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-restore-merge.directoryMergeConflicts (cognitive 28): workspace-restore-merge.directoryMergeConflicts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 6 (8 pts), boolean chains 6 (nesting depth added 10). Of this number, 22 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a14503e9d127a78b7bb8867d4cf0fa3074781ca9bff1a479496f18d466d356f"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.prepareOpenCodeRuntimeConfig (cognitive 28): runtime-config.prepareOpenCodeRuntimeConfig has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 8 (11 pts), error handling 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b268687c063da9a4eabfa58f44272d30b04c8084b5b8a195341d28e13212430"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.createToolDefinitions (cognitive 28): tools.createToolDefinitions has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 11 (14 pts), if/else 7 (9 pts), boolean chains 3, loops 2 (nesting depth added 5). None of this is in the body itself: all 28 points belong to 10 function literals inside it that branch (lines 650, 327, 357, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/mcp-server/src/tools.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff760cfad673ae829b22c71d470c289641bae3f51d610c0b227e209109ff445"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-cloud.parseNativeCursorCloudConfig (cognitive 28): cursor-cloud.parseNativeCursorCloudConfig has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, ternaries 5, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/cursor-cloud.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"20daa6c5690b096d415ecab9d67678ee703cad495b5f90b785ccfd511de56b24"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.inspect (cognitive 28): redaction.inspect has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbc20fe611ccfac1b136df3ca11f7c49b1bdf20d0d778d1566c04eeac8ff164"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-question-adapter.runtimeRequestResponse (cognitive 28): codex-question-adapter.runtimeRequestResponse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac964d6f042d2ac3d4c53363e55428dde71e6117c2ccf2be61fee119f6ebf7f5"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexHarnessSession.goal (cognitive 28): CodexHarnessSession.goal has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 8 (10 pts), boolean chains 6, 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"5673482ab060e0f3d8069333a60315b33473823d8461076a3ad0df6a5c45eec2"}},{"ruleId":"D2","level":"warning","message":{"text":"environment.createAcpxSidecarHostEnvironment (cognitive 28): environment.createAcpxSidecarHostEnvironment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6d80eefba374d2ea2c3925051d08e14c99cc1d2bf6249a42312332a4dfdf48"}},{"ruleId":"D2","level":"warning","message":{"text":"RawWebSocketWireConnection.#consume (cognitive 28): RawWebSocketWireConnection.#consume has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c304b4e27da19aad0e3654a5697ade816bf4743a0de4bda2be90b872a74c11d"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-media-attribution.attributeUnsupportedToolMedia (cognitive 28): tool-media-attribution.attributeUnsupportedToolMedia has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/tool-media-attribution.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb660b9d1ae24f45b9d948d3868025f5ae6f03d97c574c4dc4c483f5b5136068"}},{"ruleId":"D2","level":"warning","message":{"text":"build-copilot-distribution.readCopilotArchiveEntries (cognitive 28): build-copilot-distribution.readCopilotArchiveEntries has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 7). Of this number, 22 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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a7fd92706b5da2a152e71e51c93323db6132ee408a3cc6d00feaa1e88715b8"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-apps.readMcpIcons (cognitive 28): mcp-apps.readMcpIcons has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 5 (9 pts), boolean chains 5, loops 1 (nesting depth added 10). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/mcp-apps.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3457bcebdbce2e9e89512e483722f30a1821d9043418313b97031a232d532435"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.sanitizeValue (cognitive 28): redaction.sanitizeValue has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 7, boolean chains 4 (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":"server/src/redaction.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0115da2d914647458750012d12a3d8da8188f72ea18e2d967f6c8e25d2eab2"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-workspace-recovery-migration.readMigratedLegacyWorkspaceSource (cognitive 28): legacy-workspace-recovery-migration.readMigratedLegacyWorkspaceSource has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 9, loops 1 (2 pts), ternaries 2 (nesting depth added 4). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-workspace-recovery-migration.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca9b6d1c7e44e4f063c03639a6fcede7b075e5f71cce7570184ad200c7b3ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete (cognitive 28): remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 3 (5 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. This shape REPEATS in the file: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"363f2a22f1b173e01450350a0edacc7c98bb75b13d52c8692bf17fea23fb0d54"}},{"ruleId":"D2","level":"warning","message":{"text":"connections.tailscaleConnectionService.complete (cognitive 28): connections.tailscaleConnectionService.complete has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 3 (7 pts), boolean chains 3, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/tailscale/connections.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e5e2c7c50c08d10bd02e3a69c4d07117ccb682a6952a3b3d926bf42f668625"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-continuation.getConversationOwnershipBlocker (cognitive 28): conversation-continuation.getConversationOwnershipBlocker has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 9, ternaries 1 (3 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":"server/src/services/conversation-continuation.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb60207690060a17ae9f10d9f893afdd93e7071a4650fbc0ff44b1b9ddee5a"}},{"ruleId":"D2","level":"warning","message":{"text":"credential-access.createConnectionCredentialAccess.vaultGrantForConnection (cognitive 28): credential-access.createConnectionCredentialAccess.vaultGrantForConnection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 4 (10 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6e7e3e85f7f57cb311702eafecd39df3967353620e48a133f894da819327c5"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.createToolCatalogDiscovery.discoverSkills (cognitive 28): discovery.createToolCatalogDiscovery.discoverSkills has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, ternaries 4 (6 pts), loops 1 (nesting depth added 5). Of this number, 25 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9553188a931a85e00dd996137dee70c696e8d8946b7c82bb9bc466bf9029021"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-archive.captureNativeHarnessArchive::visit (cognitive 28): native-harness-backup-archive.captureNativeHarnessArchive::visit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, 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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff456d36ef116d8f6196c93f666cdf151122609c3448a104a0219c2a43b35b"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-skill-cache.publishLocked (cognitive 28): runtime-skill-cache.publishLocked has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 16). Of this number, 25 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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4adf34611f369d63ba2ec32fdccd9148338f9e54df5b94dd9dd487fd8e12da"}},{"ruleId":"D2","level":"warning","message":{"text":"projects.projectService.update (cognitive 28): projects.projectService.update has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 8, ternaries 1 (nesting depth added 4). None of this is in the body itself: all 28 points belong to 3 function literals inside it that branch (lines 989, 1037, 1069). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"084a019da6bd7028b5234db477d9f433de1c38c48988210c0a1c929e86bb7e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.list (cognitive 28): company-skills.companySkillService.list has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 10, loops 2 (3 pts), ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3411, 3391, 3364). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cbcdf9cec8b58010a0563f8720a02e915f78127f932eaf8dbba61c8b270d92"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-sources.skillSourceService.settings (cognitive 28): skill-sources.skillSourceService.settings has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 6 (7 pts), boolean chains 5 (nesting depth added 7). Of this number, 17 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":"server/src/services/skill-sources.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec39a6570cc6efb201030a196f21c17064f11350b4a242223087d41030a2de19"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.waitForAllocatedPortBind (cognitive 28): workspace-runtime.waitForAllocatedPortBind has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 6, 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5559}}}],"partialFingerprints":{"codehealthFindingId/v1":"544461843a2e2471cbb3e531dbec47a14e6d7f295f3981e9101c7f22e288a040"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.updateNamedGateway (cognitive 28): tool-gateway.createToolGatewayService.updateNamedGateway has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 22, boolean chains 3, if/else 3. Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to one function literal inside it that branches (line 11121). 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa732984b375862c9e8ca5ee7f036a3f6db88ef54d277a6ffec711d02fd1cde3"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.findGitWorktreeContention (cognitive 28): execution-workspaces.executionWorkspaceService.findGitWorktreeContention has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"07773dead045cf21cb1896cad9f2fbe2c59e682fcacee9eb93de2a0654640888"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.control (cognitive 28): email-channels.emailChannelService.control has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 4 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 2396, 2460, 2419, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc023c3de151e6003d21fe92301e01fdcb5a9afe39a3ba406db3bdaa568de52a"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.usableConnectionForAgent (cognitive 28): connection-intents.connectionIntentService.usableConnectionForAgent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 6 (9 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 6 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":"server/src/services/connection-intents.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09821be70799da6513ee8b1d7ff5d5f3aa6a49c2c5127e060f78a8cf46d293a"}},{"ruleId":"D2","level":"warning","message":{"text":"saved-workspace-archive.buildIndex (cognitive 28): saved-workspace-archive.buildIndex has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 6, loops 2, 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":"server/src/services/saved-workspace-archive.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"520f1698539a115bc95e26c5d6288bfb467df3e6d51a4fde9259a1923d063de9"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-fallback.inspectFallback (cognitive 28): workspace-recovery-fallback.inspectFallback has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 9, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fc28a88e28638175c7018d4dc68739250207cbe6256c4c745e5d6405a87fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"case-access.canActorReceiveCase (cognitive 28): case-access.canActorReceiveCase has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 3 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-access.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1bb38ac4f3029d7dd3964fd18e62e31c29485b7942dd2c299d6befb574f80c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-task-session-publication.publishNativeTaskSessionInTransaction (cognitive 28): native-task-session-publication.publishNativeTaskSessionInTransaction has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 13 (nesting depth added 2). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-task-session-publication.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a48799830970ca4e19c3c70e94627e68271e318846ae22a0838e37462654ee"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.createChatMessageLifecycle.recordLifecycleDelivery (cognitive 28): lifecycle.createChatMessageLifecycle.recordLifecycleDelivery has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 8 (9 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 173). 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6c6238c45333f49aec51aee47ad0676a8f157f303efa66adaef6ac26225faf"}},{"ruleId":"D2","level":"warning","message":{"text":"publication-policy.createGitHubPublicationPolicy.settleGitHubAutomaticPublication (cognitive 28): publication-policy.createGitHubPublicationPolicy.settleGitHubAutomaticPublication has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, ternaries 2 (4 pts), loops 1 (nesting depth added 6). Of this number, 21 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":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fbcaf7bbb68142792cffe801a12d0b50094c7b6c0f964efe8a77844c5fd7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-links.chatProviderConversationUrl (cognitive 28): chat-provider-links.chatProviderConversationUrl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-links.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e6bce954d929866ee0f7e9d5db514df1ca6c3d061b32097642d790607cb3ea"}},{"ruleId":"D2","level":"warning","message":{"text":"reactions.createInboundReactions.processPendingReactionDelivery (cognitive 28): reactions.createInboundReactions.processPendingReactionDelivery has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 5, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 652). 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6093909c4ea965c809f5b24d574fd8991cb385fc3d0315d640ebc97ec0c816"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-enrollment.stageSlackCloudEnrollmentIntent (cognitive 28): cloud-enrollment.stageSlackCloudEnrollmentIntent has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, ternaries 8 (9 pts), if/else 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1820117daa19789bc2c3b85f0425a57a8a98fbf7381b3ca0d3267a58bc877d"}},{"ruleId":"D2","level":"warning","message":{"text":"retained-provider-pack-oci.receiveRetainedProviderPack (cognitive 28): retained-provider-pack-oci.receiveRetainedProviderPack has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, ternaries 3 (4 pts), loops 1 (3 pts) (nesting depth added 8). Of this number, 21 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":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea172bcc1bc0647d1902cbad84f712a55712e2d538c8c6882c41b6113e2b042a"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoffs.assertCaseContentsFitTask (cognitive 28): case-handoffs.assertCaseContentsFitTask has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1e210bdb9b50fac83e07075705675270fbdb07ba30a866a08118816783fac3"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.retainedNativeCleanupJournalMatches (cognitive 28): native-session-executor.retainedNativeCleanupJournalMatches has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 19, if/else 9. Of this number, 23 points are the body\u0027s own statements and 5 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"74532ed009b7fff8fe632224505b6e54a70380b36471e929a10e898ff5bc28b7"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.cleanupProviderHomeSnapshot::visit (cognitive 28): native-session-executor.cleanupProviderHomeSnapshot::visit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 2 (4 pts), ternaries 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5843b603166a90b2e360b58efe0c608b597179bcda359bb2fdc38a0a683722a0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.inspectRemoteHarnessState (cognitive 28): native-session-executor.createRunnerdBackendWithinSessionClaim.inspectRemoteHarnessState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 4 (6 pts), error handling 2 (nesting depth added 5). Of this number, 25 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3bbffb2711b38cfd9ad31abca8072d91c62acfc4ba403445fc038e7e0db684"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.readIssueBlockerAttentionBatch::classifyPath (cognitive 28): issues.readIssueBlockerAttentionBatch::classifyPath has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 9 (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 (issues.readIssueBlockerAttentionBatch) 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":"server/src/services/issues.ts"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"be422ad6df32ccfad81275f0ed84d861c1bf4da18e675811a0a9ca15606e2db8"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.environmentService.update (cognitive 28): environments.environmentService.update has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 4 (8 pts), boolean chains 3 (nesting depth added 7). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3d48c2fe9c4f2d3a637661fee5ed289e925eebd796ad89156c113e4d897779"}},{"ruleId":"D2","level":"warning","message":{"text":"dot-runner.createDotRunnerMcpBridge.callTool (cognitive 28): dot-runner.createDotRunnerMcpBridge.callTool has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 6 (8 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/dot-runner.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c40e1be859408bc2a4cd9a86b1c01d05b45fd2b5b41e47fb8fc42de9b631a"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-skills.checkMcpSkillEntry (cognitive 28): mcp-skills.checkMcpSkillEntry has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 5 (8 pts), boolean chains 4, loops 1 (nesting depth added 6). Of this number, 25 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/shared/src/mcp-skills.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e9e0f526ce981214c7fa9d8adaa733cae8f271a746de1c84667bb3ef3a077c"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-protocol-manifest.buildProtocolManifest (cognitive 28): generate-protocol-manifest.buildProtocolManifest has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (23 pts), error handling 1 (4 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/generate-protocol-manifest.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2511daa50d5665d14f2718aba02ac7e063402632e9c07af51749823cd4e928a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeBackgroundTaskTracker.#inbound (cognitive 28): ClaudeBackgroundTaskTracker.#inbound has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 9 (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/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"51787622ecff075a70cdb1c5537dae5c2a0a89c4bf0523ad3eccfcd3ac8d93f0"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-launch-policy.assertCursorWorkspacePolicy (cognitive 28): cursor-launch-policy.assertCursorWorkspacePolicy has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 3 (7 pts), loops 3, ternaries 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-launch-policy.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ce71e53d5d03b33dd8f2d2d3eb994e5dcf8b0b76c99ad0e9b0d254abe3e958"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-session.parseEvalSessionCliArgs (cognitive 28): eval-session.parseEvalSessionCliArgs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 6, boolean chains 5, 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc11a020b000f2060cf9eef579fa53331c6741b492cf39e4e12a22bc8a801afa"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-driver.runHarnessDriverConformance (cognitive 28): harness-driver.runHarnessDriverConformance has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 10, loops 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/paperclip-runner/src/conformance/harness-driver.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a93b26dcba42ea8aa2f9db946fea68890b306a7e3f62cdc19ec5db5c6f367c9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.reconcileRecoveryCheckpoint (cognitive 28): native-session-runtime.reconcileRecoveryCheckpoint has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 5, loops 2 (3 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec661ccb506eb25320d2669c8a07952449f4a53acfec46e3a8df5aacb3078e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ScenarioChatDemoRuntime.handle (cognitive 28): ScenarioChatDemoRuntime.handle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 6, ternaries 2 (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":"packages/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7a31105adfb380013f26704c08b70b7532deba0aee4efa5b148e368b843b87"}},{"ruleId":"D2","level":"warning","message":{"text":"archive-stream.streamSandboxArchive (cognitive 28): archive-stream.streamSandboxArchive has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 8). Most of this is not in the body itself: 3 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 83, transfer, a function literal at line 111). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/sandbox-providers/daytona/src/archive-stream.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca30c0a8d5b87c07fa8ec6ad9f2488b5d8210f7f2103e45b8e87347c13f2315"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.validateLocalReferences (cognitive 28): catalog-builder.validateLocalReferences has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 5, loops 4, 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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad50fdfec78c9541e0115bc27603fe13c5e5c53d3e4899c045b02c203aca110"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.resolveIssueAudienceContextMap (cognitive 28): attention.resolveIssueAudienceContextMap has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 4 (7 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d40e06faeca2e43aeb28babe2ac9286e114f6c8eb7a02a41bcb52bf2dbe396c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration.sessionRetentionBlocker (cognitive 28): native-harness-backup-expiration.sessionRetentionBlocker has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 7, ternaries 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1822a783d40c4aa5a65ffad4cb6a7e7c9b42b655489a10f4984a20a24560bfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"typecheck-layers.largestCycle (cognitive 28): typecheck-layers.largestCycle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (7 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":"server/scripts/typecheck-layers.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cc9a327b4e99faade9b7a3f0e94c0a57361c4506886746f072b0bc1f344bae"}},{"ruleId":"D2","level":"warning","message":{"text":"authz.assertCompanyAccess (cognitive 28): authz.assertCompanyAccess has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 10). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/authz.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"45449b33de3613f2b0ac609a8f39f8eea2f6ff1271ae2c04e1d21d82af1656d9"}},{"ruleId":"D2","level":"warning","message":{"text":"local-ai-login.localAiLoginService.start (cognitive 28): local-ai-login.localAiLoginService.start has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 10). Of this number, 14 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":"server/src/services/local-ai-login.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d92fcf7c30fa5432e81697a2992a327cee92764509c517b26e73c4174c53e2"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-update-diff.lineDiff (cognitive 28): skill-update-diff.lineDiff has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 8 (9 pts), boolean chains 7, ternaries 3 (nesting depth added 3). Of this number, 25 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":"server/src/services/skill-update-diff.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3206417b5cdc6acd3e80b9cb53769edd225d1c95f73d07c02ba77b1fab30d01c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-export-retry.retryNativeWorkspaceExport::inspect (cognitive 28): native-workspace-export-retry.retryNativeWorkspaceExport::inspect has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 19, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3bfd63ba88f5c32ac05bef4651ba11c8e2264e8c1c8ed8bedb9be4421892b"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.buildIssueWakeDiagnosis (cognitive 28): issues.buildIssueWakeDiagnosis has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 4, 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":"server/src/routes/issues.ts"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ad82d1858353f5ec2691b1bcf775d6a4bb07cd713448ff43a5c53528d6f149"}},{"ruleId":"D2","level":"warning","message":{"text":"native-safe-replacement.remoteWorkspaceReplacementEvidence (cognitive 28): native-safe-replacement.remoteWorkspaceReplacementEvidence has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (9 pts), ternaries 6 (7 pts) (nesting depth added 2). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"008afdbe2920a3f9add86b5f8de5be7881d58f237c78753d612fa11ca9851549"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorSidebar.CoordinatorSidebar (cognitive 28): CoordinatorSidebar.CoordinatorSidebar has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 15, boolean chains 11, if/else 2. Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 178, 145, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CoordinatorSidebar.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6d5c33dd1ea8b213bb1f33700a515bbef93c8168685d4655feb87c1da8a474"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.ClassicSidebar (cognitive 28): Sidebar.ClassicSidebar has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 21 (24 pts), boolean chains 4 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Sidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"554823bb04d8702dd6cd7b983bdeaf35eb9d043ccd768f2d98b85d4197adc012"}},{"ruleId":"D2","level":"warning","message":{"text":"useKeyboardShortcuts.useKeyboardShortcuts (cognitive 28): useKeyboardShortcuts.useKeyboardShortcuts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 7 (nesting depth added 5). None of this is in the body itself: all 28 points belong to 3 function literals inside it that branch (lines 51, 135, 32). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"816c9b54da9596a90d277f367c13502d39699521f46835a43547ca983d44479f"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionCredentialStep.SubscriptionConnectionStep (cognitive 28): AiConnectionCredentialStep.SubscriptionConnectionStep has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (18 pts), boolean chains 8, error handling 1, if/else 1 (nesting depth added 9). Of this number, 25 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":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9ee75bfae204c5805bce3e149da61c6ea6798a5fedc7b390002f304c855766"}},{"ruleId":"D2","level":"warning","message":{"text":"QuestionForm.answerError (cognitive 28): QuestionForm.answerError has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 10, 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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd562da9e7d344495ac8f03190952f21abadef434873125599fe97db715e2743"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.paperclipRunnerFinalResponse (cognitive 28): transcript-adapter.paperclipRunnerFinalResponse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 3 (4 pts), ternaries 2 (3 pts) (nesting depth added 9). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f6115a9851dd1de8e0b43922dc081b95337df28afe9889d6418cb8edc0d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.QuestionOptionButton (cognitive 28): IssueThreadInteractionCard.QuestionOptionButton has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 17 (27 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb87e8b608a4a55f51d72062deb1f4b1ba93faf39d6e97cb72d5a5366e11655"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatFeedbackButtons (cognitive 28): IssueChatThread.IssueChatFeedbackButtons has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 8, boolean chains 5, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (handleVote, handleSubmitReason, a function literal at line 2837, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"133c12fa236cc4ae8642cbe4b9c33619c8fdc30775e2625698994905e742a1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskTreeControls.TaskTreeControlDialog (cognitive 28): TaskTreeControls.TaskTreeControlDialog has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 15 (24 pts), boolean chains 3, if/else 1 (nesting depth added 9). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskTreeControls.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c9f1f2a4ab72863d471221c7014067672cc6962d7fc0be05e5970efc90fff4"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.TranscriptToolCard (cognitive 28): RunTranscriptView.TranscriptToolCard has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (21 pts), boolean chains 7 (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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f1f300953e3f4758ff4efec2390cccb4f823a59e074eeacb5b0ac84f8583fd"}},{"ruleId":"D2","level":"warning","message":{"text":"save.saveAgentConfiguration (cognitive 28): save.saveAgentConfiguration has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 5, boolean chains 3, 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89120ba2e9cb2f6901e0c6ae2479ef2897eb582adf7952f1a6d828451380c5d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentBubbleActionRow.IssueChatFeedbackButtons (cognitive 28): AgentBubbleActionRow.IssueChatFeedbackButtons has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 8, boolean chains 5, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (handleVote, handleSubmitReason, a function literal at line 196, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentBubbleActionRow.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7916f7ef39f8e12c8f2c0ef08c01b226f000755caebb8faaacf7122bc91d0ff"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackIdentityStep.SlackIdentityStep (cognitive 28): SlackIdentityStep.SlackIdentityStep has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 10, if/else 1 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 14 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":"ui/src/pages/apps/chat/SlackIdentityStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a511142f90b7a79a9d898bf7f2244a2b87761fd67ef4429ddf1a14504d082ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotonConnectStep.PhotonConnectStep (cognitive 28): PhotonConnectStep.PhotonConnectStep has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, ternaries 9 (13 pts) (nesting depth added 4). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/PhotonConnectStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0ade3faedbd4d6adb67bc8ec0876540bf3a74fcbc7ecdb109d8d8821c6498c"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentitiesSection.GitHubConnectionSummary (cognitive 28): IdentitiesSection.GitHubConnectionSummary has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 16 (26 pts), boolean chains 1, if/else 1 (nesting depth added 10). Of this number, 25 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaf161df3347f51f3cf83ce9e995e9efcc40fdbaa9e6bb7df583a2b22d24930"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillFolderTree.TreeBranch (cognitive 28): SkillFolderTree.TreeBranch has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 6, if/else 3 (5 pts) (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5518fe70f6ec5b65a5d02abb0e5e778fb2787028bef27d5077c2d0cf41fb3b1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.StudioNewSkillPanel (cognitive 28): SkillStudio.StudioNewSkillPanel has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 17 (19 pts), boolean chains 8, if/else 1 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 12 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa1cc801c78c79b58555691525d74830b671a4679442b111d8eda003519459b"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignPageAside.DesignPageAside (cognitive 28): DesignPageAside.DesignPageAside has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 8, boolean chains 6, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (resizeWithKeyboard, a function literal at line 30, a function literal at line 48, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DesignPageAside.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a73e5e396b5d8d6348d8104fe715075b86db27f15441a28a041a1a183ad368b"}},{"ruleId":"D2","level":"warning","message":{"text":"useWorkspaceFileAvailability.useWorkspaceFileAvailability (cognitive 28): useWorkspaceFileAvailability.useWorkspaceFileAvailability has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 5, loops 4 (5 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 88, 155, 190, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useWorkspaceFileAvailability.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eaa4bcb3a4f952d623e7c0aeed1de6991c67c535d91119879bdbff68645578"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.computeLayout (cognitive 28): layout.computeLayout has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 7 (11 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":"ui/src/lib/timeline/layout.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0e64ba3b43bb518889ab6000fe172f5ae7d56eae9efd8a392464a08dad3b96"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.migrate_input_receipts (cognitive 28): Client.migrate_input_receipts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 pts), boolean chains 3, ternaries 2 (3 pts), error handling 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":"server/src/services/scripts/v9/client.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e6e0b17aa79a2182d42b9fd9d82d4bbe347f5af21123dd39ef317d3d21fcff"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.renderMergePlan (cognitive 27): worktree.renderMergePlan has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (16 pts), if/else 5, loops 2 (4 pts), boolean chains 2 (nesting depth added 13). Of this number, 25 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":"cli/src/commands/worktree.ts"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99e75cfaccc2e193909b85d6ff71bc2dbbece5b78004c29be4a1a1142a405f0"}},{"ruleId":"D2","level":"warning","message":{"text":"startup-reuse.summarizeStartupReuse (cognitive 27): startup-reuse.summarizeStartupReuse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 9, ternaries 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/startup-reuse.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4844dab4955e14353ff2ec683f1cb086d10c02daeb8ff7d58fd1ccd1b8e6088"}},{"ruleId":"D2","level":"warning","message":{"text":"quota-probe.main (cognitive 27): quota-probe.main has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 3 (7 pts), boolean chains 4 (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/adapters/codex-local/src/cli/quota-probe.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcf2127c7aa4898ffaa2d98f36e3bfc998e6acf2e93f7e9d3163f6eecec6d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printToolCallEventTopLevel (cognitive 27): format-event.printToolCallEventTopLevel has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 6 (8 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf13e33f6d6e142e3feb7d24abe4d55e67dfc89ea07ede22462a68405bcd16"}},{"ruleId":"D2","level":"warning","message":{"text":"check-migration-safety.splitSqlStatements (cognitive 27): check-migration-safety.splitSqlStatements has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ad686f0f58f611064d3633e7ee8c22649216a69b01fe6e86025b20799e65f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector.Inspector (cognitive 27): Inspector.Inspector has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (23 pts), boolean chains 2, if/else 2 (nesting depth added 10). Of this number, 15 points are the body\u0027s own statements and 12 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/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b798a22cafadf41844119679f477d1c4933aa27f55bc4eb97cc6077ba9af9df2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-file-changes.toolFileChangesFromAcpContent (cognitive 27): tool-file-changes.toolFileChangesFromAcpContent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 10). 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72a8c150ba527b55ec8db4d102befbb8e16b420e02b8ce4d54ea97895a64eee"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.#validateState (cognitive 27): CapabilityMockControlPlaneAdapter.#validateState has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 7 (8 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d96cdbcd267d4c0f90b3cd2fabf808685500ef82aa5ee376558a67154642fb"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-server-driver.startOpenCodeProviderProxy.server (cognitive 27): opencode-server-driver.startOpenCodeProviderProxy.server has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, ternaries 3, error handling 2, loops 2 (nesting depth added 3). None of this is in the body itself: all 27 points belong to 3 function literals inside it that branch (lines 2530, 2568, 2597). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e5a5ffae177bf95b1a89a2f1ddbe3f0e1a71888f17681aae338673b4992387"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#startWork (cognitive 27): DurablePrpCodexTransport.#startWork has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 7 (8 pts), boolean chains 5 (nesting depth added 2). Of this number, 18 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, 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1909c18e2a066e8e44217c9d661ac53c8dfe6b7b6353331162496e7e758d73f"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityLiveSession.#captureTurnUsage (cognitive 27): CapabilityLiveSession.#captureTurnUsage has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 6, loops 2 (3 pts) (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 4 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9df3fd914e7e87d36fe137bfa9aafa56145e43a6a5353791e51ec2dc8d152e"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-pi-distribution.assertPiNodeSystemDependencies (cognitive 27): materialize-pi-distribution.assertPiNodeSystemDependencies has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a230636b4a47892b7da8b83725125540c9a07290fb1f9e8ff5a5bc6872f286b1"}},{"ruleId":"D2","level":"warning","message":{"text":"hot-restart.isObservedHotRestartTargetAlive (cognitive 27): hot-restart.isObservedHotRestartTargetAlive has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, ternaries 3 (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":"server/src/services/hot-restart.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bb2647264e5e6e9994aa0a408d0d838ec8264a3be04af42c83573e5e65fa77"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-question-forms.createChatQuestionFormDraft (cognitive 27): chat-question-forms.createChatQuestionFormDraft has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 5 (7 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2789f765791e5c9d5be01d327db19f8fa37b5ec7e73bc9a0f2b19efa54034c98"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.validatedAttachmentRecoveryDescriptor (cognitive 27): chat-sdk-runtime.validatedAttachmentRecoveryDescriptor has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 9, if/else 8 (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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9babad4e2c54c326dc76f7b9ba8ffa84f059d6e015ce1c2b1295c3faf8fead4"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-policy.parseProjectExecutionWorkspacePolicy (cognitive 27): execution-workspace-policy.parseProjectExecutionWorkspacePolicy has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 15, boolean chains 8, if/else 4. Of this number, 23 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0590eebd65c94c35b3ed965cfe32cdfa5e42a8b037fae3faef8a50adc41ccb89"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.parseSkillImportSourceInput (cognitive 27): company-skills.parseSkillImportSourceInput has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 10). 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":"server/src/services/company-skills.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ed702416e94cbb7d8c3b9619923b60881d18f9f29ea3a5ffb275e0f84d072a"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.deriveImportedSkillSource (cognitive 27): company-skills.deriveImportedSkillSource has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 5 (7 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"4696d4c7f4442bc8489bc5bb7361887b2e0303a48b6dcbab1043177b15dc7534"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.renameSkill (cognitive 27): company-skills.companySkillService.renameSkill has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (8 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 11). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 4213, 4183, 4191, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5aa1562617fcb679c0988a0b5bf1da3dd76f6f3cca04b8899f461b4239ca5a"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.deleteSkills (cognitive 27): company-skills.companySkillService.deleteSkills has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4, error handling 2, boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 7448, withCacheLocks, assertUnused, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5301b88d2acd40d20a043597a3e6cf63516901c9c25d8a26d9b3505bd40e8436"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-storage.persistNativeHarnessBackupOnce (cognitive 27): native-harness-backup-storage.persistNativeHarnessBackupOnce has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 6, ternaries 4, loops 1 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 11 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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ce0b5b0f5c8267fb66dbbada0e75851887dc52774b23f8832cd99b285f1e52"}},{"ruleId":"D2","level":"warning","message":{"text":"ownership-invariant-report.classifyRunOwners (cognitive 27): ownership-invariant-report.classifyRunOwners has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (21 pts), loops 4 (6 pts) (nesting depth added 16). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6870420a43d23d5d518bf379da9db8ba760ebbeda1e7dcff918746beda2e4e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.restartDesiredRuntimeServicesOnStartup (cognitive 27): workspace-runtime.restartDesiredRuntimeServicesOnStartup has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (8 pts), error handling 2 (4 pts), boolean chains 3, 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":9097}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c580798080e8c559a4f5b7c6e709edb2abd19122ddeee0dc7d418e172c9123"}},{"ruleId":"D2","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.evaluateAdmissionInTransaction (cognitive 27): budgets.budgetServiceInTransaction.evaluateAdmissionInTransaction has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 16). 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":"server/src/services/budgets.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"e602c6e54617ec105d780b40710fb63e85500a8949ff16ba602ca5e37328a8df"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-client.slackClient.\u003Creturned closure\u003E (cognitive 27): slack-client.slackClient.\u003Creturned closure\u003E has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (9 pts), boolean chains 5, error handling 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":"server/src/services/connectors/slack-client.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07b3530221e19c5a782e8155a021a64994023f19afd33ad72adb162032bc0eb"}},{"ruleId":"D2","level":"warning","message":{"text":"bundled-plugins.ensureBundledPlugins (cognitive 27): bundled-plugins.ensureBundledPlugins has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, error handling 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":"server/src/services/bundled-plugins.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ca8e6ced5431725a3fc84eaab31874846e810a6c87605a0ce09fd60694d664"}},{"ruleId":"D2","level":"warning","message":{"text":"queued-run-dispatch-order.queuedRunDispatchLine (cognitive 27): queued-run-dispatch-order.queuedRunDispatchLine has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (9 pts), ternaries 4 (5 pts), loops 2 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 12 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":"server/src/services/heartbeat/queued-run-dispatch-order.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd79f32263401caae4646d4d3d691dbb60ea2892d028c9c1a5c5ad4e6cc9617"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-finalizer.endSupersededNativeFinalizationRuns (cognitive 27): native-run-finalizer.endSupersededNativeFinalizationRuns has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 6 (11 pts), boolean chains 3, loops 1 (nesting depth added 12). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 389). 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e7f48b271961cd44fec317f0215eab7e8ab82a06b94cea9f18802c26638193"}},{"ruleId":"D2","level":"warning","message":{"text":"saved-workspace-archive.createSavedWorkspaceArchiveOpener.\u003Creturned closure\u003E (cognitive 27): saved-workspace-archive.createSavedWorkspaceArchiveOpener.\u003Creturned closure\u003E has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, ternaries 2, error handling 1, loops 1 (nesting depth added 9). Of this number, 15 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":"server/src/services/saved-workspace-archive.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5621aa59688c02559b8ace6e9cc25e7ae5f931843064a1d5f5b96c57e0a0bbdd"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.releaseEnvironmentLeasesForRun (cognitive 27): run-control.createHeartbeatRunControl.releaseEnvironmentLeasesForRun has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (9 pts), ternaries 3 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cbad46b315495978c42b6020afcfee246a71258912f3fa47870fb0f93dc790"}},{"ruleId":"D2","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.handleSuccessfulRunHandoff (cognitive 27): run-lifecycle.createHeartbeatLifecycle.handleSuccessfulRunHandoff has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 11, boolean chains 5 (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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4d44261d6ffeadbf0390a7e7699b8754730f7ac216b435f8e149a7b891bd97"}},{"ruleId":"D2","level":"warning","message":{"text":"form-publication.createSlackFormPublicationStage.\u003Creturned closure\u003E (cognitive 27): form-publication.createSlackFormPublicationStage.\u003Creturned closure\u003E has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 12, ternaries 1 (nesting depth added 1). 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: 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":"server/src/services/chat-channels/slack/form-publication.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e76d4a57cd087f5d92ddf7217a80dd8681fd5a132d3bc4935d871a02a60c34"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-ingress.createSlackCloudEventIngress (cognitive 27): cloud-ingress.createSlackCloudEventIngress has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 9, ternaries 2 (nesting depth added 2). None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 34, 49). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-ingress.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"74984b118b990217b736bf52d60bf223b20c7f279c5978ec20f5e797602ae283"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.cloudCallback (cognitive 27): chat-github-wizard.githubChatWizardService.cloudCallback has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 10, 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccc34dc96fea3434ea1715a671b289a29f424347198f3609e4283ec9f4e5ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"health.buildRuntimeAlerts (cognitive 27): health.buildRuntimeAlerts has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 17 (19 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2809258cb08bcda1f515e5168c2d81064abe090e65d1f840b9bdb97de107e757"}},{"ruleId":"D2","level":"warning","message":{"text":"task-retry.continueRefusedTaskChatRetry (cognitive 27): task-retry.continueRefusedTaskChatRetry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 8, ternaries 6 (nesting depth added 1). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 541, 571). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bfc940b3ee488ff984d1cb2c269da4a5c090341c0f1a268fb24f286ce44a00"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi.zodToOpenApiSchema (cognitive 27): openapi.zodToOpenApiSchema has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67e284f7175a35e86bed44c8dbf15ed14d8f79c9017532544024e43829dae80"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-api-client.runnerApiUrl (cognitive 27): runner-api-client.runnerApiUrl has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 7). 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf078917003b0e2105b653a92dd5db1b19403471a28b69bfed0471dfe93d71"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-pi-companion.importRemotePiCompanion (cognitive 27): remote-pi-companion.importRemotePiCompanion has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 6 (7 pts), boolean chains 6, error handling 3 (nesting depth added 5). Of this number, 23 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":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"882f10344a702de5ad3f9a80cda7b91f9373e3df8ec3581bc9f78c22776686cc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.closeIdleWarmNativeSessions::closeEntry (cognitive 27): native-session-executor.closeIdleWarmNativeSessions::closeEntry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, ternaries 3 (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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36cdae238e17838591712ecab6200c60222ccaef31f22834c16d6c3b8f4132"}},{"ruleId":"D2","level":"warning","message":{"text":"access.accessService.setUserCompanyAccess (cognitive 27): access.accessService.setUserCompanyAccess has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 10). None of this is in the body itself: all 27 points belong to 4 function literals inside it that branch (lines 843, 853, 860, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bace16493bc807e9dc359f5aad1691a17a0e8d37f9aa8f1ed6a7cc342b1fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"access.accessService.ensureMembership (cognitive 27): access.accessService.ensureMembership has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 10, ternaries 2 (6 pts) (nesting depth added 9). None of this is in the body itself: all 27 points belong to one function literal inside it that branches (line 948). 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":"server/src/services/access.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"16655047437f6b57fd2570adb6190c990697926897d25f4faea173469cbae82e"}},{"ruleId":"D2","level":"warning","message":{"text":"wake-admission.createMcpWakeAdmission (cognitive 27): wake-admission.createMcpWakeAdmission has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 4 (6 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). Of this number, 15 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":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"324ef7aceda3105c624b585a0f61fd7b1a45fcf5ab31b63675f2fff565b5f3a4"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-antigravity-distribution.materializePinnedAntigravityDistribution (cognitive 27): materialize-antigravity-distribution.materializePinnedAntigravityDistribution has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e3d156e112bb512a1d566cfb70e1aa668caeb739851fd2706cc18a1c60f3df"}},{"ruleId":"D2","level":"warning","message":{"text":"installation-integrity.commandLease.spawn (cognitive 27): installation-integrity.commandLease.spawn has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 5 (7 pts), boolean chains 3, error handling 1 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada5c83df961041537f714cc0cdd311716f2bba237b3074dce9814b25fb83af1"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-eval-campaign.buildProtocolEvalCatalog (cognitive 27): runner-protocol-eval-campaign.buildProtocolEvalCatalog has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, ternaries 3 (5 pts), loops 1 (nesting depth added 7). 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3690a86b4272e533f31815b2f37d6b737ee2de20d79171e1ce5f113dba58c24"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeProviderCycles.#classify (cognitive 27): ClaudeProviderCycles.#classify has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"297512d85b8c290e0f21c222f6904c58ba0c0ecc6c10bd1325fb6c47a34ca484"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudCheckpointStore.read (cognitive 27): CursorCloudCheckpointStore.read has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 16, if/else 9 (10 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"127bc9fb8d1173d91c31b42fb9834761b0eb958397402502cd3f9b6ec8773c34"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#recoverActive (cognitive 27): CursorCloudSession.#recoverActive has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 10). 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efc75ae90956bfbad9de4ced7be23ea831a56d2b0bdce5d35413fb2aa093594"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#readObservedRun (cognitive 27): CursorCloudSession.#readObservedRun has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 13). 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a068fdac0d185937b6c1a34bae0366c52f69515ce3e996878de23b614ca434b"}},{"ruleId":"D2","level":"warning","message":{"text":"inspector.Inspector (cognitive 27): inspector.Inspector has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (23 pts), boolean chains 2, if/else 2 (nesting depth added 10). Of this number, 15 points are the body\u0027s own statements and 12 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/paperclip-runner/src/react/inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba5c2b78c0bdb0dfcab6a1bfaac85d49aa908bec63207c4b91597cfdb400f34"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability-agent-selection.resolvePortableExportAgentSelection (cognitive 27): company-portability-agent-selection.resolvePortableExportAgentSelection has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (6 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 11). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability-agent-selection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f035b9677f8287403ba4ee4cac2c9101a0afb5b22e3e1ee218d584651bb233"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.renderYamlBlock (cognitive 27): company-portability.renderYamlBlock has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (7 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":"server/src/services/company-portability.ts"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb865a52c4e01d95ea18c6e4cd699e884d7d9eccea65a785c6f2a703d3cccb8"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-admission.trackIdleRequestHandlers (cognitive 27): idle-admission.trackIdleRequestHandlers has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 12). None of this is in the body itself: all 27 points belong to 3 function items inside it that branch (visit, visit::invoke, a function literal at line 127). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/idle-admission.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385c9009a0f229568f40ed627b25261a6aafd01dc03a85326c62319e35a10c5"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.buildExecutionStageWakeup (cognitive 27): issues.buildExecutionStageWakeup has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 5 (7 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":"server/src/routes/issues.ts"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"073acf2ac6b50068ed9df36560a62772e1ec0b2561472f9a8b9ab0b33570ab22"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork (cognitive 27): native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 8, ternaries 4, loops 1 (nesting depth added 2). None of this is in the body itself: all 27 points belong to 4 function literals inside it that branch (lines 94, 110, 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d2bd1b0e086b930615785d8c16f2384c82edbc2cd0ff9dca91f25af4f1184"}},{"ruleId":"D2","level":"warning","message":{"text":"CellMarquee.CellMarquee (cognitive 27): CellMarquee.CellMarquee has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 9, ternaries 6. Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 61, 84, 89, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CellMarquee.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ebe0f56cb74fd158f90973369b438f5a5b372d4fc1f08f77e93af8dc080333"}},{"ruleId":"D2","level":"warning","message":{"text":"NewGoalDialog.NewGoalDialog (cognitive 27): NewGoalDialog.NewGoalDialog has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, ternaries 8 (9 pts), if/else 5 (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 8 function items inside it that branch (handleSubmit, handleKeyDown, a function literal at line 160, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewGoalDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"017ff79a05d65d097adfd1d8c6c36339d5011b780e00a4fb31e650fb387ec65b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.parseQuestionSet.questions (cognitive 27): index.parseQuestionSet.questions has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 17 (25 pts), boolean chains 2 (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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a503e30cd38b6d38590b5b4dca07f0e99d228e1725d6da921dc6da9afd0af4a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceBaseRefRecoveryNotice.WorkspaceBaseRefRecoveryNotice (cognitive 27): WorkspaceBaseRefRecoveryNotice.WorkspaceBaseRefRecoveryNotice has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, ternaries 7 (10 pts), if/else 2, error handling 1 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceBaseRefRecoveryNotice.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed609b615f4f8ced7e5de3f48ed2a597f0b120d191f8c0c8410819667a2a2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceExportRecovery.PreviousServerStopConfirmation (cognitive 27): WorkspaceExportRecovery.PreviousServerStopConfirmation has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (18 pts), boolean chains 5, if/else 1 (4 pts) (nesting depth added 12). Of this number, 21 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1221ab373693e519add19be7a2036b4cea76fb33ea298790b6ebf1a99376ec"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskAttachmentPanel.TextAttachmentPreview (cognitive 27): TaskAttachmentPanel.TextAttachmentPreview has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (22 pts), boolean chains 5 (nesting depth added 13). 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":"ui/src/components/task-side-panel/TaskAttachmentPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c12624b1c13d289cfbc32d91284da7f90cee265430012ef8815097d458c80a6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentHistoryDialog.AgentHistoryDialog (cognitive 27): AgentHistoryDialog.AgentHistoryDialog has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 14 (23 pts), boolean chains 2, if/else 2 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-detail/AgentHistoryDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"632db8be1993b8e946fecd76ab46f45d150bd64a1caa3b327704ed3004759a3b"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.TranscriptToolGroup (cognitive 27): RunTranscriptView.TranscriptToolGroup has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 12, if/else 2 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cacb4047c1b13ec453cf110de564d02d91e8c08770552258f0909a806387dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve.resolveAgentConfiguration (cognitive 27): resolve.resolveAgentConfiguration has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/resolve.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a0ff69aa5b7e39a01b9243a62e47b3e3dda06f0f79b8548955b0e64d03282d"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceGeneralSettings.InstanceGeneralSettings (cognitive 27): InstanceGeneralSettings.InstanceGeneralSettings has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, ternaries 9 (11 pts), if/else 3 (nesting depth added 2). Of this number, 26 points are the body\u0027s own statements and 1 belongs to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceGeneralSettings.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74bc96a8416f6000dbc6da74c78e3a5d7ed9784f3ef75b88300326d64d48847"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionModelSettings.DecisionModelSettingsView (cognitive 27): DecisionModelSettings.DecisionModelSettingsView has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 16, ternaries 7 (8 pts), if/else 3 (nesting depth added 1). Of this number, 19 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":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed839ccf5a1768e7a93b9117ecfed95218abbe9a9f36e361b2a45d457bc9636"}},{"ruleId":"D2","level":"warning","message":{"text":"FastResponseSettings.FastResponseSettingsView (cognitive 27): FastResponseSettings.FastResponseSettingsView has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 17, ternaries 7, if/else 3. Of this number, 17 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee7e4a2a8c5727dddad84187c7e7994388e590c5084404637527f455089e348"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilesIndex.ProfilesIndex (cognitive 27): ProfilesIndex.ProfilesIndex has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 6, boolean chains 2 (nesting depth added 8). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 234, 189, 68, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfilesIndex.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"16161be6b8bd3eb5349584f7a5ce4e3acc15d31f6a0bea98a57dd02a32e1e7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedPanel.DangerZone (cognitive 27): AdvancedPanel.DangerZone has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 11, if/else 1 (nesting depth added 4). 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649d8b362ea7f62a513e2b9077f9d5b56b803e2e22b2cb0b851e3e2ff9f2958"}},{"ruleId":"D2","level":"warning","message":{"text":"Secrets.AgentAccessSection (cognitive 27): Secrets.AgentAccessSection has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (20 pts), boolean chains 6, if/else 1 (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b66e15eb7fdf0f33c0e16901edd12ccf813c848fe125f836d310718445e7254"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileSettings.ProfileSettings (cognitive 27): ProfileSettings.ProfileSettings has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 9, if/else 7 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 6 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":"ui/src/pages/ProfileSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d510f118e11edb2c761fd458178d92a0f95e2e40d98b7a07ef89753625a86517"}},{"ruleId":"D2","level":"warning","message":{"text":"company-export-selection.buildExportCheckedFiles (cognitive 27): company-export-selection.buildExportCheckedFiles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 6, 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":"ui/src/lib/company-export-selection.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a0ae9346ad8a7123b5857bdfd9aa506987497a6040338eecefc5b8ad2b9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.SkillCard (cognitive 27): CompanySkills.production.SkillCard has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 7, if/else 2 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49e1f3a122d43f36b78f902741e0858710f08346a22af1be9db4304cadeb395"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposioAppManager.ComposioAccountObservations (cognitive 27): ComposioAppManager.ComposioAccountObservations has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10 (22 pts), boolean chains 3, error handling 1, if/else 1 (nesting depth added 12). Most of this is not in the body itself: 7 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 55, refresh). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/ComposioAppManager.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d94c5a3540aa3c8f953c770c468939b95d0b2ed9f9defbf69c13224ef67b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxProviderSessionConfig::validate (cognitive 27): AcpxProviderSessionConfig::validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 7, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f81f55cdf3526f77ce6856427b02173045fdf98fe8bafbd0ff2cf429d54b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProviderConfig::validate (cognitive 27): CodexProviderConfig::validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, boolean chains 13. 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f0f252d03788ef1b8cb422449345f66960f505f43e959443b04c04173d7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::codex_provider::codex_question_response (cognitive 27): paperclip_runner_core::codex_provider::codex_question_response has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 3, 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4955}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d64f2bf69d01a5ac2dd11127c5ec695ea23cc1d9616f6c4d7ea38ca350520fe"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 27): (anonymous) has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 3 (8 pts), boolean chains 6, if/else 5 (6 pts), error handling 2 (4 pts), other 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":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8470d04648257fc57d76220920f4fe4d3fb15cbfb33edfb99ad7c1b14dd212"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 27): main has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 5 (9 pts), ternaries 3 (6 pts), boolean chains 2, other 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":"ui/src/artifact-directions/shot.cjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ec3a87ce9327d1f7c040755bc2ef24f3acb75385f3633128e868560d9ca62b"}},{"ruleId":"D2","level":"warning","message":{"text":"access.registerAccessCommands (cognitive 26): access.registerAccessCommands has cognitive complexity 26 (threshold 15). Drivers by points: error handling 18 (19 pts), ternaries 3 (4 pts), if/else 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 18 function literals inside it that branch (lines 175, 109, 223, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3229a208b73a2230f73fa736985faae7e1421e0ea666be98d0268540d71dd354"}},{"ruleId":"D2","level":"warning","message":{"text":"teams.registerTeamCommands (cognitive 26): teams.registerTeamCommands has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 7 (9 pts), boolean chains 1 (nesting depth added 7). None of this is in the body itself: all 26 points belong to 6 function literals inside it that branch (lines 222, 139, 73, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/teams.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6316cf349335c9a8006cd5d08584171a1ba0a1aa648936510c51ae1e4337b83f"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.quarantineSeededWorktreeExecutionState (cognitive 26): worktree.quarantineSeededWorktreeExecutionState has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4, ternaries 2 (4 pts), boolean chains 1 (nesting depth added 10). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 1288). 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a4ea412502be6fdc398110e8997f4d0c974f4d6b68b0f9d02a88c3ef82dd00"}},{"ruleId":"D2","level":"warning","message":{"text":"http2-bridge-server.wrapDuplexChannelAsNodeDuplex (cognitive 26): http2-bridge-server.wrapDuplexChannelAsNodeDuplex has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 5 (7 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 13 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":"packages/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"797be064920ce14376cfe9de7b4d636a378de63272cdd2555b75fac47729c1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.prepareGitHubExecutionEnvironment (cognitive 26): execution-target.prepareGitHubExecutionEnvironment has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 6 (7 pts), error handling 1 (2 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":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fadfa21116bd663cd7e1681c9f1ba61dda0f7f68a872c962b4628b183b7a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetPaperclipBridge.forwardBridgeRequest (cognitive 26): execution-target.startAdapterExecutionTargetPaperclipBridge.forwardBridgeRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 5 (10 pts), boolean chains 4, error handling 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed95ba1c5b612ad78beea793ad383127fcd486101de4fca9e405adda129b2951"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-seed-cache.publishWorkspaceSeedGeneration (cognitive 26): workspace-seed-cache.publishWorkspaceSeedGeneration has cognitive complexity 26 (threshold 15). Drivers by points: if/else 27 (38 pts), boolean chains 17, ternaries 6 (7 pts), loops 3, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (workspace-seed-cache.publishWorkspaceSeedGeneration::capacity) 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a61842b0044a10a7125cf10d2584cbecab09c5d37083b806d2e82ad806226fa"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.normalizePaperclipWakePayload (cognitive 26): server-utils.normalizePaperclipWakePayload has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, ternaries 11 (12 pts), if/else 1 (nesting depth added 1). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf23a90601db0bc6a38e87f90dddb6fb52df632ce8d922eb605dc8940d4d33e3"}},{"ruleId":"D2","level":"warning","message":{"text":"quota.mapCodexRpcQuota (cognitive 26): quota.mapCodexRpcQuota has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (6 pts), boolean chains 5, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"522daed178c48bc9a935147a50aa6bc601d935a1c8f276bfc6e6600485541daa"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseSdkMessage (cognitive 26): parse-stdout.parseSdkMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 6 (12 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":"packages/adapters/cursor-cloud/src/ui/parse-stdout.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9204063373048f49449a38af1e2821102478c71c5573ab3aa692d76dec58ff68"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseKimiStdoutLine (cognitive 26): parse-stdout.parseKimiStdoutLine has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 2 (5 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":"packages/adapters/kimi-local/src/ui/parse-stdout.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e21c64484033c76638983c17e68882466d24706caca192013c56193e45f6821"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.buildOpenClawGatewayConfig (cognitive 26): build-config.buildOpenClawGatewayConfig has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24 (25 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/ui/build-config.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a6300d9cda7a8c8886dc11f46a915c7f5c97314641c4f8fe9f1c5a7daf9c11"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-file-changes.toolFileChangesFromCodexChanges (cognitive 26): tool-file-changes.toolFileChangesFromCodexChanges has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12 (19 pts), boolean chains 4, if/else 3 (nesting depth added 7). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 222). 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9ee6b31b00809eacd5db51858aee156e92833243f2a2902c44c4039c09cd9e"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-events.normalizeCopilotSessionEvent (cognitive 26): copilot-events.normalizeCopilotSessionEvent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, error handling 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-events.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2ad990b7840c47b49778025d2e2654be279d48a9276f2d0eeeeb24d24160c8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-driver-values.differingJsonPaths (cognitive 26): codex-driver-values.differingJsonPaths has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (7 pts), boolean chains 5, 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":"packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f6953a20b8ecc23a5cab5ab3a9a4d20ff1f08d6a32f0f1fad3fbcccc3e46e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexSessionState.constructor (cognitive 26): CodexSessionState.constructor has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, loops 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed79297ae86995573c838b57e7abaa01c0114d01fddb1d3fe58f313e3c62849"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-runner.replayPersistedCodexEvents (cognitive 26): codex-runner.replayPersistedCodexEvents has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, error handling 1 (2 pts), 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":"packages/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"153327369566fd75afe6fd61200881ce8b1521952ad100dbbe702f2019578825"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.completeRun (cognitive 26): CapabilityMockControlPlaneAdapter.completeRun has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (11 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a307b8be644bcc8d3e009d006b8b58dc19c1f48b1e3afc5b2e391ece23af0"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#handleDecryptedFrame (cognitive 26): DurablePrpControlPlane.#handleDecryptedFrame has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 6 (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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5cede3fe2f5ca32ad1eb68e44d4aee10669560a7724f1a5123f33c5dc05a66"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-provider-launch.createRunnerdCodexAppServerArgs (cognitive 26): runner-provider-launch.createRunnerdCodexAppServerArgs has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 8, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"282fda25e18ebb019f61bebe07b44cd6065f8cdd70f5caba0cdb7c65167c5ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-binary.runnerBinaryTarget (cognitive 26): runner-binary.runnerBinaryTarget has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (17 pts), if/else 5 (6 pts), boolean chains 3 (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/paperclip-runner/src/live/runner-binary.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"be09370f6134e11e926b699707575160a617c2607c7114e1da6e42321009b672"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-http-endpoint-guard.isPrivateOrReservedIpv4 (cognitive 26): remote-http-endpoint-guard.isPrivateOrReservedIpv4 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, boolean chains 11. 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":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"849cc5db5098e3a20b8c1492f6a34bd7789c42f8121c9b25b952c1e959820ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.createSecretUnlocked (cognitive 26): secrets.secretService.createSecretUnlocked has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, error handling 3, ternaries 3 (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":"server/src/services/secrets.ts"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf328bee888c7deeda6aa84679c2cc00af68fd8a8e98b1ef4b6ba40dec0de2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.completeClaudeOAuthUserSecret (cognitive 26): secrets.secretService.completeClaudeOAuthUserSecret has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, 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":"server/src/services/secrets.ts"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"93854a000fe25254c4bbd3a3fef0c43911aa2f8d34f90eb0cbd2ea73a438cac1"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.importRemoteSecrets (cognitive 26): secrets.secretService.importRemoteSecrets has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (5 pts), boolean chains 3, ternaries 1 (3 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":"server/src/services/secrets.ts"},"region":{"startLine":4491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4ddd3d0e0dc7a7eee3ebbf9024d989df9dfeb38ab7d24f3630556a27a0c137"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.collectMissingRuntimeBindings (cognitive 26): secrets.secretService.collectMissingRuntimeBindings has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). Of this number, 18 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":"server/src/services/secrets.ts"},"region":{"startLine":5382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1955d21ba96f75ec1af287a9e451978afd2416a7b80b3609697e6dbc799fc085"}},{"ruleId":"D2","level":"warning","message":{"text":"file-crypto-pool.fileCryptoWorker (cognitive 26): file-crypto-pool.fileCryptoWorker has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 3 (5 pts), boolean chains 2, error handling 2, loops 2 (nesting depth added 7). None of this is in the body itself: all 26 points belong to 5 function items inside it that branch (pump, run, writeAll, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/file-crypto-pool.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e098db597f6219f8e429dccf79e77cf43d852f084bdae95e43891ee23b50791d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-lifecycle.parseGitHubLifecycle (cognitive 26): chat-provider-lifecycle.parseGitHubLifecycle has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 5 (7 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57803debc5f0ca7e0e42dd3b0ca28e1fb930fc10a2f6d0d69eafab5a65f0437"}},{"ruleId":"D2","level":"warning","message":{"text":"object-run-log-store.createObjectRunLogStore.admit (cognitive 26): object-run-log-store.createObjectRunLogStore.admit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, loops 2 (3 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"246e5f2b7fc423600e9bc566a4fb9dbef0b7debf9e45341a5bc8d0dd357abe86"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-tree-control.issueTreeControlService.restoreIssueStatusesForHold (cognitive 26): issue-tree-control.issueTreeControlService.restoreIssueStatusesForHold has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 6 (8 pts), boolean chains 2 (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"25410501a7e23363422cfdcde0725982865936552e7177e50ecb333004f4e923"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.assertReproducibleFetchHead (cognitive 26): git-workspace-restoration.assertReproducibleFetchHead has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, loops 3, ternaries 1 (2 pts) (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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c4c4694f0cfbaddce35ef42fc7138d9996c3fab47d73eff1b14f06f31eab7e"}},{"ruleId":"D2","level":"warning","message":{"text":"nested-clone-migration.planRefs (cognitive 26): nested-clone-migration.planRefs has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (9 pts), boolean chains 3, 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea0b79e08f1ae19e77d654b378c9203d83d43745c7873313d5b0a728b9d5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-review-interruption.toolReviewInterruptionService.sweep (cognitive 26): tool-review-interruption.toolReviewInterruptionService.sweep has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 4 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 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 31). 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":"server/src/services/tool-review-interruption.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e6e7630a6b4790f7530a2a9af1009b54356ca9fad844f46b098f0781880ec"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-review-recovery.prepareApprovedToolReview (cognitive 26): tool-review-recovery.prepareApprovedToolReview has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 4 (10 pts), boolean chains 4 (nesting depth added 8). None of this is in the body itself: all 26 points belong to 2 function literals inside it that branch (lines 22, 33). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-review-recovery.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"be513fa900573f14dfcf0b44ed679385abe003c65bf11945444593ef2a2b4cac"}},{"ruleId":"D2","level":"warning","message":{"text":"budget-resume-continuation.deliverOne (cognitive 26): budget-resume-continuation.deliverOne has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 5, ternaries 1 (3 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":"server/src/services/budget-resume-continuation.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1cdf7b10817725687b0e2d2d21743f028f9a51373fd69f2ef77c406f898406"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync::visit (cognitive 26): native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync::visit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync) 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bbdf22ea364d90dde3028722456980a568c09c7307c5fdfed7260456f82a62"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-store.skillPackageStore.restoreInto (cognitive 26): skill-package-store.skillPackageStore.restoreInto has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-store.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f96ff968f2bebb66d2c5099ccb8cfacbf28d91eac1a42872f38efd6bc53b575"}},{"ruleId":"D2","level":"warning","message":{"text":"ownership-invariant-report.settleKind (cognitive 26): ownership-invariant-report.settleKind has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, loops 3 (4 pts), ternaries 1 (nesting depth added 6). Of this number, 22 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f372350ef61e33d2a05dd928e5b3cd6b5ebc0c4a35a44aa111e1517e44196e7"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-elicitation.elicitationContent (cognitive 26): mcp-elicitation.elicitationContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (5 pts), boolean chains 4, 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"30482865f06e66b832b3e8c0fa3696fd4fd80a41e25754eab4cb05b2210b6167"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.reflectToolActionInteractionLifecycle (cognitive 26): tool-gateway.createToolGatewayService.reflectToolActionInteractionLifecycle has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 8, boolean chains 5 (nesting depth added 6). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 2580). 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"207d5a6bec9e93f2b73e065c58e4b8a6cbcc3964e212ce7fd88cb6e3f3136aed"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.reopenClosedIsolatedExecutionWorkspaceForIssue::reopen::reopenSource (cognitive 26): execution-workspaces.executionWorkspaceService.reopenClosedIsolatedExecutionWorkspaceForIssue::reopen::reopenSource has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, error handling 4 (6 pts), ternaries 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2a0f2c8fadcee26ff1c483a8eabfd33b11367529eaea907510dcb451e20649"}},{"ruleId":"D2","level":"warning","message":{"text":"explicit-native-continuation.readTaskRetryRetryAuthority (cognitive 26): explicit-native-continuation.readTaskRetryRetryAuthority has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8, ternaries 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a7ad73ef137966cdd7acd1f914f6f4b116acf6bdc81377baab26afe659031"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.gatewayConnectionIds (cognitive 26): run-preparation.gatewayConnectionIds has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8efee2679cb5809b4dad36f3e786f5cf3308111e33792f04d8f541a17b1463a"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-invariant.evaluateAssignedWork (cognitive 26): assigned-work-invariant.evaluateAssignedWork has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 10, ternaries 2 (3 pts) (nesting depth added 2). Of this number, 20 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8cdef8613965d863e0638288977c3cd85b495b38982dd0163fdfcfc2bb99c7"}},{"ruleId":"D2","level":"warning","message":{"text":"fast-response-provider.fastResponseModel (cognitive 26): fast-response-provider.fastResponseModel has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 7, boolean chains 6, loops 1 (2 pts) (nesting depth added 6). Of this number, 22 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":"server/src/services/fast-response-provider.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb64418f8dd6d461ab0ec5b91a6abf140ad64264fcdd8202a576a00483cf02a"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.loadStalenessFacts (cognitive 26): postgres.createPostgresRunDispatchAdapter.loadStalenessFacts has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, ternaries 8 (9 pts), if/else 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd703248b317f1122d03e838abb4510a2c236d409d17d49325e64c3da26ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-receipts.createRunUsageRecorder.capture (cognitive 26): usage-receipts.createRunUsageRecorder.capture has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, ternaries 2 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 8). 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816d2bfe3f71d2d20b7a41d007f93a95ccda82d7f74e3e5c8a9c79752bfc0be"}},{"ruleId":"D2","level":"warning","message":{"text":"use-cases.runReleaseRecoveryTail (cognitive 26): use-cases.runReleaseRecoveryTail has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (8 pts), if/else 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce47975953b957de6e26f970d18bc405f810d50a0f003d96c9ee9d856c1ded82"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.listCandidates (cognitive 26): workspace-file-resources.workspaceFileResourceService.listCandidates has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, loops 1 (2 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b93c816a45ece3a2a6d490ec18ea21f4df3708308270fec8e1fae97de0615c3"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-mode.resolveNativeRuntimeMode (cognitive 26): runtime-mode.resolveNativeRuntimeMode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8, 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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"14643c189df0e9a9552dc6694207cad73fae3d239b0762876a62d1124201c753"}},{"ruleId":"D2","level":"warning","message":{"text":"obsolete-policy-reviews.dismissCandidates (cognitive 26): obsolete-policy-reviews.dismissCandidates has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (8 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 78). 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":"server/src/services/native-runtime/obsolete-policy-reviews.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6db6f3669c139bb4bc91f17e4ccbde1b604b748456a01d87e4748a6d3766f89"}},{"ruleId":"D2","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.finalizeIssueCommentPolicy (cognitive 26): run-lifecycle.createHeartbeatLifecycle.finalizeIssueCommentPolicy has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 5 (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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6f33b5932ab4d8eed9373f0515f0f62615eb93585f8ac6494b9db2657e4682"}},{"ruleId":"D2","level":"warning","message":{"text":"native-usage-accounting.createNativeTurnAccounting.observe (cognitive 26): native-usage-accounting.createNativeTurnAccounting.observe has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7606f1324deaced90bfcda59294ba40aa9112ff10c8d7284c2bfd027d98d115"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-execution.executeHeartbeatRuntime::completeWorkspace (cognitive 26): runtime-execution.executeHeartbeatRuntime::completeWorkspace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (6 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (runtime-execution.executeHeartbeatRuntime) 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5a73cd08d5f263e58acc91221d0d9286d224f068bb5cf3b9946ef63cda7fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-attachment-reuse.principalAuthorized (cognitive 26): chat-attachment-reuse.principalAuthorized has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 7 (10 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). Of this number, 22 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"70caaeb9e4c9e04fcf16f1bc6388ade50d393e070774fff99947ff988bcb66dc"}},{"ruleId":"D2","level":"warning","message":{"text":"preparation.createChatPublicationPreparation.ensureDurablePublicationTransport (cognitive 26): preparation.createChatPublicationPreparation.ensureDurablePublicationTransport has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 3 (6 pts), boolean chains 4 (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 82, 107). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/preparation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88aada00c4f3b0f512300461d9a8b85c116b959cf6733d0aeb52b08f31c348b"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.decide (cognitive 26): voice-inbound-service.voiceInboundService.decide has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 4 (6 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 229). 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"83642f599cdb77c4b6699f39c72d3d568c9157e10953dc25d7a246dd35e04060"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.createTelegramMaintenance.repairTelegramStopSubscription (cognitive 26): maintenance.createTelegramMaintenance.repairTelegramStopSubscription has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 3 (6 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 3 function items inside it that branch (request, a function literal at line 812, plainObject). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dac412ec706ad9f8f7a1ecd1065bc90e114107edafc9d5f81a6f88313bd368"}},{"ruleId":"D2","level":"warning","message":{"text":"resources.githubRepositoryInventoryItemFromPayload (cognitive 26): resources.githubRepositoryInventoryItemFromPayload has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 10, if/else 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/resources.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8d60b4de4932ccd3690beb8c148b37ee953412083ec16d0e4604ebf7248f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-transport.captureReadOnlyWorkspaceArchive (cognitive 26): remote-workspace-transport.captureReadOnlyWorkspaceArchive has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (11 pts), boolean chains 8, if/else 5 (6 pts), error handling 1 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c24f1e6656fcf6d5da31eea92c2dc5d7b09c062f86252e1494cb4d0fda772"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.createConnectionIntent (cognitive 26): issue-thread-interactions.issueThreadInteractionService.createConnectionIntent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 4 (5 pts), loops 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 6 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 3022, a function literal at line 3050, sameSavedSetup, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbba241a22b600703574a54e114f098268027b82548df0faff4ace7be035327"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-commentary.submitAgentCommentary (cognitive 26): agent-commentary.submitAgentCommentary has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 39). 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":"server/src/services/agent-commentary.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8363af9e9e29d6566638c197f60c9055844723339ac5a2a3f79ae15cad3713b"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#callApi (cognitive 26): PaperclipRunnerToolAuthority.#callApi has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6, ternaries 4 (5 pts) (nesting depth added 2). Of this number, 15 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba8c8bea28e92412acb5d150e3acae32a318ac839ef21d099ced0bd1f8e7de3"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#projectMuseDocumentContent (cognitive 26): PaperclipRunnerToolAuthority.#projectMuseDocumentContent has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 10, ternaries 4. 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 2840, a function literal at line 2823, a function literal at line 2836, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a4e7afed02d5ffafbe0eae837655619c7d1e4fefc07ee3a583919d2690c16e"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoff-lifecycle.completeTerminalCaseHandoffsForIssue (cognitive 26): case-handoff-lifecycle.completeTerminalCaseHandoffsForIssue has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 7 (9 pts), boolean chains 4, error handling 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"994c5cc5500977cc4ee367a920c539531214f3517fc76420cf76f60558528cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.forward (cognitive 26): native-broker.createNativeExternalBroker.forward has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1 (nesting depth added 7). Of this number, 17 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0692def2f29241d4eb8ead46b9c2a6eafc9bf872901c5768ad77dc460c3ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"dot.createBroker.requestTurn (cognitive 26): dot.createBroker.requestTurn has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 4 (5 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e445af5ce45ddfda626615567f3232cf749dfa390772dde70b4636580dbe21"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-contract.projectAcpxFixture (cognitive 26): protocol-contract.projectAcpxFixture has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, loops 1, ternaries 1 (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":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c722f7ee86a36ff387e8da7b31dbfcf6fac56b01ceca7c564b37dfc2cd9ed590"}},{"ruleId":"D2","level":"warning","message":{"text":"installation-integrity.verifyQualifiedRuntimeExecutable (cognitive 26): installation-integrity.verifyQualifiedRuntimeExecutable has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 4 (8 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":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd7d675581a2294395442f7f034954b6404525815933a07f737c9277087907a"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-testops.projectResults (cognitive 26): runner-protocol-testops.projectResults has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (11 pts), if/else 4 (nesting depth added 4). 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 literals inside it that branch (lines 162, 197, 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":"packages/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a022763c8b932e30bbac4fef371e9bc64449a1994a89c03ec8d780da5261fd"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-instructions.createCursorInstructionAdmission.createGuard.\u003Creturned closure\u003E (cognitive 26): cursor-instructions.createCursorInstructionAdmission.createGuard.\u003Creturned closure\u003E has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 7, 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/paperclip-runner/src/drivers/acpx/cursor-instructions.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5979fd5b7a31e643bc4ab96a75dd61eaf2c997fc9be6e2d05be36eb05b46a8"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets.cursorCloudInlineInstructions::bundle::visit (cognitive 26): inline-assets.cursorCloudInlineInstructions::bundle::visit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, ternaries 2 (3 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/paperclip-runner/src/drivers/cursor-cloud/inline-assets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"162d3b6bbb8cb58d5f1193a25412cac7059a47f351bba85266c0da9a49338bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"PiToolIdentities.normalize (cognitive 26): PiToolIdentities.normalize has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 7, if/else 5 (6 pts) (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1850972b0ae8a7b04cfd3c0dcd468a36c8f7c018c468db7c7a1a12eb7511351"}},{"ruleId":"D2","level":"warning","message":{"text":"core.paperclipProfileIncludesIssue (cognitive 26): core.paperclipProfileIncludesIssue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7672cc6c0f0657f97ce2c2256f4e97a1bf66d2d8f9ec3895afef1e06a644d6"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.assertTarballEntriesConfined (cognitive 26): file-sync.assertTarballEntriesConfined has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, 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/plugins/sandbox-providers/kubernetes/src/file-sync.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf95bc88a60e5e5c3c158729c06fd65af711a1ca425b5e63049d5cf64cf6fa2"}},{"ruleId":"D2","level":"warning","message":{"text":"capabilities.createPublicMcpExecutor.\u003Creturned closure\u003E (cognitive 26): capabilities.createPublicMcpExecutor.\u003Creturned closure\u003E has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 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":"server/src/services/public-mcp/capabilities.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40dcc27d777823013ebeb9ec23f2eb9b3541fdf4366c53176f751d700137e16"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-management-authz.filterConnectionManagementPolicies (cognitive 26): connection-management-authz.filterConnectionManagementPolicies has cognitive complexity 26 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 5 (10 pts), ternaries 1 (2 pts) (nesting depth added 13). 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, 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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"48827720898da3ec8c1774432c470aedccb1eb829bc2e7bce066ab3b0971d60a"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-apps.mcpAppsRoutes (cognitive 26): mcp-apps.mcpAppsRoutes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, ternaries 3 (4 pts), error handling 2 (nesting depth added 2). None of this is in the body itself: all 26 points belong to 7 function items inside it that branch (a function literal at line 110, viewerWhoMayComment, 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":"server/src/routes/mcp-apps.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dd4db97ce312c31a3dd27c866f17d977b3a7b71e87bbb681c1e91a808e9a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::lookupLowTrustSourceArtifact (cognitive 26): issues.issueRoutes::lookupLowTrustSourceArtifact has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::classifySourceRecoveryRevalidation, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":4388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceff99595c1a2e5f6a0f4ebd21ed2b826a8ec5e9fcec7a2fb14474271be5d669"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::assertInReviewReviewPath (cognitive 26): issues.issueRoutes::assertInReviewReviewPath has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 5 (7 pts), boolean chains 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":4873}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d8c3713b827a4a5b1ac5d4b38be33eeb5b8de6774ccb6ce13aa1799ce2931f"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionRoutes (cognitive 26): decisions.decisionRoutes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3, ternaries 3, loops 2 (nesting depth added 3). None of this is in the body itself: all 26 points belong to 9 function literals inside it that branch (lines 59, 165, 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":"server/src/routes/decisions.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d027f0d5e643f64abc1313025acdf5e94751ee1d36532f31d3ff64970194255"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-installation-maintenance.skillInstallationMaintenance.verifyVersions (cognitive 26): skill-installation-maintenance.skillInstallationMaintenance.verifyVersions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 5, ternaries 3, 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"11858ff586a8666c3890bcc05ab69a770cad9071146cbfc10b38a8cb39b783ef"}},{"ruleId":"D2","level":"warning","message":{"text":"access.extractHeaderEntries (cognitive 26): access.extractHeaderEntries has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (12 pts), loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c5a557ac6754be8a707a4562d250244ad793cde8521c50b328271875351108"}},{"ruleId":"D2","level":"warning","message":{"text":"access.isPrivateOrReservedIpv4 (cognitive 26): access.isPrivateOrReservedIpv4 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, boolean chains 11. 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":"server/src/routes/access.ts"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89b340615d6a422344991221f9182f30c7b433b92e17971367d7e80dc45ca4e"}},{"ruleId":"D2","level":"warning","message":{"text":"status-card-idle-schedule.projectIdleStatusCardSchedule (cognitive 26): status-card-idle-schedule.projectIdleStatusCardSchedule has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 10, 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":"server/src/services/status-card-idle-schedule.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2ae24bb8e432aaedda359b9029e48d3a0251b1a532b5ea52709766430d872"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-bundled-package-digest.cloudBundledPackageDigest::walk (cognitive 26): cloud-bundled-package-digest.cloudBundledPackageDigest::walk has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-bundled-package-digest.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6568b1e212b26035ef238b4bdcc0dfdf26d8772a1920720262f97627a847ef7"}},{"ruleId":"D2","level":"warning","message":{"text":"angle-bracket-markdown.transformAngleBrackets (cognitive 26): angle-bracket-markdown.transformAngleBrackets has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 13). 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":"ui/src/lib/angle-bracket-markdown.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"15001dbd341d0f3f767b54a3a2f91b6e6a32afb4817656dd39bc51b0e95a467b"}},{"ruleId":"D2","level":"warning","message":{"text":"useBackgroundSubmitQueue.useBackgroundSubmitQueue (cognitive 26): useBackgroundSubmitQueue.useBackgroundSubmitQueue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 4 (5 pts), error handling 2, loops 2 (nesting depth added 3). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 78, 98, 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":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1961829aad298f209fcdbbea979f8d409b38586d0c21560871a80d68e3b0f2a4"}},{"ruleId":"D2","level":"warning","message":{"text":"task-status-presentation.blockedAttentionLabel (cognitive 26): task-status-presentation.blockedAttentionLabel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, 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":"ui/src/lib/task-status-presentation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3bbb1bc6e68d0719a119a3350ab6e399f3c2b90d07ebbd830c1533eae3b88"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConversationsSidebar.AgentConversationsSidebar (cognitive 26): AgentConversationsSidebar.AgentConversationsSidebar has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 9 (10 pts), if/else 4 (5 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 20, 32, 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":"ui/src/components/AgentConversationsSidebar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6a0410c828d89a33c02b77934e7c8f597576c9ebc9856d2a5b72f80e23c942"}},{"ruleId":"D2","level":"warning","message":{"text":"useLocalAiLogin.useLocalAiLogin (cognitive 26): useLocalAiLogin.useLocalAiLogin has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (9 pts), ternaries 3 (4 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 51, 30, 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":"ui/src/components/ai-connections/useLocalAiLogin.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c52958bcd0aea6cd9235bff6ba08d0b345a22929486d5fae9b9aa764a98d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"DotRunnerConnection.DotRunnerConnection (cognitive 26): DotRunnerConnection.DotRunnerConnection has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 20, if/else 3, ternaries 3. Of this number, 19 points are the body\u0027s own statements and 7 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":"ui/src/components/DotRunnerConnection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"877aaaa69e67a78c0d71ca64acb4f4688fdf4b75a891c8091d9eeb7113092247"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskListColumns.SortableColumnHeader (cognitive 26): TaskListColumns.SortableColumnHeader has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 5, if/else 2 (4 pts) (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskListColumns.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"492e25a8e257489f2ce9b0e51851715619509da1e85d8849fe368403fa829e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning-summary.reasoningSummarySections (cognitive 26): reasoning-summary.reasoningSummarySections has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 11). Of this number, 23 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":"ui/src/components/task-chat/reasoning-summary.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc16c1625ccbc2189247f6daae1c767ed3fade761c711a69a3aabbd9c9173588"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-chat-messages.buildIssueChatMessages (cognitive 26): issue-chat-messages.buildIssueChatMessages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 6, boolean chains 3, ternaries 1 (2 pts) (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725a1e248a3d39aa72e19a86ddbf1a5db61433dd91c099f9af32f22cb43a510"}},{"ruleId":"D2","level":"warning","message":{"text":"runRetryState.describeRunRetryState (cognitive 26): runRetryState.describeRunRetryState has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (21 pts), if/else 3, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/runRetryState.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"42895f22e501103fec69ed2e202d8a786134b150c9bdbffc07b7c057ac8ca699"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatLiveRunPill.TaskChatLiveRunPill (cognitive 26): TaskChatLiveRunPill.TaskChatLiveRunPill has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 8, if/else 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":"ui/src/components/task-chat/TaskChatLiveRunPill.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb86c038871718b61054b5883b682fddfd26cb4f2d4bdb7ada87f62881f4e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTree.parseFrontmatter (cognitive 26): FileTree.parseFrontmatter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, 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":"ui/src/components/FileTree.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8f1a23e4c95a0f1ecac1cf2224578ff5a0327b662432b4be25aab999a0c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregatorAppManager.AccountObservations (cognitive 26): AggregatorAppManager.AccountObservations has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (21 pts), boolean chains 5 (nesting depth added 10). 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 50, 38). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AggregatorAppManager.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf210639177665fd8835f796df021ad03c0809431b4a32c448d41b1004493a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"InboxAgentPolicyControl.InboxAgentPolicyControl (cognitive 26): InboxAgentPolicyControl.InboxAgentPolicyControl has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 6, if/else 4 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InboxAgentPolicyControl.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d91fe7e500555587061bc51f19d6dcf10ac4cf91acacbda3c7384909e1a14"}},{"ruleId":"D2","level":"warning","message":{"text":"IssuePrivacyActions.IssuePrivacyActions (cognitive 26): IssuePrivacyActions.IssuePrivacyActions has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 7, if/else 2 (nesting depth added 7). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuePrivacyActions.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bea37b0c983e8e88bd895877748d6b75f5c32ac07f4874c29bddf941dd535e"}},{"ruleId":"D2","level":"warning","message":{"text":"SpekoIncomingCalls.SpekoIncomingCallCard (cognitive 26): SpekoIncomingCalls.SpekoIncomingCallCard has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 5, if/else 3 (4 pts) (nesting depth added 10). Of this number, 21 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":"ui/src/components/voice/SpekoIncomingCalls.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a1473ec9801c01449b510661f6cebdb38b04578014c078175c54f86f4ca857"}},{"ruleId":"D2","level":"warning","message":{"text":"useBrowserViewport.useBrowserViewport (cognitive 26): useBrowserViewport.useBrowserViewport has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 15, if/else 9, ternaries 2. None of this is in the body itself: all 26 points belong to 12 function literals inside it that branch (lines 110, 164, 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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"19509c92638422a602eeaad922e3e80ebb74f91502c95c4b56b462c96f8f1d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetup.ConnectionSetup::connect (cognitive 26): ConnectionSetup.ConnectionSetup::connect has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (20 pts), if/else 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. This shape REPEATS in the file: one other method here (ConnectionSetup.ConnectionSetup) 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcff010234c6d62d0629d8678105e4f7b4f5e8b6ec20a111d417da6206d89c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::start_turn_with_options_and_effort (cognitive 26): CodexProvider::start_turn_with_options_and_effort has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 4, loops 2 (3 pts), match/switch 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e64be124fd2368d3aaec8fc514e6403d13f6ffb414944943b93388c7c038017"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderToolBridge::validate_recovered (cognitive 26): ProviderToolBridge::validate_recovered has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, loops 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/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04774ff1172c6760d2cd43d6ef211b7984caf5c6c290e9c4f6166dfdd10f594"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh.parseSshRemoteExecutionSpec (cognitive 25): ssh.parseSshRemoteExecutionSpec has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11, boolean chains 9, if/else 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"986aa15449adab81d647700bca4f35bef61e611a0940480f0beb459a69fdc948"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-restore-merge.mergeDirectoryWithBaseline (cognitive 25): workspace-restore-merge.mergeDirectoryWithBaseline has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 3, ternaries 1 (nesting depth added 7). 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 772, 794). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"c283fa014b5c17cfab9e4d9aaa46f1d371440dc7c23629ef98e898f7c4e384f4"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.parseCodexProvidersConfig (cognitive 25): runtime-config.parseCodexProvidersConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (6 pts), boolean chains 4, error handling 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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8c1db30adafd8280b6af87869bf1278c09cebb726748a62d37270ee501147f"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.ensureCodexSkillsInjected (cognitive 25): execute.ensureCodexSkillsInjected has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 3 (8 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6cea59e57c64c1bc6828f33725146fdeb6f50a5fa214d23687cd9b0cf57d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"acp.testGeminiAcpEnvironment (cognitive 25): acp.testGeminiAcpEnvironment has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 4, if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f2d407aace87213050c475f031a75fe20565a20b4932a1f4ab70bb994eb9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.preparePiRuntimeConfig (cognitive 25): runtime-config.preparePiRuntimeConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 4 (9 pts), loops 2 (4 pts), boolean chains 2, 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":"packages/adapters/pi-local/src/server/runtime-config.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5562261bd5fd29b29b512a489ad91242f599ba1a9701cbbe18d7de3d6ec82f"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestCard.RequestCard (cognitive 25): RequestCard.RequestCard has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 4, if/else 2 (nesting depth added 8). Of this number, 14 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":"packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b710da88a2387ac2d08b1723a86427b7813967a6e2cde32a6663cad0bcd04940"}},{"ruleId":"D2","level":"warning","message":{"text":"native-execution.buildNativeModelEnvelope (cognitive 25): native-execution.buildNativeModelEnvelope has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 10, if/else 3 (nesting depth added 5). 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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2b55d81e95092bbeba75788b7669b657e9857ad5ad92db2d300c979282dd93"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-diff.diffPaperclipWorkspace (cognitive 25): workspace-diff.diffPaperclipWorkspace has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 5 (9 pts), loops 3, boolean chains 2 (nesting depth added 9). 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":"packages/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d100b0b8321d092b9a9f6f6fd5e705208484b245baf3d9d8f508b82ad9d8a91"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#recoverPendingSemanticInputsOnce (cognitive 25): DurablePrpControlPlane.#recoverPendingSemanticInputsOnce has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc4c2601dc6bb44e8e48128292c0c75f335835f55c6185168e1ee244718c5b5"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.runnerdPendingTurnStartFailure (cognitive 25): runnerd-codex-transport.runnerdPendingTurnStartFailure has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 2 (4 pts), boolean chains 3, 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d688dd4b2dce27aa95dec99fb0d419925cfe3041a097b647d7a868801958da2"}},{"ruleId":"D2","level":"warning","message":{"text":"Composer.Composer (cognitive 25): Composer.Composer has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 6, if/else 3 (4 pts), error handling 1 (nesting depth added 6). Of this number, 18 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/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"918ad51e0f88e7c9eb047646d9a1a684e8377c022323670f4c0ddeb8c3aa9eef"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-cursor-distribution.cursorDistributionClosure::walk (cognitive 25): materialize-cursor-distribution.cursorDistributionClosure::walk has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, 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/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfefc38fdfadc987b24752f1fa14f0ea005f2f0672ad743bc3e17096be582a07"}},{"ruleId":"D2","level":"warning","message":{"text":"forbidden-imports.findSpecifiersInFiles (cognitive 25): forbidden-imports.findSpecifiersInFiles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, loops 4 (7 pts) (nesting depth added 6). 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 (visit, add, a function literal at line 63). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ca489e887df65b50f4d0e76fd0325ad6099b30d7bb0dfe7be7d9a48f7e97d7"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-apps.readMcpAppResource (cognitive 25): mcp-apps.readMcpAppResource has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (9 pts), boolean chains 6, 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/shared/src/mcp-apps.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58c5377239ed65bc8525eaedff51dfcb42ca0ece02cfe0e389140ed041d6134"}},{"ruleId":"D2","level":"warning","message":{"text":"run-cancellation.cancellationResultJson (cognitive 25): run-cancellation.cancellationResultJson has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 6 (7 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":"server/src/services/run-cancellation.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"11036940c0e5a2868b3086a3edbbc1122a339ac970789b82e16e5c1af76ff542"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.escapedQuotedValueEnd (cognitive 25): redaction.escapedQuotedValueEnd has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, loops 2 (3 pts), 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":"server/src/redaction.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a821d03b3f7aa0b5ebd8aac72362cdf78b2c247d77c31f38184dd5a3a43364c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-telegram-rich-intake.normalizeTelegramRichMessage::media (cognitive 25): chat-telegram-rich-intake.normalizeTelegramRichMessage::media has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (9 pts), if/else 5 (6 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. This shape REPEATS in the file: one other method here (chat-telegram-rich-intake.normalizeTelegramRichMessage::block) 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":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f235d8f002657ca9ad2bbe4690b110f80d297c88ae997adee8224b405ea17324"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-file-consent.installTeamsFileConsentHook (cognitive 25): chat-teams-file-consent.installTeamsFileConsentHook has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 820). 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6ecb989748e41a653c90a1660c7b71045122aefeefc38b838424d0ff2bc176"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSdkEndpointRuntime.attachmentRecoveryDescriptor (cognitive 25): ChatSdkEndpointRuntime.attachmentRecoveryDescriptor has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 9, if/else 5 (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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"012825cf1518a22cc6e88057ced5fd058b06aa17ef11036d182c3d2e3b2568ac"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretResolutionErrorCode (cognitive 25): secrets.secretResolutionErrorCode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 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":"server/src/services/secrets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"099880eaf23fffa42c29a21eb80a6e86b8fd38b74f1a31b19cab6d5cc3afc5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree-config.atomicWriteFile (cognitive 25): worktree-config.atomicWriteFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (6 pts), error handling 2 (4 pts), boolean chains 3, 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":"server/src/worktree-config.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b260a85095f4d491ba5e7441c9274a7e078e28c31798333a77e45680ff1d6754"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-workspace-restore-recovery.preserveLegacyWorkspaceRestoreSources (cognitive 25): legacy-workspace-restore-recovery.preserveLegacyWorkspaceRestoreSources has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 6, 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":"server/src/services/legacy-workspace-restore-recovery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"add6057d0ef6c9326f5fd82f3692ba89da00a4f4566b0cc333d5ee23f8793986"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-credentials.writeConnectionCredential (cognitive 25): connection-credentials.writeConnectionCredential has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-credentials.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07e505a7e7eb629cff7c8d5f3025248f26d3f1d1a5fa0e863f2a474e0fa429f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.supabaseClient.invoke (cognitive 25): index.supabaseClient.invoke has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4be19f5bb882aaa150fe784182db0ee84c92722cda2a3fe2461c1f9b126a76"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.classifyWorkspaceRestorationError (cognitive 25): git-workspace-restoration.classifyWorkspaceRestorationError has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 4 (6 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"812176d2ec2f897c3ab05be3b6e9f416708f7bb0d59999746618fcd8481c0588"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.browseProjectWorkspace (cognitive 25): company-skills.companySkillService.browseProjectWorkspace has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 9, boolean chains 5, loops 1 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":5162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb66603e965c801f6828bcc5c0ae7cc883d0667259f4a771d69001985ea7de56"}},{"ruleId":"D2","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.resolveIncident (cognitive 25): budgets.budgetServiceInTransaction.resolveIncident has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 4 (6 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":"server/src/services/budgets.ts"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a3ccfda3ee775ec08428578d8e8bedfbbb19d7e24ab8e0001c0e8be2151514"}},{"ruleId":"D2","level":"warning","message":{"text":"review-check-state.githubReviewCheckState (cognitive 25): review-check-state.githubReviewCheckState has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 7, if/else 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/review-check-state.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c59f4d112dd563891c00179c17e705a839b974f3ee30a94c23a7d01df49745"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-run-publications.safeMilestoneText (cognitive 25): chat-run-publications.safeMilestoneText has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (22 pts), if/else 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-run-publications.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"13144468ba912079b25c857ca539c1f973945246c35886c955ffb7cdb182fd61"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-mcp-tools.createAssignedMcpTools (cognitive 25): assigned-mcp-tools.createAssignedMcpTools has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 14, ternaries 7 (9 pts), loops 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (assigned-mcp-tools.createAssignedMcpTools::search) 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cb15b321adeba31e8759774557357bc2bfc42fe5b3bd41e60458934d61ba01"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.connectedMcpToolsForCompany (cognitive 25): tool-gateway.createToolGatewayService.connectedMcpToolsForCompany has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, ternaries 8 (9 pts), if/else 3 (nesting depth added 1). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1752, 1781, 1691, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e0384d8724efaf33dec201844a226de869a852061248b9dafb921670a53dec"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.planMcpTaskInput (cognitive 25): tool-gateway.createToolGatewayService.planMcpTaskInput has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7366}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e3bfb9c4dd128c3fa69639b493032a4d62a3a40aea98078c98bae98ee89b19"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-ai-credential-writeback.syncManagedAiCredentials (cognitive 25): managed-ai-credential-writeback.syncManagedAiCredentials has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 10 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":"server/src/services/managed-ai-credential-writeback.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429355eb5500f44e347678924809a6c3d1d176d68baf17e68415398e1a9f1db"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.adopt (cognitive 25): agent-directory-working-copies.agentDirectoryWorkingCopyService.adopt has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (8 pts), ternaries 3, error handling 1 (nesting depth added 1). Of this number, 21 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbcc033c6336b64e793d11897d09d28eccee97c605d395d9064c274df27b98b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-working-copies.agentDirectoryWorkingCopyService.collectStopped (cognitive 25): agent-directory-working-copies.agentDirectoryWorkingCopyService.collectStopped has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 9, error handling 1 (2 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, 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7b15ce97772e37bb9322c5a3613afc800232e3566961682f06786d6509adda"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.managedAgent (cognitive 25): connection-intents.connectionIntentService.managedAgent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ef6295c5d869461baf56dba7711434b0340e9406a66c64baea7737d02b6e22"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestForQueuedAgentSetup (cognitive 25): connection-intents.connectionIntentService.requestForQueuedAgentSetup has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 2 (4 pts), boolean chains 3, 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af32380c149a03d6ed23f5ca0452eca09bff19b9c8b5cc21417baf1b203239"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.decideReleaseRecovery (cognitive 25): policy.decideReleaseRecovery has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, ternaries 2 (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":"server/src/modules/wake-queue/domain/policy.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d318a7a5fa7a0fc35a40cd4d19bd0ad1200ffd519d8e306f5bcf7f79dda936"}},{"ruleId":"D2","level":"warning","message":{"text":"use-cases.promoteDeferredWake (cognitive 25): use-cases.promoteDeferredWake has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 10, 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8a7c503309399bc2661f74fb81e95b5bfd67f96659625b96b8748325a3fdc8"}},{"ruleId":"D2","level":"warning","message":{"text":"publication-replacement.createChatPublicationReplacement.inboundWakePublicationToReplace (cognitive 25): publication-replacement.createChatPublicationReplacement.inboundWakePublicationToReplace has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda7b660cbce73643b0b11c3c8c62098a1b7897df2b525132365b86bc024d0b5"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-client.createSlackSetupClient.api (cognitive 25): provider-client.createSlackSetupClient.api has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 4 (6 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/provider-client.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf05e652d3440146aac63b3a5ea4ccf1930561f05e0b359e9d948bf1d2a5586"}},{"ruleId":"D2","level":"warning","message":{"text":"service.slackChatRegistrationService.complete (cognitive 25): service.slackChatRegistrationService.complete has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 3). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 92). 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":"server/src/services/connectors/slack/setup/service.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7a9dfdd38de2be5de115bc069e06a597fc22f15c8473f728e0ce1787835806"}},{"ruleId":"D2","level":"warning","message":{"text":"app-setup.createGitHubAppSetup.storeGitHubApp (cognitive 25): app-setup.createGitHubAppSetup.storeGitHubApp has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 97, 109, 130). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/app-setup.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dff998d98e16a8f4aa9954e7142fecf4c8dc510a36cf6f70da9820c32f13288"}},{"ruleId":"D2","level":"warning","message":{"text":"file-delivery.createTeamsFileDelivery.tryProcessTeamsFilePublication (cognitive 25): file-delivery.createTeamsFileDelivery.tryProcessTeamsFilePublication has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, error handling 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 293, 298). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d8cca840e6d897822a947178d32ab53967a8ed04d50d0d799912c84d20282c"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-board-messages.mirrorSlackBoardComment (cognitive 25): slack-board-messages.mirrorSlackBoardComment has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 6 (10 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/slack-board-messages.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b644a6003948f91564ff60cc011efbb26468cd72dc90916739ee79dc5d6f5fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"reactions.createInboundReactions.handleReaction (cognitive 25): reactions.createInboundReactions.handleReaction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 7 (8 pts), boolean chains 3, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 413). 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"14004c882625df7263a8ff1cd793e8d7fd84f04c55c01281605f2f42df49082a"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.applyProviderLifecycleEffect (cognitive 25): chat-channels.chatChannelService.applyProviderLifecycleEffect has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4 (8 pts), boolean chains 5, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2830, 2907, 2756). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a38bccba37cd1ca3e0e456a7e2a370d8e7417e344b1e538862dfbe39a626a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"composio-app-setup.composioAppAccounts::visit (cognitive 25): composio-app-setup.composioAppAccounts::visit has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 2 (6 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/composio-app-setup.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6663ae9967761cfbcbb3d71b897ceca58ba1cd0661d98be75426efe275d4fb47"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.createConnection (cognitive 25): tool-access.toolAccessService.createConnection has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 8 (9 pts), boolean chains 6 (nesting depth added 5). Of this number, 20 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":"server/src/services/tool-access.ts"},"region":{"startLine":4552}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da669470ea44cbaf2bc99b794c9dd4e7117cb28c2e400747c0184ab4c3c510d"}},{"ruleId":"D2","level":"warning","message":{"text":"git-restore-point.writeIgnoredFiles (cognitive 25): git-restore-point.writeIgnoredFiles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (5 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (nesting depth added 8). 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd382cac3e91b9f064c383d11cdebf1f4fe61f4904a36bc9fcabdc961e905b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.withdrawInteraction (cognitive 25): issue-thread-interactions.issueThreadInteractionService.withdrawInteraction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 5). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 5535). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfe4383b8861f4015af56e1782e62e6ba763e850585e785e5b203981c32bbd3"}},{"ruleId":"D2","level":"warning","message":{"text":"native-runner-execution-driver.createNativeRunnerExecutionDriver.controlPlaneRegistration (cognitive 25): native-runner-execution-driver.createNativeRunnerExecutionDriver.controlPlaneRegistration has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 4 (7 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). None of this is in the body itself: all 25 points belong to 5 function literals inside it that branch (lines 130, 119, 335, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc10289738dfd8946a13f32f59de77594fdbe02804bd7a7ce6fdaf89c918ccf8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-provider-artifacts.restoreNativeProviderArtifacts (cognitive 25): native-provider-artifacts.restoreNativeProviderArtifacts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6, error handling 1, 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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2171e32fc9004c28f07cb8b03dec4d86a1f144283bd775d6c18034c711971da"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-api-client.validateRunnerApiCall (cognitive 25): runner-api-client.validateRunnerApiCall has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed301ecba04918e3b53b004885e8f66d752c60c8c8f50a26c30ee9931860b321"}},{"ruleId":"D2","level":"warning","message":{"text":"project-tools.callProjectTool (cognitive 25): project-tools.callProjectTool has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 6 (8 pts), boolean chains 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":"server/src/services/project-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ffa5763bf2302304e072cbd78ac736eb0b750e4fdaebd34c3024431d8c1cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"built-in-agents.builtInAgentService.provision (cognitive 25): built-in-agents.builtInAgentService.provision has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (5 pts), boolean chains 3, 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64015037dc56a8564de52ae3c9b6c1d7dfc30909c13bc433327ba848eebcd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.definitions (cognitive 25): PaperclipRunnerToolAuthority.definitions has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, ternaries 6 (7 pts), if/else 5 (nesting depth added 1). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 380, 393, 446). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c6a1713d8d94f644693c05aeb3df96d6d86d647aa6804c77682f055968446a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.verifyStagedRemoteRunner (cognitive 25): native-session-executor.verifyStagedRemoteRunner has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, error handling 2 (3 pts), loops 1 (nesting depth added 5). 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15561}}}],"partialFingerprints":{"codehealthFindingId/v1":"1943a53ed83f408e4ee821a08f7eff6fe0b8372ebd277ed5d15a2c0426680fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-local-process-stop.inspectSettledNativeRunProcess (cognitive 25): native-local-process-stop.inspectSettledNativeRunProcess has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 10 (nesting depth added 4). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to one function literal inside it that branches (line 467). 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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fef6981cb38163d9fa596096525951a0dc0c84f0876ee89d89b81c2d5d16910"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.operation (cognitive 25): native-broker.createNativeExternalBroker.operation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f629e412145daaca50f46f56cc12674fb9b995ecf2691d71d8940cfb8fd6621"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.pluginUiSlotDeclarationSchema (cognitive 25): plugin.pluginUiSlotDeclarationSchema has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 11. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/plugin.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"992b2b544f0026e569a4b9c2e0afe1736c071359ae2910e313497a911eb32cab"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-search.scoreConnectionSearch (cognitive 25): connection-search.scoreConnectionSearch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/connection-search.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7e7386128d62b0e8c09c13a22164580a4f8a51a560c031ee0057bdec9527d4"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-usage-receipt.parseCursorNativeUsageReceipt (cognitive 25): cursor-usage-receipt.parseCursorNativeUsageReceipt has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (11 pts), error handling 1, loops 1 (nesting depth added 3). Of this number, 23 points are the body\u0027s own statements and 2 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/paperclip-runner/src/drivers/acpx/cursor-usage-receipt.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cac92a0c9934a08251adb4c69054f74339c9600346a9ef11d133131932b1335"}},{"ruleId":"D2","level":"warning","message":{"text":"model-verification.createAcpxEffectiveModelGate.observe (cognitive 25): model-verification.createAcpxEffectiveModelGate.observe has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/model-verification.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68429dcafbfa19a72c60c698f99244912349c16d86a832c0dc3d705f602bd77"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-question-adapter.acpContent (cognitive 25): acp-question-adapter.acpContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 2, loops 1 (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df9ade3b13fccccb49579b1c24e964b20412a66a97af95956aad8f21ac26d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-sidecar-input.directAcpxSidecarErrorCode (cognitive 25): acpx-sidecar-input.directAcpxSidecarErrorCode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12, ternaries 6 (8 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/paperclip-runner/src/cli/acpx-sidecar-input.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c8cf7385028313fac5d3476e488272f2fe96eb1f9c1b4029b516c0539146e6"}},{"ruleId":"D2","level":"warning","message":{"text":"DotSession.command (cognitive 25): DotSession.command has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 153). 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/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faedc8760f197629da61216e71c9aa628c4cd5b249bffca860ff93b8ca95588"}},{"ruleId":"D2","level":"warning","message":{"text":"menu.Menu (cognitive 25): menu.Menu has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 5 (7 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 9 function items inside it that branch (onMenuKeyDown, focusItem, a function literal at line 116, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/src/react/components/menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c566d2797c5919a18d61dcd98b6965adece9896f1f2db391b0eb3ae98d64e91"}},{"ruleId":"D2","level":"warning","message":{"text":"app.OnThisPagePane (cognitive 25): app.OnThisPagePane has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 17 (22 pts), if/else 2, boolean chains 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 10 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"030044ecab2ffd721188fbca29ee48409d418ca44b2ac52409c061a972bb7d99"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parseYamlBlock (cognitive 25): frontmatter.parseYamlBlock has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/frontmatter.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff032617743b3982dac99bdbbf582474408682b05b7899fa6e9db5469dff841"}},{"ruleId":"D2","level":"warning","message":{"text":"company-search.issueFilterConditions (cognitive 25): company-search.issueFilterConditions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, ternaries 3 (6 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a34649dc0f61728d9a4bc8d7d9f4344e9a7397e03f5ec5ef26d771a28da9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"github-connection-events.githubSnapshotUpdate (cognitive 25): github-connection-events.githubSnapshotUpdate has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 16 (21 pts), boolean chains 2, if/else 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5ceff47e2f4ee5bde97ba0a50e19fc0c5aa1c4896232ef8dcdbe4750e6ca5d"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-training.loadSourceDecision (cognitive 25): decision-training.loadSourceDecision has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 5 (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":"server/src/services/decision-training.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b9bff39acc118e4f06efbe5f68843e1b24e180f5976e5dadbc55e8c1d82f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionService.decide (cognitive 25): decisions.decisionService.decide has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, ternaries 4, loops 1 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e72f9c40fc068be5d80b5944b1b5a5a19102d6b9b6c01e100624d974154fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.readPortableIssueComments (cognitive 25): company-portability.readPortableIssueComments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 5 (10 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":"server/src/services/company-portability.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b6ffba138c5096cf6c0d195b7f388abcc748ddca4ebbf9495ccd99f3a157e2"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.resolvePortableRoutineDefinition (cognitive 25): company-portability.resolvePortableRoutineDefinition has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, 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":"server/src/services/company-portability.ts"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb84994fdd2dea7e588fc301d18e49b268164e8d0185105d951b8060a04e5c10"}},{"ruleId":"D2","level":"warning","message":{"text":"teams-catalog.collectCatalogTeamSkillPreparations (cognitive 25): teams-catalog.collectCatalogTeamSkillPreparations has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57704cb63164e99f07d9033fb2489ab26b5eddfc95482b17dd360dbe6f775a2"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-connection-models.antigravityConnectionModels (cognitive 25): antigravity-connection-models.antigravityConnectionModels has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (5 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 13). 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":"server/src/services/antigravity-connection-models.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70c3c791c0fa3a82742b2aaa54cbf1727b67d09462f6027a24477f2759279a5"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::resolveInboxArchiveTarget (cognitive 25): issues.issueRoutes::resolveInboxArchiveTarget has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 5 (6 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":13025}}}],"partialFingerprints":{"codehealthFindingId/v1":"e196af91fe85ea8a7722a2c1d3ba431b9622afa8e1b9c23baf971f977c20b6de"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::assertAgentStatusChangeKeepsLiveRunBound (cognitive 25): issues.issueRoutes::assertAgentStatusChangeKeepsLiveRunBound has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, ternaries 2 (3 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":14861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec90241fcc1212ef796041eb0d97feaf30006340428465fe854a05d279246e56"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessRoutes::describeConnectionCapabilities (cognitive 25): tool-access.toolAccessRoutes::describeConnectionCapabilities has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 8, if/else 2 (4 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (tool-access.toolAccessRoutes::handlePaperclipCloudConnectorCallback) 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":"server/src/routes/tool-access.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9189c5803b8ca2e41b009d8d7d8e20f35f7a9b402ec796ea7b4adce27f8b14cb"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-commentary.agentCommentaryRoutes (cognitive 25): agent-commentary.agentCommentaryRoutes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 4). None of this is in the body itself: all 25 points belong to 6 function items inside it that branch (a function literal at line 56, a function literal at line 41, authorizeBoardRead, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-commentary.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4201189292f47d49d611da01f10b8ba5f12281773fba04e9e89b7c8507809bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-local-folders.listPluginLocalFolderEntries::visit (cognitive 25): plugin-local-folders.listPluginLocalFolderEntries::visit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 4 (9 pts), error handling 1 (2 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bb67e94f8c27c595feec997f2912a88c2b70811dd9407d5396b434bf3c6641"}},{"ruleId":"D2","level":"warning","message":{"text":"live-events-ws.authorizeUpgrade (cognitive 25): live-events-ws.authorizeUpgrade has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 3 (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":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc5fa59ead9945d2d8025dcb564f9dbec24bc21633415ad891ea09eb35803e5"}},{"ruleId":"D2","level":"warning","message":{"text":"offline-workspace-operation-reconciliation.reconcileAttempt (cognitive 25): offline-workspace-operation-reconciliation.reconcileAttempt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 7, ternaries 3, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 37). 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":"server/src/services/offline-workspace-operation-reconciliation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca3fdee8970eb6a1553b09de92d3d8f1affe6945ef2f23e5297bb0decae8fe0"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-reply-content.markdownReplyContent::visit (cognitive 25): markdown-reply-content.markdownReplyContent::visit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5 (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":"ui/src/lib/markdown-reply-content.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"834d3d791cc42bb8d1ba075ee2949fff49e3ddc41b2a8992d27c07feeff0426c"}},{"ruleId":"D2","level":"warning","message":{"text":"StarToggle.StarToggle (cognitive 25): StarToggle.StarToggle has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 9, if/else 2 (nesting depth added 5). 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":"ui/src/components/StarToggle.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0cc91472c344d58b1a2a1cb41524c12789aa5100d94593d831c712f83b041e"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBody.MarkdownExternalLink (cognitive 25): MarkdownBody.MarkdownExternalLink has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 3, if/else 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9106de23c16c0d4d7511ad535e8dcf27ad0dc30585164eba2ab99180c048a8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.runtimeRequestEntry (cognitive 25): index.runtimeRequestEntry has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 8, if/else 1 (nesting depth added 4). Of this number, 22 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07ba1a714b5b696242f49adf362d9c74a6889577e85b6a08fd765b44c36421a"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-draft.draftAttachments (cognitive 25): composer-draft.draftAttachments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd5b30e51caec9e6a2c270e1d9a296517c1a2c23f8d4373f084a110f834fe8b"}},{"ruleId":"D2","level":"warning","message":{"text":"IssuePlanDecompositionsSection.IssuePlanDecompositionsSection (cognitive 25): IssuePlanDecompositionsSection.IssuePlanDecompositionsSection has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 17 (21 pts), boolean chains 3, if/else 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 one function literal inside it that branches (line 56). 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":"ui/src/components/IssuePlanDecompositionsSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d153a9a9b021ce6390fc57fbf6636d0aed756eef61d9cb827c441040e62f819e"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPrimaryCard.OutputPrimaryCard (cognitive 25): OutputPrimaryCard.OutputPrimaryCard has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, ternaries 7 (12 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":"ui/src/components/issue-output/OutputPrimaryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dda98c56f382455ac8d407a79ed5fdb33fb123a019ab4dc44f551560d57571"}},{"ruleId":"D2","level":"warning","message":{"text":"wait-for-stopped-runs.waitForStoppedRuns (cognitive 25): wait-for-stopped-runs.waitForStoppedRuns has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). 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":"ui/src/lib/wait-for-stopped-runs.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c2c60251f939c10d71e7b2136c93c1a5953876cf1fda0919c35973e06c030a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatComposerDock.TaskChatComposerDock (cognitive 25): TaskChatComposerDock.TaskChatComposerDock has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 9, if/else 5 (nesting depth added 3). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 19, 14). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposerDock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bdcb2718ddd12acb99f29f6f6be98fd6dcd0785fb3b1bdc319341ced4fc570"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChat.AgentChat (cognitive 25): AgentChat.AgentChat has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 8, ternaries 3, error handling 1. Of this number, 14 points are the body\u0027s own statements and 11 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":"ui/src/pages/AgentChat.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be767bd9ce8df47a998ab7962803833d9d0d87c7d4efe8ad148edff829e68722"}},{"ruleId":"D2","level":"warning","message":{"text":"Timeline.Timeline (cognitive 25): Timeline.Timeline has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 6 (7 pts) (nesting depth added 1). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 323, a function literal at line 313, a function literal at line 330, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Timeline.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb259d8b0f2a5199e36fca7d215668bab2f042fe483c1aef6f338304b35c37f"}},{"ruleId":"D2","level":"warning","message":{"text":"Companies.Companies (cognitive 25): Companies.Companies has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 6, if/else 4 (6 pts) (nesting depth added 5). Most of this is not in the body itself: 3 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 131, saveEdit, a function literal at line 151, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Companies.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c71f17245ea115e7a3d7f2202276f2cc5eb5892e808cbd7d29f5eccb4ea02d"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.TranscriptCommandGroup (cognitive 25): RunTranscriptView.TranscriptCommandGroup has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, ternaries 8 (9 pts), if/else 2 (nesting depth added 1). Of this number, 19 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1669b347df318611acd75c7a390568ee5c256600dac261817272254d1081a83"}},{"ruleId":"D2","level":"warning","message":{"text":"project-workspaces-tab.buildProjectWorkspaceSummaries (cognitive 25): project-workspaces-tab.buildProjectWorkspaceSummaries has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 2, loops 2, ternaries 1 (nesting depth added 11). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-workspaces-tab.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0013af3ea6d1b734079d0effebb3853f68ee92e0fa740e3f269e056ba5e26d"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineSaveBar.RoutineSaveBar (cognitive 25): RoutineSaveBar.RoutineSaveBar has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 9, if/else 5 (6 pts) (nesting depth added 4). Of this number, 15 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":"ui/src/components/RoutineSaveBar.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5194f2e5c3027351471ad887dbe84a3df75b3f85ddc59f847b203ab035ab628"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionHistoryPanel.DecisionHistoryPanel (cognitive 25): DecisionHistoryPanel.DecisionHistoryPanel has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (21 pts), boolean chains 3, loops 1 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionHistoryPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a8ff6fa46762c724e8c26f19dc89d6c438ffdc9839314bdd343360370e913f"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsPanel.AgentAccessSection (cognitive 25): PermissionsPanel.AgentAccessSection has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 2 (3 pts) (nesting depth added 13). Of this number, 19 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":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fce773c487a35270b6d0c0a6b9cc89413cc212bd1c9c86427e1955f697609c0"}},{"ruleId":"D2","level":"warning","message":{"text":"cron-readable.describeCron (cognitive 25): cron-readable.describeCron has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 8 (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":"ui/src/lib/cron-readable.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd95217f93610712956a864397f7b8e344343a12c61ecb0b399e1f470da9f4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Sheets.DocumentSheet (cognitive 25): Sheets.DocumentSheet has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 11 (24 pts), boolean chains 1 (nesting depth added 13). 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, 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":"ui/src/artifact-directions/directions/d3-tactile/objects/Sheets.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f27d461b200a48652fca49a280b0b50d099b1ac28f011c25c9d77326e426f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentChatPicker.AgentChatPickerResults (cognitive 25): AgentChatPicker.AgentChatPickerResults has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (14 pts), boolean chains 8, if/else 2, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 94, selectAgent). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentChatPicker.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"575755b4c9246bbb7dbed0f336ef78c0939e2ea6f252430688ed70ecadbce766"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactsPanel.ArtifactsPanel (cognitive 25): ArtifactsPanel.ArtifactsPanel has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 5, if/else 3 (5 pts) (nesting depth added 9). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 173, 185, 139). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c36f89799a7454fcdd6db821348217dc8459d5aa01eb24a569ef21d58c0dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"TailscaleSshMachine.TailscaleSshMachine (cognitive 25): TailscaleSshMachine.TailscaleSshMachine has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 7, if/else 3 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 8 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":"ui/src/components/TailscaleSshMachine.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a94079378b4aaf9f627b414106c099d33094eab29933b607444e92e63898b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueArtifactCard.IssueWorkProductArtifactCard (cognitive 25): IssueArtifactCard.IssueWorkProductArtifactCard has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, ternaries 5 (9 pts), 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":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"335fc5bbc5b40acbc5592e388be3466498531129c4f0a7727d6def5f08afe76c"}},{"ruleId":"D2","level":"warning","message":{"text":"UserSecretDefinitionsTab.UserSecretDefinitionsTab (cognitive 25): UserSecretDefinitionsTab.UserSecretDefinitionsTab has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 7, if/else 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9e96235543097311f7aae7f0e6fa26c17678b4e486850cca976c0262bbe895"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentWorkloadTrial.AgentWorkloadContent (cognitive 25): AgentWorkloadTrial.AgentWorkloadContent has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 7, if/else 5 (7 pts) (nesting depth added 7). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 67, 88, 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":"ui/storybook/support/design-proposals/AgentWorkloadTrial.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5eea1b54f5bd751fa60029388e3a37d9cc04fb2249f2d1c9b83738a2d47e60"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::drain_completed_turn_tail_for_warm_attachment (cognitive 25): CodexProvider::drain_completed_turn_tail_for_warm_attachment has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd8f63bb00e66f9f5bc792f3676078a578bdc884d7aec62c14e998292e8d065"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedProviderCommandExecutor::attach (cognitive 25): ManagedProviderCommandExecutor::attach has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (24 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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"25198cfb36767c67e0a036ca6725b736f0714ca94c9c18188df6031b098c6a8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderStartupAttempt::validate (cognitive 25): ProviderStartupAttempt::validate has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 17, if/else 5, match/switch 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead4fe6a8052589c741f0724551d90041bdcfa74e0a8aac6a49232750164ca95"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::acpx_sidecar_transport::parse_frame (cognitive 25): paperclip_runner_core::acpx_sidecar_transport::parse_frame has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7 (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/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c327de7c9dd3154fb94221982b7107f997bfa9dd5355a58f888f386a43b84d9"}},{"ruleId":"D2","level":"warning","message":{"text":"update.compareVersions (cognitive 24): update.compareVersions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (5 pts), boolean chains 2, loops 2 (nesting depth added 9). 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":"cli/src/commands/update.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcb72f5dc75e94d2d3f089cf713b59eff38335e584e1252152bcd4aec8805d9"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.startAdapterExecutionTargetProcessSessionBridge.server (cognitive 24): execution-target.startAdapterExecutionTargetProcessSessionBridge.server has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 10). None of this is in the body itself: all 24 points belong to 4 function literals inside it that branch (lines 2393, 2388, 2384, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"547ebb9303cad5503058595bd42a8a4f2dc0712135fa8e70a53fec30d2290826"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.readPaperclipSkillSyncPreference (cognitive 24): server-utils.readPaperclipSkillSyncPreference has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (10 pts), boolean chains 3, loops 1 (nesting depth added 11). 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 4257). 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0815a417100a17aa42826430968ce86c691591c054fc7aa6a30455b5e4153e62"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::toResult (cognitive 24): execute.execute::toResult has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 6, if/else 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (execute.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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f073dd17bd43c4a93e55d7d2ec1f154bedc4bd1cbb07ddfe3a63a387018394c"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-file-changes.unifiedHunkFromTexts (cognitive 24): tool-file-changes.unifiedHunkFromTexts has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 5 (7 pts), boolean chains 4, ternaries 2 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d141369b8a1ba4442a8a0d58967c76bceac44ebaf2cdac03ad1e9e804fcd64"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-boundaries.validateCodexWorkingDirectory (cognitive 24): codex-boundaries.validateCodexWorkingDirectory has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 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/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe0ceadcd0cde0f576a991790c731e484eb84afa41cb56821c6b3700c22e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.rotateRunIdentity (cognitive 24): DurablePrpControlPlane.rotateRunIdentity has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43ff02f7ea396094447da84a3573988e482ca413bebb980b71d8e51207cb00f"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueHeader.IssueHeader (cognitive 24): IssueHeader.IssueHeader has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 15 (19 pts), boolean chains 3, if/else 2 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d905bfe7015ff6470f252dec5edde04e70b7a214752e0009991677a475589898"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-question-forms.chatQuestionFormValidationResponse (cognitive 24): chat-question-forms.chatQuestionFormValidationResponse has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c12231e2afe379fdb6dc1a0318cfc9911d53013e829756acfc158bc5b60da9"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-summary.findHeartbeatRunCompletionComment (cognitive 24): heartbeat-run-summary.findHeartbeatRunCompletionComment has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec348420a2586b969d151a05524e06797253fa652b0399cbba14ce3c5576e422"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit (cognitive 24): remote-workspace-snapshot-archive.workspaceArchive::gitObjectFiles::visit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 4 other methods here (remote-workspace-snapshot-archive.workspaceArchive, remote-workspace-snapshot-archive.workspaceArchive::portableGitSettings, remote-workspace-snapshot-archive.workspaceArchive::assertGitOperationComplete, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de9196a310a0302a5b50971b0220bcc5fe9c2e8afdd42e627e98b1f6eacfffd"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip-cloud-connector.paperclipCloudConnectorConfigFromEnv (cognitive 24): paperclip-cloud-connector.paperclipCloudConnectorConfigFromEnv has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 7, ternaries 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4270f1e1cc4066edb0eb0f079b934bf73a68fada98ef8534fbdc760dbfb04a"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.buildBindingTargetMap (cognitive 24): secrets.secretService.buildBindingTargetMap has cognitive complexity 24 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 6, ternaries 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"9164acb30cd57eace3209cbb89a9c0bd979019468a378b806647c4e99d6ce45a"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.removeSecretUnlocked (cognitive 24): secrets.secretService.removeSecretUnlocked has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), boolean chains 3, ternaries 2, loops 1 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":3464}}}],"partialFingerprints":{"codehealthFindingId/v1":"719dfe1469f4e5276f999b78f6cdbb9733dfae57b2438c66b17eabe26ee3f8b7"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.resolveUserSecretValue (cognitive 24): secrets.secretService.resolveUserSecretValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, error handling 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":"server/src/services/secrets.ts"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aba6c8578dda6ceab48dcc22e0e2aa62b4f371319414bd837f2c08d43ae76dd"}},{"ruleId":"D2","level":"warning","message":{"text":"github-access-discovery.loadGitHubTokenRepositories (cognitive 24): github-access-discovery.loadGitHubTokenRepositories has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2750d7fffe42269ed9e772961b756763a478a84b50d6bf5a5d93a7e4f4f9b4"}},{"ruleId":"D2","level":"warning","message":{"text":"github-grant-continuity.createGitHubGrantContinuity.syncGitHubGrantBindings (cognitive 24): github-grant-continuity.createGitHubGrantContinuity.syncGitHubGrantBindings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 4 (6 pts), loops 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 237, 265). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e727db4c1876de863168a1b0b13bfc772da0e35960dbcd48c6ac55ebcdefb9a5"}},{"ruleId":"D2","level":"warning","message":{"text":"form-owner.stageSlackFormOwnerConfiguration (cognitive 24): form-owner.stageSlackFormOwnerConfiguration has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9c3de09a55fa8bc615f5037e3e0b06570d199f6d89fddae24d2d60c13edce"}},{"ruleId":"D2","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.recordVerifiedSourcePrefix (cognitive 24): object-byte-journal.createObjectByteJournal.recordVerifiedSourcePrefix has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc6d35e1577c5ded8abe3e6c1a867a519353ca5cfa4e68dc42fdd43464a5609"}},{"ruleId":"D2","level":"warning","message":{"text":"task-workspace-access.taskWorkspaceProjectRequirements (cognitive 24): task-workspace-access.taskWorkspaceProjectRequirements has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 7, if/else 1, loops 1 (nesting depth added 3). 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 literals inside it that branch (lines 28, 44, 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":"server/src/services/task-workspace-access.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abdd58e72a5b1cffabfbb1daee6176db1ca1d59c4e9b11e2063d53ead19fabe"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-source-lock.withWorkspaceSourceLocks (cognitive 24): workspace-source-lock.withWorkspaceSourceLocks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 6). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-source-lock.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9802e50b8eb73fa8f5fea4c73b58605c784d0cf26b80f4f7824594d6f44ec9f7"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-review-projection.toolReviewProjectionService.sweep (cognitive 24): tool-review-projection.toolReviewProjectionService.sweep has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 8). 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":"server/src/services/tool-review-projection.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6b8b2eff3b35b51f8c8e2d192853c579baa508f64c76eb4de3292a3ce64633"}},{"ruleId":"D2","level":"warning","message":{"text":"resource-memberships.resourceMembershipService.updateAgent (cognitive 24): resource-memberships.resourceMembershipService.updateAgent has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (17 pts), if/else 4, 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":"server/src/services/resource-memberships.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9efa910c9a23978f00fdda193cb1627779c5837afceddb6aa366d20265f4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"github-external-object-provider.pullRequestSnapshot (cognitive 24): github-external-object-provider.pullRequestSnapshot has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 16 (20 pts), if/else 3, 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fd7ebdb6a1154232a0a2d85c1dc788189bd8e62ad1041d8b20f1878eb2b531"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.resolveRequestedSkillEntriesOrThrow (cognitive 24): company-skills.resolveRequestedSkillEntriesOrThrow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 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":"server/src/services/company-skills.ts"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fd89b63d57d638d3cb85a2af949e8b2df52001807819a1eddacc4c4f729667"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.createVersion (cognitive 24): company-skills.companySkillService.createVersion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 6, boolean chains 5 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 11 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":"server/src/services/company-skills.ts"},"region":{"startLine":3757}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfdb9506a9ad02955d8925b613b5b35916371dd089bf07856f74c4c92f3a5e9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.historyEpochBinding (cognitive 24): native-harness-filesystem-independence.historyEpochBinding has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 4 (6 pts), error handling 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dcefb87d7407e05699e593be2454632251c5b064470510955b84715e99ee33"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.preserveWebEvidence (cognitive 24): native-harness-filesystem-independence.preserveWebEvidence has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, ternaries 3, loops 1 (nesting depth added 5). Of this number, 16 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9fcb9b71b4471e682f43f235ce25b44ec8833b88ea2fdd6d95296bf1960e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-base-ref-diagnostics.readWorkspaceBaseRefDiagnostic (cognitive 24): workspace-base-ref-diagnostics.readWorkspaceBaseRefDiagnostic has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (15 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":"server/src/services/workspace-base-ref-diagnostics.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"884984f612ac721827efef0dffad051aca3df97c0b9a97956be37359e6228039"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.resolveManagedPaperclipRuntimePublicOrigin (cognitive 24): workspace-runtime.resolveManagedPaperclipRuntimePublicOrigin has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5684}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eec45f0d75c5f9527bdfa5f89305f902110a4f47c21f2409cb56b507802461"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.startLocalRuntimeService (cognitive 24): workspace-runtime.startLocalRuntimeService has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7, error handling 2 (3 pts), 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95fe80fec5e6b3514ebd352829526b256a4974d0ab88947ab2282c8b950872"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-reviews.githubChatReviewService.scope (cognitive 24): chat-github-reviews.githubChatReviewService.scope has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 10, ternaries 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"341991dc216f053e9d82e3722fe47696281f66c015b446e1d5c86fdef2802979"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.askElicitationRound (cognitive 24): tool-gateway.createToolGatewayService.askElicitationRound has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 1 belongs 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6733}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a9ce75346538f5f4f097d7ff14e4b7a1a110065819c9b22c717705b2c0f81e"}},{"ruleId":"D2","level":"warning","message":{"text":"explicit-native-continuation.admitExplicitContinuationRetry (cognitive 24): explicit-native-continuation.admitExplicitContinuationRetry has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, ternaries 5, error handling 1 (nesting depth added 3). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac466ae6f0e69f08a4e23060b4c1d573f9b85ba972d167f42f5991953ed86dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-reconstruction.validateNativeWorkspaceReconstruction (cognitive 24): native-workspace-reconstruction.validateNativeWorkspaceReconstruction has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (9 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":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bab5d6ee4fe807b6f8a8387aba8c99a287f62ece2844803c3e06b86ab2e5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.withRunOwnershipLocks (cognitive 24): postgres.createPostgresRunDispatchAdapter.withRunOwnershipLocks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 4 (9 pts), loops 1 (nesting depth added 12). Of this number, 14 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0823943b22f8facc64ca3056043c4eda81b2800d7c36bdf2b072e9feed9e5e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.workspaceFileResourceService.loadAvailabilityTargets (cognitive 24): workspace-file-resources.workspaceFileResourceService.loadAvailabilityTargets has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (5 pts), boolean chains 4, error handling 1 (3 pts), loops 1 (nesting depth added 9). 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9315d4b26f38fd94fe199ff31d602f430b43a872ea0e1247b07ef62467b66eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-discord-command-registration-store.reconcileStoredDiscordCommandRegistration (cognitive 24): chat-discord-command-registration-store.reconcileStoredDiscordCommandRegistration has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, ternaries 4 (5 pts), error handling 1 (nesting depth added 4). 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 items inside it that branch (a function literal at line 193, a function literal at line 270, check, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e29a7d394c50f0040a719f7023feb6e743b2d7699d0a44b3a91c6a29cd000b0"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-wizard.githubChatWizardService.start (cognitive 24): chat-github-wizard.githubChatWizardService.start has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 6, ternaries 1 (nesting depth added 5). Of this number, 16 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe25311fe7800ceb3f7cbc6bbf22f15cf531427872db698d9ae81f1de005056"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-services.createSlackSetupServices (cognitive 24): setup-services.createSlackSetupServices has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, boolean chains 8, ternaries 3. None of this is in the body itself: all 24 points belong to 10 function items inside it that branch (a function literal at line 42, linkSlackAccount, a function literal at line 77, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/setup-services.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe86b525537302e6a365bf703c7a367d1474ef321c9c543e5db71ffedc7e6690"}},{"ruleId":"D2","level":"warning","message":{"text":"removal.createConnectionRemoval::classifyConnectionSecrets (cognitive 24): removal.createConnectionRemoval::classifyConnectionSecrets has cognitive complexity 24 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 4 (6 pts), boolean chains 4, ternaries 3 (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. This shape REPEATS in the file: one other method here (removal.createConnectionRemoval::removeConnectionUnlocked) 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":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c37b834d8b155f0265a23b04a59b2c79bae515625aa1530e8c9da0e56ba5161"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-profile-entry-validation.assertProfileEntryInputs (cognitive 24): tool-profile-entry-validation.assertProfileEntryInputs has cognitive complexity 24 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 3 (6 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 8). 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":"server/src/services/tool-profile-entry-validation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e6f5f1a65c5d9aeb28a0b4a4f85d384b1ff474bc75af2a2cba186021322691"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.configureRailwaySsh (cognitive 24): tool-access.toolAccessService.configureRailwaySsh has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 2 (3 pts) (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 one function literal inside it that branches (line 4767). 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":"server/src/services/tool-access.ts"},"region":{"startLine":4764}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e816cd6127a6fc82c82c4ed1f7bb9d0ee8403372c20218fce696b34e298ffd8"}},{"ruleId":"D2","level":"warning","message":{"text":"git-credentials.resolveManagedGitHubCredential::acquire (cognitive 24): git-credentials.resolveManagedGitHubCredential::acquire has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, ternaries 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/src/services/git-credentials.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6334b54ff2edcc8fd35a604b6c9fead979453ef0a2e141b76feed86b12a6cb"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.rejectRequestConfirmation (cognitive 24): issue-thread-interactions.issueThreadInteractionService.rejectRequestConfirmation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, boolean chains 10, ternaries 1. Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 2805). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae1f88f87c813ffc779b2fe796f2e0e0bd47eae167dc49ec7bfe67b29ea65de"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-opencode-artifacts.prepareRemoteOpenCodeArtifacts (cognitive 24): remote-opencode-artifacts.prepareRemoteOpenCodeArtifacts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, loops 1 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-opencode-artifacts.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56df362a5dd81c1763bb55b3174d736a32818967e66db0d7263e6991df8cb694"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-runner-task.createPluginRunnerTaskOwner.prepareLaunch (cognitive 24): plugin-runner-task.createPluginRunnerTaskOwner.prepareLaunch has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 8, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"39522e280567215d438ea84f06f73d9a120785a7a8f480a135d17d59195bb405"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-pack-upload.uploadVerifiedProviderPack (cognitive 24): provider-pack-upload.uploadVerifiedProviderPack has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-upload.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6640a494597ab8464a1fb871c8ab2ad44a0cba516990052b711f2e055a52344b"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-task-ownership.ownershipClaim (cognitive 24): plugin-task-ownership.ownershipClaim has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 9, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 83). 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e55097057c7645045af593f3a5875a9045d7ddb6ab34a85e8d1a0d2ac600fb"}},{"ruleId":"D2","level":"warning","message":{"text":"dot.createBroker.requestWork (cognitive 24): dot.createBroker.requestWork has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, ternaries 4, loops 1 (2 pts), error handling 1 (nesting depth added 6). Of this number, 20 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c722500a7a49868d42dd8d092d926bf2842f7c952dcc35421025e7827f5f6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"instance-settings.instanceSettingsService.updateExperimental (cognitive 24): instance-settings.instanceSettingsService.updateExperimental has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/instance-settings.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0814f7e38f1ef106eded5e90d2df8f88c43626576783e6c0438befc5e092f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync.parseGitSnapshot (cognitive 24): native-workspace-sync.parseGitSnapshot has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 9, loops 1 (2 pts), ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98609fffa366f631f8fbc4fd36e7ecd169fb023632b5a8e0d3d0c4f0b87c832"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-snapshot-ledger-settlement.retireEndedRemoteSnapshotLedgerRow (cognitive 24): remote-snapshot-ledger-settlement.retireEndedRemoteSnapshotLedgerRow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/remote-snapshot-ledger-settlement.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd03fc1600dca53b5ccd5efd40f3600c5269e98b4a889097f613273bd93aaa02"}},{"ruleId":"D2","level":"warning","message":{"text":"release-provider-pack.verifyReleaseProviderPack (cognitive 24): release-provider-pack.verifyReleaseProviderPack has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, 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/paperclip-runner/scripts/release-provider-pack.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193772ba5a7e31ba887acb9b02f78eca9485e91cbafd37bf6bd562f42c9f2c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeProviderCycles.next (cognitive 24): ClaudeProviderCycles.next has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 1 (3 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/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f06065d9f650eebe3ec8c253b1fa0ed970b19d88afa9c76a577d0b7c65e1778"}},{"ruleId":"D2","level":"warning","message":{"text":"app.LintPanelContent (cognitive 24): app.LintPanelContent has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 15 (22 pts), error handling 1, if/else 1 (nesting depth added 7). 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 4655, runLint). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2c1cfde30b2d6d7cb915f4eadc0a354cee2bc496603ade8421c0d344292f6"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.createSandbox (cognitive 24): plugin.createSandbox has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (7 pts), boolean chains 6, 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fe2b7a0a22fdb8f765d09bb8743ce691e99658f7e95cf1809d7d61857557da"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.dispatchMethod (cognitive 24): worker-rpc-host.startWorkerRpcHost.dispatchMethod has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66bcb47e38155ddac27dc93f63192d7bab1083cf340f3af2b9859a085f39e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.buildReferencedCatalogSkill (cognitive 24): catalog-builder.buildReferencedCatalogSkill has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 7, ternaries 1 (nesting depth added 3). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c33fb3a178e2222217adc0b6751339e1ca090253beb0b17218e0201a0c97d3"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-client-mirror.readIdleMcpClientMirror (cognitive 24): idle-client-mirror.readIdleMcpClientMirror has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (8 pts), if/else 5 (6 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":"server/src/services/public-mcp/idle-client-mirror.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4907939ce260e442c5d11deab0e17328257eba9b0b78150294443806f639e3ee"}},{"ruleId":"D2","level":"warning","message":{"text":"github-connection-events.githubConnectionEventService.processForCompany (cognitive 24): github-connection-events.githubConnectionEventService.processForCompany has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (6 pts), error handling 2 (3 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to one function item inside it that branches (applyAndFinalize). 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e23017ca0123c0e776271cbdb6462036f3c9232ec637766e0f7e34379519df"}},{"ruleId":"D2","level":"warning","message":{"text":"native-agent-runtime-inheritance.inheritedScalar (cognitive 24): native-agent-runtime-inheritance.inheritedScalar has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (14 pts), boolean chains 6, if/else 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-agent-runtime-inheritance.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dd843836f38c51c23c9d46f12ff1790a1d325df6db42c1f64ed7cb8918eb19"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-sleep-safety.readIdleSleepSafety::report (cognitive 24): idle-sleep-safety.readIdleSleepSafety::report has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 10, if/else 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 (idle-sleep-safety.readIdleSleepSafety) 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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e4cf2aca7d46e6fed6e5c9ffa593038964182f804ed832f89ae267a52d8a21"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-installation-maintenance.legacyFiles::visit (cognitive 24): skill-installation-maintenance.legacyFiles::visit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a9055d8113950ffbb1a001430707e1ea0145e841c24e5126364f86448083fe"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-installation-maintenance.skillInstallationMaintenance.installations::convert (cognitive 24): skill-installation-maintenance.skillInstallationMaintenance.installations::convert has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b019ffbcc9044b5fcb59ee5d6c7a57ad2340449c6a71f5ec15d3c101c2c6eeed"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-config-validator.secretRefsAsIds (cognitive 24): plugin-config-validator.secretRefsAsIds has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (5 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 9). Of this number, 21 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":"server/src/services/plugin-config-validator.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"da25e81ed3d11ace7a847a474e031d0d8d1b2481f3295329725ee289f183fa02"}},{"ruleId":"D2","level":"warning","message":{"text":"online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoverySource (cognitive 24): online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoverySource has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (10 pts), ternaries 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2962a3095f81838679612a9fd158cf9759df12e96a34e2ff7c0f77f4b3d435"}},{"ruleId":"D2","level":"warning","message":{"text":"online-legacy-workspace-recovery.lockOnlineLegacyWorkspaceRecoverySources (cognitive 24): online-legacy-workspace-recovery.lockOnlineLegacyWorkspaceRecoverySources has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"add96848ec46ea314ded21e30a430529538dca3cafa463809c975ec901ea6e86"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-idle-schedule.skillSourceIdleSchedule (cognitive 24): skill-source-idle-schedule.skillSourceIdleSchedule has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, loops 2 (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":"server/src/services/skill-source-idle-schedule.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"719a8a7069fa1f1b322084b660e9de39f26e8ca9409a4f733323d35cc3306384"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-work.skillPackageWork.tick (cognitive 24): skill-package-work.skillPackageWork.tick has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 3 (7 pts), loops 4 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-work.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c934d68afc5449867691b369c357747ec8e0fd3d12db8fc6dd9c0228666c0094"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.tick (cognitive 24): native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.tick has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (5 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7806fa2528b02af1fe868c471cd1430f3da046e702b2a824cbfec923d8e14d"}},{"ruleId":"D2","level":"warning","message":{"text":"qualify-cloud-configuration.runCloudConfigurationQualification (cognitive 24): qualify-cloud-configuration.runCloudConfigurationQualification has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, 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":"server/src/qualify-cloud-configuration.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee211012eee9ae69231f25f548a614202c7b5a4e20d5ba92f91edc565038f53e"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-run-settings.composerDefaultModel (cognitive 24): composer-run-settings.composerDefaultModel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a2c59f6778a2ed1392758e3ec9c3c8d24566a72a0f5731034974aafb6bae9f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceFileLink.WorkspaceFileLink (cognitive 24): WorkspaceFileLink.WorkspaceFileLink has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (15 pts), if/else 6, boolean chains 3 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"ui/src/components/WorkspaceFileLink.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08779649ce82e19de2eaa402e826d74545146659a1701060dce9429c2f7c062"}},{"ruleId":"D2","level":"warning","message":{"text":"AdapterLoginChrome.LocalProviderLoginInstructions (cognitive 24): AdapterLoginChrome.LocalProviderLoginInstructions has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, ternaries 4 (7 pts), if/else 2, error handling 1 (nesting depth added 3). Of this number, 21 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":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"565a762487cc51e5fcfdd5cec3bf2e442e2768656ff058018066066ed49216b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionPicker.AiConnectionPicker (cognitive 24): AiConnectionPicker.AiConnectionPicker has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 6, if/else 2 (4 pts) (nesting depth added 9). Of this number, 13 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":"ui/src/components/ai-connections/AiConnectionPicker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7129298cbdfd6e7716effc6bc5a568f98051bc291b73223462d5cb04e9cff63"}},{"ruleId":"D2","level":"warning","message":{"text":"schema-config-fields.SchemaConfigFields::writeValue (cognitive 24): schema-config-fields.SchemaConfigFields::writeValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 4 (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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd4a6b64ded83acf2018bfad942ccc86bae4cd5eb3804445920847896101d01"}},{"ruleId":"D2","level":"warning","message":{"text":"transcriptPresentation.describeToolInput (cognitive 24): transcriptPresentation.describeToolInput has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 7 (8 pts), boolean chains 3 (nesting depth added 8). Of this number, 21 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":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1463ff614e480193fbf51dc3a9c43fb529f328a6587dea03d091dab7edb471ab"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.VirtualizedIssueChatThreadListInner (cognitive 24): IssueChatThread.VirtualizedIssueChatThreadListInner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 5, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 4486, 4516, 4507, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"8236f572825f2f2067328fdcb1a868c8788967c4f5613e9b3e91d35333355163"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentAnnotationPopover.DocumentAnnotationPopover (cognitive 24): DocumentAnnotationPopover.DocumentAnnotationPopover has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 5 (8 pts), boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 99, submitComposer, a function literal at line 48, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPopover.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ef01ee6d72bf29dbb49268fbc8050381d5d8071287f9180b386b74b730748"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityRow.ActivityRow (cognitive 24): ActivityRow.ActivityRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 8, if/else 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":"ui/src/components/ActivityRow.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"53094e1f2575a794a7677c31a5b3677ae32fb371db45644f4f37715e40e98441"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderQuotaCard.ProviderQuotaCard (cognitive 24): ProviderQuotaCard.ProviderQuotaCard has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 19, ternaries 4, loops 1. Of this number, 22 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProviderQuotaCard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d22667bd2599bc6f31f9d94bb126945e6f84339dfa37c1f89ae07b5ffda3ba0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileDetail.ProfileDetail (cognitive 24): ProfileDetail.ProfileDetail has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 6 (7 pts), boolean chains 6, loops 1 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d822e49b029b3bb2993f96171f361665d3cf25e2a7094ea6dc7701f48c4fc73"}},{"ruleId":"D2","level":"warning","message":{"text":"Browse.connectorAction (cognitive 24): Browse.connectorAction has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 6 (10 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e84e6a5a2fbf458b1b7bac2502c7607fc4f6795e38a000b4ad8edb78276edb"}},{"ruleId":"D2","level":"warning","message":{"text":"Browse.ConnectionAccountRow (cognitive 24): Browse.ConnectionAccountRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f986b2879dcf3ebdb2437ddbcac27d58c1f21c958d221a5a36dea560d8ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedPanel.ReconnectForm (cognitive 24): AdvancedPanel.ReconnectForm has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 9, if/else 3 (nesting depth added 3). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 316, 299, 298, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bc2d0cafeb94ad8cd2d275b4387b8983d173c49f9c36bea272e0bbe553cb0e"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.CatalogDetailPane (cognitive 24): CompanySkills.CatalogDetailPane has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 5, boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4a4aed6084c9864c88517c3f3135f9ca2ffbfb72722cb86f1185f906ab0d16"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginSettings.PluginLocalFolderRow (cognitive 24): PluginSettings.PluginLocalFolderRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 17 (20 pts), boolean chains 2, if/else 2 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 6 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0568f8e6cb2ff8656638a645d617f8b3d5e5d0b37cce9810c2af8d2c90214bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.CatalogDetailPane (cognitive 24): CompanySkills.production.CatalogDetailPane has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 5, boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c5717bf19f99d61e2ab0e7998d36c8bfb57b374a9d8abaa20c9dfe31e25525"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedAiConnectionDetails.ManagedAiConnectionDetails (cognitive 24): ManagedAiConnectionDetails.ManagedAiConnectionDetails has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (8 pts), ternaries 2 (3 pts) (nesting depth added 4). 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":"ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a25db8c7e1e6db07d562cd68f42255f3a9dea508ad7c9e3010a3dfa0b39d562"}},{"ruleId":"D2","level":"warning","message":{"text":"McpAppFrame.McpAppFrame (cognitive 24): McpAppFrame.McpAppFrame has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 9, boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 95, 126, 135, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/mcp-app/McpAppFrame.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03fdfe5e1a6d3767730d37dba26736cd472fa980717a4db06ff8c0e4efd69c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SpekoProviderSetup.SpekoProviderSetup (cognitive 24): SpekoProviderSetup.SpekoProviderSetup has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 9, if/else 2 (nesting depth added 6). Of this number, 20 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":"ui/src/components/voice/SpekoProviderSetup.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2ff58c9d847326694c0029309e9a6e28dd4dd5a53f96e813ceffdf7d23d1f3"}},{"ruleId":"D2","level":"warning","message":{"text":"csv-preview.parseCsv (cognitive 24): csv-preview.parseCsv has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7, 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":"ui/src/lib/csv-preview.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f3676424297c5817f5c31714efde06c8962be36bec1d16f4751100b69adb0"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-url-warning.webhookUrlWarningReason (cognitive 24): webhook-url-warning.webhookUrlWarningReason has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, error handling 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":"ui/src/lib/webhook-url-warning.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"739bba68b4abe202ddb7b6a1802d78201202f55b5f5f4529666162868b51616a"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadPreview.UploadPreview (cognitive 24): UploadPreview.UploadPreview has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 6 (8 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 8 function items inside it that branch (handlePreviewLink, a function literal at line 17, a function literal at line 40, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/artifact-upload/UploadPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"883aa8cc9462154a59a5563bb348f291c613ae4774df9805e8b04e150e88e45f"}},{"ruleId":"D2","level":"warning","message":{"text":"projectRepositorySkills.installProjectSkillFixtures (cognitive 24): projectRepositorySkills.installProjectSkillFixtures has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts), ternaries 4 (5 pts) (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 9 belong to 36 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":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e1ce41ac6f0c0fc5871a58815bdfd3b21f188a7a5f5c480c9ade3f31204b70"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::codex_provider::classify_notification_thread (cognitive 24): paperclip_runner_core::codex_provider::classify_notification_thread has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 11 (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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf174a58693344a61d3d7b2940e7ce82da590f96b99581098bec0688c44c86"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::question_response::validate_answer (cognitive 24): paperclip_runner_core::question_response::validate_answer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca4c266a5edba0a0fe28c223a322d3ee9315b5752fd0f284bbc55d78989235"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-checkpoint.checkpointMain::walk (cognitive 23): workspace-checkpoint.checkpointMain::walk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (workspace-checkpoint.checkpointMain::walk::capture) 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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dc24e07ff40b7c4f6ddabe6517f3e4cb038c2c6fb3a18ea6d45ab8828352f3"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-managed-runtime.confineFullWorkspaceExport::walk (cognitive 23): sandbox-managed-runtime.confineFullWorkspaceExport::walk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"51556ce4af83fdd019d0b28fee3beb0dba6c1ba55f68f88c7c3837762eb4e41b"}},{"ruleId":"D2","level":"warning","message":{"text":"run-site-sandbox.createSandboxRunSite.placeWorkspace (cognitive 23): run-site-sandbox.createSandboxRunSite.placeWorkspace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 1 (2 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 249, 286). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d06c8bf34e2fab402e62efd04fb57b9cb5edb0e7132771092706e6bca724b5"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.reconcileManagedCodexSkills (cognitive 23): execute.reconcileManagedCodexSkills has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3, 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae930430190ceb5a77afea04858198c0fa3481fe88afccda20f87d211f42f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepPromptBuild (cognitive 23): execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepPromptBuild has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (20 pts), boolean chains 2, if/else 1 (nesting depth added 13). 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: 3 other methods here (execute.createAcpxEngineExecutor.executeAcpxEngine, execute.createAcpxEngineExecutor.executeAcpxEngine::startup, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5096}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bd1a2de08dfac29db8e80b44b4f05f5bd70022ebb43357a960c8e8d00f8294"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-checkpoint.createUsageCheckpointLog (cognitive 23): usage-checkpoint.createUsageCheckpointLog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (publish, log, retain). 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/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"70477df56a129bdd9bd8084cd0aa0a864bb9d750b1135050306ce70e7b1be9dc"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseCodexItem (cognitive 23): parse-stdout.parseCodexItem has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, ternaries 4 (5 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56a9cf5e7bda90ad69d9db521464e003fb258d09ebbc3e383d8a60e37c148f0"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.buildPrompt (cognitive 23): execute.buildPrompt has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 21, if/else 1, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/server/execute.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c621f0aefeac0d2c680d33fa8b7adb169a7e53c0239e19317f3e3b8c5ba83bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.extractRuntimeServicesFromMeta (cognitive 23): execute.extractRuntimeServicesFromMeta has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 4, if/else 3 (4 pts), loops 1 (nesting depth added 7). 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"de436f494bf751014f21c6a4f3559644b2a5e14a6c2980cd0e64fc07a9929a10"}},{"ruleId":"D2","level":"warning","message":{"text":"migration-compatibility.main (cognitive 23): migration-compatibility.main has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (11 pts), loops 4 (7 pts), if/else 3, boolean chains 2 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/scripts/migration-compatibility.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6f018d86cb94b15ff6cd8e35512c552ae3cd50f5d6f452cddb3ce11a2d0f56"}},{"ruleId":"D2","level":"warning","message":{"text":"backup-lib.pruneOldBackups (cognitive 23): backup-lib.pruneOldBackups has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup-lib.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1874cec8425eadbc54d5303cc1af798b4116c103aa9391f0f8422fdfa1163220"}},{"ruleId":"D2","level":"warning","message":{"text":"check-migration-safety.stripSqlComments (cognitive 23): check-migration-safety.stripSqlComments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"abec10ef2ea10b8e31abac6622c2ddc918988f193a08b175eea0af08bc8196e6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-notification-identity.classifyCodexNotification (cognitive 23): codex-notification-identity.classifyCodexNotification has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (6 pts), ternaries 4 (5 pts) (nesting depth added 2). 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, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/codex/codex-notification-identity.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b0b77fdcbf7264c302fbb198e3eb30751d59f9fcf31e23717f6874ba955855"}},{"ruleId":"D2","level":"warning","message":{"text":"company-observability.createOpenCodeCompanyObservability.finish (cognitive 23): company-observability.createOpenCodeCompanyObservability.finish has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, ternaries 2, error handling 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 99, 87). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc0fb26f033dad18bec74fa495e52d40c5fc432b6299ab04e4f9435827dc9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.awaitProviderDrainBarrier (cognitive 23): runnerd-codex-transport.awaitProviderDrainBarrier has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97dd9a3a6706129f5b51086a301fa10789d8f53f958b75e1babe06271d4aed1"}},{"ruleId":"D2","level":"warning","message":{"text":"private-snapshot.createAcpxPrivateSnapshot (cognitive 23): private-snapshot.createAcpxPrivateSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (29 pts), loops 7 (9 pts), boolean chains 6, ternaries 2, 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. This shape REPEATS in the file: one other method here (private-snapshot.createAcpxPrivateSnapshot::copy) 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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4a8e7ecad9035c65592445c5c04e5e6596cc61b081d25db8ccf9a6cab8a179"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-kimi-distribution.verifyLockedKimiPackageGraph (cognitive 23): materialize-kimi-distribution.verifyLockedKimiPackageGraph has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, error handling 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30a43dacbd7fb31940c7d39d77887db834576b2f995dc192e352e140ab2e99"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-issue-thread-server.createCapabilityIssueThreadMiddleware::liveView (cognitive 23): capability-issue-thread-server.createCapabilityIssueThreadMiddleware::liveView has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 1, if/else 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35b97e51443df87a3e5b5c5d31d66aed8f552baa0ba7ec060371cb3b2e4745f"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-provider-routing.aiProviderRoutingSchema (cognitive 23): ai-provider-routing.aiProviderRoutingSchema has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, 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/shared/src/ai-provider-routing.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda9f1cc4c63ffd974ff4efe039c1c8fdc8dd2d8170946007bc2edb5175c7fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.resolveSecretValueForEphemeralAccess (cognitive 23): secrets.secretService.resolveSecretValueForEphemeralAccess has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (17 pts), boolean chains 3, if/else 3 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e93736300ac5046746ad34ec4bfe68ef26f264a05eab1d2e898d5c5814f782"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.collectMissingAdapterConfigRuntimeBindings (cognitive 23): secrets.secretService.collectMissingAdapterConfigRuntimeBindings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":5541}}}],"partialFingerprints":{"codehealthFindingId/v1":"363a5bc7bf8b1d38beadf329c21a574e7e56e77caf64a5e354967cabcfe53bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-local-work.readIdleLocalWork (cognitive 23): idle-local-work.readIdleLocalWork has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 6 (8 pts), boolean chains 5, error handling 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-local-work.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2569a85eb2ea876950aa974c7879aae134e099b298ed84ddb9c28e0df1e351d"}},{"ruleId":"D2","level":"warning","message":{"text":"s3-multipart.putS3MultipartFile::sendPart (cognitive 23): s3-multipart.putS3MultipartFile::sendPart has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), error handling 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":"server/src/storage/s3-multipart.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d580529ba4b2a31556221ff05c577b801cbfabb12191ab9c5b4629cecea59558"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-owner-stop-proof.proveLocalWorkspaceOwnerStopped (cognitive 23): native-workspace-owner-stop-proof.proveLocalWorkspaceOwnerStopped has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, loops 3 (4 pts), ternaries 2, error handling 1 (nesting depth added 3). 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: 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":"server/src/services/native-runtime/native-workspace-owner-stop-proof.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"86278e82f2c9e13261aa2b6f336aa53eb407c2044c132bc7be707ed67d9eb3af"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-readonly-inventory.readWorkspaceInventory (cognitive 23): remote-workspace-readonly-inventory.readWorkspaceInventory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 32 (69 pts), boolean chains 25, loops 5 (9 pts), ternaries 4 (8 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (remote-workspace-readonly-inventory.readWorkspaceInventory::visit) 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":"server/src/services/remote-workspace-readonly-inventory.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d8a09650867729c1094482a36f1d11ab09bbbed45b3c83954128db0ad227b"}},{"ruleId":"D2","level":"warning","message":{"text":"github-grant-continuity.projectIdleGitHubGrantContinuity (cognitive 23): github-grant-continuity.projectIdleGitHubGrantContinuity has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"119cf5e00bdbf559e61a563fd5f45ba1c68fad4914926b81f80239769ee1c172"}},{"ruleId":"D2","level":"warning","message":{"text":"client.unikraftClient.execute (cognitive 23): client.unikraftClient.execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/unikraft/client.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a57b3ca3a75d0529920e44692bffaffa0a41fb2ae219e04fa00daf1d073fed2"}},{"ruleId":"D2","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.remove (cognitive 23): object-byte-journal.createObjectByteJournal.remove has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (7 pts), loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/object-byte-journal.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"456edba5a08acefb468c9bf4050cfcb62e0fe86a2958186cae39ce676ebd2a10"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-policy.buildExecutionWorkspaceAdapterConfig (cognitive 23): execution-workspace-policy.buildExecutionWorkspaceAdapterConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, ternaries 2 (6 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"639cc9b846cd2a4934d1add9ef1d29a0ec2b10ec7386717ded6c2a8c635a09f3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instruction-authorization.resolveInstructionActor (cognitive 23): agent-instruction-authorization.resolveInstructionActor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 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":"server/src/services/agent-instruction-authorization.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a649e6301b59e7485914ad5b8e5f640e7f8c4dcca7447897965664a4682fdfc9"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-version-retention.skillVersionRetentionService.protectedVersionIds (cognitive 23): skill-version-retention.skillVersionRetentionService.protectedVersionIds has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 7 (11 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbbdea3a3e75c0563a5b84c2e39414b16c1052b3d661211b7098a658c82db82"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-version-retention.skillVersionRetentionService.tick (cognitive 23): skill-version-retention.skillVersionRetentionService.tick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (5 pts), ternaries 3 (5 pts), boolean chains 4 (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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa377870a1f50dafab5285e7f6d641ec93cd11eb3b882241569b99a12dbd8023"}},{"ruleId":"D2","level":"warning","message":{"text":"external-objects.externalObjectService.registerRefreshWork (cognitive 23): external-objects.externalObjectService.registerRefreshWork has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (10 pts), boolean chains 8, if/else 5 (nesting depth added 1). None of this is in the body itself: all 23 points belong to 6 function items inside it that branch (load, a function literal at line 1171, a function literal at line 1177, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1adeaa80ffc8f3ed3b7011ab4777360c351280310390b5e603b75083dd07bb9"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-git-snapshot.openGitSkillSnapshot (cognitive 23): skill-source-git-snapshot.openGitSkillSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9, ternaries 2, 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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"165be71c33f54da8d8fda52ad1667c391c7444f229d6ef70becab09d7f597179"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-sources.skillSourceService.importFromUrl (cognitive 23): skill-sources.skillSourceService.importFromUrl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, error handling 1 (3 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5703cc7002ab2164ffa7aa2d057232bf0d361376dcd8368bc870154fd3a4b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-store.skillPackageStore.prepare (cognitive 23): skill-package-store.skillPackageStore.prepare has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 4 (nesting depth added 4). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 452, 481, 511). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-store.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaa78c48a60aeb666f5e021e9a4a6804dc4cbebf7244a379bc9ea1e81a582b9"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-job-scheduler.createPluginJobScheduler.refresh (cognitive 23): plugin-job-scheduler.createPluginJobScheduler.refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-job-scheduler.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47ecc2f975c5ff50e167262e8405ac3301f53ad684e114f375df07740b127bd"}},{"ruleId":"D2","level":"warning","message":{"text":"native-cancellation-request.claimCancellationRequest (cognitive 23): native-cancellation-request.claimCancellationRequest has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 161). 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":"server/src/services/native-runtime/native-cancellation-request.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"36664972baf99f1c3c3987325c246f0e2940d8f7654fdccea78ae82395c00f22"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-runner-recovery-diagnostics.remoteRecoveryProbeReason (cognitive 23): remote-runner-recovery-diagnostics.remoteRecoveryProbeReason has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (23 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":"server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a19ed3d7f22dcc4064336b06094ac6ecd5d959d9c8c4f4e4d5d772b69f14099"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-provider-unavailable-error.readTransientEnvironmentProviderFailure (cognitive 23): environment-provider-unavailable-error.readTransientEnvironmentProviderFailure has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 6, if/else 3 (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":"server/src/services/environment-provider-unavailable-error.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da272480feddaf49320897161c1f7f2afa600ad1b542958847f6009dac47db8"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.createHeartbeatRunPreparation.resolveResponsibleUserIdForRunSeed (cognitive 23): run-preparation.createHeartbeatRunPreparation.resolveResponsibleUserIdForRunSeed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 3 (4 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8c56a058c429ad70fcfed655ef06a28bd44b8634db804b2ad4111ef4b85842"}},{"ruleId":"D2","level":"warning","message":{"text":"run-state.buildExplicitResumeSessionOverride (cognitive 23): run-state.buildExplicitResumeSessionOverride has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 5, if/else 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d5e6549705c3a748689fd6205841c214dd8b806f838683b64db21b02c965c9"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.runTick (cognitive 23): email-channels.emailChannelService.runTick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 3 (4 pts), loops 4 (nesting depth added 4). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2178, 2273, 2209, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f0741dedb2396f60b8dbfaab60846ce3a577719bf2def7e053bfbf48360cb"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-files.createRemoteWorkspaceFiles.open.execute (cognitive 23): remote-workspace-files.createRemoteWorkspaceFiles.open.execute has cognitive complexity 23 (threshold 15). Drivers by points: error handling 4 (7 pts), ternaries 3 (7 pts), if/else 5 (6 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b533ed1d31988b7db02c61c7d2115915382aec6bd47be8091e40b9af341fbd40"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.resumeExecutionWaitComments (cognitive 23): run-control.createHeartbeatRunControl.resumeExecutionWaitComments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, ternaries 4, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ba807b2699156c5ddd1c954a0cba4fe7808e1b55808968da0ed3b7ad8a5565"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-warm-session-recovery.inspectRemoteWarmSessionRecovery (cognitive 23): remote-warm-session-recovery.inspectRemoteWarmSessionRecovery has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 10, 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":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cafcb0e9b5a7290a8cfdda94954e32a715079980108de7c4912b7e1c847e55"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-recovery-inventory.readNativeControllerRecoveryInventory (cognitive 23): native-controller-recovery-inventory.readNativeControllerRecoveryInventory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 4 (6 pts), boolean chains 4, loops 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":"server/src/services/native-runtime/native-controller-recovery-inventory.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2078726be78e3b619c5916265d11b015fa341cae39bff50c5bb4e34735219fd"}},{"ruleId":"D2","level":"warning","message":{"text":"native-finalization-upgrade-readiness.readNativeFinalizationUpgradeReadiness (cognitive 23): native-finalization-upgrade-readiness.readNativeFinalizationUpgradeReadiness has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 7, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to one function literal inside it that branches (line 16). 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":"server/src/services/native-runtime/native-finalization-upgrade-readiness.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bcec3098ca8b7fdeff6aa108a6ce1aa620b602b34be8ece4fabff37770c4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-discord-command-registration.request (cognitive 23): chat-discord-command-registration.request has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 5 (7 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed957b972cd1c4806ad1d79a034fbe7a5fcb852553be27939be27ee2982e2ac"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-avatar-pool.createAgentAvatarPool.drain (cognitive 23): agent-avatar-pool.createAgentAvatarPool.drain has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (8 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 11). Of this number, 12 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-avatar-pool.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cce32eee63846fcdbca92ad6423e8b491b559aa2811efe5c59f0984aaf686a1"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-effects.createProviderEffects.processProviderEffect::processClaimedEffect (cognitive 23): provider-effects.createProviderEffects.processProviderEffect::processClaimedEffect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), error handling 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"31091e15a714b854419aba16110c3aebfe642b3f3681e311c8f37aa8f42e3f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.prepareFailedChatRunRetry (cognitive 23): failed-run-retry.createChatFailedRunRetry.prepareFailedChatRunRetry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 7 (9 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b20c9787bdc7db1fe481af55345fb8248d8e64c4d5382634a07622e0a8d26d"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.definiteAttachmentProviderRejection (cognitive 23): policy.definiteAttachmentProviderRejection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 9). 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":"server/src/services/chat-channels/publications/policy.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c94c2fb0117c6706db3790ec0f2e9906ba52693040bd31737586dee14692fc"}},{"ruleId":"D2","level":"warning","message":{"text":"requests.createChatPublicationRequests.publishBoardMessage (cognitive 23): requests.createChatPublicationRequests.publishBoardMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1, loops 1 (nesting depth added 3). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 207, validRejectedIds). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5142eb4de9335b2aa40a18ae1f35b46ad6259f1872cd53fba96ea6451ec057"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.createToolCatalogReader.listCatalog (cognitive 23): reader.createToolCatalogReader.listCatalog has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 15, if/else 2 (4 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/reader.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429805d4791f653ec398ec6d6e8c13212b9510377339b299d3292a2d3725c00"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.syncAggregatorApps (cognitive 23): aggregator-accounts.createAggregatorAccounts.syncAggregatorApps has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (8 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 363, 381, 360). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da458fe25653a38a2c9b13cf2d6f4a6d4defaa3898fef6ddd8dbe9c2a3eac7a"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.normalizeQuestionAnswers (cognitive 23): issue-thread-interactions.normalizeQuestionAnswers has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 3 (4 pts), ternaries 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a467a3e2e02d9159353babb2106b685aa9adc02adf5248153820f6b10adaf6"}},{"ruleId":"D2","level":"warning","message":{"text":"native-bootstrap-proof.runnerdStateIsOpenedSessionBeforeTurn (cognitive 23): native-bootstrap-proof.runnerdStateIsOpenedSessionBeforeTurn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, boolean chains 9. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"729cf1e51fd5bec17a57aa5901960359a49cd0be0506ed4cd6e89bfd0e4ef9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#registerDeliverable (cognitive 23): PaperclipRunnerToolAuthority.#registerDeliverable has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea1229d063c3da512fc28395e6fccacb6e80ab7d0d72119715ca487a9418a26"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.rebaseRetainedNativeCleanupProviderHome (cognitive 23): native-session-executor.rebaseRetainedNativeCleanupProviderHome has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 2). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba31c763da3b099ec31dc749acceee303b15742c6c12cbcfafe572666bd45ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.stopStaleRemoteRunnerBeforeBootstrap (cognitive 23): native-session-executor.stopStaleRemoteRunnerBeforeBootstrap has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (5 pts), boolean chains 4, ternaries 2 (4 pts), error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7060}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c24cbfe58338c9f739dcf2256df0fbc77be72aff04cb03e55be06bf437cf3a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.restoreWarmRunnerdController (cognitive 23): native-session-executor.restoreWarmRunnerdController has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7655}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c08efc05ce9e8baaf0b89d7e9c653d664237dcfc51ac43278471fd060e939a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage (cognitive 23): native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 6, if/else 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 2 other methods here (native-session-executor.executePaperclipNativeSessionAttempt, native-session-executor.executePaperclipNativeSessionAttempt::observeAccountingEvent) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11548}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0405ca5d9a0cd4dcc40d7ee1eb190f724c030c5f3c401f428988935bb18ddd"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.prepareRemoteRunnerAssets (cognitive 23): native-session-executor.createRunnerdBackendWithinSessionClaim.prepareRemoteRunnerAssets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17061}}}],"partialFingerprints":{"codehealthFindingId/v1":"8529d91f9599069de0372ce696ea9ec4cb7b0c8b1f9a44d7169b8f9a82d79810"}},{"ruleId":"D2","level":"warning","message":{"text":"native-local-process-stop.unidentifiedLocalLaunchRefusals (cognitive 23): native-local-process-stop.unidentifiedLocalLaunchRefusals has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 4 (5 pts), boolean chains 2, loops 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3e6d2ef39d67f356a551a0005a872cc2d8529c51789071ebf1a9612a31a796"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-agent-runtime-state.pluginAgentRuntimeState (cognitive 23): plugin-agent-runtime-state.pluginAgentRuntimeState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (10 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-agent-runtime-state.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb5bd75551d43b6dfbbdd38e5ac21e795ee908afb731cf7949024c4aa1efa72"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-task-ownership.readyPortableTaskSource (cognitive 23): plugin-task-ownership.readyPortableTaskSource has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8 (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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"440fc6f538d4be9d32cc1f5ffdd5c226a25c1dad452df3dce6ea2cda42e02f79"}},{"ruleId":"D2","level":"warning","message":{"text":"file-transfers.createPublicMcpTransfers.getUploadUrl (cognitive 23): file-transfers.createPublicMcpTransfers.getUploadUrl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 7). 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 221, 251). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1555501287c712c0bb3e6eaba7a15f159635e9ca686b2de359e4f307412a214f"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-wake-proof.projectIdleMcpWakeProof (cognitive 23): idle-wake-proof.projectIdleMcpWakeProof has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, ternaries 2 (3 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":"server/src/services/public-mcp/idle-wake-proof.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5b14b24cae1f16f7763ff3f310dc66854856a6a75bdece02f8e8d7f9645847"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspaces.provisionRemoteWorkspace (cognitive 23): remote-workspaces.provisionRemoteWorkspace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 1 (nesting depth added 10). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1212, 1244). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e614517a8bc4a7196dd93ade4730b6469158d5bc1d4f50b824dacd08c2ea4e"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-contract.loadSchemaCatalog (cognitive 23): protocol-contract.loadSchemaCatalog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0407fc9b5579909e44fdc7e352cb1675479773dc7e98d423136482ff7eaef2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-contract.assertAcpxQuestionFixture (cognitive 23): protocol-contract.assertAcpxQuestionFixture has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, loops 3, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"057dbc4843bfe9f486bad01636631f100f58edc153526fb1e8f1d94133e8622b"}},{"ruleId":"D2","level":"warning","message":{"text":"probe-antigravity-metadata.stopAntigravityMetadataChild (cognitive 23): probe-antigravity-metadata.stopAntigravityMetadataChild has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (4 pts), boolean chains 2, loops 2, ternaries 1 (nesting depth added 8). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3144f3e29319f03525dfdbdd3c36749d939922b9c58d26b5243d780ba393a4"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-instructions.createKimiInstructionAdmission.createGuard.\u003Creturned closure\u003E (cognitive 23): kimi-instructions.createKimiInstructionAdmission.createGuard.\u003Creturned closure\u003E has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, 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/paperclip-runner/src/drivers/acpx/kimi-instructions.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca314ea8356125eef08b07ff1b2d6950895d69f38067eed9e9427b1f3ca9fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-question-adapter.normalizeField (cognitive 23): acp-question-adapter.normalizeField has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 6 (8 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/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f628093e896fcf3e24e59d8166aca6d2af15c70bee86c78d97900459da5ef92"}},{"ruleId":"D2","level":"warning","message":{"text":"checkpoint.archiveCursorCloudSessionCheckpoint (cognitive 23): checkpoint.archiveCursorCloudSessionCheckpoint has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (10 pts), loops 2, error handling 1 (nesting depth added 3). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f2662566368d7f79d7f5061ae989acda73d31d40056398e0e2bcb72d1185ce"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact-staging-budget.seedBudget (cognitive 23): artifact-staging-budget.seedBudget has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/artifact-staging-budget.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d650f3b0c410c30ccdb4a3accd6f9880437366af2f24806df8174b0a145666"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#dispatch (cognitive 23): CursorCloudSession.#dispatch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7 (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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc18e381c2bd7d1a821f2726147749521fd6e9959be98c19c8c6f68c3b67e860"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-proxy-finish-diagnostics.createOpenCodeFinishDiagnosticForwarder.diagnostic (cognitive 23): opencode-proxy-finish-diagnostics.createOpenCodeFinishDiagnosticForwarder.diagnostic has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, 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/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c6fcde76b33d0509a5f7aa16d0a4be719031f711efc1fdd30e861be0d8b6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"app.FreshnessChip (cognitive 23): app.FreshnessChip has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 4, if/else 4 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c738349c6b892df0b8bac91711d18ffa7da614faf9e42eb378e62cf7afdfef4e"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.runSessionLogStream (cognitive 23): plugin.runSessionLogStream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea79aa5bf5cedd34ba87e2c4be4520fac78222c853d1b0edd9426a81d54b7bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.syncOutFileMappings (cognitive 23): file-sync.syncOutFileMappings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (6 pts), error handling 3, ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1323, 1272, 1281). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"895258ab68bad7324963221f380bfcc66a94b472d4bc4a40f2b9d6c530db1b09"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-creation-cleanup.readEnvironmentCreationCleanupError (cognitive 23): environment-creation-cleanup.readEnvironmentCreationCleanupError has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 4 (5 pts) (nesting depth added 1). 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: 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/plugins/sdk/src/environment-creation-cleanup.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dc38e2aa2639573dd794e312a029ed09ff783828e760bbbaccf8a9c47a0dac"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.buildOpenCodeTraceFiles (cognitive 23): feedback.buildOpenCodeTraceFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 3 (4 pts), ternaries 3, boolean chains 1, error handling 1 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"server/src/services/feedback.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c13e1328660c26fee931d3b65d7f494b50842b00259149fc247db94b7f9888c"}},{"ruleId":"D2","level":"warning","message":{"text":"device-login.tailscaleDeviceLoginService.resume (cognitive 23): device-login.tailscaleDeviceLoginService.resume has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, ternaries 2, error handling 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 10 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":"server/src/services/connectors/tailscale/device-login.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f69a7740e5a50da2ef78780bb13ebad29f38f08bb2b329d216e83c05b273878"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-training.decisionTrainingRoutes (cognitive 23): decision-training.decisionTrainingRoutes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, boolean chains 3, ternaries 1. None of this is in the body itself: all 23 points belong to 8 function items inside it that branch (a function literal at line 199, a function literal at line 233, a function literal at line 175, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-training.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"adda2eb6aa102b26bf0f9712344a383da44f57c10bc3d8f590b3dfbcbb5a956b"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-installation-maintenance.skillInstallationMaintenance.eligibility (cognitive 23): skill-installation-maintenance.skillInstallationMaintenance.eligibility has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (7 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"54804c270658616f461d3062bf96374de27b6eb2b79a5491e7b2179cbdb4600f"}},{"ruleId":"D2","level":"warning","message":{"text":"blockquote-markdown.unescapeBlockquoteMarkers (cognitive 23): blockquote-markdown.unescapeBlockquoteMarkers has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/blockquote-markdown.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"63da4b95e0a7bb476946c6f08ce931808351712387ed9c20018fc3117149b6df"}},{"ruleId":"D2","level":"warning","message":{"text":"slots.usePluginSlots.slots (cognitive 23): slots.usePluginSlots.slots has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/plugins/slots.tsx"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563a5b1ab2a4a640d32367cab46a6bc158313dc5f781676268be9c322e8afcd"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySettingsSidebar.production.CompanySettingsSidebar (cognitive 23): CompanySettingsSidebar.production.CompanySettingsSidebar has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 15, ternaries 3 (4 pts), if/else 2 (3 pts), error handling 1 (nesting depth added 2). Of this number, 15 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":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb82bf5fe4a0b62f5ce94252186eed14c680c96704f49e947b331caf671ed88"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.LiveUpdatesProvider (cognitive 23): LiveUpdatesProvider.LiveUpdatesProvider has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 10, ternaries 2. Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 2542, 2486, 2520, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e53ed41ee60a1d42e33c802d291bb0c191babc8933fe6cf353d5afd770b0fc"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.TaskTreeNode (cognitive 23): IssueThreadInteractionCard.TaskTreeNode has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 14 (19 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9cdd59eedd9fdef3bbb10bafcc23f43480c4d2091e90f86dbddecdca0f193"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.ItemVerdictSegmentedControl (cognitive 23): IssueThreadInteractionCard.ItemVerdictSegmentedControl has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (23 pts) (nesting depth added 13). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 3824). 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3803}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c7f6d3a5f8efe381f33cf187460ad8bfc61ea553767c87ed774eacd950f6df"}},{"ruleId":"D2","level":"warning","message":{"text":"IssuePropertiesArtifactsTab.MarkdownWorkProductRow (cognitive 23): IssuePropertiesArtifactsTab.MarkdownWorkProductRow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, ternaries 8 (9 pts), boolean chains 4 (nesting depth added 1). 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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62be746bc81135f8efb22775e1dd8c2cd3f162b57350cd7ad95daf9fee40eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRuntimeControls.buildWorkspaceServiceControlEntries (cognitive 23): WorkspaceRuntimeControls.buildWorkspaceServiceControlEntries has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 2, if/else 1 (nesting depth added 10). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 243, 255). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04a2f3bcbe472ca25ac03d5bd43ba80704d8f1d401c79de1a714de464b34564"}},{"ruleId":"D2","level":"warning","message":{"text":"SidePanelTabs.SidePanelTabs::handleKeyDown (cognitive 23): SidePanelTabs.SidePanelTabs::handleKeyDown has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (7 pts), boolean chains 4 (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 (SidePanelTabs.SidePanelTabs) 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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd72757665d2e211041f1f975619f1ef123d6f8150c82110a0452b7fc47d21"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-events.fileChangeDiffEntries (cognitive 23): native-run-events.fileChangeDiffEntries has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"993613d56b80779d8aaee74f335fdb1ce738a76b117de70a9e5a3a9a551d8420"}},{"ruleId":"D2","level":"warning","message":{"text":"RunWorkspaceRecoverySurface.WorkspaceValidationRecoverySurface (cognitive 23): RunWorkspaceRecoverySurface.WorkspaceValidationRecoverySurface has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9, ternaries 7, boolean chains 6, match/switch 1. Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 136, 167, 190, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunWorkspaceRecoverySurface.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfaad6b8eced3ed671ae6e85333bf82aef8d3b2c848b652610c29caf069453f"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionsBundleSettings.InstructionsBundleSettings (cognitive 23): InstructionsBundleSettings.InstructionsBundleSettings has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, ternaries 8, if/else 3, error handling 2. Of this number, 17 points are the body\u0027s own statements and 6 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":"ui/src/pages/agent-detail/InstructionsBundleSettings.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a2b124ecfea78de9cb1c7e40f74281b6271adced8a683b8295b8cab636755a"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineHistoryTab.RoutineHistoryTab (cognitive 23): RoutineHistoryTab.RoutineHistoryTab has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 8, ternaries 3. Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 105, a function literal at line 116, openRestoreConfirm, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b246252069f6dd526ce276cbd372f67529d3757a0a3af867e7a9fdb6f547ed13"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceServiceControlBar.ServicePopoverRow (cognitive 23): WorkspaceServiceControlBar.ServicePopoverRow has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 5 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceServiceControlBar.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97a20f4e43d23281052560b543882bccbf4ab3a8269fa590afda3eca11b418c"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.attentionDetailLine (cognitive 23): attention.attentionDetailLine has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 3 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"715019746119a7c120b83bea18474d15ef7f0783cee9ae723cbb3d9c3f36e285"}},{"ruleId":"D2","level":"warning","message":{"text":"FastResponseSettings.FastResponseSettingsSection (cognitive 23): FastResponseSettings.FastResponseSettingsSection has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 11). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 391, 370). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca59b494da181f67ba313bddec71b5195021e84d97277e17a2f4b08f60a08f4"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailEndpointSetup.EmailEndpointSettings (cognitive 23): EmailEndpointSetup.EmailEndpointSettings has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, if/else 4 (5 pts), ternaries 4 (nesting depth added 1). Of this number, 21 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"758b5c8d3f1252afcc49c6c8a7455f2f21a71650dd170148bfe1b84811ae58ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportSkillsFromProjectDialog.SelectStep (cognitive 23): ImportSkillsFromProjectDialog.SelectStep has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 9, if/else 3 (nesting depth added 5). Of this number, 13 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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb63019b24a59d9417edf1aeec14ab434008ea89db2187440b0c0a8dba989d9"}},{"ruleId":"D2","level":"warning","message":{"text":"CaseFieldsPanel.CaseFieldValue (cognitive 23): CaseFieldsPanel.CaseFieldValue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CaseFieldsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"994d80ee54f7c38fcbb81ef1a27a412c7e06fd46069060f89ac9546f8bec78b5"}},{"ruleId":"D2","level":"warning","message":{"text":"CaseListRow.CaseListRow (cognitive 23): CaseListRow.CaseListRow has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 7 (nesting depth added 4). 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":"ui/src/components/cases/CaseListRow.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc73a546437adb3c2c048f71fc25db788a24fce9f08aa7a1109d6f8d2232ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"ForkSkillDialog.ForkSkillDialog (cognitive 23): ForkSkillDialog.ForkSkillDialog has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 3, if/else 2, loops 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/ForkSkillDialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c907e480f3ef55e163ac3cbfe0850693b82af39cf49ba43e86bfc0499b9641"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatQueuedMessages.SortableQueuedMessage (cognitive 23): TaskChatQueuedMessages.SortableQueuedMessage has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, ternaries 8 (10 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":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4012a53f415ed7dee2f7fc6a025b54309e08aa4b442b0c7964c823396d9717"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessEditor.AccessEditor (cognitive 23): AccessEditor.AccessEditor has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 6, if/else 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/AccessEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6296a9cc26900e00161edc2c5a59427f5308d9165e81c60784ebadd6c734b00a"}},{"ruleId":"D2","level":"warning","message":{"text":"api.installFixtureApi.fixtureFetch (cognitive 23): api.installFixtureApi.fixtureFetch has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (7 pts), if/else 4 (5 pts) (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/capability-gaps/api.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65110ad8f4ad06319b566315ebad6965a1eb47347c45f2fcda5e404d8d6a93c"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxProviderState::accept_event (cognitive 23): AcpxProviderState::accept_event has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, 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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4736a93dcd3fc5b309f32e87fb6462c12b37c5b3b2a91bd1cc76696f7cbf4aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::set_goal (cognitive 23): CodexProvider::set_goal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, 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":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad94ba29caa24aaccb83015ad13a0e8e3c2c017cc0bd5326c28ba426ae912802"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityOutputBuffer::settle (cognitive 23): IdentityOutputBuffer::settle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70619e6ad99e694b079175db2ab386982372beea586d3895b96ccb65cb86c78"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::acpx_event_payload::sanitize_question_set (cognitive 23): paperclip_runner_core::acpx_event_payload::sanitize_question_set has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (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/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea24d10f691c3f9e6ff93fa093e43937ea8887354f8508fd5b96b843754bb7"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::claude_managed_provider::bounded_request (cognitive 23): paperclip_runner_core::claude_managed_provider::bounded_request has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"3321926f9011f2202933271487cbca05c60c130e865dbcc676fe8a9001d79603"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_backend::terminal_events (cognitive 23): paperclip_runner_core::provider_backend::terminal_events has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 8, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"32109b4cebd58ffa099a4742eaddfd59e7b2cad3f8b1ba03f6d59b0d77c2abfb"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-auth.loginMcpDevice (cognitive 22): mcp-auth.loginMcpDevice has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (5 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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e6408dee6b50a42cc6aaf9f0c9225cbfd1980d795b79e9ac0b7e196afc07ca"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.migrateInlineEnv (cognitive 22): secrets.migrateInlineEnv has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35f2f83f3ed2a87b0433b14d3ec4dd993d1ad3a04c132e6296b664f0e7f8ee4"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run.heartbeatRun::handleEvent (cognitive 22): heartbeat-run.heartbeatRun::handleEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (9 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. This shape REPEATS in the file: 2 other methods here (heartbeat-run.heartbeatRun, heartbeat-run.heartbeatRun::printAdapterInvoke) 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcb77ee9002ee8e192f06cb4159d766e24440bc2ba051001fe5dc6e24af8255"}},{"ruleId":"D2","level":"warning","message":{"text":"server.server (cognitive 22): server.server has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 2 (6 pts), error handling 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec05a0829b8efe59d52c66972dc84d90ac894ad44722fe9a76bcd56be6010a06"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-git-stream.runWorkspaceGitProcess::collect (cognitive 22): workspace-git-stream.runWorkspaceGitProcess::collect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), ternaries 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-git-stream.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b330decb42e1ca5750a687ba02ca0bed747f62890ec315d1d7831d9ea42da2b"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-seed-cache.evictSeedGenerations (cognitive 22): workspace-seed-cache.evictSeedGenerations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, loops 3 (4 pts) (nesting depth added 5). Of this number, 17 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e2e90272d069225099d93a957f7e812b762cfdc4535c7516f31eeb2785e008"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh.createSshCommandManagedRuntimeRunner.execute (cognitive 22): ssh.createSshCommandManagedRuntimeRunner.execute has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 5 (8 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b9d6c896cd62a3ee196123eb7fb76a93b432e8b107d0bbea663216471c28c8"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.referencedSourceContentSignature (cognitive 22): execute.referencedSourceContentSignature has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 4 (6 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (walk, a function literal at line 796, isIgnoredByGitResolution). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef17832389748dae83875c0a4d962b600e7edb2594005e7ba6d8cf2222b9ae3a"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.prepareCodexSkillRuntime (cognitive 22): execute.prepareCodexSkillRuntime has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 4 (6 pts), error handling 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a281683ba3e07b0ffa59886dd43b5e342abb94cbb1abb9e5919c49f5f35d80"}},{"ruleId":"D2","level":"warning","message":{"text":"acp.probeClaudeAcpSandboxLogin (cognitive 22): acp.probeClaudeAcpSandboxLogin has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"bced618076ba9c98ed1954ab7f6628ca7e32463958d89c62223a88957f804e08"}},{"ruleId":"D2","level":"warning","message":{"text":"acp.testKimiAcpEnvironment (cognitive 22): acp.testKimiAcpEnvironment has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 4, if/else 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/acp.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d1b5b232b0db105e708e73c4ab717151b8787ebe9c401c0bd472daf9c4801b"}},{"ruleId":"D2","level":"warning","message":{"text":"menu.Menu (cognitive 22): menu.Menu has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 5 (7 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 9 function items inside it that branch (onMenuKeyDown, focusItem, a function literal at line 108, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6105db840b89bcaae664afd7162b35f35b2ff125dbee7bcb12cbf998b2902"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessCodexAppServerTransport.#onLine (cognitive 22): ProcessCodexAppServerTransport.#onLine has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4745f2b2ed77a12189fb01578b064b106ef7696efce0ab103039a4e77e33d41"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-extensions.createCursorProfileExtensionAdapter.notification (cognitive 22): cursor-extensions.createCursorProfileExtensionAdapter.notification has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"623c5bf0df4e9b593f6d401b6a5e75f997449bba280acd2134abd53413b5c1cc"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-input-variants.handoffCase (cognitive 22): tool-input-variants.handoffCase has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, 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":"packages/paperclip-runner/src/contracts/tool-input-variants.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aacd6559be4672654afa270c0840f2c24a63e2df57348a9c61e0981e71da86"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.decideCapabilitySemanticAuthorization (cognitive 22): policy.decideCapabilitySemanticAuthorization has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9 (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/paperclip-runner/src/semantic-tools/policy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb9e546d94aec34e8d65f6fff6c6fcd27decb4519ad98329f6f662bbe1b56ed"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#stopProviderBeforeSuspend (cognitive 22): DurablePrpCodexTransport.#stopProviderBeforeSuspend has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), ternaries 3 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076740e565d10fc20ea0e1a19df490a9c69f8af0be88eab386f8e9d6127bcf3"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-kimi-distribution.buildKimiDistribution (cognitive 22): materialize-kimi-distribution.buildKimiDistribution has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 2 (3 pts), error handling 2, loops 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"10533fa75bffb2d0ff5ce986bce1198fb0f5c2b3bc2430f64b277e6ec562424a"}},{"ruleId":"D2","level":"warning","message":{"text":"issue.resolveIssueRecoveryActionSchema (cognitive 22): issue.resolveIssueRecoveryActionSchema has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 9 (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/shared/src/validators/issue.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d616bcb0ed65b277fec326f2c688da2ff8c8db9ad15ddeb2f90dd1dd84da037"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.redactStandaloneBearerCredentials (cognitive 22): redaction.redactStandaloneBearerCredentials has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd89ff5fc3203a71ee3432f4fd22e14cd231b48d530c0a70f9e82510f192c22"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery-transport.photonEnvelopeSequence (cognitive 22): recovery-transport.photonEnvelopeSequence has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (nesting depth added 9). Of this number, 14 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":"server/src/services/photon/recovery-transport.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1337548cc5fb5a7fec67fa2555e638a5ce34750a827b5d0f302b4d50747d823f"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-receipt-reactions.applyGitHubReceiptReaction::request (cognitive 22): chat-github-receipt-reactions.applyGitHubReceiptReaction::request has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), error handling 2 (3 pts), ternaries 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. This shape REPEATS in the file: one other method here (chat-github-receipt-reactions.applyGitHubReceiptReaction) 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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"329f04d19c2e27a0e4ccda5ae754b7176b13243e78128abc94d7daf7c17fc5c5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-records.configPatchFromSnapshot (cognitive 22): agent-records.configPatchFromSnapshot has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 7, if/else 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":"server/src/lib/agent-records.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"1010a97d72cbd56d62acddcbb0f057483bfdda567ae6c124975963397e1c4c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"onboarding-first-task-admission.readHumanDecision (cognitive 22): onboarding-first-task-admission.readHumanDecision has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6 (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":"server/src/services/onboarding-first-task-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18716db8f366233f820d67e903cdd0946f4b8e12236767da4c047f87bcf9b99"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.resolveSecretValueForAgentAccess (cognitive 22): secrets.secretService.resolveSecretValueForAgentAccess has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (nesting depth added 6). 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":"server/src/services/secrets.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfab476ea258863a189c1ec3342320e894a3f763c8ce2165a6cbc814b8196d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"run-identity.captureRunIdentity (cognitive 22): run-identity.captureRunIdentity has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 11). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 561). 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":"server/src/services/run-identity.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"41049fa724505e7efd38c6ae411aba926205c9ddf2e5dd0368a32e11103c2b6f"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-http.mcpHttpRequestInit (cognitive 22): mcp-http.mcpHttpRequestInit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (7 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":"server/src/services/mcp-http.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f02d31ab39775998cc9146d30e705a2cef6a66e75ba79168556f78a51e9236"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-preparation-settlement.readFailedPreparationSettlement (cognitive 22): failed-preparation-settlement.readFailedPreparationSettlement has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 9, ternaries 1 (nesting depth added 3). 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":"server/src/services/failed-preparation-settlement.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e25a23aca943df50d057d0f6d1590c26818021d2908f7ca601cf685cb3e7dd"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-git-source-roots.readNestedWorkspaceGitSourceRoots::visit (cognitive 22): workspace-git-source-roots.readNestedWorkspaceGitSourceRoots::visit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fda70b4046a5edf848d3dc0bca43d07caf50de6340f5d7161d370a5e0cbfeda"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-expiration-locks.lockPaths (cognitive 22): git-workspace-expiration-locks.lockPaths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, loops 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 6 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":"server/src/services/git-workspace-expiration-locks.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40bca47324d12f45f349c9f5d43890396d98e7d23fb35ad6fd1199f60783816"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.finishGitCacheTrash (cognitive 22): git-workspace-restoration.finishGitCacheTrash has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, loops 2 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c082050060c6edcaeceab439c2469cc9481d71e3fb058b1c748b993043d878d"}},{"ruleId":"D2","level":"warning","message":{"text":"nested-clone-migration.inspectStandaloneClone (cognitive 22): nested-clone-migration.inspectStandaloneClone has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17f213db483ac9088c76ea5b1c677a2cae15fbdccd5325aef702f3d2298c5c4"}},{"ruleId":"D2","level":"warning","message":{"text":"budget-exposure.readObservedSpends (cognitive 22): budget-exposure.readObservedSpends has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-exposure.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad75cb45b36945ec93e1d9c62c0c220c9e892536a6ffe97de2d375be67f209b0"}},{"ruleId":"D2","level":"warning","message":{"text":"resource-memberships.resourceMembershipService.updateProject (cognitive 22): resource-memberships.resourceMembershipService.updateProject has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (17 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":"server/src/services/resource-memberships.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0a726ac328177bf645d1784dd3599d42ac249c4168f954e655a2455e5b650"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instructions.deriveBundleState (cognitive 22): agent-instructions.deriveBundleState has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (11 pts), error handling 2 (4 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instructions.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e66f5cdd5a49ab71a2a9c0144dedbe1883921c35475db4f3a0ad71f07e6cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-credentials.agentCredentialService.enforceClaudeOAuthBindingClaim (cognitive 22): agent-credentials.agentCredentialService.enforceClaudeOAuthBindingClaim has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-credentials.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"626039ae09d09150209e94c4a650aa7ebda331772d350fab4d4565bb5e480393"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-provider-pack-authority.resolveRemoteProviderPackAuthority (cognitive 22): remote-provider-pack-authority.resolveRemoteProviderPackAuthority has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack-authority.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e319e66309d3d833c0d89d4805629cbca23a77b0438fa0c91c36126ca3418c21"}},{"ruleId":"D2","level":"warning","message":{"text":"github-commit-details.createGitHubCommitDiffDetailsResolver.\u003Creturned closure\u003E (cognitive 22): github-commit-details.createGitHubCommitDiffDetailsResolver.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, error handling 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":"server/src/services/github-commit-details.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a36ede46df21700a9d10e667ea1b9f0f6cfcbf463bb6de1b873ae8f70cd101"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.createLocalSkill (cognitive 22): company-skills.companySkillService.createLocalSkill has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 7 (8 pts), boolean chains 4 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4607}}}],"partialFingerprints":{"codehealthFindingId/v1":"991759c23ce4203e98c22fb49b77dbc9a85f5a0b914386ac5298d4bdbfbaa45f"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-sync.projectSkillRepositories (cognitive 22): skill-source-sync.projectSkillRepositories has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (9 pts), boolean chains 6, if/else 3 (6 pts), loops 1 (nesting depth added 8). 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98a3ccb2f3d349557466ff9d892e2e53f5a815a485ed7ae3e166fcaacd2c88d"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-store.skillPackageStore.readIsolatedPackage (cognitive 22): skill-package-store.skillPackageStore.readIsolatedPackage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 4 (8 pts) (nesting depth added 12). 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 365, 379, 401). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-store.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d30b9b032529a659e62248ddbef4a5bf6dcad8ff63e3f68f15916050aa59bf0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-migration.preservedActiveCheckpoint (cognitive 22): native-controller-migration.preservedActiveCheckpoint has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 5, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"471dc1818f1bd5b1903cb2c9ab1dbc4c22c9433f7b89f7271918e0775765f550"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.executeGitCommand (cognitive 22): workspace-runtime.executeGitCommand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (8 pts), boolean chains 3, loops 1 (nesting depth added 8). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3199, 3204, 3217). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5320932ea2d9587d27605edcb0389199f6f098a0907f05e1e480414b79514d"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.timeWindowMatches (cognitive 22): tool-access-policy.timeWindowMatches has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, ternaries 3 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"e587832d5135c2f0db786cadbf31cf6c9278cc2d70ed51abcd9b3799a5bb636f"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.admitInvocation (cognitive 22): tool-access-policy.toolAccessPolicyService.admitInvocation has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 3 (5 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 1509). 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aba008b8f2c7b3a3bb1372fbfff78b8a977a9d41850e703592bacf77dc99b9"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-review-policy.githubReviewLineIsInPatch (cognitive 22): chat-github-review-policy.githubReviewLineIsInPatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-review-policy.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb791ab963e7578c0b59dfeb1cf7cd437203e75ef2de7f9b8e52880782fc007"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-loader.ensureLocalPluginBuilt (cognitive 22): plugin-loader.ensureLocalPluginBuilt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (8 pts), boolean chains 3, 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c2d8e6a735085de7800268ed50868aab91d275bf3b15774fcee1007f8606b3"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.sharedPublicationPin (cognitive 22): execution-workspace-repositories.executionWorkspaceRepositoryService.sharedPublicationPin has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 1 (nesting depth added 3). 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad8145b07f965a1c8c6479b8f2441e410e0286fb8a5f8ca0053da606b464e26"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-provider-routing.managedProviderRouting (cognitive 22): ai-provider-routing.managedProviderRouting has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 2 (4 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":"server/src/services/ai-provider-routing.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b1819f470027cc40e18a7516964aadca4641d4cb6753a95e73793c5a992287"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-conversations.settleConversationTurn (cognitive 22): agent-conversations.settleConversationTurn has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 8, boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 363). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e057821636b7a160b340c408f93210a29b86d242fe46d532f00a8b054f52a48"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.mergeCoalescedContextSnapshot (cognitive 22): run-preparation.mergeCoalescedContextSnapshot has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73be2c4965d66c4afd14ac963d32e35516191d5595ef5c322c73686eb001382"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-graph-liveness.classifyIssueGraphLiveness (cognitive 22): issue-graph-liveness.classifyIssueGraphLiveness has cognitive complexity 22 (threshold 15). Drivers by points: if/else 28 (47 pts), boolean chains 13, ternaries 7 (13 pts), loops 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (issue-graph-liveness.classifyIssueGraphLiveness::blockedFindingForLeaf, issue-graph-liveness.classifyIssueGraphLiveness::firstBlockedChainFinding) 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee6abaf7dec21a967d274f2a5eab5a0ebc7824fa91684f40a40a015adf531b1"}},{"ruleId":"D2","level":"warning","message":{"text":"disposition-repair.dispositionRepairDurablePathReason (cognitive 22): disposition-repair.dispositionRepairDurablePathReason has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/disposition-repair.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"736304fe987551275352e16829032d3929473f6c2c82a0445416100f9f4925e0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-reconstruction-intervening-executions.reconciledInterveningExecutions (cognitive 22): native-reconstruction-intervening-executions.reconciledInterveningExecutions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 8). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-reconstruction-intervening-executions.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b725118641a4c0942dfedf030a70deec4003fd1c65612c272f21ffac53062700"}},{"ruleId":"D2","level":"warning","message":{"text":"fast-responses.fastResponseService.resolve (cognitive 22): fast-responses.fastResponseService.resolve has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 4 (5 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":"server/src/services/fast-responses.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07f19c175e6e745d43324ffcc3ad20998ed00a50b1c5482444379c8d3d2fb4f"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-storage.loadWorkspaceSnapshotArchiveTimed (cognitive 22): remote-workspace-snapshot-storage.loadWorkspaceSnapshotArchiveTimed has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 4 (7 pts), boolean chains 3, error handling 1 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 3 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae808d24b0098832f1b94ceb526153e1de0acef1c626346378645d02e9246300"}},{"ruleId":"D2","level":"warning","message":{"text":"case-context.getCaseExecutionContext (cognitive 22): case-context.getCaseExecutionContext has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-context.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab52fc2a4067a9febb9d8887d573e3f5ede760bf60fd3193ba4bf7783795b66"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipControlPlanePort.completeRun (cognitive 22): PaperclipControlPlanePort.completeRun has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 2). 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 literal inside it that branches (line 696). 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ce843e0b54b9bcd3c88ca7612c7142fa1de4201414c01e460c3c90bada0441"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.recoverQuestionCancellationRequests (cognitive 22): recovery.createHeartbeatRecovery.recoverQuestionCancellationRequests has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 4, 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b39101917dbadf3c8134fab64ac45985ccf61d78d487e15f10090c03c80e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createHeartbeatRecovery.reapOrphanedRuns (cognitive 22): recovery.createHeartbeatRecovery.reapOrphanedRuns has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dae2c07d35c1a0f705f8935bd0a7527f977838762ab2d6e79224b6fdfe0274"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-process-settlement.recoverLegacyProcessSettlement (cognitive 22): legacy-process-settlement.recoverLegacyProcessSettlement has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, boolean chains 9, ternaries 2. 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: 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":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef8490822b04ad35df01860d48f86b033dc14883d741ef3f0cf2878c44c1d66"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-trace-store.providerTraceStore.prepare (cognitive 22): provider-trace-store.providerTraceStore.prepare has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7db81eb9e720c61db53659ac4f06d690cd76e8ec9fd35f021f067335cbaccf3"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-recovery.voiceSessionRecovery.check (cognitive 22): voice-session-recovery.voiceSessionRecovery.check has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 10). 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":"server/src/services/voice/voice-session-recovery.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fc7934aa81da1abe27c79bb62f2adee708f780fd67ae880800d8751b1e7bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"manager-grants.createSlackManagerGrants.complete (cognitive 22): manager-grants.createSlackManagerGrants.complete has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 2 (4 pts), error handling 2 (nesting depth added 4). None of this is in the body itself: all 22 points belong to 3 function literals inside it that branch (lines 103, 128, 108). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/manager-grants.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6a77ec842acd61d6fa377a2bfe30a685b561d9fc02d8fb436856cf651287b4"}},{"ruleId":"D2","level":"warning","message":{"text":"callback-verification.createSlackCallbackVerification.verifySlackRequestUrl (cognitive 22): callback-verification.createSlackCallbackVerification.verifySlackRequestUrl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 267). 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4b6eea4f26c8935a5e489a4b1092d93a0c9edf1141c5bb9b6a379459b35da5"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-effects.createProviderEffects.lockCurrentProviderEffectAuthorization (cognitive 22): provider-effects.createProviderEffects.lockCurrentProviderEffectAuthorization has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f31471ada374649dcb1c87dfda7f9f2347417f30dc859b27371f2bc46a81b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.failedChatRetryReceipt (cognitive 22): failed-run-retry.createChatFailedRunRetry.failedChatRetryReceipt has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (22 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f599ba112099648cd558e783778fb733affe94e7875615c8f3417d14e786065"}},{"ruleId":"D2","level":"warning","message":{"text":"projection.pendingNewToolsForProfile (cognitive 22): projection.pendingNewToolsForProfile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 6). 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":"server/src/services/tool-access/profiles/projection.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7f884a54bbb8f2ad1b457182609812d94d53b5c4a4bdcd9979d9a763b28ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.syncComposioApps (cognitive 22): aggregator-accounts.createAggregatorAccounts.syncComposioApps has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (6 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 2 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 199, updateLease). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"502f106bde81df0294f0ffacef5451f39e2db2abfd2989f83e61a22d14da9fd9"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.gitHubReadGrantAccess (cognitive 22): tool-access.gitHubReadGrantAccess has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (8 pts), error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ef8aa60e18f31c66e5e8c2fc15433a71ca02bfb04696a26133e554459d82bf"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expireStaleRequestConfirmationsForIssueDocument (cognitive 22): issue-thread-interactions.issueThreadInteractionService.expireStaleRequestConfirmationsForIssueDocument has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 5280, 5308). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7568fc444731d298ae4aa226236b8ca4a877aedc7da1419473ca5016ec3b5321"}},{"ruleId":"D2","level":"warning","message":{"text":"native-question-bridge.projectNativeRuntimeRequest (cognitive 22): native-question-bridge.projectNativeRuntimeRequest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 3 (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":"server/src/services/native-runtime/native-question-bridge.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee958c58466bd74d2f39a37c513b35e9eb0bdb90670134576b581f3c7fd99cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi.resolveOperationAuthLevel (cognitive 22): openapi.resolveOperationAuthLevel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, 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":"server/src/routes/openapi.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f225954391ecac9939a6a5372793ba0fbb14fe8c8bb36a6ea98c99c0692113"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.environmentService.releaseLease (cognitive 22): environments.environmentService.releaseLease has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 7 (nesting depth added 1). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 1755). 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":"server/src/services/environments.ts"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194574a2a87b105203146abf15371655800d9ad3be71bbc1ba9d5285f21b607"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-task-source-recovery.inspect (cognitive 22): plugin-task-source-recovery.inspect has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 10, 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7cf2a1114bdc8aa7b95dfc200b464ca8aab71cdfc8a3c9a009b0227bfde581"}},{"ruleId":"D2","level":"warning","message":{"text":"native-chat-review-presentation.authorizeNativeChatReviewPresentation (cognitive 22): native-chat-review-presentation.authorizeNativeChatReviewPresentation has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts), ternaries 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfef8a35599e1f51031f9902e157871d7ee4cbd21242fdeb7128083ebe03c45"}},{"ruleId":"D2","level":"warning","message":{"text":"muse-identity.museIdentity.authenticate (cognitive 22): muse-identity.museIdentity.authenticate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, 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":"server/src/services/muse-identity.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c3c37c678d1770168e316c03f26a2945c2404cce61ddbb3a65a13ae4da2c71"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.authorize (cognitive 22): oauth.createPublicMcpOAuth.authorize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7 (nesting depth added 4). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c12121d853a15d0b396880773c38b14b749f829e824bd5db75bf4637ebfcf41"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.assertCurrentAuthority (cognitive 22): native-broker.createNativeExternalBroker.assertCurrentAuthority has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f87de39a2976cb80269a47157d7013c6ad767d16214aeace35d86c08817896"}},{"ruleId":"D2","level":"warning","message":{"text":"native-broker.createNativeExternalBroker.port.attach (cognitive 22): native-broker.createNativeExternalBroker.port.attach has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 2 (3 pts), error handling 1, loops 1 (nesting depth added 4). 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 (a function literal at line 214, drain). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b930a9c70632cfdbbd37abccdb9e308dda61e415327502c02f65452ff3d7909"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-events.appendHeartbeatRunEventBatch (cognitive 22): heartbeat-run-events.appendHeartbeatRunEventBatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 3 (4 pts), loops 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3f2a874d9bcf2cd152c6643f897dd4fe1d3872d0f75252ba878d04a3842738"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tool-bridge.startRunnerToolBridge (cognitive 22): runner-tool-bridge.startRunnerToolBridge has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13c7528d7e39552e542b01b24057c28bd0de4d4f2de9a511e8b473b1ad18c93"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.reconcileExpiredExtensionReceipt (cognitive 22): CapabilitySemanticToolRuntime.reconcileExpiredExtensionReceipt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e23c12b72c0e893b5e590559e8260e33ca630c18246f6b49c3466eb41c0465"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-semantic-tool-runtime.validateJsonSchema (cognitive 22): capability-semantic-tool-runtime.validateJsonSchema has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77f3a6ef84693017211f41ef7dfaee9db46a5917ac2455f16fde099e3ea0906"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-eval-suite.runCase (cognitive 22): capability-eval-suite.runCase has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, 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/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89e4447e94bba16cbfea6203bc749d1f9ff7ef468f521488865157d66505fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"live-workflow-matrix.executeRunnerLiveSchedule (cognitive 22): live-workflow-matrix.executeRunnerLiveSchedule has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (15 pts), error handling 1 (3 pts), loops 2 (3 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/paperclip-runner/src/eval/live-workflow-matrix.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"02416c396814a6ef6809e79a6f211a278df11badf57fdcbc1e29a8cbd4cdf0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"scenario-parity.capabilityScenarioParity (cognitive 22): scenario-parity.capabilityScenarioParity has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 5 (7 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/scenarios/scenario-parity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4fec336e968acacc0fbf44f74513343249e6f11e93fdabd08dfd1598676d8"}},{"ruleId":"D2","level":"warning","message":{"text":"request-card.RequestCard (cognitive 22): request-card.RequestCard has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 4, if/else 2 (nesting depth added 7). 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":"packages/paperclip-runner/src/react/request-card.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8b5d84439d13179964df7f10fc2810c21ada65d17d69a72b22d06b70baa8d5"}},{"ruleId":"D2","level":"warning","message":{"text":"app.SettingsBody::fixAllConfigurationErrors (cognitive 22): app.SettingsBody::fixAllConfigurationErrors has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, 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. This shape REPEATS in the file: one other method here (app.SettingsBody) 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e493727f84b4848ac3e3580aa96d6430c638fbb2eb09062a99bf53239f03fa8f"}},{"ruleId":"D2","level":"warning","message":{"text":"company-search.compareSearchResults.\u003Creturned closure\u003E (cognitive 22): company-search.compareSearchResults.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (22 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":"server/src/services/company-search.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"58973f1c48ce5e83873175fb0dfeac3ff9bc1b405fb63f1ae35ea5d4e4541424"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.resolveFeedbackTarget (cognitive 22): feedback.resolveFeedbackTarget has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (8 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":"server/src/services/feedback.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a103d96e0bc51df2ff7687fbf5b80d7db8d0eaaaefce79f5219a4fd64dfb68bc"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionService.createInStore (cognitive 22): decisions.decisionService.createInStore has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, 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":"server/src/services/decisions.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc3265322fa8ce13957204a3eb7a99b81502ef285e4d1aaad6bdee80223d82d"}},{"ruleId":"D2","level":"warning","message":{"text":"teams-catalog.renderYamlBlock (cognitive 22): teams-catalog.renderYamlBlock has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/teams-catalog.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61e459874dfd597533cec3e819bdea2c16d95d1fcdf5f3ce4c2e605c600a78d"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-skills.mcpSkillsRoutes (cognitive 22): mcp-skills.mcpSkillsRoutes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 3 (4 pts), error handling 2 (nesting depth added 3). None of this is in the body itself: all 22 points belong to 6 function items inside it that branch (a function literal at line 112, assertCanReview, 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":"server/src/routes/mcp-skills.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaef4f8ff04ae8ebc5a84cf164c6949762495576e18f82d0402268931b314e8"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud.cloudRoutes (cognitive 22): cloud.cloudRoutes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (5 pts), boolean chains 3, loops 2 (nesting depth added 5). None of this is in the body itself: all 22 points belong 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":"server/src/routes/cloud.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"702f7d7708c06e5012d0c714fe73beaab1d37cad2838ba8d64d966e8e068c5c8"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::assertAgentIssueMutationAllowed (cognitive 22): issues.issueRoutes::assertAgentIssueMutationAllowed has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":5940}}}],"partialFingerprints":{"codehealthFindingId/v1":"3422d4f92718ebadd52d719681cc333546e82068aa5c6dc4e80566205ad52949"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::buildQueuedCommentQueue (cognitive 22): issues.issueRoutes::buildQueuedCommentQueue has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 4 (6 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":7843}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c710d29fc7640038b41b43faa2de215681862fd28fc142664a477ae6d40163"}},{"ruleId":"D2","level":"warning","message":{"text":"assets.sanitizeSvgBuffer (cognitive 22): assets.sanitizeSvgBuffer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, loops 3 (4 pts), error handling 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/assets.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2def14453adb46664390f1cba2f91254829b7176fc4216a29e801ab73b2b36"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-api-ws.proxyPluginApiWebSocket (cognitive 22): plugin-api-ws.proxyPluginApiWebSocket has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, loops 3, error handling 2 (nesting depth added 2). Of this number, 11 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, 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":"server/src/realtime/plugin-api-ws.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab853c0aa73a2011ce2cbc23bff90a8077b1c4e59e698de3b6fa6890861b1d7"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-dev-watcher.resolvePluginWatchTargets (cognitive 22): plugin-dev-watcher.resolvePluginWatchTargets has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (addRuntimeFilesFromDir, addWatchTarget, a function literal at line 133). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-dev-watcher.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38525a68c2cec9c4010abde4205d4fd094153e6bab7007d64293dccc23dae18"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-tree.prepareNestedWorkspaceImports (cognitive 22): remote-workspace-migration-tree.prepareNestedWorkspaceImports has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 1 (nesting depth added 7). Of this number, 19 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c54ca96e5452aef8796821f0bb083cd4350770db729c5fa9cb14a0eb699078"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarAccountMenu.SidebarAccountMenu (cognitive 22): SidebarAccountMenu.SidebarAccountMenu has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 9, if/else 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":"ui/src/components/SidebarAccountMenu.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782cfed8c1a93a3d504005f2484ea90c71fff3107dae9a9526201f452cd80ef"}},{"ruleId":"D2","level":"warning","message":{"text":"NewIssueDialog.addStagedFilesToIssue (cognitive 22): NewIssueDialog.addStagedFilesToIssue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (5 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921f7fad674187aa5c197432e2b8beefb199f3065dcd1c5772c72191e17bfff"}},{"ruleId":"D2","level":"warning","message":{"text":"NewProjectDialog.NewProjectForm (cognitive 22): NewProjectDialog.NewProjectForm has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, ternaries 4 (5 pts), if/else 2 (3 pts) (nesting depth added 2). 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":"ui/src/components/NewProjectDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"701d5ec8409ac20a021d2d7ffb816dae0d75b581b6d8aea9aada1df18a7712f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarAccountMenu.production.SidebarAccountMenu (cognitive 22): SidebarAccountMenu.production.SidebarAccountMenu has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 9, if/else 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":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6266cd442cdd52c42c3488afe82e68b15c400305101e2c2c84ce2d4993c7ca2c"}},{"ruleId":"D2","level":"warning","message":{"text":"useIssueHierarchyContext.useIssueHierarchyContext (cognitive 22): useIssueHierarchyContext.useIssueHierarchyContext has cognitive complexity 22 (threshold 15). Drivers by points: if/else 2 (8 pts), loops 3 (6 pts), boolean chains 5, ternaries 3 (nesting depth added 9). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 15, 40). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useIssueHierarchyContext.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aca26832c17ef8ec7996cea5009a01d0e925e99306bf148098a6a2df142105d"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceExportRecovery.WorkspaceExportRecovery (cognitive 22): WorkspaceExportRecovery.WorkspaceExportRecovery has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53d76fa4c7e04cd43ee9339abdf53df2ce09cef9bd1d9fa99b1665f80c56ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-queued-comment-queue.normalizeIssueQueuedCommentQueue (cognitive 22): issue-queued-comment-queue.normalizeIssueQueuedCommentQueue has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14, boolean chains 7, if/else 1. Of this number, 13 points are the body\u0027s own statements and 9 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":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3258927a96f9c76c122c45667f5587f224c9abf89f7721b03c3854dfc88127"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolCard.ResourceCard (cognitive 22): TaskChatProtocolCard.ResourceCard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 5 (9 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b715aa9b58bffa6cf5b6b0d2e6c76bac30f838d14a3ddde3d5bc580b28daa6d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-log-chunks.applyRetentionBudget (cognitive 22): run-log-chunks.applyRetentionBudget has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 3 (5 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"524079b36b901621058ce9095f0a36d4f60a6d76490589f5574fe793f872ffbd"}},{"ruleId":"D2","level":"warning","message":{"text":"property-picker.PropertyPicker (cognitive 22): property-picker.PropertyPicker has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 8, if/else 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/property-picker.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae651fbc5ae0740817fb82eccb519cd151cdf68d2d6e980fa7e255d0068aee"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextUsageMeter.ContextUsageCard (cognitive 22): ContextUsageMeter.ContextUsageCard has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 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":"ui/src/components/ContextUsageMeter.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"566d6ea1d43e31096026e55469336d22c3fe448d30fde0c517b614b66e08b36f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuiltInBundlePanel.BuiltInBundlePanel (cognitive 22): BuiltInBundlePanel.BuiltInBundlePanel has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (7 pts), if/else 3 (nesting depth added 1). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BuiltInBundlePanel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"76203afd95de6338b689f35e8c310829cc805746a9ff78a95c0a8348e49bf7ef"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineHistoryTab.RevisionPreview (cognitive 22): RoutineHistoryTab.RevisionPreview has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, ternaries 8 (10 pts) (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"392a9c39a9424a3174b8e65df34edec5e5edef1b1b09f88c7d6648152a4037b5"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineHistoryTab.compareTriggers (cognitive 22): RoutineHistoryTab.compareTriggers has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 4 (7 pts), boolean chains 4, loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"293ce005087c6e6785b8890203c95389331faf117175c9247373c19ffd258487"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptInjectionPreventionSettings.PromptInjectionPreventionSettingsView (cognitive 22): PromptInjectionPreventionSettings.PromptInjectionPreventionSettingsView 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 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":"ui/src/components/prompt-injection-prevention/PromptInjectionPreventionSettings.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"535968701f9abbd6398761df1824a6f90aa9673590271553f1244969fa6983dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposioAppSetup.ComposioAppSetup (cognitive 22): ComposioAppSetup.ComposioAppSetup has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 4, if/else 4, error handling 1 (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"ui/src/pages/apps/ComposioAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd5ace45350adb7e84602ca84d1f936016ee5840da65482abae77a17f1f21f"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayActivityPanel.ActivityRow (cognitive 22): GatewayActivityPanel.ActivityRow has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (22 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":"ui/src/pages/apps/gateways/panels/GatewayActivityPanel.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebff4095219da22ff82aa364314bc5949f2f89e1fe0be99084cb213d2875b014"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.SkillVersionDiffDialog (cognitive 22): CompanySkills.SkillVersionDiffDialog has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (7 pts), if/else 3, 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 7 function literals inside it that branch (lines 2546, 2550, 2575, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1ab897bfbdbad9f3ed67e44d15a292e5168118201167f7e64fe2306ec22867"}},{"ruleId":"D2","level":"warning","message":{"text":"zip.readZipArchive (cognitive 22): zip.readZipArchive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, ternaries 2 (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":"ui/src/lib/zip.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"117cc35dddb1a256bfaeac995d3473dfb2ec269bc20c36ed17261fe536860870"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.SkillVersionDiffDialog (cognitive 22): CompanySkills.production.SkillVersionDiffDialog has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (7 pts), if/else 3, 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 7 function literals inside it that branch (lines 2636, 2640, 2665, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6e27e4f6d47413669a5078fbf40f90fc8aed5a3ffa07d44b44008d9792cea7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionParticipantPicker.ExecutionParticipantPicker (cognitive 22): ExecutionParticipantPicker.ExecutionParticipantPicker has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 7. Of this number, 11 points are the body\u0027s own statements and 11 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":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8654d7977bcbe42e60b80a4ca9b805d24452b06bf6a41ef9db4ed11855ed29"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaForm.JsonSchemaForm (cognitive 22): JsonSchemaForm.JsonSchemaForm has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (nesting depth added 7). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1326, 1364, 1380). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9285be664f9687ff79bf1230da94b40f1715e2a0f9d44b5a23bbcf0c2d189c3"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionUsagePanel.overageSummary (cognitive 22): AiConnectionUsagePanel.overageSummary has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (14 pts), boolean chains 5, if/else 3 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5973249e834126e13cef09338654937e6f0c7941d1515a42724d574c683bd999"}},{"ruleId":"D2","level":"warning","message":{"text":"CaseHandoffHistory.HandoffRow (cognitive 22): CaseHandoffHistory.HandoffRow has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (17 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":"ui/src/components/cases/CaseHandoffHistory.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c59a2c1ef13af3301bf82cf952b3cf43583e5e6fcd3e5e5383addd485a633d5"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatTurnStatusIsland.TaskChatTurnPlan (cognitive 22): TaskChatTurnStatusIsland.TaskChatTurnPlan has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 6 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b887c4dae6a22c7642433c151f4a6098ea01a169d6dc9ac79fcbe3f546fddb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceControls.VoiceControls (cognitive 22): VoiceControls.VoiceControls has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (10 pts), if/else 2 (nesting depth added 4). 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":"ui/src/components/voice/VoiceControls.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ddc2550a1a5a6ee376aae4f28355f364aa5168c42528fd59e34061fed1d4b3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-roster-filters.buildAgentRosterIndex (cognitive 22): agent-roster-filters.buildAgentRosterIndex has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (5 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-roster-filters.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ba71306b813e432df639158c794e8f844977884889c3725e7d1c2fa6b67d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"page-load-recorder.createPageLoadRecorder.tick (cognitive 22): page-load-recorder.createPageLoadRecorder.tick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, 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":"ui/src/lib/browser-tracing/page-load-recorder.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8e44d4ed68e767a6394e56561831265fc5352559cf9459ec66145acb8fcb19"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubChatPreview.ReviewCard (cognitive 22): GitHubChatPreview.ReviewCard has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (19 pts), boolean chains 3 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"576dae18e4fc46fff3e46428d1dd19bb1c9d4b50a6772c574a645c348a75d915"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectHealthTrial.ProjectHealthContent (cognitive 22): ProjectHealthTrial.ProjectHealthContent has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 6, if/else 3 (5 pts) (nesting depth added 6). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 63, a function literal at line 126, a function literal at line 129, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ProjectHealthTrial.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a0c78085f8c76f8d15498b4d1bcffc1c38ab7540b62f067862f79824bade9d"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.prepare_native_config (cognitive 22): admission.prepare_native_config has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/patch-antigravity-runtime.admission.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c01f9ed2b3df3dee61669fd40d00c990689110e4f48fe77e035c1dbfb9fe44"}},{"ruleId":"D2","level":"warning","message":{"text":"State::validate (cognitive 22): State::validate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, loops 3, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ea2298675f6ad33c1af0b26086a32369c403e794d3f5b62965fd5ca0baf494"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::process_supervisor::read_bounded_line (cognitive 22): paperclip_runner_core::process_supervisor::read_bounded_line has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"3557159ffc37ff298f18542a463ed5a7b21b68231d853593996bfb29e5d29cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.renderFeedbackReport (cognitive 21): feedback.renderFeedbackReport has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/feedback.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6765d7f597ed6360c84e02efa6b9bd7e33eaca7e161f3e3171bfb13ce4d7784d"}},{"ruleId":"D2","level":"warning","message":{"text":"company.promptForImportSelection (cognitive 21): company.promptForImportSelection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 2 (4 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":"cli/src/commands/client/company.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"248c97609ec5c93ec644308560cfef5283962ea54a17fb15b7e065809c44acb0"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.registerSecretCommands (cognitive 21): secrets.registerSecretCommands has cognitive complexity 21 (threshold 15). Drivers by points: error handling 13, ternaries 4, if/else 3, boolean chains 1. None of this is in the body itself: all 21 points belong to 14 function literals inside it that branch (lines 393, 541, 375, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/secrets.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15eada7aa0f7099cbe0fd5a0900794ab9fe0e043bcb609e9d0029515cd9648c"}},{"ruleId":"D2","level":"warning","message":{"text":"service.registerServiceCommands (cognitive 21): service.registerServiceCommands has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 174, 198, 228, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/service.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cac74007900724cd1f06f5162f5cdd7d21f1cf4246fb51462ef32f27c87c80"}},{"ruleId":"D2","level":"warning","message":{"text":"update.isDatabaseUnreachableError (cognitive 21): update.isDatabaseUnreachableError has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 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":"cli/src/commands/update.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae89eec70a7e07db21416e2e622b3b3ac707834c9953cdaca7868cf62d44a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"2026-05-23-cli-api-parity-openapi-reference.applyDocumentFixups (cognitive 21): 2026-05-23-cli-api-parity-openapi-reference.applyDocumentFixups has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc/plans/2026-05-23-cli-api-parity-openapi-reference.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47f17defed293deb82416deb44f7f962cd98fd6a43ec95c3fe3fa97dc5a86c2"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-sync.readManagedWorkspaceRepositories (cognitive 21): git-workspace-sync.readManagedWorkspaceRepositories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"986810c3d3e35042c628cc189f996a4707a8ed39a2bee796cd3d7f45ce333567"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal-session-failure.sanitizeTerminalSessionFailure (cognitive 21): terminal-session-failure.sanitizeTerminalSessionFailure has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (7 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b1419d7e7e56542680d84dabb7d65e003f206c4c25f8b0f37b0d684cbc124e"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.prepareGeminiSkillRuntime (cognitive 21): execute.prepareGeminiSkillRuntime has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 2 (5 pts), error handling 1 (2 pts), loops 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6320c57a905d9717e77a4295db2b3255362dc340208f89a6eaf568e0eccdea8a"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.classifyError (cognitive 21): execute.classifyError has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, ternaries 7 (8 pts), boolean chains 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cfb58170c50e504748fb604071c666422609b2ebe311f928603ac7b011d9b7"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-checkpoint.createStringCompactor.\u003Creturned closure\u003E (cognitive 21): usage-checkpoint.createStringCompactor.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aefe6c0b78b91bed9e564fc4cd149a1264583a1b6ea3e4927dfc7ad94ae03c3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-home.stageContainedSubtree (cognitive 21): codex-home.stageContainedSubtree has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf355e3497450f2ab5021119264670f79ae0620dd6e4379038b8924f623c937"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.executeTurn::executeTurn::toResult (cognitive 21): execute.executeTurn::executeTurn::toResult has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (16 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. This shape REPEATS in the file: one other method here (execute.executeTurn::executeTurn) 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4630b0fd6c67661815c046a6ff83d673b0dc223a243b7d234f2193d88e9e85f"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.redact (cognitive 21): redaction.redact has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, 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/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84232392d61ee9bc7d2f7ee7150bc5374a2dbe9f75dba5a77ec43192b3bac4b"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.boundedToolDetail (cognitive 21): provider-events.boundedToolDetail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (8 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcad7de2dad851748c25bb691c37d38823110d7a0a32e85fddb69696a1ee482"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-diff.capturePaperclipWorkspace::visit (cognitive 21): workspace-diff.capturePaperclipWorkspace::visit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, error handling 2 (3 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":"packages/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7103adba7e101d2808248c00e1176cb521d7944da4e131788747bc96a87be0"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-extension-adapter.createPiProfileExtensionAdapter.notification (cognitive 21): pi-extension-adapter.createPiProfileExtensionAdapter.notification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-extension-adapter.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40fe37525d626c2852e76349ce9eefc21989003cc08ed27e2663e3be1d9be43"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-history.pages (cognitive 21): codex-history.pages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 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/paperclip-runner/src/drivers/codex/codex-history.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"91615a8264d272927a7e7970a6d628f8947132e601d3fdff786b8f78d02a3752"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexHarnessSession.steer (cognitive 21): CodexHarnessSession.steer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 4, 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e16cd2b65a3886340022d354a892397b603159dc892f362e4b0cd6eed8878c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAppServerDriver.openSession (cognitive 21): CodexAppServerDriver.openSession has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 5, 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48f42f7e8d6f5639cc9dadc732871904ad2e9bd77eb4205119b5a509ffaa046"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence-redaction.redactCapabilityEvidenceData (cognitive 21): evidence-redaction.redactCapabilityEvidenceData has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 2 (5 pts), boolean chains 3, match/switch 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0792e1ba0a330a58db6ce497d6a1a6009b2755754d6ba4957039ef1c003b2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence-redaction.capabilityEvidenceDetail (cognitive 21): evidence-redaction.capabilityEvidenceDetail has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 5, match/switch 1 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cd3eb91819c7cc44135a07420cf8b90e692751d04bcaebf188119c68a9f085"}},{"ruleId":"D2","level":"warning","message":{"text":"repeated-tool-input-rejection.inputProblem (cognitive 21): repeated-tool-input-rejection.inputProblem has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 5, if/else 3 (nesting depth added 4). 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/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27c84bf66201a22b302dfab68d16d420d8ec2d3a20016b1e3c98a86367d0c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context-materializer.materializeNativeRuntimeSkills (cognitive 21): runtime-context-materializer.materializeNativeRuntimeSkills has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (10 pts), error handling 1 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runtime-context-materializer.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae46a56f42c6127ca89c1ba3b8373d13eae6b0c69ec0f83742735ff68e1f8d8"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.retireProbeResources (cognitive 21): DurablePrpCodexTransport.retireProbeResources has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 5576, 5606). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef820690780452be9da46d4d52f121ccdeb9de29f1d867b5f4171fff632ff0d8"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#handleSemanticToolInput (cognitive 21): DurablePrpCodexTransport.#handleSemanticToolInput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 3 (4 pts), error handling 2 (nesting depth added 3). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9972a41154f054bcba081c5646fc401e2a77299c93ce7b7e0367fe138cd0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"contract-fingerprints.rustSerdeItems (cognitive 21): contract-fingerprints.rustSerdeItems has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a15be91487b995242d8a08df753b97f0d4ba6d3e18940be2632fc9d2a35bbea"}},{"ruleId":"D2","level":"warning","message":{"text":"forbidden-imports.violationReason (cognitive 21): forbidden-imports.violationReason has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acd86d147a114f83c755ba029cd5d6ae4505681b67fb9d02dbe83e47bae937d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-question-forms.formKind (cognitive 21): chat-question-forms.formKind has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 5 (7 pts), boolean chains 6 (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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"57295f6fe32464a1824222d9a967ab4e70f5721094f474ff1b179fb1ffea8eec"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.createProviderAdapter (cognitive 21): chat-sdk-runtime.createProviderAdapter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, ternaries 1 (2 pts), match/switch 1 (nesting depth added 6). 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 literals inside it that branch (lines 1448, 1419, 1412, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aa508ef5376b63f8398f4323fd00b32d4b4cd3e4809d4656032843c9d55053"}},{"ruleId":"D2","level":"warning","message":{"text":"client-metadata.createClientMetadataResolver.\u003Creturned closure\u003E (cognitive 21): client-metadata.createClientMetadataResolver.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, loops 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":"server/src/services/public-mcp/client-metadata.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ed51de219e7d6f8d0896e27285a4c4eb1183cb3b4cb9d6179d60c1490c5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-execution-policy.applyMonitorTransition (cognitive 21): issue-execution-policy.applyMonitorTransition has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff36b5b04bcf1c62d22798c9f33906e067012c6e5693d3b11730b860b42e3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"native-provider-failure.createNativeProviderFailureObservation.observe (cognitive 21): native-provider-failure.createNativeProviderFailureObservation.observe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, 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":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d964e399982ee9f9d999818e843afce98685407a99805d8e29cc21f3e44f47d8"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip-cloud-connector-enrollment.startPaperclipCloudConnectorEnrollmentUnlocked (cognitive 21): paperclip-cloud-connector-enrollment.startPaperclipCloudConnectorEnrollmentUnlocked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a21821d1537b25e1cf6d6a584d3a1481cfe0aa0ed2e79ed9ddc792c49486426"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip-cloud-connector.createPaperclipCloudConnector.call (cognitive 21): paperclip-cloud-connector.createPaperclipCloudConnector.call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 2 (3 pts), error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84226b676e2109eb8e6f057c7c911142030453ed9f2abfd5a66cd32a5118011"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification (cognitive 21): plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (3 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. This shape REPEATS in the file: 5 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::openDuplexChannel, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"068f9da31ba19d9364e8dd6a00cf9c248f261b0e8d52f9ad70b4172b3c07e3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-recovery-actions.issueRecoveryActionService.projectNativeRunActivity (cognitive 21): issue-recovery-actions.issueRecoveryActionService.projectNativeRunActivity has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 3, ternaries 2 (3 pts) (nesting depth added 4). 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9f1f6f8d2b12dec511729359cb78aacd29b10f4efd4c902a8b56fcd5972431"}},{"ruleId":"D2","level":"warning","message":{"text":"client-credentials-service.createClientCredentialsService.requestClientCredentialsToken (cognitive 21): client-credentials-service.createClientCredentialsService.requestClientCredentialsToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c1fcf64ebdb90342a4f7ca5a5658056d12cc1909a0d0cab8081239200edd42"}},{"ruleId":"D2","level":"warning","message":{"text":"form-session.stageSlackFormSubmission (cognitive 21): form-session.stageSlackFormSubmission has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"134baf63f4eb3b31313e927a451251ab8cde668372a9db252f8224e53e8f2e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"form-ack-work.transferSlackFormAckReceipt (cognitive 21): form-ack-work.transferSlackFormAckReceipt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 5 (nesting depth added 2). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37246004e4c6f9128df31e004ccdb119076b9a359949412a06aee28515eab7f"}},{"ruleId":"D2","level":"warning","message":{"text":"credentials.verifyGitHubCredentials (cognitive 21): credentials.verifyGitHubCredentials has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 6, if/else 2 (nesting depth added 5). 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":"server/src/services/chat-channels/github/credentials.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3475a7299bb391982e6bf3943f059b13981a2691bfe506ac022f6e9c8ba8cf3d"}},{"ruleId":"D2","level":"warning","message":{"text":"speko-call-report.parseSpekoCallReport (cognitive 21): speko-call-report.parseSpekoCallReport has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), ternaries 4 (6 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/speko-call-report.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c930a59d21fcb923e74a5b8fcf2dd1ed5f05b2c370e52ffda64db2d2c3a5c9"}},{"ruleId":"D2","level":"warning","message":{"text":"interactions.parsePhotonQuestionAnswer (cognitive 21): interactions.parsePhotonQuestionAnswer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7649a9bdb9101bd32e71c05512b40591cdf76913a8370295dc78bb038312f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"cancelled-native-startup.isCancelledNativeStartup (cognitive 21): cancelled-native-startup.isCancelledNativeStartup has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 17, 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8ecfa12add768ea40663236c91a6edd6d4964d812f93b4129a7265c8342e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-repository-rehome.cloneDisposable (cognitive 21): isolated-repository-rehome.cloneDisposable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 5, boolean chains 1, error handling 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54a4bf171aca7c7ebe77e6e97a7561c51676a285e44eaf10329ea8d1edc1dda"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connection-usage.readUsage (cognitive 21): ai-connection-usage.readUsage has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 5 (7 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5297f35a4312d5e2d7a34aedc077b450b7defaf9128c14f71465f524f7212f"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.runtimeCredential (cognitive 21): ai-connections.aiConnectionService.runtimeCredential has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, loops 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1035, 1083, 1061). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f72293f319031473094df2dea99d9255329516d1ca03dc843f6cd7e714ea2f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-durability.restoreDurableAgentFiles (cognitive 21): agent-file-durability.restoreDurableAgentFiles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 5). 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 items inside it that branch (restoreEntry, a function literal at line 140, a function literal at line 82, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-durability.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7846a6e5c0233001a99ead8af46aed62d33e749b39e90c421968cd7fef78da"}},{"ruleId":"D2","level":"warning","message":{"text":"projects.projectService.replaceRepositories (cognitive 21): projects.projectService.replaceRepositories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 2 (nesting depth added 7). None of this is in the body itself: all 21 points belong to 2 function literals inside it that branch (lines 949, 973). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c7cc2cb688d999962a1ff3b58b4e86168d0b0a524926885aad2c4d1e4485f"}},{"ruleId":"D2","level":"warning","message":{"text":"volume-free-controller-state.claimVolumeFreeControllerState (cognitive 21): volume-free-controller-state.claimVolumeFreeControllerState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). 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":"server/src/services/native-runtime/volume-free-controller-state.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1559b624114ae64ef439c3758c908bb510ef24b903d86a36f6292118bd7c01a0"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-abandoned-files-hold.expireAbandonedWorkspaceFileHolds (cognitive 21): remote-workspace-abandoned-files-hold.expireAbandonedWorkspaceFileHolds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-abandoned-files-hold.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"df744c9e59e36e60c9769b3e01440d1571303dc6d849ef8649f3117e5352f5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-login-handoff.verifyWorkspaceHandoffTicket (cognitive 21): workspace-login-handoff.verifyWorkspaceHandoffTicket has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, 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":"server/src/auth/workspace-login-handoff.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ca9d2908200f74593f8a6b3f3e69bdef08b2689d03dac2906f7ce470aa992d"}},{"ruleId":"D2","level":"warning","message":{"text":"local-service-supervisor.terminateLocalService (cognitive 21): local-service-supervisor.terminateLocalService has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 4, error handling 2, boolean chains 1, loops 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"45201d5686347d85f5fd674de0f19f9cbd692dc4a534239801767fc79313d7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease (cognitive 21): environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 4 (5 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, 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: 3 other methods here (environment-runtime.createSandboxEnvironmentDriver, environment-runtime.createSandboxEnvironmentDriver::resolveSandboxProviderPlugin, environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a487b3599ca9e2324cd7d599519f2880ff7376548d9d03ae44a57351fcdef6af"}},{"ruleId":"D2","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.evaluateAffectedScopes (cognitive 21): budgets.budgetServiceInTransaction.evaluateAffectedScopes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 3, ternaries 1 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d79eff653a31d67ed668df154041da4d75431a7dd506586e083f4f514b4f18"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.mcpInputRequiredPending (cognitive 21): tool-gateway.mcpInputRequiredPending has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, ternaries 2 (3 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef5114aeb3eba10e2cfc8e1b335b9c7df93ead4f78d5106773987fe512bcc47"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.applyPersistedExecutionWorkspaceConfig (cognitive 21): workspaces.applyPersistedExecutionWorkspaceConfig has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (20 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"659211e56cd9ac59f7eb0cd35d8e295998ca5574e851650973f5dc02d76c1dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.resolveSourceWorkspaceConfiguration (cognitive 21): execution-workspaces.executionWorkspaceService.resolveSourceWorkspaceConfiguration has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (15 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"123e4f561195c087267ac64c41649d9a2ba210931b3d62a09955acb2f1705190"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.validateSelection (cognitive 21): execution-workspaces.executionWorkspaceService.validateSelection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9eb5661502436f7e69a82db227a996bcf17b7e8b4b4396e50ba2740b2615ba"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-finalizer.claimCoordinator (cognitive 21): native-run-finalizer.claimCoordinator has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 4). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 231). 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bc31d91ca03a0e8d1437e8a388b4375ab29750480a1574480fb6e477b4dc9f"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-workspace-rehome.rehomeStrandedLegacyWorkspaceTasks (cognitive 21): legacy-workspace-rehome.rehomeStrandedLegacyWorkspaceTasks has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (7 pts), error handling 2 (6 pts), if/else 2 (5 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176065b2872e98a33d7591ca4c74d0faabe9af0e4b25eb1eeb18425202910d1"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-workspace-rehome.deliverPendingRecoveryWakes (cognitive 21): legacy-workspace-rehome.deliverPendingRecoveryWakes has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 3 (6 pts), boolean chains 4, 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":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4981cb416c63851db572cb512eddca6df50b6943108793966d4dc33bf8d92802"}},{"ruleId":"D2","level":"warning","message":{"text":"released-writer-escalation.continueTasksAfterWorkspaceWriterReleased (cognitive 21): released-writer-escalation.continueTasksAfterWorkspaceWriterReleased has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (7 pts), error handling 2 (6 pts), if/else 2 (5 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/released-writer-escalation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aaa150c9eeb41b2990c97984de776fe374c94be2d390ede44a648eafb31946"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.scheduleDispositionRepairAttempt (cognitive 21): service.recoveryService.scheduleDispositionRepairAttempt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (6 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ca54a50b5903139b410adcac465357fe1caea9bb207647c116d87f8af84a11"}},{"ruleId":"D2","level":"warning","message":{"text":"budget-reservations.recheckRunBudgetReservationInTransaction (cognitive 21): budget-reservations.recheckRunBudgetReservationInTransaction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, 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":"server/src/services/budget-reservations.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9420417eeb8779647ea59811b5805ef93d7e5dd4d4164755303e0ded827a44b7"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.catchUp (cognitive 21): email-channels.emailChannelService.catchUp has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, ternaries 1 (4 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3da66adb75c72f0dddb89ee7b027e36693278109f293f98ad9d0673b9114e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createWakeAdmissionWriter.mergeIntoExistingDeferredWake (cognitive 21): postgres.createWakeAdmissionWriter.mergeIntoExistingDeferredWake has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 3 (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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62eaf3e21a822041bb5e73dab87a2cb3b4644a3ff9d4ebbe57c7aae96ed5a44"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-tree-resume.deliverPendingPage (cognitive 21): issue-tree-resume.deliverPendingPage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-resume.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baaff04df0ff1d9af293d873478a8f8fc95da4fbd8b1730c59fe9cca33ee2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-environment-settlement-work.nativeEnvironmentSettlementWork.load (cognitive 21): native-environment-settlement-work.nativeEnvironmentSettlementWork.load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 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":"server/src/services/native-runtime/native-environment-settlement-work.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf84658443eea538fe7987f7ee2e6e3e6c5de580ac2f98733e6fa55bdb67660"}},{"ruleId":"D2","level":"warning","message":{"text":"case-access.assertCaseTrustedForExecution (cognitive 21): case-access.assertCaseTrustedForExecution has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8, boolean chains 5, loops 4, ternaries 4. Of this number, 19 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. To reduce it, 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":"server/src/services/case-access.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bc93c5dadba6fa41ad1e4d856b318097fd7fb260709ccc2699b82e528e1b85"}},{"ruleId":"D2","level":"warning","message":{"text":"task-watchdogs.taskWatchdogService.evaluateWatchdog (cognitive 21): task-watchdogs.taskWatchdogService.evaluateWatchdog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (2 pts), 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa185387e4ededf5c57ff910f9d84c7fb09f6ddd19922963b46982e4f911238"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat.heartbeatService.applyWakeQueuePostCommitEffects (cognitive 21): heartbeat.heartbeatService.applyWakeQueuePostCommitEffects has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (7 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f4d2c6eb72853d4055337c02d80d0974bb132095ff8bceb2837742ea5567c"}},{"ruleId":"D2","level":"warning","message":{"text":"publication-replacement.createChatPublicationReplacement.runOwnershipMilestoneSupersessionReason (cognitive 21): publication-replacement.createChatPublicationReplacement.runOwnershipMilestoneSupersessionReason has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dec65b19f54c5e92fd98e57f2280937ee2bdbbc9da954feddab7b22fd9d39c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-publication-text-parts.boundedMarkdownBlocks (cognitive 21): chat-publication-text-parts.boundedMarkdownBlocks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 1 (nesting depth added 5). Of this number, 15 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c4914f26d1e0af2b49df35e0e9ba1a077993097691ba432686760d9543b870"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.pendingTool (cognitive 21): voice-inbound-service.voiceInboundService.pendingTool has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 9). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 178). 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a832b09fb15c0d3250dc209841efe9441449196a3fe6d374088c623f1cae3"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-management.githubChatManagementService.lookupPerson (cognitive 21): chat-github-management.githubChatManagementService.lookupPerson has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0238f68b2968519cbb6c27e2d6593320ee679b341639b4a4683c01a3e33b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-discord-native-commands.parseDiscordNativeCommand (cognitive 21): chat-discord-native-commands.parseDiscordNativeCommand has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, ternaries 6 (7 pts), if/else 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":"server/src/services/chat-discord-native-commands.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe005e882e0835529741391a500815fd485f17793d276559bf95093817fcbd4f"}},{"ruleId":"D2","level":"warning","message":{"text":"outbound-attachments.hydrateOutboundAttachment (cognitive 21): outbound-attachments.hydrateOutboundAttachment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (6 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/outbound-attachments.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"881d7e009490ef6b4fc4b19f2335b65a38ef1dd8accecc43b38d6fb21686e86b"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.authorizeFailedChatRunRetry (cognitive 21): failed-run-retry.createChatFailedRunRetry.authorizeFailedChatRunRetry 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b79cb9bfb15789ff6d18c8516476481652fac736cd7a69dadc73ab5e9a37c0"}},{"ruleId":"D2","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.teamsFileSourceBinding (cognitive 21): file-transfer-authority.createTeamsFileAuthority.teamsFileSourceBinding has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3115a4b4c823189505c65d54e969eeebab66cd372517c7e07beceb0853bfd7"}},{"ruleId":"D2","level":"warning","message":{"text":"file-delivery.createTeamsFileDelivery.teamsTransferProtocol (cognitive 21): file-delivery.createTeamsFileDelivery.teamsTransferProtocol has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 2 (3 pts) (nesting depth added 1). None of this is in the body itself: all 21 points belong to 3 function items inside it that branch (a function literal at line 111, currentRuntime, a function literal at line 190). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2286518b7f55d97c90d20d826ba087ee8b53f2eba16a88b5c9a319fdb25de7cf"}},{"ruleId":"D2","level":"warning","message":{"text":"file-receipts.createSlackFileReceipts.lockSlackFileReceiptAuthorization (cognitive 21): file-receipts.createSlackFileReceipts.lockSlackFileReceiptAuthorization has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 5, if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"17705470b8c56fb474b65c732bb74a15188f2fafcbdc2af699d906b257f97ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-events.createGitHubWebhookEvents.handleGitHubWebhookEvent (cognitive 21): webhook-events.createGitHubWebhookEvents.handleGitHubWebhookEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (21 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":"server/src/services/chat-channels/github/webhook-events.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6c97f9e493bdef3b52da65f1989aa5a24c39583952d96e4c6ae701882d0bf8"}},{"ruleId":"D2","level":"warning","message":{"text":"continuations.createChatInteractionContinuations.registerInteractionContinuationWork (cognitive 21): continuations.createChatInteractionContinuations.registerInteractionContinuationWork has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 5, if/else 1 (2 pts), loops 1 (nesting depth added 6). None of this is in the body itself: all 21 points belong to 6 function items inside it that branch (a function literal at line 514, a function literal at line 511, entry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f77053f8bcb54c4d470b2f9ade9dabbd7f5af763cdc8c2d878d9704b9f23ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"vercel-callback.createVercelOAuthCallback.completeVercelConnectCallback (cognitive 21): vercel-callback.createVercelOAuthCallback.completeVercelConnectCallback has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 6 (7 pts), 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, 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":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1289b63fac02a595d5cf643f14faf4a059feb0414997f6319e67ce6ed850113"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access.toolAccessService.updateConnection (cognitive 21): tool-access.toolAccessService.updateConnection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 3 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":4678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2f976bca034a53ac102e9c5bbf9572a8e48bca1f06d18d553a342715f5d258"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-task-directory-snapshot.walk::visit (cognitive 21): isolated-task-directory-snapshot.walk::visit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (3 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":"server/src/services/isolated-task-directory-snapshot.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8a452fd821366ef64d784b8b790c1852f4ec44dbaa2f7e049d5b0fb3895910"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.resolveRequestItemVerdictSubmissions (cognitive 21): issue-thread-interactions.resolveRequestItemVerdictSubmissions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (8 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbd5ffbd9c43ba9d900ef5bd1ca48f4aa1b8f2ba79b4c739d62598cb33c3b56"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByComment (cognitive 21): issue-thread-interactions.issueThreadInteractionService.expireRequestConfirmationsSupersededByComment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, loops 1 (nesting depth added 5). 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 4979, 4959). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3a2491207496e476a613b0fbe5f89154a707fc0ec94aa688234dd4a864fc50"}},{"ruleId":"D2","level":"warning","message":{"text":"native-provider-pack-admission.rememberRecoveredNativeProviderPack (cognitive 21): native-provider-pack-admission.rememberRecoveredNativeProviderPack has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 7, boolean chains 5, error handling 1 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"11efbcf0ad44ad0f14ea972cff6f777b6fe3c8fb50f6e10983d7d4b3442b7ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-launch-assets.assertSelectedSkillsTree::visit (cognitive 21): remote-launch-assets.assertSelectedSkillsTree::visit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a647edb75ccf0fd2ace7e5160a155fcf8f8577ccb436955e72fd4745a96fe11"}},{"ruleId":"D2","level":"warning","message":{"text":"native-deliverable-text.createNativeDeliverableTextObservation.\u003Creturned closure\u003E (cognitive 21): native-deliverable-text.createNativeDeliverableTextObservation.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, 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":"server/src/services/native-runtime/native-deliverable-text.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b93d26164c4582ff744a464d690e4f87aba88d6b87a3bb0e535c570711dccbe"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-pack-layers.stageProviderPackLayers (cognitive 21): provider-pack-layers.stageProviderPackLayers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 9 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":"server/src/services/native-runtime/provider-pack-layers.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da0067255f679b4b8cb411fd1990e4cba6bad409dbb5f88847ca1535a9bd668"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.recordSuppressedAutomaticRun (cognitive 21): routines.routineService.recordSuppressedAutomaticRun has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 5 (7 pts), boolean chains 4, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 1455). 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":"server/src/services/routines.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce2231ea4f50cd80aa62ca94ab5fbc6cd85d15a07c0d712fcdc0a7a7f37b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#createTask (cognitive 21): PaperclipRunnerToolAuthority.#createTask has cognitive complexity 21 (threshold 15). Drivers by points: if/else 32 (53 pts), ternaries 24 (30 pts), boolean chains 13, 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. This shape REPEATS in the file: one other method here (PaperclipRunnerToolAuthority.#createTask::authorizeCreate) 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"002da9657f13b07f1c5a7a0f79be410f49f2ce95bb239e85f40f4dcde9ac684b"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareHarness (cognitive 21): native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareHarness has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (native-session-executor.createRemoteNativeArtifactPreparation.prepare::prepareRunner) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19153}}}],"partialFingerprints":{"codehealthFindingId/v1":"01433a2d09bc2eb540f5cd33f1fb5f3a56960639946c9812341dcd18d5469186"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.listBlockedInboxIssues (cognitive 21): issues.listBlockedInboxIssues has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9, loops 2 (5 pts), if/else 4, boolean chains 3 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 6 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":"server/src/services/issues.ts"},"region":{"startLine":6795}}}],"partialFingerprints":{"codehealthFindingId/v1":"636cf5e867b70bb81b7d29e0c494de6f48c09ec7ee22f6eb510d1e8dc4354203"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueService::assertNoBlockingCycles (cognitive 21): issues.issueService::assertNoBlockingCycles has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 3 (9 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: 2 other methods here (issues.issueService::enrichCommentsWithDerivedAgentAttribution, issues.issueService::getIssueRelationSummaryMap) 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":"server/src/services/issues.ts"},"region":{"startLine":7878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fba67abdc8ffb743eeb3eb1452031c0a2f546003e03f8ae68541790c5760343"}},{"ruleId":"D2","level":"warning","message":{"text":"wake-admission.parseMcpWakeAdmission (cognitive 21): wake-admission.parseMcpWakeAdmission has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 3. 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: 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":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c43507bf2d483c0411a95ca333ed9bdff590770496eb8a48d2696b815bf3f62"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-finalize-attempt-settlement.abandonedWorkspaceOperationSettle.\u003Creturned closure\u003E (cognitive 21): workspace-finalize-attempt-settlement.abandonedWorkspaceOperationSettle.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 4). 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 53). 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":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d848d827adad53d631c37b444d641fe9566d09444b547324a53d150ea9d577df"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-antigravity-distribution.ownedDirectory (cognitive 21): materialize-antigravity-distribution.ownedDirectory has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (10 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"12448c59b25a6a8870a8d3937e31da3787b2c24e59dfbfb43ea2756a1f15484b"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tool-bridge.taggedValue (cognitive 21): runner-tool-bridge.taggedValue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 2 (5 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"86149551c3ca76c4994c98d8541170c3a5eccb8feceb143984e847a66b8fe3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAcpxDriver.#retryQuarantinedHostCleanups (cognitive 21): CodexAcpxDriver.#retryQuarantinedHostCleanups has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbec7a9dae0cf00baa0992551694d0d94c7f47a0f677e865a5cfe4510f45164"}},{"ruleId":"D2","level":"warning","message":{"text":"HarnessDriverBackend.recoverSession (cognitive 21): HarnessDriverBackend.recoverSession has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 3, if/else 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b56c3e1164a3151c19dd3fb749aae3efe17426850fbdc8e51d71b8d0235a22"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-scoring.scoreRunnerWorkflow (cognitive 21): workflow-scoring.scoreRunnerWorkflow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 7, if/else 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/paperclip-runner/src/eval/workflow-scoring.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b13040c34f0d38abc6a40ede0fb10e82dced0b5aa4b5825492870d507056c33"}},{"ruleId":"D2","level":"warning","message":{"text":"app.buildBrowseTree (cognitive 21): app.buildBrowseTree has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 5 (6 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"334b11ae300c12e47c85f04df840810b8986de31e2d620e3d963fd04c194d377"}},{"ruleId":"D2","level":"warning","message":{"text":"core.startWikiQuerySession (cognitive 21): core.startWikiQuerySession has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 4, boolean chains 3 (nesting depth added 7). 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 3906). 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a891d25f44a152749f9c4ff0bc6c6de32977a9f4844a4f0613282c3b2ea937ba"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateosClient.transition (cognitive 21): CreateosClient.transition has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (5 pts), boolean chains 3, error handling 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/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab85940c5144e7f0a1210b21fadf552b540723813e0a6641b5ddc0e872a5df81"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.collectSkillFiles::visit (cognitive 21): catalog-builder.collectSkillFiles::visit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6aef46275f5e8f8bdb8fc97f51ec6b588a1cd4bff5fc9d968b43cbdbef8b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.collectTeamFiles::visit (cognitive 21): catalog-builder.collectTeamFiles::visit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af5e3cdbdef57ed61f65f3e23f1df740ad9d86c3c38835e96a6b0016c814ffc"}},{"ruleId":"D2","level":"warning","message":{"text":"company-export-readme.generateReadme (cognitive 21): company-export-readme.generateReadme has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, loops 4 (8 pts), ternaries 1 (3 pts) (nesting depth added 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":"server/src/services/company-export-readme.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f82664689d1917e6a2067f59c9f05d4f61687e35273bd06d9e8b892c63c64b"}},{"ruleId":"D2","level":"warning","message":{"text":"company-search.matchedFacetConditions (cognitive 21): company-search.matchedFacetConditions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 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":"server/src/services/company-search.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc54293cf9a23d4a40fc2b3d254869607f9f42728427aae99f9ae90e93ff9b"}},{"ruleId":"D2","level":"warning","message":{"text":"built-in-agents.builtInAgentRoutes (cognitive 21): built-in-agents.builtInAgentRoutes has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13, if/else 7, boolean chains 1. None of this is in the body itself: all 21 points belong to 8 function items inside it that branch (a function literal at line 183, assertCanControlBuiltInRoutine, logBuiltInAgentMutation, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/built-in-agents.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b890650ad174aed1e5f3edc1f772a13dd2f48fc9e09b427427ffe43bc527cad"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.readToolActionContinuationContext (cognitive 21): issues.readToolActionContinuationContext has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 7, 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":"server/src/routes/issues.ts"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8b170c905004f78a04a6e72b6ca802b02e7373681c5a9f8160f29c90f6d05e"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-scheduled-work.readIdleRoutineSchedule (cognitive 21): idle-scheduled-work.readIdleRoutineSchedule has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, error handling 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":"server/src/services/idle-scheduled-work.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f7fc12792871841d93ef0e4cae9b8a72ca68d61cd4d65dec1d7a2bea0547f6"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-trace-idle-schedule.projectIdleProviderTraceSchedule (cognitive 21): provider-trace-idle-schedule.projectIdleProviderTraceSchedule has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, 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":"server/src/services/provider-trace-idle-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"191fd0d59802b96e1c93bd3be565df4c22ccad8bd477cfb4e130db1318aca5ca"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration.migrateRemoteWorkspace (cognitive 21): remote-workspace-migration.migrateRemoteWorkspace has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (6 pts), loops 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (migrate, a function literal at line 754, a function literal at line 741). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"8946585f97698d85db76d5582e4576772b1c2a04bfcb1eacbd2060811a282f35"}},{"ruleId":"D2","level":"warning","message":{"text":"attention-retention.attentionRetentionService.pageEvidence (cognitive 21): attention-retention.attentionRetentionService.pageEvidence has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (14 pts), loops 3 (4 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 9). Of this number, 18 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":"server/src/services/attention-retention.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"397adcfeb5a54794705259fbe653aa0463841516c732c26cdbca12fcd6d2e58c"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoff-delivery.caseHandoffDeliveryService.deliver (cognitive 21): case-handoff-delivery.caseHandoffDeliveryService.deliver has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e4f2caaf0046687fbcb5a683b91e7c5b7b0734bb42290ee460ecc447c2c28c"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-configuration-evidence.inspectLegacyExternalRegistrations (cognitive 21): cloud-configuration-evidence.inspectLegacyExternalRegistrations has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 4 (5 pts), boolean chains 3, error handling 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":"server/src/services/cloud-configuration-evidence.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e16ea038896af65a9d9e511fb1b1a6a72d153003ab56739184d512e81e9799"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-maintenance.collectAgentFileObjects (cognitive 21): agent-file-maintenance.collectAgentFileObjects has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, loops 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 84). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11a61d8e090fc6dd234bef30598a84ed8f0b35ffd13482c3b80b9c4722c471f"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarSection.SidebarSectionHeader (cognitive 21): SidebarSection.SidebarSectionHeader has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 7, if/else 2 (4 pts) (nesting depth added 5). Of this number, 15 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":"ui/src/components/SidebarSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e17f0e0bb1e904028119ea7e6299d682bfda781c057f2bde4b8777ca8d32de"}},{"ruleId":"D2","level":"warning","message":{"text":"angle-bracket-markdown.transformInlineChunk (cognitive 21): angle-bracket-markdown.transformInlineChunk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 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":"ui/src/lib/angle-bracket-markdown.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd35357cd0bf010094ab30f5815ea59f2a918332a94a6c25d9d38f7732a2b99"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-run-settings.composerEfforts (cognitive 21): composer-run-settings.composerEfforts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, ternaries 3 (7 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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b3b1e3a0ffedd515551cefaf318c8f7981339d29b8e7237bb99ed5a3d04ba"}},{"ruleId":"D2","level":"warning","message":{"text":"NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate (cognitive 21): NewIssueDialog.AccountNewIssueDialog::restoreBackgroundCreate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (NewIssueDialog.AccountNewIssueDialog, NewIssueDialog.AccountNewIssueDialog::handleSubmit) 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f75ca590059595c39aae216dfa531865ccd883eae2bcf3fd1298f4b9b3228"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-filters.applyIssueFilters (cognitive 21): issue-filters.applyIssueFilters has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-filters.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b8219ef68504bebc408bc8e1fbcb45b0cde58c3c516a01d592ddd95ae4df85"}},{"ruleId":"D2","level":"warning","message":{"text":"DevRestartBanner.DevRestartBanner (cognitive 21): DevRestartBanner.DevRestartBanner has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 3, boolean chains 1, error handling 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 6 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":"ui/src/components/DevRestartBanner.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf14134517ed1b8c36f65a7e9ac73b7dba76ea5e0a087ec2bdee0d11583fe26"}},{"ruleId":"D2","level":"warning","message":{"text":"shell-navigation.classifyShellRoute (cognitive 21): shell-navigation.classifyShellRoute has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 6 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/shell-navigation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3373a195759597dc2ccfcef7313b65e694ee6d567fdbb8194634abc65fefc452"}},{"ruleId":"D2","level":"warning","message":{"text":"slots.loadPluginModule (cognitive 21): slots.loadPluginModule has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3, boolean chains 1, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 7 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":"ui/src/plugins/slots.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"600bf54ed1f8625fc68102ce52202051f3b41578fa1d57b81f89de8ab476827a"}},{"ruleId":"D2","level":"warning","message":{"text":"schema-config-fields.ComboboxField (cognitive 21): schema-config-fields.ComboboxField has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (handleKeyDown, a function literal at line 85, a function literal at line 168, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7063f9c79d6c6ad5c7daef6fd2f13c9843445e625c619412564a29e5202130c6"}},{"ruleId":"D2","level":"warning","message":{"text":"BreadcrumbBar.production.BreadcrumbBar (cognitive 21): BreadcrumbBar.production.BreadcrumbBar has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (8 pts), if/else 3 (nesting depth added 3). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 117). 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":"ui/src/components/BreadcrumbBar.production.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb246bb999315215ead3ffd8766beeaa4d4e0867d71c13a4de947d6428d4f53"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarShell.production.SidebarShell (cognitive 21): SidebarShell.production.SidebarShell has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 8, boolean chains 3 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"61029407c6a172279ce25b85395cc137fdc23aa4cf640447a52d0eb522a6da8f"}},{"ruleId":"D2","level":"warning","message":{"text":"useTaskRetry.useTaskRetry (cognitive 21): useTaskRetry.useTaskRetry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 2 (4 pts), loops 2 (nesting depth added 2). 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 36, 57, 68, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskRetry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e8cc7dadf8f55cf10034bdde2fc6343952ac8d57765114d7aba93a5fbbb3f6"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueFilterPanel.IssueFilterPanel (cognitive 21): IssueFilterPanel.IssueFilterPanel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 14 (20 pts), boolean chains 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueFilterPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85dc6dd28886bb471ed47aafc23d131ff0565d07bbdc3a4d5978a62361348de"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-detail-subissues.buildIssueSiblingNavigation (cognitive 21): issue-detail-subissues.buildIssueSiblingNavigation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-detail-subissues.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263541e8c57d6e0fd631931725da093e4e6171dd9e673a0087fe477eec9eb82"}},{"ruleId":"D2","level":"warning","message":{"text":"RichWorkProductCard.stateChipFor (cognitive 21): RichWorkProductCard.stateChipFor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 9, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b19d60bf4013fe37c7da94d1238bbcb373cbd6efe5e09bc8b8733203734a38"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatStatusNotice.TaskChatStatusNotice (cognitive 21): TaskChatStatusNotice.TaskChatStatusNotice has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 8 (9 pts), if/else 2 (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":"ui/src/components/task-chat/TaskChatStatusNotice.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c843bf7c46c0208f0398ba4e3a3b5df27b43f66e8cfd5ff89762217161c6729c"}},{"ruleId":"D2","level":"warning","message":{"text":"question-validation-pattern.matchSafeQuestionValidationPattern (cognitive 21): question-validation-pattern.matchSafeQuestionValidationPattern has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/question-validation-pattern.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e8116e0f55d1ab683799c801c4a6d710bbb8d56bd4d299a8fa178f76668b16"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolCard.ProviderActivityCard (cognitive 21): TaskChatProtocolCard.ProviderActivityCard has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 4, if/else 1 (nesting depth added 6). Of this number, 14 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac801797503d1d4fdcf04abe64cfb7a4e7031833d7dc0a40f253eea84b6f3e43"}},{"ruleId":"D2","level":"warning","message":{"text":"transcriptPresentation.summarizeToolInput (cognitive 21): transcriptPresentation.summarizeToolInput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 5 (8 pts), boolean chains 3 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0298a13d7099443ccffbfbf133d91da98cb17894a6d1c0b125ba809b18740a32"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-chat-messages.runDurationLabel (cognitive 21): issue-chat-messages.runDurationLabel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 2 (4 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"023f3caa603cfd77e3fd0857f0d4a8cbc65960aa5b0b74f94efa57a41b6f38d8"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatToolPart (cognitive 21): IssueChatThread.IssueChatToolPart has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (17 pts), boolean chains 3, if/else 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"01531ab05c5178745ae496827d2439e1bd21c94dd38f997af74e250eea4bb49b"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentAnnotationPanel.ThreadCard (cognitive 21): DocumentAnnotationPanel.ThreadCard has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 7, if/else 2 (5 pts) (nesting depth added 7). Of this number, 15 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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c4922bd42ee7c007c91e131158f62649ecc7b1b2d0e6f70c78bb1553b6b19"}},{"ruleId":"D2","level":"warning","message":{"text":"patch.createUnifiedDiffClassifier.\u003Creturned closure\u003E (cognitive 21): patch.createUnifiedDiffClassifier.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, 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":"ui/src/lib/patch.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"66378f94c8e6c9f51ccdd143b32438d53e0d0cf646c1d20ed3d7eb6f89ca4e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"SidePanelTabs.SidePanelTabs (cognitive 21): SidePanelTabs.SidePanelTabs has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 23 (35 pts), if/else 15 (17 pts), boolean chains 14 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (SidePanelTabs.SidePanelTabs::handleKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2647f09b7895fc4e4432025c7c36c09864043dcff11c49bdeea48cc5b94f050e"}},{"ruleId":"D2","level":"warning","message":{"text":"BudgetIncidentCard.BudgetIncidentCard (cognitive 21): BudgetIncidentCard.BudgetIncidentCard has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 15 (17 pts), boolean chains 3, if/else 1 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BudgetIncidentCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a226a4f00a5c782399ba3d41f689f281c9b6e4b5f0364c6d00abf80fdff86ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionInlineVerbs.FailedRunActions (cognitive 21): AttentionInlineVerbs.FailedRunActions has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 6, if/else 3 (nesting depth added 4). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e125a2bc54a6dcfb8aaca277df099cbe19c6a6a31c7f3d5886ec1a64b46c2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"StalledReviewActions.StalledReviewActions (cognitive 21): StalledReviewActions.StalledReviewActions has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 3 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 3 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":"ui/src/components/StalledReviewActions.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c49a98ff637ac4000426913222bdf51cb69345363b2f7a067df9ea3daf0b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionQueueRow.JoinRequestResolver (cognitive 21): AttentionQueueRow.JoinRequestResolver has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 5, if/else 1 (nesting depth added 7). 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b41f9db21aa6d7601a94327313abab8f00aa1168a60f7cfcfaaa17728508412"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilesTab.EffectiveAgentPanel (cognitive 21): ProfilesTab.EffectiveAgentPanel has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (20 pts), boolean chains 1 (nesting depth added 13). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"601ed22883fd51bcdf50a961a0a23259682c90a4a060b794cccd959455b85ba8"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantConnection.AssistantConnection (cognitive 21): AssistantConnection.AssistantConnection has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, ternaries 5 (6 pts), if/else 1 (nesting depth added 1). 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":"ui/src/pages/apps/AssistantConnection.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c16d0e7eabd72a0ed4b733a00a44d9abb010a4ecb146b581c30f6137e4cf33"}},{"ruleId":"D2","level":"warning","message":{"text":"Secrets.buildCreateVaultOptions (cognitive 21): Secrets.buildCreateVaultOptions has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30396ae6e3012ff884358032b61c5568744a1ac8762a681f7bc878ccd91397f"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactRow.ArtifactRow (cognitive 21): ArtifactRow.ArtifactRow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 1 (4 pts), boolean chains 1 (nesting depth added 10). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/v1/ArtifactRow.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe1373caf7b673c5de60d46f3e531160b38a87e47d50d20c1bd11815e52bc70"}},{"ruleId":"D2","level":"warning","message":{"text":"McpAppView.McpAppViewContent (cognitive 21): McpAppView.McpAppViewContent has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 5, if/else 2 (3 pts) (nesting depth added 5). 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":"ui/src/components/mcp-app/McpAppView.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd48847e0eeb6e3765a9a0515d3accf1aff6bf5dcb05ee2fe39f53b9a4aa5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsUsingSkillDialog.AgentsUsingSkillDialog (cognitive 21): AgentsUsingSkillDialog.AgentsUsingSkillDialog has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (15 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 168, a function literal at line 203, a function literal at line 129, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"546c2235d3af89d8302c9b480563e756ec0b988669ab8ea4f136c69433903b90"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskVoiceLauncher.TaskVoiceLauncher (cognitive 21): TaskVoiceLauncher.TaskVoiceLauncher has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 4 (7 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/voice/TaskVoiceLauncher.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab5f59bc15b32b14933da810af39270f57e13d78fd1d2581453c0d24dc47be8"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMcpProductionSetup.RemoteMcpProductionSetup (cognitive 21): RemoteMcpProductionSetup.RemoteMcpProductionSetup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 57 (74 pts), ternaries 40 (59 pts), boolean chains 38, error handling 13 (22 pts), loops 1 (2 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RemoteMcpProductionSetup.RemoteMcpProductionSetup::submit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"45750bd5831521ec07f221a243e7ef96b933b2e5020dd6cd37e837c47dec4c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.connectionDefaultSummarySentence (cognitive 21): ConnectionSetupFlow.connectionDefaultSummarySentence has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (21 pts) (nesting depth added 13). 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29bb8b6d9f9a7b908016efea7a019b80d6ebe68201cb41ca66cb8a5679512cd"}},{"ruleId":"D2","level":"warning","message":{"text":"persisted-query-cache.startPersistedQueryCache (cognitive 21): persisted-query-cache.startPersistedQueryCache has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 5 (6 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8617cca2bb73efefe13dd418e29bdebb25e1312c27ab0f0118029dc13dcab722"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectorCatalogNavigation.nativeRows (cognitive 21): ConnectorCatalogNavigation.nativeRows has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 1, if/else 1 (nesting depth added 8). None of this is in the body itself: all 21 points belong to 3 function literals inside it that branch (lines 37, 50, 50). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/ConnectorCatalogNavigation.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c927963624db4ed96033127b81d6ca639081c8ecf04a8857e4220271e62cad"}},{"ruleId":"D2","level":"warning","message":{"text":"task-list-data.columnData (cognitive 21): task-list-data.columnData has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 16 (18 pts), boolean chains 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":"ui/storybook/support/design-proposals/task-list-data.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8984c7132f42c92dabccf58d468e5c960c72c234fe4fe35785fc8d948c54aa00"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxSidecarTransport::receive_response (cognitive 21): AcpxSidecarTransport::receive_response has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"227967185cec52ce97f315cfd1f14776b50cf321e8e45874bed995040919bb36"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::aws_agentcore_provider::network_loop (cognitive 21): paperclip_runner_core::aws_agentcore_provider::network_loop has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 7 (17 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7131c428731a4a29312431150bb0986bb2bc4ea756b34da622b379b37b31a41"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-stdio-mcp::main (cognitive 21): paperclip_runner_core::bin::fake-stdio-mcp::main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-stdio-mcp.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1a61f9359a9a6c4ddc8b26849b9515ff014652e8e615453ee1b1d99b146fca"}},{"ruleId":"D2","level":"warning","message":{"text":"parseStdoutLine (cognitive 21): parseStdoutLine has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43f3f56edacbd3a291451667833e11423925a8c646f57b88550b48e7d2e10ec"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.promptStorage (cognitive 20): storage.promptStorage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/storage.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c49bd9fe9cc12d31293ed024ec61fd7c5f85bb7b96dc4ba38e1c489c63c14a5"}},{"ruleId":"D2","level":"warning","message":{"text":"env.envCommand (cognitive 20): env.envCommand has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6, boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (formatSection, a function literal at line 59, a function literal at line 60, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/env.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f080c5482dad2f77a0fcadd447adab845de2b55df18cd429ee24d227f716b53e"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.acquireWorktreeSeedLock (cognitive 20): worktree.acquireWorktreeSeedLock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"448628a7cd4eb8f233ac87f16d225dedd447576d5c3db29dc2120ef3d478a188"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.ensureSandboxCommandResolvable (cognitive 20): execution-target.ensureSandboxCommandResolvable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 3 (4 pts), error handling 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b396aaf3a25d29cf69b2488d08107c7b3e51513a20ca81766a3c305b96cec9"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.ensureAdapterExecutionTargetRuntimeCommandInstalled (cognitive 20): execution-target.ensureAdapterExecutionTargetRuntimeCommandInstalled has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 1 (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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0271d0981d1cd2ee5ea83b9b7dc59ce410fe70bc0d1263636a56746e14b97cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.resolveCommandPath (cognitive 20): server-utils.resolveCommandPath has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":3659}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d2665f802072d4a2145bb85ffe2881a476a2e96e61f5df2ee377152122ce86"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.buildRuntimeMountedSkillSnapshot (cognitive 20): server-utils.buildRuntimeMountedSkillSnapshot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (7 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd22d91d433d0db678303e10c3b7d8b8f2c79d907506d1defe1ecfbb3844f02"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-restore-merge.acquireDirectoryMergeLock (cognitive 20): workspace-restore-merge.acquireDirectoryMergeLock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 2 (3 pts), loops 2 (nesting depth added 5). Of this number, 12 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e32847da88f87e476923381a5696c8de18e20ea9970d6035f0a7ae6ff846e4"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-config.prepareSandboxClaudeProbeRuntime (cognitive 20): claude-config.prepareSandboxClaudeProbeRuntime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8638c560a5fc258624bbf618737fa823dfff689ba3e76f6555360cc3849351"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseCursorToolCallEvent (cognitive 20): parse-stdout.parseCursorToolCallEvent has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 5, if/else 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6373b045c05c35563ad273403900065bf4ecc66ab1028d9f5f9e00f14d1803"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.attributeOpenCodeProviders (cognitive 20): runtime-config.attributeOpenCodeProviders has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). Of this number, 13 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/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcd23b8fb3ad93a08a1aa4b871e48bb81a1999b2682b0686a942de5a67af2e8"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.buildPiLocalConfig (cognitive 20): build-config.buildPiLocalConfig has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/ui/build-config.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0a89417f520de6e253680cc0d48302128bb16a185558c209ca867c69aa92e0"}},{"ruleId":"D2","level":"warning","message":{"text":"replay-contract.versionIssues (cognitive 20): replay-contract.versionIssues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, loops 1 (nesting depth added 4). Of this number, 11 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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e6d5985d85d4eb01d24591cfe62423051fbf274ba6bfd03ad59f9bfa1d4a98"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-turn-diff.parseCodexTurnDiff::finish (cognitive 20): codex-turn-diff.parseCodexTurnDiff::finish has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 5, 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. This shape REPEATS in the file: one other method here (codex-turn-diff.parseCodexTurnDiff) 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cc1444deb6b2e69c4ac72460e319ffdd64fc1dd4ebe98ae45681136bdcaed8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-security-config.codexNetworkReadOnlyRoots (cognitive 20): codex-security-config.codexNetworkReadOnlyRoots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (5 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb742fc518c7383822fd83425b5d21ee2b86ff244bfe01281f51d07b8cbd84d3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-security-config.codexExecutableReadOnlyRoots (cognitive 20): codex-security-config.codexExecutableReadOnlyRoots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 3, ternaries 3 (nesting depth added 2). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23581f15a61611448089142a93d11dabb9a765cf2f274cc683c89185934d271"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-credentials.acquireCredentialHomeLock (cognitive 20): codex-credentials.acquireCredentialHomeLock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e271ad1f09fd4bcf09a7abbad2555a3ecdaccfeb0e734c12f005c22aaaadce0"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonStringReader.consume (cognitive 20): JsonStringReader.consume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9290582dc903ac38ef7585961663f518c16d1728408d2b33eed9e609bbf41"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-server-driver.resolvePinnedOpenCodeCommand (cognitive 20): opencode-server-driver.resolvePinnedOpenCodeCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abd1810f64a47f3df169c33e8086489c3a897ccd16ec5671795c24c050bb6e0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-command.resolveCodexCommand (cognitive 20): codex-command.resolveCodexCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-command.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b4b0003a8190a7e86ba1b9df78d7b6817cb819e0db4717f422d1f4b097b888"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-runtime-files.inventoryKimiRuntimeFiles::visit (cognitive 20): kimi-runtime-files.inventoryKimiRuntimeFiles::visit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 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/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ee39c00ec6505bc1ec10e26b852a3ed8ffe35a21fc6005344701b27f62c60b"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.isAiConnectionCompatible (cognitive 20): ai-connections.isAiConnectionCompatible has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/ai-connections.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2625a885552a3bd80165c6ca226407ba62cebd37ab8b19a87fbfc9560c6038de"}},{"ruleId":"D2","level":"warning","message":{"text":"redaction.rawQuotedValueEnd (cognitive 20): redaction.rawQuotedValueEnd has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caf974742b949559bb9a27e7a03c0caf1e458831e1c2eca95c274a74f7e9f76"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotonCloudClient.allocation (cognitive 20): PhotonCloudClient.allocation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/cloud.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f7f9d86e8c4916b7dde667c8ac80cfcacd232cb268a7a3a6cde267dcc92b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadCapability.exchange (cognitive 20): UploadCapability.exchange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 5, 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa33b30796501cee3656bfae8bf478c403fcbcffb53e7492b313c8b202a6cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-attachments.githubAttachmentCommentFetch.\u003Creturned closure\u003E (cognitive 20): chat-github-attachments.githubAttachmentCommentFetch.\u003Creturned closure\u003E has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 5 (7 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5978700f9911c34a6d72f9871c81b60f9f30e61cf18455535ff2af4f2248b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.installDiscordNativeCommands (cognitive 20): chat-sdk-runtime.installDiscordNativeCommands has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 19, if/else 1. Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae120b24db2459701d3f4994b0fe4056379b0b88659647c94259054e4ddf7f49"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-inventory.listSlackBotChannels (cognitive 20): chat-provider-inventory.listSlackBotChannels has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-inventory.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e4834476ae80430695d1e23dd2a5e72b728b49c24482fef1a73de27be5aa85"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-event-bus.passesFilter (cognitive 20): plugin-event-bus.passesFilter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (10 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":"server/src/services/plugin-event-bus.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb99847d11af59ed880c7e4598fdf2bbd0ad2bea4e226508a00f03f226d846e9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-configuration-revision.restoreAgentConfigurationRedactions (cognitive 20): agent-configuration-revision.restoreAgentConfigurationRedactions has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 4, if/else 4 (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-configuration-revision.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8081d0a7bce869949aab9a13cd887010ec66fe07e9941ed8c7b7ae80989deb0"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-summary.summarizeHeartbeatRunResultJson (cognitive 20): heartbeat-run-summary.summarizeHeartbeatRunResultJson has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5, 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c1e0fbcd98a2474aba28cb4e53120f3e8acfcf9d8d45f771e993129b394e6"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-task-resume.resumeRefusal (cognitive 20): plugin-task-resume.resumeRefusal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, 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":"server/src/services/plugin-task-resume.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd983e18a04f9e34adb9f083f941af64ca9288ec0adef76c2da7c6c2e9f4f329"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.createCurrentUserSecretValue (cognitive 20): secrets.secretService.createCurrentUserSecretValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, error handling 3, ternaries 1 (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":"server/src/services/secrets.ts"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"2300981f05c782dd7030eda511e9774fd1f0bda852f05ba1267beca9521f415a"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::handleProcessExit (cognitive 20): plugin-worker-manager.createPluginWorkerHandle::handleProcessExit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 3 (4 pts), boolean chains 3, error handling 1 (3 pts) (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. This shape REPEATS in the file: 5 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34efb17901e3b392172b96e89d3bc5b7083d62ece7f9bf77385e40331629c4b"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-goals.settleLiveRunnerGoalBeforeInterrupt (cognitive 20): runner-goals.settleLiveRunnerGoalBeforeInterrupt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (8 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":"server/src/services/runner-goals.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"861f8f362c746d6025795169cbb8b8cfe3c6b3246af884866eab24052f4a28b4"}},{"ruleId":"D2","level":"warning","message":{"text":"s3-provider.createS3StorageProvider.listExactVersions (cognitive 20): s3-provider.createS3StorageProvider.listExactVersions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5604c7edd152a06f5ce4a1b610215c4724c1866530a2bd7ec55b96e44190adf"}},{"ruleId":"D2","level":"warning","message":{"text":"s3-provider.createS3StorageProvider.abortIncompleteUploads (cognitive 20): s3-provider.createS3StorageProvider.abortIncompleteUploads has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 2, 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"18398c4b910a2af5f7d7bb68e3f5ce7b79d69463fff289f375611c5fdec3e0ff"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-stop-and-retain.settleStopOnlyCleanup (cognitive 20): sandbox-stop-and-retain.settleStopOnlyCleanup has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 4, if/else 3 (nesting depth added 3). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 240). 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f182d023c9177a7289d8681d261040241a2da65ab8d5bb7b8999d87cf1528b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh-leases.createOAuthRefreshLeases.acquireOAuthRefreshLease (cognitive 20): refresh-leases.createOAuthRefreshLeases.acquireOAuthRefreshLease has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, 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":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b1b162fa8b4d469a059b1e41bf655c1d0d2f9f23d6cee56d49588a3026fcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-http.discoverMcpProtocol (cognitive 20): mcp-http.discoverMcpProtocol has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, error handling 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":"server/src/services/mcp-http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f1d68fbb44029af572149b51a77246906ec6256a1e1280c9f97524c4d0efd8"}},{"ruleId":"D2","level":"warning","message":{"text":"client-credentials-service.createClientCredentialsService.createMachineSignIn (cognitive 20): client-credentials-service.createClientCredentialsService.createMachineSignIn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 5 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":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff57cf77545b967fe800555bb7f076d4f18609dd0356061e2662157cccc79e9"}},{"ruleId":"D2","level":"warning","message":{"text":"github-grant-continuity.createGitHubGrantContinuity.refreshManagedGitHubGrantAccessOnce (cognitive 20): github-grant-continuity.createGitHubGrantContinuity.refreshManagedGitHubGrantAccessOnce has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 13 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8042f9382e842dd951b675e70aabf7105c52a5119347c14d769bb4004bf2d61d"}},{"ruleId":"D2","level":"warning","message":{"text":"speko-provider.createSpekoProvider.request (cognitive 20): speko-provider.createSpekoProvider.request has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (6 pts), boolean chains 2, error handling 2, loops 1 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/speko-provider.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9e6962aceffff2cd780a5c0b38da7f4a884272786f6b6fc6e6867ab8305162"}},{"ruleId":"D2","level":"warning","message":{"text":"run-log-store.openLegacyRunLogForMigration (cognitive 20): run-log-store.openLegacyRunLogForMigration has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-log-store.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"633eb52041360a293ea8abec277a7234796786188160be467e45913d2385ede6"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.inspectRecipe (cognitive 20): git-workspace-restoration.inspectRecipe has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (2 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"7510ff55a59a56fcc89ae62ae71330fd825a129925b365f3bbb81791970712f8"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.restoreGitCacheBase (cognitive 20): git-workspace-restoration.restoreGitCacheBase has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 6). Of this number, 16 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa5881a39c7754b43f8969ab0c53f410671f55b23e80ce0290bf105e391039c"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-review-expiry.toolReviewExpiryService (cognitive 20): tool-review-expiry.toolReviewExpiryService has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 3 (8 pts), loops 2 (3 pts) (nesting depth added 10). 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 items inside it that branch (sweep, deadlines, a function literal at line 62). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-review-expiry.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2c67e4765d6606c945afd6562bbf7f8442ba70be740c03df86bb25a46cdf08"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-store.agentFileStore.write (cognitive 20): agent-file-store.agentFileStore.write has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 3). 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 317). 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae6336bf8d6a18289d8dcb9c98b726da2313ef039d5f6aa8241c92fb93532b5"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.getTestRunDetail (cognitive 20): company-skills.companySkillService.getTestRunDetail has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 12 (15 pts), if/else 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7049}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc165086593baefb7e0994072cd762cd267a0e5315c4cb273aa741bed0028836"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.captureAuthorityHistory (cognitive 20): native-harness-filesystem-independence.captureAuthorityHistory has cognitive complexity 20 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 12, loops 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. This shape REPEATS in the file: one other method here (native-harness-filesystem-independence.captureAuthorityHistory::visit) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b28b6ea86a157b13fe718c9820f2012b68810210cf2bfe24aab7945e2803bb"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.validWebBinding (cognitive 20): native-harness-filesystem-independence.validWebBinding has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (5 pts), error handling 1, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e8d4bfc377a5797e843157a83e60f6ac6e611abd3d2403c9dbcab7ec2b2599"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-archive-source.assertSettledControllerArchiveSource (cognitive 20): native-controller-archive-source.assertSettledControllerArchiveSource has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-archive-source.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"307ec486f574630b5758b86e67f98e2b52c97d00171b039f9203a82feac3b4ca"}},{"ruleId":"D2","level":"warning","message":{"text":"reusable-sandbox-resume-replacement.reusableSandboxReplacementPlan (cognitive 20): reusable-sandbox-resume-replacement.reusableSandboxReplacementPlan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 8, 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":"server/src/services/reusable-sandbox-resume-replacement.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fa0677beaccf0f92e14b28b17b4db290d9508fd388b0db2152064aa6a2d74e"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-instance-cleanup.readVerifiedPostgresCommand (cognitive 20): workspace-instance-cleanup.readVerifiedPostgresCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75d566b087df89d239f9870bc73db613bd1b70f6416e72d7f771d9e60499719"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.waitForRuntimeServiceReadiness (cognitive 20): workspace-runtime.waitForRuntimeServiceReadiness has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5492}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fef437445a5a3925d41af5413bab06176ddb1c2c7c013b717d6f01ac60582a"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.buildEnvironmentSecretMetadataForLeaseFingerprint (cognitive 20): environment-runtime.buildEnvironmentSecretMetadataForLeaseFingerprint has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa57aa692fb64b117d37a3db957d5509daa858938ae05925c528c27f2360907"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.resolveAgentEnvironmentForCompany (cognitive 20): agent-runner-selection.resolveAgentEnvironmentForCompany has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8bb444b03e4b8076001cba8c97d0161ed371f61a4945f326f5df5cc0b5f14e"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-response-comments.githubResponseCommentService.failRun (cognitive 20): chat-github-response-comments.githubResponseCommentService.failRun has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (nesting depth added 8). 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 item inside it that branches (assertRun). 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58099daaeb37297e9d958d9a941750cec9bfbc3268218a31f1da0022812e56d"}},{"ruleId":"D2","level":"warning","message":{"text":"distribution-plugin-catalog.readDistributionPluginCatalog (cognitive 20): distribution-plugin-catalog.readDistributionPluginCatalog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 2). 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 145). 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":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e9f47c0a983fcf68908fb13dc6d1267ff97bb9c9c4174f8e5e2653ce89532d"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-mcp-tools.createAssignedMcpTools::search (cognitive 20): assigned-mcp-tools.createAssignedMcpTools::search has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, 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. This shape REPEATS in the file: one other method here (assigned-mcp-tools.createAssignedMcpTools) 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3195474d1660eab3f519d079c4cda6cc5886ab0f927013927d93fb87f237dae5"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-task-directory.materializeIsolatedTaskDirectory (cognitive 20): isolated-task-directory.materializeIsolatedTaskDirectory has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"827b1e1a79520c9d1681a12e2192524ce62ca898087f71f0eb1714847b9512f1"}},{"ruleId":"D2","level":"warning","message":{"text":"deadline-work.registerActiveRunSilenceWork (cognitive 20): deadline-work.registerActiveRunSilenceWork has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, ternaries 7, boolean chains 5. None of this is in the body itself: all 20 points belong to 5 function literals inside it that branch (lines 26, 45, 25, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/adapters/deadline-work.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7137007f00874987dcf4b050ab8830185e08f63b4b65e7cc6a60a889598e9c22"}},{"ruleId":"D2","level":"warning","message":{"text":"process.createProcessAdapter.cleanupRunProcess (cognitive 20): process.createProcessAdapter.cleanupRunProcess has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 6, if/else 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":"server/src/modules/active-run-watchdog/adapters/process.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b708fb931e6b33804180009561e986f7e5beb83df84ee28b5d449f80db8ded1"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.hasCurrentNativePassiveWait (cognitive 20): service.recoveryService.hasCurrentNativePassiveWait has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5cd2221aaaae3414bb2d07793fa52a9b53fd83cf41b3135a029e5ef3263e78"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.repairNativeBlockedWait (cognitive 20): service.recoveryService.repairNativeBlockedWait has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, loops 1 (2 pts), ternaries 2 (nesting depth added 2). 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 1709, 1837). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2ef5ab692dec97d47c1cc4361f75e08680c88cbaf767f5fd9793ce8798b060"}},{"ruleId":"D2","level":"warning","message":{"text":"fast-responses.fastResponseSourceCurrent (cognitive 20): fast-responses.fastResponseSourceCurrent has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 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":"server/src/services/fast-responses.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c816399bfb9d22c898bf77611aefa2e826fc6d10f341ccbf325cbb58a57fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.importAttachments (cognitive 20): email-channels.emailChannelService.importAttachments has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a42e5ed1b44aa9e35d6cef01eec33e8e064d10fae07b4d5025905805e01131"}},{"ruleId":"D2","level":"warning","message":{"text":"satisfied-connection-intents.satisfiedConnectionIntentService.sweepPending (cognitive 20): satisfied-connection-intents.satisfiedConnectionIntentService.sweepPending has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (nesting depth added 8). 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 141). 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":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"696f42dfe50977cfba7b10cff4d68b89c557566332ebcadc950b512e5c53b7cc"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-files.archiveEntry (cognitive 20): remote-workspace-files.archiveEntry has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf10b4e41f0d3f896f005a8f903ba5a6c9a8b79dfb37f743cca1920d1b26e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-fallback.settleSiblingRecoveredHold (cognitive 20): workspace-recovery-fallback.settleSiblingRecoveredHold has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 3 (4 pts), error handling 1 (2 pts) (nesting depth added 2). 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 454). 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a33fdc74c1740d784f15a38b07eda5a633d5f95af9f66907bdf6e7cda9acfe2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-log-export.nativeRunLogPrefixCursor (cognitive 20): native-run-log-export.nativeRunLogPrefixCursor 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae623dafa66e265cb2b05fa43cba87d27645649bef0e1ba5dd46c0b11103475d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-inbound-wakeup-publications.resolveInboundWakeReceipt (cognitive 20): chat-inbound-wakeup-publications.resolveInboundWakeReceipt has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 8, 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":"server/src/services/chat-inbound-wakeup-publications.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc8642b5afaedf3e6a31b7823b0340a5dfa76c61848c6603d6f659cb3979ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"command-schedule.discordCommandSchedule.load (cognitive 20): command-schedule.discordCommandSchedule.load has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 4 (8 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":"server/src/services/chat-channels/discord/command-schedule.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed3079a300a23458f99bd2fac715389aa0de28f5b6e3deb46fb6b09bb570c26"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-reply-policy.planVoiceReply (cognitive 20): voice-reply-policy.planVoiceReply has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-reply-policy.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"838a86a2c42f15cc229ec653bc6c0d5dd2299e4b22d4edcfb6fd6c1bea79d0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-call-reports.voiceCallReports.check (cognitive 20): voice-call-reports.voiceCallReports.check has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4 (6 pts), error handling 1 (2 pts) (nesting depth added 10). Of this number, 12 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-call-reports.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f586b5cf3b3bf0ca41de35d4a48c25ac888b766d37d5cd48079a5b130914dfba"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-service.voiceSessionService.closeProviderOnce (cognitive 20): voice-session-service.voiceSessionService.closeProviderOnce has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (5 pts), ternaries 1 (2 pts) (nesting depth added 10). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f80bbed72157da2a78a5f0c085509f2a8b539290f3e4af019c09f891b5ab755"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-management.githubChatManagementService.saveConfiguration (cognitive 20): chat-github-management.githubChatManagementService.saveConfiguration has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 2, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 147, 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"835395da049e30a3fb6c464b356ea001b470de01fa1a8b8f3f72cb0cb8fab637"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-registration.githubChatRegistrationService.start (cognitive 20): chat-github-registration.githubChatRegistrationService.start has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 9, ternaries 2. Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7de3f2588af64371733cbe44ed463d3b6adf04410405f06fc6ec4bdc63cdf3"}},{"ruleId":"D2","level":"warning","message":{"text":"failed-run-retry.createChatFailedRunRetry.restoreUnstartedRetryInput (cognitive 20): failed-run-retry.createChatFailedRunRetry.restoreUnstartedRetryInput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 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, 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ac1efe889fe267a21101eb29b3da1fb0a4bcd1eb6b063536ae0f7a7c9f182a"}},{"ruleId":"D2","level":"warning","message":{"text":"endpoints.createChatEndpoints.create (cognitive 20): endpoints.createChatEndpoints.create has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 285). 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e1ef97e5404bb028241d824dbafaef7a0b8a6b6c8f9b6969bc01970234211b"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-discord-question-forms.retainDiscordQuestionFormCorrection (cognitive 20): chat-discord-question-forms.retainDiscordQuestionFormCorrection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-question-forms.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"114b589ccf4a27d5f8b4be8320bf29553922575627960c9592b36abe418e98be"}},{"ruleId":"D2","level":"warning","message":{"text":"projection.summarizeProfile (cognitive 20): projection.summarizeProfile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/projection.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd88d94291146a34bf0b0892fa76e5ee499371212da296c1f662fc24cf56598"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.aggregatorDiscoveryState (cognitive 20): aggregator-accounts.createAggregatorAccounts.aggregatorDiscoveryState has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), ternaries 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2073872e056b71a6de19e8c669d8dc0049ad0f902e24a51296137f511343fcec"}},{"ruleId":"D2","level":"warning","message":{"text":"git-restore-point.rawIgnoredTree (cognitive 20): git-restore-point.rawIgnoredTree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (3 pts), ternaries 1 (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":"server/src/services/git-restore-point.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a633cce6a306523819e6c609a078da2d2bf9f55935f0fb2ecd161c84e9c65e"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.sweepSupersededPendingRequestConfirmations (cognitive 20): issue-thread-interactions.issueThreadInteractionService.sweepSupersededPendingRequestConfirmations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). Of this number, 13 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d42b309cc1a8dc2797f4953819296a3711d61ee124caecfd2a7f33a6d9a2ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.answerQuestions (cognitive 20): issue-thread-interactions.issueThreadInteractionService.answerQuestions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). Of this number, 11 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5620}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa94dc8c9752eaac86c8a35b1608047c1ddb722050f478128fd0598c2a61656"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-readiness.prepareProbeCodexSource (cognitive 20): setup-readiness.prepareProbeCodexSource has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"075e329e4b330ae633dc2778d7450170f70e2dc8187d5187a75ab9f9c2769586"}},{"ruleId":"D2","level":"warning","message":{"text":"case-agent-read.projectAgentCaseRead (cognitive 20): case-agent-read.projectAgentCaseRead has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 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":"server/src/services/case-agent-read.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c1dd9ac92497f12084d84153b930b31afc26a5e0bab02913534a1fe30b55e7"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi.applyStringChecks (cognitive 20): openapi.applyStringChecks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 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":"server/src/routes/openapi.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0b9ef90691fea731b9ea6bb252c50cd882c7c936d5dd24533bd4cef3a590f3"}},{"ruleId":"D2","level":"warning","message":{"text":"current-wake-comments.readCurrentWakeComments (cognitive 20): current-wake-comments.readCurrentWakeComments has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), ternaries 1 (2 pts) (nesting depth added 2). 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 628). 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4ed76a287073ee5f5fad755164900d3a16acd9e5efe1e75fdfc327fa373168"}},{"ruleId":"D2","level":"warning","message":{"text":"current-wake-comments.assertCurrentWakeCommentsRead (cognitive 20): current-wake-comments.assertCurrentWakeCommentsRead has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 2 (3 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 757). 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2f9df4ec09578586c89bc4a29e4755184afd680f016bd02bd2c9fb1c56223d"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoffs.caseHandoffService.acceptTerminal (cognitive 20): case-handoffs.caseHandoffService.acceptTerminal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 6, ternaries 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be0d6e3be3a614b072ee219947e7fd8723c9966682cea131eafa0e86204b984"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#requestHumanInput (cognitive 20): PaperclipRunnerToolAuthority.#requestHumanInput has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (7 pts), boolean chains 6, if/else 6, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (apply, a function literal at line 3363, a function literal at line 3311). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d801c28af4fa0e1230a9d61bcf4ec7a72fa752bbe87db6daa9ec23cf1471234"}},{"ruleId":"D2","level":"warning","message":{"text":"native-staged-attachment-recovery.resolveNativeStagedAttachmentRecovery (cognitive 20): native-staged-attachment-recovery.resolveNativeStagedAttachmentRecovery has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 7, 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":"server/src/services/native-runtime/native-staged-attachment-recovery.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f2cc98ab0d28ad94afe0b1e7b7707e61bb69568c8f6d62c6f9f1090e6466da"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.claimWarmNativeInstructionCopy (cognitive 20): native-session-executor.claimWarmNativeInstructionCopy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, error handling 1 (nesting depth added 1). 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: 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22da53efc1679bbcbb9543adf5c1cad20029a9dd9c138db18e19e86fb1ee822"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.reserveWarmNativeInstructionDirectory (cognitive 20): native-session-executor.reserveWarmNativeInstructionDirectory has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad67e7cb5d83826db64726c8f689a768e4acaaad59c3577f8d99c2c964987bc"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.verifyRemoteRunnerOrSettledExit (cognitive 20): native-session-executor.verifyRemoteRunnerOrSettledExit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15504}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb37a85e4d064e5f9da56c4f7794e7d6af4f7ab106d124237520414541d0c74"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.liveDescendantCountMapForIssues (cognitive 20): issues.liveDescendantCountMapForIssues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3603}}}],"partialFingerprints":{"codehealthFindingId/v1":"af06c926624a7596e891698e206e8c55699a85c0b143f61c44d8072b71d9352b"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-task-runtime.settleDispatchedEnvironmentTask (cognitive 20): environment-task-runtime.settleDispatchedEnvironmentTask has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 3 (4 pts), error handling 1 (nesting depth added 4). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f671510b55e024d5453ab99f7cc439519f59b15dd5eb2c38714699eaa3cd5f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"access.accessService.updateMemberAndPermissions (cognitive 20): access.accessService.updateMemberAndPermissions has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts), ternaries 2 (3 pts) (nesting depth added 2). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 541). 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":"server/src/services/access.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e397593e3ab1c45b20ed625bfdb6ffb9ae2a6a03d78508b13592f4f23516ce45"}},{"ruleId":"D2","level":"warning","message":{"text":"muse-receiver.createReceiver.signal (cognitive 20): muse-receiver.createReceiver.signal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 72). 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":"server/src/services/muse-receiver.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed491b069f6d406539e2e4838c17859a5bebde21ba8ebf9121a680fec55069"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-controller-lease.watchLegacyControllerLease.assertOwned::renew (cognitive 20): legacy-controller-lease.watchLegacyControllerLease.assertOwned::renew has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, 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":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0637b26ded304e9e5027dbe09162bbc8f5b310796d81d92e5b5f4deb87115913"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-eligibility.getAgentOrgChainHealth (cognitive 20): agent-eligibility.getAgentOrgChainHealth has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 4 (8 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/shared/src/agent-eligibility.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8c345aca4852ad85516750bb2f116ef00c6856652f0f1096abcb141760e059"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-eligibility.getAgentWorkEligibility (cognitive 20): agent-eligibility.getAgentWorkEligibility has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (20 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/agent-eligibility.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ab886fda59d82aea5c6c0399470d1403ff6d1f4ffcc4e38534c18c81813cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.attentionCardType (cognitive 20): attention.attentionCardType has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/attention.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc087c8fd7b1465d37f9c1a29f2c5625ea80197ecae6e77627b7c323f2062b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-rate-limits.parseProviderRateLimitSnapshot (cognitive 20): provider-rate-limits.parseProviderRateLimitSnapshot has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 6, if/else 4 (5 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/provider-rate-limits.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2424f2a2db3b2497dac526b6e12ad24d0377b746ab0fffd6505e2e1f13ad016"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-adapter.goalSnapshotFromAcpMessage (cognitive 20): acpx-runtime-adapter.goalSnapshotFromAcpMessage has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 5, if/else 4 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f308ea6d27c9a80eae3fa665cb138e458d13eb0fe39c58402618a4420b30da3"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerdExternalSession.open::handleSemanticInput (cognitive 20): RunnerdExternalSession.open::handleSemanticInput has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (7 pts), boolean chains 5, error handling 2 (4 pts), if/else 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. This shape REPEATS in the file: one other method here (RunnerdExternalSession.open) 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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"957423320ed071e8644ab17bd571e64520f5f230263b755b673a43f464b6bff9"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-sidecar.shutdown (cognitive 20): acpx-runtime-sidecar.shutdown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (9 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e2dd2d858bc1119bfe26aeccb27f291a6b96c4f5362246afc714da9629459"}},{"ruleId":"D2","level":"warning","message":{"text":"compatibility.assertPaperclipRunnerCompatibility (cognitive 20): compatibility.assertPaperclipRunnerCompatibility has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (4 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/paperclip-runner/src/compatibility.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38771716372f4db29125586bffd496719ef204149b538d0c8f81e8277f4cd9d"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityToolAuthorizationEngine.#evaluate (cognitive 20): CapabilityToolAuthorizationEngine.#evaluate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, 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/paperclip-runner/src/tools/capability-tool-authorization.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c723d631c6cc6b8a1463314cc86a7274f31a718567a287182b2743d2c650b7"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.#completeExtensionExecution (cognitive 20): CapabilitySemanticToolRuntime.#completeExtensionExecution has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fd76a2ed96cc831d93d24f1d96a053efad07e0e079a3ff27dc73571aad4d93"}},{"ruleId":"D2","level":"warning","message":{"text":"capability-semantic-tool-runtime.commandForOperation (cognitive 20): capability-semantic-tool-runtime.commandForOperation has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"892de2db5116f7cbc2e82e82fee0d5e031f65209c18623c125b69714f436c73c"}},{"ruleId":"D2","level":"warning","message":{"text":"PiTurnUsage.accept (cognitive 20): PiTurnUsage.accept has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 3 (4 pts), loops 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c065c17cbbecf56d7fe002290b502686b98279e6ec868f9465badc8b66c7df"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-execution.assertEvalBehaviorFaultMatrix (cognitive 20): eval-execution.assertEvalBehaviorFaultMatrix has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"37698903f37cf276f07b7145d24d5b662c377e7dbf69aab3710a1fc3f325d1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-report.runnerWorkflowAlerts (cognitive 20): workflow-report.runnerWorkflowAlerts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/eval/workflow-report.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"443d8ddf99286934bbd17df12524368067e9ce18155fd1d469c88df78a44b495"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.replayCheckpointedTurnTerminal (cognitive 20): native-session-runtime.replayCheckpointedTurnTerminal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7e0b40676f57ab7e78e55a709c98794350b4eb4ce22190acfa08c0edc58e58"}},{"ruleId":"D2","level":"warning","message":{"text":"tailnet-gateway.createCapabilityTailnetGateway.server (cognitive 20): tailnet-gateway.createCapabilityTailnetGateway.server has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (nesting depth added 4). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 310, 243, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/tailnet-gateway.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f97e9b9c005484c12f6a047454ffccdb09830ded5dae89dc91f8f8bf76d5e1"}},{"ruleId":"D2","level":"warning","message":{"text":"app.IngestTab (cognitive 20): app.IngestTab has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 7, if/else 3, error handling 1 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 10 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3978}}}],"partialFingerprints":{"codehealthFindingId/v1":"a532f3e963e634197fa10ead04eaca5e05b8692c5fe3053bf68f1c9a130b9399"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.executeOneShot (cognitive 20): plugin.executeOneShot has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 4 (6 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b7f9352240b4e4ca507980e6afd0fc6be0c91b8fc22580a753f4c2ec866691"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerCore.doRemove (cognitive 20): BrokerCore.doRemove has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406e1fefc63ebd91c5e5c386b7c50c9aec02ae2d52902b752a2888432c82f95"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.discoverTeamCandidates (cognitive 20): catalog-builder.discoverTeamCandidates has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f715490bafa6d4568e45160040d46ed505ae878815b5b25489c340643e97b5"}},{"ruleId":"D2","level":"warning","message":{"text":"attention-receipts.resolveAttentionCardAudience (cognitive 20): attention-receipts.resolveAttentionCardAudience has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 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":"server/src/services/attention-receipts.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a3060f091ec4914cabb93823bf50dcb4d761b889952010da4be8bcd336815"}},{"ruleId":"D2","level":"warning","message":{"text":"company-search.companySearchService.search (cognitive 20): company-search.companySearchService.search has cognitive complexity 20 (threshold 15). Drivers by points: if/else 41 (50 pts), boolean chains 32, ternaries 20 (28 pts), loops 4 (7 pts) (nesting depth added 20). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (company-search.companySearchService.search::fetchIssueSearchData) 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":"server/src/services/company-search.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff654d0b6ed26aa5f7610f5b14cd7f948e97aba304da23434a7485a15570e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.feedbackService.saveIssueVote (cognitive 20): feedback.feedbackService.saveIssueVote has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 12 (13 pts), if/else 5, boolean chains 2 (nesting depth added 1). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 1941). 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":"server/src/services/feedback.ts"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11a1ac5374ce511660a904dba0df137a678fbd998075f7723e05ca677001e87"}},{"ruleId":"D2","level":"warning","message":{"text":"github-connection-events.githubConnectionEventService.applyInstallationEvent (cognitive 20): github-connection-events.githubConnectionEventService.applyInstallationEvent has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 4, 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c530cdf56cd85cd352eaf76fa27947cef668a470229f33c732d93806a0aeb8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionService.list (cognitive 20): decisions.decisionService.list has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4, boolean chains 3, loops 2 (3 pts) (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9be308511416719c9efd8b83e56b74b4188ec07a189fb1c7e84d31dbb0dea25"}},{"ruleId":"D2","level":"warning","message":{"text":"costs.parseCostDateRange (cognitive 20): costs.parseCostDateRange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, 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":"server/src/routes/costs.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f67018a71b8dc0193c3cbf0e9378b971946b86e028ad9b81d6687c8b398bba"}},{"ruleId":"D2","level":"warning","message":{"text":"companies.resolveImportPayload (cognitive 20): companies.resolveImportPayload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c2869133dd33cd74e191dbea34761d757ec9fe73ac1d6e8db0b673e7ec3c8d"}},{"ruleId":"D2","level":"warning","message":{"text":"device-login-service.createDeviceLoginService.runLogin (cognitive 20): device-login-service.createDeviceLoginService.runLogin has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 4 (6 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/device-login-service.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e719f2c5a957595e09bf69eddef45ad152c8ad228c67513b748ee2faec82715"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::applyHiringAgentAuthInheritance (cognitive 20): agents.agentRoutes::applyHiringAgentAuthInheritance has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f1dc75a2af9542e8f2aee492648d0157033d809f78f5b624468ac09b535264"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::resolveRunDelegationParentDefault (cognitive 20): issues.issueRoutes::resolveRunDelegationParentDefault has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::lookupLowTrustSourceArtifact, issues.issueRoutes::classifySourceRecoveryRevalidation, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"4553b7b4661cf5e92cc9553754685cbde8f11f664d17fb8f6fca8ebc80cf1b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"case-work-summary.enrichCaseWork (cognitive 20): case-work-summary.enrichCaseWork has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14 (18 pts), boolean chains 1, if/else 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 57, 18, 19, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-work-summary.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f888d03c22f7d3b83f6da38718a59341ac45d0daba5837d49a12a8a8adc82c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-action-audit.agentActionAuditService.list (cognitive 20): agent-action-audit.agentActionAuditService.list has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, ternaries 5, boolean chains 2, loops 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":"server/src/services/agent-action-audit.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"516551dfbe856683fec8f3a976ebf471e810a9e7a467cee3d09013db60c9650c"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-incoming-wake.incomingWakeWorkQuery (cognitive 20): idle-incoming-wake.incomingWakeWorkQuery has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 7 (8 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":"server/src/services/idle-incoming-wake.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1f718ff03fb42748b33e2b4dd6153393879d95fcdcc608942ecaf7d08b3ab7"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-maintenance.skillPackageMaintenance.migrateSnapshots (cognitive 20): skill-package-maintenance.skillPackageMaintenance.migrateSnapshots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 4, loops 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b18215f13e7e333a4c47a59b22b64ddeeaab82ea1d28026555fd13eb44933a8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-migration.hasLocalNativeHarnessObligations (cognitive 20): native-harness-backup-migration.hasLocalNativeHarnessObligations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 10). Of this number, 10 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c764d2335c5cd71e5a53530fbf7d2353c59158b94e4c9483302ec6b2022907c"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-managed-agents.pluginManagedAgentService.reset (cognitive 20): plugin-managed-agents.pluginManagedAgentService.reset has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 3, ternaries 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce48f6c9e42c84bf3d2c09b54ed4b4c390076d371b3d7d93b4a6d97a6b81125"}},{"ruleId":"D2","level":"warning","message":{"text":"approval-queue-seeding-work.approvalQueueSeedingService.sweep (cognitive 20): approval-queue-seeding-work.approvalQueueSeedingService.sweep has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (3 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approval-queue-seeding-work.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf702592469e67a1472bcad2a459d2acff1dc5112c5000ed0516ab30740bbc0d"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-storage-migration.migrateLocalSkillPackageObjects (cognitive 20): skill-package-storage-migration.migrateLocalSkillPackageObjects has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-storage-migration.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c9ed56eb928feb0780def2a625516fc93fcc6c89440942b87ebc27d0e6079b"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatComposer.TaskChatComposer::resendUncertainSubmission (cognitive 20): TaskChatComposer.TaskChatComposer::resendUncertainSubmission has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (TaskChatComposer.TaskChatComposer, TaskChatComposer.TaskChatComposer::submit) 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d77458f3a25a756abf0714f5551eba28731550278718bf643d110f841a5b640"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerWorktreePicker.ComposerWorktreePicker (cognitive 20): ComposerWorktreePicker.ComposerWorktreePicker has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 3 (nesting depth added 9). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 84, 53). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerWorktreePicker.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5111006647cefb73bb4c9dec2953b7d8d176ae70df9b23c9235289241b40499"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarProjects.SidebarProjects (cognitive 20): SidebarProjects.SidebarProjects has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 2. Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 362, 350, 335, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"55893859448f1223089ae52f38efffd56f1649144aa705e0e1f9975a5909a76c"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySettingsSidebar.CompanySettingsSidebar (cognitive 20): CompanySettingsSidebar.CompanySettingsSidebar has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, ternaries 3 (4 pts), if/else 1 (2 pts), error handling 1 (nesting depth added 2). Of this number, 13 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":"ui/src/components/CompanySettingsSidebar.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfa23d919526d3d89c4b69749645fdb2ac180d9e72a11a90b7f04355128c6c2"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileBottomNav.MobileBottomNav (cognitive 20): MobileBottomNav.MobileBottomNav has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 3, if/else 1 (nesting depth added 8). 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 59, 110, 147, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MobileBottomNav.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0d549fd880d890831d9646a3c30594e9ab1d394f2f3733bb145e0831655eda"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionCredentialStep.ApiKeyConnectionStep (cognitive 20): AiConnectionCredentialStep.ApiKeyConnectionStep has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (8 pts), if/else 1 (nesting depth added 1). Of this number, 16 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":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56a94d9b022506291551592219b7460d1a0fe038fb560419052fc709e8bf17d"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyInbox.FailedRunInboxRow (cognitive 20): LegacyInbox.FailedRunInboxRow has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c43717052e0e416d76fd64174a860797b3eb64e2bac4224798d935d53b03e85"}},{"ruleId":"D2","level":"warning","message":{"text":"query-invalidation-batcher.removeCoveredFilters (cognitive 20): query-invalidation-batcher.removeCoveredFilters has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (8 pts), loops 2, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 174, isScalar, 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":"ui/src/lib/query-invalidation-batcher.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3472f900e9919c76b0409bb2e7c71934aafc3e3eafd92927240040ce8bb0d29"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-draft.loadDraftSubmission (cognitive 20): composer-draft.loadDraftSubmission has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (9 pts), error handling 1, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bbde169aab48a0471dc3a95f54b9369deeb297f592925b07ee5b38ca85d3fe"}},{"ruleId":"D2","level":"warning","message":{"text":"adjacent-errors.compactAdjacentErrors (cognitive 20): adjacent-errors.compactAdjacentErrors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/adjacent-errors.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7742fe376801f750c3753d5098d01d6472caa8ef4f8f71bf7c1f642a75a2123a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolCard.WorkspaceChangeFileRow (cognitive 20): TaskChatProtocolCard.WorkspaceChangeFileRow has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 4 (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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd19bed144029ca038627b78d5a6fe3924b2d0a051511c5365031a87a459e97a"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueThreadInteractionCard.RequestCheckboxConfirmationResolution (cognitive 20): IssueThreadInteractionCard.RequestCheckboxConfirmationResolution has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3311}}}],"partialFingerprints":{"codehealthFindingId/v1":"18492453ad908849678e2308832aba025398eb477d03876d0e09579eebc3ba33"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatThread.acceptedSemanticResultVerificationCaveats (cognitive 20): TaskChatThread.acceptedSemanticResultVerificationCaveats has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5 (7 pts), boolean chains 4 (nesting depth added 4). 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 literals inside it that branch (lines 419, 396). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"747ae1abfd11dc7c0dbfc6d24641f7f5215e17871145936343d2d7beb320e4fd"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueMonitorBanner.buildMonitorSurfaceCopy (cognitive 20): IssueMonitorBanner.buildMonitorSurfaceCopy has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 6, if/else 6, 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":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba49c195ff22f8f98ea9ab6f6da8aac4c4fd10bc8c43a607b29ae2b8aece4b4"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerInspector.buildOperations (cognitive 20): RunnerInspector.buildOperations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 5 (6 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"628df26e70fd006a68163388d11c20fb357a8d80bf5932a7b7afafc4e6b49b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-events.runtimeRequestEntry (cognitive 20): native-run-events.runtimeRequestEntry has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, boolean chains 8, if/else 1. Of this number, 16 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce9eb363fc511b1a77bd46d6df36093673bd1b9e4571575e79332ac0dad1184"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-events.runResultEntry (cognitive 20): native-run-events.runResultEntry has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 3 (nesting depth added 4). 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 337, 358, 346). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a406c77a4430b0f801caea0896137d698e63a1ecc228ae98bcbd42a2868baa"}},{"ruleId":"D2","level":"warning","message":{"text":"AllowedProjectsEditor.AllowedProjectsEditor (cognitive 20): AllowedProjectsEditor.AllowedProjectsEditor has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, ternaries 3 (5 pts), error handling 1, if/else 1 (nesting depth added 2). Of this number, 13 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":"ui/src/components/AllowedProjectsEditor.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b6291a585cbca438ea990d8084c8e1a10858cf67557648fe58f7934cd72ce4"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.summarizeToolInput (cognitive 20): RunTranscriptView.summarizeToolInput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 5 (8 pts), boolean chains 3 (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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d243ef78664de0cadbfa94e02396fbb0d1fe9fcc052bcd001e7c958e81558810"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspaces.Workspaces (cognitive 20): Workspaces.Workspaces has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 5, boolean chains 4 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Workspaces.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac2a5bf104711a80dad472f358862c6e13d698c57c31e4633c497b43faa6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.SearchTabContent (cognitive 20): Search.SearchTabContent has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 6 (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":"ui/src/pages/Search.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d13525b952be87f96d3a3dfe4b597fd5cf0116a48aa5160fc214986250e57b3"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionCloseMenu.AttentionCloseMenu (cognitive 20): AttentionCloseMenu.AttentionCloseMenu has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 3, ternaries 3. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2720ab8c664d2d776aa1bd5ba9b6e64a7c9fa86c049676a62b2f856cb5ef562"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionQueuePage.DecisionQueuePage (cognitive 20): DecisionQueuePage.DecisionQueuePage has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 4 (5 pts), loops 1 (nesting depth added 1). 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, 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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd6c8115247e5f50adafc3bddfae8dbb05ad74abf5a1c6e41122bc2b3581dae"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyEnvironments.buildEnvironmentPayload (cognitive 20): CompanyEnvironments.buildEnvironmentPayload has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (14 pts), boolean chains 6 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adf766080c597a14585a1f7b5488f774744f5fdc3779486a47fa31640d2a99a"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailEndpointSetup.readEmailSetupDraft (cognitive 20): EmailEndpointSetup.readEmailSetupDraft has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e805b0a4bf94c7d92d7f6730e9e18b2b5fd96630c129cea0e9e77d282850b108"}},{"ruleId":"D2","level":"warning","message":{"text":"ProposalsTab.ProposalsTab (cognitive 20): ProposalsTab.ProposalsTab has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 6, if/else 4 (nesting depth added 4). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6120e23492bbb1e0bdbda8e86d0d3c6138974d25b531a5de628db5b556ed85"}},{"ruleId":"D2","level":"warning","message":{"text":"Secrets.Secrets::renderRowActions (cognitive 20): Secrets.Secrets::renderRowActions has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (20 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 (Secrets.Secrets) 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0a8ba4696b154eb729fd538373d60dbb190873fc7e33ca78ecbd79ad8109b2"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentSetup.Setup::runTest (cognitive 20): NewAgentSetup.Setup::runTest has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"1844ca368fc597b49135610337b424ba2447e29ad43b7cb2e442898e51b5ac7f"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyExport.generateReadmeFromSelection (cognitive 20): CompanyExport.generateReadmeFromSelection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"772600d7d07d28aad46feaa9af9ba5eac42c649c7bce8c7a4e239f138969a01f"}},{"ruleId":"D2","level":"warning","message":{"text":"gallery-model.stackFaces (cognitive 20): gallery-model.stackFaces has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (5 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 15 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":"ui/src/artifact-directions/directions/d2-tint/gallery-model.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da10d90bafb6a0c689968fe574bce95f86375ddc719ee838746bb9b960fcb63"}},{"ruleId":"D2","level":"warning","message":{"text":"gallery-model.stackFaces (cognitive 20): gallery-model.stackFaces has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (5 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 15 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":"ui/src/artifact-directions/directions/d4-hybrid/gallery-model.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f06f03501178f020a786b3ace46296ff503113a94cd5832f6a9f651439e374"}},{"ruleId":"D2","level":"warning","message":{"text":"SpekoPhoneLine.SpekoPhoneLineForm (cognitive 20): SpekoPhoneLine.SpekoPhoneLineForm has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 15, ternaries 4, if/else 1. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/voice/SpekoPhoneLine.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"235fe010347c107a9927b332bd42984a10998516a96e57b2dcf90191c53c7a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditTab.AuditTab (cognitive 20): AuditTab.AuditTab has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (17 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb766a085ffbb7f76c8d899e6cd0849f18a7d9738f4f0fb35970cca289b6e500"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionPoolConnectorHost.ConnectionPoolConnectorHost (cognitive 20): ConnectionPoolConnectorHost.ConnectionPoolConnectorHost has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 4, if/else 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 26, 31, 29, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/ConnectionPoolConnectorHost.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"385232e15fcdc8b71cae7fb7ba9d91fe5e0c6e6967633294680b9c88e769d1d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerRunSettingsLiveStory.ComposerRunSettingsLiveStory (cognitive 20): ComposerRunSettingsLiveStory.ComposerRunSettingsLiveStory has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 5, if/else 3 (nesting depth added 2). 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 items inside it that branch (a function literal at line 94, a function literal at line 114, send, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/composer-model-picker/ComposerRunSettingsLiveStory.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeee09b66e3405deed094ebca800232cb88c60c05198c4bc6a30a3af1bbfaf1"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.prepared_consume (cognitive 20): Client.prepared_consume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, 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":"server/src/services/scripts/v7/client.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"09269767775b377723a86262af0870a7deefb50930d0ca792a868c04a4acd252"}},{"ruleId":"D2","level":"warning","message":{"text":"client.input_response_valid (cognitive 20): client.input_response_valid has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, 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":"server/src/services/scripts/v7/client.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed7f5bf4953f69fb5ea196e4766ba5c0efa8564709f4f2f6f6406a13508f4a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.prepared_consume (cognitive 20): Client.prepared_consume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, 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":"server/src/services/scripts/v8/client.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d9a4fb4097e6d5d49eb6eca52b50c12efa672b49b517083e3c7c9ecb7d6b44"}},{"ruleId":"D2","level":"warning","message":{"text":"client.input_response_valid (cognitive 20): client.input_response_valid has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, 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":"server/src/services/scripts/v8/client.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77a1166395dbc8a7476b16dd64b5e84aa30a9ac6242f873100231722ffe7671"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.prepared_consume (cognitive 20): Client.prepared_consume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, 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":"server/src/services/scripts/v9/client.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a9884b79aa62c0bfaf59407b3bef0125f8a7fdf9e42f53accbc5cc26dd3ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"client.input_response_valid (cognitive 20): client.input_response_valid has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, 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":"server/src/services/scripts/v9/client.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c4b2f78366ad96227dadfae08dc70602adffadf5c2998dca9d9af3b7206979"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderToolBridge::begin_call (cognitive 20): ProviderToolBridge::begin_call has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (18 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/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccdf157711a68f8db0d2df867e275902b6461f85bf74393f9e93a3c13a9f9ed"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::acpx_provider_backend::runtime_context_session_identity (cognitive 20): paperclip_runner_core::acpx_provider_backend::runtime_context_session_identity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ada6ff3c9aa987989c3367571e97809b2a0c6c0b432a922af209103206309d"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::aws_agentcore_provider::normalize_stream_event (cognitive 20): paperclip_runner_core::aws_agentcore_provider::normalize_stream_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 3 (6 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"830ec32a7704bec352d188cc6c9dc19a6d48f7611b30de8468df07ff10c9de9a"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets-check.secretsCheck (cognitive 19): secrets-check.secretsCheck has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5 (6 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe937b507c7769da2dede9d6fd625d57676fb684cfe610533aef825adc8021ab"}},{"ruleId":"D2","level":"warning","message":{"text":"run.registerRunCommands (cognitive 19): run.registerRunCommands has cognitive complexity 19 (threshold 15). Drivers by points: error handling 10, if/else 8, loops 1. None of this is in the body itself: all 19 points belong to 10 function literals inside it that branch (lines 136, 54, 79, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/run.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb8ba1d942384f79cc620c576d94d4dec7d82dfdfa695efe58e20bad5c00bf2"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-checkpoint.checkpointMain::walk::capture (cognitive 19): workspace-checkpoint.checkpointMain::walk::capture has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 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. This shape REPEATS in the file: one other method here (workspace-checkpoint.checkpointMain::walk) 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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"256452659818f64880753428f1e36bb0c6c8face8f96aaca086b9700866a6b04"}},{"ruleId":"D2","level":"warning","message":{"text":"http2-bridge-server.parseCanonicalBridgeRequestPath (cognitive 19): http2-bridge-server.parseCanonicalBridgeRequestPath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, error handling 2 (3 pts), loops 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a51d6d2e539d76e81d5ad89e99cef3dcd07b3b9e7e7481ba927dc68e6eebcd"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-managed-runtime.copySelectedWorkspaceEntries (cognitive 19): sandbox-managed-runtime.copySelectedWorkspaceEntries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (assertParentDirectory, assertSourceRoot). 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"210eb67de4b99e0d6ca3c6c56e6eb44f3cf977b1507bb4c0736647a6310de4e2"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.buildPrompt (cognitive 19): execute.buildPrompt has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 4, error handling 1 (2 pts), if/else 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"455c366574e2297a595a8687454ea040fc6ed35a27c4176d6d6572869584d9de"}},{"ruleId":"D2","level":"warning","message":{"text":"env-bindings.parseEnvBindings (cognitive 19): env-bindings.parseEnvBindings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3df85b1000a6a97b37e73275d81207a8d5b8595579461cf870534d73e595f0"}},{"ruleId":"D2","level":"warning","message":{"text":"acp.prepareClaudeRemoteManagedHome (cognitive 19): acp.prepareClaudeRemoteManagedHome has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 6 (7 pts), if/else 4 (5 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cac8d7654bcd31c3972b81077f67f2bc3857e68a8110821fd888b9a9a755a76"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.execute::runAttempt (cognitive 19): execute.execute::runAttempt has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9, if/else 7, 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. This shape REPEATS in the file: 2 other methods here (execute.execute, execute.execute::toResult) 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c00b7a1f2205f4b276677c4f23343f440c18528878384ef1fa6c1951d4138c0"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printLegacyToolEvent (cognitive 19): format-event.printLegacyToolEvent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6a54e332758eec148e5a065063b09df5c3c5a74b49b5bb758dfabf96573cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printGrokStreamEvent (cognitive 19): format-event.printGrokStreamEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (7 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/cli/format-event.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72a026a63da0be3a83ae18b5ffda56a188275b09c2c949e8959e0ff25e75d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"migration-compatibility.parseMigrationCompatOverride (cognitive 19): migration-compatibility.parseMigrationCompatOverride has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, 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/db/src/migration-compatibility.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa363cd2258fde55e3e502a2d934878689eb404bbcad1432dc29a586940777"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.createAcpxToolEventNormalizer.\u003Creturned closure\u003E (cognitive 19): provider-events.createAcpxToolEventNormalizer.\u003Creturned closure\u003E has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 6, boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5ce7f3436f868ef8b8494cc685df6a102296eb16285a39151bd388cb0a7efb"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-observability.redactObservabilityDiagnostic (cognitive 19): agent-observability.redactObservabilityDiagnostic has cognitive complexity 19 (threshold 15). Drivers by points: loops 7 (9 pts), error handling 2 (6 pts), if/else 2 (4 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/agent-observability.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82a2493928dd35905aeab67e2c253f0dd114b277ef83252365ce7a61992b74d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-startup-trust.editTrust (cognitive 19): codex-startup-trust.editTrust has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (8 pts), error handling 1 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-startup-trust.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"243adc94734c2566d81b463c32a144382bbccad4afb8e9807fbd06d6d343c339"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery-identity.createAcpxRecoveryBinding (cognitive 19): recovery-identity.createAcpxRecoveryBinding has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13, if/else 4, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a48dd591358cecf85ecc08456ee79b58450ac7350d06217ad6c33d674f3947f"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-prp-control-plane.checkpointState (cognitive 19): durable-prp-control-plane.checkpointState has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 3 (nesting depth added 1). 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: 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"90608e68ec2464e181579099d9f7823cb8e6443ebdbff134330c8ea7f3e849fb"}},{"ruleId":"D2","level":"warning","message":{"text":"DevtoolsInspector.EvalReportInspector (cognitive 19): DevtoolsInspector.EvalReportInspector has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef0064adde7eb0fd462e8391c4766054f9ec263f5068d74f322b2c88e7aa81"}},{"ruleId":"D2","level":"warning","message":{"text":"native-distribution-integrity.readNativeAcpxDistributionEntries (cognitive 19): native-distribution-integrity.readNativeAcpxDistributionEntries has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda733c71d5c707b7e8a21af3dfa92c59549e266739f6e56679818a12d8adba"}},{"ruleId":"D2","level":"warning","message":{"text":"cards.slackSelectionMessage (cognitive 19): cards.slackSelectionMessage has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 6 (7 pts), boolean chains 2, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cards.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea90fc15f5a6809cc1ebecb1bea05a597225e6d9135d066a298411fa401e8fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-event.receiveSlackCloudEvent (cognitive 19): cloud-event.receiveSlackCloudEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, 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":"server/src/services/chat-channels/slack/cloud-event.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2fbc0d011b8bb9ec71194f331268331073da64f677b85ee97d792223171ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-connection-failure.classifyRemoteConnectionError (cognitive 19): remote-connection-failure.classifyRemoteConnectionError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 4 (5 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":"server/src/services/remote-connection-failure.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3d2129cfaece72a524e2cd19ffdad199d470d14fe4b3f98c52771ecc4b57ae"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-attachments.validateGitHubAttachmentLocator (cognitive 19): chat-github-attachments.validateGitHubAttachmentLocator has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, ternaries 3 (6 pts), if/else 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1beaee6ea303ee54936d236bf1961e104f5a4b1cb4885986b6a20e7f3582458"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-sdk-runtime.paperclipAuthoritativeIngressState (cognitive 19): chat-sdk-runtime.paperclipAuthoritativeIngressState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (7 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1797, 1810, 1821, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a88bc8c1e3491e2c8e436e5dc3bb94163b677d92d21e3295b6027e4c30c2641"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-preparation-timing.measureTraced (cognitive 19): execution-preparation-timing.measureTraced has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 5, error handling 2, if/else 2 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 7 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":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d808aab3e7f08ba57822a65df368ebb742faf0704b70e73eb09ad5983f9d3c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-snapshot-archive.remoteWorkspaceFailureDetail (cognitive 19): remote-workspace-snapshot-archive.remoteWorkspaceFailureDetail has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 9, 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd2a37cddc3512c289e3a166373d7bf64ddd66aa3fa5ec7cd2dfe2d5e55b35"}},{"ruleId":"D2","level":"warning","message":{"text":"native-source-recovery-ownership.assertNativeSourceCheckpointConsumer (cognitive 19): native-source-recovery-ownership.assertNativeSourceCheckpointConsumer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, 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":"server/src/services/native-runtime/native-source-recovery-ownership.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83008d0a1fb623941252135a8a692e58adbfba7c4538b504b3ba1ec5d63127e"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-execution-policy.normalizeIssueExecutionPolicy (cognitive 19): issue-execution-policy.normalizeIssueExecutionPolicy has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 5 (6 pts), boolean chains 1, loops 1 (nesting depth added 2). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2869ce7783b575125ebf059b46aa4cfbad50774e7b5f5a7c1cfd4943e178221d"}},{"ruleId":"D2","level":"warning","message":{"text":"network.createTailscaleNetworkManager.connect (cognitive 19): network.createTailscaleNetworkManager.connect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a158fa431d5a6e163d2e6c74f7d25cfdf40eb34b8e8904d26c1e4874ddd8c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.resolveEnvBindings (cognitive 19): secrets.secretService.resolveEnvBindings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":5314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef4aea37fdb04a4f25516647fa48950b1fe638621a37a89b047984206b8bee"}},{"ruleId":"D2","level":"warning","message":{"text":"json-schema-secret-refs.collectSecretRefPaths::walk (cognitive 19): json-schema-secret-refs.collectSecretRefPaths::walk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 3, 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":"server/src/services/json-schema-secret-refs.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"febf6cd2e0760b3d28d707f369a580ff7b14fce790d993fe7c2168c2f0012dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-profile.resolvePaperclipRunnerCursorCloudConfig (cognitive 19): provider-profile.resolvePaperclipRunnerCursorCloudConfig has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 5 (6 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ae501d1a846edb6dbf7c589f731720c551cb72590cd3b58d3775ee8e15cc75"}},{"ruleId":"D2","level":"warning","message":{"text":"storage-unavailable.retryWithin (cognitive 19): storage-unavailable.retryWithin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 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":"server/src/storage/storage-unavailable.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0229e0f1c7ec0bfd83dabc2224049e73f2648f90b9aa24a783854ddfaa15bdfa"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-snapshot.preserveWorkspaceSnapshot (cognitive 19): workspace-recovery-snapshot.preserveWorkspaceSnapshot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (5 pts), loops 2 (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-snapshot.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1afeb7984989f5167e791226459ef852c47bebe8c48f7a06cc5bc13bec9b513"}},{"ruleId":"D2","level":"warning","message":{"text":"run-identity.explicitOperatorRunIdentity (cognitive 19): run-identity.explicitOperatorRunIdentity has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 3 (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":"server/src/services/run-identity.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a87565ab1cfddc29b132e1f7cd77c3262f1cea9c8017eb82a12e92e0a0275a"}},{"ruleId":"D2","level":"warning","message":{"text":"grants.createConnectionGrants.revokeConnectionGrant (cognitive 19): grants.createConnectionGrants.revokeConnectionGrant has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 1 (3 pts), ternaries 2, boolean chains 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f68b0c906f68081e4c38a025099327e66f2900343735e163e93b76eaee5c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"form-session.readSlackFormTerminalRequest (cognitive 19): form-session.readSlackFormTerminalRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b9f25556c8746cfa6b18d90011ae88186a0976368760df71d4c8dce301ddd8"}},{"ruleId":"D2","level":"warning","message":{"text":"form-session.prepareSlackFormProofAcceptance (cognitive 19): form-session.prepareSlackFormProofAcceptance has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e068430a90f7740e8b230d1a9d6d5e572f3118171e63c9ab2b3bce6591bd5e"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-lifecycle.parseTeamsLifecycle (cognitive 19): chat-provider-lifecycle.parseTeamsLifecycle has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6 (8 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dde2cce46342e543d329336e187f4f38ad3d347e47b4acbaabf886ba8d29ac"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.authorizeGuestTask (cognitive 19): voice-session-store.voiceSessionStore.authorizeGuestTask has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e8ca5718127d623883bf9053daf65636874d651d856f6449aba07ef788b6e6"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-policy.parseIssueExecutionWorkspaceSettings (cognitive 19): execution-workspace-policy.parseIssueExecutionWorkspaceSettings has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 4. Of this number, 13 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6904245fa146c81f1e815316b7de347a42f16338e98d7bd691144c0a2a884a"}},{"ruleId":"D2","level":"warning","message":{"text":"repository-object-cache.publishRepositoryObjectCache (cognitive 19): repository-object-cache.publishRepositoryObjectCache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 94). 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":"server/src/services/repository-object-cache.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c5b5811a910686e2255df66d51fa771d7d2c5cc7e380dd538c00499c6c1e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-restoration.gitCacheExpirationLockLocations (cognitive 19): git-workspace-restoration.gitCacheExpirationLockLocations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 8). Of this number, 16 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5ac2638be0c1544be98f9adea7bf8b5ba86bafdc639e397a1ac9805782b5d0"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-repository-rehome.inspectWorktree (cognitive 19): isolated-repository-rehome.inspectWorktree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 3, loops 1 (nesting depth added 1). 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: 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8428c3447423f853ec1f5a5571d1fa88d5ad32799d84ba1e60e5f2e08f1938a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.credential (cognitive 19): ai-connections.aiConnectionService.credential has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"server/src/services/ai-connections.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3033f5d111acee06000ac56e82483b3c6bded0b654931cf5e38564928aed93f8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-archive.restoreNativeHarnessArchive (cognitive 19): native-harness-backup-archive.restoreNativeHarnessArchive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 4). 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 105). 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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6eb086bb0fece2d2e11175d9a84c5cc5e369b4377044dcca87b3fcb4977ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-recovery.resolveNativeControllerRecovery (cognitive 19): native-controller-recovery.resolveNativeControllerRecovery has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dabfe7b0e1e0eb3a05c9ec183e873e45d833bec6dc84ae9dc180db82e067728"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-runtime.skillPackageRuntime.projection (cognitive 19): skill-package-runtime.skillPackageRuntime.projection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-runtime.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"71baa1c9f7f8edfb2893ccf607ec985329c5ee589459e9496472731090650ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.companySkillService.installUpdate (cognitive 19): company-skills.companySkillService.installUpdate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, 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":"server/src/services/company-skills.ts"},"region":{"startLine":4991}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ba39aba17ad636cc966508a8b3e8fb3cedb485a911f55c36154e5c320aea5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-controller-migration.retainedSources (cognitive 19): native-controller-migration.retainedSources has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts), ternaries 1 (2 pts), boolean chains 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"507e97fe955d4e0e556a513f5d70b7402ffe25286d7ef0f932396a1c878211bb"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-instance-cleanup.cleanupWorktreeInstanceArtifacts (cognitive 19): workspace-instance-cleanup.cleanupWorktreeInstanceArtifacts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 4, ternaries 2, error handling 1. Of this number, 16 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":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f97fd31e3645b203f0966fcff19dacc929eca0b76b8bbcc9bd90668c75387a3"}},{"ruleId":"D2","level":"warning","message":{"text":"port-reservation.findExposurePairConflict (cognitive 19): port-reservation.findExposurePairConflict has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc33168e24485da84b18b3a0d7f1c665de872b8a6c662d705d216a89009c1ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.refreshRemoteTrackingBaseRefWithDiagnostic (cognitive 19): workspace-runtime.refreshRemoteTrackingBaseRefWithDiagnostic has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6, boolean chains 3, error handling 1 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add8b6660852db97b412dbb9f957c6119736208945386a00ad1dbddffbbd85b"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime.startRuntimeServicesForWorkspaceControlUnlocked (cognitive 19): workspace-runtime.startRuntimeServicesForWorkspaceControlUnlocked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7985}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be3143689e13cf210ebc67bf6cd7021afd8668d79cbe9cec460c01756be7ef"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver::resolveSandboxProviderPlugin (cognitive 19): environment-runtime.createSandboxEnvironmentDriver::resolveSandboxProviderPlugin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), 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: 3 other methods here (environment-runtime.createSandboxEnvironmentDriver, environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease, environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d853d358a98cd6fb6e2ca7e25bd16dcaf0335356b4cd0f426192948ff8df1a21"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease (cognitive 19): environment-runtime.createSandboxEnvironmentDriver::releasePluginBackedSandboxLease has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 5 (6 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (environment-runtime.createSandboxEnvironmentDriver, environment-runtime.createSandboxEnvironmentDriver::resolveSandboxProviderPlugin, environment-runtime.createSandboxEnvironmentDriver::destroyReusableSandboxLease) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9328456c4f02d6aa1e3158a68f1245e3c8746457767b2533120e97dcf4b7f9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.toolAccessPolicyService.createTrustRuleFromActionRequest (cognitive 19): tool-access-policy.toolAccessPolicyService.createTrustRuleFromActionRequest has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"30479eac6e44d602d0f2aec627ab9be3a2e8a8c8b7d0bf4be5100fd514f45e22"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-tasks.parseMcpTask (cognitive 19): mcp-tasks.parseMcpTask has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, 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":"server/src/services/mcp-tasks.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a51beae96478fcb8f71e464e08fcc0e06e94d6f7d929378178f4792a84137"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-database.pluginDatabaseService.applyMigrations (cognitive 19): plugin-database.pluginDatabaseService.applyMigrations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to one function item inside it that branches (applyWithClient). 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":"server/src/services/plugin-database.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a701ca3ec0713f07a40d0705a001d5994b03bf3be39bcd1192904f189cbc502"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveRunContext (cognitive 19): tool-gateway.createToolGatewayService.resolveRunContext has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b6349361d04628c6a7d3f57196209671920c115e79ffaf1826751384c9e416"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.readHeaderPolicy (cognitive 19): tool-gateway.createToolGatewayService.readHeaderPolicy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 9). 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3839}}}],"partialFingerprints":{"codehealthFindingId/v1":"616d24e439058433ca772d3f27b7982fc8e332ac6ecb770f3a5d1642e90c567e"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.matchingAgentActionRequest (cognitive 19): tool-gateway.createToolGatewayService.matchingAgentActionRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":10606}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c9c77124c2a1bc35c8612640360bc398b4399a3c38f0a3e88933143d368860"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces::expireTaskDirectory (cognitive 19): execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces::expireTaskDirectory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 4 (5 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. This shape REPEATS in the file: one other method here (execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces) 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc62363d091d57dfca8cc41e04f899658b72f3bbaeaa55c3a1c092ac0f12ef67"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-continuation-fallback.recordFreshContinuationCheck (cognitive 19): fresh-continuation-fallback.recordFreshContinuationCheck has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 5, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"94913cbb7cde22df41dcf522af4e05ac9bb130143ee68eb81c4dec31e5a4d7c6"}},{"ruleId":"D2","level":"warning","message":{"text":"run-state.resolveNextSessionState (cognitive 19): run-state.resolveNextSessionState has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (14 pts), if/else 4, 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c42455deb682607c0405eff674647202b4655069a60213c06295b83201ea2a0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-state.createHeartbeatRunState.evaluateSessionCompaction (cognitive 19): run-state.createHeartbeatRunState.evaluateSessionCompaction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d32db3ab8729e3c12545a54b4fec76baaacf8b9c26254af38a2d7ee93ebb0"}},{"ruleId":"D2","level":"warning","message":{"text":"stranded-notice.buildStrandedRecoveryEscalationNotice (cognitive 19): stranded-notice.buildStrandedRecoveryEscalationNotice has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 3 (5 pts), boolean chains 4 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/stranded-notice.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa9ddbb08b7cb5363ad3681713699412eb264189043a0f6dfe9a20eb4ee13eb"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recoveryService.resumeShutdownStoppedRetryPreparations (cognitive 19): service.recoveryService.resumeShutdownStoppedRetryPreparations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":4692}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4f2c4c4114ef9191ca1496597732549c211da423111bd331700a64598ff766"}},{"ruleId":"D2","level":"warning","message":{"text":"retries.createHeartbeatRetries.retryScheduledRetryNow (cognitive 19): retries.createHeartbeatRetries.retryScheduledRetryNow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 3 (4 pts), boolean chains 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c2b31d9daa7586cbea05d0cdbfece866b372450f549dd311299e9614f5b54c"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-recovery-resolution.markExecutionReconciliation (cognitive 19): execution-recovery-resolution.markExecutionReconciliation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"be37cf0863d6a5ee5b11f8d307822d698cb0f69d83eb435b6e4ed8a03e87c5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.queueSend (cognitive 19): email-channels.emailChannelService.queueSend has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 4). Of this number, 11 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":"server/src/services/email-channels.ts"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c458ab26b0bdf7eaa334866dda8f518afb3f7fd373c399bf70a2acd313c0f7"}},{"ruleId":"D2","level":"warning","message":{"text":"budget-enforcement-worker.registerBudgetEnforcementWork (cognitive 19): budget-enforcement-worker.registerBudgetEnforcementWork has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 6 (8 pts), boolean chains 3 (nesting depth added 3). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-enforcement-worker.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fa0df681ac0a6c1231a80f2b1a07718c2d156d627bf6081511cfa44cd38e81"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.buildTransaction.findNextDeferredWake (cognitive 19): postgres.buildTransaction.findNextDeferredWake has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 3 (6 pts), boolean chains 3, 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ddacc2573f5e0d5b2ffab2fb623dc79d0ac44ea5c06079f365fa33593e8751"}},{"ruleId":"D2","level":"warning","message":{"text":"native-observed-workspace-preservation.lockSource (cognitive 19): native-observed-workspace-preservation.lockSource has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 7, 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":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5f23e17a0532e012fc4498f76fecbac8a96a0ce9c35a530e34e77005d393f0"}},{"ruleId":"D2","level":"warning","message":{"text":"case-context.caseWakeWithInstructionReference (cognitive 19): case-context.caseWakeWithInstructionReference has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 7, if/else 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-context.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca210ffb211fbbb73d676d52395a41b079fccd61790b90067b8aa20a1742d99c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context.rehydratePinnedInstructionAsset (cognitive 19): runtime-context.rehydratePinnedInstructionAsset has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"648951865aee8d20fc0fcfc1b618f7c3bb44e0a5cfa832b7cb72e228e93e46e8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-finalization-reconciler.applyOwnershipReportBackstops (cognitive 19): native-finalization-reconciler.applyOwnershipReportBackstops has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 4 (6 pts), loops 3, boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b25a1cdd6ae0d66c537594e7b02af8267db76960d518bd7faa7b2aa4b5275f4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-lifecycle.createHeartbeatLifecycle.writeRunStatus (cognitive 19): run-lifecycle.createHeartbeatLifecycle.writeRunStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 1. None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 1110). 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964cf895f1a012a26cc7771e86af3fbcd116f5b20a2cb96981d2be373c82744"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-policy-bootstrap.parseExecutionPolicyBootstrapEnv (cognitive 19): execution-policy-bootstrap.parseExecutionPolicyBootstrapEnv has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 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":"server/src/services/execution-policy-bootstrap.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef23e36b45e464471d5767227d20db702233dbb996a82ee9c710e8cda1b0cb54"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-workspace-seed.materializeFreshWorkspaceSeed (cognitive 19): fresh-workspace-seed.materializeFreshWorkspaceSeed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-seed.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11577f170d3c773c043d286f6097af89d3529a6c69c6ba561ca698c2a5a4586"}},{"ruleId":"D2","level":"warning","message":{"text":"native-usage-accounting.createNativeTurnAccounting.snapshot (cognitive 19): native-usage-accounting.createNativeTurnAccounting.snapshot has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 6, if/else 3 (4 pts), 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":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6236addb22b8d373756d783de65de3cf0e18b142bcd121bb54a9ed5b1f4db2"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat.heartbeatService (cognitive 19): heartbeat.heartbeatService has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 3. Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 1047, 1341, 1313, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f52b67cfe4a072fc0917a0e6db7b06bd841c1c8c73a90a76700b2aec180565"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createChatInboundAuthority.lockCurrentPrincipalAuthorization (cognitive 19): authorization.createChatInboundAuthority.lockCurrentPrincipalAuthorization has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9028fac9b5957a78ddc57d5c4d2a4f23d8904710710cc048690cbdc599038cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-effects.providerEffectPayload (cognitive 19): provider-effects.providerEffectPayload has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"258b894b970a08cec436c0dc6c290e27e0dfd7904b3915d0746291c12e7fb5af"}},{"ruleId":"D2","level":"warning","message":{"text":"task-start.createSlackTaskStart.finalizeSlackTaskStartFailure (cognitive 19): task-start.createSlackTaskStart.finalizeSlackTaskStartFailure has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, if/else 4 (nesting depth added 2). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 237). 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a22f39e7703d17874243f0688d8656546bd2c7c90917ae706d719848f25e16"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.createDiscordCommands.reconcileDiscordCommands (cognitive 19): commands.createDiscordCommands.reconcileDiscordCommands has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 2, error handling 1. 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 (reconcile, reconcile::authorize, reconcile::setCapability, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2e586872124c61707b77bcb626e979ff5027357224b817192041656573893"}},{"ruleId":"D2","level":"warning","message":{"text":"webhook-recovery-schedule.githubWebhookRecoverySchedule.load (cognitive 19): webhook-recovery-schedule.githubWebhookRecoverySchedule.load has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 2 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-recovery-schedule.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c5976a4fcb094843540cd320020f8607d4ea3cb261494f8e8827ae6b0764dd"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-file-transfers.teamsFileTransferService.process (cognitive 19): chat-teams-file-transfers.teamsFileTransferService.process has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, error handling 1 (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 one function literal inside it that branches (line 804). 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8ca33a3b9d59215c341d1e709fa42e79dc9afb5041a2536126a188a5680788"}},{"ruleId":"D2","level":"warning","message":{"text":"file-transfer-authority.createTeamsFileAuthority.teamsFileCurrentScope (cognitive 19): file-transfer-authority.createTeamsFileAuthority.teamsFileCurrentScope has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 9, 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb14a9bf562fc56de0501d150f3e9b02c9eb3b2cae964b0a2a694592e435567"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-links.teamsConversationLink (cognitive 19): chat-provider-links.teamsConversationLink has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 9, 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1cf40aa74f0f1616f8351ceb21a424c02e089557b381c7d5ba4f103018f49c"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.microsoftTeamsLifecycleEventFromPayload (cognitive 19): messages.microsoftTeamsLifecycleEventFromPayload has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 7, if/else 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":"server/src/services/chat-channels/microsoft-teams/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e63be31e939bc9ef8458a404391fe76c96ef9cade24763baade4c3702ddcbf"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-channels.chatChannelService.processPendingDeliveries (cognitive 19): chat-channels.chatChannelService.processPendingDeliveries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (4 pts), boolean chains 2, 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":"server/src/services/chat-channels.ts"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dde5a8a95069947c6ec9f0b72ab0324b0d121d15cc6ccf0975f4dac3b72347"}},{"ruleId":"D2","level":"warning","message":{"text":"default-access.createCatalogDefaultAccess.upsertAskFirstPolicies (cognitive 19): default-access.createCatalogDefaultAccess.upsertAskFirstPolicies has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (5 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d38b709e51364f17c03bb6bced93ceb4b09708185321421562e25446da6afc5"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-accounts.createAggregatorAccounts.openComposioGateway.checkBatch (cognitive 19): aggregator-accounts.createAggregatorAccounts.openComposioGateway.checkBatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"69718e599bb1a6687fa5c304fb5fb90c38cbeca9f2cb887cecd8a2a7496814f6"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createToolProfileService.updateProfile (cognitive 19): service.createToolProfileService.updateProfile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). Of this number, 10 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":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a08d2b99435ca24e45383e4a0a11f94476ff3f7cc811e2b434cd304b09054b"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-transport.command (cognitive 19): remote-workspace-transport.command has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 6, if/else 3 (4 pts) (nesting depth added 5). 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc0f6e72b036e2ca330e39374acadb424467811270874b4cc347336495b2218"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoffs.caseHandoffService.apply (cognitive 19): case-handoffs.caseHandoffService.apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoffs.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73445a6853e5aacf769cbee1e3047e87038e1400cff317d6ae6bbc86d42693f"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#assertDotApiFileAccess (cognitive 19): PaperclipRunnerToolAuthority.#assertDotApiFileAccess has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da85806a89d0fe2ce025983a1f2b670b149b7be931e6a1f26736e0b228063a6"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#withMutationReceipt::mutate (cognitive 19): PaperclipRunnerToolAuthority.#withMutationReceipt::mutate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"def7553136d18b779533cbe5a0d26060c81d3e4edeeafabe4701293de80b33f5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.resolveNativeHarnessPersistenceProfile (cognitive 19): native-session-executor.resolveNativeHarnessPersistenceProfile has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (18 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22fb1865164da1abf679a597721ae9851525a916449d6d9a6fc009411469778"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.providerSessionIdentityFromDurableProviderState (cognitive 19): native-session-executor.providerSessionIdentityFromDurableProviderState has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (6 pts), ternaries 2 (5 pts), match/switch 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8fbc232c2eecd43a1f39fb8e1997e5e0fedf2226900a24fdb0e48ead561246"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.executePaperclipNativeSessionAttempt::observeAccountingEvent (cognitive 19): native-session-executor.executePaperclipNativeSessionAttempt::observeAccountingEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (native-session-executor.executePaperclipNativeSessionAttempt, native-session-executor.executePaperclipNativeSessionAttempt::persistAccountingUsage) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6c200afdd3531f28c385669c1557669a78f666d4f67cbe8dab688ab31f510e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.assertSafeExtractedCheckpoint (cognitive 19): native-session-executor.assertSafeExtractedCheckpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14779}}}],"partialFingerprints":{"codehealthFindingId/v1":"828859779b661a9e493f3e3ee37af59cd570fbf524522c83123d704f994bab44"}},{"ruleId":"D2","level":"warning","message":{"text":"work-intent-outbox.saveUndeliveredUserComments (cognitive 19): work-intent-outbox.saveUndeliveredUserComments has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 5, boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 132, 155). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-intent-outbox.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a2eaa7ba9cb336556de11b42a46ec2c12e002f077f2f39a4af03d5efcce9f8"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-task-source-recovery.assertSourceIdentity (cognitive 19): plugin-task-source-recovery.assertSourceIdentity has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 4). 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 194). 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"997005c640c3f9515b0f0975a087a847dfbf9bd31dd6c9cd54939fd9c3a12db3"}},{"ruleId":"D2","level":"warning","message":{"text":"access.accessService.updateMember (cognitive 19): access.accessService.updateMember has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (7 pts), ternaries 2 (3 pts) (nesting depth added 2). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 1146). 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":"server/src/services/access.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"377b1965968956fbc322f2f7c1c0202204cbbb6215585dc0c078354d471eff0e"}},{"ruleId":"D2","level":"warning","message":{"text":"muse-oauth-diagnostics.recordMuseCodeRejection (cognitive 19): muse-oauth-diagnostics.recordMuseCodeRejection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, ternaries 2, error handling 1, loops 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/muse-oauth-diagnostics.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbce471e4f3e44546382aa2a6a156733a82f4dfb3c1f39e50418d15b640ce62d"}},{"ruleId":"D2","level":"warning","message":{"text":"routine.grokRoutineService.send (cognitive 19): routine.grokRoutineService.send has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 170, handoff, a function literal at line 222). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e46c65abe0edb71bb7b0ba9c004e71cb45edbed13ca3ff06a8ffb14ab77a3"}},{"ruleId":"D2","level":"warning","message":{"text":"dot.createDotRunnerMcpTools.callTool (cognitive 19): dot.createDotRunnerMcpTools.callTool has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac7f3be8515deede7964445b455543dc6c2cc3df54c557fc6235a4a3b1a261f"}},{"ruleId":"D2","level":"warning","message":{"text":"revocation-index-contract.parseMcpRevocationIndexRequest (cognitive 19): revocation-index-contract.parseMcpRevocationIndexRequest has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 3 (6 pts), if/else 5 (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":"server/src/services/public-mcp/revocation-index-contract.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e781d6ab6fffc3e4470dc6eec2a3c4af61ab0cfa3a8ea23239362798bb0735"}},{"ruleId":"D2","level":"warning","message":{"text":"native-inherited-runner-retry.retireInheritedRemoteRunnerIdentity (cognitive 19): native-inherited-runner-retry.retireInheritedRemoteRunnerIdentity has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 7, ternaries 2. None of this is in the body itself: all 19 points belong to 2 function literals inside it that branch (lines 115, 179). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-inherited-runner-retry.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e610231dba1affd2ce4e10c6cb51f5da37fe03c79b65605e80db03f51fe538e5"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspaces.retireQuiescedSaves (cognitive 19): remote-workspaces.retireQuiescedSaves has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 8, 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a6b86801bb3ad886140059d592317d33a3783b080fc19f3c979d531b53f4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-native-usage.createCursorNativeUsage.begin (cognitive 19): cursor-native-usage.createCursorNativeUsage.begin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/scripts/cursor-native-usage.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4ecc635a8a3c26cc5f85b9d2866f1b62a5e54bd960d2d83dac3503d41cac71"}},{"ruleId":"D2","level":"warning","message":{"text":"discover-copilot-acp.createDiscoveryRpc (cognitive 19): discover-copilot-acp.createDiscoveryRpc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 41). 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/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"681683735b143b9283fd26af6374d51be419efd652fcbf2b4d642380350f9bee"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-contract.assertAcpxPropertyValue (cognitive 19): protocol-contract.assertAcpxPropertyValue 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":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"575a05ecbaa9d305bd5434d252606f6c92fc716bcf804177abede3b8f879301f"}},{"ruleId":"D2","level":"warning","message":{"text":"provision-kimi.provisionKimi (cognitive 19): provision-kimi.provisionKimi has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, loops 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a0916cd4509c4c79bf3d3e3c7627c481bbce9f60f5bff17e5db4cb9d71e471"}},{"ruleId":"D2","level":"warning","message":{"text":"provision-pi.provisionPi (cognitive 19): provision-pi.provisionPi has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, loops 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/provision-pi.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f69e33929c9dfdeb02da92f7de06fc3e7aba9725b03a91cdc821cd71b09f867"}},{"ruleId":"D2","level":"warning","message":{"text":"qualify-copilot-acp.evaluateProbe (cognitive 19): qualify-copilot-acp.evaluateProbe has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a81ecd39872f7f8e8a06f2df748826b8bf757eae3c25b28731494c3cda85c4"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-protocol-eval-campaign.credentialForConfig (cognitive 19): runner-protocol-eval-campaign.credentialForConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 1 (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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"41478c370fde1346381e075cb2ed86239ff31188238f0268b0cd7919febc321d"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-message-projection.createPiMessageProjection.normalize (cognitive 19): pi-message-projection.createPiMessageProjection.normalize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-message-projection.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ebe537a59e08d8454e454f35c6e6db92c2c9d3634487ccd438202b5022d2cb"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-message-boundary.createKimiMessageProjection.normalize (cognitive 19): kimi-message-boundary.createKimiMessageProjection.normalize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 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/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3a95b70aa1c3589357694edc2bfd7bc71b6b1ca27df49918733ddc9bb0b577"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-failure.acpxProviderFailure (cognitive 19): provider-failure.acpxProviderFailure has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 4, if/else 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/provider-failure.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"863ff69ef3f4710a0dc161e2440e603ecab61714a61ca5b2661dbd988df4f2c6"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeAdmissionCleanup.#retryRetained (cognitive 19): RuntimeAdmissionCleanup.#retryRetained has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd07e0abc7396dbda8a628bb52121a8689ed93d5b0bea5c9d13eb5ee8a6976d"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-adapter.runtimePort::closeRuntime (cognitive 19): acpx-runtime-adapter.runtimePort::closeRuntime has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, 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. This shape REPEATS in the file: one other method here (acpx-runtime-adapter.runtimePort) 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7bb07a42a7b85ee920805bae1b595e4e1bcb0762502ea76096b8a139461344"}},{"ruleId":"D2","level":"warning","message":{"text":"harness-driver-backend.jsonStringBytes (cognitive 19): harness-driver-backend.jsonStringBytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d087f70d6846ed7ed9dca52c0ce3f4b79a65ece27da36b8198f256971320508"}},{"ruleId":"D2","level":"warning","message":{"text":"copilot-metadata-probe.createMetadataRpc (cognitive 19): copilot-metadata-probe.createMetadataRpc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 9). None of this is in the body itself: all 19 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/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bfc1c8143a20fd488057e8892ecd4795343a137a770748dd5b10a0e8b4b627"}},{"ruleId":"D2","level":"warning","message":{"text":"live-projection.interactionPayload (cognitive 19): live-projection.interactionPayload has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 9). Of this number, 11 points are the body\u0027s own statements and 8 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":"packages/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54e0afb91e82130e4a3bb8aaa29b364f5a7f032eb7a94cfdfdd1b6bf7fe329a"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-session.boundedEvalSessionUsage (cognitive 19): eval-session.boundedEvalSessionUsage has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 2. Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4216977ac5deac92bb8b8b3185a15d1e8a08fe91343fab830445543875e0f9d0"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-acp-runtime.createPiLaunchSpec (cognitive 19): pi-acp-runtime.createPiLaunchSpec has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, ternaries 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9fbcd8dacf92c203a9104f3d6c4ed8227923350e3693abf1b72de32032ca95"}},{"ruleId":"D2","level":"warning","message":{"text":"pi-runtime-extension.piMcpToolError (cognitive 19): pi-runtime-extension.piMcpToolError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"000bc3a8fe50d4033923622e5fb3dd6e2cc480f48ac644ab1ef7adc259b01945"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.startQuarantinedSessionCleanupRecovery (cognitive 19): native-session-runtime.startQuarantinedSessionCleanupRecovery has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). 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 948, 987). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83ad6434411714fdc7f428ee25c61e3c937c642dbca8993851c3ad14e88ee43"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.decidePaperclipSemanticAuthorization (cognitive 19): authorization.decidePaperclipSemanticAuthorization has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5 (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/paperclip-runner/src/semantic-tools/authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac90c4c830444b147f1d4bf3e298c09a606880c120bc804443e32b1421a0ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.withSandboxActivityGate (cognitive 19): plugin.withSandboxActivityGate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a50d4cebe77a50551467bddb4c7b9dff5d1ba3d1f9b7d0eca419ebe10329201"}},{"ruleId":"D2","level":"warning","message":{"text":"env-file.trailingEnvCommentStart (cognitive 19): env-file.trailingEnvCommentStart has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/env-file.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0a8a5bf8ea61c8947adc049cf4a3f8e9497b1bc629ab2cbe4266882021792e"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.collectReferencedSkillFiles (cognitive 19): catalog-builder.collectReferencedSkillFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2, ternaries 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"39199af661b1995d4ac46e687a5d006c22f9100b257acc4b4b7b23fe3377a83a"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol.decodeRequest (cognitive 19): protocol.decodeRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 6, 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/tailscale-https-broker/src/protocol.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed676a0d3e3b4d80d1486520540ec74da9b339ed810ed32eea00c1e6a8352584"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.enrichAttentionItems (cognitive 19): attention.enrichAttentionItems has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (13 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 3). 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 literals inside it that branch (lines 713, 741). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6eb9c050bbdff1e22c2bc5cd8709e51db800a5df5722e38ade2d0549724e8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireDurableBackups (cognitive 19): native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireDurableBackups has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e2a37e3ee6fdd2bb213c3c21606db4b85e5da59f582a78436708a424f204a"}},{"ruleId":"D2","level":"warning","message":{"text":"local-ai-login.localAiLoginService.check (cognitive 19): local-ai-login.localAiLoginService.check has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 4, if/else 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":"server/src/services/local-ai-login.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d987683cc457f8b4a8ec782b0541c349d13b0624cda25aea3cebe042ffea8"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.buildClaudeTraceFiles (cognitive 19): feedback.buildClaudeTraceFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6, loops 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":"server/src/services/feedback.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd70931e7d843e256dcaf69508431ed2515eae934ee3afcbc8a8c2f1623f2902"}},{"ruleId":"D2","level":"warning","message":{"text":"decisions.decisionService.snapshots (cognitive 19): decisions.decisionService.snapshots has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b86daf4f292e55f9b7927b9452e1035ad5d83f3470fa494ae94b9692638bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.reflectProposalLifecycleOnInteraction (cognitive 19): secret-proposals.createSecretProposalsService.reflectProposalLifecycleOnInteraction has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 4, 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe053d04c9932fc2d9b94b31473f2d9ac035ec393e5376a1e4baf2c08a7e853"}},{"ruleId":"D2","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.approve (cognitive 19): secret-proposals.createSecretProposalsService.approve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 758, 797). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secret-proposals.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da01f06233fbb02f29a976767fb6c14f18f05954f4143aa8c30e656818af79"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.deriveSkillExportDirCandidates (cognitive 19): company-portability.deriveSkillExportDirCandidates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (5 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). 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":"server/src/services/company-portability.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"b204a031407b0c32d2b196d768bd05e619676b319d0f1f43f337f7664f9c4b79"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-search-oauth.slackSearchOAuthService.accessToken (cognitive 19): slack-search-oauth.slackSearchOAuthService.accessToken has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 3). None of this is in the body itself: all 19 points belong to 2 function literals inside it that branch (lines 225, 261). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4fe0f4400fe651e9901639ae034599d57b988677ecd41127e9f525944c786b"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-search-oauth.slackSearchOAuthService.complete (cognitive 19): slack-search-oauth.slackSearchOAuthService.complete has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 9 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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"8322501c84b1b8313b3cb0d13c175ce98f8117c1189dd3a6f09e85786d66712d"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skill-policy.companySkillPolicyRoutes (cognitive 19): company-skill-policy.companySkillPolicyRoutes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, error handling 1 (nesting depth added 3). None of this is in the body itself: all 19 points belong to 5 function items inside it that branch (assertCanAdministerPolicy, a function literal at line 16, assertSkillPolicyCompanyAccess, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0258550dc59f07b51e1db20245a96a60524cfd0ee56862f1dbf47473180ff2dc"}},{"ruleId":"D2","level":"warning","message":{"text":"login-environment.resolveLoginEnvironmentTarget (cognitive 19): login-environment.resolveLoginEnvironmentTarget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, 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":"server/src/services/login-environment.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"864f028fc87fe3a1c622f5b9730a2a8ce2e3b03a67133fdb8c74ece5d3d0cf33"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes (cognitive 19): agents.agentRoutes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 647 (871 pts), ternaries 247 (363 pts), boolean chains 324, error handling 32 (55 pts), loops 12 (19 pts), match/switch 2 (nesting depth added 370). To reduce it, split the body into named stages: move each independent 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: 7 other methods here (agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::assertAgentDefaultEnvironmentSelection, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"900fc13ff38929e6683902d9388de1d0884183d2c3f35a8e4500569777fa0355"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.coordinateIssueListGet (cognitive 19): issues.coordinateIssueListGet has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 2 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"124258fc2cda0448c786c9e5539c0cdac520b8beb6c120a3543873075f86b13c"}},{"ruleId":"D2","level":"warning","message":{"text":"github-link-preview.createGitHubLinkPreviewProvider.resolve (cognitive 19): github-link-preview.createGitHubLinkPreviewProvider.resolve has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 2, boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-link-preview.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2956d4aec462e310551a3cce945bc690f2894145baac416bed8bb2f6e208b4"}},{"ruleId":"D2","level":"warning","message":{"text":"announcement-feed.announcementFeedService.asset (cognitive 19): announcement-feed.announcementFeedService.asset has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 7, boolean chains 3, error handling 1 (nesting depth added 3). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/announcement-feed.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c7b4d7d3250980e4695747bc4ff506606027d882d686c2b1e1e9f2380a953a"}},{"ruleId":"D2","level":"warning","message":{"text":"instance-settings.instanceSettingsRoutes::readTaskDrainStatus (cognitive 19): instance-settings.instanceSettingsRoutes::readTaskDrainStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/instance-settings.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ccd5ca3305ce4480455bfdeac817cae1c6415a577650dc4c656337f9e5abc1"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-maintenance.skillPackageMaintenance.deleteObjects (cognitive 19): skill-package-maintenance.skillPackageMaintenance.deleteObjects has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 4 (6 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e4f64689d4e6c4b8ae8203be66d2daa4b125d62c9f14c6f6e30e665a0dfda5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-migration.mapSources (cognitive 19): native-harness-backup-migration.mapSources has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (3 pts), boolean chains 2, loops 2 (nesting depth added 6). Of this number, 13 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":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5974aa55101b2ddd9a3ffbf91349f02a145a0caac0cd7d11d849613e1a6e0a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"access.isInviteTokenHashCollisionError (cognitive 19): access.isInviteTokenHashCollisionError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31d4a5edaa9f4555ccf8b7504a131afc6a3c6383586a3e5f8b806e413b517bd"}},{"ruleId":"D2","level":"warning","message":{"text":"access.isPrivateOrReservedIpv6 (cognitive 19): access.isPrivateOrReservedIpv6 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":"server/src/routes/access.ts"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74137d17598261ed1a52c5d71ddaea80a3e663f8f1141296637935b0f427aa4"}},{"ruleId":"D2","level":"warning","message":{"text":"plugins.pluginRoutes::resolveScopedApiCompanyId (cognitive 19): plugins.pluginRoutes::resolveScopedApiCompanyId has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (4 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":"server/src/routes/plugins.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c415cf922ad13ff2fecce8e30d2ff7e879be6009bea52a08533adb7a173edaf"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.buildHostServices.isInviteTokenHashCollisionError (cognitive 19): plugin-host-services.buildHostServices.isInviteTokenHashCollisionError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d469d9935d35104021229b36ad94c2f6a9dfac67b6633d2aeefdd42e64ae05f6"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-git.assertNoRetainedWorktree (cognitive 19): remote-workspace-migration-git.assertNoRetainedWorktree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 2 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6988b6702acb5fb0c8118c5105f700d60d64e13ec9d26ac13edeacaa9f5b2160"}},{"ruleId":"D2","level":"warning","message":{"text":"event-loop-stall-monitor.startEventLoopStallMonitor.check (cognitive 19): event-loop-stall-monitor.startEventLoopStallMonitor.check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/event-loop-stall-monitor.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb733e09725ae25abbb28e003fd0895bbf18115f4b1aaf25cd96999dae9dc29"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-package-qualification.inspectCloudPackages (cognitive 19): cloud-package-qualification.inspectCloudPackages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (7 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-package-qualification.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03e576d6234b6fa603048ff32f577dd7897c8a0251cf5cbc1876ab706acf316"}},{"ruleId":"D2","level":"warning","message":{"text":"index.startServerWithDatabaseTeardown::performShutdown (cognitive 19): index.startServerWithDatabaseTeardown::performShutdown has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 4, error handling 2 (3 pts), ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (index.startServerWithDatabaseTeardown, index.startServerWithDatabaseTeardown::ensureMigrations) 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":"server/src/index.ts"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c5c8f4c46077016492bd68539938736e8b9ce7407087b20999cfe09edc1aee"}},{"ruleId":"D2","level":"warning","message":{"text":"sw.self.addEventListener(\u0022fetch\u0022) (cognitive 19): sw.self.addEventListener(\u0022fetch\u0022) has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 154, 137, 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":"ui/public/sw.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edf06e9b8cf7834bde09688f14171377508eb43964556f773a6cb1f6c877aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"PrimaryAgentPresentation.PrimaryAgentCrownButton (cognitive 19): PrimaryAgentPresentation.PrimaryAgentCrownButton has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 6, if/else 3 (5 pts) (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":"ui/src/components/primary-agent/PrimaryAgentPresentation.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e6db2f5e79254c5dbfb3ad04389e70b3f78d32a88181f48be7b0aaf05f140e"}},{"ruleId":"D2","level":"warning","message":{"text":"useBackgroundSubmitQueue.useBackgroundSubmitQueue.readQueue (cognitive 19): useBackgroundSubmitQueue.useBackgroundSubmitQueue.readQueue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (4 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf5df9b2c65fb35cade03690f2d64d725dfcc2f87c1ed8aa630c70d8823e4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"select.SelectPopover (cognitive 19): select.SelectPopover has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 5, if/else 4 (nesting depth added 6). 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 89, 69, 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":"ui/src/components/ui/select.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd87f71ebebd0009ef16f579e1dab73c79401e99469320f1684039957eb73c4e"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownUrlLink.MarkdownUrlLink::render (cognitive 19): MarkdownUrlLink.MarkdownUrlLink::render has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 14 (18 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":"ui/src/components/MarkdownUrlLink.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de6529ea1becca908d570214059a3e8f5ef7e525bf67c22091551c0e706178"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-workspace-file-refs.parseWorkspaceFileHref (cognitive 19): remark-workspace-file-refs.parseWorkspaceFileHref has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, if/else 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":"ui/src/lib/remark-workspace-file-refs.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c484712f9bbc90c81c27ff53f03cec11e513ab93220bb690581967e3fbd93e8"}},{"ruleId":"D2","level":"warning","message":{"text":"remark-workspace-file-refs.rewriteMarkdownTree (cognitive 19): remark-workspace-file-refs.rewriteMarkdownTree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 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":"ui/src/lib/remark-workspace-file-refs.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4380c991bb3b3dc0a78c92cf2bfce280a5b1d262a50c9bd6eed37805e3e5c34e"}},{"ruleId":"D2","level":"warning","message":{"text":"config-fields.HermesGatewayConfigFields (cognitive 19): config-fields.HermesGatewayConfigFields has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 6, if/else 5. Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 229, writeValue, a function literal at line 117, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/hermes-gateway/config-fields.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe656a58de61455151cf94b6f24694ebcc6cb7143c6c00d7a111e2db3b370ac"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::handleLaunchToDashboard (cognitive 19): OnboardingWizard.OnboardingWizardInner::handleLaunchToDashboard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (3 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. This shape REPEATS in the file: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::managedBindingForStep, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"145fd8671274bc26b3c89d0b5b7820b3140b3fdefd0218c0df1a57d4020fd358"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.useTaskRunLiveUpdates (cognitive 19): LiveUpdatesProvider.useTaskRunLiveUpdates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 180, 159, 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad48f72f92dfebf93faca05f73b152c18aad7e122a8a3ce44e0b9de5da857f4"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.buildRunStatusToast (cognitive 19): LiveUpdatesProvider.buildRunStatusToast has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6, 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"461ee643ca10cdc078d5263097e4e68f2b27cc0f1514f51d55c24a0138328b15"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolCard.WorkspaceChangeCard (cognitive 19): TaskChatProtocolCard.WorkspaceChangeCard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 2, boolean chains 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e7714cde866b09d084059c8d73e7ff250b2db9c174b0919c72c1fdc1a87bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.omitProgressComposingResponse (cognitive 19): transcript-adapter.omitProgressComposingResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63f187e74bc1b2140f070e2e562df3e8eb0f055595e7a0e514626427281a093"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueLinkQuicklook.IssueLinkQuicklook (cognitive 19): IssueLinkQuicklook.IssueLinkQuicklook has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 339, 266, 328, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueLinkQuicklook.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"029fb5582d3b0c43a4a676550a2825abd1e50ac11a003b34a1ee65447e1bbe6f"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueAttachmentsSection.IssueAttachmentsSection (cognitive 19): IssueAttachmentsSection.IssueAttachmentsSection has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 3 (4 pts), loops 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 7 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueAttachmentsSection.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c494d7f63a12f40f7b0dae52824c0c118c417cb62769808d3a0983d1fa0c93"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueRunLedger.stopReasonLabel (cognitive 19): IssueRunLedger.stopReasonLabel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, ternaries 4 (7 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02fff059c3101c6c4c2d8cf1ba2009cd3a347cfa86927d7d6eaf72a44301115"}},{"ruleId":"D2","level":"warning","message":{"text":"FileViewerContext.writeFileViewerStateToSearch (cognitive 19): FileViewerContext.writeFileViewerStateToSearch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf16240022f87ab9577b4259239ccdde6e1bc90d968a41f561f1c49c957388d"}},{"ruleId":"D2","level":"warning","message":{"text":"FileViewerSheet.FileViewerBody (cognitive 19): FileViewerSheet.FileViewerBody has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef26fe798fe5b838242d0cd24577647e65f8d53d4018f3d468c2d91f88408159"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSkillRow.AgentSkillRow (cognitive 19): AgentSkillRow.AgentSkillRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 4, if/else 1 (2 pts) (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-skills/AgentSkillRow.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d593d18f6f59c2c5ec066f858a20777fe590ba92297fe3073f362a40bdfaea"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigSaveBar.AgentConfigSaveBar (cognitive 19): AgentConfigSaveBar.AgentConfigSaveBar has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 4. Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 24, 44, 19, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-detail/AgentConfigSaveBar.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabf5b516b60b15baadc507ef2c59b0640406bee72c935d4504e7c23fe11b6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"LogViewer.LogViewer::appendLogContent (cognitive 19): LogViewer.LogViewer::appendLogContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (6 pts), boolean chains 3, 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. This shape REPEATS in the file: one other method here (LogViewer.LogViewer) 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbed033fdb8e7bd197dfe007b978a13163ef29dafec0dc952c862352fe340a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectAccessMembers.ProjectAccessMembers (cognitive 19): ProjectAccessMembers.ProjectAccessMembers has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 6 (nesting depth added 1). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 140, 52, 54, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectAccessMembers.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c6be37bd62e1c780fdf4e216b92c1b522a4ba4f78ab7dbd7ea85b9274ebcb0"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionCloseMenu.AttentionForOtherGate (cognitive 19): AttentionCloseMenu.AttentionForOtherGate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 4 (5 pts) (nesting depth added 2). 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 429, 450, 411). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"64022e59d826875194be4dbc1780743f9a9c6d8e8c2e7dc3eded46d5531755ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalCardPanel.ApprovalCardPanel (cognitive 19): ApprovalCardPanel.ApprovalCardPanel has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 3, 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":"ui/src/components/ApprovalCardPanel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aca56cfffc91e45aaf29e880998640708f4461bd61687f2b75064326ab6f39"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfilesTab.resolveAllowList (cognitive 19): ProfilesTab.resolveAllowList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), boolean chains 2, loops 2 (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceae3ac3ba050333ed29118b426b0b17cfa6b6dd0e78bc623e1c545fb888808"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubBotManagement.GitHubRepositoryAccess (cognitive 19): GitHubBotManagement.GitHubRepositoryAccess has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 4, if/else 3. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b25cd26b99e1cdbee9b732900bf70ae392e38d5f5daa95007776a01fad1336a"}},{"ruleId":"D2","level":"warning","message":{"text":"gateway-helpers.deriveGatewayApps (cognitive 19): gateway-helpers.deriveGatewayApps has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 3, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3d98f7b819c902d854acec7cb27a5f6ac675f148796d029b85f9f978a27e18"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayDetail.GatewayDetail (cognitive 19): GatewayDetail.GatewayDetail has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 6. 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":"ui/src/pages/apps/gateways/GatewayDetail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9e6f4fe568dba2821221ea902708d4b4d93919881010d3bcde85f5de982735"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.SkillStudio (cognitive 19): SkillStudio.SkillStudio has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bb626348bc06f1c93a2d601ccea61466ceea3a4552a66f6300b8068cbfc5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleEditor.ScheduleEditor (cognitive 19): ScheduleEditor.ScheduleEditor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, ternaries 4 (6 pts) (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b590797646122895670d50dc71a58ca06813b7c8fd3201fa7220a582ee9f2a86"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineTriggerCard.RoutineTriggerCard (cognitive 19): RoutineTriggerCard.RoutineTriggerCard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (12 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e32b813b6c5ae54074f1079292c3fcac32f627a3730e9da4bd4e56ae7ef1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"GalleryPreview.Named (cognitive 19): GalleryPreview.Named has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (19 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":"ui/src/artifact-directions/directions/d2-tint/GalleryPreview.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d560aa80a31cea0891b98a69f47ac6b7110877a3f60626d229fdfdfd8724ce8d"}},{"ruleId":"D2","level":"warning","message":{"text":"BuiltInAgentGate.BuiltInAgentGate (cognitive 19): BuiltInAgentGate.BuiltInAgentGate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 3 (6 pts) (nesting depth added 3). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BuiltInAgentGate.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88369a4ef7d916e005e14240e426207a59d8b3bad45c1c9255edb4cf9edccb9"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedRoutinesList.ManagedRoutinesList (cognitive 19): ManagedRoutinesList.ManagedRoutinesList has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 2, if/else 1 (nesting depth added 7). 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 109). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ManagedRoutinesList.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ed63ee072804952293845fe5fa57fe55a8008b99c28e1e9dbf1d000714ef83"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskList.TaskList::renderBranch (cognitive 19): TaskList.TaskList::renderBranch has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 1, if/else 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskList.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf9bcfea9cbcfa4c3d7822e06e7d4e162dfb50ffef7e3d2b1e17cd26a8fbb1f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceFileBrowser.WorkspaceFileTree::renderNode (cognitive 19): WorkspaceFileBrowser.WorkspaceFileTree::renderNode has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (14 pts), boolean chains 4, if/else 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"06463687c3320f17a2926be1e5308cd6bb83ffa377ef030f98e17b884edad46b"}},{"ruleId":"D2","level":"warning","message":{"text":"radio-card.RadioCardGroup (cognitive 19): radio-card.RadioCardGroup has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 3 (6 pts), loops 1 (nesting depth added 4). None of this is in the body itself: all 19 points belong to 2 function items inside it that branch (handleKeyDown, a function literal at line 130). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ui/radio-card.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae98e185ee7590e2696e683444c66e1d81ccd5fc014edad81971034980de6303"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-call-attempt.createVoiceCallAttempt.start (cognitive 19): voice-call-attempt.createVoiceCallAttempt.start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 3 (5 pts), ternaries 2 (5 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":"ui/src/lib/voice-call-attempt.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9466b24a97a064afd3493e438a44571ff115a27d816ecd20722a2b89866d6d"}},{"ruleId":"D2","level":"warning","message":{"text":"launchers.usePluginLaunchers.launchers (cognitive 19): launchers.usePluginLaunchers.launchers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts) (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/plugins/launchers.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e63ebb38bd3a04f8d32a12e7e3b3a08e56684876ba31224e564e0b7a32def74"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamCatalog.TeamDetailPane (cognitive 19): TeamCatalog.TeamDetailPane has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 6, if/else 2 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"312da0d670e887899f0c7a0b8d90be70d03da0f8a178ab65a35a415c3c0179e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentedControllersPreview.LayoutSwitch (cognitive 19): SegmentedControllersPreview.LayoutSwitch has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 1 (nesting depth added 8). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 31). 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":"ui/storybook/support/design-proposals/SegmentedControllersPreview.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c727ba6443bc57bf844bb0bd04cb7b701c003198588de140b7f60fd83751a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PrimaryAgentStory.makeState (cognitive 19): PrimaryAgentStory.makeState has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11 (17 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":"ui/storybook/support/primary-agent/PrimaryAgentStory.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f658df8d3e864f5e28194c5d97e2a5d9847806a014ac694b23ef58cd9fb052f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeManagedProvider::start_with_worker (cognitive 19): ClaudeManagedProvider::start_with_worker has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 5 (6 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb335f6c6dfd969da7256ea4d2eea29af0a60890c29b5b051ba533c6b86f57a"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialObserver::configure (cognitive 19): CredentialObserver::configure has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/credential_observer.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6035073bee95ec7fbd680a7ebea7d38b8ffc89df19d73b9ed39ff19534e194"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableState::enqueue_event_with_source_event_id (cognitive 19): DurableState::enqueue_event_with_source_event_id has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"a896d7ad3add46fc77916797714c3a71dbdb62465d3aebe1069f3a6929be5a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"LineageTracker::terminate (cognitive 19): LineageTracker::terminate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 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/paperclip-runner/runner/crates/runner-core/src/process_lineage.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"286d07f38bf59022895006bff77a23cb733935cc883921393f5dfdcd0758816b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderToolBridge::apply_result (cognitive 19): ProviderToolBridge::apply_result has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (19 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/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7903ea13194106c2d4ae99c445289387000e5de2f375a31bfbd6ff79645c5"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::codex_provider::runtime_notification_codex_args (cognitive 19): paperclip_runner_core::codex_provider::runtime_notification_codex_args has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b96c8fd7f5a8197b8c99b016a390093da15b498a19dc1364edb4b11a94aba87"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::codex_provider::codex_question_set (cognitive 19): paperclip_runner_core::codex_provider::codex_question_set has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4812}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3cf134b21887ebbb9a0f9c1f426ff4d2a63179d23ce5969908c06e73bb03d3"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.registerMcpCommands (cognitive 18): mcp.registerMcpCommands has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 6). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 15). 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":"cli/src/commands/mcp.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"317216d76c0d85059cac3de746d521713cbac38e3c619d4c4eb68b6ffe32e810"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.worktreeMergeHistoryCommand (cognitive 18): worktree.worktreeMergeHistoryCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":4126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7f379577b38db8804fd077b0ad7dce0273ffe73a60dbc8b5bcc24896ed05e0"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree.runWorktreeReseed (cognitive 18): worktree.runWorktreeReseed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 3, ternaries 2, error handling 1, loops 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a4a1f4f214ea6d4eb2eeb5ac0846c44fa06ad4fe6bf17509cb7a812a7edb87"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.maybeRunSandboxInstallCommand (cognitive 18): execution-target.maybeRunSandboxInstallCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 2 (4 pts), error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf703ec9bb073b9661a54de398bbd3ed5ebcecaceb68d5d1988b2bb3c63e1654"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-seed-cache.cacheUsage (cognitive 18): workspace-seed-cache.cacheUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc053cf89517b13c97622c7df4076d474b6585ac98dcd08f363308412b3b89a"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.materializePaperclipSkillCopy (cognitive 18): server-utils.materializePaperclipSkillCopy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 4, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 9 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4626}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e3076c477609753c80a128c7851c51fd8d69957ae90c774b542c801e8faa2e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-observability-home.prepareAcpxCodexObservabilityHome (cognitive 18): codex-observability-home.prepareAcpxCodexObservabilityHome has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/codex-observability-home.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"96993d632c9ffb21c7ccd60b5abd7225489cefad4cc9f4f437d501c8a48e4738"}},{"ruleId":"D2","level":"warning","message":{"text":"stock-runtime-options.splitWindowsAgentCommand (cognitive 18): stock-runtime-options.splitWindowsAgentCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/stock-runtime-options.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"426b8ccaaaf7059d59c3c68ea95b2f69a709ec82f185879eb1d062b936700562"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.createAcpxEngineExecutor.executeAcpxEngine (cognitive 18): execute.createAcpxEngineExecutor.executeAcpxEngine has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 56 (101 pts), if/else 67 (92 pts), boolean chains 79, error handling 8 (9 pts), loops 3 (4 pts) (nesting depth added 72). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (execute.createAcpxEngineExecutor.executeAcpxEngine::startup, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepPromptBuild, execute.createAcpxEngineExecutor.executeAcpxEngine::runTurn::stepTurnFinalize) 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc70071f31ed41c456ecfda96be26003ae6c3a4ca381be575ec60888752ebefb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-home.stageDirectorySecure (cognitive 18): codex-home.stageDirectorySecure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a53429ad4e80daa99662278cf19590a40a3491d6235267dd52d04b52fab35c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-args.buildCodexExecArgs (cognitive 18): codex-args.buildCodexExecArgs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, 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/adapters/codex-local/src/server/codex-args.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"970005025e8b039220cbe49afe1ee7b27de2091d2972c419851af301ca60b14f"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.prepareCodexRuntimeConfig (cognitive 18): runtime-config.prepareCodexRuntimeConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (4 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"effdf592d6090ecaa2d22060052b85bd026ca4e02bc399d43a78528df32991d1"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseCodexStdoutLine (cognitive 18): parse-stdout.parseCodexStdoutLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"954ee5bc8cec455199f20431a5b16652bfacc3811395a1d3e456de0dc7bba613"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.stageGrokProjectAssets (cognitive 18): execute.stageGrokProjectAssets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7e85cd2454d68d53df4fb952cb4ef22af9d49390d9c3ee372e64ba81731129"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseLineInternal (cognitive 18): parse-stdout.parseLineInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 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/adapters/grok-local/src/ui/parse-stdout.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb50a9ceab574bf1abe447cb10d3200fdab21befc63a3aba3794de82e9e750a"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseHermesStdoutLine (cognitive 18): parse-stdout.parseHermesStdoutLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de0a9c9e4e0f343a83c8ad7670e97da643c95eea1c5a74c88431ffee1fb82d"}},{"ruleId":"D2","level":"warning","message":{"text":"ui-parser.parseStdoutLine (cognitive 18): ui-parser.parseStdoutLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/ui-parser.cjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b294d2628a8c9210e1d58880de8114dabc0b9a448826946d517f2b26f3f231c"}},{"ruleId":"D2","level":"warning","message":{"text":"client.loadAppliedMigrations (cognitive 18): client.loadAppliedMigrations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d133408766dab74427541cc0ddc857b93fdd32babec627f7c09cd3c48c5e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"clean-poisoned-claude-sessions.classifyJsonlText (cognitive 18): clean-poisoned-claude-sessions.classifyJsonlText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, 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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e365d4bb3ed74905cbc1da148b5ae90d32fab92bf70b5d0349c664997eb15a5"}},{"ruleId":"D2","level":"warning","message":{"text":"session-reducer.timelineSummary (cognitive 18): session-reducer.timelineSummary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, 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/paperclip-runner/src/reducer/session-reducer.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f09a2c4ba4b6e676306b661b6e9af1c03c1a599d5e6f78ee8e706472e020a9"}},{"ruleId":"D2","level":"warning","message":{"text":"App.LiveRunner::startRun (cognitive 18): App.LiveRunner::startRun has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (App.LiveRunner) 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/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1fdc76df313c0086de8e3c1256ed953ea71e1405d59ab07629fe0027406145"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-security-config.gitFilesystemRoots (cognitive 18): codex-security-config.gitFilesystemRoots has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc46c3309c00bd5636c5b2fd79d06e719cb2881c31df3d7d14c7524c0eb2dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-workspace.recordCanonicalWorkspaceChange (cognitive 18): codex-session-workspace.recordCanonicalWorkspaceChange has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 6, boolean chains 5 (nesting depth added 1). 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 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":"packages/paperclip-runner/src/drivers/codex/codex-session-workspace.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d6ac766982738e8562e83084d33a00280aeacd44db82f86c7c86e4b911fde"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilityMockControlPlaneAdapter.appendEvent (cognitive 18): CapabilityMockControlPlaneAdapter.appendEvent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"48544336c41deb9393ab7b50509d5d73d8f033a59269af3e0fe4de54a2a201b5"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence-redaction.providerActivityDetails (cognitive 18): evidence-redaction.providerActivityDetails has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 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/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bb827d8c6c962ac2d9598546c885e4e295b9241e0bbcb8b26f321dfed6a6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundedJsonCompactor.write (cognitive 18): BoundedJsonCompactor.write has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"323e565bef5436c77c4140cf5580657789b0a30f2264b2208ee2d91697e2810a"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#releaseSettledRunner (cognitive 18): DurablePrpCodexTransport.#releaseSettledRunner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4901}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1ca3546257caa7a7a4b4bd1441db938860879548089402514558b59430de0d"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.appServerThreadGoal (cognitive 18): runnerd-codex-transport.appServerThreadGoal has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 3, boolean chains 2 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebe238abcb8b23dfae17c31130932dc55b9b48b2f6739ebafc65a8195bb8983"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.acpxProviderPackageAuthority (cognitive 18): runnerd-codex-transport.acpxProviderPackageAuthority has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3587}}}],"partialFingerprints":{"codehealthFindingId/v1":"026e4858acd5320f8488657dd99212d313edb19d10b8efb6814e011d83dace4b"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.openedThreadModelProvider (cognitive 18): runnerd-codex-transport.openedThreadModelProvider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9726}}}],"partialFingerprints":{"codehealthFindingId/v1":"6645c92e4dbdd63afbb07655e0ce6716a7e26c2a9046a1f184c44dadd165ebb2"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadItems.WorkspaceFileReference (cognitive 18): ThreadItems.WorkspaceFileReference has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (16 pts), if/else 1 (2 pts) (nesting depth added 8). 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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d5942e21c5e477cf04b4063172713277858806db729958384bc4bc086edda3"}},{"ruleId":"D2","level":"warning","message":{"text":"private-snapshot.createAcpxPrivateSnapshot::copy (cognitive 18): private-snapshot.createAcpxPrivateSnapshot::copy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, loops 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. This shape REPEATS in the file: one other method here (private-snapshot.createAcpxPrivateSnapshot) 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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"56294fa81215da028b72d4ee61e14ed3dc8d04dba35ca113cbbdc4cdc6cb8a05"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-kimi-distribution.nodeDistribution (cognitive 18): materialize-kimi-distribution.nodeDistribution has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"288510861de3cbf982b9ccfc275275ffd9cca6d230a13213ee5ffed6d5da3722"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.readAttemptControlledEvidence (cognitive 18): archive.readAttemptControlledEvidence has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bec489083d3e1a25aa114a9026588b7df7378ea1c6e399d976a230f9bd62b8"}},{"ruleId":"D2","level":"warning","message":{"text":"verify-runtime.verifyControllerRuntime::inspect (cognitive 18): verify-runtime.verifyControllerRuntime::inspect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 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/paperclip-runner/scripts/controlled-evals/verify-runtime.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e2baa6f2891ce415445792f63e0cdef0f385bdca53bc4b5afcbd30ae0ce71d"}},{"ruleId":"D2","level":"warning","message":{"text":"issue.requestItemVerdictsPayloadSchema (cognitive 18): issue.requestItemVerdictsPayloadSchema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3, 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/shared/src/validators/issue.ts"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"20805288fb77ed4e5831c9bb62de95d2449b96f14e474e07f2767c90de8af655"}},{"ruleId":"D2","level":"warning","message":{"text":"local-encrypted-provider.loadOrCreateMasterKey (cognitive 18): local-encrypted-provider.loadOrCreateMasterKey has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9021f334db52984bd34ff1665b28a6433c896c10c2d90e019bab468194da0827"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotonCloudClient.request (cognitive 18): PhotonCloudClient.request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/cloud.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b5b7a73f857e171028a8aabd98f10cc1c7bda36146cd6c649d098c291b154d"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-http-fetch.sendRequest (cognitive 18): remote-http-fetch.sendRequest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (4 pts), boolean chains 3, ternaries 3 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"server/src/services/remote-http-fetch.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2ad40853cd8498910fce2718cf4378b00fdad1ac528cc700963b4ae0f71774"}},{"ruleId":"D2","level":"warning","message":{"text":"aws-secrets-manager-provider.createAwsSecretsManagerProvider.healthCheck (cognitive 18): aws-secrets-manager-provider.createAwsSecretsManagerProvider.healthCheck has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 2, error handling 1, if/else 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee18a818cf5b579b20f01b1502090e094e2ebc1ed9f0381257bce1bec3d9db6"}},{"ruleId":"D2","level":"warning","message":{"text":"http-log-policy.secretSensitiveRouteFamily (cognitive 18): http-log-policy.secretSensitiveRouteFamily has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47eeb963b6e5cbd8b8fcfd26278529b65bb9ae664cb1d34e904c9801d95219b"}},{"ruleId":"D2","level":"warning","message":{"text":"trust-preset-resolver.resolveCoreTrustPreset (cognitive 18): trust-preset-resolver.resolveCoreTrustPreset has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, loops 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":"server/src/services/trust-preset-resolver.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"346c848c47c826aaa0f1061540b5c4a28427d59efa6a9c2b72860f436e46fe2d"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createAuthorizationService.decideTaskBridgeAccess (cognitive 18): authorization.createAuthorizationService.decideTaskBridgeAccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0056e2610b5bedbb1a2da667436529814d4df1e740c40dd198106a63b272096"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-qualification.resolveAcpxQualification (cognitive 18): acpx-qualification.resolveAcpxQualification has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c5577fa0024d7a20cbd9d675921da856014df5d205b17a2d6675c0d16dda09"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-directory.directoryAncestry (cognitive 18): durable-directory.directoryAncestry has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 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":"server/src/lib/durable-directory.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c47af0ade710c3b6c1e8aff5650797368f45c2d858105571d34a944664d114"}},{"ruleId":"D2","level":"warning","message":{"text":"change-consent-gate.legacyTargetKeysFor (cognitive 18): change-consent-gate.legacyTargetKeysFor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 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":"server/src/services/change-consent-gate.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5830a7a8b61da21bbe992313ac5ce51e55a048b2ea9b9b84aa95644a26d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"s3-provider.resumableBody::chunks (cognitive 18): s3-provider.resumableBody::chunks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/s3-provider.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e852663395d96a8a62f88bf51fcead185704a70ba35f95b21d2affe2493e4"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-compaction.findRegenerableWorkspaceDirs (cognitive 18): workspace-compaction.findRegenerableWorkspaceDirs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 pts), loops 3 (4 pts) (nesting depth added 8). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (collect). 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":"server/src/services/workspace-compaction.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"829342cc83579708713ee540f4a547e051cee2afe97298777f7a72acd47e1884"}},{"ruleId":"D2","level":"warning","message":{"text":"railway.createRailwayClient.query (cognitive 18): railway.createRailwayClient.query has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (4 pts), error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/railway.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bd34e5efe8c3cad8773276c158dea60c9a5d7cde68312f47e9552c1a0fbb84"}},{"ruleId":"D2","level":"warning","message":{"text":"form-ack-work.stageSlackFormNormalAck (cognitive 18): form-ack-work.stageSlackFormNormalAck has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0d19b165c639665b1c4787101a7a66fbb2e7cc60c6c31abd1fa179ede9e296"}},{"ruleId":"D2","level":"warning","message":{"text":"form-retirement-work.transferSlackFormRetirement (cognitive 18): form-retirement-work.transferSlackFormRetirement has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, loops 1 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-retirement-work.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d9c4e88ea41288f48afa717cf09164cc33ed98048bb1aabaf4f3d0614f5d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.head (cognitive 18): object-byte-journal.createObjectByteJournal.head has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18d26108baebdfd0fb3b36e3c249acc79317c5d5320220593b9337068cfd985"}},{"ruleId":"D2","level":"warning","message":{"text":"object-byte-journal.createObjectByteJournal.readRange (cognitive 18): object-byte-journal.createObjectByteJournal.readRange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, split the body: 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d43253495650e0fe17ecfb5ab85872249b2ecd1a62d2cff9b42c8fd9b627f8"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync (cognitive 18): native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (40 pts), loops 4 (11 pts), boolean chains 5, ternaries 1 (4 pts), error handling 1 (2 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 (native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync::visit) 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc796875a06a3417bb8928829429f8e96ea779d7938ce3297b024b9c7ef069b4"}},{"ruleId":"D2","level":"warning","message":{"text":"projects.projectService.resolveManagedProject (cognitive 18): projects.projectService.resolveManagedProject has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (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":"server/src/services/projects.ts"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd809bd1d5b1c49eaf8d736a95f9d8b0c93d893bf7b96296a96cb763df6fd39"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.deriveCanonicalSkillKey (cognitive 18): company-skills.deriveCanonicalSkillKey has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"041d0c724d7714a54162e9aa656fd65631b99863f04fcc888746160ac2569e78"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-git-snapshot.acquire.readBlobs (cognitive 18): skill-source-git-snapshot.acquire.readBlobs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b563525b5553e7b63da9f20ccd9da40b009599930b116858fbff0f9dabd8a7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-github-access.skillSourceGitHubReader::headers (cognitive 18): skill-source-github-access.skillSourceGitHubReader::headers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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. This shape REPEATS in the file: one other method here (skill-source-github-access.skillSourceGitHubReader::authorized) 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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d9d9407da52a179224feeb6a286c7cf15d853d82fdf125d1c4599c9214a3e8"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-github-access.skillSourceGitHubReader::authorized (cognitive 18): skill-source-github-access.skillSourceGitHubReader::authorized has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (skill-source-github-access.skillSourceGitHubReader::headers) 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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac937bd2a7b3e1fdbaca67d83bb70900490080d402b0cb7f8d32a3536819857"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-sources.skillSourceService.disconnect (cognitive 18): skill-sources.skillSourceService.disconnect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3, ternaries 2 (3 pts), boolean chains 2 (nesting depth added 3). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"server/src/services/skill-sources.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a74e0c574e46ee0cafb4f561bdf34bede1e1c3ebb9458146dbb71176f53c27"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-filesystem-independence.localFacts::walk (cognitive 18): native-harness-filesystem-independence.localFacts::walk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, 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. This shape REPEATS in the file: one other method here (native-harness-filesystem-independence.localFacts) 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"99df201a22ffded82229d5c7fb94224b3fada2f474b52f75e3f70dc88c45ae8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ownership-invariant-report.checkAdmissionIndependence (cognitive 18): ownership-invariant-report.checkAdmissionIndependence has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e71e63cf74d45a9eb623225c4a966661e3ff97a0dc86eefdfaf55edc533fdec"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-finalization-state.preserveRemoteWorkspacePreparationFailure (cognitive 18): native-workspace-finalization-state.preserveRemoteWorkspacePreparationFailure has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 6. Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 19). 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":"server/src/services/native-runtime/native-workspace-finalization-state.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6204e6220c0cfdcc0e2c62c02edf44bd90c9dba62b3a413eab13a2acfaa617e7"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-workspace-identity.probeManagedWorkspaceReadiness (cognitive 18): managed-workspace-identity.probeManagedWorkspaceReadiness has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 5, ternaries 2 (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":"server/src/services/managed-workspace-identity.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea785b1060b1f95067f0070af26ae4e71db3b71e7f4d869f7ba04077640c35b"}},{"ruleId":"D2","level":"warning","message":{"text":"UnixBrokerClient.roundTrip (cognitive 18): UnixBrokerClient.roundTrip has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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 2 function literals inside it that branch (lines 244, 221). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/broker-client.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cb5fceeaea8d27bf0148513b64614c9f7f81b1792e670877ab348fad52b9c1"}},{"ruleId":"D2","level":"warning","message":{"text":"port-reservation.buildExposureReservationLedger (cognitive 18): port-reservation.buildExposureReservationLedger has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (9 pts), if/else 3 (4 pts), boolean chains 3, ternaries 1 (2 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, 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":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9cd1b5c23873c1785dec93d87dc92a254642b40aafea05c59d6dc684743e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"port-reservation.findExposureReservationDrift (cognitive 18): port-reservation.findExposureReservationDrift has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"3965bcc010a47950a0c99415e7d458430f1cf6d9998bcd29558014b5e49fffbf"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.stripSecretRefValuesFromPluginLeaseMetadata (cognitive 18): environment-runtime.stripSecretRefValuesFromPluginLeaseMetadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7de77c7e0b0a3a82d269a6cd3d8f5ed77f8eb10dcceaa3eaa6bee20b8aee6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.createPluginEnvironmentDriver.resolvePluginDriverForRelease (cognitive 18): environment-runtime.createPluginEnvironmentDriver.resolvePluginDriverForRelease has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 6 (7 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3457}}}],"partialFingerprints":{"codehealthFindingId/v1":"95030f2df797edb280011cc759fb66aee80067dc2321eea664b1c4502b6d0393"}},{"ruleId":"D2","level":"warning","message":{"text":"budgets.budgetServiceInTransaction.reconcileScope (cognitive 18): budgets.budgetServiceInTransaction.reconcileScope has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4480a6d8829b7b05905342c0b77c2c97ef43db9dbcc57793d87acbdfdf559c9"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-use.browserUseService.discoverBrowsers (cognitive 18): browser-use.browserUseService.discoverBrowsers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"28937a2e2aecbfb386ed0ee15f4e92a543d3d1f3f3e4edde7d9283f84e162475"}},{"ruleId":"D2","level":"warning","message":{"text":"cron.nextCronTick (cognitive 18): cron.nextCronTick 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":"server/src/services/cron.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a22128f3f4589b1d136cb7fe77e5aa5c7dd518587e5cc2662d45b2e10c3d2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.requestApprovalForRecordedToolCall (cognitive 18): tool-gateway.createToolGatewayService.requestApprovalForRecordedToolCall has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 4 (6 pts), boolean chains 5, 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d398dae4e20185910742de9484fc40644c3c6a87d4d481469b1967d723125"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.getTestCallStatus (cognitive 18): tool-gateway.createToolGatewayService.getTestCallStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12171}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a189e1d7b576da283908f2e630d80baf1ea4a3c6aead82ef48cc7d7d653dd8"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.resolveExecutionWorkspaceConfigFreshness (cognitive 18): workspaces.resolveExecutionWorkspaceConfigFreshness has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ad855d89a68c6b9d2415afff2c89b7fd7a5cc04e4ef4bc31be637732ebaa9a"}},{"ruleId":"D2","level":"warning","message":{"text":"native-pending-effect-work.registerNativePendingEffectWork (cognitive 18): native-pending-effect-work.registerNativePendingEffectWork has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (nesting depth added 2). None of this is in the body itself: all 18 points belong to 4 function items inside it that branch (a function literal at line 55, load, a function literal at line 53, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-pending-effect-work.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86e94b9bab1d8fae30812346e11c8da058a978b1b7201009fcf248a7b3dec5"}},{"ruleId":"D2","level":"warning","message":{"text":"sentry.captureException (cognitive 18): sentry.captureException has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 8, 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":"server/src/sentry.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55795935b0bd4a9461d7dd4184591ff3c927db619027f4117bd6eea46540c4"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-writer-hold.readRemoteWorkspaceWriterHold (cognitive 18): remote-workspace-writer-hold.readRemoteWorkspaceWriterHold has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (6 pts), if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-writer-hold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3aa48973bd7d0df7ade62ca74935fd848bbfa273e3ca7c9c9eea7df3ed4307d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.mergeWakeCommentIds (cognitive 18): run-preparation.mergeWakeCommentIds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 9). 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"480be86c06386a2dd1bb38ed64a6a107707b7407c5b152c72ba795d945cc195c"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-graph-liveness.classifyIssueGraphLiveness::firstBlockedChainFinding (cognitive 18): issue-graph-liveness.classifyIssueGraphLiveness::firstBlockedChainFinding has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 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. This shape REPEATS in the file: 2 other methods here (issue-graph-liveness.classifyIssueGraphLiveness, issue-graph-liveness.classifyIssueGraphLiveness::blockedFindingForLeaf) 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"899b9e211d2b074d6a3c37fb72d798f65fa1da19f23e1e2cc63db6abedd88996"}},{"ruleId":"D2","level":"warning","message":{"text":"queued-run-line.queuedRunDispatchFacts (cognitive 18): queued-run-line.queuedRunDispatchFacts has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 13 (15 pts), boolean chains 3 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queued-run-line.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd1b1d9c90cadfdd6ac3b2ad8f4c6d81e10da26eff0ce63814384bf5fc4f96b"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-sweep.assignedWorkSweep.claimContinuation (cognitive 18): assigned-work-sweep.assignedWorkSweep.claimContinuation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 3). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 792). 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab5a2261cd68241620572965889e062809e99450050227519b138a21b19237a"}},{"ruleId":"D2","level":"warning","message":{"text":"released-writer-escalation.continueOne (cognitive 18): released-writer-escalation.continueOne has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, 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":"server/src/services/recovery/released-writer-escalation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"34abe655435e10aba276ad20d3f7fbe6c4fc587e509a36b36ba3c51d4607bfb2"}},{"ruleId":"D2","level":"warning","message":{"text":"use-cases.createScanSilentActiveRuns::inspectSilentActiveRun (cognitive 18): use-cases.createScanSilentActiveRuns::inspectSilentActiveRun has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 6 (7 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":"server/src/modules/active-run-watchdog/application/use-cases.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5449e0998f9687f8dae4969155a7da017f6b3338387d8f3ec0b319b957b7a4de"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-pricing.priceCodexReceipt (cognitive 18): codex-pricing.priceCodexReceipt has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 5, if/else 4 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: 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":"server/src/services/codex-pricing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f18072fa74b3b9490a9e0711d109d8e05c04cd27d730fca3dc4e1674eecc78d"}},{"ruleId":"D2","level":"warning","message":{"text":"email-channels.emailChannelService.reconnect (cognitive 18): email-channels.emailChannelService.reconnect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (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 3 function literals inside it that branch (lines 2512, 2535, 2541). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"0053bdee54f8dfad98f717074a06a28f8b24ac1a91f8df92958803824190d7dd"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.unstartedUserTurnOrigin (cognitive 18): postgres.createPostgresRunDispatchAdapter.unstartedUserTurnOrigin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"597c22ec7a2568a86c42fd5205187039335cf38e14b85fdd57d8e09652000435"}},{"ruleId":"D2","level":"warning","message":{"text":"context.mergeWakeCommentIds (cognitive 18): context.mergeWakeCommentIds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 9). 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":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79ebff07cbadbbc05922c7c6f15184d0e08dabaf5614e8d25b3185b1bcfd24"}},{"ruleId":"D2","level":"warning","message":{"text":"queued-comment-use-cases.createDiscardQueuedComment.discardQueuedComment (cognitive 18): queued-comment-use-cases.createDiscardQueuedComment.discardQueuedComment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4, boolean chains 2 (nesting depth added 3). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 250). 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":"server/src/modules/wake-queue/application/queued-comment-use-cases.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b748f3f224c94fb11924ff61524abf1f57266264f22e0a3f99989c3781647e0"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-files.createRemoteWorkspaceFiles.open (cognitive 18): remote-workspace-files.createRemoteWorkspaceFiles.open 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fea980f55fa2c56a2b498d955fe104433d0c772e31441b5f95a5b8d51c1e411"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-resources.enumerateWorkspaceDirectoryChildren (cognitive 18): workspace-file-resources.enumerateWorkspaceDirectoryChildren has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fa47d0ecd2008221e424518fbf8f23bf1d4e5fefb046180d206f3f477be7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-fallback.continueFromLastSavedWorkspace (cognitive 18): workspace-recovery-fallback.continueFromLastSavedWorkspace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, ternaries 4 (5 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee069d4f8c97c47f1a5484d0904ccb7e7f5174c8e6089262bbb0b1576d7b47"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-restore-hold-settlement.settleRecoveredWorkspaceRestoreHolds (cognitive 18): workspace-restore-hold-settlement.settleRecoveredWorkspaceRestoreHolds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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":"server/src/services/workspace-restore-hold-settlement.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5675b9393bebb3b619017d7ee6dae6693beedd004bd14f25d0a53323488d458"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context.rehydratePinnedSkillAssets (cognitive 18): runtime-context.rehydratePinnedSkillAssets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf1fd0b350d3f1faf1d7d7e1e3b7fb8a17369908808a3c39e32571b6d6127b6"}},{"ruleId":"D2","level":"warning","message":{"text":"native-lifecycle.resolveHeartbeatNativeLifecyclePolicy (cognitive 18): native-lifecycle.resolveHeartbeatNativeLifecyclePolicy has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (9 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":"server/src/services/heartbeat/native-lifecycle.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa2e79fe115eb0556573ef91f46f570a6bac1b2b5376514d9739dff625518e8"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-reply-dispatch-recovery.recoverVoiceReplyDispatches (cognitive 18): voice-reply-dispatch-recovery.recoverVoiceReplyDispatches has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (5 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-reply-dispatch-recovery.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331e2ec4cb221f161158c9256e3458ed5f1e3afefecdcf9e3b5e1612cf21771"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-reply-schedule.voiceReplySchedule.sessionDeadline (cognitive 18): voice-reply-schedule.voiceReplySchedule.sessionDeadline has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 4 (7 pts), boolean chains 3, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 102). 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":"server/src/services/voice/voice-reply-schedule.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28f4da518d78c8febed21e2eee6b869e882ea2f2e2a767d47b85fdad9eba5be"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-delivery-diagnostics.captureVoiceDeliveryDiagnostics (cognitive 18): voice-delivery-diagnostics.captureVoiceDeliveryDiagnostics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, ternaries 2 (3 pts), error handling 2, loops 2 (nesting depth added 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"server/src/services/voice/voice-delivery-diagnostics.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b57bcf97e3b3650f95cd3727c6bde8af98a697f4408da532bf620432a4e736"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-selection.assertEnvironmentSelectionForCompany (cognitive 18): environment-selection.assertEnvironmentSelectionForCompany has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-selection.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbe989ef3f24ca60bcafdd96a8596f9fc3f5df67c962c1104f4f45fc31f13fb"}},{"ruleId":"D2","level":"warning","message":{"text":"task-retry-authorization.createGitHubTaskRetryBatchAuthority.authorizeGitHubTaskRetryBatch (cognitive 18): task-retry-authorization.createGitHubTaskRetryBatchAuthority.authorizeGitHubTaskRetryBatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 5). 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":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1f4033ae0bd929a448b1b40c93e5261411c829690283e216a87b3878c891bb"}},{"ruleId":"D2","level":"warning","message":{"text":"publication-drafts.createTelegramPublicationDrafts.reserveTelegramPublicationDraft (cognitive 18): publication-drafts.createTelegramPublicationDrafts.reserveTelegramPublicationDraft has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 7, ternaries 1. Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 344, 284). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab1be24f746982b72a9972897129512f8601c6989067894483a5f254d89c55d"}},{"ruleId":"D2","level":"warning","message":{"text":"default-access.createCatalogDefaultAccess.enableCatalogEntriesByDefault (cognitive 18): default-access.createCatalogDefaultAccess.enableCatalogEntriesByDefault has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 7, boolean chains 3 (nesting depth added 3). 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a5e590d885c650fd8aada6dbdbe5141081aff091998ed266e99d9e4df212ce"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createToolProfileService.assertTargetExists (cognitive 18): service.createToolProfileService.assertTargetExists has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4042c17dbdd055fb960612d13509479ed6d4b3f3e4965a2fe059169acf7cf5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.resolveCatalogAccess (cognitive 18): resolution.resolveCatalogAccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 8). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/resolution.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0049f4dc5af0f5b8c73bbd4bc747401b8eb312866b3bdaeeada4bc57ed91a6e2"}},{"ruleId":"D2","level":"warning","message":{"text":"nested-repository-worktrees.restoreNestedRepositoryWorktree (cognitive 18): nested-repository-worktrees.restoreNestedRepositoryWorktree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (3 pts), error handling 1, loops 1 (nesting depth added 3). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 241). 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":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ca4355be824f5baa2bd27f0477f6b613ea1b1d0b7a7d626f18af0548bedba"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.recordSecretProposalExecutionResult (cognitive 18): issue-thread-interactions.issueThreadInteractionService.recordSecretProposalExecutionResult has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 6 (7 pts), if/else 4 (nesting depth added 1). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 3486). 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5e55f640eb6c6bc1d4c13ced3d5e3730a8bceb62017662acc67d5960ee535f"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoffs.caseHandoffService.list (cognitive 18): case-handoffs.caseHandoffService.list has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), error handling 2 (5 pts), ternaries 4 (5 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fda8dd75604e1dcf465346c1d316158d77e791f3cdc7cf5d2611cb86aec3e08"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#boundContext (cognitive 18): PaperclipRunnerToolAuthority.#boundContext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"d199a6a8b0392dd5d8e6715fc179e4eb082f968aee097a1dd6b07d5f7c3c4dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.runtimeQuestionFallbackFromEvent (cognitive 18): native-session-executor.runtimeQuestionFallbackFromEvent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 4). 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 1429, 1452). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a88d5cc14268f36a56d75e6814eda1835333c229a7c7c5905e697260e14e629"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.unidentifiedLocalRunnerProvenAbsent (cognitive 18): native-session-executor.unidentifiedLocalRunnerProvenAbsent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 3 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf4459dc006859a8a50abbad81b9e4f0cb9a02a680d21b51e7e6a1c568d2c98"}},{"ruleId":"D2","level":"warning","message":{"text":"case-handoff-lifecycle.recoverLegacyCaseHandoffCleanup (cognitive 18): case-handoff-lifecycle.recoverLegacyCaseHandoffCleanup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"118aef33c3f24c894c5b143053b02120610490bc4257cda7c73255df8e7b4207"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createPublicMcpOAuth.approveGrant (cognitive 18): oauth.createPublicMcpOAuth.approveGrant has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 6, ternaries 1. Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82d75fe6cef1de2adb30bc893a76d8567aa66ff2a7bbb611f4e105c0daa718f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-profile-avatar.setAgentProfileAvatar (cognitive 18): agent-profile-avatar.setAgentProfileAvatar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5 (6 pts), boolean chains 4, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 43). 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":"server/src/services/agent-profile-avatar.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dacb54687d491e286c01a59a2308ee5615bda3c844a244bba14bd33f322b031"}},{"ruleId":"D2","level":"warning","message":{"text":"dot.createBroker.challenge (cognitive 18): dot.createBroker.challenge has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6 (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 one function literal inside it that branches (line 453). 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe36f9ee188720791c490f2b84b63d172b953aab6cbe61b7d5cc07b18bebe168"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-wake-proof.readIdleMcpWakeProof (cognitive 18): idle-wake-proof.readIdleMcpWakeProof has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 2, loops 1 (nesting depth added 3). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/idle-wake-proof.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b51ee517065bc3d0e4ea2c0a5ae171fcd9a69007de8a0224bab508e32f08bd"}},{"ruleId":"D2","level":"warning","message":{"text":"native-runner-checkpoint.nativeRunnerCheckpointWriter.\u003Creturned closure\u003E (cognitive 18): native-runner-checkpoint.nativeRunnerCheckpointWriter.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4 (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 one function literal inside it that branches (line 164). 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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a0ea1102d2dcd57555070e3cd48e3f3e737b40326ed74e94bc410a8ec9b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"settings-visibility.parseHiddenSettingsList (cognitive 18): settings-visibility.parseHiddenSettingsList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, 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/shared/src/settings-visibility.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c7a85a86596651a70b0ea22af79773cad855c1805bd37b85c6279a7df35df3"}},{"ruleId":"D2","level":"warning","message":{"text":"installation-integrity.openVerifiedRuntimeExecutable (cognitive 18): installation-integrity.openVerifiedRuntimeExecutable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 2, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b27aee6ee099130b36f26b8afb45875e3edff6b9b01d1fb8f5c8aabe9cdc022"}},{"ruleId":"D2","level":"warning","message":{"text":"acp-edit-context.safeAcpxEditTarget (cognitive 18): acp-edit-context.safeAcpxEditTarget has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 3. Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or 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/paperclip-runner/src/drivers/acpx/acp-edit-context.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b4a34cb9c208120da38776979bca4c7783b966d2453372aa81f1db8474e00b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeBackgroundTaskTracker.#asyncTask (cognitive 18): ClaudeBackgroundTaskTracker.#asyncTask has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 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/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6880dc5de197a59bc5dcf7a63ae88c62118cddd47b27f52b84681c9e2d146ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"RunnerdExternalSession.open (cognitive 18): RunnerdExternalSession.open has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 13, ternaries 4 (8 pts), error handling 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RunnerdExternalSession.open::handleSemanticInput) 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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5106059eafc999e9b8423c4fd1b06899aaf83d63fbd30a0bc104c84b13ee98"}},{"ruleId":"D2","level":"warning","message":{"text":"compatibility.assertPaperclipRunnerEvalCompatibility (cognitive 18): compatibility.assertPaperclipRunnerEvalCompatibility has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/evals/compatibility.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"338ce48b0b21980deabe57ef5716f7d8cb41f7a3f6e8eb32dc94643e150b68a1"}},{"ruleId":"D2","level":"warning","message":{"text":"app.parseWikiFrontmatterBlock (cognitive 18): app.parseWikiFrontmatterBlock has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"9315ece4428bba2e95631e845ce025449dbdbb6d57078326164a9714487b56d1"}},{"ruleId":"D2","level":"warning","message":{"text":"app.IngestFilesModal (cognitive 18): app.IngestFilesModal has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 4, if/else 4, error handling 1, loops 1 (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 5 function items inside it that branch (confirm, a function literal at line 1846, a function literal at line 1841, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df8fe70fa498fb933c41e762b1c1d7db036e8cfa55449fa7f121710d4af4ade"}},{"ruleId":"D2","level":"warning","message":{"text":"app.SpaceRowMenu (cognitive 18): app.SpaceRowMenu has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 3 (5 pts), error handling 2 (nesting depth added 2). 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 items inside it that branch (handleArchive, handleRefresh, a function literal at line 2819, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8db4b5301be83a858014caa3136587239579b49e2a77d98930b14c6a1d88d5"}},{"ruleId":"D2","level":"warning","message":{"text":"app.buildRoutineHealthItems (cognitive 18): app.buildRoutineHealthItems has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 2, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cccb3031db32c0ad6311a1e910cfe7ba2b7f3a25a63c703b6ff1daf0843bf6c"}},{"ruleId":"D2","level":"warning","message":{"text":"core.distillPaperclipProjectPage (cognitive 18): core.distillPaperclipProjectPage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5 (7 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6e3f302f01beae05f9ea345f0712d59115b21d611a4becac0365c317dec097"}},{"ruleId":"D2","level":"warning","message":{"text":"config.validateCloudflareDriverConfig (cognitive 18): config.validateCloudflareDriverConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 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":"packages/plugins/sandbox-providers/cloudflare/src/config.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8e120ae495358cf31d5633bb7d934cff27464ce2b38f3e996a7c57dacafe25"}},{"ruleId":"D2","level":"warning","message":{"text":"env-file.updateEnvFileContents (cognitive 18): env-file.updateEnvFileContents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (4 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/shared/src/env-file.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34563e4a4dc263c69ab791f2dc5d6d2c63381196ef74a12799aa1111d5f18e5"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree-seed-source.resolveRegisteredWorktreeSeedSource (cognitive 18): worktree-seed-source.resolveRegisteredWorktreeSeedSource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/worktree-seed-source.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d60e2fa52622b43e0041c6ea55d8eccaeea8c8e73a640369eae354c0dc38806"}},{"ruleId":"D2","level":"warning","message":{"text":"StrictParser.parseString (cognitive 18): StrictParser.parseString has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 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/tailscale-https-broker/src/strict-json.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4190d856db628ac8073a6377cd111e2386a374457f41d310687a1145c50334"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-retention.resolveOrigin (cognitive 18): decision-retention.resolveOrigin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (8 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":"server/src/services/decision-retention.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd37cf0d09f8bd46f48090c20f2b36fc7b58df85520ce659e0bb1bbb57365f5"}},{"ruleId":"D2","level":"warning","message":{"text":"retained-ui-assets.retainedUiAssets.publish (cognitive 18): retained-ui-assets.retainedUiAssets.publish has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 1 (2 pts), loops 2 (nesting depth added 6). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function items inside it that branch (worker, visit). 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":"server/src/retained-ui-assets.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"94974ff5acf43bb5e55e860c0dd225b92b230200a43e9a3f4f836bdb1421b576"}},{"ruleId":"D2","level":"warning","message":{"text":"org-chart-svg.guessRoleTag (cognitive 18): org-chart-svg.guessRoleTag has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, 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":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac5ba2db1e0af86c28f2adcc75a452d067b256fc9fc245706c6408ca4feb833"}},{"ruleId":"D2","level":"warning","message":{"text":"local-ai-browser-login.startLocalBrowserLogin (cognitive 18): local-ai-browser-login.startLocalBrowserLogin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, ternaries 3, error handling 1 (2 pts) (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 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":"server/src/services/local-ai-browser-login.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9973a81232cef386cd9f86d7d8e079ed45bfef1e5677b6077b00e25f3c8c4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.assertAiConnectionCreateAccess (cognitive 18): ai-connections.assertAiConnectionCreateAccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d248d8b18af5b7d07662c8eab85d9559cf8dac5731a5bb2636a22624af33f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.buildFeedbackTraceBundleFromRow (cognitive 18): feedback.buildFeedbackTraceBundleFromRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 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":"server/src/services/feedback.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0244136d862f82f542982476294806a63fc8db6556d08719630169a15e4b982"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact-review-documents.artifactReviewDocumentService.ensureForWorkProduct (cognitive 18): artifact-review-documents.artifactReviewDocumentService.ensureForWorkProduct has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 pts), boolean chains 3, 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":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2a0593a92aa6a9df82878e7b4ab9a2d86d21521521e5dc7aa218f0b929684c"}},{"ruleId":"D2","level":"warning","message":{"text":"status-cards.statusCardService.tickDueStatusCards (cognitive 18): status-cards.statusCardService.tickDueStatusCards has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 3 (6 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). 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 915, 921). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad89e6d948bde374c051521820dba9e5ff5c7926e650584b5576665b5f50c6"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-continuations.decisionContinuationService.sweep (cognitive 18): decision-continuations.decisionContinuationService.sweep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-continuations.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc27e212b9dbf98dc1bff708d6fdb89b320509269610b55a0037baba4ec5a60"}},{"ruleId":"D2","level":"warning","message":{"text":"secret-proposals.createSecretProposalsService.applyBindingApproval (cognitive 18): secret-proposals.createSecretProposalsService.applyBindingApproval has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, 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, 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"c440319500a122ec99d6e7626cd72f76a5ab8d0214d85ecb171603457d01d40c"}},{"ruleId":"D2","level":"warning","message":{"text":"smoke-lab.smokeLabService.issueToken (cognitive 18): smoke-lab.smokeLabService.issueToken has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, 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":"server/src/services/smoke-lab.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd207bf4ca0a8cb0e46d02a6ac04fb4c7903d5bacb54fab7ebfbe6784cf18c82"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.parseGitHubSourceUrl (cognitive 18): company-portability.parseGitHubSourceUrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 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":"server/src/services/company-portability.ts"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b23824eecf4274ab8b6ec241b3ca6275a3cbe833a01bccc0b4ad649d59808a"}},{"ruleId":"D2","level":"warning","message":{"text":"public-mcp.publicMcpManagementRoutes (cognitive 18): public-mcp.publicMcpManagementRoutes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 18 points belong to 11 function items inside it that branch (requestOAuth, a function literal at line 217, deviceOAuth, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/public-mcp.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddedc2327ffdede4d84d2f238ae234f6f7905654a6e3cdf1cc60dfa038ae7636"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentRoutes::assertAgentDefaultEnvironmentSelection (cognitive 18): agents.agentRoutes::assertAgentDefaultEnvironmentSelection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 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. This shape REPEATS in the file: 7 other methods here (agents.agentRoutes, agents.agentRoutes::assertSelectableAdapterType, agents.agentRoutes::applyHiringAgentAuthInheritance, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 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":"server/src/routes/agents.ts"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a652bffbd66ae44f5f0d3bb2d45d588591849a2e495f98a698ec79faebc50e"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.buildIssueSubtreeDiagnosticsResponse (cognitive 18): issues.buildIssueSubtreeDiagnosticsResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (5 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"f909df15476c20f0ff1962c0c09680016926de06cecd695bdc149e2f2a5184cd"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::assertIssueThreadInteractionResolutionAllowed (cognitive 18): issues.issueRoutes::assertIssueThreadInteractionResolutionAllowed has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 5, if/else 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":6321}}}],"partialFingerprints":{"codehealthFindingId/v1":"179aa73d3607c391eec589686d4517ee0e2e5d90c8da344809c95575af1be830"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::assertNativeRunKeepsOwnExecutionLock (cognitive 18): issues.issueRoutes::assertNativeRunKeepsOwnExecutionLock has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8, 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":14801}}}],"partialFingerprints":{"codehealthFindingId/v1":"5539ab2269ca18364a99d16f509710abb44d7e17ec3338fb7deaa261a709776d"}},{"ruleId":"D2","level":"warning","message":{"text":"approvals.cancelApprovalAndNotify (cognitive 18): approvals.cancelApprovalAndNotify has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 5, boolean chains 4, 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":"server/src/routes/approvals.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eed62d17f84146043db21f25f77d48aa6c987a12735cdd8ce958b65aaca114b"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-incoming.slackIncomingContext (cognitive 18): idle-incoming.slackIncomingContext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"839ea51646aa293e269d188780218dc30707cf382c8ea70a34ce3cfba53d419b"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-local-folders.resolvePluginLocalFolderPath (cognitive 18): plugin-local-folders.resolvePluginLocalFolderPath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e526a0f8549a4d972b1e2817f13eb6b7f32ba8c2b430821d0d0a329bc3b787"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.runtimeConnectionIntentRoutes (cognitive 18): connection-intents.runtimeConnectionIntentRoutes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 4). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 66, 48). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-intents.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9496a2fdfea349afc936f1b656741b0ca731d6e4756530465c69f43e48e45909"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-lifecycle-delivery.registerPluginLifecycleDelivery.prepareForIdleSleep (cognitive 18): plugin-lifecycle-delivery.registerPluginLifecycleDelivery.prepareForIdleSleep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 8, error handling 1. 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 items inside it that branch (a function literal at line 278, current). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f958fc7887ae0bc712f2460a35b3e532d632cfbe62db19f28e8ff0b568a4357c"}},{"ruleId":"D2","level":"warning","message":{"text":"live-event-delivery.createLiveEventDelivery.receive (cognitive 18): live-event-delivery.createLiveEventDelivery.receive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a257b676708b60a5a40eceeff4e3148d72fc694beb919cc6208f3f2946f6c066"}},{"ruleId":"D2","level":"warning","message":{"text":"online-legacy-workspace-recovery.inspectRemoteRecoveryHold (cognitive 18): online-legacy-workspace-recovery.inspectRemoteRecoveryHold has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4e731565930aff67eb0b2b9aeec0cf48d542901181cb40c08092437d55ede2"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-native-run.prepareNativeHeartbeatRun (cognitive 18): prepare-native-run.prepareNativeHeartbeatRun has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 5, if/else 4 (nesting depth added 1). 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 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":"server/src/services/native-runtime/prepare-native-run.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5910c886d2744cf86afe6d059660324b3702d10c560d6367b7a4d2460532e17b"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyContext.CompanyProvider (cognitive 18): CompanyContext.CompanyProvider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 163, 150, 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":"ui/src/context/CompanyContext.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f3f26e1006e24164510f3f19c30e4d86990e7c551d84ab9c176ae8b52ae99d"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerAddMenu.ComposerAddMenu (cognitive 18): ComposerAddMenu.ComposerAddMenu has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (content, a function literal at line 38, a function literal at line 39, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerAddMenu.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"11db91ba17e232577cb08874d783c0664d657f1ef0c75ac768fcfe37fb8adc8b"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryView.queryViewKind (cognitive 18): QueryView.queryViewKind has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/QueryView.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60f2d165a93e68f9a74a79be55d70cae08f789a42667301380b96434c2839fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectRepositoryInput.ProjectRepositoryInput (cognitive 18): ProjectRepositoryInput.ProjectRepositoryInput has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 3 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectRepositoryInput.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebfc83da275cd5293f7bb6b9d2a331195081e0fa2d9c7edb416a52a2953968d"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCharacter.AgentCharacter (cognitive 18): AgentCharacter.AgentCharacter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 4. Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 35, 43, 48, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentCharacter.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5936551d3794bcbd8fcb05ce6c8cd022cc5c976c3989205155b6a1990b64b0c1"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-chat-bootstrap.loadIssueChatBootstraps (cognitive 18): issue-chat-bootstrap.loadIssueChatBootstraps has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-bootstrap.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"991384042ed2adbba2209d9dba86d630887b9e15b98ae69f81c84a7cc89ea2f8"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownBody.CodeBlock (cognitive 18): MarkdownBody.CodeBlock has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (10 pts), boolean chains 7, 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4681a73abfe0778a22ebbb6b0910812f00eb2673de899c43be5b75d4cd9ea343"}},{"ruleId":"D2","level":"warning","message":{"text":"inbox.buildInboxKeyboardNavEntries (cognitive 18): inbox.buildInboxKeyboardNavEntries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). Of this number, 10 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f02ca7f3da78fbf5761fa552205b03a9d764727ddae641a7d01308697258559"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-config-patch.buildAgentUpdatePatch (cognitive 18): agent-config-patch.buildAgentUpdatePatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 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":"ui/src/lib/agent-config-patch.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d9e7e86d20086a2b540e0f9b4151d5d8ef06ab13d13fda14388b79faaa2b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorTasks.CoordinatorTasks::updateFilters (cognitive 18): CoordinatorTasks.CoordinatorTasks::updateFilters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (CoordinatorTasks.CoordinatorTasks) 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":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6821744ce36278ff7036db98c77a06ebd5d0e930d60d6caf66a66e20338a00e"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery-display.deriveRecoveryDisplayState (cognitive 18): recovery-display.deriveRecoveryDisplayState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 1 (3 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":"ui/src/lib/recovery-display.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a607f7168110b949c5fbd8140c597043133f4c32dc30424478f405f7e16be2"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockedInboxView.BlockedInboxRow (cognitive 18): BlockedInboxView.BlockedInboxRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BlockedInboxView.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421dfd61a934abe24768e0cf41b637be9d127e9dcc3820d888e6519604155f5"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyInbox.ApprovalInboxRow (cognitive 18): LegacyInbox.ApprovalInboxRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (14 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b610bca6130346f73c121935a85479aa5fda47b2f2941a8fba79791be72e202"}},{"ruleId":"D2","level":"warning","message":{"text":"Inbox.ApprovalInboxRow (cognitive 18): Inbox.ApprovalInboxRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (14 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd044b079ea92e107181d2c92f5bc9f2caf5040a2f5c47aef51212b8bc20ed2e"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolActivityRow.ResearchDetails (cognitive 18): TaskChatProtocolActivityRow.ResearchDetails has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 2 (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":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0307943d4f05168358435d0a899f77a43457d9fedbefd9418b64d52095f1b3a9"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript-adapter.paperclipRunnerActivityItems (cognitive 18): transcript-adapter.paperclipRunnerActivityItems has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 8, match/switch 1 (nesting depth added 5). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 1480, 1478). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cae9e015b155b1022dec806a786f721f316b7653cfee3b2e7df5550e8328c0"}},{"ruleId":"D2","level":"warning","message":{"text":"transcriptPresentation.summarizeToolResult (cognitive 18): transcriptPresentation.summarizeToolResult has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 5 (8 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":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c679eeeef87eebe244cd6d77dd1f5d6a6e13f079e2262fe6ca64866c48ee2863"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.fallbackTextParts (cognitive 18): IssueChatThread.fallbackTextParts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"40041c1353ba85c418e5204a31bf9b899e979e812ff5d48f84e9ad32657a8277"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatComposer::resendUncertainSubmission (cognitive 18): IssueChatThread.IssueChatComposer::resendUncertainSubmission has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (IssueChatThread.IssueChatComposer, IssueChatThread.IssueChatComposer::submitComment, IssueChatThread.IssueChatComposer::attachFile) 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4976}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fb636632c84568b3c173d60bd6095f2c3115aae31307aaf085d7766bb9c810"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-output.getOutputFileGlyph (cognitive 18): issue-output.getOutputFileGlyph has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5 (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":"ui/src/lib/issue-output.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6965dcc254908c20436932a65ba7e58fd43671a8d3dc8ef26d2ff0302a16bf6"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueRelatedWorkPanel.ExternalObjectsSection (cognitive 18): IssueRelatedWorkPanel.ExternalObjectsSection has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 1 (nesting depth added 8). 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 102, 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":"ui/src/components/IssueRelatedWorkPanel.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ca9b14b0bd400ede0a4f047372dd7a0c4fba170c13bac1ff61a1c83df0171f"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueMonitorBanner.IssueMonitorComposerStrip (cognitive 18): IssueMonitorBanner.IssueMonitorComposerStrip has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 3, if/else 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":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a13d950df67d4e756d52d2b03550069bb5580e5d08d035e146e2243f84209b"}},{"ruleId":"D2","level":"warning","message":{"text":"searchable-select.scoreTokenAgainstText (cognitive 18): searchable-select.scoreTokenAgainstText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 1 (nesting depth added 4). Of this number, 11 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, 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":"ui/src/lib/searchable-select.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad48d65b99a9035e41e025c8e6055a1b95b138ccd18a1b27ada0077c11789cb"}},{"ruleId":"D2","level":"warning","message":{"text":"FileViewerContext.EnabledFileViewerProvider (cognitive 18): FileViewerContext.EnabledFileViewerProvider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 5 (7 pts), boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 18 points belong to 5 function literals inside it that branch (lines 231, 264, 220, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac812d5dba6ccc2e1c59f7e5fea6a39d9166d5bc61e337277556df8ec1874d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactFileChip.ArtifactFileChip (cognitive 18): ArtifactFileChip.ArtifactFileChip has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 5, boolean chains 2 (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 9 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":"ui/src/components/ArtifactFileChip.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651fe1c446dfa0b95ae2cca62ebe2dd9f8820553d8f5afe89cb2620cc716ced"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatLiveRunPill.toolCountSummaryFromEntries (cognitive 18): TaskChatLiveRunPill.toolCountSummaryFromEntries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatLiveRunPill.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c071e440f7975e1a75d1d73e2217581abd13a2d1fcfbe9dc6abf4261d69dc129"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityRow.EntityRow (cognitive 18): EntityRow.EntityRow has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, 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":"ui/src/components/EntityRow.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4434fc0f4b6c6e9baf92185036675509084bc4cfd00b1add09cee2055c96c2b3"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-format.formatIssueUpdatedAction (cognitive 18): activity-format.formatIssueUpdatedAction has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 7, 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a073b7af2cc8e773bfd255856a48dd92c3368f7997f2f55a4ce086f02da2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.summarizeToolResult (cognitive 18): RunTranscriptView.summarizeToolResult has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 5 (8 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc281b3bbca87c7a26a82e34eab2dc7b27cac9b17f3ccc7651189fe9c88f6135"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.TranscriptEventRow (cognitive 18): RunTranscriptView.TranscriptEventRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (16 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef72efa79b8a24a3455883129e348bf2fe7133da742a0222a2a2a003808228d"}},{"ruleId":"D2","level":"warning","message":{"text":"RunTranscriptView.RunTranscriptView (cognitive 18): RunTranscriptView.RunTranscriptView has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, ternaries 3, if/else 2. Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1887, 1862). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0b0c1e56c749e28b8ca6d6550ee13d3e6605f517dcb5d0a01bbfe31f1a84cd"}},{"ruleId":"D2","level":"warning","message":{"text":"load.loadAgentConfiguration (cognitive 18): load.loadAgentConfiguration has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, if/else 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 89, 52, 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":"ui/src/lib/agent-configuration/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78309411279429fb623d1a082066c64a25c74f3699540e1d55408f0b0459440"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineOverview.RoutineOverview (cognitive 18): RoutineOverview.RoutineOverview has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 1 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineOverview.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44d9f845a49cc0202a47577fa82969e12f2dbf25263bf3ba6668abe67905170"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.groupAttentionItems (cognitive 18): attention.groupAttentionItems has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"849dd964f687d9f716a0799f61317d6f72eada4d72dca15e6ccd28d7b982659a"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionModelSettings.DecisionModelSettingsSection (cognitive 18): DecisionModelSettings.DecisionModelSettingsSection has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 4 (5 pts), boolean chains 3 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8507e5d9df106ebc97cdfb58472f02e61cac6eaf423a3fbfff90d42b96bb9476"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnSlackAppSetup.OwnSlackAppSetup::create (cognitive 18): OwnSlackAppSetup.OwnSlackAppSetup::create has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 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. This shape REPEATS in the file: one other method here (OwnSlackAppSetup.OwnSlackAppSetup) 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d018fea0d7044310d4b9dc45f13df24cc22ff98de5657f9742902b0e139318e7"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubBotManagement.GitHubBotManagement (cognitive 18): GitHubBotManagement.GitHubBotManagement has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), error handling 1, ternaries 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28c03121a71183f68e411266ff5f9b41bd2575da08e947d6f32f054563f8811"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.CatalogList (cognitive 18): CompanySkills.CatalogList has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 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 (renderRow, a function literal at line 1669). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a059d98e8e1c47223266ab44c71506e60b05f32814fd024b48c01fe7ef2ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStudio.SkillPathDialog (cognitive 18): SkillStudio.SkillPathDialog has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 6 (7 pts), boolean chains 1 (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 2 function items inside it that branch (a function literal at line 1799, submit). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be2342836bb515ae3bb775f937a730009ef21f804f982f6869425e5394e38a5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-secret-access.buildSecretAgentUsage (cognitive 18): agent-secret-access.buildSecretAgentUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 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":"ui/src/pages/secrets/agent-secret-access.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0e168b2961f704014462d97736e85ab59b05239b092c333af858c77deff850"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportFromVaultDialog.validateDraftRow (cognitive 18): ImportFromVaultDialog.validateDraftRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca2a09263ceca1b226682cd61d63792f7a6149c19741f13e2903e49c2f9bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.buildActionMap (cognitive 18): CompanyImport.buildActionMap has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (6 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"674740970d7106474dd5715eac3168d41422dbdb33f2b7027566b8d0394e4686"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.buildConflictList (cognitive 18): CompanyImport.buildConflictList has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (4 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"35efc5ef3f231c265604ab74d0aba44d6c3e762a10899daedd859d7eb25dc310"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyImport.watchImportJob (cognitive 18): CompanyImport.watchImportJob 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecbdfa016b785c936ccadc17a698f015bd5c8d6dfecb6ec0952b510e9a55a10"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignGuide.DesignGuide (cognitive 18): DesignGuide.DesignGuide has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 3. Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, 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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df725f8b42a3eef665b4e0a0672a70bfd6b7c0fa6c3a9f990faa98cffeab19a"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginSettings.PluginConfigForm (cognitive 18): PluginSettings.PluginConfigForm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 8, ternaries 1. Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1042, 995, 1017, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d62c0fcaef7b5f6fc97c8c88e328af91d5343412eb3057bf4749fb095f0352b"}},{"ruleId":"D2","level":"warning","message":{"text":"NewAgentSetup.Setup::finish (cognitive 18): NewAgentSetup.Setup::finish has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 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. This shape REPEATS in the file: 5 other methods here (NewAgentSetup.Setup, NewAgentSetup.Setup::buildConfig, NewAgentSetup.Setup::preparedConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a873205f554bec2b16fb031c09ec612cdf9b601a5efc807d68d02c35c5c1aa"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyExport.ExportPreviewPane (cognitive 18): CompanyExport.ExportPreviewPane has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 4, if/else 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f0d942505045b0c934a837c339714defd1ea098b6228acb8436cfb4d6cbbbe"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanySkills.production.CatalogList (cognitive 18): CompanySkills.production.CatalogList has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 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 (renderRow, a function literal at line 1759). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7530ca77546a666c10eb90a1e73b1b21e60e8c6255a7eecc1a59d0ad2c7b4d1"}},{"ruleId":"D2","level":"warning","message":{"text":"App.OnboardingRoutePage (cognitive 18): App.OnboardingRoutePage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 2, if/else 1 (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/App.tsx"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"14027b0a8389bc4e2e51cc5101154e1d03c2a7310606b4834bd4b6229372a059"}},{"ruleId":"D2","level":"warning","message":{"text":"excerpt.documentExcerpt (cognitive 18): excerpt.documentExcerpt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, 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":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f15fca2b858b5468f162e2be88cb92ca8914cb3338ef97b965678c42ef9024"}},{"ruleId":"D2","level":"warning","message":{"text":"excerpt.documentExcerpt (cognitive 18): excerpt.documentExcerpt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, 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":"ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc57f72e669d4afc1f1bc9e2f0b61620f15bfedfc278c79331f6a0b5a380b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelCard.PanelCard (cognitive 18): PanelCard.PanelCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 1 (nesting depth added 5). 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":"ui/src/artifact-directions/directions/d4-hybrid/PanelCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7c6145ca6b50e4e6e635061829df9435196168b2a9b284518bd77c1ebecb12"}},{"ruleId":"D2","level":"warning","message":{"text":"main.Lab (cognitive 18): main.Lab has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 4, boolean chains 1 (nesting depth added 7). Of this number, 11 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":"ui/src/artifact-directions/main.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd273e3864bb2c8a0ffda976d3be5d07d523182209386555f392c2d2fab8d25"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactUploadControls.ArtifactUploadContent (cognitive 18): ArtifactUploadControls.ArtifactUploadContent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (18 pts) (nesting depth added 9). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 42). 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":"ui/src/components/artifacts/ArtifactUploadControls.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b689542ccc2211208eb52181233e0e2709ab29d50f0aae34475628b07496e5"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleWorkspaceServices.GoogleWorkspaceServicesDialog (cognitive 18): GoogleWorkspaceServices.GoogleWorkspaceServicesDialog has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 5, if/else 2 (3 pts) (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/GoogleWorkspaceServices.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3e919e8109c56306b3080742d2d4ea93f8ef10989e9c67501b586a8006b07f"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamCatalog.StepPreview (cognitive 18): TeamCatalog.StepPreview has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 15, 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03b7880d6ce7e4fa3eec9e2a85319a68d0f82c870f7087136046de41c6a15b8"}},{"ruleId":"D2","level":"warning","message":{"text":"generic-mcp-connect.genericConnectPayload (cognitive 18): generic-mcp-connect.genericConnectPayload has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (6 pts), boolean chains 5, if/else 3 (5 pts), 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":"ui/src/pages/apps/generic-mcp-connect.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c74c1821be111c081a1a9d95a9f0217f61bf1e51f6d83cb868396bf37337e68"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectorPages.AiConnectorPages (cognitive 18): AiConnectorPages.AiConnectorPages has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (7 pts), if/else 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 10 function items inside it that branch (a function literal at line 75, a function literal at line 153, a function literal at line 65, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"997128780abccde146853270cdbe844ec77a4beef0941950dcb9651aa18e067d"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletedActivityPreview.CompletedActivityPreview (cognitive 18): CompletedActivityPreview.CompletedActivityPreview has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 7, if/else 1 (nesting depth added 4). 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":"ui/storybook/prototypes/completed-activity/CompletedActivityPreview.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b42795bc89f0235e211cbeeb574c1688ed2d80598fc28f7c89bcab8f9558c21"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.input_receipts (cognitive 18): Client.input_receipts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511ada903ddb0c5582d49e5eff1d71ec0f975c49d447b450d2aecd9856dc33d"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.input_receipts (cognitive 18): Client.input_receipts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v8/client.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73fc2ec5750efcc01fb4dd2e65cc85a498deae22d38b2e26b38e9c9521282cb"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeProviderCommandExecutor::execute (cognitive 18): NativeProviderCommandExecutor::execute 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/paperclip-runner/runner/crates/runner-core/src/native_provider_backend.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ba116fbe4199a33b4d49b6f671891a65ba6243c09089075e4f5ffecf22f92e"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::claude_managed_provider::reconcile_managed_session (cognitive 18): paperclip_runner_core::claude_managed_provider::reconcile_managed_session has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33acffd4da79024f7644f7f89651247055910c10083ccf8d176256fdb913b44"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::codex_provider::validate_opencode_question_set (cognitive 18): paperclip_runner_core::codex_provider::validate_opencode_question_set has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4741}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f526777730146eca18219b48070b4db6ceb892ac3250ecdf8fcf74c10b909a8"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_bridge::canonical_json_number (cognitive 18): paperclip_runner_core::provider_bridge::canonical_json_number has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f91dc69e61df49fa983ef477bd0e34cfa04321489cf2137c50cee82e68be1d6"}},{"ruleId":"D2","level":"warning","message":{"text":"store.writeConfig (cognitive 17): store.writeConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 1 (4 pts), error handling 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":"cli/src/config/store.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"960364b183116b02ececcfc007c6931b9a6223f7c33e03f0417a08f699b9784b"}},{"ruleId":"D2","level":"warning","message":{"text":"install.installCommand (cognitive 17): install.installCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 4 (6 pts), error handling 2 (3 pts) (nesting depth added 6). 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 371, 392). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/install.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6d2e78b5467dbca780399dd514f2816fee1b58e897c4d408f09fdb3aef0331"}},{"ruleId":"D2","level":"warning","message":{"text":"company.uploadCompanyImportTransfer (cognitive 17): company.uploadCompanyImportTransfer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (4 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (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":"cli/src/commands/client/company.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"66abd1f57e013b369f042c8851449a20d8c97edd2e9724e292629bdbb3f1a8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"onboard-service.waitUntilDashboardReady (cognitive 17): onboard-service.waitUntilDashboardReady has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/onboard-service.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2843e3d9eccd3d54ba6c4f18e461bf92b4dd967d93b3d2b7feec2d06450e1dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run.heartbeatRun::printAdapterInvoke (cognitive 17): heartbeat-run.heartbeatRun::printAdapterInvoke has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 5, boolean chains 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. This shape REPEATS in the file: 2 other methods here (heartbeat-run.heartbeatRun, heartbeat-run.heartbeatRun::handleEvent) 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf6f9616532a111b2fe123b0909e827cc131743ca285899c75e438b8766c7b3"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-restore-diagnostics.sanitizeWorkspaceRestoreDiagnostic (cognitive 17): workspace-restore-diagnostics.sanitizeWorkspaceRestoreDiagnostic has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d9e93a48478ef48213597afc0279add082d97894d019d85ebb85f864eacdf5"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-target.readBridgeForwardResponseBody (cognitive 17): execution-target.readBridgeForwardResponseBody 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"6745a417819355f2051f22c8e0b6ec4099859633e6d07ce60b3458b950f17924"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.buildCodexLocalConfig (cognitive 17): build-config.buildCodexLocalConfig 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8390b401118703eab5d55b0d0de6b0f44ec6982a818daa423da4cab806f64e"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.parseEnvBindings (cognitive 17): build-config.parseEnvBindings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/ui/build-config.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b2403a204a7fd93bbb9b91a6b465789d1ddcd39c7559e87b1bd159d06e0e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.redactForLog (cognitive 17): execute.redactForLog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"547f58237e7a0463538c3582ff676ad33d325b73fd64243455a6b06aeff96589"}},{"ruleId":"D2","level":"warning","message":{"text":"models.ensureOpenCodeModelConfiguredAndAvailable (cognitive 17): models.ensureOpenCodeModelConfiguredAndAvailable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (7 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e114b33a1e8f2383ead06394b82daf8ad0a94f0f18972330fcc2e5194d27ba"}},{"ruleId":"D2","level":"warning","message":{"text":"build-config.buildOpenCodeLocalConfig (cognitive 17): build-config.buildOpenCodeLocalConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/ui/build-config.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"783dc65bf3ff09977c92497354ce7c44272ec26f44e0d8b4a5128920cd4340a6"}},{"ruleId":"D2","level":"warning","message":{"text":"clean-poisoned-claude-sessions.main (cognitive 17): clean-poisoned-claude-sessions.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). 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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"25496bdc8e93e488a279863d80d2bb2b01f4598c1b43721c3d0768a6d858b4fc"}},{"ruleId":"D2","level":"warning","message":{"text":"check-migration-safety.splitConjunctivePredicate (cognitive 17): check-migration-safety.splitConjunctivePredicate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), 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/db/src/check-migration-safety.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb51979fa76d955d1b25163c9761936e8fb073037901b69f960b9b71d049f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.readConfig (cognitive 17): runtime-config.readConfig has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 2, if/else 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/runtime-config.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf66874e16ada69fca3f55a84175cde40fb06f673afbaf4ba8c012e5f2688a64"}},{"ruleId":"D2","level":"warning","message":{"text":"result-normalization.normalizePrpResultSignals (cognitive 17): result-normalization.normalizePrpResultSignals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 223). 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/paperclip-runner/src/protocol/result-normalization.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcd65602d804e9b16d4fe86f1cc06fd11798a3a16de63cfb65394e591df1a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context.parseNativeRuntimeContext (cognitive 17): runtime-context.parseNativeRuntimeContext has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 6 (7 pts), boolean chains 1 (nesting depth added 2). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/src/contracts/runtime-context.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89e34398b1ae2c95dcb284f51a33a90dcb4ac7bd8ba0b8c0f3cfa724bdbb0bf"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-extensions.createCursorProfileExtensionAdapter.request (cognitive 17): cursor-extensions.createCursorProfileExtensionAdapter.request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"103eef295407f5847c0309d40aa5ca7979c40a70f8c9c3f9ea903d3a827cc569"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-failure.createProviderFailure (cognitive 17): provider-failure.createProviderFailure has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (10 pts), boolean chains 7 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: 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/paperclip-runner/src/drivers/provider-failure.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dd219438c6ef102bd0d76d553f29774fa0935a282a6d91b511b7d11e0fabc9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-startup-trust.trustCodexStartupRoot (cognitive 17): codex-startup-trust.trustCodexStartupRoot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 1 (2 pts), 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/paperclip-runner/src/drivers/codex/codex-startup-trust.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc3671afaf6f59edefc6640e731871c48b37f41d50eb3e503964fa070ea3950"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-runner.dispositionIssues (cognitive 17): codex-runner.dispositionIssues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c666c53cdd9f62688d65d4fd485e00ae2bcc5fcba85e17088dc785867568e57"}},{"ruleId":"D2","level":"warning","message":{"text":"durable-prp-control-plane.canonicalJson (cognitive 17): durable-prp-control-plane.canonicalJson has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f6724cc315cace75b8cb332fa7ce55c52118be6f49b38060f6dbaba28de75f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeSseParser.push (cognitive 17): OpenCodeSseParser.push has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4e6c0f421a0c7c57cbc719ca7142009b12facbf0b696bc9fc43da6ba9a78be"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-trace-file-sink.createProviderTraceFileSink (cognitive 17): provider-trace-file-sink.createProviderTraceFileSink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, error handling 2 (3 pts), ternaries 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/provider-trace-file-sink.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3120a689b627f6f5470efa6762053f4ed2a7875750d676807e979a82102795f"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-input-coercion.coerceValue (cognitive 17): tool-input-coercion.coerceValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (nesting depth added 5). Of this number, 12 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/paperclip-runner/src/drivers/tool-input-coercion.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6380584a3d4cdb114fad7128daff69d71c6e7d1b3e07c8e551ae556ab23c40f4"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeServerDriver.#open (cognitive 17): OpenCodeServerDriver.#open has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9498cf016a858039224eee07d1a5c98005bfc32d559ad3f172e85b24ba47910"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-server-driver.api (cognitive 17): opencode-server-driver.api has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (4 pts), error handling 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf78e922f049d9ee05de5dd1a3e6adba96a201aa795e071c5867f87d136f65"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-server-driver.waitForHealth (cognitive 17): opencode-server-driver.waitForHealth has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (4 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7de86086b3739c1159a4b533cec21dea504d40900397318410829b813bd3833"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#claimReleasedRunner (cognitive 17): DurablePrpCodexTransport.#claimReleasedRunner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4949}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2a429072c6eeec11b8381c1b52c1b45ed7e441b8aeed746f21919fabd4d742"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#commandResult (cognitive 17): DurablePrpCodexTransport.#commandResult has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8128}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2401690c565638ed60ff28bc4b4f4427c6b9dbee70b76d70f338c6120cdc39"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadItems.WorkspaceChanges (cognitive 17): ThreadItems.WorkspaceChanges has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 13 (15 pts), if/else 1 (2 pts) (nesting depth added 3). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS 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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb8827ac7960efaa1d50d5df481b29a86b5704516e655dcd8c90f8a65a9fc0a"}},{"ruleId":"D2","level":"warning","message":{"text":"build-inputs.walk (cognitive 17): build-inputs.walk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/build-inputs.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6c0a13cec29ab28d8f9e62e009a3a93ddbba35e43cea5fd2fb774b46d1c16e"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi-provider-pack-smoke.smokeKimiProviderPack (cognitive 17): kimi-provider-pack-smoke.smokeKimiProviderPack has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (2 pts), loops 2, 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 3 function items inside it that branch (a function literal at line 62, a function literal at line 124, connect::fail). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/kimi-provider-pack-smoke.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b15e45d60e8c6ad1b64175857cd7a9928a1a61790640e4f6757c73f034aaba6"}},{"ruleId":"D2","level":"warning","message":{"text":"contract-fingerprints.rustTestOnlyFiles::visit (cognitive 17): contract-fingerprints.rustTestOnlyFiles::visit has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (6 pts), ternaries 3 (6 pts), if/else 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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"682edfe37c5ea88ffe86d4dc444c36ee5c5b69d505644f65685148df5123a8ce"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.secretValues (cognitive 17): archive.secretValues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 6). 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 (visit, a function literal at line 17). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"48499ebb416e2bcaf7575db13b1529a069f676b0ff1bbe4f3b8118143b17129f"}},{"ruleId":"D2","level":"warning","message":{"text":"issue.paperclipQuestionSchema (cognitive 17): issue.paperclipQuestionSchema has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c89b0df84535807c94da0e80ddfdf5d00fa14b405a9fc3a5399c04dbdc9eea"}},{"ruleId":"D2","level":"warning","message":{"text":"issue.requestCheckboxConfirmationPayloadSchema (cognitive 17): issue.requestCheckboxConfirmationPayloadSchema has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 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/shared/src/validators/issue.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"884a52ec9fe97787f2f44f26982ccedfc1c35bd77ef3988da6d5def0f87466db"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipChatSdkStateAdapter.dequeue (cognitive 17): PaperclipChatSdkStateAdapter.dequeue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9435480b4294987c933dc8c9705839b0a1c1749eda013b47813aec2c83afae54"}},{"ruleId":"D2","level":"warning","message":{"text":"aws-secrets-manager-provider.createAwsSecretsManagerProvider.deleteOrArchive (cognitive 17): aws-secrets-manager-provider.createAwsSecretsManagerProvider.deleteOrArchive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (4 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fa0c626e5429ec9edc7d84a7f9fc1cf39aa1bed6da8233ba34913b3bdbdbdf"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-resume.rebindNativeSessionCheckpoint (cognitive 17): native-session-resume.rebindNativeSessionCheckpoint has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 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":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a80d1695f8183da03cff0d9e0410b7e556c9e8721121457bacc16740ac9a40c"}},{"ruleId":"D2","level":"warning","message":{"text":"confirmation-decision.readPersistedConfirmationDecision (cognitive 17): confirmation-decision.readPersistedConfirmationDecision has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), 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":"server/src/services/confirmation-decision.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c4db7141d8b9e5957f6a9ab4ce2ae758eb5137e34724b9fdb6bf4f7adb5f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createAuthorizationService.applyResponsibleUserIntersection (cognitive 17): authorization.createAuthorizationService.applyResponsibleUserIntersection has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 6, if/else 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b18359f0598af617c11a348f8932c0de68eb01af4e9fd36bcf4cdd37d86c690"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.listAgentSecretAccess (cognitive 17): secrets.secretService.listAgentSecretAccess has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5, boolean chains 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1900, 1858). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1d08c2aa70c456bc4d156acfc5b5f9bc7696ce944aebb297e315a6b2a8e820"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.secretService.normalizeEnvConfig (cognitive 17): secrets.secretService.normalizeEnvConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f6e4d0f74d1deec315af74236b6b8b2f60e8d16dc8d5b714ac874bbb748cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"cursor-models.parseCursorModelsOutput (cognitive 17): cursor-models.parseCursorModelsOutput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (4 pts), boolean chains 3, error handling 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":"server/src/adapters/cursor-models.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e928e845ab5f2aa4286ae1773c86e02a230930a2571686e0f441dc5b2f6af0"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-api.collectReachableInterfaceHosts (cognitive 17): runtime-api.collectReachableInterfaceHosts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). 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":"server/src/runtime-api.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd6d40e99825f2c05aca460046a7d16db6705cc61b80de1e26baef17ec7cef0"}},{"ruleId":"D2","level":"warning","message":{"text":"s3-multipart.sendFileRequestWithRetry (cognitive 17): s3-multipart.sendFileRequestWithRetry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/s3-multipart.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bfd45a712f173d8a705e23260ccbd0c655931518a6a857802e79e968fb4ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"company-work-batch.takeCompanyWorkBatch (cognitive 17): company-work-batch.takeCompanyWorkBatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), 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":"server/src/services/company-work-batch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba83766a27a90bf9e6cfc6a6771cb11493bc1c12a3c8bf79d6ba8ada288bb4f"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.createOAuthDiscovery.preflightConnectionMetadata (cognitive 17): discovery.createOAuthDiscovery.preflightConnectionMetadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f507dcd855a0c0c80fcad9733f005122a9b8903008580eddc1a6fc0748fac6"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-lifecycle.parseTelegramLifecycle (cognitive 17): chat-provider-lifecycle.parseTelegramLifecycle has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"498ec713e0872347f823b76516ceaa8dc63f9b718123eed6716682f7e2cdefa5"}},{"ruleId":"D2","level":"warning","message":{"text":"isolated-repository-rehome.rehomeExpiredIsolatedRestoration (cognitive 17): isolated-repository-rehome.rehomeExpiredIsolatedRestoration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 1). 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: 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe6f44c59a24bb8c2993cad73711d3a9777d64bceafe756cc1bde86b5cd2951"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-version-retention.skillVersionRetentionService.pruneCompanyPage::eligible (cognitive 17): skill-version-retention.skillVersionRetentionService.pruneCompanyPage::eligible 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. This shape REPEATS in the file: one other method here (skill-version-retention.skillVersionRetentionService.pruneCompanyPage) 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9047dacce1459341b74c05bf689362202ba7be60d186275bfa403afbcb956560"}},{"ruleId":"D2","level":"warning","message":{"text":"external-object-idle-schedule.projectIdleExternalObjectSchedule (cognitive 17): external-object-idle-schedule.projectIdleExternalObjectSchedule has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-object-idle-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad63320ccef51b81851077b04737dc364bc1709106627e5d1971cd0f5c270f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"external-objects.externalObjectService.resolveObjectRefresh (cognitive 17): external-objects.externalObjectService.resolveObjectRefresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (7 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":"server/src/services/external-objects.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a7f3dc8c4b8ccdc91403f3ce3bf71d8587ff602c6067ec1490765a859a7ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"github-external-object-provider.issueSnapshot (cognitive 17): github-external-object-provider.issueSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a59dc6b72e26372b459d08de73c82177cdc73ec60d4b987945b0b5b53c40153"}},{"ruleId":"D2","level":"warning","message":{"text":"work-products.workProductService.update (cognitive 17): work-products.workProductService.update has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 3. Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 313). 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":"server/src/services/work-products.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d9cc36b6891062b7744794084ed4d3d7bb21aef9aa0c3eee26472eb26b43eb"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.validateProjectSkillImportPath (cognitive 17): company-skills.validateProjectSkillImportPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2, ternaries 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":"server/src/services/company-skills.ts"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"819f6a01aeec72c606ebc07da81e8ab7abd11423e03f320d204b002ae17cc5b5"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-sources.skillSourceService.detail (cognitive 17): skill-sources.skillSourceService.detail has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 4, if/else 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d5bc778f6fff41908777d471aacbccf18e880a97abea9dfc12505a49e07375"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skill-policy.resourceMatches (cognitive 17): company-skill-policy.resourceMatches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 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":"server/src/services/company-skill-policy.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1283b1726a014b7f6c463312f9d946b54a783f21473da7c171ffb20cf30ed789"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-hiring.prepareAgentHire (cognitive 17): agent-hiring.prepareAgentHire has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5, boolean chains 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":"server/src/services/agent-hiring.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"905bf79d2fa94c40014f04c8a6a21b6d977b0ea520bf09db2506c4f77fff8e6d"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-access-policy.profileEntryMatches (cognitive 17): tool-access-policy.profileEntryMatches has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f818b6180de10eb3c7248288aeacb2cd113100ea4c0250a4dcd56a48f69e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"bundled-plugins.resolveBundledPluginInstalls (cognitive 17): bundled-plugins.resolveBundledPluginInstalls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/bundled-plugins.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8716b7c8c606c01ff4cc70879e479d3738595f31f3b34f5236b28a2b707dd62"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveConnectedRemoteTool (cognitive 17): tool-gateway.createToolGatewayService.resolveConnectedRemoteTool has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":5206}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c50e8081190845392c4a9f5cf4dbbcf89ed2f6e8c6677dd15576df0ad6d797"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.resolveConnectionInstructionsForRun (cognitive 17): tool-gateway.createToolGatewayService.resolveConnectionInstructionsForRun has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). Of this number, 13 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11527}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0230fd8cc2facb079afb0648590cc7789993345f1a9ebfb3ddb54863a16168"}},{"ruleId":"D2","level":"warning","message":{"text":"subscription-identity.probeSubscriptionIdentity (cognitive 17): subscription-identity.probeSubscriptionIdentity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/subscription-identity.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0577d195da57290c9f6fc7467a861a252b2fdc0d5ddbbef8333284d319d2166f"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.mergeExecutionWorkspaceConfig (cognitive 17): execution-workspaces.mergeExecutionWorkspaceConfig has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (12 pts), if/else 5 (nesting depth added 1). 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, 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3185c87fe35890d9307b022045af971d044d221d769b7cddd6a45c12d2aec595"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-workspace-continuation.reusableDirectoryAfterPreparationFailure (cognitive 17): fresh-workspace-continuation.reusableDirectoryAfterPreparationFailure has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd093bfd5ca53b5a85364b37f139f172fdc970bee50814a24857350943f197d"}},{"ruleId":"D2","level":"warning","message":{"text":"routine-run-status.syncLockedRoutineRunStatusForIssue (cognitive 17): routine-run-status.syncLockedRoutineRunStatusForIssue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 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":"server/src/services/routine-run-status.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cfa4305a76b66760c89cfa466dc803b7f8375354f846a02d2d815e08f6fd17"}},{"ruleId":"D2","level":"warning","message":{"text":"native-failed-run-owner-release.hasCommittedNativeControllerContainment (cognitive 17): native-failed-run-owner-release.hasCommittedNativeControllerContainment has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bce6c3358f037641aa577ade048ba8124d62b0ccbb9b0622032cd3c10617653"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-probe.probeAgentDirectory (cognitive 17): agent-directory-probe.probeAgentDirectory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 27 (60 pts), boolean chains 10, loops 4 (7 pts), ternaries 3 (5 pts) (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. This shape REPEATS in the file: one other method here (agent-directory-probe.probeAgentDirectory::walk) 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d757266d48aa1f03bc4d80ac895a46bbca3b7cae23b8cb3bfb437a031cdbbde5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-directory-probe.retireAgentDirectoryTransferScratch (cognitive 17): agent-directory-probe.retireAgentDirectoryTransferScratch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 2 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e636ad34a2cce81ef8fbb9b4c1daa6900e4972ff479b51bd768edc646dd75bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"run-preparation.enrichWakeContextSnapshot (cognitive 17): run-preparation.enrichWakeContextSnapshot 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f3a2aab5b25b5f69dc8a82831164d19a65ad2fce24a30be1ab83dab044711e"}},{"ruleId":"D2","level":"warning","message":{"text":"run-state.createHeartbeatRunState.clearTaskSessions (cognitive 17): run-state.createHeartbeatRunState.clearTaskSessions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 1736). 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efdbb43d3998dc4d5ddaffce485634d817bfd4fac419dc253bc1c8401bdc1f0"}},{"ruleId":"D2","level":"warning","message":{"text":"assigned-work-invariant.pendingIntent (cognitive 17): assigned-work-invariant.pendingIntent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"54127e5d2252588d4d1f03bba51a648e41954b78a40ef8275c12d5da8d5b3bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-reconstruction.validateReconstructedWorkspaceDispatch (cognitive 17): native-workspace-reconstruction.validateReconstructedWorkspaceDispatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 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":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1548b056a287fbe72983dc8d45498cc6eb2949bd822864834cb04b36a3ddb06"}},{"ruleId":"D2","level":"warning","message":{"text":"native-execution-lease.renewNativeExecutionLeaseBatch (cognitive 17): native-execution-lease.renewNativeExecutionLeaseBatch has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 pts), loops 3 (nesting depth added 6). None of this is in the body itself: all 17 points belong to 2 function literals inside it that branch (lines 437, 432). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c281817748da865ce3628e05b5ea5cba40c832a80ec4450cdfc3f63a399b666"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.loadRunContext (cognitive 17): connection-intents.connectionIntentService.loadRunContext 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":"server/src/services/connection-intents.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"189d1a78bbadfc84f4188e142bf4c223823be88fdbf676965ff2a0367d4d9056"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.requestChatHandoff (cognitive 17): connection-intents.connectionIntentService.requestChatHandoff has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 4, if/else 3 (nesting depth added 2). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"356ccbe7c8b04d55dcfdc2909b8b4cb37c2d693a286a441c9b3570c2440b3722"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-intents.connectionIntentService.updatePhase (cognitive 17): connection-intents.connectionIntentService.updatePhase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcde5dbae56c8c3c9208e9301c542cff90f282fa6049428284ca8e315f89d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-files.createRemoteWorkspaceFiles.open.loadSaved (cognitive 17): remote-workspace-files.createRemoteWorkspaceFiles.open.loadSaved has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d52ca12f7d8c6b6af5f96d11f592a1b17e50a74da5078ddb8c73b4c86974b2"}},{"ruleId":"D2","level":"warning","message":{"text":"queue.createHeartbeatQueue.enqueueWakeup::existingDurableReceipt (cognitive 17): queue.createHeartbeatQueue.enqueueWakeup::existingDurableReceipt has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 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. This shape REPEATS in the file: one other method here (queue.createHeartbeatQueue.enqueueWakeup) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d438153d016854313a16b7efb94687ffd39dd167ee08f8c8f7883f2806ffb5"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade-readiness.readUpgradeReadiness (cognitive 17): upgrade-readiness.readUpgradeReadiness has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (9 pts), boolean chains 6, if/else 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":"server/src/services/heartbeat/upgrade-readiness.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66e06130afd2867f03ef10dea2839acb805f1ce93ec22108758bc61e29598bd"}},{"ruleId":"D2","level":"warning","message":{"text":"agentmail.executeAgentmailTool (cognitive 17): agentmail.executeAgentmailTool 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/agentmail.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c394f09b4b3a4168d533e5c93700d6ff2876b5c0000bf3e337fd612fbc3d25af"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-publication-stream.splitTelegramPublicationText (cognitive 17): chat-publication-stream.splitTelegramPublicationText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-stream.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d46d410b3e5f8e0e0465a6a18b7fb5d678903b951bc2a6842ab7510e27d7399"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createChatInboundAuthority.ensurePrincipal (cognitive 17): authorization.createChatInboundAuthority.ensurePrincipal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, ternaries 2 (3 pts), error handling 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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedca157a804c0554fdc7cb935c44a3b1eead905e5a6b7b0e3d0de981fad4f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-effects.createProviderEffects.finalizeProviderEffectFailure (cognitive 17): provider-effects.createProviderEffects.finalizeProviderEffectFailure has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 5, if/else 5 (nesting depth added 2). 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 255). 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af39cdc990fb156fe5e4e079639b7cb99ba7fa1e720e1341557bee3684e5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-webhook-config.nextCursor (cognitive 17): chat-github-webhook-config.nextCursor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"62747d38f91ea38e8d168c7e8f1325877c41ae08d761484fdddc1d13f1961ea6"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-inline-images.prepareTeamsInlineImage (cognitive 17): chat-teams-inline-images.prepareTeamsInlineImage has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 3, if/else 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b83f9d85200462a04eb2fb5b48051f4f801c0f5156764fc29ea64e37920c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-teams-file-transfers.teamsFileTransferService.resolveInTransaction (cognitive 17): chat-teams-file-transfers.teamsFileTransferService.resolveInTransaction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (6 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a43a92893eeada53183f076b9b240985cd1025dcde721e814b77f270db6bb80"}},{"ruleId":"D2","level":"warning","message":{"text":"publication-drafts.createTelegramPublicationDrafts.handleTelegramGenerationStopped (cognitive 17): publication-drafts.createTelegramPublicationDrafts.handleTelegramGenerationStopped has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 104). 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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65e1f5fbab2ce90f9104d91f4393a2729eba28e2adaf11591fdd917d5944b94"}},{"ruleId":"D2","level":"warning","message":{"text":"health.createToolRuntimeHealth.runtimeHealth (cognitive 17): health.createToolRuntimeHealth.runtimeHealth has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, ternaries 4 (5 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 10 function literals inside it that branch (lines 303, 283, 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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa687d507abb8dbed994a93cf6522381f0d0f5072e591288af9a4198cfed1f"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createToolActivityService.listConnectionActivity (cognitive 17): service.createToolActivityService.listConnectionActivity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 6 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). Of this number, 13 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":"server/src/services/tool-access/activity/service.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccedce4efdc243f3722b1dd0e6cf59e1cfbb1474f3428cfaf16b41bae3b3d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"nested-repository-worktrees.releaseNestedRepositoryWorktrees (cognitive 17): nested-repository-worktrees.releaseNestedRepositoryWorktrees has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 9). 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 312, 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":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e148bc0687269b0049ccd2caf34a7cadfb8753bafb07a5642825a9b168f622"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-execution-recovery.settleInterruptedNativeBootstrap (cognitive 17): legacy-execution-recovery.settleInterruptedNativeBootstrap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 351, 380). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24607ffb54a8bc030c20c11e264416cc478275ebc8fca7cd57be91852cf1d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-failed-workspace-recovery.preserveCancelledNativeWorkspaces (cognitive 17): native-failed-workspace-recovery.preserveCancelledNativeWorkspaces has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 1 (3 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 9). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4abafbac02a229aae40fe383049eae7f7b75ea53a1713c510b79bba819bf37e"}},{"ruleId":"D2","level":"warning","message":{"text":"native-failed-workspace-recovery.registerCancelledWorkspacePreservationWork::check (cognitive 17): native-failed-workspace-recovery.registerCancelledWorkspacePreservationWork::check has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ece5bf7351a84c6b0740933c8051669073f53ab8ec5655200d085b9292f4209"}},{"ruleId":"D2","level":"warning","message":{"text":"native-provider-artifacts.retainNativeProviderArtifacts (cognitive 17): native-provider-artifacts.retainNativeProviderArtifacts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 205, 356, 321). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"73011102bca2a829f14dffce05a8d77f892832b4ab5060fbfd2a8fb3f03bbe6d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-cancellation-delivery.waitForNativeCancellation (cognitive 17): native-cancellation-delivery.waitForNativeCancellation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1, loops 1 (nesting depth added 4). None of this is in the body itself: all 17 points belong to 3 function literals inside it that branch (lines 36, 31, 55). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-cancellation-delivery.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f31fbdf7362477a6e74521a599aacf1fe0939ca90b0bb4c06ade8d5e928407"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-runner-task.createPluginRunnerTaskOwner.retireSupersededTask (cognitive 17): plugin-runner-task.createPluginRunnerTaskOwner.retireSupersededTask has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a1109c014a157a6a3524a48fd5afe75863c015fd5e5473587ecd160d2d5e29"}},{"ruleId":"D2","level":"warning","message":{"text":"native-tool-trace.createNativeToolTrace.observe (cognitive 17): native-tool-trace.createNativeToolTrace.observe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-tool-trace.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c62c54cb8453498f99376e9ffda52eff7eaba8534aab76502114493cf518f0"}},{"ruleId":"D2","level":"warning","message":{"text":"case-agent-read.loadAgentCaseDocument (cognitive 17): case-agent-read.loadAgentCaseDocument has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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":"server/src/services/case-agent-read.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cacb5695db1f6453b64dc41b43a7ac34a5c7c8c60144b2279f3c87216982ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"openapi.applyNumberChecks (cognitive 17): openapi.applyNumberChecks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1d997d927f87226549a580d95fd8715792ce2e90cecbf6980ea92ce9759749"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact-transfer.createArtifactInstaller.\u003Creturned closure\u003E (cognitive 17): artifact-transfer.createArtifactInstaller.\u003Creturned closure\u003E has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (6 pts), ternaries 2 (3 pts), error handling 1 (nesting depth added 2). Of this number, 12 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":"server/src/services/native-runtime/artifact-transfer.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea79c85f6622b7ed6a7c4c5d743542b94e3b059170ba562bd2bc068ed4920f76"}},{"ruleId":"D2","level":"warning","message":{"text":"task-workspace-tools.workspacePage (cognitive 17): task-workspace-tools.workspacePage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), ternaries 1 (nesting depth added 10). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-workspace-tools.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"280914a25ea7cf13f649eadb8d07a1137d4bf582a1e4759db346720a7b875ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"task-workspace-tools.callTaskWorkspaceTool (cognitive 17): task-workspace-tools.callTaskWorkspaceTool has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-workspace-tools.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e25c2e516bde7016e706b112d1f95203dceb9a9e04b40f954879e8220bb53"}},{"ruleId":"D2","level":"warning","message":{"text":"board-auth.boardAuthService.approveCliAuthChallenge (cognitive 17): board-auth.boardAuthService.approveCliAuthChallenge has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (nesting depth added 2). 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 373). 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":"server/src/services/board-auth.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f0a542dc1c20c2dfbd9df13bafe8d85e070cebf3fcb93e625225e811b9604c"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-runner-recovery-probe.readRemoteRunnerRecoveryProbe (cognitive 17): remote-runner-recovery-probe.readRemoteRunnerRecoveryProbe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-runner-recovery-probe.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"017483732bbfc9f3fab4e40a9ff27a0cc41f60b1c8d786cd08aded0e79760184"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createGovernedWaitEventObservation.observe (cognitive 17): native-session-executor.createGovernedWaitEventObservation.observe 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b1277172d5c12717d463a04bd9eeb2dd6662585a997f13eb227fa136cf81a0"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.retireStoppedSessionCleanupGates (cognitive 17): native-session-executor.retireStoppedSessionCleanupGates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, error handling 1 (2 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3899}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5d75d088b40ceb89e02a0b614355f0fbe909f28513c3a7dc78309b38280593"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueService::getIssueRelationSummaryMap (cognitive 17): issues.issueService::getIssueRelationSummaryMap has cognitive complexity 17 (threshold 15). Drivers by points: loops 9 (12 pts), if/else 2 (4 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. This shape REPEATS in the file: 2 other methods here (issues.issueService::enrichCommentsWithDerivedAgentAttribution, issues.issueService::assertNoBlockingCycles) 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":"server/src/services/issues.ts"},"region":{"startLine":7753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b539db4df1b1560b823de1df8790456b6acd87b6116d72095cf7fcb21f816615"}},{"ruleId":"D2","level":"warning","message":{"text":"managed-plugin-environments.ensureManagedPluginEnvironment (cognitive 17): managed-plugin-environments.ensureManagedPluginEnvironment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 4 function items inside it that branch (reconcile, a function literal at line 137, a function literal at line 162, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-plugin-environments.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3b598d3fd30e85ddbbfaa66f8ad187a2d8c521bcef7bee44dcdb60ef328b60"}},{"ruleId":"D2","level":"warning","message":{"text":"wakeup-notices.createInboundWakeNotices.projectNotices (cognitive 17): wakeup-notices.createInboundWakeNotices.projectNotices has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb987f93e31aedecb37906a654b0a31af5833c51022f26ff3ab5df466268792f"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-inspection.inspectGrokWorkspaceObligations (cognitive 17): workspace-inspection.inspectGrokWorkspaceObligations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). 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 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":"server/src/services/grok-bot/workspace-inspection.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60615882ed0838de54d320233e3edee6a68c2dc34fa7b29dadf89ca1b281e2"}},{"ruleId":"D2","level":"warning","message":{"text":"routine.grokRoutineService.reserve (cognitive 17): routine.grokRoutineService.reserve 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: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 132). 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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5076e1cfc7eb00b4b703fbec2ad429472012b04ecec85d5424acc51b952ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"muse.createMuseBroker::requestWork (cognitive 17): muse.createMuseBroker::requestWork has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (muse.createMuseBroker, muse.createMuseBroker::authorizeAssignment, muse.createMuseBroker::detectorEvidence) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d91dbcbab2d1cb80000b18085d164612955236ad0a6e177aa4db5bb4f0a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"file-transfers.createPublicMcpTransfers.authorize (cognitive 17): file-transfers.createPublicMcpTransfers.authorize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 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":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ae64eb658928f188e758bb089c45136a89bdc9590c8b1d87c776a4a903bf32"}},{"ruleId":"D2","level":"warning","message":{"text":"dot.createBroker.stopGrokWork (cognitive 17): dot.createBroker.stopGrokWork has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4. None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 491). 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e70c168c5ac2ce29fb672de8cb4d2d4ad13b5a09f406522ef4ab0df0fb16c48"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-log.resolveResponsibleUserIdForActivity (cognitive 17): activity-log.resolveResponsibleUserIdForActivity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity-log.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abc1b12a55ae0c69bf411c91e3701492579f09d1ce83178ecae2108233e0cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"slack-conversation-lifecycle.readSettlement (cognitive 17): slack-conversation-lifecycle.readSettlement has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 3. 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: 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":"server/src/services/slack-conversation-lifecycle.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cd5097a8902bd4750c37bbb809d6a7c7505d0d720c91c76a0cc4b49d62f78f"}},{"ruleId":"D2","level":"warning","message":{"text":"retention-work-notifications.notifyIssueAttentionRetentionWork (cognitive 17): retention-work-notifications.notifyIssueAttentionRetentionWork has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (5 pts), ternaries 2 (3 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":"server/src/services/retention-work-notifications.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cec8235af8673ab3e5e49befe4906967d2c06d2479309201acf6cdc8354e87"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-events.appendLockedEvent (cognitive 17): heartbeat-run-events.appendLockedEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b41a5154994a0932037da86d79399850063c9dc1226fab13a787f46bf806a2"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspaces.cleanupSavedExports (cognitive 17): remote-workspaces.cleanupSavedExports has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 2 (5 pts), error handling 1 (3 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19cea39cf87c65c50e1f6829a1ea66d4145fe9cd646be266cee71df82c2a79c"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-unsaved-files-settlement.settlePreparationOnlyRemoteWorkspaceEpoch (cognitive 17): remote-workspace-unsaved-files-settlement.settlePreparationOnlyRemoteWorkspaceEpoch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, error handling 1 (nesting depth added 1). 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 18). 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":"server/src/services/recovery/remote-workspace-unsaved-files-settlement.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dcd118b4dc2c384214178fac2e16533c09de4d14cd82c2198c142a939479e5"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-retained-orphan-settlement.heldBy (cognitive 17): environment-retained-orphan-settlement.heldBy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-retained-orphan-settlement.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51244c5ca38dff2899e11986127adfb851d6334be8874878f737e7cd884ff7b"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-commands.scoreWorkspaceRuntimeServiceMatch (cognitive 17): workspace-commands.scoreWorkspaceRuntimeServiceMatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/workspace-commands.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1914e61b5891d36418be610fe8ab534049b70d060dcd85de1c6c980b1dd512b6"}},{"ruleId":"D2","level":"warning","message":{"text":"patch-antigravity-runtime.antigravityEmbeddedZip (cognitive 17): patch-antigravity-runtime.antigravityEmbeddedZip has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 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":"packages/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7318d044165072d58bc11ee2c1ad465838ceefa8ee3f9fac4df4d1abfd598805"}},{"ruleId":"D2","level":"warning","message":{"text":"public-eval-viewer.validatePublicChatPayload::visit (cognitive 17): public-eval-viewer.validatePublicChatPayload::visit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (public-eval-viewer.validatePublicChatPayload) 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263ee73dc19c68b7b128ddea52f6655488bd9b6159750b90758c9a3e85a0cac"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-usage.createGrokPromptUsageCollector.observe (cognitive 17): grok-usage.createGrokPromptUsageCollector.observe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 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/paperclip-runner/src/drivers/acpx/grok-usage.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea83833b92056e9a42fdf526bae2f19531122d6e395aaf8df9ae1fdc56b8be5"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-credentials.stageManagedGrokCredential (cognitive 17): grok-credentials.stageManagedGrokCredential has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, error handling 1 (2 pts), ternaries 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/paperclip-runner/src/drivers/acpx/grok-credentials.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"863bedfdf0bfd810fd86fe37a256f1e613dc35f170d3a92cdd8903c15b6b9d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-sandbox.readAcpxRecoveryWorkspace (cognitive 17): runtime-sandbox.readAcpxRecoveryWorkspace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 5, error handling 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e707564a94d8baddfc5497d8d3f1d7636dd67d6bfb27cadd2c4a66ad1fc0da10"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAcpxSession.#finishClose (cognitive 17): CodexAcpxSession.#finishClose has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 6 (7 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9022cade8804566811e2e1c045f190092f1922da047c2f011f53fad1d1c110"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-tool-detail-redaction.sidecarToolDetail (cognitive 17): acpx-tool-detail-redaction.sidecarToolDetail has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, 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/paperclip-runner/src/cli/acpx-tool-detail-redaction.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8565ca157c5ed9d50e95a35bf1b84d4bc18f74f7a32058fdc95b3e4d3e64cce1"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-sidecar-input.acpxSidecarErrorCode (cognitive 17): acpx-sidecar-input.acpxSidecarErrorCode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-sidecar-input.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8406ad6bd3fa9b98b9948eb14801864cd60acc0a4ee8f999eab78e6a012562da"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-gateway-runtime.prepareEvalGatewayRuntime (cognitive 17): eval-gateway-runtime.prepareEvalGatewayRuntime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 6, error handling 2, loops 1, ternaries 1. 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: 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/paperclip-runner/src/cli/eval-gateway-runtime.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aead1a7b6cf5f2203d66f883c42e918e9e600511f880f5c7ab0f2c572f05da01"}},{"ruleId":"D2","level":"warning","message":{"text":"semantic-conformance.canonicalJson (cognitive 17): semantic-conformance.canonicalJson has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d398352ea459c615eed8f4739f8528d79a46538ba0dfddb4f422f84dd3340066"}},{"ruleId":"D2","level":"warning","message":{"text":"app.UnconfiguredFolder (cognitive 17): app.UnconfiguredFolder has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 1, error handling 1, if/else 1 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"04917f057de273cc60f9a6f9b57080f855743225807184bf5a028ca6431c7fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.events (cognitive 17): execute.events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/execute.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abf0ef5baad10fa26f8bdca41c2127b6d5d7a239f949d3caac52243e78e0165"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-drain.createPluginIdleDrain.prepare (cognitive 17): idle-drain.createPluginIdleDrain.prepare has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 2 (4 pts), 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/plugins/sdk/src/idle-drain.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3bd50589d067397c5a06598419ca53b0c472cc683446bf9924451bb5a6c2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-rpc-host.startWorkerRpcHost.handleOnEvent (cognitive 17): worker-rpc-host.startWorkerRpcHost.handleOnEvent has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (6 pts), boolean chains 4, if/else 2 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"767e45a1a575fc168baf88a975beab33dcf764e39bf8e090671828e803bf8c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"attention.attentionService.transfer (cognitive 17): attention.attentionService.transfer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, ternaries 1 (nesting depth added 2). 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 3089). 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":"server/src/services/attention.ts"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"4159dc1450c00ffe5b8cd4182c278792f63b001f8557f0cf3ec40b1e444fc0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"idle-subscription-proof.projectIdleMcpSubscriptionProof (cognitive 17): idle-subscription-proof.projectIdleMcpSubscriptionProof has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 3 (6 pts), if/else 2 (3 pts), loops 1 (nesting depth added 4). Of this number, 16 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":"server/src/services/public-mcp/idle-subscription-proof.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"019846b1c4eb00f67776512f2235a8d45b6947649a8217f7e67e4f187405feb8"}},{"ruleId":"D2","level":"warning","message":{"text":"local-ai-login.localAiLoginService.reapExpired (cognitive 17): local-ai-login.localAiLoginService.reapExpired has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 4). Of this number, 9 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":"server/src/services/local-ai-login.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f930d153a54233ea627251a55572d41360c314d11038658528e1867b7a72af"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-billing-import.applyProviderDailyCosts (cognitive 17): provider-billing-import.applyProviderDailyCosts has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 7). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 297). 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":"server/src/services/provider-billing-import.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f908bfae1b35a33b80f3123c61f60954c83e1508be72501ebeb2adbdda2421"}},{"ruleId":"D2","level":"warning","message":{"text":"status-card-update-engine.diffStatusCardFingerprint (cognitive 17): status-card-update-engine.diffStatusCardFingerprint 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":"server/src/services/status-card-update-engine.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d5ab0a40b5d2e2a60a2eaa1e88b3d1d4779edf2119297dd71ee72ff0f2a3cd"}},{"ruleId":"D2","level":"warning","message":{"text":"decision-effect-recovery.decisionEffectRecoveryService.sweep (cognitive 17): decision-effect-recovery.decisionEffectRecoveryService.sweep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, 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":"server/src/services/decision-effect-recovery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e71d0b5123749e63533d373758c7ff05fe061832d273096a90a30bd77af5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"company-portability.companyPortabilityService.assertImportAdapterConfigConstraints (cognitive 17): company-portability.companyPortabilityService.assertImportAdapterConfigConstraints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), 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":"server/src/services/company-portability.ts"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b80833d536c2c60d283f95ff66abfeebbc6ca5b182c78fa7d7e77e9e7c9745"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-avatars.agentAvatarRoutes (cognitive 17): agent-avatars.agentAvatarRoutes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 4 (6 pts), boolean chains 4, error handling 1 (nesting depth added 4). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 31). 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":"server/src/routes/agent-avatars.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1db8f1a3f4c2d3b6041049ba261bcb035053bf06ba0c5b1adcf95b1b0b86e9"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-readiness.readSeedManifestSummary (cognitive 17): workspace-readiness.readSeedManifestSummary has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3, boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-readiness.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bdd8f49f8cfe956ce898049884bc3ad581f8fdd9a5b84f41e6b9ebb0de332c"}},{"ruleId":"D2","level":"warning","message":{"text":"companies.companyRoutes::resolveImportTransferBody (cognitive 17): companies.companyRoutes::resolveImportTransferBody has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), 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":"server/src/routes/companies.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"100f643e6c243231b134cf1a1d1894342c093b36eb8535348090ede9de6834be"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-ai-connection-default.defaultAiConnectionForHire (cognitive 17): agent-ai-connection-default.defaultAiConnectionForHire has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (6 pts), boolean chains 5, if/else 4 (5 pts), loops 1 (nesting depth added 3). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-ai-connection-default.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41483bf55b233114dd68b789f5133666b7eced493caa243f5206b827fcd7790"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-runtime-service-authz.assertAgentCanManageRuntimeServicesForWorkspace (cognitive 17): workspace-runtime-service-authz.assertAgentCanManageRuntimeServicesForWorkspace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, ternaries 6, boolean chains 3, loops 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":"server/src/routes/workspace-runtime-service-authz.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6ae59dd75adf9a1cd1b29e02d0af1c0819b4068f5416704df79862d3b88ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::prepareIssueListForActor (cognitive 17): issues.issueRoutes::prepareIssueListForActor has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, if/else 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":8910}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b140c8ff0cba57a05463f3855c077a4f7d1c4bf775ee3092b665a502997f7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"access.accessRoutes::createCompanyInviteForCompany (cognitive 17): access.accessRoutes::createCompanyInviteForCompany has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f6c585ec579a74a0aa9ba768f617e98f627b6f6ba1ef4e9914147cfcce585d"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-migration-tree.requiresOnlineOrdinarySource (cognitive 17): remote-workspace-migration-tree.requiresOnlineOrdinarySource has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72f257db011b16b23d5b15ed14d50903bc454ff88c1536cfcd26a609366787d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork.selected (cognitive 17): native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork.selected has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 1, if/else 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e5ab35b3a5f63ae1916c053dae5a9391edd9ebd44e18542758f52cfe7d6b11"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork.discoverReferences (cognitive 17): native-harness-backup-expiration-work.registerNativeHarnessBackupExpirationWork.discoverReferences has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 2 (3 pts), 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"520cf2b3489a686c8b23f58f039a6a86569e0f095329dc3df8ae6a69f1db90b5"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.expireFolder (cognitive 17): native-workspace-sync-retention.nativeWorkspaceSyncRetentionService.expireFolder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 312). 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1c4ebce228fdaa39c72ccc8c81c54e45572bf541484a6dfeaf599807b88217"}},{"ruleId":"D2","level":"warning","message":{"text":"historical-cleanup-verification.historicalCleanupVerificationService.run (cognitive 17): historical-cleanup-verification.historicalCleanupVerificationService.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5 (6 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 2). None of this is in the body itself: all 17 points belong to 2 function items inside it that branch (inspect, a function literal at line 70). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/historical-cleanup-verification.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9fb4bfbe09c3d123309d27fc250ac555b767e5bcb5d0393ab2a388fccb450d"}},{"ruleId":"D2","level":"warning","message":{"text":"online-workspace-migration.runOnlineWorkspaceMigration (cognitive 17): online-workspace-migration.runOnlineWorkspaceMigration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 3). Of this number, 12 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":"server/src/maintenance/online-workspace-migration.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37d94174b163b60ffe8958695831d74206b7892e64b79bd24f9a98a2b3686f0"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-reference.rewriteMarkdownTree (cognitive 17): issue-reference.rewriteMarkdownTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-reference.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02ce399a76fef1dc74258d3e36f7c11161be3aa3703918766f4725668f341a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposerFileDropTarget.ComposerFileDropTarget (cognitive 17): ComposerFileDropTarget.ComposerFileDropTarget 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: 4 of the 17 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 64, 69, 48, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerFileDropTarget.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"228d86a0fde259dacb4dae168bc380c7e3ea0dbb2f49162db16a558895cf64f1"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryEditor.RepositoryEditor (cognitive 17): RepositoryEditor.RepositoryEditor has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (15 pts), boolean chains 1, if/else 1 (nesting depth added 8). 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":"ui/src/components/RepositoryEditor.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94d4f1e3bcf854bf4fc9785664ed0658e45d44d1a1a91d8c5142d41a1fa4063"}},{"ruleId":"D2","level":"warning","message":{"text":"cross-tab-poll.stableFingerprint::visit (cognitive 17): cross-tab-poll.stableFingerprint::visit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 pts), loops 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a122dc6a52ae3c9378fb74c0edd402e36002632763ed18a103db77d06b9f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-comment-window-query.getIssueRecentCommentsQueryOptions.queryFn (cognitive 17): issue-comment-window-query.getIssueRecentCommentsQueryOptions.queryFn 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":"ui/src/lib/issue-comment-window-query.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"38209cbf89e3d1922c497f3807ff5c53c40272b7ab8ac274dcdbd5dba98e435d"}},{"ruleId":"D2","level":"warning","message":{"text":"case-reference.rewriteMarkdownTree (cognitive 17): case-reference.rewriteMarkdownTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/case-reference.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b13ce2c5af94482849dccae24fbe0760534caddd576aa6d2900080a36eae7bc"}},{"ruleId":"D2","level":"warning","message":{"text":"useConnectionModels.useConnectionModelsState (cognitive 17): useConnectionModels.useConnectionModelsState has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (8 pts) (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/useConnectionModels.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c8fdd47928a8f0c9a88d471c80db3c0cb02bab31f5a4bab5839ef49ba33527"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-monitor.deriveMonitorState (cognitive 17): issue-monitor.deriveMonitorState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, ternaries 4 (6 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":"ui/src/lib/issue-monitor.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa424f69f8e6602cef664ba2ddbd38d61b0935ed0ea08b33170e86b001d9362"}},{"ruleId":"D2","level":"warning","message":{"text":"useUpdateIssueMutation.mapIssuesInQueryData (cognitive 17): useUpdateIssueMutation.mapIssuesInQueryData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 6). 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":"ui/src/hooks/useUpdateIssueMutation.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa389990e6ca683dd7ccd511d740d66c44668b385a29dbd14fa97703060321"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveUpdatesProvider.applyRunLiveStatusPatchToCaches (cognitive 17): LiveUpdatesProvider.applyRunLiveStatusPatchToCaches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a5abd5dae43518e8afb3c983cb1eaf44d9180d5f4b8e09b3e0b4504e80699d"}},{"ruleId":"D2","level":"warning","message":{"text":"DispositionRecoveryNotice.dispositionRetryUnavailableReason (cognitive 17): DispositionRecoveryNotice.dispositionRetryUnavailableReason has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5a49daab6a5ff7fe2720b7596f8a1e071fac5bbffb6657243ee3e47d232805"}},{"ruleId":"D2","level":"warning","message":{"text":"composer-draft.isComposerSendRequest (cognitive 17): composer-draft.isComposerSendRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5f1b14670e3a855724c95bb256e55bea24a41a1e1faf3f985b558d2fdcdd45"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatRichInput.TaskChatRichInput (cognitive 17): TaskChatRichInput.TaskChatRichInput has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 4, if/else 4, error handling 2 (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (uploadImage, chooseImage, 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":"ui/src/components/task-chat/TaskChatRichInput.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e789540ff5ecdc2b0eefe0277c2cb4bc0d7827309ca36a18641d96c3c1958"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatRunnerTurn.RunnerTurnStatus (cognitive 17): TaskChatRunnerTurn.RunnerTurnStatus has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a2465e2386b5a5e7c4e5eaced5da3140f47e1186a9ac88760c0dcb854a9c1"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-chat-messages.compactIssueChatTranscript (cognitive 17): issue-chat-messages.compactIssueChatTranscript has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 5 (6 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"627635b0bfc646427fd7eef28ddf3ac7ff8ff2d0d70d29894417f12f4bd0f559"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentFrameHeader.DocumentFrameHeader (cognitive 17): DocumentFrameHeader.DocumentFrameHeader has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 2 (nesting depth added 6). Of this number, 13 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":"ui/src/components/DocumentFrameHeader.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78e8b5a0f7f73faedd2ab7cecdbdbb0b450b0c1f53fff4c2a848c58ebfd12f5"}},{"ruleId":"D2","level":"warning","message":{"text":"relation-controls.RemovableIssueReferencePill (cognitive 17): relation-controls.RemovableIssueReferencePill has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (15 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":"ui/src/components/issue-properties/relation-controls.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe754c06fb81491c4aaf78c70b6ac26f746a5332b5fe0aac3c37b51d3985ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDetailRelationsPanel.TaskDetailSubtasksPanel (cognitive 17): TaskDetailRelationsPanel.TaskDetailSubtasksPanel has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (16 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":"ui/src/components/task-detail/TaskDetailRelationsPanel.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9670095a24d717f4962bb94c960ff4d57ae7b4b5f467a217dd88ce2337bdaf2f"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskBrowserFooter.TaskBrowserFooter (cognitive 17): TaskBrowserFooter.TaskBrowserFooter has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, ternaries 4, 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":"ui/src/components/task-side-panel/TaskBrowserFooter.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f576578672967994af38248c50d864008bef76915488ca22bfdbf778b7657d"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDocumentPanel.TaskDocumentPanel (cognitive 17): TaskDocumentPanel.TaskDocumentPanel has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 5 (6 pts), boolean chains 2, error handling 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 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":"ui/src/components/task-side-panel/TaskDocumentPanel.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328cfe784d4f1d9e92df0062e0f81e2c16b6e70a1f30b79610ec8a42d2797d7"}},{"ruleId":"D2","level":"warning","message":{"text":"SidePanelFrame.SidePanelFrame (cognitive 17): SidePanelFrame.SidePanelFrame has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelFrame.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca01915ed0e815a49a7cba7b57a45f3d29171ad21e19913c34061b226c20106b"}},{"ruleId":"D2","level":"warning","message":{"text":"FileViewerContext.writeBrowseStateToSearch (cognitive 17): FileViewerContext.writeBrowseStateToSearch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), 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":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2644363c9a4b098d31e5c976add4a6db0314407884f734b4dbd32287841a59"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatStatusPill.useHeldSelfTalk (cognitive 17): TaskChatStatusPill.useHeldSelfTalk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 8 function literals inside it that branch (lines 158, 241, 159, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e3887b6565d75c7ea1c6f3287338dfaab7eceb1b78fb312b0dba720f1b16f3"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.layoutOrganization (cognitive 17): layout.layoutOrganization has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (arrange::build). 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":"ui/src/pages/org-chart/layout.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc8c36bb3306491dc2e39de5c4b3c5ea1b0dba87edd3e6e6f4b78d13f18569"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditFeed.AuditRow (cognitive 17): AuditFeed.AuditRow has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (10 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b975564bc0f717d98aa7f990c21fb3771d22beb25060e972ad519aeac26532"}},{"ruleId":"D2","level":"warning","message":{"text":"RunWorkspaceSourceInspection.RunWorkspaceSourceInspection (cognitive 17): RunWorkspaceSourceInspection.RunWorkspaceSourceInspection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 1 (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":"ui/src/components/RunWorkspaceSourceInspection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"806348f40e8371aea148c8ad67679257d0cd82e5ca3b74b3fbee255d04e27d84"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.RunListItem (cognitive 17): AgentDetail.RunListItem has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800072db1312a9c4bb86443b8aea03b5d77624d722c714f12cfd9d5d38ade4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectWorkspacesContent.ProjectWorkspacesContent (cognitive 17): ProjectWorkspacesContent.ProjectWorkspacesContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (nesting depth added 5). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 30, 43, 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":"ui/src/components/ProjectWorkspacesContent.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd928dd475e723edb9ee196014e164b36e722bab1d3db66e0a2cc5ae7bfd1578"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionWorkspaceDetail.ExecutionWorkspaceRoutinesList (cognitive 17): ExecutionWorkspaceDetail.ExecutionWorkspaceRoutinesList has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 2, if/else 2 (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 3 function literals inside it that branch (lines 678, 764, 776). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71569c09d08652ef6bf8927db64764ac82c850f353c2ab20547e798c3c200b6"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionViews.AttentionAudienceLine (cognitive 17): AttentionViews.AttentionAudienceLine has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 3, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionViews.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8713898bcf36f4cef1ba50aaaac3f667483f9400f7a66dc390e00ed56f8b34d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionQueueRow.CompactDecisionActions (cognitive 17): AttentionQueueRow.CompactDecisionActions 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). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 496, 546, 538). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5896a05d532383870bc59d65966d2aeb905178660e64b9ef04173dcc151c765"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityFeed.ActivityFeed::renderItem (cognitive 17): ActivityFeed.ActivityFeed::renderItem has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ActivityFeed.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d715e03b93b848da08654039e0cce3095f7a25c32949d195323dcbdc2ccc8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatEndpointDetail.Access (cognitive 17): ChatEndpointDetail.Access has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 7 (nesting depth added 6). 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, 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d35b17f5ea90ab9587cd418cc0105af256ef304a7341fadf6ece6cb0a78ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"AdapterManager.AdapterRow (cognitive 17): AdapterManager.AdapterRow has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, ternaries 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"58788068938fdd744c1ac900337d2e5fb5e47cff5109809d910806227a75d1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"editable-sections.production.TriggersSection (cognitive 17): editable-sections.production.TriggersSection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 5, if/else 1 (nesting depth added 2). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdb9c2444f2aeb9064924f86632a957070fa6170b57c5ebcaea64e683ba7425"}},{"ruleId":"D2","level":"warning","message":{"text":"GalleryPreview.GalleryPreview (cognitive 17): GalleryPreview.GalleryPreview has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (17 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/GalleryPreview.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eab3f8fc42216a2d1ce90cc30e63b9b5b8cd20df38f8f9b73bda3c629df3927"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelCard.PanelCard (cognitive 17): PanelCard.PanelCard has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 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":"ui/src/artifact-directions/directions/d1-solid/PanelCard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e396e20f9dbe3d7a4e9dd4f7b13544e808cc7d20d4e2a2e9b570ceb26ce4aec7"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaForm.validateJsonSchemaForm (cognitive 17): JsonSchemaForm.validateJsonSchemaForm has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (nesting depth added 8). 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d31c007c89318b1b42c5892a9fdda9b1b2cf6947761aa87ed17bf85c371a63"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDecisionRecord.TaskDecisionRecord (cognitive 17): TaskDecisionRecord.TaskDecisionRecord has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (15 pts), boolean chains 1, if/else 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskDecisionRecord.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"988afba32e5a8b650384383fe3550a82cb4ff1eaed2fe94721c6335f0f0109a3"}},{"ruleId":"D2","level":"warning","message":{"text":"useTaskRowBudget.useTaskRowBudget (cognitive 17): useTaskRowBudget.useTaskRowBudget 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: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 33, 24, 18, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskRowBudget.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"204946febd3508ba0e34f15f760469af6bd7315f61773b31c12e0d40e821e02e"}},{"ruleId":"D2","level":"warning","message":{"text":"CaseDocumentPreview.CaseDocumentPreview (cognitive 17): CaseDocumentPreview.CaseDocumentPreview has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (15 pts), boolean chains 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":"ui/src/components/cases/CaseDocumentPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"13740557e66f23c2d69536428eb23873b9a8514403a6eb674b3f5c5172e080ac"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatorInteractionReceipt.CoordinatorInteractionReceipt (cognitive 17): CoordinatorInteractionReceipt.CoordinatorInteractionReceipt has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 5). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorInteractionReceipt.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb9491d5118113d94125ef6c95b4a42158a7615a8ed7c34fb2b41fe586e2d8e"}},{"ruleId":"D2","level":"warning","message":{"text":"new-agent-adapters.isNewAgentAdapterAllowed (cognitive 17): new-agent-adapters.isNewAgentAdapterAllowed has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 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":"ui/src/lib/new-agent-adapters.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5811f3db9d01ddba8251b0dce624c516696baf6e196e75edae318781b1e9aee4"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectionUsageReview.AiConnectionUsageReview (cognitive 17): AiConnectionUsageReview.AiConnectionUsageReview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 139, 162). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectionUsageReview.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee78afb19b140feb8b95b5a08bd13808fb6a8acb90bb2e303d137ce34adad3f"}},{"ruleId":"D2","level":"warning","message":{"text":"AiConnectorPages.Setup (cognitive 17): AiConnectorPages.Setup has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 4, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function items inside it that branch (complete, a function literal at line 191, a function literal at line 195, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e68c0638957b0ce2fa1a9c1ad078a9d334400c643e8724547c8f59348cb04dd"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSettingsPreview.AgentSettingsPreview (cognitive 17): AgentSettingsPreview.AgentSettingsPreview has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5, boolean chains 4 (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 5 function literals inside it that branch (lines 100, 86, 97, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac74e08c946754a69d6bd76d93cda5ba3d4d1d49e2b8f8d9dc4dbfe62d9fd107"}},{"ruleId":"D2","level":"warning","message":{"text":"ButtonSpecimen.ButtonSpecimen (cognitive 17): ButtonSpecimen.ButtonSpecimen has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 2 (nesting depth added 1). 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: 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":"ui/storybook/support/design-proposals/ButtonSpecimen.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26fc12b8c6d3e477cff7b2d27e90a0e24cfd158e29e4c89265fe556157bff20"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1f163858deae3768c4df9c455d381829965693dc9b536300273e8fbd9fe565"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baf78eef72c5cf5be74d8cca4dfb01acbef5c596bd75c20c6e7f4d099696eac"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4becd10924cc58b485a97d55eb5a7c81cd714519ecebd9bded9b3fc213ebc791"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"98de0c8d3541f0fae823df43b156970938e0cd893c5ef71fa7f058571bc943b0"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v5/client.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7258f206f9ec87981c4d905ddeceddd8946e0800ce9c4ad1e57840310ff6228"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v6/client.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2779dad5a6c236e2e7e74ad7d6aee0c4be91c313e7923bf249be62c434c102"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f78d93a070016932a75ca4e8b8f2a7e06f1beaca21e3b397353f24c71bf3b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v8/client.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"af22c75f36d2c0bf779a07d5a719873913b0fdf0c6303996969a2aa1fed34f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.detector_cleanup (cognitive 17): Client.detector_cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v9/client.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"014ff861f78d0c0b0c3f2ea4d5c11279b952a7673a14214cda95964b09e9d20d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeManagedProvider::normalize_remote_event (cognitive 17): ClaudeManagedProvider::normalize_remote_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de56e5755a90976d286ef65fd84fbeae50a87cf112cc2929d0bc5b3713dc427"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexProvider::read_thread (cognitive 17): CodexProvider::read_thread has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cf66763f5d423df4f53a23b8fc0d55aa6f6aa7ab2ea2f8e1d627d3387162f0"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::state::preserve_bounded_display_content (cognitive 17): paperclip_runner_core::durable::state::preserve_bounded_display_content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (17 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbecc54da6f6880c151b2b027c40931703df7e4c298c705bc05afd77b67a227"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::transport::parse_ws_url (cognitive 17): paperclip_runner_core::durable::transport::parse_ws_url has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 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":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"48da659ea81cda2c54e52364a14afc081882d06f9b6f65d228f7fe292995f575"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::governance_events::safety_action (cognitive 17): paperclip_runner_core::governance_events::safety_action has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (12 pts), if/else 4 (5 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/governance_events.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a677f521fbf90a39751e4c017a3d4fc02987ced27b0c3808f022603ad997a6b7"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_events::proposed_plan_block (cognitive 17): paperclip_runner_core::provider_events::proposed_plan_block has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, match/switch 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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"853cae7019092210aaffb70f514e60295207fe229727d6f44313199ec5f16357"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_failure::codex_startup_failure (cognitive 17): paperclip_runner_core::provider_failure::codex_startup_failure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, match/switch 2 (3 pts), loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_failure.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc85a4c4eaa4a19095435097fda9a2c7217bab4625f8ea79e17724dfcacbe4d5"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-auth.withMcpOsLock (cognitive 16): mcp-auth.withMcpOsLock has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (3 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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fa53383d9619583e046b83f1e0dd9b44cfffaeec3eab044841f7c52a916ed8"}},{"ruleId":"D2","level":"warning","message":{"text":"common.printOutput (cognitive 16): common.printOutput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/common.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0124d09eab7824f757283a607df316a30aeb3e7663d7a604485d5b2de3d89ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.streamPluginBridge (cognitive 16): plugin.streamPluginBridge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, ternaries 2, 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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cc5ffa631d0aa63f7869a21b922f6f38f918778aa2bbdfedb88849615abc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"command-managed-runtime.assertPostUploadCommandsConfined (cognitive 16): command-managed-runtime.assertPostUploadCommandsConfined has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). 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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3381f1970a61c60ebf78b254a38cd07a4ebed8990f30270d8e914d2361c0c91"}},{"ruleId":"D2","level":"warning","message":{"text":"command-managed-runtime.createCommandManagedRuntimeClient::fallbackSyncIn (cognitive 16): command-managed-runtime.createCommandManagedRuntimeClient::fallbackSyncIn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a14e5629c939994110c40d9c805dddf1bc64ab67597b588e62a72e9a0997a04"}},{"ruleId":"D2","level":"warning","message":{"text":"command-managed-runtime.prepareCommandManagedRuntime (cognitive 16): command-managed-runtime.prepareCommandManagedRuntime has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, 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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"195ebeca9bdb76f4f96cbab0b910924fae11dd58a70c08535901fffcc426c3d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh.createSshAuthArgs (cognitive 16): ssh.createSshAuthArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f013f163575ea4f8652367b256a54e4bd2e1f19c596b1db2cabf614f5364fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh.startSshEnvLabFixture (cognitive 16): ssh.startSshEnvLabFixture has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 1 (nesting depth added 3). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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/adapter-utils/src/ssh.ts"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"807a5e0f442f4ceef15c4aee70f2ad09eff95a50315f03ac90df82e8460875de"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.normalizeConfiguredPaperclipRuntimeSkills (cognitive 16): server-utils.normalizeConfiguredPaperclipRuntimeSkills has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 4, if/else 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d63b21d37e618d5cfe6f5c5c18e81c174e8d3e153ee498cd0b8f58b78fde3d"}},{"ruleId":"D2","level":"warning","message":{"text":"server-utils.acquireMaterializeLock (cognitive 16): server-utils.acquireMaterializeLock has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":4548}}}],"partialFingerprints":{"codehealthFindingId/v1":"475fc0a0e8cd974c8db97dead464290b2cf416776fb8be444bdf5cb9bbbabfb4"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.prepareClaudeSkillRuntime (cognitive 16): execute.prepareClaudeSkillRuntime has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 2 (4 pts), error handling 2 (3 pts), loops 1 (nesting depth added 5). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f105cc8b587f16c8983385c166a6458a4ea86d993db97e3b05fd1f626acb2981"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.describeErrorDiagnostics (cognitive 16): execute.describeErrorDiagnostics has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (10 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2a615b44a8f0a5a22fe1268de069b4024a130f53f4b5a5b59f98dfae5c511"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printToolResult (cognitive 16): format-event.printToolResult has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a466161040fc103ede54dc3ff4b5291c930864bb25f78b464fd1ef7efa56e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-config.tomlValue (cognitive 16): runtime-config.tomlValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e84b1607ef2bed2de6f985b3f200dd0e67495e9dfbee7fed1ce35ae89aa057"}},{"ruleId":"D2","level":"warning","message":{"text":"format-event.printCursorCloudEvent (cognitive 16): format-event.printCursorCloudEvent has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-cloud/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72a1157b8fdca8a0ea2939ade8300fac6dca7e4d228c65a3b4f7128207c6df2"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.extractGeminiErrorMessages (cognitive 16): parse.extractGeminiErrorMessages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 2, error handling 1 (2 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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1990c9d7b7f526ad7b401ada47653581a1b79afdb0702cab1cc44127b2f9cf22"}},{"ruleId":"D2","level":"warning","message":{"text":"grok-home.grokHomeHasSession::inspect (cognitive 16): grok-home.grokHomeHasSession::inspect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/grok-home.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0035b695702cb93b4cb532c3418bf4c20c777bc63039173aa8238713ea52a0"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseHermesGatewayStdoutLine (cognitive 16): parse-stdout.parseHermesGatewayStdoutLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/gateway/ui/parse-stdout.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c652ae35f4a555aa8076a440fa103d3eaacdecda7d95f9e014202782e080e11"}},{"ruleId":"D2","level":"warning","message":{"text":"parse-stdout.parseAgentEventLine (cognitive 16): parse-stdout.parseAgentEventLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, 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/adapters/openclaw-gateway/src/ui/parse-stdout.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8a39d244447fae9a8134552a3640f3feb8aa08fd19e18d23d99a24243005fb"}},{"ruleId":"D2","level":"warning","message":{"text":"App.LiveRunner (cognitive 16): App.LiveRunner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 12 (16 pts), boolean chains 5, 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. This shape REPEATS in the file: one other method here (App.LiveRunner::startRun) 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/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d114a67d68509b7c57ccf56202ecc0462c686767a0b5e7116cf83cb234c6f6"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-events.acpxToolDetailFromRuntimeEvent (cognitive 16): provider-events.acpxToolDetailFromRuntimeEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9f1ed7fc22ff2a6794b4ef1e1ef61f92d71d569abd23980925f96f599d6c10"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-workspace.recordWorkspaceChanges (cognitive 16): codex-session-workspace.recordWorkspaceChanges has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 5, if/else 2 (nesting depth added 3). 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 19, 51, 57). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or 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/paperclip-runner/src/drivers/codex/codex-session-workspace.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"15302292c1e2954bcf7c8f24a26999c3be5c56990172a31d684eadd593718f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-notifications.mapNotification (cognitive 16): codex-session-notifications.mapNotification has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (10 pts), error handling 2 (3 pts), loops 1 (2 pts), if/else 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"13df79368d3b0ea2ee9b41030f0dfee1c160601dc0ef33a46a310b22bd107f23"}},{"ruleId":"D2","level":"warning","message":{"text":"codex-session-server-requests.handleServerRequest (cognitive 16): codex-session-server-requests.handleServerRequest has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (10 pts), error handling 2 (3 pts), loops 1 (2 pts), if/else 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da14950dc2fc08bbf2b76adf9eb631ee45b2af411695231c630548fc9a3a48b"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAppServerDriver.#openedThread (cognitive 16): CodexAppServerDriver.#openedThread has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 3, if/else 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"182b375ceb000f792b42313572ced839b18f90a7039f04c743bb5af9d9ad8736"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpControlPlane.#authHello (cognitive 16): DurablePrpControlPlane.#authHello has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 5, if/else 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d508c4cd46065e909f2f0160e9b312435883fa196b2cd2bd9f097aa6e48a469"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-bridge.normalizeTools (cognitive 16): mcp-bridge.normalizeTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 3 (6 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebb501313e5950e033450348729c356c767b5050d1fb3644c6a5d683ea4aed4"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCodeHarnessSession.#recoverEmptyResponse (cognitive 16): OpenCodeHarnessSession.#recoverEmptyResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fac809cab5e64f17c42e55c15228e03899f415c5b90e5051f3a9cc4e5459778"}},{"ruleId":"D2","level":"warning","message":{"text":"DurablePrpCodexTransport.#startTurnWork::waitForStarted (cognitive 16): DurablePrpCodexTransport.#startTurnWork::waitForStarted has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (DurablePrpCodexTransport.#startTurnWork) 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8027}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf32e877da67aae6eb9b933cb440489a0bb337b652020a16c8b17fe57b75191"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.readLocalProcessStartedAt (cognitive 16): runnerd-codex-transport.readLocalProcessStartedAt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (4 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bc8bae89cf0479aaef499ff42d90b9c1fc329ffb59230a80373f623034f05b"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.controllerAcceptedTurnStartId (cognitive 16): runnerd-codex-transport.controllerAcceptedTurnStartId has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5, ternaries 4 (5 pts) (nesting depth added 1). 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: 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"4261f186d22678296663a5f73c426a66ff4bd534090ec6441538117aaf4f4cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerd-codex-transport.acpxRunnerLaunchProfile (cognitive 16): runnerd-codex-transport.acpxRunnerLaunchProfile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d159e9e78e708f85fcc434f78c048c72a4276f2d3cd17a389857a7f80e88e3"}},{"ruleId":"D2","level":"warning","message":{"text":"route.capabilityRouteHref (cognitive 16): route.capabilityRouteHref has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/route.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac76a8a819faceca786cf5b83107c41595d4d1b13aa1eaf6d81703a50482e3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"build-copilot-distribution.buildPinnedCopilotDistribution (cognitive 16): build-copilot-distribution.buildPinnedCopilotDistribution has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c334fda7c754c4df36ccfd776b06f54b7ac22f2a523d2bffb5a6aa01d4468d"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-pi-distribution.readPiNodeArchive (cognitive 16): materialize-pi-distribution.readPiNodeArchive has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (4 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72088eb562c9da92db3ac9fe847ad522ba4845f32ce936d7a05285d05b9516"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-pack-runtime-tree.removePnpmStoreEntries (cognitive 16): provider-pack-runtime-tree.removePnpmStoreEntries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (nesting depth added 5). 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 (visit, a function literal at line 78, a function literal at line 85). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function 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/paperclip-runner/scripts/provider-pack-runtime-tree.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2713c5a22bb9fe804c1c7e24c33ef65a7a0dfbcd0e1426fc54fd666ca0dfabb7"}},{"ruleId":"D2","level":"warning","message":{"text":"check-clean-consumers.packRunnerRuntimeDependencies (cognitive 16): check-clean-consumers.packRunnerRuntimeDependencies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/check-clean-consumers.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94881acf56febbc4e88ad5a08877f0389fa5d27f0de237446e32e755eacec65"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-apps.sanitizeMcpIconSrc (cognitive 16): mcp-apps.sanitizeMcpIconSrc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, ternaries 1 (2 pts), 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/shared/src/mcp-apps.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7e88de13ab68662ea3157c8daccb7a3c4a5ddf00dd8772eef459faf150c43a"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-question-forms.parseFormField (cognitive 16): chat-question-forms.parseFormField has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8a37f6fd9dc08bcbedb4a13c3eaa35612435eaeb3f73baf1d008b85cac2268"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipChatSdkStateAdapter.queueDepth (cognitive 16): PaperclipChatSdkStateAdapter.queueDepth has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), 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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf8f9885435649fafafd10b353e0a78fe9dbf8c7e235f43c30638ebab4b2118"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-http-endpoint-guard.resolveApprovedRemoteHttpAddresses (cognitive 16): remote-http-endpoint-guard.resolveApprovedRemoteHttpAddresses has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bdd47a366f52a3d1591e9f83150d50c4d61c7d67dd0cdbacd722b99a9a3ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-http-endpoint-guard.isPrivateOrReservedIpv6 (cognitive 16): remote-http-endpoint-guard.isPrivateOrReservedIpv6 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb39fb50b5709f05940c321ecb24063a82ab487262abf565a6f460352c1577c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-attachments.githubAttachmentCommentRequest (cognitive 16): chat-github-attachments.githubAttachmentCommentRequest has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f402c09513b7ba3588003d7973823eb01ac026d4631819e7dd9f595fe291dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"delivery-work-coordinator.createDeliveryWorkCoordinator.register.start (cognitive 16): delivery-work-coordinator.createDeliveryWorkCoordinator.register.start has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, 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":"server/src/services/delivery-work-coordinator.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e869ca44f5d7d327fe941280c70354dfe091fb6bcda5e61248ec6eca41fe218"}},{"ruleId":"D2","level":"warning","message":{"text":"controller-instance-lease.tickControllerInstanceLease (cognitive 16): controller-instance-lease.tickControllerInstanceLease has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/controller-instance-lease.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f15aaf93aa10fa52c1710b944f0db3d9dbd00db5f5ad2ab246c23e8ed0e1c4"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-registry.pluginRegistryService.install (cognitive 16): plugin-registry.pluginRegistryService.install has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-registry.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bf3a37d1b9f07bfe4b335cad919e6ffe629a747ce04f4e8fef41f0615f5612"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerHandle::openDuplexChannel (cognitive 16): plugin-worker-manager.createPluginWorkerHandle::openDuplexChannel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 3, ternaries 2 (3 pts), loops 1 (2 pts), error handling 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. This shape REPEATS in the file: 5 other methods here (plugin-worker-manager.createPluginWorkerHandle, plugin-worker-manager.createPluginWorkerHandle::deriveInvocationScope, plugin-worker-manager.createPluginWorkerHandle::routeExecuteLogNotification, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5536a669cd34c8dbb479b82a31dadccc158ed652e24b8cb4bf0b09564ad59a"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-worker-manager.createPluginWorkerManager.call (cognitive 16): plugin-worker-manager.createPluginWorkerManager.call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 5 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":4269}}}],"partialFingerprints":{"codehealthFindingId/v1":"25250164265ba68691d779ca19e5f8df539328f6cc43d2d68b2d8e80e2333e22"}},{"ruleId":"D2","level":"warning","message":{"text":"execute.executeProcess (cognitive 16): execute.executeProcess has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/process/execute.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6161a747845c8e51855ca1644d76e75719d97b752a2c745d4fcf687840b4d6de"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-deliverable-file.readVerifiedRemoteWorkspaceFile (cognitive 16): remote-deliverable-file.readVerifiedRemoteWorkspaceFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-deliverable-file.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9026c59c0b918ffc862a139fa2cb8c63ea6780586be38a1f6e50ae3e70f46537"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-goals.normalizedPrpGoal (cognitive 16): runner-goals.normalizedPrpGoal has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8, boolean chains 5, if/else 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":"server/src/services/runner-goals.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"96124db0dacaf5f78b0fa9c5973e6f52e16e199525d861643e752cc636127719"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-completion-delivery.prepareChatCompletionTurn (cognitive 16): chat-completion-delivery.prepareChatCompletionTurn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). 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 189). 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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede32409ba8b1222b5640184e9c0dbfbe671b14d4b3c320c3761b6e6eb0461a3"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-http.mcpParamHeaders (cognitive 16): mcp-http.mcpParamHeaders has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (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":"server/src/services/mcp-http.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b219663bb686a4ef5f7e1b1b8669d373a6820f23918c4ce1934de0410f5402b"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.createToolCatalogDiscovery.remoteTools::listFirstPage (cognitive 16): discovery.createToolCatalogDiscovery.remoteTools::listFirstPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (discovery.createToolCatalogDiscovery.remoteTools) 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22b8deda7ae54b9247d8272d29ea69fec7332e0c9753859e663a1dcb0131b26"}},{"ruleId":"D2","level":"warning","message":{"text":"health-schedule.connectionHealthSchedule.load (cognitive 16): health-schedule.connectionHealthSchedule.load has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/health-schedule.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"949ace09595d1d585a2e516ab411c3807a437239295a2492c58b1e7d0614eedd"}},{"ruleId":"D2","level":"warning","message":{"text":"form-session.acceptSlackFormClosed (cognitive 16): form-session.acceptSlackFormClosed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728ec4e016e1e574f65cdc91217871ff27392b4aa007b3961d240decc0d114c"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-session-store.voiceSessionStore.enqueuePublication (cognitive 16): voice-session-store.voiceSessionStore.enqueuePublication has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 10 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7556bae134a5a8caa0c497d65c16ea27f259bc00ad66e5ea295b7c1912a60807"}},{"ruleId":"D2","level":"warning","message":{"text":"verified-preparation-log.hasVerifiedPreparationLog (cognitive 16): verified-preparation-log.hasVerifiedPreparationLog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/verified-preparation-log.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b1954c66297269a7dfc4ef9c9e90a6bef5512039807bf964d642f0316a869a"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-tree-control.buildAffectedAgents (cognitive 16): issue-tree-control.buildAffectedAgents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1066ea77533a42ed9f79af7f7fb400b0060406c24dc366aaa369dfa9fc287922"}},{"ruleId":"D2","level":"warning","message":{"text":"completed-turn-cleanup-hold-settlement.decideBlockedStatus (cognitive 16): completed-turn-cleanup-hold-settlement.decideBlockedStatus has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 4, boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/completed-turn-cleanup-hold-settlement.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"24586202b579c7e1b518445e537f0269bfd257518b54ac5cf1886f8205209dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-policy.parseExecutionWorkspaceStrategy (cognitive 16): execution-workspace-policy.parseExecutionWorkspaceStrategy has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 7, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"357d3341a3ce9184416b6d3d76aee7c2634e41a4c8b4111170d08ab5040d1cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-workspace-preparation.prepareWorkspaceWithPolling (cognitive 16): plugin-workspace-preparation.prepareWorkspaceWithPolling has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 5). 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":"server/src/services/plugin-workspace-preparation.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b68158b96c74f5a0f0970ac4d6a6ab31c5b136c20024f04a8e328412bf887fa"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-lifecycle-lock.withExecutionWorkspaceLifecycleLock (cognitive 16): execution-workspace-lifecycle-lock.withExecutionWorkspaceLifecycleLock has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, ternaries 5 (6 pts), if/else 2 (3 pts) (nesting depth added 2). Of this number, 8 points are the body\u0027s own statements and 8 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":"server/src/services/execution-workspace-lifecycle-lock.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"832c3b62a62f06af91fa97ff4e19017ab9a431a8a5842381101fb2854637324c"}},{"ruleId":"D2","level":"warning","message":{"text":"git-restore-point-ledger.gitRestorePointRetentionService.evaluateActive (cognitive 16): git-restore-point-ledger.gitRestorePointRetentionService.evaluateActive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point-ledger.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4a6a60da9e1b076db2bd022246b1316e79f8b766553625aba268b40bd368cc"}},{"ruleId":"D2","level":"warning","message":{"text":"git-workspace-contents.validateGitWorkspaceContents (cognitive 16): git-workspace-contents.validateGitWorkspaceContents has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (4 pts), loops 1 (nesting depth added 1). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2da05977fd0ba939125dbded0142a2dcecdfa781f8f337cbe529d07806e3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-content-guards.validateToolContent (cognitive 16): tool-content-guards.validateToolContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), 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":"server/src/services/tool-content-guards.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e7837cc419bfe9c78f24a24ca6cfb810dd81fd5b2005e574891a36abec161d"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectDecision (cognitive 16): ai-connections.aiConnectionService.selectDecision has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccb2a2607e4e2d0bc78063a651baeb471454e6c80ba9c7ad6b2e7bdc2fbabd9"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectFastResponse (cognitive 16): ai-connections.aiConnectionService.selectFastResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (ai-connections.aiConnectionService.selectPromptInjectionPrevention) 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":"server/src/services/ai-connections.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba89e15c884c8ad1a9f3f7b053638079e7365207a0a6006a0ba7e521ee1a4bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-connections.aiConnectionService.selectPromptInjectionPrevention (cognitive 16): ai-connections.aiConnectionService.selectPromptInjectionPrevention has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (ai-connections.aiConnectionService.selectFastResponse) 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":"server/src/services/ai-connections.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2948d38e8c9725b64a08487df40b63144720a24bd9494399885c5fc4af4759e6"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instruction-files.assertInstructionPathSafe (cognitive 16): agent-instruction-files.assertInstructionPathSafe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function 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":"server/src/services/agent-instruction-files.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f154093a793dcc77fbe0d3e59f279624e967af1fa95db2206c3ec92d930955"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-file-store.scanAgentFiles::walk (cognitive 16): agent-file-store.scanAgentFiles::walk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed1c50532d3f61cb047840f2092cf43501360cd6994f0f3a7620b64f49256c0"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instructions.agentInstructionsService.updateBundle (cognitive 16): agent-instructions.agentInstructionsService.updateBundle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 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, 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcf60f5eac168f678ae307cde7cc005a788fe7f94e949a5be8ae4e00ce85d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-token-session.addressMatchesEntry (cognitive 16): setup-token-session.addressMatchesEntry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/setup-token-session.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0efe59a08aaa0f9d3f29ac95e4011aac8eccbdb5b08cdef9e8a8ba3165e542"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-custom-images.environmentCustomImageService.resolveSetupProvider (cognitive 16): environment-custom-images.environmentCustomImageService.resolveSetupProvider has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 3). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3134f8dd71e459cb620119178d29860e24c148308ccb87823ad112e61c992"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-custom-images.environmentCustomImageService.finishSetupSession (cognitive 16): environment-custom-images.environmentCustomImageService.finishSetupSession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 5 (6 pts), boolean chains 2, error handling 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bf97085a490f7f54a7b21298a12a175ee7765b4e9a5a0dc17363d5f0b008ca"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-package-files.validateSkillPackageManifest (cognitive 16): skill-package-files.validateSkillPackageManifest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-package-files.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3f1f5b70e10355ccc1d48c49429d1695ef1f05880d459efa7e3ff8fb595968"}},{"ruleId":"D2","level":"warning","message":{"text":"external-objects.createPluginProviderDetector.detect (cognitive 16): external-objects.createPluginProviderDetector.detect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 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":"server/src/services/external-objects.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe6dca948ec51f16492a2f6239da401356a2dfebf2b542e4fdbd6c55354b282"}},{"ruleId":"D2","level":"warning","message":{"text":"github-pull-request-merge.createPullRequestMergeDetailsResolver.\u003Creturned closure\u003E (cognitive 16): github-pull-request-merge.createPullRequestMergeDetailsResolver.\u003Creturned closure\u003E has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 3, if/else 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":"server/src/services/github-pull-request-merge.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73acf1c5f210d6da869d6ff44a13946d08035f4309fb9cf57a11b9b8e439d15"}},{"ruleId":"D2","level":"warning","message":{"text":"work-products.refreshPullRequestWorkProductMetadata (cognitive 16): work-products.refreshPullRequestWorkProductMetadata has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 1). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 96). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-products.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7661d7ee237a5bb0fd4e03ab01fe534131c08d9c03c9d195555f95fb52f088da"}},{"ruleId":"D2","level":"warning","message":{"text":"company-skills.deriveSkillSourceInfo (cognitive 16): company-skills.deriveSkillSourceInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, 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":"server/src/services/company-skills.ts"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4b7f6320e55f94d3e008465eda6ee4bd8703253cbd79e4827d3fedb3d9936"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-source-sync.adoptProjectSkillRepository (cognitive 16): skill-source-sync.adoptProjectSkillRepository has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 3, ternaries 2 (3 pts) (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 one function literal inside it that branches (line 62). 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c669f8c0f390f5f5281afc4abf41a4a9880fb90476003b860919dc8e107bd99"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-storage.restoreCurrentNativeHarnessBackup (cognitive 16): native-harness-backup-storage.restoreCurrentNativeHarnessBackup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e760adb7aa0bb1eff8d15615c617b818d011d1bc2a5e064a546fa13a7dd22"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-abandoned-files-hold.releaseAbandonedWorkspaceFiles (cognitive 16): remote-workspace-abandoned-files-hold.releaseAbandonedWorkspaceFiles has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 2, if/else 2 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 106, 112, 116). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-abandoned-files-hold.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9157279ea48d18aa789f6fc96c415d568b11c1abf1593cd614c18b632a9175e"}},{"ruleId":"D2","level":"warning","message":{"text":"local-service-supervisor.isLocalServiceCommandLineComparable (cognitive 16): local-service-supervisor.isLocalServiceCommandLineComparable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1e74654225460d685d72bf8d0fc12c9cf2a4e13230ea80e957a3eb3d2eadba"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-realization.buildWorkspaceRealizationRecord (cognitive 16): workspace-realization.buildWorkspaceRealizationRecord has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (15 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":"server/src/services/workspace-realization.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c747baf3d84a8148e4fcc7e14b1661e8ef78008d81c98da8af3378a43192b46f"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-runtime.environmentRuntimeService.destroyReusableSandboxLeases (cognitive 16): environment-runtime.environmentRuntimeService.destroyReusableSandboxLeases has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a36cbf69ba022a223a15bc58939aab5a448f54cdf24eacda3291c18d6ef62b6"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-runner-selection.resolveGrokRunnerConfig (cognitive 16): agent-runner-selection.resolveGrokRunnerConfig has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 2, loops 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"62047d52dc0daeb02c96e35fde69608bd96684d00632b7f7175a8ec3ffdb2191"}},{"ruleId":"D2","level":"warning","message":{"text":"finance.createFinanceEventInTransaction (cognitive 16): finance.createFinanceEventInTransaction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/finance.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a7ef7534a296d769eeea6540c43fe9bda4796c53b51be40509cfdad9e3d2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-job-scheduler.createPluginJobScheduler.dispatch (cognitive 16): plugin-job-scheduler.createPluginJobScheduler.dispatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-job-scheduler.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"539eed05ed91378fcde7d04f690680819c04084173c8edaf36d90f8cce778ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.decideGatewayPolicy (cognitive 16): tool-gateway.createToolGatewayService.decideGatewayPolicy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfebec9904fffe11486e725b5a9e16344d80db68fd1fa02723f6a128bad78788"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.usableConnectionsForAgent (cognitive 16): tool-gateway.createToolGatewayService.usableConnectionsForAgent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":6180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7dbb72ec64839ce12eec515227d3d7f7f87c2e2feab86e2d05f4115e5f5911"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-gateway.createToolGatewayService.insertNamedGatewayToken (cognitive 16): tool-gateway.createToolGatewayService.insertNamedGatewayToken has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), boolean chains 5, if/else 5 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":8748}}}],"partialFingerprints":{"codehealthFindingId/v1":"108bef4b344bb7aeab39db5ac467a7d55e719a6fc885714ece94c553a8eb5ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspace-repositories.executionWorkspaceRepositoryService.prepareConfiguredRepositoryCopy.verify (cognitive 16): execution-workspace-repositories.executionWorkspaceRepositoryService.prepareConfiguredRepositoryCopy.verify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e6145d4a50af8f282be448735444609fb03266ea5acbf806bea3ca603983b"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.ensureManagedProjectWorkspace (cognitive 16): workspaces.ensureManagedProjectWorkspace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, ternaries 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1990b33c1ca73cb73aa4b848b6f6f5649782f6c0e2b1e7b8eb251757a8a1ef4d"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-workspaces.executionWorkspaceService.runTerminalWorkspaceCleanup (cognitive 16): execution-workspaces.executionWorkspaceService.runTerminalWorkspaceCleanup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"491567e7f3baba879ee6e04b7aa30e1e48dd9118a3fcc91b17618cab7973bc63"}},{"ruleId":"D2","level":"warning","message":{"text":"fresh-continuation-fallback.continueHeldExecutions (cognitive 16): fresh-continuation-fallback.continueHeldExecutions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, error handling 1 (2 pts), 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d5db6e0be87af4a1a5ce0479bf62dca36bf20dcaf7f25792d719685e46f0a6"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-interaction-delivery.retainAllowedMessages (cognitive 16): agent-interaction-delivery.retainAllowedMessages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a001fa3937185e4814e654564b704f082281ddacfb98ee3906219f53272bd183"}},{"ruleId":"D2","level":"warning","message":{"text":"native-board-response-wait.readNativeBoardResponseWaitSource (cognitive 16): native-board-response-wait.readNativeBoardResponseWaitSource has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f5b471254c4f880f01a084227b60c1ff17636e2013d4129120985f9fd6d99"}},{"ruleId":"D2","level":"warning","message":{"text":"status-decision-committer.assertPendingEffectTarget (cognitive 16): status-decision-committer.assertPendingEffectTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eff568f91a4180714ae71ea2dcd62499fe360ac376aef14b2b19a2a4748731"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-graph-liveness.classifyIssueGraphLiveness::blockedFindingForLeaf (cognitive 16): issue-graph-liveness.classifyIssueGraphLiveness::blockedFindingForLeaf has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 2 other methods here (issue-graph-liveness.classifyIssueGraphLiveness, issue-graph-liveness.classifyIssueGraphLiveness::firstBlockedChainFinding) 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6c791074babfd55d81a82e0baa62a1a5712cdf54a91f7998d8af0effd837ac"}},{"ruleId":"D2","level":"warning","message":{"text":"automatic-run-brake.createAutomaticRunBrake.refresh (cognitive 16): automatic-run-brake.createAutomaticRunBrake.refresh has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9229998fe3214ff99383f06a32ab898c9d196dc0ea246a0824fa6adf466cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-busy-wait.parkWorkspaceBusyRetryInTx (cognitive 16): workspace-busy-wait.parkWorkspaceBusyRetryInTx has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 4, if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9917b3ca431682af4f931109c1d114bbc6c9ecdd0d3a29e048044d568e4f1d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createPostgresRunDispatchAdapter.promoteOrCancelDueRetry (cognitive 16): postgres.createPostgresRunDispatchAdapter.promoteOrCancelDueRetry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 3 (5 pts) (nesting depth added 2). 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 item inside it that branches (promoteLockedRun). 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f57f91e9a9717cd297dfd501129e14d8cffd4d18eec9d8b65c1eb107202d61"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.recordNativeTerminalRecoveryIfNeeded (cognitive 16): postgres.recordNativeTerminalRecoveryIfNeeded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, loops 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"5417098d27e11c7dd65dce8d631f5aefb0ee1a3e047a18d964d62ccaa73d80d4"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.createWakeAdmissionWriter.coalesceIntoActiveExecutionRun (cognitive 16): postgres.createWakeAdmissionWriter.coalesceIntoActiveExecutionRun has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"079dbfe8a551856ec57b47d3467f3502f91292c2d09ff18adf2dff2f1a2ab9a7"}},{"ruleId":"D2","level":"warning","message":{"text":"dot-assignment-follow-up.consumeDotHistoryReceipt (cognitive 16): dot-assignment-follow-up.consumeDotHistoryReceipt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (3 pts), boolean chains 2, loops 2 (nesting depth added 2). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 73, 60, 58). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-assignment-follow-up.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c168846cdb0a34bdce053af77bda4747b2a343d25cd906ab74bb4377b99c74"}},{"ruleId":"D2","level":"warning","message":{"text":"muse-assignment-follow-up.consumeMuseHistoryReceipt (cognitive 16): muse-assignment-follow-up.consumeMuseHistoryReceipt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (3 pts), boolean chains 2, loops 2 (nesting depth added 2). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 69, 56, 54). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/muse-assignment-follow-up.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d8a8fa4b9a7d449537f1b17aaa4c033cdf353a579104de4c37f283d8d49552"}},{"ruleId":"D2","level":"warning","message":{"text":"reattach-phase.reconcileReattachWatch (cognitive 16): reattach-phase.reconcileReattachWatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/reattach-phase.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a192cb72ef9a26e2f875c0258662ec895715224488d1e632dd9b3474829406f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-finalization-work.nativeWorkspaceFinalizationWork.checkWithinTrace (cognitive 16): native-workspace-finalization-work.nativeWorkspaceFinalizationWork.checkWithinTrace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 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":"server/src/services/native-runtime/native-workspace-finalization-work.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae05d775472deeb3361d56416f248c45430e15faa2743e81af2703f7ce10067"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-recovery-stop-proof.rearmExhaustedStopProof (cognitive 16): workspace-recovery-stop-proof.rearmExhaustedStopProof has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 4, ternaries 4, error handling 1. Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 87). 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":"server/src/services/workspace-recovery-stop-proof.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"24af296cab806eec53eead5e51cf8f6e5c9bd0df0391b60b35814da67f87d58b"}},{"ruleId":"D2","level":"warning","message":{"text":"case-access.assertActorCanWriteCase (cognitive 16): case-access.assertActorCanWriteCase has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-access.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d4c163092819328d7178e347072192569c7d5e0555d7e56089b05cc521acc9"}},{"ruleId":"D2","level":"warning","message":{"text":"case-mutation-authorization.authorizeCaseRunMutation (cognitive 16): case-mutation-authorization.authorizeCaseRunMutation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, 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":"server/src/services/case-mutation-authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be039b942f5a27e65ea3df70cc46bf68ebe1c9dac1283cbcb7a75f6119247c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context.collectDirectoryFiles (cognitive 16): runtime-context.collectDirectoryFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (visit). 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":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e4578405d3233be620ef3bf7eb3c597e6184e4b54291f1f7b6c8482b342820"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime-context.resolveNativeRuntimeMcpSnapshot (cognitive 16): runtime-context.resolveNativeRuntimeMcpSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, ternaries 6. 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 340, 374, 339). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a48abb4a2428f9dc54354d527a48046142d5a11e8f0869bb2aa10813eb07b1b"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-export-recovery.recoverCandidate (cognitive 16): native-workspace-export-recovery.recoverCandidate has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. 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 42, 62). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-recovery.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c094d229ba00f821f199d0e3adde6619e2b0d596f04ba12b4443472b7933892"}},{"ruleId":"D2","level":"warning","message":{"text":"run-control.createHeartbeatRunControl.completedRunTerminationProof (cognitive 16): run-control.createHeartbeatRunControl.completedRunTerminationProof has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 3 (5 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305989d73715236eb4fab4382bf3d01ed4ba7d60ae6d6e70947c65764f383c9"}},{"ruleId":"D2","level":"warning","message":{"text":"work.registerIssueRecoveryWork.registerCompany (cognitive 16): work.registerIssueRecoveryWork.registerCompany has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 4, boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 4 function literals inside it that branch (lines 168, 192, 166, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/work.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9a7578005da61ef867ecfe457db515dd7c045914c7cb62e2e58ae2b92e3783"}},{"ruleId":"D2","level":"warning","message":{"text":"native-startup-retry.agentProviderLimitCooldown (cognitive 16): native-startup-retry.agentProviderLimitCooldown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, 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":"server/src/services/native-runtime/native-startup-retry.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7765bb7712953229f42f41f7a76b96aad27b9e09aafb3adb36b3e24283b277b7"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-limit-wait.createProviderLimitWait.deferRunForProviderLimit (cognitive 16): provider-limit-wait.createProviderLimitWait.deferRunForProviderLimit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 3, error handling 1 (2 pts), ternaries 2, loops 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":"server/src/services/heartbeat/provider-limit-wait.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"938cad4a5fb326a3b2b946dc96804e4977dbd05e90958f0903de15783aed361b"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-github-launchers.prepareHeartbeatGitHubLaunchers (cognitive 16): heartbeat-github-launchers.prepareHeartbeatGitHubLaunchers has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 3 (4 pts), boolean chains 3, 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":"server/src/services/heartbeat-github-launchers.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"99854e382171b0436acd55fb62d154c251133b5fc633b7208ef8d1d843ad8d76"}},{"ruleId":"D2","level":"warning","message":{"text":"task-watchdogs.isUniqueConstraintConflict (cognitive 16): task-watchdogs.isUniqueConstraintConflict has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-watchdogs.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b4ab3e8a16dbac0dd77f3e9a9d38daa65cdc58c639d23af0e59a71c5487f37"}},{"ruleId":"D2","level":"warning","message":{"text":"external-chat-question-response-retry.resolveQuestionResponseRetryAdmission (cognitive 16): external-chat-question-response-retry.resolveQuestionResponseRetryAdmission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 3 (6 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":"server/src/services/native-runtime/external-chat-question-response-retry.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e7575ea6c0690bda759946598dea93eee10c6d698acd96176e014806530262"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-publication-text-parts.nativePublicationTextSize (cognitive 16): chat-publication-text-parts.nativePublicationTextSize has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 2, if/else 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd18b6ad20830f6b4911da1dd7f32a4068b1b44b71655b2dad06695e4b0f9b20"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-inbound-service.voiceInboundService.saveConfiguration (cognitive 16): voice-inbound-service.voiceInboundService.saveConfiguration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 1 (nesting depth added 1). 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, 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"399913fc25f8e1ea9b87df19d737bf305f42914590e2fef600734c1b9159a4a4"}},{"ruleId":"D2","level":"warning","message":{"text":"completion.createSlackCompletion.sendSetupMessage (cognitive 16): completion.createSlackCompletion.sendSetupMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 3, 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":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cdce0da4a50da23e00f94879d952efce1c1127dad9e1832ca6aa9eafcd9ba0"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-github-webhook-config.resyncGitHubAppWebhook (cognitive 16): chat-github-webhook-config.resyncGitHubAppWebhook has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"68453a20fad146c9b3b302efb2d0ca9cdca75db39c1497d34e452e82720f2e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.createChatPublicationResolution.replayPublication (cognitive 16): resolution.createChatPublicationResolution.replayPublication has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 3). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dc9b4898e90ce7459409bf75d409cf6a833e82554d2350e4ccf0fcd2e9d211"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-provider-links.telegramConversationLink (cognitive 16): chat-provider-links.telegramConversationLink has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 4 (6 pts), if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-links.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dfc186a5b7f19287358caa3bb362fc79b2eeab5eee9d7cb983730c280241db"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-queue.createChatConversationDeliveryQueue.nextInboundDeliveryAt (cognitive 16): conversation-queue.createChatConversationDeliveryQueue.nextInboundDeliveryAt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60eb58fb0e5a7dbb49639423f7b64267e63093b239122302e97e76d16abb4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"setup-secret.createGitHubSetupSecret.generateSetupSecret (cognitive 16): setup-secret.createGitHubSetupSecret.generateSetupSecret has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 79, 150, 199, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2d62e321ec1b4261054d544a7d2c970e4476fb2b88dc20319cc395fe16a0d1"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator-app-discovery.inventoryPayload (cognitive 16): aggregator-app-discovery.inventoryPayload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e7a80e622ac98d81a15467b5cf51e82f03ba91532457b3d2d4a59334f0447d"}},{"ruleId":"D2","level":"warning","message":{"text":"client-registration.createOAuthClientRegistration::oauthClientBindingMatches (cognitive 16): client-registration.createOAuthClientRegistration::oauthClientBindingMatches has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d943662c8136c77d8291cf933c4a2ae7095bde0611f714011f96ffb72327c1"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-workspace-transport.sandboxProviderFailureLabel (cognitive 16): remote-workspace-transport.sandboxProviderFailureLabel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e943e453b7ff671c6340f1df754a16e79ba3f9300abdd4b1fae1547c97d7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"native-failed-workspace-recovery.preserveOrphanedNativeWorkspace (cognitive 16): native-failed-workspace-recovery.preserveOrphanedNativeWorkspace 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca5608c91dbc26e068d106b3916d4b1c0224f2b341eeb86768370a3878bce9c"}},{"ruleId":"D2","level":"warning","message":{"text":"issue-thread-interactions.issueThreadInteractionService.expirePendingInteractionsForTerminalIssue (cognitive 16): issue-thread-interactions.issueThreadInteractionService.expirePendingInteractionsForTerminalIssue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 5434, 5479). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6a8ebee148cfa59f7265fc5adabd3a621b73ed3488c27c4722ef02b44d22e2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-codex-runner.resolveRemotePaperclipRunnerBinary (cognitive 16): native-codex-runner.resolveRemotePaperclipRunnerBinary has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 5, if/else 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e930b1c48866fb3bbfd7b1a990a0aa60ac0b8e5b3ac7ccbe8144af168d20005c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-provider-artifact-files.capture (cognitive 16): native-provider-artifact-files.capture has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifact-files.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"98349b3a31a7a0c5f663ac60f9173de46183ed7655ec41fc7c55e27f7874cb54"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-runner-credentials.preparePluginRunnerCredentials (cognitive 16): plugin-runner-credentials.preparePluginRunnerCredentials has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 5). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-credentials.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bad90147d7fb7e1244242196109961a7571fdee2b890b7e453203386da49b9"}},{"ruleId":"D2","level":"warning","message":{"text":"native-bootstrap-proof.runnerdStateHasNoProviderTurn (cognitive 16): native-bootstrap-proof.runnerdStateHasNoProviderTurn has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e18feaef7b68c7b03131a3b1529409748d8edce1c511a0d586becec7658d807"}},{"ruleId":"D2","level":"warning","message":{"text":"native-bootstrap-proof.collectRecordedProcessIds (cognitive 16): native-bootstrap-proof.collectRecordedProcessIds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fbd159ebbe91ed32c108d29918a09132ee175667a93e1b2abb9c79e51ec5e2"}},{"ruleId":"D2","level":"warning","message":{"text":"stopped-codex-turn.completionScriptInput::literal (cognitive 16): stopped-codex-turn.completionScriptInput::literal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/stopped-codex-turn.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902f99ba4b6bfd4ac26f41693bd7b619941872b1c0377e8e07dba7bb16c5c26"}},{"ruleId":"D2","level":"warning","message":{"text":"retained-provider-pack-source.importSource (cognitive 16): retained-provider-pack-source.importSource has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b74f28db8fe6aa96e6c36e79af826e820a653f7a86a666d0d1ca073a98d73c"}},{"ruleId":"D2","level":"warning","message":{"text":"remote-pi-companion.inventoryRemoteCompanion (cognitive 16): remote-pi-companion.inventoryRemoteCompanion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 2 function items inside it that branch (visit, a function literal at line 73). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf0fdad55abcb2042eed90436a2ed99a04415737111ef2b887d7e48b6c674c"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-task-attachments.readTaskAttachment (cognitive 16): runner-task-attachments.readTaskAttachment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-task-attachments.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e0fe7ed7e9d5707f58778b0320a71340d2870f98d6beecc3307cda7a8e98eb"}},{"ruleId":"D2","level":"warning","message":{"text":"heartbeat-run-privacy.canActorReadWorkspaceOperation (cognitive 16): heartbeat-run-privacy.canActorReadWorkspaceOperation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, loops 2, ternaries 1 (nesting depth added 5). 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":"server/src/services/heartbeat-run-privacy.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a6fe55a27e3e77c9efbffa2d15afc4443f6fd021f91a99b4622464202a860c"}},{"ruleId":"D2","level":"warning","message":{"text":"routines.routineService.reconcileExecutionRunStatuses (cognitive 16): routines.routineService.reconcileExecutionRunStatuses has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (4 pts), error handling 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":"server/src/services/routines.ts"},"region":{"startLine":3405}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a8d60bd5fdbe8fb0c9d473baa489d1a720861c4cf9f07f0c8dc78ee1be64d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#reserveApiResponseCapture (cognitive 16): PaperclipRunnerToolAuthority.#reserveApiResponseCapture has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), error handling 1, loops 1 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5754aeec6d2f92b3f1aadc02394bae0ab5a8e8cb34e3bcbe3d97d8fac54ced97"}},{"ruleId":"D2","level":"warning","message":{"text":"PaperclipRunnerToolAuthority.#setTaskMonitor (cognitive 16): PaperclipRunnerToolAuthority.#setTaskMonitor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 2, ternaries 2, loops 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 (authorizeTarget, a function literal at line 2542). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cfaf2f932a7049ec7da6ee9b84222d70eb473ec2d98f9ad5ef7d76f8a9d78c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.steerNativeSession (cognitive 16): native-session-executor.steerNativeSession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 1 (2 pts), boolean chains 1, 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9622}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b261d008fff1895e173ca674cfb7f551510f00f1d605a594a67b9abcd46bc8c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.prepareRemoteExternalRunner.prepare (cognitive 16): native-session-executor.prepareRemoteExternalRunner.prepare has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16207}}}],"partialFingerprints":{"codehealthFindingId/v1":"646d267e0405c7b731341d5b33d634e5577e5539a39c1e4b294f7a48adc8272f"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-executor.createRunnerdBackendWithinSessionClaim.recordAdmittedProviderPack (cognitive 16): native-session-executor.createRunnerdBackendWithinSessionClaim.recordAdmittedProviderPack has cognitive complexity 16 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 4 (5 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18772}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed245fa14e7575c09c363b97c1af545fdafab797d32dd396569cdf29aa62f568"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueListOrderBy (cognitive 16): issues.issueListOrderBy has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4f499840a93fa9402a49438971ec8066186823db2e12380c3248cfb86a9af4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-instance-secrets.agentInstanceSecretService.apply (cognitive 16): agent-instance-secrets.agentInstanceSecretService.apply has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 22, 19). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instance-secrets.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d349fa2f848b4e25bfdb846698f338e9d5a35b55e76a38a1129f5afcb64bc79"}},{"ruleId":"D2","level":"warning","message":{"text":"wakeup-notices.createInboundWakeNotices.authorizeInboundWakePublication (cognitive 16): wakeup-notices.createInboundWakeNotices.authorizeInboundWakePublication has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ac6542a768b1885d65f028f232dd90b8e57ac26995f69761101f13b582b3ba"}},{"ruleId":"D2","level":"warning","message":{"text":"muse-identity.inspectMuseConnectionCredential (cognitive 16): muse-identity.inspectMuseConnectionCredential has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (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":"server/src/services/muse-identity.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d280f8e12682ba5c52a9afb86d5d821a268ec673222a7e2932cc85504eaeaa"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-principal-http.dotPrincipalControlRoutes (cognitive 16): cloud-principal-http.dotPrincipalControlRoutes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, error handling 3, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 63). 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":"server/src/modules/external-agents/cloud-principal-http.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e734a017fde51ab9029d7e8cec7545bcf4966392f5f35126a0ea8a79fb3fe48"}},{"ruleId":"D2","level":"warning","message":{"text":"muse.createMuseBroker::authorizeAssignment (cognitive 16): muse.createMuseBroker::authorizeAssignment has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, 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. This shape REPEATS in the file: 3 other methods here (muse.createMuseBroker, muse.createMuseBroker::detectorEvidence, muse.createMuseBroker::requestWork) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee46b5ff5724607d9bf972ea703a11b039eead398111405419785677b34c64c"}},{"ruleId":"D2","level":"warning","message":{"text":"muse.createMuseBroker::detectorEvidence (cognitive 16): muse.createMuseBroker::detectorEvidence has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (3 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. This shape REPEATS in the file: 3 other methods here (muse.createMuseBroker, muse.createMuseBroker::authorizeAssignment, muse.createMuseBroker::requestWork) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b8977a82259f3084e01f9e2d4bde23d46a36036f0f906becff60b2743ea288"}},{"ruleId":"D2","level":"warning","message":{"text":"dot.createBroker.authorizeAssignment (cognitive 16): dot.createBroker.authorizeAssignment has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef6af7d9ffde493735e843670627b0fc9cbf47283370a33b822806dcfc2d58d"}},{"ruleId":"D2","level":"warning","message":{"text":"native-restart-recovery.nativeProviderProcessIdentities (cognitive 16): native-restart-recovery.nativeProviderProcessIdentities has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, ternaries 3 (5 pts), if/else 2 (4 pts), 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"33965194001343a170b63c573c7883968b426c39a7f5850fc1700edce7b8e999"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-controller-lease.flushRenewals (cognitive 16): legacy-controller-lease.flushRenewals has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), ternaries 2 (6 pts), error handling 1 (2 pts) (nesting depth added 9). 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":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e3e96f4f5c55d29e41edaba7f82c4cef512a3f4ad7f560e60f961f4308400d"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.stringifyYamlArray (cognitive 16): frontmatter.stringifyYamlArray has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/frontmatter.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a273e959b835eb356e40afa1a2622d7e7ecadf512c4b0e36dc0ba5dadec4ce"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-rate-limits.summarizeProviderRateLimits (cognitive 16): provider-rate-limits.summarizeProviderRateLimits has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, ternaries 3 (6 pts), if/else 3 (nesting depth added 3). 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/shared/src/provider-rate-limits.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b973f85a477e4ace69fcf64e5e099c9dae5035328b0bf3041abf15a58631086"}},{"ruleId":"D2","level":"warning","message":{"text":"protocol-contract.projectAcpxProperty (cognitive 16): protocol-contract.projectAcpxProperty has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fc4b1932b0167e23043fec56c661e6d2ed7819650ada97a5c670709aaed43c"}},{"ruleId":"D2","level":"warning","message":{"text":"materialize-antigravity-distribution.antigravityDistribution (cognitive 16): materialize-antigravity-distribution.antigravityDistribution has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b8d5b85d7cc05cca1fb33050256468cc8cdee14937e744bb8bfdfc8115104"}},{"ruleId":"D2","level":"warning","message":{"text":"probe-antigravity-metadata.ownedGroupAlive (cognitive 16): probe-antigravity-metadata.ownedGroupAlive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, error handling 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad04a844688c70fab2054e6fa2eadd7e4e5ce2b2436fd435005f83190e1a1b29"}},{"ruleId":"D2","level":"warning","message":{"text":"installed-provider-authority.resolveInstalledProviderAuthority (cognitive 16): installed-provider-authority.resolveInstalledProviderAuthority has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, 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/paperclip-runner/src/drivers/acpx/installed-provider-authority.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e879b9bd3950d6539dfca37f1188964a4ae621b8da8c0fb19e256ab2fe508fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"public-eval-chat.publicChatView.turns (cognitive 16): public-eval-chat.publicChatView.turns has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (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/paperclip-runner/scripts/public-eval-chat.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5f9fa9423a9bc798bc16c182dcaca8bb9a1b87f7f324651946dd745b8ecdbd"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tool-bridge.normalizeTools (cognitive 16): runner-tool-bridge.normalizeTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (7 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"240c6badcfc503fd3d5147b1cc80d1be9a1ee95331beebd10f579023a56ffd07"}},{"ruleId":"D2","level":"warning","message":{"text":"antigravity-process.retireAntigravityProcess::alive (cognitive 16): antigravity-process.retireAntigravityProcess::alive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-process.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b6358339b0739486665520a575a6dfa97712ad03d3cd720521c22f4f89d52b"}},{"ruleId":"D2","level":"warning","message":{"text":"stdio-mcp.stdioMcpLaunchBindings (cognitive 16): stdio-mcp.stdioMcpLaunchBindings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, error handling 1. 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 25, 36, 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":"packages/paperclip-runner/src/drivers/stdio-mcp.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f66524d589d0bec4887a37757737c68474adcb93a5facb6719d603e6d295031"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudClient.streamRun (cognitive 16): CursorCloudClient.streamRun has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e23bfde2551b2ad6e9c2c38c9af2b4279685d1942a7baf4dfa41cd511ac690"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorCloudSession.#saveTerminal (cognitive 16): CursorCloudSession.#saveTerminal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf3b725b57d4e9e50cd69f41fa8f04b98d87a9acd85969286985138c8bc7a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"native-backend-factory.createNativeSessionBackend (cognitive 16): native-backend-factory.createNativeSessionBackend has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/native-backend-factory.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"754b56aef74cca79ce59223a6e201aa042f3e861614cebf16071f895bf559303"}},{"ruleId":"D2","level":"warning","message":{"text":"acpx-runtime-sidecar.parseOpenParams (cognitive 16): acpx-runtime-sidecar.parseOpenParams has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10, boolean chains 3, if/else 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"2940fc521614a0f76ec74bae408ae79e64ce8d56edb994f3ee3774600bc9d9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalRunnerController.#handleLine (cognitive 16): LocalRunnerController.#handleLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/local-runner.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b230380e4cda91ca68b4eede627997870c0e8c5a30be6fa8ffeaf76d92e80e"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-proxy-command.trustedOpenCodeLaunchBinding::materializeForSpawn (cognitive 16): opencode-proxy-command.trustedOpenCodeLaunchBinding::materializeForSpawn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 3 (5 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (opencode-proxy-command.trustedOpenCodeLaunchBinding) 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba786e5630cec32381a478bc1f985631576f253de64a2208f6c0f4b6785d7c4"}},{"ruleId":"D2","level":"warning","message":{"text":"opencode-proxy-command.trustedOpenCodeLaunchBinding (cognitive 16): opencode-proxy-command.trustedOpenCodeLaunchBinding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 6 (13 pts), boolean chains 7, loops 2 (5 pts), ternaries 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (opencode-proxy-command.trustedOpenCodeLaunchBinding::materializeForSpawn) 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7af62a16bab5a0a8da58da9fb1f1568226cc8c261fa476df80324f95b92017"}},{"ruleId":"D2","level":"warning","message":{"text":"control-plane-port.runControlPlanePortConformance (cognitive 16): control-plane-port.runControlPlanePortConformance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, error handling 5, boolean chains 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/paperclip-runner/src/conformance/control-plane-port.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"945b32b97c777e0e58d488625b6ab9d933cf51eb719b80fa5842c2c0ae686ade"}},{"ruleId":"D2","level":"warning","message":{"text":"MockControlPlaneAdapter.appendEvent (cognitive 16): MockControlPlaneAdapter.appendEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ec037e2ec62a5ab7523d43b099d2fb4dea00db30591ec76f03a19a81d75b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"CapabilitySemanticToolRuntime.#startExtensionExecution (cognitive 16): CapabilitySemanticToolRuntime.#startExtensionExecution has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, ternaries 1 (2 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"e706b9fd277ee9c308951ce26942fc0153180db02525b8f8c4d0a7d4951e6f5e"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-harness.deterministicObservation (cognitive 16): workflow-harness.deterministicObservation has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/workflow-harness.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e0b02f0b71dbb1939499a136ff2ba8ee880fad3e61b8aab288501f94974873"}},{"ruleId":"D2","level":"warning","message":{"text":"native-session-runtime.goalFromEvent (cognitive 16): native-session-runtime.goalFromEvent has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 6, boolean chains 3 (nesting depth added 1). 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: 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfe44f247d5f76782949fa86c9a5046ca5ae3d486c26ce6adaac724fb2b8d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveConsoleScriptedSession.#runTurn (cognitive 16): LiveConsoleScriptedSession.#runTurn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"82234734de18b9e89d4abe75e9e0825f705b36274bb0c49c93419e97cfe2dee5"}},{"ruleId":"D2","level":"warning","message":{"text":"exec.executeInSandbox (cognitive 16): exec.executeInSandbox has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/exec.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7fa1c46cb20dfaf6537f38ee76be7e1d52dcf09279a2e3ae44955cf77a29b3"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.validateArchive (cognitive 16): file-sync.validateArchive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 3). 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/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e23f43ee7c7fbc551d6344b55b0a139407da007b1ea1a4c8f7a97a9404e6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"DaytonaIdleActivity.confirm (cognitive 16): DaytonaIdleActivity.confirm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/idle-activity.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"34771813f337c1585ccc62f70dbd933212e72af147aec82f06f13c5f9d74ddd7"}},{"ruleId":"D2","level":"warning","message":{"text":"file-sync.assertTarListingLineConfined (cognitive 16): file-sync.assertTarListingLineConfined has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"983956e6c7458d16b8060f93bb743501a3cbf489a68d00f61d5a5c7ea66a7058"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree-port-registry.readProcessIdentity (cognitive 16): worktree-port-registry.readProcessIdentity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (5 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/worktree-port-registry.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"415a531c7e6f58cab0a5d125c096f34cd90efcc989ef63f316664325de6bf73f"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog-builder.classifyCatalogFile (cognitive 16): catalog-builder.classifyCatalogFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"1814a645b9e7d0e3157faebe372ead6cc25ba6c4778c7569a893dde661acc1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"local-agent-process-boundary.createLocalAgentProcessBoundary.classifyBatch (cognitive 16): local-agent-process-boundary.createLocalAgentProcessBoundary.classifyBatch has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 6, boolean chains 3 (nesting depth added 2). Most of this is not in the body itself: 3 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 386, a function literal at line 377, operatorPid). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/local-agent-process-boundary.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"286b03cd3bac7fb50cafa224e7dd7d6072107e23683f60186a7df9cab202a884"}},{"ruleId":"D2","level":"warning","message":{"text":"native-harness-backup-expiration.readSessionIdentity (cognitive 16): native-harness-backup-expiration.readSessionIdentity has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc66b6cfbfb580c24a748d3468e5c7820e1c6d18209e596331ffdd11d4863fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-oauth-legacy-backfill.backfillLegacyToolOAuthTokens (cognitive 16): tool-oauth-legacy-backfill.backfillLegacyToolOAuthTokens 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). 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 332). 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":"server/src/services/tool-oauth-legacy-backfill.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3bb93d1104883d0b3affe8027f83e32baf53cc5c6df00c8af574948487001a"}},{"ruleId":"D2","level":"warning","message":{"text":"teams-catalog.teamsCatalogService.prepareSkillInstalls (cognitive 16): teams-catalog.teamsCatalogService.prepareSkillInstalls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (6 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/teams-catalog.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6a85a12f59b6b1951d9c50cfb72ef0619e01e488e0e5a9845fc127519dbfe"}},{"ruleId":"D2","level":"warning","message":{"text":"customer-success.customerSuccessRoutes (cognitive 16): customer-success.customerSuccessRoutes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 5, error handling 1. None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 87, 79). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/customer-success.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99a0b33c50ea7129269613b1c180b1b8bd05614e33bc0bfe63e00844ee6c442"}},{"ruleId":"D2","level":"warning","message":{"text":"teams-catalog.teamsCatalogRoutes (cognitive 16): teams-catalog.teamsCatalogRoutes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). None of this is in the body itself: all 16 points belong to 3 function items inside it that branch (assertCanInstallCatalogTeam, firstQueryString, canCreateAgents). 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":"server/src/routes/teams-catalog.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd0eadeef98e8a5833a91eec97730e257a8ddb407a62a4ff8ad0b12c9fabf81"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-project-access.addAgentProjectAccess (cognitive 16): agent-project-access.addAgentProjectAccess has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, loops 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 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":"server/src/services/agent-project-access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8131460177161e5d5083b6e21b4539f158eb017c6aa770541831af123e91e49a"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::stopRunnerGoalForOwnershipChange (cognitive 16): issues.issueRoutes::stopRunnerGoalForOwnershipChange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (5 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, issues.issueRoutes::classifySourceRecoveryRevalidation, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":3765}}}],"partialFingerprints":{"codehealthFindingId/v1":"2834d2d7d03140fe2fad024d9bec9a3e5155529e21bd8eca0f5957042eea1596"}},{"ruleId":"D2","level":"warning","message":{"text":"issues.issueRoutes::parseAttachmentRangeHeader (cognitive 16): issues.issueRoutes::parseAttachmentRangeHeader has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, 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. This shape REPEATS in the file: 15 other methods here (issues.issueRoutes::stopRunnerGoalForOwnershipChange, issues.issueRoutes::resolveRunDelegationParentDefault, issues.issueRoutes::lookupLowTrustSourceArtifact, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 16 times rather than 16 independent problems. Splitting this body alone leaves the other 15 exactly as they are. Where these are variations on one operation, the change that clears all 16 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":"server/src/routes/issues.ts"},"region":{"startLine":4746}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa10b664ee4c06c44f7baf48ba485d0d4c55b689a284b412f6ea25fcf4b8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-tracing-config.resolveBrowserTracingConfig (cognitive 16): browser-tracing-config.resolveBrowserTracingConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, 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":"server/src/browser-tracing-config.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a88219baaf7f30870f87935db9f25505b71c9b194a52e9707a4ad2d355473"}},{"ruleId":"D2","level":"warning","message":{"text":"invite-grants.grantsFromDefaults (cognitive 16): invite-grants.grantsFromDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, 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":"server/src/services/invite-grants.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee55562f1daaf1f8c1e0104f498354649a665b1b67cd0818ba2369c0c9108f"}},{"ruleId":"D2","level":"warning","message":{"text":"access.grantsFromDefaults (cognitive 16): access.grantsFromDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, 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":"server/src/routes/access.ts"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d187058ba81fe042c6079e143ea893378965039db8fbc6e6d677e8e752147b22"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.isPrivateIP (cognitive 16): plugin-host-services.isPrivateIP has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e1cb0e9aa1231e3c2263bc659ba3b7519666afe3bb303ae73278144052ffb5"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin-host-services.buildHostServices.queuePluginInteractionContinuationWakeup (cognitive 16): plugin-host-services.buildHostServices.queuePluginInteractionContinuationWakeup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"298ee7ebfb31ad6333cd9918b3ecd67494d186cbcd8aa34215aae7d26506f4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"native-workspace-sync-retention.retentionBlocker (cognitive 16): native-workspace-sync-retention.retentionBlocker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47c32c5799fc7a25b5a7e09f667ff27c65d54716602ab58a18298504505252"}},{"ruleId":"D2","level":"warning","message":{"text":"cloud-configuration-migration.cloudConfigurationMigrationService.migrate (cognitive 16): cloud-configuration-migration.cloudConfigurationMigrationService.migrate has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 2, if/else 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 87). 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":"server/src/services/cloud-configuration-migration.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"69832421329e17cd68318382e044c8170bea8c727cf5ba4282ceea29da5f4aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.startServerWithDatabaseTeardown::ensureMigrations (cognitive 16): index.startServerWithDatabaseTeardown::ensureMigrations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (3 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. This shape REPEATS in the file: 2 other methods here (index.startServerWithDatabaseTeardown, index.startServerWithDatabaseTeardown::performShutdown) 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":"server/src/index.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bed9131691e98761faac5a2e7f867aaf7fcd72527e727c2e27d723f18227074"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.classifyError (cognitive 16): errors.classifyError has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/errors.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f807ac7c3af3e469de75016e9da4c98ddcd7bc36abbc5eda795dd031200d09f"}},{"ruleId":"D2","level":"warning","message":{"text":"normalize-markdown.normalizeMarkdown (cognitive 16): normalize-markdown.normalizeMarkdown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (3 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":"ui/src/lib/normalize-markdown.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec0e9c13f518cb1b06190109c13d158de7e46153e416eaa11a4430e70d443cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownEditor.autocompleteOptionMatchesLink (cognitive 16): MarkdownEditor.autocompleteOptionMatchesLink has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0884880e45eb5b08cc01eed7092b5868bd8216236f37cb07e03e42f6765d7646"}},{"ruleId":"D2","level":"warning","message":{"text":"useDurableSubmit.useDurableSubmit (cognitive 16): useDurableSubmit.useDurableSubmit has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 3, if/else 3 (nesting depth added 3). Of this number, 10 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":"ui/src/hooks/useDurableSubmit.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1134579d11fcff44efe68ab9c30096a7fc9a780003d0788ccfe87e192d9e34c3"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-detail-navigation.parseAgentDetailView (cognitive 16): agent-detail-navigation.parseAgentDetailView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-detail-navigation.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a4958f369330a70c822a8bad51e6f0cd838847ed4dfe36dd236a7a9111b15a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-order.sortAgentsByDefaultSidebarOrder (cognitive 16): agent-order.sortAgentsByDefaultSidebarOrder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-order.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede13416dbee0966a1789d2a6197ba241c5a6ac944b6c1097a6a8cfe41f7809"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedPollingCoordinator.publish (cognitive 16): SharedPollingCoordinator.publish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, 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":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dd22d923d2baa61716b9ee4ebfcda8a6945152455bdf8354c7b466adfdebc5"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-file-parser.looksLikeWorkspacePath (cognitive 16): workspace-file-parser.looksLikeWorkspacePath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/workspace-file-parser.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"17942ff37131fe918374dd9f052c01a3cae2d0d8d597f66dced71b15fd766889"}},{"ruleId":"D2","level":"warning","message":{"text":"keyboardShortcuts.resolveIssueDetailGoKeyAction (cognitive 16): keyboardShortcuts.resolveIssueDetailGoKeyAction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 3 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/keyboardShortcuts.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"110df0a5f0363022c2ad19d965953c66ed43a9752d1c6f2ad1f5a70cdcb95933"}},{"ruleId":"D2","level":"warning","message":{"text":"config-fields.ClaudeLocalAdvancedFields (cognitive 16): config-fields.ClaudeLocalAdvancedFields has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 7. Of this number, 13 points are the body\u0027s own statements and 3 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":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"08becb0b5985da396bc6e5a4067ec24590fb58f9fd35c012f463d1b8c4bcb9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"SecretPicker.buildFolderGroup (cognitive 16): SecretPicker.buildFolderGroup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, 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":"ui/src/components/environment-variables-editor/SecretPicker.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bc772dec1035fe1bade19ff9265ff4321e3f51515842871132b71649999783"}},{"ruleId":"D2","level":"warning","message":{"text":"model.rowsFromValue (cognitive 16): model.rowsFromValue has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5, boolean chains 1 (nesting depth added 5). 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 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":"ui/src/components/environment-variables-editor/model.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aea73227d273222fa519b9730b50747f3a3602d19cf74c00740bbf29eec139"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingWizard.OnboardingWizardInner::managedBindingForStep (cognitive 16): OnboardingWizard.OnboardingWizardInner::managedBindingForStep has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, 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. This shape REPEATS in the file: 4 other methods here (OnboardingWizard.OnboardingWizardInner, OnboardingWizard.OnboardingWizardInner::handleLaunchToDashboard, OnboardingWizard.OnboardingWizardInner::buildAdapterConfig, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"116a978d67f77620cd74065af0d5487637ba54bc5c6bcc0ef2ab778a8065f80e"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.production.Sidebar (cognitive 16): Sidebar.production.Sidebar has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"ui/src/components/Sidebar.production.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b0467707d0efd7b791a82be44c5be211357fc165142969347ecfc22aee7eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveTranscriptInterests.receive (cognitive 16): LiveTranscriptInterests.receive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 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":"ui/src/lib/live-transcript-interests.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65040baf77d43042acfade55051f374592272a434a81c5aaa7beedf32951b992"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldCurtain.FoldCurtain (cognitive 16): FoldCurtain.FoldCurtain has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 3, if/else 2 (nesting depth added 3). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FoldCurtain.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdc19dae404a429a13a4fd988a1769a37354f1347a8a1c231951bda4db27d79"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatProtocolCard.ResultCard (cognitive 16): TaskChatProtocolCard.ResultCard has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (15 pts), boolean chains 1 (nesting depth added 8). Of this number, 10 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"2705d1683889e2f4fe1700d33c77f36856d436cb90cab18f84daaf905eba4c41"}},{"ruleId":"D2","level":"warning","message":{"text":"interrupt-handoff.computeComposerHandoffPreview (cognitive 16): interrupt-handoff.computeComposerHandoffPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (7 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":"ui/src/lib/interrupt-handoff.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1109d8094e437b347cfeb0538a47cf3b3bf94781586633abee18f75d12cb42"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueBlockedNotice.SuccessfulRunRetryNowControl (cognitive 16): IssueBlockedNotice.SuccessfulRunRetryNowControl has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f4df77373bd7b801f4edeed2ffe4294881a563e30e11ce22b32853cf570336"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.ExpiredRequestConfirmationActivity (cognitive 16): IssueChatThread.ExpiredRequestConfirmationActivity has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 5 (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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fbd2d5a0e235f178f58f40d8d78aef886c9369c3d44cdb40f27f9b51323653"}},{"ruleId":"D2","level":"warning","message":{"text":"IssueChatThread.IssueChatComposer::attachFile (cognitive 16): IssueChatThread.IssueChatComposer::attachFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (IssueChatThread.IssueChatComposer, IssueChatThread.IssueChatComposer::resendUncertainSubmission, IssueChatThread.IssueChatComposer::submitComment) 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5251}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d81f82c7dfab7aa658d6a8cd18da4352eaafca9d670c7a9914127b8cb9ea4d"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatThread.semanticProgressCommentIds (cognitive 16): TaskChatThread.semanticProgressCommentIds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"06087ad3e9d949714013a0ce2fc2c2868736472595ac4b012d659027c6ab6873"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageGalleryModal.ImageGalleryModal (cognitive 16): ImageGalleryModal.ImageGalleryModal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 2. Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 62, 60, 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":"ui/src/components/ImageGalleryModal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38173a7628fbe23524a0cd47cb63b2e9f3905a35a56ac45f8c00595e02122b5"}},{"ruleId":"D2","level":"warning","message":{"text":"IssuePullRequestLinks.IssuePullRequestLinks (cognitive 16): IssuePullRequestLinks.IssuePullRequestLinks has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 4 (nesting depth added 4). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 15). 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":"ui/src/components/IssuePullRequestLinks.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5863d569af1e76218691dfc9aa7421ce2541f5d9a07ab988ee101edcf0cfe67"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskChatThinking.TaskChatThinking (cognitive 16): TaskChatThinking.TaskChatThinking has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 5, if/else 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":"ui/src/components/task-chat/TaskChatThinking.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07acbb2c03061320ce7d90c23898efb7fdaed8ace353820f09212bb9043529d"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignSandboxTaskThread.DesignSandboxTaskThread (cognitive 16): DesignSandboxTaskThread.DesignSandboxTaskThread has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 2, if/else 2 (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":"ui/src/components/design-sandbox/DesignSandboxTaskThread.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c6a132765e82ccc52d8b3c44ce5b03712eb71453ce2724bd6c2a5eb70abe67"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveAgentsPanel.AgentRunCard (cognitive 16): ActiveAgentsPanel.AgentRunCard has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 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":"ui/src/components/ActiveAgentsPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"78144cf6a153f61554b85291fe0f0e36f838ed98f395ac14d1547cbd5a88c1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"native-run-stop.stopFailedNativeRun (cognitive 16): native-run-stop.stopFailedNativeRun has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 3). 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":"ui/src/lib/native-run-stop.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35a1eb1721d5af372298fa6c2d79b7cddfd819a6ec49d33cbc2484d34d9c4ce"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-skill-source.buildAgentSkillSourceMeta (cognitive 16): agent-skill-source.buildAgentSkillSourceMeta 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":"ui/src/pages/agent-skills/agent-skill-source.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0f27849dbd5df378affcb5bd3e4db9a52f9975755fc7eb6ac8079b7c12823c"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipAction.MembershipAction (cognitive 16): MembershipAction.MembershipAction has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 3, boolean chains 2 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"ui/src/components/MembershipAction.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfc59eee9c0dd0b76e163f96526870cf67d6b8a63961623e6683414d770b81b"}},{"ruleId":"D2","level":"warning","message":{"text":"Projects.Projects (cognitive 16): Projects.Projects has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), loops 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Projects.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b559f92729fae675ca6584ec60893c7af1f35d1f692c9cdbde14ecd0bb60013a"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineHistoryTab.RevisionList (cognitive 16): RoutineHistoryTab.RevisionList has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 5 (nesting depth added 6). 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 434). 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c7a368e6e5df151c457c64dec7a1dcc2a666cb2049d0160cce6be3d3b004cd"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineHistoryTab.compareEnv (cognitive 16): RoutineHistoryTab.compareEnv has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"476e106ef85025ce68b7068ae7d8a4848499a663a480e6080fa8c92e5e9996ab"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutineTriggers.TriggerSetup (cognitive 16): RoutineTriggers.TriggerSetup has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 5). None of this is in the body itself: all 16 points belong to 4 function literals inside it that branch (lines 335, 391, 357, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"372e78d80f665d2bf9a4d45c19286917eedecc07eed2565669682e4bd30d1bfa"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionWorkspaceDetail.readConfiguredRuntimeServicePorts (cognitive 16): ExecutionWorkspaceDetail.readConfiguredRuntimeServicePorts has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (5 pts), if/else 4 (nesting depth added 1). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function items inside it that branch (a function literal at line 190, addServices). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c040cd975e0dbb8b4f67befefcafb707fb44ca42388bdaf70d58e7b3708364d"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactCard.VideoPreview (cognitive 16): ArtifactCard.VideoPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 4, boolean chains 3, error handling 1. Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (loadThumbnailFrame, handleLoadedData, a function literal at line 61, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/ArtifactCard.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae915c23fc76009dd523d63f660a2d0df3a20b6ecb63ad9bfc64952efffd393"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionCard.executionRow (cognitive 16): DecisionCard.executionRow has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 3, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"77148993d7ffe0be0252094ad451b7b32ca9a44fa017e091e11b68ae40b6b5be"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionResolver.CompactDecision (cognitive 16): DecisionResolver.CompactDecision has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 11, boolean chains 4, if/else 1. Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 113, a function literal at line 89, blocked, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"293b0e5ec2eb5fc21c745e18543014729d2ae961eb4e5bb1a8c34f6e05a3a354"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileWizard.StepAssign (cognitive 16): ProfileWizard.StepAssign has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (4 pts), boolean chains 3, ternaries 3 (nesting depth added 4). 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 587, 626, 631). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a2fd38a6d7d0c5b7c63a204e20041d12a6d72f3f796f91992e0444330b24b"}},{"ruleId":"D2","level":"warning","message":{"text":"Browse.upstreamAccountState (cognitive 16): Browse.upstreamAccountState has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2faf1da1dc70b0855ba5f48e6bc392c135f0f2aac9718e616fbfd404b88158"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubConnectionComplete.GitHubConnectionComplete (cognitive 16): GitHubConnectionComplete.GitHubConnectionComplete has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 3, if/else 1 (nesting depth added 6). 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":"ui/src/pages/apps/chat/GitHubConnectionComplete.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e06b3e4dfd1bb4437254aa3405cabb0c62bab199d7678774e230b9978e1060"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSources.DisconnectSourceDialog (cognitive 16): SkillSources.DisconnectSourceDialog has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"df70428184391d6df29f09abe8c01701b636bfae9edef61baaf41bf3d883dd22"}},{"ruleId":"D2","level":"warning","message":{"text":"MyUserSecretsTab.MyUserSecretRow (cognitive 16): MyUserSecretsTab.MyUserSecretRow has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/MyUserSecretsTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ac8759a3b64cb3a2161c3cd3f7ac72759d6cb73c53ff15408cdbec515b53de"}},{"ruleId":"D2","level":"warning","message":{"text":"PanelCard.PanelCard (cognitive 16): PanelCard.PanelCard has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 14 (16 pts) (nesting depth added 2). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/PanelCard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a0cd6823f831a1fcfdb13a8d142237423826f9786770e75307e3e3c8211a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"kinds.metaParts (cognitive 16): kinds.metaParts has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d4-hybrid/kinds.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e319d7aedcdb972c4c99fc29ff3ec19745ca35faa11db0d4a9a0fe7119897a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadAttachments.ThreadAttachments (cognitive 16): ThreadAttachments.ThreadAttachments has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 2 (nesting depth added 6). 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 68, 34, 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":"ui/src/artifact-directions/directions/today/ThreadAttachments.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"925ae9131f5dc251ac231ac963eabf3ac258fa3d5111428aa4c49f200c4d0202"}},{"ruleId":"D2","level":"warning","message":{"text":"CaseRevisionRail.CaseRevisionRail (cognitive 16): CaseRevisionRail.CaseRevisionRail has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, if/else 5, boolean chains 4. Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: 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":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8950618540f6fce2b69978633acb1e15c0f0290bd9200c2f2d24ea69dd377b64"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceAccessCard.WorkspaceAccessCard (cognitive 16): WorkspaceAccessCard.WorkspaceAccessCard has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceAccessCard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aad8c17b2d2d655c12d9e3cccf22be61455534356b641b25e82e8c8cbec7db2"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSourceConnectionRepair.SkillSourceConnectionRepair (cognitive 16): SkillSourceConnectionRepair.SkillSourceConnectionRepair has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1. 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":"ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"313f399c1342ddae689ef59b44ccf3c74f3fc46812515e1461d1b759b3ad715e"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkTimelineChart.formatVisibleDurationMinutes (cognitive 16): WorkTimelineChart.formatVisibleDurationMinutes has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5, 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":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad62b9521cdacebbd443221ebc5fafb836a5ea9def7383db9fa41272d30a78fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionSetupFlow.MethodConfigField (cognitive 16): ConnectionSetupFlow.MethodConfigField has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 4, if/else 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3941}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cf19dddfd0118a13ba01fbff0310afd56630bea2fe5f2c1a755f2152b45fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"useResilientFetch.useResilientFetch.begin (cognitive 16): useResilientFetch.useResilientFetch.begin has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (4 pts), boolean chains 3, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 224, 206, 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":"ui/src/hooks/useResilientFetch.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b73f517bd2ab9e6d6818ed4b49778c4f40795cba1806c7ee0960caf431fb882"}},{"ruleId":"D2","level":"warning","message":{"text":"account-scope.bindAccount.whenAccountReady::lookup (cognitive 16): account-scope.bindAccount.whenAccountReady::lookup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 5, 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":"ui/src/lib/account-scope.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ebbf862e1325f15d8c1ac4b3978e3857bb6a813b4013ecc08d5922d5d622c4"}},{"ruleId":"D2","level":"warning","message":{"text":"oauthHandoff.postCloudHandoff (cognitive 16): oauthHandoff.postCloudHandoff has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, error handling 1 (2 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":"ui/src/lib/oauthHandoff.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ac7f8cdc8880ee3756ed2eba6d5a53ac6c45ee1eecabbf041d086ceda8cde2"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.nearestSourceBar (cognitive 16): layout.nearestSourceBar has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/timeline/layout.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"375a033ee8dfff0b82d6a34e07338504999a1545834205c71324ba00b5b0e19c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetail.production.RunListItem (cognitive 16): AgentDetail.production.RunListItem has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd954783ef0330e44b35d656e5cb27e1964f1ffd7f56417a4918bda3a3189e0"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditTab.lifecycleSummary (cognitive 16): AuditTab.lifecycleSummary has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (5 pts), boolean chains 2, 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6646707c1ffde151031780866ead92b35e5be68a5104f0f89d8345bd6cdd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"connection-dialogs.CatalogDialog (cognitive 16): connection-dialogs.CatalogDialog has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (14 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 98, 78). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"136077dc79caef56b8add731f2f066ecf8e3385cceda80259da85093f3b61c71"}},{"ruleId":"D2","level":"warning","message":{"text":"AiReviewFrame.aiReviewContext (cognitive 16): AiReviewFrame.aiReviewContext has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 3, 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":"ui/storybook/prototypes/AiReviewFrame.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"652d32b1b8ab6793b1c1845b92104c2a04d87372c74f0f573ba2006cc2c69f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationTypographyPreview.ConversationTypographyPreview (cognitive 16): ConversationTypographyPreview.ConversationTypographyPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 4, boolean chains 3, loops 1 (nesting depth added 4). 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 16, 35, 43). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ConversationTypographyPreview.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a0dc401655b2cac33a90a806fcc08ae3c0974cf2e37c5f5c9de6b99bfa06be"}},{"ruleId":"D2","level":"warning","message":{"text":"PrimaryAgentStory.PrimaryPage (cognitive 16): PrimaryAgentStory.PrimaryPage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 247). 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":"ui/storybook/support/primary-agent/PrimaryAgentStory.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d25e06fc62df805e4b05c328318f0b618ffacfd11db532ac83679deac76d65a"}},{"ruleId":"D2","level":"warning","message":{"text":"client.http (cognitive 16): client.http has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 4, error handling 4, 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":"server/src/services/scripts/v2/client.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b66d79b697e4d8795b885051be636dc963b7644fe91c18129cf4cedab17e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.historical_input_source (cognitive 16): Client.historical_input_source has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v9/client.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98c46f58406821188b8a9d2652b802d02ca27afa2afb1639a94f49c53a64311"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxProviderDescriptor::validate_session (cognitive 16): AcpxProviderDescriptor::validate_session has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9582759f337500b6fec2ca870c68a5b8c061d7a37d7cb50af7ebc66a294e47c"}},{"ruleId":"D2","level":"warning","message":{"text":"AcpxDurableState::validate_restored (cognitive 16): AcpxDurableState::validate_restored has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec14366d6026d0076995d2f96c1067e5f47efdc539b0a01e86587e7eb989d5de"}},{"ruleId":"D2","level":"warning","message":{"text":"Command::validate (cognitive 16): Command::validate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 6, match/switch 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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"68baaf5355b4bcdf368a7c91c568a6e58c582a4f3fb4a1d7cd80bb629f68b21b"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedProviderCommandExecutor::restore_provider_if_needed (cognitive 16): ManagedProviderCommandExecutor::restore_provider_if_needed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 1 (2 pts), boolean chains 1, match/switch 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/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e406580dc08cd7b460fbf47ee733f744843c6fc5f5acb91bf1b310270f9e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedProviderCommandExecutor::open_session (cognitive 16): ManagedProviderCommandExecutor::open_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7890174aae331206b8b445b7880a63f1640a4c387d763c106d3072f5f01def"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexCommandExecutor::poll_current_provider_with_control (cognitive 16): CodexCommandExecutor::poll_current_provider_with_control has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d29bd387b2250fa801a94d0a4354bad288a9c2fb57c813dab3b54ec54fd15ee"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::bin::fake-codex-app-server::finish_turn_with_send (cognitive 16): paperclip_runner_core::bin::fake-codex-app-server::finish_turn_with_send has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c86b0414b737dd0e49be18ffca5b480699271cfeb110cca8f841d180b6a97be"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::claude_managed_provider::reconcile_managed_skill (cognitive 16): paperclip_runner_core::claude_managed_provider::reconcile_managed_skill 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":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5f470358cfed283d01a3afb675c712e0dbda5186c8106a35682fe680a3d816"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::configured_environment::apply_configured_environment (cognitive 16): paperclip_runner_core::configured_environment::apply_configured_environment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1, match/switch 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/paperclip-runner/runner/crates/runner-core/src/configured_environment.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"94adfc4a9cac89a1c7a72dfec6570391e0d90493abc13f819809a0cad5f1ea2e"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::durable::runner::deliver_warm_attachment (cognitive 16): paperclip_runner_core::durable::runner::deliver_warm_attachment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, match/switch 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/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a3816b9e35e3f11208597007ef2e26500fdfa74e36b1fa130187763823d1a6"}},{"ruleId":"D2","level":"warning","message":{"text":"paperclip_runner_core::provider_events::unwrap_shell_command (cognitive 16): paperclip_runner_core::provider_events::unwrap_shell_command has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (8 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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07976cd336f1066df35c11828d5227bd295fa6574fd996194177f4b518025ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.issueService: FunctionTooLong \u2014 issueService runs 5919 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5819 over it, 59.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":"server/src/services/issues.ts"},"region":{"startLine":7119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a25f73d75c646a58da0bd98181d1433cb73580c21402384cf50a9608ab1aa77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueDetail.TaskDetailSurface: FunctionTooLong \u2014 TaskDetailSurface runs 4637 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4537 over it, 46.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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab00fc3be7cce3cfb35401483aed3dbad285e93f97de8abdd51d7a86aef9bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queue.createHeartbeatQueue: FunctionTooLong \u2014 createHeartbeatQueue runs 4033 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3933 over it, 40.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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2abdfb7c21ef60b27f54ab9821029357f4960d25d7ce03eac65303e8499a1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretService: FunctionTooLong \u2014 secretService runs 3718 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3618 over it, 37.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":"server/src/services/secrets.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e9a776b2ea7add7925ed6ba53cfeec94f88c6c528658a51b6b5e7250c8192f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-skills.companySkillService: FunctionTooLong \u2014 companySkillService runs 3670 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3570 over it, 36.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":"server/src/services/company-skills.ts"},"region":{"startLine":3003}}}],"partialFingerprints":{"codehealthFindingId/v1":"081d2e5f292ad4186208371cf78125b271a0df95a6742489fef50ad0e373179c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/issues.ts: FileTooLong \u2014 16498 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15998 over it, 33.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":"server/src/routes/issues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f471de40adfc294b8327439d5d252b7089615378cf563391f7a5bbab67300ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-session-executor.ts: FileTooLong \u2014 14966 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14466 over it, 29.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f2fd2b00147ede4ce9c7435dc956528320797675045c8cb3f6492914bf37e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.executionWorkspaceService: FunctionTooLong \u2014 executionWorkspaceService runs 2985 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2885 over it, 29.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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb3c06204898f29a5e2803300be7046995a74ef92c54cbb598102593d4baa6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueProperties.IssueProperties: FunctionTooLong \u2014 IssueProperties runs 2663 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2563 over it, 26.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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbfa09bf4eacf09a8db15ffd24510ebab087fcb5d142315bc7c73283578a2c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatThread.TaskChatThread: FunctionTooLong \u2014 TaskChatThread runs 2604 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2504 over it, 26.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"96029728321c8828f1610a6dc5c670acff4b9557ed799874444bbb6ba0251f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.executePaperclipNativeSessionAttempt: FunctionTooLong \u2014 executePaperclipNativeSessionAttempt runs 2515 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2415 over it, 25.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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10798}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a94246aee726d14d686410c18e0093225f2e1ec633a513a73db1cb5cd97e0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-channels.chatChannelService: FunctionTooLong \u2014 chatChannelService runs 2510 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2410 over it, 25.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":"server/src/services/chat-channels.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bb77ddad8006009766bc944895357831f157e61fbda63f0c6cdfcb1f381d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Secrets.Secrets: FunctionTooLong \u2014 Secrets runs 2446 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2346 over it, 24.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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c120b6cfdee0af7623f6255ada10c4d8c10bb329806700e8c56269368774414e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Inbox.StreamlinedInbox: FunctionTooLong \u2014 StreamlinedInbox runs 2293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2193 over it, 22.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"43180be28a70c79ce3e77ea22cde9a69b6c337b9f84303d4bd060c489e182fcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/issues.ts: FileTooLong \u2014 11464 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10964 over it, 22.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc90601eb2adbf5218020a0e660ae8fcfd89df69fa13e4d1618ade278c43abf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-portability.companyPortabilityService: FunctionTooLong \u2014 companyPortabilityService runs 2283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2183 over it, 22.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":"server/src/services/company-portability.ts"},"region":{"startLine":3583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1008ac726ed49ff36c13f24c1c301853352f42b745b7b7183a0c69ed1d9b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/tool-gateway.ts: FileTooLong \u2014 10934 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10434 over it, 21.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":"server/src/services/tool-gateway.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff000216a6580a28d40ec51784bacc76254c93d85043f04996ecde223f5c5739"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/openapi.ts: FileTooLong \u2014 10691 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10191 over it, 21.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":"server/src/routes/openapi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ff6331db9e1bdfea4962db9c4774e8b051392bb7a63df5e09ffd139bd13e60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRunnerdBackendWithinSessionClaim: FunctionTooLong \u2014 createRunnerdBackendWithinSessionClaim runs 2075 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1975 over it, 20.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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a446bac3b19a3261d61379a509d1f8138ad6d1e22bfeb286a2492fd673ac8bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegacyInbox.Inbox: FunctionTooLong \u2014 Inbox runs 2023 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1923 over it, 20.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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc7d4d7aa43743d282d62f153673ce9a9a527ca9c6dc08c9a6a607db395fcf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery: FunctionTooLong \u2014 createHeartbeatRecovery runs 1993 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1893 over it, 19.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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7767175e2729800a90c8e481c7dcbc2fc8095d951c7d0f67622fca1be03a444"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-lifecycle.createHeartbeatLifecycle: FunctionTooLong \u2014 createHeartbeatLifecycle runs 1906 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1806 over it, 19.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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b701b94e4ce6634bdc2aebec85bbddea314116c61e7d1c6e359beb478304e74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesignGuide.DesignGuide: FunctionTooLong \u2014 DesignGuide runs 1904 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1804 over it, 19.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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"378bd12b834c0625577409e70c4d1e3ffebe2069d8f8f99f22f2c4b909ca4dea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: testing.createTestHarness: FunctionTooLong \u2014 createTestHarness runs 1870 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1770 over it, 18.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/plugins/sdk/src/testing.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab62a1bf3e658f185f7cc58ad9894c73d505589f98098066b0a4ea2211a0f8a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionSetupFlow.StandardConnectionSetupFlow: FunctionTooLong \u2014 StandardConnectionSetupFlow runs 1784 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1684 over it, 17.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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ca87ae2ff526548700a73154547d4f0b38f10e7d8f170372ca48baa223fc2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: failed-run-retry.createChatFailedRunRetry: FunctionTooLong \u2014 createChatFailedRunRetry runs 1725 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1625 over it, 17.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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c561a68d41b8aff06e31e6c317ad76b32ffea87a86c7513405cc97c890913"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-worker-manager.createPluginWorkerHandle: FunctionTooLong \u2014 createPluginWorkerHandle runs 1716 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1616 over it, 17.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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fdad556ba75141a0771983c2e7eb6acbd01acb7b28660df428209390c60686"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createAuthorizationService: FunctionTooLong \u2014 createAuthorizationService runs 1642 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1542 over it, 16.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":"server/src/services/authorization.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"46081323528226ee3ce2c4dd44a0ac676f7a0fa294d94810986e58b16b63b3c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssuesList.StreamlinedIssuesList: FunctionTooLong \u2014 StreamlinedIssuesList runs 1580 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1480 over it, 15.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb040fc7d2deff37214f2d4a2eeb797ad4cb5b702b791e14d93f25fc3236b3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentConfigForm.AgentConfigForm: FunctionTooLong \u2014 AgentConfigForm runs 1546 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1446 over it, 15.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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"08335c42bf7e06d0eb3238eef52782c40629eb7754115526677fe7e7cf40f28b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::bin::fake-codex-app-server::run: FunctionTooLong \u2014 paperclip_runner_core::bin::fake-codex-app-server::run runs 1510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1410 over it, 15.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/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"6081698b058931d136f2c287101479afd345b7c2d29bdd86497392b6f35988f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.startServerWithDatabaseTeardown: FunctionTooLong \u2014 startServerWithDatabaseTeardown runs 1505 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1405 over it, 15.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":"server/src/index.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fad937a6b514fb6576c453cea795231022142409158b1630b9bb3747962c86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/runnerd-codex-transport.ts: FileTooLong \u2014 7506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7006 over it, 15.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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d99263a0d3a602f885ceac25e86b7794166db70f26ad3d8e2a404f60e372b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createChatInteractionCallbacks: FunctionTooLong \u2014 createChatInteractionCallbacks runs 1495 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1395 over it, 14.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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6498874b12360649eacdcf97edfe04c4feae316f4aa743d59d24a0c150d9876e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/IssueDetail.tsx: FileTooLong \u2014 7434 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: TaskDetailSurface (3247-9166). The bar is 500 significant lines; this is 6934 over it, 14.87\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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ac11cffb2f85eaf71e1283dc53e485f70c1897a1796d1b931c1deae9fdd62d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-skills.companySkillRoutes: FunctionTooLong \u2014 companySkillRoutes runs 1449 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1349 over it, 14.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":"server/src/routes/company-skills.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b201842e6a8e45558fbfc943f6aea0ca20aa57cfb1cb6cc31ef4ec13fe21ff2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker-rpc-host.startWorkerRpcHost: FunctionTooLong \u2014 startWorkerRpcHost runs 1389 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1289 over it, 13.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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9033e7abf4d617ca76fcda8f8fe7ee0c69cf84dc857455709770f5b53e6e4f0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workspace-runtime.ts: FileTooLong \u2014 6896 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6396 over it, 13.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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7106ae83f50b63383d99c1baacd766a4082f92fe45c608c171f10e2aa378fb33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.CompanySkills: FunctionTooLong \u2014 CompanySkills runs 1350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1250 over it, 13.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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90cf7d0656698fba998003c0e1d258af6777cc7e25af51e1a5bf850fc0c89e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retries.createHeartbeatRetries: FunctionTooLong \u2014 createHeartbeatRetries runs 1309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1209 over it, 13.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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"919491451a034738a3ad550d54f060e633d95bc9a809865fa0d2b13431815e36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.CompanySkills: FunctionTooLong \u2014 CompanySkills runs 1301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1201 over it, 13.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cf75423edba6795cd4120b7ade89ae247064405b5fcbd70cf9f8747570a69d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewAgentSetup.Setup: FunctionTooLong \u2014 Setup runs 1277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1177 over it, 12.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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44ac08daba97ac215940a81f142a541ee0138feaca0136b0814c7d91317527c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-preparation.prepareHeartbeatWorkspaceLocked: FunctionTooLong \u2014 prepareHeartbeatWorkspaceLocked runs 1267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1167 over it, 12.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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"263c2529b02cf1be8ed9fdd09a56980e7b5c447df1a1fb7f7a107d7998cb7aa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueDetail.IssueDetailChatTab: FunctionTooLong \u2014 IssueDetailChatTab runs 1234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1134 over it, 12.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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cd3930fe65b971a5e122a44bf80305b46144d3ce5982726d27cbf8b8d26e18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewIssueDialog.AccountNewIssueDialog: FunctionTooLong \u2014 AccountNewIssueDialog runs 1209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1109 over it, 12.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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e7842667e6428d759e1b66f2c6d2254bbe0f7f7eb90fed6b02cf0f95fdc4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/company-skills.ts: FileTooLong \u2014 5944 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: companySkillService (3003-7574). The bar is 500 significant lines; this is 5444 over it, 11.89\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":"server/src/services/company-skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907014a1a76ea21d5b6e2d665ac45cd8031af24f11b52fe6bc85c02d26f5ff78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/app.tsx: FileTooLong \u2014 5867 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5367 over it, 11.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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"793d6a07db69dfd1a630aff0b9057434420170a80a28b652fbe9aa0612545015"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyEnvironments.CompanyEnvironments: FunctionTooLong \u2014 CompanyEnvironments runs 1171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1071 over it, 11.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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"978394807abb5b53ef5c78ced8c8ad0298fe7a54a7240c1d19923aed54cfa084"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-reviews.githubChatReviewService: FunctionTooLong \u2014 githubChatReviewService runs 1166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1066 over it, 11.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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f705bb7580e70d7bc5282788c45c73aeaf15bf06c806492e7a3cf40274506a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-control.createHeartbeatRunControl: FunctionTooLong \u2014 createHeartbeatRunControl runs 1161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1061 over it, 11.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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677cce743ea1a23d9a2e83013df052b3f838c599f58c2c6b22716f5ff6146c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-completion.createHeartbeatRunCompletion: FunctionTooLong \u2014 createHeartbeatRunCompletion runs 1154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1054 over it, 11.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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edaddae9d87297e957915bd59ef4cc894b9d3d2236ee1e8a6611e4b4f37043d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhook-ingress.createGitHubWebhookIngress: FunctionTooLong \u2014 createGitHubWebhookIngress runs 1143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1043 over it, 11.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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe6b9f27d1878acc1167024113032adb8511d329669b548d9c387bd4dbc5ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueChatThread.tsx: FileTooLong \u2014 5712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5212 over it, 11.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e2a49db16eacb85186f483c0e112b4e32c9393a0b3959d9096b1b0b74e07c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubChatPreview.GitHubChatPreview: FunctionTooLong \u2014 GitHubChatPreview runs 1139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1039 over it, 11.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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb745cecad2d68c7b05342a813f62e8f84f6c61103a96a46f6886eaa7d47e2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.createAcpxEngineExecutor: FunctionTooLong \u2014 createAcpxEngineExecutor runs 1130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1030 over it, 11.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb74fec7b1861d8e9623f67c1a75d6a60e78fe1d86b45fe893b762dbae6e5730"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-intents.connectionIntentService: FunctionTooLong \u2014 connectionIntentService runs 1127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1027 over it, 11.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":"server/src/services/connection-intents.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"993bbd87854052f1e38f295a9843162941244d19d9c3cc0a72f9822b165f0a2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.createAcpxEngineExecutor.executeAcpxEngine: FunctionTooLong \u2014 createAcpxEngineExecutor.executeAcpxEngine runs 1117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1017 over it, 11.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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4b85fc38836911e3d4d5ad3d619ba59f54db924c93cfa527863250c1554921"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatComposer.TaskChatComposer: FunctionTooLong \u2014 TaskChatComposer runs 1115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1015 over it, 11.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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"660272d87d216478062e81a6386744737c875867717d6818dfa61a51808a41af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-access.toolAccessService.connectGalleryApp: FunctionTooLong \u2014 toolAccessService.connectGalleryApp runs 1112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1012 over it, 11.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":"server/src/services/tool-access.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a36b3ebc1d37f9e77c3f0a4a70b964368e9e3f4dd72f032e8a8eb8c7fdd5ce7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environments.environmentService: FunctionTooLong \u2014 environmentService runs 1108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1008 over it, 11.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":"server/src/services/environments.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b93df35a66f27aab969091e077cea0e289d8e866c4f85d142338e60417c306"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/agents.ts: FileTooLong \u2014 5494 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4994 over it, 10.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":"server/src/routes/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04f2276e34d3dce265a1febff51d2d5f9289e993f0fb506b9579bd546752e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueDocumentsSection.AccountIssueDocumentsSection: FunctionTooLong \u2014 AccountIssueDocumentsSection runs 1096 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 996 over it, 10.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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f435ff898f85cab2efc4caa5a3028cde1f3985bfd25b49c1fa42716552345"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::bin::fake-acpx-sidecar::run: FunctionTooLong \u2014 paperclip_runner_core::bin::fake-acpx-sidecar::run runs 1078 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 978 over it, 10.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/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8e3d30ff25016d83656cfb4394d1c52d15ab844aea1310f6232ae43f6cc9e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: built-in-agents.builtInAgentService: FunctionTooLong \u2014 builtInAgentService runs 1060 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 960 over it, 10.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":"server/src/services/built-in-agents.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec906c03e41ae24e1da9ca37ed4be5368de92d05ebbc9c1e33b6f84df2e5633"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 1054 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 954 over it, 10.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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d226c2e4836103e971b3be426093968b1249573cbe61c55b3de34207f2937f2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresRunDispatchAdapter: FunctionTooLong \u2014 createPostgresRunDispatchAdapter runs 1051 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 951 over it, 10.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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39327b7f2e36968d4569428476c0bbc52f23e925505b0747c0985927283b9bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyImport.CompanyImport: FunctionTooLong \u2014 CompanyImport runs 1051 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 951 over it, 10.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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e9563159347fa6f522e4329250fe5ace210805afad3cb596c9a09f1551f02d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recovery/service.ts: FileTooLong \u2014 5140 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4640 over it, 10.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":"server/src/services/recovery/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48a927a0e97cb6b97249a4d7f898e8a331bc1cae14a90f617bcc59ae44f7d03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-portability.companyPortabilityService.importBundle: FunctionTooLong \u2014 companyPortabilityService.importBundle runs 1021 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 921 over it, 10.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":"server/src/services/company-portability.ts"},"region":{"startLine":5276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02630b96b78eb57cdc4e08583ac01854b5451ab70b45dbf9010330a0706c65a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.executionWorkspaceRoutes: FunctionTooLong \u2014 executionWorkspaceRoutes runs 1007 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 907 over it, 10.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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec5617c2609c333f96d8608565eb95be80825b65459dd8ef9231123932324df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DurablePrpCodexTransport: ClassTooLong \u2014 4004 significant lines (blank, comment-only and punctuation-only lines excluded), 115 methods. The bar is 400 significant lines; this is 3604 over it, 10.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4074}}}],"partialFingerprints":{"codehealthFindingId/v1":"398d04ff469646dce92072970ec550ae956a5f19959d2fe34cc7fd62440441d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/company-portability.ts: FileTooLong \u2014 4963 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4463 over it, 9.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4499e7d35e311552cfd9d94851c183fa2b5b744e68ce35da0274efe0c6b81c64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scheduling.createHeartbeatScheduling: FunctionTooLong \u2014 createHeartbeatScheduling runs 984 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 884 over it, 9.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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"641d876a701dc616ab9275e02d984d66ca40aad9b9ff31e59ccadce7abdb2329"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-runtime.executeNativeSession: FunctionTooLong \u2014 executeNativeSession runs 971 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 871 over it, 9.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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c10504fdb1c795d5f9a7d4862b1ea4a3379f89f5e592e215eb8cb30958e5f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CompanySkills.production.tsx: FileTooLong \u2014 4839 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4339 over it, 9.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27aa40d5b6c046fe4ae3e2bfe29e581f7ac7b99984f76fac0be9f2e6eb2b88b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-channels.chatChannelService.processMessage: FunctionTooLong \u2014 chatChannelService.processMessage runs 966 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 866 over it, 9.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":"server/src/services/chat-channels.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b90b2c870dd52a72df74283ed974b7af154556a5e204387cd064cbc911ef838"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CompanySkills.tsx: FileTooLong \u2014 4805 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4305 over it, 9.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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da835dfc53796a960df11ce372d72a352764e7015b8b0ef5df78019e5993f545"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-connections.aiConnectionService: FunctionTooLong \u2014 aiConnectionService runs 960 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 860 over it, 9.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":"server/src/services/ai-connections.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"93502f17f47fe36b0faeb5a137752d1e559bfa08cc77206e509b14284813d16a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointSetup.ProviderConnectStep: FunctionTooLong \u2014 ProviderConnectStep runs 957 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 857 over it, 9.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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e80f0aae31f91580ccb4f0c67e40e33fa8bcae7ce2e6fe4f8b70a1c892ee57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.reconcileStrandedAssignedIssues: FunctionTooLong \u2014 recoveryService.reconcileStrandedAssignedIssues runs 948 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 848 over it, 9.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":"server/src/services/recovery/service.ts"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d262d4f0b4f56ef6385d602c00a3f3fc2ad6e3a4b583caf10f553dfef29dd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Routines.production.Routines: FunctionTooLong \u2014 Routines runs 944 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 844 over it, 9.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5816548a942b2a2963e3044a49c330c3f31897f54a2842b88aeff29cd46ac3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 939 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 839 over it, 9.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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"072317507bd9dd3c3fd58b1d50d64be93bc3e87d76a18ff143063c1cdcb8caa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access.accessService: FunctionTooLong \u2014 accessService runs 929 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 829 over it, 9.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":"server/src/services/access.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e0d52589b7ab0b90c49b213f4a469ed4a65795f7cf74421d08532e95e65ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.executeTool: FunctionTooLong \u2014 createToolGatewayService.executeTool runs 929 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 829 over it, 9.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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02de997f46109c6686ce71854b27cf69992bea62816a03ec1b25f2e4b3cfa17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/provider_backend.rs: FileTooLong \u2014 4622 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: CodexCommandExecutor (2 blocks, 2015-6121), declaring 34 free functions. The bar is 500 significant lines; this is 4122 over it, 9.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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97749e3931e054875e30cb794a23fe0562a22e1198def3b0547899ec1c86769c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue.registerIssueCommands: FunctionTooLong \u2014 registerIssueCommands runs 914 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 814 over it, 9.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":"cli/src/commands/client/issue.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e986589b87794584c0fd49d741cc6a696c570e53357d809037f4cd08dfe4a437"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cases.caseRoutes: FunctionTooLong \u2014 caseRoutes runs 905 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 805 over it, 9.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":"server/src/routes/cases.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c09b63ddeb0584b431a0c70cf28118be4c6df4d300d5dbc2ddf87bd484a01f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: document-annotations.documentAnnotationService: FunctionTooLong \u2014 documentAnnotationService runs 898 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 798 over it, 8.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":"server/src/services/document-annotations.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c643f5371c66d8112d623170467376786df66c586401701f47aec3ec88ad634"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatThread: FunctionTooLong \u2014 IssueChatThread runs 889 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 789 over it, 8.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5872}}}],"partialFingerprints":{"codehealthFindingId/v1":"17721a8a171ce180613aafa4da8fc7624c9a1ea3e145a1feeeb0b0786337cfff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Routines.Routines: FunctionTooLong \u2014 Routines runs 886 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 786 over it, 8.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":"ui/src/pages/Routines.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c83ff100fa55511330f9fb3628849056c6cbb9e319ea7b9118c57483b50f95c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/queue.ts: FileTooLong \u2014 4417 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: createHeartbeatQueue (451-5854). The bar is 500 significant lines; this is 3917 over it, 8.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"568125f650c411e4359ca0d59a7aeaf18e326afee88185e65af39958d65de49b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/secrets.ts: FileTooLong \u2014 4385 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: secretService (990-5864). The bar is 500 significant lines; this is 3885 over it, 8.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aed63406e95698ac141d5dc554b93f39dc49de9abb342fbd8950b5e9f03f09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-watchdogs.taskWatchdogService: FunctionTooLong \u2014 taskWatchdogService runs 877 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 777 over it, 8.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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"289101e08711f520847a5a46cee0273baf06a3d2c84c4ed1a5247a8207eb8744"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-restart-recovery.claimNativeRestartRecoveries: FunctionTooLong \u2014 claimNativeRestartRecoveries runs 872 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 772 over it, 8.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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b74a212f612344c1119695e10f62e681f20e5e176f13e95bcf13053d9587d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime-execution.executeHeartbeatRuntime: FunctionTooLong \u2014 executeHeartbeatRuntime runs 865 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 765 over it, 8.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc520fc56b99bbde0600b6ccd1ed98a9c7f76dc47563ca2a541d05a890e33611"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 864 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 764 over it, 8.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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf8ba75014f3292b6da6a868674eede76bbb7d5ddca38b995c764388940007"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Costs.Costs: FunctionTooLong \u2014 Costs runs 860 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 760 over it, 8.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":"ui/src/pages/Costs.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d6a156065129d8ab239970cfbaa5c6a3a1926c864476059f6aaed1dcbe02e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-decision-committer.materializeDecisionEffect: FunctionTooLong \u2014 materializeDecisionEffect runs 840 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 740 over it, 8.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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e83180666e152ef9fa59d18265f4c2bbee1286202f94cb7516a4e3a50b4d64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Secrets.tsx: FileTooLong \u2014 4195 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3695 over it, 8.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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f657e34ca286d7556f7081d24372499bfe712441d5f004645d76fc21e4d75d97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/execution-workspaces.ts: FileTooLong \u2014 4149 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: executionWorkspaceService (1567-5539). The bar is 500 significant lines; this is 3649 over it, 8.30\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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac3a43550fc17044edc59a88e3273b249c930945f03f6d48a173c953ea99398"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-decision-committer.commitNativeStatusDecision: FunctionTooLong \u2014 commitNativeStatusDecision runs 817 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 717 over it, 8.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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410b7a7fbd349b121ba6eddaed930d16e8fc8e10309a81e17c559a0f8ccdd00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: control-plane/durable-prp-control-plane.ts: FileTooLong \u2014 4045 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3545 over it, 8.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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5c77a0e317f21a3a7f07051057cd98d659c9094918d3d2ff5fb8fd3eb94f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wiki/core.ts: FileTooLong \u2014 4012 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3512 over it, 8.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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e20c7b8141192bf6828f756e60854cdedf4bc085182899261f103855575ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projects.projectRoutes: FunctionTooLong \u2014 projectRoutes runs 795 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 695 over it, 7.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":"server/src/routes/projects.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff411880577b83161512548b8bd17826499ad55178f0bbc22e54fa41cea4168"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lifecycle.createChatMessageLifecycle: FunctionTooLong \u2014 createChatMessageLifecycle runs 790 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 690 over it, 7.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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"63be6fd537af68e337d4b80c372372ac6bfbb98652a4eb871511f5cf5d9247b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server-utils.ts: FileTooLong \u2014 3910 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3410 over it, 7.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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90837627d6f7923a0f69317a1c590152529c58c6d26a54219df97832f56c7ded"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-transfer-authority.createTeamsFileAuthority: FunctionTooLong \u2014 createTeamsFileAuthority runs 781 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 681 over it, 7.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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0442a91bf3c04cfb90a30c3880cc1960d5b22a3ec06f46c73dd75f8f08a6ac92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueThreadInteractionCard.tsx: FileTooLong \u2014 3900 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3400 over it, 7.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58184607fe29974047a45e0b93b77fda16138337bd2a98dbe320074518ff537b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretRoutes: FunctionTooLong \u2014 secretRoutes runs 780 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 680 over it, 7.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":"server/src/routes/secrets.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b536ab7c7649f17b20f666c0bec58191b1ebdd0242b76cf2f38bcdb52fab8108"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.SkillDetailPage: FunctionTooLong \u2014 SkillDetailPage runs 777 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 677 over it, 7.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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f8d4f1149aaed3dc5896fbf176e832b655dc7b2359a9257e5177e487505365"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexCommandExecutor: ClassTooLong \u2014 3082 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 62 methods, 2 blocks, lines 2015-6121. The bar is 400 significant lines; this is 2682 over it, 7.71\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e4d584021f33b09fe7dd6d579969f1685076563bfed34950b9c2062ead4c37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-state.createHeartbeatRunState: FunctionTooLong \u2014 createHeartbeatRunState runs 770 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 670 over it, 7.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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdffb5cadd7aa069778da771f15d406a444532739ff33829be3b2dc42f2e12c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.PromptsTab: FunctionTooLong \u2014 PromptsTab runs 769 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 669 over it, 7.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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b36994fa685ecb7adccf9841cfe0d5ba86d1ae27154d0ce00a5f3cb3450142"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/tool-access.ts: FileTooLong \u2014 3842 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: toolAccessService (732-4958). The bar is 500 significant lines; this is 3342 over it, 7.68\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":"server/src/services/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de719f187c3d10e4e3f5fc58bfe39ee9628c2a0611f99330042b48d89b6e5c37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.SkillDetailPage: FunctionTooLong \u2014 SkillDetailPage runs 768 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 668 over it, 7.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"85babf34257fbb8c31a794d133f67c02544d480c63d9a7023c3a7a53dd387c33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectProperties.ProjectProperties: FunctionTooLong \u2014 ProjectProperties runs 761 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 661 over it, 7.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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0d5709a758786378b61fb83a0a0b2b485449fff3dc247a6e89e8ea700403a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-teams-file-transfers.teamsFileTransferService: FunctionTooLong \u2014 teamsFileTransferService runs 758 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 658 over it, 7.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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0147b14345c6b5207217faa19e857e17f8598f7db14f1754eef3d6e7ba4dda4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/heartbeat.ts: FileTooLong \u2014 3785 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: heartbeatService (885-4844). The bar is 500 significant lines; this is 3285 over it, 7.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":"server/src/services/heartbeat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4642196a84b57670ac1f10cc87396c40b2b57ac84bed885118a3b786ad35646a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx-engine/execute.ts: FileTooLong \u2014 3753 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3253 over it, 7.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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37241f1a272afc6e8f03325ddc516f426dbd6f632b26b77fee490b3b30f3168"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExecutionWorkspaceDetail.ExecutionWorkspaceDetail: FunctionTooLong \u2014 ExecutionWorkspaceDetail runs 750 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 650 over it, 7.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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1d3bd8b0d034aacb823ed944ea98081191c3ece5209239ce1cc33090f6d18f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: question-response-delivery.questionResponseDeliveryService: FunctionTooLong \u2014 questionResponseDeliveryService runs 747 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 647 over it, 7.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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcff4b7d9a3d8791677c97118ddfa978c4f3ee56bc366fe441a827c10db647f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#resumeWork: MethodTooLong \u2014 #resumeWork runs 742 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 642 over it, 7.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6714}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bcee08794d87327f4c46c1a55ae0ae1c660324498b21df906a78ce6a149c00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.createChatPublicationWorker: FunctionTooLong \u2014 createChatPublicationWorker runs 742 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 642 over it, 7.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e2cc9da04b420a2d79ad51276796f7cb165719a393f28994ec47419fc80f0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime-selection.selectHeartbeatRuntime: FunctionTooLong \u2014 selectHeartbeatRuntime runs 729 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 629 over it, 7.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":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ac61d94b54f4b6a4d380e8d1a8707bba32fb1b6d0121141a65035bfb12040f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connections/ConnectionSetupFlow.tsx: FileTooLong \u2014 3640 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3140 over it, 7.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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfbfb70846eaadebcb0c54607d849998dce704d6a0ab4ede54f81072ea81c7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-managed-runtime.prepareSandboxManagedRuntime: FunctionTooLong \u2014 prepareSandboxManagedRuntime runs 725 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 625 over it, 7.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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec23a42d63c08f1a5fcd762f88d96a619c2fcc1ff35ad81a4d01037cb5b1b60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createToolProfileService: FunctionTooLong \u2014 createToolProfileService runs 724 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 624 over it, 7.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":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be0ea4ca091fd51efafaa7dad88d319298cf9777b3a51600693d833ab2ace08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secret-proposals.createSecretProposalsService: FunctionTooLong \u2014 createSecretProposalsService runs 719 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 619 over it, 7.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":"server/src/services/secret-proposals.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"228ad86ac8e49592aabc586206bbc3a519055d9bd5e674c7b25432a5dd2c08cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/codex_provider.rs: FileTooLong \u2014 3586 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 3086 over it, 7.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":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"205901fb8a789b875e811cb74cfd37f1f42ad12b2c4ee8f97fb0287399b3d4cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker-rpc-host.startWorkerRpcHost.buildContext: FunctionTooLong \u2014 startWorkerRpcHost.buildContext runs 715 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 615 over it, 7.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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2a70c83d2080034f3c71ccb073cbaa69ae811f433709e6b919a5582ca99192"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-tree-control.issueTreeControlService: FunctionTooLong \u2014 issueTreeControlService runs 715 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 615 over it, 7.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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d93d7887df48d72f092090f72c3e403ae13b6a92cf7e8688a49dacf894dd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/access.ts: FileTooLong \u2014 3571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3071 over it, 7.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":"server/src/routes/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd708e1cb820c0c3200e48ea4b64b4d15db6d6217143fc58da3ac3949526b33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::durable::runner::run_durable_runner_with_host_control: FunctionTooLong \u2014 paperclip_runner_core::durable::runner::run_durable_runner_with_host_control runs 709 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 609 over it, 7.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/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d34c156a6fee65e9cc9b8583ae4c7f44133b6f636e798acab853f793c71f0bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-file-resources.workspaceFileResourceService: FunctionTooLong \u2014 workspaceFileResourceService runs 709 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 609 over it, 7.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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae45a91a74ef2637e904fb4a072a080b6c5fe2e2d677d3977c121211b3bd325"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-fields.CodexLocalConfigFields: FunctionTooLong \u2014 CodexLocalConfigFields runs 709 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 609 over it, 7.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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b06748b7b23427dd0951d055aaf9b78d8d3e7e904bc6bb78c246185badd9a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.AgentDetail: FunctionTooLong \u2014 AgentDetail runs 708 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 608 over it, 7.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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0ed1e61154d29e543d5b3c6f55239869b762c0a4f54e1f05e9b59978d27a72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: companies.companyRoutes: FunctionTooLong \u2014 companyRoutes runs 707 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 607 over it, 7.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":"server/src/routes/companies.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"451c2fc05313ea7c489a3d80b804de64be2ea329b2a4e125f38570451cfe63d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-start.createSlackTaskStart: FunctionTooLong \u2014 createSlackTaskStart runs 704 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 604 over it, 7.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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03a4f4cb929321b33e20147396fb1f9a7e2ae83c2f71d926a66db6411aa847c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/worktree.ts: FileTooLong \u2014 3485 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2985 over it, 6.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8b8ca1e2739b523cc492ba9e61b0ffcef0d68fa24cb56b738ae61449104ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: configuration.createChatConfiguration: FunctionTooLong \u2014 createChatConfiguration runs 697 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 597 over it, 6.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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2330d51d02aa27590683d1227dd1360fab06c14bc244e20857090899ba36ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExternallyConnectedTaskBanner.ConnectedTaskComposer: FunctionTooLong \u2014 ConnectedTaskComposer runs 697 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 597 over it, 6.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":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca0bcfe2f501479c43785cba060ced1c26d6301d8615da8fa3d3993b7a88c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineDetail.RoutineDetail: FunctionTooLong \u2014 RoutineDetail runs 688 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 588 over it, 6.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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81aeb560d555dafdc76ba8eaf9a39e1d1081197396430519052427ceab4388b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-receipts.createSlackFileReceipts: FunctionTooLong \u2014 createSlackFileReceipts runs 686 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 586 over it, 6.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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5985d9d387e496405193040b2f386fabfe5770fabf611dc9c47b41cfaa8f4b26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.production.AgentDetail: FunctionTooLong \u2014 AgentDetail runs 686 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 586 over it, 6.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a4a2b3a784fdfdec64bfc515ae2a4e35ab7a6dd9e6f7191adbf8fd2696fc94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-replacement.createChatPublicationReplacement: FunctionTooLong \u2014 createChatPublicationReplacement runs 683 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 583 over it, 6.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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed614ebacdf037fea95ee6c4f1b7e381ecbedee1350fa5629ecbb1db8181a51c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createChatInteractionCallbacks.handleAction: FunctionTooLong \u2014 createChatInteractionCallbacks.handleAction runs 680 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 580 over it, 6.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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7bec41a53b4c6db14318ff4bf9ea22639dfb7acfcba2676d13fd77354eef55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createAuthorizationService.decideBase: FunctionTooLong \u2014 createAuthorizationService.decideBase runs 677 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 577 over it, 6.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":"server/src/services/authorization.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a1d857322d3b4a1a1f3b46d9effa2af87d4a5c57473bf4f7a6e8bb878f62f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IssueProperties: ClassTooLong \u2014 2663 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 2263 over it, 6.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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1a9de0840bfe5fc863c6af8b54bf453c30926440fcb38c36d503af2d16993d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assigned-work-sweep.assignedWorkSweep: FunctionTooLong \u2014 assignedWorkSweep runs 661 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 561 over it, 6.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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f883ee93b9d84a7b8034cfa254358d35a2617119af343ed9f170ffd436d29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: maintenance.createTelegramMaintenance: FunctionTooLong \u2014 createTelegramMaintenance runs 653 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 553 over it, 6.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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d23452b5a27c49fd834829a5a03a1c72f2acb49c5573e5750fdc9fad2cd4f4c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskChatThread: ClassTooLong \u2014 2604 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 2204 over it, 6.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d908821669c68cb151ec0cde39e9d820dc554309c79cbfcf7a96cc179a8ab8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.toolGatewayRoutes: FunctionTooLong \u2014 toolGatewayRoutes runs 645 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 545 over it, 6.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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8004cf85b05bf0f242eceaa83b504c0e0cf8c1de018ec0637b2fc92d29255c86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: smoke-lab.smokeLabService: FunctionTooLong \u2014 smokeLabService runs 645 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 545 over it, 6.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":"server/src/services/smoke-lab.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9707d566ee0fdf7f28567d83d136f353a2eaa0c36a3ac8ab0d13f6c31c8e5fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AgentConfigForm.tsx: FileTooLong \u2014 3211 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2711 over it, 6.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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9560fc86ac87f26056fbeddc4b081abc02ec0395436c6265e548c56af35804"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/environment-runtime.ts: FileTooLong \u2014 3205 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2705 over it, 6.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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c51091818a90c4b95a255dd60d68a4ff5d8e81446bef780e07a05984180b42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-runtime-supervisor.createToolRuntimeSupervisor: FunctionTooLong \u2014 createToolRuntimeSupervisor runs 639 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 539 over it, 6.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":"server/src/services/tool-runtime-supervisor.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5212a9b2ed15af089fbce0ecda492a7bd09699c1c53f814046330453fb4e51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: events.createPhotonEvents: FunctionTooLong \u2014 createPhotonEvents runs 638 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 538 over it, 6.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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"faad976a5dd8baef33a7e29c8c16bfba59f940e29ba05134ac126500bbf94faa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reactions.createInboundReactions: FunctionTooLong \u2014 createInboundReactions runs 635 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 535 over it, 6.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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f096c81741a9723821b7b4ef02efd5d07bb7bff1c2dbe91e105b2643b66a73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projects.projectService: FunctionTooLong \u2014 projectService runs 634 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 534 over it, 6.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":"server/src/services/projects.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95842280067e724d0fd506f33742be7e7368389b36e8e2dbfdef94d931051b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: budgets.budgetServiceInTransaction: FunctionTooLong \u2014 budgetServiceInTransaction runs 630 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 530 over it, 6.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4308cf650d2cb2661e742e2448837e6403b022a5a0ab7e7c6d8b6e4a171ec786"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces: FunctionTooLong \u2014 executionWorkspaceService.sweepTerminalWorkspaces runs 628 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 528 over it, 6.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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"152dd0d05f3f7c9cd5b6645f7d2b032ab535106bfe8d80d4b665f313b3866463"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstanceExperimentalSettings.InstanceExperimentalSettings: FunctionTooLong \u2014 InstanceExperimentalSettings runs 627 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 527 over it, 6.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":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc252afbd04a135ff98c4aa3c2fc40796a672517f464633d906d82064b9e8d87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.production.PromptsTab: FunctionTooLong \u2014 PromptsTab runs 626 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 526 over it, 6.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0debe3bbcff7a1f542e4c481de0ef1ef66d4cc08e4213040bd888ba8053891ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/AgentDetail.tsx: FileTooLong \u2014 3121 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2621 over it, 6.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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e582c114a64ea2a6d95cef48c0b5ed9e59d9ea1e5fbe8c62aeffea3bd87c8546"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineDetail.production.RoutineDetail: FunctionTooLong \u2014 RoutineDetail 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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b4969984be262c8797f9fd09dae8203f79226d9c5ea6b8e70eaec7d69e7873"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Browse.Browse: FunctionTooLong \u2014 Browse 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00cba3fb6b3c9216f936170a494b55647949fa94551017caba73651a7e17d13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: external-chat-question-response.resolveQuestionResponseChain: FunctionTooLong \u2014 resolveQuestionResponseChain runs 618 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 518 over it, 6.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":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf73eeceffebaf3de41151a3271f591379db7b526c2dd7c3790dca98b05a700"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-effects.createProviderEffects: FunctionTooLong \u2014 createProviderEffects runs 617 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 517 over it, 6.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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cf722f02b0d495714e5f4015e0f3071dd4ae914ff843af708d5e879f2fd52f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: documents.documentService: FunctionTooLong \u2014 documentService runs 614 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 514 over it, 6.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":"server/src/services/documents.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8a57f1d42274fa40352b4cdca257b918ac4e1d5cf1984c0b52cd4c579181c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/SkillStudio.tsx: FileTooLong \u2014 3062 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2562 over it, 6.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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edb06f8f3de5359f05cb17242e8eba61c4c8a955846644a129cc85cc6bb80a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Secrets: ClassTooLong \u2014 2446 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 2046 over it, 6.12\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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"500becd89e4bc3dd35df0e8b170d213dfcf3a6324b07fa5c1c1a4751365a2c90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-stop.createSlackSessionStop: FunctionTooLong \u2014 createSlackSessionStop runs 610 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 510 over it, 6.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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"00702a83c4fc728cecebf345c06bb8dabd21f76ee6c25d5425659f6eb46d83cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Inbox.tsx: FileTooLong \u2014 3047 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: StreamlinedInbox (859-3678). The bar is 500 significant lines; this is 2547 over it, 6.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69657b3bd895cfc494e94ab08c0c3750e12a2830ae476ae982d49415bcc6be1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.readIssueBlockerAttentionBatch: FunctionTooLong \u2014 readIssueBlockerAttentionBatch runs 605 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 505 over it, 6.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":"server/src/services/issues.ts"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ac9d23b9dcb84972c315b2883e0d077730d71fa402671a0db38c8b6ebd771a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/TaskChatThread.tsx: FileTooLong \u2014 3021 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: TaskChatThread (526-3729). The bar is 500 significant lines; this is 2521 over it, 6.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8714b75c48fde73f2dd85e5bdd0a85e49e7b3d3b4cab8890eb198747e10abe55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.buildRuntime: FunctionTooLong \u2014 buildRuntime runs 604 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 504 over it, 6.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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ab1edd099284474c82aafc54ab029956bc7f7278f3bb6f667ed9824afd7f2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: configuration.createChatConfiguration.configureWithCredentialLease: FunctionTooLong \u2014 createChatConfiguration.configureWithCredentialLease runs 604 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 504 over it, 6.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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56da0f5cb7b1e58d5620464afece91579e3aabf56e931cc3c92659ee117d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskSidePanel.TaskSidePanelForScope: FunctionTooLong \u2014 TaskSidePanelForScope runs 589 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 489 over it, 5.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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce955906eb946b35f071e0c92abace1b7d40f31a905d73813729ffc51c8d9719"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WhatNeedsMe.ClassicWhatNeedsMe: FunctionTooLong \u2014 ClassicWhatNeedsMe runs 588 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 488 over it, 5.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4647fcf5463f90a3e908be8135e878f1755acf3a488c1fa896029dcfc940a18c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-channels.ts: FileTooLong \u2014 2893 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: chatChannelService (507-3717). The bar is 500 significant lines; this is 2393 over it, 5.79\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":"server/src/services/chat-channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca10d9fa2fad3d731b1dd518d59433a72e3bade04172a631fbfdf5217018792"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: issue-properties/IssueProperties.tsx: FileTooLong \u2014 2882 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: IssueProperties (243-3319). The bar is 500 significant lines; this is 2382 over it, 5.76\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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58481142b16a4290d9951531b8b45383c896721a6d5a5b6e7eea9a46e7c1e43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-snapshot-archive.workspaceArchive: FunctionTooLong \u2014 workspaceArchive runs 570 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 470 over it, 5.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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a044977f30c69599ee15a6dc8f1776f4892cd20239c2055abb924e517623836"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/execution-target.ts: FileTooLong \u2014 2846 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2346 over it, 5.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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f1314cac4801a333eaced4777c5a39cc0815a092b1aafc29fe2bb02fd01408"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/AgentDetail.production.tsx: FileTooLong \u2014 2835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2335 over it, 5.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb85a926ca0eba60b0751ad98b2a18ad419f737a78e049cbb7f27094ff8e92f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-search-oauth.slackSearchOAuthService: FunctionTooLong \u2014 slackSearchOAuthService runs 565 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 465 over it, 5.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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"12122d88323b2c47b8bf6a100bbdc27730619cbc0fb477bdb4662cdd419cf4af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decisions.decisionService: FunctionTooLong \u2014 decisionService runs 564 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 464 over it, 5.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":"server/src/services/decisions.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d63904588157b8046788b8af10fcd73e7f12b413e2600b5e0dbc195c9aed8e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.spawnLocalRuntimeService: FunctionTooLong \u2014 spawnLocalRuntimeService runs 563 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 463 over it, 5.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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92441f328736016f066b4f87c94702d2a66453898783ce5f949a13108af551f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceFileBrowser.WorkspaceFileBrowser: FunctionTooLong \u2014 WorkspaceFileBrowser runs 563 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 463 over it, 5.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":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46a08197488bfa6a46b58841b398a1bbfe52dfc24640479b35459fd73da113b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-management.githubChatManagementService: FunctionTooLong \u2014 githubChatManagementService runs 562 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 462 over it, 5.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":"server/src/services/chat-github-management.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f6ed2d6fa351581a42a71d520ff2208d241205931eded73629895adad6b664"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: oauth.createPublicMcpOAuth: FunctionTooLong \u2014 createPublicMcpOAuth runs 562 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 462 over it, 5.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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f0e9dd2fa2397e3c478390817c5fe15d336d3c0206a62238f32be5d34f9325"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createConnectionTokenBroker: FunctionTooLong \u2014 createConnectionTokenBroker runs 561 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 461 over it, 5.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":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"403dea56547ae25f87cef803e262e560eb8f2f9a14a4068bc186a4ee22177176"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.createChatPublicationWorker.processSelectedPublication: FunctionTooLong \u2014 createChatPublicationWorker.processSelectedPublication runs 558 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 458 over it, 5.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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d89e0e52e4eba5f3bd2d5ca4b9bc7b1c33c141a7cfb1d4b7eba9052c3a8c66f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization-start.createOAuthAuthorizationStart: FunctionTooLong \u2014 createOAuthAuthorizationStart 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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0096f0da9062e00507ec024dcfaf7101f1c89e19882c2f61cf1f0c3107860342"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/routines.ts: FileTooLong \u2014 2781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2281 over it, 5.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":"server/src/services/routines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d874826f4c8ae176853c3b78e686f010a593c8bd6e6b70e7cc804a4905c055e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/paperclip-runner-tool-authority.ts: FileTooLong \u2014 2773 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2273 over it, 5.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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e056b14f044855fa275d8fff89410f9e85778b28cb9791bca31acbf5d533b849"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/native-session-runtime.ts: FileTooLong \u2014 2761 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2261 over it, 5.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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3098b8ee7d9ef8ad137df1640ed99795a064d8b23c11c9eeb136a3847f8c4335"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: opencode/opencode-server-driver.ts: FileTooLong \u2014 2754 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2254 over it, 5.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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92153d5a4a8a042d7ca5a759733c714520d352f3104097d6e7400158072fd14c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createConnectionTokenBroker.mintConnectionTokenForAgent: FunctionTooLong \u2014 createConnectionTokenBroker.mintConnectionTokenForAgent runs 548 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 448 over it, 5.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":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fb44517862a820b464c721eedce139b50b0a90fc3bcee98fd8af385179162a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InviteLanding.InviteLandingPage: FunctionTooLong \u2014 InviteLandingPage runs 547 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 447 over it, 5.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":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4d0128c386170a8dbb3a381608e8e3880d685cb0ccf12305e858ab4c6c8221"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-host-services.ts: FileTooLong \u2014 2733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2233 over it, 5.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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43e42ada6c73c09610bb758f09dab40c451681088b75d1a9b06772da1e4898"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppDetail.StandardAppDetail: FunctionTooLong \u2014 StandardAppDetail runs 546 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 446 over it, 5.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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bbba01e23383ebc64230c0aa622e53675cd0728b71dddefd9b951b9257fded"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 543 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 443 over it, 5.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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9178281d5bb7f2bdbcd288341a6e5824f3169113b8195434e09faff5ca116c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-completion.createHeartbeatRunCompletion.completeRun: FunctionTooLong \u2014 createHeartbeatRunCompletion.completeRun runs 538 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 438 over it, 5.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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"20284c62130aec44afc882856ae2b87b9ee0c5d50bb537c25fa8cf457166ca92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plans/2026-05-23-cli-api-parity-openapi-reference.ts: FileTooLong \u2014 2681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2181 over it, 5.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc/plans/2026-05-23-cli-api-parity-openapi-reference.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b1f87fc6b510ea23e53c1177ecaceb8776881d4f104a6d54a616adc6ed11ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/workspaces.ts: FileTooLong \u2014 2671 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2171 over it, 5.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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"291b4d806f0504190e5a4870fa26a85106d28b79cd021f10e2bacdf6f0c75497"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent.registerAgentCommands: FunctionTooLong \u2014 registerAgentCommands 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":"cli/src/commands/client/agent.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3ea7a03b9f991d35973d21742f55aee32bf70c8e4a761c851a332b5c1aa777"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubChatSetup.GitHubChatSetup: FunctionTooLong \u2014 GitHubChatSetup 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":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffb7514060e343e82adafc7a24134b8ea804473982270cd92cd334d1fc199b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Layout.Layout: FunctionTooLong \u2014 Layout runs 532 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 432 over it, 5.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":"ui/src/components/Layout.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"178af468dbc9472da55d1d35a78aac93947c98cf1bedad532c6717df2cc5d9a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/LegacyInbox.tsx: FileTooLong \u2014 2656 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: Inbox (696-3184). The bar is 500 significant lines; this is 2156 over it, 5.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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d664f0624b0289968fb35940d10809a79c03fb8244848ebfd1662c29c0cf4789"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-queue.createChatConversationDeliveryQueue: FunctionTooLong \u2014 createChatConversationDeliveryQueue runs 530 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 430 over it, 5.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2282164086d61fe7a37c965f8a1a161628ff5aff9dde7899da013a6de00a30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.activityService: FunctionTooLong \u2014 activityService runs 529 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 429 over it, 5.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":"server/src/services/activity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae80a3ec11090317498ef39cb6d0d7f7d894f340da64b4a869c8f7d55a1fe233"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: capability-issue-thread-server.createCapabilityIssueThreadMiddleware: FunctionTooLong \u2014 createCapabilityIssueThreadMiddleware runs 525 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 425 over it, 5.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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8ec40ad18efcc0f4c16cc3ca7d0f92a83761ebb50773868e838e73a747f9bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/run-preparation.ts: FileTooLong \u2014 2621 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2121 over it, 5.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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f681d72ea628d1ab2c087f02fbe0172490214bb6d20bfaa081e0e12834d24fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lifecycle.createChatMessageLifecycle.processLifecycleDelivery: FunctionTooLong \u2014 createChatMessageLifecycle.processLifecycleDelivery 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"442afd2c7c4313393781c8af19bd0fb7ee9b72be1b94c0e54fed31f513c3e7dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyExport.CompanyExport: FunctionTooLong \u2014 CompanyExport 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02706cabba4562cc05b96e8ec2c53d5b76aab6fbe718a73f57f16d7db5835ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.listIssueBlockedInboxAttentionMap: FunctionTooLong \u2014 listIssueBlockedInboxAttentionMap 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":"server/src/services/issues.ts"},"region":{"startLine":5980}}}],"partialFingerprints":{"codehealthFindingId/v1":"2633177f5746a4d393fbcd701f42d1490abe8aae4ce22441a6eccfd0330c6a86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acpx_provider_backend.rs: FileTooLong \u2014 2587 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2087 over it, 5.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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda97f0b8ad51ddf3d3cd103ee50aaf337e89d6b353f9908ce65e022c79361f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunnerInspector.RunnerInspector: FunctionTooLong \u2014 RunnerInspector runs 517 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 417 over it, 5.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c9d639a6293e941c34fe2569e063e5ad348ffacfefdaf5d771042c25e0ebcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectDetail.ProjectDetail: FunctionTooLong \u2014 ProjectDetail runs 517 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 417 over it, 5.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d45b5ff4816f5c30502faaa72a39aa8b3e4ca21643e32f136f79a8e263326f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 516 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 416 over it, 5.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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"74445723e550777e69b8f39c115c681289af2adb397313d3086b151c60fca2eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionIntentInteractionBody.ConnectionIntentInteractionBody: FunctionTooLong \u2014 ConnectionIntentInteractionBody runs 516 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 416 over it, 5.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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a693374387885e0e887fe5c581bda7725d3da6a8c5be9b5f2816e9e2dc7e661"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfilesTab.ProfilesTab: FunctionTooLong \u2014 ProfilesTab 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af15f28bef87ad0b3925b09d85edf291acb7415695b7ce6ee6b4ec84cb79fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-preparation.buildPaperclipWakePayload: FunctionTooLong \u2014 buildPaperclipWakePayload 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"299f1e64530f59a31e7bae6d099a2bf985ee0551dac783e282071dd8d4b0ac84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: direct-callback.createDirectOAuthCallback: FunctionTooLong \u2014 createDirectOAuthCallback runs 504 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 404 over it, 5.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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5a2e312a812d64553e4b419e17b31302683732555c5f4a6fb264b07b0bc094"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DurablePrpControlPlane: ClassTooLong \u2014 2014 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 1614 over it, 5.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dfb037c0ba12c6904809ca6067de08e3423b5318fd854c9160b8b3b754d7e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: confirmation-actions.createChatConfirmationActions: FunctionTooLong \u2014 createChatConfirmationActions runs 503 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 403 over it, 5.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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"279c9190ee4b94fb1cca59d5928ce6dcef0b414bd2e5cc4d015d0bc0591a9cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-resources.fileResourceRoutes: FunctionTooLong \u2014 fileResourceRoutes 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":"server/src/routes/file-resources.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"730ea73aacd58a48b0245907682430d7d463f77b0557124355a99b52324db63d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/run-lifecycle.ts: FileTooLong \u2014 2493 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createHeartbeatLifecycle (724-3238). The bar is 500 significant lines; this is 1993 over it, 4.99\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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc3382998f581f627bdb4ad45e4a3da49e1e1bcfe158ecbfc0c942db2ce77bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: summary-slots.summarySlotService: FunctionTooLong \u2014 summarySlotService runs 498 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 398 over it, 4.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":"server/src/services/summary-slots.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0a4cc4b2cbc5cea7066ebd52e00bfe7838dac4b22a32a2bc4ec223dedda913"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: direct-callback.createDirectOAuthCallback.completeOAuthCallback: FunctionTooLong \u2014 createDirectOAuthCallback.completeOAuthCallback runs 498 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 398 over it, 4.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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab8ba56e20cdaaf46ebd7bd03f852706c9f9b9a80ecf2efe495a4aab141a737"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 496 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 396 over it, 4.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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1cc2390eae32b0f8b7abebf9d72803816ae1129076a3aeeaf415b603d14174"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-channels.chatChannelRoutes: FunctionTooLong \u2014 chatChannelRoutes runs 493 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 393 over it, 4.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":"server/src/routes/chat-channels.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ba50a5e33974aadb17e86e3601d64eac33eee44955451b6ddc68312f568d3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OrgChart.OrgChart: FunctionTooLong \u2014 OrgChart 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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"603c0d0062fec5cf4b790e4039127f89760a49fd3b66cb6a941ed3367a05df6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-sdk-runtime.ts: FileTooLong \u2014 2455 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1955 over it, 4.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"920a8046be3eebee8f4de943031f9bb26c71947e59f009adfdf7167ba77d6a01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runnerd-codex-transport.settleRetainedRunnerdSessionOwned: FunctionTooLong \u2014 settleRetainedRunnerdSessionOwned runs 491 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 391 over it, 4.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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea303546abea19cd549a40d06d9f11f73949bc595fc616691ba66bfb02b612d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-arbiter.arbitrateNativeStatus: FunctionTooLong \u2014 arbitrateNativeStatus runs 491 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 391 over it, 4.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":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"75208c3f29e839c057b90936083fd76ef501c4a93b2c8d39b04d9c2f54775cf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-registry.pluginRegistryService: FunctionTooLong \u2014 pluginRegistryService runs 491 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 391 over it, 4.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":"server/src/services/plugin-registry.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeadc131d7356fa7166a38d7e45d8a88795fb6c41c2f6a2e02c3e4c9cb77afb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grant-refresh.createOAuthGrantRefresh: FunctionTooLong \u2014 createOAuthGrantRefresh runs 490 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 390 over it, 4.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":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97764237bfe644732589c3023dc9e5b9ccf3f36453afb45167b0b518b1643c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: explicit-native-continuation.admitExplicitNativeContinuation: FunctionTooLong \u2014 admitExplicitNativeContinuation runs 489 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 389 over it, 4.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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dc550f458c25942052784cef4ebb3bd4f0d3c2714adf2ff136449185c139a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 487 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 387 over it, 4.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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab66f24d50040c850e7967406be21ddf968bd9511ece6b435be54d3099722a09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grant-refresh.createOAuthGrantRefresh.refreshOAuthGrantCredentials: FunctionTooLong \u2014 createOAuthGrantRefresh.refreshOAuthGrantCredentials runs 485 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 385 over it, 4.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65c429c81b214c90a937ea2004b60c6428ea9b4899095b43121b5bcd49a44d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.RunDetail: FunctionTooLong \u2014 RunDetail runs 482 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 382 over it, 4.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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2540d8fd5bdaa3b78619eda0cbeb0756e607324beda22845bba3f6fc85328d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company.registerCompanyCommands: FunctionTooLong \u2014 registerCompanyCommands runs 481 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 381 over it, 4.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"043badef7c870b3884be228ae8b3b48707607b3ef3e8bd9769a8617184cb544f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogViewer.LogViewer: FunctionTooLong \u2014 LogViewer runs 481 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 381 over it, 4.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4a7d9eaf50acfad4d3362998db331900bec9defecda3eb6a000d01d67646b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/live-session.ts: FileTooLong \u2014 2396 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: CapabilityLiveSession (1186-3153). The bar is 500 significant lines; this is 1896 over it, 4.79\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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a1ae8fd93fd6c394f8804fc5f6aa691416ebb4322288dfe1768b7e449195bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createChatInteractionCallbacks.handleModalSubmit: FunctionTooLong \u2014 createChatInteractionCallbacks.handleModalSubmit runs 478 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 378 over it, 4.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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21e43da33e4e84c60adba1b26df0b729e6996b8b73f30e45b4401085a995d01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueRecoveryActionCard.IssueRecoveryActionCard: FunctionTooLong \u2014 IssueRecoveryActionCard runs 478 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 378 over it, 4.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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"3498bb5c5e07fadb986a842688fb4767c0081d0d6c1ac1723813d7db6c9f7eb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: work-timeline.workTimelineService: FunctionTooLong \u2014 workTimelineService runs 477 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 377 over it, 4.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":"server/src/services/work-timeline.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b024c5e9c15377d5cbaf33454a4f76fe568bd5e17ec5787f415f2a6efe129c37"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesignGuide: ClassTooLong \u2014 1904 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 1504 over it, 4.76\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"360ec061d7cb7d94a63e5d4cda5cc5abddd20fc8cff17b33be3915d3edc8fbed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointDetail.Activity: FunctionTooLong \u2014 Activity runs 476 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 376 over it, 4.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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"4716f05960797a012b54ff9afff99a523ad29484b0dd97bc5d1b35dafe73116b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GatewaysTab.GatewaysTab: FunctionTooLong \u2014 GatewaysTab runs 475 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 375 over it, 4.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c956c46f77ae413bc0ac0d0a8353da205c4014ca67e93e407162a69e2a2c122"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client-credentials-service.createClientCredentialsService: FunctionTooLong \u2014 createClientCredentialsService runs 474 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 374 over it, 4.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":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"af90cc229fc590b37843531416139327175cd2a216fcef9f5cb99194dc52d697"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.createChatActivity: FunctionTooLong \u2014 createChatActivity 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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bbd4c264cc486fd8603de48798dd5b4d5300dae5f6f355e9179b8cd796f0f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/authorization.ts: FileTooLong \u2014 2357 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1857 over it, 4.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":"server/src/services/authorization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e3761087444405c77e2ce0adabfa0dc7aa3283edb73cd5789cffc4c87b7970"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/DesignGuide.tsx: FileTooLong \u2014 2355 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: DesignGuide (509-2581). The bar is 500 significant lines; this is 1855 over it, 4.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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4767e04b4a0b5131f35d054dc678f99ec66fccdeb603a9ce5c41b0b8eb59aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resource-reconciliation.createChatResourceReconciliation: FunctionTooLong \u2014 createChatResourceReconciliation 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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb22cd79c886c420e41d3b043ffb914719f7790b7c1fac37896844a6dfd88f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.buildTransaction: FunctionTooLong \u2014 buildTransaction runs 468 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 368 over it, 4.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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67d4f5348da0c9140beb79327a63b198425ad89268e7570a80d1eb4e1a1defa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Layout.production.Layout: FunctionTooLong \u2014 Layout runs 467 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 367 over it, 4.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"277ded82a5fb054681cf47f64295dc7b859814b5abf1fa5e1da5893fb61fd324"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: muse.createMuseBroker: FunctionTooLong \u2014 createMuseBroker runs 466 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 366 over it, 4.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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"298658abba295fd294c7b69b3b7a5abf355189f0358fad3615ad6c9fc4f4dd31"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-task-runtime.executeEnvironmentTask: FunctionTooLong \u2014 executeEnvironmentTask runs 466 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 366 over it, 4.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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0212134890f85c983bc22358c068d4daef51280df0db5cab83145156dfcd8c97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/tool-access.ts: FileTooLong \u2014 2320 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1820 over it, 4.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":"server/src/routes/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fd8fa79801647fda9def971b63160500bdbf9ffef8ee0e47509f642549c13d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyAccess.CompanyAccess: FunctionTooLong \u2014 CompanyAccess runs 464 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 364 over it, 4.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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8fb2027837691b74559c4a002bf4ad71b266b5f3bbe9368510db1e8b29b5f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/OnboardingWizard.tsx: FileTooLong \u2014 2319 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1819 over it, 4.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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3257dd99f1658e4ed0899d6d6fe217ff243fa9f1c632ce43d9e83b9029b9f1d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/recovery.ts: FileTooLong \u2014 2318 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: createHeartbeatRecovery (398-3222). The bar is 500 significant lines; this is 1818 over it, 4.64\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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c485988786ec53fb970f5792c202f903d5bef11c0eb0725f39bc29efdc4b105a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 463 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 363 over it, 4.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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8cd801f207067de0cf739c71cbc27402546b49196bd69a90f8532aaf144cb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginSettings.PluginSettings: FunctionTooLong \u2014 PluginSettings runs 463 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 363 over it, 4.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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1be8fbf66c4f380f505daee3dddc020b0e8ecef70b9a4e2daf32bf9f72c8b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubBotConfiguration.GitHubAccessEditor: FunctionTooLong \u2014 GitHubAccessEditor runs 463 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 363 over it, 4.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":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c527ab5865aa889998e11eaeb15a310c8bb8ae3322c00a49c1358ebf9a2c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Search.Search: FunctionTooLong \u2014 Search runs 462 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 362 over it, 4.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":"ui/src/pages/Search.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9578ec480e66a80acd26cdfe593e5704f70dd6a78bb60d33a6b7b534d6d21587"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/testing.ts: FileTooLong \u2014 2300 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: createTestHarness (492-2742). The bar is 500 significant lines; this is 1800 over it, 4.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/plugins/sdk/src/testing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabe007e7fa604924682463fa52c79fcc24c387c25153d48a548b1f3e59b3a9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resolution.createChatPublicationResolution: FunctionTooLong \u2014 createChatPublicationResolution 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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0539cec385b7ddd787e6f94ebd6569ee7b65a347bb2bbd588b72b74c8d95446a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointSetup.ChatSdkEndpointSetup: FunctionTooLong \u2014 ChatSdkEndpointSetup 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4281963ae0ab34940458038c491c484b9de853e16f0f4c5a1bad30c8e58a48cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.createDiscordCommands: FunctionTooLong \u2014 createDiscordCommands 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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1942d33824a833f0696e267dcca5a6b2b840c8522889d4fefc681a76d96fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentActionButtons.AgentActionButtons: FunctionTooLong \u2014 AgentActionButtons 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":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f89a4d7076bd364e07e40d571a55e0a63c748e60727a8d784d91cb26b5f59d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inbound-attachments.createInboundAttachments: FunctionTooLong \u2014 createInboundAttachments runs 453 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 353 over it, 4.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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ab892e9583e3c345a02cfa253ac013f690e0f262c7a911fda4ad3da443b2b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grants.createConnectionGrants: FunctionTooLong \u2014 createConnectionGrants runs 450 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 350 over it, 4.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":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d60dd1f6433fa920a21a6cf49151da19d068bf7d885b77d6344b0dbc4cb5f89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectWorkspaceDetail.ProjectWorkspaceDetail: FunctionTooLong \u2014 ProjectWorkspaceDetail runs 449 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 349 over it, 4.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":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d05b017bef9da6a4ca9c2aecc22215cad3eaa56645c3766dfc69dc8e58e03ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Row.EnvironmentVariableRow: FunctionTooLong \u2014 EnvironmentVariableRow runs 448 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 348 over it, 4.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":"ui/src/components/environment-variables-editor/Row.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd34756160a76c863ef1cdefb45e9fee97c64a4ff7d925e84f1b37a700cc2ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-worker-manager.ts: FileTooLong \u2014 2234 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: createPluginWorkerHandle (930-3968). The bar is 500 significant lines; this is 1734 over it, 4.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2970d8d00f4b777f07eb2e46820d40c1ad332e169f457e0b40af1f59ccd5d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: discovery.createOAuthDiscovery: FunctionTooLong \u2014 createOAuthDiscovery runs 446 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 346 over it, 4.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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6f3739acc3bbfda862536337fa92debebf7e59820c70749da68c21132ecb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-session-notifications.mapNotificationBody: FunctionTooLong \u2014 mapNotificationBody runs 445 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 345 over it, 4.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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc51767856b83bb2768c79df10a6be124824d276023ba74e6107408ffeebe1e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CompanyEnvironments.tsx: FileTooLong \u2014 2220 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1720 over it, 4.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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0812efc5623a75bc512e762bf2e2d76cfac855543334f55e54d7a1e081d539e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: costs.costService: FunctionTooLong \u2014 costService runs 444 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 344 over it, 4.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":"server/src/services/costs.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2169a243e814020096e21b6f8b34a70088f9a3e538e533cacacb020b9dec9c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: events.createPhotonEvents.processPhotonResponse: FunctionTooLong \u2014 createPhotonEvents.processPhotonResponse runs 442 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 342 over it, 4.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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c752bf08e94dc5911ce6f5a23f0228ba45b398b6718ec2053fc0f09b9511177f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-package-store.skillPackageStore: FunctionTooLong \u2014 skillPackageStore runs 442 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 342 over it, 4.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":"server/src/services/skill-package-store.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fc125f68a6bda3420fd94340fcf3ff21a754fb3ef6dcc032f9a5899fc6a964"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-stop.createSlackSessionStop.processSlackSessionStop: FunctionTooLong \u2014 createSlackSessionStop.processSlackSessionStop 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca8d7d3d67dd228a535201e584c97f5fb49e49ef6ad1c6c1cc787fa4585a690"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inbound-attachments.createInboundAttachments.ingestAttachments: FunctionTooLong \u2014 createInboundAttachments.ingestAttachments 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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a985ec71c3e55724dc1565bd24b1d02563d24aae85ffad5afd7ad248a0a68e03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TriggerWizard.RoutineTriggerWizard: FunctionTooLong \u2014 RoutineTriggerWizard 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":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5bbbfd4fd68524604a452768ac7762a2527fa41f584a1bec61d4da771d7a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.DiscoveryGrid: FunctionTooLong \u2014 DiscoveryGrid 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"98be08530739b63b299f9d06e0da2a9c1649b5a38711dc3af0c2870f0719af6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspace-repositories.executionWorkspaceRepositoryService: FunctionTooLong \u2014 executionWorkspaceRepositoryService runs 436 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 336 over it, 4.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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee43509bf5b400040c11f9f86d1d8a6e0d248acbb54410e2ace988ff6c764e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: question-response-delivery.questionResponseDeliveryService.deliver: FunctionTooLong \u2014 questionResponseDeliveryService.deliver runs 436 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 336 over it, 4.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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"f266168ee3fe5dc4dbf1655b1704d4ab6918e4e9973e5224becea88a6cf6a6f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::provider_events::normalize_codex_notification_in: FunctionTooLong \u2014 paperclip_runner_core::provider_events::normalize_codex_notification_in runs 435 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0dd3d768e5209dda065fb9858fd534b85b3bcb1fb2b8ec7cecb784a2a1e2a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/status-decision-committer.ts: FileTooLong \u2014 2172 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1672 over it, 4.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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1659f11fcf8d947e962598d4f20d3b263fe79bcc606a9d7d67856681e50209e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginManager.PluginManager: FunctionTooLong \u2014 PluginManager runs 433 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 333 over it, 4.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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"05426da6b5142e9b49dfcb7b87fde35ddc1a3b5376dbac51304eec5937d20ea9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: discovery.createToolCatalogDiscovery: FunctionTooLong \u2014 createToolCatalogDiscovery runs 430 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 330 over it, 4.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdea20f9efaa307df240d42da344caaecd532450e119db8383c011f23f67a0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-execution.parseNativeExecutionInput: FunctionTooLong \u2014 parseNativeExecutionInput runs 429 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 329 over it, 4.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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"609ca161bda7a43d408215c750afcee104cb25314efe0a2961d0b6620fbece0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dot.createBroker: FunctionTooLong \u2014 createBroker runs 428 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 328 over it, 4.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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"db159abe77639d24ad41deeff2a8587051486de361130f9174cf4dd2c8aeb8c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssuesList.tsx: FileTooLong \u2014 2139 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: StreamlinedIssuesList (715-2639). The bar is 500 significant lines; this is 1639 over it, 4.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef3ca84705365659441e85e1711e1536c2ab79434f3534df40676ef5b581e84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexCommandExecutor.poll_provider_frames: MethodTooLong \u2014 poll_provider_frames runs 426 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 326 over it, 4.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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":5300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3b6ac0c823e814fb284952afef9fc75a9766bfcb3c797437e9502ae077d7d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.executionWorkspaceService.reopenClosedIsolatedExecutionWorkspaceForIssue: FunctionTooLong \u2014 executionWorkspaceService.reopenClosedIsolatedExecutionWorkspaceForIssue runs 426 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 326 over it, 4.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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4412}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e050cdffff699803ca23e0193856fb0243ac5f162730c0538e8c0b01d7ce2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuestionForm.QuestionFormForRequest: FunctionTooLong \u2014 QuestionFormForRequest runs 426 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 326 over it, 4.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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"483f9a6945775b692581255b84a10a11d92dd4cc781c8b931965066febee5e26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: folders.folderService: FunctionTooLong \u2014 folderService 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":"server/src/services/folders.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc35f7d636b2b9189631ca1b647db5b7b92aa8a184a7ccc42bc930aa0f4f53a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: receipt-reactions.createReceiptReactions: FunctionTooLong \u2014 createReceiptReactions runs 420 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 320 over it, 4.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":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b58086e720d5f4dafd2677533d184e57681b3e634b93acba0a46ba12950a43f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: root-threads.createDiscordRootThreads: FunctionTooLong \u2014 createDiscordRootThreads runs 419 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 319 over it, 4.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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a141e0afefc5f82a5a0ad5a28ce60e7b939ef4852a0f4db6787fdaa6b7c556"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaces.createHeartbeatWorkspaceResolver: FunctionTooLong \u2014 createHeartbeatWorkspaceResolver 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed0926921e0790971526c843c4f578af25f1d3f50ffe801fa1cb2e5869834bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueRunLedger.IssueRunLedgerContent: FunctionTooLong \u2014 IssueRunLedgerContent 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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4864714ac59bce5f36e3f319b45264b78e906f65af1b3a727a2e0dd9289ead82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditFeed.AuditFeed: FunctionTooLong \u2014 AuditFeed 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d987f95fffb539b38eeadf73c17e0c1c396cd091b946265fcc71e301fe9f60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-interruption-presentation.taskInterruptionPresentations: FunctionTooLong \u2014 taskInterruptionPresentations runs 415 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 315 over it, 4.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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13add24802e35388b033adb380e28b115c31bfecb8b769bab3a0ec8401b7478"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/TeamCatalog.tsx: FileTooLong \u2014 2074 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1574 over it, 4.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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6417ef74324f668030bbd1aaf75f1d18bc39f2450a58314df37677d4c3f65010"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityMockControlPlaneAdapter.#executeCommand: MethodTooLong \u2014 #executeCommand runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"604d6fbcd01a2d41950747a4187b8cec036dcce3504073e61a8dee656aee0cc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-control-recovery-stop.readChatControlRecoveryStop: FunctionTooLong \u2014 readChatControlRecoveryStop runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebc846fd92a74dd67c72ad66222409ea163038c6e5d480462e40960714115dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-managed-agents.pluginManagedAgentService: FunctionTooLong \u2014 pluginManagedAgentService 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":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2e4ae57939602f669bd37bb5445793650a51d5f7e247efd2433c209623703e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueRow.IssueRow: FunctionTooLong \u2014 IssueRow 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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"acec56a1206e87b52d37c0e4f9fe526d8187ff77e3bedb41f7243f4c49144308"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionSetupFlow.KeyStep: FunctionTooLong \u2014 KeyStep runs 412 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 312 over it, 4.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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f66d761549f46bc6b256bf33a17e78f242abc794bcaf542ae168488de7c3793"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: durable/state.rs: FileTooLong \u2014 2045 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1545 over it, 4.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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d3a0841c1d5f37e58a3e4707d0341668d521903a0a48ea79077f1ab938fe8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.production.RunDetail: FunctionTooLong \u2014 RunDetail runs 408 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 308 over it, 4.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfd7a8564a6809df09c23792c045dac5aca94800bd25b414e000cbaca0c87c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.executeTurn: FunctionTooLong \u2014 executeTurn 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b391344085de8310380edbb74466e1eb685e674897164627d9fedb36f2c789"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueFiltersPopover.IssueFiltersPopover: FunctionTooLong \u2014 IssueFiltersPopover 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":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"976b15309853ed1427db83e5f014bb71bd4d63136b71b8658f13b29f28cacb5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Connections.Connections: FunctionTooLong \u2014 Connections 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":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"638e4acdf04068795364f0fc5364cb9ccd62d4f595c4d27f8809622eb59e9235"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx/codex-acpx-driver.ts: FileTooLong \u2014 2016 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1516 over it, 4.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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e7235b45c57ebe34fd6d3c626ce598c5439e8d4acea4b35606ab6f7365b9b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-recovery-actions.issueRecoveryActionService: FunctionTooLong \u2014 issueRecoveryActionService runs 402 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 302 over it, 4.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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e450e258d8696fcfaf61b3d4285f394ec3aab7770e2dabf4032903e96937291"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-reviews.githubChatReviewService.processPublication: FunctionTooLong \u2014 githubChatReviewService.processPublication runs 401 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 301 over it, 4.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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a005f0e4dd62fbbc335da4e36c76fe8f7250af92dcc486b348bb6b748cb8932"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportFromVaultDialog.ImportFromVaultDialog: FunctionTooLong \u2014 ImportFromVaultDialog runs 398 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 298 over it, 3.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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44a5d57445c9a70fcdafcb9165282306586139a047277a9782a3fa974011bbe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexCommandExecutor.restore_provider_if_needed: MethodTooLong \u2014 restore_provider_if_needed runs 397 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 297 over it, 3.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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2748986bedee7416060023ee7f4fbf90daebeae5f74477e4defde69e03cc7bd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-start.createSlackTaskStart.processSlackTaskStart: FunctionTooLong \u2014 createSlackTaskStart.processSlackTaskStart runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"997028c8f6963f5b3e567226f3a864a7cdd3189e36c6a48dc3acde2649ccfd15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: object-byte-journal.createObjectByteJournal: FunctionTooLong \u2014 createObjectByteJournal runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c9c0062276b5026bc86ad446fa8e2b3e3182d5390813fb18b98778051977b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: removal.createConnectionRemoval: FunctionTooLong \u2014 createConnectionRemoval runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.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":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc650d9ef3676c6b6c5aad00750d33ba23a9a0f8c3952056b96d4f2cd3e24d82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-session-store.voiceSessionStore: FunctionTooLong \u2014 voiceSessionStore runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2119b19422fee12a0279a89fc4bbb651a2fbcd5f002fd8c96779b7f6571ed4e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Management.Management: FunctionTooLong \u2014 Management runs 396 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 296 over it, 3.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":"ui/storybook/prototypes/provider-routing/Management.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dee1a2a9025543c778f34aa7361c1849f5149118b938ff4820ea0ae26e27de9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InteractionCard.InteractionCard: FunctionTooLong \u2014 InteractionCard runs 395 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 295 over it, 3.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/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d521578b80b8935bc8d8e0bbbb8958529270c90882eb4ce6bb549ecb4e30bd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-workflow-executor.executeLiveRunnerWorkflow: FunctionTooLong \u2014 executeLiveRunnerWorkflow runs 394 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 294 over it, 3.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/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"bada169bee7234f21044856aa2607edb061e3b9063ad6c652cbdc9c0db319e53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatAssistantMessage: FunctionTooLong \u2014 IssueChatAssistantMessage runs 394 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 294 over it, 3.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5897079d5addbc89bd744bb5489fad19e139644b08e5b3d929a33e2bd08cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LegacyIssuesList.tsx: FileTooLong \u2014 1967 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: MOBILE_TREE_INDENT (665-2435). The bar is 500 significant lines; this is 1467 over it, 3.93\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f31bc872a87de45df2df4c80dd3b1cd8517699e9158830eb720947359f99bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Dashboard.Dashboard: FunctionTooLong \u2014 Dashboard 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":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41318229a3a07298c3736a7da66dfc6b5b53535f124698a71272064208098f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/LiveUpdatesProvider.tsx: FileTooLong \u2014 1962 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1462 over it, 3.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fa5d835ebe8e5ff92d8e2e694fb9fe8b7266ea4c7df2edbacc9f420dfc02a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.listIssueReviewAttentionMap: FunctionTooLong \u2014 listIssueReviewAttentionMap runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.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":"server/src/services/issues.ts"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4745c51b6e0e7147c38dd21017d47176b578efae993e0cb47e1b072ec0faab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-sources.skillSourceService: FunctionTooLong \u2014 skillSourceService runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.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":"server/src/services/skill-sources.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ed54e009d5314ea78fa962384a38a0fedfc66400cceddfb90ca76b42c24a0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentProviderConnection.AgentProviderConnection: FunctionTooLong \u2014 AgentProviderConnection runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"791378c7f658b871adb6e4d2c1dba395d3df240c0f1085d667c19c8cda8b6095"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useLiveRunTranscripts.useLiveRunTranscripts: FunctionTooLong \u2014 useLiveRunTranscripts runs 390 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 290 over it, 3.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":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f8b1f7df96e6b03c2f2d5656a4ef1caa1082c38707d49fc9a1767390dae884"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/fake-codex-app-server.rs: FileTooLong \u2014 1938 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1438 over it, 3.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e7dba29936354bfd42c6c4e538687e5ce8d1a0ebfb82e2816324fb07dc5470"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EmailEndpointSetup.EmailEndpointSetupForm: FunctionTooLong \u2014 EmailEndpointSetupForm runs 387 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 287 over it, 3.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a929be63022d315ccb6d1ae11542bfb0d5f6820da9ef630dc66f721cad7ed9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentConfigForm: ClassTooLong \u2014 1546 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 1146 over it, 3.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7895ed55d89b160b36ba0954afe9940a9e85bd9e25331b78121042905f310c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileViewerSheet.FileViewerSheet: FunctionTooLong \u2014 FileViewerSheet runs 385 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 285 over it, 3.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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa09ff8befbc51bb9a261b688c84ee56f81442cfb6d72bb445bc760fdf87863"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-dialogs.AddConnectionDialog: FunctionTooLong \u2014 AddConnectionDialog runs 385 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 285 over it, 3.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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3300ee22bc7e31d54e61410b902dd21b9720a93d7a2d05582bb3dfedec5383"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx/acpx-runtime-adapter.ts: FileTooLong \u2014 1921 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1421 over it, 3.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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de192445eb72fc3e3fb68acd6592b1479015fe3f7fbdf67e5a1a999ed7c3cb8c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DurablePrpCodexTransport: TooManyMethods \u2014 115 methods. The bar is 30 methods; this is 85 over it, 3.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4074}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17fdb627bde9a7bffe3ec9166e98a7d0f7c12c3d8a350ae51e5dbd1e200176a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.resolveChatOriginPublicationBindings: FunctionTooLong \u2014 resolveChatOriginPublicationBindings 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":"server/src/services/issues.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fea556448ca336b57f45138336b1caf785dfac118d22ecf0974a1b6d275e54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-events.splitProposedPlanBlock: FunctionTooLong \u2014 splitProposedPlanBlock runs 381 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297a08e89c2d7d30cbd2217d25ccd6e939c16b58d6deaa716d3dd9d814eced3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: continuations.createChatInteractionContinuations: FunctionTooLong \u2014 createChatInteractionContinuations runs 381 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"850cf7809fc13683533ef6ccc2665b817f29bd198f7cfc9972566460a714d204"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/transcript-adapter.ts: FileTooLong \u2014 1904 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1404 over it, 3.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e59cc7998a2038009118d7d34b735cc9923010b48f9461c123ee63f7738586"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: durable/runner.rs: FileTooLong \u2014 1900 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 1400 over it, 3.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dc409b7fa2519a6b85b38e4f62262a17099287b6e4979376fcc176c8674d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StatusCardDetailDrawer.StatusCardDetailDrawer: FunctionTooLong \u2014 StatusCardDetailDrawer runs 379 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 279 over it, 3.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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8d14a9ba864919bd4a711da7eee9042df26c1bd0d81584d3ade079047c2757"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-writes.executeSlackWrite: FunctionTooLong \u2014 executeSlackWrite runs 378 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 278 over it, 3.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"318c5eb6d304cb20f213db279bb8b53924087a4d8a6d1a3f9a2ba10847f3dc26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validators/issue.ts: FileTooLong \u2014 1885 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1385 over it, 3.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/shared/src/validators/issue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83685b00edce5a7bad3f9b2db8519858fca4dd388e1a4f959bf7abdff962e259"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OrgChart.production.OrgChart: FunctionTooLong \u2014 OrgChart 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":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"360c82163ecf1f77b3c4a14c3763499960c7f9f298e0079e68585266d75919d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cloud-callback.createCloudOAuthCallback: FunctionTooLong \u2014 createCloudOAuthCallback 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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6d91d5ef497bfef04111f2bc017afea30d12dfcac1843240c6fc54f0a37225"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-runner-console.useRunnerConsole: FunctionTooLong \u2014 useRunnerConsole runs 375 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 275 over it, 3.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/paperclip-runner/src/react/use-runner-console.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3b901261f5698ab4179749179223f8f544d3808ce2588c92ac47e63c8e3cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.recoverActiveExecutions: FunctionTooLong \u2014 createHeartbeatRecovery.recoverActiveExecutions runs 375 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 275 over it, 3.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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a81e8c60f650642dae234a9d6415eaf3e13f1637e45c50efbbcf5065ee49de9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wakeups.createInboundWakeups: FunctionTooLong \u2014 createInboundWakeups 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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adbae80b3b4a0ed630367506427c2745c3479a0aa145a0a6728fb77ab6dad6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-preparation.createHeartbeatRunPreparation: FunctionTooLong \u2014 createHeartbeatRunPreparation 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d731a68be3a0a7c73df0bda132515411b74c8931f47d7c2c4390f81a336db1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-runner-task.createPluginRunnerTaskOwner: FunctionTooLong \u2014 createPluginRunnerTaskOwner 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa79a9be56597e8f023a2131462462c092f843cc2b590756c389381657c60aab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSkillsTab.AgentSkillsTab: FunctionTooLong \u2014 AgentSkillsTab 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":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb712e1bd777b9d53d7d5252da3a4a62d16f8f870799b1698f88678924324ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpxRuntimeHost.open: MethodTooLong \u2014 open 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fce3740c4a3230d36d08ae194e3a4548e5c1bbfab24a8ae83d645870ae33303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/claude_managed_provider.rs: FileTooLong \u2014 1862 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 1362 over it, 3.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":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20660088c10d406c44aba119435972e03f065761def79bb46bf25b81f2263c97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CapabilityLiveSession: ClassTooLong \u2014 1489 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 1089 over it, 3.72\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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ddc5ddf043cb8a22164966189e5449a13c878bbe0db1ae3557de9e920d4177"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhook-ingress.createGitHubWebhookIngress.recoverGitHubWebhookEndpoint: FunctionTooLong \u2014 createGitHubWebhookIngress.recoverGitHubWebhookEndpoint 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10c553adfc22bf60a725a721c084f29e34332b551c438f49bd68dcfcb676d6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InlineEditor.OwnedInlineEditor: FunctionTooLong \u2014 OwnedInlineEditor 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":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f19e7837a691bb25a543e6d244802165c7745566e4164e5b0c6fc18270701a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cloud-callback.createCloudOAuthCallback.completePaperclipCloudConnectorCallback: FunctionTooLong \u2014 createCloudOAuthCallback.completePaperclipCloudConnectorCallback 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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c405a1292fdc484c466201cf7255f766e05e230502b6ae7d342280d9156265"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LiveConsole.LiveConsole: FunctionTooLong \u2014 LiveConsole runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"803b78176db5d5cd93b020c881f62d1f8348128546aea38f85ee243350207b43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-queues.decisionQueueService: FunctionTooLong \u2014 decisionQueueService runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6afb099195b3a286e433be76e0339a147544985423095941a3dfa5e24ff49b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TokensPanel.TokensPanel: FunctionTooLong \u2014 TokensPanel runs 370 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6b35e6d2e7d41ba4863d0279de7af470efed397c17f617f17dd2c42a954cb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/tool-access-policy.ts: FileTooLong \u2014 1849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1349 over it, 3.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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3e0e9cebe215476eb49f659683b9344e05fcbad65b0f9a41fb587588f6594d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: companies.companyService: FunctionTooLong \u2014 companyService 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":"server/src/services/companies.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"733442cd486c7c16ee4f2e97272bea4ee323d995a92d5bc77e4f6f351ed54701"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-maintenance-no-launch.verifyRetainedMaintenanceNoLaunch: FunctionTooLong \u2014 verifyRetainedMaintenanceNoLaunch 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":"server/src/services/native-runtime/native-maintenance-no-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"de279c42fcbab0f70275f03c7e8ea154827e26bd73e3d64667b2fd35fefa735d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aggregator-accounts.createAggregatorAccounts: FunctionTooLong \u2014 createAggregatorAccounts 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdcf5dd12718af88d3d48405ab40bc1fb31fe023b6ffe7cac69cbd9f67e58da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/failed-run-retry.ts: FileTooLong \u2014 1842 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: createChatFailedRunRetry (129-2174). The bar is 500 significant lines; this is 1342 over it, 3.68\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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf69a6960977d2543c82fb49ce6f36a1e6219281b467be0457a9e583bcc3988"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-receipts.createSlackFileReceipts.processPendingSlackFileUploadReceipts: FunctionTooLong \u2014 createSlackFileReceipts.processPendingSlackFileUploadReceipts runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fff26f921e7bf79b9ca3c07b64293d1ad8f9f41d34020915beef045ea780b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client-registration.createOAuthClientRegistration: FunctionTooLong \u2014 createOAuthClientRegistration runs 368 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 268 over it, 3.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4779bd2c2239eb749a7af7716247d5c61d59601efba45113589f7f83d812c93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: credentials.createChatCredentials: FunctionTooLong \u2014 createChatCredentials 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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb5a1c8eac96c10983a5f7acacebbe7e914ee1d8ae7fe5ae2414e066d8b36ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-selection.selectHeartbeatEnvironment: FunctionTooLong \u2014 selectHeartbeatEnvironment 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":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47c3ed0248b5baab78d7a6490a70f84709b9d8b8591521a2ceb29a839d0b9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentToolsTab.AgentToolsTab: FunctionTooLong \u2014 AgentToolsTab 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":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6d4622be985a8b4a2030965a27c3f1605e74f73912827de0f0b35526d269b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresWatchdogAdapter: FunctionTooLong \u2014 createPostgresWatchdogAdapter 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":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4919c8054c92ad0aee8f868a007ba4436e41813adfa40bce20735ff68d1d3c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.createChatActivity.readActivity: FunctionTooLong \u2014 createChatActivity.readActivity 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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdfd8dc426cf849ed601632c6341cf4e2bac5052012fbef972cad1a0fc1e355"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/TaskChatCompactInteractionCard.tsx: FileTooLong \u2014 1828 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1328 over it, 3.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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8899221662ae7cbf2f539f4f839dd24991df7e6740e4334d63eb500ccd87da47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentConfigForm.DisplayedCodeLoginPanel: FunctionTooLong \u2014 DisplayedCodeLoginPanel runs 365 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 265 over it, 3.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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b7652f9a72ddc59aae928c432731ea3825543eec8a32759cb9b5ce4ca96dc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySettings.CompanySettings: FunctionTooLong \u2014 CompanySettings runs 365 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 265 over it, 3.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":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13782016f78126634768fccacd6dabeabe1f23a7d52f12010e4e95250d75adb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 364 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 264 over it, 3.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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4384eca551222d04957506f6fa39c47a0161f3dc298fa0844110eb55726bdd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiProviderSetup.AiProviderSetup: FunctionTooLong \u2014 AiProviderSetup runs 364 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 264 over it, 3.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":"ui/src/components/ai-connections/AiProviderSetup.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e4b3b1bfec0f7a99d8f00acfaf1767a85224dc2afa6f5cc60a4e7799ecd875"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyEnvironments.EnvironmentImageTemplatePanel: FunctionTooLong \u2014 EnvironmentImageTemplatePanel 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"170afb1593a1993ed4facd5512431b775478079d50663180c96fce1df223139a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentChatPrototype.AgentChatPrototype: FunctionTooLong \u2014 AgentChatPrototype 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":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9ee2cecd7767c3f7d71319a5b01f85d34070aa1ebeafab9e628125e6825fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/plugins.ts: FileTooLong \u2014 1805 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1305 over it, 3.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":"server/src/routes/plugins.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a5cfc892089e5c5a85f335a23f6119e15a5d80861028da3f1c75552c87e336"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: case-handoffs.caseHandoffService: FunctionTooLong \u2014 caseHandoffService runs 360 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 260 over it, 3.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoffs.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb0b998634975f17fe077a6bc84307ec6ffff1e90c6f17bd00faf5e212c8d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index.ts: FileTooLong \u2014 1798 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: startServerWithDatabaseTeardown (319-2461). The bar is 500 significant lines; this is 1298 over it, 3.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3789cc2a47553ca44ae1bc51ce1c19b183895ffab6f4c05784bf7ff6a0182b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: github-chat/GitHubChatPreview.tsx: FileTooLong \u2014 1798 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: GitHubChatPreview (452-1705). The bar is 500 significant lines; this is 1298 over it, 3.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cc68882df93a2cf15d826145509e5bd4ac0b30d9879597bfded5b70e49d090"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SmokeLabTab.SmokeLabTab: FunctionTooLong \u2014 SmokeLabTab 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":"ui/src/pages/tools/SmokeLabTab.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"efffd6de63674240364bcd11d8e2f79f7f100625e35bc806ac9943c17a0bbef8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ChangesTab: FunctionTooLong \u2014 ChangesTab runs 355 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bac5c959c8f6e696c5b85a1eea831295cc7d954b8431663c1d283c0b393857f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkTimelineChart.WorkTimelineChart: FunctionTooLong \u2014 WorkTimelineChart runs 355 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"24874e060abcbbe2e9c3a6e4079b9edec75f34124ceb0654c8e947b9d0ace63a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ChatEndpointSetup.tsx: FileTooLong \u2014 1772 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1272 over it, 3.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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f289fc1aa310c00604dec1dc59ac4c382f9c4fbf190574727bb46d5aa79c8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feedback.feedbackService: FunctionTooLong \u2014 feedbackService runs 354 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 254 over it, 3.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":"server/src/services/feedback.ts"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d9ffe6214fab265337175dd7c7d0ef5ef6c8dcb95ed076ebb02ea3492717b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-access.toolAccessService.finishGalleryAppConnection: FunctionTooLong \u2014 toolAccessService.finishGalleryAppConnection runs 354 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 254 over it, 3.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":"server/src/services/tool-access.ts"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61952cbc478a341847e2420748f1cea9f76d51a2761dafe53e5c88fc4b08045"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-operations.workspaceOperationService: FunctionTooLong \u2014 workspaceOperationService runs 354 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 254 over it, 3.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":"server/src/services/workspace-operations.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2399df52038e1ca31f2f1d80bc69cd7cface607225060e74ab423e7177bf90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdapterManager.AdapterManager: FunctionTooLong \u2014 AdapterManager runs 354 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 254 over it, 3.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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a4d25267d853a66a607c9a016b5e86b0ac88588d55a4aa28089f0f58eb390"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/provider_events.rs: FileTooLong \u2014 1768 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 53 free functions. The bar is 500 significant lines; this is 1268 over it, 3.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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec0f37f5a00611735c1a3bdb4fba0d2b7c20c844f5a94a165d57a617bdc64f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineRunVariablesDialog.RoutineRunVariablesDialog: FunctionTooLong \u2014 RoutineRunVariablesDialog runs 353 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 253 over it, 3.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":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e75a9081c6008a42b9129b37eea20c3bd7e30d196ee319a527398cc3e83f19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-live-console.useLiveConsole: FunctionTooLong \u2014 useLiveConsole 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":"packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e85ab760ef8640659c90250492fa05ce1803085579530d45642ee55f085b65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host-client-factory.createHostClientHandlers: FunctionTooLong \u2014 createHostClientHandlers 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":"packages/plugins/sdk/src/host-client-factory.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3432d483081747ca4c8ad52e7fb3904deef86339e21c45b7861945e1a317c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-start-resolution.createSlackTaskStartResolution: FunctionTooLong \u2014 createSlackTaskStartResolution 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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cf31f7361f58a1219470bcf2174b49b2f06a01badea6a613ace531065ff0d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/feedback.ts: FileTooLong \u2014 1745 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1245 over it, 3.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dea856a4220a04e1229b76cfba5389388a9ca60567394eb9e94f7504960eb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: board-auth.boardAuthService: FunctionTooLong \u2014 boardAuthService 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":"server/src/services/board-auth.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8dbf19ce0d5e1d4a2d15092847cb4a6aea1d09168aa1b563007bdd8fe7cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/managed_provider_backend.rs: FileTooLong \u2014 1744 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1244 over it, 3.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75a467de469c01cbdba66b2db41d654d70da439ce3bbd5ff3ac3320864d0192"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-run-finalizer.ts: FileTooLong \u2014 1744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1244 over it, 3.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d5f1e347b29504afbe47cde89bb726dd1788f18f7bc3bf119473dd2682c4f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-context.prepareHeartbeatTaskContext: FunctionTooLong \u2014 prepareHeartbeatTaskContext 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":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8789cf57bbfa855c722664a16e9191db794d6d2d24384d1e8c271b1570a7fdb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-start-resolution.createSlackTaskStartResolution.resolveSlackTaskStart: FunctionTooLong \u2014 createSlackTaskStartResolution.resolveSlackTaskStart 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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2090ef52f910e119f78131988f0c3532b9323df76028d8fa298403f83ef83e02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: events.createPublicMcpEvents: FunctionTooLong \u2014 createPublicMcpEvents 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"802fb1b111932f54c1cf0dbd9ea41c44356c73d350107d05e5fdb52ca0fbfa5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionSetup.ConnectionSetup: FunctionTooLong \u2014 ConnectionSetup 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1e15f2a69afb5e5f1f54e71af165edcf18b3303d1758b19a79d39c93d19498"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-restart-recovery.ts: FileTooLong \u2014 1722 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1222 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15ee4a2215444b0f19c34cfa070513cc3fdb8e8eb14f387ced25d3d497866fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/built-in-agents.ts: FileTooLong \u2014 1720 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: builtInAgentService (811-2147). The bar is 500 significant lines; this is 1220 over it, 3.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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be151ff5ed5f560926ee90d48b07a528665347fb0b727dd5d861f8cb0dd1c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::durable::state::redact_sensitive_text_values: FunctionTooLong \u2014 paperclip_runner_core::durable::state::redact_sensitive_text_values runs 344 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 244 over it, 3.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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4959bca9c67cc54bfc24c4a6f2b307c903891ecb9d3305f987b31122bc7a4ac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: requests.createChatPublicationRequests: FunctionTooLong \u2014 createChatPublicationRequests runs 344 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 244 over it, 3.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":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d9ec1e507688f4549d959fce9ee332ee172ebcabf7f5c5e6ebd0024340ecd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CompanyImport.tsx: FileTooLong \u2014 1718 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: CompanyImport (922-2342). The bar is 500 significant lines; this is 1218 over it, 3.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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3396dec6456c1160c85455cc5543bf27f3f6187359bad0b222d88fd2d3e2b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: endpoints.createChatEndpoints: FunctionTooLong \u2014 createChatEndpoints 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"56015c75339ad871cf2a13b29975c4f7644b32a4c3d3cc392cd3122485fd116e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CapabilityMockControlPlaneAdapter: ClassTooLong \u2014 1367 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 967 over it, 3.42\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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a4298cc5fdc211acddaffda2999288b018dfd6864610cff9f881743e737c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-target.startAdapterExecutionTargetPaperclipBridge: FunctionTooLong \u2014 startAdapterExecutionTargetPaperclipBridge 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b05191ef2378fe0fdc7c7c35f20e47edceef87b1e0e5fa7e01b79513b66788"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-control.createHeartbeatRunControl.cancelRun: FunctionTooLong \u2014 createHeartbeatRunControl.cancelRun 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d930cfad5ce29b7cd0e0d4994f009a94e1567b69005cdd04bfb2a1dc3265463"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree-merge-history-lib.buildWorktreeMergePlan: FunctionTooLong \u2014 buildWorktreeMergePlan runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"350ec4540747afb504f5f2f12b980546a7a2a5d51b163a9b1c859ea07f43dca3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.realizeExecutionWorkspace: FunctionTooLong \u2014 realizeExecutionWorkspace runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d0002afd8c4aa9e62d75d64efa1790859e34abea01ba76718c060938eae93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: continuations.createChatInteractionContinuations.processPendingInteractionWakeups: FunctionTooLong \u2014 createChatInteractionContinuations.processPendingInteractionWakeups 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":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f289935f5217fa372b13c2a768e20d6fc4ebbc3cb318e1a49903d8b80e3eee4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.DiscoveryGrid: FunctionTooLong \u2014 DiscoveryGrid 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f8d3f091e688a26180b53cd0adccae9ccc88cda23ac5257cb406765956f9b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompanySkills: ClassTooLong \u2014 1350 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 950 over it, 3.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab2cb2ac862e7e461a64d7c01c87697127b64d8488349d09bcd229f4d24a572"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip-cloud-connector.createPaperclipCloudConnector: FunctionTooLong \u2014 createPaperclipCloudConnector runs 337 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 237 over it, 3.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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bbc2697dc69b13d93e7bbb6fec12e41d1a5a1a89cb0112583492266402376c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/aws_agentcore_provider.rs: FileTooLong \u2014 1683 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 1183 over it, 3.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/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"497105df7fc2cba82917a3b2c914b3f275c51f0b42bc5d5069116166b148b959"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tools.createToolDefinitions: FunctionTooLong \u2014 createToolDefinitions runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/tools.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"209195056481098871b6d7e0ae2155cb6ae3dfd69eef138267a9857a2e84611b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: installation-lifecycle.createGitHubInstallationLifecycle: FunctionTooLong \u2014 createGitHubInstallationLifecycle runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e2b2e919a14fd6c83ae6b4f3043632c8074a98c16d475bb45c7236d4f8c25d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-continuation.buildExecutionContinuation: FunctionTooLong \u2014 buildExecutionContinuation runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57de1345fd3f30cb6b6fa54317cf70ab6d1c7c7e2bba2a1d8eacdbb0042a460"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.EnvironmentVariablesEditor: FunctionTooLong \u2014 EnvironmentVariablesEditor runs 332 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 232 over it, 3.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":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aa215c5a20daa15c9ac9a4f07c61c6ea9d3ba566c436ae7f877b3a92d1a200"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/retries.ts: FileTooLong \u2014 1659 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: createHeartbeatRetries (510-2245). The bar is 500 significant lines; this is 1159 over it, 3.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ceebcbc94fd96b648c052a600311962145d74c089b99a38fb7d28c66b24228"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: installation-lifecycle.createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle: FunctionTooLong \u2014 createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle runs 331 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 231 over it, 3.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d97afdbef6521741226dad9d27efd0a431b985f5e5d9271a42da2f9a80e667b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree.applyMergePlan: FunctionTooLong \u2014 applyMergePlan runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8f7066e2a80d23eb0a455653c5de4a9208241cd0246f890badb18a3827e276"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: receipt-reactions.createReceiptReactions.processReceiptReactionWithCredentialLease: FunctionTooLong \u2014 createReceiptReactions.processReceiptReactionWithCredentialLease runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8766b007e7857a08c59e594e7c261ac28824b7927ab0366334e38b99a15c4fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-drafts.createTelegramPublicationDrafts: FunctionTooLong \u2014 createTelegramPublicationDrafts runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65a791c6f2a46a682d863bd3c4f36557974a8b5bd4a231018b241708efb62d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fast-responses.fastResponseService.process: FunctionTooLong \u2014 fastResponseService.process runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"343aaba4f9308c18312dc4181bf527309f80478b463baef31783dbc9e8252764"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resource-memberships.resourceMembershipService: FunctionTooLong \u2014 resourceMembershipService runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/resource-memberships.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c899ab9d27462ffe908076bfeb601354039e5d05a4b8f9c361679bbb201f99d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocumentAnnotationLayer.DocumentAnnotationLayer: FunctionTooLong \u2014 DocumentAnnotationLayer runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd9e4777d884ef9e2a594af9f901b579159d33cfe300e72a0a90d4a53d00176"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommentThread.CommentThread: FunctionTooLong \u2014 CommentThread 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"979072becd273891682d6c442bf3c8ff8f575c93ae4addb5ae05f53441092bb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sandbox-callback-bridge.ts: FileTooLong \u2014 1636 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1136 over it, 3.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"334507cea6ec04127665a519f0666003e0465eb6dbf3c5c797b230688040b726"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/run-state.ts: FileTooLong \u2014 1631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1131 over it, 3.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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969ec5497b5ecf18a435a67b1a2068d11525566c3e0c144e6c649e050eebb1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wakeup-notices.createInboundWakeNotices: FunctionTooLong \u2014 createInboundWakeNotices runs 326 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 226 over it, 3.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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"12093646ddda8178efb78339ebe387ae761923444a769f26371a804c1800484e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionCard.DecisionCard: FunctionTooLong \u2014 DecisionCard runs 326 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 226 over it, 3.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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"553853d5dbca7c5a08d4d4c948727738b00c082dcc972d08c2067cb95365e422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubBotConfiguration.GitHubPolicyEditor: FunctionTooLong \u2014 GitHubPolicyEditor runs 326 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 226 over it, 3.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":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adbd1ae40284b86d082a3c7d07caea1573f27153586799383950d3b8bfca532"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/acpx-runtime-sidecar.ts: FileTooLong \u2014 1629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1129 over it, 3.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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4763d7fbcb5e79e7b2889df840da9437b0f996e70eb36e11150d5afae101712a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interactions/callbacks.ts: FileTooLong \u2014 1628 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: createChatInteractionCallbacks (152-2071). The bar is 500 significant lines; this is 1128 over it, 3.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd51e28d2e10ef4ba82b2f342a7e643ca9a2b48823e4aab4a553ccd930ea868"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-managed-routines.pluginManagedRoutineService: FunctionTooLong \u2014 pluginManagedRoutineService 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":"server/src/services/plugin-managed-routines.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"91535e1f8ef9b67cbe535ef152ba752689d26e4831fac7760e6a6e22620c34c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ssh.ts: FileTooLong \u2014 1621 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1121 over it, 3.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/adapter-utils/src/ssh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c43f1f20b4f2b078d59c1d25568d0a01a829c11676abd975d049f26d40aeb69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx/installation-integrity.ts: FileTooLong \u2014 1619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1119 over it, 3.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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41a1e93e8ac8b6660ad0ac7d27bb88b36ebb7d3bb03d7b81736236c025d7eb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mock-core/capability-mock-control-plane-adapter.ts: FileTooLong \u2014 1617 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: CapabilityMockControlPlaneAdapter (74-1895). The bar is 500 significant lines; this is 1117 over it, 3.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":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f9ebda9dea4ff15b9f16e6e4bd54f1f6ab8adcf031843bb110eb5b2e5fc2b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.createDiscordCommands.handleDiscordNativeCommand: FunctionTooLong \u2014 createDiscordCommands.handleDiscordNativeCommand 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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacd35698fa19a1d3ddd35168b964a1f36d0ceafa9400e93aea5817263806376"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: adapters.adapterRoutes: FunctionTooLong \u2014 adapterRoutes 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":"server/src/routes/adapters.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b5b6325a65384b43159ede6ba4220003f0ab353c6bb50588ddeeb84c765135"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SummarySlotCard.SummarySlotCard: FunctionTooLong \u2014 SummarySlotCard 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":"ui/src/components/SummarySlotCard.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5bf4f34fb32e0016362c7bd694d06eba0c30b2570925c0a27a2abef510fb3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: device-login-service.createDeviceLoginService: FunctionTooLong \u2014 createDeviceLoginService runs 321 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 221 over it, 3.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":"server/src/services/device-login-service.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c035bb179b976d27d4321c41551276fbf030096bc05b9e7f944706fab501c64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.executePaperclipNativeSession: FunctionTooLong \u2014 executePaperclipNativeSession runs 321 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 221 over it, 3.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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10366}}}],"partialFingerprints":{"codehealthFindingId/v1":"408429e44d854c806dfabdcc63b63bc745433d8c7c1d0286be4a1107ce4eb298"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GenericMcpConnectStep.GenericMcpConnectStep: FunctionTooLong \u2014 GenericMcpConnectStep runs 321 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 221 over it, 3.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":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"70592a12cc23dca37e5039fc8dc40d348572f796ef6a17a853c1dad03e48acbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-instructions.agentInstructionsService: FunctionTooLong \u2014 agentInstructionsService 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e13fdc944bd2943c01508eb90cc2f008726a111fc7271311f170182d49f7831"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSettingsPreview.SettingsPage: FunctionTooLong \u2014 SettingsPage runs 319 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 219 over it, 3.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":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dd63ecaeb3a5a2e9e1148ba242300a80f8015f085b1fd1dd8780950b2a1e58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: routines.routineService.dispatchRoutineRun: FunctionTooLong \u2014 routineService.dispatchRoutineRun 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":"server/src/services/routines.ts"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf6d03467a5bdb9cf9fda7fec30d2487dea2a7ca3174622748beb2395cd8217"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#closeAndSettle: MethodTooLong \u2014 #closeAndSettle 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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49b834a700dbe1e983dd528670da1a645871e9ff4b5a2c98fb5ed0433037ffa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-use.browserUseService.execute: FunctionTooLong \u2014 browserUseService.execute 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":"server/src/services/browser-use.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"258d1c78cc0c8be4e079da3d4b330bffc85e1f42fb43525e1126078591397238"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-trace-store.providerTraceStore: FunctionTooLong \u2014 providerTraceStore 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a3cb8c05fc5ba422296614c70d301a036362da3b687f287444e9dce67525c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access-finalization.createOAuthAccessFinalization: FunctionTooLong \u2014 createOAuthAccessFinalization 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":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"beff2e7a4c52e83e67d686b892568f8dccbec44eb4e60f87d47eadfed26f66ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditFeed.production.AuditFeed: FunctionTooLong \u2014 AuditFeed 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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f772410d2fe9c17cca47cdadbd8a17bfb6109b10c21c2081326fd7c4abea185"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-markdown.buildPaperclipTaskMarkdown: FunctionTooLong \u2014 buildPaperclipTaskMarkdown 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":"server/src/services/heartbeat/task-markdown.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd8a8c270da90c60a2643c299cefbf048d6a33dc7155eff374a9a667a9fcf3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: object-run-log-store.createObjectRunLogStore: FunctionTooLong \u2014 createObjectRunLogStore 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f00cd9603fd538be6133734bc53ccf314d487b14d1553dd7e9c3d68068ebe6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.SkillPane: FunctionTooLong \u2014 SkillPane runs 314 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 214 over it, 3.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49cbf21997a289b6df2275d828c3bd976df202f31acb1e89b8610d2b84a10bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/worker-rpc-host.ts: FileTooLong \u2014 1562 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: startWorkerRpcHost (342-2551). The bar is 500 significant lines; this is 1062 over it, 3.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e350d82e1a7d57fe3521c214989c9e0ccff13315d1bb9e34423f9a8fbe052b9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/task-watchdogs.ts: FileTooLong \u2014 1560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1060 over it, 3.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6245c196870e9460bcbdd7c1f28b0209bc5d60622cd42ebdec9655b324caab0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#deliverCommittedEvents: MethodTooLong \u2014 #deliverCommittedEvents runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8320}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c60dfd7837e19278d43ebb02ec45e4ba0d3e97a5bab4c78875929103d057de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: automatic-run-brake.createAutomaticRunBrake: FunctionTooLong \u2014 createAutomaticRunBrake runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"087919499e9442a50de888d0dc9146864d63b50f6f35dca7ce0d9f0ce84bd5f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access-finalization.createOAuthAccessFinalization.finalizeOAuthAccess: FunctionTooLong \u2014 createOAuthAccessFinalization.finalizeOAuthAccess runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.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":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b542a9bc56edcec6396b17112f88daa1a524ae311d7589794f3c9b911825c80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProviderQuotaCard.ProviderQuotaCard: FunctionTooLong \u2014 ProviderQuotaCard runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.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":"ui/src/components/ProviderQuotaCard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ca858411e7675e73ca52cd6e3a302710169b2f1fb25d8f72c1581457fd21a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CoordinatorNeedsYou.CoordinatorNeedsYou: FunctionTooLong \u2014 CoordinatorNeedsYou runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edc0b31e26e0b3ffd69d5f772eb0b0027d35fa37d6758e937e45e59960fb86a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentConfigForm.ModelDropdown: FunctionTooLong \u2014 ModelDropdown runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6bb2c3fb0163078b6c2858c99aaec375bcb962766794c110d02a7471b70305"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhook-ingress.createGitHubWebhookIngress.stageGitHubWebhookIngress: FunctionTooLong \u2014 createGitHubWebhookIngress.stageGitHubWebhookIngress 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd298efe1b85810227d6e9b8a94e5efad579a02ae95d03b3d4cdaa8310f2def4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/company-skills.ts: FileTooLong \u2014 1546 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: companySkillRoutes (106-1922). The bar is 500 significant lines; this is 1046 over it, 3.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":"server/src/routes/company-skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c4f492f27b807b785fbe4f547ae2e95f79e6bdc3c2afda31f0ac7f964ee9ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSetup.AgentRoutingFields: FunctionTooLong \u2014 AgentRoutingFields runs 309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 209 over it, 3.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e83363428231b281e124a399b7c3f33f7facef2665e1e29457175f1f31d92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environments.environmentService.ensureManagedSandboxEnvironment: FunctionTooLong \u2014 environmentService.ensureManagedSandboxEnvironment 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":"server/src/services/environments.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"267affbf2f0ada91f7b359d70962963333c888f6f60b3875544ed4105e1d783c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workspace-file-resources.ts: FileTooLong \u2014 1538 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1038 over it, 3.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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd409afccdb37f3d525de4343593afa5066c410b7bf863aca5fc112c9a37a6ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transcript/RunTranscriptView.tsx: FileTooLong \u2014 1535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1035 over it, 3.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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b809fe72e3096d999001f08bc79dc2972ee373d40ed6a6132f7db9055b76470"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillFolderTree.SkillFolderRail: FunctionTooLong \u2014 SkillFolderRail runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45c66ee557c35513d321b46e16cf4ffddcf40820b2e7c7d09fed57654ff2115"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TeamCatalog.TeamInstallerDialog: FunctionTooLong \u2014 TeamInstallerDialog runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b24e459a8e7f82504c6af9233ac38f8a453886b665bd8cfd2d3f740e7ac5a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/NewIssueDialog.tsx: FileTooLong \u2014 1529 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: AccountNewIssueDialog (451-1879). The bar is 500 significant lines; this is 1029 over it, 3.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ad994fe7e581fbc517081bed65eb3a5f437b6f76a18007627182229d578e06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: persisted-query-cache.startPersistedQueryCache: FunctionTooLong \u2014 startPersistedQueryCache 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5fb9f441347d90ee3078ff038ae9adf3a9b1e81d1d8b74cf326dc8d052aeb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssuePropertiesArtifactsTab.IssuePropertiesArtifactsTab: FunctionTooLong \u2014 IssuePropertiesArtifactsTab 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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a002e9ec1aabad1b21e356264abf1591eab42234ac050669cd42ae6f8196fda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.freshChatSourceAfterPublishedControl: FunctionTooLong \u2014 freshChatSourceAfterPublishedControl 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":"server/src/services/issues.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbba7f8fa5ade3f7bcb688a6102d523b16e49d44e0f6b6f3ff346bc860f2ac3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstanceGeneralSettings.InstanceGeneralSettings: FunctionTooLong \u2014 InstanceGeneralSettings 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":"ui/src/pages/InstanceGeneralSettings.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"050ed9bc5a990caee7cc0e14fadf7f8c88f990e21a9b2889f74d0a960ec33da1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DevtoolsInspector.DevtoolsInspector: FunctionTooLong \u2014 DevtoolsInspector runs 301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 201 over it, 3.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45b10fba7b35605964477eff243c6a4ead4434311dcd5157fb45c2302600964"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportSkillsFromProjectDialog.ImportSkillsFromProjectDialog: FunctionTooLong \u2014 ImportSkillsFromProjectDialog runs 301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 201 over it, 3.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"615d5bc4031e6f5f0eb84b038e769ddc60aed86593c6922dc79b7fb8d2db1c48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: identity-links.createChatIdentityLinks: FunctionTooLong \u2014 createChatIdentityLinks runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 200 over it, 3.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":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f87c8c7e19fc9e0b01906127748a3f75c3fcb80105a4c7db9f7ebef528b597"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-action-delivery.toolActionDeliveryService: FunctionTooLong \u2014 toolActionDeliveryService runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 200 over it, 3.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":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bf3c072e0cbf721f31158fbf42165d7b7866dea02da5dae1b1f5c929c3ca0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.verifyWarmTransitionRestart: FunctionTooLong \u2014 verifyWarmTransitionRestart 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eafe6e0f8fa51733af773da0f69235acbd945747c2f01de78e4f03af81161a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueDetail.IssueDetailActivityTab: FunctionTooLong \u2014 IssueDetailActivityTab 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2507abd09d061a6c722ec33489ed10be252339df6603d39453579be5bb393767"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AccessEditor.AccessEditor: FunctionTooLong \u2014 AccessEditor 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":"ui/storybook/prototypes/github-chat/AccessEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"596eebe578ea0745f81b4663088c5830ccfc5b239291c7b1295ddb4f0659dd94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentBasicsDialog.AgentBasicsDialog: FunctionTooLong \u2014 AgentBasicsDialog 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":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f0b59ebadbf02b8f1c2ea6d15001e90f746e22a889b7ad0ce62a18fff91d87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatBubble.TaskChatBubbleContent: FunctionTooLong \u2014 TaskChatBubbleContent 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":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee296e077fbae777f933210abecef112e5f658ee3022780052a04b5253f90985"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-management.connectionManagementService: FunctionTooLong \u2014 connectionManagementService runs 296 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 196 over it, 2.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-management.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6c153ef7cba59087637a0fa4bdd1a4d2e473a4ec6cfc9f8c6a234fc7ffd6ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilitySemanticToolRuntime.#invoke: MethodTooLong \u2014 #invoke runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fe9e57af8cc270a7f64a45b41aca4b4ac840fb87a920cc527d46baf4942879"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-lifecycle.pluginLifecycleManager: FunctionTooLong \u2014 pluginLifecycleManager runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f14624de8b11a61c9174369e66446c6f8ed25b661495385f6786ba8c1cdbaa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarAgents.production.SidebarAgents: FunctionTooLong \u2014 SidebarAgents runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbeaf3247bb1b94c69cd419b1e24b8c74ee4a37bac57e82bd2a3c427f11e387"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarAgents.SidebarAgents: FunctionTooLong \u2014 SidebarAgents runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"87699d04df74f25bd9d9d29b7344a6684d46cc6be75b48e98a98644031d6f214"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.ensurePersistedExecutionWorkspaceAvailable: FunctionTooLong \u2014 ensurePersistedExecutionWorkspaceAvailable runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3915}}}],"partialFingerprints":{"codehealthFindingId/v1":"378b34c21629c862ed85ba656ff67448f8974a392addb76f0638b4d717055e1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.boardRoutes: FunctionTooLong \u2014 boardRoutes runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.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":"ui/src/App.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd6ef1a5f2dd2ee203c9ae4b56340dcb8ec097b86085b838b39217f4dd8b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-fields.OpenClawGatewayConfigFields: FunctionTooLong \u2014 OpenClawGatewayConfigFields runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.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":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"67635104180544fdb457abe1ec2ddb1fecff9915beddf892ea0314b6939f4ea9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboard.onboard: FunctionTooLong \u2014 onboard 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":"cli/src/commands/onboard.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5c20978a4c76ffa44fd89c68a6c300c10155b4f6b4357442536e9a33a0ddda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-configuration.prepareHeartbeatExecutionConfiguration: FunctionTooLong \u2014 prepareHeartbeatExecutionConfiguration 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":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2a771101306f467fb66b7bf4ce917491c6a776cf9f04373627a6971dc77c93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandPalette.CommandPalette: FunctionTooLong \u2014 CommandPalette 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":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"878dbae27d049b22ad873680d4e15b3c602976734f6f49422209162043a1ebe6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApprovalDetail.ApprovalDetail: FunctionTooLong \u2014 ApprovalDetail 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":"ui/src/pages/ApprovalDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"280c2748490d7ff8537e0c6bed56d0f20a7050a1d439a6ddb9e605e784ed57a0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompanyEnvironments: ClassTooLong \u2014 1171 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 771 over it, 2.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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d40ab14713e413b5755350c35b9c8fa7fb04c0134d01be2a60ac98f2a2fc016"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/protocol.ts: FileTooLong \u2014 1458 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 958 over it, 2.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/protocol.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"455cf862d3720b7e60c3c7f5a36dd45b23906c8ae4b5bb131a3bb38557dfcbf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/run-control.ts: FileTooLong \u2014 1458 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: createHeartbeatRunControl (351-1906). The bar is 500 significant lines; this is 958 over it, 2.92\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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b12bf25faf30ab1fb48c7c1178bce1877913934d7f55a7e4eeadb3dc60ffdb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/company.ts: FileTooLong \u2014 1457 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 957 over it, 2.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae1c45df1f9643c1919eef69bac993d7db3d88724b1b51cba8360b4e0373619"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaperclipSemanticDispatcher.dispatch: MethodTooLong \u2014 dispatch runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e952c74c682bc5769bd5c51010a5c1bb5044137f7cb5d03c8e97cb2416a48d94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.requestApprovalForRecordedToolCall: FunctionTooLong \u2014 createToolGatewayService.requestApprovalForRecordedToolCall runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36b5ea38f70a3fe6c81d6425c947ac1745ed4fb56729ac59c65b6b001ea0adb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.SkillPane: FunctionTooLong \u2014 SkillPane runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84fb2d5f0c16b8b1dcc7c44392324fdf8ebf38234cc5f37f5f34cf7c3bac254"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.SkillPane: FunctionTooLong \u2014 SkillPane runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcac9bc61527f5a9aeda999627aa9cfae42a4376490aacee4d321c32bc0086b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/workspace-preparation.ts: FileTooLong \u2014 1451 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: prepareHeartbeatWorkspaceLocked (207-1708). The bar is 500 significant lines; this is 951 over it, 2.90\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbbd6f9e167a75c3c19ad43869ee64b79373c02dcc7d290406ecd61f31b619b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills.registerSkillsCommands: FunctionTooLong \u2014 registerSkillsCommands runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.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":"cli/src/commands/client/skills.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6824b1a994e7f07edddb3b9429d276553e56e71b27b24dca4076603f2da24fc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/chat-attachment-reuse.ts: FileTooLong \u2014 1446 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 946 over it, 2.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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70e7733ca7b07b0ffac16e8854ed0dbefb67d19d2a72ea215be6b0dd2ae7e65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: confirmation-actions.createChatConfirmationActions.settleTerminalConfirmationAction: FunctionTooLong \u2014 createChatConfirmationActions.settleTerminalConfirmationAction 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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d88baac766d91d5390cc61b874708c627fcd276fdf264e5923dc813766cd2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-refresh.createLegacyOAuthRefresh: FunctionTooLong \u2014 createLegacyOAuthRefresh 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":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b06ed7e42ff062c8a9502ffb948983c735b5192a16ba0c0d1f4f9a73aac49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueShareSheet.IssueShareSheet: FunctionTooLong \u2014 IssueShareSheet 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":"ui/src/components/IssueShareSheet.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed84c1bb314e474e50443fb321c3b9044938ad7ab4def35c085548d541afb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TeamCatalog.TeamCatalog: FunctionTooLong \u2014 TeamCatalog 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33591c5fd5e7fac68ea1bcc0740ca7331aa28cfec7632e57e01ef84a36cb774"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acpx_provider_session.rs: FileTooLong \u2014 1442 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 942 over it, 2.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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0784256eb8e1f9a777442e6af90ce25dd4782c63aded795f38197cc64438eb6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/run-completion.ts: FileTooLong \u2014 1442 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: createHeartbeatRunCompletion (402-1943). The bar is 500 significant lines; this is 942 over it, 2.88\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1f1b73fe90f0423821f8d5143cbf72f7ad55193559a041fc360375404d5cb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/Browse.tsx: FileTooLong \u2014 1442 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 942 over it, 2.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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f90bdbae9c3ab32ce360303007874f1d30950c6fc2ed4fbc841b1e2f67c12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/issue.ts: FileTooLong \u2014 1438 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 938 over it, 2.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":"packages/shared/src/types/issue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5838ee6dd4c0119ebdabcb266487ee2903bd7fa3d05c6429aca9466182ec5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: email-connections.emailConnectionService: FunctionTooLong \u2014 emailConnectionService 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":"server/src/services/email-connections.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a21a2c4dc6a64a4ac51168856a115ce236cc5d722bc2ba90059bd3efed4d3cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.executeApprovedAgentInvocation: FunctionTooLong \u2014 createToolGatewayService.executeApprovedAgentInvocation 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10228}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ccd3cf567c63fd56351a615bc11e2afdfc542e04332246680dd6b03ceb4d3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/TaskChatComposer.tsx: FileTooLong \u2014 1428 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: TaskChatComposer (391-1729). The bar is 500 significant lines; this is 928 over it, 2.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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cf156f20e0a431612b44092fbcffe9bdda76a9d69f1681d15a65b94647ad5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ownership.createChatReceiverOwnership: FunctionTooLong \u2014 createChatReceiverOwnership runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.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":"server/src/services/chat-channels/runtime/ownership.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fc51f43c88de436d7ddefdcd900edc4747924ba627d0b6e6100c20113ada41"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GitHubChatPreview: ClassTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 739 over it, 2.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2a1571bccd9807a14541c83c9a54c6ff83c07f011d86163b68902fd56ba47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sandbox-managed-runtime.ts: FileTooLong \u2014 1417 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 917 over it, 2.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a4775fe99ae9ae0c0f6604dac60a42680602357a9eff24cb9b9e4ff550427d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-instruction-revisions.agentInstructionRevisionService: FunctionTooLong \u2014 agentInstructionRevisionService runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0adc088245e2c4474d62219ed9f00628d2921c0ca7d23b96960ee83081b54f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createChatInboundAuthority: FunctionTooLong \u2014 createChatInboundAuthority runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b37057c707a017262172f43287362a853c45304250596e73dbc5184c4f24e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-completion-feedback.nativeCompletionFeedback: FunctionTooLong \u2014 nativeCompletionFeedback runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.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":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86dc30fa574b74fcca1639b8cd4ec007f6f58a9baec0f07f7b0c0f1496e6133"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiConnectionsReview.AgentConnectionReview: FunctionTooLong \u2014 AgentConnectionReview runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.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":"ui/storybook/prototypes/AiConnectionsReview.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de53ea2fc7a041393e253ccf3e512f18fad1f9b52960e553b14de856fe7b626"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-management-authz.connectionManagementGuard: FunctionTooLong \u2014 connectionManagementGuard 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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f2c070d250c1a6383dacc346e981c5aa47c315061c13ee3ac1b605a5d8adc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/fake-acpx-sidecar.rs: FileTooLong \u2014 1405 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 905 over it, 2.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file 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/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148f8fac0637a696bd0dec4f2673cc1ee4ab6fbd48a1a5c60cc166428c6ab07e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-reviews.githubChatReviewService.execute: FunctionTooLong \u2014 githubChatReviewService.execute runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92c77f2ac75509b9608d3e7cb206ddd72f28c867d4157eceb92993a45a42012"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRemoteNativeArtifactPreparation: FunctionTooLong \u2014 createRemoteNativeArtifactPreparation runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18909}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8efa562ae40cb404b99ee0db4c1441a23ea53fa74d39a8b21d78a1bcd49c85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack.executeSlackTool: FunctionTooLong \u2014 executeSlackTool 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":"server/src/services/connectors/slack.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fde4ce670e7d843baad086a22ed745c479f086be605b304291e181e2a3f1be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-execution-target.resolveEnvironmentExecutionTarget: FunctionTooLong \u2014 resolveEnvironmentExecutionTarget 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c919c3166d57dfd7d64b291f575b208b767eafa91e42b059ecad2f1dca31e434"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueWorkspaceCard.IssueWorkspaceCard: FunctionTooLong \u2014 IssueWorkspaceCard 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":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d969b181b84951ce34277d3326f1eff6b891d27d424478df73288dc255083dda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InvitesSection.InvitesSection: FunctionTooLong \u2014 InvitesSection 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":"ui/src/components/access/InvitesSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4795333427b7ed07e4f46ad4159690d14acc8cd19eb14ae8db15437f510016bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatCompactInteractionCard.ItemVerdictsCard: FunctionTooLong \u2014 ItemVerdictsCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14253afa40a73b19cfc93eceb60dc69ad2a4635e4275116c003328a5295cfe7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TaskChatComposer: ClassTooLong \u2014 1115 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 715 over it, 2.79\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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3433bb94ba720d31b984bc119ecf14ed94a220ed3926acf52a4d7ad3c6d1ecfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-teams-file-publication.projectTeamsFilePublication: FunctionTooLong \u2014 projectTeamsFilePublication runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-publication.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a54b07244883290d52440d0c03816d34a13ebdc1586fb05dd2747a9efd19c88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: documents.documentService.upsertIssueDocument: FunctionTooLong \u2014 documentService.upsertIssueDocument runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e65175fed7115c6ca068de3c13bb2a332c182ddaab6bf228ef09d4b6bad96ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/environments.ts: FileTooLong \u2014 1389 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: environmentService (394-1955). The bar is 500 significant lines; this is 889 over it, 2.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d9e5f726844623e0be12423af963bf8e0a017b480c4b79c83dceae76a7ff28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/provider-events.ts: FileTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 887 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"677bb1dd2253a989b83300a39e395b23fc6b7fb7331cf784944414cc164154ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/tool-access.ts: FileTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 887 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/shared/src/types/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa64bcc4af45a5e26204ea57aa1485d37f4def8dc4e8d7b990ba322c81c0d0e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/browser-use.ts: FileTooLong \u2014 1386 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: browserUseService (110-1671). The bar is 500 significant lines; this is 886 over it, 2.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"824a35fc2be291e89f8f249028fc2c400c9344ee7833058222a32ac54b32e9c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: new-agent/NewAgentSetup.tsx: FileTooLong \u2014 1384 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Setup (115-1562). The bar is 500 significant lines; this is 884 over it, 2.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c97f437931e391744f1bb288a62578f9dbd3d834f0def44dbf4839c37e1a1ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createToolActivityService: FunctionTooLong \u2014 createToolActivityService runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/activity/service.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2d5c09f779d0f300f321fdafaae913bfda4ad8bc1cf75ca4404e33e3a81a30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Browse.ConnectorCard: FunctionTooLong \u2014 ConnectorCard runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e4d569db16478a2a744e86d408f5d5dbb886b99d1bc9d8ab3fcfb712349130"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/cases.ts: FileTooLong \u2014 1374 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: caseRoutes (594-1685). The bar is 500 significant lines; this is 874 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":"server/src/routes/cases.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a5189f1555fd480bf74f48bf28bd2b0e6f5c6582a77437e20585acd70fed31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 1373 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: execute (583-1805). 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bdedd04dcf64b0ae0b987d7af1287b3fe235054231cf3f7c8308f2d350b2ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-portability.companyPortabilityService.buildPreview: FunctionTooLong \u2014 companyPortabilityService.buildPreview 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":"server/src/services/company-portability.ts"},"region":{"startLine":4883}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf3b50bcb73f005c87cde0d9925d3cb3983e31f8859f6da89ce8be0f66db4f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-loader.ts: FileTooLong \u2014 1369 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 869 over it, 2.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-loader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a64cfd408af0b8641548152f9065b72b5711705b1d1a295015a96abe5e4200"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-telegram-rich-intake.normalizeTelegramRichMessage: FunctionTooLong \u2014 normalizeTelegramRichMessage runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1529b1cf6af866d679d719272ea2f960ebfbd75597c4c1c5aa2a56f1ace0ef3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-recovery.recoverRetainedWorkspace: FunctionTooLong \u2014 recoverRetainedWorkspace runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3729945eb8f4a9c33e19dfb4e1149ae8b0bc7df4a12357e7ef1d923bd7b1d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexAcpxSession: ClassTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 691 over it, 2.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fad865bad217053e725b69bd897c52880e002e65d92946d465d03de1c1d5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admission.createInboundAdmission: FunctionTooLong \u2014 createInboundAdmission 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":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6817c1b9148a9381acd99cd24b71ecabc85121ad6bfac1f161d46246bc1edd31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/ExecutionWorkspaceDetail.tsx: 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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"135a97eb38b25350e4f7f450db4969982d8bb4b11d672aa5c70bc588638034fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-status.createSlackSessionStatus: FunctionTooLong \u2014 createSlackSessionStatus 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":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7d13c23b67fbf46fb65a84f0a2b517a8ea29059244c53e37eeff5583474fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: maintenance.createTelegramMaintenance.processTelegramMaintenance: FunctionTooLong \u2014 createTelegramMaintenance.processTelegramMaintenance 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8f636b7bdc8f7444db82fd68a407b95b72656c6c6ad92208f8bdfa498c1992"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-execution-policy.applyIssueExecutionStageTransition: FunctionTooLong \u2014 applyIssueExecutionStageTransition 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":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5560b71549863071618655bd2c7fc605bb7da26ab65346f996a6ec138a9dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access.registerAccessCommands: FunctionTooLong \u2014 registerAccessCommands runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.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":"cli/src/commands/client/access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f24acb7aafc50f9a8d55b473f6bad014c0b310f18e7bb2aaa431c984e23c85c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueBlockedNotice.IssueBlockedNotice: FunctionTooLong \u2014 IssueBlockedNotice runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"714899550f70e1da74967de17a4523ed1e5651fea7ce39e9244eb2a14eead206"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskMessageScroller.TaskMessageScroller: FunctionTooLong \u2014 TaskMessageScroller runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.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":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8616ab7329596208332abc981fe2d836a186d22d220c05225d4d75e606a4a20e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueDocumentsSection.tsx: FileTooLong \u2014 1349 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: AccountIssueDocumentsSection (319-1652). The bar is 500 significant lines; this is 849 over it, 2.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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c02e74dc3737246ffb554b1365d4b21f53c971a27872a4b2dd71dc399175a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-lifecycle.createHeartbeatLifecycle.handleSuccessfulRunHandoff: FunctionTooLong \u2014 createHeartbeatLifecycle.handleSuccessfulRunHandoff 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8fd9466fc18a337e1ea3f6cacae30422c8081de0964b2721d52a1aa2a09c57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueDocumentAnnotations.IssueDocumentAnnotations: FunctionTooLong \u2014 IssueDocumentAnnotations 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":"ui/src/components/IssueDocumentAnnotations.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fa928fd8151784d7c41236e39cef09a488f1802f795e780055a3fa2580fc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Agents.production.Agents: FunctionTooLong \u2014 Agents 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f4154e0312515cedcf28a0621f10d93459a4fbaa6ad3db9b7e382457656a16"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CapabilitySemanticToolRuntime: ClassTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 675 over it, 2.69\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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"018ef2e4c60ff90b05d28a1f10ddede27f125eb443916a606e3f97a622a24d2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/capability-semantic-tool-runtime.ts: FileTooLong \u2014 1342 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: CapabilitySemanticToolRuntime (105-1522). The bar is 500 significant lines; this is 842 over it, 2.68\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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4078dcc784b79ccf511556acefa77efcb620c890af1b7f12a42da7cd985315"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access.accessService.sweepMemberConnectionAccess: FunctionTooLong \u2014 accessService.sweepMemberConnectionAccess runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170d3b4307a736bd17d9896553b9b779c9fd411e7476f2f23065ac977752f54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-status.createSlackSessionStatus.processPendingSlackSessionSyncs: FunctionTooLong \u2014 createSlackSessionStatus.processPendingSlackSessionSyncs runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95cfd6fd76f489ab7187917a88f008b290b4f0b0848d11845f09d25a01c5cec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-ai-login.localAiLoginService: FunctionTooLong \u2014 localAiLoginService runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-login.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f05f56bfe8b72dc4160bba294775adf14e730a620c24f54b52e97b01207419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatUserMessage: FunctionTooLong \u2014 IssueChatUserMessage runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"584d8a249d666370948a854c5c120cc403c77f55ee878b3772ac1f558f0fcb9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EvidencePanel.EvidencePanel: FunctionTooLong \u2014 EvidencePanel runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.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/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b525b2263e38589cfcbafa7089f378a6c7ba10efcbde14ddcc0b3e90d391faf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-preparation.resolveExecutionRunAdapterConfig: FunctionTooLong \u2014 resolveExecutionRunAdapterConfig runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9188c2360d17bf15e6bdafdc391949378c698f59bbfbd34aa81f3567d823f9a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admission.createInboundAdmission.admitInboundMessage: FunctionTooLong \u2014 createInboundAdmission.admitInboundMessage 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":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1a049c091e81ede4cc33a32ca39db7575e3a950df30701c5ddb6df9c9303e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication.createToolCatalogPublication: FunctionTooLong \u2014 createToolCatalogPublication 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":"server/src/services/tool-access/catalog/publication.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e9b18c60fbdb2ea410fafd98c9e9a3b5e2e276835564d5f984c4bb7e91114"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-grant-continuity.createGitHubGrantContinuity: FunctionTooLong \u2014 createGitHubGrantContinuity 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86cdf4c865cf726fe3cb9631d26fb632cf6703f253e213cbcbea9511829cf91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDurableAutosave.useDurableAutosave: FunctionTooLong \u2014 useDurableAutosave 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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee46a92c0910c121ada624c69d53c1808ea9b506487a398f467d292d8a3ce2f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: App: ClassTooLong \u2014 1054 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 654 over it, 2.64\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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c684a065b277264cd696aac299157939b169f865a0ed2b491279d194a17064"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRemoteRunnerProcessLauncher: FunctionTooLong \u2014 createRemoteRunnerProcessLauncher 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15704}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a09a85f13e80f0308be0d7bf902e25f4a14c46a385005bc45dfebdf4fe578cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskBrowserPanel.TaskBrowserPanel: FunctionTooLong \u2014 TaskBrowserPanel 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":"ui/src/components/task-side-panel/TaskBrowserPanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0a6699cb0f7fcb3ded5517dc523d149aca678d40dc1730fd9db11ee27ec331"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompanyImport: ClassTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 651 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4691cc05daf424685cd2375fce56c0ba9dc7ee65ce312b4a82f990d09ae4031f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSecretAccessEditor.AgentSecretAccessEditor: FunctionTooLong \u2014 AgentSecretAccessEditor 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":"ui/src/components/AgentSecretAccessEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb5f0066d7b6536f150d22af15c1445e2e57baafdffe69239707c420dc2c713"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/constants.ts: FileTooLong \u2014 1308 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 808 over it, 2.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/shared/src/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"925f3d2515fb2415e9b3298203f6c60f5d277c7a1dbaa8c90c7ac1e3b6df8d7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-wizard.githubChatWizardService.advanceOnce: FunctionTooLong \u2014 githubChatWizardService.advanceOnce 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff4ad9319454839f0dbcefdf2469e3dda38219ae87974736dbbacf8e4695167"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: work-timeline.workTimelineService.getTimeline: FunctionTooLong \u2014 workTimelineService.getTimeline 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":"server/src/services/work-timeline.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff5f15ea67484173f77845802edf15d4c3d8cf2c4745df5c43e449ecf56eacd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserSecretDefinitionsTab.UserSecretDefinitionsTab: FunctionTooLong \u2014 UserSecretDefinitionsTab 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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2644c6edcd60c032e7a9919d23755e85240443319023a7902ceadf26e1875b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-references.issueReferenceService: FunctionTooLong \u2014 issueReferenceService 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":"server/src/services/issue-references.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4051a1ce21f7d2e7d7d7cfb8f702f545cb6fda338a73da2ee0bd92803c4441c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-lifecycle-delivery.registerPluginLifecycleDelivery: FunctionTooLong \u2014 registerPluginLifecycleDelivery 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":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e384a0e64de68a842b622131c7e677635afaa2c48fefd7cd5244902981bc74ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.InputPane: FunctionTooLong \u2014 InputPane 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8aa2371d2ed985f45aad9defff03ba753cc1346a08581e350d3c5de98979fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: durable/transport.rs: FileTooLong \u2014 1290 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 790 over it, 2.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc32bc785d08c9a5f0be5fcd993c07f0d28fe20cfd787b22663ee7496c66559"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-completion.createHeartbeatRunCompletion.failRunSetup: FunctionTooLong \u2014 createHeartbeatRunCompletion.failRunSetup runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26d270c3808c1cca72f3c65f22c2f925767b2e3311c55796f8e2572dba65c39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-workspace-finalizer.attemptNativeWorkspaceFinalization: FunctionTooLong \u2014 attemptNativeWorkspaceFinalization runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"048a4d8ce4461f84b635df1de804ade7703cc00c1341072c817376e454069e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Agents.Agents: FunctionTooLong \u2014 Agents runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Agents.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fa868d379f0df8d226ff3d9c6f1311c7f4381a25adb2f0fabc9eed9af68047"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.RunsPane: FunctionTooLong \u2014 RunsPane runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2b38a2c11c284019f5a2b4fbeb6c9636a0c4455a2d947ab2a00bc15bef4c99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectClientDialog.ConnectClientDialog: FunctionTooLong \u2014 ConnectClientDialog runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/ConnectClientDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fd6f0719e448c0b28bfc9c81ad468515207454f646e739d9322c114b1ab3f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-github-reviews.ts: FileTooLong \u2014 1289 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: githubChatReviewService (136-1571). The bar is 500 significant lines; this is 789 over it, 2.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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c51c61db04d330c1230a9258fc750c5acd7f3d9bd8047d20ed24565e5f93ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-github-wizard.ts: FileTooLong \u2014 1288 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 788 over it, 2.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"774369b0948b8ad95be63da4c9e4f9b60edc14669b00605761de55e37abf589a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assigned-work-sweep.assignedWorkSweep.loadFacts: FunctionTooLong \u2014 assignedWorkSweep.loadFacts 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6524593702714cf3d68e57fc4e217ea383cf28fc0353b4561485bdf5a492c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExecutionWorkspaceCloseDialog.ExecutionWorkspaceCloseDialog: FunctionTooLong \u2014 ExecutionWorkspaceCloseDialog 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":"ui/src/components/ExecutionWorkspaceCloseDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f9b1bbf105905044e6ecbaa5ae8afbd2f422d5c64dfc95cac5b49aad9f753e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexProvider: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"114691c36b007b8c55581e80e819557afc554b75a24f810ad2e7f8ed91343a92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: installs.createConnectionInstalls: FunctionTooLong \u2014 createConnectionInstalls 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":"server/src/services/tool-access/connections/installs.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafaf38e3aa1f9dd14d2316cbcd7781bc31a877a586bf094fdeafdb026669a58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatCompactInteractionCard.ReceiptDisclosure: FunctionTooLong \u2014 ReceiptDisclosure 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f82377f7b29988a0e59ac0f64e606324e4722036c5bf868e204e5282a0110e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PasteConfigTab.PasteConfigTab: FunctionTooLong \u2014 PasteConfigTab 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":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"379ced9ab8508c0534787a39e36a817846357fbe17c1735464aa75d031d6c7be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueRecoveryActionCard.tsx: FileTooLong \u2014 1279 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebb074a83fd7f2969a434bc520ee3ad08072a47e367229f05c53bda05875fde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: github/webhook-ingress.ts: FileTooLong \u2014 1276 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: createGitHubWebhookIngress (167-1628). The bar is 500 significant lines; this is 776 over it, 2.55\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6366aab0bc8374a8f07a895193b39ab4006720bc03b18789123db833b3a9f6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ab21eaddace957160c3d3e4e04051eb0f665222a021347351345286d2e37dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: capability-issue-thread-server.createCapabilityIssueThreadMiddleware.middleware: FunctionTooLong \u2014 createCapabilityIssueThreadMiddleware.middleware runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dfd91c6d62f9becf2e054d7982d76a2cccd68228695bdeee62cf4070be200c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-effects.createProviderEffects.processProviderEffect: FunctionTooLong \u2014 createProviderEffects.processProviderEffect runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a8576ce3ce4cdb5e8ddd7af8a5df0e230a71b3bf60d9e02ce85c4a7c395532"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewAgentWizard.NewAgentWizard: FunctionTooLong \u2014 NewAgentWizard runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/NewAgentWizard.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0857fbe16bbebed50123c6af83ed8e354f9fbc345720859ce42dfb553da735"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MarkdownEditor.tsx: FileTooLong \u2014 1273 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 773 over it, 2.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce20e3293516e3832e5db5ea1830760916f5104032443a3672c79fd1c985d556"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 1272 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: App (298-1589). The bar is 500 significant lines; this is 772 over it, 2.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efec832d3d64424fa7c9006f4364593f1abc94f6a15d2f88ed89cf1dbd4c2d63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queue.createChatPublicationQueue: FunctionTooLong \u2014 createChatPublicationQueue 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":"server/src/services/chat-channels/publications/queue.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"707ca9d03bd166d1d4eaaee8f7a5be45f1ccdcc37654af393cd42026dd9c8ba0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transport.createChatPublicationTransport: FunctionTooLong \u2014 createChatPublicationTransport 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":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f682a0d9986f37a02691ace7acd08775e5f2bc91227d569b35a65f0af0b0483"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin.registerPluginCommands: FunctionTooLong \u2014 registerPluginCommands 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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d2b78b7097f5f3523f8addde8e3784f517061a20c103ee4435070aea09c0bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::provider_events::project_acpx_state_event: FunctionTooLong \u2014 paperclip_runner_core::provider_events::project_acpx_state_event runs 253 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8d838ed8927659923c998de42641fe6d3457a817abc2e2afab75909a619ea5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatCompactInteractionCard.ConfirmationCard: FunctionTooLong \u2014 ConfirmationCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f3bfdff5bbd7dcb335060b9ea20b10dd1490c535159653684d5292e7994e9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionSetupFlow.AccessStepContent: FunctionTooLong \u2014 AccessStepContent 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4013}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d2fbd49aa9902aa23f025b1ba404a0e39da55f2a02d24a6bb31e15caf7d549"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProposalsTab.PendingProposal: FunctionTooLong \u2014 PendingProposal 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":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9e79332e45ecae9cedde039a092abb0a2ec36182e56c3a8acf1c3041b6c1b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/postgres.ts: FileTooLong \u2014 1260 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: createPostgresRunDispatchAdapter (235-1624). The bar is 500 significant lines; this is 760 over it, 2.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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"453e7f7cd6ba7b6db1d76963b756badef42ad69fa0fec66b052498eb4da5bf96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-preparation.buildPaperclipRuntimeMcpServers: FunctionTooLong \u2014 buildPaperclipRuntimeMcpServers 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f553f022b383bcf848b472d6433746cda679c823d5da89c2b71ab8b90bd1f9ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-finalization-reconciler.reconcileNativeFinalizationsPass: FunctionTooLong \u2014 reconcileNativeFinalizationsPass 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b785a48db5f7c593e80c11122812e8d646801b3e0bae0973b12f72dcedfff1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.loadConfig: FunctionTooLong \u2014 loadConfig runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/config.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c6583a6cf2e2fdd033aeb792331b26386c875433c7dbbb1cd36bab667d36c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth.actorMiddleware: FunctionTooLong \u2014 actorMiddleware runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"914714466bd75fdf8a0dc9debebfe3fe8cea8ac7ec3fae4f273a810abf4c8988"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-run-publications.lifecycleMilestonePages: FunctionTooLong \u2014 lifecycleMilestonePages runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-run-publications.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece2b4d01a1fe475e85a02f5bd4e8ab4e0b7c912b641b8f42e0a3f54a48efbfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-action-delivery.toolActionDeliveryService.deliver: FunctionTooLong \u2014 toolActionDeliveryService.deliver runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dbc8a696bca40f78e1e64954f09a577d8838b12cf248d67a37ce82cf154e9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemNoticeUxLab.SystemNoticeUxLab: FunctionTooLong \u2014 SystemNoticeUxLab 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":"ui/src/pages/SystemNoticeUxLab.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eff305cc24a1701d3e29181c706c2eb5f9990479d192d61fb36c3b1b64cab3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfileWizard.ProfileWizard: FunctionTooLong \u2014 ProfileWizard 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":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537b2b465ad718a78330bb1bb4434ec4944c380244dd7f372cb6924b59d0962"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-interaction-publications.enqueueIssueInteractionChatPublications: FunctionTooLong \u2014 enqueueIssueInteractionChatPublications 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e07348e77fc2757abde6138b59a4ae4b2511255b6bdffcae7f550c433ccdc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-prp-coordinator.runnerPrpCoordinator.prepare: FunctionTooLong \u2014 runnerPrpCoordinator.prepare 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":"server/src/services/native-runtime/runner-prp-coordinator.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de085909a8b8d07b17d9d5d81986fa493b6b8af51dd9d2d05ac32720ad9bbf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: editable-sections.production.OverviewSection: FunctionTooLong \u2014 OverviewSection 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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"48658a757f04404db0670b63851dcdd1364a4efa2926833a369636f18766b44b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/connection-intents.ts: FileTooLong \u2014 1241 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: connectionIntentService (148-1573). The bar is 500 significant lines; this is 741 over it, 2.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":"server/src/services/connection-intents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0c6bec586cd2bb6299e6b42c464a2bfbd39b3c2e988f57ea647560fe01b859"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-broker.createNativeExternalBroker: FunctionTooLong \u2014 createNativeExternalBroker runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bac5040f52c247665b2bf15924a2ccd5518e7ed5a75f02935cd2befa6887a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-response-comments.githubResponseCommentService: FunctionTooLong \u2014 githubResponseCommentService runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6ad330846142e6db327047588df5f525465fc1db306bfa08d0e020edfbc89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: routine.grokRoutineService: FunctionTooLong \u2014 grokRoutineService runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8819b18cd229cdbfe382c4641d05be79d0ea4fc37b6e74e6422f1dc562b7e0be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-finalization-reconciler.claimNativeSessionResumptions: FunctionTooLong \u2014 claimNativeSessionResumptions runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa00f07e068c1cdd7d9bf22966ddd82d23d4415dd7bbb8b02fceec5c7ea06d59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteMcpProductionSetup.RemoteMcpProductionSetup: FunctionTooLong \u2014 RemoteMcpProductionSetup runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4fa72dd2b1575883d01969468016c4d22ddb1fcb029accaeb49a612624d26c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Companies.Companies: FunctionTooLong \u2014 Companies runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Companies.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"799ba7e24d219ed5251f5b11be62467b7a0916aecd5436e748042566fb94591e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-delivery.createTeamsFileDelivery: FunctionTooLong \u2014 createTeamsFileDelivery runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6192f2c3c2537f54b260207faf253e80c99e219f1298c063a6d26c43d43c132"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-log-store.createDurableRunLogStore: FunctionTooLong \u2014 createDurableRunLogStore runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-log-store.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b4c7e0ac3620ef7e38a7ff5d4e9ee52ff00de595dda8d6fcb0e3e9ea01ec0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OnboardingChat.OnboardingChat: FunctionTooLong \u2014 OnboardingChat runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"610c57ad4f089223827ec7624c087cc9cd51ddaa2d2af23c543f0541bfc8252b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ChatEndpointDetail.tsx: FileTooLong \u2014 1230 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 730 over it, 2.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f1b5a7dfb45b0a0fcb4e5b9378f9cf519ece753a2f3297d752a419a93aaaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queue.createHeartbeatQueue.dispatchNativeStatusWakeBatch: FunctionTooLong \u2014 createHeartbeatQueue.dispatchNativeStatusWakeBatch 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d618fce4f0e8cf8e5367cf2dc943cc66bb9bec210a3d43b7ac5ce42aab84f558"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-queue.createChatConversationDeliveryQueue.drainConversationDeliveries: FunctionTooLong \u2014 createChatConversationDeliveryQueue.drainConversationDeliveries 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12eadc1c18dd4c8bd208478fd72b01d92d29b41769f29b9fdb87364589f6160"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyEnvironments.EnvironmentCustomImageBrowserTerminal: FunctionTooLong \u2014 EnvironmentCustomImageBrowserTerminal 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95616d70e32b61ffd2df7d696aaaf2b9987107ad78dac8c4f94de0eb627f82c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-connections.aiConnectionRoutes: FunctionTooLong \u2014 aiConnectionRoutes runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.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":"server/src/routes/ai-connections.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69ca937981c139c0b3772b08e9ea9d47d1384050951079ea7528aa24ed54bc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: root-threads.createDiscordRootThreads.admitDiscordRootMention: FunctionTooLong \u2014 createDiscordRootThreads.admitDiscordRootMention runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edec14119932b4c127a238eb6c109932a853362f65d0d2457964b75a1dc1487"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-output.createHeartbeatRunOutput: FunctionTooLong \u2014 createHeartbeatRunOutput 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":"server/src/services/heartbeat/run-output.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d445f5f35e7a2171bdf84e6a7fa8b9340ca38e539184d0ebe245731740eeac95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRemoteRunnerProcessLauncher.\u003Creturned closure\u003E: FunctionTooLong \u2014 createRemoteRunnerProcessLauncher.\u003Creturned closure\u003E 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15724}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a907b9c2c9e1f19b154e4ff48224d48fed01122f2f13d9a9bb86eacebaba173"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.resolveConnectionGrant: FunctionTooLong \u2014 createToolGatewayService.resolveConnectionGrant 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0494bee794cde5bfdf32740694fb0b0538ef05eb84dee6d3a5526cfe7b79a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatQueuedMessages.TaskChatQueuedMessages: FunctionTooLong \u2014 TaskChatQueuedMessages 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":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"614c08ce50e9591af5cadd5f61fbc58e531ef8c7e181d9db9558ccff633028d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: failures.createChatPublicationFailures: FunctionTooLong \u2014 createChatPublicationFailures 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":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed35c81000a4a548a3f12793485ca36e02ba46e8953e7d7cf239848a6396b95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GatewaysList.GatewaysList: FunctionTooLong \u2014 GatewaysList 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":"ui/src/pages/apps/gateways/GatewaysList.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2682a5ae64b2f6779fa7cb012dd633c4586b8f9bbf2eb83f752e94e4da93839"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 1206 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: execute (413-1482). The bar is 500 significant lines; this is 706 over it, 2.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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf622b63dbda7df09c032e253ecdcd4245f12e1287cb09613b72dffe5d0e4bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfileDetail.ProfileDetail: FunctionTooLong \u2014 ProfileDetail runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.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":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b6fc5dcdb403d8a69b82fe901fa1b1123a301995fd07c462c7d28ca47701d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Routines.production.tsx: FileTooLong \u2014 1202 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: Routines (321-1451). The bar is 500 significant lines; this is 702 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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fc143fe16d9a00023cef75fc796c49f20f91095e3ab17897340fd0927a646e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DurablePrpControlPlane: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"687ac59ac2c242b8b1eca0947052abc59078843dba3e8fc33dd109d4b5128370"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: editable-sections.OverviewSection: FunctionTooLong \u2014 OverviewSection 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":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdea961feafae944fc0297e9ef5f45096cbed9d11b7e8ec8c40e4644d87494c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatUxLab.IssueChatUxLab: FunctionTooLong \u2014 IssueChatUxLab 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":"ui/src/pages/IssueChatUxLab.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63d91a541a9fea3c621d0499e20674444900a1713f178affb3dc851b1ba2d9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-cards.statusCardRoutes: FunctionTooLong \u2014 statusCardRoutes 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":"server/src/routes/status-cards.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b898b4cedb21335144c0801a9cd57b751eb86523a0b7c95cc08652832482096f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: failures.createChatPublicationFailures.finalizePublicationFailure: FunctionTooLong \u2014 createChatPublicationFailures.finalizePublicationFailure 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":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ce93a88b06a629c8888154dbb4cbb4320e0b191ee839e5904c18595ef3067"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-checks.githubReviewCheckService: FunctionTooLong \u2014 githubReviewCheckService 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":"server/src/services/chat-github-checks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bda5f45bc1058359429619036f1e5d1ca44daaf5cd87ec170ea0d1c437e89a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-models.decisionModelService: FunctionTooLong \u2014 decisionModelService 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":"server/src/services/decision-models.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"600dee2b1c2a288f1728258260aaa4ce9ba34aaebe69b51a1d1829ee153d5d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fresh-continuation-fallback.continueFreshInTransaction: FunctionTooLong \u2014 continueFreshInTransaction 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"496906d5093d84e2f2d5fab43c9b81ace5ceaa3da6152343c608eb5215083687"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.StudioNewSkillPanel: FunctionTooLong \u2014 StudioNewSkillPanel 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77eda387c0ca4b24533aea27e95c261e5a15cafff681a26fe3d101deeb67be4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfilesIndex.ProfilesIndex: FunctionTooLong \u2014 ProfilesIndex 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":"ui/src/pages/tools/profiles/ProfilesIndex.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf156779c88474f4ce602cd56c370e935bda65327d30b900872eac04ceb9c77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.ensureGitWorktreeBranchCoherent: FunctionTooLong \u2014 ensureGitWorktreeBranchCoherent 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"523d2c80194084cd218d985c9ded2d5e2b499fb474b53466a6c5c1a2399432b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-execution.parsePaperclipNativeExecution: FunctionTooLong \u2014 parsePaperclipNativeExecution 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":"packages/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fcb41843b776f57c8ee9d57d31a4a64767f8b76d24e50d6727fec56b32268e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-sdk-runtime.scopeMicrosoftTeamsEgress: FunctionTooLong \u2014 scopeMicrosoftTeamsEgress 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"314f5004a5c474d08de736bbd51f414e6dd5220123b91d657710a465815a9021"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.reconstructRuntimeServices: FunctionTooLong \u2014 reconstructRuntimeServices 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8765}}}],"partialFingerprints":{"codehealthFindingId/v1":"4179e9d895c815c1ff4ef5c606be0961a8f7644d3a4be8babf66dc05b8689588"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Artifacts.Artifacts: FunctionTooLong \u2014 Artifacts 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":"ui/src/pages/Artifacts.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2aa5773eb137459abbd0e5fab46e3686ded82bd9e0a0b271f81ed6925e1dc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/ProfilesTab.tsx: FileTooLong \u2014 1178 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 678 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"285f89f8170f4ad9f3ef4481f465f8ee465fc4ea4ae58cf803b2cb823c4cafeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree.collectMergePlan: FunctionTooLong \u2014 collectMergePlan 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":"cli/src/commands/worktree.ts"},"region":{"startLine":3293}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f10aa9c4051308a5ddc4955bbf16f6255ef79620473c0b118eb55bd5e61b2b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 939 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 539 over it, 2.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9386bca5d844d001371b3ce9c774faaf95712f72b35eb58bbc9281febe38dc02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-run-orchestrator.environmentRunOrchestrator.realizeForRun: FunctionTooLong \u2014 environmentRunOrchestrator.realizeForRun 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":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e14b60f286f6193ce509d7311071b51edbb1c0b424c6a3f7e711c1d1d14288"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: teams-catalog.teamsCatalogService: FunctionTooLong \u2014 teamsCatalogService 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12828d02d80ea7b76c09d2926ef0631b22c9f8cac3d56180ac9049dcc775b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: env.collectDeploymentEnvRows: FunctionTooLong \u2014 collectDeploymentEnvRows 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":"cli/src/commands/env.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b9c126628ce79143f4ea9c177978f1a91aae9e7997e0b1d6f72e1bab3fa22e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CoordinatorTasks.CoordinatorTasks: FunctionTooLong \u2014 CoordinatorTasks 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":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bbb6a07eddfa9d09d4e79b7e54acc181aa56a06d13d4df6333e9c3090d7f14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionQueuePage.DecisionQueuePage: FunctionTooLong \u2014 DecisionQueuePage 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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a19f9a8b430d159cb800fd716451e797b19e98788bec8399398fb318fbbbbb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: exchange.createConnectionTokenExchange: FunctionTooLong \u2014 createConnectionTokenExchange 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":"server/src/services/tool-access/token-broker/exchange.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cee3a7e4b41cda7435571b957e20c03e16f7714f6d0bd68a31888bd009ed263"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TrustPresetSection.TrustPresetSection: FunctionTooLong \u2014 TrustPresetSection 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":"ui/src/components/TrustPresetSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e547bead8822595af5a298cd0c988ba73fa0dc6c4776fb54f0da051db8783"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: requests.createChatPublicationRequests.publishBoardMessage: FunctionTooLong \u2014 createChatPublicationRequests.publishBoardMessage runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.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":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb0be2c5da1a49b353139a61e576285e1f669405232a330b322ee60f28f3656"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-version-retention.skillVersionRetentionService: FunctionTooLong \u2014 skillVersionRetentionService runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d735f4d70cacfc96baaa77a5362cdd263d7004612662961dd7fc37b28437399"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: core.getDistillationOverview: FunctionTooLong \u2014 getDistillationOverview runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4587}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c2230f37338e174fff11ca27515a7435507cae5f2ecb808432fd100cad7b33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: failed-run-retry.createChatFailedRunRetry.failedNativeRetryCoordinator: FunctionTooLong \u2014 createChatFailedRunRetry.failedNativeRetryCoordinator runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f149b7a7546d26af253a12e3fa4b44a3d7b15ff77c86e4c6fe7eaf9b65604012"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/postgres.ts: FileTooLong \u2014 1147 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 647 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d35a0ae4362da4a1e6d1f07e12000700f680872a9811ce7de017c3b0ceeb75b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.executeTestCall: FunctionTooLong \u2014 createToolGatewayService.executeTestCall 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11772}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcd52791f9665e46d53ca3995459953e62cd6c2e6fced4124dbe9d0f5ece78b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileTree.FileTree: FunctionTooLong \u2014 FileTree 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":"ui/src/components/FileTree.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f98d8c413216e9e01fdbeb68832f70a9550ba848016dc47d4a73d5f4a28ee40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SecretBindingPicker.SecretBindingPicker: FunctionTooLong \u2014 SecretBindingPicker 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":"ui/src/components/SecretBindingPicker.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfebd2e559a2814163e885ea98dd5b93236e6f27e4fcfc47104a452a9eca5b3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ManagedProviderCommandExecutor: ClassTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 3 blocks, lines 697-1859. The bar is 400 significant lines; this is 514 over it, 2.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0335c9c51d47a3cbca7ab59418ccb6997357fec5c849ddc086e7e779f42c880"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 1141 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 641 over it, 2.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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ea2ba05022e9c79a026bacc92278c22cbf1cfde4215adfdbe8661c047ae9a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpControlPlane.#event: MethodTooLong \u2014 #event 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"835cd691763308071a896ef0d2c5a8c37a0c95b78af8c9fbda4c920bddcce2a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-receipt-reactions.applyGitHubReceiptReaction: FunctionTooLong \u2014 applyGitHubReceiptReaction 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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bebdf755463d72125b9465fd6c88ecbae259fc9843533ca080c7df0b853b455"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.reconcileHotRestartAdoption: FunctionTooLong \u2014 createHeartbeatRecovery.reconcileHotRestartAdoption 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc93c2afd8edfb356d0e2da0325c781eade31ac6ea3bda97e2847192d36b89c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-completion.createHeartbeatRunCompletion.failRun: FunctionTooLong \u2014 createHeartbeatRunCompletion.failRun 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8836ababd9c15fc9329deb59fb9911fd292309564a498f3ec57259ae7206bc57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-operations.workspaceOperationService.createRecorder: FunctionTooLong \u2014 workspaceOperationService.createRecorder 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4959a7bf72b39af21297b9c19d92014fd273b421e3a166426545ce2deae2ee94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PropertiesPanel.ResizablePropertiesPanel: FunctionTooLong \u2014 ResizablePropertiesPanel 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":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9452250f01af98556bf28a09cf653a5e290b4dc0cec6148d9fc27b4ba32cac17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/issue.ts: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: registerIssueCommands (172-1337). The bar is 500 significant lines; this is 639 over it, 2.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":"cli/src/commands/client/issue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eddc4930b90c9db5d70790ed4417b7d5d639e3b809876d398439798fbe953e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Routines.tsx: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: Routines (314-1385). The bar is 500 significant lines; this is 639 over it, 2.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":"ui/src/pages/Routines.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12dede01cd28c189c326cb46f278046a8b16bfa61a674ac7b1184afb8568b92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: durable-prp-control-plane.spawnRunner: FunctionTooLong \u2014 spawnRunner 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4956}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7bf887625023b6e2e16252c6aefde946dcb5c5235ffc6d6d297751a21d30e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: installation-integrity.commandLease: FunctionTooLong \u2014 commandLease 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"753cc962a9f95ecc44fff6ee890366f909b814418bd7c57b06fc7a0f32cbf8f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup-secret.createGitHubSetupSecret: FunctionTooLong \u2014 createGitHubSetupSecret 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":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dfd76f48aa66a2352def07e0e7eb58c46f9627eaa9d45b729a40db877ba157"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.executePluginTool: FunctionTooLong \u2014 createToolGatewayService.executePluginTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":13755}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83fd5a5b14c313201a9cf50d86d05f2d20352557b75966b1fde1f65ec4276cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidePanelTabs.SidePanelTabs: FunctionTooLong \u2014 SidePanelTabs 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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00e18715f636ae8f299081b5746ab007654466ced114fdc9ebcb2d2ec442cde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstanceAccess.InstanceAccess: FunctionTooLong \u2014 InstanceAccess 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":"ui/src/pages/InstanceAccess.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ef0969f09c448de4447a1a0d36989c5b50c96ac7b7fdbca8daa8d3a6f885dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createChatPublicationAuthorization: FunctionTooLong \u2014 createChatPublicationAuthorization 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":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ca1f3bf4aa3bb7eb64624c17a1691a78128a54af295420cb241ef504169d4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.applyStrandedAssignedIssueEscalation: FunctionTooLong \u2014 recoveryService.applyStrandedAssignedIssueEscalation 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fdd70d1a789b97928e3ad21ac0fa2432b2bc4922ef4798eacc84165a62fd89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/projects.ts: FileTooLong \u2014 1125 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 625 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":"server/src/services/projects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c6d312b1854ff52a183ae229d28cdf026662bb0267e8795889bd4c5cdb268c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.activityRoutes: FunctionTooLong \u2014 activityRoutes 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":"server/src/routes/activity.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf320cd86286648e765bdd26e35e0ff309aba2a902b8314293a5002e4ab67b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feedback.buildAgentContext: FunctionTooLong \u2014 buildAgentContext 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":"server/src/services/feedback.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"242efcc7354ab8c29ca95c259419d0b410a5ceab713d8bd332d76b0a90959ed0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-provider-artifacts.retainNativeProviderArtifacts: FunctionTooLong \u2014 retainNativeProviderArtifacts 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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"580f0f273ea819530a431e61cce3d710f8adab53e051c3131b54144ee3b55bf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.recoverQuiescentRunnerdState: FunctionTooLong \u2014 recoverQuiescentRunnerdState 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6606}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cb47645ad88dea9776fd4ac6abb54205f4ab57d8bf54e6eedfe1270802eff5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.approveActionRequest: FunctionTooLong \u2014 createToolGatewayService.approveActionRequest 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457b9e1a18551d9eec1ec473299a9e99e5a425429b4fe923c4990e38d3c7de7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup-secret.createGitHubSetupSecret.generateSetupSecret: FunctionTooLong \u2014 createGitHubSetupSecret.generateSetupSecret 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":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6ec738cb6959ed10d27e29118dbb38740e58c912aac31ac10037b7fb8ec7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resolution.createChatPublicationResolution.resolveProviderEffect: FunctionTooLong \u2014 createChatPublicationResolution.resolveProviderEffect 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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab1c33905e1e11b430eaf0b856e289ff214623aa143735bb4cfecc048452471"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup-probes.createSetupProbes: FunctionTooLong \u2014 createSetupProbes 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":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8046b23fe30e33a32812ec8676ecec36e60aca01d7bbecb26be7ff8fbe4e4232"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: credential-access.createConnectionCredentialAccess: FunctionTooLong \u2014 createConnectionCredentialAccess 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":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05a0678fdbbb084975a4ae6104d7d3b4591de30be967fd779718958c1c8cd71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createChatPublicationAuthorization.claimPublicationTransportAuthorization: FunctionTooLong \u2014 createChatPublicationAuthorization.claimPublicationTransportAuthorization runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e6886e04801256ee3bab8aa07838c38ec3d5a8979c135ca32af15730cb01df"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IssueChatThread: ClassTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded), 95 methods. The bar is 400 significant lines; this is 489 over it, 2.22\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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e404e67bda13169f628b3f122df8da82cfc7a39e0983f81cfed5a1afa05655dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/process_supervisor.rs: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 611 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3918f662561e1057df6c520d015514cd07ac996c9a8727fa2024a0da2e528d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/fast-responses.ts: FileTooLong \u2014 1110 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 610 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d603d4d307bf5747edd4a594f493710b4fdb453954b60bdf4a34a57956bb825"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-use.browserUseService.reconcile: FunctionTooLong \u2014 browserUseService.reconcile runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"401a58f69e07dffa5b2373e8d4990891239060654bd9addb6f850ba50c3a0f26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.createSlackCommands: FunctionTooLong \u2014 createSlackCommands runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/commands.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd22bca3aa0c02f409810505456ff2d10b564919ca85ac5e25d9fc62057ecb4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarkdownBody.MarkdownBodyImpl: FunctionTooLong \u2014 MarkdownBodyImpl runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"8231a1455428a64649b15e6aa39f0b14bb4ae7fa643c4c6a7de4766a24f363fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Routines: ClassTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 486 over it, 2.22\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":"ui/src/pages/Routines.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2cde67660066d156e0e8b76c31b1d94a6de60118b1bd138569f5c87e65087e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build-config.buildPaperclipRunnerConfig: FunctionTooLong \u2014 buildPaperclipRunnerConfig runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1973c83b8bdb3eab36be02d43d9e141184380b3b53f77d239fd82a83e0426b15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.LiveRunner: FunctionTooLong \u2014 LiveRunner runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f232cb68d55422963dcb5c747b54675d86a4e2b9220ab8b90da16a187e78dc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: failed-run-retry.createChatFailedRunRetry.claimFailedChatRunRetry: FunctionTooLong \u2014 createChatFailedRunRetry.claimFailedChatRunRetry runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd3ee508b624bf5ee8442a17f0c757e382fec78f1c5f466f68a06c4f8753ece"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StatusCardTile.StatusCardTile: FunctionTooLong \u2014 StatusCardTile runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/StatusCards/StatusCardTile.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0f3e60d505fdbe7a3dd193b17318f4c7df607b2ba6846afe831b0f9a643621"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: installation-integrity.verifyQualifiedAcpxInstallation: FunctionTooLong \u2014 verifyQualifiedAcpxInstallation 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcccf257b201810a7be490d3228a3ccea5d935c557321ff493c86f89d1c4a47d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatComposer.ChatComposer: FunctionTooLong \u2014 ChatComposer 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":"ui/src/components/ChatComposer.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8283daff8fc28858c3729f3c8d7209f2df5bd4f021af03bb1f38b4d9333e09be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/app.ts: FileTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 596 over it, 2.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d597f521d3003685ae4b50993f1b6de719590fe68d2b6a555039b588c459cea5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/scheduling.ts: FileTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: createHeartbeatScheduling (128-1393). The bar is 500 significant lines; this is 596 over it, 2.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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2695567c39f77b3e223ae9cf28cd6e5e982042fab2a153f3bbe0183ca326f4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assets.assetRoutes: FunctionTooLong \u2014 assetRoutes 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":"server/src/routes/assets.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"12469e561b43efb4ece0cccdd4ecce1a31a02307670c0b890e52544d974e9782"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.createSlackCommands.handleSlackSlashCommand: FunctionTooLong \u2014 createSlackCommands.handleSlackSlashCommand 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":"server/src/services/chat-channels/slack/commands.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10a326f68ab2294f6600aedaf3c336d8876ff22593830724160b1d119e41e53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-workspace-sync.prepareNativeWorkspaceSync: FunctionTooLong \u2014 prepareNativeWorkspaceSync 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"63671522d75221470f9f44c10f45bddc6d79248f4675ac9c3994fe3d03e18dec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatProtocolCard.RuntimeRequestCard: FunctionTooLong \u2014 RuntimeRequestCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6df34d52a986970a181e86e61c994726ff89086061f96ffce9b1d9dfda70b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TeamCatalog.StepPreview: FunctionTooLong \u2014 StepPreview 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"83184d1276a1542d92883ff74e303ea4ba503d43df4d93f9c549bc7a40749952"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: envelope.createInboundEnvelope: FunctionTooLong \u2014 createInboundEnvelope runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/envelope.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d6fd68bead54136ac79f1ebef78f458f7865fa38c14273666c0738f1b6eac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AsciiArtAnimation.AsciiArtAnimation: FunctionTooLong \u2014 AsciiArtAnimation runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d9cb31382663107828bc816dbdd7b7e6610797c3821bfc46b4b1b5bffd32be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionSetupFlow.GalleryStep: FunctionTooLong \u2014 GalleryStep runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"66de0596172dc903ccd528c5028569e0e032661660d19220b1d76c054197e23d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportSkillsFromProjectDialog.SelectStep: FunctionTooLong \u2014 SelectStep runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b07b5b52ad323b666797a0d678af679eec1079d77cddab096e9930975702f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/execution-workspaces.ts: FileTooLong \u2014 1087 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: executionWorkspaceRoutes (94-1441). The bar is 500 significant lines; this is 587 over it, 2.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a187ad6d7386f7233d00003f656e56458236ef9be4cde3e7152ace56991fd55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/question-response-delivery.ts: FileTooLong \u2014 1087 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: questionResponseDeliveryService (434-1383). The bar is 500 significant lines; this is 587 over it, 2.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/question-response-delivery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f6260a102b4162bdd3b06a2781cc3e0c171c35b34fa0f57168963078749243"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eval-execution.behaviorCases: FunctionTooLong \u2014 behaviorCases 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/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0a2a07233658572f83b505e4a333dde800a836bfab51f47760c2f6f1e861cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-inbound-service.voiceInboundService: FunctionTooLong \u2014 voiceInboundService 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe7d2f9d1ea5a41b5ca1a6e7877923be987cd7a23686d8cd4aa4edc5ada3a78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sidebar.ClassicSidebar: FunctionTooLong \u2014 ClassicSidebar 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":"ui/src/components/Sidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b25ab2fb60ef2666eb09653b2b75a748a3c77d490938ce079b354d6e439c25"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 864 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 464 over it, 2.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2251e15db685a4ac54774c0e95c19a1eb69fdf71bec755bad3bbe70b34b0c54f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/runtime-execution.ts: FileTooLong \u2014 1080 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: executeHeartbeatRuntime (248-1343). The bar is 500 significant lines; this is 580 over it, 2.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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51367abb6fd0f921034416e4263019b1fbfb925321f88dbb7ebdfb8ad39a9916"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/JsonSchemaForm.tsx: FileTooLong \u2014 1080 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 580 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3861242ccdfd0e61ff4e84127e09be75cbf87c5f881c97e65e6646cbb8d84c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime-sandbox.prepareAcpxRuntimeSandbox: FunctionTooLong \u2014 prepareAcpxRuntimeSandbox 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":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f343972c7a3345972a2b21e1ae2fc46a7571c7644fdfab4dea1934831799f246"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-transfer-authority.createTeamsFileAuthority.deriveTeamsFileTransferAuthority: FunctionTooLong \u2014 createTeamsFileAuthority.deriveTeamsFileTransferAuthority 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e9944f74450c96055d1c988149ef249f15ce2c5d22ee8c328c7406553e7f13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: default-access.createCatalogDefaultAccess: FunctionTooLong \u2014 createCatalogDefaultAccess 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"872e2b6cf97b0fd4925a8e8086f6e7a4ae60eb359378c32b710039c83b8caba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OutputFeedbackButtons.OutputFeedbackButtons: FunctionTooLong \u2014 OutputFeedbackButtons 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":"ui/src/components/OutputFeedbackButtons.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b61d800b3fdbe90f9ec1c34710dc4ba49d505989d7b7bde30c1b754cb62c01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfileSettings.ProfileSettings: FunctionTooLong \u2014 ProfileSettings 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":"ui/src/pages/ProfileSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85cfff16ea73cf4bdb3735b146ee80d44d87fe921fc39d38b700037a947fee1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/environment-custom-images.ts: FileTooLong \u2014 1077 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: environmentCustomImageService (287-1404). The bar is 500 significant lines; this is 577 over it, 2.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"923e69142e65a5f11fa234dd9c620acd6ba0b4907429b0bd20802a422d0695b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Costs: ClassTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 460 over it, 2.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":"ui/src/pages/Costs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"816325a3da053c338ba741580274c59a9253cd34ac12a4616b5c70cfff04bfb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: envelope.createInboundEnvelope.prepareInboundEnvelope: FunctionTooLong \u2014 createInboundEnvelope.prepareInboundEnvelope 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":"server/src/services/chat-channels/inbound/envelope.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5d78cf7533281b550b3493eb0fd8ec27a20e9728aa67d1d0d6181fed8168a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarRecentTasks.RecentTasksList: FunctionTooLong \u2014 RecentTasksList 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":"ui/src/components/SidebarRecentTasks.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"512da8a7314a5e800e21bd4131012db97640a99f945b4276207cfc2f5c33c4eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatCompactInteractionCard.CheckboxConfirmationCard: FunctionTooLong \u2014 CheckboxConfirmationCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6833ab89bebccf4664d559a6d7b7ac2ef71ab66d0e73cd84155b23ed351a5851"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx/runtime-host.ts: FileTooLong \u2014 1073 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 573 over it, 2.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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9692ec2f64bf34a4f300fe1e1aaf2b18df489d730ffc0189f738bbf2ab0d1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/ImportSkillsFromProjectDialog.tsx: FileTooLong \u2014 1073 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 573 over it, 2.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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5501683328deb541b55378b53c1b1b6008725f4afd2a8026c8f2adbf69cb8b23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/budgets.ts: FileTooLong \u2014 1072 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 572 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef30c9bfffdb0053e79f60131b2a88e328565947eee9e7699902729cb9e2804c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/RoutineHistoryTab.tsx: FileTooLong \u2014 1071 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 571 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b38ebd951d8e144d9f0036465dee77d7da029c228cbe711c3d3b5b9361cb71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::durable::state::validate_binding: FunctionTooLong \u2014 paperclip_runner_core::durable::state::validate_binding runs 214 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1594d40ee79846c9aac6f53f6237f7133346fd10af944c2d13836865aafc501"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-recovery-resolution.deliverReconciledExecutions: FunctionTooLong \u2014 deliverReconciledExecutions 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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd2bf0297d1a0be156af48b50fc40d8019f40c5a593d6a1662bcb93e3075b26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-execution-input.buildNativeExecutionInput: FunctionTooLong \u2014 buildNativeExecutionInput 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":"server/src/services/native-runtime/native-execution-input.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc847482ea23f6aa1aa14a1744c486ba684f48713acf45970afd541e3d4a569f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-session-service.voiceSessionService: FunctionTooLong \u2014 voiceSessionService 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":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c049eba9aa806642e7471da7190ed49ca6151922f71cdef0b82e0f5aa03805e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/issue-tree-control.ts: FileTooLong \u2014 1069 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: issueTreeControlService (463-1379). The bar is 500 significant lines; this is 569 over it, 2.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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62765fa10c845e887f7c869cf5e4536829839a969e69652fc087c459b2b22eda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatSdkEndpointRuntime: ClassTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 453 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"58507dbbd914e1bdbb6821f4415dbdb4b411dca134811518b51ecaadbfc45b61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-management.githubChatManagementService.verification: FunctionTooLong \u2014 githubChatManagementService.verification 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b493daa22a47260050534cf1352e15670031daf070aaac7d82cdd38d02fc0811"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboarding-seed.onboardingSeedService: FunctionTooLong \u2014 onboardingSeedService 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":"server/src/services/onboarding-seed.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f1c47a06cae0dce86c700039d7fa8a589a72d34f673671dabe96ab50da034d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.reconcileResolvedDependencyWakeBackstop: FunctionTooLong \u2014 recoveryService.reconcileResolvedDependencyWakeBackstop 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6068}}}],"partialFingerprints":{"codehealthFindingId/v1":"947c637885305ae0d23ce381a844b3fdf7084e61c2d93bdb37ff3078d819828b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BudgetPolicyCard.BudgetPolicyCard: FunctionTooLong \u2014 BudgetPolicyCard 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":"ui/src/components/BudgetPolicyCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c483dd745460418acc821b9baf6780eefd2d202734911774f8f44b2a1da27a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineTriggers.RoutineTriggers: FunctionTooLong \u2014 RoutineTriggers 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":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"72acf40dff83acb71c2660a9353fab4a33c3027457a757aa53db4036a00fcc6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompt-injection-prevention.promptInjectionPreventionService: FunctionTooLong \u2014 promptInjectionPreventionService 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"10231f42b0c5766692d99a62936ccd0878cdb5638a5203d4bf8e2ed6e8f0885e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feedback.buildFeedbackTraceBundleFromRow: FunctionTooLong \u2014 buildFeedbackTraceBundleFromRow 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":"server/src/services/feedback.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8cf4b3b68af6c2a919520c1fe47c0eabc345ce6aa1673f9031b3205c89aa50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-skill-source.scanRepository: FunctionTooLong \u2014 scanRepository 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":"server/src/services/github-skill-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4363c6c386a605eb7da243545818007a7ab20df78bd368e9de472b003d9d62bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-interaction-bridge.materializeNativeInteractionResponses: FunctionTooLong \u2014 materializeNativeInteractionResponses 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c4599012f689855c615a429f43f9fe6b87505a1bc5478e1e1e3ca840e0f2bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: health.createConnectionHealth: FunctionTooLong \u2014 createConnectionHealth 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":"server/src/services/tool-access/catalog/health.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ed0c828e58c438223bcd79129dbdf66e78449c4321b7b5a16efa2fcccaaf17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: refresh-leases.createOAuthRefreshLeases: FunctionTooLong \u2014 createOAuthRefreshLeases 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":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c93737f53e3d1bd8ee2fba178bbb68790053b3b3f762769cf4f1fad62c0786a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FastResponseSettings.FastResponseSettingsView: FunctionTooLong \u2014 FastResponseSettingsView 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffe9ca1c4fb44d9417da9c17bf05658d223db962a6cdcfae27ffa6c46aba752"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNativeRunTranscripts.useNativeRunTranscripts: FunctionTooLong \u2014 useNativeRunTranscripts 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":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4bcb357d89e38de95e45a2456ee696930864e1ce1be7d6600e1f89862eecca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: secrets/ImportFromVaultDialog.tsx: FileTooLong \u2014 1053 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 553 over it, 2.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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef84f4256cc64d84ed2feb5100b3c489f7c298a78586a557f9cd4cd9b47072d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/environments.ts: FileTooLong \u2014 1052 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 552 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241dc6ec834b98bbea94fe88f86424524d7d5eba9e6b50894aa990869353ceb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/RunnerInspector.tsx: FileTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 551 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d996153cd819da08e1b93ecb7af12ba81cda34ab0945599819683eaac185ae8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agents.agentService: FunctionTooLong \u2014 agentService 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":"server/src/services/agents.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"52976d6975d151cca5ce2e9508a353f9d6af8c9f6e17c11979b93a3fd862a2a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-transfer-authority.createTeamsFileAuthority.teamsFileSourceBinding: FunctionTooLong \u2014 createTeamsFileAuthority.teamsFileSourceBinding 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83757507a7de3eb773962c31e20fff83380ab655a9a8d7077844b1669965cab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.retainedNativeCleanupJournalMatches: FunctionTooLong \u2014 retainedNativeCleanupJournalMatches 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c0f7794da47bf15ef6a1c7bc5c4a73898c689b2899455147a5b829d7d0a5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRunnerdBackendWithinSessionClaim.ensureRemoteRunner: FunctionTooLong \u2014 createRunnerdBackendWithinSessionClaim.ensureRemoteRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17547}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac392edf22feb597c0771d6b35ae087938eccacf4ec822be68d76d6b170adc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubChatPreview.ConfigEditor: FunctionTooLong \u2014 ConfigEditor 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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b76ef68e0b8c48b59ae87b548e436bf6b8c7e3cd6d874a3f6ba58a6f2d51a39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-intents.connectionIntentService.search: FunctionTooLong \u2014 connectionIntentService.search 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":"server/src/services/connection-intents.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e88466a20dea0433f825dbf9339eb91439d20db09466ddcf450ba7d5e0e0873"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-operations.workspaceOperationService.createRecorder.recordOperation: FunctionTooLong \u2014 workspaceOperationService.createRecorder.recordOperation 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"6191506f9071bb072a08297eba950891a88cf3cfdece7e599965d7d0743055a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchableSelect.SearchableSelect: FunctionTooLong \u2014 SearchableSelect 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":"ui/src/components/SearchableSelect.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5f6ddce2cd2bb17299511800a091db9904bd7823b8f4e3de9c7f78576997f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarCompanyMenu.production.BuiltinCompanyMenu: FunctionTooLong \u2014 BuiltinCompanyMenu 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":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa1a26e3ddf66d59de43646e5190401f2796e8c42321dea53ba2a193f62a6da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskBrowserFooter.TaskBrowserFooter: FunctionTooLong \u2014 TaskBrowserFooter 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":"ui/src/components/task-side-panel/TaskBrowserFooter.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3476414d3b55233846a0b8effd0d40ca8381bd2f58933a3f73accee5c1addadc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InviteUxLab.InviteUxLab: FunctionTooLong \u2014 InviteUxLab 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":"ui/src/pages/InviteUxLab.tsx"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e6b8d414bec26f6ab508b3b53722061a3204ba1cded57105eaa88d41d2e8af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/provider_bridge.rs: FileTooLong \u2014 1044 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 544 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/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5338ad38741fbfd37f8611b9148c5e68adf20e46f8e53930fa0670a07ca8453f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: secrets/aws-secrets-manager-provider.ts: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 541 over it, 2.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc058057e94a644a8dd4f3f5984bd42965f17550a7fc24d96236772f4d5142"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-workspace-sync.ts: FileTooLong \u2014 1040 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 540 over it, 2.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8b030882f556748dc83719079e37cacf10f3d9323e3dc62982672be269f2c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.registerSecretCommands: FunctionTooLong \u2014 registerSecretCommands 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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e63b09deeeabdc8574a2b840b0389e0d2211cfa72edd4ff0eba5708c3826773"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attention-retention.attentionRetentionService: FunctionTooLong \u2014 attentionRetentionService 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":"server/src/services/attention-retention.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"23350ea1e287614d482f71c57afac8bde667840149715a5f4b49a8a250988a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: manager-grants.createSlackManagerGrants: FunctionTooLong \u2014 createSlackManagerGrants 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":"server/src/services/connectors/slack/setup/manager-grants.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c285c8849fcddf8b534e610d2095ee15132fcbd4c740800a1efde1792124f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-native-progress.reconcileNativeChatProgress: FunctionTooLong \u2014 reconcileNativeChatProgress 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":"server/src/services/chat-native-progress.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4117397fb67cc30b78b2e7a28b8b0a9adbe35ece22f2dec7e37225eb4fed9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.executionWorkspaceService.getCloseReadiness: FunctionTooLong \u2014 executionWorkspaceService.getCloseReadiness 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32236ff0b823037ef62d341162805f1b544249b655b71877346e5a4bb1e631e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-profile.resolvePaperclipRunnerNativeProviderInput: FunctionTooLong \u2014 resolvePaperclipRunnerNativeProviderInput 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f9f76a97b77055d59d215d703003c07c4758694785ad6df2322b29f278fb54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: health.createToolRuntimeHealth: FunctionTooLong \u2014 createToolRuntimeHealth 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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc1d97fa58bb271770f7e99f3cdfc9ed4bb519d49305b16928b9dfc012839a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.NewSkillWizard: FunctionTooLong \u2014 NewSkillWizard 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b33975c85469f54dee63b6ee9d580611e8124426f670a314d1b2f0b2fdb3b2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.NewSkillWizard: FunctionTooLong \u2014 NewSkillWizard 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece12f63795b72c206c28c2777c7bcdd46a045f8b7204ac26be07bdd4ac0b0d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.RunDetailView: FunctionTooLong \u2014 RunDetailView 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6a2233663ada75a74be2200f2693fa1c5d2aa4467e52732e4c3f1b9dbde41e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-runner-file-handoff.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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c73531638d550cd22831a8ebe5fc7b631770614c3cca29ddc8b2960cec2021"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AcpxProviderSession: TooManyMethods \u2014 62 methods, declared across 3 files: src/acpx_provider_session.rs (38), src/acpx_provider_generation.rs (16), src/acpx_provider_turn.rs (8). The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3856d5566e3ab4b3c4d3d59c933622e515f56ca247725c27a058aad72c1493f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexCommandExecutor: 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"05deeda48e288f2dfdea881928dc15417a6c729fd955f13d2e22180bff53c4de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/TaskChatProtocolCard.tsx: FileTooLong \u2014 1032 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 532 over it, 2.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f70ed5c0a4159648027f33c8f4d79d8f2a04c7abe34622b6345e761f9ce1d1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-runner.runCodexCodexTracer: FunctionTooLong \u2014 runCodexCodexTracer 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c18a1d597074a92b1771929ec6ebacf86a01749905f73fd39576b90f81d035"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-transport.restoreRemoteWorkspaceDirectory: FunctionTooLong \u2014 restoreRemoteWorkspaceDirectory 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8d99effe5ac65462d4a64784887f1ee6f5a46f33b4a0c1ada1b843b850f1d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiConnectionField.AiConnectionField: FunctionTooLong \u2014 AiConnectionField 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":"ui/src/components/ai-connections/AiConnectionField.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dea045c3d51a1d4f9450a5aee13a387d487939c806212d25d1bfae1fd5bd89d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/companies.ts: FileTooLong \u2014 1029 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: companyRoutes (279-1400). The bar is 500 significant lines; this is 529 over it, 2.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":"server/src/routes/companies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e20511b16e42e5a2c81e42c9d8bc3772ed3dcdc4f1d2ac6eccd694119e2c17e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ThreadItems.ThreadItemView: FunctionTooLong \u2014 ThreadItemView runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"18563816f01b02d826c896f94d1e80fd8b8572b7e2b7ae8170b3d8d5ae212dae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runnerd-codex-transport.probeNativeRunnerEnvironment: FunctionTooLong \u2014 probeNativeRunnerEnvironment runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8288f52e28549c9ff5d708e472add862402d8b30fc838efb1ff5e0a64f40b1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: health.createToolRuntimeHealth.runtimeHealth: FunctionTooLong \u2014 createToolRuntimeHealth.runtimeHealth runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc63c07e081a71b42d13cdea51b3ec27151315f15549506604481246bb62294c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewGoalDialog.NewGoalDialog: FunctionTooLong \u2014 NewGoalDialog runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewGoalDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab7bf14430a261315b59f6fe4ec96d0f4ce7c1652193bfa743ec7da6797b52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acpx_sidecar_transport.rs: FileTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 521 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"216498a4dfe83d0efaa1a424d7766f1238a63c6942468eafeb26503858a8ad53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/ai-connections.ts: FileTooLong \u2014 1020 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: aiConnectionService (67-1274). The bar is 500 significant lines; this is 520 over it, 2.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":"server/src/services/ai-connections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbd9f6696d76a1ea07fe756f9294f8529ca06db062640d0857ea9601ecfb496"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarCompanyMenu.BuiltinCompanyMenu: FunctionTooLong \u2014 BuiltinCompanyMenu 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":"ui/src/components/SidebarCompanyMenu.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc9960dda06dca6bb4abb0766f768f728bd5b4ce78138084d5101efad12235e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.ConfigurationTab: FunctionTooLong \u2014 ConfigurationTab 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8137ee3d429f432e1ccb5e84b3b40219a815723a7589f841f07dad0f629a59a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AcpxProviderSession: ClassTooLong \u2014 812 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 62 methods, 3 blocks, lines 349-1694. The bar is 400 significant lines; this is 412 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1df6444dcb95203175394d20cc5013483c641ea06b4644d194688d443ff7cb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspaces.saveRemoteWorkspace: FunctionTooLong \u2014 saveRemoteWorkspace 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"320018834b7ca90d2909946acd19fc03e3adc86c808c8bdee3727860cebba626"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.namedGatewaySessionFromBearer: FunctionTooLong \u2014 createToolGatewayService.namedGatewaySessionFromBearer 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d5f2934f159d47cc705c87e9ef6cf8c4ca17a2bf581cb71ff788fe50052c22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-transfers.createPublicMcpTransfers: FunctionTooLong \u2014 createPublicMcpTransfers runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9eaa7e7d2e6ea79bd10ff9159cafbbc0bf98e48f126e8ca6fe8853156c87be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectWorkspaceSummaryCard.ProjectWorkspaceSummaryCard: FunctionTooLong \u2014 ProjectWorkspaceSummaryCard runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectWorkspaceSummaryCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3381c2782573a18305bdc1d4380184695c69e1174cbcc52c79b17fc8eedaa8a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineHistoryTab.RoutineHistoryTab: FunctionTooLong \u2014 RoutineHistoryTab runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbabdd58d4878e6915c9a153b04ac054b4758306476a5658ac70c391aa05dc87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LiveUpdatesProvider.LiveUpdatesProvider: FunctionTooLong \u2014 LiveUpdatesProvider runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f4566fa089ed5c172edecf6336b9636bb015b83da4691b429ef6c593c4e86c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/document-annotations.ts: FileTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: documentAnnotationService (128-1191). 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":"server/src/services/document-annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf49159ce471c6af8a44a32cd2b02e6f09d0c8fd2997a037ab4975ec4e8081b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Costs.tsx: FileTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: Costs (173-1199). 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":"ui/src/pages/Costs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3751d4d99eceab5c9c909cca544e39014a30ff5f82107046e5ca30632bbede"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-start-handover.createRunStartHandover: FunctionTooLong \u2014 createRunStartHandover 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":"server/src/services/run-start-handover.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85649d43ef84e4dc4530997a581069d8810954d3a9f90983e941f140365f2b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatFeedbackButtons: FunctionTooLong \u2014 IssueChatFeedbackButtons 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c6f74309d01ddd3918a9e3f3ed4e9566a691be884afd217910fc75b35c28af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunTranscriptView.normalizeTranscript: FunctionTooLong \u2014 normalizeTranscript 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb8e6abab1cbe7518817939041d8c6eea395def9c3156f500316e3995ed6e12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointSetup.TryStep: FunctionTooLong \u2014 TryStep 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"913f847213707950a26e4bb6f1b6656de60de3a50587e0a65b2a56d4fd23ce2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.ts: FileTooLong \u2014 1003 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 503 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c699f5591707fdefe919e316ad6b6d1b4eab52c9d4ae84b326fb0f5dcd0cb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heartbeat/runtime-selection.ts: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: selectHeartbeatRuntime (318-1193). The bar is 500 significant lines; this is 501 over it, 2.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":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1758a18995d4972ba720727c9e39baae7f76e099e0331d35cb634e3b72f5ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.request: MethodTooLong \u2014 request 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6de3151e9205eace096c858176a6075c190100dbf49ecc9a3e436629e6d507f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queue.createHeartbeatQueue.withChatControlRecoveryGate: FunctionTooLong \u2014 createHeartbeatQueue.withChatControlRecoveryGate 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd10cd11bea412f3a91e09669565a1473f39387b76fa160b5bae0a22d8a3bae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-trace-object-store.createProviderTraceObjectStore: FunctionTooLong \u2014 createProviderTraceObjectStore 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":"server/src/services/provider-trace-object-store.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a61af3f14973e0f761d78b0dd3d96f242d9614add66c3bc93c5006d7112f1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote-workspaces.ts: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 499 over it, 2.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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf7f1fc999f9e742a5f36b2be5b24ca9d6d1214913cf4d8cc954c7613661966"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.ts: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 496 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7c7fdcbbb5df160b1ec5b3936e7674de820970a83eed2744cc12736c482b7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/tool_access.ts: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 496 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/tool_access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"746c1897be9a7c79e49c6bd3766107e237d9786a8f405eaf42f1bf34c8454543"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: smoke-lab.smokeLabRoutes: FunctionTooLong \u2014 smokeLabRoutes 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":"server/src/routes/smoke-lab.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa305825845042fb7d182f9069949d77e388a5298bf39568ab4c2585ee0fba93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reactions.createInboundReactions.handleReaction: FunctionTooLong \u2014 createInboundReactions.handleReaction 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ac75b010ab08ed249b400ff50769f380b6061f26a806b8c7466dcb709eaf85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resource-reconciliation.createChatResourceReconciliation.applyProviderAvailability: FunctionTooLong \u2014 createChatResourceReconciliation.applyProviderAvailability 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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"27824661ffd702fcd6408e1cf683792ff96c64d50dea4fc315d437ffc21d442f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup-probes.createSetupProbes.test: FunctionTooLong \u2014 createSetupProbes.test 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":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4f0e075e2e1952d9f187074d534b7017c855b2d8ee4ccccddd947c4896f89b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.synchronizeCompletedProviderPlan: FunctionTooLong \u2014 synchronizeCompletedProviderPlan 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aa2ae65beb1f6aac5a1daa9ef3c5c7f7443bbf60118034068eca94fcf90bac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueColumns.InboxIssueTrailingColumns: FunctionTooLong \u2014 InboxIssueTrailingColumns 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":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddae1ff09198ba6d8a6cbe89cf10a31bd7cf36d889ab4451790eb0946a34b0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/smoke-lab.ts: FileTooLong \u2014 994 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: smokeLabService (471-1267). The bar is 500 significant lines; this is 494 over it, 1.99\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":"server/src/services/smoke-lab.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd1ff12e3fc94c558dadcbe1e27c11f40c004094bc2bd3bfb25f4aa3a5da574"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/GitHubBotConfiguration.tsx: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 493 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aa3384883b87cfb3a3110f97e0cb29d3830a5e133a50250e96fe236ac7856f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/registry.ts: FileTooLong \u2014 991 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 491 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":"server/src/adapters/registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55817ffe083646fdc1549f91099b3a3036febdebc5ef98fcaf4d7867ba54fba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: built-in-agents.builtInAgentRoutes: FunctionTooLong \u2014 builtInAgentRoutes 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":"server/src/routes/built-in-agents.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3284b5bae0b360a27611693a9311e3f9248338e632c29219040e2478e9804f7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-interaction-publications.enqueueTerminalIssueInteractionChatPublications: FunctionTooLong \u2014 enqueueTerminalIssueInteractionChatPublications 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce723143fb88e9f689a29018e66aab61a21ca89cde8f5c6d7a9ba7b3c16bf050"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-codex-runner.executeNativeCodexRunner: FunctionTooLong \u2014 executeNativeCodexRunner 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae21b210773e40562fd0c533efb30e1d91aae555ab308f8bf1b92c0cf11ed67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatSystemMessage: FunctionTooLong \u2014 IssueChatSystemMessage 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e827784d435901131ff6dbb89fd1841b39a45c18a148be501c9b2c687d3c063"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transcript-adapter.phaseSummary: FunctionTooLong \u2014 phaseSummary 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"3787e0296a60e57428431c6aef0a8780f3990fd41fd90d0c3a4c36be1dcd9cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/live-workflow-executor.ts: FileTooLong \u2014 987 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 487 over it, 1.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b198c4d1d3abe6b05d0fe7ad0529774259409a2e0c38cbecdc56e9a12c19e1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-policy.createGitHubPublicationPolicy: FunctionTooLong \u2014 createGitHubPublicationPolicy runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ba7fdf0f994bf69bc1f3d8b7add4609419a624c4302300dd8d666e96821524"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-graph-liveness.classifyIssueGraphLiveness: FunctionTooLong \u2014 classifyIssueGraphLiveness runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dc19712f31f208179644ad26568621aa87bd09fe2fe653af51090d5e71d7e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RichWorkProductCard.RichWorkProductCard: FunctionTooLong \u2014 RichWorkProductCard runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9201e39c359987a583f72a4f3cce97146228b49f5c27baf8c32891fa1a803f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ComposerModelPickerPreview.ComposerModelPickerPreview: FunctionTooLong \u2014 ComposerModelPickerPreview runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/composer-model-picker/ComposerModelPickerPreview.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"626f8b65ef0220e95e3e30a6f54780f0f0757eadef6eaedc632d4e81e188ae73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/external-objects.ts: FileTooLong \u2014 982 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 482 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":"server/src/services/external-objects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618f8394a255f8b0a74555e0ed05c07f6d7c623597044408a20f7a6fd3b8f821"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx/codex-credentials.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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ab6e7a59c2a4a1ea4df1a5d0334de2e034c9ab757d19229e2cbd757a7c9fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: heartbeat-run.heartbeatRun: FunctionTooLong \u2014 heartbeatRun 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fa3705be6e2f2273b0ac22011062c65d1a26e14da6aee3617bcccd11f702aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/PluginSettings.tsx: FileTooLong \u2014 979 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 479 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42167c3bf91d15a7c3cc7f02154dd5e78c4947249c6f749c0990cf5070959821"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-attachment-reuse.listAuthorizedChatAttachments: FunctionTooLong \u2014 listAuthorizedChatAttachments 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca2e43502059e6666e1572163662169a45af6236d48d82a0caf78602d73b191"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client.createOAuthClientProtocol: FunctionTooLong \u2014 createOAuthClientProtocol 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":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6fa7a9b6446e841518e16f0b7da3e84cc91a38db05a50ad37c11e300044129"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Timeline.Timeline: FunctionTooLong \u2014 Timeline 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":"ui/src/pages/Timeline.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47f9a23cbda036f9d939f192e02314106b96c344b7eef6477f45a3a16dd1303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/issue-chat-messages.ts: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 472 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b784c219c5e73fcd4e125572b5dbc3f3872dfd371761f630dda629cc06acb13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/access.ts: FileTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: accessService (47-1249). The bar is 500 significant lines; this is 470 over it, 1.94\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":"server/src/services/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d4eb1b813b6e750692d9e29122b15dc47e981280a072aa05994e3508a221b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-job-store.pluginJobStore: FunctionTooLong \u2014 pluginJobStore 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":"server/src/services/plugin-job-store.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c7edf95e57444e385f5e5db38af20d42e219c2acfb4ce5e6b211f13623d4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StatusCardSettingsForm.StatusCardSettingsForm: FunctionTooLong \u2014 StatusCardSettingsForm 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":"ui/src/pages/StatusCards/StatusCardSettingsForm.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef8310ec02c68149b2e305f3df3dc11404a5dc747256aa54192ad2a872b1be1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaperclipRunnerToolAuthority: 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"737c2b17243ce69f5d4323a8f725380988d503bd64ef99ae756ccd0c80b1552a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexCommandExecutor.start_turn: MethodTooLong \u2014 start_turn runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe9830418e6eff4abc4f03bcede81d91e243a69330fbc28c1121f6f5cc1a4eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-cases.runReleaseRecoveryTail: FunctionTooLong \u2014 runReleaseRecoveryTail 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f56529a82ebe71f3bba68e8344fb6290f1b52515f81911e13713aad55122c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhook-ingress.createGitHubWebhookIngress.processGitHubWebhookIngress: FunctionTooLong \u2014 createGitHubWebhookIngress.processGitHubWebhookIngress 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade3026972d0aec96033c66142e677ef6fb77ff89803a72663893ad4f54c7947"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-source-sync.skillSourceSyncService: FunctionTooLong \u2014 skillSourceSyncService 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"855e8b322d36b56f39ed2b2e77fe0230960a9507b82f88b5d88209557097feb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/WorkspaceFileBrowser.tsx: FileTooLong \u2014 964 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 464 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd37be942dad3c03fa81036f1e4f4e392660a68f635d0f728107c7dea415605"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CompanyExport.tsx: FileTooLong \u2014 964 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 464 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b2c7aea58156202232a3e40e9b09e4620180664c6e9995926754e9408676ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wakeups.createInboundWakeups.processInboundWakeup: FunctionTooLong \u2014 createInboundWakeups.processInboundWakeup 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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af172bc753dad50e656ecc3d460e5a28122535ea01d6269e60963cfa65242d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plan-review-context.buildDocumentReviewContext: FunctionTooLong \u2014 buildDocumentReviewContext 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":"server/src/services/plan-review-context.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"871764edb0478e53f7ebe4c42eed69f35c5b6d23fa9e52e6fdf83f466105a326"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: s3-provider.createS3StorageProvider: FunctionTooLong \u2014 createS3StorageProvider 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9944f6c59ca554cc4de61f59aca7fd8e0dde951077d22a0a3c6cf4901c57397b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportFromVaultDialog.SelectStep: FunctionTooLong \u2014 SelectStep 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"73afa636174003824f1ce4ff2d7f9c75a6cd2045f156923724417d5453e6cea7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-teams-file-transfers.ts: FileTooLong \u2014 956 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: teamsFileTransferService (232-1170). The bar is 500 significant lines; this is 456 over it, 1.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02140ba2e11fe5113258135b0837d8738da1e0821b9caf85dd08a9b458ea6f74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/company-search.ts: FileTooLong \u2014 956 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 456 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375cebafeaf84d5caa056afa82c6113783a2d8ebedbe5bce7079210673ade216"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-session-server-requests.handleServerRequestBody: FunctionTooLong \u2014 handleServerRequestBody 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/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e769e77a8f4dc269dd99c1cd1ead80f5b523bb136ac4f018dd5382edc3813c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: git-workspace-expiration.expireReconstructableGitWorkspace: FunctionTooLong \u2014 expireReconstructableGitWorkspace 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":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8781371721c3f685e54f515eae1b6e38e826cf799a6fe7a4c0a39acf5c6a39ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote-workspace-migration.ts: FileTooLong \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 453 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de5d3131214de36206f62c1b5518f18e7f682d475a03c5435ce75042039b7f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectProperties: ClassTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 361 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3514a95c83e3634263c3419478a041f040b1baf40ceab9a3319a7b8a04968594"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CapabilityMockControlPlaneAdapter: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"105c167b2212dccae66cdba87f41180e0fd071e3052c33ddcfa663e8a2e9be66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-console-app.RunnerConsoleApp: FunctionTooLong \u2014 RunnerConsoleApp 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/paperclip-runner/src/react/runner-console-app.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94133b10dcfeb3fca2b8365870c67055e2ce7b35abbc71b987213eb14149b14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-migration.inspect: FunctionTooLong \u2014 inspect 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5b3b20e51ba777c40ae5bf0d6a63d42e72819d94d6a22333096962ec027489"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.RunTemplateAdvancedPanel: FunctionTooLong \u2014 RunTemplateAdvancedPanel 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"00448def4ac31c2ff9d7dee23c7ff22333d1fa45c1fd0b40f97750068cedac5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/device-login-service.ts: FileTooLong \u2014 945 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 445 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":"server/src/services/device-login-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13635e6b3129fc9c1bd619bef4f04e43a8f1843f44776928c37f1dfdef58d7eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-file-store.agentFileStore: FunctionTooLong \u2014 agentFileStore 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48ad1f4de0ba8edead8c3f20e2f77983fdd644f388b6ef630616860873e91a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useBrowserViewport.useBrowserViewport: FunctionTooLong \u2014 useBrowserViewport 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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd772b911f6d3d11580c2ed772f817a799efe497d099ed521f4fe7bb392cf19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.production.ConfigurationTab: FunctionTooLong \u2014 ConfigurationTab 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"589bde6430e4e338afec1a65830decca5a9eedc4e14ce909a27db842ece371d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.InstallPreviewDialog: FunctionTooLong \u2014 InstallPreviewDialog 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81df7538f28cee1393559a9174c0eec2c7458234c32526931501f6eb2c608a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.InstallPreviewDialog: FunctionTooLong \u2014 InstallPreviewDialog 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa8ba96c75aee2a7d376adc031f25e8d464d826426a179f42a4453bda7949e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-teams-file-consent.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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b99b9966b478d04dd7cb81d2c8304a5414c77fd76e2f318e8b4c52955484c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-session.assertCapabilityLiveSessionSnapshot: FunctionTooLong \u2014 assertCapabilityLiveSessionSnapshot 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f479155c006fe7d33aef905fe96fc36d6e2b02e3814f4777815e9679ada2696"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: legacy-execution-recovery.terminalizeLegacyExecution: FunctionTooLong \u2014 terminalizeLegacyExecution 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d1f3b1f7a5b54f127f29d94cf33cd3a3c83ee93521aba08a58ef970152ed31"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-fields.ClaudeLocalAdvancedFields: FunctionTooLong \u2014 ClaudeLocalAdvancedFields 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":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97be36f1b7b7c46d773b8aae6f6ba82468b0c9a01762170c41515726caeaf43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentBubbleActionRow.IssueChatFeedbackButtons: FunctionTooLong \u2014 IssueChatFeedbackButtons 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":"ui/src/components/AgentBubbleActionRow.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"452826df57aae499c7f3dc063f3b5ea5a9c0834fbca70012fcdbec6c71393024"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentMultiSelect.AgentMultiSelect: FunctionTooLong \u2014 AgentMultiSelect 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":"ui/src/components/AgentMultiSelect.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e702b5ade9d2a9a35a70bd904fddcaa93662d3c0ac58155093d0a744f7e3133e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BlockedInboxView.BlockedInboxView: FunctionTooLong \u2014 BlockedInboxView 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":"ui/src/components/BlockedInboxView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91e4f1b167c66dd13753827becc8d53eb02b15634f87d396dfaabede422847d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExecutionWorkspaceDetail: ClassTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 350 over it, 1.88\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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181fcf2f7b625d1f269a5c616f42515e5deb02df10eadc227fd7aabf92805670"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/CommentThread.tsx: FileTooLong \u2014 937 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 437 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed29eaff29bc0c185d26625957b34b5746bf785c629e1efe6435c8cfcc9fc05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ProjectProperties.tsx: FileTooLong \u2014 937 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ProjectProperties (216-1099). The bar is 500 significant lines; this is 437 over it, 1.87\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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5f4118270ed9f14c8230eb85de014cf16c7fb8fc4ed8b961c20eeabda273b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-migration.migrateRemoteWorkspaceCohort: FunctionTooLong \u2014 migrateRemoteWorkspaceCohort 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b50a1c588369f6fe5997743297ae7df9181e5f9c310bd359c5c325213fea1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-retry.admitTaskRetry: FunctionTooLong \u2014 admitTaskRetry 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":"server/src/services/task-retry.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b66d7c20062b7f69103f76acf8e2c3e904a6a08fd20eeddd5e09fe0b3495b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.cleanupExecutionWorkspaceArtifacts: FunctionTooLong \u2014 cleanupExecutionWorkspaceArtifacts 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9029d857df664bb7f8bd15904c75a78876c5af6dae9f07b5841a681bab7c6f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatCompactInteractionCard.SuggestedTasksCard: FunctionTooLong \u2014 SuggestedTasksCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35faab397dd361471aa2bdf01f3fd8b5783dba240449c75931c4e86b4dfac4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run.registerRunCommands: FunctionTooLong \u2014 registerRunCommands 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":"cli/src/commands/client/run.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"95224c441200e28193905e7861aeaf42cbd36754c4f7f3e49ca7c4664f75d6f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityLiveSession.#handleNotification: MethodTooLong \u2014 #handleNotification 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ff3e5d1b77f554b77e4a9d5a4e869fdb7bc37fc59be1f218f8085dd4f9e5f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.queueResolvedInteractionContinuationWakeup: FunctionTooLong \u2014 queueResolvedInteractionContinuationWakeup 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":"server/src/routes/issues.ts"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f3cb986f84cf3bb35eaf35c741c46973a36ab65ad9a1ca3c0ee36f3735860a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatTurn.TaskChatTurn: FunctionTooLong \u2014 TaskChatTurn 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":"ui/src/components/task-chat/TaskChatTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9122bd4f8b4cb37b22369d977a4c35c34b3603306606043a04145fe7bd9c9de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GatewayDetail.GatewayDetail: FunctionTooLong \u2014 GatewayDetail 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":"ui/src/pages/apps/gateways/GatewayDetail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb27060bcc03b21cd6f81984b12e94054a06b588034a93f4a0a16d06163e28d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/issue-execution-policy.ts: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 425 over it, 1.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d12627cfb6a4e4ba517ac33654d9aa158f736632d250b9397a077d5d6539590"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: core.registerWikiTools: FunctionTooLong \u2014 registerWikiTools 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e077108fa2b8085d7c1c8b69f7dc22d61e44b00c5c8f3c23ea1dcb7299bc90"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatSdkEndpointRuntime.constructor: MethodTooLong \u2014 constructor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20440a7e87c1803d7a28f9504626ae21fe6b994c7e136a1112f596b40126124"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSetupPrompt.AgentSetupPrompt: FunctionTooLong \u2014 AgentSetupPrompt 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":"ui/src/components/AgentSetupPrompt.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc2a79297d70b22f09891a7e799b66822a5416daa6fa4349618b1fd1df8278f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScheduleEditor.ScheduleEditor: FunctionTooLong \u2014 ScheduleEditor 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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"23594e7e9823ec4814f4661af4a4755b6fb8eb2e31fabba5efcaa98ab8159069"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Auth.AuthPage: FunctionTooLong \u2014 AuthPage 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":"ui/src/pages/Auth.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"86400e24013c87998d34f9296407c442c5b19f5a4fd22e2af456e9210442c446"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/tool-gateway.ts: FileTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: toolGatewayRoutes (369-1172). The bar is 500 significant lines; this is 418 over it, 1.84\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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdff695da855dd022f9a6947789d79733d97aeefc6523add924cbbfaf1a4d6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publications.createPhotonPublicationDelivery: FunctionTooLong \u2014 createPhotonPublicationDelivery 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":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01a11f386a7faa663dde9a979cc2ca9842ff28e6f09502a7de29f46b9b565a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-goals.runnerGoalService.act: FunctionTooLong \u2014 runnerGoalService.act 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":"server/src/services/runner-goals.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e38c2c396ac43a77ebb351c33f00cee6d3bbea5817b84aa1cd690d94638618f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-access-discovery.loadGitHubGrantMetadata: FunctionTooLong \u2014 loadGitHubGrantMetadata 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":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9c35ec8f3be8cbca24f81609ba645656df0269d29ecb69a49f2c7669f42c75"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vercel-callback.createVercelOAuthCallback: FunctionTooLong \u2014 createVercelOAuthCallback 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":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"923436cd907b53e1570ea6f54e1d250aaadafae13b22976645d35aab65e655fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: folders/SkillFolderTree.tsx: FileTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 414 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"975f7dcc0af5084e59b7fc89065e4db60ea40002d2b71f3d36cd2cdaabf3d340"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexAppServerDriver: ClassTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 330 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b09fbc4287a7b1bb4599149d7bf55f6e604fa975ea67f0c65077cf22da023ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhook-authentication.createGitHubWebhookAuthentication: FunctionTooLong \u2014 createGitHubWebhookAuthentication 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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcb439f6eb5505d23094f7ba9cd1d04504c2c0aa32bdf9516b4c010ce6d73d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-transfer-authority.createTeamsFileAuthority.teamsFileCurrentScope: FunctionTooLong \u2014 createTeamsFileAuthority.teamsFileCurrentScope 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"234acc3d772ff16bef46385f81eee6612c77c22464e8ac9f20ecad6e245c2221"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-publication-errors.classifyChatPublicationError: FunctionTooLong \u2014 classifyChatPublicationError 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":"server/src/services/chat-publication-errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d279ebf44f5c4724899df39408d845ea35767a857c668a7bfa9b6ae1a36538b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-skills.mcpSkillsService: FunctionTooLong \u2014 mcpSkillsService 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":"server/src/services/mcp-skills.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818a8b8ca5ebc10d11bd543a81633440e4e70e1c90402da2f554eabe8eb28e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRemoteNativeArtifactPreparation.prepare: FunctionTooLong \u2014 createRemoteNativeArtifactPreparation.prepare 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19029}}}],"partialFingerprints":{"codehealthFindingId/v1":"d582e013fb65c19c50d738123e058e1a0e5b4a082c95d38167a64b533ba982d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-git-authorization.projectGitAuthorizationService: FunctionTooLong \u2014 projectGitAuthorizationService 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":"server/src/services/project-git-authorization.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f508bda99df898ad742a78a4fe475659fa8b2de301e9d06807feaf153e279c09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillFolderTree.MoveToFolderDialog: FunctionTooLong \u2014 MoveToFolderDialog 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4dbd89e07d6d52f6d3bb8ec613add63cf04840fb99eddce1d595ec75ff877d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ComposerRunSettingsPicker.ComposerRunSettingsPicker: FunctionTooLong \u2014 ComposerRunSettingsPicker 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":"ui/src/components/task-chat/ComposerRunSettingsPicker.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e6571b82adeda53f604d583b58057d51218c2d6a7a34b1f293ac8bbaa43c23"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projectRepositorySkills.installProjectSkillFixtures: FunctionTooLong \u2014 installProjectSkillFixtures 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":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e78d541591876e0a17a875b2f25b75e33fc68fe70b82e5ac03aa94c41646414"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-connection-router.aiConnectionRouterService: FunctionTooLong \u2014 aiConnectionRouterService 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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5973df45305a5c9e97b9f8044f1b14b7e1626623af64ccf71601d96330cfa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transport.createChatPublicationTransport.postSafePublication: FunctionTooLong \u2014 createChatPublicationTransport.postSafePublication 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":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"50400ed47eac1da91bfda1b2c06f9d1f756d98cba10bf4c1cccc49c41cf973b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-checks.githubReviewCheckService.dispatch: FunctionTooLong \u2014 githubReviewCheckService.dispatch 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":"server/src/services/chat-github-checks.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdce040c8a7606abe19d332c5c67e63ea45b3f1b5296daf4b1860059550ca0d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.migrateRunnerdStateRootForExecution: FunctionTooLong \u2014 migrateRunnerdStateRootForExecution 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e0b255896c0238f0859cc348517c38428e839a9c81b476559ff7bd81f85c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspaces.prepareRemoteWorkspace: FunctionTooLong \u2014 prepareRemoteWorkspace 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dee4673a008fe0c143a0fa718357fc9228e3f9bcf5a808b8d716e61f5f38c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publications.createPhotonPublicationDelivery.deliverPhotonPublication: FunctionTooLong \u2014 createPhotonPublicationDelivery.deliverPhotonPublication 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":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"085bf910814efc2ccf7d3e3f86a4a91c6bb0db295ea6b91a5810dd78898d63d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wakeup-authorization.createInboundWakeAuthority: FunctionTooLong \u2014 createInboundWakeAuthority 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":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af56cbf7db8ddd370d9e4dcd8a6cd24454374991f5ad80a43d2371e59e82b56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-drafts.createTelegramPublicationDrafts.reserveTelegramPublicationDraft: FunctionTooLong \u2014 createTelegramPublicationDrafts.reserveTelegramPublicationDraft 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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c4962f790f3d9c9d89596a9d73874f2c53a6e5b634cf1750d9e8f87a9a03d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.executionWorkspaceService.listOverview: FunctionTooLong \u2014 executionWorkspaceService.listOverview 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c38feb43044c224a1504c2f19f362130f506a050b576f8ef62fe7f5c13aca1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: routines.routineService.firePublicTrigger: FunctionTooLong \u2014 routineService.firePublicTrigger 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":"server/src/services/routines.ts"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbb564dc3baf6b83f5ae9a717e8398e3ffc3e5f48668dd0d2f4ed1693c044c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Secrets.AgentAccessSection: FunctionTooLong \u2014 AgentAccessSection 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4561}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e85da1e1cc710497806bac17aa8932b65e022b6af9fd7fd41629b0e0af8ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/inbox.ts: FileTooLong \u2014 895 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 395 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":"ui/src/lib/inbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3cef8b6a002e0dbfcc24fd16c62fa7585d865584972fd38724cf811078710e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-provider-launch.createRunnerProviderLaunch: FunctionTooLong \u2014 createRunnerProviderLaunch 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"528be12e9afc456496a7bed47daf0fd84ce1fbe72167796844eced5058c8c2f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gateway-events.createDiscordGatewayEvents: FunctionTooLong \u2014 createDiscordGatewayEvents 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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1b571cd11a6b931a01f5057f572a866962c012753ffd20ac10d56f3e3c90ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: network.createTailscaleNetworkManager: FunctionTooLong \u2014 createTailscaleNetworkManager 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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a649ea341089d7a684ad3422dc101108e78872272b3ba0afd9bac52330b4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vercel-callback.createVercelOAuthCallback.completeVercelConnectCallback: FunctionTooLong \u2014 createVercelOAuthCallback.completeVercelConnectCallback 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":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc6c59e00c6b30920414612226af647dde2aaec06740e80dab437684e56beba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunWorkspaceRecoverySurface.WorkspaceValidationRecoverySurface: FunctionTooLong \u2014 WorkspaceValidationRecoverySurface 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":"ui/src/components/RunWorkspaceRecoverySurface.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef58a29b36dc243e6c94da0ee57ed0341ddbe393e1565e1f0395b2f74970eda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MachineSignInSetup.MachineSignInSetup: FunctionTooLong \u2014 MachineSignInSetup 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":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"67170c92ffdf55e3da9a577881a4a9b9b78c5a4acaf16ce6a8aa568ad669cf8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IdentitiesSection.IdentitiesSection: FunctionTooLong \u2014 IdentitiesSection 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fedb01926ae2729bbcd7bf3d9961b2d5f759ed6a3c0ca5884f2c65d81b04b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/FileViewerSheet.tsx: 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58ccd289ed20f88e589a43a572f540a354ddb6b86b251fc9b7db68a7b45fc94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-runner-execution-driver.createNativeRunnerExecutionDriver: FunctionTooLong \u2014 createNativeRunnerExecutionDriver 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":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c864d13dbbb90c9b3a4f839f95603bd6ceb3c82811181be55aa596e170cedfc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: interactions.publishPhotonPrompt: FunctionTooLong \u2014 publishPhotonPrompt 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"92faca20257a9401ce53cecbe85f8a3edb6c92cc40d4f27a8375b36d8f46137b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.maybeRefreshPaperclipCloudGrant: FunctionTooLong \u2014 createToolGatewayService.maybeRefreshPaperclipCloudGrant 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fa71399487e79f9655f095ad016d112d13adc5c71804b0a654c24e1e2095ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemberMultiSelect.MemberMultiSelect: FunctionTooLong \u2014 MemberMultiSelect 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":"ui/src/components/MemberMultiSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec6df1616ea19af965c8d4137c54169528cd0d00a5e21d1e8a9ad3996587b06"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentDetail: ClassTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 308 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31ae9f5818170ee7be521045d0ad211e655110f94919660030c984de5cf1cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-board-response-wait.readNativeBoardResponseWaitSource: FunctionTooLong \u2014 readNativeBoardResponseWaitSource 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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e32b6d5b672261510f79fae130a81daf9dc42ca1bdf73351a6daeafc77e97b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.scheduleDispositionRepairAttempt: FunctionTooLong \u2014 recoveryService.scheduleDispositionRepairAttempt 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02bcc8802b4359c7f821213d470c34162d7fc65af12886280454a16176ea203"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ForkSkillDialog.ForkSkillDialog: FunctionTooLong \u2014 ForkSkillDialog 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":"ui/src/components/skill-studio/ForkSkillDialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c441d654e93519c342df0fcd2e8b562bb899394f3a313fa25c52b56367b9bce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueRunLedger.tsx: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 375 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea3236c91209e8717b0d779235133f659c0391dbd5ba33d2e3019eac0d47a52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpxProviderSession.poll_output: MethodTooLong \u2014 poll_output runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fcfffe341cbf27c3c4c46d3adfd00ad0cfd9eb08fbdb32a409ff8f1fabeba6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: check-clean-consumers.verifyRunnerConsumer: FunctionTooLong \u2014 verifyRunnerConsumer 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/paperclip-runner/scripts/check-clean-consumers.mjs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d48a80a1b805daf207a85c5045e6ae4e8244ca5976b37b454b63289273c7193"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#startTurnWork: MethodTooLong \u2014 #startTurnWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7868}}}],"partialFingerprints":{"codehealthFindingId/v1":"183128601846fbf390ba2411836f9d37b0e3d2e4415a43ae149a0fd13abf16ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: core.distillPaperclipProjectPage: FunctionTooLong \u2014 distillPaperclipProjectPage 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9110846df6338c764459ed340173c74ee05873f99794fab8c00dea7cce66102c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: email.emailRoutes: FunctionTooLong \u2014 emailRoutes 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":"server/src/routes/email.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78e01736ea2b04c7db63b0c242c72edbd1f3edcc0423a6b9a037d9b09399b29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-use-viewport.createBrowserUseViewportManager.open: FunctionTooLong \u2014 createBrowserUseViewportManager.open 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":"server/src/services/browser-use-viewport.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ad82fccfa36364e31b6b16fdea4ef2fb47e0a5abd754c91b2aec05a6131921"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatSdkEndpointRuntime.rehydrateAttachment: MethodTooLong \u2014 rehydrateAttachment 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"28366f7622f90236874fd65fe7911f1e7d41d49104f1ea5e763fbc080aa76736"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-worker-manager.createPluginWorkerManager: FunctionTooLong \u2014 createPluginWorkerManager 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8580167d0054ac88ab0b6a3c5dc8cb936967dd7ace3d139c005a37c492f449f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.hasCurrentNativePassiveWait: FunctionTooLong \u2014 recoveryService.hasCurrentNativePassiveWait 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2f4e6cd4d38c7b05f211687f35656d99e4f6c79c7586b26124f458b9d3f3ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocumentAnnotationPanel.AnnotationPanelBody: FunctionTooLong \u2014 AnnotationPanelBody 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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e5da98d921616c4519cc3fda9306721461a791e44bd5af73f9371de9e61aca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileViewerSheet.FileContentViewer: FunctionTooLong \u2014 FileContentViewer 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"073c9bd35e21f108fea5984420e44840247e576a2a8300538c1b1259543a1c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FrontmatterPanel.FrontmatterPanel: FunctionTooLong \u2014 FrontmatterPanel 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":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"33180807b355bd38b2aae492a95010a5963c1cad26829ce55e89518b32cd77e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server-utils.normalizePaperclipWakePayload: FunctionTooLong \u2014 normalizePaperclipWakePayload 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b5d4cb606dcbc6c8489c16e5d51cf00d4c7ac61467771d0fb274f8eaea86fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexProviderState.validate: MethodTooLong \u2014 validate runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4dff240e0c7bede23990f56050a50229201e9adc51e1a3e169f117c73464e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresWakeQueueAdapter: FunctionTooLong \u2014 createPostgresWakeQueueAdapter 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"89796733dfdd799da7140790973393237e3d2c949fbb14910779dbce48162d01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: case-handoffs.caseHandoffService.handoff: FunctionTooLong \u2014 caseHandoffService.handoff 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d635049ae6c641233088bf861a24b3f494958f9b6d6c12394595cd5285cf49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-job-scheduler.createPluginJobScheduler: FunctionTooLong \u2014 createPluginJobScheduler 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":"server/src/services/plugin-job-scheduler.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd0934a9da5ca766aa6529266494b2d1de5e5f5e7e1cf29ec439bdbc3be2159"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Issues.OrganizationIssues: FunctionTooLong \u2014 OrganizationIssues 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":"ui/src/pages/Issues.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc271e6d208ba8cccaaa6be133ab2d0931765c5a0700185be29d7dbc4ebcd5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: microsoft-teams/file-transfer-authority.ts: FileTooLong \u2014 869 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: createTeamsFileAuthority (100-1041). The bar is 500 significant lines; this is 369 over it, 1.74\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b61dd9dae954fa93cdf7381f8f19841566e68942b63f7ca0ba93dcc19548594"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inbound/lifecycle.ts: FileTooLong \u2014 867 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: createChatMessageLifecycle (90-1086). The bar is 500 significant lines; this is 367 over it, 1.73\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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1ff8076edd365e1ee3c0e10b02d5f357af105428340210d628525518f68124"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-output.createHeartbeatRunOutput.begin: FunctionTooLong \u2014 createHeartbeatRunOutput.begin 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":"server/src/services/heartbeat/run-output.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"56583c8b22283872047eca07d25f54e4afbe978890a814cd2e2b9c0ee2202e00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: instance-settings.instanceSettingsService: FunctionTooLong \u2014 instanceSettingsService 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":"server/src/services/instance-settings.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e6fa39e13e3100b84b8aa8ed0016afa78cf3bc30f7d35c85e2e1f72719a916"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery-observability.recoveryObservabilityService: FunctionTooLong \u2014 recoveryObservabilityService 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":"server/src/services/recovery-observability.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1ae68e33cf15c1489090d2924c450ee7adafd22e2675d869cdd01923241254"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-watchdogs.taskWatchdogService.collectClassifierInput: FunctionTooLong \u2014 taskWatchdogService.collectClassifierInput 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c380f64e8d36c417d2f0e6743953ee198350fd2888a440be33b5a537be52136"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonSchemaForm.SecretField: FunctionTooLong \u2014 SecretField 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ec173c22f675325a4f2c33f15ab7f1b3443bc796d53c0476b3358ebab44af7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: editable-sections.production.TriggersSection: FunctionTooLong \u2014 TriggersSection 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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd7b839614905b0ea534c92e0ee38e427da6aa762b07199d5a01c448dec2c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatQueuedMessages.SortableQueuedMessage: FunctionTooLong \u2014 SortableQueuedMessage 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":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f8010c15a85e9909d6d0eeb4afa5a06c4ebf2d552070dbf9c44c7f3c4e710e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/secrets.ts: FileTooLong \u2014 861 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: secretRoutes (109-1159). The bar is 500 significant lines; this is 361 over it, 1.72\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":"server/src/routes/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039419edadef50973fd93c210982e1a815590e0d749fafa7904f5650164077eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RoutineDetail: ClassTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 288 over it, 1.72\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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1889b0b0840c0755a614e13c36aaf92197a7a71f9e75893c6720c4a94fb3cf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inspector.Inspector: FunctionTooLong \u2014 Inspector 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/paperclip-runner/src/react/inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41023bf92896c6638ce33e9e6440c57755b39e188d4286d090b74dcbbff61eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: policy.decideScheduledRetryGate: FunctionTooLong \u2014 decideScheduledRetryGate 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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed8df21521b03187f736ebabd0c1c624d5931ea7ac2667ff2a658fc21044f39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresWakeQueueAdapter.withIssueExecutionLock: FunctionTooLong \u2014 createPostgresWakeQueueAdapter.withIssueExecutionLock 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"677eef7f6e4d11ad5a3657063441be83db8eb7d83a76d5804d5fc254147e5f87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-training.decisionTrainingRoutes: FunctionTooLong \u2014 decisionTrainingRoutes 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":"server/src/routes/decision-training.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1e14d65d23ed5144193c619aa996572b8b6e2a51c8288a814ebefb977dc840"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-intent-delivery.connectionIntentDeliveryService: FunctionTooLong \u2014 connectionIntentDeliveryService 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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"30318588e2afc3cca6a327b69b7b2ee6457c4ec1dcd813337294b6c86d58061e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-failure-diagnostics.collectRunFailureDiagnostics: FunctionTooLong \u2014 collectRunFailureDiagnostics 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":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d29b0909be523e51a36eb3bc226763bc8a5379667a4ca9b6dd2d759f11a9bd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.executeBuiltinTool: FunctionTooLong \u2014 createToolGatewayService.executeBuiltinTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3508}}}],"partialFingerprints":{"codehealthFindingId/v1":"56677cd2733dbd37128e0d308d9d136f116dd2cf1fe2a6f751fa5cb0844523dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineList.RoutineListRow: FunctionTooLong \u2014 RoutineListRow 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":"ui/src/components/RoutineList.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"61531e5b0371fbc86af6554c679fb43cd17624d0e4d31410bcf84e244b900a3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssuePropertiesArtifactsTab.MarkdownWorkProductRow: FunctionTooLong \u2014 MarkdownWorkProductRow 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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc154cd86e801a42b6327cc7dad99b6d794df18741e2324e4b2b495a5eef0f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/projects.ts: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: projectRoutes (63-1100). The bar is 500 significant lines; this is 355 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":"server/src/routes/projects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bf4f9c041881ffc704495a67316153b59d6301df23629a7d337d7826ad48b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/server/execute.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f025ba539368b4e12fb4ce5be7238fcd2443df2f5da0db618aa48ae6a259a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: routines.routineService.update: FunctionTooLong \u2014 routineService.update runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"252c1d4e7ff3d964cb67bfa38cf8d9e0530833d081ceb44d178cf0edd56fa6c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.quarantineDirtyWorktreeBranchIncoherence: FunctionTooLong \u2014 quarantineDirtyWorktreeBranchIncoherence runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ac6d15acb0183dcc16e60ddb08cf23968a674349bced6e78f404ecba1ee161"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineVariablesEditor.RoutineVariablesEditor: FunctionTooLong \u2014 RoutineVariablesEditor runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f656696bfaff22ec9ee82fee0a0770a4daa1124ba193c07022498704ff5897d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubBotManagement.GitHubBotManagement: FunctionTooLong \u2014 GitHubBotManagement runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e5ecf37920d55566ab5a94887627c0b72a345f91a006488f1746a4a0e929c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditTab.AuditTab: FunctionTooLong \u2014 AuditTab runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e5e4097d9e1102cd07d586d97983f7291cb892d49b5ad911b87eadf2836d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validators/plugin.ts: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 353 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/shared/src/validators/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b873451571f15c95d75ea163748bef1e6706ceca9c318bc53ea1eedecd974a43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex/codex-app-server-driver-impl.ts: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: CodexAppServerDriver (159-1140). The bar is 500 significant lines; this is 350 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd488c00873869140519facce2af327ea24fd6fb77152a09900f1e94cea85503"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#prepareLaunchWork: MethodTooLong \u2014 #prepareLaunchWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c629297a74b88f5d464b75abc08ca5582ee54e4cc8fae6c1cdbd7fc99912073c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validators/tool-access.ts: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a0e418671447be418676c58eeb5a82ee780ee463d8b297f1a198c387411d21"}},{"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":"packages/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a00cf678fe2929604c7c21e808e89ad14c79d9799edb93d249487523e2a6ee3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-ui-static.pluginUiStaticRoutes: FunctionTooLong \u2014 pluginUiStaticRoutes 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":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aa2d76a2bb597bf41cf8745aa8ec0950f50a9d9c4a651ea3adaf4097639d50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.recoverNativeRunsAfterRestart: FunctionTooLong \u2014 createHeartbeatRecovery.recoverNativeRunsAfterRestart 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43c7880b0cd7c7b542d8ceabe8a09738a43468657ad805550d9b7ec8016a971"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-recovery-actions.issueRecoveryActionService.upsertSourceScopedUnlocked: FunctionTooLong \u2014 issueRecoveryActionService.upsertSourceScopedUnlocked 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ec829cad90bd0aaad074080baeb95c56ea4509c7ea0622ee8bcca5328d9c78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.startRuntimeServicesForWorkspaceControlInvocation: FunctionTooLong \u2014 startRuntimeServicesForWorkspaceControlInvocation 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c944ed639024cdb0d3e23fcd0b03c24218b881a3355404f67133386cc822530"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatInteractionCard.TaskChatInteractionCard: FunctionTooLong \u2014 TaskChatInteractionCard 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":"ui/src/components/task-chat/TaskChatInteractionCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32aad5473870ebdf16384d5e3993281efba68d441360e484d0061cffeb95dac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdvancedPanel.DangerZone: FunctionTooLong \u2014 DangerZone 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a533a46514a69b6c78fb7edecb2c73db1ed87a68f89915f6d4f0de17b9c1e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-workspaces.ts: FileTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 343 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3245d916c24657649cd94806a32c4868006520313627dda282cecbc37dd148"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: publications/worker.ts: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: createChatPublicationWorker (120-1117). The bar is 500 significant lines; this is 340 over it, 1.68\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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d101bc37700c947a3004beb1ef68a5c22bcdf9cb7229b7e5a407ed23e8e75c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-protocol-eval-campaign.aggregateProtocolEvalCampaign: FunctionTooLong \u2014 aggregateProtocolEvalCampaign 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"39babed7d6883bc3d0c23322681ddca23ccd75a84df6804fe257f847d5d4b281"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plan-review-context.buildPlanReviewContext: FunctionTooLong \u2014 buildPlanReviewContext 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":"server/src/services/plan-review-context.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aeea498fb9d2693e6df2bd4a96668fa6c90ee8a1e0d46852ca3bd646bf4e7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/backup-lib.ts: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 337 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup-lib.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae42d4bd156a8ec492f47e3a0d21135a09f986b4477997f7c9ed4b80622ef023"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: slack/task-start.ts: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: createSlackTaskStart (151-1072). The bar is 500 significant lines; this is 337 over it, 1.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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"010fedc55fad5e06e759f0119f702abc0ea3ac0156e9ee4cf4c21e24f6f8b98c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8920b4d7aa7a68b6745ca7963b3aa0256257ed3ae286ce5bb8da439d50676be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contracts/native-execution.ts: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c6bd2ef5de75967c9529a6b64bae5f9599f8962083aecc52d9928b7877c7f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/runner-goals.ts: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4938c61107106449c0be6dea723effd0a9fb6e9bb580e0403299f50a43f0cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueHeader.IssueHeader: FunctionTooLong \u2014 IssueHeader 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/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8a26e29d543e815854a921a55e9a3c274d1542355239eb898e2b6090636e23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeManagedProvider.normalize_remote_event: MethodTooLong \u2014 normalize_remote_event runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f61ddb6e85237097b704825e8a7d162fbe934de600fd80c5496668b001941"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-runner-execution-driver.createNativeRunnerExecutionDriver.controlPlaneRegistration: FunctionTooLong \u2014 createNativeRunnerExecutionDriver.controlPlaneRegistration 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":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c948334c040180849a197eb3d00becd3ad99a59e14ab56fbb5684d3273288c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionTriageStrip.DecisionTriageStrip: FunctionTooLong \u2014 DecisionTriageStrip 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":"ui/src/components/DecisionTriageStrip.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eab8b7ebbf31135311a7b14bbce47ed2984e4dd5fced9c165f2830f001dfaf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.SystemNoticeCommentContent: FunctionTooLong \u2014 SystemNoticeCommentContent 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d552aa0ac43406fbeb0153967273aff5772d8efdbd9b45c6b36759361ee96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineHistoryTab.RevisionPreview: FunctionTooLong \u2014 RevisionPreview 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b657402402f9cd20724b28a32cbc43615d8ecd03f5ade5530ffb5cc332f117"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunnerActivityPreview.RunnerActivityPreview: FunctionTooLong \u2014 RunnerActivityPreview 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":"ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf0f9b68e3da8c8047789f433b1c77d8916b95cde35ae965f6906676111b98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CapabilityLiveSession: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"294e5ec85a8359cb84a66e4d67cd438958fb541ec7abdde99b789a9557e95112"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/ExternallyConnectedTaskBanner.tsx: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: ConnectedTaskComposer (160-987). The bar is 500 significant lines; this is 330 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":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7a8e49ffbfe2138f523e180025c217d8349370fd17f54448f4bfaee4ba89f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webhook-authentication.createGitHubWebhookAuthentication.authenticateGitHubWebhook: FunctionTooLong \u2014 createGitHubWebhookAuthentication.authenticateGitHubWebhook 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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7b2fca2a1cd0365b583feeb28b9f5f19b02f5fe9587bbc8247c2e557958246"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queue.createHeartbeatQueue.resumeDeferredExecutionReceipts: FunctionTooLong \u2014 createHeartbeatQueue.resumeDeferredExecutionReceipts 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e79f85f788fac27f03bb28722c2ebd47712a183167577e5a543ddb76f0769d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-database.pluginDatabaseService: FunctionTooLong \u2014 pluginDatabaseService 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":"server/src/services/plugin-database.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"861fc70ad411547abfb7c1ee97c36265de8d6c1a1e901fcfa1eb7edda77fb5ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarProjects.SidebarProjects: FunctionTooLong \u2014 SidebarProjects 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":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d13a3c03c971c5f8dfa848ac5c9fffb706e536133b05b2aa7c67eb7f6b670d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/status-cards.ts: FileTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: statusCardService (192-1097). 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":"server/src/services/status-cards.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"663ff83b830dc7b1210501c460f4fbdaebf92e0581212b65be32d89c3c65f985"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpControlPlane.#authResponse: MethodTooLong \u2014 #authResponse 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"908c73ae8cb668792015b70ed5bb8e4bd71bf354946e58f68f64455bd9e7826d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#attachRunWork: MethodTooLong \u2014 #attachRunWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5091}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d4603393a1649aa2f4ce1ddf36e92b11e723507ba30f2f12fc6f68ee41687e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.sweepPendingCleanupLeases: FunctionTooLong \u2014 createHeartbeatRecovery.sweepPendingCleanupLeases 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451da3fbe63989f6ec0ea31124f6e69af015b0f82fc7fa1102db5c4079ad31a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-failed-run-owner-release.settleFailedRunOwner: FunctionTooLong \u2014 settleFailedRunOwner 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":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68576d562d529c8b145aa8dbd1b456ffb3539066eda29cca1145f1036f27109"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BreadcrumbBar.BreadcrumbBar: FunctionTooLong \u2014 BreadcrumbBar 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":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7302ebc8f4bf8035b992c2a9d90de8ec0b01e7d06ca6b4495328736e7a6e11bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sidebar.production.Sidebar: FunctionTooLong \u2014 Sidebar 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":"ui/src/components/Sidebar.production.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edaf715193b6b2c6b1d9d5fd33d95e3a3657398f963c26574932b3cc1cec471"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.SkillCard: FunctionTooLong \u2014 SkillCard 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"940af5806311dc79fff30bff29f1623646147abcf201cb841b3d945d8b1666a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Search.SearchTabContent: FunctionTooLong \u2014 SearchTabContent 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":"ui/src/pages/Search.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90f6ff47fa341127571d0d13dd13d14569876a7bad904f4e7c7f2ee1a7f515b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TeamCatalog.TeamDetailPane: FunctionTooLong \u2014 TeamDetailPane 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4abfbffbdfe1c59e9904e74d6a26546f122292168e421676294800035388a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/worker.ts: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: plugin (186-1074). The bar is 500 significant lines; this is 323 over it, 1.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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"959679003a9a09f4250889a342d9466c20b2799db18b53364d780b6041f3c694"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/InviteUxLab.tsx: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 322 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":"ui/src/pages/InviteUxLab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a382ce871cc14eb6bd05095e4f1adba4b9c89c59767565434ce64cf55111c491"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parse-stdout.parsePiStdoutLine: FunctionTooLong \u2014 parsePiStdoutLine 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/adapters/pi-local/src/ui/parse-stdout.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"871564c3b1be41161e0b9553e94cefc4c6b451f330a7c4ff3a9c562ffb55b88f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-preparation.attestReviewedExternalChatRun: FunctionTooLong \u2014 attestReviewedExternalChatRun 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"43319dcc4d4d08fabe49196e37cbee6e7f3885d4412a0d79fb94cf8fd5620719"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-runner-file-handoff.stageNativeRunnerWakeAttachments: FunctionTooLong \u2014 stageNativeRunnerWakeAttachments 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f7d6bac80d0a2102d4462d49619c5cebedfb3e8e72a1224c467579e8834c59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-fields.GeminiLocalConfigFields: FunctionTooLong \u2014 GeminiLocalConfigFields 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":"ui/src/adapters/gemini-local/config-fields.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c6afb1f729eff4281dafd01e7d776853606e935313f3608ef7bf7f41be8517"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BuiltInBundlePanel.BuiltInBundlePanel: FunctionTooLong \u2014 BuiltInBundlePanel 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":"ui/src/components/BuiltInBundlePanel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cfd4c1bb4dbde15a8d67deca447392c8e7c6ff4ae7cf9af769011e235557e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useResilientFetch.useResilientFetch: FunctionTooLong \u2014 useResilientFetch 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":"ui/src/hooks/useResilientFetch.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fb8401997587af92c429df0f7412981bae0c62fbd9695d0d648a2dc2317a8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportFromVaultDialog.ReviewStep: FunctionTooLong \u2014 ReviewStep 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbdc3e0cbdce67f00beefc6c779857ac78c1448237ac10f310db4f2cd77cd26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClaudeManagedProvider: ClassTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 4 blocks, lines 1232-2127. The bar is 400 significant lines; this is 255 over it, 1.64\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/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1e1b69f11769b5f162d50dc875aad90cb73aa9fb5e5c9f909737fdb86cac75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-side-panel/TaskSidePanel.tsx: FileTooLong \u2014 817 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: TaskSidePanelForScope (262-972). The bar is 500 significant lines; this is 317 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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6bd0ea16fa8ce364f71a1656f7318832e0ba3810148090ef34aa64f7cf3016"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AcpxCommandExecutor: TooManyMethods \u2014 49 methods, declared across 3 files: src/acpx_provider_backend.rs (40), src/acpx_park_preparation.rs (5), src/acpx_provider_turn_wait.rs (4). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a5e74707274116935d0b5add1182fe1ce9f990024784159cf70acc2e5c939a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexCommandExecutor.attach_run: MethodTooLong \u2014 attach_run runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3446}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3b4d913d34079e9c67e15271a2ad97ec0ee2dd73232fbfb3e3204d1a194dee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HarnessNativeSession.events: MethodTooLong \u2014 events 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba32ffe391af83a40198097221b555ab763b43e79b49b51d8f81cc6b95003ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-projection.projectCapabilityIssueThread: FunctionTooLong \u2014 projectCapabilityIssueThread 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9123f2c72429d1b97ac263e65f437709044901d9623885be76cca999434f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-queue.createChatConversationDeliveryQueue.messageFromDelivery: FunctionTooLong \u2014 createChatConversationDeliveryQueue.messageFromDelivery 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfb132c723419fc935daedfb459f2a6a580cde721c70d8ff05dbcbb757a6a65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reactions.createInboundReactions.processPendingReactionDelivery: FunctionTooLong \u2014 createInboundReactions.processPendingReactionDelivery 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6959236b3a488684d977f16439a5c86bbfdd4450934f684bc80a8d85ecd53bb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-sdk-runtime.createProviderAdapter: FunctionTooLong \u2014 createProviderAdapter 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"746f1338229b89c64ff141459ad636d64c93b8955e02ea824ae6fd9e64bf5fac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigureBuiltInAgentModal.ConfigureBuiltInAgentModal: FunctionTooLong \u2014 ConfigureBuiltInAgentModal 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":"ui/src/components/ConfigureBuiltInAgentModal.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c77b6e23ddc5a0d4833a3266c8b1bf90a10249729f1c611eb9ad866b19eb61a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchResultRow.SearchResultRowImpl: FunctionTooLong \u2014 SearchResultRowImpl 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":"ui/src/components/search/SearchResultRow.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c846b6a1f91c6db297fa7ebd211ec8d0b026d9f2940387ac21f24a852ac8f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatThreadView.renderItem: FunctionTooLong \u2014 renderItem 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":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"13933d61c8ff4a17a5a44ce458037e45c749970ea23c690672ed285dbe21550c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditRuns.AuditRuns: FunctionTooLong \u2014 AuditRuns 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":"ui/src/pages/audit/AuditRuns.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b021ec8da3a395e7ed73f7084b8f8b923c6265d4b92d5ac3f72796aff679147c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cursor-cloud-app-server-proxy.startCursorCloudAppServerProxy: FunctionTooLong \u2014 startCursorCloudAppServerProxy 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":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac083d1843c8c3bdc2caa7c9ffd6a84f670739f505525774b95940b3da961223"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-search-extract.companySearchExtractService: FunctionTooLong \u2014 companySearchExtractService 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":"server/src/services/company-search-extract.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b84382697e27c2aed66588c3f956628cad5d36a7b06495b3ca61eea9032093"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-search-oauth.slackSearchOAuthService.complete: FunctionTooLong \u2014 slackSearchOAuthService.complete 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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bbe78ba7e2d8e1fb4db4df6e1af5d511939132b2e5cf2d5410b1523151ad75"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.vercelClient: FunctionTooLong \u2014 vercelClient 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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf14374cbf437cccc747638cd211f8517fee385103e22344a418bbdab9a1353"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TweakPanel.TweakPanel: FunctionTooLong \u2014 TweakPanel 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":"ui/src/components/task-chat/TweakPanel.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cd65a0b05a41e77bcbebb998315fff182b178d1a1faf15541a5ba9a4bf9e3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PhotonConnectStep.PhotonConnectStep: FunctionTooLong \u2014 PhotonConnectStep 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":"ui/src/pages/apps/chat/PhotonConnectStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4446feb39d06173d1328cea3b1fde9db997ee5e00488d85e46cef1a3d4cb4ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/external_provider_backend.rs: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: ExternalCommandExecutor (3 blocks, 391-1040). The bar is 500 significant lines; this is 309 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/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f8c28f120a4fc61c86e26c919345a74b0f03239b866dbca4ceae6fee4ae4ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/AppDetail.tsx: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: StandardAppDetail (97-761). 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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ad3524da5e6d001760f22a6286172b846c142798b6630cae60fef832968f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queued-comment-postgres.buildTransaction: FunctionTooLong \u2014 buildTransaction 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":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b97eb86ad88ddce098550b5e35c0a3b35892d30a8ff8245f326f98f7223c3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-runner-selection.resolveAgentRunner: FunctionTooLong \u2014 resolveAgentRunner 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ee1738a3395d6e45831929d8a847c279b83b6754f11bb94ad7b5239d402f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: built-in-agents.builtInAgentService.materializeInstructions: FunctionTooLong \u2014 builtInAgentService.materializeInstructions 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbf74041e79a4bd85b6a675840a939a4881a8385e6510dcb699aeea00c54d44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: confirmation-actions.createChatConfirmationActions.handleChatConfirmation: FunctionTooLong \u2014 createChatConfirmationActions.handleChatConfirmation 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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"85056f451f1a6f21d04ec9b4e4ea5cd29b4904534ba556ab3ba652240a08f2bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-recovery-work.registerLiveRecoveryWork: FunctionTooLong \u2014 registerLiveRecoveryWork 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":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0f780de612c90b12fd00650ecb57d7dcad555a1619ee0a60a67fe9e74898a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-files.createRemoteWorkspaceFiles: FunctionTooLong \u2014 createRemoteWorkspaceFiles 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a8031f9959614c56714d4a1213bf5a2579573b5cc2010708c4cdfad45c54b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarAccountMenu.SidebarAccountMenu: FunctionTooLong \u2014 SidebarAccountMenu 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":"ui/src/components/SidebarAccountMenu.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7b9473ce8d2563d664602ee05619ef65928dd2ab235c484ccb420b386c0fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarAgents.production.SidebarAgentItem: FunctionTooLong \u2014 SidebarAgentItem 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"759eeabb6aa9ca98554dbb79d05207a4fad5155a2270553c12f4c87420dde3cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarAgents.SidebarAgentItem: FunctionTooLong \u2014 SidebarAgentItem 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6970e84cf4effc570422d98b108a5902dcbe19a113ccf138acda692e7216f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JoinRequestQueue.JoinRequestQueue: FunctionTooLong \u2014 JoinRequestQueue 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":"ui/src/pages/JoinRequestQueue.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eea0f745de8a769523c94088975b47484607391e40fe1b562004b529bed08a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: timeline/WorkTimelineChart.tsx: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 303 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":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff58b6779b13f8b55a56ffa6a0a2ec9562745a6a43c6f677229d3d20745c0f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/paperclip-cloud-connector.ts: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 301 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dd1639f10c3fcbbfd413e943f340dbb023418adf88ce16364f1fc26aa5e2f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CodexProvider: TooManyFields \u2014 48 stored fields beside 77 methods. The bar is 30 stored fields; this is 18 over it, 1.60\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6805f4b8744aa0a877c5f4ee30b7e5f829d8b3a3d7236feb923184b0326754"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivers/runner-tool-bridge.ts: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 300 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cd9e3430f45c2831791415d1c236e0a7a977dea22dd31a4ea57329050321ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/RoutineDetail.tsx: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: RoutineDetail (127-985). The bar is 500 significant lines; this is 300 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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b652b972f5de954a662559a7a75863818cb9ad4f6a008de84bc71f171fd83fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.sweepStaleIssueLocks: FunctionTooLong \u2014 recoveryService.sweepStaleIssueLocks 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6673}}}],"partialFingerprints":{"codehealthFindingId/v1":"44765dab534ec4bb9b18def426a37529960d16bf4a5824b495db5bcdc15ff52d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-cost-accounting.accountRunCost: FunctionTooLong \u2014 accountRunCost 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":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dc01f29d706448dbef9bbce955134bd29a6b6fe1347d37d9bd74b4058e5173"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImageGalleryModal.ImageGalleryModal: FunctionTooLong \u2014 ImageGalleryModal 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":"ui/src/components/ImageGalleryModal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c462d7599ae28ab38dcef55c3a468b0e9d41914f656dfbafeb1728d58e14054"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SwipeToArchive.SwipeToArchive: FunctionTooLong \u2014 SwipeToArchive 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":"ui/src/components/SwipeToArchive.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"39976bad11dd24f7980272b0a00864ab7230cb4e56f95b73fa6790c46f7e9519"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-app-host.createMcpAppHost: FunctionTooLong \u2014 createMcpAppHost 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":"ui/src/components/mcp-app/mcp-app-host.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd4fb5b2acb8382653ea24a784522412a4808fc4a323c77521c3765dcee0dfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.StatusCards: FunctionTooLong \u2014 StatusCards 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":"ui/src/pages/StatusCards/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb29cc74f2488129c858b661b0f462c1692623dd07b2ba0032ead97e04a84c19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: slack/file-receipts.ts: FileTooLong \u2014 799 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: createSlackFileReceipts (139-1000). The bar is 500 significant lines; this is 299 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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaab070682d9416917b632870b21f1cb72eb18dae7b5d5b9f8b63e2599d2cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recovery/assigned-work-sweep.ts: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: assignedWorkSweep (154-981). The bar is 500 significant lines; this is 297 over it, 1.59\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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f1f6cc6fbc691c4eaa29d4f2e4c87005fec4d47e34cbe9199878fefb09bbf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-question-forms.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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"605d62b4eb0a6eaeafd1f8f76dc8777703773c26254056d4c5fcdae470fa4944"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runnerd-codex-transport.bridgedCodexQuestionParams: FunctionTooLong \u2014 bridgedCodexQuestionParams 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7f1d6148982942a2066c5ce3eb2f23920bf499409ce5338f798cb5c0c068de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresWatchdogAdapter.foldSourceResolvedRun: FunctionTooLong \u2014 createPostgresWatchdogAdapter.foldSourceResolvedRun 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":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04ef287fcdde8dcdc807d6f663807ab4c39aaa730a583d3500767421d8fc78c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-files.createRemoteWorkspaceFiles.open: FunctionTooLong \u2014 createRemoteWorkspaceFiles.open 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ea1406be25c3e025de9872de9b94a598a3955a6857cf0cd52f1155c4a56e1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-version-retention.skillVersionRetentionService.pruneCompanyPage: FunctionTooLong \u2014 skillVersionRetentionService.pruneCompanyPage 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f190c8ad806cef70fd1977955c00586178e151b2e17ab731b36c3c37390964"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resolution.createToolProfileResolver: FunctionTooLong \u2014 createToolProfileResolver 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":"server/src/services/tool-access/profiles/resolution.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcd5093e85a91f4b74e65a82001b65309f77e6daeac0d828b16e9e000e452e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueAttachmentsSection.IssueAttachmentsSection: FunctionTooLong \u2014 IssueAttachmentsSection 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":"ui/src/components/IssueAttachmentsSection.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccbdb2ad2e1c8e4a0f763a99ac04ccb673977a07ef680cc903a5a48a0fd52b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarAccountMenu.production.SidebarAccountMenu: FunctionTooLong \u2014 SidebarAccountMenu 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":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfe5bbce0849113e1691617c8d9e943d13344a65b39d83e2a0961b63eb4e095"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InviteUxLab.CompanyInvitesPreview: FunctionTooLong \u2014 CompanyInvitesPreview 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":"ui/src/pages/InviteUxLab.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"701b97e1bfa6f678fa26e6e45fed3e8e7905cf717c2e63a4d08ba2389f4a7822"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointDetail.Access: FunctionTooLong \u2014 Access 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be3da0e08a7849ba28b2856ff7393cc2d18edcf4c145ada383d348653364a53"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexHarnessSession: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 235 over it, 1.59\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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f1a1d12ad2273a8e85739b27fabaa71bd6b3f367a9bba2b349b7c74b6c78f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/execution-recovery-resolution.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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25982c68e6e00bafc4df0091790db21b694ac16d2ae230c4831038c31408d12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-channels.chatChannelService.applyProviderLifecycleEffect: FunctionTooLong \u2014 chatChannelService.applyProviderLifecycleEffect 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":"server/src/services/chat-channels.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"200370d442405d5d7686714ccd001a2ff198119b240cf2e9ce755a236f3e9fcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attention.createToolAppAttention: FunctionTooLong \u2014 createToolAppAttention 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":"server/src/services/tool-access/catalog/attention.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c47f16196e74466e45d92b956de9f93a7f88aa8ed73ca571dc4c7dc7c5ea09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: installs.createConnectionInstalls.putConnectionInstalls: FunctionTooLong \u2014 createConnectionInstalls.putConnectionInstalls 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":"server/src/services/tool-access/connections/installs.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefce217d2844d165258df34548bd812c39f1dbeb793ee5ba552c96b727b4baf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/external-chat-question-response.ts: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: resolveQuestionResponseChain (208-956). The bar is 500 significant lines; this is 288 over it, 1.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":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b11c6f8631efd53edd8b4cc6a2f744812406354032f8cfe16eb264b736ba49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-finalization-reconciler.ts: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 287 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df74fd78917b3e3fb1c23e04e7987c55fb4ac1e265b11056a96d9db5418316d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/secret-proposals.ts: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: createSecretProposalsService (84-971). The bar is 500 significant lines; this is 287 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secret-proposals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d53c4d7e4d5fcdd0d4f4a3af2e8a2884e6ad0c1b600d9f32e6c114a7368f90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/explicit-native-continuation.ts: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: admitExplicitNativeContinuation (182-771). The bar is 500 significant lines; this is 286 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4e46e7b5095e3862f14b598c89a0deb9e0e27acbaf45e94517e5884fb63ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/ProjectDetail.tsx: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: ProjectDetail (330-964). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af85209853f513d7ff3880454f9c5c7edf961bca8a8e202f52521050caa51086"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManagedProviderCommandExecutor.project_event: MethodTooLong \u2014 project_event runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0093aa87cde572ccefe6af5708d99ca7c5f0afc39342760385641169597db331"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::stdio_mcp::run_proxy: FunctionTooLong \u2014 paperclip_runner_core::stdio_mcp::run_proxy runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/stdio_mcp.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12589047fe305d417e1b8b0f90fd2e51ecf927d3db883914b07a5ccf926502c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environments.environmentService.acquireLease: FunctionTooLong \u2014 environmentService.acquireLease 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":"server/src/services/environments.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d37d778cc33bd01899330110ca36315518badda3e778ef0b21615e6e7cb1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.drainRunningRunsForShutdown: FunctionTooLong \u2014 createHeartbeatRecovery.drainRunningRunsForShutdown 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be0682d0b30861b1d322754831551d7ce1bb8d95d81cbcdf4af09f0ab3b1891"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admission.createTokenBrokerAdmission: FunctionTooLong \u2014 createTokenBrokerAdmission 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":"server/src/services/tool-access/token-broker/admission.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce19294a6f43f93a094ce8658196e098394ab443917348ca239c977ba07655"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connectivity.createConnectivityStore: FunctionTooLong \u2014 createConnectivityStore 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":"ui/src/lib/connectivity.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c970c206233c5fccf30ca17d78b62405a3c8da9f107bf30602c4e94bca3d50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.SkillCard: FunctionTooLong \u2014 SkillCard 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"4756150d51222ead30c3abc85df3d65b3dada01505c22ab6e00c8c82bd779e1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/configuration.ts: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: createChatConfiguration (105-1010). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8057a8339cba8e17fd4f37369138f1eb77be06bd8b0a8ccd846a97e0828d56"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InstanceExperimentalSettings: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 227 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6b66a9c31610d83af4d33afbe13537d188124efa7b30abd321a61252d69d05"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AwsAgentCoreHarnessProvider: ClassTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 3 blocks, lines 1107-1956. The bar is 400 significant lines; this is 225 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e603ffad9ee5cd318e2c4d17b3e2de344d97806b22d5bc57c1a3e0daeee92719"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-harness-backup-expiration.ts: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: nativeHarnessBackupExpirationService (288-949). The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2506553963edbcc445322a62a1bcf8849a871fdea94838002a9cac690d02b87f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-provider-artifacts.ts: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 281 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d756599f8b7c91cecd1a1fd655e3db32691cb6084a2584a7fb80f721c2211f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Browse: ClassTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 224 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71de8836ca88d3c66ce9a2ad03375f4bcf0835a987b9efc2132d25b42428761f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: public-view.publicItem: FunctionTooLong \u2014 publicItem runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd45698e05ef48718e900b73a188d9de11497b4a9c7b1a0740c4a862073a2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: error-handler.errorHandler: FunctionTooLong \u2014 errorHandler 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":"server/src/middleware/error-handler.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ac0c86c771b1b0dd2b0afffa9f96dee880d1a5fb2e8b82f14665bdf167d543"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-history.decisionHistoryService: FunctionTooLong \u2014 decisionHistoryService 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":"server/src/services/decision-history.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ffb0284065997841a3dcbb686d2acb7dd9ebac1132ac8385e70ee8ee208212"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evidence-classifier.classifyNativeEvidence: FunctionTooLong \u2014 classifyNativeEvidence 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc37c63c09755af1ce3209cb87d8e39cbe4019e573a0c8eb5c4d7978c0e4fde8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaperclipRunnerSemanticAuthority.#readBinding: MethodTooLong \u2014 #readBinding 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":"server/src/services/native-runtime/runner-semantic-authority.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeb34be6d1827ddcaa173b16b21946262f678458b1c6520c4d81b56a0b6c697"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.repairNativeBlockedWait: FunctionTooLong \u2014 recoveryService.repairNativeBlockedWait 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0b63aebfaf1e53e74c7d5b40009cded1247f84727dec81f88cbe7d68cca91c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attention.createToolAppAttention.listAppsNeedingAttention: FunctionTooLong \u2014 createToolAppAttention.listAppsNeedingAttention 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":"server/src/services/tool-access/catalog/attention.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e84695636709321f2f109aec33e9600ababfca4f615876907a9c1236acc6c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillFolderTree.TreeBranch: FunctionTooLong \u2014 TreeBranch 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac738d45c7128bc96decb3da9936faea55e7bac00da1c617aaf153cb9ab9af5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillSources.SkillSources: FunctionTooLong \u2014 SkillSources 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e121a9489a0d25164887eb50a416543d8e0e8e3a3f91a43c92e56f36633309f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.StudioShell: FunctionTooLong \u2014 StudioShell 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"db53ac712302549d78a917503eea1504c32c5c5ecdca9544d26399274ab5fce5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointDetail.ChatEndpointDetail: FunctionTooLong \u2014 ChatEndpointDetail 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac91fd24bdbab35e46847efe61d68b0e3a7501361eacefa1ed6c329f226b4c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatEndpointDetail.Settings: FunctionTooLong \u2014 Settings 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7410bfc42a7a3fb43313c34195fedc1c566503540726b5c077030678f28553"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-interaction-bridge.ts: FileTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 279 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185f7b5cd0590712f073af1d6f651248fef09ae4e79c62a8caa6668a5bdb6c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/file-resources.ts: FileTooLong \u2014 777 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: fileResourceRoutes (354-963). The bar is 500 significant lines; this is 277 over it, 1.55\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"423bd649b977a0d64bb4a476887781a63f02ba93cbf5e6d6cb19e4f81a50b2ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboard.quickstartDefaultsFromEnv: FunctionTooLong \u2014 quickstartDefaultsFromEnv 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":"cli/src/commands/onboard.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"843348c692250da9cf4411d74339e2bd528458f2f8e1ff95c8d1d437eecec8ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpxProviderState.accept_event: MethodTooLong \u2014 accept_event runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5fb77b944c125668ff65330ffeefecfa0a53ff5990704ff1f1af1587edb659"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresRunDispatchAdapter.loadGateFacts: FunctionTooLong \u2014 createPostgresRunDispatchAdapter.loadGateFacts 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"467bacf38edec647a0358f3e13be5419794a93a93cfbe723e0d277b6fd6a090a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-discord-command-registration.reconcileDiscordCommandRegistration: FunctionTooLong \u2014 reconcileDiscordCommandRegistration 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3ff2d819b8185f8c607f8badd6155c49856f5fa105c98ded72898f5fa33d33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-history.decisionHistoryService.list: FunctionTooLong \u2014 decisionHistoryService.list 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":"server/src/services/decision-history.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"92889af163b87c704441cb2c89f6222f18c6d8dbf7f3ad85fb230a52b1733a50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-interaction-bridge.routePersistedNativeResultAttention: FunctionTooLong \u2014 routePersistedNativeResultAttention 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f813273a4d34b1a3bb5889c5d29fb72a1cb4a85ee85ffbb5df0c108668eff8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-managed-skills.pluginManagedSkillService: FunctionTooLong \u2014 pluginManagedSkillService 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":"server/src/services/plugin-managed-skills.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e94d675452d0e52682dc35aab08c09a1c2c769c2340c4d83c7322015fa87d72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-installation-maintenance.skillInstallationMaintenance: FunctionTooLong \u2014 skillInstallationMaintenance 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc08fa6cbb5af3de262f5e6c266f0ab41bbf27a1ee43fd1809f5883705fb347"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidePanelTab.SidePanelTab: FunctionTooLong \u2014 SidePanelTab 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":"ui/src/components/side-panel/SidePanelTab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e03043a11141381e92ba40a85e8f9c3d88ce44ed56a1d8a7ed0460aa75ce03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Inbox.FailedRunInboxRow: FunctionTooLong \u2014 FailedRunInboxRow 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c69d2c77d723d2f2af9c89979b057880e8f75af3fdd9daef361660f54f6560a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MarkdownBody.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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c852a855f5fe1f8bc8bb9206bccea9c14ba6da909a2bb57a6208e60cd3f59d11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/capability-issue-thread-server.mjs: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: createCapabilityIssueThreadMiddleware (364-1127). The bar is 500 significant lines; this is 272 over it, 1.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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3df98241f4c5c29223a46a6954a2828c8bdf010358e4b2fb740e10777abb26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/teams-catalog.ts: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/teams-catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ab65a0b21b43b22bc7a93385fbc2bfae1dad5061c801cc3bdc91cd7c2c6d5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex-local/config-fields.tsx: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: CodexLocalConfigFields (71-884). The bar is 500 significant lines; this is 272 over it, 1.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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07147fa3bb944ebfc2dd5f2f1697cef924338906a460d9ef3b477b29b613560f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/use-cases.ts: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8420c6eb85bc37aefa816902d56dcb545d7586cbc5a252fbe432c7b2a80e8913"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recovery/ownership-registry.ts: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/ownership-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bb10d1ececfe64cfb87ca43a0ad74f2a2b29db5289ee15df1b90d43c8a9aaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-adapters/generate-wireframes-v8.mjs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc/plans/chat-adapters/generate-wireframes-v8.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2c158ad7f0c69ecdd9dc7b9b9f614e4418a52c245e867988efcc124adfb6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.buildClaudeRuntimeConfig: FunctionTooLong \u2014 buildClaudeRuntimeConfig 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cdc15f50ba4d87edaf01bd9dd5743e71e28ce4ab3ecb350e1718611fb42dd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gateway-events.createDiscordGatewayEvents.processDiscordGatewayEvent: FunctionTooLong \u2014 createDiscordGatewayEvents.processDiscordGatewayEvent 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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"203214e757c5e2482ac83f69405e3306d612f7c722a8b0a581975f634faca117"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatMarker.TaskChatMarker: FunctionTooLong \u2014 TaskChatMarker 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":"ui/src/components/task-chat/TaskChatMarker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd1e9691008816cae480efad8bacf26aeccb4d94067facb128495599a1622e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppNotConnected.AppNotConnected: FunctionTooLong \u2014 AppNotConnected 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":"ui/src/pages/apps/AppNotConnected.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcead2e77ca16d16b57c5c4854544cb45c156b1c72680410c7afeb735a0d3ba6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditTab.ActivityRow: FunctionTooLong \u2014 ActivityRow 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41eb64c4e169dc1487081650138bfb2c305afb0b614ace05572a2d3f06f8846"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 266 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":"ui/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"704578a0e1183c9ddd70ff5b87422e0f802dba520bffaedadb82bfbec5401a19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: acp.testClaudeAcpEnvironment: FunctionTooLong \u2014 testClaudeAcpEnvironment 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff58be2756f59cf2520209b3cf0cd113e1c33aea782fbbfb977d5c4acc2e930"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthenticatedTransport.connect: MethodTooLong \u2014 connect runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2f0de6b26d7aa05713320549eb382f97e5c3ab0729474f63255cc42e058d4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-event-delivery.createLiveEventDelivery: FunctionTooLong \u2014 createLiveEventDelivery 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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5669a21f8db170abcdf28e257c29b2376516b593b1f1149a620af9fcd3ac562d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-management.connectionManagementService.prepareAuthorization: FunctionTooLong \u2014 connectionManagementService.prepareAuthorization 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":"server/src/services/connection-management.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d3e2f0eca4dbaaf41ed3a7f090df6f140e06926c1fb395a2d97560653f4cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommentThread.CommentCard: FunctionTooLong \u2014 CommentCard 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac10075dadc5d9646932684d42bd62c3491e2ac094b4cb1443a23f7cc5525282"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommentThread.TimelineList: FunctionTooLong \u2014 TimelineList 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0347e63723480bac7c3e5df0fd419113fd2cba7c5c2381adeb59c7b4ff5a5fad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OwnSlackAppSetup.OwnSlackAppSetup: FunctionTooLong \u2014 OwnSlackAppSetup 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"77598514c6cbd959270901416e60de331fc1c9aa8af695de4ca09446a6b83016"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Search.tsx: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: Search (135-716). The bar is 500 significant lines; this is 263 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Search.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"195742e960c1eef469d7d7d558ef5fc33d26b722065fcc961bb5c0dcf0d24ed6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: teams.registerTeamCommands: FunctionTooLong \u2014 registerTeamCommands 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":"cli/src/commands/client/teams.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"609f5736b398d355f35c8d884b53766773d88c91d6db9bad6a2114774874bdd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: copilot-tool-evidence.createCopilotToolEvidence: FunctionTooLong \u2014 createCopilotToolEvidence 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da73172ce20c610bf8c0f98cc9f36fa7b66fa3fa9653d5cca816b43bd62e52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityLiveSession.#connect: MethodTooLong \u2014 #connect 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3882fe944f05dd3a593df25eed1fb4093dc253bcf8d1da766e3ad623c85d5e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-start.createSlackTaskStart.admitConfirmedSlackTaskStart: FunctionTooLong \u2014 createSlackTaskStart.admitConfirmedSlackTaskStart 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a166580230aea2994e830ca48c976349a0dbb34cbbfb71da3b946b111a52422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaces.assertGitSensitiveAdapterWorkspaceValid: FunctionTooLong \u2014 assertGitSensitiveAdapterWorkspaceValid 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54b4f02c021f6f35032f608d6050a531d3ca9b2da2dadb3288127b9fff4f009"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatChainOfThought: FunctionTooLong \u2014 IssueChatChainOfThought 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4511ad18ca6724af9e72238168e4be9ada435f85ff0cc02e9f4961f8d382680"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/RoutineDetail.production.tsx: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: RoutineDetail (161-956). The bar is 500 significant lines; this is 257 over it, 1.51\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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90489fda6fe0250b2626a485a5f11f8349c5782ed7ae10275d7c9787a60c5d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generate-wireframes.viewerHtml: FunctionTooLong \u2014 viewerHtml 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":"doc/plans/chat-adapters/generate-wireframes.mjs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"688ed40f2de63f70cbf2f7628960cba3f39197290a2f82f4674635ec38148955"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execute.execute: FunctionTooLong \u2014 execute 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"02be537e35adaf834712dfa40293a75e12c09122a930be598c834ff782a2b401"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: events.createPhotonEvents.handlePhotonEvent: FunctionTooLong \u2014 createPhotonEvents.handlePhotonEvent 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc6100ce08c3adb81bccefe26f5bcdeebbac8d97abab63e96088cd1e7778ead"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-workspace-export-retry.retryNativeWorkspaceExport: FunctionTooLong \u2014 retryNativeWorkspaceExport 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":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7434dc175f8835604f465ae83aef608c12f80029274e506dba2da868ee336b33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-instance-secrets.projectInstanceSecretService: FunctionTooLong \u2014 projectInstanceSecretService 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":"server/src/services/project-instance-secrets.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"07691784d3ce56acc75b2efc6f47bfeb1653bd51da01bd800b6aa9dbc2227879"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ownership-invariant-report.runOwnershipReconciliationPass: FunctionTooLong \u2014 runOwnershipReconciliationPass 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e6895456b559f6d9baa6a31a5989e455afa7fbcfbbe55f332a15f18552b2e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-recovery-source.inspectWorkspaceRecoverySource: FunctionTooLong \u2014 inspectWorkspaceRecoverySource 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":"server/src/services/workspace-recovery-source.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff22241880c20be07557b15f75d116040f36b60f8bbd92c189851232dee71510"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatProviderActivity: FunctionTooLong \u2014 IssueChatProviderActivity 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4607978dd1ee81909174895fa1367dfe8d6e08c7c8119c8860fb18085aeb2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatRunnerTurn.TaskChatRunnerTurn: FunctionTooLong \u2014 TaskChatRunnerTurn 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":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca811c1520b70bfd5df9ddfad8341f14ecafecaa4c4f6cd43753ba2a4d2b1623"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AcpxSidecarTransport: ClassTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 33 methods, 2 blocks, lines 126-1051. The bar is 400 significant lines; this is 202 over it, 1.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"29652ddf41b3ab5712218402ced2dbac4f465f622fa08a550a6145b4447cd99d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-harness-filesystem-independence.ts: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 252 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7609b4d8184d1638eb7deaaf3023bff026ac5592d4a93dd93e9920ec40469657"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/provider-effects.ts: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: createProviderEffects (171-959). The bar is 500 significant lines; this is 251 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb513981e5ac95e1cf1acec56caaf84906a7c7c4ac88559c00070d378408ca0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CursorCloudSession: 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f25ea4d44676f8120ef9417e9f13a0248ebb73111a7e2ef42797b1162d99df0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: approval.registerApprovalCommands: FunctionTooLong \u2014 registerApprovalCommands 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":"cli/src/commands/client/approval.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf80a18293294ae16d3b4b678dd8ba8640ab5c8ceae08fe8c305dd53a46a503a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::aws_agentcore_provider::network_loop: FunctionTooLong \u2014 paperclip_runner_core::aws_agentcore_provider::network_loop runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137c4c22ef0789fc1b6e74d624699f27c53c6137a03f8451ce38291d93a0d2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: durable-prp-control-plane.warmTransitionRecoveryProof: FunctionTooLong \u2014 warmTransitionRecoveryProof 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"241ee6f3e15a4f0c51ca9cc001efc0dcf571b95e88c791a3109a7175fc68554f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-question-adapter.normalizeCodexQuestionSet: FunctionTooLong \u2014 normalizeCodexQuestionSet 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc5ce688b224f721452ee21341583c58abceb2fc04b6e51e258ab68ac8660c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: routines.routineService.restoreRevision: FunctionTooLong \u2014 routineService.restoreRevision 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":"server/src/services/routines.ts"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee4a421c183396bb257df351fff3a919114b72f51303daf05bb596889f4743c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineTriggerCard.RoutineTriggerCard: FunctionTooLong \u2014 RoutineTriggerCard 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":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b21d0adfc535c3f4c13b71834b6becaf7951bfc926e8694db7e395d75828e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsUsingSkillDialog.AgentsUsingSkillDialog: FunctionTooLong \u2014 AgentsUsingSkillDialog 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":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd6ec408a38635971b95839ba12ed68badcae86d6c51aff5a84e7d714bbe240"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatCompactInteractionCard.TaskChatCompactInteractionCard: FunctionTooLong \u2014 TaskChatCompactInteractionCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2183b386f0b5bcce51c9fd1123d211fccf136d0c063bdfd4564b844dc00da6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Cases.Cases: FunctionTooLong \u2014 Cases 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":"ui/src/pages/Cases.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da24509c3fe66732dd7dcd40300121091a1357461dd7ce8c574850649593a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CliAuth.CliAuthPage: FunctionTooLong \u2014 CliAuthPage 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":"ui/src/pages/CliAuth.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f97fc4c17555804f1a920b04fdd7175aa4cead7f5d0f76dd9cd05180866daa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/skills.ts: FileTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 247 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2b5d5ac45cbc63c409bc4554e165ce5c2d4bfe82864d29d907ea9f18bfc674"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-safe-replacement.ts: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 245 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfa46b2059090824f08b4d4fd874ab3ab9d343990a346a84e623784142e256a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: policy.decideQueuedRunStaleness: FunctionTooLong \u2014 decideQueuedRunStaleness 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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5ea50a2be5005906fb1331cbeed903fa1cf31222209501b27a800aedcda21a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decisions.decisionService.executeEffect: FunctionTooLong \u2014 decisionService.executeEffect 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":"server/src/services/decisions.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111d3cb59c24526c6a468adc3d1cf34dba963f59fabab54bb9307392b2b5419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fresh-workspace-continuation.readFreshWorkspaceReadiness: FunctionTooLong \u2014 readFreshWorkspaceReadiness 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf850b197067e0fa056f436ca2c318e61358a10daed435fa1873775c36320db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-source.resolveRemoteWorkspaceSource: FunctionTooLong \u2014 resolveRemoteWorkspaceSource 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8c5fa832d8cfe52483d460181cee0a502f136d3e269f6f7bb100f5cff821b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineSaveBar.RoutineSaveBar: FunctionTooLong \u2014 RoutineSaveBar 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":"ui/src/components/RoutineSaveBar.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4031764b58db152179e48bc5add0f83424279248bbab3bebc918e282d1bf6681"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SecretPicker.SecretPicker: FunctionTooLong \u2014 SecretPicker 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":"ui/src/components/environment-variables-editor/SecretPicker.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3740c9279dc8fd0582b23f6d733438d29c3422cead224a58c4bb84ecb9c3899b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EmailEndpointSetup.EmailEndpointSettings: FunctionTooLong \u2014 EmailEndpointSettings 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"105fa79e78250249a6388a6ae276a2fc7bceb57a26074d742f3f4a1092a348db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: issue-thread/live-projection.ts: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1bc3d539f557742453bc87d34980d5c6e125b87391c7424b3dd191fe16efa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profiles/ProfileDetail.tsx: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 243 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c648cb0d282715cb62e041b3ec2e45178baba8195751b8d13ca104802f9caa9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/setup-token-session.ts: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 240 over it, 1.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":"server/src/services/setup-token-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96061c26081e004125a54f5c27fbbe54c7770b151b2cc9f17dcc9ef5411d6e96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/tool-runtime-supervisor.ts: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: createToolRuntimeSupervisor (132-887). The bar is 500 significant lines; this is 240 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-runtime-supervisor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c2a3c50c7ec867938390a08688b742b0f2c50503ecf0e40a6ba70c57cf097"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: qualify-cursor-denial.runDenial: FunctionTooLong \u2014 runDenial runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/qualify-cursor-denial.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e1ce5101ca410be247c0d7490126847958574b667992b76a069d6e4e67ff84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-run-publications.lifecycleMilestonePages.\u003Creturned closure\u003E: FunctionTooLong \u2014 lifecycleMilestonePages.\u003Creturned closure\u003E 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b82659fae20b9a7f75f8021b76c9995fe9ac839417681c9bd74681744cc53d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboard.dashboardService: FunctionTooLong \u2014 dashboardService 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":"server/src/services/dashboard.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3598c3337650b825f7454994508175b919ccc451c355adde5fd94ebb8dafb47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: online-workspace-source.inspectOnlineWorkspaceSource: FunctionTooLong \u2014 inspectOnlineWorkspaceSource 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":"server/src/services/online-workspace-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1509dc6d2dd58d5e58cc7e29b13d4ab1819928124d426021c989fa4eea85e985"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: schema-config-fields.SchemaConfigFields: FunctionTooLong \u2014 SchemaConfigFields 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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dc96b24ad74772d4d826c820b72246ced6c75456cb50934581fb17fc2a1683"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.CatalogDetailPane: FunctionTooLong \u2014 CatalogDetailPane 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07d4985e4a28cb34c5a9ac92af66c7288f865246b64acfd33a07cd9e89e9b03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.CatalogDetailPane: FunctionTooLong \u2014 CatalogDetailPane 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"914993be1446018e7119db86f8ccc8ba2bab8be4daf5f1f61e66a77a508fb85d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Projects.Projects: FunctionTooLong \u2014 Projects 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":"ui/src/pages/Projects.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c0fed2ffc97c7d7d7b79bbb87fa9a9e269c910880ef4fec11d14d5392ac08a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserProfile.UserProfile: FunctionTooLong \u2014 UserProfile 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":"ui/src/pages/UserProfile.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb7aefb112c02d003e77d9236fb568b034d5647986c2d7939f537ca06465df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubConnectionRecovery.GitHubAppRecovery: FunctionTooLong \u2014 GitHubAppRecovery 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":"ui/src/pages/apps/chat/GitHubConnectionRecovery.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5a7f4e4c2c543052a545ab94245fa731d9e059c608b573691bda2d0512f981"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profiles/service.ts: FileTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: createToolProfileService (17-910). The bar is 500 significant lines; this is 239 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b39449a57f7bf9b34743dc36049790f43c44e3beb62d6537cbe9322ccaebefd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backends/harness-driver-backend.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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fd0eecf243c5d4fefb8b9c36cdfea4f5b9177a131380cf0bc8f9744e58c319"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.verifyStoppedNativeSessionForContinuation: FunctionTooLong \u2014 verifyStoppedNativeSessionForContinuation 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6856425cc55a331debddde37ad9efe17869c66d4b058e03de453df04018a404d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteMcpConnectionSetup.RemoteMcpConnectionSetup: FunctionTooLong \u2014 RemoteMcpConnectionSetup 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":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57365fd8db53394a784afa0c5a987ec31da758072709787e49c33a20f5b5cfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.production.KeysTab: FunctionTooLong \u2014 KeysTab 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc4663787ad1cbadafb21d218e213ab6e1ff9677a88287a333712f9ab40d73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.KeysTab: FunctionTooLong \u2014 KeysTab 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3576}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a6c1beaa185aa40664b962f768c7047ea34d6496e2219f7baa1c8140d78fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CrossIssueCollaborationUxLab.CrossIssueCollaborationUxLab: FunctionTooLong \u2014 CrossIssueCollaborationUxLab 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":"ui/src/pages/CrossIssueCollaborationUxLab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba0772e69014f41b884366f702aa966501542ba3bae1bbdd9bb8c1a63dac4da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/git-workspace-sync.ts: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 234 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4653b6fe7a7dd615393712b9b83967c644a140c64a3dcc3a3cee464e0f138dd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: telegram/maintenance.ts: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: createTelegramMaintenance (101-954). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b84a5375e088a25861fe51ec6cf11e47868dd672204b5e90dcd42c2238aeee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/WhatNeedsMe.tsx: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: ClassicWhatNeedsMe (100-890). The bar is 500 significant lines; this is 234 over it, 1.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61da836cb882697759e3ca938523f5a93ad4b729825e228a78f8c793071d6b41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenCodeHarnessSession: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ec7840d8babc490417e34499692b14f82d5d7a38899126bca0ea998f60d5fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/check-migration-safety.ts: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e883e8a444d82006623d9a98aa0dc84baf1865c1cccc666062ef7bb0c8561"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/BoardChat.tsx: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 231 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce3094dbf141cd7040eb1699e40af242f12ae1ef0d1a4b89a9e2217e08b1e71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/publication-replacement.ts: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: createChatPublicationReplacement (56-967). The bar is 500 significant lines; this is 230 over it, 1.46\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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7ca700d811a8bb42691cc6a1f40a404d3fe6fc55ef5effc939e57f28e3f1d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree.runWorktreeInit: FunctionTooLong \u2014 runWorktreeInit 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7165271a84c67b013216d9347e4e633fb57b0bb2d1b703fe32a3a6d8806cd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run.runControlledEval: FunctionTooLong \u2014 runControlledEval 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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b6c9da0a4a5f350e958b4bbce9059af96e5b26e413e308e426463c47e37164"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createWakeAdmissionWriter: FunctionTooLong \u2014 createWakeAdmissionWriter 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f26a57d586e37f693c3b6a1266143b0ddd5826aad00851cf006307b417f7e01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-drafts.createTelegramPublicationDrafts.handleTelegramGenerationStopped: FunctionTooLong \u2014 createTelegramPublicationDrafts.handleTelegramGenerationStopped 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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed24b80d61d254e4be6aaca341d735e30f6202c43b011d1f0fd7bc501e80dd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: idle-retry-schedule.readIdleRetrySchedule: FunctionTooLong \u2014 readIdleRetrySchedule 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":"server/src/services/heartbeat/idle-retry-schedule.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb0aa9a8ae57d441379f4a51ca44beafacc024f88b7388cee13fc6f01fd8060"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scheduling.createHeartbeatScheduling.performIssueMonitorRecovery: FunctionTooLong \u2014 createHeartbeatScheduling.performIssueMonitorRecovery 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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c2bc4dd31f33a1aa754350cf96e11d7c905770a05541cb01eae0ce8844e806"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiConnectionSelect.AiConnectionSelect: FunctionTooLong \u2014 AiConnectionSelect 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":"ui/src/components/ai-connections/AiConnectionSelect.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da5ea70cb1dd1c5f417fbe235a46b9be9e2ecf54a7f9ed5d54d5e7908d4cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transcript-adapter.buildTurnTimelineRows: FunctionTooLong \u2014 buildTurnTimelineRows 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfc841b23563a18bca9a6ccc761df9361121d85bc0fe1bf57a5a55f3484a42c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompletedActivityPreview.CompletedActivityPreview: FunctionTooLong \u2014 CompletedActivityPreview 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":"ui/storybook/prototypes/completed-activity/CompletedActivityPreview.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a98041e00ff1195aa14887d465a6c7aca33bf8bc947ea8df942ab8c7bc5664"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/InstanceExperimentalSettings.tsx: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: InstanceExperimentalSettings (125-845). The bar is 500 significant lines; this is 227 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":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d7e3fa448df71527fea8ab7d351072ba501c862c800e6cd6f3377f9b32c80d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: slack/session-stop.ts: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: createSlackSessionStop (137-886). The bar is 500 significant lines; this is 226 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcc9f578bb6dad47f7d2a7a7bad770eea554bfa8e97449065b58c89e803a412"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routine-sections/editable-sections.production.tsx: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 225 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d0616a66b88c1f7349ae0f815b064e4fb9f50949f1304f1da557136db1e522"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server.promptServer: FunctionTooLong \u2014 promptServer 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":"cli/src/prompts/server.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b0064167d78dafbb7e92ed012a7af45810a798708643f823046efaac6c3aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-site-sandbox.createSandboxRunSite: FunctionTooLong \u2014 createSandboxRunSite 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":"packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc55827e0a9882e4a0371a36d707097f5c2df77e6dea27d11ed84a1630d6b2f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurableState.enqueue_event_with_source_event_id: MethodTooLong \u2014 enqueue_event_with_source_event_id runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"202aef61789273f7cd36a0c23cae67d79bbf7a1685ebb7c503be3b78f67c3c52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalCommandExecutor.operation: MethodTooLong \u2014 operation runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"86be48b222ec22e1b84a12f40f8aa48ab155fcd1723773e8bd51619e1596222e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: artifact-review-documents.artifactReviewDocumentService: FunctionTooLong \u2014 artifactReviewDocumentService 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":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59c8931df3e3feb986d8183d3379da9fe9b31f596a3f246405b6358bbef4ac1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-use-client.browserUseClient: FunctionTooLong \u2014 browserUseClient 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":"server/src/services/browser-use-client.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0015723f5e7f43f193cfab9506a74e81de3d129a46e7cb0a00659622ae14f855"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: root-threads.createDiscordRootThreads.reconcileDiscordRootThread: FunctionTooLong \u2014 createDiscordRootThreads.reconcileDiscordRootThread 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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d185cb4bcea4e1095940f85ece1781deff22b2cd1a9c4fab9af1d760f56d1db2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-skills.companySkillService.getTestRunDetail: FunctionTooLong \u2014 companySkillService.getTestRunDetail 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":"server/src/services/company-skills.ts"},"region":{"startLine":7049}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c277c137194d6d812134e19941feaaf195b8a72ee7466b8a0426034348d184"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboard.dashboardService.summary: FunctionTooLong \u2014 dashboardService.summary 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":"server/src/services/dashboard.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d56cdff19e6a7462ccf75c36719934da21e935fb9e13650676b3497399ed159"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-preparation.prepareHeartbeatSession: FunctionTooLong \u2014 prepareHeartbeatSession 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":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d94bebd3f3e23bafb5d73f9ea05a4aa73b4f2c4480f448ba8b08798c8d7f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usage-receipts.createRunUsageRecorder: FunctionTooLong \u2014 createRunUsageRecorder 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"87809fb86be99a2567487f2a3d6e3b962dfc7165ca9fca1d74b3622ea4c105b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueArtifactCard.IssueArtifactFile: FunctionTooLong \u2014 IssueArtifactFile 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":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c9f92f3579b4188960fb677543ae0ebd4596e3cf035b32fd5afda9df37ab06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubChatPreview.RepositoryPicker: FunctionTooLong \u2014 RepositoryPicker 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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a2ea178595e0aec3150c5fca333ad034556e3a03f20f16ef5659c44b8e88c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/task-interruption-presentation.ts: FileTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 224 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89fccb0b89ad544c1c94564ffcb7cc3d2c8df8fc067be6f7e359e4d40e3c790"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 721 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: execute (229-933). The bar is 500 significant lines; this is 221 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abce91efc37747fe365bd24fe6b9b093e10356a9ad99007fbcdec656a8fa75d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/qualify-opencode-cold-recovery.mts: FileTooLong \u2014 721 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 221 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477d79a73871ea02ed365de747369ea357cfe221b91f2b9b7485a17e8d520b9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/agent.ts: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: registerAgentCommands (229-929). 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":"cli/src/commands/client/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c1889501a5e18d52f5ed2cb99f0186e258cc70fce2252fd11b7bcaad453a7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: qualify-copilot-acp.runProbe: FunctionTooLong \u2014 runProbe 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c59c3ecb59c79cc2d5998cadd9a79413d865f025a00c52686484b83644c73ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-stop.createSlackSessionStop.stageSlackSessionStop: FunctionTooLong \u2014 createSlackSessionStop.stageSlackSessionStop 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"001d900f1b792b103f862542dab2a57f0999c010664b2396e5b3fe4e0ae0ee71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: health.buildRuntimeAlerts: FunctionTooLong \u2014 buildRuntimeAlerts 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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dbb98409b308f3d6b43eca174372995b4c364ce30cc202a82e95af6db5f37e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-reviews.githubChatReviewService.scope: FunctionTooLong \u2014 githubChatReviewService.scope 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e84272664be504345474efd4fae15d8a0318e6c4a1b2d119ceb6242bc87a20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExecutionParticipantPicker.ExecutionParticipantPicker: FunctionTooLong \u2014 ExecutionParticipantPicker 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":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6afa921126c308b8eb311355679a2dcd768088838514bdcef7b7132d3ecc04c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatLongThreadPerf.IssueChatLongThreadPerf: FunctionTooLong \u2014 IssueChatLongThreadPerf 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":"ui/src/pages/IssueChatLongThreadPerf.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2969ccfff3968fd971273aa61ba3935a2e61195655d748761eb2aa53fb87b8fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetMyUserSecretDialog.SetMyUserSecretDialog: FunctionTooLong \u2014 SetMyUserSecretDialog 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":"ui/src/pages/secrets/SetMyUserSecretDialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"83920efa8cb194b2cc3f3c03a634a33ceb02bf644fdd5ec8276b87e29e4df0cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/provider-profile.ts: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 211 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f314f527c3f14cc57a6e91117882e96b9ebf96dc2ef087ee3be103c6950774"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/documents.ts: FileTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: documentService (114-873). The bar is 500 significant lines; this is 210 over it, 1.42\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":"server/src/services/documents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3c88933a49ca090c306e3b264037bae34a2df7d12d28cbf983ff150ca24666"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpxProviderState.accept_runtime_event: MethodTooLong \u2014 accept_runtime_event runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"955aba2a2cf69d59896deb432a6ac203f71074861e73776e2feff87ea6ebdf1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-attachment-reuse.prepareReusedChatAttachment: FunctionTooLong \u2014 prepareReusedChatAttachment 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace9c829b36e6c2eba5953ca16cf3ad4010ce1a6b43fc81c41f53102eb1d73c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.connectedMcpToolsForCompany: FunctionTooLong \u2014 createToolGatewayService.connectedMcpToolsForCompany 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bf8ba923aac126aa30f52a180a0913b88c1e9f81f4c55615189e1900b770d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarStarredProjects.production.SidebarStarredProjects: FunctionTooLong \u2014 SidebarStarredProjects 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":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc81fcbb76114d5e2d4a7a758afcad1e3fc6deafcb7cdca17008cf2fc4381543"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarStarredProjects.SidebarStarredProjects: FunctionTooLong \u2014 SidebarStarredProjects 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":"ui/src/components/SidebarStarredProjects.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7542efea04a623ceaa6820cc153750adbd65a5a69ab9a2f30c372e11f7ea7d02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceExportRecovery.RetainedFilesRecovery: FunctionTooLong \u2014 RetainedFilesRecovery 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dec8968ccfc1aa0335d752d583cb94375c859c0ad577a2ddecb859b89cd76dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-access-state.resolveWorkspaceAccessState: FunctionTooLong \u2014 resolveWorkspaceAccessState 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":"ui/src/lib/workspace-access-state.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec503418130fe22644f6e964855f68785b8135f75f2e34d39f0faf714524d1cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/InviteLanding.tsx: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: InviteLandingPage (215-870). The bar is 500 significant lines; this is 209 over it, 1.42\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":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6151a401532d624b0f15fc2d2fdbd9fb2e6b778b88f9ecc91502f10ca4d790b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DevtoolsInspector.EvalReportInspector: FunctionTooLong \u2014 EvalReportInspector 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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba5310f601b6fe2f558e8eab92ae6bf5826529dad5f726e7edca24994a6bc82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::tool_file_changes::codex_turn_diff_snapshot: FunctionTooLong \u2014 paperclip_runner_core::tool_file_changes::codex_turn_diff_snapshot runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/tool_file_changes.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07ab4c820a56833aa8147cc34c28e8ab6d65b5195ab79a57bf72dd1437cc35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-cases.createAdmitWakeBehindIssueExecution: FunctionTooLong \u2014 createAdmitWakeBehindIssueExecution 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcb8e6077c8221e4470b3131a537108ccc9b47c91d74a3a3653fc17dbb2bbb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-blocker.getExecutionBlocker: FunctionTooLong \u2014 getExecutionBlocker 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":"server/src/services/execution-blocker.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5a6b1e72cf31a46050b5666d88e0d0223ca4a56b533665d3a2e20a3e7e4088"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-recovery-work.registerLiveRecoveryWork.register: FunctionTooLong \u2014 registerLiveRecoveryWork.register 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":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4eef66c4e6ca1e196bfc76760424f69ea1c0b46feff3a777e2defafe9a287b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-runner-file-handoff.prepareNativeRunnerFileHandoff: FunctionTooLong \u2014 prepareNativeRunnerFileHandoff 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b00321cb3dade1de158812d5b253845cf16bf191128bf2fabebece75d54b912"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-watchdogs.classifyTaskWatchdogSubtree: FunctionTooLong \u2014 classifyTaskWatchdogSubtree 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e409a4dc71a8634020af81c8c3b50a9fc395464eae2a60868d62da57c48223"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.writeAudit: FunctionTooLong \u2014 createToolGatewayService.writeAudit 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"61999e6e2cd31d57938065d28434b6ac5aa5a65d9d9c74b771f44c8b4b20b3ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/acp.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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a9d0f5e88811f6cd27c0dfa5a2a09cb4e4b24225b0d5211301f8c1141af1b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/agent-instructions.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":"server/src/services/agent-instructions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86f85c9b7a23f003e1700740c9f8036c9ae8d7d3482dd6dbe6cd5f3dfcafcda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkspaceFileBrowser: ClassTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 163 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4c67982b93c8ea1757332e276257e6da406fc3a6709f699d6a1da8777cb9df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/reactions.ts: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: createInboundReactions (86-891). 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489e4296bcfd47a37e8a4f4df7a42e16bb80ac3a856181b2a22845595995d913"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: semantic-tools/paperclip-dispatcher.ts: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: PaperclipSemanticDispatcher (66-768). The bar is 500 significant lines; this is 201 over it, 1.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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"800c1ed7adc19237c347c286c0b0e8407aeab7a2334a74ea58bea7d4e9487075"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/chat_channels.ts: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 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/db/src/schema/chat_channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d19920abaa2bd627369f72dddbe29c2ca782ce73c0c7e2e942221806e9ddb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: middleware/auth.ts: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 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":"server/src/middleware/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244add8acd513717a756c66c9af01c3f95f93f2cd31ec0cca37a5bee3ade569b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-conversations.prepareConversationTurn: FunctionTooLong \u2014 prepareConversationTurn 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":"server/src/services/agent-conversations.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8488a85c66dea797d6febf3816d41ae4eb9fe41c8b55756cbdc7cdf435ecf5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-workspace-sync.readDescriptor: FunctionTooLong \u2014 readDescriptor 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c6197d6b6a2db85f03d70f2b90b2431d3318348eb5cbc9e95619625a393276"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GoalDetail.GoalDetail: FunctionTooLong \u2014 GoalDetail 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":"ui/src/pages/GoalDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"764fe042257a00cd57c5d5432bfa213b73c7925d01240abcc88a0d3d0f60fc74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegacyInbox.FailedRunInboxRow: FunctionTooLong \u2014 FailedRunInboxRow 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9905b4297744bc4d0ed50235f489fdf90ebd56478109dbaa2cc483ec01346f68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-github-attachments.ts: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f88545422da70195bdd2bdb1a64a5b9cad105b6c39c97c90cf5ec8a22539c8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaperclipSemanticDispatcher: ClassTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 159 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0539c15e2da3c848c66d819644ccb9205f693870f4ce143d1deecc8d337d157"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexProviderState: ClassTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 2 blocks, lines 1280-2006. The bar is 400 significant lines; this is 158 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce21dfbe31cdc9909a03b5d0e3558054c64fbd80b870753ff0eca7d10430b56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imessage-photon/events.ts: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: createPhotonEvents (76-872). The bar is 500 significant lines; this is 197 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8fc867b3b79474e5ab3270ce97866edfa39a9da1bb5f51d83f1770d246019c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote-workspace-snapshot-archive.ts: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: workspaceArchive (15-727). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acab9e2c7ec05d527329587026d58e84fab774ad7abd2fd12263f52a9579d167"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/issues.ts: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: issuesApi (288-842). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/issues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8cf15c55bdc1822c440135063164c040dfa328b460d680850db1c5c6a20e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http2-bridge-server.createHttp2BridgeServer: FunctionTooLong \u2014 createHttp2BridgeServer 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b32472715e21db1dc7c388ac0d247614271ebdcb577ee4af2ca61572c01a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-skill-policy.companySkillPolicyService: FunctionTooLong \u2014 companySkillPolicyService 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":"server/src/services/company-skill-policy.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6336ed577926f4fd9bf953ba1f25d684645748d74f531d88ff961fa699dc618"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-cards.statusCardService.refreshCurrentCard: FunctionTooLong \u2014 statusCardService.refreshCurrentCard 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":"server/src/services/status-cards.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8248b5dd61a82b09f5608a05a9a54029fb5193408fa0261034ea035ef2c400"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-interruption-presentation.projectTaskInterruptionState: FunctionTooLong \u2014 projectTaskInterruptionState 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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f9cdbea9bdaf361a4c56f5b6f6b10c54a06b85ce0603f307e191de048f6c5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: review-queue.createToolActionReviewQueue: FunctionTooLong \u2014 createToolActionReviewQueue 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":"server/src/services/tool-access/activity/review-queue.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a78a96264f22c347719c98327dc667787e19a4a1198bb6c684ea8e35246878"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySettingsSidebar.production.CompanySettingsSidebar: FunctionTooLong \u2014 CompanySettingsSidebar 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":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a73cd60c24191eed5fe573246a6ab53b555fa20a2f7a2ee5b8224348a63d95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: proposal-review.ApproveDialog: FunctionTooLong \u2014 ApproveDialog 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":"ui/src/pages/secrets/proposal-review.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88a8358b8c09ab18a4e6a88441030b19caf76511bf086ce22c9d93311111d5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex/codex-harness-session.ts: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: CodexHarnessSession (64-976). The bar is 500 significant lines; this is 194 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44d49af5a85a83885b42d491cca8473248a3501b1b48382b9fb9f572d9f82cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AttentionQueueRow.tsx: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 194 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cdb67e0bffc2facb7b8682c97518d5a6918cf524521f1f17760ecb5d1e2a0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AwsAgentCoreHarnessProvider.poll: MethodTooLong \u2014 poll runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8e3948c0ec09ec3810a0b2a3a2367de483bef585a28243a19a494ffc33950c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: private-snapshot.createAcpxPrivateSnapshot: FunctionTooLong \u2014 createAcpxPrivateSnapshot 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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"716f255a216733137a45ba2b4fd2918e1255b5485cd13d3c5343f523ff794177"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: credentials.createChatCredentials.persistCredentials: FunctionTooLong \u2014 createChatCredentials.persistCredentials 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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a64ce5be8312af94e92d788e2269454c511c1c8c9894dc5c198c1919c73620"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-sdk-runtime.installDiscordNativeCommands: FunctionTooLong \u2014 installDiscordNativeCommands 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bf9378472a43c0e64cc0742cc2e585940c5d6f98fce25f53f6cbbf073e7894"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-attachment-reuse.resolveExternalChatResponseWaitAuthorizationInTransaction: FunctionTooLong \u2014 resolveExternalChatResponseWaitAuthorizationInTransaction 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"61981525b43003ba1e7cb69d7784f5e31bd7dc7d2e2a591dcfe40ffe755ab279"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunTranscriptView.TranscriptToolGroup: FunctionTooLong \u2014 TranscriptToolGroup 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7945302f98b62636759ce704a03dbf36f17be16921440c001cc2afcf8f81e5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillSources.SourceDialog: FunctionTooLong \u2014 SourceDialog 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6431031c49764b1f6a3ad3773a85604187f6b5c8f3890b1313d76488e5924386"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/EmailEndpointSetup.tsx: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 186 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae731143dde69c49cc6fa7d77983bbce7372adfad2410fce547b4a6b1f16ba3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-run-log-stream.createSandboxRunLogTailFactory: FunctionTooLong \u2014 createSandboxRunLogTailFactory 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/adapter-utils/src/sandbox-run-log-stream.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25e0225dcbc47843b89cbb8c365c032e4776c2143ceaa0d39245fe9ce2ff752"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: core.assemblePaperclipSourceBundle: FunctionTooLong \u2014 assemblePaperclipSourceBundle 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"17479c03727e0bc45359d1af80de496c19b9ebc8d383b96453e1493b0ce59817"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-cases.createAdmitWakeBehindIssueExecution.admitWakeBehindIssueExecution: FunctionTooLong \u2014 createAdmitWakeBehindIssueExecution.admitWakeBehindIssueExecution 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35c618607eb8db0383722d49100d20af46bdb90a3dd1a639c3c5c9acb41a0fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: summary-slots.summarySlotRoutes: FunctionTooLong \u2014 summarySlotRoutes 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":"server/src/routes/summary-slots.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d08930c0eb2fc957ba80fd73a1455f8bcdd94cd715883b2f0f45eeb1f557438"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connections.tailscaleConnectionService: FunctionTooLong \u2014 tailscaleConnectionService 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":"server/src/services/connectors/tailscale/connections.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad300688f94ee1964cadfe86389791820f38c0b92e4660eff80080b87838aa6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-run-orchestrator.environmentRunOrchestrator.acquireForRun: FunctionTooLong \u2014 environmentRunOrchestrator.acquireForRun 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":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d18c3aded956582fa3f7d8f88c5fef93706e2e02cfa4c1fdd86e017dfc83b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-workspace-delivery.createGitHubWorkspaceDeliveryResolver: FunctionTooLong \u2014 createGitHubWorkspaceDeliveryResolver 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a424007f3a3d52fc0a55829e4e7da6719a873d868e5bec90d5e3ff046b21ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-lifecycle.createHeartbeatLifecycle.buildRunLivenessInput: FunctionTooLong \u2014 createHeartbeatLifecycle.buildRunLivenessInput 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"28498487341dc712c73f1f38daab21a0ed72dc407fe1f84dec9cc0880d561022"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: historical-cleanup-verification.historicalCleanupVerificationService: FunctionTooLong \u2014 historicalCleanupVerificationService 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":"server/src/services/historical-cleanup-verification.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f57733c466c29231eb716250a33f68e936451faa3b05130e30ec73cd1d01fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.nativeFailedRunRetryStateIsSafe: FunctionTooLong \u2014 nativeFailedRunRetryStateIsSafe 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"8075035fead289ffbeeb1f7a4e35c5ab3f9ce50af07aa577f9e74faf4480ea2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: review-queue.createToolActionReviewQueue.listActionRequests: FunctionTooLong \u2014 createToolActionReviewQueue.listActionRequests 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":"server/src/services/tool-access/activity/review-queue.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a1d2c3d57a8600a306d112e3ade259089ce370033cad9fe7cb82c161aff34f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime.inspectGitWorktreeBranchIncoherence: FunctionTooLong \u2014 inspectGitWorktreeBranchIncoherence 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76c5743f605be86cb63f643205b4b198e8b17cb336aa072fe61cec9a3987b32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstructionHistory.InstructionHistory: FunctionTooLong \u2014 InstructionHistory 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":"ui/src/components/InstructionHistory.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4f6bb5025dffd969a1858823e4c3ea36eb2fe4555936a26cf8756a62410d64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Secrets.ProviderVaultCard: FunctionTooLong \u2014 ProviderVaultCard 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3883}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5dbd14792880cb75db32ee7d45485fbb6cc12b0abc02eda5ec931828af7ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote-workspace-transport.ts: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 184 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a2e3417a1d95585c38cd61c27bab32e2294356e63d58d5799afcc3aed3c4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CodexProviderState: TooManyFields \u2014 41 stored fields beside 18 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f61dca832b39f0fd0b67cede8f5eae494c9875445e05bca40f3083907c5fad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/index.tsx: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6503a282e46f7ffc2d3ed652ee3f40160f52866cf4c2dfcdcd925eca8411288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/catalog-builder.ts: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a293b6d411d1b6d14fe2134a54c8c047ad1079d8ca152292fd6dfa63d6e5fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: paperclip-runner/index.ts: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62417fdf2e7cf44d915d87677d4927348b3dc16280baa237bfa8818ce0d9545d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkerToHostMethods: ClassTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 144 over it, 1.36\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/plugins/sdk/src/protocol.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"46724860dc1d86f0ea27635b31e79bdae474d2c6e0f97e7e7205fcf4bd355494"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: antigravity-runner-credentials.antigravityCredentialTurn: FunctionTooLong \u2014 antigravityCredentialTurn 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":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"268954e2de5928bedbf1f70d3f65eab0ac1e4783e5e7aa8d353919ee4feb6c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.callRemoteConnectionProtocol: FunctionTooLong \u2014 createToolGatewayService.callRemoteConnectionProtocol 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5853}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc020f1b8ec864c3cc3fb3f6e05c6b43fdfbabd3714809ab23603b3afd1cf868"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssuePrivacyActions.IssuePrivacyActions: FunctionTooLong \u2014 IssuePrivacyActions 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":"ui/src/components/IssuePrivacyActions.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c49a093fede348569f3df1956e95ce8a754341a910841ee6586b1080e77ca9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarShell.SidebarShell: FunctionTooLong \u2014 SidebarShell 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":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2879e9b40866e54eaa4cf38c19489b649713e8439db706db8aa6c35dccebd360"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchFilterSheet.SearchFilterSheet: FunctionTooLong \u2014 SearchFilterSheet 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":"ui/src/components/search/SearchFilterSheet.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d7907bb104fc2491ec36a4282523285c8489f885c1c6b5b147df60a9b5db86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginSettings.PluginConfigForm: FunctionTooLong \u2014 PluginConfigForm 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba02ec32a3c51a5b496bce6d8adb51ca34cb32f6bf265056d3ea7d37207e72a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 143 over it, 1.36\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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1fcbde5aae1c2bb5c0a2b9e52b4cb678e88ff9e513a5435f941a17f9f27ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/git-workspace-restoration.ts: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 178 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd38f9afe11ddab7837f186a8364906535b70e858e6ef63bea754a53dab88fb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: execute (195-832). The bar is 500 significant lines; this is 176 over it, 1.35\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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daad4c74b516f017a8822655b901422f93a81977560d587e740fdffcd137c6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-interaction-publications.ts: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2c325d308b1fbd98d0790a6496b658c69f4e81c911e96f1dae13c166447f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/object-byte-journal.ts: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/object-byte-journal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72a7458911d93485ecd594f260d87d18ad41cbe6b5ed85336a1af086543b53b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: public-eval-viewer.validatePublicChatPayload: FunctionTooLong \u2014 validatePublicChatPayload 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8a7572823fc1d9c0e1c44b40bc1b0b31cdcb8dc69e482406cbb55445f2b690"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-turn-diff.parseCodexTurnDiff: FunctionTooLong \u2014 parseCodexTurnDiff 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffef3e9bb61c95ed543f330b2d67326997a9af14707a36fcfb53bf1f587c4d13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-preparation.createTelegramPublicationPreparation: FunctionTooLong \u2014 createTelegramPublicationPreparation 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":"server/src/services/chat-channels/telegram/publication-preparation.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7427cba9adbac011ff7becfacc1ad04d614496786472a7d8580a529a8eb99ace"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-provider-artifacts.releaseRetiredNativeProviderArtifacts: FunctionTooLong \u2014 releaseRetiredNativeProviderArtifacts 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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"0789dcaba087c2201554886246b4d43c1b0bbb8722724776af5a7df89fb34f87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: credential-store.createOAuthCredentialStore: FunctionTooLong \u2014 createOAuthCredentialStore 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":"server/src/services/tool-access/oauth/credential-store.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"20510839b121d82e811b61704c74da0ae72542bd0300038c975a1d1c7d1005fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-fields.HermesGatewayConfigFields: FunctionTooLong \u2014 HermesGatewayConfigFields 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":"ui/src/adapters/hermes-gateway/config-fields.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea033769927b5ec3bd44ff3e2a4a9a5354909f448e6c328ef0fc9ecabd3e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySettingsSidebar.CompanySettingsSidebar: FunctionTooLong \u2014 CompanySettingsSidebar 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":"ui/src/components/CompanySettingsSidebar.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"913a733014da4317d70fe3df11cae43ee02d7d19df4c7182715a7143c180c8f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueBlockedNotice.WaitingOnLiveWorkNotice: FunctionTooLong \u2014 WaitingOnLiveWorkNotice 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dcf64a4dd3abacf877d6292e5249ad92aecac9c4218f77ab9bc62dac350641"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.SkillVersionDiffDialog: FunctionTooLong \u2014 SkillVersionDiffDialog 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"254b7d2e43c2730dfbbb9431e586487701d5ee4e76aeb8e7e52282514bb59e69"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.SkillVersionDiffDialog: FunctionTooLong \u2014 SkillVersionDiffDialog 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3badd91d28085a6727570a7e42a8a7fcbdd6df477512a0a242afce244b056bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PermissionsPanel.ActionsSection: FunctionTooLong \u2014 ActionsSection 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":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f814c1a047b9f61ec1668418dd435d28e01a14cba6f216ef38f323cdab369d70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfilesTab.ProfileDetail: FunctionTooLong \u2014 ProfileDetail 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c4c59335113e18487b9e1692085400bb66905dae26a99e3026528263a5ad86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DurableState: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 25 methods, 2 blocks, lines 328-1038. 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":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"033dda9d6aa39feec17ba46d1aad2d2603334dbb05fea167c1eaae38683e9df8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mock-core/live-console-demo-server.ts: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 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/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8081aa803c6bd3f4547d746a28b8899006e7ba0faea35b8e0b600e2dd12cffb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AcpxSidecarTransport.start_for_agent: MethodTooLong \u2014 start_for_agent runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"746564783f4743c92d0fd965aaaa8b460336b3e79d058bc7479135f14bfdbe7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.#startWork: MethodTooLong \u2014 #startWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98b2fa77971855cb5d9c521ff94a3fd782d85dd27120cdbb085779727111065"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.buildIssueSubtreeDiagnosticsResponse: FunctionTooLong \u2014 buildIssueSubtreeDiagnosticsResponse 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":"server/src/routes/issues.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9a29ae55b49b4c369a848736fae2c56586bab0eaa11fbcf4e464ddd55b3b91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: failed-run-retry.createChatFailedRunRetry.isPreProviderChatFailure: FunctionTooLong \u2014 createChatFailedRunRetry.isPreProviderChatFailure 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031ef409b51c0b4de9dbee6d9cd048fbf2886a9e2f0f6627c6fde6602510894"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-policy.createGitHubPublicationPolicy.githubCurrentOmissionPreparedText: FunctionTooLong \u2014 createGitHubPublicationPolicy.githubCurrentOmissionPreparedText 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":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14da1011a8f97eca8d57f4e8d966284f3f1815a30a8ad20cf2dff658aa254c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-credential-mutation-lease.chatCredentialMutationLease: FunctionTooLong \u2014 chatCredentialMutationLease 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":"server/src/services/chat-credential-mutation-lease.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c1a0f43acaad690ba3aa6ea6ca5c67fc364dfccdc798a909fa9cdbf959b194"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-workspace-delivery.createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E: FunctionTooLong \u2014 createGitHubWorkspaceDeliveryResolver.\u003Creturned closure\u003E 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a491e9783db685ccc3adfa3fe62f2bb65d16a8a4bcd87b93883970b5e9cc35c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: default-access.createCatalogDefaultAccess.enableCatalogEntriesByDefault: FunctionTooLong \u2014 createCatalogDefaultAccess.enableCatalogEntriesByDefault 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff55fb2c31f736818de9e01d3e10e0366f18309e147b5d8e026deaeda6402ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectAccessMembers.ProjectAccessMembers: FunctionTooLong \u2014 ProjectAccessMembers 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":"ui/src/components/ProjectAccessMembers.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a7590090b65af011a9c7c180b6e4a3226003948a124d71e2c4e25d68427c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiConnectionAuth.AuthAttempt: FunctionTooLong \u2014 AuthAttempt 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":"ui/src/components/ai-connections/AiConnectionAuth.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c944378ce2002d1af07be98d54d14894a4aaa10896aff160ed1e478fb0fa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchFilterMenu.SearchFilterMenu: FunctionTooLong \u2014 SearchFilterMenu 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":"ui/src/components/search/SearchFilterMenu.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1661c3d07ed8ab6818fa76f4a2f5335e80cf868d33176183d9b8d5682221ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSummaryDraftStream.useSummaryDraftStream: FunctionTooLong \u2014 useSummaryDraftStream 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":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1364560729bc96dde631fda5c07550655ab79faa3e92f6049ae4cbdaee26afcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GitHubBotManagement.GitHubRepositoryAccess: FunctionTooLong \u2014 GitHubRepositoryAccess 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0694447da82b644b7da05c46b8b80e81f38f86df1360baaba354feca8575aa26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectAccessProposal.Proposal: FunctionTooLong \u2014 Proposal 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":"ui/storybook/support/design-proposals/ProjectAccessProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3353817476894e0b22350b9bc2418839dd12fc4b7375ec477441585bfc0566"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaperclipControlPlanePort: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 135 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b48810cf14936a0863a69f76fc777b5845f6fe37f8a01793a45b5b90790c46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/decision-queues.ts: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b24be1b579c885df8480dc32860baa6de4f0a1bce7d344fc45cb15fc756d0ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GitHubChatSetup: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 3 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":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f852f8b115c7d44bfb7bce6a99f1f40fefa0bbd021b83f147e23fc7a536234"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: execute (211-824). The bar is 500 significant lines; this is 166 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd127bdd245de9c4484aa7ec080d2a41dd83d8b24c279dcb9e2370b19c27a627"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Layout: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 132 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":"ui/src/components/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e2b3554ab18af117cccf8e6fa4deaef149490d933bd8c7aa7340a129365106"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: public-eval-chat.publicChatView: FunctionTooLong \u2014 publicChatView 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/paperclip-runner/scripts/public-eval-chat.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f629078fcf9064741053b56ebbc601037d75c532b6639bd22386a05e9cb19f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-proxy-command.trustedOpenCodeLaunchBinding: FunctionTooLong \u2014 trustedOpenCodeLaunchBinding 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0d91903377f779e4682bdb42d2529c883c67a914e5e27d1b265bff130ab370"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexAcpxSession.#pumpTurn: MethodTooLong \u2014 #pumpTurn 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"576b8cad1d849bbca0e2898aff4181dc9e76cfe9aa43225259d242c9245ab340"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexHarnessSession.startTurn: MethodTooLong \u2014 startTurn 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d3820dd077a4d9d4be7daae6366d8217ab80592325aa90015aefe202242f6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-action-audit.agentActionAuditService: FunctionTooLong \u2014 agentActionAuditService 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":"server/src/services/agent-action-audit.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ad134f2a8e129c154fd73da5b3f4f7da20299f2c3cb2e80ec46e554a3ae6a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: maintenance.createTelegramMaintenance.repairTelegramStopSubscription: FunctionTooLong \u2014 createTelegramMaintenance.repairTelegramStopSubscription 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62651044e494e4c2c4924143aecace4ffdf274353c3fb7d19f668ac5fa3eec2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feedback.buildOpenCodeTraceFiles: FunctionTooLong \u2014 buildOpenCodeTraceFiles 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":"server/src/services/feedback.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff50ca7d64764d1f169178e3f6dfb844fb2df5982b23793b5dd512bab9de17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retries.createHeartbeatRetries.retryScheduledRetryNow: FunctionTooLong \u2014 createHeartbeatRetries.retryScheduledRetryNow 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeb372d32c74faf3c604a24d9ba58b08c472077e400962f68112f2feba3ff47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-github-access.createNativeGitHubAccess: FunctionTooLong \u2014 createNativeGitHubAccess 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":"server/src/services/native-runtime/native-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"494975ac057b4eebbfdff421d59a8ff4b27d0d8e97b3d32b61c410688d0ed847"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.providerPackIdentityChecks: FunctionTooLong \u2014 providerPackIdentityChecks 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f020f67a2a0c106de01f2754e688fbd2b1e5a0378addc6cf795556880af8e1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretService.resolveSecretValueForAgentAccess: FunctionTooLong \u2014 secretService.resolveSecretValueForAgentAccess 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":"server/src/services/secrets.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dd27986bf04e2d9622b096c32f5f4606e680550d1424ca3111814f4c89907c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: speko-agent-tools.syncSpekoVoiceTools: FunctionTooLong \u2014 syncSpekoVoiceTools 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":"server/src/services/voice/speko-agent-tools.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"352aec7b93822e86307f0d6afe14f450419ae7c6ba7a3f679ff38125f9280e77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonSchemaForm.JsonSchemaForm: FunctionTooLong \u2014 JsonSchemaForm 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b082bf67eca1dc77b0bef67eba93f2d53c1633771123914527ff4bec5152506b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/decisions.ts: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: decisionService (130-802). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0e162e35b3865711e9ccd6cc70425d7546a8d5c3c8687d902ecccf88c1f666"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/environment-run-orchestrator.ts: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1482fa5d172a9524ee85e0f907bc3ee02e699cafd455fb071bd31f77820cbd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: folders/FolderControls.tsx: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 163 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe5767be7d9c5dcbf72a0057b479f2989926d9c464c43a3c1d717fa6ea87849"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workspace-recovery.ts: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 161 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249678ea376bdb3f2646bd3e97ce5918c7fac6ec12ea5f581b8a2c166bf32cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AcpxRuntimeHost: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 128 over it, 1.32\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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f6f5d4dea5ed9b28e26598a9f8cf3503701a1df1f6f5db2f170b7b5a9466ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project.registerProjectCommands: FunctionTooLong \u2014 registerProjectCommands 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":"cli/src/commands/client/project.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe05418f72e770a2c08c6b5a80d68ab93100ef0bdc11967458d463d1e8991341"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parse.createPiJsonlParser: FunctionTooLong \u2014 createPiJsonlParser 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/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"671eddc78afb619a16c521c290056f386fda079768c8dec31073cb938687295a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-preparation.createTelegramPublicationPreparation.prepareTelegramPublication: FunctionTooLong \u2014 createTelegramPublicationPreparation.prepareTelegramPublication 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":"server/src/services/chat-channels/telegram/publication-preparation.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b60f8cb8e448e32d57176c228770ce6032e7473d37448bc4c3b6ac1613c0d6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-attachments.prepareGitHubPublicAttachment: FunctionTooLong \u2014 prepareGitHubPublicAttachment 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"45773f643ba32977f81f90dc59d3b5accfe821f565872d250e87891d31f39cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-tool-registry.createPluginToolRegistry: FunctionTooLong \u2014 createPluginToolRegistry 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":"server/src/services/plugin-tool-registry.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67834c82e1ac9987a5c69612e485759073293fa13ab19935b88f70271a59abd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: speko-provider.createSpekoProvider: FunctionTooLong \u2014 createSpekoProvider 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":"server/src/services/voice/speko-provider.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc50d8dbfb858d0975ce6adc7031517b9b43b28c1c7e8d82bfb7c194a442284d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: issue-properties/IssuePropertiesArtifactsTab.tsx: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 159 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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9910ded0adf7e96c843d83d9c4298acedddb425bc20c7407870a286dbe0ca23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: execute (228-835). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"689bab27af19f52e7f2c32c9064f3dd5879d334e0b1b2766001724d893775217"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/plugin.ts: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 157 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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6615182354c713ff59bd4709e59f57aae7e61fb0d6b10c9969781266d6e7dc33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/work-timeline.ts: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: workTimelineService (226-834). The bar is 500 significant lines; this is 156 over it, 1.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":"server/src/services/work-timeline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c9984cb3f2d35517a658be5b4385992ff048241627777a10ac2e9b2d932718"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompanyExport: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 124 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b041fc9c0a8f56a2bd724e02e5d3d3f74d644aa95f5b2f930bac666937734b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/runner-protocol-eval-campaign.mjs: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d55220de919956e9bdd73e1051e073d10a97e6f3ae2e9ca1280fdd3eb05789"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: heartbeat_runs.heartbeatRuns: FunctionTooLong \u2014 heartbeatRuns 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/db/src/schema/heartbeat_runs.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"946a49af4b01fae52497ab074d8e79af85b2f9f6f2787038ee0fbc2909f2213b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workflow-harness.deterministicObservation: FunctionTooLong \u2014 deterministicObservation 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/paperclip-runner/src/eval/workflow-harness.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a21401eb001d8f1f1beff826194b7c9dcac769073868226be3273a54908143"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: replay-contract.bindingIssues: FunctionTooLong \u2014 bindingIssues 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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"435851a8c10fa03d1c80fb7d3d6bbba5a4f395351284f2d078fec6a096495b71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: folders.folderRoutes: FunctionTooLong \u2014 folderRoutes 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":"server/src/routes/folders.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18ea8a88e41e2b5437faa79b2d0fe35d5fc348d25572c00e1112761c38644e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-action-audit.agentActionAuditService.list: FunctionTooLong \u2014 agentActionAuditService.list 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":"server/src/services/agent-action-audit.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b87162c27e5298d7dcae0793603a341b45f113b1a32231486bdd2e2b3ef50fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: git-restore-point-ledger.gitRestorePointRetentionService: FunctionTooLong \u2014 gitRestorePointRetentionService 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":"server/src/services/git-restore-point-ledger.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"535cc9880076f8c3aa7dfcaeaea7ab6c315d8da6155ffd9b08ae7cad19a240cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projects.projectService.resolveManagedProject: FunctionTooLong \u2014 projectService.resolveManagedProject 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":"server/src/services/projects.ts"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff72409d89a58978632808c9ad04dc045a356e07df133c6d9cc86a8b31fe2080"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueScheduledRetryCard.IssueScheduledRetryCard: FunctionTooLong \u2014 IssueScheduledRetryCard 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":"ui/src/components/IssueScheduledRetryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c5bd6816215adb6ecbd98ef3bce99825463bb2a0959ae0818061c15271866f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExternalAgentInviteContent.ExternalAgentInviteContent: FunctionTooLong \u2014 ExternalAgentInviteContent 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":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b277b40708ee1ea69f09878cbe6debf2b35d4ac40465cfd9f0828ad74670d76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Inbox.ApprovalInboxRow: FunctionTooLong \u2014 ApprovalInboxRow 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0ed893b5c4cf4195df2bc2f05378019542b4ea0b0549523c39be61472caf53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegacyInbox.ApprovalInboxRow: FunctionTooLong \u2014 ApprovalInboxRow 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ce34fa0a324889af85c0246b9005bc1ee1a363ef2c831bbf9a9b790430c489"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginSettings.PluginLocalFolderRow: FunctionTooLong \u2014 PluginLocalFolderRow 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb65fd942780e56b95635dfba896f0ff6b8d4ebbf71ce7eb09d13ba139f9686"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acpx_event_payload.rs: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 152 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/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24841254e55a91e9c061ff5065b4c19c9002880bf8d711d29189f11ed640bda9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/isolated-repository-rehome.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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72cd067c59f0167e960c5e319c302ed6382bc4ac6e340a5ffd2c7ad6ca5aefd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresRunDispatchAdapter.loadStalenessFacts: FunctionTooLong \u2014 createPostgresRunDispatchAdapter.loadStalenessFacts runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9090ef8c0c9fa3fdc4ff11c2086ab5523befcca5f45500b88009778602d43198"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: completion.createSlackCompletion: FunctionTooLong \u2014 createSlackCompletion runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8f2a4028815ae1c2df4b862acf9f3d90880932b89294b66c59e7b6a577d4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: projects.projectService.updateWorkspace: FunctionTooLong \u2014 projectService.updateWorkspace runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e7c9a54d41923e923c4a7f584159ac32ad6372cc40f8c5db9facd720676c64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineTriggers.WebhookSettings: FunctionTooLong \u2014 WebhookSettings runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4583470f011a00372bdf23a2aae0f4afb4da89a6887dc28e577f3ca372e359"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunnerGoalWidget.RunnerGoalWidget: FunctionTooLong \u2014 RunnerGoalWidget runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2de61d3ef854c97d834a77018dca8e93f1c68763b07913bfd136d924ffb4d64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.AgentOverview: FunctionTooLong \u2014 AgentOverview runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7984d38cde4cfcbee5d5f55388f52520fceb21e8440c990e556d75ee5b8fc57e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/fresh-continuation-fallback.ts: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 149 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8baa433cb364cf064d5c8cb213f4dd11da141b4401595fb059317b4768d1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunnerInspector: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 117 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbabcc50c394c05b43d776456d1e47ceffb9a2269ac42f18f86421cd7b7d3341"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalCommandExecutor: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 9 methods, 3 blocks, lines 391-1040. The bar is 400 significant lines; this is 117 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de79d052acbda6a88670e80bbb64437e9cc38afdc6ca14236dc0396341a554e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectDetail: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 117 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3195ccb3833fbc08f10f694001bc036af913311d776d1dae43a99d2572e98932"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 116 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca40e5afa6f63c342d1e0f1b5d57853a648ac79210892c9c0161791043facdeb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectionIntentInteractionBody: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 116 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e928e19fafab93d54e056a9bd74ac390fccfdfb1d49a72fdb12d56f1bd41b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/current-wake-comments.ts: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9de6bb9cd01b25e0b3f879974930513303aafae58f67f9739ddf5bdc8240a26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-observability.createOpenCodeCompanyObservability: FunctionTooLong \u2014 createOpenCodeCompanyObservability 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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"475f4d354f9a44769a57b60dd92fe8eb032bc16bdec8cdaddb4cb268c8fa560b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tailnet-gateway.createCapabilityTailnetGateway: FunctionTooLong \u2014 createCapabilityTailnetGateway 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/paperclip-runner/src/live/tailnet-gateway.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb6e0fd936f6f8c9fcef7b705312bfeba947b25d700de201b160419d60f38f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: event-loop-stall-monitor.startEventLoopStallMonitor: FunctionTooLong \u2014 startEventLoopStallMonitor 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":"server/src/event-loop-stall-monitor.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3021cf077aeb1fc10f253467c274e0aebe29233cdc3fc8dc90a221162a24d70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-channels.chatChannelService.authorizeRetainedChatSourcePublication: FunctionTooLong \u2014 chatChannelService.authorizeRetainedChatSourcePublication 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":"server/src/services/chat-channels.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80021979b4798e502787876d6c6b1ae7277881f26124bc487aedaf9a0f98333"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.createDiscordCommands.reconcileDiscordCommands: FunctionTooLong \u2014 createDiscordCommands.reconcileDiscordCommands 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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39f60bb8f14a411f2c0cc41ad63f98bc2f28ec34b9ec097aa8e7b55b270e7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRunnerdBackendWithinSessionClaim.persistRemoteRunnerCheckpoint: FunctionTooLong \u2014 createRunnerdBackendWithinSessionClaim.persistRemoteRunnerCheckpoint 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17881}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcbff34808f303e158886b3b6c5cc4fc5fbc33df0a2a3b2218818f69648099c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiConnectionPoolConnector.PoolConnector: FunctionTooLong \u2014 PoolConnector 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":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf093c9e2cd6fe09a9ff3fcbe1b4a42b2ba87af2f607e15ce361c78a92824ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentHistoryDialog.AgentHistoryDialog: FunctionTooLong \u2014 AgentHistoryDialog 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":"ui/src/pages/agent-detail/AgentHistoryDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"879272732f941164d5280c058d974bd25c227dff93614bbd37b25ca218d18710"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audit/AuditFeed.tsx: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: AuditFeed (309-811). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac1a16e027724efc5f84d10540171f191ff85ed25e6396a5a729e733966e428"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/AgentToolsTab.tsx: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 143 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"643c6e3fd45590f66b289f082a950e7d39f532ab86928736c4cf1e882d0dafbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/environment-config.ts: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 142 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":"server/src/services/environment-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b099a63e081d607b44c3dbe3110f98521f54a7b80007782bf2a1f2d7e6045977"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: artifacts/RichArtifactCards.tsx: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 141 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":"ui/src/components/artifacts/RichArtifactCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d7442a3cc7db76b8819f136d36082b9377cd67fa663e463ceaa954ab3d6b73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::provider_backend::normalize_provider_notification: FunctionTooLong \u2014 paperclip_runner_core::provider_backend::normalize_provider_notification runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e3a3b2561803fa51785ce1f38d028c68efd1945d1890f64ebba478b188bbc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-broker.createNativeExternalBroker.port: FunctionTooLong \u2014 createNativeExternalBroker.port 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e3bf6c7dd5f37610b6f2cf70dec335eb0c7e87a83b3a1db9edef7b1c8fa7b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: instruction-working-copy.createHeartbeatInstructionWorkingCopy: FunctionTooLong \u2014 createHeartbeatInstructionWorkingCopy 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":"server/src/services/heartbeat/instruction-working-copy.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa49822bac227fb6b35debde1159f19d1db94e54928e02f57a92f5509f22a6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client-mirror-sync.startMcpClientMirrorSync: FunctionTooLong \u2014 startMcpClientMirrorSync 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":"server/src/services/public-mcp/client-mirror-sync.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8281f692df3281c60bbf3aaf10cd59a1b861c8ac19de117d807b567faf2b0485"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.reconcileActiveRecoveryActions: FunctionTooLong \u2014 recoveryService.reconcileActiveRecoveryActions 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9b4895c383dc8ef18c255fd5869c4b05cbb504d674bf203b1d79057f766d76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretService.collectMissingRuntimeBindings: FunctionTooLong \u2014 secretService.collectMissingRuntimeBindings 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":"server/src/services/secrets.ts"},"region":{"startLine":5382}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ed82ca70f039c871c343ca2d51c550d0126ded4fed935ee4d2c8c44c82082c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocumentDiffModal.DocumentDiffModal: FunctionTooLong \u2014 DocumentDiffModal 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":"ui/src/components/DocumentDiffModal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda10a541beef3600f6f12374d372273eae6154a434abbbbf0b4bbbf94a76214"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarNavItem.SidebarNavItem: FunctionTooLong \u2014 SidebarNavItem 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":"ui/src/components/SidebarNavItem.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c98228ab505a886b596d43f73f196831379f4bde37590638b08ac7694d064"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: completed-activity-summary.completedActivitySummary: FunctionTooLong \u2014 completedActivitySummary 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":"ui/src/components/task-chat/completed-activity-summary.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad49dceee85039b6022403e9db59f8bd2fefde884c9adf195d40acb60542b36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-session-controller.createVoiceSessionController: FunctionTooLong \u2014 createVoiceSessionController 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":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe64ff49bc6f93fd6ca858de67a9fc6e02bc4ae45bb1e04a06021ad784493308"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlackAvatarStep.SlackAvatarContent: FunctionTooLong \u2014 SlackAvatarContent 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":"ui/src/pages/apps/chat/SlackAvatarStep.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"da359b6e21c9fa031edd1601401c5d2dfb227933d6d84b71df14af72b5d5e493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/workspace-diff.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/plugins/plugin-workspace-diff/src/workspace-diff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7095c449db928d7bd55d433475d3145c876059fe9cad50c5f7e58932d328838"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/chat-channels.ts: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: chatChannelRoutes (101-753). The bar is 500 significant lines; this is 137 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"566ea2cd1508f6ec4c95cda6d7256a46f12c93bf1601fec182c4635d5936eb34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/catalog-builder.ts: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f866443cd285e33a0bd7c081310f9d4f9ccaaf6ac4497b01c1d04e689099207"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: public-mcp/oauth.ts: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: createPublicMcpOAuth (87-771). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"292833dc566d21f41062b42c60ebd5223a394fa309fc5a3e2eda0f1700a24037"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexSessionState.constructor: MethodTooLong \u2014 constructor 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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af702bf9dde0f14f7656deed8e1fd9a131150a3a0642b72595699578d321b84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-search-oauth.slackSearchOAuthService.accessToken: FunctionTooLong \u2014 slackSearchOAuthService.accessToken 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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f2de268f2b578cb1aef7a28470c92c8ffe02ed5dea1cf8d75cc720d2f498a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environment-custom-images.environmentCustomImageService.finishSetupSession: FunctionTooLong \u2014 environmentCustomImageService.finishSetupSession 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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b4ea2c28a88645993feb96f1a52ace90b9a1f7cf5cbaaee27751615519d5d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-preparation.createManagedMcpRunConfig: FunctionTooLong \u2014 createManagedMcpRunConfig 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c03846c809c90d0bf9c5dd39e4ef7284e8e662f60a2aaf5dd53c7c5d01c8900"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: managed-agent-profiles.managedAgentProfileService: FunctionTooLong \u2014 managedAgentProfileService 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":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a81b41d7e14a989355a9dfd0231327660203a6ab5d3ba4ae1a3b92018fae714"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nested-clone-migration.migrateNestedRepositoryClone: FunctionTooLong \u2014 migrateNestedRepositoryClone 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2ec41fd216ed086d0d5b5a2a8e60dddf339da405cbd4870543aea67636d837"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueRunLedger.IssueRunLedger: FunctionTooLong \u2014 IssueRunLedger 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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9977b749f403065b18f253ac232bcfdba5faa57a7658088fb6517be1bb41e6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FastResponseSettings.FastResponseSettingsSection: FunctionTooLong \u2014 FastResponseSettingsSection 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43c0b041521bda6bf3f29f4eb8ef865aa8f5388d49d4f7539121e30a9a32ab1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.CatalogList: FunctionTooLong \u2014 CatalogList 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"e262890f0176f61ec78a18b219919911ac56ee908eadfb8e36e1b1f1ffb40839"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.CatalogList: FunctionTooLong \u2014 CatalogList 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"915e871f62b4322732d09a9545b45b9e58813986b6532f164896e932c3ecdb2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/status-arbiter.ts: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: arbitrateNativeStatus (203-873). The bar is 500 significant lines; this is 133 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5107b578f3e2f82b6760d99479cae9fd7e10510b49c965e476c8c3e06482bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/launchers.tsx: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 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":"ui/src/plugins/launchers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ebe6f3979b29d1ae6bbec05b2a9104ed4fa0df7c1b3bcf4f35fb8ac36873f9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProfilesTab: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 106 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21428cd82d0409b3752721d7ee751b3deef72ff22c4628415e8ad306b26ad9ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/ProjectWorkspaceDetail.tsx: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: ProjectWorkspaceDetail (249-771). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c0d7f30617fa47a1615227c2e3b25eddbc402f9319d7bd5afa60ceda3762a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex/codex-session-notifications.ts: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: mapNotificationBody (155-758). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc68a5d1d83e1cea6de718db56990f84b8c729ccbc55398786c1f34388c36edc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeManagedProvider.start_with_worker: MethodTooLong \u2014 start_with_worker runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aaa1d11f8cfd72a1c8e777bad623eb3271b767c9482ef92c81eac0eae4176d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker-rpc-host.startWorkerRpcHost.dispatchMethod: FunctionTooLong \u2014 startWorkerRpcHost.dispatchMethod 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c16c6a5cf79949c2809c9cebe54835a4d617a04568572e4f07fb1163d133bdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-connections.aiConnectionService.select: FunctionTooLong \u2014 aiConnectionService.select 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":"server/src/services/ai-connections.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e12d48d005f2caa441d502c58dd98dec082d998522adc4a573ad40ec865441"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-thread-interaction-resolution.evaluateIssueThreadInteractionResolverAudience: FunctionTooLong \u2014 evaluateIssueThreadInteractionResolverAudience 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":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"984cfa6a266e221973c726f57c97d0f0850baf4411e2c53de2528e105932cd0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretService.collectMissingAdapterConfigRuntimeBindings: FunctionTooLong \u2014 secretService.collectMissingAdapterConfigRuntimeBindings 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":"server/src/services/secrets.ts"},"region":{"startLine":5541}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d3410a4a63ab5fdf0865626dd8fd6da31264880f47a89dd7076f94dca7d30c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usage-receipts.reconcileLateRunUsageReceiptInTransaction: FunctionTooLong \u2014 reconcileLateRunUsageReceiptInTransaction 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"5729095ca580830538c644fe0192343aab57bd16e546278864498a3c58aceb90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkTimelineChart.MiniMap: FunctionTooLong \u2014 MiniMap 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":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"6874e3c9c7cb477d6d6e28388f594bc37cd4818ec8e6e4eec6018d8c8906bc04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-run-log-stream.createSandboxRunLogTailFactory.create: FunctionTooLong \u2014 createSandboxRunLogTailFactory.create 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/adapter-utils/src/sandbox-run-log-stream.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa6d85a356ecd3bad083825d322091f14fcaf0af8b1529cf215ef0e81c0562d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: public-mcp.publicMcpIngressRoutes: FunctionTooLong \u2014 publicMcpIngressRoutes 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":"server/src/routes/public-mcp.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6bf35882d558192e0781326af6c783b81cbc081e17eaa5e01e9bffb7e10a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-connection-activity.listConnectionLifecycleEvents: FunctionTooLong \u2014 listConnectionLifecycleEvents 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":"server/src/services/tool-connection-activity.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c319bffb6c67d6f0ac54c5336917c6770c8403f76ea8e66351ae17f4d086f296"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArtifactsPanel.ArtifactsPanel: FunctionTooLong \u2014 ArtifactsPanel 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":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c538411d293e860e3e376847a701c89e99e0417f17ecf00534ff94a4a869b6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecisionResolver.DecisionResolver: FunctionTooLong \u2014 DecisionResolver 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":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccf4e39a0ca1e231bb6fb431936add7c4df506a298a3d2d6f6ca6be95caf1f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocumentAnnotationPanel.ThreadCard: FunctionTooLong \u2014 ThreadCard 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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7f7ff98e99bb263ac6e9aa9f21a2ce825718e26fc5be053a6f73cdfe189537"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatActivityPhase.TaskChatActivityPhase: FunctionTooLong \u2014 TaskChatActivityPhase 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":"ui/src/components/task-chat/TaskChatActivityPhase.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af461a0bda9498fbbdce9765e31b377a751962b71b1054f2a339b985ef1d9f0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunTranscriptUxLab.RunTranscriptUxLab: FunctionTooLong \u2014 RunTranscriptUxLab 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":"ui/src/pages/RunTranscriptUxLab.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd82ad778314701d0729b7a007456a86c25113bdc8d6c97f2d25efee250cd013"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatIdentityConfirm.ChatIdentityConfirm: FunctionTooLong \u2014 ChatIdentityConfirm 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":"ui/src/pages/apps/chat/ChatIdentityConfirm.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2452c2a3d42bf9d840865d6a921666bee923d10bb1a40e4bdac628bb29d981"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acpx/runtime-sandbox.ts: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6492af5a1e4380c011c55ad1d2faeb14cbd0a16e1a2e34836055d95aacc9f34a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/local_runner.rs: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 121 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/paperclip-runner/runner/crates/runner-core/src/local_runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea58c2b7fadb936021d798e44c0c7162e7bbfddd730e1ceff9bb3a4453f113d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/QuestionForm.tsx: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: QuestionFormForRequest (246-751). The bar is 500 significant lines; this is 121 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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a594b6bad5f6f5de4a688aea199ae100bce5ec93e6b721d85b518f3a6b89eb77"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 496 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 96 over it, 1.24\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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58939d20d0419c01d3a38c799a30ebc80d5e26dab87134308ec8dc0cbf6d7be7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: question-set.parsePaperclipQuestionSet: FunctionTooLong \u2014 parsePaperclipQuestionSet 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/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d4889017b9de9cec4c363579ba847beee6c9bea84bdbe762474919ce16ee4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: durable-prp-control-plane.isStoredCoreState: FunctionTooLong \u2014 isStoredCoreState 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb23b2c43d2c135f2e01c74450b4602e644574fe7894dbc0831355d42cee4d9d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpControlPlane.#authorizeHello: MethodTooLong \u2014 #authorizeHello 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d69531283c39aa70213632f35a55d449105bd3d39dcdc98a2532617664aeda"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiveConsoleScriptedSession.#runBeat: MethodTooLong \u2014 #runBeat 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/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aee8dd42ce4bf2c6ed7c256a299f003ea477d6117bd830f7e694f73cec4570"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-discord-command-registration-store.reconcileStoredDiscordCommandRegistration: FunctionTooLong \u2014 reconcileStoredDiscordCommandRegistration 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":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"922b5bdbf12a18ef4ef4478ec69e08df5175a48dacee9e9cd1e5651a8e79c03c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: environments.environmentService.getDeleteBlastRadius: FunctionTooLong \u2014 environmentService.getDeleteBlastRadius 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":"server/src/services/environments.ts"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5269158a718dc6def5fb88aa07a37a7ff5bd5f239c07fc21ccf7016214f1e163"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-session-recovery.voiceSessionRecovery: FunctionTooLong \u2014 voiceSessionRecovery 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":"server/src/services/voice/voice-session-recovery.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2834e13086494a48ade972672984a98fefafc030ece4ced3b2fe47433de5413d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/paperclip-control-plane-port.ts: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: PaperclipControlPlanePort (104-792). The bar is 500 significant lines; this is 119 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6fe4f3c72e789422e4aa83132fbe2cadbbc09dd8f3ecdff9c37f46d923d0a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/eval-execution.ts: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff88d593848a2daa7c56c8fdde06071b5a3dde751da467f74bdb75bf05d83fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AcpxProviderState: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 24 methods, 2 blocks, lines 110-770. 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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"af16e908e814a3bf340be06377b8f8c550db1290572ab5376e7fd5a25a95a0fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OrgChart: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded), 8 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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74ae75a45e41e5a39dca8e638c86864d3f557a48daa5274906622a1701d4a10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recovery/issue-graph-liveness.ts: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e32016e1cf8d725874ab08ba652d9c6c0dedc484f419521f7d6be4371cb4514"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clean-poisoned-claude-sessions.main: FunctionTooLong \u2014 main 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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1f96e45ff97628123261a2f77d223ef9baee69535d96e8d1db38662c884d25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpCodexTransport.constructor: MethodTooLong \u2014 constructor 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4291}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d2b2b28ebfda1b50d50079af3aa8bf35a51f4c1bad6b331736eb8e62a5b320"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scenario-parity.capabilityScenarioParity: FunctionTooLong \u2014 capabilityScenarioParity 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/paperclip-runner/src/scenarios/scenario-parity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba177a05471c4d6b31a867ae599f332cd71390c7e2ed73b2380ba98adbe0c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: app-setup.createGitHubAppSetup: FunctionTooLong \u2014 createGitHubAppSetup 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":"server/src/services/chat-channels/github/app-setup.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b08a2e2e48fbfa1e5666046c0e292e168af2998fdaec36260135365d1f4ee1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-portability.buildLegacyRoutineTriggerFromRecurrence: FunctionTooLong \u2014 buildLegacyRoutineTriggerFromRecurrence 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":"server/src/services/company-portability.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebf4bd17239861d6403d05bd5d9a174b34ae1857fae8c0fa99b8c154939c13e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.slackChatRegistrationService: FunctionTooLong \u2014 slackChatRegistrationService 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":"server/src/services/connectors/slack/setup/service.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"39af9f25c86ef095f684a845eac51040fe4596e0f2352e507d94a0eca6663e2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-state.resolveNextSessionState: FunctionTooLong \u2014 resolveNextSessionState 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac53d3d13698931525e8b30f90d13bff02959868f903c5376189895fc0e4bba0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issue-approvals.issueApprovalService: FunctionTooLong \u2014 issueApprovalService 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":"server/src/services/issue-approvals.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b87d6ec5992be38579ff14c8cdc285561452f604c34ef18f82bfa1c05e4231"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SourceResolvedFoldCallout.SourceResolvedFoldCallout: FunctionTooLong \u2014 SourceResolvedFoldCallout 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":"ui/src/components/SourceResolvedFoldCallout.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c7666d4ef9659e13cea24b4971428d2328c8d36ba706e16995e35d018f801"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfilesTab.EntryFields: FunctionTooLong \u2014 EntryFields 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe78697e430ae7b44c1228d69ab994826e8dc51b43c5941ebe0486519b657b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Layout.tsx: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Layout (88-784). The bar is 500 significant lines; this is 114 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":"ui/src/components/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a53ef6e924d219a2d0924afc348673c2e9aff413875a94fbc093ae6cea4bafa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workspace-git-operation-scheduler.ts: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: WorkspaceGitOperationScheduler (279-751). 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":"server/src/services/workspace-git-operation-scheduler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da81722a347eece3819841fe2e26144be1224dda90883269e847011fbc122aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/workspace-operations.ts: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 113 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41db11e59f2f4f23b0ef24cbc92e992be02fd7b0811194bf31ba7a19d28563b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recovery/ownership-invariant-report.ts: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 110 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67644808cb2c2284eb48166d65dc166a5adcf65a933dad2e55add984f749a5fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-acpx-driver.validateRecoverySnapshot: FunctionTooLong \u2014 validateRecoverySnapshot 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b493fdc985b7e5e785299964188f5e569809526b87961ed2432921707f21687f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compatibility.assertPaperclipRunnerEvalCompatibility: FunctionTooLong \u2014 assertPaperclipRunnerEvalCompatibility 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/paperclip-runner/src/evals/compatibility.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67aa49771cfe0c3dcb289ab2afc678a7efffed22683ddf528ef9bffaa3c06f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runnerd-codex-transport.awaitRunnerSuspensionBarrier: FunctionTooLong \u2014 awaitRunnerSuspensionBarrier 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3123665c3e08ea8f84ddad730a74698d1d7f237e36149c60a96d7bf40005e91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-records.agentRecordQueries: FunctionTooLong \u2014 agentRecordQueries 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":"server/src/lib/agent-records.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4cc14ba326328e58fed60949eb8124d7d681d0bd0527aedec20b3f7254f8d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-queues.decisionQueueRoutes: FunctionTooLong \u2014 decisionQueueRoutes 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":"server/src/routes/decision-queues.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d580fdbf3aee186dc976d538749da2e9874bfa65bf7a536f4b35a72e3456b6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cloud-configuration-migration.cloudConfigurationMigrationService: FunctionTooLong \u2014 cloudConfigurationMigrationService 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":"server/src/services/cloud-configuration-migration.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bd60967cf9db0549c34ef732f602d051b0f78a2fcd13f0eace497626b3c24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: network.createTailscaleNetworkManager.start: FunctionTooLong \u2014 createTailscaleNetworkManager.start 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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa948ac1cb1649022aaf92de43a0af48f565e10dce053bf207be79f9fc170711"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status-cards.statusCardService.writeSummary: FunctionTooLong \u2014 statusCardService.writeSummary 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":"server/src/services/status-cards.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"8144dbd6adcf8c0f73c6983afab734f49dced0fc4f62b296d04ff0ccd2c33e99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createToolActivityService.listConnectionActivity: FunctionTooLong \u2014 createToolActivityService.listConnectionActivity 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":"server/src/services/tool-access/activity/service.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7ce425f6f0ceb5bfcd8ad1d837bb2533c4c43c179554aebc07c259f4dde690"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: relation-controls.RemovableIssueReferencePill: FunctionTooLong \u2014 RemovableIssueReferencePill 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":"ui/src/components/issue-properties/relation-controls.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9693280e2993b4c21aac1f053f4eda169811c95eeb2640b75228301c191494"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunTranscriptView.TranscriptCommandGroup: FunctionTooLong \u2014 TranscriptCommandGroup 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"288e162d98d36523755eff6c6a9945f5cf474d17bd99de9a684f23e02d5727b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionSetupFlow.OAuthConnectStateScreen: FunctionTooLong \u2014 OAuthConnectStateScreen 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d36416ce169f65b6d06e7a50d20d497eeb6e9cffbfbf736a96bf872518bd72b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginPage.PluginPage: FunctionTooLong \u2014 PluginPage 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":"ui/src/pages/PluginPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a1d543393573111d25231f4fd56e838a2f0c4c2121fce6523dd3ca55b8a693"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlackToolSettings.SlackSearchView: FunctionTooLong \u2014 SlackSearchView 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":"ui/src/pages/apps/chat/SlackToolSettings.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae87e964e65c9b15711072a17f0cc35b7a0b1754cb5d8778d1e61988b6a5f7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 487 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 87 over it, 1.22\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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aede8da0fe035184ed4c919da79e99c3a6f0f61b9644ced444fad636fadbd5ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/CompanyAccess.tsx: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: CompanyAccess (42-603). 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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff0f272ee66021205d477cc129714e45273558260032264bed4ebd032d817e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: execute (190-776). The bar is 500 significant lines; this is 107 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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb4eeba408b0cdf8627d69fc843330306a2c7313332924c966b0a753361464"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/DevtoolsInspector.tsx: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 107 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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e80bcb7ea9970323b58949d59168f4959585564db3c1ad482388959cecdce0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/summary-slots.ts: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: summarySlotService (137-763). The bar is 500 significant lines; this is 107 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":"server/src/services/summary-slots.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"120763891122cc45bd236b1da8ade31488ab07547db4916b090a05b7b1463107"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueBlockedNotice.tsx: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 107 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e2969b59cf5e2696b29ee3b063ac486bd4636ea925149129ec54eff332637e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/usage-receipts.ts: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db328c5d40f577a167dc8ced29b44204cecef82ff1b363211c3884bcb8ddc7af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/worktree-merge-history-lib.ts: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ed9d54157fe290753628d326c9894e0f29e452477dd7e7ed1494fb12084544"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-process-sandbox.buildLocalProcessSandboxSpawnTarget: FunctionTooLong \u2014 buildLocalProcessSandboxSpawnTarget 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/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7d4d5964db83dbec2d284e7c1d097c6358fee6ada9121d5db55b49dff51bca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-distribution-integrity.createNativeAcpxDistributionSnapshot: FunctionTooLong \u2014 createNativeAcpxDistributionSnapshot 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8219adfd1a9a57948ff31b5a6ac5622f149195c736d6aabe185538ef1cdc868"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: core.startWikiQuerySession: FunctionTooLong \u2014 startWikiQuerySession 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c23438c1e64e394e95b8779a7609c9563274a7c7d18a43cef6259c9385e0d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: records.agentRecords: FunctionTooLong \u2014 agentRecords 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":"server/src/modules/agent-lifecycle/adapters/records.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"85927a70758aa26ab45d5c91dc7a9037420d37d047e95223dad8b7b961108508"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-tools.slackToolRoutes: FunctionTooLong \u2014 slackToolRoutes 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":"server/src/routes/slack-tools.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95d332d230a6d4d3c08e781a0ce572546815a4822ce02a03779c857718f74aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aws-secrets-manager-provider.discoverAwsProviderConfigCandidates: FunctionTooLong \u2014 discoverAwsProviderConfigCandidates 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1a2acb57b34c0aa809e730e363bdf2353fc4e48261d57b4626d55df3324c1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-sdk-runtime.registerCallbacks: FunctionTooLong \u2014 registerCallbacks 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"b966294b34f4fceca82765e01cb2f1c02a2a7b7769846599d6e2c80b5a377771"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: device-login-service.createDeviceLoginService.runLogin: FunctionTooLong \u2014 createDeviceLoginService.runLogin 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":"server/src/services/device-login-service.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d10a7de890df250d95b7ee062c43111c386c48cf17767d91fb89ebca721fc29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: muse-maintenance.startMuseMaintenance: FunctionTooLong \u2014 startMuseMaintenance 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":"server/src/services/muse-maintenance.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"517f96b321c8661a8e828c64e8c64a50cf0acfa76bb0710c686b6238c9f1ee64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assigned-mcp-tools.createAssignedMcpTools: FunctionTooLong \u2014 createAssignedMcpTools 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"398b6884c6da764105bd4ada58ee17d884864bd8e052d4c224001edd34b807af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-package-work.skillPackageWork: FunctionTooLong \u2014 skillPackageWork 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":"server/src/services/skill-package-work.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d754851908e0b7c9633bf8f87b81854a0b870a0123cb1effa1c4564f58578b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client-registration.createOAuthClientRegistration.ensureOAuthClient: FunctionTooLong \u2014 createOAuthClientRegistration.ensureOAuthClient 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc127ebe594277c39bb3062e390c5ba2cf7c3301f1e50dc19c0449fe0098081"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.useIssueThreadVirtualizer: FunctionTooLong \u2014 useIssueThreadVirtualizer 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e948a63c59b832471eb9671b0ca8f7e2b24d0c2fb02052debfc9cab5150fd10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StalledReviewActions.StalledReviewActions: FunctionTooLong \u2014 StalledReviewActions 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":"ui/src/components/StalledReviewActions.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed740ffd2cd834823b01f7fb92847f120f61b2460507f9ab7809e96e972283f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useBackgroundSubmitQueue.useBackgroundSubmitQueue: FunctionTooLong \u2014 useBackgroundSubmitQueue 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":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad358b7c680aeaa5f64724b0d11558d242dc53228e1d14db00801fd01da4c68"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillStudio.VersionHistorySheet: FunctionTooLong \u2014 VersionHistorySheet 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b5e9324f682e718dbb84f256fd9076aad0a68ebc814227afd1bde1838ec5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BrowserUseSettingsPanel.CredentialSettings: FunctionTooLong \u2014 CredentialSettings 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":"ui/src/pages/apps/app-detail/BrowserUseSettingsPanel.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4732dfbbc863d6feca5adf831c68e8e59764e58a732f2ec6a67fc0b359f660"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuditHub.AuditHub: FunctionTooLong \u2014 AuditHub 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":"ui/src/pages/audit/AuditHub.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86271928f17d376e8326610ce8346e74e8e11405ada4b9f646e65ff09e06fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProposalsTab.ProposalsTab: FunctionTooLong \u2014 ProposalsTab 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":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0200fdba3dfa96676c5e7a2c7c76e9d0604d2c6f571e5067d5eb1378d732e4c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewIndex.ReviewIndex: FunctionTooLong \u2014 ReviewIndex 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":"ui/storybook/prototypes/provider-routing/ReviewIndex.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"36888542626c649ae0f2a377da812b28e6680e013ac70febc1fc2324e6d83d37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/onboard.ts: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc86267b02a9154755abd04a004b02a89f727ececeb47f8810dd0b83aefdc4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inbound/conversation-queue.ts: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: createChatConversationDeliveryQueue (89-761). The bar is 500 significant lines; this is 102 over it, 1.20\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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5f3de58497ca4c620280230c2ee0041c29d5136aa4eb2f6c0237246d6be9fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/client-credentials-service.ts: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: createClientCredentialsService (159-806). The bar is 500 significant lines; this is 102 over it, 1.20\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":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2dc7d0f82de96fb2fb365ad482604d6fd60a1b9247a2fed04b38e67bede1cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LogViewer: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 81 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"798b03679f6d400e80b02a3f1f29fd9a20bd3a64b6f04b3de1c4640ff5c2bc92"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexAcpxSession: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a86d8013edaf74b6ec22b8ca62a66ba08e812f7510ee66db1eb1c732ca0d37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/slack-search-oauth.ts: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: slackSearchOAuthService (40-744). The bar is 500 significant lines; this is 100 over it, 1.20\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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb8f9f3734c12050dc1593745d2b5e9693717211b50051782915ac833c3ffd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/GitHubChatSetup.tsx: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: GitHubChatSetup (78-686). The bar is 500 significant lines; this is 100 over it, 1.20\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":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aab4e1725e24324d2d2e05a73d771deef21c7efb20b6d254f50521e9892a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth.registerClientAuthCommands: FunctionTooLong \u2014 registerClientAuthCommands 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":"cli/src/commands/client/auth.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94210b4d38fe81d91295db5df6be00e9da1cc2089fd5f6f7d7274452748a8ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: token.registerTokenCommands: FunctionTooLong \u2014 registerTokenCommands 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":"cli/src/commands/client/token.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f55fb0a94ef7c3328f6bb419e5abe569dc8032e8877727a14d4b31a71c99c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-target.prepareAdapterExecutionTargetRuntime: FunctionTooLong \u2014 prepareAdapterExecutionTargetRuntime 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb18c175356a944483772b8bef4197e5a5614bfdaed9d9f0030b21a651a525d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setup-token-runner.runSetupTokenLogin: FunctionTooLong \u2014 runSetupTokenLogin 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/adapters/claude-local/src/server/setup-token-runner.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"287b4f95486086b8c78c8fbea089ee881097c84bb2fd288d3b88bb319083631c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::provider_backend::terminal_events: FunctionTooLong \u2014 paperclip_runner_core::provider_backend::terminal_events runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6364a93993ae7de17e60ea8234869889ef9495781c0529d49e5595c1302c79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.createPostgresRunDispatchAdapter.dispatchResolvedInteractionIfCurrent: FunctionTooLong \u2014 createPostgresRunDispatchAdapter.dispatchResolvedInteractionIfCurrent 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff58e523888b9315cb331d59557b79a6845f74adce1727f0ce58a6450d27f719"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decisions.decisionRoutes: FunctionTooLong \u2014 decisionRoutes 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":"server/src/routes/decisions.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"80da60bfcc43df86e4ab3dc7178b48da69a4d37e752a2cbac2cfda74807ac6f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-workspaces.inspectGitCloseReadiness: FunctionTooLong \u2014 inspectGitCloseReadiness 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bba16fd17b22cd6364af4aa4760b628270336bd9af6638c7cbd0a1de1a098a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evidence-classifier.classifyEvidenceRef: FunctionTooLong \u2014 classifyEvidenceRef 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50f88e470b9ce73b1343135fd0ac931328f88704198fa9ec6533e5a09aadae0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentBulkSettingsSheet.AgentBulkSettingsSheet: FunctionTooLong \u2014 AgentBulkSettingsSheet 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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8401f553ecd47591f0c84c38d451138f21e158780dc5f80db11c18fb36d66b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NewGatewayDialog.NewGatewayDialog: FunctionTooLong \u2014 NewGatewayDialog 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":"ui/src/pages/apps/gateways/NewGatewayDialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"978c26569fc30cfab8293e48a53bd927ec07fc05398b7c88f6a39483e36afb46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConnectionCatalog.ConnectionCatalog: FunctionTooLong \u2014 ConnectionCatalog 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":"ui/storybook/prototypes/provider-routing/ConnectionCatalog.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fce7759cde6a6faf82ad64d52440df3644631d240d46161ba31ab59c2c991b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: executeTurn (250-779). The bar is 500 significant lines; this is 99 over it, 1.20\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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d6399f5ef5196b880dc76653ae59ec67bab0291a6f1e6d9bd3e2ddb8e3a3c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/Connections.tsx: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: Connections (116-585). The bar is 500 significant lines; this is 99 over it, 1.20\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":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84616f7c87ad89fbf25e787a866bd58b561d8b6e8e1ebaeb77d7505b67d3f0f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProviderToolBridge: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 30 methods, 2 blocks, lines 194-1005. The bar is 400 significant lines; this is 79 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"920fad459d2bc1f2b0af4a8adab4d6dec82fc850cdb8b479cbb24c528357cd3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: secrets/proposal-review.tsx: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/proposal-review.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a524c9c25b0bba94c0ae2f4c023a502f1cd09c69c82c37b80a1f3105dccc9684"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IssueRecoveryActionCard: ClassTooLong \u2014 478 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 78 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5347329229ba1a78b1773da3c7890e9c75cc3132d30f7cf9117d4aeaee1805"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/agent-conversations.ts: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6117e2c7d316165cea8f482e2b6a3e124f15b91d7902054b164b0a2f3a7eea4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-run-publications.ts: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-run-publications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134b7c93b013a8bcffb3e1f2f88ce2879014821da79491f754fbe1d5519b6818"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-github-management.ts: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: githubChatManagementService (36-719). 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4345f0ce6f5cb63bd438141dcd2fe5312ac1d979fd3ce4021bce7c20f67d54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: approvals.approvalRecords: FunctionTooLong \u2014 approvalRecords 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":"server/src/services/approvals.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee93a2a1afe7fe54b70e29e27d0b3cd2c59acfe53dcf0cbdf677b67a94e9e5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-replacement.createChatPublicationReplacement.closeProgressToReplace: FunctionTooLong \u2014 createChatPublicationReplacement.closeProgressToReplace 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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d299a5bd07d654fcc1c73fa6d81f753d07cd67bfc2a85458062fa87084909b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: company-skills.readUrlSkillImports: FunctionTooLong \u2014 readUrlSkillImports 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":"server/src/services/company-skills.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c048d244749d15bea157e91f20bd28f8ddfd7d7ece698ab376efaeaaac239a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.supabaseClient: FunctionTooLong \u2014 supabaseClient 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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d13d6617b78bf1aa18ae972565b5f588553f7f2f6695efc96dd2333d6fdf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: antigravity-runner-credentials.antigravityCredentialTurn.copyBack: FunctionTooLong \u2014 antigravityCredentialTurn.copyBack 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":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"609570750eea65d31e10afbf19cb8b4bbf769433c1987e0e3f9120f88ce7cdf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstructionsBundleSettings.InstructionsBundleSettings: FunctionTooLong \u2014 InstructionsBundleSettings 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":"ui/src/pages/agent-detail/InstructionsBundleSettings.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a06ffcc7d2b58252373cf6e19cde5d493b90f221896a9be03bdbe876fdb939"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-telegram-media-intake.ts: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f186587491139cbd388a37135603a98ca813f6f16a00c8905b935757b17910e5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GatewaysTab: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 75 over it, 1.19\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":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec49b2e7d36429ef696c18a36f95e656b686c8cede85642bdee3d4b181a2ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/http2-bridge-server.ts: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"909ef75fcdb44da3a649e10532386589a8aac21af693088510c037c5b20857db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-github-webhook-config.ts: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476a94358a187d18e95a268710cbab2820590fb2e4ac9cb6b71e2bf1a44f5d00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/authorization-start.ts: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: createOAuthAuthorizationStart (39-742). The bar is 500 significant lines; this is 90 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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb783b22056624fd29037e105648e6ee8abc866e1ca0703089e573682a859b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/OrgChart.tsx: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: OrgChart (135-729). The bar is 500 significant lines; this is 90 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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0315d8a0788abab795af569a8e7e9d12d0c47f0020f68ddca8843342b2965e22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-runner-browser-server.createLocalRunnerBrowserMiddleware: FunctionTooLong \u2014 createLocalRunnerBrowserMiddleware 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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8b966c006c62301d92ca122e570ca1e991b22e132ae44b168e2feb2b743b8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: billing-reconciliation.billingReconciliationService: FunctionTooLong \u2014 billingReconciliationService 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2cfd4ea325e053fad8392983a7201973aac2c0c614a03a925b7cc7f6671cfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-catalog.syncSlackBotTools: FunctionTooLong \u2014 syncSlackBotTools 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":"server/src/services/connectors/slack-catalog.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb9e0f6fd3c0e6516488d8a4fdaf1cfe73614a84a312e3db93fa8777c10edb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-lifecycle.createHeartbeatLifecycle.enqueueMissingIssueCommentRetry: FunctionTooLong \u2014 createHeartbeatLifecycle.enqueueMissingIssueCommentRetry 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eab50f07de8e07c8c62b9bb57fdc83b29ff451a91d9d7df6da35f932654d7b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-lifecycle.createHeartbeatLifecycle.finalizeIssueCommentPolicy: FunctionTooLong \u2014 createHeartbeatLifecycle.finalizeIssueCommentPolicy 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0592e4139a08061bf3621782562207ba5be78bd63b8ed9cd0c09bc1fde0552"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.providerSessionIdentityFromDurableProviderState: FunctionTooLong \u2014 providerSessionIdentityFromDurableProviderState 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7871}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90763e9747dac538eb79895a1fdf76da1c623912be622feec9128a2824b109a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.syncRemoteRunnerDirectoryOut: FunctionTooLong \u2014 syncRemoteRunnerDirectoryOut 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14877}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd34b2b0981fff8130a0fe196a535706999d90ee9a5b67fa8c859043eb75bd4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prepare-native-run.prepareNativeHeartbeatRun: FunctionTooLong \u2014 prepareNativeHeartbeatRun 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":"server/src/services/native-runtime/prepare-native-run.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"153de8ec2a9bd1a9bd35b1b4b44dbabd2560f572754b69407e02eecac12fda44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attachments.downloadPhotonAttachment: FunctionTooLong \u2014 downloadPhotonAttachment 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":"server/src/services/photon/attachments.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fef97fcadc0e1ad96876d73f9610ec8753d121dfbc8cc195b2830d554f39e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-version-retention-work.registerSkillVersionRetentionWork: FunctionTooLong \u2014 registerSkillVersionRetentionWork 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":"server/src/services/skill-version-retention-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91533d4e7f12418f6644a2cb60d2cb8df654012743584b98b17dd5f85f31b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.updateNamedGateway: FunctionTooLong \u2014 createToolGatewayService.updateNamedGateway 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b78756349df6b20c4750f512591439f3d49635daf665ef590506f8b886d2112"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarNavItem.production.SidebarNavItem: FunctionTooLong \u2014 SidebarNavItem 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":"ui/src/components/SidebarNavItem.production.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce4e05cb17677e2d48a2b9013420a21d8d37e4b5513fa4586c6d09fcd91707c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResponsibleUserDenialUxLab.ResponsibleUserDenialUxLab: FunctionTooLong \u2014 ResponsibleUserDenialUxLab 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":"ui/src/pages/ResponsibleUserDenialUxLab.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9823cb11e69e6f6b9dd5b0e6e56b6c854d22a324c4e6098e4a9a23dc18b814a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Secrets.ProviderVaultsTab: FunctionTooLong \u2014 ProviderVaultsTab 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3744}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20ff12d677dd4d3dc1cc9cb4265346b6e8ebb0584a9498fb45de62fc7d98c5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppLogo.AppLogo: FunctionTooLong \u2014 AppLogo 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":"ui/src/pages/apps/AppLogo.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f720a9a7bc663cf52406579d870662ac781b21e2ad4867539838a90f03077352"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ManagedSlackSetup.ManagedSlackSetup: FunctionTooLong \u2014 ManagedSlackSetup 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":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d4e941199fcf52928a5db6ba98fb7c32afcd7454e8862bb6170e506ad512c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteMcpConnectionReview.RemoteMcpConnectionReview: FunctionTooLong \u2014 RemoteMcpConnectionReview 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":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd00037a1bfb7e848ef52870c6f053805d3453f042ab42dfa11bf1a7b02af4e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: token-broker/service.ts: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: createConnectionTokenBroker (31-758). The bar is 500 significant lines; this is 87 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25506e3b1dddca39c862509afc7a108acbfc6d0a5ecef3f2352953cd15255c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/task-retry.ts: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d83ff4dc65d4d14cc5b0c8a0957565b75bc811de2fdc5471c2e1e78a922718"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AgentActionButtons.tsx: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: AgentActionButtons (160-692). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e252013c230e94101bc742928b1b9137bf760c493acb5470a9b081d965c53a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/TaskChatRunnerActivityGroup.tsx: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff9d7f16f67dde5677bd35f3d259c36cdf40890ddb4a525bb048aeacee53144"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-run-trace.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":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da4dc656fe75a43fb0787d7e05af0c5a29101ab3555102332d3881e4b0ed716"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: profiles/ProfileWizard.tsx: 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":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca972b848df3ce7296eb6b05471c911f9f8dacd7d93a195aa177fd5eb007d42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ssh.startSshEnvLabFixture: FunctionTooLong \u2014 startSshEnvLabFixture 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/adapter-utils/src/ssh.ts"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"2404f1a2d467ede70fb19e2a510d07c41e332c7ffdcf7aa009dc06fd05212aeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parse-stdout.parseCursorStdoutLine: FunctionTooLong \u2014 parseCursorStdoutLine 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc06a899e6497e20339e7c5a57ff2f30bd4f35f034bd5b3312b5ef9b5cb8ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::bin::fake-acpx-sidecar::bootstrap_success: FunctionTooLong \u2014 paperclip_runner_core::bin::fake-acpx-sidecar::bootstrap_success runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea23c304d341bd9167116370c0a9b48abacc3d32fe01368bae763cc0972f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: patch-kimi-runtime.patchKimiRuntimeSource: FunctionTooLong \u2014 patchKimiRuntimeSource 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/paperclip-runner/scripts/patch-kimi-runtime.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8f5b784dbb9715034964e437f2eb5b6beb8ce0993511a188368dac55ac5da8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-receipts.createSlackFileReceipts.recordSlackFileUploadReceipt: FunctionTooLong \u2014 createSlackFileReceipts.recordSlackFileUploadReceipt 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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3baba7aa97a6696e25668c417e88e932b63eee5a361207396efae753de931eee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: device-login-service.createDbAdapterAuthSessionStore: FunctionTooLong \u2014 createDbAdapterAuthSessionStore 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":"server/src/services/device-login-service.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e40003c5e05e00d75bc14e55271d9c2481cd38cd895f7d70f698f5a463633cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-billing-import.fetchProviderDailyCosts: FunctionTooLong \u2014 fetchProviderDailyCosts 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":"server/src/services/provider-billing-import.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6447daa2b84e942917d7324dd1d0027d94abdb0ebae516ef15bb5d066ad1fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: discovery.createOAuthDiscovery.endpointsFromMetadataUrl: FunctionTooLong \u2014 createOAuthDiscovery.endpointsFromMetadataUrl 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd28877c3267c92b8f69c7bdb87961f245d9aa8c424a042ddce1eeaf50a3992"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApprovalCard.ApprovalCard: FunctionTooLong \u2014 ApprovalCard 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":"ui/src/components/ApprovalCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7e87f2d85eb73466c0b5e81ee2fdf96cb821433da8203e76c253f893a8d585"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarShell.production.SidebarShell: FunctionTooLong \u2014 SidebarShell 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":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf09d6c0ad2f51570ac60c4a995908f1299119ed20f786311ecf8fc1ab493ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatToolCard.TaskChatToolCard: FunctionTooLong \u2014 TaskChatToolCard 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":"ui/src/components/task-chat/TaskChatToolCard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a14abb727b458970e25688b687fdf438a75f8dbe00b319777a4ccfb14e4c92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatLab.TaskChatLab: FunctionTooLong \u2014 TaskChatLab 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":"ui/src/pages/TaskChatLab.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4d1c1803dd07c3a75aac70aeb0bbd425e91285ad9f76a86d8bb2d30ce50dbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-environment-driver.ts: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 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":"server/src/services/plugin-environment-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b1337f379d697b0a08f118d63951fe3ab604bf5cd6f9b529c808fc01b38f80"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompanyAccess: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 64 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b8d339bdd3ed853115a4f1584592fe19abc0402a08f935f7ad2cfe4e7df7a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mock-core/live-console-scripted-driver.ts: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: LiveConsoleScriptedSession (129-693). The bar is 500 significant lines; this is 80 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9832267be1a8b5c56d8f169a76d9899a98def13a361e9c55fe2c1384f1c7d923"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: capability-mock-control-plane-adapter.isSemanticToolRuntimeSnapshot: FunctionTooLong \u2014 isSemanticToolRuntimeSnapshot 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec8940773875c3b70fcccd502a8c6791cecc786e55b9ccf85b143145ace42ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation.Conversation: FunctionTooLong \u2014 Conversation 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/paperclip-runner/src/react/components/conversation.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d364385ded56fafb22fea212d078314ef042ca5308756a4f992539bbc4f53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-telegram-media-intake.normalizeTelegramMediaAttachments: FunctionTooLong \u2014 normalizeTelegramMediaAttachments 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8f451b43eee0d36fbbb703e8f5a0ebb2b797a638042a618d8c07a97b836924"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fast-responses.fastResponseService.settle: FunctionTooLong \u2014 fastResponseService.settle 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":"server/src/services/fast-responses.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ab779f86fa0ebe94d20c46e35aaa8de82ef048479871fa587672b6e1123321"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feedback.resolveFeedbackTarget: FunctionTooLong \u2014 resolveFeedbackTarget 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":"server/src/services/feedback.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f328bbe6acfd717640b8596cfd83f080fab9a3147be4fa0468cfdcda3ca3839"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: isolated-task-directory-retention.expireIsolatedTaskDirectory: FunctionTooLong \u2014 expireIsolatedTaskDirectory 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea5df2513910b3391f422471941152eaaf064986b337d32d2359f59e3d0ce55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: blocker-stall-wakeups.wakeWaitersOfStalledIssues: FunctionTooLong \u2014 wakeWaitersOfStalledIssues 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":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe1976efad09cc4f76f2820fecab5fdfbc0cc0454e895c5c0faa5ec39b71a82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-runtime-leases.workspaceRuntimeLeaseService: FunctionTooLong \u2014 workspaceRuntimeLeaseService 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":"server/src/services/workspace-runtime-leases.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9deb69f0236d52b559bf21974ac165d24a9752283eefdbe00ede91243a1bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.IssueChatToolPart: FunctionTooLong \u2014 IssueChatToolPart 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"e784d1474aaec61d66e247ee2dd3a317c65508eb62531fde6c5a130240cc830d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskTreeControls.TaskTreeControlDialog: FunctionTooLong \u2014 TaskTreeControlDialog 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":"ui/src/components/TaskTreeControls.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97f547f56f703b5ad19b2319e26d23196a0ee851400f02ac644632ed423e5a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentWorkPanels.AgentTasksPanel: FunctionTooLong \u2014 AgentTasksPanel 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":"ui/src/components/chat/AgentWorkPanels.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cdb03b72b8bbf7aa8960bac155f78b19fb8a553e2bd3111da16f65e239730d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentObservabilitySettings.AgentObservabilitySettingsView: FunctionTooLong \u2014 AgentObservabilitySettingsView 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":"ui/src/components/observability/AgentObservabilitySettings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a566937d7672ceb8fe3412fbdd580e155e195ba5467fa2cfd6df77068bc148a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatSystemNotice.TaskChatSystemNotice: FunctionTooLong \u2014 TaskChatSystemNotice 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":"ui/src/components/task-chat/TaskChatSystemNotice.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61be8ce1cf31097f7f9b9658006c12d777b79924edeb9d424ce64f52002ed39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdapterManager.AdapterRow: FunctionTooLong \u2014 AdapterRow 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"722d9156e0754bed5b8e8616502604586575e1899208dadb7bcbd1681ac522ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/activity.ts: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: activityService (64-739). The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6161052b14e4b1fe1b2ea03392ee03fdcaac3747310cfb1baad7a473ea104ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PluginSettings: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be36456458f5b5ae86df2c61c67057368e2fd565ba6f69517f4d3240db4fe17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: execute: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fe1ca7a04c159d1b687eb9d5fb643fe9b9f9015172a0943a6b41caeee42b98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acpx_provider_state.rs: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: AcpxProviderState (2 blocks, 110-770). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5066e82f24d71108bc0f502d14f0f1a5c2752bccfa596478e502fbc50144d36"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Search: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 62 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Search.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24af819c4417801f0bbf3b06b8d4d0a5888f409df6bf604282f5cb3fe6d61f46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/routines.ts: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: routineRoutes (23-719). The bar is 500 significant lines; this is 77 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":"server/src/routes/routines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f05881c4a0d4c1e7dac3e29b8b785cf0451f07e527b856b4dd4c1ccc89465e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/skill-package-store.ts: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: skillPackageStore (165-699). The bar is 500 significant lines; this is 75 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":"server/src/services/skill-package-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7269244f73baa7e02b9084961b3f7d83d6a4781a514c29509610987bb473651"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::provider_events::normalize_acpx_status: FunctionTooLong \u2014 paperclip_runner_core::provider_events::normalize_acpx_status runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"75229f403d5c33ed371252b6fef47a46791f269904755c1a80d10aadaae5d59c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth.resolveCloudTenantActorOnce: FunctionTooLong \u2014 resolveCloudTenantActorOnce 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":"server/src/middleware/auth.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1760391398e9d9557517ebcdd93d03e9a7569ddc27dc29e3c927740e47504166"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-use.browserUseRoutes: FunctionTooLong \u2014 browserUseRoutes 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":"server/src/routes/browser-use.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db0e5a82c887a097b7c641cdecab29e8346a51e318d4b0facc252aa2686c4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-apps.mcpAppsRoutes: FunctionTooLong \u2014 mcpAppsRoutes 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":"server/src/routes/mcp-apps.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3dcf9923eb31216caf84b640989a448d951f59a64ca50e22f89d3632f59dca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: case-handoff-delivery.caseHandoffDeliveryService: FunctionTooLong \u2014 caseHandoffDeliveryService 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":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eba7242887367778de28d4f5c2e9c5cffd723fa29873583661990594ef260ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: email-connections.emailConnectionService.connect: FunctionTooLong \u2014 emailConnectionService.connect 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":"server/src/services/email-connections.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"378387abb1e6200dc48d9204ac1e9f769b3fba7e9ce6ae6b275f2fba965811aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: isolated-repository-rehome.rehomeIsolatedRepositoryWorkspace: FunctionTooLong \u2014 rehomeIsolatedRepositoryWorkspace 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca00b29b8a61a829409bd6e902ad8dd2c7abb8829b4182e08735ac27d57409f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: managed-config.parseManagedConfigEnv: FunctionTooLong \u2014 parseManagedConfigEnv 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":"server/src/services/managed-config.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98074b14c2dad63a82b790c43a2310ded6c7f472e15a56806c5fc8e0a78fc2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.recoveryService.escalateDispositionRepair: FunctionTooLong \u2014 recoveryService.escalateDispositionRepair 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84750378ebef8b35dc0d5cb8b8ad5b70eb674eabca73f0ffb3f9822660baacc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretService.resolveAdapterConfigForRuntime: FunctionTooLong \u2014 secretService.resolveAdapterConfigForRuntime 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":"server/src/services/secrets.ts"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5410531f636ec540d338e126df44bf662797b28f95f44f589e24a8f615ef3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grants.createConnectionGrants.replaceConnectionGrantMembers: FunctionTooLong \u2014 createConnectionGrants.replaceConnectionGrantMembers 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":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5636c32a029f450e3501ac6191b64e8b223322ba7acd4ebc082ff8f5a221bcb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-oauth-legacy-backfill.upsertTokenSecret: FunctionTooLong \u2014 upsertTokenSecret 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":"server/src/services/tool-oauth-legacy-backfill.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5b1ef1c53528e15a89f954dd1037f8deec9c105816dd50ddd4ddf89fe407e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CaseRevisionRail.CaseRevisionRail: FunctionTooLong \u2014 CaseRevisionRail 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":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c973e15d493cee368ce8ed4390ae5b260ab6d1658eddab880b2a8d847fd6f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssuePlanDecompositionsSection.IssuePlanDecompositionsSection: FunctionTooLong \u2014 IssuePlanDecompositionsSection 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":"ui/src/components/IssuePlanDecompositionsSection.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce375447e1172d28c3d7b72ab82eea13dd444e516a909e0ab098e0580a769e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatThreadView.TaskChatThreadView: FunctionTooLong \u2014 TaskChatThreadView 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":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ddc088335e46dd3da2eb9b6b0d0373a5eaab0f0a2098f5e9f7fdb6ab2ca20e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyContext.CompanyProvider: FunctionTooLong \u2014 CompanyProvider 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":"ui/src/context/CompanyContext.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6112848ff5565c7561ece997ef165d56f306ca36d6c485a73d49d10402e22e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useRecentTasks.useRecentTasks: FunctionTooLong \u2014 useRecentTasks 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":"ui/src/hooks/useRecentTasks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"76328581e1e7de37395906fb50a763e3d1683cce62e48a448df98124a40e2623"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImportSkillsFromProjectDialog.ProjectSkillBrowser: FunctionTooLong \u2014 ProjectSkillBrowser 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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9bea709817b0c39c5fb5abb3f8be7c7e66c2713399a923ddbc07d74ee11d8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Layout.production.tsx: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Layout (118-754). The bar is 500 significant lines; this is 72 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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919bd1a638a681b31f6298382e204494c61c5acf471364cb400f5103df21031c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/AdapterManager.tsx: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: AdapterManager (257-690). The bar is 500 significant lines; this is 72 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b831899e72ce4d0b5fd7adba93ef077445850fdfc1389a92e46d633346860c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/GitHubBotManagement.tsx: 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90724d7c87c6910bb70da44840f12afbb81b419e3c29cd38ec0f93999bc01629"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/FrontmatterPanel.tsx: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"038d5695a5c093218fea52749faf37cff1d0b33af1684629264a7f7dec90cf87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parse.createPiJsonlParser.\u003Creturned closure\u003E: FunctionTooLong \u2014 createPiJsonlParser.\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":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"257857e827ef5e2bd592e6eeca718524c6164c310adf583b05f969f84dbde4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: request-card.RequestCard: FunctionTooLong \u2014 RequestCard 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/paperclip-runner/src/react/request-card.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4bfdc79fb44393d5c3674497aeffcad5cb2e58d43ce6f8a0a1155421d31ed5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-conversations.settleConversationTurn: FunctionTooLong \u2014 settleConversationTurn 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":"server/src/services/agent-conversations.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4110e07f09333174c91cc57c84e5b694cc18f21f0d4ff056f8231136b897bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: endpoints.createChatEndpoints.create: FunctionTooLong \u2014 createChatEndpoints.create 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e9d1e1ac91bb3c229decd0275ab698684ac04fc983c6881974e76dbdf43a27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.prepareHotRestartShutdown: FunctionTooLong \u2014 createHeartbeatRecovery.prepareHotRestartShutdown 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e2c5c6b30b55ebc7adeb811e174ad1b89ce02bf0b664d5019aa8b9c2f35ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createHeartbeatRecovery.resumeRetryableNativeProcessSessions: FunctionTooLong \u2014 createHeartbeatRecovery.resumeRetryableNativeProcessSessions 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d016833871608233df95e6a01e20991ef56705be80e65fe11c9e7cb8708ad4a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: historical-cleanup-verification.historicalCleanupVerificationService.run: FunctionTooLong \u2014 historicalCleanupVerificationService.run 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":"server/src/services/historical-cleanup-verification.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6920b543f9e609b281d95a6fe00177ca49f308a9200b577c7329b0ebae93bf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-provider-artifacts.restoreNativeProviderArtifacts: FunctionTooLong \u2014 restoreNativeProviderArtifacts 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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"163873bb903a0e9adb1ae32d1573ecb2975878ee77636de843f605ecc2577809"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-handoff.buildNativeSessionHandoff: FunctionTooLong \u2014 buildNativeSessionHandoff 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":"server/src/services/native-runtime/native-session-handoff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758a587715b117d5f2f5e60767db44b5e4d7d80ecb30a67f150231cc8de53d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-grant-continuity.createGitHubGrantContinuity.refreshManagedGitHubGrantAccessOnce: FunctionTooLong \u2014 createGitHubGrantContinuity.refreshManagedGitHubGrantAccessOnce 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c9833e60c9b7be940788dab645131d6d8d44ef078e915b5b8b84238cc3f73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ManagedAiConnectionDetails.ManagedAiConnectionDetails: FunctionTooLong \u2014 ManagedAiConnectionDetails 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":"ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aa33bb2e970f1ffbd048cd50d7d8bc53875c0e6c8e86b5a5c4433c25b5267b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatProtocolCard.ProviderActivityCard: FunctionTooLong \u2014 ProviderActivityCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a6d7ec748683e8c3f46aa1f2e0d3bc3dc81dba08900109cbf0f3d8ed6ae80b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Agents.tsx: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Agents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f7e2e69162d4fbea33f056a6f100e7ecffcdcbe5d7a2d1b8549ad955afd71b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentActionButtons: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 6 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":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cad2d85d02ef335e9781b3d6bde59fdd8c7b2c6b10efe87f15055d50d0a229c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: issue-thread/public-view.ts: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80b54a3c7b2bcb059a091251a8bf4a8e373927438946a066f9ec26dc87ecd84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/approvals.ts: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 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":"server/src/routes/approvals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0bad6cb822f27110b7117fab2da7ca6185a6bcc9384ac1458deb47eb59d020"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/run-identity.ts: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 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":"server/src/services/run-identity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80226a91e608ff82de270a50dc33733601b758625494480ab6a4b6d4b7772869"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/Agents.production.tsx: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb7c758984a57164bfb73d70df80de3d2b037cd43ac5df6b40df98737b6292b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/slots.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":"ui/src/plugins/slots.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1f0c6d3fdec140e47d26c3d819dce9a1b5115d279e70c3597f00ec7e9e8746"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::fake_harness::run_fake_harness: FunctionTooLong \u2014 paperclip_runner_core::fake_harness::run_fake_harness runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/fake_harness.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47131dc2b609aca03da877d58411dba16722a19427b976f98ba9ad609e63128"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user-profiles.userProfileRoutes: FunctionTooLong \u2014 userProfileRoutes 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":"server/src/routes/user-profiles.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e85ed80e20d4d3aa0bed71a66e07836c073ab2c65719375a37d878580dfda1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-identity-redaction.createAgentIdentityRedactor: FunctionTooLong \u2014 createAgentIdentityRedactor 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":"server/src/services/agent-identity-redaction.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a23a0f6173c30bf8cddaa4f93fa622d2e6dd4b9a282a86baa8da95f14b182e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-observability.agentObservabilityService: FunctionTooLong \u2014 agentObservabilityService 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":"server/src/services/agent-observability.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d2da9f2cd7819201dbc4baf5978e1acab497062b6a0ee75c45dc0bb711e1b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: budgets.budgetServiceInTransaction.upsertPolicy: FunctionTooLong \u2014 budgetServiceInTransaction.upsertPolicy 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":"server/src/services/budgets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4d547665cc35ab35dc0b675c1d0b3716e98f14be17aeac20af2d942efaa4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-attachments.resolveCanonicalAttachmentTargetOrThrow: FunctionTooLong \u2014 resolveCanonicalAttachmentTargetOrThrow 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9a56c8d0e511a6dcd95c56832126e0077f92e71bae74db964cdb5d048ecd77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRunnerdBackendWithinSessionClaim.inspectRemoteHarnessState: FunctionTooLong \u2014 createRunnerdBackendWithinSessionClaim.inspectRemoteHarnessState 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17203}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b054bd0ddf287d56c12a85b7ab53279e65de938100ffe1154d7410bfe2e7b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BillerSpendCard.BillerSpendCard: FunctionTooLong \u2014 BillerSpendCard 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":"ui/src/components/BillerSpendCard.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eca74f4ebc840cbd8e45e1c77324a2b113b42169e52b71da32d9e893db63f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueRecoveryActionCard.RepairWorkspace: FunctionTooLong \u2014 RepairWorkspace 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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5292adb31c2bc4fe8e365f583ca268517e8225963c48043e913c87cd48b5632"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExternalAgentInviteDialog.ExternalAgentInviteDialog: FunctionTooLong \u2014 ExternalAgentInviteDialog 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cae39269750bc0a327510ca3199f484e18f707224a429bff654a7fa8a365398"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAnnouncement.useAnnouncement: FunctionTooLong \u2014 useAnnouncement 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":"ui/src/hooks/useAnnouncement.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4595bc3138b43b084d068d69c154c4c8a8b30ca20fa2ba5f376c1d65009f805"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.production.LatestRunCard: FunctionTooLong \u2014 LatestRunCard 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"694bbd24573d1cf99c20bc17c3a3141b1aa48db004e321bad432040829d70f13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetail.LatestRunCard: FunctionTooLong \u2014 LatestRunCard 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"800c5193cdea78d902551e1ce371816eca161910de84ad3c438af81347eafe94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connections/ConnectionIntentInteractionBody.tsx: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ConnectionIntentInteractionBody (54-653). The bar is 500 significant lines; this is 63 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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c069e2e925081ab8abeefca3f512481ba649a65d958b915d3241e1789fcf83eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v9/client.py: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 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":"server/src/services/scripts/v9/client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fc754d7e1eb1f11a677512bf1ec4b574bab749eadad69aa20b1c491a66d614"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/company-skill.ts: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 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/shared/src/types/company-skill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b966db5ae476fd76c5e2c0b7ee894ab1b580ff6a30bf7a1f80a0fb5f2b0d232b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interactions/confirmation-actions.ts: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: createChatConfirmationActions (72-706). The bar is 500 significant lines; this is 62 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9370ab95e011391f01d46a2993efa905e1057cebbbc3354f9acc64257f334cb7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectWorkspaceDetail: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 49 over it, 1.12\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":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95ec1818bce0ca951c0483e7d8c959ae943d6cbaa987c57ee4233d8d5946a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex/app-server-transport.ts: 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":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad65bd06b1ecea680197022b6aa11748a9f352e3e9e4a85bbe00edb6dd6ac857"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: configure.configure: FunctionTooLong \u2014 configure 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":"cli/src/commands/configure.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b796b7992f2465878cca9bf148c6286fc9e1549ad16e80b888760713c05f4fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: database.promptDatabase: FunctionTooLong \u2014 promptDatabase 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":"cli/src/prompts/database.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3c5553c3b903f4a4f6733965cb646d2e16b31165c77d9f851e74a7addf80ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-security-config.createIsolatedCodexAppServerArgs: FunctionTooLong \u2014 createIsolatedCodexAppServerArgs 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c123df88a6b4f8a95f606609fb64fd41026cd12d882bae2320e85835260fa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: review-check-state.githubReviewCheckState: FunctionTooLong \u2014 githubReviewCheckState 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":"server/src/services/chat-channels/github/review-check-state.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fefbbbe4872f1a7da73879c72e8b94c45f31458ef4448cdd4b11dc97a716546"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-start.createSlackTaskStart.finalizeSlackTaskStartFailure: FunctionTooLong \u2014 createSlackTaskStart.finalizeSlackTaskStartFailure 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20719a66cc4dd1d978f794fb2916ba237a25a3fa60d41ab14fb5ec0467059e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slack-native-search.fetchTransientSlackSearch: FunctionTooLong \u2014 fetchTransientSlackSearch 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":"server/src/services/connectors/slack-native-search.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dce007ed70c4bd0895ff224e94a943f8a51035a094587411d058e3855b22f4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-state.createHeartbeatRunState.evaluateSessionCompaction: FunctionTooLong \u2014 createHeartbeatRunState.evaluateSessionCompaction 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d47ed236b37d4d72ab239a25f26fc4f9776ddb86f0830b04c56204242c76ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: instance-settings.normalizeExperimentalSettings: FunctionTooLong \u2014 normalizeExperimentalSettings 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":"server/src/services/instance-settings.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4c0da9964047a5e2f945abd55bb2f349fedfe5ee102e9a20de97cd7e7f8ab5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-watchdogs.taskWatchdogService.evaluateWatchdog: FunctionTooLong \u2014 taskWatchdogService.evaluateWatchdog 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f402541656b1addb1527d915e0e8e2edccd3ab0c210eb79e7ab8c6dda2bc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: discovery.createOAuthDiscovery.discoverOAuthEndpoints: FunctionTooLong \u2014 createOAuthDiscovery.discoverOAuthEndpoints 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"219eaa729786c24aa51af0343b15c915f9bbf8abf76ed13a6e08331ef8d5b9dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usage-receipts.persistUsageReceiptInTransaction: FunctionTooLong \u2014 persistUsageReceiptInTransaction 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ffca0fc3bd048e4ac55d741de7c4705194c9169e24e6f2a68f2b78b546a6fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InboxAgentPolicyControl.InboxAgentPolicyControl: FunctionTooLong \u2014 InboxAgentPolicyControl 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":"ui/src/components/InboxAgentPolicyControl.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd094097b8319ed82c1765b22e5f7bf7010cf38de30254b713ade3f63626e65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueChatThread.ExpiredRequestConfirmationActivity: FunctionTooLong \u2014 ExpiredRequestConfirmationActivity 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ecf6bef3fb187221c282403cc4611a21e0b81bc6f2bda1e204cfec1d5459c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportsToPicker.ReportsToPicker: FunctionTooLong \u2014 ReportsToPicker 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":"ui/src/components/ReportsToPicker.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a520124c3cf2d43175e1368033ad840d3f9577843b3a027697a5cdf4b3c22b67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskList.TaskList: FunctionTooLong \u2014 TaskList 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":"ui/src/components/TaskList.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8532168b9a525d5a76535a72205174bfec5b94b4f2bda2b702e2df2dc4840d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Agents.production.OrgTreeNode: FunctionTooLong \u2014 OrgTreeNode 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"362d25f4d1c416649cf9ceb8d483177cafe488a8705fcd3e36e9ec9ac6c68ab9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Agents.OrgTreeNode: FunctionTooLong \u2014 OrgTreeNode 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"36423d1423d2b4d6e96ba89b7d1d9ba30560ad90a190f6735f57297ce817d358"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/chat-control-recovery-stop.ts: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: readChatControlRecoveryStop (181-677). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eb6ac62a8d8e48a91230fdc15217edfedb2f9bd0f68469e94b318ca86241d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/GatewaysTab.tsx: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: GatewaysTab (117-668). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489746e997a2875ea9a7aa64a63699fe0852e38bfbc71efa359aaa5d85f054e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: realtime/environment-custom-image-terminal-ws.ts: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 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":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad9326c9c4a59a4824cb2f68cd60c4b7a94f3aecd24abfebdda571d53e44696"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/redaction.ts: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a71e98d158042e08b328596255f23c70723ac740a0588937b59e21a31e69602"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routine-triggers/RoutineTriggers.tsx: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71e484a584652824a6710b3fd4afe0cf4542e43bddd5c2d5b9eabc59a1dce7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/host-client-factory.ts: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: createHostClientHandlers (564-1135). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/host-client-factory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6bbc1f3ee1220f41d4bbfd352c8ed894d4f19d70a6dd7bc59f1b2fb1abad85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::acpx_event_payload::decode_runtime_event: FunctionTooLong \u2014 paperclip_runner_core::acpx_event_payload::decode_runtime_event runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"630cfb392862088904c25c357ea0c36dc4a92bc350350a1ae3bf7b8da41968d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurableRunnerConfig.validate: MethodTooLong \u2014 validate runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab998e09668f2f885acd862efa54727a1b1f1aecea4aa030f43c9a9a669c8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodexCommandExecutor.open_session: MethodTooLong \u2014 open_session runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3675}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb19188cdb3f0e4c56dc8b3347d8e0a097bcbb9f5053f2bca2abcf858cd98b6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pi-runtime-extension.installPiRuntimeExtension: FunctionTooLong \u2014 installPiRuntimeExtension 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a846b116f4e9a71b2300e9ad8edc8ff7c7f54025c26b9f2839a4760892d7e84f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilitySemanticDispatcher.#applyMutation: MethodTooLong \u2014 #applyMutation 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/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3379f6dcbc3c6251042e32dd05f184b8bcd5f2aabaad1d9fb1eee334be7d0dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentmail-api.agentmailApi: FunctionTooLong \u2014 agentmailApi 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":"server/src/services/agentmail-api.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a8bea952d8b9d7bfd4cf32b7716fa9dcf2ceedb09fdd9749e2c1efc933a20c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.verifyStoppedNativeSessionForReplacement: FunctionTooLong \u2014 verifyStoppedNativeSessionForReplacement 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ed69de52e10a12ceb28f403c6b2f6009e17e4fb87033a7a13ea9486b47df49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRunnerdBackend: FunctionTooLong \u2014 createRunnerdBackend 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16057}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab504f58ca5b8e2fb2a9af2932b033bf9f8fd9c8e2ed208fbf31160729f7c2df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-agent-profiles.remoteAgentProfileService: FunctionTooLong \u2014 remoteAgentProfileService 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":"server/src/services/remote-agent-profiles.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83541f4da802d4b829bfc7a143e0043270e7544177db3c719772770c1553da5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-package-maintenance.skillPackageMaintenance: FunctionTooLong \u2014 skillPackageMaintenance 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7749e23f20a50dec8a54513902a79fbf5394693db7a615e9dfa7ca3ac868b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CloudAccessGate.CloudAccessGate: FunctionTooLong \u2014 CloudAccessGate 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":"ui/src/components/CloudAccessGate.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb302aeaa122fd4004df0c3d6c5bc3e80ef5de83aeddad6f7c1e59824a326d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LiveRunWidget.LiveRunWidget: FunctionTooLong \u2014 LiveRunWidget 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":"ui/src/components/LiveRunWidget.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c62648b9df63f4c20a32724198d3dbab71c1b55b048018ccf4502a37daec886"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Inbox.JoinRequestInboxRow: FunctionTooLong \u2014 JoinRequestInboxRow 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f01e12d662fa4b0b6305303654a4848956842a4ff46a2ccfa08722bbfa38196"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegacyInbox.JoinRequestInboxRow: FunctionTooLong \u2014 JoinRequestInboxRow 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"26650f58736f064ae3c186d4f3cd85d6979310d4fa9fa37656f5723553f3f78d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfileWizard.StepName: FunctionTooLong \u2014 StepName 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":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b49c0d78e27b2ba79d96259eaff0e9603398eecd6e3df4f63189703da19cc84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: catalog/semantic-action-catalog.ts: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/catalog/semantic-action-catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d757e29906fa23d832fd07b1f681f668eab99a48e74c83e8dd43dbca25c90c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/costs.ts: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: costService (142-689). The bar is 500 significant lines; this is 52 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":"server/src/services/costs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b35b327e7d190ccaed57ab9d629f00d3751715be27b205d0f97513770ace6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app-detail/AdvancedPanel.tsx: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d36c2df08485311f18f4f04a0f7d30a3c9c422d72108454f7427751a7874727"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/case-handoffs.ts: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: caseHandoffService (262-677). The bar is 500 significant lines; this is 51 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374f955e52e0708b9ca0166ee4edffd2abdb7e87cc5886fa3e0c092405fae12"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AcpxSidecarTransport: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdf760ef6692f3d9b372b0f81b1e32a7feecd9b53717cc3e0cd2cb35661d024"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatSdkEndpointRuntime: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eff2fdbc6f14e07678db1e4ae5380e0517112d46e19cb826b5ad19e407990e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-session-resume.ts: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6435fab08cbd5f41e08e3ce76b5856acc9b4a133ce22ba6b19d9e10f1dfb6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Composer.Composer: FunctionTooLong \u2014 Composer 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/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f6798bab2dd16249265e4c42a142b6545fbd807a5a3a291ad7117cf923688c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EvidencePanel.ToolsBrowser: FunctionTooLong \u2014 ToolsBrowser 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/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6c8f415377e3a3ccd95fbfdc8d3fe46109f492a1ede511c6f2aa3dbc996cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: menu.Menu: FunctionTooLong \u2014 Menu 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/paperclip-runner/src/react/components/menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8618128636daccc34d6fdc9eb33ce8f9ca685c0eb28abf2aac48e5f12dea5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createAuthorizationService.decideLowTrustAccess: FunctionTooLong \u2014 createAuthorizationService.decideLowTrustAccess 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":"server/src/services/authorization.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdeaa0ab245d0a361482a7c86e194e1a5772795c0dc57d43540a59e88f7bd4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision-training.decisionTrainingService: FunctionTooLong \u2014 decisionTrainingService 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":"server/src/services/decision-training.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc0ada76fc3c57febedfd11a486797fc8c9226559da8600b1a17a445b4d8623"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-source-github-access.skillSourceGitHubReader: FunctionTooLong \u2014 skillSourceGitHubReader 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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c10e5235877af20ad2218e17f926eabfe4729de5636bb09ea1caaf7235de120"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slots.createToolRuntimeSlots: FunctionTooLong \u2014 createToolRuntimeSlots 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":"server/src/services/tool-access/runtime/slots.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c02615573ca5fd7c8705bec6b63034dd72b2a11b53ce8d3e58848c39b476925"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-instance-cleanup.cleanupWorktreeInstanceArtifacts: FunctionTooLong \u2014 cleanupWorktreeInstanceArtifacts 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":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef2c195bd609ede10e7b9328c54392a2c9c58bb31fb9461f0704646b2061e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App 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":"ui/src/App.tsx"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edc9466c06070e15f854e81d714b9ab862dd64b1c241c38042c9976210bf8d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CellMarquee.CellMarquee: FunctionTooLong \u2014 CellMarquee 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":"ui/src/components/CellMarquee.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da7789f624e29611036b21da098ea3e2ea42577a3d34f9009a597459a39380"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineHistoryTab.RoutineRevisionDiffModal: FunctionTooLong \u2014 RoutineRevisionDiffModal 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37860772666c59cc87bf90bb77585356723a4667f4013840769696464d9292"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentsUsingSkillDialog.AgentRow: FunctionTooLong \u2014 AgentRow 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":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb810ff8e964ca8d6967b4527868e06730685f5f04c763ef0a52b218fc29b430"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RunnerGoalWidget.useRunnerGoalControl: FunctionTooLong \u2014 useRunnerGoalControl 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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f3313e920d90e27901444a778b3c119331111a67dcd89dd9de67e55d8fca7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExecutionWorkspaceDetail.ExecutionWorkspaceRoutinesList: FunctionTooLong \u2014 ExecutionWorkspaceRoutinesList 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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b011927d2defe96e0606b95e2195f118f3ad6936b0be39308049c0f1ee1422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdvancedPanel.ReconnectForm: FunctionTooLong \u2014 ReconnectForm 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c739e3a2ea2bc214df3a7f503b765007eff14cf7453b826a7eec901f7f5883"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GatewayAdvancedPanel.GatewayAdvancedPanel: FunctionTooLong \u2014 GatewayAdvancedPanel 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":"ui/src/pages/apps/gateways/panels/GatewayAdvancedPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4bbfe640a32d1376366357dc033cc84f2545d89f20ccd37189b28a5d539fa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/github-connection-events.ts: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa158489dd2eade4be721913c7b0efdc7fa4ecae94998148be18e452b13dd52c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/scenario-chat-demo-server.ts: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8db6a56fbbb17eb1941e5c40b7d501fce6ee22db4757f826fea592803d98fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/environment-task-runtime.ts: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: executeEnvironmentTask (54-598). The bar is 500 significant lines; this is 48 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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67310ec0521ac662b4375b489829294b971cca66d48cc2733c65f1c8b75cfce6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/direct-callback.ts: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: createDirectOAuthCallback (52-711). The bar is 500 significant lines; this is 48 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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06558ed74f8a76e3a8ec798d8263f10cc4260f4dbf9b255ddb2838b3a625973"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-managed-agents.ts: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: pluginManagedAgentService (184-709). The bar is 500 significant lines; this is 47 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":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daf23b95856ffac7fadd2941b8ad79d48f74c2abb9e51322f7fa3a250175ac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SidebarAgents.production.tsx: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0055cccbf8f3a1b917f9fe700bcd2acd6553f61dc27e1b5939037f93fe5c4986"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SidebarAgents.tsx: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc6f2d258628c5ae52e53bf9ca4faf6cb65132fe99f3f31d85999798d4e412a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-chat/AgentChatPrototype.tsx: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: AgentChatPrototype (223-655). The bar is 500 significant lines; this is 47 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":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f53054a41b5357f8e3e4d8ae88eda0ffd854a1d50d588632be7cca307a4ce79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/IssueRow.tsx: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: IssueRow (136-608). The bar is 500 significant lines; this is 46 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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04e0d6227ed3815627924a77f076e104e2e7dfeb520af5ab6afaf5ffb22c20a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiveConsoleScriptedSession: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 36 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":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b616fb9ef4c8c85cd0fccda6f717acdb034519ae1c468bc45c3be250c558730"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/EvidencePanel.tsx: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22229e08644cca2ccaeede887fb03ae53becb199ea9bacec953685b85c87762"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree.seedWorktreeDatabase: FunctionTooLong \u2014 seedWorktreeDatabase 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a1944f42baf7699895532d32a55f8deecb526c2b58f207efa9ac46fb88e37d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::durable::runner::next_authority_config: FunctionTooLong \u2014 paperclip_runner_core::durable::runner::next_authority_config runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e3e0d501f575f20f77de18fc65645d64ca09064f9c45f572b696b479d55480"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: capability-clean-room-smoke.main: FunctionTooLong \u2014 main runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/capability-clean-room-smoke.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe554e178e2baa5076c2dcbcb8690c83c32782d8d7b6b3a8775b556dd513b66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publication-replacement.createChatPublicationReplacement.inboundWakePublicationToReplace: FunctionTooLong \u2014 createChatPublicationReplacement.inboundWakePublicationToReplace 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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda27337d23b5fc37eed94b9000f058c12dd1a7db739dc217cdd9998f906c4c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: confirmation-comment-resolution.resolveConfirmationFromComment: FunctionTooLong \u2014 resolveConfirmationFromComment 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":"server/src/services/confirmation-comment-resolution.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7637783437b1cccc58ef1acc27580770350503572ed3e51de468eaed4ce02f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-intent-delivery.connectionIntentDeliveryService.deliver: FunctionTooLong \u2014 connectionIntentDeliveryService.deliver 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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9e6d18a679ef6f86591debabb674d23b8deb1bf0a264fd73a77a0dd0b66e70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: device-login-reaper.createDeviceLoginReaper: FunctionTooLong \u2014 createDeviceLoginReaper 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":"server/src/services/device-login-reaper.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ba8dd3e4ca95d8f198a123dfef8f87b746e1b7edca17e422e05062eb34db65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-preparation.resolveHeartbeatAdapterSession: FunctionTooLong \u2014 resolveHeartbeatAdapterSession 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":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d2702609558580c7c0778923c0475eeae57f1af6fc9b6975ce9defb64f3a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-local-folders.inspectPluginLocalFolder: FunctionTooLong \u2014 inspectPluginLocalFolder 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"271b122bcb0b43bcc23392921866a8ccaf067cb60dd1cf47c6fc6821b7b6a47d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.reflectToolActionInteractionLifecycle: FunctionTooLong \u2014 createToolGatewayService.reflectToolActionInteractionLifecycle 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcacc01331d117ea0e5a712a14c3553c41a47596e416a26a48f957a46d0168d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.createNamedGateway: FunctionTooLong \u2014 createToolGatewayService.createNamedGateway 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10996}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db5641e2c300c8a0bbc6ccff54bb866b5a7624598994a29ad2c50da0150c663"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.production.SkillList: FunctionTooLong \u2014 SkillList 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e932f916c31c1de0216c88b19cfc045558ff617544d6b3f30fe4cf1f6c775bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanySkills.SkillList: FunctionTooLong \u2014 SkillList 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"58367d7ff7b45c2f9a90960d5617cb2330b6ab6eb499e02227559135dda92543"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/teams.ts: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/teams.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f2f108807b9de08b8e495e002d37a2718728a221b3aa123b04d87e67e34cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/agent-directory-working-copies.ts: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddbd5fe2e60919042d5281763c6bc0f50f2cf6e43c849e1a9470a336fbf91f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tools.ts: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: createToolDefinitions (270-691). The bar is 500 significant lines; this is 42 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/mcp-server/src/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cbbe8f863b75eb0a0c99feb29d075686247de9f25fd3b410b80be5fc988225"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex/codex-session-state.ts: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: CodexSessionState (94-654). The bar is 500 significant lines; this is 42 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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f24d275b0c310600529b7c193abd0a84c7ba7e5b1c408d2f82c74525f52983e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app-detail/IdentitiesSection.tsx: 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4d1fb2be7e909fe49bd77a18d0d1549e57c484a9a45ac1a85f025455338c4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PluginManager: ClassTooLong \u2014 433 significant lines (blank, comment-only and punctuation-only lines excluded), 5 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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9d64d5e7440a13a1368d975a81c4048a68eb7f74aa2f23c029e911b9fa2847"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/agent-instruction-working-copies.ts: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"517436507ce943db6af382885445d13fa635e45c0b80eea2434c5249acc7bd18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/WorkspaceRuntimeControls.tsx: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f682f8dcbaacf603a5459fcfab3864376377f7bcc9412dd18f72f525d6c97bab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RequestCard.RequestCard: FunctionTooLong \u2014 RequestCard 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/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e423899a0baeeaf98ccf65b563df480660ad666a98132fe5a2d75e373cc8583"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManagedDurableState.validate: MethodTooLong \u2014 validate runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"42537dce57303d09a8d397f7d91d94ac51eca964a1ede520455bfe36daca1d92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: approvals.cancelApprovalAndNotify: FunctionTooLong \u2014 cancelApprovalAndNotify 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":"server/src/routes/approvals.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b088f3d2f990be66baea4c14435e0fc6e385f0e2c141e97c7d2b6d7a26e5a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorization.createAuthorizationService.decide: FunctionTooLong \u2014 createAuthorizationService.decide 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":"server/src/services/authorization.ts"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"d207fcd52e55c9ecdb52cad1e855d8401fd184b4c3a0dc0ed355de202eb853a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-registration.githubChatRegistrationService.start: FunctionTooLong \u2014 githubChatRegistrationService.start 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":"server/src/services/chat-github-registration.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3027a3d9a047ecfbd37d53e6cc6a7c05f6177c8cfb2a8a727ad8b3aeb7561d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-wizard.githubChatWizardService.start: FunctionTooLong \u2014 githubChatWizardService.start 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0e44073824017c428a25533c6403e45350b04da87b188d6aad28c63b3277be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-recovery-resolution.validateExecutionReconciliationInScope: FunctionTooLong \u2014 validateExecutionReconciliationInScope 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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c0bf60a073baf6a816a6395b48ee5dbc54e3b35c9dabe4ad4f677ed54ca6f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deferred-receipt-work.registerDeferredReceiptWork.register: FunctionTooLong \u2014 registerDeferredReceiptWork.register 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":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d9c33eb11a397b9913604549d6b20d980119b5a173f1398448a116710caef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-control.createHeartbeatRunControl.resumeRemoteStopComments: FunctionTooLong \u2014 createHeartbeatRunControl.resumeRemoteStopComments 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539d0850418ecae073f7dd13403fd1b0d5af98040b60d1ae35fe6fbc55066bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: current-wake-comments.currentWakeCommentsSnapshot: FunctionTooLong \u2014 currentWakeCommentsSnapshot 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb0d447094734678814a8c8951fc2c3ec1b0a5864a188b1a0aad893f1224c61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: catalog-completion.createOAuthCatalogCompletion: FunctionTooLong \u2014 createOAuthCatalogCompletion 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":"server/src/services/tool-access/oauth/catalog-completion.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23854616ab283decb7f79e8ca3fa6aa2883578ea340c7f1df3bf3e4bace4c00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatRunnerActivityGroup.TaskChatRunnerActivityGroup: FunctionTooLong \u2014 TaskChatRunnerActivityGroup 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"6209cf74995f4ce831c3b99da721535c9f6d34407f990ad1b6d2b7bbc99677d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdvancedPanel.ReconnectCard: FunctionTooLong \u2014 ReconnectCard 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e578daa645f3fa821be807dfb8bc2b541f51f4475f8a426a975a3190d3b8b25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: launchers.LauncherModalShell: FunctionTooLong \u2014 LauncherModalShell 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":"ui/src/plugins/launchers.tsx"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf58d41ff5d186314f8c8fb369acda4400210dfee6ce100bb31d6b464da872f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectHealthTrial.ProjectHealthContent: FunctionTooLong \u2014 ProjectHealthContent 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":"ui/storybook/support/design-proposals/ProjectHealthTrial.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db03f121765f2208716024d9dab2d7e4cb99b475011a97d903538270f92538f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/workspace-restore-merge.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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8c780183dc5c2d1f784b091067260febde51a492850f2cd91b76353781371"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/secrets.ts: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102f5ce90ce2ee2fe04af7f5c9ffbbadb1dca5c6ce7eac817783da287a965fc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: external-agents/dot.ts: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: createBroker (48-564). The bar is 500 significant lines; this is 37 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b841041cf0eb18ea09888f8c81c5b3f8541a54063076490d8e275ac7dfbca20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/bridge-init.ts: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/plugins/bridge-init.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03afe31edeeecb4aee3f550937a2141c0027aa9d2b68d4ff005779a6cc3e3cc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree.quarantineSeededWorktreeExecutionState: FunctionTooLong \u2014 quarantineSeededWorktreeExecutionState 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32270d5e4f4d4869f1d0eadf54595df5c6f7b1c0d2c74a625cb069872a2c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: paperclip_runner_core::durable::runner::process_command: FunctionTooLong \u2014 paperclip_runner_core::durable::runner::process_command runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e641e5757e7e8cc686bc1ca88316596c03bb56e2cf4f69ec4f90ba6204547b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DurablePrpControlPlane.#commandResult: MethodTooLong \u2014 #commandResult 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8dc0d6b82522552c0ad3f09730226f3059dd9bad0523fae4d8130dea818564"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: logger.createHttpLogger: FunctionTooLong \u2014 createHttpLogger 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":"server/src/middleware/logger.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfc0ee23f1aac7e06ccd7f0c375698d37db3035417f8243925c1e31b8d9e2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: customer-owned.createCustomerOwnedSetup: FunctionTooLong \u2014 createCustomerOwnedSetup 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":"server/src/services/connectors/slack/setup/customer-owned.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"952dfd02105c29f49688cc5ed2ca6c2ac3c3fa5d23ec06f309b8cb9a9acc64c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.blockedInboxIssueConditions: FunctionTooLong \u2014 blockedInboxIssueConditions 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":"server/src/services/issues.ts"},"region":{"startLine":6659}}}],"partialFingerprints":{"codehealthFindingId/v1":"64325816b02d3eaf4dd9ace427da4f26980a388c521e2b6a0441fef38c7c0fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-warm-session-recovery.inspectRemoteWarmSessionRecovery: FunctionTooLong \u2014 inspectRemoteWarmSessionRecovery 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":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c93103d285cf603109d9c94d1c5c44ec366836f42e371b37536c82dab5b531"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: plugin-capability-validator.pluginCapabilityValidator: FunctionTooLong \u2014 pluginCapabilityValidator 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":"server/src/services/plugin-capability-validator.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04abfa3009254e6b355061dbb7bb11ab8cf4300e1c44d28e70b8e291f808ecc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: schema-config-fields.ComboboxField: FunctionTooLong \u2014 ComboboxField 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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e1a551fd8ac648e704904c2682de3e1fbf8ee8afa2c5757f83bcf6dabb65ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttentionInlineVerbs.BudgetAlertActions: FunctionTooLong \u2014 BudgetAlertActions 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":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5579c0dc272f917653cd15e436849bc31552d6d41200773523f45bfbfa05baf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineOverview.RoutineOverview: FunctionTooLong \u2014 RoutineOverview 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":"ui/src/components/RoutineOverview.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6b4fec758a24cc5af8513ce2418194f64e16aa1fa04acc73d3ede12f0c223a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TaskChatRichInput.TaskChatRichInput: FunctionTooLong \u2014 TaskChatRichInput 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":"ui/src/components/task-chat/TaskChatRichInput.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6112598b618a44a6877d72b3341e4e05e1526d50d2f0567a2f46075817ff2651"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PermissionsPanel.ActionRow: FunctionTooLong \u2014 ActionRow 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":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"36145953a713a0abd58e894e83d864adeb305f4cc1214a1d81f7af51b8ef945e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SetupTokenSessionService: 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":"server/src/services/setup-token-session.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b2835930f9b5c702ad6be550ac3ecc12120fee511a3e610c0d8e67899cc447"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/isolated-task-directory-retention.ts: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a724a0a373aae87304c87965ad532ff2b9557acc563bc41d4d40f6853a421a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/plugin-registry.ts: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: pluginRegistryService (71-895). The bar is 500 significant lines; this is 32 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":"server/src/services/plugin-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c45e9e44f0b79836aec672b41ba03ef6646325d029198a9a0127f94c9e4b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/protocol-contract.mjs: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00963dfe8d04ef5917f3df3e09d384e2ec84eec6eae467a666527f8ccd854551"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cursor-cloud/cursor-cloud-driver.ts: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: CursorCloudSession (163-620). The bar is 500 significant lines; this is 31 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6c69b2462336c0247754200605cde7d2c4821f0f15d331a07d6c2256b4bdc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/org-chart-svg.ts: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44573f179e936534b3ff28525e84920247b10420d1b62aaaa8a4bb8e371f4e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routine-sections/editable-sections.tsx: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2adc3a271dfd54c6c0aabe6b299d03cb316336dbc9de3cb111279c95fe65c19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace-diff.buildUntrackedFilePatch: FunctionTooLong \u2014 buildUntrackedFilePatch 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/plugins/plugin-workspace-diff/src/workspace-diff.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee4dfce46862a1f9df58ffcdcd0eac57448051798c40359c0a87246767cf141"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.activityService.backfillMissingRunLivenessForIssue: FunctionTooLong \u2014 activityService.backfillMissingRunLivenessForIssue 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":"server/src/services/activity.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0271d3c01c373fe93bb453dcd86e15086709c892be96f31ada55d7bdfc9c2be6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-completion-delivery.chatCompletionDeliveryService: FunctionTooLong \u2014 chatCompletionDeliveryService 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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca30638a83f1e3365cedbaec1033aa6a959bd97c2ae00a64409c639f6e6c3968"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-reviews.githubChatReviewService.reviewForHead: FunctionTooLong \u2014 githubChatReviewService.reviewForHead 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f87204c13237d7baf95fdffde402c56d609c55c2c1d683480922e3ddfe7c178"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: idle-issue-schedule.readIdleIssueSchedule: FunctionTooLong \u2014 readIdleIssueSchedule 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":"server/src/services/idle-issue-schedule.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc644b6c0795823ec440850ba8b9ef16aba6242c0cbc382b2b14b6ebfbc6081"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-migration.supersedeExpiredRemoteWorkspaceMigrationCohort: FunctionTooLong \u2014 supersedeExpiredRemoteWorkspaceMigrationCohort 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5c14657d77318713619363588aa2cd257a5ba52c3fd4c0597575381182e00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secret-proposals.createSecretProposalsService.createBinding: FunctionTooLong \u2014 createSecretProposalsService.createBinding 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc18990076031fbd76578d61d4dedf594bba629ec4a4e066a60fcaed8f1841d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: catalog-completion.createOAuthCatalogCompletion.finishOAuthCatalogWithRecommendedDefaults: FunctionTooLong \u2014 createOAuthCatalogCompletion.finishOAuthCatalogWithRecommendedDefaults 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":"server/src/services/tool-access/oauth/catalog-completion.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae6f0ba97cbb7e1f744bd7ded9fc2ef236c8593b41aad0ea1df7fe330c7d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CaseRevisionRail.CaseDocumentDiffModal: FunctionTooLong \u2014 CaseDocumentDiffModal 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":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b307ac0b3716fa1687af6662856c45fb7c0d434378bdbc3f20d8efb5366b358"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JsonSchemaForm.FormField: FunctionTooLong \u2014 FormField 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"efab2ff027d9ecd68af1b821675ca2e037a6edd3c94fc3b37af03e4b3771871e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PageSkeleton.PageSkeleton: FunctionTooLong \u2014 PageSkeleton 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":"ui/src/components/PageSkeleton.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"137f954f052ced371d330034f1b3b4693cc952eb2d669247f40266f134cb86ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-app-host.createMcpAppHost.handleRequest: FunctionTooLong \u2014 createMcpAppHost.handleRequest 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":"ui/src/components/mcp-app/mcp-app-host.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3d2371ab23309fb09513dbfbf563f28d9870531e719e06f44d9f0061da4556"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-chat-activity-presentation.providerActivityPresentation: FunctionTooLong \u2014 providerActivityPresentation 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":"ui/src/components/task-chat/task-chat-activity-presentation.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"372debedf8b013551906c0225aa12d1671885256013bca83f547a5b631ee2e63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyImport.ConflictResolutionList: FunctionTooLong \u2014 ConflictResolutionList 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e34c08711ebfd09826ea439e2af6ad11107144f1c3c9ab4c4e5362c4866d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/attention.ts: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a41896b54f0c432dc1fc940091f38e1bb40c8a178ba179ed82358fd69ab271e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/quota.ts: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4e1c6c5f4556095c1bf116543488029ef1bf2a7d8143920d505e2c7c4324b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/App.tsx: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09c3df25c7f9c369da5f1bfbef61cd992be5cc2f8456b4a7d2855b17ba79769"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ThreadItems.tsx: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8459d0886e3ce6112ec9a614b0d7adfed555792ca93812fb1dfcb2a0651cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/activity.ts: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: createChatActivity (71-622). The bar is 500 significant lines; this is 28 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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10512bcd82d46915c5e4daf9797278f2550856066cdb8bdd6be0126dbdca36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routine-triggers/TriggerWizard.tsx: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: RoutineTriggerWizard (104-597). The bar is 500 significant lines; this is 28 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":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"104e4ea7287996190b0030699ff8685f8a1a0b0c8df6ddc071a55b69b17e1ca9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: native-runtime/native-chat-review-presentation.ts: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 27 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd50e80dc55cf2a510aa588b1a0d547c8f28bfc6e046dd9a42e9b3fb7b475b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: discord/commands.ts: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: createDiscordCommands (87-639). The bar is 500 significant lines; this is 26 over it, 1.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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a660587178bc0e55fc33e1cebf3da09406ac375cf203b518c47df37a208b5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/instance-settings.ts: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 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":"server/src/services/instance-settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df3a5b7e66ecb7b488f11a8e5e676821cb722663cdc717283277835732c9ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: goal.registerGoalCommands: FunctionTooLong \u2014 registerGoalCommands 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":"cli/src/commands/client/goal.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a02e44f63ea0e5893641bb07f3166a85bb13dd46fde3496da1980382840ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server-utils.buildPersistentSkillSnapshot: FunctionTooLong \u2014 buildPersistentSkillSnapshot 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4046}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde5f6293e24a04ee8e8882fb2277efb2c3e582222f84c1e19f49dfa0e00d27a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: local-runner-browser-server.createLocalRunnerBrowserMiddleware.middleware: FunctionTooLong \u2014 createLocalRunnerBrowserMiddleware.middleware 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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e41cbaeade4771a4b37669bb2d73213a1bf8231be34da90a899a91de44a49f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex-native-backend.createTransportBackedNativeSessionBackend: FunctionTooLong \u2014 createTransportBackedNativeSessionBackend 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/paperclip-runner/src/backends/codex-native-backend.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7210f2facfff6257fb7e3ba717f531448b17479fcff1c739d1bba218bfbc76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: question-set.parsePaperclipQuestionSet.questions: FunctionTooLong \u2014 parsePaperclipQuestionSet.questions 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/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8fa0e77ff327c44100f993cf5d2a1e0636729e66a2f2900b7dfa1c8483c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaces.resolveExecutionWorkspaceConfigFreshness: FunctionTooLong \u2014 resolveExecutionWorkspaceConfigFreshness 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ee78d7edeb0ca61c6bb8fd588da32dd4370ab3cc22568e7e7bedc01e98e216"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.createRunnerdBackendWithinSessionClaim.preparePluginTaskOwner: FunctionTooLong \u2014 createRunnerdBackendWithinSessionClaim.preparePluginTaskOwner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16534}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3a94f7beefa20a349563ad261c3d15861f86d9ee8318a622ebbc83cbe86d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remote-workspace-readonly-inventory.readWorkspaceInventory: FunctionTooLong \u2014 readWorkspaceInventory 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":"server/src/services/remote-workspace-readonly-inventory.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c53d8894f41a61ebf0f14bc921a44d65c4f9210c055b28a28af33aed73b2a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: secrets.secretService.buildBindingTargetMap: FunctionTooLong \u2014 secretService.buildBindingTargetMap 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":"server/src/services/secrets.ts"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a296fe35e084d036f32f6ce26d61f2f268932ff16981c2c8417878b8bcd3629"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProfileDetail.ProfileDialogs: FunctionTooLong \u2014 ProfileDialogs 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":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae87372105e48cd89ef844787e4c6969899e2167403f19ac4fd9586ab3545749"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: catalog/discovery.ts: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: createToolCatalogDiscovery (112-689). The bar is 500 significant lines; this is 24 over it, 1.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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a71b3b272aa82312cb76df10101d24581b0939e70cbd7e1efeb57962b51994e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/grant-refresh.ts: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: createOAuthGrantRefresh (41-672). The bar is 500 significant lines; this is 24 over it, 1.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":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e36f79885259a1ee6bf7be93336f87709f05c742eb717bcadfeb09e83d57515"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/feedback.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":"cli/src/commands/client/feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80071a609369a3b393b627fc0f75aeb80c005c2e35f881df29fc983e3ed0df75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/mcp-http.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":"server/src/services/mcp-http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b0a2d74e75d079c0eb7ced962adbd12241d98202b97e972200f74f98a82787"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/cross-tab-poll.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":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d8d161b777cb337d64671aa8c996b27ecf40fec1bfa1704d7b8fef9f4a138e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run-log/LogViewer.tsx: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: LogViewer (43-634). 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcda5225f8d3ab62a6965529796dad10465407d84b7a523f53d0e0dcf978444"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuditFeed: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 16 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df0062739951cee3d524595a4fa5665435d6d501b0bcd116e3dd8f0915004d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/issue-recovery-actions.ts: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: issueRecoveryActionService (154-660). 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a88cfdbd5af1677953cb7463f614b71d2adb4f29ba3393c839bb69a86faedb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worktree.registerWorktreeCommands: FunctionTooLong \u2014 registerWorktreeCommands 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4464}}}],"partialFingerprints":{"codehealthFindingId/v1":"423b32136ba87a0a2f74c5ea79b4dd3e77fed1fe3ae25db9255f53dda81ab0c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: issues.issues: FunctionTooLong \u2014 issues 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/db/src/schema/issues.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd53ee2cb813bf2b17cbb83944cbe55ad58cd2f4470fde7299e80f7aa3559b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SupervisedProcess.spawn_command: MethodTooLong \u2014 spawn_command runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"012bab669846e02cfb49cddf08da7602de745d6843893bbbcfa0afada8c68f8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: materialize-pi-distribution.materializePiDistribution: FunctionTooLong \u2014 materializePiDistribution 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a961ba54d358239f0be0437b7bc6b4b992544b2b1277c54b9b113d84e5b9b1cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: render-runner-workflow-evalbook.runnerWorkflowEvalbookAttempt: FunctionTooLong \u2014 runnerWorkflowEvalbookAttempt 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/paperclip-runner/scripts/render-runner-workflow-evalbook.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53609a3b3b84d623980557c6e3db29e1f7649aa3623669b102841cd32b36fc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-channels.chatChannelService.processPendingDeliveries: FunctionTooLong \u2014 chatChannelService.processPendingDeliveries 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":"server/src/services/chat-channels.ts"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"98696f6e2ad73996c5c18483a4d002ad9b4f1d459e6f258350df499b8f8ae7c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.createChatPublicationWorker.withPublicationAttemptLease: FunctionTooLong \u2014 createChatPublicationWorker.withPublicationAttemptLease 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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2def838e489fafe972d5ef96df21fc31f4f4a46ecdbac9a13a2a2807d4e020d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github-connection-events.githubConnectionEventService.processForCompany: FunctionTooLong \u2014 githubConnectionEventService.processForCompany 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93b327f7046f97c80278b38bcf578174fe8df38d7635ebf37dca4db15fdf8b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeRunCoordinatorStore.appendEvent: MethodTooLong \u2014 appendEvent 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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d74d76673bd284fe9000aa6fd4af304aebd591c5e314afff1f4189726f4c4fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-retry.readBoardMessageRetrySource: FunctionTooLong \u2014 readBoardMessageRetrySource 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":"server/src/services/task-retry.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fffcce625dad10d250da9ed91051c8b2c9d1bca8ef2393ea0d5c755ef5c26c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.buildRemoteHeaders: FunctionTooLong \u2014 createToolGatewayService.buildRemoteHeaders 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57952cdec638f497331b9f0dc94a4f54b236868e70e79919d6ca5921b7314e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DocumentFrameHeader.DocumentFrameHeader: FunctionTooLong \u2014 DocumentFrameHeader 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":"ui/src/components/DocumentFrameHeader.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d933e6eb34bfbedcd8234a6e18d99aee56ec6fa33d7c5c4a7a0559fbfa6111"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AiConnectionPicker.AiConnectionPicker: FunctionTooLong \u2014 AiConnectionPicker 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":"ui/src/components/ai-connections/AiConnectionPicker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"da217ad4404d33e57d2a151c0aad4ff28e398f0351e4319a558a2ab6783f5b91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSetup.Onboarding: FunctionTooLong \u2014 Onboarding 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":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a0dfa656466dcc0d9b1982537757d27b536bee00396b6e661cc06ede9cd5b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/execution-workspace-repositories.ts: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: executionWorkspaceRepositoryService (115-646). The bar is 500 significant lines; this is 19 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a54d7923f4366e5df877c7413ce267fee1491456b8ad1195e7af97ca4003af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/codex-home.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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d79556d53458eac6f4939d9213d65f18c92dcace7140f8b3ddde847afa884e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v9/client.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40e906744b0e4f717c8c95d17b6a39bf4c0a9a70c92eca9f8924a3915477425"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IssueRow: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4f7b9a5dd8d25cce29cf46054778db27ad028103ec33213d15d9b51df603bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: server-utils.buildRuntimeMountedSkillSnapshot: FunctionTooLong \u2014 buildRuntimeMountedSkillSnapshot 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a6fad642d375638a38ac66c268edb32025e079744ca0fda512772f0f34579f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: response-capture.installDatabaseResponseCapture: FunctionTooLong \u2014 installDatabaseResponseCapture 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/db/src/response-capture.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed52b6ecf170e3c0b73ef2c8eab9cdb4c5652b659332dcaa606e53d2bb433aa7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: google-client.createGoogleSheetsClient: FunctionTooLong \u2014 createGoogleSheetsClient 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/google-sheets-mcp-server/src/google-client.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f62582734f399253123b25c24449f2ab0f67f87b5b83ea8ad4f2533e08d382"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ephemeral-migration-data.migrateEphemeralServerData: FunctionTooLong \u2014 migrateEphemeralServerData 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":"server/src/maintenance/ephemeral-migration-data.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"017e0cd8402b4c6c194de7d52aafc26a2e88f5e59ef34362cffadeb729e753dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-effects.createProviderEffects.finalizeProviderEffectFailure: FunctionTooLong \u2014 createProviderEffects.finalizeProviderEffectFailure 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8a3c2b36de63c270bd18cfa0b242ec5ac46d49381b8aefed36505350064388"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-gateway.createToolGatewayService.findToolForSession: FunctionTooLong \u2014 createToolGatewayService.findToolForSession 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f8ddb4ccdda410fc9ab1366fde75f0db3d20c0b0f5ab5e21d803e6f96f4b5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-call-reports.voiceCallReports: FunctionTooLong \u2014 voiceCallReports 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":"server/src/services/voice/voice-call-reports.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7ed28e18c0fb0d3eb512846f6bb7b4cbecfdc9ed40df69598367bf9030f037"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SidebarSection.SidebarSectionHeader: FunctionTooLong \u2014 SidebarSectionHeader 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":"ui/src/components/SidebarSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a407e7da8e8bf5ca901b93514ddf9cac15cb5be7ae0a4eea1a1141991e15bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RoutineTriggers.TriggerSetup: FunctionTooLong \u2014 TriggerSetup 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":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ef39213af6578249be0e86d319de4f4c02ac1896c5883f9342ddc6b3ff5db4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueDetail.IssueDetailLoadingState: FunctionTooLong \u2014 IssueDetailLoadingState 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c771af1ec3eeff49b36378ac02ef5c8512afe31022fbbd0739124b7e6cc5989"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.ts: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21be56cfce442903254af8300aaf37042183e53821eeb9ca4fcdd3fd008f484"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/execute.ts: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a084fa2c0e05318a7d961f3ecf2887915cffaadeb61be8763632b2b932082dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mock-core/capability-control-plane-types.ts: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-control-plane-types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"041808e57d11c0a0e01d32d96b3b2e9d72705afbcc3f10095de750e44e56b1e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat-channels/inbound-attachments.ts: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: createInboundAttachments (81-674). The bar is 500 significant lines; this is 14 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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a925ec3d1d29d4a0e4a1be6af561cffcca992d9008fcae25cb27696c954e93a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/remote-workspace-files.ts: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5941b0f68cdfeec80fd4a98c32bd45999005f1e9a84d5dad3cfc46298736db5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app-detail/PermissionsPanel.tsx: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93be801cc112cfbd06bad658534667605b2e025ba5384e53336a16f9b5611934"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerCore: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 10 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc25f61f0742f23f9a82b31fa77890c6836b6fce8ad248c9a5bc5f1fc981a5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/paperclip-runnerd.rs: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09155e125ecec897614bd6adab31c1fcf651e7b4838ec2e70d1aea28c7afee4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recovery/automatic-run-brake.ts: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: createAutomaticRunBrake (218-587). 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9649477e0de145640075da1f637ccd3f0fb22e4e44c77ab4c5fe2f09b805cbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/execution-continuation.ts: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: buildExecutionContinuation (227-623). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-continuation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda7ec127249c08144f03dc0a39307fb03cc4688e5f013e623300ea60d2a3a84"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexSessionState: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 8 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":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bc67b71a7ed7a27298d7f820f4171eb01e1310371bef5766331339715469fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution-target.prepareGitHubExecutionEnvironment: FunctionTooLong \u2014 prepareGitHubExecutionEnvironment 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"5419984cbf3d533ae65bcd0e9730d2e8897ab31b8f3a8959099b34c075e0f037"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: response-capture.createDatabaseResponseCapture: FunctionTooLong \u2014 createDatabaseResponseCapture 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/db/src/response-capture.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9955ccd69301c7608ab9121f12087ef1658b15edc9fb135464f988e222923e51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: menu.Menu: FunctionTooLong \u2014 Menu 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/paperclip-runner/devtools/browser/src/components/ui/menu.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"96487713ac3945f3637183bac6f5ab71228374243248b1b0f22ff0be28768dd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: antigravity-admission.createAntigravityAdmission: FunctionTooLong \u2014 createAntigravityAdmission 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/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e991a487b68dcdcd3f45fbbaf8c37880edb23aee3d70229a5bc6732a3f4363"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-harness-verification.agentHarnessVerificationService: FunctionTooLong \u2014 agentHarnessVerificationService 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":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c215334d84e552690c3c2775e66aa9821118da4e64ff6a9da6ffdc6ad08cc09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages.githubLifecycleEventFromRequest: FunctionTooLong \u2014 githubLifecycleEventFromRequest 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":"server/src/services/chat-channels/github/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"29acf408e37d34af3e1e154cc0a7cc1b28c9dba6b4f75196d56e5cdb4c5ef084"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-github-management.githubChatManagementService.saveConfiguration: FunctionTooLong \u2014 githubChatManagementService.saveConfiguration 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08af723bb1904ed791ba898d1dd7685c11dfb3ed3027d17aa52fc271172b609"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connection-intents.connectionIntentService.setupOptions: FunctionTooLong \u2014 connectionIntentService.setupOptions 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d3346b1c54f5cf3ffa06778c8c142c7b292d534be89032c70611b43eca2a75"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: delivery-work-coordinator.createDeliveryWorkCoordinator: FunctionTooLong \u2014 createDeliveryWorkCoordinator 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":"server/src/services/delivery-work-coordinator.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a75fa1fe681584c3e88ebe5842c81550eac8ec006b626d850ec6960218e6d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: upgrade-readiness.readUpgradeReadiness: FunctionTooLong \u2014 readUpgradeReadiness 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":"server/src/services/heartbeat/upgrade-readiness.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb41a2df5dfe5af5ece057d070b242235dddc4f1ca6f88ccc250e292798e383"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-runner-file-handoff.readVerifiedWorkspaceFile: FunctionTooLong \u2014 readVerifiedWorkspaceFile 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b15674f4a9ab333f93061c87e689d5415f40aa3c6390882080ba4873a909854"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaperclipControlPlanePort.completeRun: MethodTooLong \u2014 completeRun 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee1dbec964d3199e649784e9df1f0232f543ef15d9a4fc4a88c1cc4c900a403"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssueRecoveryActionCard.BreakGlassOverride: FunctionTooLong \u2014 BreakGlassOverride 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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc22ef7bbac952b4788d3856b9711066c8e2468da8bc693fe85aec68cb808d83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IssuesList.SubIssueProgressSummaryStrip: FunctionTooLong \u2014 SubIssueProgressSummaryStrip 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba0e739a535a80be4963764ef3e2a7649ff30edfb9b15d96918c6f28bcb07e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegacyIssuesList.SubIssueProgressSummaryStrip: FunctionTooLong \u2014 SubIssueProgressSummaryStrip 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"240d7babbdc218e8de006870116817ae7975a082aa1047a2d4cbaeb04802bf8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MuseRunnerConnection.MuseConnectionDetails: FunctionTooLong \u2014 MuseConnectionDetails 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":"ui/src/components/MuseRunnerConnection.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2222021e099f66e941293ab95740459d13b1e8efb9c947b57f97c2a796102fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SystemNotice.SystemNotice: FunctionTooLong \u2014 SystemNotice 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":"ui/src/components/SystemNotice.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c38a5c73d34bdbe1a34c7109240857e5c20cbf63233947f820b6774a23923d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PrimaryAgentPresentation.PrimaryAgentCrownButton: FunctionTooLong \u2014 PrimaryAgentCrownButton 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":"ui/src/components/primary-agent/PrimaryAgentPresentation.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e38ad8afef504b2d89d83721076108199c5379d9820c9a1ae545f9767e6d1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsToolbar.SkillsToolbar: FunctionTooLong \u2014 SkillsToolbar 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":"ui/src/components/skill-studio/SkillsToolbar.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"96940f9afe3d7b50982c5c8f620a17d366d314ea96bf02731ccb57de6f4b8d17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useWorkspaceFileAvailability.useWorkspaceFileAvailability: FunctionTooLong \u2014 useWorkspaceFileAvailability 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":"ui/src/hooks/useWorkspaceFileAvailability.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fe34fed4274d651b1ece42b479167b54d61205e4e206ef43a0d23578bdf6cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BulkAgentSettingsProposal.BulkEditor: FunctionTooLong \u2014 BulkEditor 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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5945832c355a2c67d09f3dda18ad6ca046954359ecb0cb308a57a8de79ccc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validators/company-skill.ts: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/company-skill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51236371b5d60b1df3d951ebf959fcb0129fc2828c6a85fb4356057877afa0c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/tools.ts: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4b943a83cd4f4342f6ec377ad7247af75cb3c560b6b997c8dc5a15e0f75ad6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusCards/StatusCardDetailDrawer.tsx: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: StatusCardDetailDrawer (45-501). The bar is 500 significant lines; this is 9 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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bb8d0d2562648500f2ebde2791585fe3f651ccc4a6a8d8fdd4d22bc1f3ea20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scenarios/scenario-plan.ts: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/scenarios/scenario-plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f692d83360dcae2f3b4f38555da48ecc7f09f91973670f2db92239e623d4245"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/provider-trace-store.ts: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: providerTraceStore (260-663). The bar is 500 significant lines; this is 8 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f794e94c3d8f21fc4b34597a2a392e134c85e4c72cbeb67ebe5dffca965c85d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IssueFiltersPopover: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 6 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5afb5f62f8fc32d61e1d53fcbfaff72ee418b8b5115ff2872bb9faf3edd79bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: environment-variables-editor/Row.tsx: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: EnvironmentVariableRow (70-606). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/Row.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e3f89743cf7a934f7287af82b2f42d4ad0313b3af3ae88bd5a3e641f1f36c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: external-agents/muse.ts: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: createMuseBroker (43-609). The bar is 500 significant lines; this is 6 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f510b421ef5a8248533debacf1b9cf94ccd9b26cd8a3d95b73444f60f1926d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: task-chat/task-chat-model.ts: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 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":"ui/src/components/task-chat/task-chat-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7259d1c2a3dce355746c8ec5a719c96cbc80e460e06d46761c427330cb93abd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audit/AuditFeed.production.tsx: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: AuditFeed (262-654). The bar is 500 significant lines; this is 6 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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92398cf167627b681b86c3e14002e398a9de8c2577bcb6f019dfb58716c50ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HarnessNativeSession: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"92750af57214760f8139d1485e38f9833e4a334a1edd9daa66a1e8af893e17bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Connections: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e01fc953de6cfb6df779f159eda487ba34aec1fb965749167a46aa0400eca2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/acp.ts: 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bd75af152864928cd4dcb2e9eade293129ef1c3bf8537a176d5ea274180bff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/eval-session.ts: 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10369331e851a9a7ff0ce81cdbc84e016f5ffa76e12e05f18be662c60d266a94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AttentionCloseMenu.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":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ab1b240b6a9690da206bc1033ebd2208ffc82e991feed0bd6e459e5be52d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: protocol-contract.assertQuestionAdapterFixture: FunctionTooLong \u2014 assertQuestionAdapterFixture 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e372aca950ba4d6928d71529f85940c289d98f2ed78889900cdc171425d31f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapabilityLiveSession.#handleServerRequest: MethodTooLong \u2014 #handleServerRequest 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47bf6c90f7c46715c537d063c01b2a05786bb07bec0917984db46365712e3a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scenario-plan.derivedWorkSteps: FunctionTooLong \u2014 derivedWorkSteps 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/paperclip-runner/src/scenarios/scenario-plan.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aae982dacf25f686e936e02bb201d8b3bc1c42e2384889a602f4411becd4350"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-credentials.agentCredentialService: FunctionTooLong \u2014 agentCredentialService 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":"server/src/services/agent-credentials.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b00798116e66f838842d4113fcccbe9c585ad05a14b17f8bd67ab926b586ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-telegram-media-intake.bindTelegramRichAttachment: FunctionTooLong \u2014 bindTelegramRichAttachment 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dacfb12445f07483f9332eac4f0fc4314510127ddfc9cf2c7e80306945e6e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-control.createHeartbeatRunControl.releaseEnvironmentLeasesForRun: FunctionTooLong \u2014 createHeartbeatRunControl.releaseEnvironmentLeasesForRun 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2685087ffc5ca79f29ddefc3fc0d855a97595f072d3fe2f0d431055b46a2d999"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaces.resolveRunReferencedProjects: FunctionTooLong \u2014 resolveRunReferencedProjects 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cefc8d8fe7020cf312863577376d55bcb8ca32ea57736e49a7271bc67301097"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-session-executor.verifyRemoteRunnerReattachment: FunctionTooLong \u2014 verifyRemoteRunnerReattachment 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef223bdf652a1770e19c4637101a30d52406784bbeb33fde900f74591bc653c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaperclipControlPlanePort.checkpointSession: MethodTooLong \u2014 checkpointSession 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa3b0027e7193774fde07afb06ad1c9e130aad1a5fb31663a892648082c636f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grants.createConnectionGrants.revokeConnectionGrant: FunctionTooLong \u2014 createConnectionGrants.revokeConnectionGrant 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":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"303e0505ec3d47e6180f94f6c90c186a4144150b2c7e87ebede7b85628a74915"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client.createOAuthClientProtocol.exchangeOAuthToken: FunctionTooLong \u2014 createOAuthClientProtocol.exchangeOAuthToken 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":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65d25a2897d51dded866e2e4175be39ecfd67f6483305de376321add8cd3ac4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ThreadFrame.ThreadFrame: FunctionTooLong \u2014 ThreadFrame 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":"ui/src/artifact-directions/frames/ThreadFrame.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb662bdacbd8056aa1a5eb6fc426d3479058e28c64e700cffc870f37a1567d8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DesignPageAside.DesignPageAside: FunctionTooLong \u2014 DesignPageAside 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":"ui/src/components/DesignPageAside.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"58510a7da637e93453f0faffd76c925c3cc242b0c15f572a691989d8850da366"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateSecretPopover.SecretPopoverForm: FunctionTooLong \u2014 SecretPopoverForm 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":"ui/src/components/environment-variables-editor/CreateSecretPopover.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8c1df67ef5b628b391ecc3555ee221308ed564543b4d97d8714e00a1783a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CompanyImport.AdapterPickerList: FunctionTooLong \u2014 AdapterPickerList 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d54f9c61988c6813dca833267b3c9ed118ea56eb8e8a355233d7d089af136c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReviewQueueCard.ReviewRow: FunctionTooLong \u2014 ReviewRow 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":"ui/src/pages/apps/ReviewQueueCard.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b289a8407067d65e97420be5351f5affe0ee36c5d2d2c192dff62e2306e0fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/heartbeat-run-events.ts: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbffc8877bf7ccc3ec7f137ce221b80a5c3af2dbadff1bbb5342eedfe175366c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/PasteConfigTab.tsx: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ad36aed8e22750f013c25c744933f94d51284dd9d98d5fbea5d3915456d567"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2087-2245 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2326-2447 \u2014 These two members are variants of one another: 47 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb104bdffb80f3b5390c3644165dd16014aa16b9499dad0d62d000bf2bef8937"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:23-32 | server/src/services/scripts/v2/client.py:26-35 | server/src/services/scripts/v3/client.py:27-36 | server/src/services/scripts/v4/client.py:28-37 | server/src/services/scripts/v4/client.py:39-48 | server/src/services/scripts/v5/client.py:28-37 | server/src/services/scripts/v5/client.py:39-48 | server/src/services/scripts/v6/client.py:28-37 | server/src/services/scripts/v6/client.py:39-48 | server/src/services/scripts/v7/client.py:28-37 | server/src/services/scripts/v7/client.py:39-48 | server/src/services/scripts/v8/client.py:28-37 | server/src/services/scripts/v8/client.py:39-48 | server/src/services/scripts/v9/client.py:28-37 | server/src/services/scripts/v9/client.py:39-48 \u2014 These 15 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 15 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fe48d09fe94976e8f19075e2e30e11eb2081a66fb785faf3756e3b09fd0f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:60-76 | server/src/services/scripts/v2/client.py:90-101 | server/src/services/scripts/v3/client.py:108-119 | server/src/services/scripts/v4/client.py:132-143 | server/src/services/scripts/v5/client.py:132-143 | server/src/services/scripts/v6/client.py:132-143 | server/src/services/scripts/v7/client.py:209-220 | server/src/services/scripts/v8/client.py:209-220 | server/src/services/scripts/v9/client.py:241-252 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d3bad20de651d3907d88ac8ce61e64e1804c4ec0fcb7be7b74598c44a2e625"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:113-121 | server/src/services/scripts/v2/client.py:152-160 | server/src/services/scripts/v3/client.py:170-178 | server/src/services/scripts/v4/client.py:207-215 | server/src/services/scripts/v5/client.py:207-215 | server/src/services/scripts/v6/client.py:209-217 | server/src/services/scripts/v7/client.py:286-294 | server/src/services/scripts/v8/client.py:286-294 | server/src/services/scripts/v9/client.py:318-326 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6223bb8b9d7b0415a3c42dfc3017ba481f1f412e436443b4d0366d7ccc0bd454"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:123-133 | server/src/services/scripts/v2/client.py:162-173 | server/src/services/scripts/v3/client.py:180-191 | server/src/services/scripts/v4/client.py:217-228 | server/src/services/scripts/v5/client.py:217-228 | server/src/services/scripts/v6/client.py:219-230 | server/src/services/scripts/v7/client.py:296-307 | server/src/services/scripts/v8/client.py:296-307 | server/src/services/scripts/v9/client.py:328-339 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9bd7c85d16a423bb3cb447b03bcfa6377fc72c8119c17ed7a4d56e490f9544"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:135-138 | server/src/services/scripts/v2/client.py:175-179 | server/src/services/scripts/v3/client.py:193-197 | server/src/services/scripts/v4/client.py:230-237 | server/src/services/scripts/v5/client.py:230-237 | server/src/services/scripts/v6/client.py:232-239 | server/src/services/scripts/v7/client.py:309-316 | server/src/services/scripts/v8/client.py:309-316 | server/src/services/scripts/v9/client.py:341-348 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b9c31338dc4254bc29ac2c711e9a3513fde73e0a22a3fa76289c7b40bc2b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:140-158 | server/src/services/scripts/v2/client.py:181-199 | server/src/services/scripts/v3/client.py:199-217 | server/src/services/scripts/v4/client.py:239-257 | server/src/services/scripts/v5/client.py:239-257 | server/src/services/scripts/v6/client.py:241-259 | server/src/services/scripts/v7/client.py:318-336 | server/src/services/scripts/v8/client.py:318-336 | server/src/services/scripts/v9/client.py:350-368 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df017fd763bc3e0c377eb4bebf2921732d864f95d791c0022f57f4e29be44a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:161-181 | server/src/services/scripts/v2/client.py:202-222 | server/src/services/scripts/v3/client.py:220-240 | server/src/services/scripts/v4/client.py:260-280 | server/src/services/scripts/v5/client.py:260-280 | server/src/services/scripts/v6/client.py:262-282 | server/src/services/scripts/v7/client.py:339-359 | server/src/services/scripts/v8/client.py:339-359 | server/src/services/scripts/v9/client.py:371-391 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde8faaf8f841949b0240e0f8e66b9628c4e4bc40941621c9d1afe47d00a127b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:201-242 | server/src/services/scripts/v2/client.py:244-281 | server/src/services/scripts/v3/client.py:262-301 | server/src/services/scripts/v4/client.py:302-342 | server/src/services/scripts/v5/client.py:302-342 | server/src/services/scripts/v6/client.py:304-344 | server/src/services/scripts/v7/client.py:465-505 | server/src/services/scripts/v8/client.py:465-505 | server/src/services/scripts/v9/client.py:566-606 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6ed6a276644da8bbadd784b692de20c2b6c09e3ebb36779c485f5d0e3a6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): server/src/services/scripts/v2/client.py:42-51 | server/src/services/scripts/v3/client.py:43-52 | server/src/services/scripts/v4/client.py:67-76 | server/src/services/scripts/v5/client.py:67-76 | server/src/services/scripts/v6/client.py:67-76 | server/src/services/scripts/v7/client.py:67-76 | server/src/services/scripts/v8/client.py:67-76 | server/src/services/scripts/v9/client.py:67-76 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c20590e852e28170b7d9f47c75fcd84e6901037b538bb9f948a0379af46e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): server/src/services/scripts/v2/client.py:61-87 | server/src/services/scripts/v3/client.py:62-79 | server/src/services/scripts/v4/client.py:86-103 | server/src/services/scripts/v5/client.py:86-103 | server/src/services/scripts/v6/client.py:86-103 | server/src/services/scripts/v7/client.py:86-103 | server/src/services/scripts/v8/client.py:86-103 | server/src/services/scripts/v9/client.py:86-103 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"195732753f08f683897465c41c82f6bb949da299513607d43f7eac294f96c0f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): server/src/services/scripts/v2/client.py:124-136 | server/src/services/scripts/v3/client.py:142-154 | server/src/services/scripts/v4/client.py:169-182 | server/src/services/scripts/v5/client.py:169-182 | server/src/services/scripts/v6/client.py:171-184 | server/src/services/scripts/v7/client.py:248-261 | server/src/services/scripts/v8/client.py:248-261 | server/src/services/scripts/v9/client.py:280-293 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac3379e04eaa0fe8380a651b58a2e41aedf5305b9942f531afe1fc213ab629c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): server/src/services/scripts/v3/client.py:83-97 | server/src/services/scripts/v4/client.py:107-121 | server/src/services/scripts/v5/client.py:107-121 | server/src/services/scripts/v6/client.py:107-121 | server/src/services/scripts/v7/client.py:107-121 | server/src/services/scripts/v8/client.py:107-121 | server/src/services/scripts/v9/client.py:107-121 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27141c0288b4feded7c375ad38414584764bf402723d236b9fbfb8be5a30be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): server/src/services/scripts/v3/client.py:99-104 | server/src/services/scripts/v4/client.py:123-128 | server/src/services/scripts/v5/client.py:123-128 | server/src/services/scripts/v6/client.py:123-128 | server/src/services/scripts/v7/client.py:123-128 | server/src/services/scripts/v8/client.py:123-128 | server/src/services/scripts/v9/client.py:123-128 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec5ca4ed90f306939a5f7ba44600d15438b2a44ae4227ea9b0f29d198c80fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): server/src/services/scripts/v1/client.py:183-192 | server/src/services/scripts/v2/client.py:224-234 | server/src/services/scripts/v3/client.py:242-252 | server/src/services/scripts/v4/client.py:282-292 | server/src/services/scripts/v5/client.py:282-292 | server/src/services/scripts/v6/client.py:284-294 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e373c307a41f6276774442531393ba93a54bef84e2cfad4f31e1938cd738f449"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): server/src/services/scripts/v4/client.py:50-60 | server/src/services/scripts/v5/client.py:50-60 | server/src/services/scripts/v6/client.py:50-60 | server/src/services/scripts/v7/client.py:50-60 | server/src/services/scripts/v8/client.py:50-60 | server/src/services/scripts/v9/client.py:50-60 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddce5e7ade3ef979b7f99edaac1b202b0dfef9a258e23728fc738ca69977967"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): server/src/services/scripts/v4/client.py:156-163 | server/src/services/scripts/v5/client.py:156-163 | server/src/services/scripts/v6/client.py:156-163 | server/src/services/scripts/v7/client.py:233-240 | server/src/services/scripts/v8/client.py:233-240 | server/src/services/scripts/v9/client.py:265-272 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"970eb36bec2154471d9e856d1ae83f7a96a534f3022be43ee503eeacde3f336a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): server/src/services/scripts/v4/client.py:191-197 | server/src/services/scripts/v5/client.py:191-197 | server/src/services/scripts/v6/client.py:193-199 | server/src/services/scripts/v7/client.py:270-276 | server/src/services/scripts/v8/client.py:270-276 | server/src/services/scripts/v9/client.py:302-308 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4ced3783bfbf2652d9df3a971342fbb055e7bb6d42459624626843c33f42ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2564-3069 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3446-3673 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3826-3883 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:4292-4368 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bfaa00237f6604b2a966b22ebf7c750937676b3fac5ced501deefad7be1037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:365-414 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:313-377 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f8584e748a2473de070ee49c49847b45e8a6ae7333c7b87c279657437f020"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1635-1673 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:949-990 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439dbb4eaa2a228325734a4acebe1f4ff5582f9a5119f874e6dccdec17674ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): server/src/services/scripts/v7/client.py:431-449 | server/src/services/scripts/v8/client.py:431-449 | server/src/services/scripts/v9/client.py:531-550 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a1988f4fe81e5da64b86901af57e1ca1921cf3ccdb4b098730bdbd66bb5948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): server/src/services/scripts/v1/client.py:194-199 | server/src/services/scripts/v2/client.py:236-242 | server/src/services/scripts/v3/client.py:254-260 | server/src/services/scripts/v4/client.py:294-300 | server/src/services/scripts/v5/client.py:294-300 | server/src/services/scripts/v6/client.py:296-302 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff95823ebf93a2d1ff7fcfcec6bf8893e87a22d7c1119823bb3dde0ef141441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2069-2095 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2145-2171 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56a10171a88a65d5a1c72667a7fbf60f307b3e0d30bf1a1522446171a52e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): server/src/services/scripts/v7/client.py:163-185 | server/src/services/scripts/v8/client.py:163-185 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1256cfb1d03a031641fc955c0027b9696b0d442f596a33cb71789b36afad521f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1359-1389 | packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:1345-1379 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c869e806efe0c84f9dddd3cea637c14d3f3a09ba9a75ca930665ea464d61b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): server/src/services/scripts/v7/client.py:451-462 | server/src/services/scripts/v8/client.py:451-462 | server/src/services/scripts/v9/client.py:552-563 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67e5d1a51895c0dad9b0ed36779bcd59f14771b9f7aa243b716e8343b597d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs:629-665 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs:678-710 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"661dab93982a8435184fb3f2fa4bd57e880153e0956e51c32ab1d9806f404bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4102-4128 | packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs:1242-1264 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec3dcab7abbb0583fcb40de3625f7d300cfa15d8dfa9dbaf571026cc0315c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): server/src/services/scripts/v2/client.py:113-118 | server/src/services/scripts/v3/client.py:131-136 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1b22789b435f4678e981f767f9f2f555552616ed31c88e277f9372444c1652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 5\u002B corresponding lines): server/src/services/scripts/v4/client.py:185-189 | server/src/services/scripts/v5/client.py:185-189 | server/src/services/scripts/v6/client.py:187-191 | server/src/services/scripts/v7/client.py:264-268 | server/src/services/scripts/v8/client.py:264-268 | server/src/services/scripts/v9/client.py:296-300 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd274f088734779b19977252ee128fcd818bf033304bcac586bdef154fc90106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4404-4415 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4417-4429 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3ff724b10af995b360253f042a3cd19ca5dcf50e47dcbc8330ee60ef4fe075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:2507-2527 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1314-1344 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1ddde6e415584ad3e1a7f54cd4ed4166a0b76ca6daa635c7c5c9f673876f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 5\u002B corresponding lines): server/src/services/scripts/v2/client.py:107-111 | server/src/services/scripts/v3/client.py:125-129 | server/src/services/scripts/v4/client.py:149-154 | server/src/services/scripts/v5/client.py:149-154 | server/src/services/scripts/v6/client.py:149-154 | server/src/services/scripts/v7/client.py:226-231 | server/src/services/scripts/v8/client.py:226-231 | server/src/services/scripts/v9/client.py:258-263 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03795644d2e2fd4c976e6b6367a0646b43c84714868190a4cd44eda6d688187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3497-3513 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:2234-2250 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fa7ad074acf29e43dd61ce6ce067c3bf16f48101beabd4011925ef9194b920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:1924-1936 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:662-679 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3210ea672c67d74630cc4be01c63330671504aa3380dd31e1d6df147c1260e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1925-1953 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:398-421 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e85bfd903fbf496eaeb6f1ac325f9018e9aeb5a67d2885354777c4ea04e0a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:468-490 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:648-670 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9a05c06d2764d4277a3a0047e26dcaacd8d3cfc0143f70e3d0fcff9bd7b2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:439-451 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:655-667 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb41cb2f04e8ded14ac65bf36dcbe363cb18b1c5d47b65e2367bfd394f7d96ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:609-621 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:623-635 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5778e0b1a4d4f8c1860fe7faca2a013b7202fba1bed3fe8ccc341c70cc49b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1701-1711 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1718-1730 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66d00a724a0c19630bed062afde8bc2703fdc57aeb3a4a0cba3da51ccf4ab60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/governance_events.rs:52-73 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:806-827 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/governance_events.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af873f70f71568d635c4dfeb59820cdd7596ba950940d35ac684113c6639195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:122-138 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1048-1065 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2887977c3ad5f1439a9ef66978988e9e5fecbe5d990c3cabd76c95ab6e971b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/lib.rs:118-134 | packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:1498-1511 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/lib.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"91699eba0a76c69fcc49a1c420c1fba597557c8cc1fe72a6dc7d6983a0c6ca6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/local_runner.rs:263-276 | packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs:1188-1202 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/local_runner.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d01c61bd622562c7a30470720ef2864ce73c10a7b28ef3af37b225f5838756a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:638-648 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:650-660 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a28ff67757c8d78f6bd99d544ef4b0f242441143d63e2ce4d6b4d75e2156e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3349-3365 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1827-1842 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:6066-6084 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cda14fcae0015b8aa3f2b7b9fb0abe604004729ef870b593a66646aac536547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:467-482 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:1784-1797 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"453c08610a3423372bb0bf7b3bf38916dffbaae2be37bb3fc03816f4991563e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/codex_usage.rs:32-41 | packages/paperclip-runner/runner/crates/runner-core/src/codex_usage.rs:43-53 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_usage.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d680bb53bffa0b575234642268983d934c792a48d09a5b20b56d7bbb61236858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:282-301 | packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:303-315 | packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:317-326 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:227-242 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:249-264 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:266-278 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdced5ff40af584379d774a45737da370ebabbed4ee940bc8ed394a0c865635"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:772-783 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:790-801 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92fe3454e2814cac53cd1b2408cd26346fd841e1412bc8261c0ce2f57c340d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-harness.rs:7-15 | packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs:226-234 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-harness.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf35c8eff8da648a1c704cd201274dedbc9330f5f83a55a54392c664ba9ff39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:955-969 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:971-982 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba8acebf6d76b831a6cdf437c26510e7727c5d0de5a6892a72af532c1e9be37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 4\u002B corresponding lines): server/src/services/scripts/v2/client.py:56-59 | server/src/services/scripts/v3/client.py:57-60 | server/src/services/scripts/v4/client.py:81-84 | server/src/services/scripts/v5/client.py:81-84 | server/src/services/scripts/v6/client.py:81-84 | server/src/services/scripts/v7/client.py:81-84 | server/src/services/scripts/v8/client.py:81-84 | server/src/services/scripts/v9/client.py:81-84 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a32a1143524742c8026c919cc471c67dd850944fe6fe603beb04676334b63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs:506-522 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs:529-539 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3efff606a2bf6372bc70938a676997806f5f2cdd694afdd12b69b7a1e66c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs:1207-1217 | packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs:1266-1276 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c3b6cef8a00a5af4979efb79332827cdc59a8c35d4b10a13a6754a0f69dde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3293-3304 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3321-3333 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee485f6c9efffc3a7d3c1cf1c6472c8797530fe4a2643ba7600849667d518bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:290-299 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:1774-1782 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf751406e5b0e7c955651c8a6e817ebe45a5335e515122b4e0269b432e2d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:226-235 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:280-288 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b93abda5db3d181edb626c8c6fd0b2f8e8c24bef501cd9aa26ebb9c6b0dd27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:845-858 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:904-915 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2a55eae1b83416645de1a5107b7773205fe18957aad2023ea445a2ab7f239a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3335-3347 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1816-1825 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"82905aaca48286a9525543d876d78a9f1882a1218322aea74695b0c82631b357"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:357-363 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:305-311 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf01ceb9516e7122cde2f95677af2375353dfcde9f64062ac896d7a766f180"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4928-4936 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1674-1680 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4928}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8017a876ac7ea5e9d0b555b6f6dac615905c8a4165430e195ce2269a4de1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): server/src/services/scripts/v2/client.py:144-146 | server/src/services/scripts/v3/client.py:162-164 | server/src/services/scripts/v4/client.py:199-201 | server/src/services/scripts/v5/client.py:199-201 | server/src/services/scripts/v6/client.py:201-203 | server/src/services/scripts/v7/client.py:278-280 | server/src/services/scripts/v8/client.py:278-280 | server/src/services/scripts/v9/client.py:310-312 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"442adcf3eac7263cd9e3af1aab1f56c5125626bbcb408b202c0073300939cf0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:343-348 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:284-290 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9264f7cae9d84a08a43aa54d65158cbf6f195a6d95c581e232b7a95be6b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:873-879 | packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs:165-171 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"359854ad6ae1d6be2adfa2f31c9b32acac15ca34ecefa574b9a853aa8f36da34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:2319-2325 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1563-1569 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6048e1779a7a96e0227436a2cd07a03f648ce6d18ab580d5b879c46bdd52d752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): server/src/services/scripts/v7/client.py:188-191 | server/src/services/scripts/v8/client.py:188-191 | server/src/services/scripts/v9/client.py:220-223 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"833f666474f80e0b0920730799a05ee72ad75e5ba6505561dc45d2a4c413c2f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:94-97 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:58-61 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8752deb713887de332c78289f50098f7d9de5cc3509424e5b339de022660c980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs:772-778 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4201-4205 | packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:1537-1541 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"012209c1ce5b961474ebcf73f7a6268656858f73af403f8b662b51fea8b483ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): server/src/services/scripts/v7/client.py:139-140 | server/src/services/scripts/v8/client.py:139-140 | server/src/services/scripts/v9/client.py:155-156 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfefa25daafb7caa25bf88e39c6c84a74afb62fdb77b7967e8d564f1e68fd95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_scope.rs:216-223 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1939-1944 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:551-558 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_scope.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1b02aa0452c64435b199df9e185478ff35cae67cf6c7a5564195a5d9d8151c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs:337-344 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:486-495 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"993a1a9ebf10f8df36e87b3490c4ffb8127c6b2520328357a0549bf3763fbdb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): server/src/services/scripts/v7/client.py:167-185 | server/src/services/scripts/v8/client.py:167-185 | server/src/services/scripts/v9/client.py:188-206 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3d9926fb0c80b82d10e3551f1002ded464720eeb4ae0b1225a0da7f4bc8982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): server/src/services/scripts/v2/client.py:61-77 | server/src/services/scripts/v3/client.py:62-78 | server/src/services/scripts/v4/client.py:86-102 | server/src/services/scripts/v5/client.py:86-102 | server/src/services/scripts/v6/client.py:86-102 | server/src/services/scripts/v7/client.py:86-102 | server/src/services/scripts/v8/client.py:86-102 | server/src/services/scripts/v9/client.py:86-102 \u2014 \u0060server/src/services/scripts/v2/client.py\u0060 and \u0060server/src/services/scripts/v3/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 15 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cc3d485f21492cff9e858f1835aa946c6f8cac1cd51b7a62c1221ab49f5c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): server/src/services/scripts/v3/client.py:83-97 | server/src/services/scripts/v4/client.py:107-121 | server/src/services/scripts/v5/client.py:107-121 | server/src/services/scripts/v6/client.py:107-121 | server/src/services/scripts/v7/client.py:107-121 | server/src/services/scripts/v8/client.py:107-121 | server/src/services/scripts/v9/client.py:107-121 \u2014 \u0060server/src/services/scripts/v3/client.py\u0060 and \u0060server/src/services/scripts/v4/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 154 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac603d33d6996905903c997a493f97e0eb688b910470e8bbc341920333c3bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/src/services/scripts/v7/client.py:146-158 | server/src/services/scripts/v8/client.py:146-158 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb0971dcb723bc1837c9aceb7f7f60591078b947b4c3bd75ebdff8e5e2f7298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): server/src/services/scripts/v7/client.py:405-429 | server/src/services/scripts/v8/client.py:405-429 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c42b1e1c0f91d86a6ff8493feb1b1fd5fc0cb39587ccecc94b191adc449b622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 9): server/src/services/scripts/v1/client.py:162-178 | server/src/services/scripts/v2/client.py:203-219 | server/src/services/scripts/v3/client.py:221-237 | server/src/services/scripts/v4/client.py:261-277 | server/src/services/scripts/v5/client.py:261-277 | server/src/services/scripts/v6/client.py:263-279 | server/src/services/scripts/v7/client.py:340-356 | server/src/services/scripts/v8/client.py:340-356 | server/src/services/scripts/v9/client.py:372-388 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e256405ed69b1ec1ea3dc39563b2876d49d212191e2ef240c8faad07de12d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): server/src/services/scripts/v2/client.py:42-51 | server/src/services/scripts/v3/client.py:43-52 | server/src/services/scripts/v4/client.py:67-76 | server/src/services/scripts/v5/client.py:67-76 | server/src/services/scripts/v6/client.py:67-76 | server/src/services/scripts/v7/client.py:67-76 | server/src/services/scripts/v8/client.py:67-76 | server/src/services/scripts/v9/client.py:67-76 \u2014 \u0060server/src/services/scripts/v2/client.py\u0060 and \u0060server/src/services/scripts/v3/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 15 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"791822474c24b8ae570aaefda0ae71fe61d24ba212eb9c818592f80f7bb56d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): server/src/services/scripts/v4/client.py:50-60 | server/src/services/scripts/v5/client.py:50-60 | server/src/services/scripts/v6/client.py:50-60 | server/src/services/scripts/v7/client.py:50-60 | server/src/services/scripts/v8/client.py:50-60 | server/src/services/scripts/v9/client.py:50-60 \u2014 \u0060server/src/services/scripts/v4/client.py\u0060 and \u0060server/src/services/scripts/v5/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 19 separate duplicated blocks between them, totalling at least 176 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6631769184584553e33b44d2bcc6f702caf1b9bfff2fb521d52fd1e59e02949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): server/src/services/scripts/v7/client.py:380-403 | server/src/services/scripts/v8/client.py:380-403 | server/src/services/scripts/v9/client.py:418-441 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79f01511848513e00b93cb5731f0785a8c404a8fe1e52839b751d2beec7791f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): server/src/services/scripts/v7/client.py:434-447 | server/src/services/scripts/v8/client.py:434-447 | server/src/services/scripts/v9/client.py:534-547 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"135f93a7de7a7547ff631ee429401f93f630510d025a72e794d8e8bab25559d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/src/services/scripts/v7/client.py:431-438 | server/src/services/scripts/v8/client.py:431-438 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f78a70f70dfab40f6d3cfba869fbb72ed4929bcb27628a7995a12950a61ede5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 9): server/src/services/scripts/v1/client.py:205-220 | server/src/services/scripts/v2/client.py:248-262 | server/src/services/scripts/v3/client.py:267-281 | server/src/services/scripts/v4/client.py:308-322 | server/src/services/scripts/v5/client.py:308-322 | server/src/services/scripts/v6/client.py:310-324 | server/src/services/scripts/v7/client.py:471-485 | server/src/services/scripts/v8/client.py:471-485 | server/src/services/scripts/v9/client.py:572-586 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/src/services/scripts/v3/client.py:266\u0060 calls \u0060add_parser\u0060 and \u0060server/src/services/scripts/v2/client.py:247\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecc502e34e990d2c95380da9a16c89de7c18db2835c37b632a929c971666da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): server/src/services/scripts/v1/client.py:113-118 | server/src/services/scripts/v2/client.py:152-157 | server/src/services/scripts/v3/client.py:170-175 | server/src/services/scripts/v4/client.py:207-212 | server/src/services/scripts/v5/client.py:207-212 | server/src/services/scripts/v6/client.py:209-214 | server/src/services/scripts/v7/client.py:286-291 | server/src/services/scripts/v8/client.py:286-291 | server/src/services/scripts/v9/client.py:318-323 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1de2045312b8b313a3217958c73095543c626ca42685a386fd7fd202d67b4bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): server/src/services/scripts/v1/client.py:140-155 | server/src/services/scripts/v2/client.py:181-196 | server/src/services/scripts/v3/client.py:199-214 | server/src/services/scripts/v4/client.py:239-254 | server/src/services/scripts/v5/client.py:239-254 | server/src/services/scripts/v6/client.py:241-256 | server/src/services/scripts/v7/client.py:318-333 | server/src/services/scripts/v8/client.py:318-333 | server/src/services/scripts/v9/client.py:350-365 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbf571b0cf4c53917d0807aedacd01bcaa9b138f5108f071080aa7c4ba7bd8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20135 lines \u00D7 9): server/src/services/scripts/v1/client.py:137-137 | server/src/services/scripts/v2/client.py:178-178 | server/src/services/scripts/v3/client.py:196-196 | server/src/services/scripts/v4/client.py:233-237 | server/src/services/scripts/v5/client.py:233-237 | server/src/services/scripts/v6/client.py:235-239 | server/src/services/scripts/v7/client.py:312-316 | server/src/services/scripts/v8/client.py:312-316 | server/src/services/scripts/v9/client.py:344-348 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/src/services/scripts/v2/client.py:176\u0060 calls \u0060remember_identity\u0060 and \u0060server/src/services/scripts/v1/client.py:135\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e446df47ebdad70aa3f8533c4315243375d47853a43189940d617441941dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): server/src/services/scripts/v7/client.py:451-455 | server/src/services/scripts/v8/client.py:451-455 | server/src/services/scripts/v9/client.py:555-558 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"285e174b5008eafd639839f1738923550a68153c73766a2d6934267e0faf8a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): server/src/services/scripts/v1/client.py:23-27 | server/src/services/scripts/v2/client.py:26-30 | server/src/services/scripts/v3/client.py:27-31 | server/src/services/scripts/v4/client.py:28-32 | server/src/services/scripts/v4/client.py:39-43 | server/src/services/scripts/v5/client.py:28-32 | server/src/services/scripts/v5/client.py:39-43 | server/src/services/scripts/v6/client.py:28-32 | server/src/services/scripts/v6/client.py:39-43 | server/src/services/scripts/v7/client.py:28-32 | server/src/services/scripts/v7/client.py:39-43 | server/src/services/scripts/v8/client.py:28-32 | server/src/services/scripts/v8/client.py:39-43 | server/src/services/scripts/v9/client.py:28-32 | server/src/services/scripts/v9/client.py:39-43 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b623151e6f179fbd9cd9ea079d60f24348dc3bec6c58360a470a8c89b44d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): server/src/services/scripts/v1/client.py:61-66 | server/src/services/scripts/v2/client.py:91-96 | server/src/services/scripts/v3/client.py:109-114 | server/src/services/scripts/v4/client.py:133-138 | server/src/services/scripts/v5/client.py:133-138 | server/src/services/scripts/v6/client.py:133-138 | server/src/services/scripts/v7/client.py:210-215 | server/src/services/scripts/v8/client.py:210-215 | server/src/services/scripts/v9/client.py:242-247 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5079a79f7b0e8d805b0e373a08f789284101ebbccd38fabcda6e112ce2cbe14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): server/src/services/scripts/v1/client.py:125-130 | server/src/services/scripts/v2/client.py:165-170 | server/src/services/scripts/v3/client.py:183-188 | server/src/services/scripts/v4/client.py:220-225 | server/src/services/scripts/v5/client.py:220-225 | server/src/services/scripts/v6/client.py:222-227 | server/src/services/scripts/v7/client.py:299-304 | server/src/services/scripts/v8/client.py:299-304 | server/src/services/scripts/v9/client.py:331-336 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/src/services/scripts/v2/client.py:162\u0060 calls \u0060generation\u0060 and \u0060server/src/services/scripts/v1/client.py:122\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faa20ab0fd3f8637120e488946c7e5ce6063df174fba91aa69f43a501dddad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): server/src/services/scripts/v1/client.py:186-192 | server/src/services/scripts/v2/client.py:228-234 | server/src/services/scripts/v3/client.py:246-252 | server/src/services/scripts/v4/client.py:286-292 | server/src/services/scripts/v5/client.py:286-292 | server/src/services/scripts/v6/client.py:288-294 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060server/src/services/scripts/v2/client.py:236\u0060 calls \u0060generation\u0060 and \u0060server/src/services/scripts/v1/client.py:194\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee322f49a5e1a8909504c8e9e573a0d773a58dbc077fc1b5c1940f034a1227e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/src/services/scripts/v1/client.py:224-229 | server/src/services/scripts/v2/client.py:264-269 \u2014 \u0060server/src/services/scripts/v1/client.py\u0060 and \u0060server/src/services/scripts/v2/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/src/services/scripts/v1/client.py:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"352f3d5b0909bfc5528c8264a2b18dceec7ac974e0e3d00edb3e66cdd8ed2d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/src/services/scripts/v2/client.py:113-117 | server/src/services/scripts/v3/client.py:131-135 \u2014 \u0060server/src/services/scripts/v2/client.py\u0060 and \u0060server/src/services/scripts/v3/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 15 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d59547a28669878354bc66c00e3504e40ad7aa8b2c58cdd8b460d3576ee1473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/src/services/scripts/v2/client.py:138-142 | server/src/services/scripts/v3/client.py:156-160 \u2014 \u0060server/src/services/scripts/v2/client.py\u0060 and \u0060server/src/services/scripts/v3/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 15 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7cd4691c8f3030424dcc89516e57ae692ca0d9b9ca38c49caaa1c386bfb516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): server/src/services/scripts/v2/client.py:125-136 | server/src/services/scripts/v3/client.py:143-154 | server/src/services/scripts/v4/client.py:171-182 | server/src/services/scripts/v5/client.py:171-182 | server/src/services/scripts/v6/client.py:173-184 | server/src/services/scripts/v7/client.py:250-261 | server/src/services/scripts/v8/client.py:250-261 | server/src/services/scripts/v9/client.py:282-293 \u2014 \u0060server/src/services/scripts/v2/client.py\u0060 and \u0060server/src/services/scripts/v3/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 15 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/src/services/scripts/v4/client.py:170\u0060 calls \u0060publish_delegation_skill\u0060 and \u0060server/src/services/scripts/v2/client.py:124\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea21583c3c095b52466fa5d604903fe30ec9601373b24c3a4e682e6304e8a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): server/src/services/scripts/v2/client.py:277-281 | server/src/services/scripts/v3/client.py:297-301 | server/src/services/scripts/v4/client.py:338-342 | server/src/services/scripts/v5/client.py:338-342 | server/src/services/scripts/v6/client.py:340-344 | server/src/services/scripts/v7/client.py:501-505 | server/src/services/scripts/v8/client.py:501-505 | server/src/services/scripts/v9/client.py:602-606 \u2014 \u0060server/src/services/scripts/v2/client.py\u0060 and \u0060server/src/services/scripts/v3/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 15 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/src/services/scripts/v2/client.py:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e337d20771664277ca355a3b0fcf45027a352ab753cdff63b7c60051dcae9dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): server/src/services/scripts/v3/client.py:99-104 | server/src/services/scripts/v4/client.py:123-128 | server/src/services/scripts/v5/client.py:123-128 | server/src/services/scripts/v6/client.py:123-128 | server/src/services/scripts/v7/client.py:123-128 | server/src/services/scripts/v8/client.py:123-128 | server/src/services/scripts/v9/client.py:123-128 \u2014 \u0060server/src/services/scripts/v3/client.py\u0060 and \u0060server/src/services/scripts/v4/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 154 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d717e90a0139005f4d1314b181f5f26e45590febf84554dd527a329ab77fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): server/src/services/scripts/v3/client.py:285-289 | server/src/services/scripts/v4/client.py:326-330 | server/src/services/scripts/v5/client.py:326-330 | server/src/services/scripts/v6/client.py:328-332 | server/src/services/scripts/v7/client.py:489-493 | server/src/services/scripts/v8/client.py:489-493 | server/src/services/scripts/v9/client.py:590-594 \u2014 \u0060server/src/services/scripts/v3/client.py\u0060 and \u0060server/src/services/scripts/v4/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 154 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/src/services/scripts/v3/client.py:285\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2667175b3e66cc323d128b2e97daddfb9911fa8ed2f09e4df01cb925f9211191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): server/src/services/scripts/v4/client.py:156-160 | server/src/services/scripts/v5/client.py:156-160 | server/src/services/scripts/v6/client.py:156-160 | server/src/services/scripts/v7/client.py:233-237 | server/src/services/scripts/v8/client.py:233-237 | server/src/services/scripts/v9/client.py:265-269 \u2014 \u0060server/src/services/scripts/v4/client.py\u0060 and \u0060server/src/services/scripts/v5/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 19 separate duplicated blocks between them, totalling at least 176 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13a53f9ee733605dc7281931f63e497159c5b938949772b577de768002a2ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): server/src/services/scripts/v4/client.py:191-196 | server/src/services/scripts/v5/client.py:191-196 | server/src/services/scripts/v6/client.py:193-198 | server/src/services/scripts/v7/client.py:270-275 | server/src/services/scripts/v8/client.py:270-275 | server/src/services/scripts/v9/client.py:302-307 \u2014 \u0060server/src/services/scripts/v4/client.py\u0060 and \u0060server/src/services/scripts/v5/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 19 separate duplicated blocks between them, totalling at least 176 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"18607cd1a81b77904c2fb4da38bad6e8407a5fa260e7201fb22f18f431f89540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): server/src/services/scripts/v7/client.py:194-204 | server/src/services/scripts/v8/client.py:194-204 | server/src/services/scripts/v9/client.py:226-236 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab5e590a1d5f1a2cfac3d429181caae4c0ac4987108532eb899465f03612ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): server/src/services/scripts/v7/client.py:364-374 | server/src/services/scripts/v8/client.py:364-374 | server/src/services/scripts/v9/client.py:402-412 \u2014 \u0060server/src/services/scripts/v7/client.py\u0060 and \u0060server/src/services/scripts/v8/client.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 27 separate duplicated blocks between them, totalling at least 299 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca699bb486d63c03d5f996e064323bf9daa7121ebfe7e04d2cd13500de05bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:1082-1108 | packages/paperclip-runner/runner/crates/runner-core/src/local_runner.rs:770-796 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9de1e8987e360864e67aff58910bc3b6772d1ad6ea6c699fb5bb0e3f86d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2730-2752 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2785-2810 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2730\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":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"1703be4bd3c5019d491397ee4d638e018e7b1ce9a04ddabbc4707d554c0a911e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1774-1792 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1839-1863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1774\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":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34fc9a407a999edb91f1ad06d4856d2c296489d8f400dc5a625bfc54fa5598d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1864-1886 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:325-347 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2b4cf53627d3ad208895c490a2969a33a35c069d1e170fa496e4673fca0da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:3112-3131 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:3248-3269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:3112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":3112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d32404381a33ba56695987321f3c4b82edcb4c96f9004eb0f090116288874a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1972-1993 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:979-1000 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1972\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb41c1ad3a79a9a7269b63e3605365e083fbe904692e6b3a1c956fda7e3fa99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:913-931 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1236-1254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:932\u0060 calls \u0060merge\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1255\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d90bd983b42b0c1e1e8e3db0466c99d4055a041652a74db8db67f78af32f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2199-2216 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2355-2368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2355\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b567ea0f7fc173689ad15d636dd265ed76db0b13084c90e9f6ea2e080c06d63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2223-2240 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2384-2399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2223\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9422f1bc8edaad126d59c2b1c79820de980b1d6718cac52cef88988d1257fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:933-950 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1255-1272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:933\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:932\u0060 calls \u0060merge\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1254\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0e769a716c246da66b2e7e0b32dcc2af87ff3145dc6bb37e0fa2ee49ac5ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2116-2132 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2330-2346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"333283881e13e0a592c21e7790000237a7caaec7df9f7ec985eb555663a40d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:967-983 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1295-1311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:967\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77b776ec05394d93527e05ab0386fc0e72ac2c957e1204eb1169b09b392f22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3433-3448 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:350-365 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3433}}}],"partialFingerprints":{"codehealthFindingId/v1":"369a26d3a57344d80c13f9bf035053288f66f21b9a96bb2eec7ffc116376e69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs:125-140 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1841-1856 \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 \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2f9d672a8dafdc327698fab957b0f2d0e7f958349fd91d16d9b5e195864e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:469-482 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:493-507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:469\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":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c520a4ecc4676fd91fdc8b803f3be2f29749a5608f758c4c68329b128e6895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:1110-1124 | packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:1735-1748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs:1110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"892b097f86fd80efa93311aec5e8a22960b00d07534d8aa5253f074d6092c2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2733-2746 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2788-2801 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3842-3855 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:4337-4350 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3857\u0060 calls \u0060clone\u0060, \u0060facade_provider_name\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2748\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"af62a8b6a67a2afac8326ea7f631746f217e45bd5034b32e100abc4bb8038e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3500-3513 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:2237-2250 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3500\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11a3c0dff3a15d9a0b50c2c84d7dbde4d652f3d8e6f6ae8dc3f73a3ddd34442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:517-530 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:425-438 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc4f44d6d9096266a5c0c4128546fd6179960d2b028e0e01991111e2335c249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:2016-2028 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1714-1725 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed8a9d03c58be2f407e4c8339293627b02615eddbed7edc41f88ab8a6db1646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2958-2970 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4018-4030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2958\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e22180e2d6f3653214a45f2c426b98405d2dfec14ca023b77068a96350b998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2735-2746 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2790-2801 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3596-3607 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3844-3855 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:4339-4350 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3857\u0060 calls \u0060clone\u0060, \u0060facade_provider_name\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2748\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ff2ca12c9d041fdfa0ccd4864b5c0fb79134d43356d4d9f4911221203663a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2879-2890 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:3714-3725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060\u0026mut\u0060 in one and \u0060crate) fn fence_local_receipt_limit( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2879}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f233a3b3bfb979c17045f21b721df1c64b498c6f2962eebc476bcc42f422bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:639-649 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1873-1881 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:334-342 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:639\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a378c3e22494994d035aec6c612c1676355e1e544db3f089af97f1dfe57d467b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3219-3229 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:5913-5923 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3219\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aa2a4b8e46bd5b8b79f5b76a35c0c97ee2e645291cf22d9667350664b60d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4456-4466 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4471-4480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4456\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07233396cc39ff0e8ae3f62f180a0eb5f8272fb8f9e544bc8d9ec56ba7775c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2627-2637 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3290-3300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cbff17525ae15a1671b7e41e96949b3d2c9389756477a9112dd98723a441a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs:347-354 | packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs:377-383 | packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs:395-404 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs:347\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fa26b1213bcb72fde9866ee387e194ab8285ece83e166b84452872f3bd1851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:1083-1092 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1365-1374 | packages/paperclip-runner/runner/crates/runner-core/src/local_runner.rs:771-780 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:1083\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":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"2546039d398a31bb9f08f4882124de0b986c225e473d438b2b7779398ac7c5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1585-1594 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:5519-5528 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04057ab7b7858c8b5684618555c547fa9a50004a4d230ec47bba4ee2ae952f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/process_lineage.rs:375-384 | packages/paperclip-runner/runner/crates/runner-core/src/process_lineage/journal.rs:409-418 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/process_lineage.rs:375\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/process_lineage.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"433d4240bbeaa6c2dd031e77a17d4f4c1c0656ac49199f99722a5a3a16b6bd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:479-488 | packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:499-508 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:479\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a5420ffd2d3d420f8c95b858071dd109aee1d8ff4c4213d2d4379bff2f6c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1014-1022 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1028-1036 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1014\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eef9dcfd44b76f37d066f7af8bc3d7f28ca5659e211e9f151209ed1f7799fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:970-978 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3157-3165 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:970\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bad50dc5392bb090c329de5ad19162e51764d3e547e990c033281f5f0945aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:706-713 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4742-4749 | packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:27-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:706\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebbc2f67865cd0946d2d2ec39d5edf6c553d88ec7a9987c90b3c5d94a2d952d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1646-1653 | packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs:476-481 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:965-972 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1646\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1656\u0060 calls \u0060Err\u0060, \u0060other\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs:483\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2528b3ab922a72b855d425476dd89b89a0bca9fb65dd8075a4cfb71e740805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1375-1382 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1507-1514 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2b21c42ef487d86520ea1a5358cc53ec28f333e6bfe5cf36715de9d7a9c0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs:83-90 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:630-637 \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 \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cceebd23c3397adec1cbc1ea2c8f8916d8ecc54bc6aa29822151fd5030464f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/attachment_download.rs:39-48 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:54-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/attachment_download.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"940b528591745420be3378d8cfb9542081e2ce7dd3995700beec8bdf63925375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:791-797 | packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:1052-1059 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:791\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed06b5c1612064ab2a73cf00e6fd65507cf42d69a77d11b7214174a000bfdac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-harness.rs:8-15 | packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs:227-234 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-harness.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a5933236dc160a69e2338ab0ccd2723260ea43598ff6f35afd06c08434b1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1702-1709 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:1720-1727 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70f1610658ce4af4746d2aa9a7847a3bbed5a68403d95054561bcc3a0fb89ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:832-839 | packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:1084-1091 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:832\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060result\u0060 to \u0060ToolResult\u0060 in one and \u0060\u0026ToolResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8bdd20cfaac0f0d9af0530e11c1662c83e591f02ffe459a6855996615f284b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1658-1664 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:973-979 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3160-3166 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1658\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1656\u0060 calls \u0060Err\u0060, \u0060other\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:972\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c120454b1285cfa8f72e2049f9b2cc6afbe94d8c26bcf1b115b8c7d8f355e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3498-3504 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs:316-322 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:2235-2241 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:3498\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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"43541f63f9148e045ec42faabff3c5f065250dc25d5782b4fcb704c8b55cf303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4272-4278 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4337-4343 | packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs:1499-1505 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Option\u003C\u0026str\u003E\u0060 in one and \u0060\u0026str\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a22713133ee86e896fda042972d25f6d49840e0478e73bbafe8c81b0ec073ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs:479-485 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:970-976 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3157-3163 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs:479\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/external_provider_backend.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5f9c3a73d3bed92b2ab6f9b0a236fba289145e8be0b2188c527007c1d5f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2089-2095 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2165-2171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2089\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"1685e0b70ac1e0a8777272c7886ab8dfe3f29694263e93624f47a807619cc9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1231-1236 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:739-744 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2509-2514 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1231\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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c773fba2caf34ef41450eb6632c6fda45f05189a0afcc90c427f3638fe9f350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:791-796 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:624-629 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:791\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":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e233a1b374a517ff33078cce517f8cd63a88f55021991bba44009623e1d7c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:228-233 | packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:398-403 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c355307ae2395234ea5bff2109d4c884f41739fa60e2258e6f09fca63f995d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:2105-2109 | packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:2148-2152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs:2105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e62212679eca3235771508c12018e8a6509799c0f01e07e9d4c5ada292bba17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1995-2006 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:1008-1020 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1995\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa5d029eb1013df8461315acd8e936e76298340ec7a25713579e79ffdfb197a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:59-64 | packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:289-293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:288\u0060 calls \u0060Some\u0060, \u0060get\u0060, \u0060and_then\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:58\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf39658b9362a76f8065fea149cf03818d8a2ea65efe42d9b94d670bb9bb82df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs:346-352 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1946-1952 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee0102f5c86a56eaeb094bfb1550116ea89dc02b690b5a5566d084d5a5ba0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:2428-2441 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:3052-3065 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f84d6b4f24f26bf2ecf7b93f94e1725e3160ed8fcc2fc66e45c8054c312b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2956-2967 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:5557-5568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2956\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f01213f83c1b86396f2190895baa8294f1aebe6a6c1429a6242c6b71e6b8e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:715-726 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:740-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs:715\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7ffadcce1507851d843bfd66a3fecb915ccce0c76d0ea04591af9a95d2a7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3185-3196 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3513-3521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:3185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8e144097d6cb0f308748c92c3a39c00a852476d977f35d8e94843be3342ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:829-846 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:1185-1197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:829\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e30953ca99ee5ba990db309f94cae70aefa0668a792ee05ce3d1061ac069a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:1574-1584 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:1764-1774 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad9db1f7fa46524d9854453109272a0535f2feb11ce5833399085e085b1da63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:5605-5615 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:5624-5634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:5605\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":5605}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0f756b195f9ddfdabff1174fc237214c3786546805c90471d4288d86ebf098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1615-1625 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:2117-2124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1615\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"3134c2a9ee016632b31adda3fe6083f40bbc4435c4b190f1ebaa9abdc288f687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1906-1916 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1995-2004 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1906\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a06680b336094b81428b22a26dafce71e3d72fcd8ffce6f65a8ff0cfbcf21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1342-1351 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1445-1454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1342\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":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15275f25cf6c8d2f0d65657771ee6c2c60627e30711c07f0fe037d6166752d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:2053-2062 | packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs:2277-2286 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/claude_managed_provider.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:2053\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"8836d96bab2e14a7671629ec64b5a7f44237ded51d2fcfebf98edbb9c914c675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:1200-1209 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:1222-1231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:1200\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c675f1558fce5947a7fcb9027296fd6d43720f36e511309123392127bb3e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2076-2085 | packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2152-2161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs:2076\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"962b4870a4bc840370d61cccb15e75a6504f07559de0cd96f0d6a4c21badac49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:296-304 | packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:361-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs:296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4e8b32bff407c72d211ea5694ebea47a8c7e13cdd521f21f67b3ac676e699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1829-1837 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1909-1917 | packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs:1997-2005 \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/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73d212ddfa503e9c7ec089fe3099ca0dca3c03f9b057d99db96b27d7084f6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1255-1263 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:755-763 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea628dff799c99721322d7ed230b2d5328366b801c511b677645cd5568bc98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1251-1258 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1288-1295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:1251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed315d51bbf75b6adae08e49b1570be51b5dd692285d59c9d02be6a1e502edc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1639-1644 | packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs:956-963 \u2014 before extracting anything, compare \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs:1639\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c352b5bb210d000fd753b6dfdd3e69020acb4e43190e1f2914d6e424e0e45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1070-1076 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1109-1115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:1070\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":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"21292c31c6278cb3f10d9f6f555af3e15f149ba5951b373933c67a7055560030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4757-4763 | packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4773-4779 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs:4757\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":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":4757}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb0f3fbb37ef4563ac0ee073328aabd472cd361cb5b241d56c2ac5df34e0d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs:780-786 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs:801-807 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"119777c3efef71dfeef040a636ffbeb04f1de882cb4d61d2a958e03f1222733b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:2078-2082 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:2096-2101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:2078\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f1a41fd62a958d44dde20b2a219f6d0a55b890abfac0ef07cad5add42de304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:700-705 | packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:707-712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs:700\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ec096ed1e1824b4228baef1751050f567b81be8a322ce1dc3b23b926a94917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:233-238 | packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:318-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs:233\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/question_response.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa52af5a5adae16ea4e0d45cbc4c2df762316a7a7830ebc7ce39f629b64af05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:504-508 | packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs:577-581 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20fb5024f3b5a0d3281fc39ee792aa046d2d5a4c4fcb1b260b791d4f097b807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:1464-1469 | packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:1858-1863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:1470\u0060 calls \u0060clear\u0060, \u0060take\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs:1864\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9647705b75d511b52d934016fa21134d74ff5038b8a0a8d16a976223f60a86c7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: paperclip-process-table: paperclip-process-table: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6fbdd98f7fccc3197103d8c07a0f4c7f3bd7950c7d3a1affc278320df6db212f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/hermes-paperclip-adapter: @paperclipai/hermes-paperclip-adapter: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd2397d0a42e064cbf6f657472ad7a6c8461eb14eb86b261327d9920f32337d2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-cursor-cloud: @paperclipai/adapter-cursor-cloud: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8d573c422768d20cca7e8f7ffbf9f46005c7edbb7a88293a7587f2e62b7f0ac6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-cursor-local: @paperclipai/adapter-cursor-local: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c95894c0c7165c6ff1a207227b0e7db713128208a2424e06e7ce832adb85a7a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-gemini-local: @paperclipai/adapter-gemini-local: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"45609dc2f7e3b39aa85c429de204d872d6a2afedbc4cdca1a04a86feae757e21"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-kimi-local: @paperclipai/adapter-kimi-local: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"917f5d668e446526e559ea22a9947a9e8764c296b07d590ce39d975f58144afb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-openclaw-gateway: @paperclipai/adapter-openclaw-gateway: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1faf3137ea6bcfb7f984cf30b0906b72722308f7dd714341506112a30f7cbcb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-opencode-local: @paperclipai/adapter-opencode-local: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce55fa863b1af480c1a3e2eead187e465adcbbbdacb23600ebed80c3ef4acd14"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @paperclipai/adapter-pi-local: @paperclipai/adapter-pi-local: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"58d8367e3a2a6c273997f1d921710397680f183a45656ec1821cca45c4e0386b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DurablePrpCodexTransport (LCOM4 98): DurablePrpCodexTransport\u0027s methods fall into 98 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 98 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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4074}}}],"partialFingerprints":{"codehealthFindingId/v1":"03513318b3468d3d180a97a37aac7c7737c652634ed07831d7c0a1328595f9ba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DurablePrpControlPlane (LCOM4 62): DurablePrpControlPlane\u0027s methods fall into 62 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 62 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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f217304d4fdfd2b92cee67c3e3960a8ce2f5fa7b57f8f7593c1e925f9e74546c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaperclipRunnerToolAuthority (LCOM4 49): PaperclipRunnerToolAuthority\u0027s methods fall into 49 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 49 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"837bf48f1face0e8be402d58d74741784f25d421f23033bf1095c06cb56fed31"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TaskObserver (LCOM4 49): TaskObserver\u0027s methods fall into 49 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 49 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a293f3606400686f468d81280b682df6554062e3348d1891dfffaa29fec18062"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilityMockControlPlaneAdapter (LCOM4 47): CapabilityMockControlPlaneAdapter\u0027s methods fall into 47 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 47 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":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3034e3c832f6b9cc9e63ac65880cffd0004e04ad7c5b4fa09219d1e9ee04fd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilityLiveSession (LCOM4 43): CapabilityLiveSession\u0027s methods fall into 43 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 43 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":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f9e3fe296adf667d9d1a26b3c200bf4836e0aba0d8ce43b739ce5c1da5b826"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChaosSupervisor (LCOM4 34): ChaosSupervisor\u0027s methods fall into 34 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 34 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":"tests/restart-chaos/supervisor.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"27284281ba7c695c3d33aeffcfec869f32f8893a82f4c9d63eb2ff20fc9cc767"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenCodeHarnessSession (LCOM4 33): OpenCodeHarnessSession\u0027s methods fall into 33 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 33 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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"033ef7b58d8a58df0455d75b5e92354f8930a91575645fecc7f045850e5ed112"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CursorCloudSession (LCOM4 31): CursorCloudSession\u0027s methods fall into 31 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 31 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c1ed1b6cf2f17b6895b43563293baac5ce916cbb3f8050dce01f1011d7226"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodexAcpxSession (LCOM4 29): CodexAcpxSession\u0027s methods fall into 29 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 29 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":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cf4f980b5b04dbaba16fcef744aaf6291d611797495315493fab1c79ae6ce2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatSdkEndpointRuntime (LCOM4 24): ChatSdkEndpointRuntime\u0027s methods fall into 24 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 24 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fdc5c840fd454340fc1fae54acec769ebfb2b5c6dc9b9bbbc4830efb8c78d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SetupTokenSessionService (LCOM4 24): SetupTokenSessionService\u0027s methods fall into 24 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 24 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":"server/src/services/setup-token-session.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da08d1a5a8219df101099d85520474b24ad0e2d835c1430f3fc34f97607810d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilitySemanticToolRuntime (LCOM4 23): CapabilitySemanticToolRuntime\u0027s methods fall into 23 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 23 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":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab6fa42bee822cdda5753bb35115cdd3c7c9d0012737382b129ae25b91eb248"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HarnessNativeSession (LCOM4 21): HarnessNativeSession\u0027s methods fall into 21 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 21 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":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f39c8836afe53f9831377623d9b7c3a0687f371b0015b4da402f74ecd176210"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SharedPollingCoordinator (LCOM4 20): SharedPollingCoordinator\u0027s methods fall into 20 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 20 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":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e08650881c5825d19df4317c569aa45997eb30bb1f599bd8a7b6fc4e10915d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaperclipChatSdkStateAdapter (LCOM4 17): PaperclipChatSdkStateAdapter\u0027s methods fall into 17 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 17 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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"12460671ac1ac1084e422a3b85b953bfb30f31c9c349c37a920c7a1d352e05c4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WorkspaceGitOperationScheduler (LCOM4 17): WorkspaceGitOperationScheduler\u0027s methods fall into 17 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 17 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":"server/src/services/workspace-git-operation-scheduler.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0a27b4785f86f1490d49728562b3ae2906d85fb7f6732485d30e1f159fc0a3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ScenarioChatDemoRuntime (LCOM4 17): ScenarioChatDemoRuntime\u0027s methods fall into 17 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 17 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":"packages/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c391bdc27721caf0b0974f64c5ffcf00ecf3a283fb666302a6d4718aba4162b1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PhotonChatAdapter (LCOM4 16): PhotonChatAdapter\u0027s methods fall into 16 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 16 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":"server/src/services/photon/adapter.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c6a3748468145f53aef0459df6ab09450ca3af22a7172d546afd076d1aa116"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClaudeProviderCycles (LCOM4 16): ClaudeProviderCycles\u0027s methods fall into 16 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 16 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":"packages/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3258770f5b669dab9456c6dbc54c87c738309195b28448433af60660d7c4b75"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CursorCloudClient (LCOM4 16): CursorCloudClient\u0027s methods fall into 16 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 16 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":"packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5b38f1594211ed877c36a8e71ce1fbffcf4359d1f0396605edee9b53e5db3f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BrokerCore (LCOM4 15): BrokerCore\u0027s methods fall into 15 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 15 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":"packages/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f249549db7a30a5dfb5dfc8460ed8562dd63aa351f880a7406bf482f74b8cb71"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodexSessionState (LCOM4 13): CodexSessionState\u0027s methods fall into 13 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 13 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":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4d81402c1f1354e65079cf1f82d7198e45c83762adfecaa190e060b2effa1b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaperclipControlPlanePort (LCOM4 13): PaperclipControlPlanePort\u0027s methods fall into 13 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 13 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a44e67e2489ad425e259ac25bf19e1c30b6dd204cd52241a8bd6713bc0b629"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodexAcpxDriver (LCOM4 13): CodexAcpxDriver\u0027s methods fall into 13 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 13 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":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a45fb02dd199a51e17005b635a0d041d34f267a34874cdcb03f7c4c0e8b88"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RunnerApi (LCOM4 12): RunnerApi\u0027s methods fall into 12 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 12 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":"tests/runner-e2e/api.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d917d678f2065bd143dec82cc958b0da5a203588447d9b27947d44f8f71b0af6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LiveConsoleScriptedSession (LCOM4 12): LiveConsoleScriptedSession\u0027s methods fall into 12 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 12 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":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cc3069bce4df2a0b94ae949366aee7e94f3822ade2ce68d37dc935cbda5e5d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JourneyDriver (LCOM4 12): JourneyDriver\u0027s methods fall into 12 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 12 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":"tests/restart-chaos/journey-driver.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8647bfcce62138f91accefc63e6d8b8804f4ec1b6ea4c11ab1a658c76d9bf4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StagingMixRun (LCOM4 12): StagingMixRun\u0027s methods fall into 12 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 12 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":"tests/restart-chaos/staging-mix-run.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd45b74f6d6c692ce59c081b5729f1157bef51e7187ae1d3f96961cde6eeabd1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatRuntime (LCOM4 11): ChatRuntime\u0027s methods fall into 11 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 11 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":"server/src/services/chat-runtime.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2171f1d4bac0cef672a6b973952bafbec85b4c605c826565141507be50884c13"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RunnerdExternalSession (LCOM4 11): RunnerdExternalSession\u0027s methods fall into 11 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 11 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":"packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ef73d3328a13bae809fc8c258ff0e32397a07eae8bb9664ae6a5facb7dfce"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReleaseSwapDriver (LCOM4 11): ReleaseSwapDriver\u0027s methods fall into 11 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 11 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":"tests/restart-chaos/release-swap-driver.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3044d5dc9957136f07699cd65a244dbd1330f691c63c108ffa4bdde00ce949bb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodexAppServerDriver (LCOM4 10): CodexAppServerDriver\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6884f1ae07f390d1e4ef878335ad4e5de12fb499fe59e2c0801b4f0f45427f7b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatSdkRuntime (LCOM4 10): ChatSdkRuntime\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f06a7b799553a32d6679d4ffd78b8d627f4b27275de187194128a634bc7e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalRunnerController (LCOM4 10): LocalRunnerController\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/local-runner.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f85170bd5cbc86b70dc2dd7bb032150ace2d109764ea7fed50e382e282b64c5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatCampaignCoordinator (LCOM4 10): ChatCampaignCoordinator\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-campaign-coordinator.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ae87f79881b2627e85b2582dfc4208193813caef2af76db4fee7a4a8918208"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProcessCodexAppServerTransport (LCOM4 9): ProcessCodexAppServerTransport\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff5300336b07600fe0ea48cc2c100a27c669b4f7f46be4f6c82b5d240eef8dc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeExecutionContext (LCOM4 9): NativeExecutionContext\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-context.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"51309385d7de5cf0533d9a980dc906bc15eb6cd3b8bfa8f0cdc82d3037d7cd24"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DotSession (LCOM4 9): DotSession\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fe2f30bd05a259ca2dc980a255e9a4e393bd70f389d054b91b36e38c7e335b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeterministicHarnessSession (LCOM4 9): DeterministicHarnessSession\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/deterministic-harness-driver.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe6bae7360190104b3bac2a3725879b00f23e35d4ac13733cb58b9714e30b0a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LiveConsoleDemoServer (LCOM4 9): LiveConsoleDemoServer\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"506fd414ca2d4e73f2e2a757ac296d2057a937e21b9dde40c93d706b0019284a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DaytonaIdleActivity (LCOM4 9): DaytonaIdleActivity\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/idle-activity.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d635e630aa4ce7191574f2ef87b7036f52fe22da4be0d613fa3d3eb6870347"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StrictParser (LCOM4 9): StrictParser\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/strict-json.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa85267810d5106093b70e8ecb45bb8d6a4352ded1cdf7b7089e3f828b621243"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProviderTraceFileSink (LCOM4 8): ProviderTraceFileSink\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/provider-trace-file-sink.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7df66badab1048d919b59c3e6ea5b0b08c1082d5ed2ce08598bd408df3c275e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClaudeBackgroundTaskTracker (LCOM4 8): ClaudeBackgroundTaskTracker\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8c78fcbe3b29426a8a605ded2d3fc88ad8272e5c698ebf539e565860080673"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClaudeToolUseAdmission (LCOM4 8): ClaudeToolUseAdmission\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/claude-tool-use-admission.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e46e35d08c7b518d4d2120f9b55134e070e9e4944bac10e7fb4bf4d23f2a6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockControlPlaneAdapter (LCOM4 8): MockControlPlaneAdapter\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5842ec8d527a7e2e3ab4ef04aec78f5d70e3abd770671d8584540f6747d4d86a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaperclipSemanticDispatcher (LCOM4 8): PaperclipSemanticDispatcher\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee2c61e1ceac7714bb9cf99b858c4ec032f57efb173ce1a3146cbd39960d63"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LiveTranscriptInterests (LCOM4 8): LiveTranscriptInterests\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/live-transcript-interests.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b55486d2d8fda4c33d906ec40411733939fac01abc48d4c0ec6ba5ebfae081"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilitySemanticDispatcher (LCOM4 7): CapabilitySemanticDispatcher\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a765096563d7d00de037afb719b6f47fe4438bb9c63cbb7a323e2607728d53"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilityLiveSessionService (LCOM4 7): CapabilityLiveSessionService\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9de972c4de6102f4a350e01c111e437ad6f59bf6bd41f73f63d5790690cb5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeRunCoordinatorStore (LCOM4 7): NativeRunCoordinatorStore\u0027s methods fall into 7 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 7 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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"295721e1aaad0af2467681178d5bc94f74892cffeec50a949c0be303052be997"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FakeSandboxProvider (LCOM4 7): FakeSandboxProvider\u0027s methods fall into 7 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 7 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":"server/src/services/sandbox-provider-runtime.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e46c1add615e7226af7b2cd97a02c9c551661e7c3b2b817d0824ac414fcc9a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SessionAuthorityEpoch (LCOM4 7): SessionAuthorityEpoch\u0027s methods fall into 7 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 7 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec91cb088493e6d0bf58a093ef174e84b7fcecf3edd906a9dd55debb43efdc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AcpxRuntimeHost (LCOM4 7): AcpxRuntimeHost\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c03d2d66425244e7b3f17c47013bf756cd4864d3df0ae0c4665c9c28652386"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SpawnedChildSet (LCOM4 7): SpawnedChildSet\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5972e5b7d02abc489c9d12b9ca06f19e5eacfe82906ac31739a9d4b6dab0f45b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilityToolAuthorizationEngine (LCOM4 7): CapabilityToolAuthorizationEngine\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/tools/capability-tool-authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c0c1edb7c0c54aa13654fc0a5e7a211124bbcb0322048dec3661b7eb223905"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PiToolIdentities (LCOM4 7): PiToolIdentities\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1fd336823cdadd826ca4165dd4d6488c9d51a57f9a8f149caa00a46c57f498"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreateosClient (LCOM4 7): CreateosClient\u0027s methods fall into 7 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 7 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":"packages/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e3ac19f933954ae87f0c54a8f3802f1a3a7eea200c7c0c57f47cee5cc3a100"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EnvironmentCustomImageTerminalSessionStore (LCOM4 7): EnvironmentCustomImageTerminalSessionStore\u0027s methods fall into 7 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 7 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":"server/src/services/environment-custom-image-terminal-sessions.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0771e7ceae252782ad4ee6fa21b67f04558193ca0d510118f486e6657892277"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Cycles (LCOM4 7): Cycles\u0027s methods fall into 7 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 7 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":"packages/paperclip-runner/src/test-support/acpx-provider-turn-host.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef823ea409b6978b40e8b427ee68fe12c3fd19304a87bad7a6bd641f434274c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BoundedJsonCompactor (LCOM4 6): BoundedJsonCompactor\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":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cf44660481352367f5e33a6950e4f361e02b36b35fff87850d51b21a565b3f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WsJsonWireConnection (LCOM4 6): WsJsonWireConnection\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":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"30acd84e4b35a270780ed44bd94b8773329193450e22e879fb76ab0643d251cd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeChatAttachmentReadScope (LCOM4 6): NativeChatAttachmentReadScope\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":"server/src/services/native-runtime/chat-attachment-read.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fa03a0af5c4085bfcd4bb13fed5d2e857b0d210759281beb862dd69fae02c3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RuntimeAdmissionCleanup (LCOM4 6): RuntimeAdmissionCleanup\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":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e65bbe5b0d79e7b74477d7664a1cc9c0f78bf7cab9a2d0ce326971f5264d7d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilityExecutionRecorder (LCOM4 6): CapabilityExecutionRecorder\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":"packages/paperclip-runner/src/scenarios/scenario-execution.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccae0e8661312308aee345eaab0563e95aebefa2b19c2b06f9ce1c2778f310a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CapabilityChatSession (LCOM4 6): CapabilityChatSession\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":"packages/paperclip-runner/src/scenarios/chat-session.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6220aa64e50f95d311b45c592ec6f501e9157c497de1e671672b0b286305036"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsyncQueue (LCOM4 5): AsyncQueue\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0832b80444d838d9c54fb7749bcf6ac65c147c9b60c2ddb56074a33af0c696b3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DurableCoreStore (LCOM4 5): DurableCoreStore\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"349d8b5858a96df5be272360bfc545569228937f2d45e4c6fef648abdea25961"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RawWebSocketWireConnection (LCOM4 5): RawWebSocketWireConnection\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cfb1234e4cb8f1569f3b57ac6978498a45dc70d43090bec43534a2c4182352"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotificationQueue (LCOM4 5): NotificationQueue\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffecd028657edbb6d79e45435b7d9d82cf4f6e3a056a58f18dd34f41a345561"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PhotonReceiver (LCOM4 5): PhotonReceiver\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/receiver.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a2fee809e6d6022a0f215c0c43a1f3a6d7ed0bd7e5fec0efbd7cff6541e570"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: McpResultCache (LCOM4 5): McpResultCache\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-http.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e7df4b5bbec23cfbcf5de954f0b72c8813c0a0145f117376d17ad054dafded"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UnixBrokerClient (LCOM4 5): UnixBrokerClient\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/broker-client.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb27b8c34e6132faa2f843b308a951cb93cc8a48eb352ce7b6103899c0359d82"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DurableCapabilityLiveSessionStore (LCOM4 5): DurableCapabilityLiveSessionStore\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/durable-live-session-store.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f412fbdc243d69722eaebd14439f788346c860852c465dc3f912289a4486c190"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageTrigger (LCOM4 5): StorageTrigger\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/storage-trigger.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cbc134665836ec8c6370f32022d4ad584aab7f45c61b1e1fe027a3dc3d4b9c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeTrigger (LCOM4 5): NativeTrigger\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/native-trigger.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2e91ab1055f13f5a30b0e51e68adbca7f16724e84a6c818b6c11d3818dc38c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DaytonaWaveSweeper (LCOM4 5): DaytonaWaveSweeper\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/daytona-sweep.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeb8beeb12845db63d8788eb0e055768d9ba55856ea872a2f29c3d3cf6e1f0c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HostedWorkload (LCOM4 5): HostedWorkload\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/hosted-workload.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f3851264c86605331b4063ed7fb6a655a44624766298950e8219a8aca0dbea"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BoundedHistoryPublisher (LCOM4 5): BoundedHistoryPublisher\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/history-budget.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7d7147a71e07e5196b208d7742cd298452787aaef076864e1c760447ce392f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OtlpFetchExporter (LCOM4 5): OtlpFetchExporter\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-tracing/otlp-fetch-exporter.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32cef90f7a47ec67c2d428bac93231b45b7858d50743b2373196df697134158"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SmokePolicyHarness (LCOM4 5): SmokePolicyHarness\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/mcp-fixture-harness.mjs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7339b546aef13f03d2e557fb93e7b447cc42cc07b0104e6fa366c3386efc8a34"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BoundedLineDecoder (LCOM4 4): BoundedLineDecoder\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":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04ecb679fe04f74a06885a9f10d5ac09c8bed0886d8f206516056b327adf6b4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AuthorityConnection (LCOM4 4): AuthorityConnection\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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"538b519902d02cc3a5846d553bc5a66b332aa0c8f9967644e4ea83b1a36f1491"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenCodeServerDriver (LCOM4 4): OpenCodeServerDriver\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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d04248ec58eda7b8522222ad78e0ffe3efd1e41df28d3423ac0525fc099ee0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsyncQueue (LCOM4 4): AsyncQueue\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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd7e46605121aee48d6d1a610bf404964824f1aa3022c7a2172f3e368956ba7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RunnerdTraceFrameIndex (LCOM4 4): RunnerdTraceFrameIndex\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":"packages/paperclip-runner/src/live/runnerd-trace-frame-index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"773d3357813450efba78729296bbac3ebf7bcd8991ca8272192c507e6835014b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EvalSpendState (LCOM4 4): EvalSpendState\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":"tests/runner-e2e/cost-ledger.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"823437a1bd199e0754018db92a2e5099863b01d521e55a857a5934ddb1b5cb79"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExposurePortPairClaims (LCOM4 4): ExposurePortPairClaims\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":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e92a48454622d51b05b13ff068a4d4c3cd7ea6722c8a820461a34c6fcf0eec2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaperclipRunnerSemanticAuthority (LCOM4 4): PaperclipRunnerSemanticAuthority\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":"server/src/services/native-runtime/runner-semantic-authority.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2dcc29dda857119e10ecb79df9179c53b444522a7d387f3959d147d0b5840e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeSessionDiagnostics (LCOM4 4): NativeSessionDiagnostics\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":"server/src/services/native-runtime/native-session-diagnostics.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f6ceb09ec7f4cc5d041fd33837b8e320bf71d6e83734cd8269742c41e987a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SkillLibraryReadCache (LCOM4 4): SkillLibraryReadCache\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":"server/src/services/native-runtime/native-skill-library-tools.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d3d714e116eb4612fefd96eb8a3f8df2bf391e89a2906329dde870b6bccbea"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EvalAttemptTrace (LCOM4 4): EvalAttemptTrace\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":"tests/runner-e2e/braintrust.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0d7e4fbea8421ec0f3fb681d4a6121d0a07caa394eef7b4d37358a865b197d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CursorCloudCheckpointStore (LCOM4 4): CursorCloudCheckpointStore\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":"packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d3ed2b0ae96ba70b034c17297eb34c0d1699b592860c8649f04d915ec3cfd1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PiTurnUsage (LCOM4 4): PiTurnUsage\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":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"68763c3a36c414a138c4ae5b345f83e38c2ae970f37a5c414bec4746e1867f8b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SidecarProcess (LCOM4 4): SidecarProcess\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":"packages/paperclip-runner/src/test-support/acpx-sidecar-process.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"923b16945c73c3e6313aa1e129db99296923c57db6979e4a97c99a14eeed74ba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Ssh2Shell (LCOM4 4): Ssh2Shell\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":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4475cb160c23464e71f6fb6ccb7babc51adb20f1a50ac6e5eb2af03c11868f79"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiskFullFaultSeam (LCOM4 4): DiskFullFaultSeam\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":"tests/restart-chaos/disk-full-faults.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e39362f76abddb7e8db3b1f8573059da21cde28e1cba4cf3f88f86e20fd601"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReleaseSwapRun (LCOM4 4): ReleaseSwapRun\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":"tests/restart-chaos/release-swap-schedule.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"136f0dc1800833ece821c05d3cfe5f42667b14c2d79736bcd9352bdd1f82d6b5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HostedApi (LCOM4 4): HostedApi\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":"tests/restart-chaos/hosted-api.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"424c0c484400d01c2499a6a70c7f9371bf227e71f021cba4426f92f1b0129b00"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CursorCloudOwnedObserver (LCOM4 4): CursorCloudOwnedObserver\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":"tests/runner-e2e/cursor-cloud-observer.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ffa96a7704efe5dc64965d07238857a7e58657b4ab336cd957dee2f049e5c7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StdioFixtureClient (LCOM4 4): StdioFixtureClient\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":"scripts/smoke/mcp-fixture-harness.mjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f499bb18a1a56a63f05a57a4618af84edf1c0e3e027a0cc464e5b11985eed4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HttpFixtureClient (LCOM4 4): HttpFixtureClient\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":"scripts/smoke/mcp-fixture-harness.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b963d3a008ba546794d1ea643a08bb18477cc45008406b6c0e20c4112655e675"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/storybook-visual/trial-2/task-list-reproduction-trial.spec.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5149f3fa0d98f71433bb9df758b9aff44ba8906d847a6900d76b22c45f27ff8f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/storybook-visual/trial-2/task-list-reproduction-trial.spec.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6683c55cc43d07508028595a80c89732b1ea5a9f254f8e5faa8453e2b4fb26"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/installed-startup.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5169927bdd7e16ef35feace33b5f1d2a12978b3007fafe309621a7bc6cb167b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5a9563711c8d51eedc0c6acee62d7a05098fd8be8409c56141f2abc3abf171"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-private-browser-privacy.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0552066e11ff4d34c128ea0467c4d1ed4eeffc40b4d68acb80d60f56e9cbff36"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-private-browser-privacy.spec.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac7b8793639c98f0f5a465bfba017f64a3c697a96d8241b8cff887a285757a4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-claude-private-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5facdd9c52f6a9346156f92a2048ced02848206806c5217064ec1268b10c56"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb774c85fb77f20dd7ece6cd71652bb65e6f28eb32f044450c8c107835534837"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fc15a6cc2f5ddcdd532d727da03e3501dbc07a7a2ecdde4e478af9122cb17f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ac50baf1c64c3c53e110b2b791c56061d7c7c3c4a197c8d2c7234fdf9a24a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-daytona-destroy-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"851a427a7be43318d85ed4fdadb86cded85cd06f96703418f4e887088981d4c4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-email-private-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb54ce60a0a3cab097019c3208fa98c1304cb71a7a7645fb9b24f6098a2be7b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-grok-operator-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"457c5d6a3c7bd6cbf369f02772a929f102520cc9c148f76a75748d6e60c02bf3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/perf/issue-detail/cold-bootstrap.perf.spec.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddb1102cb05863f058431156e87e8bdde8d0a3fea05563f4d2fbdaed7d8e8f2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/perf/issue-detail/loading-layout.spec.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04753ee6bc7dc6b6303a928d6ddb555b475fb608b63630ebc6e9da70dd4fc58"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/perf/issue-detail/saved-reply-startup.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf9b344ce59e66464c4ebca01fdd2d786a3c048074a67a893c85aecf094c047"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hiring-ai-connections/hiring.live.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbb66ddf6b1546e7bedb32bfc62d5d726174503748199975d2890a4308c88f9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/hiring-ai-connections/hiring.storybook.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bb82ee0a180df9bfee77842fd76a667261446858f4a84326bb92c814c6c5c8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/composer-stop.spec.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fa5a0d56e4a2b687ee1074d36ab1333dc64242102dd03447fb1bcd367c9595"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/connection-reviews.spec.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b39a3729b4c14efa485e4d89a74829b87789b312250fe61fdf8098c63b1a55"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda6af1853f616608e70e7ef5cf933976566a836ac19dfd6767ceb725fd17740"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f68400b06eacfb790689da604ec95c150047d4ba7012e294a2e53cd9d7caf2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/multi-user.spec.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c76f59e9ed4562c17ba47be40282b780ad68cc83373e67053a7711dbed4aeb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/multi-user.spec.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608e1e821749198f21d78601ec843631627ce8d3563c3c98a73d7844a44e9db"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/multi-user.spec.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"741df749cc2bc9cdf133468ce2109ea2b07ddff5a763e1cd70f5541b150e3127"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/new-task-picker-touch.spec.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17124f5030ec9d845487e0f90d264ba0dc278b30059b707aa967acda0adc674"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/new-task-picker-touch.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"355e99ca43dee9ac6da56912e8a0f7e20064008eab69cd79dc992f8fd4900fe4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/workspace-bootstrap/recovery.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"023ac920af5b11dd7c374c35c250a7ffa3fcb3bbc6ae18ad98899c567cd3a0af"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/instruction-working-copy/lifecycle.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e3cfa1b2d8b94d6f347f619412c5af7bbf615aee3f52dbc9818f74ddeea0c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/execution-recovery/failed-attempt-notice.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"342cc1b43652ac0161d068689cf923f2f1d63166564bfb3619a44607bc41970c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/execution-recovery/storybook.spec.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"03249255a3f8c9552d61a44fdd8f4aa4e0e3aa0121afccba80c147c07fc5ceb0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ai-connections-app/app.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0238535b1dc7171a2d7ec6be67dfd31abdcfddba31fafb71bf24458df1517dd8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ai-connections-app/connection-pools.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250d8a7a230ad443873955b3ad28c9705924a6ccf69eb2f835fedd8446f7ad5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ai-connections-app/connection-pools.spec.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab53bb44a5138e19b9bd1bbe0d5961420e9810d89fa7010d143a7f8fd31658e0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ai-connections-app/inline-repair.live.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"af84ad4ee1eb4d7d75594ab47d8dbde3c28f737f7e850460be2976cd2fc1e7e2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/worktree.test.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ac5b95a510353c4caefe2e6567db2a71844c48b953079fe127e02729223f0b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: map sources combine without tracked index edits: 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":"ui/storybook/map-tooling.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dda5175843a216368b4593e1c58b466413e5ee60675d02c7a65e7a6e9973ee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${id} preserves submitted skill references: 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":"tests/storybook-visual/composer-skills.spec.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2473045968de278a5c2aef97d46ba20dd931a356e572041e11dc088d8e06c8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: calibrates the pidfd helper against reuse and wrong-identity faults: 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":"tests/runner-e2e/chat-qualification.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff63ca74aeb0cbafb41f98702a085f66c3abba95bfdfacab32a0ec3fa383525"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts explicit ISO review timestamps: %s: 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":"tests/runner-e2e/feedback-dispositions.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02788c9d813474e432c6b911c9fb4e1830631e4ccccd641d79d1a1adfa72a30"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${storyById(\u0022US-6\u0022).id} ${storyById(\u0022US-6\u0022).title} @mcp-us6: 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":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9ec64ddb71d3cf6547f8eeb89930c8f690a7d0e159ff9e9d725011050e2111"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${storyById(\u0022US-7\u0022).id} ${storyById(\u0022US-7\u0022).title} @mcp-us7: 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":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fc606ff4f7d212513a04929fbd3802706d75a092cef263cda44588e965c8cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: keeps backfilling on later reads while an issue has more than one batch: 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":"server/src/__tests__/activity-service.test.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50d9755efa16242670053b6878d114ed595af3a469f8ef9ff71260d4aa18f78"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reapplies the Dot-only migration after the merged gateway schema: 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":"server/src/__tests__/dot-runner.test.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28f26cc80d23515cb325f6473354af35599cb6d910b91ca3774f7718a765089"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: supports destroyLease: 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":"server/src/__tests__/environment-test-harness.test.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a000b99dee36aedf9f6c46c786b8f57e2bdaaaa32611ad500e567927dd21138"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not resolve accepted export recovery through an ordinary $sourceIssueStatus transition: $cause: 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":"server/src/__tests__/issue-agent-mutation-ownership-routes.test.ts"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d771e60fdcf0c8da334ad23b05223b46c4f90aa5dd08807e85e51780a939f4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: dispatches an ordinary new assignment after commit and returns to quiet after completion: 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":"server/src/__tests__/issue-recovery-assignments.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7037ffde709d53d6a68984d82281d11ae17ff4fe26fc6980b87ba8c91583e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: starts the agent\u0027s queued task when its run ends and frees the agent: 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":"server/src/__tests__/issue-recovery-assignments.test.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b86e8aa9556f19bf895446de33913fdf25ba4647b196ef76fbbd129d132458"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: keeps empty, configured idle, and terminal history quiet: 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":"server/src/__tests__/issue-recovery-deadlines.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"df85117a635e2e96176650a384e63f12492bf20224e85917e349a1a4515ac4f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: preserves identities, private credentials, and input receipts across transport failures: 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":"server/src/__tests__/muse-client-contract.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6901bb18f075b5f246c37c2fbc5f50f95158193bc2cfc051f3ff88674c4ad1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: logs session callback failures (async: %s): 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":"server/src/__tests__/plugin-idle-rpc.test.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"83429301e80f6506792481c5c68e681a562a93b5065251c852a39b602a74d6a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: passes the read-only recovery cutover CLI acceptance suite: 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":"server/src/__tests__/recovery-cutover.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f032994857eb14b11a673dbab75d5ca56ec5580980dfbbe408681ca66475c5f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: startPeriodicFlush is idempotent: 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":"server/src/__tests__/telemetry-client-flush.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f684161dbf3c9ec7c56fa923bd44c595a29a2e643ceacf486e23463ebc3cbc0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: skips relinking when server workspace dependencies already point at the repo: 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":"server/src/__tests__/workspace-runtime.test.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b4e61b7bafb7041ae124ea1175bf4b650cc534f7f65b6d6caaec6f051af0be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: validatePackageName accepts @paperclipai scoped names: 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":"scripts/bootstrap-npm-package.test.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f00b5f43b174a250325c99dd4868adb2ec2e3c13cdaffc40f88ac73da508b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: smoke script is executable and parses: 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":"scripts/docker-onboard-smoke.test.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8342a7c5ea8f933717a19bb970768341dac1dfcdd71b55a0f27de8eba161a119"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: smoke script is executable and parses: 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":"scripts/service-onboard-smoke.test.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e5c6979c2ae64469199c74356c3dcfd23f1499c0f6c9c6ab6e733178039f0f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: case-insensitive GitHub login matching: 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":"scripts/__tests__/storybook-deploy.test.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d799223afb85aa51f3be2fdd42721709a4f9851dbec5e425b1addb30a1309766"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts only the runner backend kind for retained cleanup: 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":"packages/paperclip-runner/src/live/runnerd-contract-types.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"93262187e1bc763a3f7eda471bdf9668bb2a83202f5aa69d78c3b5d5230fc021"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: matches the HarnessSession close contract in the Codex session: 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":"packages/paperclip-runner/src/live/runnerd-contract-types.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a41449c8c30c349db03872fbbd85b40946e7fbf68c88291fe1ce16e5ac9311"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: trusts a digest planted by the same operating-system user for current metadata: 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":"packages/paperclip-runner/src/drivers/acpx/executable-digest-cache.test.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb3b750bd1815f6701d443cdd9f9bf478673cd2a8e63999065ea3c4c93c2ce"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ignores failed requests and unrelated replies: 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":"packages/paperclip-runner/src/drivers/acpx/model-verification.test.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"53155714abe8f4104b5e6a6a93628e54f8535c2befd6882413816191a18bea47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: offline Copilot probe cleans up every injected early failure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/probe-copilot-acp.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d4cef169e5f8ea80b73a04cbaf6e833ff3092df2b9b97123f370421e88a0dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: can be reapplied after the schema already exists: 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":"packages/db/src/status-card-migrations.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff41d2254c80022cf370729f7b045125fccacddbf05b1ff5b94a817bb7a4ebd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: T1 exits within a bounded time when its session directory disappears with no message ever sent: 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":"packages/adapter-utils/src/execution-target-stdin-race.test.ts"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c57869ca8c170141b65e885efe3c12fbc929e3ac69fd2f2f0d7845aa25cf21e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: stops background polling promptly and never polls after stop: This test starts work it did not wait for (\u0060polling\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 20))\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":"tests/restart-chaos/hosted-main.test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8659b10bd3086ae945196e3fb81e3241a6c3dbe730b6e73bbc7d0faac55a846"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: releases an in-flight transfer when its window ends: This test starts work it did not wait for (\u0060download\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 300))\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":"tests/restart-chaos/storage-bandwidth.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0806f29d7767bfdf9efae0a79cfcdbe4f72d628e586b58926d774fce634c3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: cancels a delayed request when the client goes away and counts store connection failures: 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":"tests/restart-chaos/storage-proxy.test.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"63feb58ef77cafa8532cd23877f051929353b5e04bf37dbc54808fa5e526d288"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for a launch in flight and exposes the task it launched: This test starts work it did not wait for (\u0060exposed\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":"tests/restart-chaos/storage-trigger.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4622db8cf5f64b8da8dd5c40ff91ad558896956aa3cc926788023b6da409b2f3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: joins active capture peers and keeps the fence on %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, 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":"server/src/services/remote-workspace-cohort-migration.test.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8e510a06c8fd2e4aaec737daa9d5eb330a929d54bf33061924889e3284705b"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: returns no row when the claim row lock holds until after the deadline: This test starts work it did not wait for (\u0060lockDb\u0060, still running when the sleep starts) and then orders itself against it with \u0060delay(600)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/setup-token-session.test.ts"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5633034bd59efb4850e3784feb1d5fb7f1725f474d3bec061b5514e49d9f57e0"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: streams with backpressure and waits for an active sink before releasing cancellation: This test starts work it did not wait for (\u0060observed\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":"server/src/services/workspace-git-operation-scheduler.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"643ac0b54471a0997ecfdff756d1ac3187fd631bb505d1a20a4365ad25166249"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: reuses a warm %s process across run authorities without idle status polling: This test starts work it did not wait for (\u0060owner\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve=\u003EsetTimeout(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":"server/src/services/native-runtime/plugin-runner-task.test.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3741d9f00e23840a614b95faf8fbd93f33524fb4decd8f385b12df40f93f77"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: finalizes the run log in %s only after a reattach\u0027s deferred log recovery settles: This test starts work it did not wait for (\u0060completion\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":"server/src/services/heartbeat/run-completion.test.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eacb99ed96281f04e13a6bfedd76568b6ea9fd93a34e251f53380f5e373f40"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: holds the log\u0027s finalization until a reattach\u0027s deferred re-verification %s: This test starts work it did not wait for (\u0060settling\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 20))\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":"server/src/services/heartbeat/run-output.test.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3448047781961049257bdcbcfa76a61160075234f2459ffb9ee866ff406b41"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: lets a reattach start before its existing log is re-verified (deferred %s): This test starts work it did not wait for (\u0060beginning\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 20))\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":"server/src/services/heartbeat/run-output.test.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca740aee9a95d873e54dde3346047e59fe6397c45b55e4e2a186a00e04d5bb4"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for an unawaited report\u0027s database read and Sentry capture before it resolves: This test starts work it did not wait for (\u0060drain\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":"server/src/services/__tests__/run-failure-report.test.ts"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"98953f55d928082626b44e8c7f2deb38447f0bcdaf7af3ca7d93580f9dc28586"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: holds the account-home secret mutation lock while checking a pre-existing secret\u0027s value: This test starts work it did not wait for (\u0060lockHolder\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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":"server/src/__tests__/agent-device-login-routes.test.ts"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"699567a93670c54d2ff06751e0bc9e5050215d45d4ce8383dc76f2320d0cc393"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: inserts no binding when the claim row lock holds until after the deadline: This test starts work it did not wait for (\u0060lockDb\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 600))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/agents-claude-oauth-binding.test.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471c4e45fb31da74c622f2b773eeedd277f22a0424a80f206785a5a131629bd"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: rejects an inherited claim when a concurrent parent rotation commits while this create waits on the parent row lock: This test starts work it did not wait for (\u0060lockDb\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 300))\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":"server/src/__tests__/agents-claude-oauth-binding.test.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f04ba3626f0158b1f910d76043ca3cd193d9adbc665a740fa8def07dc952e1"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: fails closed when a concurrent document update wins before annotation thread creation commits: This test starts work it did not wait for (\u0060concurrentUpdate\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":"server/src/__tests__/document-annotations-service.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f205fe4e988628a7d7d087815995f0293be17cef76a3b5e8bb8ef06a545eab6"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: rejects branch reconciliation when a runtime service starts before the locked update: This test starts work it did not wait for (\u0060blockingTransaction\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 250))\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":"server/src/__tests__/execution-workspaces-service.test.ts"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdc08ea43f67c53d2f4d7989f52444d97fdc921b0b7e879a66e1485b6672504"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes concurrent preparation of tasks sharing one base: This test starts work it did not wait for (\u0060held\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 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":"server/src/__tests__/git-workspace-expiration.test.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea262df5c7d33bc335a73517b8999de4317e7c2fb3a30b1fd2993316466e86a2"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: revalidates review policy under the issue lock before interaction %s: This test starts work it did not wait for (\u0060tightenPolicy\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":"server/src/__tests__/issue-thread-interactions-service.test.ts"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaec7b6bc631d31b0b3f2933d31d4a5df00288a23468cc3c26551a8396fae5c"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for an overlapping default write and then keeps it (controlled overlap): This test starts work it did not wait for (\u0060adminWrite\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 200))\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":"server/src/__tests__/managed-instance-default.test.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89f5417ddb55a4ee6e3c090a59514fb353bbb98a4464ba2342acccb17fd2e2f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: recovers the sole failed contact verification through normal retry and a new Db owner, then stays quiet: This test starts work it did not wait for (\u0060reconstructed\u0060, still running when the sleep starts) and then orders itself against it with \u0060pause(15_000)\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":"server/src/__tests__/muse-contact-normal-app.postgres.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"222945999c3f97eee42b9bfbea6eb10efbe5f1e195ae818735a9dbc27f6353c0"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes two tasks converting against the same shared clone and keeps their branches apart: This test starts work it did not wait for (\u0060held\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 3_000))\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":"server/src/__tests__/nested-clone-migration.test.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"50830c3c5f25c25817753ed5e12cc79e851bac4970242af392da9fba60092d6d"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: a yield the old server cannot confirm in time does not stop it from starting runs: This test starts work it did not wait for (\u0060busy\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":"server/src/__tests__/run-start-handover.test.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"987981e6203371323062723954ba43bc351a9a533d0c6c5a6d904b82a954eb6d"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: a yield ends when the replacement\u0027s lease runs out, even while every read waits for a connection: This test starts work it did not wait for (\u0060busy\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":"server/src/__tests__/run-start-handover.test.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1d35fec0eb2bf45573f89fe79290a73ed9620a0bd0c85cdab0df76a73213e3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: with both servers\u0027 shared pools blocked past the TTL, the marker is written, renewed and released on time: This test starts work it did not wait for (\u0060busy\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":"server/src/__tests__/run-start-handover.test.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc973aba177ae4f2bc976eb59683f009f32d55fd3e8d889cf081bdd224c134a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes a rename, archive, or disable update against a concurrent account-home mutation lock holder: This test starts work it did not wait for (\u0060cleanupCall\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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":"server/src/__tests__/secrets-service.test.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd773bf36673bf4fd847d8069b130958c688a6724ed0401ff9a60afb0a3288b"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes a secret delete against a concurrent account-home mutation lock holder: This test starts work it did not wait for (\u0060svc\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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":"server/src/__tests__/secrets-service.test.ts"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598066d19324c9299577a85f62f9734bf6446f7b865923e67cde728380c3f35"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: fails a queued adapter-schema-secret create when an account-home cleanup removes its directory first: This test starts work it did not wait for (\u0060cleanupCall\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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":"server/src/__tests__/secrets-service.test.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9d42f1d1c7d563fa61efe88ba677462faf0d26918ceef166175abc5e44b323"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes delegation creation behind membership removal so reauthorization cannot revive stale consent: 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, 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":"server/src/__tests__/tool-access-service.test.ts"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c56d430afccdf009e39463de8e491845e83aa7b92573d130751ffe63905a6f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: preserves a live compiler\u0027s lock even when its parent has exited: This test starts work it did not wait for (\u0060run\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(200)\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":"scripts/__tests__/ensure-plugin-build-deps.test.mjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dd61c9df183aa70a7627c946d24a7fef4a68bd11a785769ee824624f3c8b5f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: rejects partial output from an interrupted direct compiler: This test starts work it did not wait for (\u0060f\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(20)\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":"scripts/__tests__/ensure-plugin-build-deps.test.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ab9d0a33b0ce332dd4de06104c0df68a571ed549ad2c32d4c7567189d3d283"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: leaves no leaked session and keeps the sandbox usable after a forced mid-flight disconnect: This test starts work it did not wait for (\u0060live\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 4_000))\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/plugins/sandbox-providers/daytona/src/duplex-command-stream.live.test.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2e2128b0b297ccc21823a8b098395d7d59db806434ce0d84cd22805c8c170b"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: manual and automatic compaction retain native progress and usage: This test starts work it did not wait for (\u0060active\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/paperclip-runner/test/pi-acp-package-contract.test.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd966b03eb3708de4c8953cc28a6c0b4b3a4d55738b9cac027be0c01994f515"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: keeps one durable session across turns, an inline answer, reconnect, and stop: This test starts work it did not wait for (\u0060hanging\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 5))\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/paperclip-runner/src/live/clean-room-server.test.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb571ebcc99cf5970c9ed0bc272446d3aae1efd48e35c3ebd79c43f1735911"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: passes the common typed-event contract and reports one provider turn terminal: This test starts work it did not wait for (\u0060requestResolution\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/paperclip-runner/src/drivers/codex/codex-app-server-driver.lifecycle.test.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"464110fb94a70da549473904169efdf7ed924806b99aae36b55c1427c25db215"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: keeps a prompted MCP tool answerable after rejecting a session-wide decision: 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, 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/paperclip-runner/src/drivers/codex/codex-app-server-driver.runtime-requests.test.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d1a8492dfffd2acbf75e05b1e15f7497542a887653dc475243fa56419e91d3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: replays the DOT-185 requestUserInput shape as one canonical three-question request: This test starts work it did not wait for (\u0060nativeResponse\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/paperclip-runner/src/drivers/codex/codex-app-server-driver.runtime-requests.test.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65010e23932bcc92aad25ddb2c9566bbd7e60524e29852b44a9279b6e027af8"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: keeps redacted native option values through the cloned pending-request lifecycle: This test starts work it did not wait for (\u0060nativeResponse\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/paperclip-runner/src/drivers/codex/codex-app-server-driver.runtime-requests.test.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d1e4135a76384d2c6de815affe1f6bf4b311c3fde0a7fdcf164a3e8962c07"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: emits one canonical outcome payload for every terminal runtime request fact: This test starts work it did not wait for (\u0060resolved\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/paperclip-runner/src/drivers/codex/codex-app-server-driver.runtime-requests.test.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49e96f006185b1165902b7c270fdb9ec903742d5b79b853f5b51fa9d78d42b3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: expires a canonical input with its full question set when the provider transport is lost: 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/paperclip-runner/src/drivers/codex/codex-app-server-driver.runtime-requests.test.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5837f80610b2f990a575d14c213b4cbb2c6bc2a876174a401b698ad993d3c3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: redacts browser-visible request details and diagnostics from the fixture markers: 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/paperclip-runner/src/drivers/codex/codex-app-server-driver.runtime-requests.test.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff661f5f94bd2cc6f7b551212617899239dfbeadd9ad8d92f2fb7d0123e0f1c"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ignores replayed history for a checkpointed terminal turn %s disposition submission: This test starts work it did not wait for (\u0060recovered\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/paperclip-runner/src/drivers/codex/codex-app-server-driver.terminal-replay.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"486e72b76c634a74319e66ee4368503332d2ce7fab394eeae1244dbe074a499e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: keeps a checkpointed failed turn as history even when the runner\u0027s accepted-turn record names it: This test starts work it did not wait for (\u0060session\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 20))\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/paperclip-runner/src/drivers/codex/codex-app-server-driver.terminal-replay.test.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc568f2539a2e60f990cb14b077a1f806cf7ebae1b062c041b44a13b7efc09b"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: retains the actual child, lease and caller home through cleanup uncertainty, then releases exactly once after physical exit: This test starts work it did not wait for (\u0060cleaned\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/paperclip-runner/src/drivers/acpx/antigravity-models.test.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"82364b44b2baa5ee2c9dcdf3b92a62ce40609e480d0388007c8e20e2c818c15e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: withCodexAccountHomePromotionLock never overlaps two concurrent callers for the same company: This test starts work it did not wait for (\u0060firstCall\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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/adapters/codex-local/src/server/codex-auth-cache.test.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53fb47fa793f4fabbf145c086e9b387cf64649a793a26370c5b76f6f988559e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: withCodexAccountHomePromotionLock keeps two different companies independent: This test starts work it did not wait for (\u0060companyACall\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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/adapters/codex-local/src/server/codex-auth-cache.test.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3278c2c353203ea05efa3150d7f4443a01983cca4e91c57c916692e98c93d8a6"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: withAccountHomeSecretMutationLock never overlaps two concurrent callers for the same company: This test starts work it did not wait for (\u0060firstCall\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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/adapters/codex-local/src/server/codex-auth-cache.test.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"26171183cba329c8d894d9c10a54008189dbe91d509fe1b976b64f3647ffad1a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: test_ping_detects_a_silent_stall_within_twenty_seconds: This test starts work it did not wait for (\u0060handle\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 300))\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/adapter-utils/src/http2-bridge-server.test.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad82c29966bfc1cc961ce8a47e4f763c5fd2619420ac62101f91f74ac185a62"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: settles a late producer before removing shared storage after another scan fails: This test starts work it did not wait for (\u0060result\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/adapter-utils/src/workspace-manifest.test.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d578ea871ebab6e8836d03786c8b4cf8647ca26af04649f20d0a97d9fc5e49"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: never returns a cache hit that a concurrent eviction removes: This test starts work it did not wait for (\u0060publishing\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 200))\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/adapter-utils/src/workspace-seed-cache.test.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2dba1b2ddcd8bba0ceb90f5aa610069683f6fcdfaa299fadf95a6e676adb88"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: continues after an interrupted write without replaying that write: This test starts work it did not wait for (\u0060running\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/adapter-utils/src/acpx-engine/operator-stop.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58ffe47b997559eb1c7cdf6b82fabba5416a31be7421d20145781c9c47745ea"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: serializes concurrent restarts for the same instance: This test starts work it did not wait for (\u0060first\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 20))\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":"cli/src/__tests__/service-health-check.test.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fca086a3e2c72170656326d7422d629356e7f83b33e754d7b797a07cfdb2d2b"}},{"ruleId":"D10","level":"warning","message":{"text":"Races the wall clock: getBuiltinRoutineVariableValues returns date in YYYY-MM-DD format: This test reads \u0060new Date()\u0060 and compares it against the value the code under test computed from its own clock read, compared exactly in \u0060toBe(new Date().toISOString().slice(0, 10))\u0060. Those are two independent clock reads, so the test passes only while no boundary falls between them \u2014 a second ticking over between the code\u0027s read and the test\u0027s, or, for a date, a day that differs between the machine\u0027s local zone and UTC. It passes or fails on the time of day and the build agent\u0027s time zone, and re-running the suite on one machine cannot reveal it. Read the clock once: give the code under test a clock the test controls (a fake time provider, fake timers with a fixed system time) and build the expectation from that same instant, or assert a range rather than an exact value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/routine-variables.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f9f8a34bb302c3e4892ab64242c641fc4a39610743c84a32f346028174969f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not open a skill when keyboard-activating its actions button: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.test.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4f8b6f977d760d93c01614a5c2f95596f7b38170738e25f4afdb1a67aa6389"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates an unused conversation only for the first %s and updates its canonical cache: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1055d60d4455dd8fe2d785a37668efb1d8f5514d665499023c0d1ab8ef86a3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves complete task options when sending with model preferences outside a 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1d2ca833b00fd60da58e58042c2d850ae4a220b37fc31806eadcbad3f526f0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens chats compactly and pages backward without expanding all history: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d1baa6612d726cd0864b6516e02c6b634fb2b4b06a3a384d48795b3f649c92"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the recent conversation for anchor %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 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2576}}}],"partialFingerprints":{"codehealthFindingId/v1":"286564f811ec8ee00626b37dd61937604a340f7375637ef7646be1eef26bb6f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reconciles %s watched runs outside the preview after reconnecting: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03a45bc2384cc51669dc8fe3a71227fcb8b877114a2bdeeb17dcb54f83f63f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains every recent run observed during an open task: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"17da679f24d5042a3d954dc7fddc9a2346ddc328852d473ec7e056d1ef093ac4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: coordinates %s with the initial cards and supporting history: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d658ab32d876d7e09901ca708357c0497db0ee92588ed106948baa8eeae981c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains the production breadcrumb side-panel toggle when Streamlined UI is off: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e905e958d2c55a3a95b2dcbe4ffe401a04b00c68033c28c97ae9d9fbe76a4be"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: maximizes the desktop pane once per viewer=full deep link: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":3411}}}],"partialFingerprints":{"codehealthFindingId/v1":"068a4148893e976a109ccae3faa71a18a0feb730a22a9e2ca963c2c5f60e0934"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens the mobile properties sheet for a document deep link: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f83b5965f112132a2a3773add696258ec714470a4aabfe3f7115d63938173d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the panel stable while projects are still loading (Classic: %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 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":3753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e074b5cba9c32df2d7a0bc88e7fddc2bac244b4428c6b6a2413271313020df9e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses history Back for a live inbox origin and a route fallback for direct links: This test sets up 4 test doubles (for example \u0060vi\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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":4344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e45b3a89f03ae7a1c2b7adc9f93ede599d4017228e6337fdcb1e29bada366cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reveals the planning-mode task sidebar when its plan document 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 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":5923}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2e30efee556bee94d4351fc5de606ce366a27f35f1a003358daa49c517dac9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the Show properties button clickable on the first task and reveals the sidebar on demand: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":5946}}}],"partialFingerprints":{"codehealthFindingId/v1":"300166ba87e9eacb9e3930b96a62473527351942ab4d104afa95d142d080c909"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reveals the properties sidebar on the first onboarding task once a plan document 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 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":5994}}}],"partialFingerprints":{"codehealthFindingId/v1":"66511aea31db436249061f952acbccd5df500667429327f75d4ecea290608da2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows the properties sidebar immediately on a non-first task: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":6014}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d34293d48b48348f57841e617723274348216abd3d738459b74cc5c43ee6f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops the selected queued Grok run without cancelling a different running run: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":6270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ae3d5f540aa368839b27d6df9414c268ea5c15812eb3d5e474e6bdef91be00"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: confirms the composer Stop from the authoritative cancellation response during a status outage: 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":"ui/src/pages/IssueDetail.test.tsx"},"region":{"startLine":6420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5e02bbcd9772ecc70fc7ba3f611d041505778b67c7d7d9a62493e86e328ca4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: verifies a completed sign-in and advances the original tab: This test sets up 5 test doubles (for example \u0060vi.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":"ui/src/pages/tools/PasteConfigTab.test.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7061635e22205c31c07815de4798cefd9247106d195c24eef017a60f2bd285"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the background Cloud handoff returned with an imported OAuth connection: This test sets up 4 test doubles (for example \u0060vi.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":"ui/src/pages/tools/PasteConfigTab.test.tsx"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf58d19eb96ebdf48ef896b7c03440182fe26cbe1e5afe30269891fba8e2f4c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: normalizes the retired post-OAuth Setup URL into Permissions: 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":"ui/src/pages/apps/AppDetail.test.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2282bdfeb323edbe59e63ee9367df244b84b41d95d92df16e87ec4d6c354ad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reconnects an OAuth warning through the connection\u0027s existing personal identity: 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":"ui/src/pages/apps/AppDetail.test.tsx"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2bbbf6091e3ff4df3a0d64f1f56df9597ab31c10b32526f5096149a7201409"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps personal managed authorization in the tenant until the provider is ready: This test sets up 5 test doubles (for example \u0060vi.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":"ui/src/pages/apps/AppDetail.test.tsx"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a814c24ec497fcc780f0ebbeda565fcbc412a47409a0415b907d0ba999a527"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: redirects a provider application to its live connection Permissions page: 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":"ui/src/pages/apps/AppNotConnected.test.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfb04a1955551f70ac306c955f64ec0d9fef654a2404f1e947868ec69d1ec95"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prefills a custom MCP reconnect from the stored transport URL: 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":"ui/src/pages/apps/AppNotConnected.test.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fd6c361e12272e5456a20d18a3d1fad8c45588c84fb9cf04ebac6f18060cb9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: inline aggregator reuses an eligible account without changing its access: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e606f80082f0941faaefbffa46e9d0bf304363d524ac60854041c872b9ca98"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses saved Composio accounts for a targeted app setup URL: 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd9eb86dc97e708e74b4d5293b8cbba072947843befc96ebe504bea8b9d6e92"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns completed Arcade gateway setup to Apps without creating an agent task: 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"0029340ef2b7395caa82afbdc918e2ad98deb8eb20860e6e5e4027c943d8cf92"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns %s page setup to its task only after verifying callback acceptance: 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 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ca6bcdeda05a91cb5aae0a8fcca6f90773140d361e60d844e49f2b6cbc350"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: revalidates a cached pending enrollment before continuing (expiry %s): 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed84f3afc8a5f5e34ba7e08a60f01ce87f51ee69588b7f7eed79e6fe4c5932c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resumes the selected Braintrust EU OAuth draft after cancellation: 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":2315}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a0246f6ede6c8d2969bd99b22667586fb397ad0e09862f76de112aa8f64fe3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reserves the task-dialog OAuth popup before awaiting connection setup and assigns only the validated URL: This test sets up 6 test doubles (for example \u0060vi.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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":2848}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff819a1a2c0990b336fd71810bb7b13b8f42a381b433987d4c0f13a7ae4c76"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: backs from the sign-in checkpoint out to the connector gallery: 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":3041}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d04b8f05d08378d234560380634745dde4d93061d686c69dcdb6bd104f8d844"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requires the task requester in a new OAuth audience before starting provider sign-in: 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"e652d3464ebe6864bee00b877fd052227fc7f5aefc73fc51329fdb245331265c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores a valid completed resume URL to the exact connection permissions page: 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 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"69edc581a6d3fdf18a5be88d615c94201c8a6e7897f0acdb21426eb8260dec1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates a fresh Notion OAuth connection when the provider landing requests another: 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 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":"ui/src/pages/apps/AppsConnect.test.tsx"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b9318249e88ab6a2bd178283e85d6868ea6fed2cb05c4e34e67ecac71d7af3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a pointer passing over a row to the issue and recent comments: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issueDetailCache.test.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a815903cf67d9d97062e695e2ca4ace052173e36bac5d1d993d82d88be5ea2c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: defers an update through an outage and still waits for a hidden tab after recovery: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/service-worker-updates.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d63c2ee0bd7808ebb2efe036f3f15fc4d51444d65d5b5eca1b2418f2fa9033"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: checks for updates when the tab becomes visible: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/service-worker-updates.test.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b182728d56bd69159b4527188bfba0ecf413985f11c3727f9825855c8a1d49cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: checks for updates on the timer: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/service-worker-updates.test.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eff1beb998f37f4be79966ab2cb988324674c1d36ef9e98cb1ad7815f5f7c1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves each domain through its owning API and preserves other agents\u0027 installations: 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 12 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d71e5c91dbccfa7c59e68267aa03fd6f28ab67712bab5031c44bfe5d98e88b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves omitted fields inside resource updates: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eda85fe03dc624ee3ae8105ff2f782d87e0033712187644dbac69ab88c1970d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not undo a concurrent change to an unedited resource section: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"299eb1c6bddf9bbf27e8a2d5004b52d9b10d4019225b473e4c27c86939715db7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates profiles, scoped policies and channel setup using native contracts: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a369550a8107d86454547caaf790c74db7c130b1a48174975bcd18ca8ccd4aa3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: binds a profile by key without copying or rewriting its definition: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a500f5f31071fda790d978b6ae3bc67d5f4bbb796736a2c6f28f19e1fcdafac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: changes binding priority independently of its shared definition: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b00b52850af60b044f13fb4cd3f016d570319145d438a08150b46640bd69008"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores unrelated catalog additions during a profile binding edit: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ffc9c32b5a0931ff35b8027d4b05e4eea8872a564f38b6ea5e60e9032461eb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps explicit empty lists and nulls as real clears: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c8bfa84d4c5bf9abecd9ef2d3ad3b664cb41a448c6c763d402b5f1ee3e0e0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves unmentioned permission fields and channel resources: 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":"ui/src/lib/agent-configuration/save.test.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bc8e73b317f9ecaeff6ee768b3fd467f54c49540e2148c67d0b051b612d25c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the latest callbacks before passive effects run: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 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":"ui/src/hooks/usePaperclipIssueRuntime.test.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7077ac3b560c6d8798c1dd3678c5b9a027043a28da84cc14571c1d403adc29"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: closes caller chrome and navigates through Cloud without local sign-out: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useSignOut.test.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1020c51ecba7c1dccaa659b4ac8d028f0ba31f36a3c0f739523d911d8cd42f27"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: selects a different authentication method for a %s binding before resuming: 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":"ui/src/features/connections/ConnectionIntentInteractionBody.test.tsx"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a289af56e8b583b795775f0ef2021a71b1592bf4788f485a31031b5c891a142"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a late credential save after cancellation from accepting 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 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionIntentInteractionBody.test.tsx"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f4f5f35b82d47542b09f96201deb25db294b5c45f2c25b2c046cab2a473691"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never resumes a draft started for a different app: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/MachineSignInSetup.test.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baf69b398f69779572ff393d94f70750603be4be5761ba71548338a1b013177"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: checks unsaved changes before leaving to finish setup: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.test.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ff8c1361e202aa5a43b75792cd4f008d5519bd8366e06e03e25fd8e29c02d0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves the detail page after termination is accepted during %s (work actions in menu: %s): This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.test.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"275c3c97760633a4e731991bb55d28169f9f7b17e05286601f3642877814342b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the detail page open and reports a failed termination: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.test.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35ea8f95240755d04d00c06c3ef84754557b669d25c5a7f0dfbe8a204307f7d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not terminate when navigation away from a dirty detail page is rejected: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.test.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"36218d5aad47c6039a897bfcab1c85ac767ad6131f0e11fa662a3086b1d29003"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rechecks unsaved changes before leaving after termination returns %s: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.test.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7434fbe41859fb55e57a2e56debe15f12be4e75ecf017349678207e1e0ed8a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tracks only its region, ignores touch, and removes listeners for coarse pointers: This test sets up 4 test doubles (for example \u0060vi.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":"ui/src/components/AgentCharacterRuntime.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef5216f6d96bca81296d2dab1209b0c3b64e3768b0fe60adae4659e7cd5b453"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears dirty state when the saved account binding is restored: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.render.test.tsx"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3ada92c538cb314619fdce012796bd247fdffe4a30f69a08f2547a1f63ab42"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tests the native default explicitly when creating Cursor Cloud with automatic runner selection: 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":"ui/src/components/AgentConfigForm.render.test.tsx"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9778ded4b442c39577aba9ee45023722653c2e90d6a786994921e76094494221"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps one edit notification bound to the callback that opened it: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"ui/src/components/InlineEditor.test.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ed812b0fb5deee5a11c23967835ad192907e5d1586d65e7c48995d9079f6b4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps ordinary document editors on Command/Ctrl\u002BEnter: This test sets up 3 test doubles (for example \u0060vi.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":"ui/src/components/MarkdownEditor.test.tsx"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89a033d3077bd5a2b3c0b3c59a2c4e70b5a7a4ff1c17bc571cdcf5342e4e2a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows a user to clear loaded text as the first editor change: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.test.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47816a627a049087b77f8f1091bb7d95d73cf46c1114b6d5587c41875c4e381"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows first-change clearing when Lexical handles %s without an input event: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.test.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6459da2ee0e098a3ba05c9968b5b434f2070b1ec14920638e6805bd043463a4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stores trailing editor spaces without changing literal entities: %s: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.test.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b7cb9522c0ae35d472fc2cfbef83e12f154345d8727e6aa3cb1087feca2035"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: round-trips code with its backslashes while storing prose underscores as typed: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.test.tsx"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f61b3494dbb7077a46479481684870ffef770185e7f98cca49ae13595747498"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a code span after an escaped HTML-like tag byte-identical: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.test.tsx"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d79fa1ff91f403b930fd6eb897b48f571fafb3917ece36f96828ee934ddeb02"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: navigates after creation only when navigateOnCreate is true (%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 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":"ui/src/components/NewIssueDialog.test.tsx"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ca91f232e4b768507c22db655bcce4cae3d347bd1aa86b1ccb09926546adb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: navigates to the returned task ID when it has no identifier: 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":"ui/src/components/NewIssueDialog.test.tsx"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ccde45cf33495a01116a806f7ddb47665d3161ef11fa8f4d01aae97b673d08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for fresh session verification before restoring a pending create (%s): 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 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":"ui/src/components/NewIssueDialog.test.tsx"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca897246f3aa44a2313463f954cbeaaf338c429901342621b4233d85e71dc35"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps hidden workspace launch context when retrying a rejected create: 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":"ui/src/components/NewIssueDialog.test.tsx"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb8806fa6791a84f49b256ceee488665e987c69466f9a5235b49e778e16d31"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: downloads nothing for an unsampled page session: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PageLoadTracker.test.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91286e4d5c9a9fba05ab0686d00ab1035713036eecd4b08dee2ab7a7a3eed1b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: wires the repair confirm to reconcile in quarantine_restore mode against the pinned workspace: 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":"ui/src/components/RunWorkspaceRecoverySurface.test.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fec0b72df703fa29a9c92baba0c1df640bfc4a7dcad606cd2aeabd809008368"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restarts monitoring when the session environment changes with the same DSN: 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":"ui/src/components/SentryGate.test.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"749a5494b1301c734346cf98a6ff960431d4eed4451bfc95ce23e3fb3dd4c4a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: closes browser monitoring when sign-out clears the session\u0027s DSN: 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":"ui/src/components/SentryGate.test.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf85a9a1030de24a21d68aef97ba39d481dac61a9b80ada59302aa40f2798f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: closes browser monitoring when the gate unmounts while a session DSN 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":"ui/src/components/SentryGate.test.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b6a50d20aed13562f6bfdb46fd63324f4abebb9450d0eb11f3a70e9a7c71ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports live search state for URL-backed browse preservation: This test sets up 3 test doubles (for example \u0060vi.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":"ui/src/components/WorkspaceFileBrowser.test.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b8d5850e1b88d811e47e9feb8564a44fec0a8c583a5fe8ec4dda9a9c9a07c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the replaced browse callback for the next actual state change without reporting callback-only changes: This test sets up 5 test doubles (for example \u0060vi.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":"ui/src/components/WorkspaceFileBrowser.test.tsx"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebd6bebc58918cf0556798b36bd0affb24b153a1a3ad138ddf5ac916e5d5931"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens sibling files with the current folder scope: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.test.tsx"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ff8962c63a12ae17a78ba98d1aa213590f30d53d69a3371ef0b4d6a93f3ae7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: scrolls the selected file into view after breadcrumb-scoped listings: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.test.tsx"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e80d5c851acb222c7615dc83b121d1b9e455f57ee1acd05e5c17875cfe0ce7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans up chart drag listeners when unmounted mid-drag: This test sets up 4 test doubles (for example \u0060vi.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":"ui/src/components/timeline/WorkTimelineChart.test.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0005b10028327d29aef0631f76eb89e1bf589ab5d1197dbcf2e8ea3940c4a455"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans up minimap drag listeners when unmounted mid-drag: This test sets up 4 test doubles (for example \u0060vi.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":"ui/src/components/timeline/WorkTimelineChart.test.tsx"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1090c1fb281aa67aeedc7bddfdbe195763d567c6ee5acf32fab0bf71f8877bd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves %s editor drops with the composer: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerFileDropTarget.test.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"566ee398ff015613f2ea06486825ff9330ea9d5f980e253fbde22ca6fe657f00"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the task attachments section drop handler: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerFileDropTarget.test.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"483062d4c3ab92ae674c734a8874a734e182e46e62d53748b0d0236121a7834a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens the mobile file picker from the Add dialog: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.test.tsx"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ae8383423172c276a64dc9ded70eca65c49a94902f22d950838787ba60ab32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens the file picker from the add menu: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.test.tsx"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2411b8ff62701c0a02a870b051c9ecd9386942861129a9c6b06fdaca20e3f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dismisses every takeover without invoking Skip: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.test.tsx"},"region":{"startLine":3541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4def1ea776bdf3a432949575f825fd89c958b98426756fc605a4890cf481c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards image upload, mentions, references and feedback from the owning task shell: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.v1.test.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c951c4cfb6b1580f3ab97da05a16ae8767d9b0569fa31f875b4132ca824b7453"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores cleared defaults after switching back before the intermediate schema loads: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-sections.test.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b44cf19b596d0adbd3764240e3c8e0ef200444c86ffc50cbcdb22fe5cfa57e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs a failed run-failure report drain and still stops the database and exits: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/shutdown.test.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"44389b3a35fddb47cedd764e6dc7aca6afd3f844c73c7077b0dce6812f4dc85a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the database stop when no embedded PostgreSQL runs in this process: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/shutdown.test.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a64d44f4edb283c685fb8a7c7461ed842ae7898d52de995486020efdec69832"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: honors rate limits while fetching a partial Gateway message edit: This test sets up 3 test doubles (for example \u0060vi\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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"00439302e182118a4bc838170f8bebaf16490672ea19d6f1cab3705ca39957fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when a root-mention thread cannot be created: This test sets up 4 test doubles (for example \u0060vi\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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab49ff50a0b080bf96706421502fe95d9643b6f13b60575c4d10f133536f0dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries root-mention thread creation without creating a channel-level task: This test sets up 3 test doubles (for example \u0060vi\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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eb7e036d5a34b972d2c61e8cc24a2b4d5a9690597616c1572348a8ec154919"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: checks Paperclip admission before creating a root provider thread: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceac7b0660edd4d34f9df3326df638b69b65e092c9e90ca9a217890ab9f8d09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never tries to create a thread for a direct message: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ef3c5fa3870e246f734e69259503aa05edc604fd10919280e5ad0553b91ecf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: contains a failed ephemeral denial without logging provider text: This test sets up 3 test doubles (for example \u0060vi\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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edf461d3f6911f6059de84c654c59a01d3b4f25ed747005c16d2487863ba65a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fetches partial reactions and retries their durable callback: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cae6eac508417893f8e967ad9b2bc24a000edef79418e5ca5285f5b662b6967"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restart a real Discord client retired during its outer gateway lookup: This test sets up 4 test doubles (for example \u0060vi.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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b039f04c0ca3e77a80e7fe3064866f5657085e28f7c30f31a3d71a432b792a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps recovery armed after a worker failure and stops after one success: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f17307b4f52e77ff67c809f30335e67c3ee907957f424915cb710ffd273fb1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: queues one more attempt when the worker becomes ready during an attempt: This test sets up 3 test doubles (for example \u0060vi.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":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edd0a3e1a9a05be7d533b0ef6b1b87555e0b488057165d513df95cfce47ce96"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops recovery when the plugin permanently rejects the config: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ffd6c982d4eae23155110dd62db2ce792ea52180f7196530ccdc84faf8860d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never fills the instance default with a plugin entry that does not declare instanceDefault: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0549b04624389e7fb4e70e0a8afb4ed01c26783154cb5f0334029a5fe504bcb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fills an unset default with the plugin row first, then lets the sandbox fill: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0548a76ef9f0b2d54f3a40c9fa33e861758f300a0b73387ec63d1dcddbca8a9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lets the sandbox fill when the plugin fill declines because agents need setup: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2f563df195d30c97d91494840036522cd9548085ed7005fcbc1fd4fb88debe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fill with the plugin row when its plugin is down, and recovery never fills: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e43fa1d29e826f8f2facfcf0d2bf3fd7ff95aa34e6d5d5ba220ff45d01c1c7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fill with the plugin row when its ensure fails: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments-plugin-entries.test.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb9ee595d427f28fbd330261b7576c1dc279016177eba8dbd20f4c87ee23db"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs, not throws, when the recovery re-ensure fails: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-environments.test.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"226799dddf2466826a3d014525e3db4feb000d1d58f29ee9d3a0308f95411b95"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells the run it is waiting for storage while a save or a restore waits out an outage: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-storage.test.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"855bfd1447939745c24bbf7006073169e309f18a4c08d5c66af120df20430403"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the code on an active run and publishes the live status 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":"server/src/services/responsible-user-denial-run-outcomes.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"de626ece8c2d6ef2544b9ad08c75b761a3d74ce0a21fccd88687361f044aa1cf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs the provider driver release by id for a fresh instance with an empty lease map: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/setup-token-transport-binding.test.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2d220698db0b62aa48c595b1e0dad68bdcf9aec54bd6c89f2b971123aaf571"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: flushes each warm turn into its own home without stopping the provider: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 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":"server/src/services/native-runtime/managed-native-credentials.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fc4c550d6161b2b8b2ab4502355e910c69d0ebe4c6ef56f6f2e4ca7fea9dff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: handles bootstrap, idle refreshes, and successive warm invocation exporters: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-credential-update-owner.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aba0ac7530e10ffab95ec1b12d21efc04180a2a60e3e929e0c21a21d3148c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quiesces its ingress when the Runner\u0027s exit is committed, before release closes it: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 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":"server/src/services/native-runtime/native-runner-execution-driver.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d23975aeda88c9b78e1df7f9ee172ce18e3930d1e7075b8d0ed7ea6f586716a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the app-server PID and process group through the production backend seam: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":16246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d49068557552bf3c964bdab271f494f4256c735c75a2dc7306afb3521e3776"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reconnects task-only %s warm recovery under the saved identity before reuse or retirement: %s (portable=%s): This test sets up 4 test doubles (for example \u0060vi.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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18918}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ac94defc56db217732b2c2cab4e7bda8fa38f151b86034dbf6d6b8229e8342"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles an adopted task through confirmed termination and retained-session ownership: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.test.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"199fc668c98f3c6931e3f7990b6d3281a25f4892aca3a8ccf0eba7c0dc75419a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quiesces the Runner\u0027s ingress when its exit is committed, before release closes it: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/services/native-runtime/plugin-runner-task.test.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ec9b60eb9eb973fd72e04d507d6c9385d58309e96fea0bb6514bbe0b03d25"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: detaches a controller without stopping its durable task: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.test.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3924e92c3589560df09f35de1e2396f871e1d87cfa332015d890e06d93e391dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses a warm %s process across run authorities without idle status polling: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/services/native-runtime/plugin-runner-task.test.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c3c470deede8219ab42325195b92e19f1d29c32e5009b95bcc078496aa40c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes credential notifications to the current warm lease after rebind: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.test.ts"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"231dc87ca079a183267a8aa1660575377bedc48170f8b0f7db76643a15293840"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes preparation renewal ownership to native dispatch: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-execution.test.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"039b7a2a25413aa10fdd857d91ad5c3c95c33c6d83ccea97ea8e166ab0bae8f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records queue wait and delivery age without content or identifiers: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/receipt-timing.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13de8dd48c329e8cd186a68ed1bfde891350152fba64b752d3d8199f213dbc1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not report intentional close as an active-run ingress failure: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-outbound.test.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fb573b765e3790155418c1c8baf1afecb54f06d02ea49830c40bb5295405ec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a quiet but live runner attached through a long silent tool call: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-outbound.test.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fa6c46d9a1eb386bc25a552c1d3d08c1b207d87ca0ab4e55bb0bd4e6a03711"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves committed readiness after a dispatch failure for the queue sweep to recover: 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":"server/src/modules/agent-lifecycle/__tests__/diagnostics.test.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a093a810a6ba116908d65352f58dc06cac6a17424d33b8c51c000b901dfbb5ef"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the final status %s of an agent run\u0027s keyed mutation 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 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/runner-call-outcome.test.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d7c48634e174969253d1cfd4982a6d111876271682ef594f8c0148dfd1aba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores %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 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/runner-call-outcome.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"449e520ffd58cb86ed0483352c625eb5cb4fa7166791681c62b91c0999a5aef1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a saved adapter\u0027s execution when it can run on the requested environment: 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":"server/src/__tests__/agent-test-environment-routes.test.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c25867c7a36a5590253a17467ed6301e066cf5574100f884092dc96826a2c24"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: kills the spawned subprocess when the client disconnects 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 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/board-chat-route-feature-flag.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cab93713ea7f0abc1534f4b827ac2a8f67f2acdbd956a7186a1ab53ad99eb8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks board mutations without trusted origin: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/board-mutation-guard.test.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7153ce0ddaea064c9d6f3dd33fcb748ae9f29ea61fa31c0b8e46bb55b24dae16"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks board mutations when x-forwarded-host does not match origin: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/board-mutation-guard.test.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b05a34214f4ff9584a03f2c7b03e85152800a706a1d66ae7236071e2b6033a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not block authenticated agent mutations: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/board-mutation-guard.test.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"786ed661a0619b5fdd7fce991809172727332a2f52561384a432ad39a932e5c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resets a bundled plugin that a previous activation left in error back to ready, without reinstalling 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 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"189139a446336a95174cfe87d376cd85f4153636ab11f877f85bd84e7829f68a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reconciles the persisted manifest of a present plugin when the bundle version changed: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c204885740e354542a959593a02e6e60e4ab47dd3729a9bc19c42ee52618a71"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: adopts a selected distribution path from %s even at the same version: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a1bc0f76bfdb44a2865706f6c227e702d1fb9fc08a9f4052426336bee4f552"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not rebind a distribution install whose new manifest fails validation: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb7e7110edef0187ea023a6e5b54cd813c551caa85baa3fba205c7d56e848c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: gates same-version distribution capability additions from %s atomically: 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 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de712b21b81750a899d0f4606b32137e58e09c14dd5e5e7aba72bcac3090580"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not save an inconsistent distribution manifest: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb353c1e914f45c9aa9f80c0f23ead74549a320871bda2fe73db823b9d03187"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not replace an operator uninstall with a distribution approval request: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d89a6c1f8c8953ca6e6daaf5859fd894995e1920a83398655b44dc2f925abcc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes a same-version rollback while retaining the pending operator decision: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6291eae0782a531efa6dc4b6a9c9073862111bfc2faea1d958943e6200693440"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores object key order when comparing a distribution manifest read from JSONB: 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":"server/src/__tests__/bundled-plugins.test.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d616fc782381f1c0ccd5423d7fe2fbfd332b89a846922d50cbb3cd9c2c04d87"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not trust the webhook-only origin for board mutations: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-webhook-public-url.test.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acb2d6a02efd5ed88e3182ae2e5a40cb47adbc27d9e36463dda46519d0d8f15"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: MCP event work does not read the persisted setting until claim: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/cloud-warm-standby.test.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb773896fbb5ea4da207130abe94b148d15df13d1e8e97c93286e3771053924"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reactivates only its database and unsubscribes without removing a replacement listener: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/committed-chat-response-authority.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744aec88082dadb56894f99ea213ed2b4e53a3c2c83a1008c41140b42fe3a31"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: normalizes invalid imported project icon names to null: 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":"server/src/__tests__/company-portability.test.ts"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efcfefaf56281e63fd2692c0ac95507f31b025b739e58ba216b81626e99a5e3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: copies source company memberships for safe new-company imports: 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":"server/src/__tests__/company-portability.test.ts"},"region":{"startLine":3577}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b74fd98df30d9032e7f4ab54df198adfccf3e561caf46196f0d89d462d616e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: imports new agents as active while preserving future hire approval settings: 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":"server/src/__tests__/company-portability.test.ts"},"region":{"startLine":5808}}}],"partialFingerprints":{"codehealthFindingId/v1":"213b8248fee9c9c25e533bd08ef2fe6d5d13017128f597d5a616c80eb64ced56"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reaches the worker manager route with the lease scope and delegates the channel members: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/__tests__/environment-execution-target-duplex.test.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0d3b832ac04795b1fafddffff10e8b2c8a34cb22adfc570138494a58688a8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs a remote provision command after workspace realization when configured: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/environment-run-orchestrator.test.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e30f472b3e4b49749ea90ae3fa213d1695197b7beda8b464a0634d3de00eb8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the host provision command for a sandbox environment and logs the skip: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/environment-run-orchestrator.test.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a27a7eb14d1bf1300a85155cd9f97c94fe9cf119543649778a8b1665892eb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not rerun the provision command during local environment realization: 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":"server/src/__tests__/environment-run-orchestrator.test.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca7559605bde35579da5e29ecc085bbeedfbfee1709564a4fac4cca286fdff2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs project-level provision commands for ssh environments: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/environment-run-orchestrator.test.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c963d6542fb72e0928be9745d84d4f423514ce139e52e846acdc2ae2da91203"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers an expected gateway rejection with its own status and reason, without a crash report: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/error-handler-tool-gateway.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c39a053491da6e302ca8338bafa281a5331e96da6e33dbaf843e431956ae8fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ends aborted client requests without reporting a crash: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 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":"server/src/__tests__/error-handler.test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c116a6c9af4ebaa6f78d9cd32bed8ecb8f26b855839ac432cf4ffd93ae66b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: only ends the response when headers were already sent during database shutdown: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/error-handler.test.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"461a293d8f2bd4fc8bdcb8efc7600950e2c00dff87b662210467f21653d93afe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports copied connection markers and unrelated database failures: This test sets up 3 test doubles (for example \u0060vi.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":"server/src/__tests__/error-handler.test.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"03058c5c88268f20c5924d7cbcba9b3626d2e7d446a6d002edfc5caf15e959fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: gives a linked lifecycle an explicit root context and a host-owned observer link: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/instrumentation.test.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4752d680eedc8b3af1fbca0f72e0eaef23ee8c6afe89a67c69ec5fd89032a2c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: the catalog approval probe distinguishes missing attribution from governed-action denial (drop header: %s): This test sets up 6 test doubles (for example \u0060vi.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":"server/src/__tests__/issue-thread-interaction-routes.test.ts"},"region":{"startLine":3327}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb888be3537bbd80edb3787600975d02d22a4d99557e1f8db86b810986a1c6cb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: files each wake under its own key, so a question wake never hides the completion wake: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/mcp-task-work.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"345971272832ce19fe39d1b7723e285dbeb195d92971f09d23e23befd41b46da"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does a full deactivate\u002Breactivate cycle when the loader has runtime services: This test sets up 7 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/plugin-lifecycle-restart.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9654005abf925f602a0e5561069f6b663753f3c08079077954fe3cb553ef508"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to bouncing the worker handle when the loader has no runtime services: This test sets up 7 test doubles (for example \u0060vi.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":"server/src/__tests__/plugin-lifecycle-restart.test.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ca186e7f2309f8eebf02f0243f057e49b70dde654711722ee6087fbd5b9c93"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks unknown hostnames on page routes with a static plain-text remediation command: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/private-hostname-guard.test.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c61a0c1d67566f754fd20eac405087314e5a2142101a7c649f095c1e0690dc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: honors cancellation during dispatch and isolates a failing callback: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/work-scheduler.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa8b5aa951d23617cf56201514a4d579e4c45692c29afcd57436358c8d3a2ca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes the Sandbox CR, pod, and per-run Secret: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/test/unit/plugin-lease-lifecycle.test.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4329f7e65370dee337bacb71e7e78bd5c6d87ea02bc2b0d6647216e8836bfa96"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is a no-op when providerLeaseId is null: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/test/unit/plugin-lease-lifecycle.test.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a06df015bedc3151139396f8f1d50fdd4a27d8be28683d1decff5728ee137a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes the Job for job-backend leases: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/test/unit/plugin-lease-lifecycle.test.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00fef8589e6300940dfb848a4deab2e7ad6adf65ec3b5a9665e2da4116c1481"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requests streaming callbacks when bridge output forwarding is enabled: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/exec.test.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3adc49d5b97e53edeee72ebd6ae4a30a986f5116d377b7f4d7d5a81bf5130"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not write a stdin file or redirect when stdin is empty: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/exec.test.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3baae9197f8117e9530f6c294cb56ea0a15e04cd0e3d6af5569f5d6cb9acc96"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: proves it still owns a recovered session right before a restart continuation $label: This test sets up 5 test doubles (for example \u0060vi.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/paperclip-runner/src/native-session-runtime.test.ts"},"region":{"startLine":9040}}}],"partialFingerprints":{"codehealthFindingId/v1":"3082ca6891e7cc30ae1e54e9878655c86b1929f53e75ac020675e9ee51e9e686"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never signals a dead guardian\u0027s saved process-group identity: This test sets up 5 test doubles (for example \u0060vi.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/paperclip-runner/src/drivers/acpx/installation-integrity.test.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd76451f596dfe779720a9f90c37f69ecad3d9ec04c3026b102c901c671b54f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: flushes an unterminated Pi price and closes each attempt independently: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 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/adapter-utils/src/usage-checkpoint.test.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3558eb70a6bda5b6c3038053845b26a8da2b3e4a9dbbf65e6073cc828a1c13cb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds large content strings before buffering and preserves usage on either side: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/usage-checkpoint.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9086a003c839fa145e06ceb0db309523649dac5d9366f151a7a72103d9bc9e5a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves Unicode and escaped quotes across the string limit and chunk boundaries: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/usage-checkpoint.test.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a3229c8735f5cbd269a447fd02ae71a3dc044e6732100bb481021c64b19849"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves every new receipt before logging with linear parsing work: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/usage-checkpoint.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"485f4ba693bae6d0993c4f7c5dff9b075f597260c8b587bbe29996e119fe052a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prints the dashboard URL without opening a browser in non-interactive runs: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/onboard-service.test.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c722991157103ae7865be49cbe55dbec396cae72a261c4a8368e4f8af2fdc80f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the ready service runtime port before opening the dashboard: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/onboard-service.test.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aadeaf5742a10b23f1a818c7c83c4c226b5899b22fc0c31e1a8b628e0265ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the manual link and warns when service health does not become ready: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/onboard-service.test.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97c0440721b38208e15635d2343cc621dde747b1b4d6fcd5cd4bc24315b500a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: auto-requests board approval for forbidden installs inside a Paperclip task 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":"cli/src/__tests__/teams.test.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6efe9d9854cc71dfe1a8503c9a11edde3470faa8cd4c6e058efa137779ced47"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: honors --no-browser after successful initialization: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/test-drive.test.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9ab19b7c61c82a6542965d38a9304b8c986e4d9f733db404c64c7e3c6f5095"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/issues.ts: server/src/routes/issues.ts changed 176 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 2865 in issues.issueRoutes at line 3633. 102 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/issues.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":3633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bd001148c9699dda58173b8e9470952157622ca81c397290a600d747443704"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-session-executor.ts: server/src/services/native-runtime/native-session-executor.ts changed 401 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 859 in native-session-executor.executePaperclipNativeSessionAttempt at line 10798. 289 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-session-executor.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dcfa302a288524c80b67adf40ddd32cdb89db550651854e9d11fbe9d9ea7c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/agents.ts: server/src/routes/agents.ts changed 141 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 1401 in agents.agentRoutes at line 522. 57 of those changes were fix/bug commits, and the other 84 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/agents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8d7dc0579fe98953f61ea3dbcc1b76faae5bd3e6ab36c14aa87aa782e84978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat.ts: server/src/services/heartbeat.ts changed 363 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 490 in heartbeat.heartbeatService.executeRunAttempt at line 1971. 217 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90a26a8c49b16ab339da31a1fd135c24456fae1bbedb51e079dace54722515d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issues.ts: server/src/services/issues.ts changed 135 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 1176 in issues.issueService at line 7119. 70 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issues.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":7119}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a30737cf8502cf7985fb7ff87c3fe282cde0d93a62292b0d1e7130ce5e17bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/IssueDetail.tsx: ui/src/pages/IssueDetail.tsx changed 128 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 895 in IssueDetail.TaskDetailSurface at line 3247. 78 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/IssueDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"580b01089102774e026aee432c94337fab7d7c76f25fe4d40e403502df90d3f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/TaskChatThread.tsx: ui/src/components/TaskChatThread.tsx changed 106 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 828 in TaskChatThread.TaskChatThread at line 526. 61 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/TaskChatThread.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c2597abc0cb9ef5ef261595e4eada0bc3f3187d8fe204bafb785e5dc863c09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/index.ts: server/src/index.ts changed 176 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 403 in index.startServerWithDatabaseTeardown at line 319. 106 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"280aa77b45d96037005ee447241b9b239a203ade48a8fff13db320688f733be9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/queue.ts: server/src/services/heartbeat/queue.ts changed 104 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 634 in queue.createHeartbeatQueue.enqueueWakeup at line 2723. 82 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/queue.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea9646fa144c508c1a157dc2ca01dcb858821f13be5de9f5ea299fe6d98c32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/live/runnerd-codex-transport.ts: packages/paperclip-runner/src/live/runnerd-codex-transport.ts changed 159 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 359 in DurablePrpCodexTransport.#resumeWork at line 6714. 104 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/live/runnerd-codex-transport.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6714}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c99ceedf4b136ad04b9bc673c129408d2dca6abca96b4d7815411785ddeba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/OnboardingWizard.tsx: ui/src/components/OnboardingWizard.tsx changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 881 in OnboardingWizard.OnboardingWizardInner at line 438. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/OnboardingWizard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f237797ee8f0d113187a3f2641d12e299937bb14c18c76dca178da6bd8f7f9af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-restart-recovery.ts: server/src/services/native-runtime/native-restart-recovery.ts changed 82 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 502 in native-restart-recovery.claimNativeRestartRecoveries at line 1110. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-restart-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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e374d08245c75b703d330af8f367b488a9f8811b00dd87dcdd56b45054cb2d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentConfigForm.tsx: ui/src/components/AgentConfigForm.tsx changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 576 in AgentConfigForm.AgentConfigForm at line 359. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentConfigForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"637458205f06760852302f3992d308890cba1647e25daa72b82d094c5e1dad16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-runtime.ts: server/src/services/environment-runtime.ts changed 86 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 426 in environment-runtime.createSandboxEnvironmentDriver at line 1348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be8b1e7b42a33c49a2a761e25d59455c3ca51141a7439de7ca44c858780462a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access.ts: server/src/services/tool-access.ts changed 107 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 295 in tool-access.toolAccessService.connectGalleryApp 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-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":"server/src/services/tool-access.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5690f888ddf9e118ad7ad81f0849ff4721ec02cce6728533c22cb866cdfe66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/service.ts: server/src/services/recovery/service.ts changed 129 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 233 in service.recoveryService.reconcileStrandedAssignedIssues at line 4747. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/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":"server/src/services/recovery/service.ts"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac30d9b357183a8724e9b5eaa707f27c621601e0ba907f5c653ef567258a04dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/features/connections/ConnectionSetupFlow.tsx: ui/src/features/connections/ConnectionSetupFlow.tsx changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 588 in ConnectionSetupFlow.StandardConnectionSetupFlow at line 643. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/features/connections/ConnectionSetupFlow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab12b63230c9b975fc933293f6a224521cb5cbd1fc5ef8d1b11f42e23c6895ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/explicit-native-continuation.ts: server/src/services/explicit-native-continuation.ts changed 69 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 367 in explicit-native-continuation.admitExplicitNativeContinuation 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/explicit-native-continuation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c6d30c1eed5f8feab044d0559421649483f5691a31d0c828417063224134e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/native-session-runtime.ts: packages/paperclip-runner/src/native-session-runtime.ts changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 321 in native-session-runtime.executeNativeSession at line 2466. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/native-session-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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69b29f988402e9af7da462304499f5760e21365dd76e19e7a971b052d4fae60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/tool-access.ts: server/src/routes/tool-access.ts changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 454 in tool-access.toolAccessRoutes at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/tool-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":"server/src/routes/tool-access.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c394a7b1a2d0a0710afc76c2f8b5d8fbebcb0394da2b03ba9dee724c3dfc3cec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Inbox.tsx: ui/src/pages/Inbox.tsx changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 532 in Inbox.StreamlinedInbox at line 859. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Inbox.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Inbox.tsx"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7797200f3fdcee6ff8e7e5f98f2c7503f3424248e37bc0b61ea7c161b78cfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/issue-properties/IssueProperties.tsx: ui/src/components/issue-properties/IssueProperties.tsx changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 492 in IssueProperties.IssueProperties 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/issue-properties/IssueProperties.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"702158bd0142e5851d12b1e8e6abf5f22458a6025b6915a32affe89f7d04b11b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-run-finalizer.ts: server/src/services/native-runtime/native-run-finalizer.ts changed 92 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 203 in native-run-finalizer.finalizeNativeRun at line 1431. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-run-finalizer.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb264e6703d26bea4431bda575f87e30d51084671eec8b364781775c660813e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/workspace-preparation.ts: server/src/services/heartbeat/workspace-preparation.ts changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 424 in workspace-preparation.prepareHeartbeatWorkspaceLocked at line 207. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/workspace-preparation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3083519e6a27c71cf7188fa423e734c3370d9cb62f6d520c9720c07c41b447"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/paperclip-runner-tool-authority.ts: server/src/services/native-runtime/paperclip-runner-tool-authority.ts changed 98 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 186 in PaperclipRunnerToolAuthority.execute at line 629. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/paperclip-runner-tool-authority.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0877d186b71caee5a624c3cffddd2ee6b211d0030d651a88cbe09222f52eb285"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels.ts: server/src/services/chat-channels.ts changed 82 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 222 in chat-channels.chatChannelService.processMessage at line 1471. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"84224852357d751929371099533ce629804ddc7ff50529ba89e384b548b359ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/acpx-engine/execute.ts: packages/adapter-utils/src/acpx-engine/execute.ts changed 61 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 292 in execute.createAcpxEngineExecutor.executeAcpxEngine at line 4149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/acpx-engine/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a353db5a5fbd2b1308e018ccffad316c891a376f32f5a60e451835a11a2925"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/recovery.ts: server/src/services/heartbeat/recovery.ts changed 89 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 195 in recovery.createHeartbeatRecovery.recoverActiveExecutions at line 2491. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f0d994258b64079347815073a79b47436f2a25fecaf01dfbbe96cef7b0c520"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs: packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 316 in paperclip_runner_core::bin::fake-codex-app-server::run at line 672. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-codex-app-server.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c6f7f2868cf324faff2ade1b94dda2c743e62f2ac4e35910a97662ec7dd3bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-gateway.ts: server/src/services/tool-gateway.ts changed 84 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 185 in tool-gateway.createToolGatewayService.executeTool at line 12592. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-gateway.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6e99bdd039fbbdcdefd25678e6a7e6af97e008dc24de6e9d65ec9885303d1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-workspaces.ts: server/src/services/execution-workspaces.ts changed 56 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 264 in execution-workspaces.executionWorkspaceService.sweepTerminalWorkspaces at line 3535. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-workspaces.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d470e2e15e64c7200a65f5bdb18a2cea492191fe8f53755a403cb8ddcd1aae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/new-agent/NewAgentSetup.tsx: ui/src/components/new-agent/NewAgentSetup.tsx changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 582 in NewAgentSetup.Setup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/new-agent/NewAgentSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"04144ef1d90528520de906160906f543c93b2feb549ad95304a244deef771e07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-worker-manager.ts: server/src/services/plugin-worker-manager.ts changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 443 in plugin-worker-manager.createPluginWorkerHandle 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-worker-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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b2d672fa7d6fa8918b02ef6edbb54dead0df39a9273d99f7c8ee682d02e8f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/status-decision-committer.ts: server/src/services/native-runtime/status-decision-committer.ts changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 295 in status-decision-committer.commitNativeStatusDecision at line 1658. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/status-decision-committer.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"244ac7fe4d50a6dbf17d1d8ae6a2929589bed857d207ac7683359e42972b991b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-task-runtime.ts: server/src/services/environment-task-runtime.ts changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 409 in environment-task-runtime.executeEnvironmentTask 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-task-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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ab5a9087f14957075268622bf630b6d37b3be307e5755607831cd401cdfa5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/server-utils.ts: packages/adapter-utils/src/server-utils.ts changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 247 in server-utils.renderPaperclipWakePromptBody at line 2313. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/server-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/adapter-utils/src/server-utils.ts"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada170358d906d3afca9dcf90b3b171f68bdc0b32bdada5bf9572fa1d2d8497d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/NewIssueDialog.tsx: ui/src/components/NewIssueDialog.tsx changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 358 in NewIssueDialog.AccountNewIssueDialog at line 451. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/NewIssueDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e51e34be841bee6a3411a34100766fc9a66196fd82fac10896e42b23bacefa0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatComposer.tsx: ui/src/components/task-chat/TaskChatComposer.tsx changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 367 in TaskChatComposer.TaskChatComposer at line 391. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatComposer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f63a436d1437b6aadd67c2197402291d14373783a51c7278d6c0e392605809"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/app.ts: server/src/app.ts changed 140 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in app.createApp at line 443. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/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":"server/src/app.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98eeb93202d80905b9394115f19ee3894b553ba037884db8526f80f3ef04e9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueChatThread.tsx: ui/src/components/IssueChatThread.tsx changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 242 in IssueChatThread.IssueChatComposer at line 4715. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueChatThread.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39a4488a6e85d65012b18abfe6538a3313b2d5e54a293e6fea2ec8b7027635a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AgentDetail.tsx: ui/src/pages/AgentDetail.tsx changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 209 in AgentDetail.PromptsTab at line 1859. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AgentDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"1394fe580ea3ba066fd366b46ff7dde843e48ddd3d6e729e60f1239c6ea692ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/company-portability.ts: server/src/services/company-portability.ts changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 300 in company-portability.companyPortabilityService.importBundle at line 5276. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/company-portability.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0de2e5b6c1fb73622b828cf98ccfb41d085be92e741eb3205d4dcc5bd07b601"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-interruption-presentation.ts: server/src/services/task-interruption-presentation.ts changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 165 in task-interruption-presentation.projectTaskInterruptionState 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/task-interruption-presentation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e9e8899c84326d734a6c63020973a42ab3196b5255441b065ea5e2fbd987e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts: packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts changed 74 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in DurablePrpControlPlane.#event at line 4510. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ef6669ff432b0cef6546209eb68294f8736b8bc7881932aceb87d3346796de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/authorization.ts: server/src/services/authorization.ts changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 243 in authorization.createAuthorizationService.decideBase at line 1850. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/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":"server/src/services/authorization.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e729a66c78f8d7d615483685e7f0612ea5978a834056397cc5656b9ad113752e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/Browse.tsx: ui/src/pages/apps/Browse.tsx changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 171 in Browse.Browse 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/Browse.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda860e6ae368efcb19a1034136a376e92ba754ae03572c88265d1af52dd386"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/runtime-execution.ts: server/src/services/heartbeat/runtime-execution.ts changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 213 in runtime-execution.executeHeartbeatRuntime at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/runtime-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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"277ccbecf3ca297e39f1bb5740b0fb517cc18032015ee577dfa18ced55b451cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssuesList.tsx: ui/src/components/IssuesList.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 390 in IssuesList.StreamlinedIssuesList at line 715. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssuesList.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuesList.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"4752aaf165c1de283f069827ad6ebc2b9d8e595837d01698015bb7ddbe8a8b8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/sandbox-managed-runtime.ts: packages/adapter-utils/src/sandbox-managed-runtime.ts changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 200 in sandbox-managed-runtime.prepareSandboxManagedRuntime at line 1272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/sandbox-managed-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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5772e33f52dc81ad3731c49a4b1c5e58fbd03b091b9c96382936d685a57a03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/runtime-selection.ts: server/src/services/heartbeat/runtime-selection.ts changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 188 in runtime-selection.selectHeartbeatRuntime 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/runtime-selection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"937b0ef1ee6a2910a83382ef588da5e697d3d91a3668fe79d2ed819cea159dca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts: packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 171 in acpx-runtime-adapter.openQualifiedAcpxRuntime 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b7e092cc88e5adc6c4c190aaccda5d47e15eace5ae6a55e6fa73a7aa7974aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/context/LiveUpdatesProvider.tsx: ui/src/context/LiveUpdatesProvider.tsx changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 152 in LiveUpdatesProvider.invalidateActivityQueries at line 1573. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/context/LiveUpdatesProvider.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"b949beb3a66aac0f944e8e003fec965aee5dc21996e6c908950e3af571fbc36e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/claude-local/src/server/execute.ts: packages/adapters/claude-local/src/server/execute.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 256 in execute.execute 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1b999d69a552aeceaaee3d78cb437ab902af47c5f4aeb7254fc87f5be2de58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-snapshot-archive.ts: server/src/services/remote-workspace-snapshot-archive.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 344 in remote-workspace-snapshot-archive.workspaceArchive 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-snapshot-archive.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4b1fa3216d5ff77314d5e262538bcec1ce1ddc8ec9f0797401eb075e41804"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/codex-local/src/server/execute.ts: packages/adapters/codex-local/src/server/execute.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 288 in execute.execute at line 583. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/codex-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aacef478ee69365a07df89b3b6e2c9952741123df26efbff8b8a6420594266"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/openapi.ts: server/src/routes/openapi.ts changed 207 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in openapi.resolveOperationAuthLevel at line 1733. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/openapi.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cbd0f07c9be18cbce0716b04d4283679d671d7e43698423f7f88b85a3d3f58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs: packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs changed 64 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in CodexProvider::poll_with_control at line 2859. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77595277657818f86f466d8784eccb05448bcc4a2cd471478aeffa9279ca094"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/plugins/sdk/src/testing.ts: packages/plugins/sdk/src/testing.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 330 in testing.createTestHarness at line 492. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/plugins/sdk/src/testing.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"815db3043dc4cffb3d78ba1f2c5e9f9cc1b24e3f154084d1ee9bfe212824dcab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/retries.ts: server/src/services/heartbeat/retries.ts changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 155 in retries.createHeartbeatRetries.scheduleBoundedRetryForRun 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/retries.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b71038d453c149459b978a7076ddfa94e4c94e44f3156f2183647ba1cf5769a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/LegacyInbox.tsx: ui/src/pages/LegacyInbox.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 354 in LegacyInbox.Inbox at line 696. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/LegacyInbox.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7b71fccd088c03dcf7c05a71f5f0d817019e45447b95d03a3be645a8557fb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts: packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in OpenCodeHarnessSession.#mapProviderEventValue at line 1801. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"6090fc303785796e4a5a043cabd7581af399f8c903c9f0015100400c27080061"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/contracts/native-execution.ts: packages/paperclip-runner/src/contracts/native-execution.ts changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 201 in native-execution.parseNativeExecutionInput at line 430. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/contracts/native-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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea3679af6c6e333f9b6c99760da93c81945d966369740a7f39a2fef8e23d797"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/run-control.ts: server/src/services/heartbeat/run-control.ts changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in run-control.createHeartbeatRunControl.cancelRun at line 1232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/run-control.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"09df1f3516cac430dbb6337671b1e2b628f52ff20ef61b07811ba8a81b42e4d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/connection-intents.ts: server/src/services/connection-intents.ts changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 149 in connection-intents.connectionIntentService.search at line 499. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/connection-intents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab8b6ef58f3df8df851bc939d4787d3d567d1b1019cba3f0eee2ae3d2e325b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/Layout.tsx: ui/src/components/Layout.tsx changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 159 in Layout.Layout 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/Layout.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e308fc7d476d0e39d17c13967dadc27d640cba59f416d33c2bcda87cb6eace"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/LegacyIssuesList.tsx: ui/src/components/LegacyIssuesList.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 348 in LegacyIssuesList.IssuesList at line 667. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/LegacyIssuesList.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"9502f09432f943a1c9242beedc4f9fe289521e32bdb9fb14ff02c43c97ddbbcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/run-completion.ts: server/src/services/heartbeat/run-completion.ts changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in run-completion.createHeartbeatRunCompletion.completeRun at line 440. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/run-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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"941cb5b1bcdbd25ba409079ae43148f1b5e030a6fea0e1bf70ca5de8f38bdba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/wake-queue/adapters/postgres.ts: server/src/modules/wake-queue/adapters/postgres.ts changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in postgres.createPostgresWakeQueueAdapter.withIssueExecutionLock at line 1253. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/wake-queue/adapters/postgres.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a89bcaac70d51b0b8dee0afad812fa9fb95c21063ae1c4d4c43077e527e887"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-migration.ts: server/src/services/remote-workspace-migration.ts changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 141 in remote-workspace-migration.inspect at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-migration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"007fb69cd1226b1f7546246294a659481a056c859945b5d4bd09deda6a51366e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs: packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 164 in paperclip_runner_core::bin::fake-acpx-sidecar::run 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f918323ded8385230967cc8fe8ad6ed775eae4a8cf92b75f38438150be9cef0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/failed-run-retry.ts: server/src/services/chat-channels/failed-run-retry.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 207 in failed-run-retry.createChatFailedRunRetry.failedChatRetrySource at line 767. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/failed-run-retry.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6687e9f7a296ddcd03d7dc9435d77604f25efa33a4cf800e6fb64d0a7f552b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/access.ts: server/src/routes/access.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 313 in access.accessRoutes at line 2635. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/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":"server/src/routes/access.ts"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d734189087f1b757698c89a89f01af8fe498a30c001448ed7f66413374a57fa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts: packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 202 in codex-session-notifications.mapNotificationBody 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38766c208c21c21b7396ea661437f3844a1e1855b854513197eeff23deca821"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts: packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in acpx-runtime-sidecar.dispatch at line 306. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e6f60a07d469560d4d63bca532374d964a4680c8fb141ccca0f98a0f893974"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/adapters/codex-local/config-fields.tsx: ui/src/adapters/codex-local/config-fields.tsx changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 155 in config-fields.CodexLocalConfigFields 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/adapters/codex-local/config-fields.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a41a86c4e8bcbb31e2fd53a46a7e94787440ca62435b4a7bbfc12ac3f8811c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/AppDetail.tsx: ui/src/pages/apps/AppDetail.tsx changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 131 in AppDetail.StandardAppDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/AppDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ea57d7cde702dbb4c18fd57e112411e8d48707b3a4d95c04c8f93638e3116"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/transcript-adapter.ts: ui/src/components/task-chat/transcript-adapter.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 146 in transcript-adapter.transcriptToTaskChatItems at line 759. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/transcript-adapter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"7767713b89881851bb18f0c03f40b125047bb58bc7161b338b5aa129bee3e8c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs: packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs changed 70 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in CodexCommandExecutor::poll_provider_frames at line 5300. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs"},"region":{"startLine":5300}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a7722519316fd7895e0601e18e9edf15f3fc4f4fc8c9bd5cb71599ce2a9f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/projects.ts: server/src/routes/projects.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 227 in projects.projectRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/projects.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcf5a6a9bf549e95b59679fd86133d2fb3bb4556dbc2bcb69fbe2009a7107dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-recovery.ts: server/src/services/workspace-recovery.ts changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in workspace-recovery.recoverRetainedWorkspace at line 203. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1288864f8249f797ee10a979886c43666b6833e86b8bf62646c54591962913ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/idle-sleep-safety.ts: server/src/services/idle-sleep-safety.ts changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in idle-sleep-safety.readIdleSleepSafety at line 306. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/idle-sleep-safety.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"19245d2feb9e5ecad7d1359bdaafe85123d75f8d3a59edad119998881b31f852"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanySkills.tsx: ui/src/pages/CompanySkills.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 278 in CompanySkills.CompanySkills at line 3948. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanySkills.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3c89ba4314f07430c30566cdbec36a7814e57cc06f52710ba93af57383a807"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs: packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 108 in paperclip_runner_core::durable::runner::run_durable_runner_with_host_control at line 510. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/runner.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce77061c54b7ba2544d3c8991611ed726d5750d0a8ccbbe5759f0cf8142c77c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-runtime.ts: server/src/services/workspace-runtime.ts changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in workspace-runtime.spawnLocalRuntimeService at line 6322. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da68102466909e5eae1bf07882059e518afd3314e626cb907545e9b536ab620"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-completion-feedback.ts: server/src/services/native-runtime/native-completion-feedback.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 152 in native-completion-feedback.nativeCompletionFeedback 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-completion-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":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"81883f8c93a274b03e4fdf63b3bea9400419ef0a0731b70f7db4385757446dd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-failure-diagnostics.ts: server/src/services/run-failure-diagnostics.ts changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in run-failure-diagnostics.collectRunFailureDiagnostics at line 218. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-failure-diagnostics.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbb9f72111a7951a1d05d9b02632f0c0d3658c276ddb53058dbb4d7732101dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts: packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in CodexAppServerDriver.recoverSession 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2919414b95e97f529ed06ca5bf558fa09af5a818335e667ae2ef9f39b59354f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanyImport.tsx: ui/src/pages/CompanyImport.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 253 in CompanyImport.CompanyImport at line 922. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanyImport.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"1759b385c397cfe2ee32915930ec37cfcf23529553863e8a933db899a0a85a63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-side-panel/TaskSidePanel.tsx: ui/src/components/task-side-panel/TaskSidePanel.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 185 in TaskSidePanel.TaskSidePanelForScope at line 262. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-side-panel/TaskSidePanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7368935e356af10a393218afdec044951202aac9ddaeba26d76bc61bd1cabe32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-blocker.ts: server/src/services/execution-blocker.ts changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in execution-blocker.getExecutionBlocker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-blocker.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-blocker.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"12174e9fd75b2c439c41356a6bf099ee211a38fb2b39a0ff2533709f5f2e2bf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-continuation.ts: server/src/services/execution-continuation.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 130 in execution-continuation.buildExecutionContinuation at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-continuation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eb2c9d90a4da8d8b6968e51d9f50c3115b3d39213c192abb5bb06a5129cd29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspaces.ts: server/src/services/remote-workspaces.ts changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 101 in remote-workspaces.prepareRemoteWorkspace at line 422. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspaces.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"022465a092791ee92cf2a92bdffefab7a1ecd37f9cb02abddf5142e49e3aad54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/shared/src/validators/plugin.ts: packages/shared/src/validators/plugin.ts changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in plugin.pluginManifestV1Schema at line 853. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/validators/plugin.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/plugin.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdad5bf652c2f589992a346a3dec63911458e7707f9aa3422e944c1f417f1901"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/ChatEndpointSetup.tsx: ui/src/pages/apps/chat/ChatEndpointSetup.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 183 in ChatEndpointSetup.ChatSdkEndpointSetup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/ChatEndpointSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eab9fa3856d34410e0514b588d3dfbeea8e67ab1fca86042b7db7e3b01c801"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs: packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 117 in paperclip_runner_core::durable::state::redact_sensitive_text_values at line 2216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/state.rs"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f2763ee563ade856a359d7def559288f8b04fb4f6b31a4d747b0c921cf2e20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/MarkdownEditor.tsx: ui/src/components/MarkdownEditor.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 218 in MarkdownEditor.MarkdownEditor at line 757. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/MarkdownEditor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"088caada17a51c9465fef5a73bff00cfbb67bc739d9ae6ec4bfc70e47d2650d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-retry.ts: server/src/services/task-retry.ts changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 115 in task-retry.admitTaskRetry 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/task-retry.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"391168ff4fefde0815bb41e5a06fc96aae0559c5eff006378614ec9e9a3a3643"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/status-arbiter.ts: server/src/services/native-runtime/status-arbiter.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in status-arbiter.arbitrateNativeStatus at line 203. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/status-arbiter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce04db900cea36be6922a85ee060ef1649f02f90d2b80a6b69ff7fa499bd7a03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-host-services.ts: server/src/services/plugin-host-services.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 177 in plugin-host-services.buildHostServices at line 767. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-host-services.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"938459e6685494a1e311e96814013fd200f01dc84cfd2987fd5d3db7ae97429b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-finalization-reconciler.ts: server/src/services/native-runtime/native-finalization-reconciler.ts changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in native-finalization-reconciler.reconcileNativeFinalizationsPass 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-finalization-reconciler.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ed56d793b56eb076b94c165c203c93ca2fbc3041e5b92a8e2939148532bafc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Secrets.tsx: ui/src/pages/Secrets.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 441 in Secrets.Secrets at line 726. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Secrets.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"62db35ae3170dffe0d96d8789804f38bdca505b2488c55c3d447f5e887025530"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanyEnvironments.tsx: ui/src/pages/CompanyEnvironments.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 257 in CompanyEnvironments.CompanyEnvironments at line 1333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanyEnvironments.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e0123a89d27c1cb9c0861aa107c1f1fed03741016c284e687353fcce314c74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/features/connections/ConnectionIntentInteractionBody.tsx: ui/src/features/connections/ConnectionIntentInteractionBody.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 159 in ConnectionIntentInteractionBody.ConnectionIntentInteractionBody 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/features/connections/ConnectionIntentInteractionBody.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6477553b7359c7f7d3e71a39d2e46de5c8d3bafc2f469ca15d9a036eeecf9e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/environments.ts: server/src/routes/environments.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in environments.environmentRoutes at line 359. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/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":"server/src/routes/environments.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e0280e8f30e0341ad0826531c8d6a364976830d21bee46d3e32594d79cfda1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/environment-selection.ts: server/src/services/heartbeat/environment-selection.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 151 in environment-selection.selectHeartbeatEnvironment at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/environment-selection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd4fc380b182d4474898a63b90e4c759b0df31a6188d2543d9a6c61e086cb41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/opencode-local/src/server/execute.ts: packages/adapters/opencode-local/src/server/execute.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 136 in execute.execute 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/opencode-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fd62a4d097f9aaba1f4cbd5b0195f11b28959a22fa8a0c101e899a8a66c031"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/runtime-host.ts: packages/paperclip-runner/src/drivers/acpx/runtime-host.ts changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in AcpxRuntimeHost.open at line 381. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/runtime-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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f61dc7f830bf8e3e43538a6095b522c964e630f680730d1ab4236eab081d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/ai-connection-runtime.ts: server/src/services/ai-connection-runtime.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in ai-connection-runtime.prepareManagedAiRuntime 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/ai-connection-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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a11bc349644e99062fcb014ad6fcf1ebc89040729f386708269a9423aed11f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/run-preparation.ts: server/src/services/heartbeat/run-preparation.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 108 in run-preparation.buildPaperclipWakePayload at line 2285. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/run-preparation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f4572a64707ce3e24ea854fde80a54f2af8ac05bda4b4cfa34b32b427ef7e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/execution-configuration.ts: server/src/services/heartbeat/execution-configuration.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in execution-configuration.prepareHeartbeatExecutionConfiguration at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/execution-configuration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"278d9471602b6496f016b7237ef2ca5a49cb8a50b549c9cefc67c00b31f7440b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-runner-selection.ts: server/src/services/agent-runner-selection.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 157 in agent-runner-selection.resolveAgentRunner 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-runner-selection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"482b8c99d929c4702bd07fc96ab8bb7a2282b507c0f05dfe4309919c350198c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/run-dispatch/adapters/postgres.ts: server/src/modules/run-dispatch/adapters/postgres.ts changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in postgres.createPostgresRunDispatchAdapter.loadGateFacts at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/run-dispatch/adapters/postgres.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c235449ae5cad1d82b4d031a592c484d524a0ba2a929fb95ad3e456553a31a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/execution-workspaces.ts: server/src/routes/execution-workspaces.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 215 in execution-workspaces.executionWorkspaceRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/execution-workspaces.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3ad83ffb5ae2afe494b58be2272d4e2c2a4fc32bc68a2522b5bf7d13131387"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-execution-input.ts: server/src/services/native-runtime/native-execution-input.ts changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in native-execution-input.buildNativeExecutionInput 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-execution-input.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-input.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a791ad1c429a59973a57517ae553bf5976540cff8c2a8172692b96530e1fc11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/ChatEndpointDetail.tsx: ui/src/pages/apps/chat/ChatEndpointDetail.tsx changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in ChatEndpointDetail.Activity at line 890. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/ChatEndpointDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f25a4af45fd74e81f58df92fbf637f3596d114e31bd9e5edbc75aef4ce9aff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/legacy-execution-recovery.ts: server/src/services/legacy-execution-recovery.ts changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in legacy-execution-recovery.terminalizeLegacyExecution 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/legacy-execution-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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396ff86e937f24fe5f0d3a37c5aac8a59ec22a81d1dab819823c9173599c225"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-projection.ts: server/src/services/execution-projection.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in execution-projection.projectExecution at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-projection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2426f51e2d221b593dcfb5106e48b3cfad8e1cbe9f7192835c3c07dd789946c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/pi-local/src/server/execute.ts: packages/adapters/pi-local/src/server/execute.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 138 in execute.execute at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/pi-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faa10865504cb7df8b93480d3d8a2b4a67a75e8d7b441de55b188c1e37a7ab6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AgentDetail.production.tsx: ui/src/pages/AgentDetail.production.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in AgentDetail.production.AgentDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AgentDetail.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9009aadf7e69a91ee3c6deaa923faaba89025141d662b228abc41b27595eac69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/plugins/sdk/src/worker-rpc-host.ts: packages/plugins/sdk/src/worker-rpc-host.ts changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in worker-rpc-host.startWorkerRpcHost.dispatchMethod at line 1679. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/plugins/sdk/src/worker-rpc-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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c334e6d835f8091f2d276366e3c54b4026430780f9976ed7d62a41b3e65844da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-run-orchestrator.ts: server/src/services/environment-run-orchestrator.ts changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in environment-run-orchestrator.environmentRunOrchestrator.realizeForRun at line 522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-run-orchestrator.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc17760b99e5525f6307b8220e6fb49c700222dc0ecf3f91850136b1adf562a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/new-agent/AgentProviderConnection.tsx: ui/src/components/new-agent/AgentProviderConnection.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 185 in AgentProviderConnection.AgentProviderConnection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/new-agent/AgentProviderConnection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4a416dc2f5055332cea0ce40aeb135e1c938062b9add5c00973c9cb2cd7526"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-recovery-resolution.ts: server/src/services/execution-recovery-resolution.ts changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in execution-recovery-resolution.settleUnrecoverableExecutions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-recovery-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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac5feefe9ba09548f689648740345a2f82f931517001220a7482b738ebe1f1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Costs.tsx: ui/src/pages/Costs.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 198 in Costs.Costs 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Costs.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Costs.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e247f7740090941956ddb83d02a88a738acc4a1bbd632ca2ab4046212af2d82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/execution-target.ts: packages/adapter-utils/src/execution-target.ts changed 56 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in execution-target.startAdapterExecutionTargetPaperclipBridge at line 4403. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/execution-target.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0068d92cb714d70bbdf402cdd0485295187fadfdfa285ea5994310573ce03776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueThreadInteractionCard.tsx: ui/src/components/IssueThreadInteractionCard.tsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 117 in IssueThreadInteractionCard.IssueThreadInteractionCard at line 4304. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueThreadInteractionCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ed0156ed100b4a74db956df92fb354a279824c68fc4f8551ab11a3ea47069b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs: packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in paperclip_runner_core::provider_events::normalize_codex_notification_in at line 1007. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"f012742e37c5339be62f70af4fb0ca4ff3805cc5d73947fb66933064af517571"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/grok-local/src/server/execute.ts: packages/adapters/grok-local/src/server/execute.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in execute.executeTurn at line 250. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/grok-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d561f6860a1a94936ef3b3c4a6b86c68c6af9f09e578038c848118d2ec473f53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/external-agents/muse.ts: server/src/modules/external-agents/muse.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 331 in muse.createMuseBroker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/external-agents/muse.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbfc54d56ce8d23d02d3f2ef8c8f2dc83885b3303b77ebe5b84cb6adf567cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/live/live-session.ts: packages/paperclip-runner/src/live/live-session.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in live-session.assertCapabilityLiveSessionSnapshot at line 589. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/live/live-session.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d478384c65ec7b616dad2a8535d84d8bd0e95b1225cd6a6ff6cf5bafebee43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanySkills.production.tsx: ui/src/pages/CompanySkills.production.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 243 in CompanySkills.production.CompanySkills at line 4026. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanySkills.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c0dd382b967b56cfb980e171fbd059b8e81a809ad323b39cc27bd248595b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/provider-events.ts: packages/paperclip-runner/src/provider-events.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in provider-events.canonicalProviderEventsFromCodex at line 939. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/provider-events.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbfcec439bb7667e0f5b585810166b27eea3eaafd5eaddcdf16d744555e4ea2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/middleware/auth.ts: server/src/middleware/auth.ts changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in auth.actorMiddleware 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/middleware/auth.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dbe5b7e713512287fd6a8e15b8ac541c64983efc9bd4f15aa4f6a693f5aec9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/chat-channels.ts: server/src/routes/chat-channels.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 151 in chat-channels.chatChannelRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/chat-channels.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfc2d43eeb06693760d611ede2f71a8df834147ea6caf8cbab2e297c433b7b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/provider-profile.ts: server/src/services/native-runtime/provider-profile.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in provider-profile.resolvePaperclipRunnerProviderProfile 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/provider-profile.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc133f8dec8fde66e35794133418235c96ec4fa070885d020e6c7d416d382ed9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/gemini-local/src/server/execute.ts: packages/adapters/gemini-local/src/server/execute.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in execute.execute at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/gemini-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"345ba62b6832ebfb231f296bbdb6bd94e897924266db64ad864f84d4a45b88e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs: packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs changed 70 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AcpxCommandExecutor::attach_run at line 1724. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_backend.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab6fad8bdfff1ab806dacdeec15d98e18d10312d226290f943389ba118976bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/cursor-local/src/server/execute.ts: packages/adapters/cursor-local/src/server/execute.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 126 in execute.execute 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/cursor-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b24487e22e950ac68bbe59278f188bc7cb6a5d28b05b01f1eb0b7c4441fd9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/tool-gateway.ts: server/src/routes/tool-gateway.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 153 in tool-gateway.toolGatewayRoutes at line 369. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/tool-gateway.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"15917e16c6f9baa59d7087772b9c8d502bfa1053e558cc2a9de594c9df694d7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/company-skills.ts: server/src/services/company-skills.ts changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in company-skills.companySkillService.listRuntimeSkillEntriesLocked at line 6152. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/company-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":"server/src/services/company-skills.ts"},"region":{"startLine":6152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8317821fb7ca9fed0d57186af4b4257f5db46c197721ce2d76459af9df3b4838"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueDocumentsSection.tsx: ui/src/components/IssueDocumentsSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 321 in IssueDocumentsSection.AccountIssueDocumentsSection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueDocumentsSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"457199db9b6276ffbffc20951bb57d262eb5e81d1f283f4f1d228aa46e8e7122"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-cost-accounting.ts: server/src/services/run-cost-accounting.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 101 in run-cost-accounting.accountRunCost 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-cost-accounting.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e4b1a979521854e83bc080b93fd03a7a41c11c21691bb4525ee5da27a5602"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-failed-workspace-recovery.ts: server/src/services/native-runtime/native-failed-workspace-recovery.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in native-failed-workspace-recovery.preserveNativeFailedWorkspace 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-failed-workspace-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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b4384dbed7ce6d86dd61136dcad56afc950d891a08ffc52ef39c02b6b755ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-recovery-source.ts: server/src/services/workspace-recovery-source.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 136 in workspace-recovery-source.inspectWorkspaceRecoverySource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-recovery-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-source.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eda1f38731f51ed2dc1e05bff750bdab3bf7e1c78bb5bae8a7c2e77b1bba5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts: packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in CodexHarnessSession.startTurn 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af07d07ee1501ebace291ff82eb4d3f6a9bafe62c226f9120bdfaa7382256d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ExecutionBlockerNotice.tsx: ui/src/components/ExecutionBlockerNotice.tsx changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in ExecutionBlockerNotice.ExecutionBlockerNotice 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ExecutionBlockerNotice.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ExecutionBlockerNotice.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c013189f07d8572d43487e95748485bd2b1ad9a3423d662c0b2e0c3c630f7488"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/ai-connections.ts: server/src/services/ai-connections.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in ai-connections.aiConnectionService.save at line 631. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/ai-connections.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"10667b36916c930d5310ca93c41029de06d2a436355363e69d317acf2eb98128"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/.storybook/preview-base.tsx: ui/storybook/.storybook/preview-base.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in fetch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/.storybook/preview-base.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/.storybook/preview-base.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1628abd14c2aee3576f72c23532c37fe126cae74f5b6931bab4a3b60d99c3f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-loader.ts: server/src/services/plugin-loader.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 185 in plugin-loader.pluginLoader at line 1201. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b140cd20924c701deb88a5e62a1d2b1715aaecdbffcc44360c1ad565c9f23eb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueRow.tsx: ui/src/components/IssueRow.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 115 in IssueRow.IssueRow 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRow.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"88403ba03c32f1c1be5b839d2440fcd8aa41e17596790adbe99e9489634f645c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/company-skills.ts: server/src/routes/company-skills.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 182 in company-skills.companySkillRoutes at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/company-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":"server/src/routes/company-skills.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d24206549b79d89f6be2c03a36672fd9c7b56c3f673f063d6314750492e4ed9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ProjectProperties.tsx: ui/src/components/ProjectProperties.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in ProjectProperties.ProjectProperties at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ProjectProperties.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcbafff65517a09623d4eca3e8c576e1e6c38bd46eb35e07c336d33eb0c632c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/codex-local/src/ui/build-config.ts: packages/adapters/codex-local/src/ui/build-config.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in build-config.buildPaperclipRunnerConfig at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/codex-local/src/ui/build-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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4326a7ee7a0201b028f893b5b56474b5e07caf8f202304ed58a0380669c173ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/kimi-local/src/server/execute.ts: packages/adapters/kimi-local/src/server/execute.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 127 in execute.execute 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/kimi-local/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4932ac9349782dc078c9f8892fc727d63b50abd4c4f1f342001983980f814b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-sync.ts: server/src/services/native-runtime/native-workspace-sync.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in native-workspace-sync.readDescriptor at line 454. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ea23e9573e0625513107d978fc3da433911425a2bfa6e402e49b57301b413e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatBubble.tsx: ui/src/components/task-chat/TaskChatBubble.tsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in TaskChatBubble.TaskChatBubbleContent at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatBubble.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a939f05a05eaff4ca1086cc4233c5acc4f1273b3106b2fc308afb722f5894007"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts: packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in codex-acpx-driver.validateRecoverySnapshot at line 2232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"792b83506d9c88be6131fbcd17b67db883695ccd7a82abd07779fb135d82e033"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-safe-replacement.ts: server/src/services/native-runtime/native-safe-replacement.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 133 in native-safe-replacement.reconcileSafeNativeReplacements 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-safe-replacement.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5e74ca9e51051f3f32582eb7c607f4f5fccb641303ed038a7cf0b22a9627e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/api/issues.ts: ui/src/api/issues.ts changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in issues.issueListSearchParams 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/api/issues.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/issues.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26c0012e1f3f0249ca22ba4048bfc816d8bdbc080cf535c2f297c7220bf5e6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/plugins/sandbox-providers/daytona/src/plugin.ts: packages/plugins/sandbox-providers/daytona/src/plugin.ts changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in plugin.executeInSession at line 2528. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/plugins/sandbox-providers/daytona/src/plugin.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"882065d9b71deea6e36455328e55977c97573c622b064e40e715032f8ed05aca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/routines.ts: server/src/services/routines.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in routines.routineService.dispatchRoutineRun at line 1720. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/routines.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f66140607164973c5fd842de1235d559b20b8cc9c31e7db6dbcf5b52ae90a86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/run-lifecycle.ts: server/src/services/heartbeat/run-lifecycle.ts changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in run-lifecycle.createHeartbeatLifecycle.setRunStatusFromLive at line 1227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/run-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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b7c3a21e9a6a7299ba9a320ec78289fa9e80f1857d47d9aca50bf4aa178cd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/backends/harness-driver-backend.ts: packages/paperclip-runner/src/backends/harness-driver-backend.ts changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in HarnessNativeSession.events at line 543. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/backends/harness-driver-backend.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee06a568647f477c758dfbb5858bc61467c9b3f35009da14bab9fb76df5d526"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/companies.ts: server/src/routes/companies.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 146 in companies.companyRoutes at line 279. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/companies.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d99543b576ce778f977db5f074490b847405ddce709eb16dae7d5b0edc23a9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/WorkspaceExportRecovery.tsx: ui/src/components/WorkspaceExportRecovery.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 123 in WorkspaceExportRecovery.RetainedFilesRecovery at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/WorkspaceExportRecovery.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f32426b4ecb22f2192ca3b47bde3dab9c820c8ff6d6a3545832f2bdac5ba1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs: packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in AcpxProviderSession::poll_output at line 880. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43d5710e4156cfe77c39bfb50b8056d80e8bf7ec41f1888bc0d077fae10a58f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/git-workspace-expiration.ts: server/src/services/git-workspace-expiration.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in git-workspace-expiration.expireReconstructableGitWorkspace at line 291. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/git-workspace-expiration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"88836286c842b5dd1de6dbfcf660a5c1b0dd683da28d427e1c058fc052f856d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx: ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 159 in RemoteMcpProductionSetup.RemoteMcpProductionSetup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d849fb6775c3b01cf98198c6781449613f60e6ae714122b2beab4329b55fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-workspaces.ts: server/src/services/plugin-workspaces.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in plugin-workspaces.preparePluginWorkspace 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-workspaces.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9695a44e5200ef1991a955e5441c8e3ef250af3d6be22df14f8792f67dd08c79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-workspace-repositories.ts: server/src/services/execution-workspace-repositories.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 98 in execution-workspace-repositories.executionWorkspaceRepositoryService.prepareForAdmission at line 402. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-workspace-repositories.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3089f564c20f9048cc17f212b03b01d0e47b14d5814ce6c20d781edfb103df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/ComposerRunSettingsPicker.tsx: ui/src/components/task-chat/ComposerRunSettingsPicker.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in ComposerRunSettingsPicker.ComposerRunSettingsPicker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/ComposerRunSettingsPicker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerRunSettingsPicker.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"944920df09cc7b01f849167a0f8082e26bb53d529a0665c0fdbac7eb64624329"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/chat/ExternallyConnectedTaskBanner.tsx: ui/src/components/chat/ExternallyConnectedTaskBanner.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in ExternallyConnectedTaskBanner.ConnectedTaskComposer at line 160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/chat/ExternallyConnectedTaskBanner.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd150ce22167a6db7ee9f0ec800e50ce7acea5789b89c3e51b9a48cef85fbba4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CoordinatorTasks.tsx: ui/src/pages/CoordinatorTasks.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in CoordinatorTasks.CoordinatorTasks 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CoordinatorTasks.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d735965e89b29e2cdd9d0d00202ec232e298dd119baff00a7d61addaad57318"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/runner-api-client.ts: server/src/services/native-runtime/runner-api-client.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in runner-api-client.executeRunnerApi 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/runner-api-client.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc5f1136526f48477080ab6c427f293cd24d627573790b320c29580b1fcb442"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-conversations.ts: server/src/services/agent-conversations.ts changed 60 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in agent-conversations.prepareConversationTurn at line 178. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-conversations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"25afe9c19ee2ebc8e55ec2335be5c0b52445cf3eb3f0e355d9756bccb0805fe0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/new-agent/AgentBasicsDialog.tsx: ui/src/components/new-agent/AgentBasicsDialog.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in AgentBasicsDialog.AgentBasicsDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/new-agent/AgentBasicsDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ac04858b6ff6a9c80491900f09a894f36c0768829165b1dce04ec310fce1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-execution-target.ts: server/src/services/environment-execution-target.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in environment-execution-target.resolveEnvironmentExecutionTarget at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-execution-target.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-execution-target.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78c6baa95f72936c55296cfc82b08394a300c667734d30a854f3899d12eb78a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/shared/src/validators/issue.ts: packages/shared/src/validators/issue.ts changed 61 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in issue.resolveIssueRecoveryActionSchema at line 693. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/validators/issue.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046c807db0765897d63bc7d84ede3374f08b96c5dcecdc4895475f46d8bb6b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/ProjectDetail.tsx: ui/src/pages/ProjectDetail.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in ProjectDetail.ProjectDetail at line 330. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/ProjectDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44a15a0f2f18405a6f104a37f6fa5cb481601816dae021d26ea916ebb1a10b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/cancelled-native-startup.ts: server/src/services/cancelled-native-startup.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in cancelled-native-startup.isCancelledNativeStartup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/cancelled-native-startup.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"479360392d4b6e882c93983bd637b4c206bbe8e14888f287a411958bbed73834"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/fresh-continuation-fallback.ts: server/src/services/fresh-continuation-fallback.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 144 in fresh-continuation-fallback.continueFreshInTransaction 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/fresh-continuation-fallback.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b296aa477308a8969eabe4c624d382cef4f03708ac25d5fb66542d96e6d28b13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-finalization-ownership.ts: server/src/services/native-runtime/native-workspace-finalization-ownership.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in native-workspace-finalization-ownership.withNativeWorkspaceFinalizationOwnership 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-finalization-ownership.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"646b4e996b06336d5681dfd71c1cf394e7c4152df3d64aaeecc3f4572b77a3c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/backends/codex-native-backend.ts: packages/paperclip-runner/src/backends/codex-native-backend.ts changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in codex-native-backend.createTransportBackedNativeSessionBackend 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/backends/codex-native-backend.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/codex-native-backend.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0851a1407f6e88d51f24f5c6e6070bd2508c0913f395c6d981581610777b371"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environments.ts: server/src/services/environments.ts changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in environments.environmentService.ensureManagedSandboxEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/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":"server/src/services/environments.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9408f6a78626e4ecc52a2da61419768b12744e3c4f44f84bb1b6a505b57c9706"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/instance-settings.ts: server/src/services/instance-settings.ts changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in instance-settings.instanceSettingsService.updateExperimental at line 623. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/instance-settings.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/instance-settings.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"30530c89750a8975c6a22b555062f34b995050e058709eeeb76335e5af79a1f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/MarkdownBody.tsx: ui/src/components/MarkdownBody.tsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in MarkdownBody.MarkdownBodyImpl 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/MarkdownBody.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b91388b5431bbfe13143e58666c54a04c0b74fda8e9d24ad92df82fdcc0e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/db/src/client.ts: packages/db/src/client.ts changed 79 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in client.applyPendingMigrationsManually at line 759. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/client.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be8bbe87004a4efad2ac92cd6ec32eea5623c2e86e23758b9f622c8b7941a19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Agents.tsx: ui/src/pages/Agents.tsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in Agents.Agents at line 194. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Agents.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Agents.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd9f8c480f109b98f67ca55e25883456ed957363c5aa18842251c46ea7d3cb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/plugins.ts: server/src/routes/plugins.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 335 in plugins.pluginRoutes at line 533. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/plugins.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3099377493424c9bd37714009122fb0b9331928b3e73c0698f3a502875194af3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/config.ts: server/src/config.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in config.loadConfig 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/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":"server/src/config.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a736d68a17cee4283213120cc4dfce392f1e23c74e6f430ddbb5ff8c73a06b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/interactions/callbacks.ts: server/src/services/chat-channels/interactions/callbacks.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 164 in callbacks.createChatInteractionCallbacks.handleAction at line 563. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/interactions/callbacks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"729c0784c2467e0be274de3a0479140e03a565ca2666626ac8d0a914a9b0d728"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/claude-local/src/server/test.ts: packages/adapters/claude-local/src/server/test.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in test.testEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4596afd5f0e7672238b72ce1316d22227f1d13394251be4cd41e6ff9e7a81d63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentActionButtons.tsx: ui/src/components/AgentActionButtons.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in AgentActionButtons.AgentActionButtons at line 160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentActionButtons.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bc067c63ec7595794ff0b83362936c065d1f52fbec4acea830a60382374e41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/ownership-invariant-report.ts: server/src/services/recovery/ownership-invariant-report.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in ownership-invariant-report.runOwnershipReconciliationPass 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/ownership-invariant-report.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a367e348d290ba58c4f6824360c6445e231e033b8792e7e3c137018dfd6c5b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/InviteLanding.tsx: ui/src/pages/InviteLanding.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 127 in InviteLanding.InviteLandingPage at line 215. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/InviteLanding.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ed22d866e7dfef9875e498c495d4968dc112d357c2869aca25a6e891b152ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/paperclip-control-plane-port.ts: server/src/services/native-runtime/paperclip-control-plane-port.ts changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in PaperclipControlPlanePort.checkpointSession at line 278. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/paperclip-control-plane-port.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ceb83efcefbd0feb2574fe5c1a97a0a0c69d79df689d84b0e3cd6f7d7a275f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-session-resume.ts: server/src/services/native-runtime/native-session-resume.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in native-session-resume.rebindNativeSessionCheckpoint at line 627. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-session-resume.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe208918ec5c035eff1224168e2a679f514742ef35c49632fc2a3b9693e58a9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/Layout.production.tsx: ui/src/components/Layout.production.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in Layout.production.Layout at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/Layout.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"17930c18c8872d12364afb254069950615b1380f84ea652d6c3fe295156355dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-control-reconciliation.ts: server/src/services/execution-control-reconciliation.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in execution-control-reconciliation.reconcileAbandonedExecutionControl 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-control-reconciliation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-control-reconciliation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"42748e808aa8403fe0368494b15af7ba307723bd245079c38783b1b63fb4cd4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatThreadView.tsx: ui/src/components/task-chat/TaskChatThreadView.tsx changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in TaskChatThreadView.renderItem at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatThreadView.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"284107edc4ba99be62dccd1acab755ddfb07fd713a677eceb679e4fd87232df5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/claude-local/src/server/acp.ts: packages/adapters/claude-local/src/server/acp.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in acp.testClaudeAcpEnvironment at line 836. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/server/acp.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4a405b312c2a611e90025fdcb452b7116389601ca34331d93eed6c62766a28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/ExecutionWorkspaceDetail.tsx: ui/src/pages/ExecutionWorkspaceDetail.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 129 in ExecutionWorkspaceDetail.ExecutionWorkspaceDetail at line 785. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/ExecutionWorkspaceDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c52db2b0c99196a16766f1fc03132cd41e3d6a0015faf800d0e87d3c4a7c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts: packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in installation-integrity.verifyQualifiedAcpxInstallation at line 645. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fb46c26c9da1bccbbaffef48777149a8dbcf2bfbd84a4180e07c22b0784a74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/external-chat-question-response.ts: server/src/services/native-runtime/external-chat-question-response.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 230 in external-chat-question-response.resolveQuestionResponseChain at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/external-chat-question-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":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b883d5ccdb51f84791c5348960c0a66b2bb583469b8d05299cd20a852106f1cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issue-recovery-actions.ts: server/src/services/issue-recovery-actions.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in issue-recovery-actions.issueRecoveryActionService.upsertSourceScopedUnlocked 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-recovery-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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd95c64ebdbf9a4d55532545265a8fa3f6ae4a1aabbadd58d17c7e9e567bed4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/coordinator/CoordinatorNeedsYou.tsx: ui/src/components/coordinator/CoordinatorNeedsYou.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 160 in CoordinatorNeedsYou.CoordinatorNeedsYou at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/coordinator/CoordinatorNeedsYou.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c2462b430feca90fc34db9505e8036af46373b8ae4692220638b05e3b2b461"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/runner-tool-bridge.ts: packages/paperclip-runner/src/drivers/runner-tool-bridge.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in runner-tool-bridge.handleRequest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/runner-tool-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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4c8f9cb7455b53953e594a2e6d2fd4db843807d7681737da705d9335cec1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/projects.ts: server/src/services/projects.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in projects.projectService.updateWorkspace at line 1230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/projects.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"432f4fb31baffa562c7dd7a647bb9fe4167e48f668e0f4165b46093e29b5a81f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatQueuedMessages.tsx: ui/src/components/task-chat/TaskChatQueuedMessages.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in TaskChatQueuedMessages.TaskChatQueuedMessages 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatQueuedMessages.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c97feba23a42c96eb3890a00631213f2b74e08c7894db3e9c438f7f7c0cd337"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/wake-queue/application/use-cases.ts: server/src/modules/wake-queue/application/use-cases.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in use-cases.runReleaseRecoveryTail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/wake-queue/application/use-cases.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4013e42167d88d3f268c5185a471b9f0bab9a35d9a4cb716d0d5b14d7e4011"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/instance-settings.ts: server/src/routes/instance-settings.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in instance-settings.instanceSettingsRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/instance-settings.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/instance-settings.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8cbeced84de101eb03604a4e22cedd8098b28cbbe272661af6e5c2e8f8b742"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/cases.ts: server/src/routes/cases.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in cases.caseRoutes at line 594. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/cases.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"686d11bc617b7ee4f9b22f5e829dfe8bfd2d4b10b524211b58ca5e18b0a954b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/InstanceExperimentalSettings.tsx: ui/src/pages/InstanceExperimentalSettings.tsx changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in InstanceExperimentalSettings.InstanceExperimentalSettings at line 125. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/InstanceExperimentalSettings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2e23a999877ba151e4a009698d5a1ef18231266eb39d46a5207dac194bf0e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/companies.ts: server/src/services/companies.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in companies.companyService.update 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/companies.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/companies.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1694d420e4b5113e6ebff396302844925f68dd04e9d07bb9e7ae7b933086ea38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/usage-receipts.ts: server/src/services/usage-receipts.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in usage-receipts.persistUsageReceiptInTransaction 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/usage-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":"server/src/services/usage-receipts.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa33a282584f6e0e0f24f8e98dfc3d5a727ad42661654821f00e1dc6e0619183"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/paperclip-cloud-connector.ts: server/src/services/paperclip-cloud-connector.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in paperclip-cloud-connector.createPaperclipCloudConnector.leaseEvents at line 614. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/paperclip-cloud-connector.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1394b7e179b2c25360e1a02d167d351dd6d9254389361cedee9ec214bed0199"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/workspaces.ts: server/src/services/heartbeat/workspaces.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in workspaces.createHeartbeatWorkspaceResolver.resolveAnchorWorkspaceForRun at line 3459. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/workspaces.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"133472eb6977e946958e25570d2b9ce3ecb39be3e5c27ca9e18841f89a224502"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/run-vitest-stable.mjs: scripts/run-vitest-stable.mjs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in run-vitest-stable.parseCliOptions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/run-vitest-stable.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":"scripts/run-vitest-stable.mjs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"741ffd26223652089b6606ca1f94ff6718c2529a8dea5d1f2be5bf40bb5c32ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueRecoveryActionCard.tsx: ui/src/components/IssueRecoveryActionCard.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in IssueRecoveryActionCard.IssueRecoveryActionCard at line 992. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueRecoveryActionCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ead36d7fe3008515f925f8fcbc21ff2aefd6198563c7593af4aa941fc6f590"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/sentry.ts: server/src/sentry.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in sentry.captureRunFailureEvent at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/sentry.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0b9bd1eee825c2ab8d8dae430beef53411cf00202a8ba5b8b89297f60b9f1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/access.ts: server/src/services/access.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in access.accessService.sweepMemberConnectionAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/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":"server/src/services/access.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd62e7148c1e85cbdb70e36495b7c682f2ac2982344c3d111ff27f71155ea2e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskMessageScroller.tsx: ui/src/components/task-chat/TaskMessageScroller.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 100 in TaskMessageScroller.TaskMessageScroller 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskMessageScroller.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf72fabd18e73df85b140185fc4c7a6649264c65f9ce6c56289688d96803331"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-interaction-publications.ts: server/src/services/chat-interaction-publications.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in chat-interaction-publications.enqueueIssueInteractionChatPublications at line 251. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-interaction-publications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba67c5773412542489d461d238f6e99391d8f801af1ab32e0120d000eabaf0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Routines.tsx: ui/src/pages/Routines.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 110 in Routines.Routines at line 314. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Routines.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ffecf49d6bb32971475b4cf49e15743bc69f12a032abec100a37ceda468e64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/scoped-deadline-work.ts: server/src/services/scoped-deadline-work.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in scoped-deadline-work.registerScopedDeadlineWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/scoped-deadline-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scoped-deadline-work.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61bb47189bde2a1e878be3450f3e2e24044da54a4e28992e4097c706691749"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/realtime/live-events-ws.ts: server/src/realtime/live-events-ws.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in live-events-ws.setupLiveEventsWebSocketServer 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/realtime/live-events-ws.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b3723af00f464bdfc56ea6ff40e45ec8977dae76627c8b9c83120a7b9ec86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/devtools/issue-thread/src/App.tsx: packages/paperclip-runner/devtools/issue-thread/src/App.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 190 in App.App at line 298. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/devtools/issue-thread/src/App.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7036fe2466902219f5dba5089d3cfd9bd819dc930065ac69eb7d1902f5992a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Dashboard.tsx: ui/src/pages/Dashboard.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in Dashboard.Dashboard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Dashboard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a7e77d1372f930a40928a639e1550cf04ac9ed6ea7d724561a3149cfe623ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/DesignGuide.tsx: ui/src/pages/DesignGuide.tsx changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DesignGuide.DesignGuide 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/DesignGuide.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ff015a5a5ee2e21f82490254153efb996e3f176d4dafa2e244818739d0758c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat-run-events.ts: server/src/services/heartbeat-run-events.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in heartbeat-run-events.appendNativeSourceEvent at line 406. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat-run-events.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c159c60757db0a5e65274f892e7c4128dc46ec8259e5488ff1074ac68c1ea072"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/sandbox-callback-bridge.ts: packages/adapter-utils/src/sandbox-callback-bridge.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in sandbox-callback-bridge.startSandboxCallbackBridgeWorker.processRequestFile at line 962. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/sandbox-callback-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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca292f841430bef3335acd8d7476fad8448e3a5369fbbdbcceb67460c1378a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/middleware/error-handler.ts: server/src/middleware/error-handler.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in error-handler.errorHandler at line 160. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/middleware/error-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":"server/src/middleware/error-handler.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f303453504d01eb53f64f66f3ba9ba2be7c8ff0a54ec95abd1bb79181fdfc8e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/routines.ts: server/src/routes/routines.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 103 in routines.routineRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/routines.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21f03e12740f3a7d395c908ab765c668534f81d243ea1e34be7db13f8c23a36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access-policy.ts: server/src/services/tool-access-policy.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in tool-access-policy.toolAccessPolicyService.loadContext at line 1066. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access-policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6fe56019f150c8ac2d0a9259ef5139d3765df70021f3ab3b977f622641c33e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-finalizer.ts: server/src/services/native-runtime/native-workspace-finalizer.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in native-workspace-finalizer.attemptNativeWorkspaceFinalization 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-finalizer.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e8fde00f7230e64f18662267425a4ec1c81ad34c263c67b044e8b459e6357a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/AppsConnect.tsx: ui/src/pages/apps/AppsConnect.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in AppsConnect.AppsConnect 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/AppsConnect.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppsConnect.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"072860402ed0f761faadd142b0101f4da12a452a77182d029bca6abcbf1cac2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-session-state.ts: packages/paperclip-runner/src/drivers/codex/codex-session-state.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in CodexSessionState.constructor 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-session-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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bcf5b58c8c141adcc474f1486f50e8dea078be3bc7efe38858675398e9c20b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatRunnerTurn.tsx: ui/src/components/task-chat/TaskChatRunnerTurn.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in TaskChatRunnerTurn.TaskChatRunnerTurn at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatRunnerTurn.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"20376e9265f4e6cf3b55c267fa263da0037ec12cf1bf8506e993381c107e79a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/RoutineDetail.tsx: ui/src/pages/RoutineDetail.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 126 in RoutineDetail.RoutineDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/RoutineDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97dc37c420ee9d6a4196efa5ae063ae175ddc64c4fa0ede6171cefbf936361e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/backends/runtime-context.ts: packages/paperclip-runner/src/backends/runtime-context.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in runtime-context.nativeTaskConstraints 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/backends/runtime-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/runtime-context.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c4a7cda71dc19f9b037d6df5251a4be3968cc1c098e9e730ebcca610e9e409"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/adapters.ts: server/src/routes/adapters.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in adapters.adapterRoutes at line 252. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/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":"server/src/routes/adapters.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f60fde97271b9166a0dd7ef4ac7665cf01333d17a1942a5e5b8e4acf0fe273"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-snapshot-storage.ts: server/src/services/remote-workspace-snapshot-storage.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in remote-workspace-snapshot-storage.uploadVerifiedWorkspaceSnapshot at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-snapshot-storage.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ba141855cad8a49088c9f9a1fa409f2141de90706de07025dd9e2e57aff568"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/task-context.ts: server/src/services/heartbeat/task-context.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in task-context.prepareHeartbeatTaskContext 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/task-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3ee76e3ccd5a17dd731b45c86b47f177dd1a07d1d06964b07f98398248d711"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/QuestionForm.tsx: ui/src/components/task-chat/QuestionForm.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 108 in QuestionForm.QuestionFormForRequest at line 246. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/QuestionForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d3352d390ea6548cde7be8243a924817fab6d2be3c9d592580d351fda71e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/GitHubChatSetup.tsx: ui/src/pages/apps/chat/GitHubChatSetup.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 144 in GitHubChatSetup.GitHubChatSetup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/GitHubChatSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7271b35106781b23fccb209077c0e02dcdda795d41d5236de514dea81bf2ca0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/budgets.ts: server/src/services/budgets.ts changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in budgets.budgetServiceInTransaction.upsertPolicy at line 850. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/budgets.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"8340bf03819dc4a2019dfd9f7d7ff0bddb58a194ff6d7adc9b6bcc1368b967c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts: packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in runtime-sandbox.prepareAcpxRuntimeSandbox at line 344. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e0a9034ee5ef7fb8a627631156132812f947b6257ec408458cab4ec80ad54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-directory-working-copies.ts: server/src/services/agent-directory-working-copies.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in agent-directory-working-copies.agentDirectoryWorkingCopyService.adopt 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-directory-working-copies.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8286917e8b8edd1ae14a949dac5f539feb0d95cea584a54565954bf10c3ee9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/assigned-mcp-tools.ts: server/src/services/native-runtime/assigned-mcp-tools.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in assigned-mcp-tools.createAssignedMcpTools at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/assigned-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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb3fafaecdb7563b6ff503484fb5b55f5388be41fae67eea3bb8a3322f35604"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/runner-api-catalog.ts: server/src/services/native-runtime/runner-api-catalog.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in runner-api-catalog.dedicatedTools 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/runner-api-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":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7057ee33880e5c8565ee6573e7cdb03d78cd9e6e3f360f7b172ed05a9877fd16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/agent-lifecycle/adapters/postgres.ts: server/src/modules/agent-lifecycle/adapters/postgres.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in postgres.changeLockedAgent 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/agent-lifecycle/adapters/postgres.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b28993f7496969d971c7779fa4ff23bc6dd6f09050e347d2eea51e14d50b00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-transport.ts: server/src/services/remote-workspace-transport.ts changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in remote-workspace-transport.captureReadOnlyWorkspaceArchive at line 515. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-transport.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e109aeee6fc3fd22b48bdb6705602185c0918df51dc3520b6aaf32ecfcc5d5f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/authorization-start.ts: server/src/services/tool-access/oauth/authorization-start.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 138 in authorization-start.createOAuthAuthorizationStart.startOAuth 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/authorization-start.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a08e3d2ff38a0ede05562fe3b7a75b4e75810a08751c8a74b19b08a60bf5f83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/BreadcrumbBar.tsx: ui/src/components/BreadcrumbBar.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in BreadcrumbBar.BreadcrumbBar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/BreadcrumbBar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0677b7d9894da49b31ebf70445466591d4586c87ac9f707d933e2ed201a5f5bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/OrgChart.tsx: ui/src/pages/OrgChart.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 118 in OrgChart.OrgChart 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/OrgChart.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54dd373b0cda8b31717d963f98e05cf4be739202c1beda0afd7c7fc9363a8f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/cli/eval-session.ts: packages/paperclip-runner/src/cli/eval-session.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in eval-session.runEvalSessionCli 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/eval-session.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a7ff75dc2612ca98a0ad175feeb30c574b09d8bd13feafcb122fa6726c6ae9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/company-search.ts: server/src/services/company-search.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in company-search.companySearchService.search at line 558. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/company-search.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"822602801d46fee9d323c792f097fe0cda8f33aa2d283f2a1a166c914d93a28d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-recovery-receipt.ts: server/src/services/workspace-recovery-receipt.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in workspace-recovery-receipt.verifiedWorkspaceRepairReceipt 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-recovery-receipt.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-receipt.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8146aab991e535731f29c528e2216e66e696ade7ad954d1b1a7a9ba8b009abbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-harness-verification.ts: server/src/services/agent-harness-verification.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in agent-harness-verification.agentHarnessVerificationService.verify 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-harness-verification.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc87b4db4254a708986094f5df09c5df8a3487e03f406419f05a629d6bd73370"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/plugin-runner-task.ts: server/src/services/native-runtime/plugin-runner-task.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in plugin-runner-task.createPluginRunnerTaskOwner.prepareLaunch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/plugin-runner-task.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3ec110339de2bbd56c723832c8af3a067b7aa5b5a1005a4f1104301bb9b0eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/WorkspaceFileBrowser.tsx: ui/src/components/WorkspaceFileBrowser.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 156 in WorkspaceFileBrowser.WorkspaceFileBrowser at line 498. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/WorkspaceFileBrowser.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27a1dfcb3e27563d5e74c192523eb15f781bf4bfe893658041c4e61ced051ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/catalog/discovery.ts: server/src/services/tool-access/catalog/discovery.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 110 in discovery.createToolCatalogDiscovery.remoteTools 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/catalog/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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e50fd91699109c825870280ca6c7f63dee4d3b88245aaabe103fc4328042cca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiConnectionField.tsx: ui/src/components/ai-connections/AiConnectionField.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in AiConnectionField.AiConnectionField 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiConnectionField.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionField.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"131d9621191993522cd736df994e741ed3015e00e3bbc652d001931796f92844"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/assigned-work-sweep.ts: server/src/services/recovery/assigned-work-sweep.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in assigned-work-sweep.assignedWorkSweep.act at line 597. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/assigned-work-sweep.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62ef88abc03e0f8bb30a5017895f44ffe59b6842fc424816d43b31e572e448"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-interaction-bridge.ts: server/src/services/native-runtime/native-interaction-bridge.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in native-interaction-bridge.materializeNativeInteractionResponses 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-interaction-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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"864e47446e7ca169fe9f7329655ccfe75c476e80c1fa1a8bbe2904478c409ff8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/Connections.tsx: ui/src/pages/apps/Connections.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in Connections.Connections 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/Connections.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9798247288775683df70662e65b0aa86f489e057e836a7811ce8a473b92e712"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/fresh-workspace-continuation.ts: server/src/services/fresh-workspace-continuation.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in fresh-workspace-continuation.readFreshWorkspaceReadiness at line 344. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/fresh-workspace-continuation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"515a239c06245ad9497a7620674eb5a034e6ed336d621f02063575ddc5b433cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ingest-app-definitions.mjs: scripts/ingest-app-definitions.mjs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ingest-app-definitions.specialMethodsFor at line 1236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/ingest-app-definitions.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":"scripts/ingest-app-definitions.mjs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"117da3a644d24e536e97cf2a85ff7b2f35ab7b75862fc719d3adec39e5f8be97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/built-in-agents.ts: server/src/services/built-in-agents.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in built-in-agents.builtInAgentService.materializeInstructions at line 966. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/built-in-agents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0a4465e9b00ed039defad00d26747f2b3374c9ce82e8144e26396106cdb123"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/new-agent/ExternalAgentInviteDialog.tsx: ui/src/components/new-agent/ExternalAgentInviteDialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 103 in ExternalAgentInviteDialog.ExternalAgentInviteDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/new-agent/ExternalAgentInviteDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d70631ceb2656d08961191e13b7f9e06280ad4c931bbb538db84e93fb9141c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/App.tsx: ui/src/App.tsx changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App.boardRoutes at line 150. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/App.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/App.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb090fca1da7446090c92d610bf0ff146957d16749f15a0c0607f4d00e6b6fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/chat-feature-testops-api.mjs: tests/runner-e2e/chat-feature-testops-api.mjs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in verifyChatUpload 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/chat-feature-testops-api.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":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c2b44d81e1b2a773ade997460f648a3bbb20cd3d2ada7810b2b65ae82d86eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/SkillSources.tsx: ui/src/pages/SkillSources.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in SkillSources.SourceDialog at line 246. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/SkillSources.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f6450eaf2a5092d7214db1619a04da5bb279452c42c14b8deacb226272f66e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/McpConnect.tsx: ui/src/pages/McpConnect.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in McpConnect.McpConnectRequest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/McpConnect.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/McpConnect.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ad1ed6a44e4764951d9d3333a29780043a263ac298256095101f09a23a6ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/skill-sources.ts: server/src/services/skill-sources.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in skill-sources.skillSourceService.refresh at line 263. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/skill-sources.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e33509ec5b74580b549483ae5763b5bbca2307c5c1541e83a78e3ba0974aa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/EmailEndpointSetup.tsx: ui/src/pages/apps/chat/EmailEndpointSetup.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 177 in EmailEndpointSetup.EmailEndpointSetupForm 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/EmailEndpointSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"59419e258c981d2f44a53a69747830608804fd9a286b29dee2ed1e3bcaaf3e0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/configuration.ts: server/src/services/chat-channels/configuration.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 118 in configuration.createChatConfiguration.configureWithCredentialLease at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/configuration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb1be4cdf767151eaca2941b2ba801838e1fe750be79ed8007b50415706d39d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts: packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in mcp-bridge.handleRequest at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/opencode/mcp-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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cc5e56b4e372a8284a5bc368e05cf536107e683428d4e4338b3b1d26232a40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-operations.ts: server/src/services/workspace-operations.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in workspace-operations.workspaceOperationService.createRecorder.recordOperation at line 584. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-operations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-operations.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa50955da0c7aa70664a2c302907f06b202f527c2f1e9617744ba88f767fc0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs: packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AcpxSidecarTransport::start_for_agent at line 254. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d587fef0bbea1529b74245fdb2fd8f5db321193b555b993807b9cfb7da7de21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/activity.ts: server/src/services/activity.ts changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in activity.activityService.runsForIssue at line 471. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/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":"server/src/services/activity.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9477e22adbcf581e4da9601892a231b4c64638c332018d9e9ef56b702c34d07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/git-workspace-restoration.ts: server/src/services/git-workspace-restoration.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in git-workspace-restoration.assertReproducibleGitFiles at line 550. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/git-workspace-restoration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac774bf0f71c702a8e63acba0f845813f9b92a0b493675d06c855d72b3615e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/task-markdown.ts: server/src/services/heartbeat/task-markdown.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in task-markdown.buildPaperclipTaskMarkdown at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/task-markdown.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/task-markdown.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f75da3d76cf029e5460176bdc01d9af5e5743bb1cbdb01d42091dc7ddac65e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/audit/AuditFeed.tsx: ui/src/pages/audit/AuditFeed.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in AuditFeed.AuditFeed 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/audit/AuditFeed.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d033c4260fea6d204e5841a202fce606c9d819d9974c84f5b7851c138a7b3709"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/catalog/publication.ts: server/src/services/tool-access/catalog/publication.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in publication.createToolCatalogPublication.refreshCatalog at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/catalog/publication.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/publication.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e6441aa2ba3fdb010da696a0d7f40c889068313c4f3f23edfbccadfcafbaa0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-harness-backup-storage.ts: server/src/services/native-runtime/native-harness-backup-storage.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in native-harness-backup-storage.fence 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-harness-backup-storage.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e7a515149526cb6d1e810466662b20e9e70acbcd803f04b8fbc9a831a41619"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-reconstruction.ts: server/src/services/native-runtime/native-workspace-reconstruction.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in native-workspace-reconstruction.validateNativeWorkspaceReconstruction 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-reconstruction.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e4774829d01206bca19d4e3d3d4fb5d2005d86e480870313dbd56d53b3d4ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/activity.ts: server/src/routes/activity.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in activity.activityRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/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":"server/src/routes/activity.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c721a02788c9be5606cf98e86988217d320efdb2182f247bb392563d2f5698"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/issue-tree-control.ts: server/src/routes/issue-tree-control.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in issue-tree-control.issueTreeControlRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/issue-tree-control.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63b30b21d7ea0ce5aa9f72f0ffe7d2fe9a3c7e556031e86e55ff4983c48bf12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/hermes/src/server/execute.ts: packages/adapters/hermes/src/server/execute.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in execute.execute 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/hermes/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/server/execute.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7562e32e7cdcd2f0c1181c64c59156e2dd707dc497b80b2765e97232967cee2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-instruction-working-copies.ts: server/src/services/agent-instruction-working-copies.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in agent-instruction-working-copies.agentInstructionWorkingCopyService.prepare 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-instruction-working-copies.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c56ed00d231c4c3b0f9fbd715b255ee065983e70efc7fedae13aa680ea270e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/environment.ts: packages/paperclip-runner/src/drivers/acpx/environment.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in environment.createSanitizedAcpxSpawnInput 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/environment.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b356167d85d2d6c54ebb61db68132eb7a95a2cdf1ae27d78e3cf736432256a76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatInteractionCard.tsx: ui/src/components/task-chat/TaskChatInteractionCard.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in TaskChatInteractionCard.TaskChatInteractionCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatInteractionCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatInteractionCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9928b93175e712d816dc7837751d5effec52b8a841a67255988a7e671446cff2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx: ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in TaskChatCompactInteractionCard.ConfirmationCard at line 829. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"68759994729a95616714ca92f8d776b4134dc0039b6eb318ac61b53244e85994"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/secrets.ts: server/src/services/secrets.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in secrets.secretService.rotateUnlocked at line 2471. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/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":"server/src/services/secrets.ts"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712b044e5279ca072c0fa761ab5c335d991c6fbd61e72fa83f7539ade814e89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-reviews.ts: server/src/services/chat-github-reviews.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in chat-github-reviews.githubChatReviewService.processPublication at line 1023. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-reviews.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"321a8f660a1782dab0445ec5790f4655fd18f8a09be16c50d468e538c8279595"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts: packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in opencode-app-server-proxy.handle at line 346. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/opencode-app-server-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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e1c13e1e8829f3e0fab44bf969a7a0125c67a3bab8e2edbc5bb8d35e3967c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/connection-management.ts: server/src/services/connection-management.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in connection-management.connectionManagementService.prepareAuthorization 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/connection-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":"server/src/services/connection-management.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a378f670656b94c5a5547ad0a9910edac0c12ece5bf974a2a70ff6c421fc1c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx: ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in AgentChatPrototype.AgentChatPrototype at line 223. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8445e4e645faca6659169316eca28d8d38f7f447173533c3b0488a3a98c215"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/middleware/logger.ts: server/src/middleware/logger.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in logger.createHttpLogger 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/middleware/logger.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/logger.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f74590a8141aa114acf0bb64a35f3fc472cb3385b18fec4c55d94afc94e80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/opencode-local/src/server/test.ts: packages/adapters/opencode-local/src/server/test.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in test.testEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/opencode-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/test.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"394934b7dd4edb6ce899a09779597f1c59429a2d24b44b8edf514d8fb46aea70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-local-process-stop.ts: server/src/services/native-local-process-stop.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in native-local-process-stop.inspectSettledNativeRunProcess at line 465. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-local-process-stop.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74fc777ba221abc92e02a52511e0002b6389ff46ef2cfc2c35a87d05f11c708"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs: packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in DurableRunnerConfig::validate at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bcdaf9625f6d257ceb9dde7dfa58c87102a7b436be03ff8d8e28338d69dc74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-migration-tree.ts: server/src/services/remote-workspace-migration-tree.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in remote-workspace-migration-tree.inspectOnlineOrdinarySource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-migration-tree.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1f708b0c3965eb013005c2a9af4911a00863e6df832b9b18c7e9dec4918b78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/controlled-evals/manifest.mjs: packages/paperclip-runner/scripts/controlled-evals/manifest.mjs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in manifest.validateManifest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/controlled-evals/manifest.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/paperclip-runner/scripts/controlled-evals/manifest.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e395bcbec40ea3c8eb943c79915432311f6dac95be3582ffb31363701eb6d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Issues.tsx: ui/src/pages/Issues.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Issues.OrganizationIssues at line 172. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Issues.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Issues.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7bff08f7286de59581d1fc30d6765ea0f6756601275b04d4ffa032e6282eb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-preparation-timing.ts: server/src/services/execution-preparation-timing.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in execution-preparation-timing.measureTraced at line 210. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-preparation-timing.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0fec224c42238af6c00c1e4f2aa4ab1a9917cc11a32dec6761e5087af181f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/github-skill-source.ts: server/src/services/github-skill-source.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 115 in github-skill-source.scanRepository 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/github-skill-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-skill-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7afd8068bc0fa7785fb733f75f81c737f4e69a8ec300cc71078b4a7c0f3444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/transcript/useLiveRunTranscripts.ts: ui/src/components/transcript/useLiveRunTranscripts.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in useLiveRunTranscripts.useLiveRunTranscripts 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/transcript/useLiveRunTranscripts.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eefa45ffed317a579325c7fdf6639289ab9f6fe5d5f932a0f9026fcc41422c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/browser-use.ts: server/src/services/browser-use.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in browser-use.browserUseService.execute at line 340. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/browser-use.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218e71d1ccf9bacae7e9745efb6ad75be1e4ad814f5e15b30af200f68968556"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/codex-local/src/server/test.ts: packages/adapters/codex-local/src/server/test.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in test.testEnvironment at line 273. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/codex-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/test.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1645d73800bed6e57ca79505b37b2d0e78ac9824da737a4518c2146bd3e3e020"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-identity.ts: server/src/services/run-identity.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in run-identity.initializeRunIdentity 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-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":"server/src/services/run-identity.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e7288511d65085c39a70d49223e7a70a2b8ed1bb5ddca4b819ff147c9e6073"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/RichWorkProductCard.tsx: ui/src/components/task-chat/RichWorkProductCard.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in RichWorkProductCard.RichWorkProductCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/RichWorkProductCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b75fc713ae9f09935d8e813202655168f83b9ed1650104878f6a3d359d289f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-response-comments.ts: server/src/services/chat-github-response-comments.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in chat-github-response-comments.writeGitHubResponseComment at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-response-comments.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81258e75746c572de38b940f76184166af6ba5a44d962ee0d57898bbc97a9b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/paperclip-runner-permissions.ts: packages/adapter-utils/src/paperclip-runner-permissions.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in paperclip-runner-permissions.paperclipRunnerTransitionConfig 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/paperclip-runner-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/adapter-utils/src/paperclip-runner-permissions.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"638f3b10724162c85ac37e70efd2cb7f73b86cac53d80cf4615d83675449b68c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatTurn.tsx: ui/src/components/task-chat/TaskChatTurn.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in TaskChatTurn.TaskChatTurn 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatTurn.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef312008759c223f7eada35049e713ec84e0adb8dffbf171992dfcac4c36be1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/issue-chat-messages.ts: ui/src/lib/issue-chat-messages.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in issue-chat-messages.buildAssistantPartsFromTranscript at line 901. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/issue-chat-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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c3507f8b3205c801ee67a838dd91e6bb2b181e62dbb552445afa97ec79a6a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/openclaw-gateway/src/server/execute.ts: packages/adapters/openclaw-gateway/src/server/execute.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in execute.execute at line 1048. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/openclaw-gateway/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edce2c3a4d62d427c93195cc8a62a39c1dcaf341e2ee137f4d160d2502ddd1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/run-dispatch/domain/policy.ts: server/src/modules/run-dispatch/domain/policy.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in policy.decideQueuedRunStaleness at line 507. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/run-dispatch/domain/policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d65e2869cf42cdab1d1ff1d54e1e1f237afce9afda830878bc2d103bc1e912"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx: ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in RemoteMcpConnectionSetup.RemoteMcpConnectionSetup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74b0bad275cfe04108c744028acdba35ff1cd405221941c00c30ecf9988a4e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/runtime-context.ts: server/src/services/native-runtime/runtime-context.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in runtime-context.resolveNativeRuntimeMcpSnapshot at line 337. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/runtime-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c70247a9ccf0ff9c71542043203485c48f26a4015b4b571fd2be729688add8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-failure-report.ts: server/src/services/run-failure-report.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in run-failure-report.reportRunFailure at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-failure-report.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-report.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9cac5066adcdbd28d5921991912dba9c051e240018ad592a642d94e1c89acd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/public-mcp.ts: server/src/routes/public-mcp.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in public-mcp.publicMcpIngressRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/public-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":"server/src/routes/public-mcp.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b05f3272798d6de5e5cdaf0a937c23d8a825e488355d93037b2e1242ec05cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/git-workspace-sync.ts: packages/adapter-utils/src/git-workspace-sync.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in git-workspace-sync.integrateImportedGitHead at line 1061. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/git-workspace-sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c504404e5a2c454b0c7703c9b34ac30c452115442c2fe91fc01a543e2d0d27b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-export-retry.ts: server/src/services/native-runtime/native-workspace-export-retry.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in native-workspace-export-retry.retryNativeWorkspaceExport 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-export-retry.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b1caf14eb6181bb9af3c8139e5190de0f2097e3655d2331f97d08ca1bf032d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/RoutineDetail.production.tsx: ui/src/pages/RoutineDetail.production.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in RoutineDetail.production.RoutineDetail at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/RoutineDetail.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55641062d8735bc89420569f31b2e3347a6e0a1f7e62318a1854608aaea90c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/SkillStudio.tsx: ui/src/pages/SkillStudio.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in SkillStudio.SkillPane at line 1284. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/SkillStudio.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d913354242f0323821d1bc3eed3dcd9b7db0b91f11d867231661600b357df2f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/git-credentials.ts: server/src/services/git-credentials.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in git-credentials.resolveManagedGitHubIdentitySelection at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/git-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":"server/src/services/git-credentials.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36833f12436197926c2fba2580c2994a3a96b6b189a2c9972b56faa811a744f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-runner-checkpoint.ts: server/src/services/native-runtime/native-runner-checkpoint.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in native-runner-checkpoint.validateNativeRunnerCheckpointOwner 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-runner-checkpoint.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"091439e7ff74ae969996dffae521658dd243f624a726f4f6821fe8b10a34c317"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Agents.production.tsx: ui/src/pages/Agents.production.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in Agents.production.Agents at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Agents.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92772934269c0646864f0bd18f0898208b995f813523ad26e9d5807952e2fe4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/idle-issue-schedule.ts: server/src/services/idle-issue-schedule.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in idle-issue-schedule.readIdleIssueSchedule 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/idle-issue-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":"server/src/services/idle-issue-schedule.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fb2dc2c0c5540e5d3cc90e3170a9c24c96767343d15f54b69660159d13d23d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/adapters/paperclip-runner/index.ts: ui/src/adapters/paperclip-runner/index.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in index.parsePrpEvent at line 686. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/adapters/paperclip-runner/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2079f8e5219a7046e37821f2f2c508f679dd2386daea434ea52482c275cf3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/case-handoffs.ts: server/src/services/case-handoffs.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 125 in case-handoffs.caseHandoffService.handoff at line 366. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/case-handoffs.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoffs.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"697900b63178d84b8952aecb82e311533a05c06162ee37799fdeb629ee3c16f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-evidence-migration.ts: server/src/services/run-evidence-migration.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in run-evidence-migration.migrateRunEvidence 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-evidence-migration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-evidence-migration.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d7586ff3886880e6082fdbc4877fb4dbd44cc98eedf5ff1a669b8e76b03d1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-security-config.ts: packages/paperclip-runner/src/drivers/codex/codex-security-config.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in codex-security-config.createIsolatedCodexAppServerArgs at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-security-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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e01255ca376460107d52524ed4abeb8aced1b3713227f014031924c04a5a49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/CoordinatorSidebar.tsx: ui/src/components/CoordinatorSidebar.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in CoordinatorSidebar.CoordinatorSidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/CoordinatorSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CoordinatorSidebar.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0dcd0d255f8af408b330060bec485dfd3ce67014d7ce5784c179b3cb677c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/Sidebar.tsx: ui/src/components/Sidebar.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Sidebar.ClassicSidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/Sidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Sidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6995ca114397bf860efb636df34148474a1bd2689eafefdb32952ad9e12b7db2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/remote-warm-session-recovery.ts: server/src/services/native-runtime/remote-warm-session-recovery.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in remote-warm-session-recovery.inspectRemoteWarmSessionRecovery 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/remote-warm-session-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":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca31da52d9ceed73b84c2321ef75102ff475bdbff4b8e08a1382b7c26a888bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-runner-file-handoff.ts: server/src/services/native-runtime/native-runner-file-handoff.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in native-runner-file-handoff.readVerifiedWorkspaceFile 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-runner-file-handoff.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6003a097cf9fc64530f02e5497052140f0e9446a5a397397eb58374d818240f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/redaction.ts: server/src/redaction.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in redaction.sanitizeValue at line 758. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/redaction.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca5091edf30f55eb374c27712d28aaaf64b9e4ae55e6ee45d40371412ff21f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/question-response-delivery.ts: server/src/services/question-response-delivery.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in question-response-delivery.questionResponseDeliveryService.deliver at line 763. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/question-response-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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0139e2ce90738ae9a971c527a8cb92230c2d75dcf956fb92adc65fe117bd21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/agent-lifecycle/adapters/records.ts: server/src/modules/agent-lifecycle/adapters/records.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in records.agentRecords.create 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/agent-lifecycle/adapters/records.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/adapters/records.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"269ebc086641bc4db3196233ce280986e900b3e29908db34665099e6d0d88447"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-deliverable-feedback.ts: server/src/services/native-runtime/native-deliverable-feedback.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in native-deliverable-feedback.hasCurrentPublicationReceipt 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-deliverable-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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"80be4a0e5741863743d755691756c73c937857cd94143222f67c8966feb30ffa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/delivery-work-coordinator.ts: server/src/services/delivery-work-coordinator.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in delivery-work-coordinator.createDeliveryWorkCoordinator.register.start 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/delivery-work-coordinator.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/delivery-work-coordinator.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127be380ad7c843adc8682c793db5ec67d4dbec8ecc150d949ab95ac68fed07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/publications/failures.ts: server/src/services/chat-channels/publications/failures.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in failures.createChatPublicationFailures.finalizePublicationFailure 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/publications/failures.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfd26a29976a91a218f33ed54b39e64631e726d2d4f623369880f6135d5c67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/InlineEditor.tsx: ui/src/components/InlineEditor.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 118 in InlineEditor.OwnedInlineEditor at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/InlineEditor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd1a7c2ae763317515957fcdcb1f03a49390d56d87e53ca4231bc880625c8b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/RunnerInspector.tsx: ui/src/components/RunnerInspector.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 157 in RunnerInspector.RunnerInspector at line 646. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/RunnerInspector.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc751282d99a9acf8cced07cb0e76da3f902f19bdcd75a6f5e0f53d669e259"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/github-connection-events.ts: server/src/services/github-connection-events.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in github-connection-events.githubConnectionEventService.drainConnectorEvents at line 537. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/github-connection-events.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fb8e50370c649a038ed7ec0633fd281f6b3f4693e0e39651d0cdb76d8b25be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/restart-interrupted-turn.ts: server/src/services/heartbeat/restart-interrupted-turn.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in restart-interrupted-turn.requestInterruptedNativeTurnRetry 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/restart-interrupted-turn.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b490d6a8ea93cb5fb96abf7b8156e79d36f580ae1fd3e2a5a6e72c42c9948536"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/controlled-evals/run.mjs: packages/paperclip-runner/scripts/controlled-evals/run.mjs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in run.runControlledEval 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/controlled-evals/run.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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0007ce37957d8336a3a21b24f4c34dce0a0db60cb66e942d0fd986467a2540e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/codex-local/src/server/acp.ts: packages/adapters/codex-local/src/server/acp.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in acp.testCodexAcpEnvironment at line 541. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/codex-local/src/server/acp.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f9a9755ea3549e465aaec297cd3389c48a5baba4377e6a2f430820671392a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AdapterLoginChrome.tsx: ui/src/components/AdapterLoginChrome.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in AdapterLoginChrome.LocalProviderLoginInstructions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AdapterLoginChrome.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"583221a6d8cd413f2daa37985c033219ba6622dfc324a78ab248c12f6435e8e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/managed-repository-checkout.ts: server/src/services/managed-repository-checkout.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in managed-repository-checkout.materializeManagedProjectWorkspace 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/managed-repository-checkout.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-repository-checkout.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e89057b5ab90c54e3c18e8f5b4df67f0ccb8d106142148f8bf8048e5fd3a4d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/decisions.ts: server/src/services/decisions.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in decisions.decisionService.executeEffect at line 411. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/decisions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c70845809f0fee40df23102604c025835e565487d9907d144f6ee8b2073d719"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/TeamCatalog.tsx: ui/src/pages/TeamCatalog.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in TeamCatalog.TeamInstallerDialog at line 1067. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/TeamCatalog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a5338911ff96ebc5c13d6042452c2261b7b7ad36a598b2026c1290e8a03854"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/grant-refresh.ts: server/src/services/tool-access/oauth/grant-refresh.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in grant-refresh.createOAuthGrantRefresh.refreshOAuthGrantCredentials 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/grant-refresh.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"84edaf0b8532973c7f7442026241b0892c36f002daf4ea59998e2000afe3d010"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-configuration.ts: server/src/services/agent-configuration.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in agent-configuration.prepareAgentConfiguration 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-configuration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-configuration.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be37cd6720ab429575ec104e22f9a6ec4775a19cc651a5e5e9e6fe3a16556d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/catalog/health.ts: server/src/services/tool-access/catalog/health.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in health.createConnectionHealth.checkConnectionHealth 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/catalog/health.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/health.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed6afdb8e50d7d652dbfab8573d624a40993780f97a14a05c7a0f2e2cb5c467"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/FileViewerSheet.tsx: ui/src/components/FileViewerSheet.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in FileViewerSheet.FileViewerSheet at line 506. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/FileViewerSheet.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c793487492e2afc00d7fc1694c4f51f1ef394de7b407a6f3c78ce1d82cb250"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/plugins/sandbox-providers/daytona/src/file-sync.ts: packages/plugins/sandbox-providers/daytona/src/file-sync.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in file-sync.syncInFileMappings at line 797. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/plugins/sandbox-providers/daytona/src/file-sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4403a38b764414702341c875942627a0387b34105e77dbe30b984af72468c9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts: packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in CapabilityMockControlPlaneAdapter.#executeCommand 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"23149c27d18e5e5c36a2d77261ad27c3a05aa674da64e554998c6c4a4e90f48a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-continuation.ts: server/src/services/native-runtime/native-continuation.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in native-continuation.buildNativeContinuationPrompt at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-continuation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-continuation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c29d82f6f50d4f21ab258003ad35abda9e04b896f158eae9fe9bb060df2118f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx: ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in IssuePropertiesArtifactsTab.IssuePropertiesArtifactsTab at line 431. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79e67e437d0a6ccd8f19e06040ab4aa06a3dcfa31cb685e854b89102fefd148"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/workspace-restore-merge.ts: packages/adapter-utils/src/workspace-restore-merge.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in workspace-restore-merge.walkDirectory at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/workspace-restore-merge.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f4dbe338b31bc6283e8f7d04698e8eeba25c8960077db082cb04265671bfb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts: packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in codex-session-server-requests.handleServerRequestBody 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d16921e4695a36ca58df09c607e2be4d816f009ad72187a17c6fdfd47494d34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueFiltersPopover.tsx: ui/src/components/IssueFiltersPopover.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in IssueFiltersPopover.IssueFiltersPopover 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueFiltersPopover.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f18ced0ad526d6211947150389d0f7b715d10ce50c59feabd95e4457dc2f10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-controller-recovery.ts: server/src/services/native-runtime/native-controller-recovery.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in native-controller-recovery.importNativeControllerRecovery at line 301. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-controller-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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85cb01e28aa92800527e88e406ba1839ae4cf8d62ce5c5334f85783221585d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/prepare-bundled-package.mjs: scripts/prepare-bundled-package.mjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in prepare-bundled-package.stageBundledProviderOptionalDependencies 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/prepare-bundled-package.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":"scripts/prepare-bundled-package.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"305982ad65dba5f36a6b0982feb52de4c3c93bfce643f787e9a4ce9d7480e4a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/command-managed-runtime.ts: packages/adapter-utils/src/command-managed-runtime.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in command-managed-runtime.createCommandManagedRuntimeClient at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/command-managed-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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ae9646de4ff9025c44662a696c4810a6a2f018342d8eb3f17e39cac2e1c03b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-file-resources.ts: server/src/services/workspace-file-resources.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in workspace-file-resources.workspaceFileResourceService.availability at line 1361. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-file-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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8890537f92db9214f44010a1a2b8b9f81498bee22d60f2e1dd2c2fba974b73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/cursor-cloud/src/server/execute.ts: packages/adapters/cursor-cloud/src/server/execute.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in execute.execute at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/cursor-cloud/src/server/execute.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"346d1d2b9f5c3b5e7d3a5e60feefd9e88fa8bb0fcca28969126fb0aea9003930"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/ai-connections.ts: server/src/routes/ai-connections.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ai-connections.aiConnectionRoutes at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/ai-connections.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab26d5f1b26c19f83454d0bfb7eead2e1eefe0afb89ee6c9e46ef8eeba657b42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/transcript/useNativeRunTranscripts.ts: ui/src/components/transcript/useNativeRunTranscripts.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in useNativeRunTranscripts.useNativeRunTranscripts 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/transcript/useNativeRunTranscripts.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6bf6f8ea68465e845a43abd16d8fbbb7969095c8563b2645ef74f081af2d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/native_provider_backend.rs: packages/paperclip-runner/runner/crates/runner-core/src/native_provider_backend.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NativeProviderCommandExecutor::execute 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/native_provider_backend.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/native_provider_backend.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f173636f44b87af2d10714ae833b63479dd05d0444c7b3270e3f4b537471168"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/db/src/backup-lib.ts: packages/db/src/backup-lib.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in backup-lib.runDatabaseBackup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/backup-lib.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup-lib.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f4d7167e6be1c7ca1a91ed5d48d3f017171df355e99be938cd26440855bbb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/runtime-mode.ts: server/src/services/native-runtime/runtime-mode.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in runtime-mode.resolveNativeRuntimeMode 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/runtime-mode.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"add9d1450755ee64c2de8c4e04a17e0ed841a8aa7cf82eaaa18ba23048017b66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/agent-lifecycle/adapters/configuration.ts: server/src/modules/agent-lifecycle/adapters/configuration.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in configuration.updateAgentConfiguration at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/agent-lifecycle/adapters/configuration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/adapters/configuration.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aec6aa3b6fe1b5121bef07cdd9cdf2633abd73737b4ca75645eed98c8575276"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/cli/eval-session-contract.ts: packages/paperclip-runner/src/cli/eval-session-contract.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in eval-session-contract.parseEvalSessionRequest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/eval-session-contract.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf83b2bde70f0aeeb44ca72b2ed148a6d89bcffdba958b8bec0415f62fad7d4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/online-workspace-source.ts: server/src/services/online-workspace-source.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in online-workspace-source.inspectOnlineWorkspaceSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/online-workspace-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-workspace-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8341797cec0e68a8d68e9ceff91c401378a7b2e3209afbca42c6c46ae4d081a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/cloud-runtime-identity.ts: server/src/services/cloud-runtime-identity.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in cloud-runtime-identity.verifyCloudControlAssertion at line 513. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/cloud-runtime-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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbe566c574aac17197b9034ec8897769666dd443938e66af8fdcf0f9f471944"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueRunLedger.tsx: ui/src/components/IssueRunLedger.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in IssueRunLedger.IssueRunLedgerContent at line 597. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueRunLedger.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f82bb6c18d1b48397ab1304201dbc474580d08dc855687edbca595f648e3b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/publications/worker.ts: server/src/services/chat-channels/publications/worker.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in worker.createChatPublicationWorker.processSelectedPublication at line 359. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/publications/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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"da35d60d8fbabbbd69421d62efc9ea96ba49aa70ca1b2e0667e1bfb4ddd9a56b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanySettings.tsx: ui/src/pages/CompanySettings.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in CompanySettings.CompanySettings 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanySettings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d279c86d08a7d458277a441b07eb578623436d9f5667e5ab08250d96c1e40eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-harness-filesystem-independence.ts: server/src/services/native-runtime/native-harness-filesystem-independence.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in native-harness-filesystem-independence.captureWebEvidence at line 532. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-harness-filesystem-independence.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2503cda8d4ec91367560591f130be0063a9b0bdaf99df7eb3d72aa0fafac5e33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-controller-migration.ts: server/src/services/native-runtime/native-controller-migration.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in native-controller-migration.prestageNativeControllers at line 412. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-controller-migration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d679c5eae54dfc68ac4e75007b4451db9b30aaf9c5e21f4adf815bf5a674c5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/ssh.ts: packages/adapter-utils/src/ssh.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ssh.parseSshRemoteExecutionSpec 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/ssh.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9106787a4c21828a91bddeda29314f984cfba729efd9a0777be79b0aaf9b980"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/public-mcp/oauth.ts: server/src/services/public-mcp/oauth.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in oauth.createPublicMcpOAuth.exchangeAuthorizationCode at line 364. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/public-mcp/oauth.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d500fbc2f3a3c86442c399bd7726d27d98a3c4ada447100f2ad3c72005c2495c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/cloud-callback.ts: server/src/services/tool-access/oauth/cloud-callback.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in cloud-callback.createCloudOAuthCallback.completePaperclipCloudConnectorCallback 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/cloud-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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b046a30d53d43bff81d57e537ad0886aad2f5c5cc58b4bbcec40ea38b46a1957"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issue-tree-control.ts: server/src/services/issue-tree-control.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in issue-tree-control.issueTreeControlService.restoreIssueStatusesForHold at line 1002. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-tree-control.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4a063f8ea678db42431610cfd638a5395a628d53fccd6d9a2b41bdfaedc49a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs: packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in paperclip_runner_core::acpx_event_payload::decode_runtime_event at line 512. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_event_payload.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3f4686ce6f081324cb1a63c59f18d69a332e78b38af0d9c4bbeb938eb09454"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/chat-attachment-reuse.ts: server/src/services/native-runtime/chat-attachment-reuse.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in chat-attachment-reuse.resolveExternalChatResponseWaitAuthorizationInTransaction at line 820. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/chat-attachment-reuse.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c938c88062e22f086dc7d56fc75158c4c7ab63e28288f8ae90e2c655d1d0bb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/workspace-seed-cache.ts: packages/adapter-utils/src/workspace-seed-cache.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in workspace-seed-cache.publishWorkspaceSeedGeneration 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/workspace-seed-cache.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf386772a8cbc7eec1fc68f65cadff1b0c9d0480bc80a0fb2451d01719ea70c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/WhatNeedsMe.tsx: ui/src/pages/WhatNeedsMe.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in WhatNeedsMe.ClassicWhatNeedsMe at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/WhatNeedsMe.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba5a8eef1c533f45454ae7a481efb286147c6ec6c54e6add0e39da400100296"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/public-mcp/events.ts: server/src/services/public-mcp/events.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in events.createPublicMcpEvents.enqueue 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/public-mcp/events.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90204117765cf65e71dfccee78ab92a09ef9d2ba80c5e3162650158dddad99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Search.tsx: ui/src/pages/Search.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in Search.Search 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/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":"ui/src/pages/Search.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd382af1e51c3d5dc8376fb3b31215da4c099d89f2b3816308d7d6a5085208"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/onboard.ts: cli/src/commands/onboard.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in onboard.onboard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/commands/onboard.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f9a8563e43d08de238b666bd06fef335e015cc1b68c4b4b971ef0c7d366450"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/AppNotConnected.tsx: ui/src/pages/apps/AppNotConnected.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in AppNotConnected.AppNotConnected 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/AppNotConnected.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppNotConnected.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55490ae5e3f9e2bebb2e9ee48dfc7e6364d3f21550833e9f342ad185a3bd7426"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/live-recovery-work.ts: server/src/services/heartbeat/live-recovery-work.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in live-recovery-work.registerLiveRecoveryWork.register 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/live-recovery-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c47a35011dff32e7f0e5062508b6ccf998cc2e84616bdec930afa7a6c57055e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/connection-intent-delivery.ts: server/src/services/connection-intent-delivery.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in connection-intent-delivery.connectionIntentDeliveryService.deliver 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/connection-intent-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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7edaa08f607d43e3117e2b08f2a39ab567d0bf280cf95866d1c59915e074598"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-execution-lease.ts: server/src/services/native-runtime/native-execution-lease.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in native-execution-lease.startNativeSessionExecutionLeaseRenewal at line 585. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-execution-lease.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99acab3f27126a84da867012f828408f3872b91b77be736365b8b6036f6a273"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-migration-git.ts: server/src/services/remote-workspace-migration-git.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in remote-workspace-migration-git.inspectArchivedGitMigrationSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-migration-git.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a19f1e8c8d57acb3b0d12e312444ffe484a6ca9dd720be20f0b79b128bae64e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/live/runner-provider-launch.ts: packages/paperclip-runner/src/live/runner-provider-launch.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in runner-provider-launch.validatePreparedRunnerLaunch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/live/runner-provider-launch.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4350b3949079e1e7dfa666ce22c471ff0d7ed7da3421c2e617a49da6bb1ee66f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/scheduling.ts: server/src/services/heartbeat/scheduling.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in scheduling.createHeartbeatScheduling.dispatchClaimedIssueMonitor at line 643. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/scheduling.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcafbdc49d1e677ceba40928f533c54f55cbab1ef1e21b2ecc5c284fde573b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/stranded-notice.ts: server/src/services/recovery/stranded-notice.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in stranded-notice.buildStrandedRecoveryEscalationNotice 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/stranded-notice.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/stranded-notice.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9980b7350eeecbab1fbe484671b4b6b2ef826b88a1a6af389860db6b96e5ed1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/health.ts: server/src/routes/health.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in health.healthRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/health.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea34d6913fb1cb5d05bd45dfcbbaa567fd6277d99c5238c63c70c49941d51a85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/connections/removal.ts: server/src/services/tool-access/connections/removal.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in removal.createConnectionRemoval 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/connections/removal.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b8971d414023ae3c5d3797fe7692520a122471f9856f746c964dc2ec9096c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-probe.ts: server/src/services/environment-probe.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in environment-probe.probeEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-probe.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-probe.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e48d54360d4cc02ea9b21101c93115d5ef1b4c990a383d12404dcd2f465ed8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueBlockedNotice.tsx: ui/src/components/IssueBlockedNotice.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in IssueBlockedNotice.IssueBlockedNotice at line 401. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueBlockedNotice.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"171298d3496c5d27dd37eedf646ec4854f0834844d6ad40aac83726aac8cc503"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx: ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in TaskChatRunnerActivityGroup.presentation 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb60e53de3fb63809cf629f1f7a1dffdd2ff69a19c601de91b367b38b13798ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/managed-environments.ts: server/src/services/managed-environments.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in managed-environments.applyManagedEnvironments at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/managed-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":"server/src/services/managed-environments.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8b6e4830e7b980db4be71d4c8e6bfe1f485665a5fb5a009582bd04f7c049ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs: packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AcpxProviderState::accept_runtime_event at line 523. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_state.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a4a58254878d68f9c3c893e86ba0283c58ee747c24fce46b43b934213144a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/task-chat-adapter.ts: ui/src/components/task-chat/task-chat-adapter.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in task-chat-adapter.commentsToTaskChatItems 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/task-chat-adapter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/task-chat-adapter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"277bdfb0b0011cf4084b1de432817296d5e6fdcee2c11002d28cdce00d27212e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanyExport.tsx: ui/src/pages/CompanyExport.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in CompanyExport.CompanyExport at line 629. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanyExport.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce3f5aee8b28779c5c8d2e847fe33f8f878508bd42a48eb81e16294ceacc21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-run-publications.ts: server/src/services/chat-run-publications.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in chat-run-publications.githubRunReplyState 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-run-publications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-run-publications.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba644654ceca3834f7b2fe6cd8764af9dd3ba512dd23271505bfc21ed662d9bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx: ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in TaskChatProtocolActivityRow.TaskChatProtocolActivityRow 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a209947f6643022533f090c2e0a2a42997858b6b0032b17d529ebeacfb9dc25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs: packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in runner-protocol-eval-campaign.aggregateProtocolEvalCampaign at line 394. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/runner-protocol-eval-campaign.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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c01239eb92b6938335a5be9cdfb3b6ef92afa65be0a3e97f6e9f5c101b7733"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanyAccess.tsx: ui/src/pages/CompanyAccess.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in CompanyAccess.CompanyAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanyAccess.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"211b8adca538f0324886722ca857276d43df04f4cd8d1277a415608d49e9a6c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueWorkspaceCard.tsx: ui/src/components/IssueWorkspaceCard.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in IssueWorkspaceCard.IssueWorkspaceCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueWorkspaceCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d018ff754f4bc32473c695cc7fb254f927bd3bc0a97799abd1934a90a8d6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/CloudAccessGate.tsx: ui/src/components/CloudAccessGate.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in CloudAccessGate.CloudAccessGate 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/CloudAccessGate.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CloudAccessGate.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c46f38d4f0a98626f2129dcba211f96ee56c2d6d9170362850c840c4cd26a65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/mcp-http.ts: server/src/services/mcp-http.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in mcp-http.readMcpHttpResponse at line 694. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/mcp-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":"server/src/services/mcp-http.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a396e0a8d4281deb67029358e304ef038c4d51964e40c0b140d22b2f236f4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/TaskList.tsx: ui/src/components/TaskList.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in TaskList.TaskList 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/TaskList.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskList.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c118938083269c0e3a040bfc7295f83700ea4ded4e45cf0f3731458a41734bfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-lifecycle-delivery.ts: server/src/services/plugin-lifecycle-delivery.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in plugin-lifecycle-delivery.registerPluginLifecycleDelivery 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-lifecycle-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":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6510e424c60ef0e9ecb9c1c9745019e22a9d1443b1016b3ba582e01ded7583b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/online-legacy-workspace-recovery.ts: server/src/services/online-legacy-workspace-recovery.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in online-legacy-workspace-recovery.inspectOnlineLegacyWorkspaceRecoveryHold at line 212. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/online-legacy-workspace-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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e3006066e6ec39655241a0df157e255af11fb267464d824a7eda49ecccbda0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiProviderSetup.tsx: ui/src/components/ai-connections/AiProviderSetup.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in AiProviderSetup.AiProviderSetup at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiProviderSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiProviderSetup.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f848ba19a444d5d47758cf76e946610e32f8308055b13cdec920cb341a6ac788"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-control-recovery-stop.ts: server/src/services/chat-control-recovery-stop.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in chat-control-recovery-stop.readChatControlRecoveryStop 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-control-recovery-stop.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b91aba551cbc89c86005ecf1ed361d1c97336435960b666d07ee2c766e966de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/PropertiesPanel.tsx: ui/src/components/PropertiesPanel.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in PropertiesPanel.ResizablePropertiesPanel at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/PropertiesPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc8c56dfd4cd7021bc7bade8893e86421dda8b53b4f026b93041cb3570c044e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-config.ts: server/src/services/environment-config.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in environment-config.resolveEnvironmentDriverConfigForRuntime 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-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":"server/src/services/environment-config.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f86d108d6047e1d8e37186640604433e90530034466960531d1f2c53b1301f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/managed-config.ts: server/src/services/managed-config.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in managed-config.parseManagedConfigEnv 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/managed-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":"server/src/services/managed-config.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4e58dde0162fb101f95d8eaeeb154204c533ed7c04520efbaefbb068220b14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarNavItem.tsx: ui/src/components/SidebarNavItem.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in SidebarNavItem.SidebarNavItem 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarNavItem.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarNavItem.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa7f868cd149ea565585c97af66a768f212b9ac14aadbef9946a79f0ad2bfd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Routines.production.tsx: ui/src/pages/Routines.production.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in Routines.production.Routines at line 321. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Routines.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bfd9c37adbed87d35108e5080d538ba6b70033bf1656cab72033dbdf471008"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/git-restore-point-storage.ts: server/src/services/git-restore-point-storage.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in git-restore-point-storage.validateGitRestorePointRef 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/git-restore-point-storage.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point-storage.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ec2fc56e04fec648e4cf211c2d50dff0c3c90e84c83da059fd4019f5d586dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/assets.ts: server/src/routes/assets.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in assets.assetRoutes at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/assets.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/assets.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0fd54b602c242b995d230e0c234443a151bcc40640824c5903808d2befa817"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/agents/AgentBulkSettingsSheet.tsx: ui/src/components/agents/AgentBulkSettingsSheet.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 111 in AgentBulkSettingsSheet.AgentBulkSettingsSheet 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/agents/AgentBulkSettingsSheet.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2652cee82401ac15e77262f5055d5cd4b99b8a6b8914bc31cbb64976143147"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-harness-backup-expiration.ts: server/src/services/native-runtime/native-harness-backup-expiration.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in native-harness-backup-expiration.nativeHarnessBackupExpirationService.expireCheckpoints at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-harness-backup-expiration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d165405d72af7683714f114c45a2d42e8aa9bce4ca39ab47a78df9c3a6fdbfd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/secrets.ts: server/src/routes/secrets.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in secrets.secretRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/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":"server/src/routes/secrets.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6494c03792c2188aa38c38cf375d1a809192dd3ca68f0f7a1722f659b57cac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/costs.ts: server/src/services/costs.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in costs.createCostEventInTransaction 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/costs.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528cdd6e82b4f83acfd5716b62ef5549b1692b0902193fdbb0c43eed253c5bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/customer-success-inspection.ts: server/src/services/customer-success-inspection.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in customer-success-inspection.readCustomerSuccessResource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/customer-success-inspection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"57738465957647924583f48c8c1c23fb52865a0649ffc7417a20401a2c872796"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/InlineEntitySelector.tsx: ui/src/components/InlineEntitySelector.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in InlineEntitySelector.InlineEntitySelector 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/InlineEntitySelector.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEntitySelector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"948009970d8ae759903fce86007439f8e82c3fec0995c862b7c6a3cbc6655677"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/plugins/sdk/src/environment-tasks.ts: packages/plugins/sdk/src/environment-tasks.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in environment-tasks.parseEnvironmentTaskResult 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/plugins/sdk/src/environment-tasks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/environment-tasks.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fe7a90b5e07b07b43a9cd6100c87db22158448337e1ae774c5f23f370e31cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/controlled-evals/report.mjs: packages/paperclip-runner/scripts/controlled-evals/report.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in report.summarizeControlledCampaign at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/controlled-evals/report.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/paperclip-runner/scripts/controlled-evals/report.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c4938e34e735936a00b76e5e1f11019d02929b0c4d1312757213b0e1439c77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/sandbox-stop-and-retain.ts: server/src/services/sandbox-stop-and-retain.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in sandbox-stop-and-retain.settleStopOnlyCleanup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/sandbox-stop-and-retain.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"598aa712187e368c458a6e918addbf7b43971685519de1dc4eca1b40f0664ea0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-usage-delivery.ts: server/src/services/native-runtime/native-usage-delivery.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in native-usage-delivery.createNativeUsageReceiver.capture 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-usage-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":"server/src/services/native-runtime/native-usage-delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a8241ade5db6019d71364ef4efb55cc5096d22c7fe2e98e009520071e83416"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/BoardChat.tsx: ui/src/pages/BoardChat.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in BoardChat.BoardChat at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/BoardChat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa111d7b0035e8a54c4d9bebd807d50fd6d0ce7b053d2b4d27844b1ccbf402b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/new-agent/ExternalAgentInviteContent.tsx: ui/src/components/new-agent/ExternalAgentInviteContent.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in ExternalAgentInviteContent.ExternalAgentInviteContent 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/new-agent/ExternalAgentInviteContent.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9292581b689f9db8dfb011a1db1a0412fac8e3cbd2fcdcf7c18240be6264097"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/resource-reconciliation.ts: server/src/services/chat-channels/resource-reconciliation.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in resource-reconciliation.createChatResourceReconciliation.updateResourceSelection at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/resource-reconciliation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23206bc3e6227761a172800dca73801a808ad29437205e647d5d7ca16da5320"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/storage/s3-multipart.ts: server/src/storage/s3-multipart.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in s3-multipart.putS3Multipart 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/storage/s3-multipart.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/s3-multipart.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d422a8603f35f20a5b40d99b00cb90c8636e2e04e1ddae8f140ed4527923978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/grok-local/src/server/test.ts: packages/adapters/grok-local/src/server/test.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in test.testEnvironment at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/grok-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4401e12365085068080ead101f5023662ef076af2bd9de1191f5fcc7d7fd670e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-file-store.ts: server/src/services/agent-file-store.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in agent-file-store.agentFileStore.apply at line 347. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-file-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":"server/src/services/agent-file-store.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"326b4969beee7a2464789c0bfdf877e8dec93e49888975abc04c52e6699d0547"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/client/agent.ts: cli/src/commands/client/agent.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in agent.registerAgentCommands at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/commands/client/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":"cli/src/commands/client/agent.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"be32147750037ae6589d724a197acce51ff1fc1e61c41b7ae230746603f5c9e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/issue-thread-interactions.ts: ui/src/lib/issue-thread-interactions.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in issue-thread-interactions.buildIssueThreadInteractionSummary 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/issue-thread-interactions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"828fdd090eaa37bcd8dd0e530313aa9719b6b1b2550b41ec6566bb9a97844ede"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/shared/src/ai-connections.ts: packages/shared/src/ai-connections.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ai-connections.isAiConnectionCompatible at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/ai-connections.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/ai-connections.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067d2e2fe60acc2c8a619cd9f50fdddd042938dbe08289452647250c95846dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-session-terminal.ts: packages/paperclip-runner/src/drivers/codex/codex-session-terminal.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in codex-session-terminal.mapTerminalTurn 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-session-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/paperclip-runner/src/drivers/codex/codex-session-terminal.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f4093197b886640af72552fb60252a270388d903f1cc7f7daef48a7668dfa7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarCompanyMenu.tsx: ui/src/components/SidebarCompanyMenu.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in SidebarCompanyMenu.BuiltinCompanyMenu 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarCompanyMenu.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26f360a5fcb318d2f23c40820f7d1f8ff7f9e25f52a1482e96dd021bab8540c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/sandbox-creation-operations.ts: server/src/services/sandbox-creation-operations.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in sandbox-creation-operations.recoverSandboxCreations at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/sandbox-creation-operations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ebffaf303e4efe1b75e2097686b5b06fa720d837e46f288fa5966f507e9ac6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/PasteConfigTab.tsx: ui/src/pages/tools/PasteConfigTab.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in PasteConfigTab.PasteConfigTab 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/PasteConfigTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07e7df06813fb4ad2d3a4a760eb2a25f2d10b80877d03075b59c9dc4b3b6856"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/satisfied-connection-intents.ts: server/src/services/satisfied-connection-intents.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in satisfied-connection-intents.findAvailableToolConnection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/satisfied-connection-intents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa494e1a4d8b3706a011299c9cad9f355b80dba062f1446a69599949682e93a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-status-reassessment.ts: server/src/services/native-runtime/native-status-reassessment.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in native-status-reassessment.reassessNativeStatusFromSource at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-status-reassessment.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-status-reassessment.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"10056fd9ed15fa66b868ec4ea5850fe3878b7f52e30d2fb9a3ad45c47fff8342"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Cases.tsx: ui/src/pages/Cases.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in Cases.Cases 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Cases.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Cases.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9928916784ff81f7a1f0b6ed4e241e085fb2f53bff861154ac410d091f49fa0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ConfigureBuiltInAgentModal.tsx: ui/src/components/ConfigureBuiltInAgentModal.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ConfigureBuiltInAgentModal.ConfigureBuiltInAgentModal 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ConfigureBuiltInAgentModal.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ConfigureBuiltInAgentModal.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1340181459c4f5a1d7e2eb7e4dfd9d6f2e668aaf9dbafba9d423a3321d471181"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/remote-workspace-source.ts: server/src/services/heartbeat/remote-workspace-source.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in remote-workspace-source.resolveRemoteWorkspaceSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/remote-workspace-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bcf758f91ab9545b486a545149da6ebf98c90f79fe96734f576968fdd6fbb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useRecentTasks.ts: ui/src/hooks/useRecentTasks.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in useRecentTasks.useRecentTasks 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useRecentTasks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useRecentTasks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a763ac36318468eba43ce3422140b0aff12591ff3e5aa84075fcb145f27d152"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarAccountMenu.tsx: ui/src/components/SidebarAccountMenu.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in SidebarAccountMenu.SidebarAccountMenu 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarAccountMenu.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAccountMenu.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64efb06dcf7621f527dc4d4d5b2f493f5b7077e106fe3f05fc407b53c49f1e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/app-detail/AdvancedPanel.tsx: ui/src/pages/apps/app-detail/AdvancedPanel.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in AdvancedPanel.DangerZone at line 433. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/app-detail/AdvancedPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4bc81e46a8bf708332d0840f6f330b99d60a6524a76d09bc0a0535addd4e43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/worktree.ts: cli/src/commands/worktree.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in worktree.ensureWorktreeSeeded at line 2218. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/commands/worktree.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceed4adccfb95213b9e3d5150062ed9f442e085efc4b6fee343be7f58139fc85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/PluginSettings.tsx: ui/src/pages/PluginSettings.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in PluginSettings.PluginSettings 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/PluginSettings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"14991d7711234097a57948caa7d0dde8a00b6f49636b398df4b460d83bcbf7f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs: packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in paperclip_runner_core::durable::transport::validate_challenge at line 1224. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd453d16461cb07505a615b29176df1e824fce47fddaa2f795e0ff60038b9dbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/inbound/wakeups.ts: server/src/services/chat-channels/inbound/wakeups.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in wakeups.createInboundWakeups.processInboundWakeup at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/inbound/wakeups.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aa5f89ad292e8b5704d85082be7420ae18e89396badff1699069ed1c32ffda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-review-policy.ts: server/src/services/chat-github-review-policy.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in chat-github-review-policy.githubReviewSchedulingDecision at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-review-policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-review-policy.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f044e6a290c0b5d8fe4991630129f0af56413ed1c5cfd83ca6f7891822c4758"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/app-detail/IdentitiesSection.tsx: ui/src/pages/apps/app-detail/IdentitiesSection.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in IdentitiesSection.IdentitiesSection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/app-detail/IdentitiesSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe781f606463164b38c9245a48ccc1a3cce958df46fd456e24254cd5ac7027"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/costs.ts: server/src/routes/costs.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in costs.costRoutes at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/costs.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0022ddb9801c452553dd5c60c866b73245b924b9744d31e97237c840c899a29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-controller-archive.ts: server/src/services/native-runtime/native-controller-archive.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in native-controller-archive.nativeControllerEvidenceDescriptor 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-controller-archive.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6815fa8850f29235cf0d7294194b15858a1143560662181c58043b1c6b56e1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx: ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in AgentSettingsPreview.SettingsPage 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb5819a739cd1377e46f8dee53308b46334b1f9360e8c472a109165736348b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/deferred-receipt-work.ts: server/src/services/heartbeat/deferred-receipt-work.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in deferred-receipt-work.registerDeferredReceiptWork.register 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/deferred-receipt-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2f5401b3677e3450b8b728a478e246913ce09d08d4e0418314f133b3ec2d0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatMarker.tsx: ui/src/components/task-chat/TaskChatMarker.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in TaskChatMarker.TaskChatMarker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatMarker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatMarker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec5e2c755b14806e02ed0bb0110c9680f9bc37f5a18a9a19cbea69e0b3b0d6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/fast-responses.ts: server/src/services/fast-responses.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in fast-responses.fastResponseService.process at line 709. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/fast-responses.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"977a014d71cde2801a43c29c3fa356498b1b39c5544dc1ef2aa38cc3b341a21c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-wizard.ts: server/src/services/chat-github-wizard.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in chat-github-wizard.githubChatWizardService.advanceOnce at line 712. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-wizard.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"000585958cb337621b9b853943643782d9088a433bf47c6b9ecf482ad6188fc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts: packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in codex-driver-values.parseProviderIdentity 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"699eea2ff0fd9108e593506bd83a68618b7006e7245369bb1a30fc435797154a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/product-regression-testops.mjs: tests/runner-e2e/product-regression-testops.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in projectProductResults 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/product-regression-testops.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":"tests/runner-e2e/product-regression-testops.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8167ae1ecb22a8ba53697e4123b7b55a19a7063a56ce153111de0cf082e284"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-workspace-access.ts: server/src/services/task-workspace-access.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in task-workspace-access.assertTaskWorkspaceExecutionAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/task-workspace-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":"server/src/services/task-workspace-access.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"daadd3c73680a19ac760520ea39e553ac09909b7f77bbef75db32912ecbf9214"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/CommentThread.tsx: ui/src/components/CommentThread.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in CommentThread.CommentThread 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/CommentThread.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00d61edbe25d76bf57c2f18a735886db9659865342fc99e36dabde008958fb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/db/src/response-capture.ts: packages/db/src/response-capture.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in response-capture.installDatabaseResponseCapture at line 238. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/response-capture.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/response-capture.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f8411898673bd35e0838c295a439f2eaeee2c1a4fa7892f9a9da18091d3a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/chat-completion-testops-api.mjs: tests/runner-e2e/chat-completion-testops-api.mjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in verifyUploadScope at line 245. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/chat-completion-testops-api.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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee3e9cdf6240d3bf4e7d28db545ed47abd8b467d985b41889080c8be3f49486"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-publication-errors.ts: server/src/services/chat-publication-errors.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in chat-publication-errors.classifyChatPublicationError at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-publication-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":"server/src/services/chat-publication-errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"724ea7024c559df63375a949960b76fd23650ede775e32333131502477e53c2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/semantic-tools/dispatcher.ts: packages/paperclip-runner/src/semantic-tools/dispatcher.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CapabilitySemanticDispatcher.#applyMutation at line 330. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/semantic-tools/dispatcher.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc55f6a6c83facfd3b1c71d32869df67b7b381cf8116194a7ae39477cc6c228f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarAgents.tsx: ui/src/components/SidebarAgents.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in SidebarAgents.SidebarAgents at line 298. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarAgents.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9d796fe5a48ff8915432df6912845c90de39bfd6d219587dddde45de62a338"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/inbound/admission.ts: server/src/services/chat-channels/inbound/admission.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in admission.createInboundAdmission.admitInboundMessage 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/inbound/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":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e32b0e99783339ff0ea3e02e0f6f53306b235c1d40e43a629d040ec6521c28f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-failed-run-owner-release.ts: server/src/services/native-runtime/native-failed-run-owner-release.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in native-failed-run-owner-release.settleFailedRunOwner 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-failed-run-owner-release.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae82c2de909988769ae1595645e09380ef576076da0ce598e3577764b42072e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Artifacts.tsx: ui/src/pages/Artifacts.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in Artifacts.Artifacts 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/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":"ui/src/pages/Artifacts.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"16057345b3a8a9dbd48016e5c836216a30a9bfd97b04035e3cd86e9223fc967b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs: packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProviderToolBridge::begin_call at line 660. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_bridge.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a8ed31b0a1eb149df2c2c904a6927f3cfc0a80e4544e4e3f9619ac13a5502b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/middleware/http-log-policy.ts: server/src/middleware/http-log-policy.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in http-log-policy.secretSensitiveRouteFamily 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/middleware/http-log-policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"220a64d0512891af210cb0aab09edd634af218898f51369dab2c2a653c6aa5aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/agent-skills/AgentSkillsTab.tsx: ui/src/pages/agent-skills/AgentSkillsTab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in AgentSkillsTab.AgentSkillsTab 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/agent-skills/AgentSkillsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4ef12c8980bbffede4cb2c6815e9580b06b00f500c44601eda7767e1e7e68e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/budget-reservations.ts: server/src/services/budget-reservations.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in budget-reservations.reserveRunBudget at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/budget-reservations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-reservations.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c1ae9a50acb150395e8787fef4c6e52536ff2cf72381f08b179839af395d23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/direct-callback.ts: server/src/services/tool-access/oauth/direct-callback.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in direct-callback.createDirectOAuthCallback.completeOAuthCallback 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/direct-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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4999772dfd5e2b43530a60f11d337c26f6e04f791b706fa901f8bdd58be06e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/vitest-selection-graph.mjs: scripts/ci/vitest-selection-graph.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in vitest-selection-graph.selectProjectTests at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/ci/vitest-selection-graph.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":"scripts/ci/vitest-selection-graph.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4857964eb35c90e2bcd61f4515b4090be8f1209a99f4d8205e238ae6378376"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/commands/client/issue.ts: cli/src/commands/client/issue.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in issue.registerIssueCommands at line 172. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/commands/client/issue.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/issue.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8230b1dbeaa0a23068b9bd4a5c8ccf846ea120abd9620b94146b01ea86f3bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/successful-run-handoff.ts: server/src/services/recovery/successful-run-handoff.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in successful-run-handoff.decideSuccessfulRunHandoff 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/successful-run-handoff.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/successful-run-handoff.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4cae8c1462e61c8796e93bb68233242e76b2bcbd6eb684be041c041fe46e8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/agents/AgentBulkRoster.tsx: ui/src/components/agents/AgentBulkRoster.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in AgentBulkRoster.AgentBulkRoster 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/agents/AgentBulkRoster.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agents/AgentBulkRoster.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174d3f12e344f2b39feddac3e4ad88aebb3440fdd6856d0384c9c5125cbc319"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-recovery-fallback.ts: server/src/services/workspace-recovery-fallback.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in workspace-recovery-fallback.inspectFallback 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-recovery-fallback.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da08363b9eaf121015eccb7f6810b5c6b9839b9bfa6f43039991149de38bb80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx: ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in ManagedSlackSetup.ManagedSlackSetup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511910ec9236f8d8b509a7c6352246fe65c9f5ff8daf8e0c82afbe0c88772ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/object-run-log-store.ts: server/src/services/object-run-log-store.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in object-run-log-store.createObjectRunLogStore.read at line 357. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/object-run-log-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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d511168735684232dbe398d2b43f935312e954a66ed030bf9a4b5d254acac65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-provider-failure.ts: server/src/services/native-runtime/native-provider-failure.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in native-provider-failure.createNativeProviderFailureObservation.observe 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-provider-failure.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429db4c84f34db5f01d72b67b6f8993f02ac1776e5b55b80a70eb8b7696764b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/RoutineRunVariablesDialog.tsx: ui/src/components/RoutineRunVariablesDialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in RoutineRunVariablesDialog.RoutineRunVariablesDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/RoutineRunVariablesDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3129535c54e7fab8a74f127d15ff12a2d0069277bd2556889c90f8b8d1a0a80b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/contracts/runtime-context.ts: packages/paperclip-runner/src/contracts/runtime-context.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in runtime-context.parseNativeRuntimeContext 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/contracts/runtime-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/runtime-context.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7551e9438d8b20f93433906105ba4b4574f7f33374839898c5b68e235514b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/setup-readiness.ts: server/src/services/native-runtime/setup-readiness.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in setup-readiness.testNativeRunnerAuthentication at line 199. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/setup-readiness.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca6f2b53e885db2d4e0dc96f6449d1b0dea16d22cdb8fe4e82dd2d0490f1e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/app-detail/ActionTestDialog.tsx: ui/src/pages/apps/app-detail/ActionTestDialog.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ActionTestDialog.ProviderPendingResult at line 660. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/app-detail/ActionTestDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"819aaa14d7d4f4d3b3d547dc9ad584b1283a8151426b1871afc81c5aa14ea9b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-workspace-policy.ts: server/src/services/execution-workspace-policy.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in execution-workspace-policy.buildExecutionWorkspaceAdapterConfig at line 440. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-workspace-policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"497167b1f902b9a5eba6f82775a6201860e4e8802c2cd5e4c91bcd11f3ec2f07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/__tests__/fixtures/plugin-worker-duplex-channel.cjs: server/src/__tests__/fixtures/plugin-worker-duplex-channel.cjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in (anonymous) 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/__tests__/fixtures/plugin-worker-duplex-channel.cjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/fixtures/plugin-worker-duplex-channel.cjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c758864ce76f1454b43bc2eb6f732f7ad6646b33a902d57d05a4e4f99400915"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-log-store.ts: server/src/services/run-log-store.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in run-log-store.openLegacyRunLogForMigration at line 620. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-log-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":"server/src/services/run-log-store.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2f61c85ae0f2688d7dff5b0549fceaab9a2e8e59c1739947c4656dd80eae3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/file-resources.ts: server/src/routes/file-resources.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in file-resources.fileResourceRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/file-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":"server/src/routes/file-resources.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb6dd79b92050b0ee11131c44fd6c5b75632a9620802d850f41f3f6d1ea6a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/status-cards.ts: server/src/services/status-cards.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in status-cards.statusCardService.writeSummary at line 941. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/status-cards.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a820f0dd2ecef723e0bda3a3d53e5875f332f1b494edbdc8ede2278f37a04b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/secret-proposals.ts: server/src/services/secret-proposals.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in secret-proposals.createSecretProposalsService.createBinding at line 366. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/secret-proposals.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secret-proposals.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6f3ac617c4cd36cdd2e7a8158663491f7c9b32e38743bd0a74ea846bf62ca2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts: packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in codex-boundaries.validateCodexWorkingDirectory 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f642c20c9ee01e5377cf53baa28dc57fdaf3d0b4d599fc1f8ccbef44b8ca53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueScheduledRetryCard.tsx: ui/src/components/IssueScheduledRetryCard.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in IssueScheduledRetryCard.IssueScheduledRetryCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueScheduledRetryCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueScheduledRetryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195f33b0a0375d535cdacf062ea0eba8c8d6e628206aaecca34e1be8b0f46d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/muse-maintenance.ts: server/src/services/muse-maintenance.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in muse-maintenance.startMuseMaintenance 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/muse-maintenance.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/muse-maintenance.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac837efeddadc58ba2ee0a93399ee798598ce0fe3a93323e867583be788f46d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/connect-flow-preview-main.tsx: ui/src/connect-flow-preview-main.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in connect-flow-preview-main.ConnectFlowPreview at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/connect-flow-preview-main.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/connect-flow-preview-main.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd4776cd21fb5b018983b9dd8c66ad0665e4b938c309e41896e38a831f17cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/support/projectRepositorySkills.ts: ui/storybook/support/projectRepositorySkills.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in projectRepositorySkills.installProjectSkillFixtures 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/support/projectRepositorySkills.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a27e049f734f3826c23cb48423817c530f438802f4c1664495461c9232fc97e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-codex-runner.ts: server/src/services/native-runtime/native-codex-runner.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in native-codex-runner.executeNativeCodexRunner at line 391. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-codex-runner.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3d20138bbd345cbcdf1fad6426d1794b876fb61411734d33c16461e4d1e10a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/runner-goals.ts: server/src/services/runner-goals.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in runner-goals.applyRunnerGoalPrpEvent at line 633. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/runner-goals.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea83d7e6f5ca0a7c0882ed0094d90e3df1060d9b60ef77e28506444792d682a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-question-bridge.ts: server/src/services/native-runtime/native-question-bridge.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in native-question-bridge.projectNativeRuntimeRequest at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-question-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":"server/src/services/native-runtime/native-question-bridge.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34e5ded9b9043db79e7dbf097a4b986fe32f95eae96c98cdec4b1c645f51a06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarRecentTasks.tsx: ui/src/components/SidebarRecentTasks.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in SidebarRecentTasks.RecentTasksList 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarRecentTasks.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarRecentTasks.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7af363685945e7b86f1ba7e06141393ea6c083c580e3245a0956435f2104a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatToolCard.tsx: ui/src/components/task-chat/TaskChatToolCard.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in TaskChatToolCard.TaskChatToolCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatToolCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatToolCard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"66733e22040a4cbae904709b8a4dfdae712dc4a309a6965263ee1ded0476576f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/public-mcp/file-transfers.ts: server/src/services/public-mcp/file-transfers.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in file-transfers.createPublicMcpTransfers 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/public-mcp/file-transfers.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d46bea8c9579571cd25be9a9cd3199e286a228b950d9645e9afb472873a5f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/isolated-repository-rehome.ts: server/src/services/isolated-repository-rehome.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in isolated-repository-rehome.rehomeIsolatedRepositoryWorkspace 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/isolated-repository-rehome.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49276a9bd0af5bd9b9f999a67af0a6865af494a58af24341cca0ccde0f83699"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-harness-backup-migration.ts: server/src/services/native-runtime/native-harness-backup-migration.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in native-harness-backup-migration.prestageNativeHarnessBackups at line 184. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-harness-backup-migration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"330b7c9f372bfe049e0b6e1f00e26c1be68847c0b860e291ab2c81a507664168"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/git-workspace-contents.ts: server/src/services/git-workspace-contents.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in git-workspace-contents.restoreGitWorkspaceContents at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/git-workspace-contents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c57fcc780a5459a322c695c338c2b8fab72c416618b9dc06c2eda961dce8cee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/slack/session-stop.ts: server/src/services/chat-channels/slack/session-stop.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in session-stop.createSlackSessionStop.processSlackSessionStop 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/slack/session-stop.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"961942366960d05e6a9dba89cdbce9c2574e68348d14be181469058e5eda429c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-action-review.ts: server/src/services/tool-action-review.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in tool-action-review.commitToolActionReview 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-action-review.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-action-review.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"916212e5ad1bede3a8b479e1064022317db0204bdcb68a8121fce0e6ffc54efe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/wake-queue/adapters/queued-comment-postgres.ts: server/src/modules/wake-queue/adapters/queued-comment-postgres.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in queued-comment-postgres.buildTransaction.buildQueueSnapshot at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/wake-queue/adapters/queued-comment-postgres.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"47355371b111b06cee794907c806c84316c3685d218bf3b542e12ef236dc25ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/task-side-panel-state.ts: ui/src/lib/task-side-panel-state.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in task-side-panel-state.parsePayload at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/task-side-panel-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":"ui/src/lib/task-side-panel-state.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ffb779e13a69547735e900fcbcc055bb453b7aa9e33c993d94d8ef958f2ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts: packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in recovery-identity.createAcpxRecoveryBinding 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/recovery-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/paperclip-runner/src/drivers/acpx/recovery-identity.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb516e01bdc84664b3170128f575be8f8ca287214fb5e587989e742adb7f0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/CompanySettingsSidebar.tsx: ui/src/components/CompanySettingsSidebar.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CompanySettingsSidebar.CompanySettingsSidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/CompanySettingsSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CompanySettingsSidebar.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfe53e3ab006b9d8ddc1f30036add73036fc09125db871bd333b5e954e23fd6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AgentToolsTab.tsx: ui/src/pages/AgentToolsTab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in AgentToolsTab.AgentToolsTab at line 335. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AgentToolsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cf27380c8db647e22b9c1492ce841f0afd8b69e5ebb76993567d716f305cc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/persisted-query-cache.ts: ui/src/lib/persisted-query-cache.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in persisted-query-cache.persistedQueryScope at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/persisted-query-cache.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b5ddb56c3c1df359e3e42943bc206a34a1506a95aff19c3bbd8cf5916c79a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/TrustPresetSection.tsx: ui/src/components/TrustPresetSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in TrustPresetSection.TrustPresetSection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/TrustPresetSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TrustPresetSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"248d3888696912852b528c08202d8ca927a918aa3ffced9da932b5e7016fce94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/external-agents/native-broker.ts: server/src/modules/external-agents/native-broker.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in native-broker.createNativeExternalBroker.port.settle at line 294. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/external-agents/native-broker.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7947202411ba5ca2ae7bec2415c404e9c4454f2536bf07ca486015fa8ced7444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts: packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in provider-assets-root.resolveRunnerProviderAssetsRoot 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1babf814b8e2d855408729e8c3aee222759d0309d8ee5c8ad869739571789d1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/app-connect-policy.ts: ui/src/pages/apps/app-connect-policy.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in app-connect-policy.canEnterAppsConnect 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/app-connect-policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-connect-policy.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4daa52fbc5cc6973dd78035258228646f300a7add0ebbe5d3e764404fa9730"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatSystemNotice.tsx: ui/src/components/task-chat/TaskChatSystemNotice.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in TaskChatSystemNotice.TaskChatSystemNotice 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatSystemNotice.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatSystemNotice.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1555e549318ff8f11969d0d211e281bf46206ca2acd3bd187bfa407ba27b50c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/agent-lifecycle/application/worker.ts: server/src/modules/agent-lifecycle/application/worker.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in worker.createLifecycleWorker.process 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/agent-lifecycle/application/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":"server/src/modules/agent-lifecycle/application/worker.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e8bde4b19dc7aff2ffe96eb3e48b5482171f3964bf8fb77e02214ede97a50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/maintenance/ephemeral-migration-data.ts: server/src/maintenance/ephemeral-migration-data.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ephemeral-migration-data.migrateEphemeralServerData 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/maintenance/ephemeral-migration-data.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/maintenance/ephemeral-migration-data.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0cea6776f1aaf20c8a3e9797a4862c8cf90d217d4e0a7e0944d38f1f26751c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs: packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ManagedProviderCommandExecutor::project_event at line 1547. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b25f382578fcc70aa1725a6bccefed734e5bdaa7815e2081496122b98232401"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueMonitorBanner.tsx: ui/src/components/IssueMonitorBanner.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in IssueMonitorBanner.buildMonitorSurfaceCopy 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueMonitorBanner.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd55b8539278ce4af5d3f75f64b5b419e86824885af93af4ce9d4c22be00d9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-snapshot-retention.ts: server/src/services/remote-workspace-snapshot-retention.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in remote-workspace-snapshot-retention.remoteWorkspaceSnapshotRetentionService.tick at line 179. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-snapshot-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":"server/src/services/remote-workspace-snapshot-retention.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e3401c3d23230be7d3985f02e5dcaa4a4edeb3ab2834fb4e5a1c624fccd873"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentConversationSidebar.tsx: ui/src/components/AgentConversationSidebar.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in AgentConversationSidebar.AgentConversationSidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentConversationSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConversationSidebar.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4097126ff24400cf872dd6c71157943d42f51e13ff542e9c90f32d481c1990e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AgentChats.tsx: ui/src/pages/AgentChats.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in AgentChats.AgentChatsContent 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AgentChats.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentChats.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6d7692ced8153d9aeb48e0260513ef2494aae3ecf6033dc353a897651036be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/workspace-access-state.ts: ui/src/lib/workspace-access-state.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in workspace-access-state.resolveWorkspaceAccessState 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/workspace-access-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":"ui/src/lib/workspace-access-state.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eaf01e11b301c9eed20788aea7dc7c9b376ff589853805d48a79a451cb13f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/fixtures/githubSkillSources.ts: ui/storybook/fixtures/githubSkillSources.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in githubSkillSources.installFixtures 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/fixtures/githubSkillSources.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/fixtures/githubSkillSources.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4388b632099d65f60faacbd8cd10bdd1b0c97ecaa910770fca35865c837c441c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/contracts/question-set.ts: packages/paperclip-runner/src/contracts/question-set.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in question-set.parsePaperclipQuestionSet.questions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/contracts/question-set.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c3aff304ffab78069e5d8a49e8fa68b8e35ad0ccada224f25d40f098cd656"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/eval/live-workflow-executor.ts: packages/paperclip-runner/src/eval/live-workflow-executor.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in live-workflow-executor.executeLiveRunnerWorkflow at line 765. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/eval/live-workflow-executor.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d553b5bc34c9dcdd989e856e9c9798c2569590855d4c7ecd13f6d3141eb770"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/documents.ts: server/src/services/documents.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in documents.documentService.upsertIssueDocument 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/documents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0f2566cd3bb091c2d01137468a433f5312a873abc36e4ac93d59aab25b2422"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/cloud-source-verification.mjs: scripts/cloud-source-verification.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in cloud-source-verification.readSourceVerification 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/cloud-source-verification.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":"scripts/cloud-source-verification.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"214a3d3b9875ff137b4306df3448f1bfd55c68dd2fc0449353cad41ead78803e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/ChatIdentityConfirm.tsx: ui/src/pages/apps/chat/ChatIdentityConfirm.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in ChatIdentityConfirm.ChatIdentityConfirm 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/ChatIdentityConfirm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatIdentityConfirm.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b390d0d1e6fd111b234c839229377169595d3d9c1bfb6245c538fc55aaeb4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatLiveRunPill.tsx: ui/src/components/task-chat/TaskChatLiveRunPill.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TaskChatLiveRunPill.TaskChatLiveRunPill 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatLiveRunPill.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatLiveRunPill.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c1605595701e599c46f19fef663b5f97b7bfb3ff0da9c138982e10070de08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/wake-queue/domain/policy.ts: server/src/modules/wake-queue/domain/policy.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in policy.decideReleaseRecovery 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/wake-queue/domain/policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/policy.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b2b1eee30ba1366e034eff83aa2038304128fdafe1837c0762e70a4b68efbe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/NewProjectDialog.tsx: ui/src/components/NewProjectDialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in NewProjectDialog.NewProjectForm 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/NewProjectDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewProjectDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81dca87deaf55f5fa2bdfec54f5f4b21147dc92f66a54e6aea6910b28d821e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/status-cards.ts: server/src/routes/status-cards.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in status-cards.statusCardRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/status-cards.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/status-cards.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422d6fc70ee7ed3a54945a791b70e385780d36bf6bbe2f2a82ce161d205d182"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/voice/voice-session-store.ts: server/src/services/voice/voice-session-store.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in voice-session-store.voiceSessionStore.reserve at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/voice/voice-session-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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a30506377578153787eff392b71fc6a7b4dbad94ca11796beca649e33b24aef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/GitHubBotConfiguration.tsx: ui/src/pages/apps/chat/GitHubBotConfiguration.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in GitHubBotConfiguration.GitHubAccessEditor at line 578. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/GitHubBotConfiguration.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"342449bca935ddd065322910b20e8fe04d6cfacae9f83ccf1bedc9023ee585c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AgentChat.tsx: ui/src/pages/AgentChat.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in AgentChat.AgentChat 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AgentChat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentChat.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97a3424eee61e114d634eda9d3e92377978ae1eede6a983e3e1a49baaeeeb9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/attention-retention.ts: server/src/services/attention-retention.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in attention-retention.attentionRetentionService.eligible 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/attention-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":"server/src/services/attention-retention.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ef3f0ab28376c4997221fdf4218e659f1e2d074a6cc1fe59c67c0fdf5f837d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/run-dispatch/domain/wake-context.ts: server/src/modules/run-dispatch/domain/wake-context.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in wake-context.isResolvedInteractionContinuationWakeContext 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/run-dispatch/domain/wake-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/domain/wake-context.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c6cd888f624c55fdba65fe2514af625ea583b166aa53f4f2bc899f5bf22435"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/owner-proof.ts: server/src/services/owner-proof.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in owner-proof.proveLocalProcessGone 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/owner-proof.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/owner-proof.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc4747e89cd9aee017fa789dc6f3614fb741b6a43bb7e5f1302c6416cb0af9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarAccountMenu.production.tsx: ui/src/components/SidebarAccountMenu.production.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in SidebarAccountMenu.production.SidebarAccountMenu at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarAccountMenu.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9368a7171d371db5b9176b2930d4ab1d32c2b57b8f9c5d67c6761548cca706a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-instructions.ts: server/src/services/agent-instructions.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in agent-instructions.deriveBundleState 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-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":"server/src/services/agent-instructions.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f5580060dcabf452a050bd9baf2eaeb24d8e68fc98fd889b2f2d2f7be6dea8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/task-chat-activity-presentation.ts: ui/src/components/task-chat/task-chat-activity-presentation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in task-chat-activity-presentation.providerActivityPresentation 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/task-chat-activity-presentation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/task-chat-activity-presentation.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"69434c113c5f186c5f4315d9b7d69949b1f3001317bf6fcae08011a168b5affa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/deadline-work.ts: server/src/services/deadline-work.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in deadline-work.registerDeadlineWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/deadline-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/deadline-work.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5848adef0d601f090ec5e0ae815bab5614dbb327605b3986b50769524bb2129"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/prototypes/RemoteMcpConnectionReview.tsx: ui/storybook/prototypes/RemoteMcpConnectionReview.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in RemoteMcpConnectionReview.RemoteMcpConnectionReview 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/prototypes/RemoteMcpConnectionReview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd5eb967abe8a4e23782c4f92978f278c2482bf15d96b4cd598e64adedc0b84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/__tests__/fixtures/plugin-worker-login-pty.cjs: server/src/__tests__/fixtures/plugin-worker-login-pty.cjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in (anonymous) 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/__tests__/fixtures/plugin-worker-login-pty.cjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/fixtures/plugin-worker-login-pty.cjs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1a8f1418019d06dd96d9258c15f9159b452cefb62b37641936d7930497a684"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/ProfilesTab.tsx: ui/src/pages/tools/ProfilesTab.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ProfilesTab.ProfilesTab at line 644. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/ProfilesTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f7e99dc3288cb54e6f76c8e52db4708aca28aa18290002c4582a52e72f89b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useTaskPluginPanels.ts: ui/src/hooks/useTaskPluginPanels.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in useTaskPluginPanels.useTaskPluginPanels 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useTaskPluginPanels.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskPluginPanels.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4bb027c0a7bf89dfa845ddd2f11a47f286a3851d48dc35a5c4069dc252e4ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-chat-review-presentation.ts: server/src/services/native-runtime/native-chat-review-presentation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in native-chat-review-presentation.reviewPresentationEvidence at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-chat-review-presentation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8328f1aa2896c13da2f999a9b29e084a3fd59e8e3aa2a1a506d1b4f79c97f161"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/inbound/wakeup-authorization.ts: server/src/services/chat-channels/inbound/wakeup-authorization.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in wakeup-authorization.createInboundWakeAuthority.authorizeInboundWakeup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/inbound/wakeup-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":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"62706705543addab740835c3c14b969cbef2a11bb1a27fee8fb1197d6e6f8785"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/instruction-working-copy.ts: server/src/services/heartbeat/instruction-working-copy.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in instruction-working-copy.createHeartbeatInstructionWorkingCopy.prepare 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/instruction-working-copy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/instruction-working-copy.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9194329394224d0594979fe590d90b2d65a2b5e19625e9b1bc83b1b8a53cb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/composer-draft.ts: ui/src/lib/composer-draft.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in composer-draft.loadDraftSubmission at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/composer-draft.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"91101afc2e4a3ef231a13f3b05eea3c8c0313cbfff05ffbadbc023fc828efd3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-unchanged-proof.ts: server/src/services/remote-workspace-unchanged-proof.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in remote-workspace-unchanged-proof.proveRemoteWorkspaceUnchanged 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-unchanged-proof.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-unchanged-proof.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c58c378dc5c0a47d0ce580879f8d92dad601006c51d25ca3eaa46966ceca00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiConnectionCredentialStep.tsx: ui/src/components/ai-connections/AiConnectionCredentialStep.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in AiConnectionCredentialStep.SubscriptionConnectionStep 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiConnectionCredentialStep.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"004079261253c9c4b31032f05b44750abac0eb012d8478038554f79d72a0df1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-hiring.ts: server/src/services/agent-hiring.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in agent-hiring.prepareAgentHire 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-hiring.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-hiring.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff89b2a19b9ef0cbd9951df4f38eb19833c5451a4ec26190bc532a1bfc326caa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/access-finalization.ts: server/src/services/tool-access/oauth/access-finalization.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in access-finalization.createOAuthAccessFinalization.finalizeOAuthAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/access-finalization.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef49f467982c05ed0353cbb00a25d4363d9edaaab719564e704f0eb49809dc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/chat-completion-testops-cli.mjs: tests/runner-e2e/chat-completion-testops-cli.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in run 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/chat-completion-testops-cli.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":"tests/runner-e2e/chat-completion-testops-cli.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"068399d8d7ae5eb8fe6bf86f87cf8edde25cf22fc71cfd2fc1d82eb55732248b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/ProfileSettings.tsx: ui/src/pages/ProfileSettings.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ProfileSettings.ProfileSettings 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/ProfileSettings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProfileSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"470f280896efd2591beafacdfde75551d8d158a5b6f8258ce1e8a48bd562edb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/useSummaryDraftStream.ts: ui/src/components/useSummaryDraftStream.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in useSummaryDraftStream.useSummaryDraftStream 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/useSummaryDraftStream.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cb27830b4037fc4d54dfd2163d75b6b5d907bdef8c4cd2ecc8162cd4a9cc8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/fixtures/SlackSetupFixture.tsx: ui/storybook/fixtures/SlackSetupFixture.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in SlackSetupFixture.SlackSetupFixture 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/fixtures/SlackSetupFixture.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/fixtures/SlackSetupFixture.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"89419c08eb398b7ccd7c9b3c8264dae58ace928eee7435b1548d5b1b33993154"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/smoke/posthog-live.mjs: scripts/smoke/posthog-live.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in posthog-live.runSmoke 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/smoke/posthog-live.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":"scripts/smoke/posthog-live.mjs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"86267d7d4883b0a2a5919ea10ece5cce4a11e703d3eb21adca96266cc89f713e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci-profile/trace.mjs: scripts/ci-profile/trace.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in trace.buildTrace at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/ci-profile/trace.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":"scripts/ci-profile/trace.mjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4ffabf34cd3e31927f3445a4dc1c9eb97e6e1a530d6da40fb703e6ef78a06c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/CommandPalette.tsx: ui/src/components/CommandPalette.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in CommandPalette.CommandPalette 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/CommandPalette.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e8545a58c07b898955ab70f84c1aba37592df5e0b5aa924e11050b560edfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/composer-run-settings.ts: ui/src/components/task-chat/composer-run-settings.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in composer-run-settings.composerEfforts 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/composer-run-settings.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"315bf1e708f82daa99999e54857e8f27ccc3907d4c721842d966769f6a8b4b11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/endpoints.ts: server/src/services/chat-channels/endpoints.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in endpoints.createChatEndpoints.update at line 387. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40933d23261c385f5c41e512ada69f603c9ba39075c530d7a9c34c7d0f7efed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-checks.ts: server/src/services/chat-github-checks.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in chat-github-checks.githubReviewCheckService.dispatch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-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":"server/src/services/chat-github-checks.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f753b1ceed995826731862fec9e90e9746fea56e84e5d375841961a6e3454538"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/project-tools.ts: server/src/services/project-tools.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in project-tools.callProjectTool 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/project-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":"server/src/services/project-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f38a870a6d27c5d24b7bd3e1d7e2fff58de54ec8d05fb287935bd5186ffa8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/billing-reconciliation.ts: server/src/services/billing-reconciliation.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in billing-reconciliation.billingReconciliationService.adjust at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/billing-reconciliation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"067ad35714b0ce786a8902d465c9fc7cafb8a5dc801077f75ffcca52787ff4a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/voice/voice-inbound-service.ts: server/src/services/voice/voice-inbound-service.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in voice-inbound-service.voiceInboundService.lifecycle 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/voice/voice-inbound-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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"126efa4d39384df53f73e9357923f01803d96b7b1ec7a3df05e63bc116a49e20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/FeedCard.tsx: ui/src/components/FeedCard.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in FeedCard.formatVerb 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/FeedCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FeedCard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b4a243d2bd78c58a3c4126d26fe93ba82e1bdb9735194e440f274b5dc9c42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issue-title.ts: server/src/services/issue-title.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in issue-title.setIssueTitle 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-title.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-title.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dc8f5788f224f7da42f3fdc54ba8d31a00a1d2c11e792cc697a82d8f4ebac9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-run-coordinator-store.ts: server/src/services/native-runtime/native-run-coordinator-store.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NativeRunCoordinatorStore.claimFinalization at line 494. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-run-coordinator-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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4412698d576e2c63609566cabc9d919336c8d77bd4054c53b263e4471a95a06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/failed-preparation-settlement.ts: server/src/services/failed-preparation-settlement.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in failed-preparation-settlement.readFailedPreparationSettlement at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/failed-preparation-settlement.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/failed-preparation-settlement.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef2f5b08d54ef4dbe7098e428501ce1a952d146974548f839de9f9d82aa8a41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/useLocalAiLogin.ts: ui/src/components/ai-connections/useLocalAiLogin.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in useLocalAiLogin.useLocalAiLogin at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/useLocalAiLogin.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/useLocalAiLogin.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a0412b4f4c50f2967e2f88494e14dfd5232494f24e870fbd43862fea41d226"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/local-ai-login.ts: server/src/services/local-ai-login.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in local-ai-login.localAiLoginService.start at line 199. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/local-ai-login.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-login.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdaee29120970aec4ed1c412e41596e780e0c1d5ce6e2bd55fad9c2a0b229fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/codex-local/src/server/codex-home.ts: packages/adapters/codex-local/src/server/codex-home.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex-home.seedManagedCodexHome at line 658. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/codex-local/src/server/codex-home.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"907159da751530a74cd874799046df1ba40f27e9a622d44398042cb75814c431"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issue-thread-interaction-resolution.ts: server/src/services/issue-thread-interaction-resolution.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in issue-thread-interaction-resolution.evaluateIssueThreadInteractionResolverAudience 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-thread-interaction-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":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"48944e195415bbf55fc21f92ee01ffb8f18ccba0c822d3247ab6b83a39822879"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check-module-boundaries.mjs: scripts/check-module-boundaries.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in check-module-boundaries.scanModuleBoundaries 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/check-module-boundaries.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":"scripts/check-module-boundaries.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac722e7c8a72fe010b27230ac6a2da769d019068550efee07258e8a54154448"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/github-external-object-provider.ts: server/src/services/github-external-object-provider.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in github-external-object-provider.createGitHubExternalObjectProvider 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/github-external-object-provider.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26a45ce2d63158a3d1b1929a41d0db28a68ccd15a4b7ac527e28cd6356615b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/interactions/confirmation-actions.ts: server/src/services/chat-channels/interactions/confirmation-actions.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in confirmation-actions.createChatConfirmationActions.settleTerminalConfirmationAction at line 285. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/interactions/confirmation-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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb64dc084a0abf377856002dabc9142bd53f92a1f4270b5a7a268cec2dce2cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/storybook-catalog.mjs: scripts/storybook-catalog.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in storybook-catalog.validateCatalog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/storybook-catalog.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":"scripts/storybook-catalog.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"79566465d075d39fd6ce463d53e021d1b14e669e63177be2fcec1c4cd44493d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-github-access.ts: server/src/services/native-runtime/native-github-access.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in native-github-access.createNativeGitHubAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-github-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":"server/src/services/native-runtime/native-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"529472f8c3f446ef14845003284949cbcf250d5a25383aa99d6d32260a6f06c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/InstanceGeneralSettings.tsx: ui/src/pages/InstanceGeneralSettings.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in InstanceGeneralSettings.InstanceGeneralSettings 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/InstanceGeneralSettings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceGeneralSettings.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c0c30492da7d32656dfb7526c64d3ff3ac865b6c05751a3ed70a9468f8306"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/setup-probes.ts: server/src/services/chat-channels/setup-probes.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in setup-probes.createSetupProbes.test 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/setup-probes.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c01571eb5e0286057ecea5c79da5a16661bcd75c103e239565108620c3c4328"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarAgents.production.tsx: ui/src/components/SidebarAgents.production.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in SidebarAgents.production.SidebarAgents at line 298. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarAgents.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"111dd1b2f3e39795def76ec02a4b1c7590d7f1f25d2af19bf07f7cc04f5cdfb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueColumns.tsx: ui/src/components/IssueColumns.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in IssueColumns.InboxIssueTrailingColumns 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueColumns.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2e32eaec8166a708678bc0004de433db6b6a00e96de2412fff3b462a614b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/skill-version-cache.ts: server/src/services/skill-version-cache.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in skill-version-cache.protectedVersions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/skill-version-cache.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-cache.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9605bcdbd77091d9d7e6642cf1f5fe85ae5633be4a3283b93292cf73aac87f19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-action-delivery.ts: server/src/services/tool-action-delivery.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in tool-action-delivery.toolActionDeliveryService.deliver 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-action-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":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaca30db84122ca0beae2477ee3e35c138d41b78b17153b97747281f3ad46349"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-instruction-revisions.ts: server/src/services/agent-instruction-revisions.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in agent-instruction-revisions.agentInstructionRevisionService.commitInternal 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-instruction-revisions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fb6f6f32132650709ff0842641e9baffda2b29d6f95a48590387deeb1e13a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/shared/src/agent-runner.ts: packages/shared/src/agent-runner.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in agent-runner.paperclipRunnerSupportsPlatform 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/agent-runner.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/agent-runner.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"80406597fede16e85fcacfb90187e6b10590b002f945a1c9e47f8a006df77772"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/approvals.ts: server/src/routes/approvals.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in approvals.approvalRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/approvals.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b701cdeaf09c209836a3cffea6da8c54a6ac43ff22f93f0d60c8461aba3e6748"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/routine-triggers/TriggerWizard.tsx: ui/src/components/routine-triggers/TriggerWizard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in TriggerWizard.RoutineTriggerWizard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/routine-triggers/TriggerWizard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"410026e1ad6c40fa980dd381cb66f283bcdc51ae049db77b00ec319e29ad164c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-usage-accounting.ts: server/src/services/native-runtime/native-usage-accounting.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in native-usage-accounting.createNativeTurnAccounting.observe 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-usage-accounting.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef65a54146421ca8119e66cc4a09aaf4fc419b287d17c3462b539813ed53745"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentConversationsSidebar.tsx: ui/src/components/AgentConversationsSidebar.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AgentConversationsSidebar.AgentConversationsSidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentConversationsSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConversationsSidebar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf00cf5d98c7a086f588f12cde10ff69fa5d90afdf97ea7f73524076d2f0299"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatComposerDock.tsx: ui/src/components/task-chat/TaskChatComposerDock.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in TaskChatComposerDock.TaskChatComposerDock at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatComposerDock.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposerDock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad926d0a8c1e66b8a8398d73ac82d19ac0b87849d1b6f625ca3da7e288a41b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/plugin-runner-probe.ts: server/src/services/native-runtime/plugin-runner-probe.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in plugin-runner-probe.probePluginRunnerEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/plugin-runner-probe.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7485f31efe7004e6aff211377f7841b1fea1d492777f98bd510a857bd78a82a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/issue-filters.ts: ui/src/lib/issue-filters.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in issue-filters.applyIssueFilters at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/issue-filters.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-filters.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b393169baec719e4eb86ff39fb9f6e82d27b169a79ef9c7593e831815cb1fae7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-export-recovery.ts: server/src/services/native-runtime/native-workspace-export-recovery.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in native-workspace-export-recovery.recoverCandidate 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-export-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":"server/src/services/native-runtime/native-workspace-export-recovery.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8fac4b35c04ef299350e513abb984cfdbc2d854ca671aca54b0c78f1ff7fa7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/connectors/slack-writes.ts: server/src/services/connectors/slack-writes.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in slack-writes.executeSlackWrite 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/connectors/slack-writes.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"487e603a10b840e18b30f36a9730594e2066238f192e8aa4502a7b7dcf961faa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/work-timeline.ts: server/src/services/work-timeline.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in work-timeline.workTimelineService.getTimeline at line 512. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/work-timeline.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-timeline.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f4f1ee196f206e87d4495a07cf28c71eba59ca04945784ad20c40c74da7c4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/gemini-local/src/server/test.ts: packages/adapters/gemini-local/src/server/test.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in test.testEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/gemini-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"78105be90d93e55b3202d7766286d169f0aa91130d0856ae94aa08934d97c7fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-runner-execution-driver.ts: server/src/services/native-runtime/native-runner-execution-driver.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in native-runner-execution-driver.createNativeRunnerExecutionDriver.controlPlaneRegistration at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-runner-execution-driver.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5193cda28df4be59ea2168a12258d423c8f84c7be7a9aa73671ac00979765c8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/session-preparation.ts: server/src/services/heartbeat/session-preparation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in session-preparation.prepareHeartbeatSession 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/session-preparation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cf4d6e94a974925d3ce1a26e70b52b1fb057213c3ef456cf70175759b2dc0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/assigned-work-invariant.ts: server/src/services/recovery/assigned-work-invariant.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in assigned-work-invariant.evaluateAssignedWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/assigned-work-invariant.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5288ae157229d346a9e0b131ba3b7003f19d18ae14ebe055d491435d4d2b6c7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/blocker-stall-wakeups.ts: server/src/services/recovery/blocker-stall-wakeups.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in blocker-stall-wakeups.wakeWaitersOfStalledIssues 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/blocker-stall-wakeups.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"81540242ce787393d7912f1ccb692249a0cf5dfd69ed978608b43af39589c278"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/issue-queued-comment-queue.ts: ui/src/lib/issue-queued-comment-queue.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in issue-queued-comment-queue.normalizeIssueQueuedCommentQueue 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/issue-queued-comment-queue.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d47ce65740b54e52867215d5a523f3056e8c0b11075669fc8af5fe4dfef247"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Projects.tsx: ui/src/pages/Projects.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Projects.Projects at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Projects.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Projects.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"837bc08c950e7938adf244d32b5581faf14eb29a20a49d4461d872578f329679"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/protocol/replay-contract.ts: packages/paperclip-runner/src/protocol/replay-contract.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in replay-contract.bindingIssues 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/protocol/replay-contract.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84c418221bc4e52e5aba334082d4784b89dc55cf3bc87d282f5be2d3e7f2b37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarCompanyMenu.production.tsx: ui/src/components/SidebarCompanyMenu.production.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in SidebarCompanyMenu.production.BuiltinCompanyMenu 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarCompanyMenu.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faf73986e38176494d1d2366e2f118db194b5189b8e92ba63542951d789ab86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Auth.tsx: ui/src/pages/Auth.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Auth.AuthPage 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Auth.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Auth.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531b73841f71c0048b5742f5aacf7fff2365c6c4249ff7cb379eb967948bfeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts: packages/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in acp-permission-adapter.normalizeAcpxPermission 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0afed61bf0bf67f4972a61c1a99fb30ffb2b61f95ac5c3a3fb56d86d02ac126"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/token-broker/service.ts: server/src/services/tool-access/token-broker/service.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in service.createConnectionTokenBroker.mintConnectionTokenForAgent 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/token-broker/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":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f096f350b067bd4458b1151f036fbcc22fdca42d48d6f015120af730eb280fdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx: ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ManagedAiConnectionDetails.ManagedAiConnectionDetails 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b63d8573ccaa9c050c9dd0ecad520e6318555f5a2e3965f2a2a52e94f9aa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/realtime/runner-prp-outbound.ts: server/src/realtime/runner-prp-outbound.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in runner-prp-outbound.connectRunnerPrpIngress 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/realtime/runner-prp-outbound.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b9671593ca4621fae47794588dfe94e8f31b3ed36bdbf028da94f3daa4f947"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/skill-source-sync.ts: server/src/services/skill-source-sync.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in skill-source-sync.skillSourceSyncService.importBinding 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/skill-source-sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-sync.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea7a4421bd0b588c57c22c3d19c638dc00b0ad24a14d0fad10d224178eb91cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/remote-managed-runtime.ts: packages/adapter-utils/src/remote-managed-runtime.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in remote-managed-runtime.prepareRemoteManagedRuntime 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/remote-managed-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/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf50fb05e38aa3f07ee9b99edb7432342cdce8c17edb1127bfdf8062eec50bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/claude-local/src/server/claude-config.ts: packages/adapters/claude-local/src/server/claude-config.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in claude-config.prepareSandboxClaudeProbeRuntime at line 422. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/server/claude-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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2219d7905ac0d4012ec0c6754c25104239c2a91eca43b07efddb4dab559a9b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts: packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in RunnerdExternalSession.open at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d702a81aabb5ff35a118e1d5dff916b7e7aa6177d37a7ea9d2aa55712dd50f11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/work-products.ts: server/src/services/work-products.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in work-products.workProductService.update 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/work-products.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-products.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"617fd3e36c761d846d2a118e7a963a43b245d7cd66055a3e506e45c2e36d3e75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx: ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in ImportSkillsFromProjectDialog.ImportSkillsFromProjectDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3154eec4cdcbe54e207e47967ac023cb044d424983bf598034dc6e427ae6c909"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/access/InvitesSection.tsx: ui/src/components/access/InvitesSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in InvitesSection.InvitesSection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/access/InvitesSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/access/InvitesSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba09e82ac3ce84d70967bf2a8d41a78b4d7a65ce5c43a6979e090287b64d444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/new-agent-adapters.ts: ui/src/lib/new-agent-adapters.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in new-agent-adapters.isNewAgentAdapterAllowed 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/new-agent-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":"ui/src/lib/new-agent-adapters.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e1916e4caa0b8a98ad651dabe0d6d900354023758fe875a8258a567aebb70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/runtime-context-materializer.ts: packages/paperclip-runner/src/drivers/runtime-context-materializer.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in runtime-context-materializer.managedCodexProviderConfig 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/runtime-context-materializer.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runtime-context-materializer.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1abc4ff2d753b27aa247863ae8f689c7b287df6d4b624ebdd7bb3b5bc31a8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/upgrade-readiness.ts: server/src/services/heartbeat/upgrade-readiness.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in upgrade-readiness.readUpgradeReadiness 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/upgrade-readiness.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/upgrade-readiness.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"775a55fbf377a529f020e0f7e535abb500a9c78127742207c25e73ee5fef8967"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-harness-backup-stamp.ts: server/src/services/native-runtime/native-harness-backup-stamp.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in native-harness-backup-stamp.verifyNativeHarnessBackupStampAsync at line 214. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-harness-backup-stamp.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5992034321206a33ba84dd6e425a0ec00291eb87e2150422bb387d44483f39c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/isolated-remote-workspace-source.ts: server/src/services/isolated-remote-workspace-source.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in isolated-remote-workspace-source.canIsolateRemoteWorkspaceSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/isolated-remote-workspace-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-remote-workspace-source.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcd49cfa8089343acf59d437d56c5a727342c138c7e17ba993708faacda43e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/chat-completion-testops-host-control.mjs: tests/runner-e2e/chat-completion-testops-host-control.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in verifyHostContract 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/chat-completion-testops-host-control.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":"tests/runner-e2e/chat-completion-testops-host-control.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3465c9db37090c70069e22d8890cec7988bd2eeadf191d7a7c2ee28bda23505"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-owner-recovery.ts: server/src/services/native-runtime/native-workspace-owner-recovery.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in native-workspace-owner-recovery.resumeNativeWorkspaceAfterOwnerStop 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-owner-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":"server/src/services/native-runtime/native-workspace-owner-recovery.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc69fadfd522a0e86546932607e071bae54be6de5a1fcf487fdebb89f9e854d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/artifacts/IssueArtifactCard.tsx: ui/src/components/artifacts/IssueArtifactCard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in IssueArtifactCard.IssueArtifactFile 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/artifacts/IssueArtifactCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e2a8b5f3046dabcde9792ba9675b304f8baadf6f73921c9c04104bcfa1bfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/FileTree.tsx: ui/src/components/FileTree.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in FileTree.FileTree 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/FileTree.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileTree.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf8f69f2c2453ac828d6e7be157e80f41580e32ced044797ab4e6197687325c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/idle-local-work.ts: server/src/services/idle-local-work.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in idle-local-work.readIdleLocalWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/idle-local-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-local-work.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e5b5ba1b5eca7219fec2e3b3d7ea045cf0e3152e19c216d97888b24ea958e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/ProjectWorkspaceDetail.tsx: ui/src/pages/ProjectWorkspaceDetail.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in ProjectWorkspaceDetail.ProjectWorkspaceDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/ProjectWorkspaceDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6031213afe15be627613fd78cc0040ea46db0727775e86fd1ae8753cd29944"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/activity.ts: server/src/services/chat-channels/activity.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in activity.createChatActivity.readActivity at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fbf16f78f86d93900196d76957a092cc3375922f870d2a30608b8b2fe5c5fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/evidence-classifier.ts: server/src/services/native-runtime/evidence-classifier.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in evidence-classifier.classifyNativeEvidence at line 270. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/evidence-classifier.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb1a9b1508b57b6f508d7196521b365c92231fe95adaf0b9272f1ca3aeb46ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/external-objects.ts: server/src/services/external-objects.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in external-objects.externalObjectService.registerRefreshWork at line 1128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/external-objects.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a412237bd834d55a3074fd7840f9885a91bc4e5c96fb992747e9ff168815d46f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/completed-activity-summary.ts: ui/src/components/task-chat/completed-activity-summary.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in completed-activity-summary.completedActivitySummary 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/completed-activity-summary.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/completed-activity-summary.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9121f7e0f094b53de053025e4a8276c94413fda5770f66b0ec8947de0640808"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/release-provider-pack.mjs: packages/paperclip-runner/scripts/release-provider-pack.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in release-provider-pack.verifyReleaseProviderPack 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/release-provider-pack.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/paperclip-runner/scripts/release-provider-pack.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"138a3edc84d934e15eda8d43fa596197dfbbe7e774286cb6fd376720cef436a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/credentials.ts: server/src/services/chat-channels/credentials.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in credentials.createChatCredentials.persistCredentials 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f661a860729e9a291dcc51a9d5f167f28d286e40490a182ab820698e9465f18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/prototypes/agent-settings/fixtures.ts: ui/storybook/prototypes/agent-settings/fixtures.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in fixtures.createSettingsFixtures.install at line 261. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/prototypes/agent-settings/fixtures.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/fixtures.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"248d7c46dee9a15cc2284c14db59ef4c734b0d83dd77e037e2504e26085fd71d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/object-byte-journal.ts: server/src/services/object-byte-journal.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in object-byte-journal.createObjectByteJournal.recordVerifiedSourcePrefix at line 470. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/object-byte-journal.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/object-byte-journal.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"774c71bd51002bb1b7293f56834f09340e7931022fed4af7b64cc380506d9145"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/preserved-result-finalization.ts: server/src/services/preserved-result-finalization.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in preserved-result-finalization.readApplicableResult 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/preserved-result-finalization.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/preserved-result-finalization.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f46e32192f08dea3c7421f2014e951228683ed319c1f36f539526f5057171e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/attention.ts: server/src/routes/attention.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in attention.attentionRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/attention.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attention.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a67858e02cffc51ab9d34f976bd80037d44d2de4ef5dae1f632e90ec985b037"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-sdk-runtime.ts: server/src/services/chat-sdk-runtime.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in chat-sdk-runtime.createProviderAdapter at line 1353. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-sdk-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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9d48dde96f49c59735ce5cfc8a0be0a1f033285267005226de73f25e674fd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/PluginManager.tsx: ui/src/pages/PluginManager.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in PluginManager.PluginManager 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/PluginManager.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bd3b92ab84192bb88eea1750866267786c55651a30881697bd56e1fe54afa6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/command-redaction.ts: packages/adapter-utils/src/command-redaction.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in command-redaction.collectDiagnosticEnvironmentSecrets 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/command-redaction.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/command-redaction.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66b5b9123c1404abb240e1ba5ad3a3cfba1d3201979167d68826543872172ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/recent-tasks.ts: ui/src/lib/recent-tasks.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in recent-tasks.recordRecentTask at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/recent-tasks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d9c05f64e7b34d41c77cd0eccf16c34ad21e347c80ac0f9e8eaf996b97cebb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/decision-retention.ts: server/src/services/decision-retention.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in decision-retention.decisionRetentionService.materializeSourceState at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/decision-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":"server/src/services/decision-retention.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"797aa07f9f42dc26f78775c9f14a55aa1a818946797478dd0d09e185e7cb6de3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/adapters/claude-local/config-fields.tsx: ui/src/adapters/claude-local/config-fields.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in config-fields.ClaudeLocalAdvancedFields 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/adapters/claude-local/config-fields.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"de96dc78aac514cd5b36b105ba22d2a55645f7036b76f68a2e4a8ea417fff7a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-bootstrap-proof.ts: server/src/services/native-runtime/native-bootstrap-proof.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in native-bootstrap-proof.runnerdStateHasNoProviderTurn 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-bootstrap-proof.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bfb72b9908c6a83992a959d2638c5329cb3a453d89c087251e5c27ef2c37eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/gateways/GatewaysList.tsx: ui/src/pages/apps/gateways/GatewaysList.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in GatewaysList.GatewaysList 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/gateways/GatewaysList.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/GatewaysList.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"52089dad08b3cd3e8b7e54c249619f7ef7d18e0c85f50207c4d82cfd3211b2b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/conversation-continuation.ts: server/src/services/conversation-continuation.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in conversation-continuation.getConversationOwnershipBlocker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/conversation-continuation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/conversation-continuation.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24cecc40160910bec1cee400981d6d14ec079e52af7c2591bf8ae6ed0e12ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useTaskRetry.ts: ui/src/hooks/useTaskRetry.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in useTaskRetry.useTaskRetry 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useTaskRetry.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskRetry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"908f70cf1534687237dfe89bd4cf8745fdb516ff382a16a2c4c02a84d041b204"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/workspace-finalize-attempt-settlement.ts: server/src/services/recovery/workspace-finalize-attempt-settlement.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in workspace-finalize-attempt-settlement.settleAbandonedRemoteSnapshotSave 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/workspace-finalize-attempt-settlement.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ac312bcb829f11b8794e8c2c1df60f70f15e02ca28a0d93d0407b0d424cff2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/dispatch-work.ts: server/src/services/heartbeat/dispatch-work.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in dispatch-work.registerRunDispatchWork at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/dispatch-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/dispatch-work.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec14e8c442eb04bf1558c916fe3e0c7feb696b9cdceec6af1368f338eb787976"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/prompt-injection-prevention.ts: server/src/services/prompt-injection-prevention.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in prompt-injection-prevention.promptInjectionPreventionService.classify 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/prompt-injection-prevention.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ede1e2cb03e5f2f6c2dce0ba038b80f3c9153112e9191ca7140464b4426d2b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/chat-full-catalog-testops-manifest.mjs: tests/runner-e2e/chat-full-catalog-testops-manifest.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in validateFullCatalogManifest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/chat-full-catalog-testops-manifest.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":"tests/runner-e2e/chat-full-catalog-testops-manifest.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acc89597a7264d63c62b990cd74490fe5076f0d647cade8cb33c1327ebca5ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/agent-auth-jwt.ts: server/src/agent-auth-jwt.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in agent-auth-jwt.verifyLocalAgentJwt at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/agent-auth-jwt.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/agent-auth-jwt.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e145f995e944d13f002ebdfd4c3a4b55d72495f6561564c30a6ab9e3309ffd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/capability-issue-thread-server.mjs: packages/paperclip-runner/scripts/capability-issue-thread-server.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in capability-issue-thread-server.harnessConfiguration 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/capability-issue-thread-server.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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c2c0487a3eadb4efedc34b77f68fe5f4ef48da8cfb40d40335d80c5ccf9b84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiConnectionAccountControls.tsx: ui/src/components/ai-connections/AiConnectionAccountControls.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AiConnectionAccountControls.AiConnectionAccountControls 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiConnectionAccountControls.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionAccountControls.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfe78d0cf9983d7f0d65390dcd3538604f7939e4a0a4342e343ca00828b465d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/feedback.ts: server/src/services/feedback.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in feedback.feedbackService.saveIssueVote at line 1932. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/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":"server/src/services/feedback.ts"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"973d1dba93f024fc812bb5636dfed18b1a417f096c241fcfd334a099c303a816"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AgentAdvancedTab.tsx: ui/src/pages/AgentAdvancedTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in AgentAdvancedTab.ConfigurationEditor 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AgentAdvancedTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentAdvancedTab.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8715dbf67a31f2bc3990009d107f08bb34c38abeb5a674d556ed2981d3548aa1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/bundled-plugins.ts: server/src/services/bundled-plugins.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in bundled-plugins.reconcileBundledPluginManifest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/bundled-plugins.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/bundled-plugins.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95cd72158fc1d5b0152f134c9b4bb938e86385920390b5be9130b1ff680649e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/public/sw.js: ui/public/sw.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in sw.self.addEventListener(\u0022fetch\u0022) 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/public/sw.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/public/sw.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fca609c524708aa9086fa8e94b30fe2601777404573a7b74cacf2bcb58ca1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/paperclip-cloud-connector-enrollment.ts: server/src/services/paperclip-cloud-connector-enrollment.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in paperclip-cloud-connector-enrollment.startPaperclipCloudConnectorEnrollmentUnlocked at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/paperclip-cloud-connector-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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"87739682fd67da5c028b8f621a8a44154b56281b8d7870860b244c96d395a8e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/adapters/gemini-local/config-fields.tsx: ui/src/adapters/gemini-local/config-fields.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in config-fields.GeminiLocalConfigFields 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/adapters/gemini-local/config-fields.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/gemini-local/config-fields.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe011b78d5e7ea0a61ec365f71d5664555ef96cb93d481dfb8e8644efa15ec8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AppConnectionSidebar.tsx: ui/src/components/AppConnectionSidebar.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AppConnectionSidebar.AppDetailSidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AppConnectionSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AppConnectionSidebar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7b4bef9af7f9370aad38a8050d34163c2b98a36ee3f5675ed09a1f376d98c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/test-agent-setup.ts: ui/src/lib/test-agent-setup.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in test-agent-setup.testAgentSetup at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/test-agent-setup.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/test-agent-setup.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"34182609f04d7ee20da28388e78a01164d4108e9fd4d000e29c8a177723384cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/WorkspaceBaseRefRecovery.tsx: ui/src/components/WorkspaceBaseRefRecovery.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in WorkspaceBaseRefRecovery.WorkspaceBaseRefRecoveryProvider 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/WorkspaceBaseRefRecovery.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceBaseRefRecovery.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d5472a84c4b35e78fbbf0d4660dfe51d1081e01e7d39ebd2b56a4327700cc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/connection-refresh.ts: server/src/services/tool-access/oauth/connection-refresh.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in connection-refresh.createLegacyOAuthRefresh 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/connection-refresh.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3e2fe4116c01a8519a99ad931b79e765a97229f5a1c34e963325f267418d2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/DotRunnerConnection.tsx: ui/src/components/DotRunnerConnection.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in DotRunnerConnection.DotRunnerConnection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/DotRunnerConnection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DotRunnerConnection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe9f7f43e079c51059dc8c522057ee10db6319ed03a23b5b8125e0f5b18452c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/interactions/continuations.ts: server/src/services/chat-channels/interactions/continuations.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in continuations.createChatInteractionContinuations.processPendingInteractionWakeups 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/interactions/continuations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dafaae7a4b112c92e86fee1cf8d20be99ca64c2b1cd917f8f1b0f9e1bda5eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/search/SearchResultRow.tsx: ui/src/components/search/SearchResultRow.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in SearchResultRow.SearchResultRowImpl 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/search/SearchResultRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/search/SearchResultRow.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6325bc16235999f04facc2bf8b0952a82ca4cb2407c447e8c79620a95fcd027"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/discord/gateway-events.ts: server/src/services/chat-channels/discord/gateway-events.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in gateway-events.createDiscordGatewayEvents.processDiscordGatewayEvent 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/discord/gateway-events.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeba9a888aa7ea4b95e927781acb62b5c05353d0096153254eddcfca11bac05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/dashboard.ts: server/src/services/dashboard.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in dashboard.dashboardService.summary 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/dashboard.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dashboard.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb3b7e8dffe59a23aceee659a7818fab3f22770be0a54f7d7ef97f64dcb458b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/middleware/idle-admission.ts: server/src/middleware/idle-admission.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in idle-admission.trackIdleRequestHandlers 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/middleware/idle-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":"server/src/middleware/idle-admission.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2959555ef95291a84c279bcc616a64a95e750398ac9ef0db12fabb78679011"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/git-restore-point.ts: server/src/services/git-restore-point.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in git-restore-point.writeIgnoredFiles 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/git-restore-point.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d8803e93c5d014487732e9f8c847a4990ecee52f1741018ec3a9b44f10ee93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/UserProfile.tsx: ui/src/pages/UserProfile.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in UserProfile.UserProfile 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/UserProfile.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/UserProfile.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9f7b64d0136b140aca790ea2b58a07272031056a4fa1d06190edd1631e91bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/side-panel/SidePanelTabs.tsx: ui/src/components/side-panel/SidePanelTabs.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in SidePanelTabs.SidePanelTabs 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/side-panel/SidePanelTabs.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7620fbf4d6ce62c7cb8eabe06b045860e96b1074a3cf8683c12931598c17d86a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/client-registration.ts: server/src/services/tool-access/oauth/client-registration.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in client-registration.createOAuthClientRegistration 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/client-registration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5573b063aa9e66863e122a9ff1bd233b49e82777987d9e70a7dae944662c46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issue-queued-comment-queue.ts: server/src/services/issue-queued-comment-queue.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in issue-queued-comment-queue.decideQueuedCommentQueueSteering 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-queued-comment-queue.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-queued-comment-queue.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcb9cd1ac4a44948000c03ea58a4b166b0b16022540233401fc2ee8b6feae94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/Sidebar.production.tsx: ui/src/components/Sidebar.production.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Sidebar.production.Sidebar 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/Sidebar.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Sidebar.production.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1ed89e71544feb0f1e06b8ae5ba0c1ae08e90e4093ac65e874dbc4fc5e3c2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarStarredProjects.tsx: ui/src/components/SidebarStarredProjects.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SidebarStarredProjects.SidebarStarredProjects 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarStarredProjects.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"811157b7dd6fa5761e6be3a1c352e56f4dc030e3329dd8ad48da1f0940ce3ff5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/connection-intents.ts: server/src/routes/connection-intents.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in connection-intents.runtimeConnectionIntentRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/connection-intents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-intents.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"904283a38910b3f6fc1469b520263167cdfcdcd29c8f1706a7ed33eff8cd7ad6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/BlockedInboxView.tsx: ui/src/components/BlockedInboxView.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BlockedInboxView.BlockedInboxRow 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/BlockedInboxView.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BlockedInboxView.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a4f900e748d720980bf1368b034569505a1def8a3540754ee2f13cec16ff76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/RuntimeTestCard.tsx: ui/src/components/RuntimeTestCard.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RuntimeTestCard.RuntimeTestCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/RuntimeTestCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RuntimeTestCard.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a54b916d6e019ad75d238f1f0f4ecda88cc90c9d9fa0c9482e35b2e18e4558"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/voice/voice-reply-push.ts: server/src/services/voice/voice-reply-push.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in voice-reply-push.pushVoiceReplies 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/voice/voice-reply-push.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-reply-push.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ac1624ebed4cb5866083ce0fc2f9d7ffc8eafc72a7e0a7e9053a9299bdb549"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/access/CompanySettingsNav.tsx: ui/src/components/access/CompanySettingsNav.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CompanySettingsNav.getCompanySettingsTab 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/access/CompanySettingsNav.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/access/CompanySettingsNav.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1c6f5d43722f23350d977f10a5b79c8e8fa5dcb0a510dc74bbac7df5c70bd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/support/github-bot-management/fixture-api.tsx: ui/storybook/support/github-bot-management/fixture-api.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in fixture-api.FixtureApi 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/support/github-bot-management/fixture-api.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/github-bot-management/fixture-api.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5880c54805a1e461421aaee856e6259dd57b8b02a0948e0c67fe0dd050c28346"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/routine-sections/editable-sections.tsx: ui/src/components/routine-sections/editable-sections.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in editable-sections.OverviewSection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/routine-sections/editable-sections.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d38b4e485df0eba078ab0c6eb9046ecb7e2ed06a4b0005f9201db45cf4bb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/realtime/live-event-delivery.ts: server/src/realtime/live-event-delivery.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in live-event-delivery.createLiveEventDelivery.drain 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/realtime/live-event-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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d78e62138059e7466e52c597605a85d7b305a8d779a39f51e57882f759decd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/opencode-local/src/server/runtime-config.ts: packages/adapters/opencode-local/src/server/runtime-config.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in runtime-config.prepareOpenCodeRuntimeConfig 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/opencode-local/src/server/runtime-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/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cdd3367f5bd43fd2f43b0c64f16080be7948be613bcf7f6fe3c8900aed72b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/issue-execution-policy.ts: server/src/services/issue-execution-policy.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in issue-execution-policy.normalizeIssueExecutionPolicy at line 346. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-execution-policy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"043c9bca475dcbf4e2f586a9d5ed1b87afa305a2f7627ebcdf21bb9a355fb92c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/task-retry-authority.ts: server/src/services/chat-channels/task-retry-authority.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in task-retry-authority.taskChatRetryExecutionContained 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/task-retry-authority.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3c129829bc43478876ce01280b4ce7e629aeda783785a431a4ee0c7e296b4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/GrokBotConnection.tsx: ui/src/components/GrokBotConnection.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in GrokBotConnection.GrokBotConnection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/GrokBotConnection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/GrokBotConnection.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a64242fd794d562d655def4b7bce922228796ef2e599f039655e22b36c22ac7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-management.ts: server/src/services/chat-github-management.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in chat-github-management.githubChatManagementService.saveConfiguration 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-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":"server/src/services/chat-github-management.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e53326710effa78fb71f92a02a5719d7b026ccd0767a14af4f617fc7bf760e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/interaction-audience.ts: ui/src/lib/interaction-audience.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in interaction-audience.describeResolverAudience at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/interaction-audience.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/interaction-audience.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"996bf7faebd285a4e650a70216a48b4b091f617679cccea5b6231111bdb01165"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/email-connections.ts: server/src/services/email-connections.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in email-connections.emailConnectionService.listCredentials at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/email-connections.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-connections.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2ec65cda1b4455b2bc3718e426f28004cd8dd5324b89bc2dbb54a1fbf67c5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/AdapterManager.tsx: ui/src/pages/AdapterManager.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in AdapterManager.AdapterManager 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/AdapterManager.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb857ca358790638bad563ca48c9fe60217e3efe9fde62c9ba4bf83563298eb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/features/connections/GenericMcpConnectStep.tsx: ui/src/features/connections/GenericMcpConnectStep.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in GenericMcpConnectStep.GenericMcpConnectStep 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/features/connections/GenericMcpConnectStep.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b0e80d19a9d3b85f9157e22bf3badcd8464256b4b28950a82bec9a101cb7be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/plugin-ui-static.ts: server/src/routes/plugin-ui-static.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in plugin-ui-static.pluginUiStaticRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/plugin-ui-static.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c8191d6ff24b02442b08683b909ada1feaa9b17dd60e41afd2106b10ae5519"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/side-panel/SidePanelTab.tsx: ui/src/components/side-panel/SidePanelTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in SidePanelTab.SidePanelTab 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/side-panel/SidePanelTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelTab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa0c77d27bbb14ce4d5bb2da17067377536a3d5c6f899a7a63af508ebf4fbae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-controller-host-recovery.ts: server/src/services/native-runtime/native-controller-host-recovery.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in native-controller-host-recovery.confirmNativeControllerStopped 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-controller-host-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":"server/src/services/native-runtime/native-controller-host-recovery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"46394a44d48ed4bbaf86de2a95021535bacc8ad88dc893309a7d931191f60e21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/InstanceAccess.tsx: ui/src/pages/InstanceAccess.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in InstanceAccess.InstanceAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/InstanceAccess.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceAccess.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"111ade1a93633c87a6648bd76630f441564176c4e00b6dbb8d29015490ea87ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/idle-incoming-wake-capability.ts: server/src/services/idle-incoming-wake-capability.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in idle-incoming-wake-capability.parseIdleCapabilities 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/idle-incoming-wake-capability.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-incoming-wake-capability.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d8115ef197d969fc91a1bc972cd793da9f3e69f3554ace1e9dafd20aecb408"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/idle-incoming-wake.ts: server/src/services/idle-incoming-wake.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in idle-incoming-wake.readIdleIncomingWakeProof 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/idle-incoming-wake.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-incoming-wake.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5720f624a837bc2a57feae99c08ff72b591ae59b02dcf8dfcff9934a0b730ce7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/acpx-qualification.ts: server/src/services/native-runtime/acpx-qualification.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in acpx-qualification.resolveAcpxQualification 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/acpx-qualification.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdf01c7b6476227620f963a842b737cbe420045c417369835f07dd362c2eab2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ActivityRow.tsx: ui/src/components/ActivityRow.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ActivityRow.ActivityRow 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ActivityRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ActivityRow.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"880addd99934d10e91ee9d5f4778b09892a38f3de2d1a2e025785476656837dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/slack/task-authority.ts: server/src/services/chat-channels/slack/task-authority.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in task-authority.createSlackTaskAuthorityRegistration.authorize 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/slack/task-authority.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-authority.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c7233142f6558f14d5308b8a0f620985a7985508bc1a64aaa8e3628124c3fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/github/webhook-authentication.ts: server/src/services/chat-channels/github/webhook-authentication.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in webhook-authentication.createGitHubWebhookAuthentication.authenticateGitHubWebhook 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/github/webhook-authentication.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce63dfbefc4b187c14d72a225c881272780e66c6289a4d1bf4c57bcde191ace"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-provider-pack-admission.ts: server/src/services/native-runtime/native-provider-pack-admission.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in native-provider-pack-admission.recordNativeProviderPackAdmissionOnce at line 204. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-provider-pack-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":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaee0d76988aeae738310ce6f0fd24ff853beabd5762673f686beab322ee677"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-recovery-attachments.ts: server/src/services/remote-workspace-recovery-attachments.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in remote-workspace-recovery-attachments.attachPreservedRemoteWorkspaceSnapshots 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-recovery-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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa30d2a01b367fc82c64f63a9df32bd158b51257d7a6986cac8d48fb76a6e7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/legacy-shutdown-workspace-settlement.ts: server/src/services/legacy-shutdown-workspace-settlement.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in legacy-shutdown-workspace-settlement.allowLegacyShutdownWorkspaceCleanup at line 172. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/legacy-shutdown-workspace-settlement.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1746148cb90863b95a3b1a618693698db7ead79851163973f321a11ece495964"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CliAuth.tsx: ui/src/pages/CliAuth.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in CliAuth.CliAuthPage 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CliAuth.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CliAuth.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"44404d23cbe92d10df12414d9c46f1e20810657acbd29e8804f030507510be43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/DocumentAnnotationPanel.tsx: ui/src/components/DocumentAnnotationPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in DocumentAnnotationPanel.AnnotationPanelBody at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/DocumentAnnotationPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c4450ef6380997ff0ffc9a6cfafb9ef77a64b2fa1f37e6e47a1e69c0de9f40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/context/CompanyContext.tsx: ui/src/context/CompanyContext.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CompanyContext.CompanyProvider 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/context/CompanyContext.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/CompanyContext.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"369dfffaf5b154b375176e37729eb160f6c3229dd0748e6c8ee49fa6e9cff68d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/environment-custom-images.ts: server/src/services/environment-custom-images.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in environment-custom-images.environmentCustomImageService.finishSetupSession at line 913. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-custom-images.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d24facceb55df82850fe935d28321d2c6d7a469b77b8f1b560e942c99342196"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SearchableSelect.tsx: ui/src/components/SearchableSelect.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in SearchableSelect.SearchableSelect 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SearchableSelect.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SearchableSelect.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7c11dcaf5e70b6ff9320245b009bbb5a13cefca7befd636f7255a166e277e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-run-log-export.ts: server/src/services/native-runtime/native-run-log-export.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in native-run-log-export.restoreCompactedEvent at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-run-log-export.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb44ee9f49360e000e4687717a5cde096ee4d873afb69e2502cd3bd22ad753f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/legacy-workspace-restore-recovery.ts: server/src/services/legacy-workspace-restore-recovery.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in legacy-workspace-restore-recovery.preserveLegacyWorkspaceRestoreSources 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/legacy-workspace-restore-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":"server/src/services/legacy-workspace-restore-recovery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6e935766a0c6d908608a422aaddf14bd48e7493f35b72ac1bd39c9eb63c31d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/remote-provider-pack-verification.ts: server/src/services/native-runtime/remote-provider-pack-verification.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in remote-provider-pack-verification.compatibleInstallation 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/remote-provider-pack-verification.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack-verification.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e843312b9eabc2f50a055848f16476db730e5a8c1befcd7106721b10dd77f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/gateways/GatewayDetail.tsx: ui/src/pages/apps/gateways/GatewayDetail.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GatewayDetail.GatewayDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/gateways/GatewayDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/GatewayDetail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"827e06f43091ccefffedf1600f84971539119b55af87ebd0b627b66153bd396d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/tools.ts: packages/mcp-server/src/tools.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in tools.createToolDefinitions at line 270. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/mcp-server/src/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/mcp-server/src/tools.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f694b10c2005465a79e471f57aa58adf4b8fc692f409e843d0076cd4e8bd1f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-repository-acquisition.ts: server/src/services/task-repository-acquisition.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in task-repository-acquisition.assertSelectedWorkspaceTrust 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/task-repository-acquisition.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-repository-acquisition.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab88487fcd1c198be9f921220e5d354e7e0a713d8ceda36d67107273cd0058dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/remote-launch-assets.ts: server/src/services/native-runtime/remote-launch-assets.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in remote-launch-assets.stageRemoteLaunchAssets 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/remote-launch-assets.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c8d1ddeae002dfe20e354f555c75090989d4a48f10241e5e32d323cb8f225"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/github-access-discovery.ts: server/src/services/tool-access/github-access-discovery.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in github-access-discovery.loadGitHubGrantMetadata 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/github-access-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":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c647fe55a112db71bfb7609baba2e7ef06fd62f2db8a591d5109446535924f2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatActivityPhase.tsx: ui/src/components/task-chat/TaskChatActivityPhase.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in TaskChatActivityPhase.TaskChatActivityPhase 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatActivityPhase.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatActivityPhase.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8737d45c498438a21989eb181abb6777296c55ab4d529300e8ff59daf5d56463"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/pi-local/src/server/parse.ts: packages/adapters/pi-local/src/server/parse.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in parse.createPiJsonlParser.\u003Creturned closure\u003E 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/pi-local/src/server/parse.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7f096f0f4b6aaec179868735a1a773af95c2cc5a50e49a3838569247ec203b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-finalization-work.ts: server/src/services/native-runtime/native-workspace-finalization-work.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in native-workspace-finalization-work.nativeWorkspaceFinalizationWork.checkWithinTrace 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-finalization-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-work.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8815bbca8d8cb03e4300d8b2289677efa33c289034d401275253ed38db9601a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx: ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in TaskChatPlanPreviewCard.TaskChatPlanPreviewCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e513e0ac9b0d3c6fd2596dd580b7efacee320992e707fc9e072753e59771b72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useDurableAutosave.ts: ui/src/hooks/useDurableAutosave.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in useDurableAutosave.useDurableAutosave.execute at line 239. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useDurableAutosave.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcee70441a0c0dd68da9abb639f91a0dfff2c540b9e36f6bd95cff6b275f82e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/AssistantConnection.tsx: ui/src/pages/apps/AssistantConnection.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AssistantConnection.AssistantConnection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/AssistantConnection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AssistantConnection.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6123b9c3d4e69e6d2a6c567f668173a4029d25e14da4c05d115270b9210d29cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/grok-public-install-sandbox.mjs: scripts/grok-public-install-sandbox.mjs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in grok-public-install-sandbox.grokConsumerDockerArgs at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/grok-public-install-sandbox.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":"scripts/grok-public-install-sandbox.mjs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e995e1907551fcaa3c1cabe2f6ed565857b5ef2310742a671286f2de9041726"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/provider-failure.ts: packages/paperclip-runner/src/drivers/acpx/provider-failure.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in provider-failure.acpxProviderFailure at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/provider-failure.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/provider-failure.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"839ab91e65b409e395cecfa79df6221c93b963b39ffe6058544be81f6df9161b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/current-wake-comments.ts: server/src/services/native-runtime/current-wake-comments.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in current-wake-comments.assertCurrentWakeCommentsRead at line 747. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/current-wake-comments.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdab3cdb175a1db80c06f35a728421c95fc9fd4541773e41e12e48237c459d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/github/terminal-response-work.ts: server/src/services/chat-channels/github/terminal-response-work.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in terminal-response-work.registerGitHubTerminalResponseWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/github/terminal-response-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/terminal-response-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6671deed5ca7ff82aa368b3a23e3d9f66bd69388ace20436a2171d6fcd01e6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/pi-local/src/server/test.ts: packages/adapters/pi-local/src/server/test.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in test.testEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/pi-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/test.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3088b8c2b3f778e554583c6f855a66fcd28ab6c09dffac508d79ded211aa5289"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ProviderQuotaCard.tsx: ui/src/components/ProviderQuotaCard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ProviderQuotaCard.ProviderQuotaCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ProviderQuotaCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProviderQuotaCard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf60f26ba0f5a0ff5be2cedd4bd27e8ecda59bffe52f8fae515eb9951e5dc76d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/GitHubBotManagement.tsx: ui/src/pages/apps/chat/GitHubBotManagement.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in GitHubBotManagement.GitHubRepositoryAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/GitHubBotManagement.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1a1e0278bb9e498a899f9f9b801eaeb876e2af0cfcdff59297d861f27244a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/onboarding-first-task-admission.ts: server/src/services/onboarding-first-task-admission.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in onboarding-first-task-admission.readHumanDecision at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/onboarding-first-task-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":"server/src/services/onboarding-first-task-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7cf5a038c1c46d226a5654b304f335630658ae6ff16572becd903fdca37871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-board-response-wait.ts: server/src/services/native-runtime/native-board-response-wait.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in native-board-response-wait.readNativeBoardResponseWaitSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-board-response-wait.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c6af9c3d0a93d561071147db541271db6e4bb427fa72bd35575becef3e9d32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/OrgChart.production.tsx: ui/src/pages/OrgChart.production.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in OrgChart.production.OrgChart at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/OrgChart.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0682fa4783ef861f48bf1aadfb458de7a6b04e939a1f869f480a31d589cdb208"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/AppLogo.tsx: ui/src/pages/apps/AppLogo.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AppLogo.AppLogo 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/AppLogo.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppLogo.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"143a343a1aa2dfd72354f9254c66f527167fd206352a5e62a07ab0e505d3ce5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/gateways/panels/TokensPanel.tsx: ui/src/pages/apps/gateways/panels/TokensPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in TokensPanel.TokensPanel at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/gateways/panels/TokensPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e6e22d2edbc98951e0a96fec941abee00fd505150b741976a3c307c84ed95f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Timeline.tsx: ui/src/pages/Timeline.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Timeline.Timeline at line 307. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/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":"ui/src/pages/Timeline.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a183a170c09861d463c258a6fdd5dcebd0052f547377e2fad28ddf4a11c4386"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiConnectionSelect.tsx: ui/src/components/ai-connections/AiConnectionSelect.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in AiConnectionSelect.AiConnectionSelect 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiConnectionSelect.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionSelect.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"625d9f5e5baf9b95c6b987746f0745730c9ecc2f11cadf877b78a9d9053a654c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/stage-release-runner-binaries.mjs: packages/paperclip-runner/scripts/stage-release-runner-binaries.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in stage-release-runner-binaries.main 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/stage-release-runner-binaries.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/paperclip-runner/scripts/stage-release-runner-binaries.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec80e67b4f07391e8d81bb65b1c522c71a551be42778462b2be9932c686a79f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/query-invalidation-batcher.ts: ui/src/lib/query-invalidation-batcher.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in query-invalidation-batcher.removeCoveredFilters 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/query-invalidation-batcher.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/query-invalidation-batcher.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad411977b616ef3f3b25f74e089aa299f41a4558db8efbabd2ecd98748d40fa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/local-ai-credentials.ts: server/src/services/local-ai-credentials.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in local-ai-credentials.readVerifiedLocalAiCredential 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/local-ai-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":"server/src/services/local-ai-credentials.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"23041c6b21a345e03a4f5578586c45740e160c59ab51625f25f3f69da03fc9ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/skill-source-github-access.ts: server/src/services/skill-source-github-access.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in skill-source-github-access.skillSourceGitHubReader 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/skill-source-github-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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1a1c0e03b614121aaf5f2a80e8531e91607af2039aeeb565773c71dabbd66f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-writer-hold.ts: server/src/services/remote-workspace-writer-hold.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in remote-workspace-writer-hold.readRemoteWorkspaceWriterHold 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-writer-hold.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-writer-hold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"309e300b178ca1f05a1ffd9cf5bbf3d597160e93eddfff1e9f7678788be5ad39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/issue-thread/public-view.ts: packages/paperclip-runner/src/issue-thread/public-view.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in public-view.publicProviderPayload 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/issue-thread/public-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/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ecf7182cf139a86bb102b1d5fc50ef414d014c11ce1d1b2564b5a28576df3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/decision-models.ts: server/src/services/decision-models.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in decision-models.decisionModelService.decide 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/decision-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":"server/src/services/decision-models.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc0753d74f64c3528e0e507c7659d96a8112db2162e9828706737fa4bcea38f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/publications/queue.ts: server/src/services/chat-channels/publications/queue.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in queue.createChatPublicationQueue.processPendingPublications 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/publications/queue.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/queue.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"991b07e9408be877585eae0df9d8de4181f91282ca8c953abc41f4b0b65672a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentSetupPrompt.tsx: ui/src/components/AgentSetupPrompt.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in AgentSetupPrompt.AgentSetupPrompt 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentSetupPrompt.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentSetupPrompt.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc4f08eb7f3765bbe9c3fd786fa54a77207ddd9e62e8c2489448f39662349e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/work-intent-outbox.ts: server/src/services/work-intent-outbox.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in work-intent-outbox.saveUndeliveredUserComments 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/work-intent-outbox.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-intent-outbox.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd8cd053ac40b7d9c03dbeffe52d24cb72e0665a22b089c56369d4ceb1c89c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/kimi-local/src/server/test.ts: packages/adapters/kimi-local/src/server/test.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in test.testEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/kimi-local/src/server/test.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bd446ac6150b17fbe709aa8e2a393f1122a5e815de00d90687600a2d4ebf44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/audit/AuditHub.tsx: ui/src/pages/audit/AuditHub.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AuditHub.AuditHub 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/audit/AuditHub.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditHub.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daf93778c75174b3c2cbb2e55effccfee917f9478e0e51f60b9c48d412b8aa6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/quota-windows.ts: server/src/services/quota-windows.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in quota-windows.fetchCompanyQuotaWindows 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/quota-windows.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/quota-windows.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e86ab25bd0dc59213d2909bc64fab77299aa7001ec91b5d21394bac50bfc1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts: packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in capability-semantic-tool-runtime.commandForOperation at line 1524. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/tools/capability-semantic-tool-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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fe12d080793ed533c9794674d4c2bd8eeb94b2362c8f2a374b0c13813847f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts: packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in PaperclipSemanticDispatcher.dispatch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90280a2bba91b15518e86fb30271a69c03baed9e5f86f9d4d705a0153745411"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AttentionQueueRow.tsx: ui/src/components/AttentionQueueRow.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in AttentionQueueRow.AttentionQueueRow 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AttentionQueueRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb94640c59609c49966937d2ca35edebf0e46d180563422f5e0b43e16f7ab0d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/github/installation-lifecycle.ts: server/src/services/chat-channels/github/installation-lifecycle.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in installation-lifecycle.createGitHubInstallationLifecycle.applyGitHubInstallationLifecycle 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/github/installation-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":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a913fb0e237f7eee87dab2b92ac837ca569fe9ac5b32696eec8bd4e50d3c4eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/live/terminal-call-freshness.ts: packages/paperclip-runner/src/live/terminal-call-freshness.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in terminal-call-freshness.earlierToolCalls 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/live/terminal-call-freshness.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/terminal-call-freshness.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"67787b832e4edfc1d7e26621a2dedb72f49129423f1c74d16a62178fd17afbf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-harness-backup-archive.ts: server/src/services/native-runtime/native-harness-backup-archive.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in native-harness-backup-archive.captureNativeHarnessArchive 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-harness-backup-archive.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c47775d653bad56a1a865d650018ae800d681c4566960afdf7d2f5e8a31642"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/run-liveness.ts: server/src/services/run-liveness.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in run-liveness.classifyRunLiveness 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-liveness.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-liveness.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf38c64108683cd5cbf976b68531758113379805903489cb6c2e47030309588"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/terminal-workspace-work.ts: server/src/services/terminal-workspace-work.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in terminal-workspace-work.registerTerminalWorkspaceWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/terminal-workspace-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/terminal-workspace-work.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e3678481597dcc2c7bfde2eeae0c24d4156ecbbb0773e74616ce3f080e5af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-workspace-tools.ts: server/src/services/task-workspace-tools.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in task-workspace-tools.callTaskWorkspaceTool 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/task-workspace-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":"server/src/services/task-workspace-tools.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27e3b83165efe7b723ec4b0a9cc1d102e68e52ef06956ba769464c1bb7882c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-source-recovery-ownership.ts: server/src/services/native-runtime/native-source-recovery-ownership.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in native-source-recovery-ownership.assertNativeSourceCheckpointConsumer 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-source-recovery-ownership.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-source-recovery-ownership.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"79229677d11ec8069a48b25de3fa335a5ffdc7cd1bfab98422243317d63e13cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/DecisionQueuePage.tsx: ui/src/pages/DecisionQueuePage.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DecisionQueuePage.DecisionQueuePage 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/DecisionQueuePage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c431679df00fdacdc03d7724ac1bfc8d0a7b75f90a60bcae2d27750dd81ca41f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-lifecycle-inbox.ts: server/src/services/plugin-lifecycle-inbox.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in plugin-lifecycle-inbox.pluginLifecycleInbox.acknowledge 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-lifecycle-inbox.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle-inbox.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9af300f33858537243edfa7e68a04b29c94742e9c48293a9f9aaee555037205"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/GatewaysTab.tsx: ui/src/pages/tools/GatewaysTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in GatewaysTab.GatewaysTab at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/GatewaysTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac0e9587de95e91a3b82d4e2ce8108998917fbc39c63cba3644eead89a30b0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentChatPicker.tsx: ui/src/components/AgentChatPicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgentChatPicker.AgentChatPickerResults 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentChatPicker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentChatPicker.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4d829504d6eb4c6f6f57bff2916f36a02889db5767c3507cc2fcdd5ce74b77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/select-tests.mjs: scripts/ci/select-tests.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in select-tests.createTestSelection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/ci/select-tests.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":"scripts/ci/select-tests.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e1ad676ff97e20d7b287b9e972e5823bffc90c4dad31bd0f67a2eac8689a6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/prompts/server.ts: cli/src/prompts/server.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in server.promptServer 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/prompts/server.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/server.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17346293ab51effe790555e6233b9c8f6d47de521d570ed6c8f570dd89f0ec6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/plugin-workspace-preparation.ts: server/src/services/plugin-workspace-preparation.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in plugin-workspace-preparation.callWorkspaceProvider 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/plugin-workspace-preparation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-workspace-preparation.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"99167377c945c01f08fb29b42127d69d01c16cb76be3a6d4ade8b84b2adc11b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/chat/ChatExecutionDefaults.tsx: ui/src/pages/apps/chat/ChatExecutionDefaults.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ChatExecutionDefaults.ChatExecutionDefaults 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/chat/ChatExecutionDefaults.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatExecutionDefaults.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44089a11b1ed659e181e18e2c1cba206cabcb361b30529d785861f80498cae4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/provider-pack-layers.ts: server/src/services/native-runtime/provider-pack-layers.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in provider-pack-layers.readProviderPackLayers 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/provider-pack-layers.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-layers.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bcea4e727b332871eab90293d746002976c35bcabcd8ea9e618b0c144b5c4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/SmokeLabTab.tsx: ui/src/pages/tools/SmokeLabTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in SmokeLabTab.SmokeLabTab at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/SmokeLabTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/SmokeLabTab.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae2c307615eb4c6fbe4e742fc041513f7ce13ab8a85b78e3a11e3602b268e2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/agent-status.ts: server/src/services/heartbeat/agent-status.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in agent-status.createHeartbeatAgentStatus.reconcileStrandedAgentStatuses 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/agent-status.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/agent-status.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55d9faea9b8cd2766dd188aefe69fc406ac2eca3b9ae523f31be76d7339a8f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts: packages/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in opencode-proxy-finish-diagnostics.createOpenCodeFinishDiagnosticForwarder.diagnostic 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a145c2ea5ab02fde924a906e21eed94f29e1781ab3a6eb0c7cd6a756676520"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarProjects.tsx: ui/src/components/SidebarProjects.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SidebarProjects.ProjectItem 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarProjects.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dab9f1d80991f492c2be47ea0eb647c7ac9c2e52b8471355bd32e194db07b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useRunnerSubmission.ts: ui/src/hooks/useRunnerSubmission.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in useRunnerSubmission.useRunnerSubmission 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useRunnerSubmission.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useRunnerSubmission.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f5da18cd9b1721ab4cdd4b8d19b2ce7ef8625c129a893a10a3aaec90984c86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/workspace-restore-diagnostics.ts: packages/adapter-utils/src/workspace-restore-diagnostics.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in workspace-restore-diagnostics.sanitizeWorkspaceRestoreDiagnostic 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/workspace-restore-diagnostics.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cb9dce4b1a7d78822322d2ee34d73f08dac486334bf27b6422e58c683193e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/KanbanBoard.tsx: ui/src/components/KanbanBoard.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in KanbanBoard.KanbanCard at line 277. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/KanbanBoard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/KanbanBoard.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f92ffa083763206a125b75aa9e7f7477e9f46cb0970e4037b88e56850d6d55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/queued-run-dispatch-order.ts: server/src/services/heartbeat/queued-run-dispatch-order.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in queued-run-dispatch-order.queuedRunDispatchLine 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/queued-run-dispatch-order.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queued-run-dispatch-order.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"23592d4304ef123da0cb8aa150c8b182c093c59d2d0d7f8b84e3c70a3e7fe40d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/agent-commentary.ts: server/src/routes/agent-commentary.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in agent-commentary.agentCommentaryRoutes at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/agent-commentary.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-commentary.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeae09faee42c0979a2a8223fdbe65f919c39de9d912d513572147b2f58d653"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/ApprovalDetail.tsx: ui/src/pages/ApprovalDetail.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ApprovalDetail.ApprovalDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/ApprovalDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ApprovalDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb55031379b1c3dd64baea76bd520a5e6c42fe711ea716a39b4a1cb5cfc34a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/grok-effort.ts: packages/paperclip-runner/src/drivers/acpx/grok-effort.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in grok-effort.createGrokEffortAdmission.createGuard.\u003Creturned closure\u003E 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/grok-effort.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/grok-effort.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab23910e68a483cc24411d5b06ae35aa4be9181f82e01a0ebec7321c8305fe1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/chat/AgentWorkPanels.tsx: ui/src/components/chat/AgentWorkPanels.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AgentWorkPanels.AgentTasksPanel 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/chat/AgentWorkPanels.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/AgentWorkPanels.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8751f1e5773991f03ca9dea646f73a8aa2df11aac73174efc0447c5d8cdf985"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-side-panel/TaskAttachmentPanel.tsx: ui/src/components/task-side-panel/TaskAttachmentPanel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TaskAttachmentPanel.TextAttachmentPreview 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-side-panel/TaskAttachmentPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskAttachmentPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c6afe0cd3a4f4b868150cc2f75f512f98091da01dc6eb63732ab0127b39aec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/runner-e2e/product-regression-testops-cli.mjs: tests/runner-e2e/product-regression-testops-cli.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in productTestOps 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- tests/runner-e2e/product-regression-testops-cli.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":"tests/runner-e2e/product-regression-testops-cli.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01ef1560afa193da8312fc0326f8482a1c5250ed498cee6558ad3e531ef2695"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ReportsToPicker.tsx: ui/src/components/ReportsToPicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ReportsToPicker.ReportsToPicker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ReportsToPicker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ReportsToPicker.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"155c0d0b02bf8c7f262f760a6813fc3274331c5efb2c0542a25489b8408391c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/features/connections/GoogleWorkspaceServices.tsx: ui/src/features/connections/GoogleWorkspaceServices.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in GoogleWorkspaceServices.GoogleWorkspaceServicesDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/features/connections/GoogleWorkspaceServices.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/GoogleWorkspaceServices.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"064e1d8a4a2f1d4f904563a57231d5851a6e558094bd5658ec499e5b816186da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/profiles/ProfileDetail.tsx: ui/src/pages/tools/profiles/ProfileDetail.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ProfileDetail.ProfileDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/profiles/ProfileDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed093ee40b9d63c19baf98f98d989c5a00ec0ae8fa4f26269aa2183988ba6e70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/publications/resolution.ts: server/src/services/chat-channels/publications/resolution.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in resolution.createChatPublicationResolution.resolvePublication at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/publications/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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e1401372dde52f668f8c089495872c280318732b07dd68f3566ff54816b01"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/JsonSchemaForm.tsx: ui/src/components/JsonSchemaForm.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in JsonSchemaForm.SecretField at line 583. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/JsonSchemaForm.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb649bd08cf2c7b0c6fac1de92c97b0dff61977b3f6bcdd1c2ec994a3ea38d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/skills/SkillPackagePreview.tsx: ui/src/pages/skills/SkillPackagePreview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in SkillPackagePreview.SkillPackagePreview 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/skills/SkillPackagePreview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/SkillPackagePreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac460b302657afb2d48d8d824b8757c8e7fc8324e7f47aa24facb6057385384b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-recovery-stop-proof.ts: server/src/services/workspace-recovery-stop-proof.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in workspace-recovery-stop-proof.rearmExhaustedStopProof 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-recovery-stop-proof.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-stop-proof.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f360023225cb0c9a5f9d99d95cd1a8eaa91474dc217bfd7c1f5d437c4d27af9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/connections/installs.ts: server/src/services/tool-access/connections/installs.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in installs.createConnectionInstalls.putConnectionInstalls 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/connections/installs.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/installs.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"533dc1170d1e566d9461f89c5501c8804d5d65d25f46a9eaf2527dd8694986c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx: ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in SkillSourceConnectionRepair.SkillSourceConnectionRepair 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b273a39ba92e42b69d20211aee6361ba4489ddb2a6d116cedf6779fa8c8279"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts: packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in codex-question-adapter.runtimeRequestResponse at line 563. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe8735f6762e31d15814725f9fc4cfaee633ae51c61e872e8adddfb650aa5ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-http-fetch.ts: server/src/services/remote-http-fetch.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in remote-http-fetch.sendRequest at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-http-fetch.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-http-fetch.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"837eb186668bac3fbaa7c077900d844f6592b2976d499cc9f12e7e7967a8ffb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ExecutionWorkspaceCloseDialog.tsx: ui/src/components/ExecutionWorkspaceCloseDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in ExecutionWorkspaceCloseDialog.ExecutionWorkspaceCloseDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ExecutionWorkspaceCloseDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ExecutionWorkspaceCloseDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9d4f6c03fc59a1fe18dd957c4fdf7f3cf5cc51e5447c204be3e62b2a25956a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/provider-effects.ts: server/src/services/chat-channels/provider-effects.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in provider-effects.createProviderEffects.finalizeProviderEffectFailure at line 238. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/provider-effects.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b945a5e5b4bd2688d59eecbad67c7e18914f778c79c7cbf2b947608bf6fba52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CaseDetail.tsx: ui/src/pages/CaseDetail.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in CaseDetail.CaseDetail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CaseDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CaseDetail.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb55e2e103ac2e3aef5b74ff07b391ae3a2947c733107479f57ee4aa29861f21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/runner-prp-coordinator.ts: server/src/services/native-runtime/runner-prp-coordinator.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in runner-prp-coordinator.runnerPrpCoordinator.prepare at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/runner-prp-coordinator.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-prp-coordinator.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889af37df6a0128be03e508e3fefa3b1222a1a64b86982ccbf672f6e46913e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/provider-quota-reset.ts: server/src/services/provider-quota-reset.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in provider-quota-reset.parseProviderQuotaClockReset 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/provider-quota-reset.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-quota-reset.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66dbbeb2df431818c1a8ec84294c5f2b30921571142f86d4abac7761e9f4030"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/DecisionResolver.tsx: ui/src/components/DecisionResolver.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in DecisionResolver.DecisionResolver at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/DecisionResolver.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2bed87d3f9508e8b60140e63d18c564e94f7dc8589a76f21367f3453108bd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/IssueLinkQuicklook.tsx: ui/src/components/IssueLinkQuicklook.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in IssueLinkQuicklook.IssueLinkQuicklook at line 233. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/IssueLinkQuicklook.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueLinkQuicklook.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89bcb395f61011fb626ec8612a964aa47df3dbd34d262df60ae935f51043639"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/budget-enforcement-worker.ts: server/src/services/budget-enforcement-worker.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in budget-enforcement-worker.registerBudgetEnforcementWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/budget-enforcement-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":"server/src/services/budget-enforcement-worker.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd55d0aa341886e26154d5bf82442df76bec18027a7e25f2a6c7fc2680b4d4ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/agent-file-maintenance.ts: server/src/services/agent-file-maintenance.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in agent-file-maintenance.migrateAgentFiles 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-file-maintenance.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3371070c0c66768626a1f1090b66356f1504d5c7153d09ad20cfa1140616af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx: ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ExternalAgentInvitePreview.ExternalAgentInvitePreview 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0d6b014b4b96d46754ffa6b94e375399ed9c857e3c930f3dcc0d76b16b682d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-receipt-reactions.ts: server/src/services/chat-receipt-reactions.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in chat-receipt-reactions.stageReceiptReactionRemovals 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-receipt-reactions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-receipt-reactions.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f15d2c8a06de3cc40c8047c5b76ac0ee5ddb899179033184e8868d47b70bbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx: ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in RunnerActivityPreview.RunnerActivityPreview at line 162. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d089f586e4917bad1d67b5066e2e9743fddb76ec0f1e271af69d12d6645b919"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts: packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in run-site-sandbox.createSandboxRunSite.placeWorkspace at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"07254d003e97cfae79b25ef91c4c0459b05c405dcd6fef78379826994e2d8d1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/usage-accounting.ts: packages/paperclip-runner/src/drivers/acpx/usage-accounting.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in usage-accounting.persistedAcpxTurnUsage 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/usage-accounting.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/usage-accounting.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9983301cce4b688eb2c3493316dfa9992a43a80c4fed38c57909748da33ae7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentLifecycleStatus.tsx: ui/src/components/AgentLifecycleStatus.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AgentLifecycleStatus.AgentLifecycleStatus 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentLifecycleStatus.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentLifecycleStatus.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd88d2da690033c6da4ef0182e4160606752e2be75269e9b7d6422da1ad159b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat-run-privacy.ts: server/src/services/heartbeat-run-privacy.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in heartbeat-run-privacy.getHeartbeatRunReadDecisions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat-run-privacy.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-privacy.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bce31ca951b9004ea74f41a1ca66ccccdfd89199aba903f52e33c26764128e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/isolated-task-directory.ts: server/src/services/isolated-task-directory.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in isolated-task-directory.materializeIsolatedTaskDirectory 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/isolated-task-directory.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"41accb1693eec0ad975e0718d720ed602100ce74e5c9661119a7229f19d67a07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/worktree-config.ts: server/src/worktree-config.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in worktree-config.maybeRepairLegacyWorktreeConfigAndEnvFiles at line 450. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/worktree-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":"server/src/worktree-config.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"088db865edd0b0b5962af5eb1e850652bd77ed9528582094744d27ef7af7a91d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/workspace-checkpoint.ts: packages/adapter-utils/src/workspace-checkpoint.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in workspace-checkpoint.checkpointMain 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/workspace-checkpoint.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"40067425604574079bc996593124b4a11bfb2591395dbb4acae85ece9204f70a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-detail/TaskDetailTasksPanel.tsx: ui/src/components/task-detail/TaskDetailTasksPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TaskDetailTasksPanel.TaskDetailTasksPanel 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-detail/TaskDetailTasksPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-detail/TaskDetailTasksPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcb72fdf0146f218658dcfcc92e17b72bd12928628ef829c51424581f5926e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/DesignSandboxTasks.tsx: ui/src/pages/DesignSandboxTasks.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DesignSandboxTasks.DesignSandboxTasks 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/DesignSandboxTasks.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/DesignSandboxTasks.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8d6b7d43610d3a01c4ec0cc950ac09e24dbf7adcebe9bedcc66b0854822f5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-controller-archive-source.ts: server/src/services/native-runtime/native-controller-archive-source.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in native-controller-archive-source.assertSettledControllerArchiveSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-controller-archive-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-archive-source.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d27afad9fef29c53f5cdd72cc5556a5958343d59001f29ea74f71997358b06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/qualify-claude-setup.ts: ui/src/lib/qualify-claude-setup.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in qualify-claude-setup.qualifyRunnerEnvironment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/qualify-claude-setup.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/qualify-claude-setup.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb1cfd68f65c95cd3d98893980ad3be3d71bf8e3decf1c0b9af05e3940d514a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/audit/AuditRuns.tsx: ui/src/pages/audit/AuditRuns.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AuditRuns.AuditRuns 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/audit/AuditRuns.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditRuns.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f14f52a0a0d4abede7cb3f61ecd400f5b185e4efd17e43bb5c700a3a015673"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-session-handoff.ts: server/src/services/native-runtime/native-session-handoff.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in native-session-handoff.buildNativeSessionHandoff 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-session-handoff.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-handoff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92faec14c48a6ea96d7cf9e91746463ae8c1a6b09e751d8d247e3787b4f07c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/http2-bridge-server.ts: packages/adapter-utils/src/http2-bridge-server.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in http2-bridge-server.createHttp2BridgeServer.handleStream at line 1161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/http2-bridge-server.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a93ef86eff2adb7a0e05a9bd079eeb6fa7ea8389eeecde158585044dca743f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/cli/eval-gateway-runtime.ts: packages/paperclip-runner/src/cli/eval-gateway-runtime.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in eval-gateway-runtime.prepareEvalGatewayRuntime 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/eval-gateway-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/paperclip-runner/src/cli/eval-gateway-runtime.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5035a7eedfce9ad8b3489298b4c609a3d928892b3fc8361a4acaecec9008e3f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapter-utils/src/agent-observability.ts: packages/adapter-utils/src/agent-observability.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in agent-observability.buildProviderObservabilityLaunch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/agent-observability.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/agent-observability.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b01b0b3a5b56787fe578bcf0189c4c9fd5200743c04c2f94e78c6f99a0e2c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/decision-models/DecisionHistory.tsx: ui/src/components/decision-models/DecisionHistory.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in DecisionHistory.DecisionHistoryTable at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/decision-models/DecisionHistory.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/decision-models/DecisionHistory.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee635e17fd5532d16bd4214d6f16d8658a84bed431cfa1c3d0cd217be9459e53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/claude-local/src/server/setup-token-runner.ts: packages/adapters/claude-local/src/server/setup-token-runner.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in setup-token-runner.runSetupTokenLogin 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/server/setup-token-runner.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/setup-token-runner.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3228af6988eea8d33a606a7bfad9e626aacbcf47a631bca3a737a368a7c447c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/obsolete-policy-reviews.ts: server/src/services/native-runtime/obsolete-policy-reviews.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in obsolete-policy-reviews.dismissCandidates 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/obsolete-policy-reviews.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/obsolete-policy-reviews.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"212beade3b60c902a9a521b063d923128ae1b0483ca9622b3578643867ba2a52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-source-lock.ts: server/src/services/workspace-source-lock.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in workspace-source-lock.withWorkspaceSourceLocks 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-source-lock.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-source-lock.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cc11b575c968ce620518a66a27f84bc95dfb4c6a5e85d170e5d0381448cba6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/onboarding/SavedProviderKeySelect.tsx: ui/src/components/onboarding/SavedProviderKeySelect.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SavedProviderKeySelect.useSavedProviderKeys 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/onboarding/SavedProviderKeySelect.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/SavedProviderKeySelect.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb1d4450e87635020a46d68f1d162aa96433dab1d017db6adfab156cc0b57b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/agent-detail-navigation.ts: ui/src/pages/agent-detail-navigation.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in agent-detail-navigation.parseAgentDetailView 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/agent-detail-navigation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-detail-navigation.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d4a934fcc2349ac4fe5f171e28ce4c1316e5638ac4747b39a06c7f017cae9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/completion-continuation.ts: packages/paperclip-runner/src/drivers/completion-continuation.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in completion-continuation.resolveCompletionContinuation at line 2. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/completion-continuation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/completion-continuation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"451106240e10d0ffa0afb400369e779fac170ee5711fe87b5810a3ac2fe831cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/dot-assignment-follow-up.ts: server/src/services/dot-assignment-follow-up.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in dot-assignment-follow-up.consumeDotHistoryReceipt 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/dot-assignment-follow-up.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-assignment-follow-up.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d5f059614533dd690ca4e650a17875836d874dbb3e8d14bf8b17c882347b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarStarredProjects.production.tsx: ui/src/components/SidebarStarredProjects.production.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SidebarStarredProjects.production.SidebarStarredProjects 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarStarredProjects.production.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"001f6a4a503b9e6052ea1ebdd7176b521d8ab75ab716650f8a24ecf48515e184"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/slack/webhook-callbacks.ts: server/src/services/chat-channels/slack/webhook-callbacks.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in webhook-callbacks.createSlackWebhookCallbacks.recordSlackWebhookCallback 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/slack/webhook-callbacks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/webhook-callbacks.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdda7e0145dfb57ddb4da40686e16abce159901472eecf22cc6251cc95f65fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/audit/AgentCommentary.tsx: ui/src/pages/audit/AgentCommentary.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AgentCommentary.AgentCommentary 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/audit/AgentCommentary.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AgentCommentary.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d81935521000779f3cff6479e3df518cff9b6ae444c2ffa3a1c6ddfa6933e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarShell.tsx: ui/src/components/SidebarShell.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SidebarShell.SidebarShell 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarShell.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"152e25fd899f14116a624b64ab564a001d3349d0a0b54e85b790cd60d12fe04a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-retired-backup-source.ts: server/src/services/native-runtime/native-retired-backup-source.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in native-retired-backup-source.retiredSourceAuthorizesNativeBackupRestore 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-retired-backup-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-retired-backup-source.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a9a4bbc99427e6486282131661076358e82271e656cfdae48493242dc062a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/remote-workspace-files.ts: server/src/services/remote-workspace-files.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in remote-workspace-files.createRemoteWorkspaceFiles.open 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-workspace-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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab35fb3680e24ae9fc4727948f2230e656dc2d3b195e9ca1e1e3fa59879538b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Approvals.tsx: ui/src/pages/Approvals.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Approvals.Approvals 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Approvals.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Approvals.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3f09fa1962a1648565c272eb50de9c92bf13b20a7bb35fb2aee24af2422bf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/decision-queues.ts: server/src/services/decision-queues.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in decision-queues.decisionQueueService.materializeSeedSources at line 399. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/decision-queues.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edfb588b952db47b4e76fe2faa5da66c234976134aa8e9c50e982d64ebf58ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/adapters/codex-local/src/server/codex-args.ts: packages/adapters/codex-local/src/server/codex-args.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex-args.buildCodexExecArgs 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/codex-local/src/server/codex-args.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-args.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"334cee148e5055469a0079e6ff1a7761ce14c82a1018dfb1f2a12177fcec5213"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/mcp-fixtures/servers/acp-echo-agent.mjs: scripts/mcp-fixtures/servers/acp-echo-agent.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in acp-echo-agent.handleRequest at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/mcp-fixtures/servers/acp-echo-agent.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":"scripts/mcp-fixtures/servers/acp-echo-agent.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7fb0b9fc6aea06a78dbb2ed2126b74540c2562bccef0cb692c6408ec2c230e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/transcript/RunTranscriptView.tsx: ui/src/components/transcript/RunTranscriptView.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in RunTranscriptView.TranscriptProviderActivity at line 864. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/transcript/RunTranscriptView.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"678a0be7cceeee02e72126823eca8ac15e496be0a9c2078c03d441a241da2fec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/mcp-apps.ts: server/src/routes/mcp-apps.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in mcp-apps.mcpAppsRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/mcp-apps.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/mcp-apps.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf7d15507235a70624582655b0e983583bf16a4d3415908d20ad1910f60f3f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/decisions.ts: server/src/routes/decisions.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in decisions.decisionRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/decisions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decisions.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b34f05bb1f573c70e11b5bdfb0d715733d82e68e6f8f41b9b73c5e0802992"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/JoinRequestQueue.tsx: ui/src/pages/JoinRequestQueue.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in JoinRequestQueue.JoinRequestQueue 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/JoinRequestQueue.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/JoinRequestQueue.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3a3097810b276f9ec11bab03dca14666f54959fc1fee7db27b2ca2b7712e68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/catalog/reader.ts: server/src/services/tool-access/catalog/reader.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in reader.createToolCatalogReader.listCatalog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/catalog/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":"server/src/services/tool-access/catalog/reader.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e60a29ef8197d3d44664996d02efbe481b5f7dab076e586da4b8a2d3c7d88d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-chat-workspace.ts: server/src/services/native-runtime/native-chat-workspace.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in native-chat-workspace.nativeChatWorkspaceCwd 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-chat-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":"server/src/services/native-runtime/native-chat-workspace.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b3e42c5443dc704d213861e3ccb15382b2b08abbe35d3ddb4dd55d2255c529"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/fixtures/remoteMcpConnections.ts: ui/storybook/fixtures/remoteMcpConnections.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in remoteMcpConnections.initialReviewState 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/fixtures/remoteMcpConnections.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/fixtures/remoteMcpConnections.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd246e6f40a492ff591d43b6d7d0a8f676275a2718052741f0a5f15ddd88eb30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/queued-run-line.ts: server/src/services/heartbeat/queued-run-line.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in queued-run-line.queuedRunDispatchFacts 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/queued-run-line.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queued-run-line.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"476c727a5afcdc582a6111a6ede17085fe1e293dceff48a7274264393afdf44d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/workspace-restore-recovery-state.ts: server/src/services/workspace-restore-recovery-state.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in workspace-restore-recovery-state.nativeRunHasNoWorkspaceAccess 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-restore-recovery-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":"server/src/services/workspace-restore-recovery-state.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"122a9f33938695d3539b59ca831d8afab2ec8c756711f4835c8c928d637ef4f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/AuditTab.tsx: ui/src/pages/tools/AuditTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AuditTab.AuditTab 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/AuditTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd6dda90e49e418e7ea4d2826586b55336f2a1727400d7147def9f7034135bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/local-ai-browser-login.ts: server/src/services/local-ai-browser-login.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in local-ai-browser-login.startLocalBrowserLogin 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/local-ai-browser-login.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-browser-login.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"164f1aeed4f5aa126e39d9fc6a412710f33490885be6816b858bf337447009a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat-github-launchers.ts: server/src/services/heartbeat-github-launchers.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in heartbeat-github-launchers.prepareHeartbeatGitHubLaunchers at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat-github-launchers.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-github-launchers.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbda59a4dd145f0fdee4dde9340d894a5132fbd90c075423cd95a95a81bdc48f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiConnectionPicker.tsx: ui/src/components/ai-connections/AiConnectionPicker.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AiConnectionPicker.AiConnectionPicker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiConnectionPicker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionPicker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0f15542658d8dc6f1ebed2eee8cf6f06c8484985fca994ba11b134c16240c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/side-panel/SidePanelFrame.tsx: ui/src/components/side-panel/SidePanelFrame.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SidePanelFrame.SidePanelFrame 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/side-panel/SidePanelFrame.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelFrame.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b17ed7a688c8056e2689c4d4daf8bf6a383b2df0351eaff9b8b71a21774e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts: packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex-credentials.acquireCredentialHomeLock at line 362. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/acpx/codex-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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"73beda50204231e8fa62346255e641739b136926ee7f17e4ba90af01f32a1c64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/InboxAgentPolicyControl.tsx: ui/src/components/InboxAgentPolicyControl.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in InboxAgentPolicyControl.InboxAgentPolicyControl 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/InboxAgentPolicyControl.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InboxAgentPolicyControl.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a929e4c673958e4f8d5ba239493c16d8b5b136b66303dcd0c546ca315b2c7df7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/ai-provider-routing.ts: server/src/services/ai-provider-routing.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ai-provider-routing.managedProviderRouting at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/ai-provider-routing.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-provider-routing.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f84dfa7392fcba8002c1f5cbacd99d7a36ccfd47c40806993cd04643dde5d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/decision-training.ts: server/src/routes/decision-training.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in decision-training.decisionTrainingRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/decision-training.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-training.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa275658a36a9d64f7b633f2fdb0a88ba7b5e9e27545ba299c8998f4ced66c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/shared/src/workspace-commands.ts: packages/shared/src/workspace-commands.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in workspace-commands.scoreWorkspaceRuntimeServiceMatch 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/workspace-commands.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/workspace-commands.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cf8ced9d6f49e6546dc30b9b64952145833afe5524102a296aec041383ea6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts: server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in workspace-busy-wait.parkWorkspaceBusyRetryInTx 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fcc925b93c048fe2a38369e1a958cc2cfa5d5e2bc19b9f302f655b95c48af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/catalog/failures.ts: server/src/services/tool-access/catalog/failures.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in failures.healthFailureHttpStatus 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/catalog/failures.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/failures.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a75e65672f21e7569e2e807f016aa3ad7073bec271ae13cdf65706bca87356"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/watch-release-source.mjs: scripts/watch-release-source.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in watch-release-source.watchReleaseSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/watch-release-source.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":"scripts/watch-release-source.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"88331a1595f339df3c4b757c4effe31121860b1b994dbf0d9fef740ea773ddeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/__tests__/fixtures/plugin-worker-invocation-scope.cjs: server/src/__tests__/fixtures/plugin-worker-invocation-scope.cjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in sendNestedHostRequest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/__tests__/fixtures/plugin-worker-invocation-scope.cjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/fixtures/plugin-worker-invocation-scope.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a0941c716930b4004088a76b0e542cd150a004adb8f4f1d7bfed03df1ec4a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/agent-avatars.ts: server/src/routes/agent-avatars.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in agent-avatars.agentAvatarRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/agent-avatars.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-avatars.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37e29765cff6868bf0552bbb18c58a35d10d124993cb84167fb6896cdfe2ea1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/AgentCharacter.tsx: ui/src/components/AgentCharacter.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AgentCharacter.AgentCharacter 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AgentCharacter.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentCharacter.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e27a5f8960fedd6b1de029fd68a41e6d0824c90ddc4cb6f7aee12cc33517b92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/useConnectionModels.ts: ui/src/components/ai-connections/useConnectionModels.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in useConnectionModels.useConnectionModelsState at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/useConnectionModels.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/useConnectionModels.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"272051a628b9bb6b95295fdcdc77128e16986b7cecda5703050aae448b6d5d63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/ReviewQueueCard.tsx: ui/src/pages/apps/ReviewQueueCard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ReviewQueueCard.ReviewRow at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/ReviewQueueCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/ReviewQueueCard.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb469fc7567e7b74f22cc7610386b6f7bdb16eb4417905b4f2ea361edc64a26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatRichInput.tsx: ui/src/components/task-chat/TaskChatRichInput.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TaskChatRichInput.TaskChatRichInput 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatRichInput.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRichInput.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be9cc0e77faca66b09aff77d67d89c67c9a4d2394be24db1426ddbb7cec488b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/CompanySettingsPluginPage.tsx: ui/src/pages/CompanySettingsPluginPage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CompanySettingsPluginPage.CompanySettingsPluginPage at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/CompanySettingsPluginPage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettingsPluginPage.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87108b7bc919c3f6e5d5444fd0c6ff19410e76137dcfa65baa4ad059fd86b54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/email.ts: server/src/routes/email.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in email.emailRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/email.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/email.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bbae9e5ecd009a54e1c228c56a87ee26005c4b830379c6746d84f1e0ce825e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/mock-core/codex-runner.ts: packages/paperclip-runner/src/mock-core/codex-runner.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex-runner.dispositionIssues at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/mock-core/codex-runner.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f6de36162826bc744244c819e2f14890082e8e0ccb25bea23ad87f25336a6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ui/radio-card.tsx: ui/src/components/ui/radio-card.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in radio-card.RadioCardGroup 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ui/radio-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":"ui/src/components/ui/radio-card.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cdac8fd87198abbe564677cb0d2b83d91834b52cc75bc353f73d98e5c636e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ProjectWorkspaceSummaryCard.tsx: ui/src/components/ProjectWorkspaceSummaryCard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ProjectWorkspaceSummaryCard.ProjectWorkspaceSummaryCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ProjectWorkspaceSummaryCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectWorkspaceSummaryCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd9893cfdd5684ca1b3a6bc9fa6467d24be9d5ae731ae4492a22be57200ec4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/WorkspaceRuntimeControls.tsx: ui/src/components/WorkspaceRuntimeControls.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WorkspaceRuntimeControls.CommandSection at line 411. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/WorkspaceRuntimeControls.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4251a8fa8a4eec71fab0708af6efb29be87f0c904ed1172519f1324620ce1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ExecutionParticipantPicker.tsx: ui/src/components/ExecutionParticipantPicker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ExecutionParticipantPicker.ExecutionParticipantPicker 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ExecutionParticipantPicker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73919b8407c336b9460b7932315ec291cbe6eb0f42c7ef0a55532344a3f1fbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/routine-triggers/RoutineTriggers.tsx: ui/src/components/routine-triggers/RoutineTriggers.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RoutineTriggers.WebhookSettings at line 506. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/routine-triggers/RoutineTriggers.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"391d9c300ec997a24f2cd31cbed6e16f377bc8b6eab00fe22ac7b434dc4a6c07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatStatusPill.tsx: ui/src/components/task-chat/TaskChatStatusPill.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in TaskChatStatusPill.TaskChatStatusPill at line 286. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatStatusPill.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"748c2878a0096dd1afd3833cf20ca3982a991a0a9d912b1cf5d0cefa8ff4ef9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/refresh-leases.ts: server/src/services/tool-access/oauth/refresh-leases.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in refresh-leases.createOAuthRefreshLeases.acquireOAuthGrantRefreshLease 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/refresh-leases.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"451771c024ebee9331f306bf7c9cbf7a95d0945f976aeb85a32de01e6c5740da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/standard-image-contract.mjs: scripts/standard-image-contract.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in standard-image-contract.resolveStandardImageDigest 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/standard-image-contract.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":"scripts/standard-image-contract.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c01294c7d7f72f0af3e92ddd4d31c110e94ea5b57eb50bb28bd17659310a94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Companies.tsx: ui/src/pages/Companies.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Companies.Companies 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/Companies.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Companies.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b305c5fa47bb45e95f09b023c53959e009a7407b95caa8d1e71c56a963950e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/gateways/ConnectClientDialog.tsx: ui/src/pages/apps/gateways/ConnectClientDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ConnectClientDialog.ConnectClientDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/gateways/ConnectClientDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/ConnectClientDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2901562fb5431c72630d22e9090fed7a7bdbe44b9c1a2c068a30eebe2f0b00a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/src/semantic-tools/redaction.ts: packages/paperclip-runner/src/semantic-tools/redaction.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in redaction.inspect 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/semantic-tools/redaction.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d26c2a976e3f92ab2b4cfe58ae1a9e118c8dfcbd303a5081e626c1a4fe7233a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/secrets/SetMyUserSecretDialog.tsx: ui/src/pages/secrets/SetMyUserSecretDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SetMyUserSecretDialog.SetMyUserSecretDialog 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/secrets/SetMyUserSecretDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/SetMyUserSecretDialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6585fb75d9a74f97333554b51ceb33e66048099b373a9d65456c38e8a4da9cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-controller-recovery-inventory.ts: server/src/services/native-runtime/native-controller-recovery-inventory.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in native-controller-recovery-inventory.readNativeControllerRecoveryInventory at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-controller-recovery-inventory.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-recovery-inventory.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ff81b9064b5dd8830071389922c132f42673ec124233acaa7b23d37f87d87a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/built-in-agents.ts: server/src/routes/built-in-agents.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in built-in-agents.builtInAgentRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/built-in-agents.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/built-in-agents.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5ed16eb27ad9d77947926945117fea31355cbaa86a26387fcff6076a18fdfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/native-workspace-recovery-binding.ts: server/src/services/native-runtime/native-workspace-recovery-binding.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in native-workspace-recovery-binding.currentNativeWorkspaceRecoveryResult at line 5. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-recovery-binding.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-recovery-binding.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7069629a2eb67edcade343a5bcdafda4f014a8f65c49b4481d90ddf80330129c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/scripts/runner-protocol-testops.mjs: packages/paperclip-runner/scripts/runner-protocol-testops.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in runner-protocol-testops.main 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/scripts/runner-protocol-testops.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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3c54837344cf7a63a97b7ca9d0e8fcb87c3bdd18a83d341eef5002a375ec85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery-observability.ts: server/src/services/recovery-observability.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in recovery-observability.recoveryObservabilityService.report at line 170. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery-observability.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery-observability.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2bbdc5397052385743279e8c59c501daa8dfd105bd7469d918841860fe570c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/fixtures/unansweredQuestionChat.tsx: ui/storybook/fixtures/unansweredQuestionChat.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in unansweredQuestionChat.QuestionChat 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/fixtures/unansweredQuestionChat.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/fixtures/unansweredQuestionChat.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a0a7926a0c3aa737b01a008623b809aae420446279e16f54c601b3d6185f16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/provider-pack-upload.ts: server/src/services/native-runtime/provider-pack-upload.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in provider-pack-upload.uploadVerifiedProviderPack at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/provider-pack-upload.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-upload.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fb2560ce8f5b6cc96153f63e7e6e2fc63bfa4810d768ce480ba35d6951da1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/anthropic-pricing.ts: server/src/services/anthropic-pricing.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in anthropic-pricing.priceAnthropicReceipt at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/anthropic-pricing.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/anthropic-pricing.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7377e570074492ae7ffa542cdb816ffb2fdb4f1bd1d0dc7245766944f0d917a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useCoordinatorWorkspaceEnabled.ts: ui/src/hooks/useCoordinatorWorkspaceEnabled.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in useCoordinatorWorkspaceEnabled.useCoordinatorWorkspaceEnabled at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useCoordinatorWorkspaceEnabled.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useCoordinatorWorkspaceEnabled.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd774c4cffb73a51f59f8cc1329a98934aeaaecabfeb536116493d948f6621f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ai-connections/AiConnectionUsagePanel.tsx: ui/src/components/ai-connections/AiConnectionUsagePanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AiConnectionUsagePanel.AiConnectionUsagePanel at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ai-connections/AiConnectionUsagePanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870a66568f74992f658c0b1203caff09df10aafe4923ac37997cc90444853e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-github-registration.ts: server/src/services/chat-github-registration.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in chat-github-registration.githubChatRegistrationService.start 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-registration.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b391029e589266ce08cd283dac7062b8e5a3902631c11ec5f9b106ba059cbdc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/BudgetIncidentCard.tsx: ui/src/components/BudgetIncidentCard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in BudgetIncidentCard.BudgetIncidentCard 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/BudgetIncidentCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BudgetIncidentCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8109e2e5fca5c4e9fe0ecb8af5a75f98ce8efbf365a9cfbfe07de8a68cb3b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/runner/crates/runner-core/src/replay.rs: packages/paperclip-runner/runner/crates/runner-core/src/replay.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in paperclip_runner_core::replay::reduce_replay_fixture at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/runner/crates/runner-core/src/replay.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/replay.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2d26d440f87eee1beab32b6ddfbd94fff072cf214f5b7921c6395def00f20b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/hooks/useIssueHierarchyContext.ts: ui/src/hooks/useIssueHierarchyContext.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in useIssueHierarchyContext.useIssueHierarchyContext at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/hooks/useIssueHierarchyContext.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useIssueHierarchyContext.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7164c8823af610ec5ce4491b0c450c26841714504c9cb43269744a341cf1285e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/apps/app-detail/AgentConnectionAccess.tsx: ui/src/pages/apps/app-detail/AgentConnectionAccess.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgentConnectionAccess.AgentConnectionAccess at line 7. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/apps/app-detail/AgentConnectionAccess.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AgentConnectionAccess.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d06f55450348a8f3be30639126b589aa72392a9ef3d838c6329aa6781ea359a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/tools/profiles/ProfilesIndex.tsx: ui/src/pages/tools/profiles/ProfilesIndex.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ProfilesIndex.ProfilesIndex 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/tools/profiles/ProfilesIndex.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfilesIndex.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeffaea279e0045b7d4d024ed4f66f448eb01d40a427598f901f83b4289bb6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/EntityRow.tsx: ui/src/components/EntityRow.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in EntityRow.EntityRow 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/EntityRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/EntityRow.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b4d83797dd66ec6f3dfaf8fb640b3a3405c0ff55828fe862c9364fbe7210fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/prepare-native-run.ts: server/src/services/native-runtime/prepare-native-run.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in prepare-native-run.prepareNativeHeartbeatRun 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/prepare-native-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":"server/src/services/native-runtime/prepare-native-run.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f664f266bbea9f0f54fa0f6318ac80cdf900e9bb8a342dec79df01b83d0368"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/secrets/ProposalsTab.tsx: ui/src/pages/secrets/ProposalsTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProposalsTab.ProposalsTab 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/secrets/ProposalsTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e367844548cd1b23edac2a3f8f7ab39bb6efe22fc47cb96334b3d7b535d5c75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/StalledReviewActions.tsx: ui/src/components/StalledReviewActions.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in StalledReviewActions.StalledReviewActions 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/StalledReviewActions.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/StalledReviewActions.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a4cf64c716d04aae53fd99e488aec1ff50d2974b82d2cf8c280da6c19d0807"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/execution-workspace-lifecycle-lock.ts: server/src/services/execution-workspace-lifecycle-lock.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in execution-workspace-lifecycle-lock.withExecutionWorkspaceLifecycleLock 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-workspace-lifecycle-lock.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-lifecycle-lock.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"05253f73f7b0b85032c25c1b9f9978190811495e0d1b4ac32d2c2b531026108c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/routes/cloud.ts: server/src/routes/cloud.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in cloud.cloudRoutes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/routes/cloud.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cloud.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0953dc0090d23b1e05873731a507e997d8b26e3df7375c13c755f11af6389b4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/cases/CaseWorkSummary.tsx: ui/src/components/cases/CaseWorkSummary.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CaseWorkSummary.CaseWorkSummary at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/cases/CaseWorkSummary.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/cases/CaseWorkSummary.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba3d2f5ac3b32e7892c48113c4f6151130fe43ff95db27c2bcfe1e54f485c2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/github-pull-request-merge.ts: server/src/services/github-pull-request-merge.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in github-pull-request-merge.createPullRequestMergeDetailsResolver.\u003Creturned closure\u003E 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/github-pull-request-merge.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-pull-request-merge.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6faab193e437a2d4fdd093aa6e1bfbd56062c4d8a20db2753defd6788c60b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/oauth/vercel-callback.ts: server/src/services/tool-access/oauth/vercel-callback.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in vercel-callback.createVercelOAuthCallback.completeVercelConnectCallback 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/vercel-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":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e8fcc86b198324216e949ee3d020e0c496e8e37e40cf837a602b59e6f6de2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ci/refresh-test-durations.mjs: scripts/ci/refresh-test-durations.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in refresh-test-durations.refreshMasterLanes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- scripts/ci/refresh-test-durations.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":"scripts/ci/refresh-test-durations.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afa11be90b5d9b2283e4b16738e5f1b721ae91f2e9bf19f9af683d5feaf2959"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/catalog/aggregator-accounts.ts: server/src/services/tool-access/catalog/aggregator-accounts.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in aggregator-accounts.createAggregatorAccounts.discoverAggregatorInventory 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/catalog/aggregator-accounts.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1148639f9619c5d1af6e02fd0c4d1e02bcec9d4c522687782740149828777ce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/task-chat/TaskChatThinking.tsx: ui/src/components/task-chat/TaskChatThinking.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TaskChatThinking.TaskChatThinking 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/task-chat/TaskChatThinking.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatThinking.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc2bce8ab04502de5647485b5637e5c3689356ff3f3b16635a658e1b69d771a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/chat-channels/github/task-retry-authorization.ts: server/src/services/chat-channels/github/task-retry-authorization.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in task-retry-authorization.createGitHubTaskRetryBatchAuthority.authorizeGitHubTaskRetryBatch at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/github/task-retry-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":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"667e4739a68dba8e6919e3155cae65ba08060fb6189a392f34bcd254313fb310"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/CaseRevisionRail.tsx: ui/src/components/CaseRevisionRail.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CaseRevisionRail.CaseRevisionRail 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/CaseRevisionRail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c8042a2eae68ca561ad33c44e8a3480d3dd9f2f25e3a8e91ebd92f205d9079"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/storybook/support/workspace-file-recovery/fixture.tsx: ui/storybook/support/workspace-file-recovery/fixture.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in fixture.RecoveryNoticeFixture at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/support/workspace-file-recovery/fixture.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/workspace-file-recovery/fixture.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0ccc95d540d37597ee87859178c1bd871e69d2b3cd23e04153296a97a8411e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/plugins/sdk/src/environment-creation-cleanup.ts: packages/plugins/sdk/src/environment-creation-cleanup.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in environment-creation-cleanup.readEnvironmentAcquisitionDiagnostic 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/plugins/sdk/src/environment-creation-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/plugins/sdk/src/environment-creation-cleanup.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05273e46fcbedfaf298319dff7227dbe8a7eba1bdb3d9d7912cef8e4dbad46a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/slack-board-messages.ts: server/src/services/slack-board-messages.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in slack-board-messages.mirrorSlackBoardComment 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/slack-board-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":"server/src/services/slack-board-messages.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7c07bfc04ed8c14ecd5dfa97f2871bfbb0263c7fb1241799d5dbdcc587c763"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/issue-properties/property-picker.tsx: ui/src/components/issue-properties/property-picker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in property-picker.PropertyPicker at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/issue-properties/property-picker.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/property-picker.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cb8f7419e95b0834b0328b5682ffc7083732622ef8aeadb9d49c1299ff2f19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/tool-access/credential-access.ts: server/src/services/tool-access/credential-access.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in credential-access.createConnectionCredentialAccess.vaultGrantForConnection 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/credential-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":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd970dfd37851cf7e72daaad73335dc1c07c39f57a2e8c57c3cea8e335d82d97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/recovery/legacy-workspace-rehome.ts: server/src/services/recovery/legacy-workspace-rehome.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in legacy-workspace-rehome.deliverPendingRecoveryWakes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/legacy-workspace-rehome.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba448ce815066b588cd3c61dc436fce24a11959b175e50df82f76a558a0c9082"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/heartbeat/native-lifecycle.ts: server/src/services/heartbeat/native-lifecycle.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in native-lifecycle.resolveHeartbeatNativeLifecyclePolicy at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/heartbeat/native-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":"server/src/services/heartbeat/native-lifecycle.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ff35d5874fa03f014a114a349ac763e065e92a9b654509a98675d41e9823e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/ImageGalleryModal.tsx: ui/src/components/ImageGalleryModal.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ImageGalleryModal.ImageGalleryModal 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ImageGalleryModal.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ImageGalleryModal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a28f072e0e1fd1b01e87a621def2792606f92642d10e803181ef28d319da7ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/case-work-summary.ts: server/src/services/case-work-summary.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in case-work-summary.enrichCaseWork 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/case-work-summary.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-work-summary.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c39db1f4b0cd4493788f11436b0ce7d3bbec5362ca1b58b1ff4a155945a2b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/task-search.ts: server/src/services/task-search.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in task-search.taskSearchCtes 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/task-search.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-search.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"54327daec1ecd55dc81d7c8bea3cf0329385214f72200fbd31b24f18bdfb1afc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/voice/speko-agent-tools.ts: server/src/services/voice/speko-agent-tools.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in speko-agent-tools.resolveAuthority 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/voice/speko-agent-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":"server/src/services/voice/speko-agent-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a921a9b888aad7521021b05010130810205bbc1014e0fd12833d8630d5e30d10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/components/SidebarSection.tsx: ui/src/components/SidebarSection.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SidebarSection.SidebarSectionHeader 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/SidebarSection.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d657d9b475e945b0547bfec3a625eae86d81a8d900d2ae30a3f069f597c3093e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx: packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DevtoolsInspector.EvalReportInspector 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"47731cbbc3ad3d2aafcbd34ff7f7e18f6c6fb8594d192afc0226a1b7ab34c9bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/lib/browser-tracing/sdk.ts: ui/src/lib/browser-tracing/sdk.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in sdk.startTracingSdk 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/browser-tracing/sdk.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-tracing/sdk.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb609491b9bad0ed8ae0105d0f55048bf2fa65fd93e6475dc5a9cb08c57acbb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/src/services/native-runtime/remote-provider-pack-authority.ts: server/src/services/native-runtime/remote-provider-pack-authority.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in remote-provider-pack-authority.resolveRemoteProviderPackAuthority 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/remote-provider-pack-authority.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack-authority.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b53fe672f194d703e914abf09b27f3aa29c471e4a8dffd568c5996dcb8c2338"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/context/PrimaryAgentProvider.tsx: ui/src/context/PrimaryAgentProvider.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PrimaryAgentProvider.PrimaryAgentProvider 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/context/PrimaryAgentProvider.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/PrimaryAgentProvider.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b4e4489f21eb9681e5bda2308c1afac3997d55a1192ce15bd207ad35af6339"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ui/src/pages/Workspaces.tsx: ui/src/pages/Workspaces.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Workspaces.Workspaces at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/pages/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":"ui/src/pages/Workspaces.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead0be6441e8f67543cf3d3112606379d68578e71af524a81cbe17ecfe7f8fa6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/shared/src/worktree-seed-source.ts: packages/shared/src/worktree-seed-source.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in worktree-seed-source.resolveRegisteredWorktreeSeedSource 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/worktree-seed-source.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/worktree-seed-source.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e0c72e2a417eb8a5ecbd146a0aa364066ff6a29975cef615b7af7fbe2bc023"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/paperclip-runner/src/contracts/native-session-backend.ts: packages/paperclip-runner/src/contracts/native-session-backend.ts changed 37 times in last 90 days and 25 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 native-session-backend.nativeRestartInterruptedTurnId 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: \u201Cfix(native): keep a reattached Runner alive when its provider recovery deadline ends (#21321)\u201D; \u201Cfix(native): keep a remote Runner alive when a failed turn start or event stream closes the run (#21023)\u201D; \u201Cfix(native): launch a warm follow-up from its predecessor\u0027s saved journal, and restart a Runner that exited before session.open (#20928)\u201D; \u201Cfix(native): continue a governed-wait follow-up in a fresh session when its saved provider state is gone (#20809)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/contracts/native-session-backend.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/native-session-backend.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3942234b98a762bfb6053092565781c97a30747f1f95882de053ed634eed3f9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/shared/src/types/execution-projection.ts: packages/shared/src/types/execution-projection.ts changed 29 times in last 90 days and 24 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 execution-projection.requiresExecutionReconciliation at line 99), 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(native): classify a Codex API-key unknown model as a model rejection (#20488)\u201D; \u201Cfix(workspaces): name a failed workspace setup command on the task page (#20478)\u201D; \u201Cfix(runner): settle saved handoffs after verified shutdown (#20336)\u201D; \u201Cfix(issues): let the board confirm an unidentified run stopped instead of an endless Retry wait (#20310)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/shared/src/types/execution-projection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/execution-projection.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee49e0c401ae7d5b44328d9bd8a9592bc201c99d8e5eaa179369b2acdaf9c463"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/company-deletion.ts: server/src/services/company-deletion.ts changed 32 times in last 90 days and 19 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 company-deletion.deleteCompany 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: \u201Cfix: evaluate status cards on committed changes and deadlines (#18401)\u201D; \u201Cfix(server): schedule issue monitors without heartbeat polling (#17863)\u201D; \u201Cfix(server): schedule routines without heartbeat polling (#17840)\u201D; \u201Cfix(server): schedule historical unsafe export recovery (#17687)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/company-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":"server/src/services/company-deletion.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"35149399679e165262d8c70951cb820aa5b520ffbaee6003d83c8943648ca004"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/schema/heartbeat_runs.ts: packages/db/src/schema/heartbeat_runs.ts changed 27 times in last 90 days and 16 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 heartbeat_runs.heartbeatRuns at line 141), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(recovery): stop re-checking settled native runs that cannot be released (#21590)\u201D; \u201Cfix(recovery): pause automatic recovery runs while a company\u0027s runs fail before starting (#21443)\u201D; \u201Cfix(heartbeat): re-drive a queued run whose dispatch signal was lost after a restart (#20986)\u201D; \u201Cfix(recovery): judge an orphaned run\u0027s pid only in the PID space that recorded it (#19871)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/schema/heartbeat_runs.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/heartbeat_runs.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf8f58ac375693097337a09b5687eabba80a5e91b140773311de34455231580"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/modules/wake-queue/application/ports.ts: server/src/modules/wake-queue/application/ports.ts changed 18 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is TransactionScope.requireTx at line 323), 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(queue): retain chat bindings on resolved card continuations (#20825)\u201D; \u201Cfix(wake-queue): keep a task done for its delegator\u0027s comment posted during the closing run (#21032)\u201D; \u201Cfix(heartbeat): deliver a person\u0027s answer that waited behind a turn that closed the task (#20996)\u201D; \u201Cfix(heartbeat): deliver each accepted follow-up exactly once through restarts and admission holds (#19741)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/wake-queue/application/ports.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/ports.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4595e45c0417887eadd21aa974acfa88d799c55b9e7725f7f8e4721ce02bec50"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/legacy-controller-lease.ts: server/src/services/legacy-controller-lease.ts changed 17 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is legacy-controller-lease.watchLegacyControllerLease.assertOwned at line 395), 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(heartbeat): start each claimed run at once so its controller lease cannot lapse unrenewed (#21242)\u201D; \u201Cfix(recovery): keep live owners\u0027 runs through an upgrade and continue replaced preparations in the restart lane (#21046)\u201D; \u201Cfix(heartbeat): renew legacy controller leases on their own connection, timed from the statement (#21042)\u201D; \u201Cfix(heartbeat): renew every legacy controller lease in one shared statement (#20924)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/legacy-controller-lease.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8577273da02b7a57fb01a016fefda473c600a51e8ef1a7280eb1b42cb02e2db"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/system-recovery-state.ts: server/src/services/system-recovery-state.ts changed 12 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is system-recovery-state.reserveSystemRecoveryAttempt at line 97), 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(retry): continue from recorded work when saved files cannot be recovered (#21363)\u201D; \u201Cfix(recovery): settle an older run\u0027s saved-work hold, fold a waiting Retry into the isolated continuation, and plain recovery wording (#21348)\u201D; \u201Cfix(workspaces): stop re-saving a retained sandbox whose disk is still full (#20758)\u201D; \u201Cfix(recovery): release a lapsed owner of a finished coordinator so stop-proof holds re-arm (#20661)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/system-recovery-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":"server/src/services/system-recovery-state.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e379c73b1db5f4ba1be8c6bbf66483cc604bc544d61471992eac48a396a5cdf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-finalization-notifications.ts: server/src/services/native-finalization-notifications.ts 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 5 (its worst body is native-finalization-notifications.notifyNativeFinalizationWork at line 19), 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(heartbeat): re-drive a queued run whose dispatch signal was lost after a restart (#20986)\u201D; \u201Cfix(server): schedule native environment lease settlement (#17801)\u201D; \u201Cfix(server): settle Muse terminal assignments from committed changes (#17793)\u201D; \u201Cfix(server): settle external conversations from committed work (#17772)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-finalization-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-finalization-notifications.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89e6729b972b415dde2152817f48c2d7b385bf0285450c7219e2015529fd546"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/agent-deletion.ts: server/src/services/agent-deletion.ts changed 17 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is agent-deletion.deleteAgentDependencies at line 19), 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(agents): refuse agent purge when cost history references it (#19022)\u201D; \u201Cfix: evaluate status cards on committed changes and deadlines (#18401)\u201D; \u201Cfix(server): schedule issue monitors without heartbeat polling (#17863)\u201D; \u201Cfix(server): settle external conversations from committed work (#17772)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-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":"server/src/services/agent-deletion.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb5fec23f6f7db9d5b38bec783f4e44664b455fc802eb6028a4e12353d56e15"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-run-milestone-notifications.ts: server/src/services/chat-run-milestone-notifications.ts changed 11 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is chat-run-milestone-notifications.notifyChatRunMilestones 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: \u201Cfix(server): settle external conversations from committed work (#17772)\u201D; \u201Cfix(server): wake native status reassessment from committed changes (#17709)\u201D; \u201Cfix(server): schedule governed review response recovery (#17702)\u201D; \u201Cfix(server): schedule accepted native response recovery (#17696)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-run-milestone-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-run-milestone-notifications.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baaaec390ea02afb5e86eb342b5fd88b6b03857eef0e1fe93a357c5a3fe52cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/modules/active-run-watchdog/adapters/postgres.ts: server/src/modules/active-run-watchdog/adapters/postgres.ts changed 13 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is postgres.createPostgresWatchdogAdapter.foldSourceResolvedRun at line 350), 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: evaluate status cards on committed changes and deadlines (#18401)\u201D; \u201Cfix(server): schedule issue monitors without heartbeat polling (#17863)\u201D; \u201Cfix(server): settle Muse terminal assignments from committed changes (#17793)\u201D; \u201Cfix(server): wake native status reassessment from committed changes (#17709)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/active-run-watchdog/adapters/postgres.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c877f839199fcbcef629e7f71484bffe0df4447ad6826d396ebc10935e462c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/system-recovery.ts: server/src/services/system-recovery.ts changed 11 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is system-recovery.updateSystemRecovery at line 56), 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(workspaces): save remote workspaces that contain outside symlinks (#20569)\u201D; \u201Cfix(recovery): re-prove an exhausted save\u0027s agent stop and free the workspace (#20295)\u201D; \u201Cfix(recovery): continue from the last save when a retained source cannot be verified (#19867)\u201D; \u201Cfix(ui): keep a Retry for retained-file holds whose source cannot be verified (#19840)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/system-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":"server/src/services/system-recovery.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64ed853231da0e2dc270d9bcc53e5d3ec70111f569e4448cb49da5039a84e7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/adapter-utils/src/github-launcher.ts: packages/adapter-utils/src/github-launcher.ts changed 11 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is github-launcher.githubLauncherSource 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: \u201Cfix(github): send gh repo create and fork to the connection\u0027s tools (#20142)\u201D; \u201Cfix: allow managed Git helpers to select a private interpreter (#18337)\u201D; \u201Cfix(runner): preserve GitHub helpers and Codex probe policy (#18212)\u201D; \u201Cfix(adapter-utils): provide a default author for local commits (#18094)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/github-launcher.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/github-launcher.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9e4885c705e4b5cc435eb45e8763b0442ece62ae44ebe4bcb8bb7772985d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/paperclip-runner/src/drivers/codex/codex-driver-types.ts: packages/paperclip-runner/src/drivers/codex/codex-driver-types.ts changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is (anonymous) 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: \u201Cfix(runner): preserve disabled Codex web search (#17744)\u201D; \u201Cfix(runner): preserve task context when tool connections change (#14963)\u201D; \u201Cfix(runner): preserve stock Codex base instructions (#14920)\u201D; \u201Cfix(runner): honor Codex effort selected in composer (#14568)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/drivers/codex/codex-driver-types.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-driver-types.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be16d06ff984e9ce7fdb484c92a4089e45e83725972a7326026e95f00066b29"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/native-run-projection.ts: server/src/services/native-runtime/native-run-projection.ts changed 9 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is native-run-projection.projectCommittedRun at line 127), 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(native): name the recorded turn failure when a native run fails (#21235)\u201D; \u201Cfix(wake-queue): save temporarily refused work intents and promote them through one path (#19956)\u201D; \u201Cfix(heartbeat): deliver each accepted follow-up exactly once through restarts and admission holds (#19741)\u201D; \u201Cfix(native): explain failed accepted results on the run (#19091)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-run-projection.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-projection.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3002d543200bb191fdc9834dcae03c5b2989e2a7ccc5351921025ad737a5440a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/durable-chat-wakeup.ts: server/src/services/durable-chat-wakeup.ts changed 9 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is durable-chat-wakeup.assertDurableChatWakeupRequest at line 311), 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(slack): require mentions only for channel roots (#20821)\u201D; \u201Cfix: retry saved chat input after a successful run (#18621)\u201D; \u201Cfix(server): schedule accepted native response recovery (#17696)\u201D; \u201Cfix(chat): preserve resumed review waits and retry newer saved input (#17725)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/durable-chat-wakeup.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/durable-chat-wakeup.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74ab99d4c3c87e21d17e1ddc93bfe66b598c7f62918d54cf38024c1af269f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/budget-exposure.ts: server/src/services/budget-exposure.ts changed 9 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is budget-exposure.readObservedSpends at line 75), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(accounting): a run\u0027s unproven accounting never holds the company (#20254)\u201D; \u201Cfix(admission): admit new work independent of other runs\u0027 cleanup and accounting (#19944)\u201D; \u201Cfix(accounting): settle a failed usage capture as unpriced at the closure bound (#19857)\u201D; \u201Cfix(accounting): settle a never-started run whose recorder bound an empty fence map (#19826)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/budget-exposure.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-exposure.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9060ff981ac9480561001d093d9ee6f58fbadee461c7208cf3a96aedcf7f9724"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/adapters/claude-local/src/index.ts: packages/adapters/claude-local/src/index.ts changed 12 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 index.resolveClaudeModel 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: \u201Cfix(claude-local): fail Opus 5.5 ACP runs early when the bundled Claude Code is too old (#13927)\u201D; \u201Cfix(acpx): end Claude turns whose pending tool call stops receiving updates (#16671)\u201D; \u201Cfix(claude-local): order Claude models the way the Claude app does (#14917)\u201D; \u201Cfix(adapters): default legacy harnesses and connected tools to full auto (#13693)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/index.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d083b18c42f7c9df0f7f5be74d1983be0dad0689dadfe624d1f6f58e641712f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/shutdown.ts: server/src/shutdown.ts changed 11 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 shutdown.finalizeServerShutdown at line 191), 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(heartbeat): count an early native hand-off only after its suspend commits (#21572)\u201D; \u201Cfix(storage): abort a snapshot upload a restart cut off once its save attempt is superseded (#20542)\u201D; \u201Cfix(heartbeat): close run admission before a graceful shutdown closes its listener (t09) (#20102)\u201D; \u201Cfix(server): bound the shutdown steps before the run drain (#19165)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/shutdown.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/shutdown.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c99b5847fc77114e0a829404c66caab69d792f094a8b50ac08226d38fd8cf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/workspace-recovery-fallback-discovery.ts: server/src/services/workspace-recovery-fallback-discovery.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 9 (its worst body is workspace-recovery-fallback-discovery.isRetainedFileHold at line 28), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(retry): continue from recorded work when saved files cannot be recovered (#21363)\u201D; \u201Cfix(native): save or set aside a superseded run\u0027s unsaved workspace so its task queue moves (#21136)\u201D; \u201Cfix(recovery): release a lapsed owner of a finished coordinator so stop-proof holds re-arm (#20661)\u201D; \u201Cfix(workspaces): settle a resolved no-replay hold once a sibling saved its files (#20641)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-recovery-fallback-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":"server/src/services/workspace-recovery-fallback-discovery.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fa8fcb9b098c662580545407e380f11b1060716c2dc0795f62d603ed20a637"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/execution-recovery-attempt.ts: server/src/services/execution-recovery-attempt.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 14 (its worst body is execution-recovery-attempt.savedAccounting at line 67), 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(recovery): continue runs that a server restart or replacement ended, without spending the failure budget (#21019)\u201D; \u201Cfix(server): defer a run that meets a busy agent directory instead of failing it (#20829)\u201D; \u201Cfix(storage): wait out a store outage on a run\u0027s critical path instead of failing it (#20299)\u201D; \u201Cfix(recovery): charge a restart attempt only when the provider accepted a turn and made no progress (#19948)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-recovery-attempt.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-attempt.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eba1bf597c92f16938765e8161998b933bf6255a7cc34add8c6a9c3e7f0702"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/execution-control-work.ts: server/src/services/execution-control-work.ts changed 7 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is execution-control-work.registerExecutionControlWork.workers at line 25), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(recovery): continue a native terminal failure whose provider is never proven stopped (#21364)\u201D; \u201Cfix(recovery): continue any unfinished run in a fresh run from saved work (#21135)\u201D; \u201Cfix(budgets): raise_budget_and_resume continues the work its budget stopped, once (#20144)\u201D; \u201Cfix(native): recover saved listener startup failures (#19479)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/execution-control-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-control-work.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2f183ca9c260d25dc23a98cc858287391b759ada049deaa90ee0ae777e866b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/schema/agent_wakeup_requests.ts: packages/db/src/schema/agent_wakeup_requests.ts changed 11 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 1 (its worst body is agent_wakeup_requests.agentWakeupRequests at line 48), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(heartbeat): rank a person\u0027s joined comment first and refill free run slots (#21277)\u201D; \u201Cfix(tree-control): resume work a subtree pause interrupted (#19394)\u201D; \u201Cfix: recover saved work and provide reliable task Retry (#16965)\u201D; \u201Cfix(server): permit verified question-delivery history to sleep (#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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/schema/agent_wakeup_requests.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/agent_wakeup_requests.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ad5b79b4a1ddfc71df03660cf1cada882a746fbfc1d1c619247ff328b0156e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/api/client.ts: ui/src/api/client.ts changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is client.coalescedGet at line 175), 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(ui): complete read recovery and enforce query error rendering (#18822)\u201D; \u201Cfix(connections): load permissions and show AI account identity (#18653)\u201D; \u201Ctest: remove repeated setup and strengthen regression proof (#16022)\u201D; \u201Cfix(ui): recover gracefully during server restarts (#14560)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/api/client.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/client.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0992b61e1b891ca1d252ec6feacc6bdacddb5407e5b3047a19af1c6d6d0a0c0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/modules/run-dispatch/index.ts: server/src/modules/run-dispatch/index.ts changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is index.createRunDispatch at line 75), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): defer a run that meets a busy agent directory instead of failing it (#20829)\u201D; \u201Cfix(storage): wait out a store outage on a run\u0027s critical path instead of failing it (#20299)\u201D; \u201Cfix(server): retry a run when its remote Runner is out of date (#19326)\u201D; \u201Cfix(dispatch): park a workspace-busy wait instead of recreating runs (#19143)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/run-dispatch/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/index.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b41e39df47bc597969de6e668cfbe81c39d289c4135d09397e8ee004f23583b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/ephemeral-server-contract.ts: server/src/services/ephemeral-server-contract.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 15 (its worst body is ephemeral-server-contract.assertEphemeralServerConfig at line 21), 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(ephemeral): start a volume-free server over harness backups a volume-free server left unsaved (#20990)\u201D; \u201Cfix(ephemeral): start a restarted volume-free server over the Runner controller files it wrote itself (#20952)\u201D; \u201Cfix: recognize provider-owned Runner workspace storage (#20663)\u201D; \u201Cfix(recovery): limit the null-host owner fallback to single-host servers and record each use (#19883)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/ephemeral-server-contract.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ephemeral-server-contract.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3630dc393cc911a061cce7b75bb5a10446c469d44b08086913faaca0679c6eb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/environment-cleanup-notifications.ts: server/src/services/environment-cleanup-notifications.ts changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is environment-cleanup-notifications.notifyEnvironmentCleanup at line 12), 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(instructions): collect a waiting working copy as soon as its stop proof is written (#21596)\u201D; \u201Cfix(native): recover saved listener startup failures (#19479)\u201D; \u201Cfix(native): release a session-resume owner when the resumed run fails before its provider claim (#19371)\u201D; \u201Cfix(retry): wait for admitted source cleanup before dispatch (#18898)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-cleanup-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-cleanup-notifications.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ebab0d3295140903090d064f588abe9ca1828b998df9d3cd0376ddb009980e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/adapter-utils/src/acpx-engine/constants.ts: packages/adapter-utils/src/acpx-engine/constants.ts changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is constants.acpxAgentIdForAdapterType at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(acpx): report how the sandbox agent process session ended (#16366)\u201D; \u201Cfix(acpx): end Claude turns whose pending tool call stops receiving updates (#16671)\u201D; \u201Cfix(acpx): bound Claude MCP tool calls when runtime MCP servers attach (#16360)\u201D; \u201Cfix(acpx): record turn activity at the moment a stop fires (#15962)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapter-utils/src/acpx-engine/constants.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/constants.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ede50999b691f3300d256750064324e2e47d48d7530fcf63e8a941f8a01e64"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/lib/sentry.ts: ui/src/lib/sentry.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 7 (its worst body is sentry.buildBrowserSentryInitOptions.beforeSend at line 213), 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(ui): group failed-query Sentry reports by status and query name (#21475)\u201D; \u201Cfix(ui): attribute stackless unhandled rejections with event and lifecycle facts (#15940)\u201D; \u201Cfix: preserve company context across browser hot reload (#14482)\u201D; \u201Cfix(ui): retain bounded context for browser render errors (#13904)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/sentry.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/sentry.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e847ab2a15c57e410a58d5579b0affeab3325bb36d14cab7fef2bd770eb82045"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts: server/src/services/native-runtime/remote-runner-recovery-diagnostics.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 15 (its worst body is remote-runner-recovery-diagnostics.readRemoteRunnerRecoveryDiagnostic at line 134), 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(native): relaunch a remote Runner that exited for a fresh bootstrap (#21374)\u201D; \u201Cfix(native): keep remote runnerd exit evidence and report it on failed recovery (#20907)\u201D; \u201Cfix(recovery): retry a system-woken run once when it lost its runner before any turn (#20873)\u201D; \u201Cfix(native): resume a remote Runner after a settled suspension\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04ff36c65dc97a44ac471602c62a4d2b33b950c50f4f5e57cbd3c2900405134"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/native-response-presentation-query.ts: server/src/services/native-runtime/native-response-presentation-query.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 7 (its worst body is native-response-presentation-query.nativeResponsePresentationCandidates at line 8), 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(runtime): post the agent\u0027s blocker reply when a retried finalization blocks the task (#21169)\u201D; \u201Cfix(chat): recover a held conversation turn\u0027s answer after a restart (#20204)\u201D; \u201Cfix(native): retry an unpublished accepted task reply durably instead of dropping it (#19200)\u201D; \u201Cfix: avoid response recovery self-contention (#18715)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-response-presentation-query.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-response-presentation-query.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e352ded9e250b292eb7c3ed59267d8e36a00bb3a7d78a1376b9736b0b1b92a2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/run-secret-redaction.ts: server/src/services/run-secret-redaction.ts 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 11 (its worst body is run-secret-redaction.redactRegisteredSecretValues at line 64), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(secrets): mask secret-bound environment values in run output (#21341)\u201D; \u201Cfix(heartbeat): name the cause of generic adapter failures and keep SQL text off the board (#20483)\u201D; \u201Cfix(server): certify settled legacy processes for future retries (#19377)\u201D; \u201Cfix(native): recover controllers across webserver replacement (#18343)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/run-secret-redaction.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-secret-redaction.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98e10d3fc967ab2a5fc3082d8c802afea4134c0087d05ce31bf125a499838e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/agent-lifecycle-driver.ts: server/src/services/agent-lifecycle-driver.ts 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 15 (its worst body is agent-lifecycle-driver.createLifecycleDriver.runPlugin at line 46), 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(native): an agent termination Stop with no turn result stays a cancellation (#21093)\u201D; \u201Cfix(budgets): raise_budget_and_resume continues the work its budget stopped, once (#20144)\u201D; \u201Cfix(execution): a pause\u0027s stop never blocks the task behind an incident with no control (#20143)\u201D; \u201Cfix(wake-queue): save temporarily refused work intents and promote them through one path (#19956)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/agent-lifecycle-driver.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-lifecycle-driver.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7752a794af77a3244d945ca5daeb6bb2ae173ed06fe4e9c0feaaa1264101b67"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/controller-process-identity.ts: server/src/services/controller-process-identity.ts 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 11 (its worst body is controller-process-identity.readControllerProcess at line 161), 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(skills): release a skill cache lock whose holder\u0027s deployment was replaced (#20688)\u201D; \u201Cfix(recovery): settle a run-less lease once its stamped holder is proven gone (#20026)\u201D; \u201Cfix(skills): release a runtime skill-cache lock whose holder provably exited (#19849)\u201D; \u201Cfix(recovery): never accept a dead local pid as proof for an owner on another host (#19868)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/controller-process-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":"server/src/services/controller-process-identity.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0898cc064e37073cf4dda35d913a06bf15495c6effb11f60a6043e70751d1e39"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-work-notifications.ts: server/src/services/chat-work-notifications.ts 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 2 (its worst body is chat-work-notifications.notifyChatPublicationWork at line 10), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): schedule accepted native response recovery (#17696)\u201D; \u201Cfix(server): wake GitHub acknowledgements from committed changes (#17656)\u201D; \u201Cfix(server): wake chat lifecycle milestones from committed changes (#17606)\u201D; \u201Cfix(server): wake chat receiver discovery from configuration and lease deadlines (#17572)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-work-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-work-notifications.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3471e31257502f99147abc4657347ac8d5fae60644b3860d77166c6e0aca31a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/environment-cleanup-state.ts: server/src/services/environment-cleanup-state.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 5 (its worst body is environment-cleanup-state.nextEnvironmentCleanupAt 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: \u201Cfix(environments): stop warm sandboxes once their warm window ends (#21410)\u201D; \u201Cfix(recovery): keep the sandbox that holds abandoned unsaved files out of replacement and cleanup (#21304)\u201D; \u201Cfix(runtime): recover task creation after a lost acquire reply (#18692)\u201D; \u201Cfix(runner): preserve cleanup ownership across startup failures (#18658)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-cleanup-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":"server/src/services/environment-cleanup-state.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefa70ce2d6e0c2efd12f678e4fedc733df0c20fb49fab183a45fdb777d20fd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/components/ActiveAgentsPanel.tsx: ui/src/components/ActiveAgentsPanel.tsx changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is ActiveAgentsPanel.ActiveAgentsPanel 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: \u201Cfix(ui): complete read recovery and enforce query error rendering (#18822)\u201D; \u201Cfix: show each task once in dashboard agent cards (#14847)\u201D; \u201Cfix: make answered Slack conversations idle (#13809)\u201D; \u201Cfix(ui): keep active runner status current and say Working (#13238)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/ActiveAgentsPanel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ActiveAgentsPanel.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7605899e7314f9c82688a78f5a6f605256e57e57b3c29dc7be99e01d062f2e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/schema/native_run_finalizations.ts: packages/db/src/schema/native_run_finalizations.ts changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is native_run_finalizations.nativeRunFinalizations at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(recovery): never accept a dead local pid as proof for an owner on another host (#19868)\u201D; \u201Cfix(server): schedule native pending effect recovery (#17690)\u201D; \u201Cfix(server): schedule historical unsafe export recovery (#17687)\u201D; \u201Cfix: make task recovery durable and preserve current requests (#13075)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/schema/native_run_finalizations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/native_run_finalizations.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"32087da2264dc3a5e6da1053dcd4452cc06416b43b4fdff77ae23ff1fb8e93c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-github-tools.ts: server/src/services/chat-github-tools.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 14 (its worst body is chat-github-tools.githubBotToolsForSession at line 236), 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 GitHub guest provenance from failing tool discovery (#17340)\u201D; \u201Cfix: retain channel tools across task continuations (#16806)\u201D; \u201Cfix(github): retry and recover review publication (#16284)\u201D; \u201Cfix(mcp): deduplicate discovered tool descriptors (#16281)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-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":"server/src/services/chat-github-tools.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f43491a2d862c41b76b9c7a497086b3539fffe3654e9e8d3be39df7679a8db"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/queued-comment-delivery.ts: server/src/services/queued-comment-delivery.ts changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is queued-comment-delivery.taskHistoryReadsForRun at line 62), 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(heartbeat): deliver a queued comment again unless the reading run cites it as handled (#21243)\u201D; \u201Cfix(heartbeat): stop re-delivering a remote-stop follow-up that a succeeded run already read (#21203)\u201D; \u201Cfix(heartbeat): stop a comment the closing run already read from reopening its finished task (#21175)\u201D; \u201Cfix(chat): consume a saved chat wake whose message a completed run answered (#20689)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/queued-comment-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":"server/src/services/queued-comment-delivery.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfb6ee67351ffeccbf445e614b05f23bdb3267dfdb32ef909cdd300fe6417d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/queued-interaction-response.ts: server/src/services/queued-interaction-response.ts changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is queued-interaction-response.queuedInteractionSummary at line 37), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(queue): keep tool action outcomes out of the steering queue (#20582)\u201D; \u201Cfix: deliver saved answers to dependency-blocked tasks (#20363)\u201D; \u201Cfix(recovery): deliver a steered message the restart lost before the model read it (#19962)\u201D; \u201Cfix(queue): clear interaction receipts a run already delivered (#19376)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/queued-interaction-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":"server/src/services/queued-interaction-response.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bffbae90307af3bbb13570828bc3671a0344679d74c80916a30cbef725ccb05"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/issue-dependency-wakeups.ts: server/src/services/issue-dependency-wakeups.ts changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is issue-dependency-wakeups.shouldWakeOnRestoredBlockedDependency at line 34), 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(issues): start a deferred children-completed wake the release drain missed (#20180)\u201D; \u201Cfix(heartbeat): recover deferred dependency completion wakes (#19457)\u201D; \u201Cfix(recovery): preserve deliberate stops and dependency waits\u201D; \u201Cfix(issues): cycle-aware issue_blockers_resolved after terminal reset (#11979)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-dependency-wakeups.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-dependency-wakeups.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8568c858a32b70fd199980a40b4958d759a605a4c03f04ecd43c7687e6d0effc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/lib/recovery-display.ts: ui/src/lib/recovery-display.ts changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is recovery-display.deriveRecoveryDisplayState at line 69), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: recover saved work and provide reliable task Retry (#16965)\u201D; \u201Cfix(runtime): finalize and recover sandbox workspace exports safely (#14402)\u201D; \u201Cfix(ui): distinguish finalization recovery from live observation (#14326)\u201D; \u201Cfix: make task recovery durable and preserve current requests (#13075)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/recovery-display.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recovery-display.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a000145576d69b24e31d884f24f7c4733f5380ffb1cee1b5519b863e247ac27"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/completion-contracts.ts: server/src/services/native-runtime/completion-contracts.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 11 (its worst body is completion-contracts.buildNativeCompletionContract at line 90), 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: complete native chat responses and improve API discovery (#18364)\u201D; \u201Cfix(server): wake native status reassessment from committed changes (#17709)\u201D; \u201Cfix: make runner task context ownership explicit (#13753)\u201D; \u201Cfix(runner): preserve sessions and complete question and approval continuations (#13655)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/completion-contracts.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/completion-contracts.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23c4380f1b9e5770cb30677cb77c10bb7d3a70d7c91194fd078ad9eae83ef81"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/native-response-presentation-work.ts: server/src/services/native-runtime/native-response-presentation-work.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 native-response-presentation-work.nativeResponsePresentationWork.checkWithinTrace 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: \u201Cfix(native): admit independent replies during contended publication (#19726)\u201D; \u201Cfix(native): retry an unpublished accepted task reply durably instead of dropping it (#19200)\u201D; \u201Cfix: avoid response recovery self-contention (#18715)\u201D; \u201Cfix(server): let settled native finalizations permit idle sleep (#18184)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-response-presentation-work.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-response-presentation-work.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3511cba11185d034795784e2a0827bcbe47efa593aee27dc4934a6350e720e49"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/components/RouteErrorBoundary.tsx: ui/src/components/RouteErrorBoundary.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 3 (its worst body is RouteErrorBoundaryInner.componentDidUpdate 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: \u201Cfix(ui): retry stale chunk reloads while a deploy settles (#19361)\u201D; \u201Cfix(ui): complete read recovery and enforce query error rendering (#18822)\u201D; \u201Cfix(ui): reload once when a lazy chunk or its CSS fails to load (#17349)\u201D; \u201Cfix(ui): retain bounded context for browser render errors (#13904)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/RouteErrorBoundary.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RouteErrorBoundary.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8a19bd30ecc558a93dcc53b5a264762b6654566c0eea491b2903b3d01ee1d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/api/auth.ts: ui/src/api/auth.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 9 (its worst body is auth.authErrorServerMessage 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: \u201Cfix: always enable keyboard shortcuts (#14643)\u201D; \u201Cfix(ui): recover gracefully during server restarts (#14560)\u201D; \u201Cfix: make keyboard shortcut enablement a personal preference (#14141)\u201D; \u201Cfix(ui): recover expired Cloud tenant sessions (#12826)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/api/auth.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/auth.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2032790dba1dc68b93d7d7b77189b9016b0e4c43dfcb4442c42187f06654b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/work-assessments.ts: server/src/services/native-runtime/work-assessments.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 8 (its worst body is work-assessments.recordNativeWorkAssessment at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): wake native status reassessment from committed changes (#17709)\u201D; \u201Cfix(server): include restored monitor proof in assessment identity (#17665)\u201D; \u201CFix native monitor dispatch and finalization recovery (#16975)\u201D; \u201Cfix(runner): settle accepted results after shutdown failures (#15217)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/work-assessments.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/work-assessments.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e8fa79007fe46ec0eae34ddb2fb0db99c18955fddbd92ea1dcf364d99c5f9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/modules/agent-lifecycle/application/failure.ts: server/src/modules/agent-lifecycle/application/failure.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 11 (its worst body is failure.lifecycleFailureMessage at line 49), 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(agents): repair queued setup through task connection cards (#20361)\u201D; \u201Cfix(runner): require a managed AI connection for plugin Runner-task environments (#19341)\u201D; \u201Cfix(server): retry a run when its remote Runner is out of date (#19326)\u201D; \u201Cfix(server): bound failed lifecycle verification (#18383)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/modules/agent-lifecycle/application/failure.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/application/failure.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3326a8ece0b4691f73c214a03fb6c23c25d3a5c9152f8c444342ccf5efec10"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/native-governance.ts: server/src/services/native-runtime/native-governance.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 native-governance.pendingNativeGovernance at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): post a turn\u0027s answer when a card it did not create is pending (#20220)\u201D; \u201Cfix(chat): recover a held conversation turn\u0027s answer after a restart (#20204)\u201D; \u201Cfix(chat): post a conversation turn\u0027s answer while an approval holds the task (#20179)\u201D; \u201Cfix(server): wake native status reassessment from committed changes (#17709)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-governance.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-governance.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f8fd7b411c0a1c22f6a7b1f061c74c8ef1bd6d284fc6e2d82e0a5a2a00b90a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/native-provider-failure-evidence.ts: server/src/services/native-runtime/native-provider-failure-evidence.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 native-provider-failure-evidence.record at line 7), 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(runner): show provider failure details on tasks and runs (#18622)\u201D; \u201Cfix(runner): record why an OpenCode turn fails when opencode serve stops (#16863)\u201D; \u201Cfix(native): report why an unclassified Codex turn failed (#16354)\u201D; \u201Cfix(native): surface model capacity errors and retry automatically (#15347)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-provider-failure-evidence.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-failure-evidence.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd256829fcd88913b0b68a5b929195be6401088720a8169b5b9c877276edc59"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-github-publication-lease.ts: server/src/services/chat-github-publication-lease.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 8 (its worst body is chat-github-publication-lease.withGitHubPublicationLease at line 19), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): schedule GitHub review checks from committed changes (#17662)\u201D; \u201Cfix(server): wake GitHub terminal responses from committed changes (#17661)\u201D; \u201Cfix(server): wake GitHub acknowledgements from committed changes (#17656)\u201D; \u201Cfix(github): retry and recover review publication (#16284)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-github-publication-lease.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-publication-lease.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59f6c6081eeaa298dff93baa06b015a952b9240af87d8362e0b133e5e34553"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/onboard-service.ts: cli/src/onboard-service.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is onboard-service.handleOnboardService at line 227), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): guard service install against a missing managed shim (#13985)\u201D; \u201Cfix(cli): open dashboard after onboarding service starts (#12164)\u201D; \u201Cfix(cli): skip the foreground-start prompt after the service starts (#12153)\u201D; \u201Cfix(cli): materialize the managed install before the onboarding service install (#12148)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/onboard-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":"cli/src/onboard-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33acb703b659975d8440b4a1d9a47e53556996d0d97be54aee9ddd02c56a6c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/environment-run-lease-settlement.ts: server/src/services/environment-run-lease-settlement.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 environment-run-lease-settlement.settleEnvironmentRunLease at line 46), 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(recovery): keep the sandbox that holds abandoned unsaved files out of replacement and cleanup (#21304)\u201D; \u201Cfix(recovery): settle a run-less lease once its stamped holder is proven gone (#20026)\u201D; \u201Cfix(recovery): date a settled orphan\u0027s first cleanup even under a scalar metadata root (#19989)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/environment-run-lease-settlement.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-lease-settlement.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da9155fd5e88cb2d8b7b32f62b95fb1ff3b8327b61bfd4fae50a54f5b47c5a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/accounting-transaction.ts: server/src/services/accounting-transaction.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 6 (its worst body is accounting-transaction.withOperationAccountingTransaction 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: \u201Cfix(budgets): retry contended accounting writes with jittered backoff (#21185)\u201D; \u201Cfix(accounting): keep budget admission and usage handoff alive under run-row updates (#20484)\u201D; \u201Cfix(accounting): prevent usage receipt stalls during streamed run updates (#20385)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/accounting-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":"server/src/services/accounting-transaction.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db6eb95c248e6319a551e51579d811e4adc2293aebd31f9e4851c2d733cc0e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/storybook/prototypes/composer-model-picker/fixtures.ts: ui/storybook/prototypes/composer-model-picker/fixtures.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 fixtures.effortChoices at line 105), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ui): use available space for composer labels (#15050)\u201D; \u201Cfix(composer): match effort options to adapter execution (#14576)\u201D; \u201Cfix(runner): honor Codex effort selected in composer (#14568)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/storybook/prototypes/composer-model-picker/fixtures.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/composer-model-picker/fixtures.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3afc1b0f5832a0299218d0830d06c09b740589185bf7b1d8781451b34350587"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/vite.config.ts: ui/vite.config.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 (anonymous) at line 13), 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(ui): retain bounded context for browser render errors (#13904)\u201D; \u201Cfix: attribute Sentry errors to the loaded source release (#13719)\u201D; \u201Cfix(ui): stamp the service worker with a per-build id so deploys reach parked tabs (#12725)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/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":"ui/vite.config.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcabf078cfb4ce8dfc3749e9adec2e7b177702798acc1e38ffefe09224937310"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/issue-review-state-notifications.ts: server/src/services/issue-review-state-notifications.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 1 (its worst body is issue-review-state-notifications.notifyIssueReviewState at line 9), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): settle routine history without idle scans (#18399)\u201D; \u201Cfix: evaluate status cards on committed changes and deadlines (#18401)\u201D; \u201Cfix(server): schedule issue monitors without heartbeat polling (#17863)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-review-state-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-review-state-notifications.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"305f303d7a0b706523d179a17d0f89f018d9bba10c7910ece501f3cce667e852"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/schema/issue_thread_interactions.ts: packages/db/src/schema/issue_thread_interactions.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 1 (its worst body is issue_thread_interactions.issueThreadInteractions 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(chat): honor dismissal for all composer requests (#17218)\u201D; \u201Cfix: make task recovery durable and preserve current requests (#13075)\u201D; \u201Cfix(interactions): authorize resolvers consistently (#11376)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/schema/issue_thread_interactions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/issue_thread_interactions.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da28d110c324be6c0a3997b6bfbde98f69844552a0f4972eca0fa58cb42464c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/scripts/typecheck-layers.mjs: server/scripts/typecheck-layers.mjs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is typecheck-layers.largestCycle at line 88), 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(build): report compiler signals in server typecheck layers (#20603)\u201D; \u201Cfix(build): typecheck server/src/__tests__ and fix every type error (#18739)\u201D; \u201Cfix(build): typecheck test projects in 4 GiB (#18738)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/scripts/typecheck-layers.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":"server/scripts/typecheck-layers.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a64d4e557ff8a82b3efcd59b8ebac61a68d46e29bf63b7b59e4428a4c6107"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/issue-question-context.ts: server/src/services/issue-question-context.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 5 (its worst body is issue-question-context.activeIssueInteractionCondition at line 51), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(retry): release a Retry held on a resolved decision (#21267)\u201D; \u201Cfix(chat): honor dismissal for all composer requests (#17218)\u201D; \u201Cfix(chat-channels): resume follow-ups after Slack Stop (#15737)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-question-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-question-context.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a140a839e40364759c17a40114cb278203bd9e51f9983077644e35983e59dbf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/runner-semantic-authority.ts: server/src/services/native-runtime/runner-semantic-authority.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 8 (its worst body is PaperclipRunnerSemanticAuthority.#readBinding at line 116), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(heartbeat): deliver a queued comment again unless the reading run cites it as handled (#21243)\u201D; \u201Cfix(heartbeat): stop a comment the closing run already read from reopening its finished task (#21175)\u201D; \u201Cfix(tasks): stop repeated reminders for historical questions (#15392)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/runner-semantic-authority.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-semantic-authority.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf724d7c378776089e4397db209d9ad43a5b50e61397d247ae5cec943d36494"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/deferred-execution-notifications.ts: server/src/services/deferred-execution-notifications.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 6 (its worst body is deferred-execution-notifications.notifyDeferredExecutionEligibility at line 51), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(heartbeat): start the new owner after reassignment away from a queued creator run (#21256)\u201D; \u201Cfix(heartbeat): deliver each accepted follow-up exactly once through restarts and admission holds (#19741)\u201D; \u201Cfix(recovery): continue preserved preparation after process loss (#19464)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/deferred-execution-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/deferred-execution-notifications.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"885cf5cb949b7bfdc0bee8a428be7a77d9cede88c3d073f0abae0cdbb48b8c8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-channels/task-retry-input.ts: server/src/services/chat-channels/task-retry-input.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 6 (its worst body is task-retry-input.releaseUnadmittedTaskRetryInput at line 74), 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(retry): continue an accepted connected Retry from recovered saved work when its chat replay is refused later (#21080)\u201D; \u201Cfix(server): wake inbound queue notices from committed changes (#17647)\u201D; \u201Cfix(chat): preserve resumed review waits and retry newer saved input (#17725)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/task-retry-input.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/task-retry-input.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"11abc42c23ae7278b5e308b29d6f75251e87898650ec251247febe3870fa3a14"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/schema/auth.ts: packages/db/src/schema/auth.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 1 (its worst body is auth.authAccounts at line 42), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: upgrade Better Auth to 1.7.16 with account migration (#18906)\u201D; \u201Cfix: always enable keyboard shortcuts (#14643)\u201D; \u201Cfix: make keyboard shortcut enablement a personal preference (#14141)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/schema/auth.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/auth.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13bced8d43089d9eb9fa78fa3e5a47f9716bcb4df41f093783b5cc4bd51076e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/components/AnnouncementWell.tsx: ui/src/components/AnnouncementWell.tsx changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is AnnouncementWell.AnnouncementWell at line 56), 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(ui): keep the GitHub star prompt off tasks that need a Retry (#20713)\u201D; \u201Cfix(ui): dock the announcement card in the sidebar so it never covers the task thread (#19511)\u201D; \u201Cfix(ui): hold announcements until the onboarding first task is finished (#19514)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AnnouncementWell.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AnnouncementWell.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6ee71dc7d59aee690fec29ac2c4b4b6add53dbbc10a9f66ba59732ad9201c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/automatic-completion-reviews.ts: server/src/services/native-runtime/automatic-completion-reviews.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 automatic-completion-reviews.registerAutomaticCompletionReviewWork at line 243), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): wake native status reassessment from committed changes (#17709)\u201D; \u201Cfix(server): schedule automatic completion review retirement (#17680)\u201D; \u201Cfix(server): wake chat lifecycle milestones from committed changes (#17606)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/automatic-completion-reviews.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/automatic-completion-reviews.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9759d231832b85e1a040e410b45d425288e5f5db1eeeb1e032a62cc28f5cd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/paperclip-runner/src/cli/opencode-proxy-task-envelope.ts: packages/paperclip-runner/src/cli/opencode-proxy-task-envelope.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 6 (its worst body is opencode-proxy-task-envelope.openCodeProxyCompletionContract 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: \u201Cfix(opencode): bind the attached run\u0027s contract after a restored launch (#20001)\u201D; \u201Cfix(native): carry each warm run\u0027s own completion contract (#19874)\u201D; \u201Cfix: make runner task context ownership explicit (#13753)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/opencode-proxy-task-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/paperclip-runner/src/cli/opencode-proxy-task-envelope.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f541eaeaaa9536fcc795dec7024d2c416bfc4ccdd58b2e41dacd4a2c13c1564c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/components/AppErrorBoundary.tsx: ui/src/components/AppErrorBoundary.tsx changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is AppErrorBoundary.render 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: \u201Cfix(ui): complete read recovery and enforce query error rendering (#18822)\u201D; \u201Cfix(ui): reload once when a lazy chunk or its CSS fails to load (#17349)\u201D; \u201Cfix(ui): retain bounded context for browser render errors (#13904)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/AppErrorBoundary.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AppErrorBoundary.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13acb391cbd80e245aa3598b85c1587598574e705a097e86fde477b5c63b705"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/lib/wait-for-stopped-runs.ts: ui/src/lib/wait-for-stopped-runs.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is wait-for-stopped-runs.waitForStoppedRuns at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cursor-cloud): support API-only controllers on managed stacks (#18310)\u201D; \u201Cfix: preserve runner recovery, warm sessions, and task outcomes (#13338)\u201D; \u201Cfix: verify ACP Stop and preserve safe continuation (#13119)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/wait-for-stopped-runs.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/wait-for-stopped-runs.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fd64ae1758601b6cc26f964f3ae948005fa2c3ade3f40a203fcc9b6ebe2305"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/test-embedded-postgres.ts: packages/db/src/test-embedded-postgres.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 test-embedded-postgres.getEmbeddedPostgresTemplateDir at line 492), 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(db): clean up owned PostgreSQL test servers (#18627)\u201D; \u201Cfix(cli): make embedded-Postgres tests survive runner contention (#12466)\u201D; \u201Cfix(db): close test database clients before the embedded Postgres cluster stops (#12335)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/test-embedded-postgres.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/test-embedded-postgres.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaf50e0687c509f64fba52139a03580a5d5dc2abc559edcdd0ccaa132a12876"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-channels/configuration-work-notifications.ts: server/src/services/chat-channels/configuration-work-notifications.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 configuration-work-notifications.notifyChatEndpointConfiguration at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): schedule direct GitHub webhook recovery from saved deadlines (#17666)\u201D; \u201Cfix(server): deliver voice replies from commits and saved deadlines (#17578)\u201D; \u201Cfix(server): schedule live voice recovery from session changes and deadlines (#17576)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/configuration-work-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration-work-notifications.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"76422b625f883321fd92499f16d1564967ec9786dc2e3f30f3f6e5bdf0fda9ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/recovery/review-path-recovery.ts: server/src/services/recovery/review-path-recovery.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 8 (its worst body is review-path-recovery.isReviewPathRecoveryIdempotencyConflict 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: \u201Cfix(recovery): deliver review-path repair instructions to agent prompts (#17353)\u201D; \u201Cfix(recovery): surface exhausted review-path repair (#15764)\u201D; \u201Cfix: preserve chat message bindings in review recovery (#13818)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/review-path-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":"server/src/services/recovery/review-path-recovery.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9badb32380664be2f4052716c8bbe114550f4fc219307a7d8118cd5d2b7fa441"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/adapter-execution-control.ts: server/src/services/adapter-execution-control.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 6 (its worst body is adapter-execution-control.adapterStopTimeoutError 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: \u201Cfix(heartbeat): answer an unsettled adapter Stop with a 409 instead of a 500 (#16032)\u201D; \u201Cfix: report pending execution phase at Stop timeout (#14990)\u201D; \u201Cfix(server): retain context for unconfirmed adapter stops (#14639)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/adapter-execution-control.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/adapter-execution-control.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6131dbc6174db144b49aa0678c796143ecd995574425888409d7a4b8c1fdfa13"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/adapters/claude-local/src/server/quota.ts: packages/adapters/claude-local/src/server/quota.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is quota.captureClaudeCliUsageText at line 503), 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: scope quota reports to authorized subscription accounts (#14994)\u201D; \u201Cfix(claude-local): read a macOS isolated login from its suffixed Keychain item (#13519)\u201D; \u201Cfix(claude-local): skip expired credentials file when reading the Claude token (#13505)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/adapters/claude-local/src/server/quota.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"f029614c65db8fd594015d6e8e40d21d6a336af117cf7859e730cecd4546e4f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/lib/cloudLinks.ts: ui/src/lib/cloudLinks.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 5 (its worst body is cloudLinks.cloudAppUrl 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: \u201Cfix(auth): keep Cloud tenants on the Cloud sign-in flow (#14407)\u201D; \u201Cfix(ui): add Cloud invitations to the Members page (#13922)\u201D; \u201Cfix(ui): leave the archived company\u0027s settings after archiving it (#13846)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/cloudLinks.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cloudLinks.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b49d270df7eb4420b5d159403f89909eef020bdab4cdac9aeb28afd8e90aae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/recovery/task-automatic-attempts.ts: server/src/services/recovery/task-automatic-attempts.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 2 (its worst body is task-automatic-attempts.transientRetryWithinTaskCap at line 34), 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(recovery): continue a task whose system retry was refused at claim behind a saved-work hold (#21505)\u201D; \u201Cfix(recovery): pause automatic recovery runs while a company\u0027s runs fail before starting (#21443)\u201D; \u201Cfix(recovery): continue a failed continuation again instead of escalating it to the board (#21394)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/recovery/task-automatic-attempts.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/task-automatic-attempts.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd09defef89f2621080213cd9f7a45417a9ce27f02ea4e1de72f64542424424"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/lib/browser-error-context.ts: ui/src/lib/browser-error-context.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 browser-error-context.readBrowserErrorState at line 27), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ui): group failed-query Sentry reports by status and query name (#21475)\u201D; \u201Cfix(ui): attribute stackless unhandled rejections with event and lifecycle facts (#15940)\u201D; \u201Cfix: preserve company context across browser hot reload (#14482)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/lib/browser-error-context.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7703c7c3b32c71e6fde36ae6aafbeb1ec730ed60787fa3157ac836c397ca72ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/remote-execution-termination.ts: server/src/services/remote-execution-termination.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 remote-execution-termination.resolveRemoteTerminationLease 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: \u201Cfix(runtime): record a plugin task\u0027s stop receipt when its stop is proven (#21237)\u201D; \u201Cfix(recovery): continue saved input after a recovered sandbox stops, not after its destroy (#19224)\u201D; \u201Cfix(server): settle cleanup after reusable sandbox destruction (#18633)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/remote-execution-termination.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-execution-termination.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eff220b5018066d4b7ac0b58c60be7d61243d16a6017b15c452b72bf68da3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/pre-dispatch-review-wait.ts: server/src/services/pre-dispatch-review-wait.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 15 (its worst body is pre-dispatch-review-wait.isPreDispatchReviewWaitVerified at line 72), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): withhold a queued assignment run once its task moves to backlog (#21095)\u201D; \u201Cfix(recovery): release holds for unstarted dispatch cancellations (#18838)\u201D; \u201Cfix(connections): retire requests for already available tools (#15856)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/pre-dispatch-review-wait.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/pre-dispatch-review-wait.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b8285a704d5f0518fbee87cb7c5861396e90d9979e5dbd8f760d91a3587ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/storage/storage-unavailable.ts: server/src/storage/storage-unavailable.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 12 (its worst body is storage-unavailable.retryWithin at line 170), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(storage): never promise a storage retry no storage wait owns (#20676)\u201D; \u201Cfix(heartbeat): show a storage outage wait as live status, then record it once (#20460)\u201D; \u201Cfix(storage): wait out expired or rotated S3 credentials and re-resolve the key (#20456)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/storage/storage-unavailable.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/storage-unavailable.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd579d921117b9ec07bf06cdf7a6635f0104991f3eafdd887f789ebf997bcf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/ai-connection-configuration-failure.ts: server/src/services/ai-connection-configuration-failure.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 2 (its worst body is ai-connection-configuration-failure.aiConnectionCredentialNotSharedFailure at line 20), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(agents): repair queued setup through task connection cards (#20361)\u201D; \u201Cfix: show credential access errors in task chat (#15741)\u201D; \u201Cfix(sentry): classify expected credential sharing denials (#15714)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/ai-connection-configuration-failure.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-configuration-failure.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e8383b5fb32ecd2c374ee99670ba2499d3504364e2b8f58609a81f2c8e73cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/paperclip-runner/src/cli/opencode-proxy-events.ts: packages/paperclip-runner/src/cli/opencode-proxy-events.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 9 (its worst body is opencode-proxy-events.boundedOpenCodeTerminalError at line 109), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runner): keep discarded OpenCode token deltas from delaying tool calls (#20209)\u201D; \u201Cfix(connections): repair native baseline and approval continuations (#15420)\u201D; \u201Cfix(runner): restore local session and task integrity (#12721)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/cli/opencode-proxy-events.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/opencode-proxy-events.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8328681ba1635282017ca3c2b47cff98c842cfebb2f3bb9877f9e9d57c7dba0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: ui/src/components/artifacts/v1/ArtifactFront.tsx: ui/src/components/artifacts/v1/ArtifactFront.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 5 (its worst body is ArtifactFront.ArtifactFront 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: \u201Cfix(ui): bundle connector, toolbar, empty-state and agent roster fixes (#18716)\u201D; \u201Cfix(ui): lift a picture front on hover like the sheets in Artifacts V1 (#17263)\u201D; \u201Cfix(ui): fall back to the icon face when an Artifacts V1 preview fails to load (#17260)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- ui/src/components/artifacts/v1/ArtifactFront.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/v1/ArtifactFront.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb85ef2126c0429bd0ed3e813515e2852cc43e03cb4393debf5c14622a807503"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/config-file.ts: server/src/config-file.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 config-file.readConfigFile 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: \u201Cfix(config): require shared storage for managed cloud (#18350)\u201D; \u201Cfix(cloud): persist configuration and load release-image packages (#18335)\u201D; \u201Cfix(interactions): derive chat recipients and validate explicit users (#14742)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/config-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":"server/src/config-file.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ec196cea3eb028af6b074fe9ac6fe1585620e2e10e3cf075a4a170d7aeb16"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/native-runtime/native-workspace-export-resume.ts: server/src/services/native-runtime/native-workspace-export-resume.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 9 (its worst body is native-workspace-export-resume.releaseCompletedNativeWorkspaceExportRetention at line 74), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): schedule native environment lease settlement (#17801)\u201D; \u201Cfix(server): schedule retained native-session cleanup (#17717)\u201D; \u201Cfix: stop idle environment cleanup polling (#17145)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/native-runtime/native-workspace-export-resume.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-resume.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92dc85f05a46f7bfa54a350d0c84747e174178ffa4c0bc403571f48904e63a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/approval-work-notifications.ts: server/src/services/approval-work-notifications.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is approval-work-notifications.notifyApprovalWork at line 10), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): settle external conversations from committed work (#17772)\u201D; \u201Cfix(server): wake native status reassessment from committed changes (#17709)\u201D; \u201Cfix(server): schedule governed review response recovery (#17702)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/approval-work-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approval-work-notifications.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f01c68e67229d005aea489cb8d884940c444e37544f8fc2e905f7b148fb66"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-response-availability.ts: server/src/services/chat-response-availability.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 chat-response-availability.notifyChatResponseAvailability at line 7), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): settle external conversations from committed work (#17772)\u201D; \u201Cfix(server): schedule governed review response recovery (#17702)\u201D; \u201Cfix(server): wake GitHub terminal responses from committed changes (#17661)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-response-availability.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-response-availability.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d31d53abcb5f9743c32b02daceb3896fdb449f52bd5f83cd00a721e0f6d4d2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/tool-access/oauth/state.ts: server/src/services/tool-access/oauth/state.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 state.assertSameOAuthActor at line 19), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): settle external conversations from committed work (#17772)\u201D; \u201Cfix(server): wake native status reassessment from committed changes (#17709)\u201D; \u201Cfix(server): schedule governed review response recovery (#17702)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-access/oauth/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":"server/src/services/tool-access/oauth/state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a91a428c62df247acb266308623e1d65e435067ae503fdd759d435208bdf23"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/lib/approval-records.ts: server/src/lib/approval-records.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 approval-records.approvalResolutionRecords.resolveApproval 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: \u201Cfix(server): schedule governed review response recovery (#17702)\u201D; \u201Cfix(server): wake approval queue seeding from committed changes (#17510)\u201D; \u201Cfix(server): schedule approval retention from durable deadlines (#17497)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/lib/approval-records.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/approval-records.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5e6d511750f246839045623e11da57473645acb983f5c377e92666d0b3a442"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/issue-approvals.ts: server/src/services/issue-approvals.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 6 (its worst body is issue-approvals.issueApprovalService.linkManyForApproval at line 136), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): schedule governed review response recovery (#17702)\u201D; \u201Cfix(server): wake approval queue seeding from committed changes (#17510)\u201D; \u201Cfix(server): schedule approval retention from durable deadlines (#17497)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/issue-approvals.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-approvals.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"67040fd7620131bab9f43c208023fdb2ced6b0f5a905123cceb49baaae8f6c3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/chat-channels/github/task-preparation.ts: server/src/services/chat-channels/github/task-preparation.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 task-preparation.githubInboundTaskTitle at line 13), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): wake stale GitHub review repair from committed changes (#17664)\u201D; \u201Cfix(server): schedule GitHub review checks from committed changes (#17662)\u201D; \u201Cfix(chat): admit task Retry after GitHub reconnect (#17733)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/chat-channels/github/task-preparation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/task-preparation.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"de11083b2092286932911ef6889bb5e8de08d2c94f5e019d42ad753fa0a580db"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/voice/voice-recovery-notifications.ts: server/src/services/voice/voice-recovery-notifications.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 5 (its worst body is voice-recovery-notifications.voiceRecoveryScope at line 8), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): schedule voice call reports from saved deadlines (#17586)\u201D; \u201Cfix(server): schedule inbound voice cleanup from durable obligations (#17580)\u201D; \u201Cfix(server): deliver voice replies from commits and saved deadlines (#17578)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/voice/voice-recovery-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-recovery-notifications.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0807cc6237f2851a9e99011ada7c59a3cf222580b04f0b50ac806d14ead595"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/grok-bot/dispatcher.ts: server/src/services/grok-bot/dispatcher.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 9 (its worst body is dispatcher.createGrokRoutineDispatcher.tick at line 17), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): wake Grok dispatch from committed reservations (#17490)\u201D; \u201Cfix(grok): avoid routine wakes for proactive admission (#16422)\u201D; \u201Cfix(grok): avoid routine wakes for accepted work (#16394)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/grok-bot/dispatcher.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/grok-bot/dispatcher.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6a870012a8be26e4acc60d24d14e27f4a9c36be9ef7500a44ff6097fb45c61"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/db/src/schema/decisions.ts: packages/db/src/schema/decisions.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 1 (its worst body is decisions.decisionBundles at line 32), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): recover decision effects from saved claim deadlines (#17482)\u201D; \u201Cfix(server): schedule decision TTL expiry from saved deadlines (#17479)\u201D; \u201Cfix(server): wake decision continuations from committed changes (#17478)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/db/src/schema/decisions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/decisions.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5987c371357501392d80d5de89cd5169558abddcdbd248a5ba3791c67d01e99"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/tool-review-work-notifications.ts: server/src/services/tool-review-work-notifications.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 1 (its worst body is tool-review-work-notifications.notifyToolReviewChange 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: \u201Cfix(server): wake tool-review card repair from committed changes (#17468)\u201D; \u201Cfix(server): schedule interrupted tool claims by their deadlines (#17458)\u201D; \u201Cfix(server): recover approved tool actions from committed changes (#17454)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/tool-review-work-notifications.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-review-work-notifications.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da27d6316837139d72ed9042d0510bf943b29a5499a57d32a3d408079461f3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cli/src/commands/install.ts: cli/src/commands/install.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 install.runCommandWithDiagnostics 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: \u201Cfix(cli): accept npm 12 array output when resolving published version (#14000)\u201D; \u201Cfix(adapters): prevent engine fallback and preserve usable runtime defaults (#13105)\u201D; \u201Cfix(build): enforce Node 24 across Paperclip (#11792)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- cli/src/commands/install.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/install.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"31326d7482dddf2433ab6ea948a2564dc65286f450a1d3876bfb2b916057278b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: server/src/services/workspace-git-operation-scheduler.ts: server/src/services/workspace-git-operation-scheduler.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 15 (its worst body is WorkspaceGitOperationScheduler.run at line 341), 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(workspaces): keep cleanup Git scans fresh and dedupe page reads (#16302)\u201D; \u201Cfix(runtime): stream workspace Git snapshots through disk manifests (#14253)\u201D; \u201Cfix(adapter-utils): honor .gitignore for referenced-project staging (#12184)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- server/src/services/workspace-git-operation-scheduler.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-git-operation-scheduler.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed66c537c68726226315b2ff28e16b3c07231570f74f20bb819b50b51dc5f8c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/paperclip-runner/src/contracts/codex.ts: packages/paperclip-runner/src/contracts/codex.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 codex.isSkilllessCodexContext at line 161), 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(runner): preserve stock Codex base instructions (#14920)\u201D; \u201Cfix: make runner task context ownership explicit (#13753)\u201D; \u201Cfix(runner): preserve durable native session authority across recovery (#13092)\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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:00:50 -06:00\u0027 --until=\u00272026-11-14 05:00:50 -06:00\u0027 --full-history --no-merges -- packages/paperclip-runner/src/contracts/codex.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/codex.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef854f5deb01188ee636b19bf3d5ef40c3c19c060a4c312fd6607dbc1cc9cf39"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 510 significant file(s) lose their only recent owner: server/src/services/heartbeat/queue.ts, packages/plugins/plugin-llm-wiki/src/wiki/core.ts, server/src/services/chat-channels.ts, cli/src/commands/worktree.ts, ui/src/pages/Inbox.tsx, packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs, server/src/services/chat-sdk-runtime.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts (\u002B502 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"580897c6fff6c6d047b363b8056184193fa956783a4deb6da8c2d41ee29daead"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 21 significant file(s) lose their only recent owner: server/src/services/subscriptions.ts, packages/plugins/paperclip-plugin-fake-sandbox/src/plugin.ts, packages/paperclip-runner/src/drivers/opencode/sse-frames.ts, packages/adapter-utils/src/workspace-restore-diagnostics.ts, packages/shared/src/portability-zip.ts, ui/src/lib/angle-bracket-markdown.ts, ui/src/lib/sentry.ts, server/src/services/persisted-workspace-source.ts (\u002B13 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"17c0de315c9feddfeb4244e077d27e19571b91d4f59a584c5ec8942c7daf6f77"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 14 significant file(s) lose their only recent owner: packages/adapter-utils/src/http2-bridge-server.ts, packages/db/src/check-migration-safety.ts, server/src/services/setup-token-transport-binding.ts, packages/adapters/grok-local/src/server/adapter-auth-promotion.ts, packages/plugins/sandbox-providers/daytona/src/login-pty.ts, packages/adapter-utils/src/duplex-observability.ts, server/src/services/device-login-reaper.ts, packages/adapters/codex-local/src/server/device-login-export.ts (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"74193c62ba8a9fabfafa7431147c70f6c925297a2ef589f74efcf43919a2598b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 4 significant file(s) lose their only recent owner: ui/src/components/onboarding/onboarding-motion.ts, ui/src/components/onboarding/ModelSourceTiles.tsx, ui/src/components/onboarding/Stepper.tsx, ui/src/components/onboarding/FooterNav.tsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"56adc266c839254dffc0f3a3725f92e75bbf99e6b15b60a3e1dfc18695a059cb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 4 significant file(s) lose their only recent owner: ui/src/components/task-chat/task-chat-fixtures.ts, ui/src/pages/TaskChatLab.tsx, ui/src/components/task-chat/TaskChatDescriptionBubble.tsx, ui/src/components/DocumentAnnotationPopover.tsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a0eba5f6a10fa2d5e6940f958a4bb02b0a54e2ab397fa57f0a4e21ea08e14814"}},{"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 (556 single-owned of 3000 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; 3000 of the 5758 production source files in this repository met that bar). They are anonymized user #6 (2 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/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts, server/src/middleware/trust-proxy.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // } else if (activeView === \u0022skills\u0022) { // TODO: bring back later \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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0ed90d2cfa21a84be37bf6c3140a9187b8250139f072d5908862f5c144791c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(issue-worktree-support): re-enable this UI once the workflow is ready to ship. \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":"ui/src/adapters/runtime-json-fields.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfaa361e78537d6fb001a3b9bd8e4c183e93b76e7a8732078fdf4129e9962d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: future versions could thread companyName through AcquireLeaseParams \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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a6ee81c2d51e3a2aeba474811a9f1a4910518026b28c7e62ef5a950b44d833"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tighten once the agent runtime shim (companion images PR) lands its \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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd7ddc0866f211bdb5ae5ec476ee40ea420c08d50dcf19eb3c9fc50c850989f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use params.runId as stand-in for agentId in labels; future \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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18b671126f3b1eae957329a2ff890e0a22f963fa7d5342ae4ec080df4a5ed5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: requires custom in-cluster controller for k8s \u2014 kubelet does not \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/plugins/sandbox-providers/kubernetes/src/sandbox-orchestrator.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf31b60497baae1763d9e950a751a5e6eef694e3e750bdbaedab28ff8220f776"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace this temporary claude_local fallback with adapter selection in the import TUI. \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":"cli/src/commands/client/company.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e184597199bc159d1ff3d7c910dc40ba7c02a29f638aeb4fe8dca75a2bb81778"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060opencode-local\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/adapters/opencode-local/README.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":"packages/adapters/opencode-local/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52a0d178c861872453441bd733cda3df5faf22c31742cec69d806819fd0a825"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getCLIAdapter\u0060 spells \u0060CLI\u0060 where 54 names in the project spell it \u0060Cli\u0060: 54 of 56 names in project paperclip spell the token \u0060Cli\u0060 (54 of 56; unit: names in project paperclip containing \u0060Cli\u0060). Peers: board-auth.loginBoardCli (cli/src/client/board-auth.ts:208); command-label.buildCliCommandLabel (cli/src/client/command-label.ts:1); cli.src.commands.client.agent.AgentLocalCliOptions (cli/src/commands/client/agent.ts:42); cli.src.commands.env-lab.EnvLabCliInvocation (cli/src/commands/env-lab.ts:131); env-lab.resolveEnvLabCliInvocation (cli/src/commands/env-lab.ts:146). Rename to \u0060getCliAdapter\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/adapters/registry.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9378ef4fd9618c14c46f3cdee44720e2baf9732046618ae1330f2fcd725aa8c8"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060toJSON\u0060 spells \u0060JSON\u0060 where 422 names in the project spell it \u0060Json\u0060: 422 of 426 names in project paperclip spell the token \u0060Json\u0060 (422 of 426; unit: names in project paperclip containing \u0060Json\u0060). Peers: board-auth.requestJson (cli/src/client/board-auth.ts:155); context.parseJson (cli/src/client/context.ts:60); http.safeParseJson (cli/src/client/http.ts:191); mcp-auth.safeJson (cli/src/client/mcp-auth.ts:104); JsonPayloadOptions.payloadJson (cli/src/commands/client/access.ts:16). Rename to \u0060toJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-types.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bbb435defdf14542cc5785e43f7e52d5f05141ae4451b51ee969242fe3e185"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060OpenAPIRegistry\u0060 spells \u0060API\u0060 where 224 names in the project spell it \u0060Api\u0060: 224 of 225 names in project paperclip spell the token \u0060Api\u0060 (224 of 225; unit: names in project paperclip containing \u0060Api\u0060). Peers: CreateChallengeResponse.boardApiToken (cli/src/client/board-auth.ts:26); board-auth.normalizeApiBase (cli/src/client/board-auth.ts:59); cli.src.client.http.PaperclipApiClient (cli/src/client/http.ts:53); PaperclipApiClient.setApiKey (cli/src/client/http.ts:104); http.toApiError (cli/src/client/http.ts:199). Rename to \u0060OpenApiRegistry\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb419010a14864cafb59bace7a53eb9cffb1f6238718bfd04dd1aa329ec2fb4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060toJSON\u0060 spells \u0060JSON\u0060 where 422 names in the project spell it \u0060Json\u0060: 422 of 426 names in project paperclip spell the token \u0060Json\u0060 (422 of 426; unit: names in project paperclip containing \u0060Json\u0060). Peers: board-auth.requestJson (cli/src/client/board-auth.ts:155); context.parseJson (cli/src/client/context.ts:60); http.safeParseJson (cli/src/client/http.ts:191); mcp-auth.safeJson (cli/src/client/mcp-auth.ts:104); JsonPayloadOptions.payloadJson (cli/src/commands/client/access.ts:16). Rename to \u0060toJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb6359e1fe82249b4d829a02e7e5ae3c7c9a35dec34ca8e2f10fbabbbb5af9a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060configCreatedByOperatorCLI\u0060 spells \u0060CLI\u0060 where 54 names in the project spell it \u0060Cli\u0060: 54 of 56 names in project paperclip spell the token \u0060Cli\u0060 (54 of 56; unit: names in project paperclip containing \u0060Cli\u0060). Peers: board-auth.loginBoardCli (cli/src/client/board-auth.ts:208); command-label.buildCliCommandLabel (cli/src/client/command-label.ts:1); cli.src.commands.client.agent.AgentLocalCliOptions (cli/src/commands/client/agent.ts:42); cli.src.commands.env-lab.EnvLabCliInvocation (cli/src/commands/env-lab.ts:131); env-lab.resolveEnvLabCliInvocation (cli/src/commands/env-lab.ts:146). Rename to \u0060configCreatedByOperatorCli\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-onboarding.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d3a9dbe4be6e0f3efa2cdd121beb47798531c5e7d205b0f06017945133987d"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060{\n  activeId,\n  starredIds,\n  recentIds,\n  onToggleStar,\n  onOpenChat,\n  agents,\n  href = (id: string) =\u003E\n    \u0060/chats/${encodeURIComponent(agentRouteRef(agents.find((agent) =\u003E agent.id === id)!))}\u0060,\n}\u0060 spells \u0060URI\u0060 where 24 names in the project spell it \u0060Uri\u0060: 24 of 25 names in project paperclip spell the token \u0060Uri\u0060 (24 of 25; unit: names in project paperclip containing \u0060Uri\u0060). Peers: setup-token-parse.isValidRedirectUri (packages/adapters/claude-local/src/server/setup-token-parse.ts:243); McpAppToolUi.resourceUri (packages/shared/src/mcp-apps.ts:30); McpAppResourceCsp.baseUriDomains (packages/shared/src/mcp-apps.ts:38); McpAppViewSummary.resourceUri (packages/shared/src/mcp-apps.ts:68); CompanyMcpSkill.skillUri (packages/shared/src/mcp-skills.ts:55). Rename to \u0060{\n  activeId,\n  starredIds,\n  recentIds,\n  onToggleStar,\n  onOpenChat,\n  agents,\n  href = (id: string) =\u003E\n    \u0060/chats/${encodeUriComponent(agentRouteRef(agents.find((agent) =\u003E agent.id === id)!))}\u0060,\n}\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentChatSidebar.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c6babff395ff35905bf93c177838a5ea0089d84bdf1f8ca2f5dc7207bbb072"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060importJSON\u0060 spells \u0060JSON\u0060 where 422 names in the project spell it \u0060Json\u0060: 422 of 426 names in project paperclip spell the token \u0060Json\u0060 (422 of 426; unit: names in project paperclip containing \u0060Json\u0060). Peers: board-auth.requestJson (cli/src/client/board-auth.ts:155); context.parseJson (cli/src/client/context.ts:60); http.safeParseJson (cli/src/client/http.ts:191); mcp-auth.safeJson (cli/src/client/mcp-auth.ts:104); JsonPayloadOptions.payloadJson (cli/src/commands/client/access.ts:16). Rename to \u0060importJson\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/mention-aware-link-node.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"327910192e1e43cf174a8cdc50487924960ff6a1fbb3d58c706f5c9fd52b26a2"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060{\n  repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), \u0022..\u0022),\n  check = runnerLockStateAtCommit,\n  log = console.error,\n}\u0060 spells \u0060URL\u0060 where 22 names in the project spell it \u0060Url\u0060: 22 of 24 names in project paperclip spell the token \u0060Url\u0060 (22 of 24; unit: names in project paperclip containing \u0060Url\u0060). Peers: paperclip-task.normalizeApiBaseUrl (packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs:97); antigravity-provisioner-layout.antigravityProvisionerPackageRoot(moduleUrl) (packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs:10); antigravity-provisioner-layout.antigravityProvisionerDestination(moduleUrl) (packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs:19); observability.launchFor(baseUrl) (packages/paperclip-runner/scripts/controlled-evals/observability.mjs:7); cursor-provisioner-layout.cursorProvisionerPackageRoot(moduleUrl) (packages/paperclip-runner/scripts/cursor-provisioner-layout.mjs:6). Rename to \u0060{\n  repoRoot = path.resolve(path.dirname(fileUrlToPath(import.meta.url)), \u0022..\u0022),\n  check = runnerLockStateAtCommit,\n  log = console.error,\n}\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-release-runner-lockfile.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a28bcf7c70aaca16e4e2582d565b1dd40c7daeeca65615b5bafb374a43e9e1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060{\n  env = process.env,\n  repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), \u0022..\u0022),\n  read = readRunnerImageManifest,\n  readInputs = readRunnerInputs,\n  log = console.error,\n  waitFor = waitForRunnerImage,\n  fetchImpl = fetch,\n}\u0060 spells \u0060URL\u0060 where 22 names in the project spell it \u0060Url\u0060: 22 of 24 names in project paperclip spell the token \u0060Url\u0060 (22 of 24; unit: names in project paperclip containing \u0060Url\u0060). Peers: paperclip-task.normalizeApiBaseUrl (packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs:97); antigravity-provisioner-layout.antigravityProvisionerPackageRoot(moduleUrl) (packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs:10); antigravity-provisioner-layout.antigravityProvisionerDestination(moduleUrl) (packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs:19); observability.launchFor(baseUrl) (packages/paperclip-runner/scripts/controlled-evals/observability.mjs:7); cursor-provisioner-layout.cursorProvisionerPackageRoot(moduleUrl) (packages/paperclip-runner/scripts/cursor-provisioner-layout.mjs:6). Rename to \u0060{\n  env = process.env,\n  repoRoot = path.resolve(path.dirname(fileUrlToPath(import.meta.url)), \u0022..\u0022),\n  read = readRunnerImageManifest,\n  readInputs = readRunnerInputs,\n  log = console.error,\n  waitFor = waitForRunnerImage,\n  fetchImpl = fetch,\n}\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-image-resolve.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d474ba85a67f9929ca1cf494185ff43cb7bfb345cfc36d7e7e96192d45de95"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A root-region exec parents to \u0060sandbox.startup\u0060.\u0022 repeats the code it sits on: 5 of its 6 words (root, region, exec, parents, startup) are already in \u0060const rootRegionExec = execSpans.find((span) =\u003E span.parent === startupSpan);\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/adapter-utils/src/acpx-engine/execute.test.ts"},"region":{"startLine":6540}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e521c51d9b4dc1349519298c52e1a0ac3d141bb2386a9d4892ee0e25a39506"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Case 10 \u2014 a turn timeout finalizes every resource.\u0022 repeats the code it sits on: 6 of its 6 words (case, 10, turn, timeout, finalizes, resource) are already in \u0060it(\u0022case_10_turn_timeout_finalizes_every_resource\u0022, async () =\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/adapter-utils/src/acpx-engine/run-fault-matrix.test.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"312a1b1ceaa46295bd75dabe59a4cb2d9b30a33dd9f7c82562fba4fe7c70ce0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Case 14b \u2014 a clean sync-back adds no \u0060workspaceRestoreFailure\u0060 key at all.\u0022 repeats the code it sits on: 11 of its 11 words (case, 14, clean, sync, back, adds, no, workspace, restore, failure, key) are already in \u0060it(\u0022case_14b_clean_sync_back_adds_no_workspace_restore_failure_key\u0022, async () =\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/adapter-utils/src/acpx-engine/run-fault-matrix.test.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ed55bfbdc0e230164318a65fa8b0aea98d267a20f2c2c18c22b5f34b6689da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Tool results are in toolResults array\u0022 repeats the code it sits on: 3 of its 3 words (tool, results, array) are already in \u0060const toolResults = event.toolResults as Array\u003CRecord\u003Cstring, unknown\u003E\u003E | 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":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eaff4bb7cc42cfb150a001f3a9715c2c194c294d7e9b6e97e04968f2cbacf60"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find matching tool call by toolCallId\u0022 repeats the code it sits on: 4 of its 5 words (find, tool, call, id) are already in \u0060const existingCall = result.toolCalls.find((tc) =\u003E tc.toolCallId === toolCallId);\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/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"99de959f335e9fc6c2e957d5c628dd6a01ae9f5786a01c188c4557812c2e370b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Every scorecard carries the report bundle id.\u0022 repeats the code it sits on: 4 of its 5 words (scorecard, report, bundle, id) are already in \u0060for (const entry of report.cases) expect(entry.scorecard.bundleId).toBe(report.bundle.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/paperclip-runner/src/eval/eval-slice.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1bdab2f9128765ae5c9a402354798be5966dc93119115a5513a27f432fc5d9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check event type match\u0022 repeats the code it sits on: 4 of its 4 words (check, event, type, match) are already in \u0060const exactMatch = registration.name === event.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":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a574064b215b4cd9fd1037984ca0cffd8aff29ab9c2226c1894fa97ec91e9e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send parse error response\u0022 repeats the code it sits on: 4 of its 4 words (send, parse, error, response) are already in \u0060sendMessage(\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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e17f88b2521bcd8df0ae7ddb59ee8242637860c83d8dc8841411bc7c86359f4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Runs of the same agent before and after the wake run; most were woken by some other comment.\u0022 repeats the code it sits on: 5 of its 6 words (runs, agent, wake, run, comment) are already in \u0060await sql.unsafe(\u0060insert into heartbeat_runs (company_id, agent_id, status, context_snapshot, created_at)\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":"scripts/benchmark-review-lookup-indexes.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3ed5a2a7f978cc1c6f37f3d2db10349e641cf41d75388fdb1509b0b279426c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A cancelled run expires the lease.\u0022 repeats the code it sits on: 4 of its 4 words (cancelled, run, expires, lease) are already in \u0060expect(leaseReleaseStatusForRunStatus(\u0022cancelled\u0022)).toBe(\u0022expired\u0022);\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":"server/src/__tests__/heartbeat-run-terminalize-before-release.test.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e89f6cd40036cd74c410e08ff35cdc0c46ae771214c18aa7108d09ced3b63b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The parent\u0027s checkout and its unmerged change are untouched.\u0022 repeats the code it sits on: 4 of its 5 words (parent, checkout, unmerged, change) are already in \u0060expect(await readFile(path.join(parentCheckout, \u0022source.txt\u0022), \u0022utf8\u0022)).toBe(\u0022parent unmerged change\\n\u0022);\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":"server/src/__tests__/heartbeat-subtask-acquired-repository.test.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f33b3068b02c9f56645f13b00c9b86ba24f164d76fc862ab277ea2469ddf1f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A chain: this task waits for a blocked task, which waits for nobody\u0027s task.\u0022 repeats the code it sits on: 4 of its 5 words (chain, task, waits, blocked) are already in \u0060const chained = await task({ title: \u0022Waits behind a chain\u0022, status: \u0022blocked\u0022, blockedTransitionAt: blockedAt });\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":"server/src/__tests__/helpers/attention-summary-fixture.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8713bd4b406b4a37eca2a0be65dfdd5cf5ef4c9747c29529d4bd10a22a73a2f9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A review stage that waits for its participant.\u0022 repeats the code it sits on: 4 of its 4 words (review, stage, waits, participant) are already in \u0060const waitingFor = (currentParticipant: Record\u003Cstring, unknown\u003E | null) =\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":"server/src/__tests__/helpers/review-attention-fixture.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b5d4f48ce19d31fddc6471519c76f988985781060d986659a58989851ced9d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022MCP Tasks are an experimental setting, off by default.\u0022 repeats the code it sits on: 4 of its 5 words (mcp, tasks, experimental, setting) are already in \u0060await instanceSettingsService(db).updateExperimental({ enableMcpTasks: true });\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":"server/src/__tests__/mcp-tasks.test.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e24e52551b68c85ec72492249517fede944b29bec38d4d45a2cde62e533953d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A creation intent stamped by a process in another PID space.\u0022 repeats the code it sits on: 5 of its 6 words (creation, intent, process, pid, space) are already in \u0060await db.insert(sandboxCreationOperations).values({ id: ids.foreignIntent, companyId,\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":"server/src/__tests__/ownership-reconciliation-report.test.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8811cb9bcd6850d4275a5a450796e77bd9aad9b0aab23e9b6c486f024419ea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The finishing run started after the message and received it as wake input.\u0022 repeats the code it sits on: 6 of its 7 words (finishing, run, started, message, received, wake) are already in \u0060const [run] = await db.insert(heartbeatRuns).values({ companyId, agentId, status: \u0022succeeded\u0022,\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":"server/src/modules/wake-queue/adapters/chat-wake-delivered.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4b743e74bd2b5f465789d4894a1e7dbbb80edb762f4172117a6f48a8bab223"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The fresh-continuation fallback\u0027s records for these runs.\u0022 repeats the code it sits on: 4 of its 5 words (fresh, continuation, records, runs) are already in \u0060const freshRows = runIds.length ? await db.select({ issueId: issueRecoveryActions.sourceIssueId,\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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a950aab807858017c63e81b08f121250e1989cecdf99076784e332a91a509369"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A server may be its own sign-in service.\u0022 repeats the code it sits on: 3 of its 3 words (server, sign, service) are already in \u0060const self = await signInServiceMetadata(new URL(serverUrl).origin);\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":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"412925bb7adae2491ef266863499497a025a718b320939b8cadf5987c84ecd00"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ask-first-write-approved\u0022 repeats the code it sits on: 4 of its 4 words (ask, first, write, approved) are already in \u0060await doStep(scenario, \u0022ask-first-write-approved\u0022, async () =\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":"tests/e2e/smoke-lab-browser-runner.mts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea00e30e7af454e5636d69a84bf1658698d4d33234a1d98a13aaf0a7f59cfea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022denied-blocked-call\u0022 repeats the code it sits on: 3 of its 3 words (denied, blocked, call) are already in \u0060await doStep(scenario, \u0022denied-blocked-call\u0022, async () =\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":"tests/e2e/smoke-lab-browser-runner.mts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e78808a7ab0d3f06025622f4cdd52aaccf70d101eae0911fb1649125a394f4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022schema-change-quarantine\u0022 repeats the code it sits on: 3 of its 3 words (schema, change, quarantine) are already in \u0060await doStep(scenario, \u0022schema-change-quarantine\u0022, async () =\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":"tests/e2e/smoke-lab-browser-runner.mts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd89c92f6317ab6d565c3ee2fc2fea2c6e97876b865d2d5cb29a5df616e0b093"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The Open/Resolved/Stale/Orphaned filter chips are gone.\u0022 repeats the code it sits on: 6 of its 7 words (open, resolved, stale, orphaned, filter, chips) are already in \u0060const filterChip = Array.from(container.querySelectorAll(\u0022button\u0022)).find((button) =\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":"ui/src/components/IssueDocumentAnnotations.test.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8164680d4edb0870f5346892f5821df1d3f3bc81c751f9b642ef62bf9e85dc95"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022An agent error: subject is the agent.\u0022 repeats the code it sits on: 3 of its 3 words (agent, error, subject) are already in \u0060expect(\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":"ui/src/lib/attention.test.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"14db1bb00f5665e7076ecd3a12564c821d2abb53481f1d13a001a3be6d2b0442"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Skill files live under skills/{key}/...\u0022 repeats the code it sits on: 4 of its 5 words (skill, files, skills, key) are already in \u0060return [...checkedFiles].some((f) =\u003E f.startsWith(\u0060skills/${s.key}/\u0060) || f.startsWith(\u0060skills/\u0060) \u0026\u0026 f.includes(\u0060/${s.slu \u2026\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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd848087927cea32b3e8f3298c0f8552631ce3cb384b4fa187c7808a5c7c2412"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Adapter override state\u0022 repeats the code it sits on: 3 of its 3 words (adapter, override, state) are already in \u0060const [adapterOverrides, setAdapterOverrides] = useState\u003CRecord\u003Cstring, string\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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"884206e738dbb05e7ca15cd15ebb06bf5058df2f0f7cbfdd91c7a2f1f05ccaa8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Composio publishes it as \u0022Circleback MCP\u0022 (slug circleback-mcp).\u0022 repeats the code it sits on: 4 of its 5 words (composio, circleback, mcp, slug) are already in \u0060aggregatorCatalogMock.push({ name: \u0022Circleback\u0022, slug: \u0022circleback-mcp\u0022, aliases: [\u0022circleback_mcp\u0022], routes: [{\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":"ui/src/pages/apps/Browse.test.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f0f7630002c3f5243be56ccbaa6690ff8b62b8de7183899d0efa47baed8e7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 10 of 44 project(s) overshoot their size bounds, lowering Project Cohesion to 5.5/10. The most over is \u0060server\u0060 (684444 LoC, 3442 module-visible types across 93 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":"D27","level":"note","message":{"text":"Pass-through layer: machineSignInApiClient: all 3 public methods forward their arguments unchanged to toolsApi and add no behaviour \u2014 an extra hop (and usually an extra interface) to trace through. Call toolsApi directly, or give the layer a job."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04450c19278f75234c2aabcc496fee602a9b6c2bab17f160d9d2e9354b06533"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b89bfef2084bcef6a9a650a46fcdb81e813de3b7d4492d39e04ea98b4b5eb4db"},"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":"3b2daee6c8e69bd540609d943a20b81da0684c736c0a13f2365e12ab5a86a3ae"},"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":"ac639ce2d978672dfe81cd40b0ecdca9378f6adda8511277115c1f363170d132"},"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":"c9aa3d298106cd6f793bd6825d999a5159f549a36ec410e2120df28683b3bed1"},"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":"dfe50b9db0174a868dc712766cd6d3b2556181dc759c89bd1c684403cdda5cab"},"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":"df9293bd5564e05c3dc914b55187dfab2860b6077bf498bfbc8c1f9c9d96c7b2"},"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":"2fb4b574a18cf8a0fb36dfaafc79e736a8fbc76224e2ea3778be7b05c0c41633"},"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":"930cee468c6eda95aabd3c97283c8e417e3464fc041dfd5dbe743047aa21a337"},"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":"d5d3c3bb8a9b3c8bf314e95e2ab6765d15b8092091ead3661424a8495aca6d75"},"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":"eea9df62e11d524d3bf583ebbdd7f796fee89bc1ef28c4c41371cef96df2dfb2"},"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":"8aaa91502158658431bf2f142bed4005e079413af84bb3cb1d15fc97fc198582"},"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":"cfe38a3474b49e3d45829528134aa4d9eb80518ab43353c386055fb3e630d9e4"},"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":"31b48688d6260cc4366d27d9f11a9255013dcb0e4ceddb212abb6409f3ec444b"},"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":"94447b6ddab46d24f069e513b47a5edfa2c19ab20db11b00e449b2c95d3eae7b"},"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":"3b2062f54336d7bff86f902ef3a5fd963ac7aa182b1b69317ac44d4a0f21be90"},"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":"6e6c8fbbb44ec11a689d806360dd3b54f1b19485e9bcce9f0caa7d0877b94628"},"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":"0fd31a3f105e9aab497e60da0e20c5ce5af2b9cfb732a8d1e870fad2cf7f084a"},"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":"729d87b6aa20c74adfda8797faac17865c91231b9cd5de9bebbadb038d2c0003"},"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":"85659e275ae8b7b57ea8d80f48cf01ba0bd584b4c9898da3f8dca73cfaf018aa"},"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":"0a8692dad6da8ed3b3093e21e4b8f78eb92a829acee5f2e61872c1d994bd832a"},"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":"d027163d00c4b9fadf099c1e2c8f8fdc17d90336f846e517a42b2667b6308987"},"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":"33bc4fd99b1773bdde91eab14f3a6985c5cc5283e1ccabc880e8d287dd90523c"},"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":"410693c835b49c48e731afe0b229c8d3be68c6ea4da6a728c5161e47ffce9f87"},"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":"73c459f72de1ab0996e90e2e374dc5e427864d6a7069afd4bc2d06168f54b9e1"},"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":"98b0e89159fc8c8c29a096e913d605b9af3c1032e454c8fff2358d4f7a35c284"},"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":"a4fe25169b01bedc9b087dd65c3e8a77f101a0155ff37d036faf5ae5a7bea125"},"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":"436702d07b3b664e0593d488678cbf4311d8db8d8f7a10407a831ab146349b72"},"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":"31bdd5ee3589650754e840cfe76a29f9d4c830fd0e6f51f97f51b6d45910a38f"},"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":"59e75e7cda76ad5294b51cdc3fe1aa270bf264aec7bf121db4530dc1348c0cf8"},"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":"a77bd60328ad0dfaf93361c14a57f36ff444b2dc4940419a2bed95c14ff6be56"},"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":"d83973bbd00814e7a551607ef33c0aa071c35e6e783efb4655297baef4bea7e4"},"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":"15bab36f008dd85c55b61ddbd4079538141d312f9b8b96b1ace2b556a4870e26"},"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":"555506ca9d2b3ec8467e6b826bb9661d439b7395c669c836a5a9a305d3a87f2f"},"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":"ef22e98aab61938e3653370db8f524de95081d511ff9061f01fccb89b2f53454"},"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":"7a3fb90e53cc087a83466d9edc49f2cf485ef0e00eddb78ff9cee09891fd30a8"},"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":"28853e6c006a757fbc79f5b28dec4500443a6080e1e4913ccae7fe4858559b16"},"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":"4f898b48ecb42d1d9bc33edb8d759bc047f7904d215c91b6132c08aaa55f3ce4"},"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":"2f3a0f50b5160dd03de88715eb114bb36be80a7ab2354729a41eab5a473c290f"},"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":"562f7b0224420ca582de690be6f89e8f2f750aeb10d009df9b5331c847d4cbe4"},"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":"a316d767cbf64ba83637f522a3f2f811fcffd525a7411f558ce810641fc63215"},"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":"b8beee29fdde5f98a8f91180fafac378c5e182fbea0672a951910ed0cc740cc2"},"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":"dc94b41bd360fb7c4209a755943d6eb3fbf534c0e54c872e740aab60115da124"},"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":"94b4d1d815ada142b9a629e1b487f4f361a80b7ae97893fb36360d7f4fba7f50"},"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":"a75f3aaeb450e94209e039870fe857888505632ab1c69b66677a5bbc8bdb13ee"},"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":"2804266342732873e3441515dab74adddbad4888b3977de4803fdd02bc22ddd0"},"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":"47cf2a176aaec7412249c83753ad250114743f06582e06ecb3315cb239c742e6"},"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":"2506f1e2aa760ea344ea2381b806c25309cef712c0e4f915a2f9205e8730ed36"},"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":"a1d2fa99f55b412130233fbb9497cd002800fd97a1d32715e87086953f763e2e"},"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":"b50945b9afb2984028ca3c1f123e267bc884fa0f646d8c702a3e0d2b4d9d5d7e"},"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":"cc3cf3334cc1400ab095094a2e9d1648c1074a39f8d3071a22efe2eb8902f54f"},"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":"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":"b550cc3f901db00dfd71afbfa894f29955cc122fc44fc1210a6744cd18b2de4a"},"properties":{"dependency":{"package":"shell-quote","version":"1.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53c3d4d7d63f401b6b9ffae3fc9501419bd021acdfb6259e01e8a98944ef33b7"},"properties":{"dependency":{"package":"dompurify","version":"3.4.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"server/src/routes/assets.ts","line":4}}}},{"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":"e5533c2d149eea07ed065c5fde61196816d01a4a3eb50ba7bc43ead963babea5"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d621ef497dac501d1c02fc4cca6c00367cce112bf58998e0823e43bceec51b9d"},"properties":{"dependency":{"package":"storybook","version":"10.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"8dbd40339678f5e2f833515a1aed1c6994d51c3cf5b2c773570bd12499a07430"},"properties":{"dependency":{"package":"undici","version":"8.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"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":"48bcc682d3973238b43c8911eb656a5c98650ca259cec746720ee79d2bec0ec1"},"properties":{"dependency":{"package":"zod","version":"3.25.76","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":"13cb9f29bcaef6fac537f21494fab88ec3bff6b1365b91623ebee69ba938f2c7"},"properties":{"dependency":{"package":"@grpc/grpc-js","version":"1.14.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"94c51d12d012f6dd0e25d21b6948853491d3d3654298c9e83ebf27b5b90b7a63"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a2e6c1dafd1b77ac4c651064c9c9f56a212a5847efca6ea49729464317e410e"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1871a74a8ea8fbadb4eff6ffac30f8edf8103d91c381bad101b62259b1b17f58"},"properties":{"dependency":{"package":"vite","version":"8.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"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":"7d98ac6499439796857edb1043d3528a1ff4ceec50555dd5df14cd5275ee573c"},"properties":{"dependency":{"package":"@azure/msal-node","version":"5.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0750c389d9c152bf1d4e31dfc91f23aff8c134e832845da27b3738c33162b18"},"properties":{"dependency":{"package":"@fastify/busboy","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6369c49294a116dc3113d4593de258dc05875a69494f5f0cd0ad6c370479c0a"},"properties":{"dependency":{"package":"@modelcontextprotocol/sdk","version":"1.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/google-sheets-mcp-server/src/http.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"523ba84dc3249fe07f4fe67869df9a5033d9faea9f74a6a5ce818cbb8c8aa502"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06593c39ce911a216ed914a471d9cdd931bac450d9675076e44dd756bcb35a60"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a0c650d6de0f98a1406fe5e38b03340f31c240361b33d484921a60f320d852c"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01fc85053279d115ea033564d5712283763a31a120ba4ad4775e78b10049b1a1"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc90052b41a832cf1257b19b82bf1476210b51a4fcf80c03515a56f704e6e62d"},"properties":{"dependency":{"package":"multer","version":"2.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"server/src/routes/assets.ts","line":3}}}},{"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":"3bac668e18f3c5d2f8513c749add59e46084dfacf0fe936f8986eaab1438c1db"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34357f5c904b28bfee46660f4a5d254aaccb733826212bdcb3fafc482ee43a99"},"properties":{"dependency":{"package":"sharp","version":"0.35.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"server/src/__tests__/chat-channels.integration.test.ts","line":121}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d180687a29c397f41424bf4742554eea5a56f2816ab901dd0ce0a2f4eb498614"},"properties":{"dependency":{"package":"undici","version":"5.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2002a78df50ab868238903d2df9eb7bb0e072b2c25f3986249078ff55895bfdb"},"properties":{"dependency":{"package":"undici","version":"6.28.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":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41ce8d895ae4d26ebce7b3a847145abfabb4249fc3026354b7e04d22d3189e94"},"properties":{"dependency":{"package":"undici","version":"7.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f973de83241323d985cb7c3b5490f6994b7e94175b562267631df66c947fa0c5"},"properties":{"dependency":{"package":"undici","version":"8.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e4cac9aea17577e869b3b65ad686ccb976382a350eb697511c3019470984c58"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/paperclip-runner/vite.config.ts","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":"93784ec290c858ca34c99bf504f251b9545f91f10e96fb1816fc3b0d12ba2daa"},"properties":{"dependency":{"package":"vite","version":"8.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/paperclip-runner/vite.config.ts","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":"45e7f9a2aa9b297b7a12e34b3893d3160715e73b2a28225cd95f4406becb0275"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/google-sheets-mcp-server/src/config.ts","line":3}}}},{"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":"c9d514ee18cdef6fe7479e7407f0bf7b5cded53ecf269d8e08b6e29cc5675630"},"properties":{"dependency":{"package":"zod","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/google-sheets-mcp-server/src/config.ts","line":3}}}},{"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":"7c29d0c1fc1ee6344d54558b98d25c5256f2c7a08365b2d605170e2b1b35dc30"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/google-sheets-mcp-server/src/config.ts","line":3}}}},{"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":"42239408a8cb1e0e32da9d90a069bb696a0a0ac22cfbc824dba8733744abf295"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","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":"0d2c6a113a85e567a56c1cba6703565fd453babd3aa0cf058359c9cd0e165097"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","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":"a2db61663b78d0a9526b2d67b71dca1715c7bed5a6d4a3e1ced272ba81fb4d05"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","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":"ce331a2c7148d2530c8e33299612463bcff283c6251b586c92d32dcb3e762ae4"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.17","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0340","RUSTSEC-2026-0343","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"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":"fffd5cad5cfe91eaadf3516962d50f097c9fb29823906e732213acbd5086c92f"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.15","advisory":"RUSTSEC-2026-0538","aliases":["[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":"684042c0ba317f8dc379dc423d42a42215b395ed6dfadc188a1e5d68f45e8c19"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[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":"f01fb41e01fc3c970d30c68845b4bd1139ee5f32ff02a2b5fc2db94da8093cb8"},"properties":{"dependency":{"package":"rustls","version":"0.23.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0346","RUSTSEC-2026-0347","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"e7411dd16beb888eab9baa2f3a41e6d2b4987b7437b269545c6e87884cef9674"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","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":"cd49cab0c8dabaed1799a1a770f1277078ae8a6aacd3bc1bf733272df517535b"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"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":"b5834a0325a64b2913c2544c5d31a143293ce325926a3ccd40a77eec516d4631"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","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":"0bf6a8a39ddb0a1a256ca31c31442a86a6f609527bb81f67d12bbbea5fa9557d"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.9","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"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":"6275086d15186adecbdb6a4667ec970b63c633b6fa42e9de3268374fc4a821dc"},"properties":{"dependency":{"package":"stdlib","version":"1.22.99","advisory":"GO-2025-3503","aliases":["BIT-golang-2025-0913","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3563","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"tools/agent-shim/main.go","line":26,"symbol":"exec.LookPath"}}}},{"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":"340fa7abe16ea80ffe4a62370fdfd3be0c7e88093de5106bcbaafd2285ebf441"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE 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":"2a778003df269ee84363f161eae51e61a475b3ee81ea41d20be48cc504930271"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-http","version":"0.220.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":"56c51030728d97300b5cf6d87029a661b8f028fd6298cff282bd63239cf621d9"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c98218c53b66c56892158d62ebcae19aa07e801c5aaf0163dc1041e87914931"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ff4501a0b6eb84bb92385b6433ad1c9d658a3cd9dbc3a993388fb9e366aa074"},"properties":{"dependency":{"package":"esbuild","version":"0.18.20","advisory":"[GHSA redacted]","reachability":{"kind":"production","file":"cli/esbuild.config.mjs","line":68}}}},{"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":"03fbcdf09a22d34ca5c914ad9fad017791b0721825e41366b71be3ace7a4642b"},"properties":{"dependency":{"package":"fast-copy","version":"4.0.2","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"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":"fba88c88c0f4da8eaa88b0cae886b4acc3bb4f750dd875a1809e63c9a06776ad"},"properties":{"dependency":{"package":"hono","version":"4.13.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"0c7a6bd44489f1bcf15e90403b12d03f8a00b3a496c08a2d6c56b76285343515"},"properties":{"dependency":{"package":"ip-address","version":"10.7.3","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":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"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":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","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":"421afe562e4cc3709f88108875e6e0aeeed60dd629e2609e8d8356071351acf5"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ff7428239f9d1fe6e87c1289a49ab8a10a1f3f081e35b09c7e6515790fa2248"},"properties":{"dependency":{"package":"qs","version":"6.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a970022a0073aee21900d27ed02c4db65e8abe6db3b16f9233210b459bc5aecd"},"properties":{"dependency":{"package":"qs","version":"6.16.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":"bcaff5d1e287866fb15ab08f33c0744f85cfc07f596d7af736c916f57cc95099"},"properties":{"dependency":{"package":"uuid","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"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":"b7198a068b97a1af1f65e3196cdf11565ec276006632a836614e182488e4d847"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ce3e6ee1da41cb4bef929ba81a5ee3bc18ba568023bd56ebacc58b77eaa1d81"}},{"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":"7bbd237f150b0ab07c6b5c5523dbde5718dc1fe4f44e1170004e293058a392e1"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"dfdbad9060968b16ef82f85fc1d848c3826e594974a5696cedcf1cbdb07377d2"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c082822226bcf028c060657edf66df109a8a1faf4bf7d70bfcabf6c1e2769faa"}},{"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":"b537081af084348dc6a89e2a2908ce8d7e51959f728f1028ef91ba6f304f6801"}},{"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":"72cb85541445addd4041bb65a8113440be923782d23c3d5a7185a1dea92f1401"}},{"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":"e4f8f2a9b851fbddee14613bfad09af76ba05fe0474c4158708c98242048cb43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bee5d71a4dacd1a8182802d63c2562ff736695a4caf6dbf6b528be3c49e33055"}},{"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":"8248b62628af63089d3fb30aeac9a545185bbe07d40e83304f25eaf2dabf7a9f"}},{"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":"303105ce4a1be06c4aa16fcc46ae817ad9d4c15ef02e1f6ce11c63102c9d70fd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdcd341b381a993789ca5a6b719818d8462d525acb9fddfd6dddb165f116b41f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"a3bf618cbf32b9d3a802aa106100f156f50b3578746e550517a8c73140def1d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"53205c07dbda09a2aa5d2caf5ddc415d551798ab3cb27b546433c9c306277881"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"1901e209ac8e607634dc20d39add45595580ff4d2cf7ba659bdf57477b232dd8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"01b60e7955320cfc620ce24204164e40af4ce630a59c2fd526ebafd5324973de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"894638a490611cc58f1348185538bb992ed61b28057d1a045fefde12332d5f39"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"937d95f54060d32aa1cfa73d3eef9d5d5ff86d377ec4073f00b947d4964707a1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0952c47ac0805bad1e1f57b6a72dcb8ef27fd15a435859aab0f16b2900653b8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"1efae312e66b11f3eee1854f8457dfcb9ca24ed0c9d4bfafb694e2274d4593a7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f40e0613cf5f9df5dec4242f02910761750214f7ae8ff8fe94e85f99d10d8719"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"c790eb35ab78b58f306f6c122ac7a9dd9e59ff3323733552b4b4ca63a05326bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"6b90e5ebf468ec6fc073b31b68d332515b4ae8a3f50ac830b4c7ef57658bd78d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a23e4c073cb0733bff3a44c4a29072ed6bf05bfce347bb9b7556524053321c31"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"b5bf4c344b930c4d0ea1987ec952bb591313485b3dad292c179439bcac5b2a7c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b759d90477959862829697ffdc99b3a901bcf57e7b2246565912bd6bddc818d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"cb3377e96ee0d66fb581cddcb3f82466494e8a6e5d95b238c5d5279ec0fc85d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"02642b590cea1f74135dd6bace2ce9bf3480fc129bdd517ca9de93746187cfac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"a222a7f4931a6cf463fdedc358aac5fa99c0e09f3b82bf787f4c28a8e74a84aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"ff304ce6e631c281ddba64e570f00103f2074f469908524163179438524f8b0e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a91ec54e9014d3ed40df274d8ceb470160b9598aea89c2afe80f0dbdad02cb1"}},{"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":"0bb028de868bb8c7bb69d44d8c0e7709afe8c39decd7ca8f9dd739e065082b6e"}},{"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":"c7601385e370b68809d71f6934d528d52c3d8d0a5f6094f8b460ba2eb5179e67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"1fca73365ec5b72227dd140414b98127fb9a8d73455c40566cfc20466323c972"}},{"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":"bdb3d97b7b9eaa1c72ae821323b11b97f628e62333d4809bfbab036394522f50"}},{"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":"32a5ccc5ff91c9b88d72814e208153e5ab33cfb089186258601407aa21e9904a"}},{"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":"dfffaecebbfaec3414a3ef7c2663f3f0effd12551cef2d4a976920b9f01cab31"}},{"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":"8217dad9072c098304608901d6f80d49a560d3744787ec8fdaa716d403e0db91"}},{"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":"e813663eebc1f53d68ee396c10ebe569875759154a40cba389cc6712d0fa2dfa"}},{"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":"3265d94e9f1961443f15ad93359f1e188ad97e62bafd68b44c7b81d442b42379"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0af3901d42f4057a146ffb0b4a883031082adfb3a2116247a5c052f5d52e775"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 5 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: packages/db/scripts/clean-poisoned-claude-sessions.ts, packages/plugins/sandbox-providers/novita/src/plugin.ts, server/src/services/adapter-plugin-store.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts, packages/adapters/gemini-local/src/cli/format-event.ts (6 orphaned of 3000 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; 3000 of the 5758 production source files in this repository met that bar). 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":"packages/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1e6909e30de5272b9a1bb0dd30e578afbfb41017440279ea9458fa1210e7a"}},{"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/plugins/sandbox-providers/novita/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeeda08d5b5d2579962780d3885c47c28cee85449b956ac033a5076802e7116"}},{"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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5346d3d5ab3616c3e5a1d709b10cc31218fab08815af69b7602647c57dc93392"}},{"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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbfd73dce8c017115b596864bf3a54bc2b65541c753cb64349a8334b4bdf6cb"}},{"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":"server/src/services/adapter-plugin-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fafded49dc48b9d265e4fef1f9826dc1113b31f664937257653a899e59812c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: routines.ts \u2194 routines.ts: \u0060server/src/routes/routines.ts\u0060 (context routes) and \u0060server/src/services/routines.ts\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 88% of the time (15 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00608a90aa47\u0060 fix(chat): name document revisions and link runs in replies, and reco\u2026; \u006021d2a577\u0060 feat: show and change routine responsible users (#19128); \u006047027e7b\u0060 fix(routines): retain authenticated agent responsibility on creation \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6f33ceb5a76b2ca5fbb60bb0b255eb86f0676dc13aa15f04e82f565ad1a7da"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: access.ts \u2194 access.ts: \u0060server/src/routes/access.ts\u0060 (context routes) and \u0060ui/src/api/access.ts\u0060 (context ui) 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 \u00601b0f7810\u0060 fix(access): return membershipRole in the company user directory (#15\u2026; \u00608da50dbc\u0060 [codex] Add private browser first-admin claim flow (#6755); \u006073fbdf36\u0060 Gate stale-run watchdog decisions by board access (#4446) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52565d0dedaddcdf051501d7a9b5fd793d095cbbe3c13344d1e51bb72622653"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: policy.ts \u2194 heartbeat.ts: \u0060server/src/modules/run-dispatch/domain/policy.ts\u0060 (context run-dispatch) and \u0060server/src/services/heartbeat.ts\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060228b0169\u0060 fix(dispatch): let the answer to the agent\u0027s own question continue th\u2026; \u00603cc1032f\u0060 fix: deliver saved answers to dependency-blocked tasks (#20363); \u006025273aa6\u0060 fix(onboarding): start the agent when the opening question is answere\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b534bd4664fc20df225a7906168fd4768367c208da7cc55a1e086557a5767390"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: health.ts \u2194 health.ts: \u0060server/src/routes/health.ts\u0060 (context routes) and \u0060ui/src/api/health.ts\u0060 (context ui) sit in DIFFERENT parts of the tree yet 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) \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 \u0060202c2d30\u0060 fix(server): leave unclaimed warm Cloud databases idle (#15314); \u0060b2acc674\u0060 fix: enable isolated subscription login on authenticated self-hosted \u2026; \u0060765a7520\u0060 Add experimental server info debug view (#8676) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2dd3436fb7138b7cb33e389680fd8156c992a15a9bb51cf6de0c613840e9ec"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: companies.ts \u2194 companies.ts: \u0060server/src/routes/companies.ts\u0060 (context routes) and \u0060ui/src/api/companies.ts\u0060 (context ui) sit in DIFFERENT parts of the tree yet change together 56% of the time (9 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 9 shared commits counted here, the most recent 3 are \u0060be6bb768\u0060 fix(ui): restrict company navigation to accessible memberships (#13039); \u00600a95ada1\u0060 feat(server): chunked import preview endpoint and resumable upload in\u2026; \u0060075951f6\u0060 Fix import completion UX: inbox flood, false-failure message, stale c\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b758a5f5fa22b8d1eb34a18f1e013822dc531a4523dfa5449fb6382de69d672b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: adapters.ts \u2194 AdapterManager.tsx: \u0060server/src/routes/adapters.ts\u0060 (context routes) and \u0060ui/src/pages/AdapterManager.tsx\u0060 (context ui) sit in DIFFERENT parts of the tree yet 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) \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 \u006050cd76d8\u0060 feat(adapters): add capability flags to ServerAdapterModule (#3540); \u0060b81d765d\u0060 feat: server-side override pause/resume for builtin adapter types; \u00604efe018a\u0060 fix(ui): external adapter UI parser can now override builtin parsers \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1d0d15b5a837aadebe08c21322ca9a6f38d333ba61282077fc83c8026b06b7"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: postgres.ts \u2194 heartbeat.ts: \u0060server/src/modules/run-dispatch/adapters/postgres.ts\u0060 (context run-dispatch) and \u0060server/src/services/heartbeat.ts\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 50% of the time (15 of the 30 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00601c33275a\u0060 fix(heartbeat): start the new owner after reassignment away from a qu\u2026; \u0060228b0169\u0060 fix(dispatch): let the answer to the agent\u0027s own question continue th\u2026; \u006034f71f7d\u0060 fix(server): defer a run that meets a busy agent directory instead of\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"520f22afd725be3765a1d72c9991d270fa025e2e581b24c3577f5b898f6e46dc"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agents.ts \u2194 NewAgent.tsx: \u0060server/src/routes/agents.ts\u0060 (context routes) and \u0060ui/src/pages/NewAgent.tsx\u0060 (context ui) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060c139d6c0\u0060 fix(codex-local): omit default model so codex CLI picks per auth mode\u2026; \u0060bb7d0408\u0060 Switch OpenCode to explicit static/local-aware model selection (#5117); \u00609b99d303\u0060 Add dedicated environment settings page and test-in-environment (#4798) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53da1dda6d967b01c2f8c16c5e71e9e0b9637a1e6e292c286ca0b5d55b882af4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: provider-events.ts \u2194 transcript-adapter.ts: \u0060packages/paperclip-runner/src/provider-events.ts\u0060 (context paperclip-runner) and \u0060ui/src/components/task-chat/transcript-adapter.ts\u0060 (context ui) 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 \u006086a9d3ec\u0060 feat(task-chat): tool rows that say what ran and how it went (#19265); \u00601eff07f2\u0060 feat(task-chat): show Claude subagents as a collapsible tree in the r\u2026; \u0060d361f920\u0060 feat(task-chat): show harness status notices as chips, out of the ans\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fccf17dd53743483fd49fce385e4cef666f938b061bed98ffa0006fc23dc99"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tool-access.ts \u2194 AppDetail.tsx: \u0060server/src/services/tool-access.ts\u0060 (context services) and \u0060ui/src/pages/apps/AppDetail.tsx\u0060 (context ui) 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 \u00608f79a328\u0060 fix(connections): keep agent access consistent through setup and perm\u2026; \u006082f66265\u0060 fix(runner): restore legacy Git access and independent networking (#1\u2026; \u00605f870908\u0060 Make managed Cloud OAuth handoffs invisible (#12790) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"707eea0bbea13c6afd187e80e944afec393bf1514d21655d8ff5b32f427d2325"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: remote-workspace-snapshot-storage.ts \u2194 s3-multipart.ts: \u0060server/src/services/remote-workspace-snapshot-storage.ts\u0060 (context services) and \u0060server/src/storage/s3-multipart.ts\u0060 (context storage) 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 \u00601af98769\u0060 perf(storage): hash and encrypt workspace snapshots off the server th\u2026; \u0060d0c30e69\u0060 fix(storage): abort a snapshot upload a restart cut off once its save\u2026; \u00604a2eb920\u0060 fix(storage): wait out a store outage on a run\u0027s critical path instea\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0204f00921d802f7a37c448acdc3872705b2c49f29d9971f6ef113a76d63d5e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: plugin.ts \u2194 plugin.ts: \u0060packages/shared/src/types/plugin.ts\u0060 and \u0060packages/shared/src/validators/plugin.ts\u0060 change together 100% of the time (27 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 27 shared commits counted here, the most recent 3 are \u00601140984b\u0060 feat(plugins): tell an opted-in workspace provider the run\u0027s environm\u2026; \u0060b2edea57\u0060 fix(workspaces): verify existing worktrees before fresh retries (#20876); \u00600d4b1d8c\u0060 Gate agent plugin tabs by execution environment (#20657) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d738ae38464c7245eaa1a70fd30f95d8d2104dcdf2a92e29aef00eff37b22d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: company-portability.ts \u2194 company-portability.ts: \u0060packages/shared/src/types/company-portability.ts\u0060 and \u0060packages/shared/src/validators/company-portability.ts\u0060 change together 94% of the time (15 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 15 shared commits counted here, the most recent 3 are \u006035aaaa0b\u0060 feat(server): preserve task timestamps and hierarchy through company \u2026; \u0060276ae3a7\u0060 Harden company import: durable UI, async jobs, integrity guard, batch\u2026; \u006048704c65\u0060 fix(export): strip project env values from company packages \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/company-portability.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"752c894615a094650851e37eae9379c115167f4633f4c581d06ea6868d72a136"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: postgres.ts \u2194 use-cases.ts: \u0060server/src/modules/wake-queue/adapters/postgres.ts\u0060 and \u0060server/src/modules/wake-queue/application/use-cases.ts\u0060 change together 90% of the time (18 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 18 shared commits counted here, the most recent 3 are \u0060d018a9d1\u0060 fix(queue): retain chat bindings on resolved card continuations (#20825); \u0060a372271a\u0060 fix(wake-queue): keep a task done for its delegator\u0027s comment posted \u2026; \u00602a1620f1\u0060 fix(heartbeat): deliver a person\u0027s answer that waited behind a turn t\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c21504414ba0d400a37fc43b76a013d15b51cdf108474e702dc8393a14f097"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.ts \u2194 company-deletion.ts: \u0060server/src/index.ts\u0060 and \u0060server/src/services/company-deletion.ts\u0060 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) 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 12 shared commits counted here, the most recent 3 are \u0060453f5fbb\u0060 perf(external-objects): schedule scoped refresh obligations (#18384); \u0060929e8405\u0060 fix(server): schedule routines without heartbeat polling (#17840); \u0060267842fc\u0060 fix(server): schedule owed agent directory cleanup (#17671) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb553f9478533a821b1983b68399e2316f116797534f583075bf9d1a0e60fc4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: acpx_provider_session.rs \u2194 fake-acpx-sidecar.rs: \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs\u0060 change together 79% of the time (15 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00604a78124a\u0060 feat(runner): wait for a provider-started Claude turn when the contro\u2026; \u00600ebe6d84\u0060 perf(runner): keep a quiet Claude provider between turns of a run (#2\u2026; \u0060914e3ae1\u0060 fix(runner): settle ACPX turns when the cancel reply is lost (#20498) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ba9862f42206e19f4e5b3e438b6021fb319489361755cb5166c0388d3e4b38"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: App.tsx \u2194 company-routes.ts: \u0060ui/src/App.tsx\u0060 and \u0060ui/src/lib/company-routes.ts\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060f0ed524f\u0060 fix(ui): prefix audit board route (#10830); \u0060518fc71c\u0060 [codex] Add work timeline page (#8938); \u0060fee514ef\u0060 [codex] Improve workspace navigation and runtime UI (#4089) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60747ee5703fb839f051ef6be63f52b47e67416cdf58d7bde84f28436b46cec"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: heartbeat.ts \u2194 successful-run-handoff.ts: \u0060server/src/services/heartbeat.ts\u0060 and \u0060server/src/services/recovery/successful-run-handoff.ts\u0060 change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060f572e086\u0060 fix(recovery): stop automatic stranded-task takeovers (#11961); \u006043ab441f\u0060 Exempt plugin-managed issues from successful-run-handoff recovery (#9\u2026; \u0060cc35c3c3\u0060 feat: structure and humanize recovery notices (#11075) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2937760d002b906ca9f1fda6cbd91221c4b2f4ca813fd9d32d0ec381a79197bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: acpx-runtime-sidecar.ts \u2194 codex-acpx-driver.ts: \u0060packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts\u0060 and \u0060packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 \u00602a8b4851\u0060 fix(runner): accept object fields sent as JSON text and name wrong-ty\u2026; \u0060d7b04a8b\u0060 refactor(runner): rename codex-runtime-adapter to acpx-runtime-adapte\u2026; \u0060dd889e6a\u0060 feat: show the assignee\u0027s provider usage limit in task properties (#1\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"736d548474103b9e21cea3cd705a05ad84abc9180628b05bce50b7e1a8a3d55c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NewAgentDialog.tsx \u2194 OnboardingWizard.tsx: \u0060ui/src/components/NewAgentDialog.tsx\u0060 and \u0060ui/src/components/OnboardingWizard.tsx\u0060 change together 69% of the time (9 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 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 \u00601955b0e2\u0060 Gate Paperclip Runner setup behind an experimental flag (#12656); \u00601583a2d6\u0060 feat(hermes): upgrade hermes-paperclip-adapter \u002B UI adapter \u002B skills \u2026; \u00600233525e\u0060 Add CEO OpenClaw invite endpoint and update onboarding UX \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewAgentDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"570e68d4bb147746156c3e1adf74c0a3d8f4e89d8944cf9be9572020f9e1293a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AgentConfigForm.tsx \u2194 NewAgent.tsx: \u0060ui/src/components/AgentConfigForm.tsx\u0060 and \u0060ui/src/pages/NewAgent.tsx\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00601955b0e2\u0060 Gate Paperclip Runner setup behind an experimental flag (#12656); \u0060c139d6c0\u0060 fix(codex-local): omit default model so codex CLI picks per auth mode\u2026; \u0060bb7d0408\u0060 Switch OpenCode to explicit static/local-aware model selection (#5117) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edfd5bc1abb74a636f46010022f72af9a221f7d12bd1ef1cb2fe468aadc4f99"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: paperclip-runnerd.rs \u2194 transport.rs: \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/durable/transport.rs\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 \u006097188f27\u0060 perf(runner): skip the turn-end provider restart in a per-turn Runner\u2026; \u00605ab7b78f\u0060 Runner: retain the provider across hosted park and reclaim (#19140); \u00600fe47882\u0060 Allow configurable Runner listening ports (#15353) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fba0e884a6eab80306fa4a8d8de576593841a1025b1a1b3b18d4a3e7f0ef33f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: harness-driver-backend.ts \u2194 native-session-runtime.ts: \u0060packages/paperclip-runner/src/backends/harness-driver-backend.ts\u0060 and \u0060packages/paperclip-runner/src/native-session-runtime.ts\u0060 change together 61% of the time (11 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 11 shared commits counted here, the most recent 3 are \u006051d77648\u0060 fix(native): keep a remote Runner alive when a failed turn start or e\u2026; \u006038501b11\u0060 Add turn-scoped attachment downloads to native Runner (#20956); \u0060884a9e19\u0060 fix(native): launch a warm follow-up from its predecessor\u0027s saved jou\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afeea9d74f7f1850444676d67a0f12d4033791fef8034efc1aee8ac281b5d8d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: provider_events.rs \u2194 provider-events.ts: \u0060packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs\u0060 and \u0060packages/paperclip-runner/src/provider-events.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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006086a9d3ec\u0060 feat(task-chat): tool rows that say what ran and how it went (#19265); \u00601eff07f2\u0060 feat(task-chat): show Claude subagents as a collapsible tree in the r\u2026; \u0060d361f920\u0060 feat(task-chat): show harness status notices as chips, out of the ans\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953cbcf6881037b70a3bc63a2e063ca53da534e98634608e32b95145801088bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: command-managed-runtime.ts \u2194 remote-managed-runtime.ts: \u0060packages/adapter-utils/src/command-managed-runtime.ts\u0060 and \u0060packages/adapter-utils/src/remote-managed-runtime.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 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 6 shared commits counted here, the most recent 3 are \u0060d1721971\u0060 feat(storage): add plain directory sync with conflict preflight (#14416); \u00606a267e03\u0060 feat(sandbox): stage referenced projects into the run sandbox (#10469); \u00604e008185\u0060 fix(runtime): support in-place workspace realization (#10230) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe527bfb2ff7e19fa2fc10d6fc9fdfe48105387bde85a3e5ff02a92d43f826b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: runnerd-codex-transport.ts \u2192 harness-driver-backend.ts, profile-compatibility.ts, codex-harness-session.ts: \u0060packages/paperclip-runner/src/live/runnerd-codex-transport.ts\u0060 changes together with 3 other files \u2014 \u0060packages/paperclip-runner/src/backends/harness-driver-backend.ts\u0060, \u0060packages/paperclip-runner/src/drivers/acpx/profile-compatibility.ts\u0060, \u0060packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed374793d3589669b8347b70f4024bf993161ef6ebfd64f0aa7c788280bdb09"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: acpx_sidecar_transport.rs \u2194 fake-acpx-sidecar.rs: \u0060packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/fake-acpx-sidecar.rs\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00604a78124a\u0060 feat(runner): wait for a provider-started Claude turn when the contro\u2026; \u0060254744f7\u0060 fix(runner): bound the ACPX receive buffer by bytes, not 512 events (\u2026; \u0060914e3ae1\u0060 fix(runner): settle ACPX turns when the cancel reply is lost (#20498) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_sidecar_transport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4a92c75ceaa222235f05f72a1db95250dfb732582fa63d8a940e002bc11cfe"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: client.ts \u2194 heartbeat_runs.ts: \u0060packages/db/src/client.ts\u0060 and \u0060packages/db/src/schema/heartbeat_runs.ts\u0060 change together 57% of the time (13 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060f452b449\u0060 fix(recovery): stop re-checking settled native runs that cannot be re\u2026; \u0060689f3b19\u0060 fix(recovery): pause automatic recovery runs while a company\u0027s runs f\u2026; \u00605a7378af\u0060 fix(heartbeat): re-drive a queued run whose dispatch signal was lost \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e255b33da1a53bb6eed71da02461dae369e8aae0cdce6c4fc3d531259a4f0b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BreadcrumbBar.tsx \u2194 IssueDetail.tsx: \u0060ui/src/components/BreadcrumbBar.tsx\u0060 and \u0060ui/src/pages/IssueDetail.tsx\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 \u0060cac82ed4\u0060 fix(ui): show parent tasks in responsive breadcrumbs (#20366); \u0060f5fb8ada\u0060 Restore chat contacts, agent pins, and scrollable recent navigation (\u2026; \u006044a9a043\u0060 fix(ui): make the full chat agent selector clickable (#18708) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f0b382dd05ba29795f0c8e1893cc69b9da34f38b2bc465fff71692fdd29fa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: native-completion-feedback.ts \u2194 native-run-finalizer.ts: \u0060server/src/services/native-runtime/native-completion-feedback.ts\u0060 and \u0060server/src/services/native-runtime/native-run-finalizer.ts\u0060 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) 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 \u0060aaf76a3c\u0060 fix(native): start the configured review stage when a native worker r\u2026; \u006009241442\u0060 fix(server): let a native reviewer approve its review stage (#20373); \u0060d40f9ac3\u0060 fix: enforce first-task completion decisions and retain E2E evidence \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce9d708bb13b5011362cceebb37cadedb427f3ea5baa95e24bc35301b7ee6f1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OnboardingWizard.tsx \u2194 NewAgent.tsx: \u0060ui/src/components/OnboardingWizard.tsx\u0060 and \u0060ui/src/pages/NewAgent.tsx\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00601955b0e2\u0060 Gate Paperclip Runner setup behind an experimental flag (#12656); \u0060c139d6c0\u0060 fix(codex-local): omit default model so codex CLI picks per auth mode\u2026; \u0060bb7d0408\u0060 Switch OpenCode to explicit static/local-aware model selection (#5117) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca50c35d24bdde4fd303c227ed5402a2c97aefc5a486f5edef036f6c5ea4e244"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: paperclip-runnerd.rs \u2194 process_supervisor.rs: \u0060packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs\u0060 and \u0060packages/paperclip-runner/runner/crates/runner-core/src/process_supervisor.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ff4ba7d3\u0060 perf(runner): run launch artifacts in place from a trusted read-only \u2026; \u0060fd2e7482\u0060 fix(runner): stop a lost runnerd\u0027s provider and tools from a durable \u2026; \u006032f93cf9\u0060 fix(runner): set Runner OOM protection at launch (#18730) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/bin/paperclip-runnerd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa48f3eb68cb51c66a064343fb1bf3cffbf51923beee3b77981e80e28f894316"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dashboard.ts \u2194 issues.ts: \u0060server/src/services/dashboard.ts\u0060 and \u0060server/src/services/issues.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 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 \u006017fa7186\u0060 Retry transient disconnects in scoped read queries (#15248); \u00605f457128\u0060 Sync/master post pap1497 followups 2026 04 15 (#3779); \u006021d2b075\u0060 Fix inbox badge logic and landing view \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dashboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977aa820f3504a5c26b60dd2e260014412cad557fae85f4acd45e245280262c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SwipeToArchive.tsx \u2194 inbox.ts: \u0060ui/src/components/SwipeToArchive.tsx\u0060 and \u0060ui/src/lib/inbox.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 \u0060fe401b7f\u0060 [codex] Polish inbox nested issue UI (#4959); \u0060403aeff7\u0060 Refine mine inbox shortcut behavior; \u00607d81e4cb\u0060 Fix mine inbox keyboard selection \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SwipeToArchive.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d1be264fe18116128c766710c5cc28e7d42f406b443a4e9b5c49bb75b5dee6"}},{"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":"65d87ec21c1ecf43a0424ab644272e64330044f506a9f75bd32965b5f8696841"},"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":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/PanelLead.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f656da848e1e6f8b5950ec99c715ea941661ceb019b174a37f41032f6c78b6"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/PanelLead.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a2f4ddaa837f2fcf9bac3ed06095684b94ac1e0444b5c319fcec3473918582"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d3-tactile/objects/Print.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"53299d71ca91b43eeca316d8b9388bc52afd306e7ae4c443848b798a7479883e"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d4-hybrid/PanelLead.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08ea19b86ce444f918d20d3c6d4d12f1da99e96d6cb06ef3f189261a9f203e7"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bd450bc20c0e2c340cfdffedb276bb54d7fed3261f41ae0825d9b521079c81"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ImageGalleryModal.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0202ecd2305575adb27d59643c54e3bcbbfa5f8076b0bf067583dd3bbd5629"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/RichArtifactCards.tsx"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"281e80282fc458aa63d5c4ab6ee303edc273c88728818e98e17bb43e26d805a2"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-output/OutputVideoPlayer.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11edc2aaeda3da04771607c1a2d0520c40662a5cf32ae7fcdfa589179dd7b25"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4602c9f205d459c9e211bb6f00cfdc5e05b33e578bdfad5424411f040ed9cf3a"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a3c4f0d365335b3af0a8d09468b788d0d81027ef99fcd6345e1c242ab66f9d"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4111}}}],"partialFingerprints":{"codehealthFindingId/v1":"24db6702fb581f9667bdcd53c94cc6e5a4147b5b41a103f647b9fd72c1a43f74"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee1cc4ae778dd660512e33ed9c08609c5bc28b155b0001a95de5ece60f254a"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c369a02c2a7f13b355c0c52681b4954e88a6e3ef455cea56b631bb328a4596"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd37fb9d33f269ba73607e8d9f9b36f03d9300679b154a3aab29b0463f49091"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4119}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc0ce13eae32c51c21ca476878c89d21ae0e26c234fb3fd89c726771bdf21c"}},{"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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afed3fb42fd8acdaca1e8e07c5b41e7b8af5471db22ab949fbfea8a6bb37e84"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8121c1328a9accbe0f7032ebc450ac9c1cbf0eff44d9008a5109e7797924f552"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b0611d3659c538d4fc71f2d5d7a32afd10fd1bb08c6f2c945f2fdf202f68f3"}},{"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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4519}}}],"partialFingerprints":{"codehealthFindingId/v1":"076a5553bd29db6f5927166bfabb9c364e6cb05c151252688f61e593cafbb427"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5a15d038e364514d183d8b4e2635720665374cfc594f0df0e751072ece1ac1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5772}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27e76ed4c5fed64dd8a3da5046b2a6c6cd085de1d0ac865ac7ac45a5ab16d4f"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6273}}}],"partialFingerprints":{"codehealthFindingId/v1":"49be5b4d673b7094b8a27e6d382a242fa1d066fec44d24aa3f7816712faf4375"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6274}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f0bccd3ed53dd07d40ffd155536265c93f2e05806bcc8a5dca55569be59a0f"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5797f117194872e5548573cb5560ec08727338cbc9cdfe4956bea73866f37080"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6382}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa267d0ebf203bd4b5844dd0d343be6adfddf57b5e839108ef490235d548c102"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55c10570053bb3bbdc075766ea64b76800013609bd53e275f098a938a3abfe"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6565}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3cd40ef9e85e97a39e8440a61aa9e99a5953e57bdb46b5169561130c95a6ba"}},{"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":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbe3736490d53496b301b1b5eb6eabaeec79da1f2f84858243741beb20255c0"}},{"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":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"af20baf1a855e76299aeceaae01967cd5fd7211e9cfda14d1d2076bc33d50fe3"}},{"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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18f98cbe239a5421767fb225bd0926e26b4a479c1a342dbbe4f0798c07573c1"}},{"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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd288dc6004eac7b6eb1a1a9512a99802b4e8bf58fd853184359b20ac995d45e"}},{"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":"ui/src/adapters/gemini-local/config-fields.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49c9db7afa6e1d0661169ec89ee93fd000e287f009deb232e1fb42ce214f742"}},{"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":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"106f6d0d0e496c711a543470647e195e4f8574cac3376a8c4a9ed5d7c38a4266"}},{"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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7310eac232f0709d6bef389e96f238f0df55e3b05af83a6aea2a26e724642c5f"}},{"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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb00681085f20c1641440fd88eb6e7027ba346f43b8a60c23043a4a0e11929b"}},{"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":"ui/src/components/AgentBubbleActionRow.tsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcfdf95f2143acf883a9c2b64dea452414134bf890d8e1a218fc4c1037598e2"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3078}}}],"partialFingerprints":{"codehealthFindingId/v1":"399f32d3d3e03fa047e78c56685dc16eaf74d7fb858a6d35ebd67cf4f0221537"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3919}}}],"partialFingerprints":{"codehealthFindingId/v1":"937d3bac394767962e782dfe776d2692f79db13415603e8876f91328ea11c59c"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a17b1c399ed76d8f2fe755bebf446edf790c6616668335ce5ea4189d1699f73"}},{"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":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37c9a74460f2b26ec726cb51a457b66c17835ddbb889b21fae8b64d9769b598"}},{"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":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c395ed7f5a2eac39930dba07e4ff315548ad309f869c26158f810c2f5a0864a8"}},{"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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8ac04d8b35e3646bc7983d5ef55e100e81f15064abc14a928b64d98da9629b"}},{"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":"ui/src/components/BudgetIncidentCard.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54bf8e5e26e7dec37929ad404b01f73722b71ec1901f04683f8331fb06c242c"}},{"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":"ui/src/components/BudgetPolicyCard.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732be463132020866740f31cde5481935ddb4ba8eb182b11ec9ab8257ff8eb7"}},{"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":"ui/src/components/ChatComposer.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ed90127f631cb771c6de823fe1263e30e5c32ca7ddb95bc7081d5b517e3562"}},{"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":"ui/src/components/DecisionDateChips.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b5fcf17f7229493691bfdf06c385fcbd170290a1cd2ba64e797b25f412ca8d"}},{"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":"ui/src/components/DecisionDateChips.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1743291b0c23c0e6a767d59f621ac4807c1f541b31e6f4c3da878e9fe1d20"}},{"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":"ui/src/components/DecisionDateChips.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83b4de6baa4b5f83c3764c09d458a99e642e9874f17f935cb439c4cd45ba330"}},{"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":"ui/src/components/DecisionDateChips.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b38804c567cb5fa5ad2eda6ea175c3ee0257c30b25cf95de9e2e851c5d23c"}},{"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":"ui/src/components/DecisionTriageStrip.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"30196bf22a83fdca253baea922311c8ef4bb837bf95b84484d9812c163001d00"}},{"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":"ui/src/components/DecisionTriageStrip.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae43ee0469f29376416c2afe6a09d48aff86fd0f852665c1209878f2e9bf827"}},{"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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd76e1fbe87c5838f398bf3090ec18ab8550800ed0e682f8d17d7a60dfba101"}},{"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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59604cc20726f0f675154654829da80c61d761fbdd374da07362091e9008206"}},{"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":"ui/src/components/DocumentAnnotationPopover.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"173a7c86de40a73b937df3e80d939b47ae0ef04e754aba829e33c1c9428ed65b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentDiffModal.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd220a61c81141001d444062c704c06dbc8e90e59fcd1da62649b84aa9cbe8f3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentDiffModal.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ac7144ec2d763e3f9fe4af544aac89876cbee98beee8fb982aa9ce45fa6793"}},{"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":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e827c27eea8173ab53601609b03b882e2103cd54fa280dfaf71a0a78a2cb40b"}},{"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":"ui/src/components/FilterBar.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"500e74921d129a7babb03afa98afc1f321a9a074004a110503cd332f5f3e9cd8"}},{"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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cecea070ccbad4f74f4a5efe119de033b01b5dc21737827bacd18e4f72fdd1"}},{"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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e66e55abfe2fc0f6c6f5d3e0f11a2245c80aae75f7565e2e020d64954b67fa3"}},{"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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"db773a3e4add36f2f672c65388aaa81a106ab143bc6d78ff62eed30acad03f42"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"924f2b52eee2eff0152a7511d9ee1b9216e9a702f8e34f9945079b7f575421eb"}},{"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":"ui/src/components/NewGoalDialog.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"77261565f75311330493a39c986751f84798f191782c206da221b2a919de74c7"}},{"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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad62f2bdf41f794286a6080c2bb953b99da5ff5ec7c334de655255b3165041d"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":3501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1afd26b439e8383aad1de3605407aba79ff702580d97a7df1cbcbec1a314588"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":3506}}}],"partialFingerprints":{"codehealthFindingId/v1":"75596d1a9f45ca43afd4ba2ea2ed328408b63d47030984fa0f2297f7a2dc1dc6"}},{"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":"ui/src/components/OutputFeedbackButtons.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc954071eacd031511f20a80c36f24cf7c21c01db5c468b0db73f5a6da867534"}},{"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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6408f75d47cf31c87fdd991a53ebf921070e963e84d2960f783c08ed5efb818"}},{"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":"ui/src/components/RepositoryEditor.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"99aa0f3ec5ac7cfb21ad244b73b36597cc15920cc611c5409db7ea4cfe8f41c1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0cfa9b89e74785e7f36271cf59933397ea04858e38b8cb5139399d7d0d37cc"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7917f7d453e3c8c42bb61f93e2bed8899c29e38e2ac6fe3cd2895836f43c2c"}},{"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":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38e6c945affcb7f2f3ee301517a8e9a4407ece2959024432ba2309e36d9eb0f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"a577ff2ced6dcdc6de32ef7c2f1a5d6381937e459cf6867365a651145fa2d5fd"}},{"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":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b974a13ee7bb0f327aeb9421fd761ea087906718add8d06088b900995dfa1a78"}},{"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":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf8c9500d11750238322dea2171439b2b3ede2a31fdcd2e0e73d4f3bd4550ab"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"40104d7987fef487d53c8adaa0d946259ef24bde7c4638aae88d26ae9c2e64da"}},{"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":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"125a6142e3322bb1db69989f1acbcee002bd73d90904a65cbdc7daa8d04df705"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"683a082451e209d82a1fb12aecac957a44ce4e1ae38d7e7a98f75ba411567a87"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a0bb2f8520d945880e1db9109de94fe30bda20d2d16359f7768287b0d9fbef"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b51b20b1067bced8614450dc6523b3fabccc9cc7b892c5f9888f858934a122"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6516bdac5ab2d86eae53ace0e2f3ba709a525cd2924c77a1d80f17215ac1bc46"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe61f9eb9abce5ae067f967f875f3857a370e073e2dff2942ff4f850779b433"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2874494629b238c5ca9fa10281844d4d53616a84c1ee9512fd229dff9df07487"}},{"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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"da02cc1d059f0d595f0aa77297ef64b3883f35dc018e87c4d73c02dc195ac0b4"}},{"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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fab4f4da10bfb9e0d8ea0ab038543a3ed3e2a86d4d245a0a1cdf6d3ab3974f"}},{"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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a1988a26f0eef55ec0539ab314ec91ab97ca07eff3f9226e75df7cf47bcfbf"}},{"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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c031c345a643055db774e5cb3b5216f015c35c3e76e8ce7007e2f91d0ceec2cf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SecretBindingPicker.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3189c93de6277f942d3f189b2fea4bdcf1901a1e0ebe281b0d276ebc5d4d070"}},{"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":"ui/src/components/StalledReviewActions.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2c6f0cda9394cc2f02d55f03d6c48cdd6036f504baaa73e1ca4aee0be726cd"}},{"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":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"99864f6b1305f6dfdfeb12f97e19378450aa19a1b462f7054089cd2d0f7cf2c9"}},{"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":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c39ea83ad2c0cff96d823796f82cb3e70c8cf6c2f5ba7899f7813436422d7aa"}},{"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":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee11a21ae7db32ef7e86c592aaafe8aed9d6548c256f94cd3d6a5bda5d4e117"}},{"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":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"085b99aad906553e178e48f5fa1972a1f678ec26f28a22177dcfca561aa9800b"}},{"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":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3741b457d897e88a3b0f77697d79a9d0b1654aa41fe5b773186d7831fee14dae"}},{"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":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5370dad385348a7cfc6f825be41586a845af14e7ea4ecf6c26d4606992cd0339"}},{"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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c78a5b4361c30f53f0da450a8ac5279aaf9667fdff0703f9ea55afa90fa4744"}},{"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":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9e15e2c35112788b10ca2c596eb7100a39a1d999f823555f3bbd54f4f20249"}},{"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":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd9ae53e8beeac3334e952290b88958ce8d1704ad83ff4a4abd2fad4e1cc45b"}},{"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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f039a3fedcd32d9702a70f3a7f1a8e4d37c1e360a5fea1e27a3aed7c66d2459"}},{"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":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4861cb56ed26a93d4b85a8ea96824e3ed585e7e0c3366d36b5a75384cf3a120c"}},{"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":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42bc2faeacf86781ff084218085d991cb204e67fcba457f5b34cdf370009c09"}},{"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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd89f6eec0ac8f9cdd4fb151f2b7192bcb5f12726a7ae7a1d025cd299b5b7b1"}},{"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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"0467c331ce378b4629a10efe8be87e00996f61a31a9c1cdd341e9eaebb09182c"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeec09336ce8776353954617b2822dbe41211c1958866c7ad14616718896ef30"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9a86a4a72d533e7a09b10e0578c65fe471c25309ec5834a30d733419af9125"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"6028656a0fa5cdc1530c05f8a00d67ed1c4ff764ba7d098a68f877d228fbeeb8"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"9379660557e211af2202371dec4b9dabc9874ed2cff2b3050955384910cf2118"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ad4e1aec389b78f155274da58b48eb9cb28ed93edd7c93aadc4e0e6f6d34c2"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb127c4276e5fc842fa0dc7cb6335fa6f9472ae184e33ffb37a4154284dbd00"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae66098dddecd052820e50d707b4cca9b677f57e3ec708853c5f5b9ff96211b8"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f70ab9777c365cc1a94ffec93aac1108ee2cc3e2836679b89853341f582280f"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4323e0759cb52c6ff44c4daf6f3ea72ccd7af9843ee0874e248ba0673a12382"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"8524ff25912fcbed677044ccb38e72714a465108904ea1014a3ca313a8034b35"}},{"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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3758d4267608504a93d39677de7d55cdfd786dd43f37dd4d39a56e87488bdc"}},{"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":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f190b8fe7d0719fc633fc278ea06517202da2433d905268d16ff9e95a1d6016"}},{"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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8cf9860e6a66b757eb59ef61fa35f1093126f340680364eac84983f7c1d887"}},{"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":"ui/src/components/observability/AgentObservabilitySettings.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"306fbbf6ca139325c7a1c2ea2466b6499519f6cd822e004fe2d2b2153027c84b"}},{"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":"ui/src/components/prompt-injection-prevention/PromptInjectionPreventionSettings.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"675d33c7b839b09ed8705ad343e31a1da97d88a2f546443d740451bc056acc08"}},{"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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ee933634cb188fae2313081e51ab951369f24b83f7cd6f56c0da0b69badabf"}},{"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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b052590c49d325391adf465a77527e91deee81dcdd344692a42edd9c91122b"}},{"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":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfc22888b51843fc70b1cbe37551080c1f01f01671c6b104a678a76f8898c0e"}},{"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":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"357239261ce1abb403718933d7d255090d421ca315a0e0b091c0c4f8f2b2c478"}},{"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":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b43381737de74a2e6486965902179731e609070d6fad23d3fe30de9e37ef4c0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TweakPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c66de298991982bd21a24730c8b1e5e2b5395a29beae218738e7b6902f0c95"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b3ffe5cc4fbe8bb55dfbbb468ebf4b33ebf2cf37d7228b5146ddefbdc0beaa"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3519}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e1b02ca158697a9abdde170bcb27e53b19a4d7e2885ebcb784923f8853b44"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3565}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4e3b00c795a0e6c7bdda7f61895dd5c894897a192db3b95c6c996de6c74a87"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f31aef0843b2c7cc6742decb5dadeb412465e090b27793f6b3294ac302c1b1a"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ae6fcb691b45c0559b01b5f5493ab8cb102e230e51302d203570c4122cae16"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"774f6d6afa762c9530de886388f3d166146e596782cde9849add83efaaa290bc"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3772}}}],"partialFingerprints":{"codehealthFindingId/v1":"540dc9144676e1742718eaa63af237a964954dd8e0256985dc1e689d23e00739"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3895}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0915c88cfe66cebcb1e6335f06f885ccee17fbe90e30bd9f88990ea33bcf116"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3963}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84326314ea7d3697b7835f0eec49fe8ad87e5bd3c68207f6e9dcbb913e9c050"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a1b1aa3ddc7a02507a24059adff5e68797c4f6fb376d217c3a4341bc85aed8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3972}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a9350e527d328cb3c66b87c27319e19da31ba529dc0758cce4afe93aab0d00"}},{"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":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"43087bc7c7a0e6cbf26a722f7c5ed53dcc6f8fb38f5475b038b1588d617a1ca3"}},{"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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2565}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ec6e17b97394e84584ab8a0ba2a097a5fc0b919648cfce4687c231706eb516"}},{"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":"ui/src/pages/ApprovalDetail.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c97c1e57b78f2c73fef865f5d0cb5ec596940405a8067c74120c01798d531f0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed1521f3079f2eb75d786923649fb3b4c9c8c179c52b242d2b64ba7fc830d6a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5f8eae847df7e60dd7b62c29aa26cf72edcc75ba51f15a41f11233ccc970e0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25fc203121fcf44036815050b8a5747d0417ad8dc6973f43f0d7322e6409cc3"}},{"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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa16597008304abb06f3dc10abd3e27c5e95039b9c1862f5b9a9ed452441678"}},{"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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7e24ac08e9cfc007f5992d8480f6ea7c99bc60f270afdc1231e2567d929ff0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33514a225dc033f2ae9118f7adcf747b376b0786dc920c11f3cda255154ac56"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e37e0ae0f5deef61d30812b2c9e2e44f5d8846db1d23cfc51f397c6824f327"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96dacb5178f6edb076c0a5dfcc93ad7f4ee59e64232c2309f2bf4721ae3c4c0"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81c3137d755862d3ec82a682516dfeea320e60f41b8579cc5b0f6e9db61989b"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58a9d87d8a256f23123342e7b598d494bf58d7f03a208d8f780365837d89faf"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"9199b0dd522d152601cfff8056a7371ea7e459fe1faa88e3e72d310f2cacb3cb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68c2d71382c6f68f8521ad2dae6218c9b5afb10c64bc6c1fd3b6a4a2b7e361d"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e72dd8e7aa7303d2980160dea869701dc51795a02cbb6185fc93efa972f809"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08b22e711ae21b9edc890ff32dab7b456f005891a7de01cb3aa4d11e19be640"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aaca2df351c3b07e28f6cfcdd9b3fe37b46cf9680b925435528b6bc6ff64ed"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c3e591e36d8f3b960c5e64926a1cc5906a2a5c3204c1daffe15b94e5eb2234"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abc32ad3347bac47546b5f31d6049a04ea08b3c086036da17cae4cd2af677b4"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3647}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db01002cef11545adb15c1875a3264fe5cad4a05f9a04c1159485a419eda48f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"80338dc3d255668c2cb14471103cfc30585aebeed2e30c5e38816a02f605cbd2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4008}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea0939b31fb054b5ddfc982e657ff7a53dc3914638d7a41d59ad204058802b9"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc55ee11c8a5c81515eb5f3a9bbd64005fb248f97d03f17943a2ac4684f0a5ee"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a68417940c72dc311e081364a02b8b576548b37eec62542406470d7c09327f"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb2f94eb46779726caaddf5e3a32ccc33e9410343a3c668f3bd8b7e0a9d5f7b"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"db57f2b2f3d7a3c434c688db9189cded9732bd8745f5b7544a1fe50f09bf33d2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bdf6247b16a9bb68a9a9d38597ad945764e2316e96334a082dc0ce5cde6638"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"350f7bbb73faf427843873c0d619469c9ffec54d64249dfc7889a467e656396a"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"643d60dc74d3be9cd5ac30aa4660c2fca908c1036b827ff9f578137fd18771ab"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"4945d924bedc1cf3abc61e9e56169bf28343514c89f047bd08190df121a4e659"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3037}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0b53973d22cf3fb6be127f5f6d1ff92ee7aeb537307d4baaa8b030d116a508"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cf0c0f91de614570a3662c8a8d742edf2e068e94c2b5d3b7a495556c0d47e"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3569}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b53a2d6c31479eada71f5439f8b064cf81a7698870cb800380732590bb1d733"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3570}}}],"partialFingerprints":{"codehealthFindingId/v1":"5830e9e320eb866368a1d633376125c8b459e51c539c023473aa6ddb7d223a91"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3930}}}],"partialFingerprints":{"codehealthFindingId/v1":"173da129aa400e63e5a033880c306ce9e19c98a481b6ee41ccced0d72d481f26"}},{"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":"ui/src/pages/Costs.tsx"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3a8211751d92ee823867080b4443513b0dde8d90749b5f7908cdf79b83d543"}},{"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":"ui/src/pages/Costs.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0c081826ee59688ef28c37629737ca754db52ff6e22bc81ec5d16d6d52a794"}},{"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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"388ac816948294bcf81364c4dd34ed7021d521609f5ca0ccb2b474e9454905f0"}},{"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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7acbc09dc688312c65567176893f6144be0dc46f8bbedbd74fffff90616359"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec172678c5330247bba3036df1a53eacb2ed413bc3a4f7e98c4300bc6e790ef"}},{"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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"52862571a92dc4e81d3518e3bb7a63ec028e9711e2d1c2ca3f36afa051ef539f"}},{"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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9da2ba97c90a22cf1d6620f0bc8b858949899132f4f990f8dd4b4f49c3e51a"}},{"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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d1e45dd792e7fdc530475a6e02e37b22636638fd8c4594f377d8b5f9cd7d68"}},{"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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1be95f773ae3905424966cade7028ba821b61b842a851ce968709cbc807e90"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"306ce881d1969368153fbafb4a26a00109a2c4a2181174830e33d3448d9a6466"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"908fe49b17989bf841be170b38ffb74a0bfdb83865c91e48595397a2aa8605c3"}},{"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":"ui/src/pages/Org.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac728ec212d34699756385ba615c64d2f1a8e3a80bc1863d2af9354afa7773e"}},{"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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c062d463aea7d61026ece1578215276e3cd7300d0f4462189145b863d6b727"}},{"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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"4614b75c503ed61e934abada62286bce652d8dbf4bda3d43498ea9053ff56ece"}},{"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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb68f79773b7260a736821f3624a78e6d1c36775c43b66e603d368ccbac76b8"}},{"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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee156d088867c6b78c5f3cee61712a5f1214e0de63a9081f72e7a6196201677c"}},{"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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b57375be1f148c16446584a09bfe42acb798f6185d59ad1a0715d8fc2e6330c"}},{"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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"756eaf2a77fa8ae457f420bab33c3dd4b550a50feb600cef7975732989cf6744"}},{"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":"ui/src/pages/Routines.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c33a8ead311b9b6ad36b5274db00fa0dbce3e26909edfde145fccd94d37296"}},{"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":"ui/src/pages/Routines.tsx"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedb20dbc6f3d87ea9512b3e97d618dd2e8f7c7d283a74b3c2752348cbf37227"}},{"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":"ui/src/pages/Routines.tsx"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"735fc7af8e1cde168bf9844b0321580e0ed1f94f091ef8f71fa74cb30fc07656"}},{"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":"ui/src/pages/Routines.tsx"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2383976f331e5eb6ee9f9feddf36c91b88cd80b97b8eff46254aafa5b6253507"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01d4a3a691007cb29414ff1f02deefa7138a65fa6957aa8b124e38df01e32ed"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad0db8d2a7a4d2904f437bacb890fa79fac93040793c9166a6d0b41523e39ec"}},{"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":"ui/src/pages/StatusCards/CreateStatusCardDialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"014424bf07f4ef03667165ba2daa39c70cb2f3c5e62277336039bbcb2e9f6d0e"}},{"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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"725435c1eaf87a90a3fffe794193d8875ac25c515f5d0aab0afccfe8cca1c092"}},{"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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"3727de8a067d993b2507278653ac3949afa18bc01ca5a8365af70799960e64ca"}},{"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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c3cb2d0f232f03c7a4d731301f111973a897a79ad815cb0a47d15638e02839"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99e98dd00bc6a17d17c19e018c683efa162ba8bad1107fd5538942931447ebd"}},{"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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057e180b8feac13acbe6ce49182c3cadb604f7c5391b8a04dc1d570b0dcb343"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5e639daf91c4114f5c554e0bd9238e35100d7677c5e181fc9e7602d3532366"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cda38e1bb1ce153f0085dcdd3e77b8f2ede88a06efe3a6cf4d5d4f284abde2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a6f72f3c8c4e663a2ebfc44ca1f8eea9ff12fc21a822bc90bd786aac9323d5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c68363b56a8189ea49e08a01765271dd4efe2991c0e2f569a6ec1651a008ce8"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9d14dbf045f594778728194409b0b65c468d471ff9a48ef309742c4e441ac2"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb35e6cb5179bd822e48caff1ab003c16c05061331e5852e5cfb2f4049e9be8"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39250d68435c01f517467e61dc32d42df54b72e6ce3ce8a237d073bb7ca1518"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"784848a0c96a69a93acbd6af4b1e92c8f68a9a586f20732840fa8f78d92f47c4"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c7e91adf32f5fbc849bf3543ae03aa5cdd1a565ad9cc199ec9152624a613b5"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"972601ed4409ccd22ee5a45a992094cd8c45d1ef432f60160740ed856c02a846"}},{"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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a2c2d36b500f2448c16d5b2df87cb648d4f1d1c9897cbf60065df841230453"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"075676eeb5755829c2d91b042d48bc1ffb84e698e51508c8587ccfa87f5ab4e6"}},{"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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"77179b9936d414458078950e6fba6f3ffcb0442b96e4337cddc2b19de7b4cedb"}},{"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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a49d65ed9163ebedc1ea55560ba1c9228c759403c757da07b716f29df9358eb"}},{"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":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e6af35775d4e6196270b99273b8696a49dd116c8d712058a1b3f7092c5515e"}},{"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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90225d921bb016551068ff122b1e71454494570c074c1ffa60aec0e15660d0e"}},{"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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2390d2a7f3c8deacb8089df2acd3c4da649c34b92e4f961a477baa75bc9a4b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"991d880a5b81c68e868e1a10e3cc9d732f246545259794b20b1acfef82e1e479"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a8fb7c83d0ba83ef527c283b1e3c40c49b939ccd05f6e895cdc7f289e4af87"}},{"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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab4676c8a498d7aa9d6d35082c275ee296ac912ff755f522667785c9c57f527"}},{"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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b2ee1ea9304ee10447898591308211ffc89d03b1f700c48ff8fb67b2ef925b"}},{"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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5b123a500bfb5c359fe71158cb454699412d70ea69f9a28f1c28b41db22269"}},{"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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f0326cc9d9cd44ee0530cb0935c7b71c3fbcfe0c5097cf139d56449b071cc8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27cad2da97f6eee3ea7134ee400a2f02167450b58911e4009be9d234e0b495d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4febba03155d8c51ed9812f1e86073f17657e39d71d10ecbe89f556474397e00"}},{"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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f8f54307adfd707c68d0af219581a09210cf5633e44fb23265d47f290f20fe"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2bb9560914e51d905f4033ff006b0755db702ac055cd6e571e057ef8f61709"}},{"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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d42b743eaed9df45d02f5f21dde43cf249a5c8863c3737cf212fd65f298eb0c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0188d8b2acb76b5f929a37c6e1b77d801755e4d622e96d15169f95fda4773140"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5d714cbe9449bb0af7b5dd76c8b6f11322fe71a98652fdd90317d33474583"}},{"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":"ui/src/pages/tools/profiles/WizardToolsStep.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"640ab1458e25e18fcab47958eb056065e8c446c67f188491b15e8318ce161086"}},{"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":"ui/src/pages/tools/profiles/WizardToolsStep.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8736cf9fb0291efea514550e320264b2ff3bddd41a8e46874b5c186837744ac4"}},{"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":"ui/src/pages/tools/profiles/WizardToolsStep.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b10b4540395ec82d422fc8d1c188a4241aefc9c5ed91ef2f72b7cee239c08ed"}},{"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":"ui/storybook/prototypes/NewAgentWizard.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5555dbbc52e3d7709ba617d27d05098ee7828b138d3894ef7f331028e962997"}},{"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":"ui/storybook/prototypes/provider-routing/RoutingAccess.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c755eb9a62a37a1c757d17c05e4f3386595eb5796ce36dc083d65d87cdc0ce"}},{"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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa85c0443b29524da710230a905e8bcd407bcabaa220f282accaefb768788ec"}},{"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":"ui/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bb53823caa57a88e67d44e14e3ee5400a79191726b93dd5daf68b363c82784"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatDiffView.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e098f00350d8b9c2baa2a9c515c5873b025cf471a1a65f0ec5da4a54a5099e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"952981c97de23e91749f626fed1dd0eb08b5cdf89ff9fb0de6ab04e7fa29140a"}},{"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":"ui/storybook/public/browser-viewer.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1c6f1cf69d0d15cf95071a0d54aaf04eda4c6fcbc55d5d089da9da7ba49342"}},{"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":"ui/storybook/public/project-skills-evidence/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0a784a2b3713b67509da77d3cf3dd4c3223b1a9309b957863ee0064e7b1c42"}},{"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":"ui/storybook/support/html-artifacts/report.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"44373d8d1fa516c3cfda1f66f434ffcb99e4a5c497b7ce5bb6af3b663eef0ba7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"317fed5c566b4c16d964d94d8f9073641562c3236223f793597d92f12023f894"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc757c5f80f2d67a5e57974547df6c7a2a1c6402655378be7fb2a81c2dc7dbe9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .pit-strip-button with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"666062e8e2e3c928a6fb5eab08817c0c7ec443083d0f938e7921d674041794b6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cceddcc0d3fc41924b62e3002f97488b32721abc6d2566e8250a241e196db9a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a170f0b6cd2c5a973a8eabdab40acc06228adf6ea1580df951c1607327bb9ac"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9dd57bd7795e2f60d206416ae996e8875541b14d4da5e3f94cc9b1a7dad3ab"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dcd7a3211a297bfc5ccfb279a46e89e5749d26414cc8471f43127bf6e8ac9c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd7889b57d83acaecca1bc66006dcd7f3ae36c00acf7a8e9aae476e9ac582a1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb33b918c34f9fffc1a1bdf0c0386ba8a489f75d2c7c0d270e551884bacb2e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A script attaches a click listener to this \u003Cdiv\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/catalog/bundled/product/wireframe/assets/site-template.html"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aaeefea3d57f4cdcfc2d481ae789f2037996ee9a76bf21cf269f3e6b7a5566"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A script attaches a click listener to this \u003Cspan\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/catalog/bundled/product/wireframe/assets/site-template.html"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54fd06c87a355c1c0ad14a75ab6fb7fb136f7027e243a38f7103a38afa55987"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Carticle\u003E isn\u0027t keyboard-operable: This \u003Carticle\u003E carries tabIndex={0}, so it is in the tab order and a keyboard user will land on it \u2014 but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native \u003Cbutton\u003E or \u003Ca href\u003E and nowhere else, so this can be focused and never activated. Use a \u003Cbutton\u003E, or handle Enter/Space in a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e628f436418e3286529398d6ca50e859155250404f1c513536f9574628ce97f4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPopover.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85ac1c4973282c3ddd931105eb9e3591cb7537818448326a0b66fb5f999b0a5"}},{"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":"ui/src/components/EntityRow.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1d91545a914cffb37bd0e522ea9ba6ece74f6acd601f105c52953544ca8857"}},{"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":"ui/src/components/GoalTree.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f9c478659859bb33864240f91cb5db91593476292796b610c9b0ffa8dc34fd"}},{"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":"ui/src/components/IssueAttachmentsSection.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bacdd43974fcc39517d9d9ef2418d57be79ba684fad84a668b8f637d09aadd"}},{"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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"338b27f46501ad54673f4b6e3fb92c1c85445a6bd645964b2bb4239fdee7bd07"}},{"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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fe299800d00a23fc55cfda9b24ab346806c7c56b91de7a870d4a3605070c55"}},{"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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed9ca26a2eccb5504007708671b3dd7f4c8a009a7dba37de0748f586fc89870"}},{"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":"ui/src/components/MetricCard.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab14c99f488736d4baba88af837ccc6a64f1acf8a0d840c5fcc6d7b4b5ff1588"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, pointerup and pointermove, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cafc48b2b5a57a55f2a4ac12e8cb859d4d6809360cf9464a14b979bcedcb34"}},{"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":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4a6598d563378f1431bbf91b4c34fb5900a73d77d98d9396ecfc64e91a4275"}},{"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":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6977b613f726647df0d940f120ebb3b6126a84a6ae2e4b5da0ca43751e03dd"}},{"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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db9c8c2bc1ba94b8667fb0e9d29a029af938c85963e186fc45edddaebf04d3d"}},{"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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"926775bc08d9d8805672081e80949b75b746d7182aaf9850d47c2f1d1b360c72"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cg\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":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"69525ac88ba1ca74018a8eea4290aaccce499e927d9dcdfc7bcd33f8c5c33595"}},{"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":"ui/src/pages/Costs.tsx"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651acb770492046e208cda74b746732684338bf1d044628c925243c6913da27"}},{"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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae4ff32fb419abb35d57f061ca9c13251066228c16d1cd2370e48a20310b3ab"}},{"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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"34298e07327a8eb621fc52f08b2ee004173e17231135559a21cfe93e052e67dd"}},{"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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7444c6b628d34b9d61971726f5d242d8421952e6139d18454a668e3c79b346"}},{"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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2845}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c4f0575b74af8df0bb5d9aab7c7e69d82117395b95135104a192511f5876a"}},{"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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d585bf43b3fdb74f02060cc830b52d6683afd97af138601a329ba07e612704"}},{"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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2532de61cb750aecc9f5661d2afba4e87e31b7dc99a565f41b9c39fbcaf6bfd"}},{"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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd489f722d67a753e0f0d264cb4617b23d38177ed9625a75cf28baf2229ef74"}},{"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":"ui/src/pages/apps/gateways/GatewaysList.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a5a044315c4661067f1a960feaf9b7567429cda3dd033b6a39ea36c1e25d82"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"654121ed444395172786c5ed3739c9aed32ae8e8a70f456205258781c37663de"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b323b1a4865be4c7cfc07482f9131db287c40a0cef89d764feb8cd1b9e8d53"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: tone.pulse\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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eee8584a98202a18e83071b38b7433cd4353e90f88b8c75482966c2617dd90"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060transition: transform 120ms ease\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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3588}}}],"partialFingerprints":{"codehealthFindingId/v1":"034ec80eb8d1da4d5af66aecbe1cd55e1692f377fa7da26066f6e3fd59061393"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"573ac5102f5e6673d1e14363becc4616d5a0cad9756b433d9d3e9d63fe05e68c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beddc9c8af2a729399ce1f52aeacb128ee55db6deb79209ab77e8949e6b441b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toc .toc-summary .chevron\u0060 moves (\u0060transition: transform 120ms ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/catalog/bundled/product/wireframe/assets/site-template.html"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6fcebc6fe0c7f80fb3b4158f0dde56e9c4b8c842e56396f19e710e7fc38706"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.wire\u0060 moves (\u0060transition: transform 80ms ease, box-shadow 80ms ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/catalog/bundled/product/wireframe/assets/site-template.html"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4737698ebb6d514bb2829464d5909afe9702a71812e32edd0e452d42e7649e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c850a3a6bf3e38da7d6d3a68507d7c43bd5c2a33bd79c02b28faef4529e08ed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ActivityFeed.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3eda7784f123ea253517335506d6566c7832987a56749aae38da7f8bbd0c4c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":4241}}}],"partialFingerprints":{"codehealthFindingId/v1":"90900609c2fce26684d5cada0e1992b5eaf4c1643960912084d0a36003ed64d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb8b6425fd00238ce0546b99788766d826185f4eb2369a1784ed989a21564e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74ef2b806aa604e8a9deccfa13691d81218b4a5b497b4e6f9783b870ca146ea"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DesignPageAside.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"34242058b8954dae88c17d438b6f72db1b04f1829ec6222222b1db5e56cf5d32"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c33d6439ec6bc3c28c797caaa922f4a565f0b90eddae46a68da413ac84b0d55"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"295661bd02dccb2c16e29d72f7d0cb2f8114f5a5d47d9569e977f5a50160fb21"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d7f67b92f65168f7a3a18725f176693d9ff59f40e81ecf84db7846fb202a36"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEntitySelector.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"87798e940042027e5981da2313fc21de7ab855cbbd5aafef13c2c3a52040a11f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4373104f2ccd42a7d0a266e52c34505d9b185a0d6bbd75df1c30cf46dc84dd0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5d92b370ead8ad3fcb0a1d9dd890f8e8d938608cd46123e5f72f55901b0511"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewGoalDialog.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c490a9a1e57a98ab7ec0a4f0c217639c5fda70a88d5f822109651cd305f389a8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8fe3eebbcf0dd0e3d07c077632fc8fefd04720af94288b772a0a1e80574580"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c5c65f8c4e3936c10d9c7f042cd243b86df97ec3cee26f933f641cf680e1d9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PriorityIcon.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b828cf61a98649abf01626af5ff7db6dadabd3a44c5f6efb2c90f297057c5d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cca019317fce26ea569dd39e3052c3c7e240b64a84b8260c21fa8e7cd5771f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0886c4cdbafb8b28bf60d88ebe6923ddaca7f411e660f6c22c1e107adbc283a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0e2b29832f1ed82fbdc673e4604a8b78d8de6e0efc986b2957d673c3add04b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"48507c73f474c00400ca0ee79387885bb6b9f31d9b83be1f8ed49fdeadb8b677"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f8c5d3c47f426c3790e7cf767d100cc580e23379dd2bb21735da01467344a3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2fa3c5ac4f23be087df85d736467e90fb18e72fc1bedcf12b1f91743ee9c41"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/StatusIcon.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e09dd0abfa40bc91120fe89d69da37d8ec21497b0f85242535c3d1f1248fb7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SwipeToArchive.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2da87e37a6a5a62d1d6e40c28899716c2cd659071c9c5b7d0e32457111de09d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/access/InvitesSection.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"181d77a3637dc81c7a3caf4a2d9c053dc5e1d7474c60076c160987416399b596"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45e493a2051aa26720477596813c69becb7f7b654024c11d9db8e661ee78151"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e1c41a210aabe93bba79a74a867f84443422b216a1846275b468ac6885c1f0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d691ebfbb3ba83a826359b9e1eaaeba0be55abc86164971ce1136cc041af4a1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f18c0f474ec7a0e72de1dc629a9c07e0b01316a215a59c74c9bf666b1dd4b5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ad758451952727baf72d3017dd84ba4b85430ae01d1609497824c596748967"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b51f0397e43dbe659a08cff5e8f1aa4a1ddda4a46a1aab545f224a998ce3bce"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4b2c2463b6ccb48f2468dd5dbaa7992ec35b079d6f0a6079a9047dc0fc04fc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.2:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/interrupt-handoff/InterruptHandoffViews.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fc338ed9ec041e9c26cda6734f6bbe9485dfa0be1d5204e0dda58291f84cc5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"27870e1e4fcc36ca4e9f27ca429b5213a9f2695e3fdd3cfba7ca88b15b02584b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca508f9ade91267c2056959d8649b8dc92e10edee0f04da4b37d1a82e220336"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ed7ca2b0b8c6db08584bc6c1f1c7f8a165d6e17cfe49106b5246d84d6ca389"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"129bfb6c75b0ffa82e703acb0c600368594acadfdafde2ca7a6caa87e13f36d1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcacd8aacca4309072147438f6342dfe268e22060f1f0e103ddef626029c459b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef6a7ada81039d3935778139e5b94ee36b26f212ba463f9feffc295b627a29e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfac7df1d7a61ae175aa746146043c2b942996370948a8cdddb9e3d87860cff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc75beefbfb03bc2b352dd0aad4648a085549b4650202dff0b890a8173955a73"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":3223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddddeb351351e751cf2df7b4b5ebba7af6f452b72e63b5d4d238b27ab5f71ce0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/relation-controls.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3a4d1350cb735512f822d1d2765de252c3312d4a120631a9ed816fecec9111"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/CredentialModeLink.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"251a57f2c633d1d453d3c37b36d30f5fd84357ce2d7c5d869638021764dd8632"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/ModelSourceTiles.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a84a524b806fa164bfc97906913f2f126e934ca306544cd6834055fdbde000"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerRunSettingsPicker.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04b2d64ce1bb40342968fcb2500a21696f88d6069a0ed00f921856224624302"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f675c1093df7161c010122c5e40fe410bea396bca07f5de733a8974b3aa24c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2697aadbd7685263516581040dfa4c33e0c4faad751f3611ed5ac8246ede61b8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b62765166c96892df4cabc9651bc2562460fec11379aa656921d1b580aecc6d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ui/input.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2124b4cfe18bafebdb54680250f5b1a3e87f552d39e7a586c468f42705a9700d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ui/textarea.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb74b49ffabacf4a2d45a0b2d0a3d3f7e717bb877db70f17813dd1022c6eb43a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2565}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec8fcd5e0c90405bb6006020183ef6296e1601713675252e861042645173c0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff164c182e42e9b68fdadb82873bb2ee19987eb8f6ebfba09b529b4c4b8006"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"b267895a3a86f891a6b96cbcb1b86ea1e8459423bd0caf1ac39cb88a803fef03"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0c871465f79b646b376fe3ac85b35ab6b64a2062425d1acead48effe4eff41"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6718eabcaf3610294bc8f2a1a5ac97a973a8bf75afc02cda27854bb62bdd6c64"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19e5e825703f5b7781efbadb5986eb8a60c02cded70927ee8e47222329c76e6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a5b802b2a391eeece68ac5a1280e2161e0b03f2dbe0404d10fc94981029c4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0bc609d99e8129222e320ff3260f0a8b6531115fcc5002ea7d04ba25b2c0f8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb370d8600a5b08855d930bac196af4370068fa9fc4ff10a9558984f1c49cc6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5fe0788804f5ec2bfb99d214266fb77611f505a7312a040bca3d7c8d2c322b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"deefec0dd886cdb7208a5ac638d4f4de3a9fc991f35abb3d9fc256728fd983a8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"df628299b4c2fc3e63f882e9f2f55314f2cd769893f283da2d0fbd97f3a9d552"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59df5f8299b9a4933f9275e5dad085faac4b2bade159af68b33c2fac0d4c4cb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3dc0f2db4f9024f189fefbd97292159d7729343d2034f38600ce8dfb3df73f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a22f9d82d1660e17b404068ae88137637300f282145874b0f1f08ac7eb0bcb4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f900b525408e2c92f66adb84eec692a0c143fabd43ffbbe0acdf3d4b99577d7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9dd05b8ccdb2e369771a56c890c5cbcb84a7d01ad3cb366c88fedf955a1e9a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"956cc8c429274a8d55cc829b92d87bb520c6b8dd9c924642fa49872a570ebfe7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d43f2193c1a72141f9e606e58a1bc7bb831e38e8698db95eb7db3ff65b7bfc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66366c3d2fb2678f4b36f7558973b8cb9b7cc79ef095d5ad030f35eddc2403f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72b3171570411206066496727c4efc20562e5fd516514efcfd18f715a411864"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7045152c897db8beb506c12ebecb981a3b0c8c05ffbcfeecf4f7bd35f15e533b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7969a21320bf24f5a78093bcbb68907660b68f200d957499f20c37806e2e9e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e0350d64b569723eaab2ac2455ecc6384d5333289523618d02860c42aebe09"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a5c9aae2bace9c41f4b10b7b07458eb652982b47bc89ea92c813467d0bb6cf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"620300561b8ba8e3a7a76fc0780b10d8001e99f31ba81ed62f85ebbc6ace6d0b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"646c3b785e981fa4fd7cc824adfed398e9da0bd8e1fec109e7269c01246a6e1f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a14889930417e56da33340bcc3af326fa856a0efbb9d4b45927a38c6f382f32"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"277c4077e0f67e8bbaf467a1b3f8a4e87e7ff7ea26d5821dcb9e83c0445adec4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c186963a589ceb84bfc8dcf628ae1b2538c9372c20f29abae3929c42442b7598"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d699b922cdb83574190842d855a9e6c46b69c9b81f111f28d77ff1a2399e3c7f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef431d5734e03dd5b9805977f1954ee478c67d619394ec78725d855a2ed220f5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c234019c890f1e1b9372e567281cc4e300839cd96179cf38f5413fc95985713"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"4116734b2296c9814b4a4df6b2dd3a10bdeb2fb87fb9a8beb3218a1fb669395c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a98baf8c37df119f2ed4b788e8cc7cd30afbc26c6cf409eed2faa511113a0a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"438125c20588680471633a3d0e9ee58cad547e2daaad7fa23ff2f9ddaee08652"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"337c41b3d2b0510a4d3e607a1ab38a3db9bdd00759da891693c014219a273d71"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3913deef58f09beeccff8f285cd9d3576258ed0570512d90ba823fa6ecd5b8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"499ebf936777557b45dbfd7046f231b4b1b35477e61c9ebbb64409ccc537db03"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc549f33b6fedc06dbadda0d84aa9efa0cd1cefece63ca20de84eab083a813f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c55a9d4fdf7d8d3aced460daab35aa56fd5fc3f5385e39ecfe0f80d5489ecad"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d351bfa3a4a33530806038c9bc686c1d60a7ea7244f37ee8687c1d8930513cf8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd13acaf224396afa62fd1468448c0b3085fc1eb31b7f889ad53d7c6c441a8f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/shared.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa18d1d0c8d078fd8a3ef18fec21c26c4ea4e8649a41c5b203ff3e894740b2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/composer-model-picker/ComposerModelPickerPreview.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf896994999d1cd113beb5bc12519961e7754e4c82cd4c47185b47accde1ffc5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/composer-model-picker/ComposerRunSettingsLiveStory.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a610fb84b0575c625b99b1acf2e967da2e9d17471712582d845c2aa66048c74"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/project-repos/ProjectReposPrototype.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b3907109dbebf7945826c6d4413c67f74a2e2f91728e7e4df6125e21b048fd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.3:1): \u0060.art\u0060 sets color: #6d7e57 on background-color: #dce1d0 \u2014 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/public/browser-viewer.html"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cffb8fa0581ed7fe46246470b70d4eb33102568487b309bae0a012933e559f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.design-page-content\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":"ui/src/index.css"},"region":{"startLine":4782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9787bf946790debd72769145c31fdf6f28686684b3dce936d93fa4473a27132a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.design-task-search input: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":"ui/src/index.css"},"region":{"startLine":4859}}}],"partialFingerprints":{"codehealthFindingId/v1":"a537ed902f9eec432d55f2abb6e72ca7112c976e54cc5f609eeb831aa16ce5d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060[data-slot=\u0022dialog-content\u0022]\u0060 moves (\u0060transition: max-width 200ms cubic-bezier(0.16, 1, 0.3, 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":"ui/src/index.css"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"800a3e6b4015e0031adb648df994172bc2fd04b4c1406f65cbc0bf4fd9b003e0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.coordinator-task-commitment[data-motion=\u0022arrive\u0022]\u0060 moves (\u0060animation: coordinator-task-arrive var(--coordinator-task-arrive-duration) var(--coordinator-task-ease) 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":"ui/src/index.css"},"region":{"startLine":5282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c577e127ea06817cbadc94501b00fcdb2a2d45805a1e0957731cddb7ec77c46"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.coordinator-task-light::before\u0060 moves (\u0060animation: coordinator-task-light-pass var(--coordinator-task-light-duration) var(--coordinator-task-ease) 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":"ui/src/index.css"},"region":{"startLine":5285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce536dc4d9a95152e3e76dfa22c7c49ae06d0a6055ac7642e378901340ffed7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.primary-crown-bubble::before\u0060 moves (\u0060animation: primary-crown-bubble-scale var(--motion-primary-crown-pop) 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":"ui/src/index.css"},"region":{"startLine":5332}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bebd5d1f3f26e2f7638e0086fd3efaf549dddb74fb8b61e2a22b3138515e30"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060[data-slot=\u0022collapsible-content\u0022][data-agent-disclosure][data-state=\u0022open\u0022]\u0060 moves (\u0060animation: decision-disclosure-open var(--motion-duration-swap) var(--motion-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":"ui/src/index.css"},"region":{"startLine":5539}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bcad2c103d0444858ab22810b103554f2d17cf7d2a3d903826b2a1db71922d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060[data-slot=\u0022collapsible-content\u0022][data-agent-disclosure][data-state=\u0022closed\u0022]\u0060 moves (\u0060animation: decision-disclosure-close var(--motion-duration-swap) var(--motion-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":"ui/src/index.css"},"region":{"startLine":5542}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9a2b32a84ead4b7e6d792cc5002b956791536b192da4215e000094a6e4bc81"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: LifecycleEffects (19 required operations): \u0060LifecycleEffects\u0060 declares 19 required operations: \u0060setupRequiresPreparation\u0060, \u0060environmentRequiresNewPlugin\u0060, \u0060notifyWork\u0060, \u0060beforeStatusChange\u0060, \u0060reportFailure\u0060, \u0060deleteDependencies\u0060, \u0060lockConfigurationInteractions\u0060, \u0060prepareConfiguration\u0060, \u0060completeConfiguration\u0060, \u0060transaction\u0060, \u0060policyBlocks\u0060, \u0060setAgentBudget\u0060, \u0060recordCreation\u0060, \u0060recordStatus\u0060, \u0060clearPrimary\u0060, \u0060prepareHire\u0060, \u0060initializeHire\u0060, \u0060prepareHireApproval\u0060, \u0060completeHireApproval\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":"server/src/modules/agent-lifecycle/adapters/effects.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e681352828c8d9ce7d022a2f7a331f71ce29c5b0f6059a868b01a5439ee6d13"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PluginLoader (16 required operations): \u0060PluginLoader\u0060 declares 16 required operations: \u0060discoverAll\u0060, \u0060discoverFromLocalFilesystem\u0060, \u0060discoverFromNpm\u0060, \u0060loadManifest\u0060, \u0060installPlugin\u0060, \u0060upgradePlugin\u0060, \u0060isSupportedApiVersion\u0060, \u0060cleanupInstallArtifacts\u0060, \u0060getLocalPluginDir\u0060, \u0060loadAll\u0060, \u0060loadSingle\u0060, \u0060unloadSingle\u0060, \u0060requestActivationTimeoutRecovery\u0060, \u0060stopActivationTimeoutRecovery\u0060, \u0060shutdownAll\u0060, \u0060hasRuntimeServices\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dfd347e1e9717fc44dc8eb591f2fe56722659f009c12373a2cfba77b9cff37"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: WakeQueueTransaction (21 required operations): \u0060WakeQueueTransaction\u0060 declares 21 required operations: \u0060findInvokableAgent\u0060, \u0060findNextDeferredWake\u0060, \u0060getQueuedCommentLiveness\u0060, \u0060cancelDeferredWake\u0060, \u0060normalizeDeferredWakeCommentIds\u0060, \u0060failDeferredWake\u0060, \u0060getPauseHoldFacts\u0060, \u0060owedInteractionAnswer\u0060, \u0060getCommentSelfAuthorship\u0060, \u0060isCompletedDelegationMention\u0060, \u0060isWatcherCommentDuringFinishingRun\u0060, \u0060reopenIssue\u0060, \u0060isCompletedOnboardingHandoffWake\u0060, \u0060claimDeferredWakeForPromotion\u0060, \u0060finalizePromotedWake\u0060, \u0060hasExistingExecutionPath\u0060, \u0060hasExplicitBlockerPath\u0060, \u0060isAutomaticRecoverySuppressedByPauseHold\u0060, \u0060isImmediateRecoverySourceBlocked\u0060, \u0060queueReviewParticipantRecoveryRun\u0060, \u0060queueImmediateRecoveryRun\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":"server/src/modules/wake-queue/application/ports.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe21be969ea186d770bae69993280166c85b14ae50bb638bf3849bde2d21bc2d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: HeartbeatRecoveryDependencies (16 required operations): \u0060HeartbeatRecoveryDependencies\u0060 declares 16 required operations: \u0060enterShutdown\u0060, \u0060getRun\u0060, \u0060executeRun\u0060, \u0060scheduleNativeSessionResumeDispatch\u0060, \u0060cancelHeartbeatNativeRun\u0060, \u0060terminateHeartbeatRunProcess\u0060, \u0060setRunStatus\u0060, \u0060setRunStatusFromLive\u0060, \u0060mergeRunStopMetadataForAgent\u0060, \u0060classifyAndPersistRunLiveness\u0060, \u0060releaseEnvironmentLeasesForRun\u0060, \u0060acknowledgeRemoteStop\u0060, \u0060resumeRemoteStopComments\u0060, \u0060dispatchPendingNativeStatusWakeups\u0060, \u0060cancelRunInternal\u0060, \u0060startNextQueuedRunForAgent\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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1370fe36fab78ed30ecedbac5ad8835b16c9d40c7ebf80a0ce8c69adbbeab2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: HeartbeatQueueDependencies (16 required operations): \u0060HeartbeatQueueDependencies\u0060 declares 16 required operations: \u0060isHeartbeatRunTerminalStatus\u0060, \u0060isSameTaskScope\u0060, \u0060runTaskKey\u0060, \u0060filterZombieCoalesceTarget\u0060, \u0060getSchedulingSuppression\u0060, \u0060canStartNewExternalBotWork\u0060, \u0060executeRun\u0060, \u0060releaseIssueExecutionAndPromote\u0060, \u0060applyWakeQueuePostCommitEffects\u0060, \u0060publishRunLifecyclePluginEvent\u0060, \u0060cancelRunInternal\u0060, \u0060cancelActiveForAgentInternal\u0060, \u0060resumeExecutionWaitComments\u0060, \u0060resumeQueuedCommentInterrupt\u0060, \u0060resumeSavedLegacyComments\u0060, \u0060formatIssueIdentifierLink\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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d1143c39e98950b9d946fd8b21ceaff542fda29fe5632171475e0a6645f20a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PluginIssuesClient (19 required operations): \u0060PluginIssuesClient\u0060 declares 19 required operations: \u0060list\u0060, \u0060get\u0060, \u0060create\u0060, \u0060update\u0060, \u0060assertCheckoutOwner\u0060, \u0060getSubtree\u0060, \u0060requestWakeup\u0060, \u0060requestWakeups\u0060, \u0060listComments\u0060, \u0060createComment\u0060, \u0060createInteraction\u0060, \u0060suggestTasks\u0060, \u0060askUserQuestions\u0060, \u0060requestConfirmation\u0060, \u0060requestCheckboxConfirmation\u0060, \u0060listInteractions\u0060, \u0060respondInteraction\u0060, \u0060listAttachments\u0060, \u0060getAttachmentContent\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/plugins/sdk/src/types.ts"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d794d57456e5f45d182921526f62739e4ce587a328e61c2eced7c32d206cd23"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who may pass is decided by the \u0027createdAgentId\u0027 request header (if(inviteAlreadyAccepted\u0026\u0026requestType===\u0022agent\u0022\u0026\u0026adapterType===\u0022openclaw_gateway\u0022\u0026\u0026crea\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c79d5ed79d71f8041ab4e45acf1e3c156c8b4dd84ae69b8bd2586dac4f45ea"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027createdAgentId\u0027 request header (const updatedAgent = await agents.update(created.createdAgentId, {adapterType, adapterC\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3966}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0b82b2e430561d1e34b31695e0cf51d565266e2c84253bdfc0bd555fea2ed2"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027role\u0027 form field (const desiredSkillAssignment = await resolveDesiredSkillAssignment(companyId, hireInput\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4630}}}],"partialFingerprints":{"codehealthFindingId/v1":"136d3a9fe16f2f7309852f555b616e6d17bbbf25370854f460fdd9dc7546e23b"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027role\u0027 form field (const desiredSkillAssignment = await resolveDesiredSkillAssignment(companyId, createInp\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4955}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeb83302a85401a4c33562d9f7e0c8c1a4d61d56de66f39176218e191db1b04"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027role\u0027 form field (const permissionsPatch = existing.role===\u0022ceo\u0022\u0026\u0026req.body.canCreateAgents===false?{...re\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5099}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb6b082d8d344e998c6b0208b3698f12675ea3063fc044d123f0fb49733eefb"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const updateOptions = {expectedConfigurationRevision, ...(runtimeSettings?{expectedConf\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5873}}}],"partialFingerprints":{"codehealthFindingId/v1":"69447c8d55abdce49a0fbc22be48db5ac4dc77cbf5ee66b45a3f827dc6716de8"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const[document] = existing?await tx.update(documents).set({title:body.title??existing.d\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f92a430d8e47c19b50aab904fbd522d9d46093354c39a6010c3c792d40ecff"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027role\u0027 form field (const result = await mutateCase(req, caseRow, async(tx)=\u003E{const issue = await tx.select\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"84054f4b57d4ca227ce23e6f1e2cb657b0287e6c42e148c0e8efde4b8a929b6e"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const input = {...req.body, envVars:await secrets.normalizeEnvBindingsForPersistence(co\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"67205dc5eb8042418b9432b7c580b946de5f5454e154445f43c2e46c7a962cd0"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const patch = {...req.body, ...(req.body.envVars!==undefined?{envVars:await secrets.nor\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"19928ea6a0a2087d9f0c647a23a5df7c9a48220bb0a2b859faba1fbc3c2081d3"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027me\u0027 query parameter (const assigneeUserId = assigneeUserFilterRaw===\u0022me\u0022\u0026\u0026req.actor.type===\u0022board\u0022?req.actor\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f757c09b45356b30add807c3a23d25af14063b1f5d99041f109d98fc75ca4925"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027me\u0027 query parameter (const touchedByUserId = touchedByUserFilterRaw===\u0022me\u0022\u0026\u0026req.actor.type===\u0022board\u0022?req.act\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca8df603c3086528751980b6842ae56b36ac8cc3ebb0d72823aa9631aef4d3b"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027me\u0027 query parameter (const inboxArchivedByUserId = inboxArchivedByUserFilterRaw===\u0022me\u0022\u0026\u0026req.actor.type===\u0022bo\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9119}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dffb655feddc44f8fcf690a0d4185a87bfae0b2215a5caf691ddc45204fd06"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027me\u0027 query parameter (const unreadForUserId = unreadForUserFilterRaw===\u0022me\u0022\u0026\u0026req.actor.type===\u0022board\u0022?req.act\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9123}}}],"partialFingerprints":{"codehealthFindingId/v1":"21af7a3ce0b4ff3386183f7b2bdb441ee686e252d83fb7417d827f2f9c0e1a4c"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027actorId\u0027 form field (const receipt = await requestTaskRetry({db, companyId:issue.companyId, issueId:issue.id\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10425}}}],"partialFingerprints":{"codehealthFindingId/v1":"061373aaa37b0ce1fc6fae867806b86c66ee824b5d70c612922a870efe00e38b"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const transition = applyIssueExecutionPolicyTransition({issue:lockedIssue, policy:execu\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11089}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dca5527980d62836da8e47c5f733bd6749538eb09985708e9b8548a21e13ec"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const issueUpdate = {...updateFields, actorAgentId:actor.agentId??null, actorUserId:act\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7534fb5284cfd1addf1f74fd9e1f460f023cddebd63830ab80f3681e122dd34e"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const createInput = {...createBody, workspaceSelectionActor:req.actor, projectId:create\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":13589}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d39d2e5af263e47783d114356d91dfa0b7e3828ddd49b48723f6c4d4ac3be1"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const issueUpdateData = {...updateFields, ...(updateFields.parentId!==undefined?{parent\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":15920}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf870be0819b936db9df9efb5a91981aaf8d3bc4e18ecab4680d45818c4112a"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const shouldCollectCompletionPublication = actor.actorType===\u0022user\u0022\u0026\u0026existing.status!==\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":15934}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5f8b5fa1a1339890750bb100c163fb522fddad93bf8ce61ecab3d822277f3"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const transition = applyIssueExecutionPolicyTransition({issue:currentIssue, policy:curr\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":20301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1b44d8940fb44e9e360f5377cc0ae3498c966f20375077d8cc2d2cb1c9a6da"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027user\u0027 form field (const result = await service.requestCompile(cardId, {agentId:actor.actorType===\u0022agent\u0022?\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/status-cards.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac27a5bf56e9667d10d1784f865876534a864f9cf3c3e2565f123cbc79f8bdd"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: an ORM write hook every change flows through (a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware or a query extension, or an event-store append), per-model coverage (@Audited, or a change-history plugin such as mongoose-history or sequelize-paper-trail applied to each model)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060addAllowedHostname\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":"cli/src/commands/allowed-hostname.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6528efea7c4dc00223dee3bd941a6c97304ef0d9d96402ecd2fcd53a5156e998"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060envCommand\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":"cli/src/commands/env.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6de3bc19bd71c9058d626c690b1d1d3fc09567b3b9612935167f8bad201fa8b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2882}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2290108722f24ba54bb5062d1e19991967570ea1e45944b60004a925c1111f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060worktreeEnvCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":3018}}}],"partialFingerprints":{"codehealthFindingId/v1":"290dd8847020efb57efef3797b16da129b22baed52bf03cde9558d051acc8bb8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060worktreeListCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":3628}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ab57471680dfbcfe8ef1553fc88abe272e3b43e783f8b9d1a0ba86420827bd"}},{"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":"doc/plans/chat-adapters/generate-wireframes.mjs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43f7956261f93deadd9d2b9f4f487f9b455eab82bf480d5a4960718c9b197f3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060isPidRunning\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/adapter-utils/src/ssh.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27c014d2e53d7b37bcb707c26aa6b2e6a97e6a67ea82e5e9e1ba096b8d01321"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060writeCheckpointBaseline\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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f53ed6e7d6001d2bbf2a19d7110233f14190c19b469f9b61c8655b0ba06fbc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return appliedFromHashes;\u0060 also returns \u0060appliedFromHashes\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"51212d87ebc8472590389b98b723d9d7834b65675e0375bacb4680401cea1be7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060notifyDatabaseWorkOnCommit\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/db/src/work-signals.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"767913a4c2edac1ee25d326c1fa344471e6af2001fd199f1ec51a32ec01760be"}},{"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":"packages/paperclip-runner/src/contracts/provider-trace-file-sink.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa88dc631eb5c461923b970c98968c512a39f4bcf8df4a1d9468e1fc2aee8f06"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return false;\u0060 also returns \u0060false\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"35289f6171c456e2b56962a046e90084a8510998ada07c8026f8490b95feb05f"}},{"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":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb11d825f677c4ce676d1ab0c591ee34a8b184d57bd6f129e9e7228920063f4"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff4bd0053eeb59b4b2f95803b42b9202b42b669d9e8754eb26392b5c6da432f"}},{"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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e286c6baf17a29af94e33eb18bb6c1e4920510be57dcf64e68a56d77253180"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ce5176c3d32fc8c6b0583068d81049be0d8738644df1794ea695cbfec7af97"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return \u0022text\u0022;\u0060 also returns \u0060\u0022text\u0022\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instructions.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"67957a376b77d1dfda495f0b287881d35d535f4b45b96fa370b11b684bcbb3ba"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060slackHasRegisteredOptionsAtCurrentBuild\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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6580882244e18c195b5a19438099cc6eb1f2fd3bc9ee4e3042da8e0b99bf0c6d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060readCompanyApprovalDefault\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":"server/src/services/company-portability.ts"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9a198499e8b90cc8623934d41d477f58ee0d40cdd6290f65d4e51e68082d9e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return false;\u0060 also returns \u0060false\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de20adfbcf1f798555ab7745d28529e29a60deb4c96f1cd34d6943ab67ff1c2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060release\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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40b38a2faa29d54c98e352a5608a2c83b85c80d1c65e6015bbc778b9f8ad61"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060transferArchive\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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd40ed30adba704511a30e2c09797fe442235c73c0e431e3f437450eb121d77"}},{"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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dcff37ad1455ab6f3beb1e7139e4711575550935ecb95f48515924b73e1fcc"}},{"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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf0f437c69d09c9f689f5fa44f411b226eea3ef0450888b879f6059cacbd2dc"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab021726f637038d4684c8ce37f437afe000494fb18714090ad8908e9c215edf"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":13558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4fcd182589d5cbd01022b1903abc05fc1986ee91d20bf400517c659f1a9902"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":13701}}}],"partialFingerprints":{"codehealthFindingId/v1":"70139dbad4afb14dacd07f0b018a3d40af4b4ea266a6daffbfc41e82b39c8e9d"}},{"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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb70becb7bebee7b56672657ff51231ca3bb2fbb2fa82a9581372c4f9325239"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onConnected\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":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d20b35fdc154bcc2322a6e262a46deb8b4d0b0d5da532e23305f9e6af3eb098"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onConnect\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":"ui/src/components/ai-connections/AiConnectionDesignExamples.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5748e0cbed7da811eb119e9a3347bce3b36ff97ed675b93a102f42ca61923bf2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/components/ai-connections/AiConnectionDesignExamples.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4bd764010ca0a7a92bd76dbc95a4b2941eed9144b6329c9d24ca041606c65f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSubmit\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":"ui/src/components/ai-connections/AiConnectionDesignExamples.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"555591fc093e8f0c8c2ce87cae0f5165b0ef892cb084521a63c6597227919296"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onStored\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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df7613982ceb1fdbc35f8f15990969c351ad00a00cb44fce05634e6d5acbcb6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"71de9dbf2f17714f41fc6779424e9eba83ec76ed78fde64a74f8032c517aaa35"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onBack\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":"ui/src/components/onboarding/ConnectModelPreview.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec76849b667b62a7fa34a0547d6d3dc7695aed6bdf4d11a4ad641888a97b3f8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onPrimary\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":"ui/src/components/onboarding/ConnectModelPreview.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7120e0b877172e02f7eb1733ecc9058bbfbdb9bc5db3f19c914950ed07b64c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onConnectionChange\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":"ui/src/features/connections/AgentMailApiKeyField.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc40ba4c75d7f3d8e1614747a581b2733a9a1d7bbfb758ec52cc66ff80b3e82"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onBack\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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9946e8b0c1f3d166411cade510bbb2fe20d084fb1d830c029e48ddd7b648136b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onContinue\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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7fe99b2669fcda8301379e7f3198ab3382176a1aedcf3d3bf6920a57859d65"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onBack\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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4398}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d7e3856a14da674c07ab1cb2f51b1738543c39d842fe8246c14b65399dcbe7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onContinue\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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4398}}}],"partialFingerprints":{"codehealthFindingId/v1":"230fa2b812956e35957cf80e1eaa28dc69f274365d6ec33ca2f3b08981665478"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onReviewQuarantined\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":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d1b44cf8bf1bd94fe2aa2ae58d789024b8993c118cb2150eb3b22e82c0605"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return \u0022mine\u0022;\u0060 also returns \u0060\u0022mine\u0022\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e54abdc02270c3494a780a38170166899ca9660f817d633c91fa8ca6eaa16bf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return nextText;\u0060 also returns \u0060nextText\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b25efbd4513c94b734c38121ddc888ad51c3073826c6c3266a694bab38c47c7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRemove\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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc92847d7ebfae2bd13447081157554cf5b1804af647612c155f79047ec0be94"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRemove\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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd3d21d8ddd4cb75da5c6a617c7213afc6ad527fad959e114450bd84db5acdc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onToggleCheck\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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"30357a4f7301a226d45eb33c99b11f15992f036d2da86a4952a053be5cf835c6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onToggleCheck\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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b511458dfb9c62d8d267f92157959ba424637c0f90578cc811fced366feb34a8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAdd\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab5d0aab5abb72ff5dc94a48444ed4dd36b0f69eb9f029d1512cf1f5c62a08a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRetry\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c339aa99236f208c4136cb8f1f2717f18c9c7b95564dab17bbb5be056b91a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAdd\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55c7dc3bd7fa7b6302725fa3846cdd7b574c28945fb817837fc1cda16daa2b0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"565091872cbee433c9f7c33e84c659f0c3463af08acd1170f818a53df692b835"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAttachFile\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ac5149a435e16e40eb202702d03274442b126ad7a6b36100dd900a69492f69"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onGoal\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d9c4bc0130ef36bc07f699b63d6338cf3d2f6d556ef72349124ef815fafff4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onDismiss\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"02030090aea3202abb81a34a1b5e65afc577d74bef60f3b2bb8e21f066f8f234"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onDismiss\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe190b11e8e2ec74cec5ea1ebdc4968c653eb3eaa597a52b321323707203a2a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onDismiss\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"889060a67cccce84dcd7c3e3b1f460af8df7cd28f319d7614ee29889955b116f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClick\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cbf9dce561b66cfcc70925aeda10c27b9c8d0ca41dca9156b186f2b30b3d11"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClick\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d59eb474422e61cda2e9f3815d7779e8435573030f2a9868bdae290bd844cc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClick\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cbe97513731d990a632bfea513b44bb5959115c95240f0b0c03c9da99b1461"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onJoin\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ed021a5025bf84829ab890db75a3387be6eb51de8f9b5a5ac4cf661315f702"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onLeave\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc23f8f972a47ff9a717944ec640cc0a0645fc89b780c9c3d5efcdd6abbd13f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onJoin\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd460521f8f73a5dffe78c35982e3d741724a96ec7887ff0d263778d9da3a94"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onLeave\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a549a97dfdd1a6fe6bd053af114accc107b0780a407d036ceaf3a002960d001c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onJoin\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e790194a5d003d9afb542a1f4d861154e79b0f057c2263853d1523bc81cb86"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onLeave\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6494d45d10a7574c138ae47810b8b8f1d18ba3d963e2501278e6734f408038"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onJoin\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af4a88025974dfd2e166700b7d9ab5bb3670afe29797b95e5344a835ec9cf13"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onLeave\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"578f8b6afdd48b5716947a3c26d56f33adda6de9c8db7b5c4a09784fa715e976"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAction\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"710e99a99e9f2241afb9a3a139a5d92c624c735f75b945200caecd326c51a00e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ba8aa0af540102c777ba72134d54edfbe843bf3a7c76dab9e5644076bb0a94"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onBrowse\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"0094be8cc1958c8fa882880da9984bf35f911d7db7b175d43e21d6a96978bff0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRetry\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"4256ce395de727f5dcbddad945ffd7541eede7fd0677b0234c87e4726f1e2506"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClick\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0f734d0f127ef1d0d7330c7dc384a39bbe49fbaabe0837572c8aaef07e2cc7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClick\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bf72491320ea37c1e708516c7aa7374069bbf9697c45113ba032ad42638495"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"073743244e8ae1de921f0e66427955aaa8256793793826ffbf6a4950b02c8d56"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e6e2e99e9aa7b3aa5d1ec35d6ba4ef38cc963d01cb8ab60ecd5595ec14e044"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a59b4ac5a045601324b528f41b16de11ea48063e8647ff31c5ec346d2ff7ee"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c37d2b5d8ba16db6b26d7bdd237bfb375eb571cff3be5cb2a8a823a78722d2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAction\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3687894b59354c65c24b45e613ebbd030dbc0180a1ce2f393e4f9a74cc8998"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b7048e58be305dd90a07502c83cabe45bf8f7557af7f740bc0036c5a0175b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onConnect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"579539422447467a026a6aa71babb2cec021751192dffe4bca386b7830577a12"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRetry\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a8fe59cb2012c6f60d7eb0589bb1c1b495887ad8844e44a715a8122cccde52"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"add2f0fa2058a6217b2df8915c811258715acc7864234a1ceb616b52694c9252"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onConnect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"07aa408aa9894bbfd2cad537854cc1f1a74ad08a69c8d603118effd2f0e2a542"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRetry\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"690fb9b67cc467ec5056d5dd33e875488b7a038828668ed660f74afc94dd66b0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRetry\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2295}}}],"partialFingerprints":{"codehealthFindingId/v1":"562764b1185e17aed32aaaaca924471d882b0bd2ec5d6c54ea1bae11c108220c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab0219ee223270c797220b7a1e3aefe7feaf837de442a7e63e8d670925eb745"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"181ef88596087be2366b5cc1d534a9af9d708610c5f00b6b68dbeec0ee9fa95c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3340a0c18ac5135e55ac33b25cf1c9c74dbf329d29043cada3af501050399d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onStart\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0469a361ffeeb7196f0b3f634b20ca83f47e6dd5185328ebf4537a9f33a263be"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onMute\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"38312448e06ef278a3ad64bc0e41d9d241db2d88f69d4b19aad78368a8c2a213"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onEnd\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"431b666082ca70d8e7f8a8abd32d7f2cafda768570f0323528bc4bae258ec850"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onResumeAudio\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"13109074e4ea2ad39a4d803911935966b8a9c0e2c05c41cdd2a1d816580e8068"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onStart\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5896974ff00a6314f28e93ebde9dcc516c8f5ef2563f146392b5f5e26fd0977"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onMute\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9824ecf460dadc54ed63716bebede50ba9911cb4305cda44819fbe5ffebd410b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onEnd\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd919e7ad19ce8055a320e917579b245a5a9dfc41d82319441987189b294a9a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onResumeAudio\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdedd922669b12ce571b25960bfa4dd0d4c3f1ad1b2f65624fcad08d079bc643"}},{"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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6833ddab955e13355cc24abb05dfc5848540fc39371d08fe2480c695ed4ea5d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRetry\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f76e6bfc03a33a0991e988c1302c0edc090fed7c20db3a43c354e63fac64b8a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRefresh\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5f6cf10a5fb07a5e9931b185d1dd9f888b26fc08315886eb6c9e89f06cfa5f"}},{"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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a1b5b2830f4c8cb9d0752dd130b581f72786a9571b276327383fd49b5d0460"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onDecide\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"053fe7aa12a904dea62e83e3578ba3208af535b29e2f8d479e530f5321ff98ef"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5bb22f38303557545ab0422b9e8909283365cf3f4ec951a45651388e9d8c95"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onConnect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"c670e4a0a3e906a0587e433c28e8825ffe1e72cf1dcd258de102f3dc5c339bcc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cda6ac82eeaa50ac2168a76e2a480b235bec2c25f0413e368bc1e72c616ee3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"198b5e1c8f674929f123498cc82a5726dd329c8f046ff916e4c019cd1ff45de4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onTest\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e85522a875447c2752c1e5adc669764d86955c133ed652f77673a9a2305ba1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRepair\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"786df05c0870cf34f43dfe2c0d54f15a671cd36775a3208d7de8cc271ac7aa7e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onPause\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4970b3164103f44230faebef00d3659160c454771a0dbdd2ff1d29174e86e57f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onDisconnect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5f414d17bcbf02de52614af45f779b282bf76a59e9d963e125194c976db17"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRefresh\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fa6a87d9c28e1c30e68423277cb74182d408afc013055d5812733b87b74079"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAttest\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10a85df63c9f49161b21bf8ebb38093c7c2e7400600f7f837ed097adcbf3c3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c5935f5eb90a7f3048c24abfd282162a14b74007d8c53ff8196361cb6efd5a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onControl\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd470cc63aab24950dde390f74807f44ff4ed22025bebc300c54785c6edf9da"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onReconnect\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"405f31ad5ef116e9f286828c9de0ca9201fe385e890860452afd12e19f5ae1ab"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onResize\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc1a1f6574c9f770006e1f6357549a652bdd655c23b660f9defbe226bca64d2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onOpen\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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"6360794b872f285772ecf865c46893dad230d6cf5808a30c565c038cde8c8d7b"}},{"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":"ui/src/pages/Search.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"893496d96ff962a1d93059dad12e2d86644454cea02c744c8485048185c17f8f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onDeleteFile\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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abdea421cbca926b7b1a01096fd03b3a85fa0953f1959a0ac24995b3d8d3e01"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca6ab807c4882e9368b4857e26517eaf9726d919040f6b41bfc6c181adf9533"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060defaultSelection\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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0535beb10aa68486e9aa953f3e2350585ef29f3039bfc397ec78be13f0db2f79"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/storybook/prototypes/AiConnectionsReview.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff36ddb3b9992865f2689bd35cb347fabac29763ec4cb2376b02c8935565c50"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSaved\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":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9266a54155cafd5da56306d63b015ab65a5d6946366a3f235dcf0a145ae13af8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1f4766eb00a5e8c22f27ed2315ed744018476b98154edab6feea0af6bf9991"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSelect\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":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec09cf5df2094b4a38e48b768336bb18f2034863b76013b24912193adb814415"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onRequestRemove\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":"ui/storybook/prototypes/provider-routing/ConnectionCatalog.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7136815431640878362f387f804311343f3fb137906cb229750dad397829b2f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e6782698b35c7bc67fc2e0665427e95491df5f78db70846660f5a114f2f84b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onOwnershipChange\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":"ui/storybook/prototypes/provider-routing/Management.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de7fb55baf19baacab389420e24cb10b0f7d17dde8d21c7431c37520c78815e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onAdd\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":"ui/storybook/stories/agents/grok-bot/work-journey.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"357e6c99f08266a13b55ebb639cd854232016deb9e39b7bea2afa9cc3a88c733"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onViewChange\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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"becf6666542322d4d5c5a3046ee7ce8892ef298d74b7993943e1efbe6e4bf8fa"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClick\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":"ui/storybook/support/design-proposals/ButtonSamples.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0561946a0001737d70818a47a5762ba7d8d9a657a8c06dce1e453f07214eb9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onToggle\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":"ui/storybook/support/design-proposals/ButtonSamples.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"57646a96c449d9064a9e008fa5dcf841ad9cf7f4e2877c4461f4bcb493c6db08"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onCheckedChange\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":"ui/storybook/support/design-proposals/ButtonSamples.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f1b82b3fd8ec19d2058c7b78143e2b881f706e9d94369dfd55884577f82714"}},{"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":"cli/src/__tests__/worktree.test.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"456a4e8d06028662bfd8adc90c7d5bf86e5db15304ecbee7358b6acdd0ea923c"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setAttribute\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b19703370212e800d3f14a8fbbe7cd85362fe69645339b4c1d25871398926a0"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setStatus\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a32a7979b74887eeca535e3a6bccc8629687b28aee5714296e4ee1ac37e3c0"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060end\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0728da85d64fe25124c7e72965ac9a69f2cc6d426343c0f5c0fe1899c6793cd"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060recordSpan\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/duplex-observability.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5bab8c17b72a0cc2b88ab7edf38df5dd82fc823596443775534d7f884c9706"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060incrementCounter\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/duplex-observability.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"caebbec84a41493d594f0114263282cede60987047a61e702380de277660d8c6"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060emitEvent\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/duplex-observability.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f9a5dd50c95a315e1bddc085921a3b7fdd8b458732b8a9c1500fed2c0ce1d5"}},{"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/adapter-utils/src/ssh-fixture.test.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f071510dea5408894a8fd287cc315c9fd18a3d1b342a0b1a9c12c18e0906c8b"}},{"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/adapter-utils/src/ssh-fixture.test.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"03987009450a1b17aa9dabb26085ae91dd1b198e9535cac225f636ac1f9951ca"}},{"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/paperclip-runner/src/drivers/codex/codex-shell-certificate-trust.test.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2c351333154f7e9c9ad95b57b2caf7fc99ecb251816170391f06f4a3dcadef"}},{"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/paperclip-runner/src/drivers/codex/codex-shell-certificate-trust.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"870d4fc5bab41c9eca537ef2a7bc1447acc905f2179a572519f756ae5f0f6b63"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setAttribute\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/types.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"234f750c911f10c864950e2f7bd9c67cfce692e9d03c0d169547a935de514a1a"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setStatus\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/types.ts"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe510278a5e10d5269326d42f4780f28d9861b30d72906708734b58608084dc0"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060end\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/types.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01c61d86c5a203adb42107204bd4d8617d006a03c7487aab0227e2a8897b018"}},{"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":"server/src/__tests__/local-agent-process-boundary.test.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cd07069b18cfeb59dbab796ca3cff80398ccd47a5ea9c54330ba35ef9b9ac7"}},{"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":"server/src/http/server.test.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"27285c57936fe5aa9f93dffc7e019aaef837bc08a700ea2849f6a91ec7d1940b"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setAttribute\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a152377ba08cec4ad34d1cde5ecbc13332d6bedf265fde9081ec15fc90f81ddf"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setStatus\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"308fe79b3fc4addb086f7d477b7503c508d667d3b552d26ddf6dacce79798e7e"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060end\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c94e1237932d2e9c1221a886a3f2acee7e2920c1dc8ecc027e9de54aaa914e"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setAttribute\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb6edc50b1dd26c09430aacb4870145c8ed1829589e5ab0c7c087277f6e843e"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setStatus\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3909823490369245acb33be0c78f6032f1f177820bafcddcdcfbc3384923fc83"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060end\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"63106ba2e673035b88c0797ed4911aa9f41f3ad8f14a5642703bf0c28ea85a64"}},{"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":"server/src/services/native-runtime/plugin-runner-eviction.integration.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d348e7c39bb294baf3eb4c2f95e60d14dd459b9c7b32a3adee9676922754d606"}},{"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":"server/src/services/native-runtime/plugin-runner-release-resume.integration.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9c15d8005274da1588e6aa4c2f28fd86b785696318af6de4f53d7005e17caa"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060unsubscribeCurrent\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-start-handover.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"4331a10d8441cc5fc5131062082b2c923b2553305c0b6a7d65fdfe9ba0a7c146"}},{"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":"tests/ai-connections-app/app.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"796dcfbb46d42a2ed20c379e7654412753c43234ff47efb3d9c9907395111ba0"}},{"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":"tests/ai-connections-app/connection-pools.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acb9a8c720b407df7721abe166bf56e1a7aee8704120fb793840cea1ab28487"}},{"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":"tests/ai-connections-app/connection-pools.spec.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03362ea2ac1fa3ffbbb619b36b789a700b9bf36e0e3e340204fb7840c56de5e"}},{"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":"tests/ai-connections-app/inline-repair.live.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57e9fb646cd342ee7c9b0c31ffe0c43c3fbae9ae5d0c6ad013ffa8157fca79"}},{"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":"tests/e2e/composer-stop.spec.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f408ffd8b3024a44297af6843e5f70314b72c9469355c143ad475310aa9c71b"}},{"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":"tests/e2e/connection-reviews.spec.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b88961ed9aad2213019fea0e141d9c53d89c05217ecf5f3a5aa1a82a1445b"}},{"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":"tests/e2e/execution-recovery/failed-attempt-notice.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"83701d5b689beeb6275a0bfb3e3427934891da1b14c8a007c6ca724073a7daa7"}},{"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":"tests/e2e/execution-recovery/storybook.spec.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0823df86528a6c5a0c06b09663362d8396e2d12ba9a90591a51984e16a631a46"}},{"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":"tests/e2e/instruction-working-copy/lifecycle.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb4daf730f62aa8e583fdb3fe83432b09ca46a5386f233adbf0926f58500dd"}},{"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":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecef3d8d52faf2505085dda2ca760bcd739d79ceb447f818647a1b71bb25203d"}},{"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":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"24755c9b7d4e24fa928b64ada889a4fc0d6e5e25c1ba0dd2ba407ac74a25a8cf"}},{"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":"tests/e2e/multi-user.spec.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b57e35d043f3b552048de04596f057c2236fd4f7e843e98ea7153af02f9b2"}},{"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":"tests/e2e/multi-user.spec.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09d24d482084a5b0e6c096f0858219dba5bd7ef9662bee7de3bb1b8e6f4815a"}},{"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":"tests/e2e/multi-user.spec.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"453f851f700a01d27a11093675596cdcbeeb6be98dacb84aeff29c07286b645b"}},{"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":"tests/e2e/new-task-picker-touch.spec.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"33399856c8be7af92e06333c30d3a0031f2a9d17e47c1e184b6c38a9dd8fb224"}},{"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":"tests/e2e/new-task-picker-touch.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"358d75d31a4a9b33aa47456d2fe0b8f33058b93f7ad95c915192646909a50069"}},{"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":"tests/e2e/workspace-bootstrap/recovery.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a87d0ca509b079899d6d8a45aa016ba33976ebb82bdb07f69ac09b60c179911"}},{"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":"tests/hiring-ai-connections/hiring.live.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"191994001192fad13eb7411477befb6bd4f44bedc7b5934a53c4c22a18276b61"}},{"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":"tests/hiring-ai-connections/hiring.storybook.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b474e1461270a83958a255c7b7a760f886c8e87e4d4c69a49edbd6984b1d8587"}},{"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":"tests/perf/issue-detail/cold-bootstrap.perf.spec.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40fc1f663d7ba5fd09819368ace0f6b2b74ebcfff685bb748691e2ab0c4652"}},{"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":"tests/perf/issue-detail/loading-layout.spec.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e774f4564c28d194a8ef7979968f1b903626ff998326eb0992f2fbbc12c96d"}},{"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":"tests/perf/issue-detail/saved-reply-startup.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c35ca51643801882ff084a75adc4f5d62b019197e573d2a626c5f5dfff8de0d"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-private-browser-privacy.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"557443f9c63581e50f73af5e4d9d64944e2306726de453e891ce589e2f1fc067"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-private-browser-privacy.spec.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8b18c7de6ed98ad09c5f60c909c30524715b443963fcc0becf0228f7b0bc94"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-private-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84482a36b705ba5256111a6169cb4dd403ed1d8cc46a3a15a35f945c5e9432f"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a2bb586a5370f31d54f5a9136d2fe105c0abdd3118bdd3faa540701b37147e"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67da27676cc37268c512c0db45972cbc9af0c2af14681cc92c5d1653f504c0a"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b1f392d9039d4e90b360fbd908f3ed6e62bf549365099d2cbdeaa392596a4d"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-daytona-destroy-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccd16c39f30fea5d37e99f46e1a0d1ac1b689d3b5bc724c17f40d098ccd306f"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-grok-operator-privacy.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"567ebbe8e8f39b15ca2fdc7c5a6ae3b26b0ec6886374c81dc0373867d9ac2703"}},{"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":"tests/runner-e2e/installed-startup.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f22b744f6deb94cdf1f25db4b30ac0c9dcf80168e4949dcba8ad7280a0db25f"}},{"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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d287cb05fe29d6d90f93e12b1857f8667f2f06199681a223ec4df5b1adc9947"}},{"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":"tests/storybook-visual/trial-2/task-list-reproduction-trial.spec.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3cd701adf8ad9c1ff0dcb5392643ad955770c319066e8462e22c2c69e3325"}},{"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":"tests/storybook-visual/trial-2/task-list-reproduction-trial.spec.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed10e900f8dcf9fb3b8e2deadbf04cb024e96ff001bf26d16a03a0e6c4049cb4"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060handleEmbeddedAdd\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunChatSurface.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"249212f80a6a5259ed3efc4ae2c7f19fe9feecebb67fd3fa1ea5d1f970f03f5b"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060send\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/capability-gaps/live-events.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b965616c63e4eae8f0071373a841704f0926ccd1fccf11645fac1ab47c6caa81"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: doc/DEVELOPING.md names Node.js 22, but the repository declares engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, engines \u0060\u003E=24.11.0\u0060, pinned 24. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc/DEVELOPING.md"},"region":{"startLine":5205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83bccd31b188e1e48289c448871b7b6fd142e008228beb26abf1795aac6b4f3"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060cli\u0060 is a workspace package with 514 test(s) in 68 file(s) (e.g. \u0060cli/src/node-version.test.ts\u0060, \u0060cli/src/__tests__/access-parity.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33785961eb944ffdd6cc756a67474cde09c8722947546436860f1bdd83840164"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/claude-local\u0060 is a workspace package with 339 test(s) in 24 file(s) (e.g. \u0060packages/adapters/claude-local/src/index.test.ts\u0060, \u0060packages/adapters/claude-local/src/server/acp.auth.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cfd89146889f32aff1faaf7be509297303f47cf703a5a5925bb1401f517ebc"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/codex-local\u0060 is a workspace package with 451 test(s) in 32 file(s) (e.g. \u0060packages/adapters/codex-local/src/index.test.ts\u0060, \u0060packages/adapters/codex-local/src/server/acp.cli-version.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a106e15dc201518a02a225acbf532b12181a7015891f5e0a5204d9f968c35902"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/gemini-local\u0060 is a workspace package with 59 test(s) in 7 file(s) (e.g. \u0060packages/adapters/gemini-local/src/server/acp.test.ts\u0060, \u0060packages/adapters/gemini-local/src/server/engine-availability.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108cd1afc08dc440ceccec21eba13429d202ffb1c076594f1d151e672e19c86"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/hermes\u0060 is a workspace package with 111 test(s) in 10 file(s) (e.g. \u0060packages/adapters/hermes/src/index.test.ts\u0060, \u0060packages/adapters/hermes/src/server/command-resolution.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/package.json"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef166bbe53dffc5b880a9fbc975d20d922f5019c608f92bdd46aa3469aefc8"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/kimi-local\u0060 is a workspace package with 72 test(s) in 8 file(s) (e.g. \u0060packages/adapters/kimi-local/src/server/acp.test.ts\u0060, \u0060packages/adapters/kimi-local/src/server/engine-availability.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57033b9f046755cc0295228a690a199382c6f0eb4425f61c0700509060ed522"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/openclaw-gateway\u0060 is a workspace package with 18 test(s) in 3 file(s) (e.g. \u0060packages/adapters/openclaw-gateway/src/server/execute-dispatch.test.ts\u0060, \u0060packages/adapters/openclaw-gateway/src/server/execute.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf8f65a2f1ab30f3a9670a8d19df6417e8ba10716a6d6aaaf5fe1da288d7868"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/opencode-local\u0060 is a workspace package with 70 test(s) in 7 file(s) (e.g. \u0060packages/adapters/opencode-local/src/server/execute.remote.test.ts\u0060, \u0060packages/adapters/opencode-local/src/server/execute.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b616ebadc4044c530eb09f6ff8fe3cdb0a8753298780d08c868b53f47c92e22c"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/adapters/pi-local\u0060 is a workspace package with 62 test(s) in 6 file(s) (e.g. \u0060packages/adapters/pi-local/src/server/execute.remote.test.ts\u0060, \u0060packages/adapters/pi-local/src/server/models.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bd81df8654675f342016f689c18ef6873b017217261b8212e34547924a1495"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/db\u0060 is a workspace package with 371 test(s) in 85 file(s) (e.g. \u0060packages/db/scripts/clean-poisoned-claude-sessions.test.ts\u0060, \u0060packages/db/src/adapter-auth-sessions-schema.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0144d5a6004142159149f227208b5d10ecfedd9fc07a35c6986b75878c3db6"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/google-sheets-mcp-server\u0060 is a workspace package with 20 test(s) in 5 file(s) (e.g. \u0060packages/google-sheets-mcp-server/src/config.test.ts\u0060, \u0060packages/google-sheets-mcp-server/src/google-client.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/google-sheets-mcp-server/package.json"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e1d627b60b087a0458d57352405e45227c14b898538e518d89567479077468"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/kv-demo-mcp-server\u0060 is a workspace package with 28 test(s) in 4 file(s) (e.g. \u0060packages/kv-demo-mcp-server/src/http.test.ts\u0060, \u0060packages/kv-demo-mcp-server/src/store.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/kv-demo-mcp-server/package.json"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cedb88a8141a418149e1dc624ae85d6d213a991a496f58ad51afa544cf9122"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/mcp-server\u0060 is a workspace package with 14 test(s) in 1 file(s) (e.g. \u0060packages/mcp-server/src/tools.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/package.json"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3247bc354f99f6246da7563e1cac80d6ab884032e13b6857cb2ec7a5eb94dd72"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/create-paperclip-plugin\u0060 is a workspace package with 2 test(s) in 1 file(s) (e.g. \u0060packages/plugins/create-paperclip-plugin/src/entrypoints.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/create-paperclip-plugin/package.json"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"47075d6d117bcf6464cfc1516bef5cf2468ed1acb607bf412c31dfb026a99b2a"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/examples/plugin-authoring-smoke-example\u0060 is a workspace package with 2 test(s) in 1 file(s) (e.g. \u0060packages/plugins/examples/plugin-authoring-smoke-example/tests/plugin.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/examples/plugin-authoring-smoke-example/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fc6ee49ee3d26d594b2edf3e2b33a29b0e1d0513d442c93d9744b1288dc5a2"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/examples/plugin-orchestration-smoke-example\u0060 is a workspace package with 3 test(s) in 1 file(s) (e.g. \u0060packages/plugins/examples/plugin-orchestration-smoke-example/tests/plugin.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/examples/plugin-orchestration-smoke-example/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f498887eda25af6b29e95c264125bd412bffad7f3ffed5afc510c7bf87a74ff"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/paperclip-plugin-fake-sandbox\u0060 is a workspace package with 6 test(s) in 1 file(s) (e.g. \u0060packages/plugins/paperclip-plugin-fake-sandbox/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/paperclip-plugin-fake-sandbox/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b2bc823b41083d370eb498b91fc6d099750fddfcee206a0dd045083ab6fdfe"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/plugin-llm-wiki\u0060 is a workspace package with 101 test(s) in 3 file(s) (e.g. \u0060packages/plugins/plugin-llm-wiki/tests/issue-attachments.spec.ts\u0060, \u0060packages/plugins/plugin-llm-wiki/tests/plugin.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/package.json"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"313c7d3d0fca977a1517efb912d3075dcc9c046be134a8716d7935ba9c088801"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/plugin-workspace-diff\u0060 is a workspace package with 26 test(s) in 5 file(s) (e.g. \u0060packages/plugins/plugin-workspace-diff/tests/contracts.spec.ts\u0060, \u0060packages/plugins/plugin-workspace-diff/tests/diff-model.spec.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/package.json"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"53acc41247e5e9817d2d2782874c27a8b2790cd3cb79c9258ceeac4e709d0dd8"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/boxd\u0060 is a workspace package with 42 test(s) in 2 file(s) (e.g. \u0060packages/plugins/sandbox-providers/boxd/src/plugin.live.test.ts\u0060, \u0060packages/plugins/sandbox-providers/boxd/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/boxd/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e1ccd6f285d47cf174ceafd0381ead0652f78cc86c792bfd1c017bb9a6f047"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/cloudflare/bridge-template\u0060 is a workspace package with 16 test(s) in 4 file(s) (e.g. \u0060packages/plugins/sandbox-providers/cloudflare/bridge-template/src/auth.test.ts\u0060, \u0060packages/plugins/sandbox-providers/cloudflare/bridge-template/src/exec.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b97b6cb936ffcc1df82a5d94ecc2011eb97d99ea3e8b9868722f01f3b1339eb"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/cloudflare\u0060 is a workspace package with 15 test(s) in 2 file(s) (e.g. \u0060packages/plugins/sandbox-providers/cloudflare/src/bridge-client.test.ts\u0060, \u0060packages/plugins/sandbox-providers/cloudflare/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/package.json"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6604f7b4919901ba1e3c231492a520470b458a991f3c80039a164081f0e1a7b3"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/createos\u0060 is a workspace package with 33 test(s) in 4 file(s) (e.g. \u0060packages/plugins/sandbox-providers/createos/src/file-sync.test.ts\u0060, \u0060packages/plugins/sandbox-providers/createos/src/plugin.live.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a624ad62a73b6d72c7f000bfce434c460e86f04d6bfd9cd760d789febfaf9684"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/daytona\u0060 is a workspace package with 446 test(s) in 17 file(s) (e.g. \u0060packages/plugins/sandbox-providers/daytona/src/archive-stream-window.test.ts\u0060, \u0060packages/plugins/sandbox-providers/daytona/src/archive-stream.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c941775d45ab407651cd5c9202e98b4b1d202a46b1f38a4e41dba6411d72e5"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/e2b\u0060 is a workspace package with 18 test(s) in 1 file(s) (e.g. \u0060packages/plugins/sandbox-providers/e2b/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/e2b/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01f7105dd47446b321362a0ce9cf024e93fcb3ec8e4f77939a8da209eaea4d8"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/exe-dev\u0060 is a workspace package with 38 test(s) in 1 file(s) (e.g. \u0060packages/plugins/sandbox-providers/exe-dev/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/exe-dev/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0356997ae266174c96ede731b56053ef37c17af5befe59168125f3c25a7769"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/kubernetes\u0060 is a workspace package with 203 test(s) in 21 file(s) (e.g. \u0060packages/plugins/sandbox-providers/kubernetes/test/integration/end-to-end-run.test.ts\u0060, \u0060packages/plugins/sandbox-providers/kubernetes/test/unit/adapter-defaults.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/package.json"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5427f058b3d073f2eb46e0a3876275463d93615df439f978a18c2b52c92af1e"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/modal\u0060 is a workspace package with 26 test(s) in 1 file(s) (e.g. \u0060packages/plugins/sandbox-providers/modal/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/modal/package.json"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"497cfdcdb77a5066509ccf67956b33d2a26c7de48adf4aa9f5704d69edc86654"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sandbox-providers/novita\u0060 is a workspace package with 8 test(s) in 1 file(s) (e.g. \u0060packages/plugins/sandbox-providers/novita/src/plugin.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/novita/package.json"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"081a14e3e60124e1b84d7ad4ab327b3b71abbcb29e30d3f6fa486fe2c9112ad1"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/plugins/sdk\u0060 is a workspace package with 183 test(s) in 23 file(s) (e.g. \u0060packages/plugins/sdk/src/idle-drain.test.ts\u0060, \u0060packages/plugins/sdk/src/protocol.duplex-channel.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f04253cb4a1be08f5dcf32194531bdfda2af7969246725af96cf283abfafb4"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/shared\u0060 is a workspace package with 925 test(s) in 109 file(s) (e.g. \u0060packages/shared/src/account-handle.test.ts\u0060, \u0060packages/shared/src/adapter-agnostic-keys.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"905500ed85c978aec565229ea757cb362cbe9547f216de6d82e49164b59f023c"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/skills-catalog\u0060 is a workspace package with 20 test(s) in 5 file(s) (e.g. \u0060packages/skills-catalog/src/catalog-builder.test.ts\u0060, \u0060packages/skills-catalog/src/frontmatter.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/package.json"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7c979470aa32022e22899e63e12e2a098d2d25ae83888446c3944744a2b48f"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/tailscale-https-broker\u0060 is a workspace package with 90 test(s) in 12 file(s) (e.g. \u0060packages/tailscale-https-broker/src/argv.test.ts\u0060, \u0060packages/tailscale-https-broker/src/authorization.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b44d9135c9ddf366b5c5a481301cda16b03ad647531fe7e9e25701f8a9d888"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060packages/teams-catalog\u0060 is a workspace package with 11 test(s) in 2 file(s) (e.g. \u0060packages/teams-catalog/src/catalog-builder.test.ts\u0060, \u0060packages/teams-catalog/src/shipped-catalog.test.ts\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/package.json"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"233184377c3ad9ec67e4af2b08b56076fa59cbaa2542c1995779852912287db7"}},{"ruleId":"P12","level":"warning","message":{"text":"Workspace package\u0027s tests never run by CI: \u0060ui\u0060 is a workspace package with 10015 test(s) in 987 file(s) (e.g. \u0060ui/src/App.activity-routing.test.tsx\u0060, \u0060ui/src/App.cases-routing.test.tsx\u0060), but no CI command runs them \u2014 no step names the package and no workspace-wide command reaches it, so its tests gate nothing. Run its tests in CI, or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15520a9961e5c3302b584689b98273a35c9b21f6a699727a02252f6716796748"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 20/30 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060.\u0060, \u0060packages/adapter-utils\u0060, \u0060packages/google-sheets-mcp-server\u0060, \u0060packages/kv-demo-mcp-server\u0060 and 5 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.ts\u0060 reports through \u0060console.*\u0060 at line 74 although other files in 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/db/src/backup.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e14fc833bf2fda9913b7d59c0de7693830793261617ebcd3913f64cbc7c2e02"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.ts\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":"packages/db/src/backup.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dbe82036b3d0d0af4e1341046693f5a50d67dc33c3a96c1208d779437126c1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.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/db/src/backup.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecf72bb9be3dad1de14453238908ff1d6dbc25898aaad4efeed0faabf3cf3b2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.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/db/src/backup.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aedb42e1e00e861c6bf932a3fbc1adeea1dce5f734da82ffa15f4dc7a87ef8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.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":"packages/db/src/backup.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fe719f40244fb5c958fe9e90e0b650a9c823204241c6caf1974fe2353a109a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.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":"packages/db/src/backup.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b8803782cfcf40d376884ed3d14d01f3053fc2c0f533db86bd5831b736201b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/backup.ts\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":"packages/db/src/backup.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"30922573f587536b6d3ba6e85f5d35014d4ebad4a36b564ce257c51c343e5ff3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/migrate.ts\u0060 reports through \u0060console.*\u0060 at line 7 although other files in 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/db/src/migrate.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7f1e7fb46cccdf249ae43dfb8a386431c92955f209bbefc197c709ac382ffd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/migrate.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":"packages/db/src/migrate.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb2532ced3d94e2d0d64ed9582368b0a1f1a4cffee67cfccfdfcb5d26708de0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/migrate.ts\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":"packages/db/src/migrate.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d822a387692bfe5dd5b19833ab67f4ff0b78459e828dfe38397e3d9a12cd01"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/migrate.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":"packages/db/src/migrate.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d000adf4d29da53a1fb289d1e4f705a8aeb2e670798814d40f61f1c4c50ac62d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/response-capture.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/db/src/response-capture.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aae8a69ea2e35ad3db860d0c5602d9a32ea65d7d3c3a07452dc12d3be12eb6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/test-embedded-postgres.ts\u0060 reports through \u0060console.*\u0060 at line 417 although other files in 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/db/src/test-embedded-postgres.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae960e5658922154ae4eeffcf5de22166f6d9468edd2e650c829a739f3326aa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/test-embedded-postgres.ts\u0060 reports through \u0060console.*\u0060 at line 645 although other files in 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/db/src/test-embedded-postgres.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c24cfbf505175b819fb4dd672ea58d2d1ca9a79e45ea1db50544432ec52409"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/test-postgres-owner.ts\u0060 reports through \u0060console.*\u0060 at line 46 although other files in 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/db/src/test-postgres-owner.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baf796b6e201a884a2ed6f57f0cbc76e282ed5e7e1492635c545805a0533269"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/test-postgres-owner.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":"packages/db/src/test-postgres-owner.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"991ce722b2f8eeaff169ce99983ff1b4abaa1de19efd3a66dd90cafe36c6ce98"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/test-postgres-owner.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/db/src/test-postgres-owner.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3637929780174721e4765bf4df58a0bfaf7905fb887eb3651df68a01dc76e1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/__fixtures__/postgres-connection-recovery.mjs\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/db/src/__fixtures__/postgres-connection-recovery.mjs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"328f8065cd09b9e7ee673819624040eb656cad3879b7e737c8560e8a929f5931"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/__fixtures__/postgres-queue-pool.mjs\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":"packages/db/src/__fixtures__/postgres-queue-pool.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"677120a101813bfb1dbc3054de3fbe574c42d76e8d1c119f8d029063b2697750"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/db/src/__fixtures__/postgres-receive-buffer.mjs\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":"packages/db/src/__fixtures__/postgres-receive-buffer.mjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4af106fa76730b10bc0d5cfecacac2b175673129c0d1b0e5baa108df1f87295"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/boxd/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 304 although other files in 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/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab2d34c0cce4268d476871511a57ff83cecc72d64da3bb9039a9a9e161f16c1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/daytona/src/file-sync.ts\u0060 reports through \u0060console.*\u0060 at line 1029 although other files in 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdef895e2daaae71539b9b3402a83c644744482442eb40008bb3c90d03a52418"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/daytona/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 624 although other files in 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e59c627574a916a1d4adb4ad3d1aa6d13e65cd2fb033b4ab86682eb4f31578"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/daytona/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 2067 although other files in 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65073f33b6da0f1f810b1aa60b07df5ee458a102f89b7f3b8c7b4912fba547c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/daytona/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 3352 although other files in 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10b43ac6991e878fade1908ae4a69d4451b2c77188b6812e8aa31b8348b3174"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/daytona/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 3371 although other files in 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e718ebe5c7aa46b2dae683df4936422ae68fd6013c19ab5c23674397504a311"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/e2b/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 195 although other files in 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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0a1a844af3ed9dc295a9607cccb5b6b5814bbba5ee9b531a68b67d917e24f4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/e2b/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 208 although other files in 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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"29095635909d9470c71533896661da13d63c0a48dfadadef6ece4abd5af235e0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/kubernetes/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 319 although other files in 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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7235b51c608d725795c59cd667b60aa717cbda645eb04f92977ff4e4e7b9f2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/kubernetes/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 323 although other files in 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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"acde8b33b5996b69364a2c194f84daca1deedf26e7c946c771b40df78e342c20"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sandbox-providers/modal/src/plugin.ts\u0060 reports through \u0060console.*\u0060 at line 177 although other files in 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/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0dd30d40e38d3b1da9d420efbda2ea3e8bebe234bae339e6dff61aafd03a72"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sdk/src/ui/components.ts\u0060 reports through \u0060console.*\u0060 at line 573 although other files in 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/plugins/sdk/src/ui/components.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af3495482141fae23f191096507f81e0c58a491cbcfd339625ad095ec874039"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/plugins/sdk/src/ui/types.ts\u0060 reports through \u0060console.*\u0060 at line 505 although other files in 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/plugins/sdk/src/ui/types.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c865ee314dbbf7e0a713cde8d815fd44c5c773e79680a9d6623a08a99b338e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/app.ts\u0060 reports through \u0060console.*\u0060 at line 1166 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/app.ts"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c16fa99cfe9cb4e16a61eecea77c2d152daf509543417af9f086a0a60d3ca74"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/config-file.ts\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":"server/src/config-file.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dde78bb641c2d4976b5bba9d2de180ac72fee6a1ab87d3c16818b1e627c590"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/dev-native-runner-status.ts\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":"server/src/dev-native-runner-status.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"869eb9f5a04985905b5939cdb1edd02bc7edfcd51057f0b04b75314dbdd45374"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 111 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c663dadc8d3322ff801bda9573cd9833d7eab3c4796ffaa85383d29eaa1a946"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.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":"server/src/instrumentation.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"923d84bf8b56ac376a4a5c6d3f8c5ef69510b68b531b1612cb73c357ff19adfd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 330 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f93acd1bf1ddec538a69644da48b9d58eafb8d9873f0aabeedfc69e65b8dab6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.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":"server/src/instrumentation.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5c4dff09d1644f2e25fcf4efd4ed4fe81b5873c6adfdea977907b11c7c3998"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 466 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c7486baedfac8916dbacea12c75de1fc52514b8520daccf9455838975562c7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 499 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b39a99ac2d89f28d136b811f37be32f64795f4606069c429e5bfb9daf2a35a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 539 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7fbd35de80b12bebf65c868adc5f27e44b6199b1dc70cf82e6b0bcb607274c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 572 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f44690d69bb5d9e80e79cb238d5b6455722c00a09f9e2b4a918b139c7014f3e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/sentry.ts\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":"server/src/sentry.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b0a9d4b3a6944e583b1dbd3db4eab607f6c7c7d0ffd05af28a3b603ca8368a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/sentry.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":"server/src/sentry.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3fed39bdd3e8ed94da3d36c0785c238a298942fbe6450892483c2c168e80ad"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/sentry.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":"server/src/sentry.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"24641611c3d8abbb879d6e2f2166bc3d314867f6b2cc2d7f49a0ea7614bf35c9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/sentry.ts\u0060 reports through \u0060console.*\u0060 at line 450 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb69c1664abfba166389457cc80ce7d51840200d4cb2bf10ff5f9b6b70ab53c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/sentry.ts\u0060 reports through \u0060console.*\u0060 at line 534 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc658ebe611f9121d6b20048a24b389fd651fad6448880bf58f88fad3b220b5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/sentry.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":"server/src/sentry.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"561b152a6221258ba860b97c02b49c225bbc1b55631b8242134b3a29df424369"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/startup-banner.ts\u0060 reports through \u0060console.*\u0060 at line 176 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/startup-banner.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f521beecad38d8cc716b1fd367d07356951b461a0a4c562805b60f403517bb8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/telemetry.ts\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":"server/src/telemetry.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e44419c6cd7065debcd4e84e8a192e11ec1777c652ff0a0e3933b777e93933b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/version.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":"server/src/version.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"768c16fad936cce023a9040f31327fb6b7955bfaf23bdb80bb7baa32ae1253b1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/worktree-config.ts\u0060 reports through \u0060console.*\u0060 at line 503 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/worktree-config.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"98544cffda7733d31511e08bacb003c6fccd528ef69ff60a19bf80323e2c33b0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/built-in-agents.ts\u0060 reports through \u0060console.*\u0060 at line 246 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b03c3be1c18ab0f3c3ed411b8b4ba8748146a740887e4e68342cbf36d1ab6b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/built-in-agents.ts\u0060 reports through \u0060console.*\u0060 at line 257 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edaa7becf79ec2a34d510395a5899719d5c067b16c05a13f31cdba9caba2341"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/built-in-agents.ts\u0060 reports through \u0060console.*\u0060 at line 2168 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1684deb25e51a947157e79c9f173aa97e35f5b06864763d45f0fee2ca9a5160e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/built-in-agents.ts\u0060 reports through \u0060console.*\u0060 at line 2207 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b54bd0d901a4cf897f66e5051a90a56275dd21708078694d524cd0d3a1f1f3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/environment-probe.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":"server/src/services/environment-probe.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cff55d0c2eaeca7ed34f3b3c15c3b824389d7a8c9fea5f1706d4bf3f0c5088"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/issue-thread-interactions.ts\u0060 reports through \u0060console.*\u0060 at line 699 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"c262a23bdd8124c4f47e4fff8860a0d8e873903c710ef3429d5268263e55aae6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/issue-thread-interactions.ts\u0060 reports through \u0060console.*\u0060 at line 1634 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973c2578c6e8da6d07c206e3c68086d49d8e056cdc05afc29358dce64efd80f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/issue-thread-interactions.ts\u0060 reports through \u0060console.*\u0060 at line 1661 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dfbf8fabf0aa04c80c80b1130a000682f163bc811bc2e0aac3606740efe1f6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/issue-thread-interactions.ts\u0060 reports through \u0060console.*\u0060 at line 1684 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6d215fe7b884d090604af2433813e5487da48ab4ab417bd80ac244bf72363e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/issue-thread-interactions.ts\u0060 reports through \u0060console.*\u0060 at line 1700 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94064b979c700c3c31f02b62d03f25b9ed1e5c987391b9333164d3d6fb248d3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-host-services.ts\u0060 reports through \u0060console.*\u0060 at line 484 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a8021182e1f5e0dd87f6efbb7300f154f04b996adc8601f7b31b3f1fed26b4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-host-services.ts\u0060 reports through \u0060console.*\u0060 at line 493 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7928599965a6036d49115108e94f2e0f8b68f065c84d1ba35bb34499022c91f9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-host-services.ts\u0060 reports through \u0060console.*\u0060 at line 1849 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca5230624070a75b785fd753d7bb380f8f92e91759409da746d319156dc775"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-host-services.ts\u0060 reports through \u0060console.*\u0060 at line 1898 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9f4662075c233d9a511e767ca92acd4ee8c40472377b5bacf996978ac93923"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-host-services.ts\u0060 reports through \u0060console.*\u0060 at line 3765 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":3765}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d00f9ca154cb6d744210f3c17f01f10eecfed828137d93b5e55da285df38d2b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-loader.ts\u0060 reports through \u0060console.*\u0060 at line 1163 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-loader.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"08129753a065ecc115c5304a0c266a4099ffec43c1b93ed50d8f99b3231cc78d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-loader.ts\u0060 reports through \u0060console.*\u0060 at line 1188 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-loader.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9ed26d88e163d56072cc74c1ac352964ea17b8c85e9425870e8d50f8ce1e78"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/plugin-manifest-validator.ts\u0060 reports through \u0060console.*\u0060 at line 107 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-manifest-validator.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2d0fba7280b306f90cee0adfb7d136960593cec2338cf9b0ff87d3cc20e53e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/run-log-store.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":"server/src/services/run-log-store.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a24f8fd1f2368ac83a8b1db71bb262c0e695b02e8ff931f4a81a838728efd98"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/run-log-store.ts\u0060 reports through \u0060console.*\u0060 at line 426 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-log-store.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"307899abf13d1262dcf1d5896fb86e8ae2c011a7b90307c7d52ab0bb6bc79aaa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/run-log-store.ts\u0060 reports through \u0060console.*\u0060 at line 454 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-log-store.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf6e2208fddf885706e6f9947ec472f14d9b3cf237c2861611801bca533b820"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/tool-runtime-metrics.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":"server/src/services/tool-runtime-metrics.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd0395b8067570a35e8b0373bbe1014f832a5415657a14a586b1728199058f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/workspace-runtime.ts\u0060 reports through \u0060console.*\u0060 at line 7592 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7592}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1626ef58a7d86ee31a7367b40626ccf94c125301f61e56e90cfce620e3d63e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/workspace-runtime.ts\u0060 reports through \u0060console.*\u0060 at line 8807 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8807}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d8ca917fce9747f979c9fbd03a35a8041779f16655969a283f9c20f2866d5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/services/native-runtime/native-harness-backup-migration.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":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d6ea767cfb92b8a7466440b5005f2b4c0fb6d995c85650eadbb4a6df499c8c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/routes/board-chat.ts\u0060 reports through \u0060console.*\u0060 at line 356 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/board-chat.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acdfd4ad087d360edd2fdaf69c097024ba1eea5a040f4c1bdb08b98e61d87cd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/routes/board-chat.ts\u0060 reports through \u0060console.*\u0060 at line 392 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/board-chat.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad145283ce8afa7e123ee126783b445c122d39db652574883068d959fb43b301"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/adapters/registry.ts\u0060 reports through \u0060console.*\u0060 at line 1099 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"34417c786ee3d77523acf879726f18f7c20999fa0f0980caead9b7335467042e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/adapters/registry.ts\u0060 reports through \u0060console.*\u0060 at line 1114 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf477c82c5402b7f63f3817fd37facd3494791f081fe773f62e693f09784348"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/adapters/registry.ts\u0060 reports through \u0060console.*\u0060 at line 1190 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b2a2e6aa72ce4b4338d65ddb2d46841a03364094e747c0cda2398f63019a05"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/adapters/registry.ts\u0060 reports through \u0060console.*\u0060 at line 1293 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc405824143a6c7064bf9f18c4f39b3f93fac024e2684e66936e5561629cd3e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060server/src/adapters/registry.ts\u0060 reports through \u0060console.*\u0060 at line 1298 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e82cf64ee2ea15d7a0a0011d29ee231e8b473e8b34e1564ede81188ec9866f"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch cargo/gomod: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060cargo\u0060, \u0060gomod\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ab652504b354fdd6f16bc5fba9b42ba02d9128aa2bcd6fd74560764e24247b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.request(\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/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f462f7567285d2193d0e3601b519f4cf4a72f3188fc67b71d188cac1c946ef1e"}},{"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":"server/scripts/benchmark-health-server-info.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f61e107321e46fe5bf012bec342b4d39749ab19f6557e4a2053fbffbe8cb24"}},{"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":"server/scripts/benchmark-health-server-info.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"37da0028face6c3167bdbf1d47778a5fcb26f5f361e6d8a35bb04e135dba55f5"}},{"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":"server/scripts/benchmark-issue-summaries-read-filter.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9890c76e8bf6ac3d520140e22ea7b43a4a335caeb79503763e0ae671dd706d9f"}},{"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":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a56f0f8348be5a3ac86b271a0bc9147e7a6f6821756996b2113f0dd461f8ae2"}},{"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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3f9e2802f38b9bb9157c532ea1ba7dfdfba23bec021f6c86ed05980dd3b950"}},{"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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d84525001f666dcc09156e07219052958fe1c0ea22bfd81a24ecf4aa4179c20"}},{"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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4041cfc40d32edaec762ca69db6d7dc5011b878ddd7b079fb292e72f87b504"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23e508854f4550faea0e6c2b38316117a2264b3cd891891b0e663851631974d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317007814060aec1b9d146d72531a6e690272fffed714a06e51d6079f5ef619"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"server/src/services/chat-github-checks.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e57275dc1ce9402f19cbb4e6981b8554932617f0888c6abf7093695e4f900bd"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"290bb14c5d0bbf5bef9c1cd9b0f3ccacc8e3d04a45b7519d0f2e889d862fc762"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetcher(\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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c64e3ac72c6d593b2ef01f19f9b9055358451bd02a43a016906f9c0ae64508"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"server/src/services/github-commit-details.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce35488a1c61ea60e7f16dbfeacef0b4cf2e65d75a1c9c76b71fd00d44a2235"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"server/src/services/github-commit-details.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79929ec60861de80c4c62399a52db696f83ecc9d650d422ca42c32489ab1e5"}},{"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":"server/src/services/github-fetch.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3c70c7c9aa7b94b0569fc6451c8e5fecabe9d8d2a645720058a764cc169177"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060databaseCheck\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":"cli/src/checks/database-check.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d287a8c61452fc252a2d9df0fe998e280dff4e8d2ff88e66c06824ec3bcf83c6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060databaseCheck\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":"cli/src/checks/database-check.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe5fdd0baecab4354bbc81659d97629b425fee6c96530b6998002f1cc4433f6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060runGitHubCurl\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":"cli/src/commands/install.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffbb0b87905416f9ea4dd4d38128a96f5a8a2e820d34c71e43b3633627fbe32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060runGitHubCurl\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":"cli/src/commands/install.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e287e913bb0883e71d270df0775af1bae39f77abfe1a4983e01c19b5d3a47021"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060runGitHubCurl\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":"cli/src/commands/install.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b944395ce6edad29db216491388a4be9f86a3660902ead51983905fd22e343"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060smokePayload\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":"cli/src/commands/install.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadab520e943ebd90f3f03f4105b8a36929bf98f1a68cc2568ac370bf72c8420"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b12d0eebcba53d24f01a1453d2202bc399a3dc9cda1f8eab1da52b9d13965c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a110c88fd0f741cd39f4f603b6c013754a23d207024eb7c6698a372d21ec59a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.lstatSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bfb9245a16fcddc2ce26f460ee1bae6128f595e4e4803717a2a065951086e7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca835f887b6225ca5e2ea2d142bcb8c39bdbcc9c57315a26a0f00bdb202ddf21"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d58a4b2e3f912bf5a2cedf08c2b6c4e07e7a69caf7c938ac0ac255b2eef760"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"715dbdb53932325ac46adbbd92585e611e2e007a8f37f057f24f4527b8318ff3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd097fbca751bd1021e900bff682854ad67e465a94feeb4c39a172ea401e2d16"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3b0bd7db1a0c1d4b2d61c8d78a8d183f62608e0431c845a453242a547e682c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3b18d27101c647ad5f0abe7fd3cf4cf8861696c4f7e16c056806fd61316a7d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f309fc58566eb6df91cc367e8f5aa2003c9f54d8fb42570be597430e88aca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060installNpmPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70e316b2c69c43c1ec577e7a83e5ad7d542f2d1548d1b9c1b135456bdda5445"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8709f5602dd274989a9e6f5edd2c6660f446c824bec4b2d26760fba9a78e478"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecc8de6a60bb162adf45f7b9f2e73920c2a71e8a90b834ecde583a79c14a5b4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0ddeb6b2a7d8075f0fd9e62263f2137baddb630b57cd69d84996b1740cc379"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.lstatSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e8ee38d1982029e3d82913d53599f03621d4cfc6ff3345b305a660865cb79"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013c98d5d9e2f8737f64ebf7992afea871566d85a214b6d9b5fc6a8075b75bc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0efc4c1501cb29b6bcb7fe2a35a6b1b3275f64e5f38970b6d1a1fec27fcbc1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69d867f8b10e21d3032b8308c8ada043204a295a6cc3a0bef546e65987c400d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"034d1d89d4143e5ae0bd1d115cf3a8a692e08fef666c6e17070409cbdb29abba"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4219a518a991feace5820713f3c2fad67a1db70719ed153554cdaac0ac8b25a0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ff8c236c742f9527497ae0641d515b87bbb78869f15c3e0b59f778dae5e918"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c2a0d73bed4c9934774a37979d7dded1f02ccd58b37a3779865ea40f3d7115"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2ee656dc590ecfb377763c3a533ade8771652fa99a2ff6465934242f3cdee1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"743feae1bb575353aa8e9f6e97a71e72ed25741327bd94811c35f428d3238462"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a0770a5d1c5e460c6533e35624e830216665ef561af027f5b9d8e4b85cc4d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060installGitPayload\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":"cli/src/commands/install.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"79445043727405ad8a28c24dc0a11479d62f50317dc836f935a517547156afa2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/install.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca10c0e778de16f8fba04957f00ac2e2228710d52dd84659d556894b4e11163"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readlinkSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/install.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"389e0717256b63733b1741c90bbcc04e41f6f08e2f7ffe7ede6a7ed5f563388e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/install.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d01a01d46f4024926e21060eeb292587f21e7219e5bfdcdf8297fd57603ca3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/install.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6808facd429a550486cb7ce7ad100fddf6f5f3a2eba3e088060c58a8bc55da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readlinkSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/install.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77d7a6f78800810b283190febad48ceb15105a4f20912ad7a19edd92ef8af42"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/install.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e32c90b4c197a0ae6b7eeec95ae27e582b74d97f1ab02e01b6cdcba6a9eec2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureEmbeddedPostgres\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":"cli/src/commands/routines.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"48108fea8dbeb4e6fa06727b1f084e4c2c2d2e1d067b4e6c393778671a70860c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureEmbeddedPostgres\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":"cli/src/commands/routines.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3302009948dff7bdf10039937fc7494b92b49973f852ef1af0006c2f3717e6a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060ensureEmbeddedPostgres\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":"cli/src/commands/routines.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa546ac7a5af62e675d7caf33f9cbf938a77096782d6aeb372b3851e201312cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060runCommand\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":"cli/src/commands/run.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcf71f47f8abdc660d1906333a5c75572dfa33ef75d16dab3fe6bc4d9cec9de"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060runCommand\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":"cli/src/commands/run.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e498daf9242e4bda8cd81abb27abc9e396b548db6cdc62a5ef8481d104264f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060importServerEntry\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":"cli/src/commands/run.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"986ee6cf39472df14919cd217552e9cab4960fad8c1b4a416057849d40b961d0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060uninstallCommand\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":"cli/src/commands/uninstall.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"476e22a0b2e039683a3a1e4162e02585874f0faa02949029ee16e6704e68d78b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060uninstallCommand\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":"cli/src/commands/uninstall.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c180bf411a5864ba58d40b475c75227c383e7a037225b30fa85490ced3430ccc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/uninstall.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8570d385fad22d2ec04d9a8df47bc5a3b0e761f6d8ce0607993a695b350c5179"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readlinkSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/update.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"94670bb67694d213af1e1dd3268c5128eedc50027a0d0fbeadb3d63211e465f6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060updateCommand\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":"cli/src/commands/update.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b937cb6fef76e19bac3039c876707729770853b6dd7e067bc0c5cd99ac646b87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060updateCommand\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":"cli/src/commands/update.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f90ff7a82e080b2a5e6224c23ab9a66511f5980247b6915eea87610a784188f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060updateCommand\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":"cli/src/commands/update.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"32538b732bfcbefae81c284d9d42f2b26c0feb14dae31e8ded06e51e03c2994f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readlinkSync\u0060 in \u0060callback to withInstallStoreLock\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":"cli/src/commands/update.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6b54ac517e76a14e7b8d7b2928b10cf5d4c2f7205624da0486ba5c3d33ef59"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060rebindSeededProjectWorkspaces\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":"cli/src/commands/worktree.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"092e3d3c2bad53b0babdbd86ff0bfd40f6fb07b9baabd8f2cf0e59ca5c5c3098"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureRepairTargetWorktree\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb07fc3a9b07815f0be0219aaa371f31438c36b98e1185ebcd8a3fbb0b0961"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060ensureRepairTargetWorktree\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"2549c1bbc9395cd06ef84f4efea0f203c65aaab208c3837f2c89c3d253d8b6c5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060ensureRepairTargetWorktree\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b165d9565a095e4973a0b02f8a311925ae6eac4b26ec41b56d5f03a5a5870b89"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureEmbeddedPostgres\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd0e5122e020b780173863d11c2fd63bfa93b3610807afe4ee3032e2633e741"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureEmbeddedPostgres\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea1732d1e89602f4cd684fb42d8f6de3d5025883e647c7501d49107aea8a4d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060ensureEmbeddedPostgres\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c467bf91cfabe69b18e857df79760cf6eb25927aac095f435bc03e687329ca8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectLegacyWorktreeDatabase\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":"cli/src/commands/worktree.ts"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"60adc4f6a867154208c1144beee6bdb0d181fe8a408840cbed260e263877177d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"70976e863d6f1f076345ca520259db702db1cac41a7bf94b6d517d37e3400b16"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d168944300c08ab451a31041b59c27a8da579b22384e7e631f86d14d3b9f0624"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2109389e0b1ed22ad875cdea6d63da0ae22f49910dc4a9b6e0eb02fce79af3da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50639c2d5bef1174be8b381cec746ec4e643dff9e4f854123e4512a72a7b22b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba91ec95937c96c8180edbf75d92295b100e86f61ea96d3aab0298178c271853"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d94f40438134567986ee8e0640b833cb7ab743d0ae2960166a83550702283e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureWorktreeSeeded\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f00658f1e0735a77a3e7df8d0e4800b88e9b1496cde5ea4a6caab60b7a1ab6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a72ce4a1a5de01d4dd33d1cdb9f1f6a1f5a48b567e616ab928ab7b7caf6849"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaabb7f999d95e0d9beff14be8db11336e813d736e3a8a9345b4769bdbdea5b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da6071a91691e6f1e618d34ca19d6f01ed20f8c5efdbcd1da54e669a947fe9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5cddb3a7ab36a653297a267ffe02e5ab455afc01a24d2ea80eb32aab0e1f81"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5634644c8fe27aaf30ec6328c9d93de0b75fdf14c630cbb509595eff935fd0ec"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f670de4ad52e1c06fd5c2f5fe402dc235975a7d4245fd84f35dc2e383b3f815"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7e19c2e61e1211c1650310cca8bc991b23ac0a63a8a56f2b13dde841c825ec"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d22feb5f7adab37ccb968818c9f0c0ba53303d7cde890c551895bfc6973b9d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeInit\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d81aefbc29996e965142fbc03cd9be7f6f01fba2dbfb0c76a6b45e44eefe36"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to withWorktreePortRegistryLock\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0ed3505c8d35dcb10ef7cf5d8211d006c6fae0daeab3fd93a5a2536f62ed55"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to withWorktreePortRegistryLock\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca5db085ede551d2a214e6fd51ceed8c6badfab2c77e9701d7024dcb6b19bf5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060callback to withWorktreePortRegistryLock\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"109e9aa13eeea697940c21a308f4ac935143d6250b07c3d71b9d2706d9b95bae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060callback to withWorktreePortRegistryLock\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcb6223e99afe7dfb156f62882b7d10404077f3ea3614375d94e48d6d21048e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeMakeCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfad03ea58a847a7c06e5b86c5779452a98f4e56dee687a952f529cdc68dc1a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060worktreeMakeCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e49b903eb9771f73ee6eeeceddec53968d71ad5499a7e303e1d23c958faeee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060worktreeMakeCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"47babdf9b4b0dd2dc579e9c5c46e6c3f3814d08bb75b57a655ef0aa9b114a558"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060worktreeMakeCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b2a62f2a74363928138771d38cfa51dfd1a94328f2d71395df044aece173ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34385b5daf965bbf786d5f5bdd8c990ad47f8df874b9981f57b57c47e74e307"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"27080b26558e511587108b6410d63c5211fe03af8532e741dacba98e8f28cfaf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab12b51e20d0a423bd44763607b6be503b99928ebe7f8517c17d02ff98c85c2e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2957}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9ef25dd695da28c5a056b424704ce7eb7b984806e827a998ccd321255a3078"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe063fce6b0aa3b725f6ab7271504a4f0775b2576f1823146c84da7377e8740"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"216be7c6e86d5081658c0e51e70f49290a60be860b9117d98dd9d1a4c18a8427"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d77c974724cd479c764c3e0d0f7575fbd9f3dae4f88aa630528b9f532236a5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2986}}}],"partialFingerprints":{"codehealthFindingId/v1":"a671ecfe6e1c148058d2c614a8f6c3e08c6e6a3644c25fb63cc2a4d7636a3462"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb31caad39d80fe70885c8ff5fdd195f7ce52116180ca623cee14dc61441a7ff"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":3008}}}],"partialFingerprints":{"codehealthFindingId/v1":"e437f43aff6c7ffb573c414859e94aca962a323a54e84eed0cec13ed2ed5425b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060worktreeCleanupCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc9bd03acb3aa487979f43cbcda20624b4b01fd1712cbc700630aaa790d8485"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060runWorktreeReseed\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":"cli/src/commands/worktree.ts"},"region":{"startLine":4276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2754e19305b8623774497c3f6075ff835c760e62691fc5cd2168ef6a72bad6c7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060runWorktreeReseed\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":"cli/src/commands/worktree.ts"},"region":{"startLine":4318}}}],"partialFingerprints":{"codehealthFindingId/v1":"618bf45ab683b857f862f743e1c62f9ceb11a21b45fe212d45c1c21be432d135"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060runWorktreeReseed\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":"cli/src/commands/worktree.ts"},"region":{"startLine":4345}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cad0ad02f840f342f1937d73054ee7fb5aa9850b893dab97c39eb8fb547f2b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeRepairCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":4399}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d48e53d9bfe9c23067cf4b9dd33c87034ecd0cc018f9d3eeb7d4efffda0c6a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060worktreeRepairCommand\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":"cli/src/commands/worktree.ts"},"region":{"startLine":4406}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c5a507994e3271039efd03c36ef5bebeefea3f1eb8187a4c75f7bfd4a7ada"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureServiceShim\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":"cli/src/onboard-service.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0613832b37fe259b23266db283495bf3204582cbb57ceb0a239311f3b2c07cbe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060checkForUpdateNotice\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":"cli/src/update-notice.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3fdcec0a942469ffb7056a5d55a0e42ada93006dc57217e4bf623a84141afb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060checkForUpdateNotice\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":"cli/src/update-notice.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"365650ad6450e76a340bf9586f43621073d7364c7f59f028922c84a8ff5df01c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060checkForUpdateNotice\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":"cli/src/update-notice.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7d6d9d044401afbcf9dab451b7a43f8f253828374abf09e92f70cb693c7de5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060checkApiKeys\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/adapters/hermes/src/server/test.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"712b8d0e762b51d92a02092ec93012a5d1a003d184288b6ab0d6f260eb88ab6d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060abort\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/db/src/backup-lib.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3daeba41b940b7e0589459c312480b8a6a5e2ff820fc8e63f8fdf78a5e835b1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060abort\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/db/src/backup-lib.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83d7c7d4c0da94cf05a1b8245fe16ef35a8e33e395224ce6531a555051cb195"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcce35719c83f7fc7687a58a33b7e1a7bf71acdd155a2e746d5c1b2e15d90b8d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab184f858f87736266eafc3e06c1694e4a98f50ec418567bbe8a1864148db9cf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a42cb63c87107abc93cc5c428ee1c8e31c041482a1fb9a4b18617cee1f1842d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e3f3caf2faa592bc832e3f674b74b272ca25ecf3ab526b0f7a780b33ec1f14"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"5466a61ac16795b6c896989f6893795f6a78c5376d711aa0cb86658df5a318b8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88263d6f637e640f84ca38f5b938dbec7c4c1943a9815e8f768e65bced171de"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"1925d24a7f87d887bf62c476c1c148e5e5cb7ef600584060e0eae90bc6c7b0a3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78e5065fd2de2f4d1ef3c4b020e28bbda809d6c42a873078713345546649956"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"604ee0e86a2ef9512db8dd6fdc8350c89fdf93c47a312045b8f6ef910b476161"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060runDatabaseBackup\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/db/src/backup-lib.ts"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"7430a2d6fefc8ef2ed01ce1a408a37824db0e46d8374c16a9711ae7b5edeec45"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureEmbeddedPostgresConnection\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/db/src/migration-runtime.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0ace1c5a27b25c8e1464c733f5109b0eb61c531511759aa8ae816ccaa11efc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureEmbeddedPostgresConnection\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/db/src/migration-runtime.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b1153f112d191bc465152cc6d172243fe8c7187f227b227f7a90696e60466a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureEmbeddedPostgresConnection\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/db/src/migration-runtime.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd804467555f985f1c6cf3851aaf1882ed76bcc0eee5ef9f667aec348dd21174"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060ensureEmbeddedPostgresConnection\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/db/src/migration-runtime.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"841569da56a26943d386c7569d66dc7838344ffb610002fa4f9ebdd832590cee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060createEmbeddedPostgresTestInstance\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/db/src/test-embedded-postgres.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6134894fcf581e9dcf877c302cc8dde83d83fca5209a4bd9b3d12b9b8b5300"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060buildEmbeddedPostgresTemplate\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/db/src/test-embedded-postgres.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd043aa2eaaf2337a5f39bcc8488b8904f75245f9072dcd03d4ac366d9166e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060startEmbeddedPostgresFromTemplateWithRetry\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/db/src/test-embedded-postgres.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad19327ec034f83e89f44f5316936714a77268e28fc5573abdd3aadb2a3938"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.cpSync\u0060 in \u0060startEmbeddedPostgresFromTemplateWithRetry\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/db/src/test-embedded-postgres.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"4610060c40bfcfe3a29ece6c1ccc0c326a2a0964271ead408616474e966a87fc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060startEmbeddedPostgresFromTemplateWithRetry\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/db/src/test-embedded-postgres.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"af722da3af63f843b6704a31547872fbe89e745f3ea6c23a0ba8288745bc4830"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060refreshProtocolEvalReport\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/paperclip-runner/scripts/refresh-runner-protocol-eval-report.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d333594646a2886c990ba5aa4fb170f07e018365e6e1f5e98db160c477546a6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060anonymous function\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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6978653be390c2f56b395ce43070d0a72326902871e6887f9f81789449c3a0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060verifyProvisionedGrokExecutable\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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3610db5dd54ba5069ccef2c07520f9205708b804503f1c5d9a048c04c41b93"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060open\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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c167abcad528299578aebe51bc1bd2f2b457d13a106e7e5eea5533bc4ce5e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060open\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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"339759c7cf3177ee894470301126a1ca3731eca3cc8d91227c57bae0a7866637"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060archive\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e4f04818008bd4f5e7456d5fe166f4de4a48ac9a575b29806181e015513bac"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060archive\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd32226e31bde4c3aff2ec5f5f10bb2c57346eb57c4059ffe2f19ff32bf3c8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060archive\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca7f5c7e55e0eaf21201699a1728705eeec2214d14ed7026c401ec6253627bb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060archive\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"036508721113ee87ec310fc476c24a28b8729227bda5096ee3bc6ba03d25e297"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060archive\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b278d180face9c94c66b94e0856bcf31c979d363bc93b850fc5a144784ea64e7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060finishClose\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6031}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf837d51b611b23396c5d75961814d48403bed8e5a139bed58fd106fb14d148b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060#prepareLaunchWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6247}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c732d7d9392e7e1003e73e74306be3d173740dcb21760d1e8719b3b41bdce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060#prepareLaunchWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bac533d43ac3f50c8299143dc29fadb1c47c7d8c2cb69c652af9e74964c39f8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060#prepareLaunchWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2ed114b7e11e6d1ee6828772f43b2cd814e82e2bacf1245f96118248f2783d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060#prepareLaunchWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1c60994f4c1f25996b40e5e10cd10e09905defd67d59fbcd24645664328eab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060#prepareCandidateConversationResume\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6663}}}],"partialFingerprints":{"codehealthFindingId/v1":"600990bc619a4050d079bd0afcf257603f3547870b105253768bd927b59ca421"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060#prepareCandidateConversationResume\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6664}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2165c15daf051356b5037fce0f82ef34972d4b1f35a091c17c20712c5d83ede"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6743}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddf5a49e80495983979e3f616ef8693f35cf42869ddfb40c15c99efa58189f3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6755}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfdafc362751b0b028360500b963fc5c98d32fcc3ba2e588a321f6bbfc9e782"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6963}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb03482dd1e6f480b9c71b81a753b04a14f4b5424ac4419b089d93fb9b93a34"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7039}}}],"partialFingerprints":{"codehealthFindingId/v1":"c385d8f2d20227ab0aab358d13ae78f293feee6258122f26ed9ec8879dd98836"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7041}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43857d54a951b173a5708b229e1997b4505f27ba377c9f7cee05cef7288c053"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7381}}}],"partialFingerprints":{"codehealthFindingId/v1":"827ec4ad360ff8ecbf626837c1c9a672c6bca2f3321666c3bd873555b7f6157a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d627af30e416e645d2475eb5e02a05f8614331e5d11f92bac21a4b4b317642e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060#resumeWork\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf6a8cd2f92857442a8d5bcba3ae3b4f39e9367d5cf66ab40b8d3648ebf0aeb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060probeNativeRunnerEnvironment\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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2a3bc4d833e031d8bee48ee00b9fee0622cfbf6f6facf27f7acb32c5ae02a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060readFileList\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/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6c39bc59fa4526e2d7474bab281b65d23a6f823f703e6e5d82dfd0f1de105"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060readFileList\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/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d637265aafed5bda4aa955ac557b5c2e17ed3c9013fb88c0c3d328c028527dc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060readFileList\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/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8f767f6bce4f60481e851470941bafe6dec40482417fe933a4e2c6570ca58c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.lstatSync\u0060 in \u0060callback to names.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":"packages/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29855c516c5077f05745e7f2ff32f69badf99d2ca6792f47b49a57b98f69642"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060data.register(\u0022fileContent\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d07c9200cd6d6d7e4bd26ab5d71739bc171cb08c14f5652440f44921afaba0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060actions.register(\u0022writeFile\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5ca581065173df1530cc1c78ba8ace5ee64a7c94b2305ed7ffd9855b584869"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060actions.register(\u0022writeFile\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/examples/plugin-file-browser-example/src/worker.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"913e4ee24232b4b2421137501aea4743673ecb87b90acc671cefd67a86d6a453"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060ensureUiDir\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/plugins/sdk/src/dev-server.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea683cf766b83167fa6b95fb50b5b5001dcb9220406a0b5bd86d0bf8c90ddec"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060handleRequest\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/plugins/sdk/src/dev-server.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cbc0adc5691b6fd7074853cc1daac6fdc0246816a0e863b98879104f8e5dcb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060handleRequest\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/plugins/sdk/src/dev-server.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbef1fa9a98d40020da1d437b98d57be3327174b999f4a6232fd0208f13303c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060getUiBuildSnapshot\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/plugins/sdk/src/dev-server.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2b0b367ebe7d6a27ecb6db674d5c2b19fd555e9ba2d0b2fb20e2bd56c5fbb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverSkillCandidates\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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b14639b38109b8abe326109e33ea0e448de4ab7b235fe94a8d090447884c6b3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverSkillCandidates\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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"81455e04d32f7ee8c2d1481a9abd542680ae975339a48ba5ae881505f394e561"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverSkillCandidates\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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f56d47a7ed228fcd6ee4bf14b5dbcd8ff472cd5a8cf65e66ef83ffa76781e9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverSkillCandidates\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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86c1dc9290fa51c2aee550ad4685650934ffd58fb4d333786779cbfa4135dec"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverTeamCandidates\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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8419419a0ccfbd20dd9237811fbf7b030de1cb916e45ecfddde265ec68c4bc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverTeamCandidates\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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f272cb76d914a372b412cd7033311e71531b27b864e45a4fdc50821092c8bdb5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverTeamCandidates\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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3eba255793f0462bbb10ded9c6f86f8fa39c786a4da3065a35c17ef5cf9583"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060stageAndPublish\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/bootstrap-npm-package.mjs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc23714774bcbc3e2920d42212d731341828b002a3d8d6957cb9985cb012a83"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060stageAndPublish\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/bootstrap-npm-package.mjs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70e9f3ef506511aa809d4dfa21ffc573481d50ee5c7110dd7eeed8756a42c4a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060stageAndPublish\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/bootstrap-npm-package.mjs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f56e244d96df56590fecc6e692dec86fe74d73f9f4787cdf86b6bc47c665077"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareAndBuildPackage\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/build-standalone-public-packages.mjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84264d446a5af36157c18de5dea5958cbc27d394203c38f059ce19e009de849"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060prepareAndBuildPackage\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/build-standalone-public-packages.mjs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f6772cabe747f8ba98f21e400d86497858fe37d978f105ec259cf9ba281029"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareAndBuildPackage\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/build-standalone-public-packages.mjs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda49c150cc15ea051086473544aa855a0836495599b89732bc62b3a6ffd904d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\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/build-standalone-public-packages.mjs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d930b77a7ec1172b50ee360c0ee2d9786c23bb7e306c1175ab4570bd9ee7e90"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060writePackedRegistryCatalog\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/public-install-registry.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2480af044a99385e533798182bd2f888df3b04bdfdd964b69a064eabc1abe6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060writePackedRegistryCatalog\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/public-install-registry.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83375384666525f4569463d866cc23ce71acfaf7f380ed593f0361588939e8c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060writePackedRegistryCatalog\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/public-install-registry.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"091ca2b62096a552f521a134f14903911bee56a7933987202b49df1cc6b6ee7f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060startPackedRegistry\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/public-install-registry.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"62634cbeb5ecf0a34e61f50e79b6af868155196f2aacc603151c931878f2022a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df0bc0c6e014affe2ed38475f68ea09ae36c1a14c2a27001448300e0d7684ad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"77708dd97b670717be403c47c69276f3c63ce053d2717fbdd3d4058794a44039"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"facaabd3027bff6dac7575bab632987327c97e6e401d38d69bdf0222b276dce5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0514c2b8892198fa7e88fbd14c40623e02760ef691091a07a7e1674e43a66c8b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05315fa27ec7451e48b85daca54c402e38ce89175e7647046510d0ad61bf363"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1e91373e078951bab5ff590645e16082310c3f45d70d170ee5cfc401b6835e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb906530fbd16f78f07b7ea8f39e77525c932d402791bbdf05938e1be740a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060symlinkSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a892d09ed79bbd6f32d0a398eb2c5924fa7af1fc5dfd6f9652a7e4c5d80da8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060run\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/verify-grok-npm-install.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6150e4aee39821ccf168530577a395606f7fb216c71d7b1b39997d679d9f092"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060callback to archives.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/verify-grok-npm-install.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0291f89392b304730257a7d0b47e6d6831d2b4ebd1d83beaa698afc60b4f8b0f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to archives.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/verify-grok-npm-install.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"00df2bea6a318cc785664fd0b97794bfc6c23736cd26cd78a206f69b09c725b4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bfe478f8ed21957ae691539cba015a145622c1a70ae7d4dc4db224e8da6149"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83117d1ddccb85a80456a6cee4921fb1f5bb98c857c58cb73c7530f54bda9d6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3ae42d27165e1fe9af660f874e02adc70146a17c285491acec03c208b19ac2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccfac9fb83b448201070f90cb6ef33cee475defcb31bfb8f51ebe4b2bdfc019"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9191d10b886e72f206daf8ee6d45632308342d04705423d1457e14eaa127f44"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49fcc9c3ce47d8503dba3b31926acdeb7ecf9919ec2cd7ecd7f6e5ad72425a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab9e060e697f23836736092093043bcdc071d0eb2fba104be75253939aef991"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e1221427a26201e3bf09c8f86f04de8bdc7655537139003bed1ba365fba28b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a0308e54337636034f7cb33b0baf872c6d576d1e7af57db4c087269fb4aa50"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b9bdfd605dcf3985889cf70f5aa11eed239710f87af772543874c2291eba7c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060probe\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/verify-grok-npm-install.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed98cbe865ef007ac9930b4cfa5371ba4ce2de8f0aba9a0facd410ea7ed9f5b3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ffd3d90faee09d56ebf8a510fc46b5e226ac271ee20cb1638acff6486e169e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7649630a4dafeb52d645cf0552da2766189480ccaf0bc03a41b55f488276e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060verifyMacConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"44476c2f869f0a802e19efe63db211301f471bc07679a1db1b942ca479226c71"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b489b80a61948633b6b24ae8d7eb1812d7b26fde6b958d6ca655298324798458"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff0cf83f0bc461d23eaf2c228cbe7aea3c580a630d4b463f566f7beb8501923"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc979c5ea880f053a94ab663c855d251bf0b05ea16b9225fea04a05a67e9868a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0b9f1230c46b3ed62056f2feb86e9383c553b1c73a6743e92736bc45404c09"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39348e960715ac3324895b7e019810e4279d87627a3c57d6a61d375e75fe089"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060run\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/verify-grok-npm-install.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"645e5b9c67cadb3d0271d02481892681689e19b5b6e806a4e4325f676d18ca90"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"64edb05bb412a9e696ff418addb3c742f437ee8b3d0b94f82f63eb90ccfd20da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8d66a4c57192dbbcfdf22d9dd4694e386198bfec3f0ed496dec8a0284ef770"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060cpSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"347faf909a3ffc6b346ffa2021d18f26f5f7207521fdc1bc728afc33fcaf0fed"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb662bd7373f2e52def4480ff630d965c9712ef914c4e2691c02490c2e20a847"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e84ceb51f1db6e8a906bd662aacb5ec9c57e2a7ed148234eb3cd063fe85dad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2912ac72aedbc1663eb2128ad66f6179f1946ebabee73fe06d3efbbca0c692b1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9323efd6e4bb9a35df5de049508f4fd5e268bd1347704e3986ae2a3b4cdba0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"541cc81005ab0e4cc756418ab984166c7893c0ec01e3fa31c61f68e74c45f7c6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adaf6bedc90c3deca79b696f67437412fb3beb0fe27a69a3489114b65228e46"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"61058ec62f44832c6efb8bd0ad773fc15cd427e674b752dabbc5b7a79ad569f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6769d79cf6b0bec5565075efefb382164127d1d467ff3122a94b3ba8986d9fef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4492dbd5cd7e9d88b0b69135f25160d8ac7cd5463816b1fbb0181ea017dd7907"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67deb42e52b4905b566fc49093ffeebefe7a4cce5c92806633b83729c136508"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060probe\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/verify-grok-npm-install.mjs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"186f166d385f9a0c710eb3f88854f76166ee4d4c4774971472d249260c989fae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060cpSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"38590477328c656985fc266dd11398cef704836bcec5b2e10274df2f9f6168e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cabf670a61cba9e552c13f1e55c65e9a8e3f3fdbdbf89c6084a9f83770e4b1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f573eed52ad20e7f30a530ca03bbec3ee31a3a1a90c6f6f3a6a616002a7d0b36"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e5b1d692b9b25e88c65f2e0b6f12319ae400f93d1075b292ad847716877661"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060hostProbe\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/verify-grok-npm-install.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53580f6d7c386f24aedda84793062c5703a3ad235fd8a479779f53ef9fb7a85"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060hostProbe\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/verify-grok-npm-install.mjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"62142fe72cb9639203b1b84db190b8c91b8082885753ee37836bafe599ca6f4d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"851fe06cb6c215a605f1efe3353f54f567320204fc8914e0334eca00bc68d78b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2a3fa63241863131eb3765f746ccd4a7c2d59d6eb5ac3f5a196683cb889a57"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060verifyLinuxArmConsumer\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/verify-grok-npm-install.mjs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1349a46b0b234aef6884e00c8e56789c1b938dd7037a29ac63e93a0487a9f448"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060callback to builder.onLoad\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":"server/scripts/benchmark-native-backup-publication.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfcaf32f2272d88b0d476af372aaec0b743ad2a8c9c8686acc4352e4c2328ef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060measure\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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dd228ff40d05658eef19cc132b0369af054536028a4d8e4f9292a462689aad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060findRunnerExternalPackages\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":"server/scripts/verify-runner-vendor-dependencies.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62f3aaf6a58dd9eaf4e73f13e06ba5d72d7c2424bea847ef972db83afef0b65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\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":"server/scripts/verify-runner-vendor-dependencies.mjs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"39510ca91026c983d924df786c66187200dd0d712edeff2069dff90fb3de04a2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to candidates.find\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/app.ts"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b33886c9e5c74cf9ae8c1110b7f47f82e6f5f042577e0276b934325e8b7ac8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060createApp\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":"server/src/app.ts"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"14877a957c8c92d58dfdc6fe62f9a52e14b9b08638b72267d24303421e41005a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060startServerWithDatabaseTeardown\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":"server/src/index.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5d8b73e732d90f6f01703f3ab642d6cd7f0e59bb6cbc835aeabfcc30adf10d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060getRunningPid\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":"server/src/index.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"45158430f2a145b53df7e69e1e46717aa7ef169e545a7f9c7326c6f04784cb9a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060getRunningPid\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":"server/src/index.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fae6160ab6bea4837e6e7d11afcbaa180df13c168bb01aee84f2a8b95f178f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060startServerWithDatabaseTeardown\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":"server/src/index.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"546a1f7eb998a6b331a878bc001013cb79550004d4ad5521e39b01b38388fea6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060startServerWithDatabaseTeardown\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":"server/src/index.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41948bf4250e100c7382a543caf0df939e6253a79af5e6ff81d8ff976dc2954"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060startServerWithDatabaseTeardown\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":"server/src/index.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0edb15b78005592ac8da75067a77feba4f7cc7e6422fd39139d9c06bbfcdfd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060beforeRestart\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":"server/src/index.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a0788f7d8ab313158307fad0b5f016fdd99e8ee31483581032b1830760df67"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060beforeRestart\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":"server/src/index.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e05b09793e71862c259329aabc4d07a9d531b215009744d07e66852215d145"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060startServerWithDatabaseTeardown\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":"server/src/index.ts"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1519f14773cd0fe3b18188287d3dfe7f63904dfc6e3e43e91f4073efe7e1850c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060handleExecutionWorkspaceRuntimeCommand\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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c4c9fc8739a3dc970f1582a9e69935bbf1a8621d94bbbe10b42bd9bdf0b4e2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to setInterval\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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"328706fb318de2042f6201f2920adb16b1ee0a3363827bd340cd75fffb2e1548"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to setInterval\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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b28c79c0cdece2e8484499ac327f47ea635199cfbe73d8c05b6cca5853f155a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060run\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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad460671aa2f345bd53e5e2e109facee5a440fff612f3cbeddddbe6d28b1053"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060run\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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e253e210b85e24ea54c4a1cdc6bc8b2998d81aed326ff5829b72004e12c9982"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060router.get(\u0022/_plugins/:pluginId/ui/*filePath\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"048154b57a3c92a624fafcc2c9a3c3908114dc95c2143ebec908346c61bf0bd5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.realpathSync\u0060 in \u0060router.get(\u0022/_plugins/:pluginId/ui/*filePath\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f26a9373e3b0e1cf6dcc38c03d644bd6d014cdc8effde69242376ad83b50d8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.realpathSync\u0060 in \u0060router.get(\u0022/_plugins/:pluginId/ui/*filePath\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93895ac8bc56d0e34209b8b171b9cdd14cfb7309e8776c72455c702c3b4b5fe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectLocalEncryptedHealth\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":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7487ebd754c7a77ddc9d1e3d20d0fa1a806759d61bfe863d232d4d9a97ae46"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060inspectLocalEncryptedHealth\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":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08710659c5f6992d79b31c531a39664376582c64d0d303bfa9f9eb3c29c6881"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060inspectLocalEncryptedHealth\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":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd7fcad80ed042dae31a67b3734c6b4426f234e84644ef249d0b87eff58007"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060generateKeyPairSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/agent-identity.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba7b9cfc0be73a285662e1ffe8136a571efbb5d1659be2cfd6e12d6c1b6bc62"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060anonymous function\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":"server/src/services/database-backup-owner.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec134c7414283806d2fdb46b67d8ab368aca77b8c679ea711e4a8d46a7e23262"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060gzipSync\u0060 in \u0060uploadTraceBundle\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":"server/src/services/feedback-share-client.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de6708ba7db76b667daf151314b2ca1825bc42e0818745056f526d74ac8e00"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060publishNativeHarnessBackup\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":"server/src/services/native-runtime/native-harness-backup-publication.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"78be93ca38cae0ca8bb90fd8833bf8f7c5044547bd23fec3fc66a7aae05b8c3e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060publishNativeHarnessBackup\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":"server/src/services/native-runtime/native-harness-backup-publication.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ce407acd0411508c67eb23e5a31c3d854c4038c690e2fc5a618991d453d7a5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060publishNativeHarnessBackup\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":"server/src/services/native-runtime/native-harness-backup-publication.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"368753237aa33baf5f92c3fb8ac6846c9e8f8fbb7262e796fd5a453740dfde45"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060publishNativeHarnessBackup\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":"server/src/services/native-runtime/native-harness-backup-publication.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a58a802ffb68f1aeb2fd18ef69c73081893ca5ca757fbd04372d623627c124"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060publishNativeHarnessBackup\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":"server/src/services/native-runtime/native-harness-backup-publication.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb40c113175bee66a3d5ae4eb52aaab928fcda8ea84b7513e46fa76f1b0a55f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060publishNativeHarnessBackup\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":"server/src/services/native-runtime/native-harness-backup-publication.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba80d010441d9bceb6b0e738bc9eea841f9416deadc3d6b2b18f7068315a4380"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060resolveOutboundTransport\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":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f62c5ed90133f2f28d829f906522f8047eb5f52b3867cbcbbd7072619931fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060unidentifiedLocalRunnerProvenAbsent\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d8a390d20c2bc2013a67c9c2db6cbffc465a8a03fc2ddf7c7978f24fb0f324"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060unidentifiedLocalRunnerProvenAbsent\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b227b168c666dd6ff1eeb1c5d43b79d1136a5fd4095616993b1f0391f594cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060unidentifiedLocalRunnerProvenAbsent\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f607671840883dde0e23ad00a7d39499f2a3d822501d4d1d9c4965b3cd7663"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060provenStoppedOwnNativeSession\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6768e0b242407aaf09d5b5b16328e753d5e97bbd535aa0eb002e9325e2487d7f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4131}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a72cf74ab48b5407ab599d9bc80094961ee6dd475299b5b906c065f1af48ad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac79052492cd3009c76a6dd9ad4c19af00570f8462d8844e7d253f1958e563"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db3f5527fdaf1df94e2a5e4089f4c4a725b2fcfbf7227b8fa0788c24cfafe37"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3151f17a048b96d242fdb00e9bd831b6f0c5701d6c120447bfdb347b680e7072"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4181}}}],"partialFingerprints":{"codehealthFindingId/v1":"99597edd544ba2e3a7d7836055532ff4997d184588b214fe55b95f65f9801c6e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a5d870fd2e9fbf527f3a6609cfacaea4877b3628351fd628c84d2c53ff99f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4218}}}],"partialFingerprints":{"codehealthFindingId/v1":"231bedfbe41f7f78776affd6a26db8c70ec5c75373c272d7df74cca9d9593ac1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4359}}}],"partialFingerprints":{"codehealthFindingId/v1":"38286e2d83b06ea3fbda8ccc97678ad8171034f183cc4f8a05a5c2467c85c52e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0534ecf71444c404baf533143a48604efca274393dcbe41d4f06859a3d4c359a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060authorize\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4535}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d573d7eedcf1204c71b50e1f99008072f086f1bba39582a69e704598cfbf0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f376c63625d253dd653d21cd22d3756f7e730fcf5e0c5a9498f516a66bde72e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dcc0850253c7e1a47b9c681958e230e7850a383c88aa68e1f2e53f9789722b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4602}}}],"partialFingerprints":{"codehealthFindingId/v1":"e231ab65498a4af098ac8555c0b5717181e2681b4cadc7c558e471fbe038aa1e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4606}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb42477ff330d8cef53ae9f1c60a139f5a5f6729c6ee2aaa1b4557283c1ee85"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4619}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4c30865cfa83b189e2f03b4878fcf4898951ae069d4b753fc0f07160518f9c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4642}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ffdf7b968eb4d5acfe13b30d4fd6e6a6a74babc5135b3b07b88df1fdb3f5c4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4646}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa93f2fe0de7fd917cab229d4901d8836de04349a0a51396d2c1ac994879887"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4648}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d438a42190be769c325091c0d0bc3566b434075e74427769ba576e1c69474b5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060copyFileSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4650}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b13752d480335f7bcc8f35e9f4de2959ccd8317ac8feb1f28f77261630c317"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4655}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9626d5f4e43f1277b4d4f9abeef4ef786cc388a0928bdc428746eb9e81b0c20"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4771}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59292136225159c9456ebadb89895224d0cc89ce030654cf4b30559977574a3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab57cda92409a77493b6cfeadb1e775dd5e32f2efc6e1fdfb29b6d6d32a24341"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4824}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c5df51fa71f725b531e1356b2773186595da0afe03af729501a34e8dd255cd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4826}}}],"partialFingerprints":{"codehealthFindingId/v1":"71994992429117bafb758a7348b635ab122d371788989712fc018264cf56ca99"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72176950be711661c2953db8710c6da394f31953a7ba0426c851b20e2e7498e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectRetainedNativeSessionCleanup\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4863}}}],"partialFingerprints":{"codehealthFindingId/v1":"e381f1a5ba258bd996a3cbb8fb417c55ff931eb061c21cd0cbc01a160bd5864b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060assertCleanupActivationCommitted\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5003}}}],"partialFingerprints":{"codehealthFindingId/v1":"5543cf4c8476a42bd3725b0c5fb3b120b44c14e19e25a993861cee862f14c6d1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060assertCleanupActivationCommitted\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5076}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab428c15cc9b04ca4dcf08f48137db9b449f364f2f50c24b6e653db8bd1f1c4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5863}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bffef2d3282a91b604b5f812ef2191ec38cde0c025618501fac6b655130c8c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2301581ad75de918eb1f125adf5b04111e8d4cefa33917dd97754536d8e1476f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5869}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcb457d7094bdb60c9fdd27db1d72abf92f99a188ba5722609eb91e73cf1224"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cff1569b2d79f2bb70e24c56f9035da4d931ba6c77a5478add1a61beb819f24"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5887}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ded31eb7c83d099b990aac9945a22400182d83ccaa3a0e6babf943e0e4690d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5912}}}],"partialFingerprints":{"codehealthFindingId/v1":"3582f42684491065058e0a193c01d5f8114d2863f82168a0be1a5db3283e2ee9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060recoverPluginRunnerCheckpoint\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5913}}}],"partialFingerprints":{"codehealthFindingId/v1":"54343ce49b43d4ceef7b44359889047e66ff88ce5f5f1afe78ece4cb54f22474"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060inspectFinishedPerTurnRunnerdOwner\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc9780c2cf4ebf25024e7eac4b2c066905ee55933cd21d07de28ff147fce044"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060inspectFinishedPerTurnRunnerdOwner\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef0dcd25acc8b7e3c355d70f182a8e17c7da48d711a1968870d6ca4d9484aa8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060retireFinishedPerTurnRunnerdOwner\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbb77ebbe2a00e4b6862b4b87c5fc1005cf0bd406d31c8f0f2fe94c836caf0d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2c263ee71055982277f7ac4ec03735d5f7d050ca5d325d65bc4d4d173c155f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc2b42044e302fd57c6267fbfb08ebab9dbb5e376a5905d032c00546bb2086c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406989eb443abd74707297616cf5a69973b0f8093f4056fa0dc84aee7322a32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8669c2700738fbf47f769e337f3ae0cf5a6b5e07db0561ce5b2b7c5971d48307"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6298}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e58911303091f2e19517cad95c57d34429232eb56543d936cd3fda7cb8d087"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6299}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c2c98abc4a70d77f8ff50267ddcbeb9a639f04eafb7558983c80cede041c4e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6300}}}],"partialFingerprints":{"codehealthFindingId/v1":"78beeaa105ea7875e07bcdc66d0dbe9180453c5f250b09fa9897d637d3d6ad6e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmdirSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6301}}}],"partialFingerprints":{"codehealthFindingId/v1":"106aadfb16426b9f26d232f95d5ac4f7f8e36b80bfeeef0bcca0c86062125577"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c213330ece45f5273c2f4c9b95aa138dad580683b6f8ed9a73fc37d0f0a4f5b5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmdirSync\u0060 in \u0060rollBackUndeliveredAttachRotation\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c2bc9cce357d78dfe0f0790eba75532bd52d749c57e5dcb18df57918c6d2bc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060migrateRunnerdStateRootForExecution\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6377}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce10779934e0740d79bdf8d217469194b4a3d0463b2234945f78e7ea881d4e6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060migrateRunnerdStateRootForExecution\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c0cd3ab435dcf3d1ef98a925d575e62cd0a1258b1a298b0973209f192ac11"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060migrateRunnerdStateRootForExecution\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6406}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e850a83adb9d42e3ffe7775294403a968b59ac089b15b0c0ad386a087d724b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060migrateRunnerdStateRootForExecution\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6556}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3a9a15a2c4289275f76b650339a2ba31dcccb92ac1da49ebd41a0f01ba7453"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6614}}}],"partialFingerprints":{"codehealthFindingId/v1":"df406613d3371c83a9f7aaae7f0bf87991f6e4c6d2b781e155c532e61f02d921"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54c2be6497745a5ec4d62cb69964894c5c5886222338455f0ae574ef0e4a5eb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c131ffe1652cacaab6006895a666284c664fa5a6bb38b79fcb6dd75f506f874"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to candidates.filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6634}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25786400956d65f412f48fb03f6bbb9a8913a3833fc1bdac8bc8fc5b64c6657"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to candidates.some\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54c32e7d89feef68c49f284d91a9ed75deb0e17a4be6632e17252828bca7ded"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb31db3ed56694278458bb9938a4105288835275814d9a90cbabb732afdd9c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6863}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b51df7ee439ca8ac2a3ea0bac6421ed8febc4d0da8d409ba1084f9475814dc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6868}}}],"partialFingerprints":{"codehealthFindingId/v1":"6687da54947cda76f6da70939ea26a2e98f788808fa02aaceb51d493dbd929b3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6875}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe6257bb61a1ba68a9ab44e461e74f26ca1744cd243deb02006ab45097cb05"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060recoverQuiescentRunnerdState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6882}}}],"partialFingerprints":{"codehealthFindingId/v1":"466a37703a29e382183c830d5852d4f9863e5215657ad4fb6530ba4582c9a380"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060restoreRemoteBootstrapCheckpointForRecovery\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6945}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d6a3a8f82949888cf30682352d73160a637e4d5bec115d5887007897a65d7e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmdirSync\u0060 in \u0060restoreRemoteBootstrapCheckpointForRecovery\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6947}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbe4465d04773ac15868094ae31f58a84b335e1d46010b121bb06ae66dcf7d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060restorePerTurnRunnerdController\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7445}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bad6e8aeb87c0d6cf383bae56fbac7db4837ecf248cc155a382ed5dfed5d70"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060restorePerTurnRunnerdController\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80144e4b4ab09e1b81771cb04fe435a04157851e1787d9bfd74783ae5e5e2bd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060restorePerTurnRunnerdController\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3397eccbce438a388a24e59fecbc85b6d5f8ac3d67a0eb473d5c8bec7b514b4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7499}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b821b181b2e46c6a8b6b8047cf38ec2d339a4295292480f2ffcf3f9b2d8afbe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7554}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac560b6d17cdba346b10ffff0f292e281ce0236ca3e42fd900c7b6153620d74"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7557}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d041a5cde55eae019521c8490cd3f88f5e9f758d60bff45ec276debf15c854"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7558}}}],"partialFingerprints":{"codehealthFindingId/v1":"df35546aab68ce7151305b5177da9a6ec87de0ebf2e89b9762ccb704ecf01593"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060callback to db.transaction\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7562}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d7cf7d6da0de3d508661505c9bc2fdc089195f5f1efe6a283296c19d6318d6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060restoreWarmRunnerdController\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf937ed0d5cbd1edbab2a4d2ca52ce24f1dd0b08b5318702f059ab4e782900d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060restoreWarmRunnerdController\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c523a8f673690a35cff2f09ac02f6a76043f3e17f294c9beab77517bc0a905e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060buildNativeHarnessBackupManifestStreamed\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2808be2e3149c5079b7f2139df2b15172d98df02c07d0a74e6632064198cf5c9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060verifyNativeHarnessBackupStreamed\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8407}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab068b6c197caa44512eecea2d8d4cb7d39ac9ac8f10139a232f9129a91ff7b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060onSession\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12590}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ca83880300bf6103b72f658fff3572b6e11c792745275263902bbba6e5da29"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060stageRemoteRunnerDirectory\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a92dac377f9f0363cfac1b3d963f6ccafe02b09e97a76394a8b0fd388b8b57"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060stageRemoteRunnerDirectory\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14526}}}],"partialFingerprints":{"codehealthFindingId/v1":"144f52b0cfd61442e4d4098f74e9b707949bfc7203b5def37157bcbbd6c42da0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14892}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634a6a98c67602738679af9fe5dc3fa64e4bcf150ef7c50a1d40f33420390ac"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14975}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f6d239dc03e40aa7a887a3ec6afd9b0c32aabc98150b3b6fa9622fde8bdb46"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14984}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcf8891a7dcb3df94d50a6089c5f3eb8d50ceaa504460194fcf4d8979b71dc1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15001}}}],"partialFingerprints":{"codehealthFindingId/v1":"d477c00591eba5d01a4b351ec02ca37871273e67131220be6251cb76ad2e49bf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15002}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a0774e563134f4e2d6c953971195e84954e917b567a5bf77094c886c37d1ee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15003}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deba6bb55e8fe0565c49493750ebd3351e5eee1318432efb091c76228557194"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15006}}}],"partialFingerprints":{"codehealthFindingId/v1":"8624ecedd791beabc6fc05e4bffe1d1cc981caf4ac595cd93f7ccf562acd4c79"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15009}}}],"partialFingerprints":{"codehealthFindingId/v1":"9131ff5d251af03b545e70b54c64189bda9d1a0127849c16d774daabb2454d60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15016}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cea16eb6749156a7eb535677d580082b70a02e249112f1717a91091978e5bf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15019}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c30eb6f85a6b195b368d13ca9495e30120aa9a8fbb1c608e4bbdcb39ed36e6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15029}}}],"partialFingerprints":{"codehealthFindingId/v1":"1786414ee2c80efab97604982a54bf4c8793e4e6497a9fe2ec88d084ad6b0a5d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060syncRemoteRunnerDirectoryOut\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15031}}}],"partialFingerprints":{"codehealthFindingId/v1":"a569f470a953e67d9dec5248aab756c1332f412af001a8f391012d345e3260dc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060readProviderState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80870410449cd3bb03681380071c56c395bfeeef4a078cb63e5d9750d04a351"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060readProviderState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0246cd9223eddfe8bad4dd8fdb49db5f196d9cb329213a0334c765babf5cb30"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060readProviderState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce61ab9865d0cec495dcf7ce846a19604e4cb0cc06ff3f294a7f072deea94855"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060createRunnerdBackendWithinSessionClaim\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f192cdccac62ec9224812d54cc79dfdaca01d70e94f9665b7efd72d53ce8fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060createRunnerdBackendWithinSessionClaim\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16829}}}],"partialFingerprints":{"codehealthFindingId/v1":"5129e58e76705ad8ecbced417bbe3ce8d585036eb90aa437f7188cbb06948350"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to some\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9a648a3ce7b7906b5e0eb0f05abf785b9dc4963ad4a8a2efd1f5ed7e3b8f4b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060retiredSourceBackupAuthorized\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c90feaa1fee2ba21003ebc3f2ddaad13708dcf76887fcb1ee1809c2b8b2acb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to some\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17583}}}],"partialFingerprints":{"codehealthFindingId/v1":"05239af88962ccf373188951219327e7b2ae0289472f7371a48971aed01b0069"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to measureNativeRunnerSpan\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17770}}}],"partialFingerprints":{"codehealthFindingId/v1":"8212c3f904dec11477eff9237fe5193cd28f5797b7a7338902ca0c67108967d9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to measureNativeRunnerSpan\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17949}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5abda3af04d64879376660ba66c48baa346050c9588c663f46c1bd620d6a451"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060captureSettledState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17959}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6be59571f5e950e55154fd854da37a97e9f50fb08e33d73186bbaab880bdf1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060captureSettledState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17968}}}],"partialFingerprints":{"codehealthFindingId/v1":"2181e0024bf6bec906d311fa9b202c47cab94ac6f921f7674bb597daa948de06"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060captureSettledState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17981}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8028bec8bd4de7bed36f88e94859c8588563a18ebb695b8b0be205ea28cfbb1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to measureNativeRunnerSpan\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18017}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b731fcc6198d901aa326f7eed8f214af03f1847913923622d4a9f46aaf53d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to measureNativeRunnerSpan\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18021}}}],"partialFingerprints":{"codehealthFindingId/v1":"742dcb5d504f80c6cd06dcc6e1dbe608ffdc637fbd598ea219b03546754cb977"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060archiveContinuityState\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18243}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2bd7f8c9fca2e6a1939471afd95882f08aecbbe66107182f0f67e445bcaf2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareRunner\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19058}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c4b8761def408e7ecd59d3a703ad8f8bad2c8154810784b60403a65885d7a6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareRunner\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19080}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6708c0205d6c5cf0779c1c873288931691553fa824b6d92d43fe67b44fd40ae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareRunner\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aa41e44443d8fe403b28dce202f2f7df346921601872df2856bfd41c511c51"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareHarness\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdab0b527c155a18b94bac0087c1080d6273120a257125dc451725e7837a21"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060probePluginRunnerEnvironment\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":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59412152958ab5f36ad55ea7824bb6feba0983259b94fb901345201b1d1353e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060probePluginRunnerEnvironment\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":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"666faadc09cbb92f0ec825ea0cf43acec3287fabad722286dbc5dcd7b4287e14"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060onCleanupConfirmed\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":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce214cc76df4c157d51d88dc50364f6a70c35a904f6d8ee543cad3e387d325"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060probePluginRunnerEnvironment\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":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a642083b8ac4f2171a7a8078558068c7fa94ca416a7a5a964fff2f07b58330ae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060measure(\u0022harness_state.launch_material\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"611ba4b237fdab318405e33353d031a863fedc6e04c2bb1357d9421d06f58f2f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060measure(\u0022harness_state.launch_material\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61e14886f7f4252aa64a4652bd81d2f5918d0122ac14c84d355816eefd960a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060stageRemoteLaunchAssets\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":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"74af645869462a25d8ac43a359ddaf8c176b4d707e212e45b4afc328aba20d74"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060executeWorkspaceToolInLane\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":"server/src/services/native-runtime/runner-bridge-tools.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e764ada482927e82f80c7c34c632ed1f393ac3737e317d33f02621fed1d064"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060fetchAndValidate\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c069b945b3f54359be5f6fc97f2a3ee2d32687ca621c384437c1dae126a9ee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060fetchAndValidate\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7ef6575b3542d9111644c6089595944162ac6bc7d2e88359626b7a4582f8be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060fetchAndValidate\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6309cf40b4b61ec5b02dcda35cf32be04300aebc8b19366be34ce7cc60138e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060loadManifestFromPackageRoot\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc56d8e02de6208a788bf7c0e0e0a72213c54982e399c423bf2681c3f0b48e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060buildDiscoveredPlugin\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"1381ab7e617406ac6286e530d6daaf9e0f157a9ca086eb08d2c87b9b52752478"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverFromLocalFilesystem\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb9a5785980cc63dc6d5e566bc91d311c514e8fa1580c6b6be3354c29a5f378"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverFromNpm\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da8d236a82b703689e5c1b2af5d0a6234c238ca6aaa81bf4e35001a67aa40af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverFromNpm\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"7559315f437356a8ff337e388a4938d9d7d59856c6d869a13b3ba4d6d78dbbdb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060discoverFromNpm\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e636319bd4062294f87e16bdad8e9e13f22ab6fee21ce6bbd712f8919159fe9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060loadManifest\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fae0c058a358cd8f413661de4a88e1726e14923c115f9e642435354a85e2ef3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060cleanupInstallArtifacts\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82c21ecaf72eb61dc1c64bda1505ee31ac6f5e01f71f7b9d771aee92f82069c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060cleanupInstallArtifacts\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"392e8e4fe1a8744908d8c97941fd2325e9a81f6e9a0961b4f4d1b1d847375bdf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060activatePlugin\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":"server/src/services/plugin-loader.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffee3202465df4ccfc52582ad8e0bb83151df1075cdc1047ea64f271d97ea3a5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060loadPluginModuleInSandbox\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":"server/src/services/plugin-runtime-sandbox.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1054a5f071e85b23544e5b3a336a824c549c3daf8f42bda8bf4f5a5e296c778e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060loadPluginModuleInSandbox\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":"server/src/services/plugin-runtime-sandbox.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b0e064b0cbc1c20e775acee5986b84362c93e58aba1ef473ad00ac040cee1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060detectGitWorktreeInProgressOperation\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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6e0f6e842b5a08767fa00df44c9d5f69b8a3e457d50cd3c55ac1eee5906fa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060assertGitIndexIsUnlocked\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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"820a11dc3ced177235fe0550d058469e6d6540cfe54d324b1b1b42b868f0b02a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (249 clone groups): 249 duplicated blocks under the repository root have copies in at least two of the sibling directories cli, docker, packages, scripts, server \u2014 143 of them are reported below, and 106 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 249 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 249 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 249 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/teams-catalog/src/frontmatter.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6561213d011ac00262edd134838f1dce75a4cd58057d64377420c0e3d2c58b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (203 clone groups): 203 duplicated blocks under packages/adapters/ have copies in at least two of the sibling directories claude-local, codex-local, cursor-cloud, cursor-local, gemini-local, grok-local (\u002B5 more sibling(s) not listed) \u2014 186 of them are reported below, and 17 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 203 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 203 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 203 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c961617740902a888798f1cf45930eb1c8a8816fbbee71a3fa4e43baf698f459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (175 clone groups): 175 duplicated blocks under server/src/ have copies in at least two of the sibling directories adapters, auth, lib, middleware, modules, realtime (\u002B3 more sibling(s) not listed) \u2014 80 of them are reported below, and 95 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 175 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 175 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 175 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":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"324f86681c15afea8d7373aff79c35f28fdd440b67c312bbc1920652f8203314"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (120 clone groups): 120 duplicated blocks under server/src/services/ have copies in at least two of the sibling directories chat-channels, connectors, heartbeat, native-runtime \u2014 60 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 120 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 120 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 120 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df22c153b734040062458662eff48ed522cbdecc30baa2221c0d2f0625bcb18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (109 clone groups): 109 duplicated blocks under packages/ have copies in at least two of the sibling directories adapter-utils, adapters, db, google-sheets-mcp-server, kv-demo-mcp-server, mcp-server (\u002B5 more sibling(s) not listed) \u2014 72 of them are reported below, and 37 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 109 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 109 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 109 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8f265e1a821f9100b81333356b9cabddea97355d37a6b14760ef86881b1134"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 21 sibling directories (66 clone groups): 66 duplicated blocks under packages/paperclip-runner/src/ have copies in at least two of the sibling directories backends, browser, catalog, cli, conformance, contracts (\u002B15 more sibling(s) not listed) \u2014 42 of them are reported below, and 24 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 66 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 66 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 66 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/paperclip-runner/src/protocol/semantic-tool-receipts.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f3c6c93d7f4ac45d9e71ef42f0db2d503fffcbbf4cbe16e0446c15792cd3a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (60 clone groups): 60 duplicated blocks under server/src/services/chat-channels/ have copies in at least two of the sibling directories discord, github, imessage-photon, inbound, interactions, microsoft-teams (\u002B5 more sibling(s) not listed) \u2014 32 of them are reported below, and 28 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 60 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 60 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 60 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":"server/src/services/chat-channels/discord/publication-preparation.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d2f8cc0893feff8e02e161cdfceb76a7d75a929572f8124c063ca4ce9c0db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (51 clone groups): 51 duplicated blocks under packages/paperclip-runner/ have copies in at least two of the sibling directories devtools, scripts, src \u2014 44 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 51 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 51 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 51 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/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d02008fd57c65f2b99e54af5e16cfa3dd122f450af0ad20533f02b4ac1e680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (36 clone groups): 36 duplicated blocks under packages/plugins/sandbox-providers/ have copies in at least two of the sibling directories boxd, cloudflare, daytona, e2b, exe-dev, kubernetes (\u002B2 more sibling(s) not listed) \u2014 23 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 36 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 36 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 36 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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a2453a751e3e54b77ba4153ee6214cd7775b914fc3afd7aef22b072e82c41d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (21 clone groups): 21 duplicated blocks under packages/paperclip-runner/src/drivers/ have copies in at least two of the sibling directories acpx, codex, cursor-cloud, dot, opencode \u2014 17 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 21 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 21 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 21 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3348095de1d4bee4357e44d3feb8733f76876e2849d2c2e069432ad3e165ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (10 clone groups): 10 of the duplicated blocks reported below have copies in at least two of the sibling directories d2-tint, d4-hybrid under ui/src/artifact-directions/directions/. That concentration is one structural fact, not 10 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 10 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":"ui/src/artifact-directions/directions/d2-tint/Content.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"312f24a851174aad33543dda4732d060c349c1687546cd15c93ea91ee1462b4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (8 clone groups): 8 duplicated blocks under packages/plugins/plugin-llm-wiki/src/ have copies in at least two of the sibling directories ui, wiki \u2014 0 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"806a71f8fc1ec46071b30f1d67a3d645a5ff223e85d9600567c24db17a402ace"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (6 clone groups): 6 of the duplicated blocks reported below have copies in at least two of the sibling directories checks, client, commands, config, services under cli/src/. 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":"cli/src/checks/llm-check.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b17c5a433c100b0139529560640c92af7b5d026c0e11145fbc909ca1fb705b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (1635 identical lines \u00D7 2 files): ui/src/components/IssuesList.tsx:1 \u00B7 ui/src/components/LegacyIssuesList.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 1635 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4635e3f0f513a57e2c061a3447b92b2d85e92921f3002231710f2dd6c10fc28"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (993 identical lines \u00D7 2 files): ui/src/pages/Routines.production.tsx:1 \u00B7 ui/src/pages/Routines.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 993 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0228de6118ea56de74ca484d406ce533e2714e3c385d8a30d0f75c13a2cfb904"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (610 identical lines \u00D7 2 files): ui/src/pages/RoutineDetail.production.tsx:1 \u00B7 ui/src/pages/RoutineDetail.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 610 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f457a157b83923aa428ee4f222ef0b78fc6fe197fb1263d73292eae4725febe"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (484 identical lines \u00D7 2 files): ui/src/components/SidebarAgents.production.tsx:1 \u00B7 ui/src/components/SidebarAgents.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 484 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffccb653c9e5ef3cfabf554119f1f31530b504ecc5e74eaeeab2ac4104dec30e"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (420 identical lines \u00D7 2 files): ui/src/pages/Agents.production.tsx:1 \u00B7 ui/src/pages/Agents.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 420 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b293b806ff3c53a9c1b467df2233f5e1644ca04fe336018438d24e4e6987100"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (345 identical lines \u00D7 2 files): packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts:1 \u00B7 packages/paperclip-runner/src/react/use-runner-console.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 345 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c757799ec27c4596aff0d2850509fb83cbad64cfa748e00e3154b19b145ecc1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (305 matched lines \u00D7 2 locations): server/src/routes/issues.ts:16830 \u00B7 server/src/routes/issues.ts:20514 \u2014 the two spans are one implementation copied and then locally edited \u2014 1454 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":"server/src/routes/issues.ts"},"region":{"startLine":16830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f73c73d021c45c1fb7d08cc00468f62da9821e13e647d51e499be6dd2195c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (250 identical lines \u00D7 2 files): packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts:2 \u00B7 packages/paperclip-runner/src/browser/transcript-model.ts:2 \u2014 these 2 files are line-for-line copies of one another \u2014 250 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"938fbb8ac1308e6494a715b1b5958cab56eedb51f81cedb235b2aeb52eeca609"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (247 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:405 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:462 \u2014 the two spans are one implementation copied and then locally edited \u2014 1440 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9701bc27e0aee4910ebbd63f76df5523bfbfee476203369ebda1a4b5aa3c8c9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (247 matched lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/acp.ts:37 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 1663 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33bf3682b4fc87b2bfe9a1b6de43d88457fadbef4e86d263a974db8dcdb6582"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (240 identical lines \u00D7 2 files): ui/src/components/SidebarCompanyMenu.production.tsx:1 \u00B7 ui/src/components/SidebarCompanyMenu.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 240 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"602b672fec3f9c285423046b49816a521e0c5ceebb15bf9e04a545a9cf70cb1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (195 matched lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:250 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:250 \u2014 the two spans are one implementation copied and then locally edited \u2014 1417 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffdc13756deb99fecc8a97c4037500728e0dca4ecf2e4bb67ffc7feaadd7619"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (168 identical lines \u00D7 2 files): ui/src/components/SidebarAccountMenu.production.tsx:2 \u00B7 ui/src/components/SidebarAccountMenu.tsx:2 \u2014 these 2 files are line-for-line copies of one another \u2014 168 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abba9f03b760b92b476ebbd9421353634aa7e56ce14bd9199dcc832d69084f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (163 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx:33 \u00B7 packages/paperclip-runner/src/react/session-timeline.tsx:61 \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/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f602770c2d6d47093cdab2017756d89e5036e74d81f31dab15ee9aa4648a41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (156 matched lines \u00D7 2 locations): packages/skills-catalog/src/catalog-builder.ts:72 \u00B7 packages/teams-catalog/src/catalog-builder.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 1163 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23298a8e45003cde0b2264b748c2bf4e2bb0559706a1e7b47eb5b3ffdfd9c97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (154 matched lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/test.ts:212 \u00B7 packages/adapters/pi-local/src/server/test.ts:131 \u2014 the two spans are one implementation copied and then locally edited \u2014 829 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/opencode-local/src/server/test.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ac340b45a7d062155e25657f3e6fef4062ebbf567cffed5fd3e9e9d0b44c02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (146 matched lines \u00D7 2 locations): server/src/services/chat-teams-inline-images.ts:33 \u00B7 server/src/services/chat-telegram-photo.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 997 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efa7df69f3ac5c74dd453029bd3f3b12eb08fb357d936150d10e60675a4eb93"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (146 identical lines \u00D7 2 files): ui/src/components/SidebarStarredProjects.production.tsx:1 \u00B7 ui/src/components/SidebarStarredProjects.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 146 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a73b59272f15069e7d5a03e0cd8cb0cee015e53f761604f13dd3745baea9b17"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (145 identical lines \u00D7 2 files): packages/paperclip-runner/devtools/browser/src/live/Inspector.tsx:1 \u00B7 packages/paperclip-runner/src/react/inspector.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 145 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef69e7eee14342045c3aed33b27585f88a99d8e16fd81d0cacf27c5de4913a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (140 matched lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start-resolution.ts:274 \u00B7 server/src/services/chat-channels/slack/task-start.ts:636 \u2014 the two spans are one implementation copied and then locally edited \u2014 645 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0367e547510b40de01666a53a10480890463503bc08165cd1f2c3f8788c7a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (134 matched lines \u00D7 2 locations): server/src/services/chat-github-registration.ts:99 \u00B7 server/src/services/chat-github-wizard.ts:143 \u2014 the two spans are one implementation copied and then locally edited \u2014 714 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8457c6ef68e4da3dd6c02ac7afb41a9893d8ba49f45783d7cb5a9c753c6b527f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (131 matched lines \u00D7 2 locations): server/src/services/activity.ts:192 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2958 \u2014 the two spans are one implementation copied and then locally edited \u2014 902 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f7084b05aea2e193ffb3b423e38c6db8bc63bdd3b83306d6eaedddeb4bad18"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (127 identical lines \u00D7 2 files): ui/src/components/SidebarShell.production.tsx:7 \u00B7 ui/src/components/SidebarShell.tsx:7 \u2014 these 2 files are line-for-line copies of one another \u2014 127 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55d3984ae09e619d5d88584339816f242bb28d5ef51535b859c821fb488195"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (119 matched lines \u00D7 2 locations): packages/adapters/kimi-local/src/server/execute.ts:401 \u00B7 packages/adapters/pi-local/src/server/execute.ts:489 \u2014 the two spans are one implementation copied and then locally edited \u2014 660 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec31681b4b297101bd03ef5d18d681865fc5dc9ce91522e6644c9b520d567b49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (113 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx:48 \u00B7 packages/paperclip-runner/src/react/runner-console-app.tsx:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 1080 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef5c7b47a2b426b79fe9be7c797ad5f4483403f595fe4fbe2bb5fac53d8ab3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (107 identical lines \u00D7 2 files): ui/src/components/CompanySettingsSidebar.production.tsx:1 \u00B7 ui/src/components/CompanySettingsSidebar.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 107 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3774b3c7956e9dc995afec01647cfdfef51eaf505343a96bb3f30837f0de1485"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (106 matched lines \u00D7 2 locations): server/src/services/native-runtime/automatic-completion-reviews.ts:35 \u00B7 server/src/services/native-runtime/obsolete-policy-reviews.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 968 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/automatic-completion-reviews.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"533d3aaf633ce44dd36e61e52d9b731accad6311f74fbde5064fb1644c4da148"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (106 identical lines \u00D7 2 files): ui/src/components/SidebarNavItem.production.tsx:1 \u00B7 ui/src/components/SidebarNavItem.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 106 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarNavItem.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9608a016abe7df7d48055c7ad580046dd0552fb5af656b3b11151374c7ac37b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (102 identical lines \u00D7 2 files): ui/src/components/AppConnectionSidebar.production.tsx:1 \u00B7 ui/src/components/AppConnectionSidebar.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 102 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AppConnectionSidebar.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47016e8342518963dae82cce5dbb1314e59650063d2da95dfbb9000c08bea995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (99 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:384 \u00B7 packages/adapters/codex-local/src/server/acp.ts:306 \u2014 the two spans are one implementation copied and then locally edited \u2014 719 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cd859b845fa1830902040fbb1da75ab5bfc236625d87b200eda2a9ff16c951"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (96 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/parse.ts:34 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 633 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4b8454a5d8db6ce2560e0770aee330c7656fcfb2b96a2c36d367122fd586bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (93 identical lines \u00D7 2 files): packages/paperclip-runner/devtools/browser/src/components/ui/menu.tsx:1 \u00B7 packages/paperclip-runner/src/react/components/menu.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 93 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfe2ed2685accfcc29b4069867acd117ad702197efc594060124a977d2200b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (92 matched lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/models.ts:110 \u00B7 packages/adapters/pi-local/src/server/models.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 702 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cd7f9071a07dcc62373430bf285dcbb9015957706483497dedac6979bd58b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (92 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/e2b/src/plugin.ts:237 \u00B7 packages/plugins/sandbox-providers/novita/src/plugin.ts:303 \u2014 the two spans are one implementation copied and then locally edited \u2014 501 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9fc6041dc91573b9f3a0eaa8d1274f6199f12108ca28733b6b4013ed06155d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (92 matched lines \u00D7 2 locations): server/src/services/dot-assignment-follow-up.ts:10 \u00B7 server/src/services/muse-assignment-follow-up.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 1660 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-assignment-follow-up.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"080b60509c74b88dbd92f88d8cf1df34e24e2ca9c9a9e49692c27034f49c1987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (90 matched lines \u00D7 2 locations): packages/google-sheets-mcp-server/src/http.ts:15 \u00B7 packages/kv-demo-mcp-server/src/http.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 642 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/google-sheets-mcp-server/src/http.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0268680c1fcffba418c5205b5c38fba8e6877032c60581c0150e4b74b706ad17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (90 lines \u00D7 2 locations): packages/shared/src/types/teams-catalog.ts:10 \u00B7 packages/teams-catalog/src/types.ts:1 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/teams-catalog.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6c5af2b9d960a6c6ed43bc12125217381438eee6dfcbdf7aaa4126788d66e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (90 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/Content.tsx:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/Content.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 90 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/Content.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1256b49d006d41fd58254adb9a0f5cf7f86c914d7743875330c9b8fff698f85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): cli/src/commands/client/goal.ts:42 \u00B7 cli/src/commands/client/project.ts:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 559 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/goal.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a52f3836b9600f9fa4b94fa7bf5af7ba88208270042a33a5d3eadbf65cff3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/provision-kimi.mjs:17 \u00B7 packages/paperclip-runner/scripts/provision-pi.mjs:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 1380 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabdc11ac4033bdfd0232e1a68d085cb9d96966ee4862cc756227a317b5f56e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): server/src/services/chat-channels/discord/publication-preparation.ts:18 \u00B7 server/src/services/chat-channels/telegram/publication-preparation.ts:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 561 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/publication-preparation.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9af57de653aa293c5d8e9e681c5237ad3e8aab05ccd667e10d656c00507ef29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): server/src/services/chat-github-tools.ts:132 \u00B7 server/src/services/connectors/slack-catalog.ts:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 486 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-tools.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fc268a0cf3fb2a284cc440ea63704842936d9f82964c95f74e6d19f5540f97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): packages/adapters/grok-local/src/server/execute.ts:314 \u00B7 packages/adapters/pi-local/src/server/execute.ts:284 \u2014 the two spans are one implementation copied and then locally edited \u2014 665 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58fe05d1f428ecb62961948863f436cb08c824016f5e6c7f0a973774ef7156d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): server/src/routes/cases.ts:888 \u00B7 server/src/routes/routines.ts:231 \u2014 the two spans are one implementation copied and then locally edited \u2014 542 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f715d5c7d24e0be9705b6db9b44323cc83283459901a55cfc18c698c61dea9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): server/src/modules/wake-queue/domain/context.ts:28 \u00B7 server/src/services/heartbeat/run-preparation.ts:1559 \u2014 the two spans are one implementation copied and then locally edited \u2014 582 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2723a0411498f463d2e65f461affbab3ac66a391e4c59318c0a4424c3124305a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): packages/paperclip-runner/src/scenarios/scenario-parity.ts:65 \u00B7 packages/paperclip-runner/src/scenarios/scenario-parity.ts:238 \u2014 the two spans are one implementation copied and then locally edited \u2014 530 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/paperclip-runner/src/scenarios/scenario-parity.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f171d37745528571bd3f8e4ca71bfe80ea62f8d7e86f159129b3fbc8f80cae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:333 \u00B7 packages/adapters/kimi-local/src/server/execute.ts: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":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd95f47977595ad6c6ba9fd80c77a57f83cc79ecc86e4a438561e1997a7da1c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/tabs.tsx:13 \u00B7 packages/paperclip-runner/src/react/components/tabs.tsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 432 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/devtools/browser/src/components/ui/tabs.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"687ee2f9d1ead3aef0c1e8e3f4e1396d9ea5f2b5bbdc946c850db49eb42fa98d"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (81 identical lines \u00D7 2 files): server/src/services/chat-github-publication-lease.ts:1 \u00B7 server/src/services/slack-board-lease.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 81 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-publication-lease.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18587b5bd933feed48aaa6734d68bc88da23c5b493bf5179b3dbd4e1830ce5c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/cli/format-event.ts:72 \u00B7 packages/adapters/gemini-local/src/cli/format-event.ts:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 618 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd64b4f88887d54db63e33fe106cb3198151dee09c6bb29e3804ad91dda4e1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (79 matched lines \u00D7 2 locations): packages/paperclip-runner/src/protocol/semantic-tool-receipts.ts:86 \u00B7 packages/paperclip-runner/src/semantic-tools/receipts.ts:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 527 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/protocol/semantic-tool-receipts.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d32edaab8ddbb89918527d8efdfd145c94c5f85f1bb89c2210f11b64fe8c6bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/test.ts:290 \u00B7 packages/adapters/kimi-local/src/server/test.ts:118 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/test.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"472d198ae11bb89cf62f645891d8b583d69ac21a0a14e48827415e6f0a897cf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (77 matched lines \u00D7 2 locations): packages/adapters/gemini-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 651 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d87c086725487f757db5018c9dd85d29a043f60b731a0b25b6c8862d0c6d622"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (77 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/kinds.ts:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/kinds.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 77 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/kinds.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01f2c65e66e366462415241a71eeb60db34e03b3c9d4a169178fab7a9d22efa"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (75 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/KindGlyph.tsx:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/KindGlyph.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 75 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/KindGlyph.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6dfc873e0eacc7440d0a333bbf51e046162e1f8758fd9831aaa58b9c75604"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (74 matched lines \u00D7 2 locations): server/src/services/chat-channels/github/acknowledgement-work.ts:12 \u00B7 server/src/services/chat-channels/github/terminal-response-work.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 945 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2875075dbc032770f517dcfb79e6b5d4e8a886a9ea53a77de37680b12b1817c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2 locations): server/src/services/chat-runtime.ts:6 \u00B7 server/src/services/chat-sdk-runtime.ts:3187 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-runtime.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"972e2668d32d4ed3e7024da3610e1f92a84200ee823075d981c86601ee7b1fe9"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (73 identical lines \u00D7 2 files): packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts:3 \u00B7 packages/paperclip-runner/src/live/cursor-usage-notice.ts:3 \u2014 these 2 files are line-for-line copies of one another \u2014 73 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e305e7eec1db7a29344938d22a4d638fc419c4efa6b6cbb5b3ae890c1cb126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2 locations): packages/skills-catalog/src/catalog-builder.ts:667 \u00B7 packages/teams-catalog/src/catalog-builder.ts:364 \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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd642b948909e7f1eb6da4e6628c01996230579bea294d3e63e5c7454c46ff8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (72 matched lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:1158 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 504 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34c7f2aa38f9c0093f16a29e5815fe89bb7728619834affad01916cf168d3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 3 locations): server/src/services/document-annotations.ts:961 \u00B7 server/src/services/document-annotations.ts:1036 \u00B7 server/src/services/document-annotations.ts:1111 \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":"server/src/services/document-annotations.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"8297b33ae2363b69658d8ba9df2de4b58533cc5692582372d2929771011cf149"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (72 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/gallery-model.ts:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/gallery-model.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 72 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/gallery-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bea5e15dd0e9a607ac94e5ad23981d4ec00b9be6fcdd8a005c760c224b0873"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (70 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/client.ts:28 \u00B7 packages/paperclip-runner/src/browser/client.ts:133 \u2014 the two spans are one implementation copied and then locally edited \u2014 418 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/devtools/browser/src/live/client.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed9d23185a8e905cac64d4118712f9bffa7111ab3a14e0ed76da611d82502eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx:58 \u00B7 packages/paperclip-runner/src/react/components/conversation.tsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 515 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80e73c6a2449f6db2742ed791dab6e458aeca85091e917275db5cf467ca410c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (68 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/cli/quota-probe.ts:30 \u00B7 packages/adapters/codex-local/src/cli/quota-probe.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 482 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/claude-local/src/cli/quota-probe.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab0ec4eef00cd25c918023f31e071b06dce22114c9425eb729fe4201bc4f701"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:577 \u00B7 packages/adapters/codex-local/src/server/acp.ts:466 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5682436eff303f3318198868cdb6f6af19041dbc6bb08c2c626e7f86d4d95e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (68 matched lines \u00D7 2 locations): server/src/routes/assets.ts:153 \u00B7 server/src/routes/assets.ts:252 \u2014 the two spans are one implementation copied and then locally edited \u2014 406 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":"server/src/routes/assets.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab25a96b8a941a02f34e923df04be3310b4d07b66156e4da3d68b0a159c1cfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): packages/teams-catalog/src/frontmatter.ts:58 \u00B7 server/src/services/company-portability.ts:2774 \u2014 the two spans are one implementation copied and then locally edited \u2014 519 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/teams-catalog/src/frontmatter.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2a13b9275eb4cf25551373460c3188789a2343500e7039ae7011bfd63fbf9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): server/src/services/connectors/unikraft/client.ts:11 \u00B7 server/src/services/daytona.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 746 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/unikraft/client.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eee25d490f006bd5b57861902aacc0b653812ad19690aedee8ad367fcc47094"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (65 identical lines \u00D7 2 files): packages/paperclip-runner/devtools/browser/src/live/protocol.ts:10 \u00B7 packages/paperclip-runner/src/browser/protocol.ts:10 \u2014 these 2 files are line-for-line copies of one another \u2014 65 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/protocol.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"919b090a86739ccc5587592063d943bcc7c1057ba5566f33390923bf5813384c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (65 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/config-admission.ts:27 \u00B7 packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts:35 \u2014 the two spans are one implementation copied and then locally edited \u2014 683 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"901f52cd8458ee7e5daf03d502a933da6690b409c9942abe93e61e995c103c3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx:283 \u00B7 packages/paperclip-runner/src/react/session-timeline.tsx:312 \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/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee7fc6b265121e5cb952f3542899c3dc5db0835345bab582e57cdb3eb605a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): scripts/generate-daytona-tools.mjs:47 \u00B7 scripts/generate-unikraft-tools.mjs:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 821 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/generate-daytona-tools.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a2ad26a8f6735e0ec9447207896e8d570603649b42f2e3c8ffaa086989225a"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (64 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/ThreadAttachments.tsx:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/ThreadAttachments.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 64 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/ThreadAttachments.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6fc5abda1627fd74b6564dd1a8a6791ee17bbf544286a5bc91e922114c58dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): cli/src/commands/client/company.ts:1516 \u00B7 cli/src/commands/client/issue.ts:1185 \u2014 the two spans are one implementation copied and then locally edited \u2014 413 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"084b42f378e81dbaf7c395d9514679105b0ec1fdfd9a678987585320a84e9385"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:1793 \u00B7 server/src/services/environment-runtime.ts:2208 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec4363643346f9f3e96278e8eda78b94ec26a06080989c77e5b5a2f3871cac7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:938 \u00B7 server/src/services/heartbeat/retries.ts:1004 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e638a454233deacfdf3793d2fd1004fee5e60bf0f3d8743ff89cff2b0bbf229"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (62 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/UnitAction.tsx:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/UnitAction.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 62 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/UnitAction.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a67d67a72fe2098324b79303650f302aaa4cd4340056470626f7bd46651e23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/index.ts:70 \u00B7 packages/adapters/codex-local/src/server/index.ts:70 \u2014 the two spans are one implementation copied and then locally edited \u2014 564 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/claude-local/src/server/index.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc25f44518977c232cd5d6ae67bac1c72ae689a15a8734e8458a76143c8dbcde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/test.ts:287 \u00B7 packages/adapters/pi-local/src/server/test.ts:252 \u2014 the two spans are one implementation copied and then locally edited \u2014 392 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf7b47382a1cea129f12881cca0060dde5e12e8cccc3e8bf77671135d8cdd1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx:107 \u00B7 packages/paperclip-runner/src/react/request-card.tsx:113 \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/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0399a2a963e4ab617a7fabc0e83a6c155fe0fcb31c5492b27b39be6eb53acbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): scripts/dev-runner.mjs:410 \u00B7 scripts/dev-runner.ts:659 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/dev-runner.mjs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fc8851673b34c81b6b10686f451611e09e68e15eb39dfa6099082c759786d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (59 matched lines \u00D7 2 locations): cli/src/commands/client/feedback.ts:591 \u00B7 cli/src/commands/client/zip.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 550 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/feedback.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"00766fcbf8bf4a290ed580cf376d0b6323edaf83ba06da2b30b1722ac96bd17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:1006 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:247 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3ab77be078e150de79e9ae8072759b2f6ca1585eb780f6d180a858a463dc4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/adapter-auth-promotion.ts:43 \u00B7 packages/adapters/grok-local/src/server/adapter-auth-promotion.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 386 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/codex-local/src/server/adapter-auth-promotion.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"697fcb0cea3cebc9ead2065095799d19b9703ef865f98fc59185051f0eecd7b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/App.tsx:960 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/App.tsx:1139 \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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8067e0e97be1de8bbdeaee24c6f164d69eff7b3d5945d973a2fdbd3904eceaff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): packages/shared/src/external-objects-server.ts:17 \u00B7 packages/shared/src/issue-references.ts: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":"packages/shared/src/external-objects-server.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f453554726340af0623ac2c836778a4886c40eaf9da7306f54706d47c891bf85"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (58 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/PanelIndex.tsx:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/PanelIndex.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 58 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/PanelIndex.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"147287866bd95664396a78b6d2f163dbd8ade398b253f47e4ccea6effa842927"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/capability-clean-room-smoke.mjs:97 \u00B7 packages/paperclip-runner/scripts/capability-issue-thread-smoke.mjs:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 411 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/scripts/capability-clean-room-smoke.mjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc2cd0c7d7a8c6195378e51e619c05a957c2800d7c1ef91c34e786b882dd89d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): server/src/services/native-runtime/native-run-coordinator-store.ts:344 \u00B7 server/src/services/native-runtime/paperclip-control-plane-port.ts:685 \u2014 the two spans are one implementation copied and then locally edited \u2014 438 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"9406bb2c0ad1fdd909ee49a740d4a5f2e82a814717b7a01840362ae6af8e4566"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/ui/parse-stdout.ts:95 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 469 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9de44324c12a49155c6f56940f1b570d81a7825415ef710c9650c1357a7a7d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): packages/paperclip-runner/src/conformance/semantic-conformance.ts:272 \u00B7 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:779 \u2014 the two spans are one implementation copied and then locally edited \u2014 353 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef62239305c227abf76c61d39ff66d9d882b1fbbf87d5cb4cdf602cd4eb34ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (55 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/Pictogram.tsx:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/Pictogram.tsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 55 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/Pictogram.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c646dd81a44f1630d4f0e954cfec7938759b6411919c6a4752de0a231f6f52a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:1492 \u00B7 packages/adapter-utils/src/ssh.ts:1607 \u2014 the two spans are one implementation copied and then locally edited \u2014 352 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7b4ecd700e97be8412fc50aebb34b4e18dc2d1b003b4c6cf39cf4ffddc4d10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): scripts/verify-grok-npm-install.mjs:26 \u00B7 scripts/verify-grok-npm-install.mjs:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 808 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-grok-npm-install.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"633147ffeb2c9c81ce56a4aca81bab1817d883651eadffb82ba95df38bb1b61c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): server/src/services/chat-channels/failed-retry-notices.ts:46 \u00B7 server/src/services/chat-channels/inbound/wakeup-notices.ts:220 \u2014 the two spans are one implementation copied and then locally edited \u2014 524 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-retry-notices.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd2f0f485ceebf1377acd806753c8a6193b7364dd6cdf2c4059f5832ba2cc15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/cursor-instructions.ts:20 \u00B7 packages/paperclip-runner/src/drivers/acpx/kimi-instructions.ts:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 460 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/acpx/cursor-instructions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea44a39903a7bd44b9c2ae57e94b9a2e608b764999e2c74fb18bf7977949d8c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): server/src/services/chat-channels/discord/command-work.ts:19 \u00B7 server/src/services/chat-channels/runtime/receiver-work.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 585 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/command-work.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c30a06aa57cdaac09e4fec4e0d6526bc03f8322c0a045108a01e809ded3f657"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-cache.ts:68 \u00B7 packages/adapters/codex-local/src/server/device-login-export.ts:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 329 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb837f006502915ad96b36283c74f30a47436455e8c465962e8b2d69a4386186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): packages/adapters/opencode-local/src/cli/format-event.ts:3 \u00B7 packages/adapters/opencode-local/src/ui/parse-stdout.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 352 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/opencode-local/src/cli/format-event.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e491f05d35615b1c6b58efd7477d8c6b0c6e226afa7a1841a098840dece9e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (52 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/excerpt.ts:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 52 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefd67cbc38a24afeeffa651b3075c89c179b2e095a8e78ffc1a878a548ba0b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (52 identical lines \u00D7 2 files): ui/src/artifact-directions/directions/d2-tint/panel-model.ts:1 \u00B7 ui/src/artifact-directions/directions/d4-hybrid/panel-model.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 52 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/panel-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2810bc08c68a5e9686b8a6ee272f7f72d8cf99ba164768fa472f947431e0dbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/ui/build-config.ts:3 \u00B7 packages/adapters/codex-local/src/ui/build-config.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 457 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25d94736945fef986f22dc451624b32f0c7c9cc27c7f69179d7ee5988798729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:309 \u00B7 packages/adapters/grok-local/src/server/execute.ts:390 \u2014 the two spans are one implementation copied and then locally edited \u2014 304 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"542d8939a936bd81676947d2398332d8d681726b4bd7b278d2ca8a14048761c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/composer.tsx:6 \u00B7 packages/paperclip-runner/src/react/components/composer.tsx:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 337 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/composer.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b191df9b0e727f4a1d00f78a141325ffe26c1460a19d2d7ca2c4d0ff7bdd847d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): scripts/dev-runner-output.mjs:8 \u00B7 scripts/dev-runner-output.ts:14 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner-output.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9febeaa4a50fe1849455d9ab69453f48617d548849245f44615c9146e901c454"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): server/src/routes/openapi.ts:11481 \u00B7 server/src/routes/openapi.ts:11697 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":11481}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc9671c6f780cad67ed80b0a272402cf7a162a487eb7c5e04cd6c2c8b803c8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/codex-local/src/ui/parse-stdout.ts:12 \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":"packages/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a0e97b8db72abdf8e61f9ec324542eaf9e6de933016282e0d44fdaad4d45d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): scripts/codemod-extract-misc.mjs:358 \u00B7 scripts/codemod-extract-sizes.mjs:394 \u2014 the two spans are one implementation copied and then locally edited \u2014 345 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/codemod-extract-misc.mjs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"108f5bac838ebcf05fca30f11fcbd8d45688cb60ebca2cb83ff9e8890a422733"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/provider-rate-limits.ts:17 \u00B7 packages/shared/src/provider-rate-limits.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 411 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/provider-rate-limits.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b083408983aa59c698e7d99449575e1d74127182d3c76b3ad11597779f1b5c3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): server/src/routes/cases.ts:1106 \u00B7 server/src/routes/cases.ts:1257 \u2014 the two spans are one implementation copied and then locally edited \u2014 378 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":"server/src/routes/cases.ts"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feaed9d3e1360c95116ca510014f1e49e7967f9240d609ec8f63c7a3a60dab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:694 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1506 \u2014 the two spans are one implementation copied and then locally edited \u2014 303 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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d3034754b6ebc3d6970c5d813934df8a0df79f597ace5d06243e16dc9a2979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/execute.ts:228 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1006 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:247 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd6bd1ba3bb5a2301b027ebac5f7b79f51b864132a73feae77d2c9388be5980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:193 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:172 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d38e6e5df3e799916e1146ce7a80c1125ec00a9708eff005da62f74fe30884"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:1207 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:696 \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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"af98f9bc0c62e6313c5d8326a79ef27f1ef9f247b5757cc61a00cef32990d450"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:449 \u00B7 server/src/services/company-portability.ts:2793 \u2014 the two spans are one implementation copied and then locally edited \u2014 369 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/frontmatter.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff65088e48aa7a4fd209592804e5ea4e88494095a56e79d4a8af14ccf4b0252"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): cli/src/commands/client/agent.ts:303 \u00B7 cli/src/commands/client/issue.ts:196 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d69bc360a9a922d8ddc2b0eea5d121074e9df26bfba8887a59f1d692748b5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 3 locations): packages/adapters/cursor-local/src/server/execute.ts:349 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:361 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:339 \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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a27a57d0c3906e335d6113be8bec5987f048510e0fe96f25112b9f9ab30c530"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:342 \u00B7 packages/adapters/pi-local/src/server/execute.ts:375 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe6a7c41b4c24fbab9ef573dcb8a23c67b0d5f49e6640da9e80219a5168ce9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): packages/kv-demo-mcp-server/src/http.ts:87 \u00B7 packages/kv-demo-mcp-server/src/tasks/http.ts:188 \u2014 the two spans are one implementation copied and then locally edited \u2014 336 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/kv-demo-mcp-server/src/http.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d0d28012ba897edd1780fa60b433b1d3f8d4fde17f80016c5264b2343fa1a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): server/src/services/documents.ts:293 \u00B7 server/src/services/documents.ts:458 \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":"server/src/services/documents.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61aea5ecd525725aad50eda1fed90c27e5a9534b6ff4192d79c6ace4bdbd97f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): server/src/services/document-annotations.ts:493 \u00B7 server/src/services/document-annotations.ts: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":"server/src/services/document-annotations.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66eaef1c6d8e01c3be29485ecd466e4e1f775d4d32d69904003c837afd71963"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/config-schema.ts:29 \u00B7 packages/adapters/codex-local/src/server/config-schema.ts:29 \u00B7 packages/adapters/gemini-local/src/server/config-schema.ts:29 \u2014 the 3 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/config-schema.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa344537c078d1f2cfe14432755e576493eb96266e15c64e146fbfb1c15116bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/models.ts:86 \u00B7 server/src/adapters/codex-models.ts:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 301 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/claude-local/src/server/models.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"026cd7dac9eee2bf0c9335c8593fc7aad7313a1606eb9bef2acdd2e3a838a9d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/test.ts:70 \u00B7 packages/adapters/pi-local/src/server/test.ts:84 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f614d5d3af74b5c2b12c30db2756e9af3b4ea12141e07d226ba7871c62bd26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): scripts/dev-runner.mjs:256 \u00B7 scripts/dev-runner.ts:378 \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":"scripts/dev-runner.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce69bbc0bce2021aa9e9061cbb11eb379ea123dfaa9d32bbce87819e6ab00e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): server/src/routes/execution-workspaces.ts:380 \u00B7 server/src/routes/projects.ts:804 \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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55f734e5095b608b8dfaff5791eebb72ce5ee1fd7cb6f82beae924a7e709d48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): server/src/routes/issues.ts:16749 \u00B7 server/src/routes/issues.ts:20556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":16749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a9dc88b2b90accf717c7e90df1d48119224c754e12c69c2c590211b8fd7245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): server/src/services/adapter-settings.ts:50 \u00B7 server/src/services/cloud-runtime-config.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 407 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/adapter-settings.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5a4af19ee8799573c4c7e7d39f4e897a8458cc86ce37c05f019c61b8c030c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:95 \u00B7 scripts/smoke/posthog-live.mjs:104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f9b93aedb5e1bf33405f40b706e38bdf00292c7d88814569974cbc5b918723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start-resolution.ts:37 \u00B7 server/src/services/chat-channels/slack/task-start-resolution.ts:278 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"251e6a01eeca5f15adb2562e851307214134a7ab46e129b8745ae2e67233ecac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): server/src/services/chat-runtime.ts:105 \u00B7 server/src/services/chat-sdk-runtime.ts:3271 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-runtime.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f468b4dc21dc0e13ff80b819f35750c77932c9bbe84550a5eff8cd7eb20115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): packages/google-sheets-mcp-server/src/tools.ts:64 \u00B7 packages/kv-demo-mcp-server/src/tools.ts:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 305 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/google-sheets-mcp-server/src/tools.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dde95fdad5c5afbd6147421ad34153cb414b39ddf157dd27d7f1fdf4cc2a36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts:102 \u00B7 packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts: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":"packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e251dd925384fe2e82e65a128bc61c342b1e784a4609d0d08c6dd299a41cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): server/src/services/chat-channels/receipt-reactions.ts:294 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:286 \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":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"20624b81266305e203c204f3d6a5754654117d3b455b890139036bfd71cf8233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): server/src/services/company-search-rate-limit.ts:8 \u00B7 server/src/services/invite-rate-limit.ts:10 \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":"server/src/services/company-search-rate-limit.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab20b718c2bfc79e4be9536ebcd7d8fa970d9770400d4a53e2b0cb94108c646b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:401 \u00B7 packages/adapters/codex-local/src/server/parse.ts:174 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e2ce3d07a4696a170fd44702a0f6461ea64bba7be6042372e191abaeff64c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3 locations): packages/adapters/gemini-local/src/server/test.ts:78 \u00B7 packages/adapters/kimi-local/src/server/test.ts:127 \u00B7 packages/adapters/pi-local/src/server/test.ts:86 \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":"packages/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4276d2141ca187011e08f77ed846d06c9442192e6f73174f1b7cdca31ed75bfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): scripts/dev-runner.mjs:316 \u00B7 scripts/dev-runner.ts:448 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/dev-runner.mjs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf11b0b57d7a11f376a496f842fae988dc983b9417ec9d12a2bc7040e5a2a2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:1094 \u00B7 packages/adapters/claude-local/src/server/prompt-cache.ts:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 346 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"161f5ea0e0c4916824f748fe67eeb260cebe1b5fd1de41285c068b8f54643542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/device-login-parse.ts:77 \u00B7 packages/adapters/grok-local/src/server/device-login-parse.ts:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 322 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/codex-local/src/server/device-login-parse.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9f546e9144f4ab075b690f2bb0558fa7e8c749408512be9e6c665981db14c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:538 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:538 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd0908f3ec767bb426e3af9a7c2d542146cfe6917a14733b470891df2563dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:184 \u00B7 packages/adapters/pi-local/src/server/execute.ts:103 \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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8287995d8b90cd076dc2cc9bead650a00a2f917d96535b2deda98aa60aeafca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): server/src/routes/managed-agent-profiles.ts:25 \u00B7 server/src/routes/remote-agent-profiles.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 276 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/managed-agent-profiles.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"462aeed8be0e1be3c2430639acaf7a04461a9d31dc3f1bde8e6033dacbc1aa99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): server/src/services/chat-channels/failed-run-retry.ts:1875 \u00B7 server/src/services/chat-channels/inbound/wakeups.ts:230 \u2014 the two spans are one implementation copied and then locally edited \u2014 288 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"680dddc7c5a998cee6bd28ba089bb96d1f347cb61d6cb160e8bfea323f605efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): server/src/services/native-runtime/native-harness-filesystem-independence.ts:741 \u00B7 server/src/services/native-runtime/native-harness-filesystem-independence.ts:800 \u2014 the two spans are one implementation copied and then locally edited \u2014 560 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1bb4d5af4877e129af1e4f340f8c12749dd32f2783c1476c73dfbcf577fe5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-copyback.ts:80 \u00B7 packages/adapters/grok-local/src/server/grok-auth-copyback.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 224 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/codex-local/src/server/codex-auth-copyback.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b882101b3a68f7a6d6b5e7b8ff8ffc6c1540acd1e20f4b57a65f874809c2e977"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3 locations): packages/adapters/grok-local/src/server/test.ts:112 \u00B7 packages/adapters/opencode-local/src/server/test.ts:70 \u00B7 packages/adapters/pi-local/src/server/test.ts:84 \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/adapters/grok-local/src/server/test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bf4ff3610d949992ea8c158e57298c74092a72ee30c164e350c0663d7202fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): scripts/screenshot-blocked-inbox.mjs:10 \u00B7 scripts/screenshot-notion-connect-flow.mjs: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":"scripts/screenshot-blocked-inbox.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc48e5b2b0ce483dc086214f8217a887d51500646de967332d5b8d4a98c57e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): server/src/routes/activity.ts:181 \u00B7 server/src/routes/costs.ts:150 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/activity.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e53854b1ef97f94e26ffefa488d63aee6110bf2c2a5f35991462b6f9b9f7db0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): cli/src/commands/client/adapter.ts:182 \u00B7 cli/src/commands/client/plugin.ts:850 \u2014 the two spans are one implementation copied and then locally edited \u2014 266 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/adapter.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a2f273dd59d794bafc79dca953cda6af7d4f92240f4f5a70f8bb742422ef44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): cli/src/commands/routines.ts:125 \u00B7 cli/src/commands/worktree.ts:1131 \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":"cli/src/commands/routines.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca23e7da2f353e38d4d626d8743d554e326295773b512e47361ddfae196dad3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/test.ts:195 \u00B7 server/src/adapters/http/test.ts:26 \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/adapters/openclaw-gateway/src/server/test.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7337b2396fefbd185f660bf34fade1b7025f78b90be3d53b4c3eb3676152e683"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts:584 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1070 \u2014 the two spans are one implementation copied and then locally edited \u2014 247 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf918d066c9ec49d70553d9df751713044965670581171e7e46baf14d548ed1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): server/src/services/company-skills.ts:5467 \u00B7 server/src/services/company-skills.ts:5525 \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":"server/src/services/company-skills.ts"},"region":{"startLine":5467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd17c7fb1f6521b9b125e721232699db2ac9b0d88794c719306b2666869b95be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/acp.ts:553 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:400 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:290 \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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc043aa7eb4e6d48d52353236d76b6adb8b24bef9103c2f4629f96bdd56f912"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/test.ts:91 \u00B7 packages/adapters/grok-local/src/server/test.ts:116 \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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"416c6b8aa1d8ca1835a87d04b09c43a17ee5e4b7e0dab99e3e8904fbfa5ca5bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/harness-driver.ts:612 \u00B7 packages/paperclip-runner/src/contracts/native-session-backend.ts:249 \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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e218b4c5537dc2b4fee8488e78c19cfa335f966e2dddbe69af0d1a9ff1bd72b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): packages/shared/src/validators/company-skill.ts:555 \u00B7 packages/shared/src/validators/teams-catalog.ts:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 365 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/company-skill.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"e816a0bec585b9a03fbea8f499c2123aeac3423641631c1dfcb799dc98a33ff5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): scripts/smoke/notion-generic-live-lib.mjs:398 \u00B7 scripts/smoke/posthog-live-lib.mjs:182 \u2014 the two spans are one implementation copied and then locally edited \u2014 283 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6d8eec6ab8224b79cd3e97b1fa1a07e2c326f2263088615f52413f5fb4f604"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): server/src/routes/issues.ts:5828 \u00B7 server/src/routes/issues.ts:5967 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5828}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12c85c7305f18c662283b9e0b2a255e1506d65c7df0fc3fb975dcbb230a828f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): server/src/services/access.ts:555 \u00B7 server/src/services/access.ts:1160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e954cb204d22bccd436967250f26d0316624c292c0461b399f9504ac1556971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): server/src/services/cloud-runtime-identity.ts:267 \u00B7 server/src/services/cloud-runtime-identity.ts:522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec8f8002804d46188658aa47ea42d329056c528f8f82291f827a28900aff48b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:763 \u00B7 server/src/services/heartbeat/retries.ts:1434 \u2014 the two spans are one implementation copied and then locally edited \u2014 168 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"95611e70c06c04c2d5e3c4523fdf2efe060255a8614664338c9cb14a29a77588"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:808 \u00B7 server/src/services/issue-tree-control.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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27e1d83f3002973f1fe7cff00138fbcfd2de25a9195da87f2d21ee05e770772"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/runtime-config.ts:25 \u00B7 packages/adapters/opencode-local/src/server/runtime-config.ts: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":"packages/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e8976a6fc374a2d932ae97c4fa5dbe2fe153b60ce7fa159aced130e54a7b08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/dialog.tsx:23 \u00B7 packages/paperclip-runner/src/react/components/dialog.tsx:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 229 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/devtools/browser/src/components/ui/dialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"113e5bd58004d95fe47b8542adff946c756058bec2be5f180bd27f51efe4f1bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): packages/skills-catalog/src/catalog-builder.ts:765 \u00B7 packages/teams-catalog/src/catalog-builder.ts:848 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67282bdab7d1457682017c4d1d147c8141921d59f4c7b37e6bc10f429c151af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): server/src/routes/file-resources.ts:863 \u00B7 server/src/routes/file-resources.ts:916 \u2014 the two spans are one implementation copied and then locally edited \u2014 226 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":"server/src/routes/file-resources.ts"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8726121c3c071b9aae09d3d4a8948ad793e0e3c3c8430135e1afbb97f73c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/attempt-recovery-work.ts:7 \u00B7 server/src/services/chat-channels/microsoft-teams/consent-expiry-work.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 435 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/attempt-recovery-work.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7c8720675976b771ec8aeb8ece5b00be4b425203e9ad6ecc87d2a26c3b4b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): server/src/services/decision-models.ts:167 \u00B7 server/src/services/fast-responses.ts:611 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"846851d0fe5725f68bbd3e86175e51ef503f28590a49736ee45312fc735e2d06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:4947 \u00B7 server/src/services/heartbeat/queue.ts:5370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":4947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf817d1395159b7098bddd98e71f0e4694e055f18bc7c91889fd6a23ac45723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5550 \u00B7 server/src/services/issue-thread-interactions.ts:5816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5550}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ce944a92fd07ab6989b2504ab6d2fa7424867c1909112afa7384b4df30b8cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): cli/src/commands/client/agent.ts:244 \u00B7 cli/src/commands/client/token.ts:168 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1529c463442fdb1c05bd2255637971a492d89114d91d4e25a71389b8b6f3014"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 4 locations): packages/adapters/claude-local/src/server/acp.ts:68 \u00B7 packages/adapters/codex-local/src/server/acp.ts:54 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:37 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:30 \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":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"312978d95ffee057b6da9d54762d1a24d7b22eed61019d584a196df3075c5fd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/acp.ts:54 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:37 \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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec0474131ed4e67ba9a02981be14398984fa4417980ecacaddf953fd43b1124"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:664 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:619 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4ceb3a4043be85e79ca4b589e88af66066d60f6939febe0370ac1a9597a68a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): packages/db/src/schema/decision_models.ts:6 \u00B7 packages/db/src/schema/prompt_injection_prevention.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 416 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/db/src/schema/decision_models.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fcb40e146fa07b64254e052ed7f93733bce96475ee945e1bf03e5e11e4d7dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4958 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5291 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:7077 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4958}}}],"partialFingerprints":{"codehealthFindingId/v1":"5392c368894c8e3edc1c26d5f79d3920278fc0250f50e4689fe5e757146969bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:205 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15dc7ed9ac2e06777ca8b6e9bc05c4c59d7ca4ccc23f17cac84c7ba16e8383d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): packages/plugins/sdk/src/environment-task-error.ts:37 \u00B7 packages/plugins/sdk/src/workspace-operation-error.ts:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 292 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/plugins/sdk/src/environment-task-error.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"44939a121274dbe2b8f5ed6136089e62da78229e7e1d4ebee55f4acaea223dfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/shared/src/project-mentions.ts:93 \u00B7 packages/shared/src/project-mentions.ts: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":"packages/shared/src/project-mentions.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bef97e38d266ae59874898d3ab2f0a35f5958c013ae0d55e785cb2609f2e8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:435 \u00B7 packages/shared/src/validators/issue.ts:508 \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/shared/src/validators/issue.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ef80e24aa5c87bcaf6a40eaa9aa174202a0ac97c69203c3565b1133f07d85c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): server/src/services/document-annotations.ts:711 \u00B7 server/src/services/document-annotations.ts:748 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee5817ca1ff847ccc0025bb8711de049a930e2289bfe3cb9caecc00b9c4b3d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): server/src/services/heartbeat.ts:1913 \u00B7 server/src/services/heartbeat/run-completion.ts:403 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986feedefa4da9fa1b6864e2c12820931487cd589a6c78f0c69c3a8071d269e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:8394 \u00B7 server/src/services/native-runtime/native-session-executor.ts:8431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ac84da23b4636d9764a712ea0506f0405c6bafc80b808582db09bf9ca50d46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:873 \u00B7 packages/adapters/codex-local/src/server/acp.ts:568 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"4480d96c3f293b5235aa34712064f16e4492bb117e1d5d03a70d6d08b52950a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): packages/plugins/paperclip-plugin-fake-sandbox/src/plugin.ts:212 \u00B7 packages/plugins/sandbox-providers/exe-dev/src/plugin.ts:611 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/paperclip-plugin-fake-sandbox/src/plugin.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f051fff9b2eb9a8a92059b6f8a42ff5335c7b73a87dd6633036d17a52417534b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:855 \u00B7 scripts/smoke/posthog-live.mjs:755 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ee61613b3a2e287188f5fbc2e5a33c144d84f722429f2fbd4fe1f9ab0338b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): server/src/routes/plugins.ts:2181 \u00B7 server/src/routes/plugins.ts:3199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03f06650c75e6cd65dc62ccec470c8cea07c8a3935c67667c7d78a22650230"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:916 \u00B7 packages/adapters/claude-local/src/server/test.ts:187 \u2014 the two spans are one implementation copied and then locally edited \u2014 250 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cceec3d171aebb2e10195042db4a06d73f014e4a0264aa499842db0234918e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:471 \u00B7 packages/adapters/codex-local/src/server/parse.ts:244 \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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c2f51ea73eb23bb3998342a2cbead88e2adb18e4d925660e61fbbb191e2970"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): packages/adapters/cursor-local/src/cli/format-event.ts:207 \u00B7 packages/adapters/cursor-local/src/ui/parse-stdout.ts:255 \u2014 the two spans are one implementation copied and then locally edited \u2014 203 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"913acd353e5202e43b50312b18616a7145756ebec0c5dc798294b1900348c600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): packages/adapters/kimi-local/src/server/execute.ts:209 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:230 \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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333d5d69f3e5b4f6659de3411feb425183104e1c3c48f119390054047a26345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): packages/db/src/schema/decision_queues.ts:62 \u00B7 packages/db/src/schema/decision_queues.ts:150 \u2014 the two spans are one implementation copied and then locally edited \u2014 265 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/db/src/schema/decision_queues.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fedb56fd307c8778f9d246dc08e45d10ffb89a7c0125ba9f0cc64526cd41ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx:7 \u00B7 packages/paperclip-runner/src/react/request-card.tsx:7 \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/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a712176a05073dc5baec63e214b85bc2f816c7d8073965053ef95f42270cff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx:62 \u00B7 packages/paperclip-runner/src/react/request-card.tsx:66 \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/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7059505985460411096944895498b488dc0d0f015573ec3d38600e5bc4f9486c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:284 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:703 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f64ad815c0a7d6e25285595b9a01f0da48410672b5a80fe36c94a5e72979dae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:259 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.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":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6041162e81a11a651e9234ac3a2b817828e163dd6e4ec56d03fa6c648dcea8c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): scripts/build-standalone-public-packages.mjs:20 \u00B7 scripts/check-docker-deps-stage.mjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-standalone-public-packages.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dc9a60a100412d7f9ac892071ee97af8effb2d7e61879c68cb77224752bafb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): scripts/dev-runner.mjs:18 \u00B7 scripts/dev-runner.ts:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb88132a30ade4fa573b2ef112d846cddad746a5427aa471e4756432e7eba2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): server/src/routes/access.ts:2221 \u00B7 server/src/services/invite-grants.ts: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":"server/src/routes/access.ts"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1377668ed501639251cc0fd77e704e6ca6c2a10ce8d6f3c1a9febbe122885b5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2029 \u00B7 server/src/services/chat-channels.ts:2136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64dd0af40c00647ac675698b01a884e59e8a7457acba0834e8ef1510583c970"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): server/src/services/chat-channels/runtime/ownership.ts:168 \u00B7 server/src/services/chat-channels/runtime/ownership.ts:217 \u2014 the two spans are one implementation copied and then locally edited \u2014 175 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":"server/src/services/chat-channels/runtime/ownership.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910823fe5421956ece70dae3e6bc07f56d41bd8d7c6e8c65bdfdfcae1d66d17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): server/src/services/native-runtime/native-harness-backup-stamp.ts:56 \u00B7 server/src/services/native-runtime/native-session-executor.ts:8152 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3624b0a6e99161a3e2ea041d5feb7dcec12f167a60508f6997d177dc8dd11126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): server/src/services/native-runtime/native-response-wake-wait.ts:21 \u00B7 server/src/services/native-runtime/native-response-wake-wait.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":"server/src/services/native-runtime/native-response-wake-wait.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbde02ed7e925736c4d37edc1bbca54a8dffdcb607a1397d1f0936e2974fb962"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/cli-capabilities.ts:94 \u00B7 packages/adapters/claude-local/src/server/cli-capabilities.ts:136 \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/adapters/claude-local/src/server/cli-capabilities.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c64796f1e554c9dd0439684976bd469632e4bbb110a82f7f86bf94db33eb0c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts:8 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-message-projection.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 353 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0f80bdede4ac3e50158fc7e690ed733022aedd77636eaec918ad42cddb5cb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:479 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:719 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f63a7970c41916e1166aad89c7bcaaebbd1c8f34c23e8be4bfc0537c0324db6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:349 \u00B7 packages/shared/src/validators/issue.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/shared/src/validators/issue.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba529250c689d51408815616b771f07a4aa7c38f5d84cce3b9fed2e9046d2bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): scripts/generate-company-assets.ts:255 \u00B7 server/src/services/company-portability.ts:160 \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":"scripts/generate-company-assets.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f2931223658d61117ec2f202a49212d0f7214741c545b1a2829318892b04cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): server/src/routes/agents.ts:6459 \u00B7 server/src/routes/agents.ts:6584 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":6459}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8ff4cfa1e0fb2ce66ace54492137008b71ee81f01513eaf51813e61c4d6e25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): server/src/services/agent-instruction-working-copies.ts:514 \u00B7 server/src/services/agent-instruction-working-copies.ts:584 \u2014 the two spans are one implementation copied and then locally edited \u2014 392 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd7dad48ae7d1c4d628681f324e2a7cd64c4672593a58c1dde4c88c7b69b28d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): server/src/services/chat-channels/github/webhook-authentication.ts:120 \u00B7 server/src/services/chat-channels/github/webhook-authentication.ts:185 \u2014 the two spans are one implementation copied and then locally edited \u2014 202 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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6044dbf1dc25a603f885b2b6fb863001cc764660c4fa74e437ed5d5b6bc6dd1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): server/src/services/company-portability.ts:5099 \u00B7 server/src/services/company-portability.ts:5146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5099}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c246ee25bd708f95730a9b2ed209f0656adccd4ef8a4c7c5b7d4f40b98d457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): server/src/services/company-skills.ts:3975 \u00B7 server/src/services/company-skills.ts:4009 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3975}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dae5ff9f07c02235e11294808f4debd3ac7ef8773abcbd116b3a62f4ecc02ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): server/src/services/connectors/supabase/index.ts:143 \u00B7 server/src/services/connectors/vercel/index.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 334 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add0ad5700b340b9fbed3b53143e32b9c5e5cded661a31f00c9ad5a24c34122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): server/src/services/heartbeat.ts:1121 \u00B7 server/src/services/heartbeat/recovery.ts:405 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06b93f96bdbe3d9c6a7f8c8b969ac2499669ded21e42f795932ca73d0de531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): server/src/services/native-runtime/native-result-commit-work.ts:38 \u00B7 server/src/services/native-runtime/native-status-reassessment-work.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 404 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-result-commit-work.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ae3b366534968391e92e23f7f021f5174d11f6c58588a7d67e974605af5318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): packages/db/src/schema/cost_events.ts:12 \u00B7 packages/db/src/schema/finance_events.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 322 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/db/src/schema/cost_events.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"778c1d5db394fbbdac863608190fa45842d751810b5457c9897f1a650903851d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/openrouter-attribution.ts:4 \u00B7 packages/shared/src/openrouter-attribution.ts:2 \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/paperclip-runner/src/drivers/openrouter-attribution.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93581cec1d6c03abc03a4ad35dd5133dc0fbd3fc8d7ab7a0b3783311a86dc16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): packages/shared/src/types/company-skill.ts:36 \u00B7 packages/shared/src/types/company-skill.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 162 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/company-skill.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cb09a1c9bd3375a81f614cf4a5e61fc58cf92e037a1507e1fb2851da640491"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): server/src/services/chat-channels/publications/authorization.ts:109 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:435 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55632210ec271c04b922e952f64480358b1de03fba0a393610258a7aee3d4b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5119 \u00B7 server/src/services/issue-thread-interactions.ts:5161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef72522427462c97052bd3762fdaca3c962441404cfafd95f924274534655ec5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): server/src/services/native-runtime/provider-profile.ts:525 \u00B7 server/src/services/native-runtime/provider-profile.ts:558 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"349526bea068b90a1c18778f0c2e5aadf9f5f936c6c518b85749adeef3408874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/cli.ts:4 \u00B7 packages/adapter-utils/src/acpx-engine/ui.ts:4 \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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7e6e4a6bfaa109c9ba843b48abb913449952b01b6f54ef7095123eb15375a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/adapter-utils/src/command-managed-runtime.ts:625 \u00B7 packages/adapter-utils/src/command-managed-runtime.ts:679 \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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"895009f036a74364e5ca4272f4f121173641f49abd5bb0372c7398611a5c9304"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/execute.ts:1209 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:502 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:522 \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":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d45a22de54db8fc3c4def9a05c73a4cc247afff3af647d568480069cba82c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/adapters/hermes/src/ui/parse-stdout.ts:196 \u00B7 packages/adapters/hermes/ui-parser.cjs:122 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"526ac3f21d25d88a2897c9e0248409e28a794e58415303e385ab5a6f7f28697e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): packages/db/src/schema/managed_agent_profiles.ts:25 \u00B7 packages/db/src/schema/remote_agent_profiles.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 294 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/db/src/schema/managed_agent_profiles.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cd4a29786edb76c570051dd07a6ff9a1302e5fae2cc6c1535578e9bf6b3867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/capability-clean-room-smoke.mjs:27 \u00B7 packages/paperclip-runner/scripts/capability-issue-thread-smoke.mjs: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/paperclip-runner/scripts/capability-clean-room-smoke.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae94ecb55d176f55823d724504b127937d6658c42fda8ece60b1747c47691a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/exe-dev/src/plugin.ts:895 \u00B7 packages/plugins/sandbox-providers/novita/src/plugin.ts:423 \u2014 the two spans are one implementation copied and then locally edited \u2014 157 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/exe-dev/src/plugin.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e60545ecc112e0223312db8e2bd6b459e04873b8ddbbe09f6eb1fcc27cbcd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:115 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:319 \u2014 the two spans are one implementation copied and then locally edited \u2014 249 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eab2dc03c502e8de073905e3d7530e5a3000b62839d7a6a4ed080740be2336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): server/src/routes/resource-memberships.ts:65 \u00B7 server/src/routes/resource-memberships.ts:98 \u00B7 server/src/routes/resource-memberships.ts:131 \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":"server/src/routes/resource-memberships.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4563c7d46b91dc86c4202246ea371b5ca837e04328431fe117a141521581ebdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): server/src/services/chat-channels/publications/resolution.ts:367 \u00B7 server/src/services/chat-channels/publications/resolution.ts:489 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e106cf7169d8eb4c96624e597ea1149d749e8bad9319c344b2c2048560b77e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): server/src/services/document-annotations.ts:286 \u00B7 server/src/services/document-annotations.ts:319 \u00B7 server/src/services/document-annotations.ts:353 \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":"server/src/services/document-annotations.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e630b195758bde74d8ab837ef339abd6d6a75cdae5d4352055d58de5b8d9e6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): server/src/services/heartbeat.ts:1382 \u00B7 server/src/services/heartbeat.ts:1448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9833e1b2c9aeaa747200810f76ac137b9425c648250ea2b137f87709d7dce18a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-home.ts:454 \u00B7 packages/adapters/codex-local/src/server/codex-home.ts:518 \u2014 the two spans are one implementation copied and then locally edited \u2014 265 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f31115fd92c7a286fecc1fc667a050d217883451614a51312975f62364f3c46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4 locations): packages/adapters/cursor-local/src/server/skills.ts:55 \u00B7 packages/adapters/gemini-local/src/server/skills.ts:55 \u00B7 packages/adapters/kimi-local/src/server/skills.ts:61 \u00B7 packages/adapters/pi-local/src/server/skills.ts:55 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/skills.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994d69fe8e705fd612b1dfdcbe5259d1ed8bbe78985d4e388c26d6ec03153c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:793 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:745 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ca7bb7bca3466a70b80a11ed318c01f23a759d7df2a5fa343d6b82f4aaebbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/adapters/hermes/gateway-ui-parser.cjs:51 \u00B7 packages/adapters/hermes/src/gateway/ui/parse-stdout.ts:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 387 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81ca60f82519fb02e64ea8348ce085e666693a49703f7101044b0afc370691f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/execute.ts:161 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts:17 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfcd23564d72200052ca7a528a39069d0c14bbb5c718b481f27dfad3a4ddf56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/qualify-copilot-acp.mjs:142 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-denial.mjs:178 \u2014 the two spans are one implementation copied and then locally edited \u2014 348 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17169c1c479f718d097bbc099b0661c2b8497c3996671a677ad4d7b2e6236fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/paperclip-runner/src/live/live-session.ts:141 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:1731 \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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fb62eb86b9ea3f04ae29d4a45feb9d90680f0b16e64238ab8783bdef0ee040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/paperclip-runner/src/provider-events.ts:860 \u00B7 server/src/services/heartbeat-run-summary.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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"25333f7bd267182ba5b6eb61f7be7d54d71bf0547f74c824de7e7ccc0c2ce4bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/modules/wake-queue/application/queued-comment-use-cases.ts:120 \u00B7 server/src/modules/wake-queue/application/queued-comment-use-cases.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":"server/src/modules/wake-queue/application/queued-comment-use-cases.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"da521f8d54c72ed615ba1ff3fc1ceed7b66a7a8b7acf4c1f3c645749947dd728"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): server/src/routes/agents.ts:897 \u00B7 server/src/routes/agents.ts:1154 \u2014 the two spans are one implementation copied and then locally edited \u2014 240 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":"server/src/routes/agents.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"461511aa931dfd8d908ccde6daf80d0cb3ee5d09e5d4a4e9ac3351b64430f8bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/routes/plugins.ts:2116 \u00B7 server/src/routes/plugins.ts: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":"server/src/routes/plugins.ts"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"442b4d4c6b79300f2bda084cea905c9b926074dac5efcbac31258413f0c45578"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/services/chat-channels/discord/root-threads.ts:338 \u00B7 server/src/services/chat-channels/discord/root-threads.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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"349d35f2b46348ea053ee2e1e890aeb7d53ce3f871f7b27b3f1f520fc117f13a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/services/company-portability.ts:5798 \u00B7 server/src/services/company-portability.ts:5850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88b55bb4a765f64835d6d4a1d17fd79728dd1da3cebf4fd6dfdd38737fa157b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:317 \u00B7 server/src/services/native-runtime/native-interaction-bridge.ts:357 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"af90f9f5fd5dfcd459768ab9d5adca561f5a093e7641aae1786a342546b7f146"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): cli/src/commands/client/run.ts:159 \u00B7 cli/src/commands/client/run.ts:226 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/run.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a17a44296526afe83bfe47609f13b3f829e983911fa7f62dbb319d903a180bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:3850 \u00B7 packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts:447 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa6c57116324fcbe7c441a4f05c6a83fe7a81038277a3b0bcb6eaf355e9b313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:2864 \u00B7 packages/adapter-utils/src/server-utils.ts:2932 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e318865bb19dcab81dab6392e8f78d387ae15ebef524da1bb8e045a3d26d9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/test.ts:381 \u00B7 packages/adapters/cursor-local/src/server/test.ts:187 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/test.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ca74c731cdb1a03b31874564535b200b06edac4f1427f926307734e3d7279b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:100 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:137 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac6b05b1785b0757ee834ded074ebdbadc88df365cad6c8e39f3f95c38a3a72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3 locations): packages/adapters/grok-local/src/server/test.ts:37 \u00B7 packages/adapters/opencode-local/src/server/test.ts:34 \u00B7 packages/adapters/pi-local/src/server/test.ts:28 \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":"packages/adapters/grok-local/src/server/test.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc3a0dcd29d2af05eb751de5beecaf4334ab2ca9a9e8a3fe0e01d734aad1bac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/runtime-context-materializer.ts:98 \u00B7 packages/paperclip-runner/src/drivers/runtime-context-materializer.ts:139 \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":"packages/paperclip-runner/src/drivers/runtime-context-materializer.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03d45f040178fe14dc1fa72e3da0ce02fa32ae2ca102ef2ef72ed17cb62c715"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/paperclip-runner/src/scenarios/chat-session.ts:130 \u00B7 packages/paperclip-runner/src/scenarios/scenario-runner.ts:57 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/scenarios/chat-session.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f4c8fc2e78398d88a59c2f4f24130e498609dbcdcd20570df5a6be3a193588"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/routes/cases.ts:941 \u00B7 server/src/routes/cases.ts:978 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f93149ccf3a0214951f629a8ca430cba6cd27e9a8fe14bd83cac9850778899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/routes/routines.ts:291 \u00B7 server/src/routes/routines.ts:330 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cc64f46d5367611af49890b094078e27f3ec4aba1620f533ea9eb5aff089fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/services/authorization.ts:1583 \u00B7 server/src/services/authorization.ts:1654 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9224e8ed049bf20cf8b47f07ea4f40f6f06aeb0b6b4165569339caef075bb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/services/document-annotations.ts:561 \u00B7 server/src/services/document-annotations.ts:650 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aef8f8a67fc1c0c75b5c0cc5d7058e69debf46ea926894129840b20f68c3225"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): server/src/services/native-runtime/native-safe-replacement.ts:81 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9969f9dea4578670d093516131f2b98d8dd6bb50a37b524c0505c6bd02e57a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): cli/src/commands/client/connections.ts:13 \u00B7 packages/mcp-server/src/tools.ts:58 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/connections.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cc20615a2bf4d647cb43818ee1e899475558e3413aa9286dc2cfbbef7ba6d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/test.ts:258 \u00B7 packages/adapters/kimi-local/src/server/test.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/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"59631f5045775213758fa9281ed45e4986e59a6e384f75d53bcb56217133c380"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): packages/adapters/grok-local/src/server/parse.ts:15 \u00B7 packages/adapters/kimi-local/src/server/parse.ts:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 216 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/parse.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0051c7799cb270fee8ee38ea933d1c416dcfd55edfe21c96e376126bfb67b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): packages/db/src/schema/native_run_results.ts:17 \u00B7 packages/db/src/schema/work_assessments.ts:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 241 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/db/src/schema/native_run_results.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f170f940a8e136c6d2c7c0d538a8c47f2c5f25f53633db7b0d57d58b1650aa0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): packages/paperclip-runner/src/backends/harness-driver-backend.ts:120 \u00B7 packages/paperclip-runner/src/backends/harness-driver-backend.ts:884 \u2014 the two spans are one implementation copied and then locally edited \u2014 182 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4065c78bc1b179b7ea7af9c7b2239fc60b04fca9eed349e705ffc640d865d9ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:36 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:3578 \u2014 the two spans are one implementation copied and then locally edited \u2014 181 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84313030858f620f5744b4521aee3f1220bb68339fe935bc9c3bc89e7574789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): packages/plugins/sdk/src/environment-runner-ingress-error.ts:9 \u00B7 packages/plugins/sdk/src/environment-stop-error.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 221 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/plugins/sdk/src/environment-runner-ingress-error.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3370e769310a8675eff924d9af8b7cc68eb83d9441bc9620eecd63df4e647b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:2202 \u00B7 packages/plugins/sdk/src/testing.ts:2243 \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/plugins/sdk/src/testing.ts"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c441da66612f1f77f74b86609c60d39ddf79f1791c5b5452efe5a7344a25bb50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): scripts/dev-runner.mjs:531 \u00B7 scripts/dev-runner.ts:831 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/dev-runner.mjs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b815a367b489330b6d442614421b30fc277e94c6046717ffc3acef1892b9de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/destination-admission.ts:22 \u00B7 server/src/services/chat-channels/telegram/destination-admission.ts:20 \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":"server/src/services/chat-channels/microsoft-teams/destination-admission.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"043925d805b09d74f686fdbc74b8eea32c14890178b52936db357a03300f0006"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): server/src/services/heartbeat/idle-quota-schedule.ts:9 \u00B7 server/src/services/heartbeat/idle-retry-schedule.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 426 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-quota-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"530a00edc2bc72a69d675f8de224edeb6b455ceb1d1e0d04183b35787cc92de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): cli/src/commands/configure.ts:102 \u00B7 cli/src/commands/onboard.ts:404 \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":"cli/src/commands/configure.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6500eaa77db599014a7ec720f5e5788cac43b418a1fc35361a10129f0c25d15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): cli/src/commands/worktree.ts:1144 \u00B7 packages/db/src/migration-runtime.ts:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4b886f4b912cf7399c255c0510e73d8ccb3ac4fb2a8723ea1b5830dd8d045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:410 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:208 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"449ef7fa02393e995daea83a8dd19b83fb91d51b28131899e54875f6c74cc6ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6 locations): packages/adapters/cursor-local/src/server/execute.ts:244 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:277 \u00B7 packages/adapters/grok-local/src/server/execute.ts:315 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:249 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a9a8c6d2865dc51b450aa5598a46e89f01717147321c3cf05d2e8893d14c29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:691 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:1097 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"310825e64e31105ffbf91bfb2d5fde34aa9b55a83c20a63c05356aee418977c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-installation.ts:21 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-installation.ts:35 \u2014 the two spans are one implementation copied and then locally edited \u2014 379 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/acpx/kimi-installation.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"612c0ab37f495201705ff9980ab63f45fb7623d6dd255f83c6294929990524e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/routes/agents.ts:4622 \u00B7 server/src/routes/agents.ts:4947 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4622}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e8b8605cbc8599f5f72327ab0c7136266c7b3499902746b07af7ab104ed9db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3 locations): server/src/routes/tool-access.ts:1310 \u00B7 server/src/routes/tool-access.ts:1405 \u00B7 server/src/routes/tool-access.ts:1574 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fd842adb1f094ecf984bb57cd560cc74a6f5a532801ff700a5c6d445123123"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/routes/tool-gateway.ts:753 \u00B7 server/src/routes/tool-gateway.ts:781 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c67bd1a685c3ba5f311625ae032b7bea42a703ff30631a1dcd714d9c7eee85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/services/chat-channels/discord/gateway-events.ts:167 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:506 \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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d8a31617307020e79b82be99827d553febad16349cca82a6ec1ba88b679e02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:1288 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1911 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"416d06c585b36ed6dd47d699a0f34f7896a026b288509638acf89bfa053b0eb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/services/company-skills.ts:1820 \u00B7 server/src/services/company-skills.ts:1848 \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":"server/src/services/company-skills.ts"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfff3a1eda3a6d6b8c0487a3bb88d7dc069e1c0ad27db161023949b193fec2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:2589 \u00B7 server/src/services/issue-thread-interactions.ts:2889 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaf3829a1cd31a19a673674768989fa4854de8fc127edf33302ac74d7668670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/test.ts:63 \u00B7 packages/adapters/gemini-local/src/server/test.ts:52 \u00B7 packages/adapters/kimi-local/src/server/test.ts:101 \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/adapters/claude-local/src/server/test.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3e92bfafdd52c821608587cc15ba1d71b1d227507ba519aca9e79c07182a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-merge-decision.cjs:41 \u00B7 packages/adapters/grok-local/src/server/grok-auth-merge-decision.cjs:73 \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":"packages/adapters/codex-local/src/server/codex-auth-merge-decision.cjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb923d1b3d1e582ca1a4fc2e6079d8d0202bbe91ef13af2345c5ecca4b0d0d4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:538 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:494 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a129caf9d7d4956dcce19a230d2f9bac71ea29c7015b5c8b80578198f16a2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/execute.ts:67 \u00B7 packages/adapters/kimi-local/src/server/execute.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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e6d12b085014dc010536c80fe82dc680ea4c5c68e96784bb3211d7201e3c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/adapters/kimi-local/src/cli/format-event.ts:45 \u00B7 packages/adapters/kimi-local/src/ui/parse-stdout.ts:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca7b81e649041e7ab8f6da78922c69ac10e4223a520e50bd1dc230b1d5c3363"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/eval-session.ts:489 \u00B7 packages/paperclip-runner/src/cli/eval-session.ts:574 \u2014 the two spans are one implementation copied and then locally edited \u2014 184 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9dba35609f9da96726b4238e151ac43589f3e20f96f4c7d9e9946397ddcfb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): scripts/prepare-bundled-package.mjs:116 \u00B7 scripts/prepare-bundled-package.mjs:224 \u2014 the two spans are one implementation copied and then locally edited \u2014 228 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/prepare-bundled-package.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"443c208cbb04b94be5eef2fc5dd8b8c9edb4570f63687e333124588dd92c05ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): server/src/services/agent-secret-bindings.ts:58 \u00B7 server/src/services/agent-secret-bindings.ts:110 \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":"server/src/services/agent-secret-bindings.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce38ec990df2c5d3f4838bd44d83fec3e91d555468e560fc945702e7514eb75b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): server/src/services/chat-channels/discord/command-schedule.ts:13 \u00B7 server/src/services/chat-channels/runtime/receiver-schedule.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 344 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/command-schedule.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db185f883327fbc40659f7ecc18f5dd8cd6421f0f4defceff65b1d7e2cf9bea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start-resolution.ts:224 \u00B7 server/src/services/chat-channels/slack/task-start.ts:794 \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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"583ebc0de598d9c7421ef5d49163a00c21bfd0bf4115617f9181ee5c8d564156"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/services/document-annotations.ts:882 \u00B7 server/src/services/document-annotations.ts:918 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"58735d0b45e595c01e1ebddefc5464331e6ece0736ad45b19a1c268a6ae188d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/services/issues.ts:6677 \u00B7 server/src/services/issues.ts:8588 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":6677}}}],"partialFingerprints":{"codehealthFindingId/v1":"08227d627bd67d84599a2ce174a538ebee1dc4f783302ed59b715aec3d1ebac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): server/src/services/native-runtime/native-chat-review-presentation.ts:240 \u00B7 server/src/services/native-runtime/native-completion-feedback.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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8687f64eb3c2c45306a757f0ddb7c5c0aa9cf8d872322d1a5ef51fad19bd0db9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3348 \u00B7 cli/src/commands/worktree.ts:3373 \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":"cli/src/commands/worktree.ts"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5583519fdc750572fca9b4026534d83454078fb08a91c43f4f32720bb23ab5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:324 \u00B7 packages/adapters/pi-local/src/server/execute.ts:375 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b927e81940ae399a54aab82175491edbcced0394556105b7af514b1202180f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/acp.ts:111 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:82 \u00B7 packages/adapters/kimi-local/src/server/acp.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":"packages/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa10664c8d5d1ef4da62a9badeaa22bf7536fe8a839bfb3eacdceae6d874841"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:626 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:585 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5d1247e54a742c788fceebe31d5ad289f5db3410cce01405b4cd12d2ab137c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6256 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6364 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0c5d3c54b6ccf7734c91e6c4d15a67e6faa09c3d4e82edc310225852e0e112"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/plugins/sandbox-providers/boxd/src/plugin.ts:386 \u00B7 packages/plugins/sandbox-providers/e2b/src/plugin.ts:164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"635261ba5c479927e2b19bb6470a7cff399f083c64510633fba1b8a4460d5b9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/routes/access.ts:3323 \u00B7 server/src/routes/access.ts:3378 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3323}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d969c951eec18137f3a684bbac0f16a90e179f5fe855d447b96fbf54da003c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/routes/plugins.ts:2646 \u00B7 server/src/routes/plugins.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":"server/src/routes/plugins.ts"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"5769b9fbee17cad78db38ae9bafb36cd3b969bbbbab30c1539e27594ff2eabb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/secrets/aws-secrets-manager-provider.ts:1222 \u00B7 server/src/secrets/aws-secrets-manager-provider.ts:1256 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cceccd8764a665fab07f26444984b3c9406e241ad627f9a2f1a4ab3d513b762"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/services/chat-channels.ts:1724 \u00B7 server/src/services/chat-channels.ts:2614 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"242bc8d70a92094ee78ac8da0da25c3db76b093e49a73877b59cdeb5ceb75b47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:852 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1953bf384a0ebf2691047dd00c3135c279226278b08eb7b9a038b81b10b52d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:3755 \u00B7 server/src/services/environment-runtime.ts:3785 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6dcc7ca9632da4cd9eaa1df0b7927ae5f6fee1abbf27844b84f6f0a8dbfe90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): server/src/services/heartbeat/recovery.ts:1456 \u00B7 server/src/services/heartbeat/recovery.ts:2962 \u2014 the two spans are one implementation copied and then locally edited \u2014 163 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"343c07d0c11a833d01cc9d00f0d65cb40bd483f028e360ec555415d732ab8b23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:2528 \u00B7 server/src/services/issue-thread-interactions.ts:2829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c44d848bb4206d998fce8e9beccba784d30a683d620e29752c5184bdebd6d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/test.ts:536 \u00B7 packages/adapters/gemini-local/src/server/test.ts:253 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/test.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0d5eb5d8f3e104bf18bf342d0c8602eac9e4024ace3d48fb3b8e935b322627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): packages/adapters/hermes/scripts/prepare-publish-package.mjs:28 \u00B7 scripts/release-package-map.mjs:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 155 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/adapters/hermes/scripts/prepare-publish-package.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"817c723a86aa836abe67900695bcbc65c433ca682483843b564e0ad35a15bc83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/db/src/check-migration-safety.ts:448 \u00B7 packages/db/src/check-migration-safety.ts:542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc1e4f541d11f91a930ff48816046906176aca8568691f074358b6f3e28c636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/db/src/runtime-config.ts:68 \u00B7 server/src/dev-runner-worktree.ts:6 \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/db/src/runtime-config.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eb0e82f30b225c36e1655d1beb32eff626c4f1ba79ba8fbc187f46ac719cf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2621 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:1105 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38e6229741dcef5f10019b023d4860e06ab3d3406f1497c192c5ed00e8b5325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/app-server-transport.ts:126 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:2062 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afd79b3a7d0552a898550841e26405ff6b34da71b07c9c20787c84664383ed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2676 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2717 \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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83869a9a376f0e80f065fd590e09866bdd7e6333cd3ead710bd9dac4610d50e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:1475 \u00B7 packages/plugins/sdk/src/testing.ts:1545 \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/plugins/sdk/src/testing.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2822cee4342d1309b69230ec269d7aab65245e782243eac29c162b88709e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/routes/issues.ts:19310 \u00B7 server/src/routes/issues.ts:19390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0ddccbed28137735e9a727880ff53a8152811702623755a4302465caf3d15e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/chat-channels/provider-effects.ts:321 \u00B7 server/src/services/chat-channels/publications/failures.ts:203 \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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8456a028bdf359310f5cbe4a7f1b8e3afd517f6a343854592b04dfb4d133d979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/chat-channels/receipt-reactions.ts:473 \u00B7 server/src/services/chat-channels/receipt-reactions.ts:519 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f1072c1442c93ff79467d157da4b5804f39f028756024efe65bd51603ca64e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/chat-channels/slack/file-receipts.ts:447 \u00B7 server/src/services/chat-channels/slack/session-status.ts:155 \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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"1322e5182207c6439001b58b5b72aa16c6e4a19868a0306ee556497c1a6923b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/chat-channels/slack/session-status.ts:160 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:476 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50f32a0d801a687b8d78d88c3ece7360045bb2e0734f1de6862b85e09bddc3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/chat-failed-retry-notice-work.ts:16 \u00B7 server/src/services/chat-inbound-wake-notice-work.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-failed-retry-notice-work.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6b9b83185faaaa08b318065bb0e96c04ee4e4bf1a81b7fa13090c47db56117"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:2497 \u00B7 server/src/services/issue-thread-interactions.ts:2806 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea0671a7803c2d449a4274a94561df7006a0ffa99f1f6b81c2534f3fe387dc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/issues.ts:8848 \u00B7 server/src/services/issues.ts:8893 \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":"server/src/services/issues.ts"},"region":{"startLine":8848}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaca359356a4cca75f49a1b6a460118e39eb0ca136c1c7590d0982190ea5885"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/issues.ts:9305 \u00B7 server/src/services/issues.ts:9417 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":9305}}}],"partialFingerprints":{"codehealthFindingId/v1":"704a9fe6dddd919300a91631e2e08c26033c847ce8919d6fc9b5e9a6cbe5f9c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1766 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1320 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4326c17cf86ed2835596adc2dbb3fe239d27c02e5895a4ac92245cf74a2fde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:9863 \u00B7 server/src/services/native-runtime/native-session-executor.ts:10180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9863}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fb10e5c3dbb12abfe3335ba0b1d51969602929f4679e056033c9506f5d30ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): server/src/services/native-runtime/runtime-mode.ts:431 \u00B7 server/src/services/native-runtime/runtime-mode.ts:491 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea21fd7d83b173e4ebbbeb1ffb5d0c6a1adfd735f0fba9c08414495c6f4f5029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): cli/src/commands/routines.ts:31 \u00B7 cli/src/commands/worktree.ts:183 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/routines.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"656e1245612fcccd8cc350c995273e065110b18b7bd2c3b61325b9fccc505318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4 locations): packages/adapters/cursor-local/src/server/execute.ts:482 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:492 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:439 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:512 \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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e74d01647f810bf540b7cd667d57acfe7904ae5834a419c5a5e4a070f2ffcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx:210 \u00B7 packages/paperclip-runner/src/react/session-timeline.tsx:239 \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/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"388ddb3cc0c39dab75f288371ab731d7c5fec3fda2f799ff800cbb291eab524f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/App.tsx:1024 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/App.tsx:1207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc65f31de2e6216b10debc4d1ac7e4693fdd750d4f835d8c465e89c4648dfd02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs:37 \u00B7 packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts:55 \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":"packages/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8757264d512b9b8504fcf8a3f63e38369d8ae2da4f48d4cfb9ff8415990d22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:65 \u00B7 packages/teams-catalog/src/frontmatter.ts:7 \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/shared/src/frontmatter.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a79168ab803c0fb411541d7739fcf17789283968b96178ccc8d9edfff9d9f50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): server/src/routes/company-skill-policy.ts:10 \u00B7 server/src/routes/inbox-agent-policy.ts:9 \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":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe696a0cd67ec579ffaa223f00626e343750c741fe6c4c000eea8f8d696e504"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/routes/execution-workspaces.ts:983 \u00B7 server/src/routes/projects.ts:960 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ff6403efcaff30395e37d230d5a992c61aa3a87b3ee1229a91ec776644faff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/routes/issues.ts:5705 \u00B7 server/src/routes/issues.ts:5754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5705}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca69405d1cc960edd6342d30c91e58eee6e0f5733d7eb1fefa9f7c962811bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/routes/issues.ts:11876 \u00B7 server/src/routes/issues.ts:12183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11876}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2ac4c8322ec255ecccb15fc972e89ba9a5d7f393f73eacc9c400c0f5480f53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/routes/plugins.ts:1466 \u00B7 server/src/routes/plugins.ts:1559 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5da51c79b8bf10f8fa5de68ab7c162f866c29f6b6b68a9c15765d59a47b6fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/routes/plugins.ts:1654 \u00B7 server/src/routes/plugins.ts:1744 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc1976e0fbf9a88ec027b552c7e49d21b0224998c89f2fb81b7041385208c57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2670 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:986 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8820d32e58b3a3610e935b06ee1b6199ce51b97cc5abb86e610b1ff02761b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:282 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5bfc02b9dbb9ee36b9a68a591f1f7448fe14fde401c86a4ba8b5b9674259df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/company-portability.ts:3044 \u00B7 server/src/services/company-portability.ts:3068 \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":"server/src/services/company-portability.ts"},"region":{"startLine":3044}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeae65742bcc9187c0a027c0472b9bc336fcef1b13181ea08d9686d8b2ec4f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/finance.ts:122 \u00B7 server/src/services/finance.ts:146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/finance.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e51f54c4db4ebfb962d4f6f4d697a22ed68dd4ebb1736fb181de667f723514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): server/src/services/heartbeat/run-preparation.ts:481 \u00B7 server/src/services/heartbeat/run-preparation.ts:533 \u00B7 server/src/services/heartbeat/run-preparation.ts:562 \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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"7429af61f47db145395ca63a077ea35ac056333840d5fc74447ffce481141cf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/heartbeat/workspaces.ts:2488 \u00B7 server/src/services/heartbeat/workspaces.ts:2550 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"73888727f0809c957335b7b2158e4b72127f16be6311cab5f9f4dd35c365a3d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:506 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:927 \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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1504b0a3636adba952c43ad3d8664abf78bdcda61539a69c843b52e83aa2e26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): cli/src/checks/llm-check.ts:22 \u00B7 cli/src/commands/onboard.ts:605 \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":"cli/src/checks/llm-check.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a37834ae28b582c00a10cb95e98884086fc8f8101ba1f7acaa33c7f3429d571"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:965 \u00B7 cli/src/commands/client/teams.ts:692 \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":"cli/src/commands/client/skills.ts"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"995210006b1d790e0c7c4d0f6add5055ab4c4f2b9380d808e65ed60e286584c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): cli/src/config/store.ts:49 \u00B7 packages/db/src/runtime-config.ts:105 \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":"cli/src/config/store.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c5b0e2ad5de93d911f1603a037af9406461c20e1e29a2c53f37ee4a55a29d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:4734 \u00B7 packages/adapter-utils/src/acpx-engine/execute.ts:4773 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4734}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ad19b495d872a55e5c78e382c10a0be85ffbb4c668126fa768bedf8b6186d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:171 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:246 \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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa2239d73f5865234384bccfb564cfc17c036ba0ef2301353395c2bb89643ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:322 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:365 \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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8254a065bd85eb7cb21754dfbfd02294919297a3f6032666b2a90b8fa0bf718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): packages/paperclip-runner/src/scenarios/chat-script.ts:83 \u00B7 packages/paperclip-runner/src/scenarios/scenario-plan.ts:253 \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/paperclip-runner/src/scenarios/chat-script.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f18ebf2a11dc817790e3f671eed8f09092dd9526f6a6ad7c2ddd61314f1401b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): scripts/screenshot-pap2373.mjs:13 \u00B7 scripts/screenshot-subissues.mjs:13 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/screenshot-pap2373.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48cb3c6fca7474d8c0e76fb8f789f03ff0e05196878072d2765f2654447bfb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:517 \u00B7 scripts/smoke/posthog-live.mjs:500 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"100b9c326ef91be60e024b6223ca10a7fe4cb98fe78554baffeed492e9202bcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/middleware/auth.ts:345 \u00B7 server/src/middleware/auth.ts:466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"da47945c329f0323028188f3b290872fb18ce9ca194bccd08cbb5dd864c34a19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:759 \u00B7 server/src/modules/wake-queue/adapters/postgres.ts:825 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde73cfd247716b49943c5cb4976f80bda0a154d43faae7396d6dbaadd4a11a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/routes/access.ts:4170 \u00B7 server/src/routes/access.ts:4320 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":4170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524acf5562cdd6a6f01c5aa33ee27c9dadb68987037f554dbdc61d12a25ec52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/routes/issues.ts:15363 \u00B7 server/src/routes/issues.ts:20239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":15363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d810446c95df92e4be1db4a119451e12c88df3e64103eccec28e955287b8caa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): server/src/routes/routines.ts:567 \u00B7 server/src/routes/routines.ts:609 \u2014 the two spans are one implementation copied and then locally edited \u2014 190 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":"server/src/routes/routines.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0cba4d258ea0612f5c3f2e7028b7310415cffce7c2e9495fdf2a95d2172e99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/routes/tool-gateway.ts:692 \u00B7 server/src/routes/tool-gateway.ts:718 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefbdeced1548fd068f9f1d16a31a0bff0d03d7af68fa5337e2929118b3f3630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/authorization.ts:1031 \u00B7 server/src/services/heartbeat/run-state.ts:1268 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea89a704b9cd6ce002602424c062ecffcc4ff3bf8a4887eec2a30dfaeb22f65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/chat-channels/imessage-photon/events.ts:453 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a57f5d6652bdefc64450046c46e95a5bf41038d087e44dee9f8d0e8213ae0ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:1089 \u00B7 server/src/services/heartbeat/run-preparation.ts:1174 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"0556f6978b20064e3b6bb6148857553a4b3fae69cb64531fed18bb82f5c1a29b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:923 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1624 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d48e023b2c99175b677e45e6b8bb229ba2834cb772d5d12e2ee45ae3a14b027"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): cli/src/commands/client/run.ts:56 \u00B7 cli/src/commands/client/run.ts:81 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/run.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb45fdf56ca609c035c8fcc7ea58cfff49f7e22050f626f3e4be773b80401262"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/adapter-utils/src/local-process-sandbox.ts:430 \u00B7 packages/adapter-utils/src/local-process-sandbox.ts:453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab16db01c13abecd9b9d2a7bf0050ad36ac365b57cd8b7e98ece10f97f08983"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6 locations): packages/adapters/claude-local/src/server/test.ts:108 \u00B7 packages/adapters/codex-local/src/server/test.ts:323 \u00B7 packages/adapters/gemini-local/src/server/test.ts:101 \u00B7 packages/adapters/kimi-local/src/server/test.ts:150 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed58486034737d7be5d6ee8424846edd483329127fa26c5aed1d29c8abb653d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/models.ts:51 \u00B7 packages/adapters/pi-local/src/server/models.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"180ba13c4401228f163732bd0b7dcc50d0b494f5b0831e5847bf3303b697f576"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-antigravity-distribution.mjs:229 \u00B7 packages/paperclip-runner/scripts/materialize-cursor-distribution.mjs:69 \u2014 the two spans are one implementation copied and then locally edited \u2014 206 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7187935174ca6b46889d92c6f40e672038c17d427e3e5f906a01f2065369b339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/paperclip-runner/src/live/scenario-chat-demo-server.ts:431 \u00B7 packages/paperclip-runner/src/live/scenario-chat-demo-server.ts:505 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d0c6973af16f7a7f41f0c7d8a8d269ca827afa8077a06ec86909805f37af97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6333 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6428 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6333}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dead887789cd7029c58a3dcf468ac5e63d117e2ae7a797e599f6aebbb2561b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/duplex-command-stream.ts:198 \u00B7 packages/plugins/sandbox-providers/daytona/src/login-pty.ts:292 \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/plugins/sandbox-providers/daytona/src/duplex-command-stream.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee05aacc1b3fd5f754a07096939c647f3aaf475661b18cb43405142b9d7e5cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:59 \u00B7 scripts/smoke/posthog-live.mjs:72 \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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb6a80e414a6aed4c1a2ca0c1665b6f7ed53aca6d9e1e7107710bf02812b022"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/routes/built-in-agents.ts:164 \u00B7 server/src/routes/built-in-agents.ts:216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/built-in-agents.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd751fb6638776da5d549987ac68751d69720b244b5a9a9d3ac51ccaa7357ea2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/routes/issues.ts:1119 \u00B7 server/src/services/issues.ts:5689 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abe33c09b5ded759a5ca9fc76d68299f262f983779ace080553dcf2f1030446"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/routes/secrets.ts:1001 \u00B7 server/src/routes/secrets.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":"server/src/routes/secrets.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"6734755f83738afbf0043855b490de5f3976c35f6e3dba3678e6971a2b7f4f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/agent-configuration.ts:104 \u00B7 server/src/services/agent-hiring.ts:120 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-configuration.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f7444b15cfc9faa824ff8c9c7d8685ad66f2a333d36a88540f0609223e203"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/agent-runner-selection.ts:279 \u00B7 server/src/services/agent-runner-selection.ts:303 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e8e5058e20c15a3d95f010f6a302a5a1d73ad71dab44fa0200d2d4cc08dad8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): server/src/services/chat-channels/configuration.ts:907 \u00B7 server/src/services/chat-channels/provider-effects.ts:321 \u00B7 server/src/services/chat-channels/publications/failures.ts:203 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef9d15c87b639f6195c45d2104ea5814ff6d60890adf84b72cf1e4ca7e941e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/chat-channels/publications/authorization.ts:147 \u00B7 server/src/services/chat-channels/slack/session-status.ts:181 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95a12dbceec5fdc4ff68084f8cc7735f9e56d2ab67c69373dacfc6060fc8d54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): server/src/services/chat-channels/slack/cloud-callback.ts:7 \u00B7 server/src/services/chat-channels/slack/cloud-event.ts:40 \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":"server/src/services/chat-channels/slack/cloud-callback.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c3bb6b5741fc7179dbd86d8927b8b1e1fd18cef9afb704bdfc468bd6c3f2a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): server/src/services/document-annotations.ts:428 \u00B7 server/src/services/document-annotations.ts:515 \u00B7 server/src/services/document-annotations.ts:603 \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":"server/src/services/document-annotations.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"178b8b0ad41acdcddbffe8b8e310c3b7c23af7399f979c8e0c4ea84dacfe8691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:1602 \u00B7 server/src/services/heartbeat/queue.ts:1721 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d45e2e35c68a3ed223d4d6cd2966a993e1d2d5177cb613265708730a47353d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/heartbeat/run-control.ts:1009 \u00B7 server/src/services/heartbeat/run-control.ts:1045 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe7e8ef7944a4f63ec2738243e141b8cb4bfc62bd4a77ddbeb2d6b82893fbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): server/src/services/issues.ts:14532 \u00B7 server/src/services/issues.ts:14557 \u00B7 server/src/services/issues.ts:14583 \u2014 all 3 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":"server/src/services/issues.ts"},"region":{"startLine":14532}}}],"partialFingerprints":{"codehealthFindingId/v1":"9948789ee0c396b07f7c32dde84f0e21a750f52a73dadf10c841639aa51ac24f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): server/src/services/issues.ts:12861 \u00B7 server/src/services/issues.ts:12997 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 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":"server/src/services/issues.ts"},"region":{"startLine":12861}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e0737aa7f759947c9621a52ddffd377dc0fab8ebcbe642b46f88706f335738"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:782 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts: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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c8e5b8c529fdd8ec9e8de19a4e6ad25a29a51de96194f0e89b1f3eb9bf6d41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:2051 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:2088 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f01c66a6dff369fbb69ede95580ea70c93cf5376cd3932a60fa962bea1df2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): cli/src/commands/client/plugin.ts:541 \u00B7 cli/src/commands/client/plugin.ts:567 \u00B7 cli/src/commands/client/plugin.ts:593 \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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0004dd9f292215fc452179be9506da2541d2ee3930171ec267a790983e90bf18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:121 \u00B7 cli/src/commands/client/teams.ts: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":"cli/src/commands/client/skills.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"814387259d4c1bd0200ccd30d4197e4abb99d7c1b2697f8bbbcc2b905b31bc4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:781 \u00B7 cli/src/commands/client/teams.ts:621 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bff248bc7eaac77ff8613e454e2f1937647fc79793236f8ac84bc32760191f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): cli/src/commands/worktree-merge-history-lib.ts:530 \u00B7 cli/src/commands/worktree-merge-history-lib.ts:695 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"689f8e95babb27be4c89a92c2cf8e112baa8688d82ea9c2ee1c74ed11dcba3de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:3952 \u00B7 packages/adapter-utils/src/acpx-engine/execute.ts:4095 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3952}}}],"partialFingerprints":{"codehealthFindingId/v1":"680d496509cff854a928fd9521e5d98b55c5c65d55860fd0c18a5b6e83168bb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:3936 \u00B7 packages/adapter-utils/src/server-utils.ts:4060 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f48130a262367d589b2dd59db9a6b11679180e3dca201c13d3c99fdf64f0d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:939 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1332 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba807d42ba9c5d90442be3bd1b31896686bfbb0dca60acc8b422adffa1462e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:549 \u00B7 packages/adapters/claude-local/src/server/parse.ts:573 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea7ec87045109d50255924ee98180d2da07efa8f32686c2f37a464da672aaca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/acp.ts:525 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:373 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:263 \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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eabc34865e270225ca068760441f88ea79bc6633084486821627b1d5647dff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-merge-decision.ts:59 \u00B7 packages/adapters/grok-local/src/server/grok-auth-merge-decision.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/adapters/codex-local/src/server/codex-auth-merge-decision.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa3154568b0af797fde7536c1288efe3b866228d90c17f6f355e2c1c6359e31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:155 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:154 \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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b55837c255392b821f07375e0ce4c1a3f5745cd006bfedd032af8f7f20e741"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/execute.ts:591 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:565 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f469036a5bdb8038a783cb678f7a5da056bba40041f31a2233cb2af22d352e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:706 \u00B7 packages/adapters/pi-local/src/server/execute.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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2b4eef51cf8890eb01f722099b5933cbda947599a558c1563054045d05643d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:894 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2625 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:1109 \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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d5157e32c038015f04c8e72359df915fd322de4be921700ddcdde86622a632"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts:145 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts:666 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e4b75f40e4924e336de653f669bb18600769a1ef15999dec0d3941de9bf834"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/app-server-transport.ts:144 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 111 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f613e6afb09206cb7a831ff1de13e6ecc277d3ee8e845b76f67dc8fac9b46d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:6508 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:7069 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ddc425a2b170d6a7fb751e9136cf9a7fe1541feb9fe460991b95cfaf5b8a86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:539 \u00B7 scripts/smoke/posthog-live.mjs:524 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cd41425326fbdd51ba2878bdc27f85fa33650a5a317f89497127653fef4180"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/lib/agent-records.ts:381 \u00B7 server/src/services/companies.ts:164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-records.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"524c4feed31d7344fa6b7da3dd3ecf0b534955789663c6ee5882ac28b979d16d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/access.ts:4286 \u00B7 server/src/routes/access.ts:4345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":4286}}}],"partialFingerprints":{"codehealthFindingId/v1":"805312cc1cf7d3aa121e71316a614e40e7d0a03bc0c0cf56ceb000715c028448"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/built-in-agents.ts:246 \u00B7 server/src/routes/built-in-agents.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":"server/src/routes/built-in-agents.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a9815cce7f82dcfe14b6fd70125dbc0f519b4907527a71cf50bbce63e0b12f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/issues.ts:8956 \u00B7 server/src/routes/issues.ts:8992 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":8956}}}],"partialFingerprints":{"codehealthFindingId/v1":"869fbfd89d4b9ea67d89a3be99bed5c23fafccd184f0adfce056ed05e72105f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/issues.ts:11593 \u00B7 server/src/routes/issues.ts:11708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c097ab077fbde81874a7f96c8015025f86a602e10821bee6a77fc3f30dc1b6ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/issues.ts:18605 \u00B7 server/src/routes/issues.ts:18935 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":18605}}}],"partialFingerprints":{"codehealthFindingId/v1":"37897c5af094f4a94f060b42bf8eee77901bfcbc00284dbc231c36ffe430b421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/smoke-lab.ts:126 \u00B7 server/src/routes/smoke-lab.ts:147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/smoke-lab.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5428691fe74d7ddeb7cc236532f0c8a3f2d9e05ef25aedc1aae0cb26acc2445"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1444 \u00B7 server/src/routes/tool-access.ts:1539 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db4693e137a4cd98641afec0f06e1ff56980227ea094ddedeb31ae51add42eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/approval-retention.ts:31 \u00B7 server/src/services/join-request-retention.ts:32 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approval-retention.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e916f0b41e39e18b9fd092220276bdec84633334f951e883a1274e1c2cf3f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/authorization.ts:2256 \u00B7 server/src/services/authorization.ts:2298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88aef056f75c73f5b6bd3c3e98b77e7a0d4af741495f9992350d0e17d2f981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): server/src/services/blocked-question-answer.ts:20 \u00B7 server/src/services/native-runtime/own-question-wait.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 196 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/blocked-question-answer.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ae04067e0e70612ed133a431c260ef37ac05a6604059a50fe946b1b9fb2cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/chat-channels.ts:688 \u00B7 server/src/services/chat-channels/endpoints.ts:205 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d35912593a1e707f804028f88452707cab453b7369b84198fe3e00456e0254f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/chat-channels.ts:1614 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:377 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9f5a1641e248859d45f2240e86827c9613a076e11f9330e33e61a1d644f29e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/conversation-queue.ts:146 \u00B7 server/src/services/chat-credential-mutation-lease.ts: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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33d50e7ae71120139dc98a758dd137f501846813a5053e08fb605349adf6ca0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:583 \u00B7 server/src/services/chat-interaction-publications.ts:717 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7105692ca492a3296c2dd7429e628f89dc0ae119498a82f9a7782761bb866a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/chat-channels/slack/file-receipt-resolution.ts:15 \u00B7 server/src/services/chat-channels/slack/file-receipt-resolution.ts:44 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipt-resolution.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e9390acda386ce4fea5ec9f18ab4e0743d31b61aa3f269f78b2a451eb59418"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/connectors/slack-capabilities.ts:16 \u00B7 server/src/services/connectors/slack-search-oauth.ts:80 \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":"server/src/services/connectors/slack-capabilities.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5a376ff5175c29b1e8ec5b5075c3fbcf6c113e5532b47ef2ae2b3c43e07e46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:2041 \u00B7 server/src/services/heartbeat/retries.ts:2111 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5ed2ca463915bf6bc81c5cf18d5171ea322c99c98e8b076e3d0eb35fd8ba5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:3661 \u00B7 server/src/services/issue-thread-interactions.ts:4996 \u00B7 server/src/services/issue-thread-interactions.ts:5325 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"937f80c9792153efe62d2a1643a412dd87af72455843a0b5470674afb61fc0cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/issues.ts:4304 \u00B7 server/src/services/issues.ts:4324 \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":"server/src/services/issues.ts"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c4d3743e57426b022775d485d89273373a4152590ca4dad5d75ce728d2cae6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/src/services/issues.ts:6879 \u00B7 server/src/services/issues.ts:7001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":6879}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab6c0be63c8f451a81564a2007034b2c084470aa8b6024975201b5b6fd2197d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): server/src/services/legacy-execution-recovery.ts:368 \u00B7 server/src/services/legacy-execution-recovery.ts:483 \u2014 the two spans are one implementation copied and then locally edited \u2014 255 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fccad61e3d1563e0b6e2dc43e0f83eef630a3f974960df144b9899862b197c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): cli/src/commands/client/cost.ts:145 \u00B7 cli/src/commands/client/workspace.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":"cli/src/commands/client/cost.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6760adea3852860d37957c194cec874ea4d5da8ad0fdc7d9b43b1093b05691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3435 \u00B7 cli/src/commands/worktree.ts:3459 \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":"cli/src/commands/worktree.ts"},"region":{"startLine":3435}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b2fdb9dd081de97747eb81ff3e48706eb899f099ec26134c7faf3540886a93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:121 \u00B7 packages/adapter-utils/src/ssh.ts:220 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8771b620363235d29ec031d3c5df8cd411992c99de2d3bc7af8ed394504a704f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): packages/adapters/claude-local/src/server/acp.ts:1040 \u00B7 packages/adapters/codex-local/src/server/acp.ts:706 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:489 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:372 \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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c3927cdaf13a50b6f844a5dae4d80351a4f1909a2d4b2de6778871e1c50414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:517 \u00B7 packages/adapters/codex-local/src/server/parse.ts:292 \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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45e0900fa35effc80191685e7b848592b42d4cadc0f834d42f6ea7f5823a9b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5 locations): packages/adapters/claude-local/src/server/skills.ts:21 \u00B7 packages/adapters/cursor-local/src/server/skills.ts:23 \u00B7 packages/adapters/gemini-local/src/server/skills.ts:23 \u00B7 packages/adapters/opencode-local/src/server/skills.ts:23 \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":"packages/adapters/claude-local/src/server/skills.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b89386980a237a76164ba686bb2a05e590c465924314185017a68f73b8a094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/codex-local/src/cli/format-event.ts:140 \u00B7 packages/adapters/gemini-local/src/cli/format-event.ts:107 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ec55f9ac030428e003955b8b6226e6ec0bc93f64da1b569b6d36fd0008fcc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/adapters/cursor-local/src/server/execute.ts:217 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:250 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:250 \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":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8061d8b0be8069a012af537f27e5ae42c47b4e2135dac494400e11886de0de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/test.ts:167 \u00B7 packages/adapters/gemini-local/src/server/test.ts:135 \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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc94d7ed004af98b62eb2b6ac43b43586e79e65be0589bdbc2fb539644ac7ca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:734 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:692 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df88d2f2feb876c4b1748cd95edc7e6ab5a6f94695736a2b10cd8721ab8c96b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/test.ts:32 \u00B7 packages/adapters/kimi-local/src/server/test.ts:30 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d234671fa23b2bb04d699e35240a0596e932e053194702f08d235088a5812c64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/test.ts:215 \u00B7 packages/adapters/kimi-local/src/server/test.ts:277 \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/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"be075ac1489acbd745145c70aa4ba1d12ed96367357d48faad1e59b501f23b16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/test.ts:197 \u00B7 packages/adapters/kimi-local/src/server/test.ts:181 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f28013fba91deac41936e973bd98c69228952d3b9a5994e5d1b380c7be9427"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1413 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1641 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"076d30d5bd696164753856f1c506958fb7eb1a2aa52abbae3edf796b417ac191"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): packages/paperclip-runner/src/live/runner-provider-launch.ts:352 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:7196 \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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bb16727b986785abd3e58346e3c863912b24d2ba3f74f3a0537cc9d8692415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5 locations): packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:75 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:99 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:121 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:142 \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/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ee4a78e573dadf6eae9636fb8bf369e6ad951e05cb70fa8dffcfb180c5c86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:246 \u00B7 packages/teams-catalog/src/frontmatter.ts:34 \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/shared/src/frontmatter.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6fcdd1c3f0014b5e979fac341cd917e928c9f43bf5bfdf7b4b4caab6f4fb2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/shared/src/frontmatter.ts:519 \u00B7 packages/teams-catalog/src/frontmatter.ts:106 \u00B7 server/src/services/company-portability.ts:2845 \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":"packages/shared/src/frontmatter.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4772b9416554c58533ded720f1f1fa5b60e9fe3fb83a6fbf85d47936f21968"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): packages/shared/src/validators/adapter-auth-session.ts:14 \u00B7 packages/shared/src/validators/claude-setup-token-session.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 128 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/adapter-auth-session.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"61088bce10d8aac5d939842ba942a4ee54c52ee1318999dcedb613a133561a61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): scripts/codemod-extract-misc.mjs:562 \u00B7 scripts/codemod-extract-sizes.mjs:488 \u00B7 scripts/codemod-extract-type.mjs:211 \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":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fe7b480b8859fd06a57bad7049760fc3894bf7b26ac44487bb87f8f290b73a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/runner-image-layout.mjs:882 \u00B7 scripts/runner-image-publish.mjs:397 \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":"scripts/runner-image-layout.mjs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7854e77a7c4923f88450003b118bddc9ba1ad251aa82cd721d486c0945a6b21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:726 \u00B7 server/src/modules/wake-queue/adapters/postgres.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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a202d8b36e7c5d96059b6dc675d72294bfe76d531f2f35f24a80b164eda4c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/agents.ts:1954 \u00B7 server/src/services/company-portability.ts:3647 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef65d2b8466ba2352834172ddd0564973f686f00fb6b8e09d8a90e35325a3ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/company-skills.ts:484 \u00B7 server/src/routes/teams-catalog.ts:65 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb21306c6cca802da8702d6a7cdf1574de086402e9cc619a21ba3ea3d690e9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/issues.ts:10257 \u00B7 server/src/routes/issues.ts:10316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72ed7a798c39e198fa410bc086772aff1930239f33d9289471853743ff0f88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/routes/plugins.ts:1681 \u00B7 server/src/routes/plugins.ts:1771 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"af93054a7488962fb41e48c76dacefc172a4a791f649435dd64b20462f034268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/chat-channels/discord/gateway-events.ts:240 \u00B7 server/src/services/chat-channels/github/installation-lifecycle.ts:179 \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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67bc074267165638772e119948b6099bd8929a794cede4592f5845fcde42958"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/chat-channels/github/installation-lifecycle.ts:437 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:565 \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":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c51fe50be3e400678e7e3d56fec14ac94cbfef535a5b489076981679cc38d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:203 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b27d2b94ff13ed72b54bbae46e4a1f8befa6542b0f6e15c3996438f99f606b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/continuations.ts:287 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:369 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:426 \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":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d3636d723aa606eb4786a2647238c2b10fa389fbf95f4fff4bfc6c81231532"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start.ts:667 \u00B7 server/src/services/chat-channels/slack/task-start.ts:703 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"8920e6d6f787b8f523d04b6528f42b1b7912878d5bcff0efea1e3bbcb08a5054"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/chat-github-attachments.ts:512 \u00B7 server/src/services/chat-github-attachments.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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e3181f27130217723828924cc5a35df56207f29fd42c5c5a7139753fadebc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): server/src/services/company-portability.ts:897 \u00B7 server/src/services/company-portability.ts:1024 \u00B7 server/src/services/company-portability.ts:1166 \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":"server/src/services/company-portability.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0feb0c4e4e357ccf7fc779ae273a8d7ff3695f1bb623988b629334857c09cfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/company-skills.ts:5657 \u00B7 server/src/services/company-skills.ts:5687 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":5657}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aaee6ddbd65d62990b1bd8d077c49d5100c214161fd4fbe777d0f66a8fbba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/document-annotations.ts:206 \u00B7 server/src/services/document-annotations.ts:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed4b9f962e9f460f3ed38903b63675fd85624ae4deba026cd7944627ae748c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/environment-custom-images.ts:714 \u00B7 server/src/services/environment-custom-images.ts:1199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b95f0e4aab02f7721fc8ff3db5967b9ef237dbb7d15e243701b82625cdf7f58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:4386 \u00B7 server/src/services/issue-thread-interactions.ts:4405 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a018a83485eded9e7fa813c016dbec49e9e3325eb166a2b0cd4795905b09f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5596 \u00B7 server/src/services/issue-thread-interactions.ts:5934 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5596}}}],"partialFingerprints":{"codehealthFindingId/v1":"203e01b7f9dabae767fceaf537e93bc0d28de6547acde947d8fdb96da2d057e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): server/src/services/issues.ts:3859 \u00B7 server/src/services/issues.ts:5520 \u00B7 server/src/services/issues.ts:7766 \u2014 all 3 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":"server/src/services/issues.ts"},"region":{"startLine":3859}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcf3c323a40659e6d1cda16f35689d5480682a4ece50bde6fb312a23e04ce55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): server/src/services/issues.ts:6737 \u00B7 server/src/services/issues.ts:8961 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":6737}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a54caad271b54d6b04323a5fc8639391bd583fc953bfbf290e8523413154689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): cli/src/checks/secrets-check.ts:225 \u00B7 server/src/secrets/aws-secrets-manager-provider.ts:357 \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":"cli/src/checks/secrets-check.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36cd1d0d3d746cad5fcdc0e3d06cd98db04c48cca919ae7a03c52e32ff495aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): cli/src/commands/client/asset.ts:112 \u00B7 cli/src/commands/client/issue.ts:1435 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/asset.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f3fffe0476c3a7b53400bf1087252a0d196414bc12b07f0c961d34c95a8ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): cli/src/commands/client/cost.ts:126 \u00B7 cli/src/commands/client/workspace.ts: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":"cli/src/commands/client/cost.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1397e90918a2a0452723ac543c62f00a351ea9031c97ef179407b7fd1dfe5dd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): cli/src/commands/onboard.ts:494 \u00B7 cli/src/commands/onboard.ts:765 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fad02ce31979de7f5416b6e31628245e0bbe0dc4e9e87aa8b02a08202bcb1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:3982 \u00B7 packages/adapter-utils/src/server-utils.ts:4114 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":3982}}}],"partialFingerprints":{"codehealthFindingId/v1":"574897a21d5805f86cbda6c94f2e76aa9015c499f84a91a2d964591936febb9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/adapters/codex-local/src/ui/build-config.ts:22 \u00B7 packages/adapters/openclaw-gateway/src/ui/build-config.ts: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":"packages/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c0d45589067c2bd8ce5632778777df4fd3e0bd7982f1357bc8ddc9ea74816c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:789 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:743 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"809322b8bbfd1890bcddcfdb42e07b0b5c85a8d36668bf86d227036cf2b803cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): packages/adapters/gemini-local/src/server/execute.ts:165 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:185 \u00B7 packages/adapters/pi-local/src/server/execute.ts:104 \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":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a4eea6e8c83a7228de660edaf4a1f3154664dd79afb71183603ee7df72cc22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/execute.ts:281 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:228 \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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"00441220cc20ca6bb15bb3c9d2f739d05b63ed878795a3abc8f83ce226fbced2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/banner.tsx:21 \u00B7 packages/paperclip-runner/src/react/components/banner.tsx:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/banner.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e67f93ac4304c06eb9789e65c0a4e98c47eb69451b38efbab2cf5d2ae9fc09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/tooltip.tsx:8 \u00B7 packages/paperclip-runner/src/react/components/tooltip.tsx:8 \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/paperclip-runner/devtools/browser/src/components/ui/tooltip.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4eb6c860f0d9e3c88a11268c65a7b8ef66d320b37b0e1bf0b814bd61e8e01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs:434 \u00B7 packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs:704 \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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7eb9e31b06f739a04c6c3b991086dd20d803a808bc4652e922af7ceb2a4c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts:732 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts:719 \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":"packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"65247aab604a933039285a4f9093f80e3fe347a5cf8bd86901246c270a31acf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/app-server-transport.ts:144 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:3600 \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":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f8c044ef9e89d94f7999fd30852c5a73d7c4770846193e236e2d621d0ea01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/dispatcher.ts:526 \u00B7 packages/paperclip-runner/src/semantic-tools/provider-neutral.ts:36 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2f0ab6a4aca7c5765e8be0e9e5fdc0f38c2ab6c61ae2a0cebd862411451e5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:570 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:591 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d780cbe09bf25b53a1adb5c3e57fecc4b963e1eef7df57c38771bcfb56c8ead7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:1117 \u00B7 packages/plugins/plugin-workspace-diff/src/ui/index.tsx: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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4832d1261e6708dbee0f0664973bc122297880a1d70a5aaa870472b2d97e032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/boxd/src/plugin.ts:55 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:359 \u2014 the two spans are one implementation copied and then locally edited \u2014 160 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9296f8167bd71d2699e7ecaa44839749cf88346f54b7732873601370026ecc23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:421 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:440 \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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65a564648fb38cce4babd75e46f5c5d7c518dc0b1763131eb5aa533e9437c8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:1179 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:238 \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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"43013c1eab83fa37df3adac17cdfe6f0f55f41cacc3398f8fe10c115306d58d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:3906 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:3946 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3906}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c5e2794a2898dc2aa4448fd318a320352e60fa708dab752e024435319127e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/skills-catalog/src/catalog-builder.ts:306 \u00B7 packages/skills-catalog/src/catalog-builder.ts:413 \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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b65e1163ffe40d1c63da176f17aebf57044b790e8460a4378999e15ced1ca5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/dev-runner.mjs:231 \u00B7 scripts/dev-runner.ts:315 \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":"scripts/dev-runner.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"173f42462a732252b63f860ef0d0bba1146bd1eb0ffbde424e0af844f5de9f5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): scripts/runner-image-layout.mjs:912 \u00B7 scripts/runner-image-oci.mjs:576 \u2014 the two spans are one implementation copied and then locally edited \u2014 186 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/runner-image-layout.mjs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"08965d637712b76ee935bed9057416540e97c83e09d146fd89da41179435b31f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): server/scripts/dot-runner-demo.ts:51 \u00B7 server/scripts/dot-runner-live.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 281 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-demo.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef9c1b9c1aa8a6fc82e70192cd1bbe264840046332b54b3909c6d002e4429ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1831 \u00B7 server/src/routes/company-skills.ts:1882 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ffbd8af2d9287b499ef298ff47a20b3cf5f2d19d83c0daa182ce32cfc75df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/environments.ts:941 \u00B7 server/src/routes/environments.ts:973 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f37b0c83d4079b77d996a2ce413234eee1e0c1ef062fc4501b7c05d07c7155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/execution-workspaces.ts:675 \u00B7 server/src/routes/projects.ts:902 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed99bfba9014d17e8b31e4f1ac5f150a6c723dcbd34c4e314045b82633803b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/execution-workspaces.ts:1306 \u00B7 server/src/services/execution-workspaces.ts:3280 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"313c0682100c41635d86967dd91d59850104840b906ee01a1d7630c6f624879a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/issues.ts:6158 \u00B7 server/src/routes/issues.ts:6776 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":6158}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad6e56760ce3e6ecc58a3d2e2dffd07964a69eb2d67dde27000e4a600cffadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/issues.ts:7129 \u00B7 server/src/routes/issues.ts:7151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":7129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b67644f71518dee527679b06775574763cce94893589760be03f02d061535a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/issues.ts:8682 \u00B7 server/src/routes/issues.ts:8724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":8682}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f151649e90c65ec676174eaef3c56173edce650c647469f0005d9115b3f0046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/issues.ts:9990 \u00B7 server/src/routes/issues.ts:10044 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9990}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eccfce4e9565e773674f1880c3eb80312308a2e08b15c39b5adf501ee668614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/issues.ts:16039 \u00B7 server/src/routes/issues.ts:20131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":16039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd0d6f87cede079084bcfbc86786f522bc8897e3b2fb7831ed2ad1974fd9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/openapi.ts:2916 \u00B7 server/src/routes/openapi.ts:3132 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2916}}}],"partialFingerprints":{"codehealthFindingId/v1":"32283a963b6141b33fc143d306b63f4a58331a4977d3b3a6378848a5447dc831"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/openapi.ts:8316 \u00B7 server/src/routes/openapi.ts:8341 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8316}}}],"partialFingerprints":{"codehealthFindingId/v1":"acedd62410d4d7e52fc376d55f4bd3c824c71ac0cdcc21b92e0b0aac8d5e39d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/routes/plugins.ts:2968 \u00B7 server/src/routes/plugins.ts:3002 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"306b0d36ea00284e091ae07c84687fb1be6a9b173dd9b1370b29acb340954c20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels.ts:1449 \u00B7 server/src/services/chat-channels/github/publication-policy.ts:213 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae64b24dcfc1b408bff6ca6a7da23b9468eb6fe96e1563dda0fca5746ffa245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/configuration.ts:227 \u00B7 server/src/services/chat-channels/configuration.ts: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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0f17aa533bcca42a1dda6679202eab16a62efe7309cfda548dee7e2d198e5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/github/installation-lifecycle.ts:129 \u00B7 server/src/services/chat-channels/github/installation-lifecycle.ts:205 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"32001754ac6ff2d936e701f805ddf2d9cd417b8d42cf757e3b180866a2ede793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/github/installation-lifecycle.ts:364 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:589 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f8462650a5650c5a03b43d03e32d19d5b0ca19b1fd8008efa1625631edfd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/publications/resolution.ts:57 \u00B7 server/src/services/chat-channels/publications/resolution.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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3eb0e8257d26c791abd6c30cb31a5946fbe13b4f7a42108c142cd9d7c7c7d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/publications/resolution.ts:430 \u00B7 server/src/services/chat-channels/publications/resolution.ts:545 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a8d2492e2b3f774f4e4e6fab0a52717630e626530c5abf2ece3e572b13ec86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start-resolution.ts:189 \u00B7 server/src/services/chat-channels/slack/task-start.ts:429 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb060d64021337f5b4a218f4ecade7b8366b1265cd906713bcd9d569e8f03e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start.ts:544 \u00B7 server/src/services/chat-channels/slack/task-start.ts:587 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"045cef9bc3717c1daf472362f83e782ae318eeba6688bdf4788c960419787e3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/maintenance.ts:439 \u00B7 server/src/services/chat-channels/telegram/maintenance.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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9532cfa28161549d80c12eb32e78e082ba0d23acc1e17a0fdb422588840a96c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): server/src/services/chat-github-client.ts:147 \u00B7 server/src/services/connectors/slack-capabilities.ts:16 \u00B7 server/src/services/connectors/slack-search-oauth.ts:80 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-client.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b5d4e62192a69b78c3d16262e4c213811af7dff3c891695f3fca064c9b004f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/heartbeat-run-summary.ts:542 \u00B7 server/src/services/heartbeat-run-summary.ts:571 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ec62d177d9c5c8ed8f177cd05ea53c5c7f6af124095f94b923d9c3a716c549"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/issue-references.ts:229 \u00B7 server/src/services/issue-references.ts:252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-references.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"269f74bf22ff370258d437d391675946a0ba7e7ff3498f35ca9af126fee299bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/issue-thread-interaction-resolution.ts:254 \u00B7 server/src/services/issue-thread-interaction-resolution.ts:361 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c08aa73eb79d619d3f3f2e30da37aae69da07cbd46007b8c8aaf2eacef7abc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5005 \u00B7 server/src/services/issue-thread-interactions.ts:5334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5005}}}],"partialFingerprints":{"codehealthFindingId/v1":"212f0725ef6de2afc861cd41f7842aedeb6f3850cf53a8e98e081288b3551eaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5510 \u00B7 server/src/services/issue-thread-interactions.ts:5796 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5510}}}],"partialFingerprints":{"codehealthFindingId/v1":"25567d815b339395a1fc90f921bb8d02df68844a34fb72f99322a2658d6e87c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/issues.ts:1216 \u00B7 server/src/services/issues.ts:1269 \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":"server/src/services/issues.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"995461fda85ec9f4245935ff6597cee7ec03b664209733e084f02752ee17b486"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:176 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"299b4084c628f98421a355a957190c43ff909128335c901d55f18fe420b80ce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:1006 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1038 \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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3d132ed05c84cbcbc9e0b47048d561a5a70158bf9c8402485166102c2811cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): cli/src/checks/log-check.ts:8 \u00B7 cli/src/checks/storage-check.ts:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/log-check.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e1c3baf670ce9166e0443f9c03e092123264e4cebb2bb8fd983af0f39798f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): cli/src/client/context.ts:26 \u00B7 cli/src/config/store.ts:16 \u00B7 server/src/paths.ts:9 \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":"cli/src/client/context.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55daf932f9a3fedbb3142892f88cd4effbf4362f2b38dde530785a17ade42b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): cli/src/commands/client/feedback.ts:298 \u00B7 cli/src/commands/client/feedback.ts:470 \u2014 the two spans are one implementation copied and then locally edited \u2014 203 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":"cli/src/commands/client/feedback.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d987bd2a10fb385e171d1c9decbbf22057cb220e0ca154559698d5054ff6496c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:344 \u00B7 cli/src/commands/client/skills.ts:393 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"432abb5cf4e02a50b4c9fdf0e80aef4f9a2a88b6c61779771f7c01a29b3e4a70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): cli/src/commands/client/teams.ts:164 \u00B7 cli/src/commands/client/teams.ts:197 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/teams.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e3d0a4aa9f2162465cf710b6e8ca497d4e613d4a6fdde91530f06f7789c6cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapter-utils/src/log-redaction.ts:45 \u00B7 server/src/log-redaction.ts:132 \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/adapter-utils/src/log-redaction.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca4480a1ea67a861995f9422b139183995df529717f31edd195d695697b1e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapter-utils/src/remote-managed-runtime.ts:239 \u00B7 packages/adapter-utils/src/sandbox-managed-runtime.ts:1909 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3606dbbfec45a34854bf21ad4321a9e84ff5b2f7a1dc9a8604d5d4311b1a4ebe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:5002 \u00B7 packages/adapter-utils/src/server-utils.ts:5020 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":5002}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a2d68105877b119b28a9fef4c8f100453bb28475fda5392d4aa00bf901e9c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:675 \u00B7 packages/adapter-utils/src/ssh.ts:730 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe96b2db57ebe7b3ce3e5cc94735254fcb38e3984e00629e992ac5ec72c84f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:1382 \u00B7 packages/plugins/sandbox-providers/cloudflare/bridge-template/src/exec.ts:30 \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":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bdc3748c5542305db4dcb03f5737158240e3ea4801acb8d4a06b32b180cd62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:196 \u00B7 packages/adapters/codex-local/src/server/execute.ts:623 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9256f7bf3fdf2d0d102e8e857da3b368037948a416d4e361641c3cb254867c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-cache.ts:232 \u00B7 packages/adapters/codex-local/src/server/codex-auth-cache.ts:577 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c7e7a059923e8d0b5963507a00d2395378a7cb89b2f79afface617472bd194"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): packages/adapters/cursor-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/gemini-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:12 \u00B7 packages/adapters/kimi-local/src/ui/parse-stdout.ts:12 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"57da5454ed91c658716f2c5003f0268654408d9cf8e922a7873c58c1ba5d1cb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/adapters/cursor-local/src/server/test.ts:305 \u00B7 packages/adapters/gemini-local/src/server/test.ts:215 \u00B7 packages/adapters/kimi-local/src/server/test.ts:277 \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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"72011d8c1e44b5c5da2b6442961db340d8801b397d86f6c36d365be160670c6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/execute.ts:230 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts: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":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7fee49a1a2994d0b4554387673303ec84c4b9c2e67e31f3775de904a2988f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:412 \u00B7 packages/adapters/pi-local/src/server/execute.ts:451 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f0a704efa8746c9c7410a51b77430d59de7155251e3956de6784deb06ace1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:816 \u00B7 packages/adapters/pi-local/src/server/execute.ts:914 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb4758e0ad78158095cf834b6162eea2d21f7bfe083306f0c2109551d15c23b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/test.ts:300 \u00B7 packages/adapters/opencode-local/src/server/test.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/adapters/opencode-local/src/server/test.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"319ca773de2347a6803f6e01d08d37151a2d832dd08e458a29804e6fbdc85a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/adapters/pi-local/src/server/execute.ts:576 \u00B7 packages/adapters/pi-local/src/server/execute.ts:897 \u2014 both copies are in the same file, so extract the block into one function there 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad4cddc6f4e06866a3a4eb85c8de35aa01b519326d452bd5e87fb7cb9c1ebba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:140 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2497 \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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2e4c6b6cb9cd835fb5efb30b0c9ad7b93fba8194d93ffe2a0ff3c07bf4cf1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1148 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1220 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee761e846f7e2e557a97147d71b527966713f9dbce06326326a53d28bcf5a63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1207 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"644897d78f8682a50338df020dcdf4898f4fd6c13595598c81289e5d080430cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts:113 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts:41 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e08a92c3ea2bda55b6e649e26f4949bcaf18ad31ae8222ca5decaa9092958e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:6287 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:7027 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6287}}}],"partialFingerprints":{"codehealthFindingId/v1":"243af35125bc8618747db8d8f5670b18f10e630cd167b8575aa2643c8aa56b2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/native-session-runtime.ts:659 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:2864 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa5263387e8d42cd94537a110c23e8592fd997eb5c4c26b68dc2d97ed06ce8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/paperclip-runner/src/native-session-runtime.ts:1639 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:1659 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"be186064ab726b334d6636a2cdeb647cc8174d90b6b64844257cf12e7e4090da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1951 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1991 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e213f2bddef2a33f47569c75e60c3cd2216fef6153aebee4a1a074c063d890"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:1531 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:1580 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b77380d2a25fca8c50106cd3426820c4197765187011c3cdf90e8e3bd42655"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/codemod-extract-misc.mjs:93 \u00B7 scripts/codemod-extract-type.mjs:53 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b56427eab6fdb30321c3e34006db31251cb38c0342eeee41d45bfca90f24db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/dev-runner.mjs:573 \u00B7 scripts/dev-runner.ts:871 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/dev-runner.mjs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"496dbb59501191439794547605d51e0b48f5ffb5e12a3ab8b5204440190e087b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/redaction.ts:483 \u00B7 server/src/redaction.ts:530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfd77a5e3bdb1dcbd1efb7c9628cda138b6d9e03e1c52c066c9eef79c89b625"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/agents.ts:3805 \u00B7 server/src/routes/agents.ts:3830 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3805}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac34ad12d189ac2f66586c884da1fdac78e46649e428f4ca2dd119fc968d0be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/agents.ts:7774 \u00B7 server/src/routes/agents.ts:7809 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7774}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cceeb7b9cdd4072bd96c781aeb10f88b8b3a37ff7be82b646f2c07d3c7d71de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): server/src/routes/assets.ts:118 \u00B7 server/src/routes/assets.ts:227 \u00B7 server/src/routes/issues.ts:21126 \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":"server/src/routes/assets.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29cba709bf33326ec43b3024bd069b78a37eb4fb86e1553129a6ca9a62c0cde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/built-in-agents.ts:94 \u00B7 server/src/routes/summary-slots.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/built-in-agents.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c62529eea770fefac170fd3aefd9372ceef908fa6ae2bda7b5b3dd841fe0c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1851 \u00B7 server/src/routes/company-skills.ts:1902 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"88807276ab2415eb71890fe412c464227dbb01e88912a69c538e8c3991e11725"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): server/src/routes/file-resources.ts:562 \u00B7 server/src/routes/file-resources.ts:695 \u00B7 server/src/routes/file-resources.ts:807 \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":"server/src/routes/file-resources.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6607f1d38085bed5f1a814bbc02524451d4d57775e2e13dd481f1d407b8775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/file-resources.ts:677 \u00B7 server/src/routes/file-resources.ts:790 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a5a6666172c9dd605c60070a42a147fb39457b1c5ebb0cd974236cbc3ae617"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/issues.ts:1061 \u00B7 server/src/services/execution-workspaces.ts:1390 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b445f0e88f6acc28dc99214c5603449f586cb42185f4c531cba552119a9c620"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/issues.ts:2584 \u00B7 server/src/routes/issues.ts:19351 \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":"server/src/routes/issues.ts"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da60e2c9a52145db15199dd2c7650811fa599a92feca98eee825cc5352d558c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/issues.ts:16544 \u00B7 server/src/routes/issues.ts:16572 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":16544}}}],"partialFingerprints":{"codehealthFindingId/v1":"9754140a92be274b63eb97aac9614a8fb8343b5572a0024986eb4c7d3157f5a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/routes/openapi.ts:7989 \u00B7 server/src/routes/openapi.ts:8039 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":7989}}}],"partialFingerprints":{"codehealthFindingId/v1":"979045a1b18f4e774712ba007f3447b148f1e769a235ac68abdc486b8f87ba3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/attention.ts:2913 \u00B7 server/src/services/attention.ts:3091 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":2913}}}],"partialFingerprints":{"codehealthFindingId/v1":"dace0fc26479684b22a4b940ea108f0de270332a56b34b17ccc5aa5b7f768762"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/authorization.ts:2528 \u00B7 server/src/services/authorization.ts:2573 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1624c8b4d3fb7f731828714a99f3bec728c22486a2de3bac26c1df495126ff96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/budgets.ts:113 \u00B7 server/src/services/budgets.ts: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":"server/src/services/budgets.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0829f261828f0da4f76b1a29d2fa47ceb192632fdc5fc6313b4c6c973e3954fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/chat-channels/github/setup-secret.ts:148 \u00B7 server/src/services/chat-channels/github/setup-secret.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":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"292630d08be9b571b35e75449406c2f9e9f0a247028db8bcf3d27c5806ed412d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/chat-channels/publications/policy.ts:38 \u00B7 server/src/services/chat-channels/slack/messages.ts: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":"server/src/services/chat-channels/publications/policy.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e994a7b6f628f1f8ce2c597c22209bacd7daed55c7eb549c1b1dd47636f829d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/chat-channels/slack/file-receipts.ts:509 \u00B7 server/src/services/chat-channels/slack/file-receipts.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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab54ae440d5852d1cd635819234923dd099fc37f2f90bcfb71a69285657c0a6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/company-portability.ts:5664 \u00B7 server/src/services/company-portability.ts:5913 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5664}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85099dc89ee68bc6f6a054ea01d647a4b9b2d84aa09d3d93761954239b57ecc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/company-search.ts:1089 \u00B7 server/src/services/company-search.ts:1108 \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":"server/src/services/company-search.ts"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c3aa0578730cb29f33af94f110d7128d3a2f2702c139b8ded37a0046d5473"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:1771 \u00B7 server/src/services/environment-runtime.ts:2192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd72b5d1c7588c1baad70dc9875691444dc90ee71bb9963525cfb8e14c48c48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:1161 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"75efca5d5ac7573bc3c739cde3e9d3701eb3127d9637b82153fb1bef354ca9aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:548 \u00B7 server/src/services/heartbeat/run-preparation.ts:577 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b42b3f56605d8c28400eb6addcbbb9821fb3d4901c844555a44e180eb83097f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/issue-execution-policy.ts:1182 \u00B7 server/src/services/issue-execution-policy.ts:1211 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3938bd122cd462aadc00193fa18f3948687bb2c7b12b227b4fdbc89cb5c6d296"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5197 \u00B7 server/src/services/issue-thread-interactions.ts:5227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9ee38a8b47f50142db65bcaabda85bd22dc79bc4d4e53d125be8cce981fc27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/src/services/issues.ts:6057 \u00B7 server/src/services/issues.ts:6117 \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":"server/src/services/issues.ts"},"region":{"startLine":6057}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ccef080baa137cd2bef57a14110a475982a85a6d4cd537dc01b842703ad557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): server/src/services/native-runtime/native-runner-file-handoff.ts:838 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1144 \u00B7 server/src/services/native-runtime/runner-prp-coordinator.ts:172 \u00B7 server/src/services/native-runtime/runner-semantic-authority.ts:342 \u2014 the 4 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e28b25df5e5202b7567645d4a8baaa1780e9f9a3459cc1a90cd1b60a4b49d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): cli/src/checks/secrets-check.ts:11 \u00B7 server/src/secrets/local-encrypted-provider.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":"cli/src/checks/secrets-check.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01eec06a44bff959bc6cd7540fb1d1cbec0475623064711b0320780e266dc80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): cli/src/commands/client/activity.ts:42 \u00B7 cli/src/commands/client/agent.ts:303 \u00B7 cli/src/commands/client/approval.ts:64 \u00B7 cli/src/commands/client/goal.ts:52 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/activity.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3d2657acec40124d365f591ec364b1e1104011d8745c901fb2b653c5569f9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): cli/src/commands/client/plugin.ts:756 \u00B7 cli/src/commands/client/plugin.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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"2543d2cd524c36112753d06db66b3ea379d31fac906e5a3aede78d99b43bfe81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): cli/src/commands/client/skills.ts:198 \u00B7 cli/src/commands/client/skills.ts:361 \u00B7 cli/src/commands/client/skills.ts:389 \u00B7 cli/src/commands/client/skills.ts:410 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b020f22a4693f6bd0a72af9ee1db2d4c1ed44a117e91b6fd51a2d5640fcb5c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): cli/src/commands/heartbeat-run.ts:39 \u00B7 packages/adapters/claude-local/src/ui/parse-stdout.ts:13 \u00B7 packages/adapters/codex-local/src/cli/format-event.ts:17 \u00B7 packages/adapters/codex-local/src/ui/parse-stdout.ts:25 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dec16c46c2a78419ea94445fc52d730f30af429227abcebff9165c940b0c06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): cli/src/commands/worktree.ts:3383 \u00B7 cli/src/commands/worktree.ts:3399 \u00B7 cli/src/commands/worktree.ts:3415 \u2014 all 3 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":"cli/src/commands/worktree.ts"},"region":{"startLine":3383}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf8eae548725537012f03601d36b7fd827547a092c5f33de57b367e849d5dd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapter-utils/src/env-bindings.ts:30 \u00B7 packages/adapters/kimi-local/src/ui/build-config.ts:30 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/env-bindings.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4499725748dc3fd836ebbfc3bced0aa776785e59961b9f220d5a63c8cf165c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1604 \u00B7 packages/adapter-utils/src/server-utils.ts:1764 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4af8b1cec1b2712246b37346fe04c9750189c3813d5869ae0548166a7121f81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:4607 \u00B7 server/src/services/hot-restart.ts:326 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":4607}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a81e301a37c55cbe163817d10d44aa8fb0612dbde13162c253d227ab5a39c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): packages/adapters/claude-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/claude-local/src/ui/parse-stdout.ts:13 \u00B7 packages/adapters/codex-local/src/cli/format-event.ts:17 \u00B7 packages/adapters/codex-local/src/ui/parse-stdout.ts:25 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe338e2cd074c2cb5cc63398063e69c37d39c86e0015256d087c7d053724ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:204 \u00B7 packages/adapters/gemini-local/src/server/acp.ts: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":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a31767a133800cdbc910f725215ab0b42f1e88e38f74e49dda97ad37d0037d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:833 \u00B7 packages/adapters/codex-local/src/server/acp.ts:538 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c173a0313a348deee216c30e48671c235846eaae844b92cdb0a1d2a736f743"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapters/cursor-cloud/src/server/execute.ts:56 \u00B7 packages/adapters/cursor-cloud/src/server/test.ts:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c638fd546136103cd1ff68a08db569354786065d8bc20c2441759847821e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:192 \u00B7 packages/adapters/pi-local/src/server/execute.ts:226 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bca9a37ec5777bc48e548094cd501129a12e7cd7fabe146253fb388af6d55a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:70 \u00B7 packages/adapters/pi-local/src/server/execute.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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36be29f561157bf2755a5a5fc2650658610c70156aeab9af15db34135f3d5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/badge.tsx:4 \u00B7 packages/paperclip-runner/src/react/components/badge.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/paperclip-runner/devtools/browser/src/components/ui/badge.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"28918430090a6118f2ee46771557129fdf73dc86dac8fa054f10be7741da0702"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/scripts/capability-issue-thread-server.mjs:231 \u00B7 packages/paperclip-runner/scripts/capability-issue-thread-server.mjs: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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f02d59d9ce45f06dcc1a0cf8cb8caeb19ab12711a16eff9d39c138c9e3192d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/scripts/controlled-evals/evidence-files.mjs:14 \u00B7 packages/paperclip-runner/scripts/controlled-evals/verify-runtime.mjs: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":"packages/paperclip-runner/scripts/controlled-evals/evidence-files.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"200b3e361ff4c7f4c081a161f88b269c92a3bd4f38439bfbbc983ab1d67886f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/protocol-contract.mjs:448 \u00B7 packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts:229 \u2014 the two spans are one implementation copied and then locally edited \u2014 130 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ad5b337e00a794313f45567d16da7d789d0d21a621bc46f8d1a838748b434a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/eval-session-contract.ts:189 \u00B7 server/src/services/native-runtime/provider-profile.ts:870 \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/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd54c0a3567cad89860dc1ab8924dc13255fc5ca048d133f177df1f30d623b73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/harness-driver.ts:175 \u00B7 packages/paperclip-runner/src/contracts/question-set.ts:81 \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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254361e3b5624ea3b5281c1e5e81e26ac1eb56ac03aa59ddf0ac42f0f7960b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:1258 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:1325 \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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d26df86dcd72b9884e036bacd39719a99316c1975e517a46896b0c8cf9d104"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1786 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1837 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5744cc57196afaf010743cd010793bfb0052713282bc03fb17288c8f78b4ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts:369 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-session-notifications.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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7218b263b18c286ef848d0f31381c8d110790dd162e92813b945734ea5d6c31e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:409 \u00B7 packages/paperclip-runner/src/tools/capability-semantic-tool-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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcd3302ea9cdc1281bdd7100aadb2dceed316c3aa02dafe5ebb9c2a28864f3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts:102 \u00B7 packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts: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":"packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46975873f5f56c9a11f29b1408426cdf997c8b93f2dfaa984ff9bfb1d78ca56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:129 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:124 \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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"051c6131ca511e7edb1f26e006d2a95f1dd4f160334b21f591e19170eec8c237"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:1151 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:211 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02acf0204fa4d26d1bd9a0fd6eb46652e791f77c4fa5d1be67ebdff97563160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:3758 \u00B7 packages/plugins/sandbox-providers/e2b/src/plugin.ts:371 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:581 \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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"32070c660b525d1ec465515a8128f4c79a2eb5406cf7123aea4e71dd77551acc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/job-orchestrator.ts:64 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts:206 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/job-orchestrator.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc51795165b901003d85413640d59e4237e174078932734700dfbd501521111"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:168 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/pod-exec.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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c3a48de01cb224de933fff97cb50375027096a17b433ffa6022fbd2a87c285"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:1113 \u00B7 packages/plugins/sdk/src/testing.ts:1239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0460698b193c43c6432bdba142156b77ab42cdc69d15f2636e8da09c18b3afb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/dev-runner.mjs:483 \u00B7 scripts/dev-runner.ts:740 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/dev-runner.mjs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ca8d3dfc2da20de9397266506e5278dfb13ba5330f944d18e413ee25d188e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:594 \u00B7 scripts/smoke/posthog-live.mjs:610 \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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeacac1928f77b8f5cc3173778c9decadca3d508bc57984acbbe8984208a9fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/access.ts:3406 \u00B7 server/src/routes/access.ts:3438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdf3809bde00e2e1ac860b32eda144ad06a37be430af23d136eb505f8f5bfa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/agents.ts:2059 \u00B7 server/src/routes/projects.ts:135 \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":"server/src/routes/agents.ts"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"c814a9772c602ba3e520adbe90ba03be9e45643991c5f950c80c7c41daf5c50c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/agents.ts:6004 \u00B7 server/src/routes/agents.ts:6121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"361d137ae879b7cfdc119cfc225743a166b28d2c8c5ce30f7667c4f327c60aba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/routes/cases.ts:115 \u00B7 server/src/routes/issues.ts:4802 \u00B7 server/src/routes/routines.ts:36 \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":"server/src/routes/cases.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"00073d10ade5f2d2b3632cdf0263af8bae51f46bb7c124909f4317d19217ae61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): server/src/routes/decision-models.ts:13 \u00B7 server/src/routes/prompt-injection-prevention.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 228 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-models.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5836c0802e5a651d98b28e2bea75022ff80a79f9bda19cf6a2cfb10724c85d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/routes/issues.ts:11960 \u00B7 server/src/routes/issues.ts:12017 \u00B7 server/src/routes/issues.ts:12265 \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":"server/src/routes/issues.ts"},"region":{"startLine":11960}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebe6a97572f0f7378bf6fa0a3b940f29e215e1cea749b582834a7206b75d773"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/issues.ts:15310 \u00B7 server/src/routes/issues.ts:20100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":15310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3ec177429f7f31150cc991f13d677259dff94fa3323c3c6f920c52e78b2c80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/issues.ts:19745 \u00B7 server/src/routes/issues.ts:19768 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19745}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf1882b46d23f22d51e61e377c15e81b3ed0726f0feb213a2d0bdf7eb78666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/routes/openapi.ts:5123 \u00B7 server/src/routes/openapi.ts:5141 \u00B7 server/src/routes/openapi.ts:5159 \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":"server/src/routes/openapi.ts"},"region":{"startLine":5123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7752814548c6a5ef7da4e3dd45c2955d12c9aa1ce7670382a8ff5a8d1a6f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/plugins.ts:2410 \u00B7 server/src/routes/plugins.ts:2546 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ccded9bc4a2f76aa75b2375e7555e716bfd7a174cf5c6437f4d9bb6ad5e796"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/secrets.ts:780 \u00B7 server/src/routes/secrets.ts:825 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb3f81833e575bb55251a7f891da0efde57cd2ad7144c597fe5a4a900c1a8df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1264 \u00B7 server/src/routes/tool-access.ts:1378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd88c176231e6c9e94eac63aecdf64031d205753d45c842bf78f418662b90489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/routes/tool-access.ts:1342 \u00B7 server/src/routes/tool-access.ts:1447 \u00B7 server/src/routes/tool-access.ts:1542 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00ddbb2c20a1c35c5cdd68aaff881953335e28a27184cf03e5ee8c1dcc43e6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/secrets/aws-secrets-manager-provider.ts:1145 \u00B7 server/src/secrets/aws-secrets-manager-provider.ts:1173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b366d6929df24cf909f6c9c1c5a65301984619bf6474f78aaaacd51054eb0b32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/endpoints.ts:286 \u00B7 server/src/services/heartbeat/retries.ts:1074 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e127b6bb7b8ddba3b42a2428268f8f978876b7c5543849c7347f8207585a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/services/chat-channels/github/installation-lifecycle.ts:199 \u00B7 server/src/services/chat-channels/github/installation-lifecycle.ts:366 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:591 \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":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"92839bb7ae0d0dfe4a785dff682dff71ef9370f8d2c6c5882e0a269e1d7de698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/imessage-photon/events.ts:488 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:605 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa49d987c572166b348f9b9042680587b52102f872fb3bd129d20edf53a711a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/authorization.ts:321 \u00B7 server/src/services/chat-channels/reactions.ts:295 \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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48885fdc6c776102c04c57fc021a4a15e7b77942cf40b58f2bc8190aadefb72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/services/chat-channels/inbound/resource-admission.ts:61 \u00B7 server/src/services/chat-channels/microsoft-teams/destination-admission.ts:24 \u00B7 server/src/services/chat-channels/telegram/destination-admission.ts:22 \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":"server/src/services/chat-channels/inbound/resource-admission.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedf61efc7aece1af4528306f94328ebd11f15ad7872e90a9616933e9d14adf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/continuations.ts:162 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a6ac428c7f76f50b402e3f420d03bac2d0fbb86b16e8c3ee1a5a79f7f1459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/services/chat-channels/provider-effects.ts:551 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:741 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:760 \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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4b9a8ced43313c37a32e68907a5e082270310c7d5399bf80dd211d32609742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/publications/worker.ts:543 \u00B7 server/src/services/chat-channels/publications/worker.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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"743144e12ee29527239c866773eb61ca74ac048cf9309a6901f73b36a64513a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/services/chat-channels/receipt-reactions.ts:359 \u00B7 server/src/services/chat-channels/receipt-reactions.ts:506 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:375 \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":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8d82123a77082c71e38913e1b70cd59d5497c0270ca2e30de1c643d81a8969"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/receipt-reactions.ts:611 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:846 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2724f93637fa704bc7ca1995676c5dadcb59a7ced1aed075b01028013bef1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/slack/messages.ts:50 \u00B7 server/src/services/chat-publication-errors.ts:111 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/messages.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c2d47db8385e9f61da4375a9c778e82df41d8ed75dd385cf89dfdaa6288d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/maintenance.ts:570 \u00B7 server/src/services/idle-incoming-wake.ts:205 \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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2f0aa959fe7cd1c273f0b7cb04d155a760b5f2b96c05ae6538397a6396ffda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/maintenance.ts:740 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:828 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a249d4a1e6a644f59dd90e12f535908e20ea875f1d4e05c87fee1b83659f96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/chat-sdk-state.ts:406 \u00B7 server/src/services/chat-sdk-state.ts:450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cc9b9e4d6b6c5673927bd054efd570ae1a8cab542c13938a8503b06a55d7fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/cloud-configuration-evidence.ts:39 \u00B7 server/src/services/cloud-runtime-config.ts: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":"server/src/services/cloud-configuration-evidence.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d7c131cbd51be2b86e1b4a4a1e6992cb04748df43f5ee67b317824ba4c5d8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/company-skills.ts:7273 \u00B7 server/src/services/company-skills.ts:7303 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afcc876f30602afd74cc7d655b9403e4993fcc746b4a3747eac38939737dd24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/document-annotations.ts:142 \u00B7 server/src/services/document-annotations.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":"server/src/services/document-annotations.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9470c3731fa58c789c10a93a8fc4c55a1ee97cd5ec61662aa0b79a1db2caf3fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): server/src/services/document-annotations.ts:410 \u00B7 server/src/services/document-annotations.ts:499 \u00B7 server/src/services/document-annotations.ts:587 \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":"server/src/services/document-annotations.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ebc5dcfe6657dfc4329fbff321ebef8800732f846923b6224e9b7341e294e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/environment-custom-images.ts:483 \u00B7 server/src/services/environment-custom-images.ts:538 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"8292ad9d28c7d39d8f5df6821d5f4ef797c87ad9f08adb25b4dec993082941d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/execution-control-work.ts:34 \u00B7 server/src/services/login-cleanup-work.ts:19 \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":"server/src/services/execution-control-work.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"106725763acd0c3f12fca74d0906134b0fad504e1ddf0163e3920bdf4e311ed6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/feedback.ts:2001 \u00B7 server/src/services/instance-settings.ts:526 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff142d01db7d95d5bcccfc890cf7798d411b16cd6018c35d7b49bf1ce8986b3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/heartbeat.ts:1880 \u00B7 server/src/services/heartbeat/recovery.ts:2386 \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":"server/src/services/heartbeat.ts"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d30a36350fb2235817cb35f923ffde575ee8d9c540f77d55b91cd16dcf120e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:1660 \u00B7 server/src/services/heartbeat/queue.ts:1775 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a5ef4036a2313c4a70d68810b83bb1d022a993d3d25ab7a370bb081835721"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:5245 \u00B7 server/src/services/heartbeat/queue.ts:5464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29a4418db9deb59e0c7a54c1d8f80500a63b2a3fa733856d39e1b59750bfb2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/issue-references.ts:351 \u00B7 server/src/services/issue-references.ts:371 \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":"server/src/services/issue-references.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65bdd8cce1300b41ac5abb43ae81c8795246253aacba410a846bed3a8383bf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1716 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1295 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f0deb4cc6fd0d34065cfdf827e02cae22df3098a2c79a1eb09178f73309141"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): server/src/services/native-runtime/native-pending-effect-work.ts:38 \u00B7 server/src/services/native-runtime/native-workspace-export-recovery.ts:179 \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":"server/src/services/native-runtime/native-pending-effect-work.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4249277046fa463305e494a3928e3793b0bab2827c8ade175a2ef592dd0eeb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): cli/src/commands/client/agent.ts:558 \u00B7 cli/src/commands/client/issue.ts:679 \u00B7 cli/src/commands/client/issue.ts:907 \u00B7 cli/src/commands/client/issue.ts:1135 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedb995e20bc20b42f76168c9f637fe7cd8d0d86815bacbff11935d50a061333"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): cli/src/commands/client/asset.ts:33 \u00B7 cli/src/commands/client/asset.ts:51 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/asset.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"77270d53d2e859c9a4ef2b4cb460dbb6f5c05b71f7e6c62e9aedde171f63a9b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): cli/src/commands/runtime.ts:46 \u00B7 cli/src/commands/runtime.ts:80 \u00B7 cli/src/commands/runtime.ts:117 \u00B7 cli/src/commands/runtime.ts:152 \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":"cli/src/commands/runtime.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8298266de011b720773d862c377065c90a28658558655a08ffa4071c30821481"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): cli/src/commands/worktree.ts:4470 \u00B7 cli/src/commands/worktree.ts:4488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d63231ce0c66eecb0d421db341f4507df3786c2881ced0687dfd3b1668c87e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): cli/src/config/server-bind.ts:31 \u00B7 server/src/config.ts:139 \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":"cli/src/config/server-bind.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f328a8c4d3ec1ba409789228c26f5b66d22e93b170872df3931e48ba61974cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): cli/src/prompts/database.ts:122 \u00B7 cli/src/prompts/database.ts:138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/database.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd4c82aaa488f7e4b6dfef5406d1c5d4b24085de98b4ad8e5fb9ba72c3c6fa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:768 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1090 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"012ca0f83ad90d88cfbe027bf6fa948821cd7d896ca74af1c66717e2860613e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/claude-local/src/ui/parse-stdout.ts:57 \u00B7 packages/adapters/claude-local/src/ui/parse-stdout.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":"packages/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb4b980ac4b28d88f8087f3f752ddcb5f78b9cac21b76a55926625239b9fd4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/codex-local/src/cli/format-event.ts:39 \u00B7 packages/adapters/codex-local/src/cli/format-event.ts:70 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e3b5c3f6265bbc9331e1754ca6ab35f23b63d5ccb05c588089038d23f08e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/cursor-cloud/src/server/test.ts:103 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts: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":"packages/adapters/cursor-cloud/src/server/test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3baed037bc36d02c8e179b03e12623bddc9bb92f7cc1eef385e523beac83d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): packages/adapters/cursor-cloud/src/ui/parse-stdout.ts:3 \u00B7 packages/adapters/opencode-local/src/ui/parse-stdout.ts:3 \u00B7 packages/adapters/pi-local/src/ui/parse-stdout.ts:3 \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/adapters/cursor-cloud/src/ui/parse-stdout.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0087b47ec0b3987412231b4fea3e9ff49cd9206dbe6950a0f4a790ee5a75d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): packages/adapters/cursor-local/src/server/index.ts:7 \u00B7 packages/adapters/grok-local/src/server/index.ts:3 \u00B7 packages/adapters/opencode-local/src/server/index.ts:3 \u00B7 packages/adapters/pi-local/src/server/index.ts:3 \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/adapters/cursor-local/src/server/index.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9f1bf4b6eccadb2e0bc89959df261eeb0c62e0d97876567ae0734fba9871a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/index.ts:18 \u00B7 packages/adapters/kimi-local/src/server/index.ts: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/adapters/gemini-local/src/server/index.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64f8530af6b84f6e84b34fda40c11acccdbf59968ccc46815b16d37bb92def0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/execute.ts:543 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:510 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad6e4e11a456be0427e8355f5f64c953f0082df0812814f01329757780f5f6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/test.ts:241 \u00B7 packages/adapters/grok-local/src/server/test.ts:346 \u2014 both copies are in the same file, so extract the block into one function there 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/adapters/grok-local/src/server/test.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3368243b117f0e02a6eaeae6164e4062a33df218afda1dd4f3314fd2f1e9ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/hermes/src/cli/format-event.ts:16 \u00B7 packages/adapters/openclaw-gateway/src/cli/format-event.ts:3 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/cli/format-event.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2574a8b0c2477b46894cee32a263391e2f7b7b8f2e1d384006ed61033c8c9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/execute.ts:610 \u00B7 packages/adapters/hermes/src/gateway/server/execute.ts:644 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"073d716260bed4bef1210a3c42d3f3af9696f428c20c63436d910f0294f8ff1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/ui/parse-stdout.ts:13 \u00B7 packages/adapters/openclaw-gateway/src/ui/parse-stdout.ts: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/adapters/hermes/src/gateway/ui/parse-stdout.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2053d543b65db4a9eba2f5f3930bb7b180182e1bcb407ee59027380e225680c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/adapters/pi-local/src/cli/format-event.ts:3 \u00B7 packages/adapters/pi-local/src/ui/parse-stdout.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/adapters/pi-local/src/cli/format-event.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ad5f42a9cffe7ca3528dd92caed235d4531db1c74c786dd9c9fddd6abea0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs:47 \u00B7 packages/paperclip-runner/src/drivers/codex/app-server-transport.ts:149 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f145ee576e1efeea4c001f4371c2627c2b683a85d37a3e605987531a7f037814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/local-runner-browser-server.mjs:147 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:599 \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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1be143ad41f239830e1f293acfdad0978568670d0dd98b23de57c4caa90671b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/paperclip-runner/src/catalog/operation-groups-doc.ts:290 \u00B7 packages/paperclip-runner/src/catalog/operation-groups-doc.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/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9272691398fd043c17f55069a40ea829135156f74ea2ecd7517a94cea4dc83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/eval-session-contract.ts:102 \u00B7 packages/paperclip-runner/src/conformance/harness-driver.ts: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":"packages/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c329507839216a1400a60ee606b5ffa58613f95d4a69c737472912fe8dc9f12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2111 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:563 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb8b8e708659d449e81f64972a3e6e5371c65a23db7f19300c68658b62f450"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:332 \u00B7 packages/paperclip-runner/src/mock-core/deterministic-harness-driver.ts:103 \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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a214df1bf7f39f10d1a28da670e780507146d25162c3ff5605203fde98400b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1354 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1373 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b45ba4fd14bba8ccd0909966184b98c5797411863e29e9e7e1f5ea75b91b14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/plugins/sandbox-providers/boxd/src/plugin.ts:484 \u00B7 packages/plugins/sandbox-providers/e2b/src/plugin.ts:233 \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/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"e601aae1de9f498c993e832497c3b613be0a6613e8f4726d9a18808204a4ecfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/shared/src/validators/secret.ts:323 \u00B7 packages/shared/src/validators/secret.ts:392 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/secret.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed4aae963f87781b762f2c94f9062c81424f9b0336b2d483c2c54cbda3cc3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/dev-runner.mjs:390 \u00B7 scripts/dev-runner.ts:518 \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":"scripts/dev-runner.mjs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c7fe9d0bccceb224017045ef2587f4ed3f207fb933ced114f04afe7cf9c2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): server/src/middleware/http-log-policy.ts:81 \u00B7 server/src/middleware/http-log-policy.ts:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 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":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f2938f2247f1deeccd52cbe0b3f561462ad1e8fb18434da5ce1f63bafea591"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/modules/run-dispatch/adapters/postgres.ts:553 \u00B7 server/src/modules/run-dispatch/adapters/postgres.ts:925 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec63ced3a12789af4222f7f8d9c86e6b4d2d2696218e49ee148a9f6d4c7d4df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/realtime/environment-custom-image-terminal-ws.ts:129 \u00B7 server/src/realtime/live-events-ws.ts:92 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1f8e15abb8835de02603e0e542ecc7bd38613273cfa6642f8fc33f5499e8e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/access.ts:892 \u00B7 server/src/routes/access.ts:1064 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb3943878e59f68393af73ec273b19ff5d6be75b77003ea2410bea69f8caeb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/agents.ts:1238 \u00B7 server/src/routes/execution-workspaces.ts:108 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"474d43356e98ded0a41304b2330b24188db9f8bfb6e08e458c448e184f5805b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/agents.ts:3605 \u00B7 server/src/routes/agents.ts:3646 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3605}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59f0c95ce386a74ca54863f7db22f0eeb2a19b45f8b77a294f996f639b10f2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/agents.ts:5984 \u00B7 server/src/routes/agents.ts:6016 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5984}}}],"partialFingerprints":{"codehealthFindingId/v1":"c561007f3a332eb16371e906f99a3035c0632d6ec53690540a21321320aee920"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/agents.ts:7923 \u00B7 server/src/routes/agents.ts:7947 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7923}}}],"partialFingerprints":{"codehealthFindingId/v1":"327b227593c4ede152a29653f2fd9ad63a856598cb4518841442fd474ebac399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/browser-use.ts:86 \u00B7 server/src/routes/browser-use.ts:101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/browser-use.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"869351e31b155c05e8e921887b4ea9a170a6ef539d63cf9f8b0123f1430962b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/company-skills.ts:618 \u00B7 server/src/routes/company-skills.ts:645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f74ef1360b9de6393deb5049d8b251bf07a413dcbefb43fe3263b1940e348a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/goals.ts:69 \u00B7 server/src/routes/projects.ts:1068 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/goals.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e895555eaad3ebf5ea97bd583797ae571f7bfe99f4632b93c0bdeb7d21dc9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/issues.ts:1161 \u00B7 server/src/services/issues.ts:5731 \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":"server/src/routes/issues.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bee23d1e60b01bc3ccc9ab6717924ce750f3e66bc936c1b7658cc7c98f13abf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/issues.ts:1179 \u00B7 server/src/services/issues.ts:5756 \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":"server/src/routes/issues.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cb48767cc5c224de62c0a0c3811bcf60e744b7b408f752799d0c54981a72d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/issues.ts:9660 \u00B7 server/src/routes/issues.ts:10250 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b1d3d25a66d0e5f0d505fa1d2eb5472339027a0e93bd287264d46e85cd2450"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/issues.ts:11568 \u00B7 server/src/routes/issues.ts:11685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11568}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fec4cd80eb0e47fae62ba2d21d38672602fbb4f2b3d3307c3a9dc1bbfcadab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): server/src/routes/issues.ts:12798 \u00B7 server/src/routes/issues.ts:12893 \u00B7 server/src/routes/issues.ts:21262 \u00B7 server/src/routes/issues.ts:21356 \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":"server/src/routes/issues.ts"},"region":{"startLine":12798}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a7554ecf863d74a2ade89abeca376bc3703c4c787482716168dbb91de27fa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/issues.ts:15492 \u00B7 server/src/routes/issues.ts:20310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":15492}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b2e1e118cdfc14499ae89b6c53ceb82d45a27378e14503e95c1c4ba5566764"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/plugins.ts:1499 \u00B7 server/src/routes/plugins.ts:1592 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcea5cd25809336d2b64ec13b3248a755823386aba05c580da241b31cb9d624"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/routes/status-cards.ts:113 \u00B7 server/src/routes/status-cards.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":"server/src/routes/status-cards.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bb8fc3f0b3716cc22badb031a0a3a2b13807a5aabca8551114c96c197241d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/secrets/aws-secrets-manager-provider.ts:294 \u00B7 server/src/secrets/aws-secrets-manager-provider.ts:403 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbd9a5452f666c93d3962d8c3ecfa4b12af17c60929fa7ee6f6e8185d15a8b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/activity.ts:251 \u00B7 server/src/services/activity.ts:283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ce4fb7294afb1735e0332a19f835d9a0fa717e6fe67f2d6891eeaae3049182"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-channels.ts:3158 \u00B7 server/src/services/chat-channels/reactions.ts:843 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0537d02be25add1c1b941038a866cf122eff7dca18d1179176db2bea12c06e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): server/src/services/chat-channels.ts:3181 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:86 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:121 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1ececc97ff5c8b44de515f9c2a7f444f89fdb23e595d7fa64ebaad9625d511"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-channels/discord/messages.ts:6 \u00B7 server/src/services/chat-channels/slack/messages.ts: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":"server/src/services/chat-channels/discord/messages.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c013369bd7bc05bb7fbb62e493bf061eabc26173eb6ff29a8e3e65548b7d33b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): server/src/services/chat-channels/discord/root-threads.ts:189 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:223 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:253 \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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f8cfbb6207eec58a89550fe52f88384b6a24c0ce8757746f8359819f49812"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/admission.ts:78 \u00B7 server/src/services/issues.ts:8044 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c37ef0da1090856599eca9a608083381e02474ca01b113a79a717ffe62e587"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:106 \u00B7 server/src/services/chat-github-reviews.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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ffd37e36bcd98115fa0850fcbeb50b05687d41884b4c300c81c73172a260f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:232 \u00B7 server/src/services/native-runtime/external-chat-question-response-input.ts:35 \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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3f01d100c559466e95dca478aabaa6fb961530cf9596737f8df436556ae618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-channels/publications/transport.ts:345 \u00B7 server/src/services/chat-channels/publications/transport.ts:389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"242aa8139d97de43edcbcb84312c50d3d2e49fc02c4a909ecc5c98d0f46caf7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-github-reviews.ts:170 \u00B7 server/src/services/chat-github-tools.ts:389 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9744831a5451f44ea2bfdef1f197a4933c7996cb629a5c5a7535407f95cf3b39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-native-progress.ts:401 \u00B7 server/src/services/chat-run-publications.ts:670 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-native-progress.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"63551b31cd9e666acb85d7850546534dde535857da4963e61f3076d3baf6a8c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/chat-question-forms.ts:865 \u00B7 server/src/services/chat-question-forms.ts:888 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"216e0917238982084630dd34dd21a73771baa1d8a8f3d4dd80e16b3bb9bd8cec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/company-portability.ts:4784 \u00B7 server/src/services/company-portability.ts:4818 \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":"server/src/services/company-portability.ts"},"region":{"startLine":4784}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69c537b2434ed29fc68e559e73afcfc88c4d96c60658d3c56a113930fb59fd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): server/src/services/company-skills.ts:7109 \u00B7 server/src/services/issues.ts:14538 \u00B7 server/src/services/issues.ts:14563 \u00B7 server/src/services/issues.ts:14589 \u2014 the 4 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7109}}}],"partialFingerprints":{"codehealthFindingId/v1":"41437e8ca2d887b9b38da0d42ec811d3000fd002c5de68f6528c02e3ed388428"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/environment-config.ts:460 \u00B7 server/src/services/environment-config.ts:507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f7e661db78778bcdd56fc883cf0e266e0c2b8e64bdfa7c42cd8b4db2c8040c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/environment-execution-target.ts:298 \u00B7 server/src/services/environment-execution-target.ts:677 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-execution-target.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fb2e260960d71b1c54f7f4bc05b40e9beb4430e0976d11cdd82d5e7e4748ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:3190 \u00B7 server/src/services/environment-runtime.ts:3270 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0121e8f77220230fd967a17b1267b3faced9cf8901bb0be5b9b83330e03567"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:4495 \u00B7 server/src/services/environment-runtime.ts:4602 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b6b133bee661425ee6db38b20219f249402ef51e5fcb3d29e95823c2110a1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/feedback.ts:438 \u00B7 server/src/services/feedback.ts: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":"server/src/services/feedback.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6407b900f5aa0d50349489283561f3607ff67e956cf15b3ef0bef2c9e3df54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:1625 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:205 \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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec93aa0e4225fce26f572c3ea258c3ea9a82420cf7d56b8914edb2b45d68f43c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:4367 \u00B7 server/src/services/issue-thread-interactions.ts:4682 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b654549ac1469e68a7aad369d355f56979b69f45bdb9c23cf1cbdedca4d12923"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:4553 \u00B7 server/src/services/issue-thread-interactions.ts:5700 \u00B7 server/src/services/issue-thread-interactions.ts:5928 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4553}}}],"partialFingerprints":{"codehealthFindingId/v1":"019baf4d9d73e8e99dd53bb8be59092d361f220dd4394c76311c2a19a5faec89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/issues.ts:8112 \u00B7 server/src/services/issues.ts:8174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08d4515d899e3e5471b0a203727c66188f08087ed73ef4d2ac043159ac21376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1086 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1131 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f4a98b86992f3927b5afb10f952f987f7b8b2ac3b715e162f5aada2e5aba21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/native-runtime/native-finalization-reconciler.ts:699 \u00B7 server/src/services/native-runtime/native-finalization-reconciler.ts:764 \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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b892481f718dc9d5789fe0de1014fa8c36e83ad8197e0865d1a81b73dc52f50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:10033 \u00B7 server/src/services/native-runtime/native-session-executor.ts:10299 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10033}}}],"partialFingerprints":{"codehealthFindingId/v1":"d079cc95c947f7f23c058e6f6fc79cb710f40c70baef5aaf27ec0e48818b7bd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): server/src/services/native-runtime/status-decision-committer.ts:964 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1271 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1447 \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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b240d4c03a600a08c4a3e49eaf969a8c68f9da63b142998e7194f091e1df7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/commands/client/access.ts:270 \u00B7 cli/src/commands/client/auth.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":"cli/src/commands/client/access.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e05f0844ae978914c5ea25b972b739793fb77cb41e363f55f75951c3dbbc3ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/commands/client/issue.ts:1213 \u00B7 cli/src/commands/client/issue.ts:1229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/issue.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39f265cfba3660a6a680cc70a580b9c669b66d0fa2f9acf3d959cc510840440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): cli/src/commands/client/skills.ts:766 \u00B7 cli/src/commands/client/teams.ts:541 \u00B7 cli/src/commands/client/teams.ts:603 \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":"cli/src/commands/client/skills.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cda9e4376b0b91494e354e9b0ab8c631ffe2317292246434900be99d9fb165a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/commands/onboard.ts:447 \u00B7 cli/src/commands/onboard.ts:687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd75c3e6aa10eb8a53469df428e1140fc623782439bb898aff3ac87c67c7b920"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/commands/onboard.ts:478 \u00B7 cli/src/commands/onboard.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":"cli/src/commands/onboard.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9df662370e1ab69ec5df589f4ea85ce877248e8efa03c1f31f81cda99cdabb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): cli/src/prompts/secrets.ts:40 \u00B7 cli/src/prompts/storage.ts:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/secrets.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fd112783d943be45a2d9ba09ffd6b78c51804d37691a8fec1f4052b8538d07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:1204 \u00B7 packages/adapter-utils/src/acpx-engine/execute.ts:1411 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d9d22e32f7064f1dfda93ebfc09cd2e902842e844e23a33d00c0ffd73691bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapter-utils/src/remote-managed-runtime.ts:57 \u00B7 packages/adapter-utils/src/sandbox-managed-runtime.ts:668 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaad60cffcfcd3fe2350119ef73082e4b79d9656257ed13abe5ae212b635a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1584 \u00B7 packages/adapter-utils/src/server-utils.ts:1644 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c95462330415ecdaf972c369f18d7a9295a2b314d132b3cfcbc56cfabdb741"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:4008 \u00B7 packages/adapter-utils/src/server-utils.ts:4140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":4008}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf97b9bfb288221d65811e39c36f6817cdad3a71f441ababa4f36f93456ab73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/test.ts:45 \u00B7 packages/adapters/opencode-local/src/server/test.ts: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":"packages/adapters/codex-local/src/server/test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a17f875de8ad97edec0c9e07839160b55ea9dff62c3dd10b94add28de1c88e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/adapters/cursor-local/src/server/execute.ts:701 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:673 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:628 \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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"e567c80759ff8c544bdd7b6d6c5ab2b9e1c12ca588c33fa15613b0f59eb2a6d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): packages/adapters/cursor-local/src/server/index.ts:31 \u00B7 packages/adapters/grok-local/src/server/index.ts:27 \u00B7 packages/adapters/opencode-local/src/server/index.ts:27 \u00B7 packages/adapters/pi-local/src/server/index.ts: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":"packages/adapters/cursor-local/src/server/index.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ecc2bb9d0f6d61dce2bfb855a105901eaeb5d712857832570ce37c5a2a917"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/adapters/cursor-local/src/server/test.ts:358 \u00B7 packages/adapters/gemini-local/src/server/test.ts:288 \u00B7 packages/adapters/kimi-local/src/server/test.ts:334 \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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25191c010013402a2bfa50ac9d0ae9a6918e602ab72147e5134d7283fe8adf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapters/cursor-local/src/shared/stream.ts:1 \u00B7 packages/adapters/openclaw-gateway/src/shared/stream.ts:1 \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/adapters/cursor-local/src/shared/stream.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"182e5f95f815682196e2809f3a338c361a45ad2b9797fd5ab2ff536cacc76239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/index.ts:42 \u00B7 packages/adapters/kimi-local/src/server/index.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/index.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"94acd8074906a503a08b0bc4358a7c6ae14c44bf9c983f7af875b983956936d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/parse.ts:285 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:301 \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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec1a0e0f9a511fa4eb1d17e10fb196ec9fddd39756d0c23d83425af3af4203d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/execute.ts:595 \u00B7 server/src/realtime/runner-prp-outbound.ts:179 \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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da45dce2e73ab89379885f1ee0d482e8336894b05c1f892f5e19caee9b7fedf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/execute.ts:504 \u00B7 packages/adapters/pi-local/src/server/execute.ts:517 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c2e061c9286584a4aedb8e5707881ddd00c687b3eae32668da8f4402e2d66c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs:47 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:71 \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/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3476194c60c07bec6a3231b5fa7cb2c9318533ec7396d1661d0636261f3c485"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/scripts/build-provider-pack.mjs:64 \u00B7 packages/paperclip-runner/scripts/provider-pack-executable-shims.mjs: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":"packages/paperclip-runner/scripts/build-provider-pack.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"014b8f5a1e5b1d496b033b0e733be49d0525726e5e5d6209d3da43bb9e0de354"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/scripts/build-verified-provider-entrypoints.mjs:140 \u00B7 packages/paperclip-runner/scripts/build-verified-provider-entrypoints.mjs:166 \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/paperclip-runner/scripts/build-verified-provider-entrypoints.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"304f9cf9c450620379877c5ddcd8cfef2deb2b1538b66d3e56e02a9f9086facc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/scripts/capability-issue-thread-server.mjs:1134 \u00B7 packages/paperclip-runner/scripts/live-console-browser-server.mjs:122 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f5fffc26f22df571ac12e53fad521ad7bc832888c1403f684259521886c2a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/codex-app-server-unix-proxy.ts:53 \u00B7 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:2028 \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/paperclip-runner/src/cli/codex-app-server-unix-proxy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"21914f53a8a323d4a867569aa786dae2eff14e2b87084f2849c3d50f3d528952"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/src/compatibility.ts:61 \u00B7 packages/paperclip-runner/src/evals/compatibility.ts:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/compatibility.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3069f02a6e98f60f3cc58b6fa03e649e632c0fc1933687b347f50cc83891c408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:1761 \u00B7 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:5164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0902b48d44d7820bb98467ec641e18f1c3ea23703d4b765c4c13eff5eaf8087"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts:83 \u00B7 packages/paperclip-runner/src/drivers/acpx/copilot-policy.ts:106 \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":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cf8e46b0625e1c7c83149786f8cf775bc0f8e3d9e2a7b48f076d5fb28179c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts:592 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:1207 \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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b1811ce9bdedc7cac82463036cb1fbbcecf8b7878c8b4555373032bdbce68c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts:664 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:2220 \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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b203caca22fe56725a926598dd540369dc621ef9b3b3210f3d3e1bb8aabbde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:39 \u00B7 packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts:54 \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":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf0bfb10cc087397cd6048eefe0a6dd7e5133797fe23ef6e55790ae9ffc1fb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/src/eval/eval-execution.ts:306 \u00B7 packages/paperclip-runner/src/eval/eval-execution.ts:463 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a670c448966f22fd398b0396d2b2036b45bb6787afcec55015ccba652dd78317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/paperclip-runner/src/evals/native-execution.ts:128 \u00B7 packages/paperclip-runner/src/protocol/conformance-fixture.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc6d397d850d926c8cf2b1b4dc28aba790e9a9bfbddbbcba6ee14c3265e4ecb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/paperclip-runner/src/native-session-runtime.ts:759 \u00B7 packages/paperclip-runner/src/native-session-runtime.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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32876f25ce0fd32644f090e4f990e429140eeb08f5b15a2a1744caef63e8fe7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5840 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5888 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5840}}}],"partialFingerprints":{"codehealthFindingId/v1":"714e1bae535d203ba1ac3e290924d6c60a27deec57a2523e7bfb1b4a0a5f7a1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5949 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5964 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11178e0710cece3b41e80505a24945827519aacea05ca5e50b2e06cbf3ff589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2029 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2044 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2075 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2090 \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":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de3bf9ab68b9f1a3a1a3e01188b455322cc0f6e6ca07a0835d773042e2f21c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:823 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:853 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f996842793675161edfabd45615af1e14e10958f6c1544086fb6302470a6f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:203 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:323 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef8ef87ee3584a4ba5a4f679939cd44b276dcf728e426e1eab4fef512fad066"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:1550 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:1601 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aba488596b075731c38fd3503aa26a970d3277fa9d7e105da186a3430ada07b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:3456 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:3691 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"80479e986b9887b881980e303bd647446ae943da69874fc1e113e8bf4e428c3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:474 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:615 \u2014 both copies are in the same file, so extract the block 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 \u0060definePlugin(\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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd51bebd359a3cfa0834ac603fd78549c6bf711223ea8ffc270da45ef93bfde2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/shared/src/validators/decision-queue.ts:6 \u00B7 packages/shared/src/validators/external-object.ts:15 \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/shared/src/validators/decision-queue.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df6ca510cdc2faa67b45a171d46f5a8c1462685c57d0d42a97cc682b01a27ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/shared/src/validators/search.ts:145 \u00B7 packages/shared/src/validators/search.ts:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/search.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b29aa67afd33b64e8c9290ea1427c305b91248faf30911e0005ac130eab3f61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/tailscale-https-broker/src/broker-core.ts:448 \u00B7 packages/tailscale-https-broker/src/broker-core.ts:702 \u2014 both copies are in the same file, so extract the block into one function there 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b18ef45da2dd38acb0a935d460619c813979c9d3b7c5bb0d25e5a63ef6561d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): scripts/cloud-migrator-artifacts.mjs:206 \u00B7 scripts/cloud-migrator-artifacts.mjs:263 \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":"scripts/cloud-migrator-artifacts.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b152eba4078563a7df171e555b3d995fce4afc22b34ed2a36a5c39e75bc918e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/dev-runner-snapshot.mjs:85 \u00B7 scripts/dev-runner.mjs:210 \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":"scripts/dev-runner-snapshot.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"99da1ae17c1c2c8f3bbdd7487e8750b9850c6f5b92bd765262aa95daa9c8115d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/screenshot-blocked-inbox.mjs:81 \u00B7 scripts/screenshot-notion-connect-flow.mjs:82 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/screenshot-blocked-inbox.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e91d1ac3d6ec9aa3e84cc4ece5ed787b1f35b6c4844a22d035c71e6b96e7e7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/middleware/auth.ts:108 \u00B7 server/src/services/board-auth.ts:83 \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":"server/src/middleware/auth.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5e19812d98937e5f57ffb8cf77acb30e96f845ab4cc083fec7489e9ed20b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/modules/run-dispatch/adapters/postgres.ts:1257 \u00B7 server/src/services/heartbeat/queue.ts:854 \u00B7 server/src/services/heartbeat/queue.ts:2063 \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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e30cb1c4a83a0f628663420f3fc7247a366d1fe970f6a61e20fa765f0c681e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/modules/run-dispatch/domain/policy.ts:375 \u00B7 server/src/modules/run-dispatch/domain/policy.ts:627 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db4c532ef2ba8e6a77a48281d3e6424558a707988e1e024dbc034b7bb744617"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/modules/wake-queue/application/queued-comment-use-cases.ts:74 \u00B7 server/src/modules/wake-queue/application/queued-comment-use-cases.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":"server/src/modules/wake-queue/application/queued-comment-use-cases.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf84ed8d8bb03f26211fee5a0278214e585a62dbe130cd042f6905c9f729dbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/access.ts:1731 \u00B7 server/src/routes/access.ts:1831 \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":"server/src/routes/access.ts"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"5571a1be9bab6ac4a575efec24f118cc2fcff555dcbea76a6edd65962795bfe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/company-skills.ts:905 \u00B7 server/src/routes/company-skills.ts:943 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd04ce6dc710c114031f0050676fe5709f1f0b0645d7edb498c8d2539b33ead1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/file-resources.ts:707 \u00B7 server/src/routes/file-resources.ts:723 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5be46840b84afb77cd4c881b53c90a7ee20141ac0b5ee1558e04826ff3b6ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/issues.ts:11794 \u00B7 server/src/routes/issues.ts:12117 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11794}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10c35885da112ee9fc4208421d65ce37e49850e7573105c8ff3a640d534bcb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/issues.ts:12941 \u00B7 server/src/routes/issues.ts:12991 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":12941}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ad7edcb08dd67ba8bdbddcb96afc8cebe2eabc0c3e31a77c5b9fc96cf2dfa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/issues.ts:17845 \u00B7 server/src/routes/issues.ts:17876 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":17845}}}],"partialFingerprints":{"codehealthFindingId/v1":"f957b82c7e3920f2cd9deb3eafb4f3511fc9588fc8736cce887bb47afeb0a711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/openapi.ts:4393 \u00B7 server/src/routes/openapi.ts:4414 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0789e154f0182e7c55808e0170a3c13500c59f6e27d8d6a282d85aa79bb5b869"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/routes/openapi.ts:8250 \u00B7 server/src/routes/openapi.ts:8274 \u00B7 server/src/routes/openapi.ts:8297 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda44debfbcf2d0e74bb8f13ddb1982c3422a26ede655d212b96d9bcac1e0520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/openapi.ts:10235 \u00B7 server/src/routes/openapi.ts:10252 \u2014 both copies are in the same file, so extract the block 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 \u0060registerPath(\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":"server/src/routes/openapi.ts"},"region":{"startLine":10235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62a6dceeeb0a82c5cb0742dfa8db60faf9473c934ee33ed92e20645def8285a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/secrets.ts:1084 \u00B7 server/src/routes/secrets.ts:1099 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"9284ee4109032960797b6819d55322753b293ba98b5be4f5290bce4a2914e210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1604 \u00B7 server/src/routes/tool-access.ts:1626 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cda8729b9e110c2af270b7609c3733d001c87f8c4f18345a3e7085def8b851"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/workspace-command-authz.ts:13 \u00B7 server/src/routes/workspace-command-authz.ts:43 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/workspace-command-authz.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c40a9e76d5fff89eabd72bb7f5358b87936c4231f8b585ae824be93c87198c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/routes/workspace-runtime-service-authz.ts:168 \u00B7 server/src/routes/workspace-runtime-service-authz.ts:199 \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":"server/src/routes/workspace-runtime-service-authz.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a2751a9b36bce724a2a24418c2673a4f63838275823de4d02a731fe3df0b33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/authorization.ts:642 \u00B7 server/src/services/authorization.ts:708 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce2d3564cae3b2fabe59ac3fe1976e785aa16fa226641b2df5c89074734afea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/authorization.ts:969 \u00B7 server/src/services/board-auth.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":"server/src/services/authorization.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa8c2e1875360ddc4e2fce192d0fcd278cf68e4c4babb190915f73f032a5c29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/authorization.ts:1467 \u00B7 server/src/services/authorization.ts:1485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"1254c520ab54b07d2ea2cedc78ac41d1783e429b79b782d389904be77d5914e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/built-in-agents.ts:1825 \u00B7 server/src/services/built-in-agents.ts:1933 \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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a2c0af44900be8dee05b0dbc785d5182994ce144337427a26c8e9ddebb17b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2847 \u00B7 server/src/services/chat-channels/github/installation-lifecycle.ts:122 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a0cf03eb0d2b0643752eb513ce3f62cc9ca8aed04b4e6d485e4122d3671787"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/failed-run-retry.ts:1095 \u00B7 server/src/services/chat-channels/failed-run-retry.ts:1711 \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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95f221db71ceda282199eebeedc0ceb80d448ee856610d139d38d9a9859cba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/github/review-check-work.ts:66 \u00B7 server/src/services/chat-channels/github/terminal-response-work.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":"server/src/services/chat-channels/github/review-check-work.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd7bd7f20c46c780454c9e1fd10eb513252c49d0688cb7676bffc175a2b4946"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/github/setup-secret.ts:133 \u00B7 server/src/services/chat-channels/github/setup-secret.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":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccf0e81900b3f648cf61800168e51be8b631771472fb5bfa3bc18b3d688853d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/imessage-photon/events.ts:221 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e646bb1027b615183928a2edc747b9cdcdfa0c1179a4e990e911972a99d980e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/authorization.ts:123 \u00B7 server/src/services/chat-channels/inbound/authorization.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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9897bf4d0cb4290368ea4fd50062e5e080f35f31ae72be92f9a7f11b63b143b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/lifecycle.ts:413 \u00B7 server/src/services/chat-channels/reactions.ts:490 \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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4fc0d90686d6271e82e29c2a142d3a1d71ebd5ed4dacd88c51c825d3ad9d03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/wakeups.ts:350 \u00B7 server/src/services/chat-channels/inbound/wakeups.ts:402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8227fc2c4d167c45a654164cc6541745294ddb8a9d9a5d58c91080b618090c88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/callbacks.ts:239 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:367 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:523 \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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b0eb71481616b65be7ba66b1b66bfcb785ac55b7b8b75b7004a499ea97edf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:604 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1537 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d62b84707d00b58fe8106256d9e708f730c3a55952fb66dc3327ea07bf05fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:1222 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1858 \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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"690a9a43628a69d7295c80d1a26ab2f9f5357440b357bfbc37faa4b72d830ed9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/chat-channels/slack/file-receipts.ts:353 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:183 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:456 \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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec4619ba97e9b24bb10ba0d0858eee54e6150993cfa195eb97967753a7651d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-github-management.ts:543 \u00B7 server/src/services/email-channels.ts:656 \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":"server/src/services/chat-github-management.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa7a115a4a352e2ee8f1ec372570d687add90b3e4bdaf4bbf352357a0eb2449"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/chat-interaction-publications.ts:584 \u00B7 server/src/services/chat-interaction-publications.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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b8c323a8dd749267c71ff798bcb24a1a766cd3ea60076541934686558ed982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/company-skills.ts:3912 \u00B7 server/src/services/company-skills.ts:6597 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca8d8605633d3c76b90420b23cc8fe99dd4ec8653fe8ae21dae643d7fc78eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/connection-intents.ts:153 \u00B7 server/src/services/connection-intents.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":"server/src/services/connection-intents.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa3330adf665dbfb0d62cc9e98d3b55f1932df3bb470da87899c6e7d74af94f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/connectors/slack-access.ts:41 \u00B7 server/src/services/connectors/slack-writes.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":"server/src/services/connectors/slack-access.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81a6785fa0475e07e1f55e87e54659262d0638b1751ccde5bc555a035127e6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/costs.ts:433 \u00B7 server/src/services/costs.ts:475 \u00B7 server/src/services/costs.ts:509 \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":"server/src/services/costs.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02413edd885915a4eb5c4fc69bc9b717d5ee7edb2674eb26656a3d4ea4e133e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/decision-retention.ts:272 \u00B7 server/src/services/decision-retention.ts:312 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-retention.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6376e7121b4aea35e7b4d137d62918faa88262ed384648e1e489c781e1797e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/documents.ts:780 \u00B7 server/src/services/documents.ts:831 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f026b9749d539088ce2a684dfa1d2354f8441171aefcd0ed1314fed610515105"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7 locations): server/src/services/execution-control-reconciliation.ts:140 \u00B7 server/src/services/execution-recovery-resolution.ts:771 \u00B7 server/src/services/native-runtime/automatic-completion-reviews.ts:127 \u00B7 server/src/services/native-runtime/continuation-contract.ts:26 \u00B7 \u002B3 more site(s) not listed \u2014 the 6 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":"server/src/services/execution-control-reconciliation.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"827b1667fec432f6038c109f5924727d0f071c81b6b9d828a520189e06daf605"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/git-workspace-restoration.ts:420 \u00B7 server/src/services/git-workspace-restoration.ts:452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2430c0e930c4f9d757c632c0f1229c38fe3b82fbb8a679779837a26ce7d6db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:5557 \u00B7 server/src/services/heartbeat/queue.ts:5739 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cc7e49e1ad420139849730a0443d6f36f39d31075b49728ca799e6f2017b3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:2416 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"770880c15006c149853ade7c15cbc2a903592d759e6ee1064e5ba3538ba7444b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:919 \u00B7 server/src/services/heartbeat/run-preparation.ts:1448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"480746930031cb54cee61b2303a94135e7fd006ff7be9432bfb00327ae92cda0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:3129 \u00B7 server/src/services/heartbeat/run-preparation.ts:3145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":3129}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f60d89ee15d794ab174f5e8d6a73175d424a838f15179d4bfd86937dbed210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/heartbeat/scheduling.ts:1038 \u00B7 server/src/services/heartbeat/scheduling.ts:1070 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d619c6e9b68604e4604a73adc1ff9323fda7f4fc95e5484f797f1505f6faf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:4945 \u00B7 server/src/services/issue-thread-interactions.ts:5266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4945}}}],"partialFingerprints":{"codehealthFindingId/v1":"486481fd260c3f4b30beb03174b3f6fe3f6e5bde732d00ba01a987220a8db668"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/issues.ts:8665 \u00B7 server/src/services/issues.ts:8977 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8665}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da224d24b3740f46080b9647637e977d07fb5cdcfc6d92810f8ffd6c2fa2a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/src/services/issues.ts:9610 \u00B7 server/src/services/issues.ts:9659 \u00B7 server/src/services/issues.ts:9711 \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":"server/src/services/issues.ts"},"region":{"startLine":9610}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4e286f71047c17ef8317e3ee9875d45c246198c20802c8db543a96b7561ebe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:350 \u00B7 server/src/services/native-runtime/native-interaction-bridge.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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7908858e90dee6a66c102695056938899d6813ba187f248d46dd51f438e121de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): server/src/services/native-runtime/native-recovery-notice-work.ts:11 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:46 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:49 \u00B7 server/src/services/native-runtime/native-status-reassessment-work.ts:76 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-recovery-notice-work.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fb8143ad7cc3e95373ea9cf8a2be37114538c0f740e30a68c7fda4431ea8e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): cli/src/commands/client/access.ts:28 \u00B7 cli/src/commands/client/access.ts:368 \u00B7 cli/src/commands/client/adapter.ts:21 \u00B7 cli/src/commands/client/company.ts:1417 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c7005e3ba6f1afc8b176a4bac29230d7d46d90c0b5669b78e1b8353a6324a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/client/access.ts:421 \u00B7 cli/src/commands/client/skill.ts:88 \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":"cli/src/commands/client/access.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9772cd73f3f2382383d77ac3770dfbdaa5f015c008d4ec006fdbef424c51666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 33 locations): cli/src/commands/client/adapter.ts:95 \u00B7 cli/src/commands/client/agent.ts:344 \u00B7 cli/src/commands/client/agent.ts:646 \u00B7 cli/src/commands/client/agent.ts:741 \u00B7 \u002B29 more site(s) not listed \u2014 the 33 copies are spread across 11 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/adapter.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ee5a0285ae12a2252483ecf2d93d43833cf258a983160c5d41cb8f6f8b6f6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 17 locations): cli/src/commands/client/agent.ts:524 \u00B7 cli/src/commands/client/agent.ts:540 \u00B7 cli/src/commands/client/agent.ts:590 \u00B7 cli/src/commands/client/agent.ts:624 \u00B7 \u002B13 more site(s) not listed \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ebef635a698ccad3bc70a22129cd9d09995f6bc04574960e38993d267423d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 17 locations): cli/src/commands/client/agent.ts:742 \u00B7 cli/src/commands/client/approval.ts:104 \u00B7 cli/src/commands/client/company.ts:1636 \u00B7 cli/src/commands/client/goal.ts:88 \u00B7 \u002B13 more site(s) not listed \u2014 the 17 copies are spread across 8 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d690df06e4bcb41834b1eb809ea19005e2b2ee4f91cb36517af334c5075bfbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): cli/src/commands/client/plugin.ts:865 \u00B7 cli/src/commands/client/plugin.ts:888 \u00B7 cli/src/commands/client/plugin.ts:915 \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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d275051a4b3da6cccce51b4f55a64904734da50a078823ef8f68cfe06f033c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/client/plugin.ts:902 \u00B7 cli/src/commands/client/plugin.ts:929 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/plugin.ts"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0317e5a218795f095602f2383eb4f0e4c75e0959f705d3c271a462f67850f8b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8 locations): cli/src/commands/client/skills.ts:221 \u00B7 cli/src/commands/client/skills.ts:364 \u00B7 cli/src/commands/client/skills.ts:413 \u00B7 cli/src/commands/client/skills.ts:441 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b64982eb21d0db0f96272eaea11fc343ebea3c65b45ba1da8309acc20aaed56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:827 \u00B7 cli/src/commands/client/skills.ts:853 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26c61f582232fc2f514054fa269385bfa4e597f15e030c7240a008b22e67084"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/client/workspace.ts:223 \u00B7 cli/src/commands/client/workspace.ts:241 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/workspace.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba435cfbde3eb4ef61b3ea8745cf1cecb7eb51a32c8eab878432959dce3f71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): cli/src/commands/install.ts:192 \u00B7 cli/src/commands/install.ts:253 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/install.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2419447dca935e3f7026a21cb8cb55d2c4ac69cb85fea20c747e2dc113dd3d6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): cli/src/commands/runtime.ts:8 \u00B7 cli/src/commands/runtime.ts:61 \u00B7 cli/src/commands/runtime.ts:96 \u00B7 cli/src/commands/runtime.ts:133 \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":"cli/src/commands/runtime.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"400fcc53be68878272c35bd266fe14f3ad1248c996ce7b323dfddebcdbccf513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:4049 \u00B7 packages/adapter-utils/src/acpx-engine/execute.ts:4108 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4049}}}],"partialFingerprints":{"codehealthFindingId/v1":"615379b95f2fdaa6747251fcfdfa5127b6e749dcdcec37a22aefa17a6c35e502"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:1234 \u00B7 packages/adapter-utils/src/execution-target.ts:1272 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f41300378d4b25ae1515d5b9b2ad84e0cdf17a6572c9a5557191813133b5190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:995 \u00B7 packages/adapter-utils/src/server-utils.ts:1069 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9771fc50a8ee51ab8081975b40b234eace9a1d9b6d225fe98bc3af9ccf7fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/adapter-utils/src/server-utils.ts:2794 \u00B7 packages/adapter-utils/src/server-utils.ts:2861 \u00B7 packages/adapter-utils/src/server-utils.ts:2929 \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/adapter-utils/src/server-utils.ts"},"region":{"startLine":2794}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e4bfbdccf02fd675dffcbc5eefc8d07824523fbc990864d7f1d1e54ef63c1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/claude-local/src/cli/format-event.ts:38 \u00B7 packages/adapters/kimi-local/src/cli/format-event.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1412b19c6306d31586f6b02d35d9aaff679f2a454e77e74cccf5204ad11e701a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/adapters/claude-local/src/server/acp.ts:142 \u00B7 packages/adapters/codex-local/src/server/acp.ts:125 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:98 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:91 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9877902e35c01c94a3bf5691ae7c567769646f8df4db3078fd603015b6c68a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:861 \u00B7 packages/adapters/pi-local/src/server/execute.ts:625 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"d518347f5f66dbe8da55001daa173c5f73b70b84c925cce3e9368bc5f7356a47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:304 \u00B7 packages/adapters/claude-local/src/server/parse.ts: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":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c968e8e933d37a5fac0262231dfe0b3293ffeb373ce0376d3c6a972c32daca74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/codex-local/src/index.ts:165 \u00B7 server/src/services/native-runtime/codex-runtime-compatibility.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/index.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ab18252cbea113eae0ed9f5001afd64e6cfe36c8fd91ccc7b18a4cda5beb0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/adapters/codex-local/src/server/execute.ts:561 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:179 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:199 \u00B7 packages/adapters/pi-local/src/server/execute.ts:119 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cca91363a4871e3fc30851074da85752652808234440cba247d2b2a4d7d73a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/quota.ts:121 \u00B7 packages/adapters/cursor-local/src/server/test.ts:61 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f385ffe5e45c854603674666a0bd55141d99e5cc89f369c79a2a06cd555e37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/codex-local/src/ui/parse-stdout.ts:222 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:209 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"21860e14dde3f325eda7d81d86e598bf48454fcaf73c0b8b797c327654fd4989"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/adapters/cursor-local/src/server/execute.ts:104 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:112 \u00B7 packages/adapters/grok-local/src/server/execute.ts:70 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:149 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d13a86fdc055050dc7d35808eee019ebf6d73ce24654d3302094c523db902b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): packages/adapters/cursor-local/src/server/execute.ts:118 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:197 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:176 \u00B7 packages/adapters/opencode-local/src/server/execute.ts:214 \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":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba023b4a93b9836710af79b986ada794ff7be850b40a89b009bc6d0b4cf9be4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/adapters/cursor-local/src/server/index.ts:53 \u00B7 packages/adapters/grok-local/src/server/index.ts:49 \u00B7 packages/adapters/opencode-local/src/server/index.ts:49 \u00B7 packages/adapters/pi-local/src/server/index.ts:37 \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/adapters/cursor-local/src/server/index.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce988a96896be08f3421c40eca7b5936ac743ac6bb2a3a423ad6066bb52a18bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:709 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:665 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4af144c6406af1fa482b76294aa077bd3a0ebe5326c72dfe79e389dd8905b1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/adapters/grok-local/src/server/index.ts:49 \u00B7 packages/adapters/opencode-local/src/server/index.ts:49 \u00B7 packages/adapters/pi-local/src/server/index.ts:37 \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/adapters/grok-local/src/server/index.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1307411831ecb89f2d6274d73a19b241f44931b67fa3ada3303a5719de41462"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/models.ts:20 \u00B7 packages/adapters/pi-local/src/server/models.ts:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ef32647ea5e76e494923640a99c6192476f9aff5a72d0f5e6cd21935acdcf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/google-sheets-mcp-server/src/config.ts:143 \u00B7 packages/google-sheets-mcp-server/src/config.ts:157 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/google-sheets-mcp-server/src/config.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c55870022c28cfdcf232f79271de3c2c4055e82189eb32408cc9b0988c0750"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/google-sheets-mcp-server/src/index.ts:36 \u00B7 packages/mcp-server/src/index.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/google-sheets-mcp-server/src/index.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64361a10c9261f102a625cdbbd304d9a1ce6f0c4ef68655b27d4ee812ebf324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/button.tsx:1 \u00B7 packages/paperclip-runner/src/react/components/button.tsx: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":"packages/paperclip-runner/devtools/browser/src/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e9a540b346dac450f230435e41205238325374c4f8739bd148b66024650abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/textarea.tsx:1 \u00B7 packages/paperclip-runner/src/react/components/textarea.tsx: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":"packages/paperclip-runner/devtools/browser/src/components/ui/textarea.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e709e31b7d516b5812bc70025ebcf496b348c451f8ab7807a3eb67adfacd01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx:23 \u00B7 packages/paperclip-runner/src/react/components/conversation.tsx:14 \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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cf09060a4bd1cee86d74289f2c9e9d15f4f084d41fa3f5bcd498925dbccbd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx:386 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.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":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c75643b06e943107b55d9d3cbdcb3857a19ed8b66d9f416c61a109992473cd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/paperclip-runner/src/cli/acpx-sidecar-input.ts:96 \u00B7 server/src/services/native-runtime/native-session-executor.ts:9141 \u00B7 server/src/services/native-runtime/native-session-executor.ts:9156 \u00B7 server/src/services/native-runtime/native-session-executor.ts:9171 \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/paperclip-runner/src/cli/acpx-sidecar-input.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d84ffb81aebd4847e5a42dc1a963a9eed149c6f632fb507f49aa3e7fd9ecd17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/paperclip-runner/src/cli/acpx-sidecar-lifecycle.ts:51 \u00B7 packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:1261 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:1328 \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/paperclip-runner/src/cli/acpx-sidecar-lifecycle.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fae57efa01255cd739810cd10af45faecc3888f65269124b44d8e78149e30a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-installation.ts:13 \u00B7 packages/paperclip-runner/src/drivers/acpx/cursor-runtime-cache.ts: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":"packages/paperclip-runner/src/drivers/acpx/antigravity-installation.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac272235c75f2b0f560d7903168cf2ac858459915cbab4c38db53497948131f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1579 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1639 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6199184bf8ef9610cf60d79b3918099ac76fd711a81203cdbd3326e66e8627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2549 \u00B7 packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts:58 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb096feefea0b04a0dc6abd8d1fd72957f9ec1385136cfcba63f9984f423989f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:174 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a34de93d033039d3f7d280e718ffb0f0fd9e9027ec53f9ee09d5eeccacaa792"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:701 \u00B7 server/src/app.ts:317 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3659bae89b68f46ddd8b0289f0184c527e95a7eea32eefc2632e6c498ff7dcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:323 \u00B7 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts: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":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8e8986562b7dd2e1c603d78c21d8d5775e971e3c4fb45c3a042cdeed50ef99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/provider-events.ts:802 \u00B7 packages/paperclip-runner/src/provider-events.ts:1636 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"110202b07edca1bf1c38fd2aab294361f36dc7a540e9e8b2ec0c73f6a02d5e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/paperclip-runner/src/scenarios/chat-script.ts:193 \u00B7 packages/paperclip-runner/src/scenarios/scenario-plan.ts:744 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/scenarios/chat-script.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f026744f36ad15d34aa3b6105f6b77da205339f3ecd55e7103cf88fd054748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/paperclip-runner/src/semantic-tools/discovery.ts:146 \u00B7 packages/paperclip-runner/src/semantic-tools/dispatcher.ts:526 \u00B7 packages/paperclip-runner/src/semantic-tools/provider-neutral.ts:36 \u2014 the 3 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/discovery.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddbfa5a28885f48ee4a66b6a39e19d6f943bb6ae9d74bc4dd54579330274044"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/redaction.ts:101 \u00B7 packages/paperclip-runner/src/semantic-tools/redaction.ts:160 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3521f15a45398e0c75f8a21d65f8d0d4dc3ad5d2c6dc97e0ce636d5edf8d762d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5995 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6009 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5995}}}],"partialFingerprints":{"codehealthFindingId/v1":"353397146fbba3b1b76c2bb7081a982e5d1825e9ff3aa1935ae699a84766fd81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6320 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6403 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6416 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6320}}}],"partialFingerprints":{"codehealthFindingId/v1":"633dff5b9b08d63b55175f49db99d550f0e3cb42762ee6d77b1914af564573a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:512 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:529 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:570 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef31f90515d4bf7dca85366c98fe49b5778b00295ffd55599dd666899251eb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/src/plugin.ts:141 \u00B7 packages/plugins/sandbox-providers/novita/src/plugin.ts:298 \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/plugins/sandbox-providers/cloudflare/src/plugin.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df29e3c31a4c6e92c01ada73e2b6ef8e52126e086036c4cd8b8582ea66f5cee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/sandbox-providers/exe-dev/src/plugin.ts:553 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:242 \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/plugins/sandbox-providers/exe-dev/src/plugin.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3faa817a67220241af019b0132b2bdfc95f4aeccbd3b35fde31d4da4a085a97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/adapter-registry.ts:14 \u00B7 packages/shared/src/validators/adapter-registry.ts: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":"packages/plugins/sandbox-providers/kubernetes/src/adapter-registry.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a4cf91e67b468f6f9e961c3047c13e9dc37190a4faedd128ad1c8d6051b377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:253 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts:431 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e5dfaff14fff7664279cd2075d12b73ca3e2c7e1444defeaeb5ac76fc3718b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/sandbox-providers/modal/src/plugin.ts:196 \u00B7 packages/plugins/sandbox-providers/novita/src/plugin.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/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e8a0d6308cea149b04befe49364d30bc1cb1efa51eeb088e0af2d24744a40c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/plugins/sandbox-providers/modal/src/plugin.ts:516 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:539 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"57380a500a4e108885319c7244f2bae8ae55ff916a77652607cd2bddfd2cd99a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/shared/src/external-objects-server.ts:97 \u00B7 server/src/services/native-runtime/native-workspace-sync.ts:132 \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/shared/src/external-objects-server.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19bdd22bf6e34e3efd8f27bae8ffbd9c1886590d67a95cbaa2bff9a4c144dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:153 \u00B7 packages/shared/src/frontmatter.ts:173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/frontmatter.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6288cfff2888afc6f4c34fc98551c0fc6cfc17675e70c3d2cb37c80ecbdd712"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/shared/src/issue-references.ts:162 \u00B7 packages/shared/src/issue-references.ts:176 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/issue-references.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a570c7f11123ec757cf243a0d467ff3f3dfbfce01b3313f406f78f93af17b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): packages/shared/src/project-mentions.ts:70 \u00B7 packages/shared/src/project-mentions.ts:102 \u00B7 packages/shared/src/project-mentions.ts:127 \u00B7 packages/shared/src/project-mentions.ts:154 \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/shared/src/project-mentions.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e7ca0272cb4827e82523b3aecc0e52e1221f5ef779e63c0e82c9562373f28b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:1759 \u00B7 packages/shared/src/validators/issue.ts:1958 \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/shared/src/validators/issue.ts"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a494c5bc9454539bb46d6703319fbd4bbb9bb3b3e1db48a23f5dc9a9dd53ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): packages/shared/src/validators/issue.ts:2167 \u00B7 packages/shared/src/validators/issue.ts:2180 \u00B7 packages/shared/src/validators/issue.ts:2193 \u00B7 packages/shared/src/validators/issue.ts:2206 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/shared/src/validators/issue.ts"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ea89cde62ab51de11c0d1724f150b5726e474e1fefbf54ca76ab5d482286bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/shared/src/validators/plugin.ts:419 \u00B7 packages/shared/src/validators/plugin.ts:582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/plugin.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8731e14b4ce71332a21e14f9293dc15f9b088c84655da7041a1cd8ebe8ae106"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/shared/src/validators/teams-catalog.ts:43 \u00B7 packages/shared/src/validators/teams-catalog.ts:150 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 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/shared/src/validators/teams-catalog.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"126bb29c048ad5f630c1450d964277eb37246521b1a412793122c59b0f91d8a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:350 \u00B7 scripts/smoke/posthog-live.mjs:389 \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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fb3b042146eb5c820df465963c55abf0efb46f109b0ac7d1a16a9967dfd0aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:1166 \u00B7 scripts/smoke/posthog-live.mjs:1111 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1223e05460ee8ec985afc51476376583a30bbe1bb15b2944af2850f6fa4758"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:376 \u00B7 server/src/modules/wake-queue/adapters/postgres.ts:415 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f84735ae91d000aa5fd8d6cc45414889d375c40e8fce5e7c4bf6564aefec568"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/access.ts:4473 \u00B7 server/src/routes/access.ts:4593 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b97661a6fe1874d91bc3fde4a3bba8b3123a56d8916ac6e9ab20d10f5c58ac8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/routes/access.ts:4499 \u00B7 server/src/routes/access.ts:4544 \u00B7 server/src/routes/access.ts:4622 \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":"server/src/routes/access.ts"},"region":{"startLine":4499}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b01fba5eec1c74580dc0005476de2353c998adf310f1a71b76e91873918d945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/agents.ts:4596 \u00B7 server/src/routes/agents.ts:4928 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"3075ef38233b49bd2b6e8780b1587731ed2e72323f525262e43bf571d52e20fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/approvals.ts:336 \u00B7 server/src/routes/execution-workspaces.ts: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":"server/src/routes/approvals.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0366e144a079362a86ddc106418a093ecbefc153fce387e2325b5c1d557e5a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/company-skills.ts:566 \u00B7 server/src/routes/company-skills.ts:761 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ccf37050a3a69232427bf69fd2c365fb7ffbede0152ad76c8e7f3a3015616c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/decision-queues.ts:74 \u00B7 server/src/routes/decision-queues.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":"server/src/routes/decision-queues.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e565831b54e4c1a3c827027efea664b69f016337e04b526281eaf95ad9b93ee7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/decision-training.ts:66 \u00B7 server/src/routes/decision-training.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":"server/src/routes/decision-training.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f6bae1c96f79cd2cd05c5ffe70b17348eb1ef884446a4125724a4f2b5c9396"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/environments.ts:832 \u00B7 server/src/routes/environments.ts:1021 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"f306ee1233528a6d3ed3e74fd144c5015ccdf8b7128230b4326a2c22aec0e340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/execution-workspaces.ts:114 \u00B7 server/src/routes/projects.ts:263 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3d244c121e8d44d17102cd3df9d06a7380d48aadf25a2b14c2364ec62162b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/file-resources.ts:114 \u00B7 server/src/routes/file-resources.ts:128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9feec7211975c4be647ed7d840cce605553734afd21d039583dd2520a65e28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): server/src/routes/file-resources.ts:501 \u00B7 server/src/routes/file-resources.ts:581 \u00B7 server/src/routes/file-resources.ts:716 \u00B7 server/src/routes/file-resources.ts:827 \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":"server/src/routes/file-resources.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde3a88cea47ec7511bd4445c22a4d4481ccf8bd8122b12daacbde3b3087c1b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/routes/file-resources.ts:596 \u00B7 server/src/routes/file-resources.ts:732 \u00B7 server/src/routes/file-resources.ts:842 \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":"server/src/routes/file-resources.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"3631e5fa066f54b7ed3a20ce85b875333c164fb64c63ef1e558b378713b473df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/file-resources.ts:739 \u00B7 server/src/routes/file-resources.ts:777 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ba2937e3b8e93fcd8d8b3aeba6a74f88952be3bcd142623d48d64ff3155c6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/file-resources.ts:819 \u00B7 server/src/routes/file-resources.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":"server/src/routes/file-resources.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7bb45470bcb94370678be6558426597507588ae3179dcc5046a6cb6b7fd053"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/instance-settings.ts:380 \u00B7 server/src/routes/instance-settings.ts:442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/instance-settings.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05470202b7e238d8040e73fdcc9da3eedfc8a29af3bbe97f5be34f8a122b2d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/issues.ts:4701 \u00B7 server/src/routes/issues.ts:4715 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":4701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8310532c00ffa48f7c5aaddf7b53e698ef5de86df4e6021763f208eec7e14e56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12 locations): server/src/routes/issues.ts:11452 \u00B7 server/src/routes/issues.ts:11499 \u00B7 server/src/routes/issues.ts:11544 \u00B7 server/src/routes/issues.ts:11624 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11452}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedc8872f708918628cce569cb2e315da1d05a1494afb9cdf9b22c7c9106b1f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/issues.ts:13883 \u00B7 server/src/routes/issues.ts:14163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":13883}}}],"partialFingerprints":{"codehealthFindingId/v1":"312e26658a7dc525c1704fa65330b2be1045af81913fa01b21492b0222e9dedd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/issues.ts:17861 \u00B7 server/src/routes/issues.ts:17891 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":17861}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde01730721536e4d8b87c4410ef53e01cd9495e8c1fa6502340ee5996bc5fa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/issues.ts:18636 \u00B7 server/src/routes/issues.ts:18955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":18636}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7e51ea16227e98dff211fdaa58273209414fb68c952b91416eef79fabc3c8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/openapi.ts:3083 \u00B7 server/src/routes/openapi.ts:3107 \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":"server/src/routes/openapi.ts"},"region":{"startLine":3083}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f4acc05afc0d78b8f3d9e909a7be28d9269302d5b43d2e511b42dbbf158bbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/routes/openapi.ts:4579 \u00B7 server/src/routes/openapi.ts:8323 \u00B7 server/src/routes/openapi.ts:8348 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4579}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e60f4473d471bab2e3967b4f6c74dbbb934fcc055f433b74a1774e4e19dec3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/routes/openapi.ts:7090 \u00B7 server/src/routes/openapi.ts:7108 \u00B7 server/src/routes/openapi.ts:7175 \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":"server/src/routes/openapi.ts"},"region":{"startLine":7090}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1af8b0f0857e0d30313830e2853f966c22924c72b56ef54184df94505baa9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/openapi.ts:8591 \u00B7 server/src/routes/openapi.ts:8627 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e808c3cddd68fb10e1844d5706e48c6460d624c2837212ec4edeedaee707352"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/openapi.ts:9910 \u00B7 server/src/routes/openapi.ts:9967 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":9910}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9c5ef628911f22c5bdc1add33b429c6879407062e978a661b9c5666d2c9151"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/openapi.ts:9946 \u00B7 server/src/routes/openapi.ts:9984 \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":"server/src/routes/openapi.ts"},"region":{"startLine":9946}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1412eaff488ab241afa8759d2d170b7a65af99ea816ef80b6c308cd5bc61e0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/openapi.ts:10933 \u00B7 server/src/routes/openapi.ts:10949 \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":"server/src/routes/openapi.ts"},"region":{"startLine":10933}}}],"partialFingerprints":{"codehealthFindingId/v1":"07075b255a9ba52f77be89f884343379807974acd91e6f9611a45b25bb99fd85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/openapi.ts:13265 \u00B7 server/src/routes/openapi.ts:13651 \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":"server/src/routes/openapi.ts"},"region":{"startLine":13265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c07d5ddeac83a0c7a67aacab1c0937fa211196dd6d91a9e8d15d4cd4e1aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/secrets.ts:471 \u00B7 server/src/routes/secrets.ts:1063 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"07378ca1fe70787769bb7219db8ac539a9b024623c5e2f589b3337541334129c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/smoke-lab.ts:226 \u00B7 server/src/routes/smoke-lab.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":"server/src/routes/smoke-lab.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fcdb973e19d71b2118f41568fde7eec42978c039a084bcaef50649b32bfd9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/status-cards.ts:302 \u00B7 server/src/routes/status-cards.ts:321 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/status-cards.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17c373866fe0ba5d6bd0e770d22c1bc03d28867e6085136591740a91e40860"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/routes/tool-gateway.ts:437 \u00B7 server/src/routes/tool-gateway.ts:458 \u00B7 server/src/routes/tool-gateway.ts:527 \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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e09154c4db185442681ab45b93194ccf877ab2d8d5b71c68a60b8eb61befc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/tool-gateway.ts:631 \u00B7 server/src/routes/tool-gateway.ts:645 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35fea0d48e8e6682c3b029861dba5a67f6537025b08c3ca20fcebf0d7730279"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/tool-gateway.ts:736 \u00B7 server/src/routes/tool-gateway.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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"091ce13f7703593d63fc4ac58f9e9e4940fc67231a234cbe6cb7ad793ee36691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/routes/user-profiles.ts:260 \u00B7 server/src/routes/user-profiles.ts:283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/user-profiles.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4fb2008e9e86f72ce852e4f68acac8a0e18aa8f3d87f2abb5fadc3e05bc89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/attention-retention.ts:143 \u00B7 server/src/services/attention-retention.ts:177 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-retention.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d705a15237df5b673d431fd4a214c80750d5b3da7404c69136b6f5fa6729a7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/services/authorization.ts:1382 \u00B7 server/src/services/authorization.ts:1584 \u00B7 server/src/services/authorization.ts:1655 \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":"server/src/services/authorization.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a3b75fec3faa829d8184d6e0ca9eee4a7d832478c012cf78650c8355f422b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/authorization.ts:2806 \u00B7 server/src/services/authorization.ts:2907 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"9167dfd6baed5652ce8cb14dc2a17e9f70f22bfb232dc58d3739434904981113"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/browser-use.ts:933 \u00B7 server/src/services/browser-use.ts:980 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ab12dc6db51c186a758507fbb13831c44354c6751a9cfda744b054e4587190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/activity.ts:202 \u00B7 server/src/services/chat-channels/activity.ts:215 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d2f700b585e822497a8e11e2479fb780f92e7d0cd782765b5b311529c8e622"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/configuration.ts:394 \u00B7 server/src/services/chat-channels/configuration.ts:902 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"43987fb8fd3175194066ff377120b093327c476e11d82fbadd485b0028081868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/credentials.ts:333 \u00B7 server/src/services/chat-channels/credentials.ts:452 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f596ab125512848467f2702fb97b322826bf29da8cf19a289699f2e92cca1436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/credentials.ts:467 \u00B7 server/src/services/email-channels.ts:2443 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abc1deaceb2bd1726c1856b577624b1e41f48d2c360069f63bea8153f9aa8a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/authorization.ts:204 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:415 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c306eab3ca75dd955d72f265c42921a72b8645626d06ffa7b5f118787e08d060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/continuations.ts:212 \u00B7 server/src/services/chat-channels/interactions/continuations.ts: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":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"53803c455853029cf4b089995f33185cfc264a070ff42317395fcdd02d654460"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:544 \u00B7 server/src/services/issues.ts:1106 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6613ff62f3eb690385a8499a34e9685eef92a9a848a5aa5541646653e8e6331"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:630 \u00B7 server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f958d9404ddf6bf2001ca7700a5abecc653090ae29c9bc91294d4abe35dd603"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-source.ts:58 \u00B7 server/src/services/chat-teams-file-transfers.ts:1017 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-source.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d534cc1f514cf8ee91415a8bd385a3b6dc92620abc79e38eb94e7c35b8546ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/outbound-attachments.ts:153 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1562 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/outbound-attachments.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba76245fcb7542eb622aa5004b63b881677bd6c089a7017d7b093e2d052b280d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/publications/queue.ts:140 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:950 \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":"server/src/services/chat-channels/publications/queue.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9344929e6e347c8e28bc941f5190c6cfec99bdc885e12ffa55db2a42e5336f94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/publications/requests.ts:161 \u00B7 server/src/services/chat-channels/publications/requests.ts:239 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6659fc91de7a58c9b24374f6bf8b78c1f9344a3600031e243f866ebe3b9959d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/reactions.ts:153 \u00B7 server/src/services/chat-channels/reactions.ts:244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"86831914a3c61b0a221878252cd88d036681ded3f12b08f39ea7b4442eccc1e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/runtime/ownership.ts:360 \u00B7 server/src/services/chat-credential-mutation-lease.ts:50 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/runtime/ownership.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"27917622964c2a77a017ca0daec5365992171afce253ae964fd869fcab62782e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/slack/file-receipts.ts:585 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:601 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab86d362bd0be13e4f3f41697c1d16d06d53c024bc24918ea917a82e0310129d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/slack/file-receipts.ts:710 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:930 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f922b4ef8616c1a9fa24d2e5fa35468a384ad00ef1f4763ce431fb8adca0f2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-channels/slack/session-stop.ts:175 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:504 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2215372a1978595236a1c39dd7b6b9ce265ee4208207baa5723a02701db51305"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-control-chronology.ts:100 \u00B7 server/src/services/chat-control-chronology.ts:162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8dcdb2f23d672b28f0d3e8496ba4d8a2efde905100de9444ba1497116dc5ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-github-wizard.ts:1453 \u00B7 server/src/services/chat-github-wizard.ts:1506 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d5b1847d92f39a0b2ea22b8e9050d33f0b793e1ec0bad325a2d92e713fddd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-interaction-publications.ts:619 \u00B7 server/src/services/chat-interaction-publications.ts:841 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab0a2270fb3ea396e3d1f924b62d489de2b3caef714719ea98b7dbe18c8408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-question-forms.ts:1038 \u00B7 server/src/services/chat-question-forms.ts:1064 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c97e0d8cf2c849082385a3d67051316627e1946c1cc6cc8991b865d98b739a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/chat-sdk-runtime.ts:2218 \u00B7 server/src/services/chat-sdk-runtime.ts:2278 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5e96d16a914d6d0e76f3334b869b6c017d4a3992ccb9a3dc0376b8302840be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/services/chat-telegram-media-intake.ts:179 \u00B7 server/src/services/chat-telegram-rich-intake.ts:152 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccd8bfbf8bf4f0421d20511c07039b6ed41b307b70bd8288c27e2865e2b5e39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/company-skills.ts:2247 \u00B7 server/src/services/company-skills.ts:2355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"72710fceda81461e4292f2d7cdd51c8601cf4474f8cccfc948cff8db4fc01663"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): server/src/services/connectors/onepassword/catalog.ts:36 \u00B7 server/src/services/connectors/vercel/catalog.ts:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 186 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/onepassword/catalog.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24689b05b49709506a271cd0bea32e7abbbaaab72b9207737e3de2d25714497"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/costs.ts:470 \u00B7 server/src/services/costs.ts:504 \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":"server/src/services/costs.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e06a4ed51764179995611a7afebcdee69c1301e93c7a53115dbf242aa034245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/documents.ts:625 \u00B7 server/src/services/documents.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":"server/src/services/documents.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e49808ffa437b6448fc0e956a239b1822acf078d2a72efbdc3ffdbf22e4a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/email-channels.ts:2415 \u00B7 server/src/services/email-channels.ts:2530 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5e00dbd44cefd4cf977b8d73d9ce9e094bbcacf8d09ee5ca70e63f88232c3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/environment-custom-images.ts:501 \u00B7 server/src/services/environment-custom-images.ts:530 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf035e2f1fdc6a38f9b904679fb87263cbfc57e2c708be758540e86821cb2f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:4685 \u00B7 server/src/services/environment-runtime.ts:4748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4685}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e010fd88c628aec6fd89c944c018ddf87b54aa8c009b7bb322a006b4a54fe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/git-workspace-contents.ts:72 \u00B7 server/src/services/git-workspace-restoration.ts:289 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e39b94b28b3ef7e0a511d53ac17708bae42e17cf50e4b7b33450caf139f8d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/github-commit-details.ts:106 \u00B7 server/src/services/github-external-object-provider.ts:412 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-commit-details.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f8e3e6d26aefd7d9734fdc79a9d65561658785c73a39cd24082ef5fc749849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/heartbeat.ts:2064 \u00B7 server/src/services/heartbeat/recovery.ts:2346 \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":"server/src/services/heartbeat.ts"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc04114ec5e729e1273ffe2ef801298d39c4cf0f684764d90e3de1c851890f5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:716 \u00B7 server/src/services/heartbeat/run-preparation.ts:2064 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"013e44388916f3bd788e3b30b60d1c1cc11aabdfc9a79a17da1bd8118da02206"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:3010 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3070 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":3010}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a0d8bef0f8500c7ed2dccb65fa655ca814a71c616648fb8e6f1a2632034478"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/heartbeat/scheduling.ts:984 \u00B7 server/src/services/heartbeat/scheduling.ts:1058 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7304519fc7dfbd02f90a3e89b3134f9c2587a9af76d4f4241073c96e0a600d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:4742 \u00B7 server/src/services/issue-thread-interactions.ts:5895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4742}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dff9cfcb5880dbec18d859d784ba06c668443a89e42f63b75d926654fd6b69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:4993 \u00B7 server/src/services/issue-thread-interactions.ts:5322 \u00B7 server/src/services/issue-thread-interactions.ts:5459 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4993}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a31ee22227beeebf4d9619f43e6bb5a1a5047fd852408d5ed6fcfe88002bfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/issues.ts:8262 \u00B7 server/src/services/issues.ts:13269 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc042173a2390492e4bfcd6c645729126cce3948426501ae5be3d1a3ae642de0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:832 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"b940425f538060a0a8aede69dd78f1802cc694ddadfb7af46c6cc4a188383d08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/completion-contracts.ts:193 \u00B7 server/src/services/native-runtime/completion-contracts.ts:210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/completion-contracts.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8725431bb1908b8303e1318334288ac5f722c28d99ae798622e87f1d079c63e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/evidence-classifier.ts:175 \u00B7 server/src/services/native-runtime/evidence-classifier.ts:221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba5c6349cf6e29e884ccafc111cba801eab1dedb99d2290c67130271ec4e07e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:138 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:341 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d049263dbabe2cfc2d8a38695a2d0daaafa27c72e540ab1a7594b461a8050b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/native-chat-review-presentation.ts:88 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ab2910ac01a815908f33d995006ba552bb8292fdb322e1ea71ecc92d1c6c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-coordinator-store.ts:264 \u00B7 server/src/services/native-runtime/native-run-coordinator-store.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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cce53e924074ef0d489752e0dcfdf72b0b03123ca5cc499fbe836d1a212001a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/native-safe-replacement.ts:595 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:660 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"48760cc03143483b0b1e707509cdc9aecd52fcdfed6a5f07afc5f04d0aba9fe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:5627 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5694 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5627}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75a10ac27bcbff11be46c0c0b1c6fced7f6cd47077276f81a6f6c6ccd4a659d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:9814 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1241 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9814}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c175a32a1d915237561427bff00c609e90736c8d5297532ccf234de69721cc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): server/src/services/native-runtime/runner-semantic-authority.ts:210 \u00B7 server/src/services/native-runtime/runner-semantic-authority.ts:241 \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":"server/src/services/native-runtime/runner-semantic-authority.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6963af185b5cb76b90a399ac24af26f703b747352cfbfdd88cc5457f53ea5519"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): cli/src/commands/client/access.ts:242 \u00B7 cli/src/commands/client/access.ts:304 \u00B7 cli/src/commands/client/adapter.ts:79 \u00B7 cli/src/commands/client/adapter.ts:94 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"414d47665d3cf6f871440c49cc9219045978c4cd28b24d7c896ea5cb6ba02bfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): cli/src/commands/client/adapter.ts:136 \u00B7 cli/src/commands/client/adapter.ts:154 \u00B7 cli/src/commands/client/adapter.ts:172 \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":"cli/src/commands/client/adapter.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ed0f9125ae8c160228cb6643145091d6aefa78a00d7bb48669cbbc6a3dbad8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12 locations): cli/src/commands/client/agent.ts:612 \u00B7 cli/src/commands/client/agent.ts:669 \u00B7 cli/src/commands/client/agent.ts:687 \u00B7 cli/src/commands/client/agent.ts:721 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5b758f7e323cad82f513f4d1076c640e0c517de08f38745ebf1c857fef18b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): cli/src/commands/client/auth.ts:146 \u00B7 cli/src/commands/client/company.ts:1439 \u00B7 cli/src/commands/client/company.ts:1455 \u00B7 cli/src/commands/client/company.ts:1471 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/auth.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"405b68a01c39e8613ad4f1aeff21c5357fb76bdb72713b25e16a11abc66c6f5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/client/company.ts:671 \u00B7 cli/src/commands/client/company.ts:683 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f964d24c2b63910a3ed40a7316a1749563d66bcbf97251201bbe4cfaf662c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/client/company.ts:1253 \u00B7 cli/src/commands/install.ts:347 \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":"cli/src/commands/client/company.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8adccbf9b554c29981328afc603df47ce18d607342f3af8a1b9181ff187bd08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/client/email.ts:50 \u00B7 cli/src/commands/client/email.ts:62 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/email.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"af443d0c6a251645f5aaac8eaba4eac610b3ab88417b994996626df94c4cdc33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): cli/src/commands/client/plugin.ts:775 \u00B7 cli/src/commands/client/plugin.ts:802 \u00B7 cli/src/commands/client/plugin.ts:877 \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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c4f6e55f7ce1d4f8199eb52be1e26c54e43d46cee646216e2332c9a970e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): cli/src/commands/client/secrets.ts:649 \u00B7 cli/src/commands/client/secrets.ts:666 \u00B7 cli/src/commands/client/secrets.ts:684 \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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb2635995407dd18642570f3be2fe290c8d604938b362d60bfab54856639de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/client/workspace.ts:188 \u00B7 cli/src/commands/client/workspace.ts:207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/workspace.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"684e06c88decf18d76eb8a6b49f6044eabf1629ded1bcf7e6dcdcfc54118ad55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): cli/src/commands/env-lab.ts:228 \u00B7 cli/src/commands/env-lab.ts:242 \u00B7 cli/src/commands/worktree.ts:4502 \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":"cli/src/commands/env-lab.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e7798363d4b1a38b06e895bf45ab3bef169683c77324ace0bf92c4e7fcbc35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/managed-agent.ts:216 \u00B7 cli/src/commands/managed-agent.ts:267 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/managed-agent.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec925401abb628ce9046a1faf0d0127263312c03d83f9b96fe840f6bc4848fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3946 \u00B7 cli/src/commands/worktree.ts:3979 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3946}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b0e6a4f4084e594df9ca6e38d9d89b39c8320c60f241dd41a89fdeb3cdd79b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): cli/src/config/env.ts:79 \u00B7 cli/src/config/env.ts:97 \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":"cli/src/config/env.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17a68302c2fb1f83d113c1cc075ddaeaea571b6b2436764a888859893b61e21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:551 \u00B7 server/src/services/decisions.ts:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"196505a4bf1ffab5c98d80801e1211696d9ffabeb0d6cbeff315efc502cee7cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:1023 \u00B7 packages/adapter-utils/src/ssh.ts:88 \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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c4d7eb054662d3e14057c0f144a5149092b4cd572fb2a2339b984487fabc44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapter-utils/src/sandbox-callback-bridge.ts:1594 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:1620 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ae95677c3b04fd832ddeed8d1593a6674c9ac4afb25bd0783d1514ff354b3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1218 \u00B7 packages/adapter-utils/src/server-utils.ts:1281 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"617b7e799828484ed99c4a8a5cc892ff0effdcfece7a9898c742eea761b4331c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:3286 \u00B7 server/src/adapters/utils.ts:58 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":3286}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6932fa5efacda5acbcb1768ee2618d1a9ce8c11ef98e856e6ae507c0c3f6cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/acp.ts:1014 \u00B7 packages/adapters/claude-local/src/server/test.ts:137 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3fce28abd3470a56b2e29f886ab4ce59f08c1bed0517b07541b5a044436c10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/config-schema.ts:8 \u00B7 packages/adapters/codex-local/src/server/config-schema.ts:8 \u00B7 packages/adapters/gemini-local/src/server/config-schema.ts: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/adapters/claude-local/src/server/config-schema.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8257a34a0e71ab66c036024309de1e95912d5c4f17ab3306913f54399d4fb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:881 \u00B7 packages/adapters/claude-local/src/server/test.ts:369 \u2014 the two spans are one implementation copied and then locally edited \u2014 111 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c661e83390bb1094b1a6f943dd899c40d889bd02c075d3aef711ddc2bd2522d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): packages/adapters/claude-local/src/server/models.ts:49 \u00B7 packages/adapters/opencode-local/src/server/models.ts:56 \u00B7 packages/adapters/pi-local/src/server/models.ts:48 \u00B7 server/src/adapters/codex-models.ts:15 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"packages/adapters/claude-local/src/server/models.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e9dbb5385e70a52ce142748aee04ec547629a4b41d51ef0c01b8d98ac4ee60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:1192 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:435 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e2d812fbaa541b9e716111feb4fafbf717e558571dd7f3fc54c108e905ab77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:1780 \u00B7 packages/adapters/grok-local/src/server/execute.ts:765 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0592dc5bdb9ca7e74583a3d8a9e40f1ff858a87e5c195ad5a75e9ae58f2166b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): packages/adapters/codex-local/src/ui/parse-stdout.ts:4 \u00B7 packages/adapters/cursor-local/src/ui/parse-stdout.ts:4 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:4 \u00B7 packages/adapters/kimi-local/src/ui/parse-stdout.ts:4 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad58b4f7ddaeecdf72a983723bc06ca6dbd4cac08eeaa94aab8e73d8037f7567"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/index.ts:14 \u00B7 packages/adapters/hermes/src/gateway/server/index.ts:28 \u2014 both copies are in the same file, so extract the block into one function there 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/adapters/hermes/src/gateway/server/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67308d4a420aa4dd221dc8fd0a10459915ff09049729327205c0aff17969fe9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/models.ts:95 \u00B7 packages/adapters/pi-local/src/server/models.ts:136 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5732dd922cb7e56e0813491c056deb656b368a3805e5e5660f649ceee26f33d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/db/src/backup-lib.ts:937 \u00B7 packages/db/src/backup-lib.ts:1037 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup-lib.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e33ba7963e577cebe93d3350adf4eb059872b043f81a72e9c02a7ae947bb0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/db/src/check-migration-safety.ts:202 \u00B7 packages/db/src/check-migration-safety.ts:215 \u2014 both copies are in the same file, so extract the block into one function there 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/db/src/check-migration-safety.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd08fe29e5eb69064f5b5bb36a1fb3cd2749b7af5383d6f81cf43e0f266cfa7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/db/src/schema/chat_channels.ts:517 \u00B7 packages/db/src/schema/chat_teams_file_transfers.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/db/src/schema/chat_channels.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebed01daba49cf998fe08e1a7a4db959593a2a2c317e40873e5d4dfb11c62cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/reasoning-item.tsx:17 \u00B7 packages/paperclip-runner/src/react/components/reasoning-item.tsx:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/reasoning-item.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315f153d1888e6266abda9f094650a3bd25b5ca9f5f1e1c337a9615529b120c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx:443 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx:523 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2fa3ae61e97253cf1534eb26213dcbcc9de90b69f174acaf0f6b36170441df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/protocol-contract.mjs:233 \u00B7 packages/paperclip-runner/scripts/protocol-contract.mjs:317 \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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffdb586e9fbeabb962feb4647a88b334ffc04e53e2c7a7f5fd1fb0ab54afb53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:1106 \u00B7 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:1141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"671d242cf2c0c91fce54bad20a3bee105099b82e85a041d8640f89fd4caa1c84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:3584 \u00B7 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:3601 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc65ac006eaa42077e2f4dafad5414a8aebfd7e7ba552f31989e9e57a0bf470"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts:142 \u00B7 packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts:163 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d87ae407c5756fa182c86fddcc3bd34b3ddfde5802d2f3f7f2b8b291a57d121"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:883 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:896 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a27344fbbb3af58781ce9b2d57dc146f6f7f69bcaff6f1f59c9a4c26fa2d202"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts:283 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts:364 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 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/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"373f1c11f5008fd3d0060d0c052137662bfb9b5a8a684280e73e7766ce45f60d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts:633 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts:652 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cf3f560c283c0954f0eeadbc0bbf0322a2a0c21c81c33926f5db7d86b8277a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:61 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:2079 \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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf20782b2a8fd8a987bda8c79e370d21a5d20a4104d6167be433856a2611494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:310 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:348 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a78ee801f692d073587ab2f0a535a43b8cbad817b73145fd7d3fe6a5549b34f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1536 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1844 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bf12eeba9dec0a9fd9d248e2ac11f1a6647106d18235ad8802a98dfdd5c029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/issue-thread/fixtures.ts:767 \u00B7 packages/paperclip-runner/src/issue-thread/fixtures.ts:781 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/fixtures.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0437bd21caac08ea0064c0f21f014a4a93ed4783eedcdc5ba2f8eb25226ce27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/paperclip-runner/src/protocol/replay-contract.ts:352 \u00B7 packages/paperclip-runner/src/protocol/replay-contract.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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbdbea22ba633bbfa08166bf0e78d672a01af1cd1e67258ad62c79cab614511"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/authorization.ts:94 \u00B7 packages/paperclip-runner/src/semantic-tools/policy.ts:87 \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/paperclip-runner/src/semantic-tools/authorization.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae25e8f5f7690fb77f2db97a16aec69a5c9de835017854cab24e22133527c11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6110 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6138 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5e8219c1c8180307f6ed5b8b258fad7e2910cd322780d03579e104aa80b4a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1238 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1251 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba2036dd3cbef5dbcb97e6d972f3f1b4c913081a17c1e09e2f5c4b11105fd3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3852 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3868 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3852}}}],"partialFingerprints":{"codehealthFindingId/v1":"12784c6ab26dd9efb3817a0a420ffbc03af7d3ff60432004655ec7ff75b5a2a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:940 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:970 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:993 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:1024 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b652cbf1ea144097268b539051a7f08fcdfd729e159b2fd30f71ac1b30df5a7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:2097 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:2546 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f606fc3d77fbd0e521c20fa737ca063b6e83e02d3bd5f7b02e6eae0a393725a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:3482 \u00B7 packages/plugins/sandbox-providers/e2b/src/plugin.ts:349 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3482}}}],"partialFingerprints":{"codehealthFindingId/v1":"359673c4ae0d078a825356957f63df192895e6996a813b81a9de369e4562f8a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:815 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:881 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9d55fc1d4dd842216accafad12dd749557aebae312ee0e713f7c6ecd832add"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:1008 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:1022 \u2014 both copies are in the same file, so extract the block 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 \u0060definePlugin(\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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"02343c5ef31f9e5c5ed1fef6c81dc6e382f2ed124cd78715d669f974c507a60a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/plugins/sdk/src/worker-rpc-host.ts:2070 \u00B7 packages/plugins/sdk/src/worker-rpc-host.ts:2107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"644731ad47939aa2600dd36154867fd6c23d27f2b67f875a512500b0058793d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/shared/src/board-bootstrap.ts:8 \u00B7 packages/shared/src/validators/company.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/board-bootstrap.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83c182b17458b1ae04c09df767743b95243cc864c3836c04ddfd789c45195d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:135 \u00B7 packages/shared/src/frontmatter.ts:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/frontmatter.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"274162e7e55e3fe7b92dde516aa986567e1ef8a3dcd3ff7aa4d18edceef92325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/shared/src/frontmatter.ts:624 \u00B7 packages/teams-catalog/src/frontmatter.ts:130 \u00B7 server/src/services/company-portability.ts:2750 \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/shared/src/frontmatter.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabca3a71b7f866e4deab939e7da101bdfc2271119386204f21cb39c748e39a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/shared/src/telemetry/events.ts:168 \u00B7 packages/shared/src/telemetry/events.ts:191 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/telemetry/events.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0db85afef1c7df4e4ffdcd5ef53227c7c5a80742f4b55953cc9effb240f4a8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/shared/src/validators/decision.ts:113 \u00B7 packages/shared/src/validators/decision.ts:127 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/decision.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9267fe888d77f4e98e6ad9e83e4ad27ecc80778f6f7d51ff1ff1cb471a2ed81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/skills-catalog/src/index.ts:28 \u00B7 packages/teams-catalog/src/index.ts:30 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/index.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"936fe5aac4876a20e0595b4e18e2fb34eaad56b54531d42af0be4c8f23cd189b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/tailscale-https-broker/src/broker-core.ts:670 \u00B7 packages/tailscale-https-broker/src/broker-core.ts:724 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4cfc5b8cf7fb3260a0cd16aeb16cc16959689320d76638a84d8ede900421cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/check-query-error-rendering.mjs:122 \u00B7 scripts/check-task-chat-motion.mjs:39 \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":"scripts/check-query-error-rendering.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"10054c236b38c6c3f6767ef62f887ff773d9434cc85e669cf1fd65de0c38e46c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/codemod-extract-sizes.mjs:475 \u00B7 scripts/codemod-extract-type.mjs:201 \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":"scripts/codemod-extract-sizes.mjs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"304455f6011e9ce8f2b0763b59f1c55fed0777239639973dabb32899cf315aec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/smoke/posthog-live.mjs:444 \u00B7 scripts/smoke/posthog-live.mjs:485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/posthog-live.mjs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bd3cb403a54cab3ea75a11bf2c3e4c855a66a24e1de151569d183e0ea17aad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/typecheck-test-programs.mjs:94 \u00B7 scripts/typecheck-test-projects.mjs:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/typecheck-test-programs.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9437385e1966526350e7c523f1839f85799b5d8401d74f76963a692f25681a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:319 \u00B7 server/src/services/heartbeat/run-control.ts:1128 \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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2664e4c137c184bd187f963b4dcb82310707c0e2a1a6ebe1f2f0220822765d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/redaction.ts:467 \u00B7 server/src/redaction.ts:507 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f603a28dc507998c96b3ffb97c9c57a39b1e5d8e79dc788cb89f8ae5e6775f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:1870 \u00B7 server/src/services/company-portability.ts:3618 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"93496cb04e0049bf572a9617e0bbf8d4b402249fc68e04ae95ef8635065d1add"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:5932 \u00B7 server/src/routes/agents.ts:6117 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5932}}}],"partialFingerprints":{"codehealthFindingId/v1":"3518bc74dd39d31c7b3c3745d7c0fa8fc260ee04e43b95a28e56b84779dd72cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/routes/agents.ts:6074 \u00B7 server/src/services/heartbeat/scheduling.ts:1139 \u00B7 server/src/services/issue-thread-interactions.ts:3872 \u00B7 server/src/services/issues.ts:8138 \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":"server/src/routes/agents.ts"},"region":{"startLine":6074}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8989c1d300a4930951e0d48f086354fa5cfb043b843e31e864a2071447da1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:7005 \u00B7 server/src/routes/agents.ts:7094 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7005}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b59bec30bedaf83c2691ab8b98707c4f2d11ac6a724732e692aebe31451e63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/agents.ts:7636 \u00B7 server/src/routes/agents.ts:7664 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5091a3f2d07deb196fe4bad57b8ec1592de46a688eb07ae85e3c2233e11ab1cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/approvals.ts:353 \u00B7 server/src/routes/issues.ts:7062 \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":"server/src/routes/approvals.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e01fde102f9bdf039850c4ca496a79c25fe221c01e79e8197fa4c66a1a4005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/approvals.ts:458 \u00B7 server/src/routes/approvals.ts:577 \u00B7 server/src/routes/approvals.ts:613 \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":"server/src/routes/approvals.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc7b2d5c3a22bcb031b7b336b014d9512b0b6a2d5dbdbcc94344c2fe73b123"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/cases.ts:909 \u00B7 server/src/routes/cases.ts:948 \u00B7 server/src/routes/cases.ts:985 \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":"server/src/routes/cases.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c9fbe5e13443ae63c6886fc7620811f5ebcd247b9efa2aa7fea838e2395983"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:633 \u00B7 server/src/routes/chat-channels.ts:651 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"798782c4c0ac4d0a2bc14651b7d7b7deb90aaa5ff9f390509cfa15f1f3e83369"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/companies.ts:431 \u00B7 server/src/routes/issues.ts:8676 \u00B7 server/src/routes/issues.ts:8718 \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":"server/src/routes/companies.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"264906323f75cef85ef4492c9d75d43fc48c809ac710ae49181557ad48cc4658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/companies.ts:1143 \u00B7 server/src/routes/companies.ts:1160 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5450da1d705231565c288c23e7aa2f446a53dfcee776b5306edccaef304ba8ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9 locations): server/src/routes/companies.ts:1356 \u00B7 server/src/routes/company-skills.ts:624 \u00B7 server/src/routes/company-skills.ts:651 \u00B7 server/src/routes/company-skills.ts:709 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 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":"server/src/routes/companies.ts"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aca6184b5cc799046b4c47d87b9ef0d10745b4a88ee1e2bdee1e40579911db6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/company-skills.ts:998 \u00B7 server/src/routes/company-skills.ts:1019 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e996f70657e7db410ad182f69aa0bcb7c01bb6c3498f963b013dc326ebe54a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): server/src/routes/company-skills.ts:1389 \u00B7 server/src/routes/company-skills.ts:1582 \u00B7 server/src/routes/company-skills.ts:1802 \u00B7 server/src/routes/company-skills.ts:1862 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"17172dae2fad303d08b900228583c06288b21c2fb236a058933a98c115a22a1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/costs.ts:363 \u00B7 server/src/routes/secrets.ts:774 \u00B7 server/src/routes/secrets.ts:819 \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":"server/src/routes/costs.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"578cf39a4735a0872b8f26272ad4c4da6ee96d321fad7e0fa189454cc6f39c29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/decision-training.ts:199 \u00B7 server/src/routes/decision-training.ts: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":"server/src/routes/decision-training.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af0c02a90da6d0c1c99b998c42c18f44f554dc3c96b0eadcd3d8cbb284ae372"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): server/src/routes/instance-settings.ts:173 \u00B7 server/src/routes/instance-settings.ts:235 \u00B7 server/src/routes/instance-settings.ts:280 \u00B7 server/src/routes/issues.ts:21057 \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":"server/src/routes/instance-settings.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c4d1aefdb003c2422c327deefcc02982af2a304b6624e6b2dff92114169ff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/issues.ts:5681 \u00B7 server/src/routes/issues.ts:11358 \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":"server/src/routes/issues.ts"},"region":{"startLine":5681}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce501c9f3b69252458a8fa8cee2ff375837b8bbee91943dc775b1a2ad1b8dac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): server/src/routes/issues.ts:9603 \u00B7 server/src/routes/issues.ts:12256 \u00B7 server/src/routes/issues.ts:12889 \u00B7 server/src/routes/issues.ts:17387 \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":"server/src/routes/issues.ts"},"region":{"startLine":9603}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b87a9a276cdd63dc863cde609f4d1df424eb7ced0bde3ba66460bc81c1ce5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 18 locations): server/src/routes/issues.ts:10582 \u00B7 server/src/routes/issues.ts:11387 \u00B7 server/src/routes/issues.ts:11526 \u00B7 server/src/routes/issues.ts:11649 \u00B7 \u002B14 more site(s) not listed \u2014 all 18 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10582}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1d3fc9c0c58b5bd148493c1197f61dce221bc02fb9ec75cc4ee5380e6e0025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/routes/issues.ts:11301 \u00B7 server/src/routes/issues.ts:11421 \u00B7 server/src/routes/issues.ts:11608 \u00B7 server/src/routes/issues.ts:13170 \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":"server/src/routes/issues.ts"},"region":{"startLine":11301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf3b049dc92d22213e2f3d228ce2cf771eb2e0c0a4a315dffe87213949f29d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8 locations): server/src/routes/issues.ts:11383 \u00B7 server/src/routes/issues.ts:11645 \u00B7 server/src/routes/issues.ts:11723 \u00B7 server/src/routes/issues.ts:11781 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11383}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a4e7b30ac88f8b52c9a65855e31165b2b757bd6d008755a9c7a02db55476d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/issues.ts:18348 \u00B7 server/src/routes/issues.ts:18363 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":18348}}}],"partialFingerprints":{"codehealthFindingId/v1":"077202628593442db909561e78dceea7362cd7dddab3447ead15faf189d3c646"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/issues.ts:19233 \u00B7 server/src/routes/issues.ts:19379 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19233}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fe63a3d73fbbd188d04347428f0c214a472a9b7653917350c37a9d24388901"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/openapi.ts:2941 \u00B7 server/src/routes/openapi.ts:3036 \u00B7 server/src/routes/openapi.ts:3059 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"282038fff0698f31b7f60e3481a0373978719c4f429e50eba4e28ea2ae5b748f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/openapi.ts:4521 \u00B7 server/src/routes/openapi.ts:8867 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":4521}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ec182dd9799ed37e73baa85c96a917281ee9f874d03de9d09d8c2c711df39b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 16 locations): server/src/routes/openapi.ts:5437 \u00B7 server/src/routes/openapi.ts:5616 \u00B7 server/src/routes/openapi.ts:6316 \u00B7 server/src/routes/openapi.ts:6334 \u00B7 \u002B12 more site(s) not listed \u2014 all 16 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":5437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fbb70120c229aa3168a1840c90f6622d9f37f5b0a3d5611fc4679f97241c62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/openapi.ts:7039 \u00B7 server/src/routes/openapi.ts:7057 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":7039}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f9f79d319870846ec9bbd59c9cfa28ec277bcca30d523fa73439e9965bafa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/openapi.ts:7545 \u00B7 server/src/routes/openapi.ts:9385 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":7545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb5574aefc58ed556874de49f7bc14beeda6306030a526698431a920dde5dae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): server/src/routes/openapi.ts:8154 \u00B7 server/src/routes/openapi.ts:8169 \u00B7 server/src/routes/openapi.ts:8204 \u00B7 server/src/routes/openapi.ts:8219 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":8154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0753d2870d10ea5a2bed2649411a04d0257de71c239de696387d5f11cd26ed4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/openapi.ts:8560 \u00B7 server/src/routes/openapi.ts:8577 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":8560}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9ce084d48dfea4de37d028dc25d959f77a309b874d6be61f256377fde126df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/openapi.ts:9324 \u00B7 server/src/routes/openapi.ts:9340 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":9324}}}],"partialFingerprints":{"codehealthFindingId/v1":"13253c51940f9ce01dff61f788ba6e60c67ecd00c0ba0e9369c4fc9b2b7b3160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/openapi.ts:9410 \u00B7 server/src/routes/openapi.ts:10503 \u00B7 server/src/routes/openapi.ts:10888 \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":"server/src/routes/openapi.ts"},"region":{"startLine":9410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fff944b5cd29721071e36b380576b53e8782c649b2aa1237fffcc27ecd7d8d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/openapi.ts:9436 \u00B7 server/src/routes/openapi.ts:9462 \u00B7 server/src/routes/openapi.ts:9541 \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":"server/src/routes/openapi.ts"},"region":{"startLine":9436}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c75cae2b2c939871bb20d1cc80966f555fc7bdeb99274a6b764102b592f3c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/openapi.ts:10316 \u00B7 server/src/routes/openapi.ts:10334 \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":"server/src/routes/openapi.ts"},"region":{"startLine":10316}}}],"partialFingerprints":{"codehealthFindingId/v1":"93da33af554bcbd5a255aabb6fb34393dd89403678cd177941192da5f977f2a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/summary-slots.ts:76 \u00B7 server/src/routes/summary-slots.ts: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":"server/src/routes/summary-slots.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcde3a9697422ee4f9f0e87b9cc6140e8cc0e5db4dfe5da0dafa6e421addc325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/routes/tool-access.ts:2804 \u00B7 server/src/routes/tool-access.ts:2834 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c3caddf561fb3dd645c8725021cb73a973f3d36d3708fcffa6151939361ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/routes/workspace-runtime-service-authz.ts:128 \u00B7 server/src/routes/workspace-runtime-service-authz.ts:168 \u00B7 server/src/routes/workspace-runtime-service-authz.ts:199 \u2014 all 3 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":"server/src/routes/workspace-runtime-service-authz.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"898059e61422106e88fafeb9b3bb2ce7d4e6d4ec5f39660459d9cbaa9845870e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/access.ts:1101 \u00B7 server/src/services/authorization.ts:1040 \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":"server/src/services/access.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8d3be6e2e30e52502ca9747bd1f974d2b37455cd16dbcc9ae0630c67cf35f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/artifact-review-documents.ts:106 \u00B7 server/src/services/artifact-review-documents.ts:165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f99ae320211a2dd8f8aa4d10194f3a4632ec405241f5147c1048a08186f557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/attention.ts:2936 \u00B7 server/src/services/attention.ts:3119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d6b19a10881dfb9141293baaf6ceb332c80c1a1063326a631a244517fc8056"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/attention.ts:2961 \u00B7 server/src/services/attention.ts:3149 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"b187e59307d8a4e40d33c2a3f3547d321cc288f05f33d8871e1e70a1009668ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/services/browser-use.ts:232 \u00B7 server/src/services/execution-recovery-resolution.ts:768 \u00B7 server/src/services/heartbeat/retries.ts:913 \u00B7 server/src/services/native-runtime/continuation-contract.ts:24 \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":"server/src/services/browser-use.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"784693d55d4d4f0dc769d56b07ade40781deec91704f42030ab34d5358731a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/browser-use.ts:560 \u00B7 server/src/services/browser-use.ts:731 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a2987501ca1028eaccb80c06848bc4488ac33420496df191991be7e0706b48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): server/src/services/chat-channels.ts:3202 \u00B7 server/src/services/chat-channels.ts:3234 \u00B7 server/src/services/chat-channels/inbound/conversation-queue.ts:619 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:360 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":3202}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a27d11f09438a8aa49ce7875953dbe3e50a918d4eb68758e3aa77ceb6219c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels.ts:3313 \u00B7 server/src/services/chat-channels/publications/resolution.ts:117 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab599020acfca4a2b164176d69182fc5ca4ac0fa66ffc632183c8c817e52da89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/configuration.ts:850 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:518 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"70910cd27ab7ce5c3b5d85aa9c4e67e184b4ddd79beb676e48559f0514636a23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/discord/commands.ts:142 \u00B7 server/src/services/chat-channels/discord/runtime-reconciliation.ts: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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fb3f6c536e02a89ad880ed429d4691da967236d9231aee12345cf6d2726c65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/discord/root-threads.ts:92 \u00B7 server/src/services/chat-channels/discord/root-threads.ts:288 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec905c7c27d0f599428a9dd08fdbcbadd3715dd0c0917aaa5668f4cbb36e04a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/discord/root-threads.ts:133 \u00B7 server/src/services/chat-channels/github/webhook-ingress.ts:520 \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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"920be857356af5e181d690e63d62a6722162e0dd1d79eae6fcb42d0fb3ef62ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/discord/root-threads.ts:536 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:583 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"03880745c6dd017c1fea9c5b728edaaf9a7edf6a8a784700dc44f40ba9a9f401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/chat-channels/github/installation-lifecycle.ts:173 \u00B7 server/src/services/chat-channels/github/installation-lifecycle.ts:432 \u00B7 server/src/services/chat-channels/resource-reconciliation.ts:560 \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":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96fa4e73c6bb912df75efeb7f06f254a1e21b9398e817b22e7572ce1db27d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/services/chat-channels/identity-links.ts:297 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:221 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:251 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:177 \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":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1689f15300296edbfc94f5d2056b5c35797f6d59529057cb803beabd2988967f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/imessage-photon/events.ts:434 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c63dba4d414571fc83cce85fd7307fa96fe4b7b08bf68163f2beb08286bddc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/inbound-attachments.ts:201 \u00B7 server/src/services/chat-channels/inbound-attachments.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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c1becf52f70c96874fc107a90c7bdbb858fa8b9a04943162577548bcd5859c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/admission.ts:269 \u00B7 server/src/services/chat-channels/publications/requests.ts:221 \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":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9597f354c1d2390232270f2b04873b4b272e2c0f3080a40834c66cf9742d6f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/services/chat-channels/inbound/wakeup-authorization.ts:133 \u00B7 server/src/services/chat-channels/inbound/wakeup-authorization.ts:154 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5523 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5535 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ee3bba4fccf744898633a2b3fb3602ff7fab73c2baa620438e3282fc919c20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/wakeups.ts:74 \u00B7 server/src/services/chat-channels/inbound/wakeups.ts:213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3106b9dfd4f0f78d756d532ec5f60f10a61582dc4bff13f1c525fdccb00e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:783 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:832 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"523c81115590d28d637f66954674998eb8a5533d2086738f5bb883f6717766f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/callbacks.ts:1908 \u00B7 server/src/services/chat-interaction-publications.ts:584 \u00B7 server/src/services/chat-interaction-publications.ts:817 \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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de77c816bdf64008ba5d1e71e47f609128552c0a298fb67327499e493b7382a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:556 \u00B7 server/src/services/chat-interaction-publications.ts:776 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f816b1fe7c3643b79a027d24e5cdab5d21907b112d7bea0efc9bdb7905c438"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/continuations.ts:84 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:119 \u00B7 server/src/services/chat-channels/reactions.ts:853 \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":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"12163b218ee9246068a05de2ef1226baf692c95e1ea4db9ad4bec72211792cf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/publication-replacement.ts:173 \u00B7 server/src/services/chat-channels/publication-replacement.ts:287 \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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdd27331e3b540cdbd2828c019efa0232082289ad2f438a89cfa86ff6510ff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/publication-replacement.ts:614 \u00B7 server/src/services/chat-channels/publication-replacement.ts:667 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eef0c83de603d8d060153ce361cf367450de7b4c94bf6547b476453ce6435e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/publications/resolution.ts:154 \u00B7 server/src/services/chat-channels/publications/resolution.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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"08910578de07586a00fdbf7d565cc85e1387863ec4899fb776ae781b436c8134"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/publications/task-control.ts:134 \u00B7 server/src/services/chat-channels/publications/worker.ts:401 \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":"server/src/services/chat-channels/publications/task-control.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab10e8aea2d51e58f98dd99fd79028ccd87b3025d3fe2aefe911f311c6d16939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): server/src/services/chat-channels/publications/worker.ts:499 \u00B7 server/src/services/chat-channels/publications/worker.ts:530 \u00B7 server/src/services/chat-channels/publications/worker.ts:552 \u00B7 server/src/services/chat-channels/publications/worker.ts:587 \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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b4e2a36ee7816fba69c17f05fe4b3c10a57817a5303fedf278a9e83b1cabc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/publications/worker.ts:730 \u00B7 server/src/services/chat-interaction-publications.ts:843 \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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ec5f98e889687b94fd988ee708ad02a192291c7b839f0679812fa0c6599752"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/receipt-reactions.ts:401 \u00B7 server/src/services/idle-incoming-wake.ts:205 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9785b4db9a4a473094831da9e01e9891893f911262004248b2419dfde1e8c45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/sdk-state.ts:61 \u00B7 server/src/services/chat-channels/sdk-state.ts: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":"server/src/services/chat-channels/sdk-state.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509a02b64d7f6552b7058815278e9d137ac37370597b1e19e6672fdac46a330"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/slack/file-receipts.ts:903 \u00B7 server/src/services/chat-channels/slack/session-status.ts:347 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cbee3df6b892ac4f4adbe8a309b881e1171811841575eb95988cd6fe52abf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/slack/session-stop.ts:776 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:828 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd2ad853d4aa11d57fe06bbd27bbc19d286e6a553178e7e3bb98dc14e2f472a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/slack/setup-services.ts:61 \u00B7 server/src/services/chat-channels/slack/setup-services.ts:101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/setup-services.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e986f48f96b5b37487a6768b21d5e5ac45be2bc08acabe3d5d579c97d3dea836"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/maintenance.ts:355 \u00B7 server/src/services/chat-channels/telegram/maintenance.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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e78e2713c9b5ec6d6f83bbfa50479e529d5841140ede6d55084cf53b464c3ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-control-chronology.ts:183 \u00B7 server/src/services/chat-control-recovery-stop.ts:543 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7080e87a42095851d2f1a4b70780d633f04cd3545a07c2ee14202ad6a31b4eed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-github-checks.ts:68 \u00B7 server/src/services/chat-github-registration.ts:243 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-checks.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb691cfa528172de7470a5cffef9340950ec83c0eb264d60aca20eea83c2957"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-github-checks.ts:303 \u00B7 server/src/services/chat-github-reviews.ts:1531 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-checks.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4299b785d09c9f99b3561abd5070a0b0a825d4371fbf9bb8c588430169739250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/chat-github-events.ts:231 \u00B7 server/src/services/chat-github-tools.ts:136 \u00B7 server/src/services/connectors/slack-catalog.ts:59 \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":"server/src/services/chat-github-events.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"75482065a55c3c3c89ac16921539aa72d1c83165db35aaac5227ad71fa0eb83e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/chat-github-events.ts:326 \u00B7 server/src/services/chat-github-tools.ts:133 \u00B7 server/src/services/connectors/slack-catalog.ts:56 \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":"server/src/services/chat-github-events.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"134196a393a68b7564b188223ce93eca7e67a8befda944bbbc1d2da33dc0603e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-github-registration.ts:312 \u00B7 server/src/services/email-channels.ts:504 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"17167fdbc8b8a13e6aa981c81f58fc55b5d1a7e0c7d6d7f0a63a7b40fb496e30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/chat-interaction-publications.ts:492 \u00B7 server/src/services/chat-interaction-publications.ts:516 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb4a2188528f921ec0c606d69623ef8071a7fcd7c6859d86b189ffb6e056dfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/chat-native-progress.ts:76 \u00B7 server/src/services/native-runtime/native-response-wake-wait.ts:43 \u00B7 server/src/services/native-runtime/native-response-wake-wait.ts:111 \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":"server/src/services/chat-native-progress.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a0f1fbceef1ad1a430cb46fbb23c635eb3396b944210a5aeb5d167fb81e744"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/company-portability.ts:969 \u00B7 server/src/services/company-portability.ts:1014 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c60e7bcb70d7dc08cf25845ef0631af70d0662786730d6b67f291eadd169a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/company-portability.ts:5786 \u00B7 server/src/services/company-portability.ts:5963 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5786}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eb730b494cb30d3d70ba7d760193600ca0151ad19b0bf4a3f22419d19f5c49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/company-search.ts:960 \u00B7 server/src/services/company-search.ts:972 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d505ae6ff40790ce7c8c16bea94bf4641937b1879229d702fe869ba905a30d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/company-skills.ts:1486 \u00B7 server/src/services/company-skills.ts:1612 \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":"server/src/services/company-skills.ts"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d568822ba2d8d64288d907061a93aed30b598054a9d7685a1dc0d52ef1cdff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/connectors/slack.ts:140 \u00B7 server/src/services/connectors/slack.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":"server/src/services/connectors/slack.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f58bd67ae676211bfeae224bb5ba72fe8deeac786d7035ce2fbfa2278f019a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/costs.ts:420 \u00B7 server/src/services/costs.ts:589 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"94134bda88028256934eb4896c032775d01bee222f3816652b6f59ce4a2e3f06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/document-annotations.ts:162 \u00B7 server/src/services/document-annotations.ts:187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"80201be69f58e4e0370ccc0df4bd9c251dea4618eedb14822888cc1783e84973"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/document-annotations.ts:677 \u00B7 server/src/services/document-annotations.ts:854 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e50e11909706e9861af23ce968129e42a9b8990ec81029896719a5011a8db8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/documents.ts:395 \u00B7 server/src/services/documents.ts:674 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd635e64847f90d6facbe4c24e910014f4dd5bc029dcff5089cd28b825e3516c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/documents.ts:750 \u00B7 server/src/services/documents.ts:801 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6d2f60c410ef217548a29be099194e0a3a84ab398a47c36ead21dd3ef7ad5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/effective-run-config-fingerprints.ts:252 \u00B7 server/src/services/effective-run-config-fingerprints.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":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb14fba59fa7451229f2da2197ced9eb56c7fcd1984f0289cc44f23140c8dcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/effective-run-config-fingerprints.ts:372 \u00B7 server/src/services/effective-run-config-fingerprints.ts:391 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7b377382b484bc813b7fb8ef8f930de2e1a88e676dc34f45ef05106ddf9d9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/environment-config.ts:94 \u00B7 server/src/services/environment-config.ts:117 \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":"server/src/services/environment-config.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f0e2999462a7834f1a064f698ec43ffe904ef1e7bdac34393f0ccf87b8a807"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/environment-custom-images.ts:315 \u00B7 server/src/services/environment-custom-images.ts:330 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e12fc5c6e695c463b2177bfe012c83ab8378b0e7fa638cbc933dd55d3cf6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/environment-run-orchestrator.ts:665 \u00B7 server/src/services/environment-run-orchestrator.ts:729 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b926fb15cfe5a63589054926880e13d627aa8e582857eefcff729c201c233a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:4339 \u00B7 server/src/services/environment-runtime.ts:4541 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d20cd3066c4832f8aae6e1452dfe1b2f9b908a35aa571532896bc6e1c29ecfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/environments.ts:1208 \u00B7 server/src/services/environments.ts:1266 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a896a9c78e881a03068375de0bc15532f34a6407f30abec5bd2cad295ff534a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:2660 \u00B7 server/src/services/execution-workspaces.ts:4506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e826d2224b3d2ae491a60e657dd0bd6dfc38bfa31ed2e1ecd0e8eb760f2a897"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/feedback.ts:1777 \u00B7 server/src/services/feedback.ts:1791 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e4cc270334540ac5125127b2b9cdb9ba8c96549e5ad1cb05ea7e77bb495167"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/github-external-object-provider.ts:527 \u00B7 server/src/services/github-external-object-provider.ts:594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f28c07ef3f9085fdd8b8647240903c295b978978d2dafee7762ef84ae8779a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/legacy-process-settlement.ts:64 \u00B7 server/src/services/heartbeat/legacy-process-settlement.ts:96 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ab6aa5f576dc14f497852da1a643ad863e2c2dc748eb83859e178fd10d287d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:535 \u00B7 server/src/services/heartbeat/queue.ts:2046 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad988221cabcc3e90314b32b83e40719615f354e88dffd1927eec1ebf1815658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:2144 \u00B7 server/src/services/heartbeat/queue.ts:2215 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff041c2813ebb4d808355cf5e480f0b6610c0010f21494f881eec1f7379599c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/recovery.ts:1641 \u00B7 server/src/services/heartbeat/recovery.ts:1665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dbb8ce57309e92004ac20768d7c8d50759be7172d50fa340ed9af878e45a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:1284 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2628 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d074b1abb51a2856b517568eda01611fb8f3d074c709bb2cf390bc2cf673def"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:1691 \u00B7 server/src/services/heartbeat/retries.ts:1743 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81ce96f78b054f72092eb0e62077751b7fe12caf10579e151f3e11dd5c609d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/heartbeat/run-state.ts:2048 \u00B7 server/src/services/heartbeat/run-state.ts:2075 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"874fcbcafc480ba07f21cd0eca033ff1a73ab69c9d6cafed299b7c649b6c029f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:401 \u00B7 server/src/services/issue-thread-interactions.ts:3534 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fe14242bdfc072ae09b1654764a3e53b801438e7280a4397314a5f8cf623b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:1561 \u00B7 server/src/services/issue-thread-interactions.ts:1575 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"de78a35842f3c976a4950fa27eeff7617e4b99469665ba6c49c596b3fac8dc72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:2383 \u00B7 server/src/services/issue-thread-interactions.ts:5511 \u00B7 server/src/services/issue-thread-interactions.ts:5797 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fa54df73a0a5236a4f198d76529434720b51d76691555f246a7fc70d26831e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:3498 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5615 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"475d5d4e03efd572009b1151677774f013559b4c3796c23d51f785eac9182031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:814 \u00B7 server/src/services/issues.ts:931 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbd9070cac1d67caa4fdaa5dcccfe474b67b128046b63d7648325dab7e5773f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:835 \u00B7 server/src/services/issues.ts:950 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"3621e25bd2b5b0295f5723f9a2a1129936ec77d762424c3bc4f769989e2f6d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:4284 \u00B7 server/src/services/issues.ts:4941 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":4284}}}],"partialFingerprints":{"codehealthFindingId/v1":"637979e376a12838247a700d33b7094ba92280964ad5ff5270496c7cd6a42224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:4826 \u00B7 server/src/services/issues.ts:6015 \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":"server/src/services/issues.ts"},"region":{"startLine":4826}}}],"partialFingerprints":{"codehealthFindingId/v1":"93674f2ffa2ab291f569870a4ff430fb8137d97c52719e093530995b76332fa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:8216 \u00B7 server/src/services/issues.ts:8272 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfc1ef8ba54db8a0b4b6614cfee442273fae2f3937edd11049f20a50dd4c564"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:10336 \u00B7 server/src/services/issues.ts:10385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":10336}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c8fd61e3fa8ece537edde8afb45381c996b7f9f5c3eb848f91ec0f46b5029f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/issues.ts:10887 \u00B7 server/src/services/issues.ts:10919 \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":"server/src/services/issues.ts"},"region":{"startLine":10887}}}],"partialFingerprints":{"codehealthFindingId/v1":"76543ecd5499ad912b97b27de6072d86e27aeb7dfb53cd5a7c28e829b974af50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): server/src/services/mcp-elicitation.ts:354 \u00B7 server/src/services/mcp-tasks.ts:170 \u2014 the two spans are one implementation copied and then locally edited \u2014 182 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120f43157742663c877d40a7f8bf97b4f7c04c93600f583c4056b637155a74e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/native-runtime/native-finalization-reconciler.ts:722 \u00B7 server/src/services/native-runtime/native-finalization-reconciler.ts:779 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"130d783566195351a15a94eafbc160d47b791cf74a888e4b7ffeed25cc403488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/native-runtime/native-provider-capacity-retry.ts:32 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:743 \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":"server/src/services/native-runtime/native-provider-capacity-retry.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"588163fb6e5f484f8639912b766354a189ea6fc86d7153339a6933e5ebf7e344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/native-runtime/native-response-presentation-work.ts:41 \u00B7 server/src/services/native-runtime/native-workspace-finalization-work.ts:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-response-presentation-work.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"55efcb8473c4646e59080eaf6d16649af58fa878787c30c3731dc4fa8f4c0a82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): server/src/services/native-runtime/native-session-executor.ts:5523 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5535 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5547 \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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bfe1490d5835b880b2d3e1e093c72f1b2a40393328a0f67fc8497c32889336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:11679 \u00B7 server/src/services/native-runtime/native-session-executor.ts:11805 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11679}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ced71889ee3a6df84da8c54c261c3e6e51dfd2aa5dd62f0fe7a48c979fe172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1000 \u00B7 server/src/services/native-runtime/runner-semantic-authority.ts:163 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22598422bf49e41faefdd7ebd152d004434c12873c79a1004d4a270866e44c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:1160 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"40595b26d0721e361d600c0a0481505f07b52cc23f6f082df49c34c156ea03b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9 locations): cli/src/commands/client/agent.ts:457 \u00B7 cli/src/commands/client/agent.ts:684 \u00B7 cli/src/commands/client/agent.ts:718 \u00B7 cli/src/commands/client/issue.ts:610 \u00B7 \u002B5 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"285653787cc27bee495de44792cbab80f9dcea55edb082ecfca16256f766b38f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/client/issue.ts:431 \u00B7 cli/src/commands/client/issue.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":"cli/src/commands/client/issue.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c4d1afa203716ed4b22c56806abc48b07b8d1e3d428c6120690884006cac9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:581 \u00B7 cli/src/commands/client/teams.ts:257 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1384f252e031d50ae80c9a995f0c3927cacc9f07593caa24b05de2803ad3d8c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/routines.ts:97 \u00B7 cli/src/commands/worktree.ts:560 \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":"cli/src/commands/routines.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf8effc281a0e1fd5172dd8dde12889f73a10d63db71dcef254e141e0ab4039"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/routines.ts:113 \u00B7 cli/src/commands/worktree.ts:1113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/routines.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bce2657c575546d560958137ba4bfb38542796dd6b4f59719f7345ae9378cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/routines.ts:191 \u00B7 cli/src/commands/routines.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":"cli/src/commands/routines.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c8679e36831d8a6b573675387bee988e23484a81749320bbd2da8b866f6876"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/worktree.ts:560 \u00B7 packages/db/src/migration-runtime.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":"cli/src/commands/worktree.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cf9c28e815ed62e9bc887ec2e77a6996f499ec184db6f1b2d4b2213ad0f13d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3812 \u00B7 cli/src/commands/worktree.ts:3881 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3812}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b4ac7bf0bc0996301039653375fa7477df8ab650f27fdfeabab43f65f043d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/install-store.ts:430 \u00B7 cli/src/install-store.ts:451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install-store.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c6f1e33198c5d446db02577b6b039414d4260577c9cd58eefc8b7dad6a8685"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): cli/src/prompts/server.ts:88 \u00B7 cli/src/prompts/server.ts: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":"cli/src/prompts/server.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e3a439e6e67865ff5487e36618d5703f1bff460f32ddddd316ff00d20a9f17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:1439 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:124 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8183548dc68f7b7a96335cea074e58a7dd77e83fb5245354cfb22746738664a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): packages/adapter-utils/src/acpx-engine/execute.ts:2049 \u00B7 packages/adapters/cursor-cloud/src/server/execute.ts:129 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:301 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:273 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd5e0c751915d42ee51d626fd38d05403fddb4b0b78af46f25b375b84dff07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:3137 \u00B7 packages/adapters/cursor-cloud/src/server/execute.ts:220 \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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0267f2b31f4fabcfbf906125f00505b7470e506dbb19720df006152805785325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10 locations): packages/adapter-utils/src/acpx-engine/execute.ts:3208 \u00B7 packages/adapters/claude-local/src/server/execute.ts:863 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1241 \u00B7 packages/adapters/cursor-cloud/src/server/execute.ts:412 \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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3f7f0b1d02013578e24d33f1b6f0871d5a20febb553d01140a878bf5f81f70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:3622 \u00B7 packages/adapter-utils/src/execution-target.ts:4153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"be567f1963113fb87de694d4a59e9be8b461bd97207048647c2b4cfa99836994"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:446 \u00B7 packages/adapter-utils/src/server-utils.ts:3324 \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/adapter-utils/src/execution-target.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"710e4247625f7a2d9587132895029f57a8afc4924d87ac803d9c37d3ecd73778"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:1929 \u00B7 scripts/dev-runner-output.mjs:62 \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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"689c8d9f336c77cf0205fa89ff94b784ce210c18ce8309249e9ac2e4713aa280"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:1929 \u00B7 scripts/dev-runner-output.ts:71 \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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7bd7c0bfde685c50f5660333722d6250a29bd9e90978e89a62a636c2a2de68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapter-utils/src/http2-bridge-server.ts:1222 \u00B7 packages/adapter-utils/src/http2-bridge-server.ts:1254 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"703d68df9dcd1ed37b74f1549e8f620fe1e3498d9fd83af62afde501bb12ff90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapter-utils/src/remote-execution-env.ts:19 \u00B7 packages/adapters/claude-local/src/server/probe-env.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/remote-execution-env.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"058fff06486ef2b8df9090dee71ab31c73072c8b62749d051811c1a8edbc5887"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/adapters/claude-local/src/server/acp.ts:480 \u00B7 packages/adapters/codex-local/src/server/acp.ts:382 \u00B7 packages/adapters/gemini-local/src/server/acp.ts:251 \u00B7 packages/adapters/kimi-local/src/server/acp.ts:141 \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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"945194a04eff61982cf205faa9079aab150e181c70607ea94174331535a4755e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/claude-config.ts:142 \u00B7 packages/adapters/claude-local/src/server/prompt-cache.ts:25 \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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7915520ecd0e5b451c487866a0d18acf7b3d5e739aba96efb005a9da23e91487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:289 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1071 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bed771e0414f503c3f68e30446fa9641e164061e0480031de6165abb4b23f74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:1053 \u00B7 packages/adapters/claude-local/src/server/execute.ts:1123 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d04c77919bec1962932c1da9c49d14debaa36f520b75cac7430184858d3507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/adapters/claude-local/src/server/models.ts:49 \u00B7 packages/adapters/opencode-local/src/server/models.ts:56 \u00B7 packages/adapters/pi-local/src/server/models.ts:48 \u00B7 server/src/adapters/codex-models.ts:15 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/models.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f620ddc7f0db77b823d5c611afe7b107e57f3fac53310aba6f2d48929bc4d4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/prompt-cache.ts:25 \u00B7 packages/adapters/codex-local/src/server/codex-home.ts:169 \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/adapters/claude-local/src/server/prompt-cache.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51b3bb149fa2141c60dbcf831840e9dfad54e92f695c715157c53f4a5e62b43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/prompt-cache.ts:25 \u00B7 packages/adapters/grok-local/src/server/grok-home.ts:117 \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/adapters/claude-local/src/server/prompt-cache.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"27529c51cce2e03b97d5f92d11f43bb71e9d4c5acaefb69a8e5e9a6defd89ea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/acp.ts:611 \u00B7 packages/adapters/codex-local/src/server/acp.ts:657 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"8695d81c4bc1a34cf620243f38b80e3007594e37580bfa8b5fa650c4a3a90376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-home.ts:595 \u00B7 packages/adapters/grok-local/src/server/grok-home.ts:148 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"069387f9311bb90702622b24244bd12f737975fc412457f1fc243c7910b7df41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/quota.ts:306 \u00B7 packages/adapters/codex-local/src/server/quota.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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"978ebd85f4b2edc5ee1e8c30d3e8c354e0c13620a91061cbeae58bf764772852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/execute.ts:64 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:77 \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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c4225e08c7a116484c0644e9488301b4fd69bc5d91425e64f7c85c51e64596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/adapters/cursor-local/src/server/execute.ts:516 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:524 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:473 \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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4eae646873693005dd97fc2f271016376d29ec20789677c4c97e9e93e53c4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/index.ts:4 \u00B7 packages/adapters/hermes/src/server/index.ts:13 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/index.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda1e42c646b07ee7b977365b4d469f2065c87ce2644f256c642f71412b756fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/adapters/cursor-local/src/ui/parse-stdout.ts:72 \u00B7 packages/adapters/cursor-local/src/ui/parse-stdout.ts:98 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:75 \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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6e51a75558e508ccd474c98a11e4d479e2899735c3b27ed170801d99ff3a24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/index.ts:6 \u00B7 packages/adapters/hermes/src/index.ts:47 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/gateway/index.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d07401736529ea4113ccec47ccdc316ab09293505569e6c103b480cfdc3f5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/execute.ts:430 \u00B7 packages/adapters/hermes/src/gateway/server/test.ts:46 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0011802d7556f56adb24da5f5754d2d101192c1a05b1b63fad790866fc126d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/execute.ts:503 \u00B7 packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts:202 \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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b196e15e737dc0959644149d6b059b102adf31e65729906df4548300177d7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/hermes/src/ui/parse-stdout.ts:279 \u00B7 packages/adapters/hermes/ui-parser.cjs: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":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cff42024bd59ae7df4f70dd942d918343bca7fb8991026231da3b304512725"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/execute.ts:530 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts:81 \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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4264649d03255442f5ae1aae56a2d6740467150e38ac7487bbe4e7bb8f2cbbe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/db/src/client.ts:668 \u00B7 packages/db/src/client.ts:1273 \u2014 both copies are in the same file, so extract the block into one function there 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/db/src/client.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f269b0f94a9f0456b1d1153292d0c59cda1db619694500c82aa008856281a5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/db/src/schema/chat_teams_file_transfers.ts:87 \u00B7 packages/db/src/schema/email.ts:80 \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/db/src/schema/chat_teams_file_transfers.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7bd2e073f245f02974ebd5aec756a1fddf917b139af2ef106100056c6a825e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/scripts/capability-issue-thread-server.mjs:838 \u00B7 packages/paperclip-runner/scripts/capability-issue-thread-server.mjs:869 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c0d4a0581fc9006536d81502b419584658a0d494dffe76a8a14f4574cbf4f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/scripts/check-forbidden-imports.mjs:6 \u00B7 packages/paperclip-runner/scripts/check-numbered-milestones.mjs: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":"packages/paperclip-runner/scripts/check-forbidden-imports.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b545325993927a8058de9d2311fb2c28a5667f9e623126aa875ff43c00fc39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/paperclip-runner/scripts/check-forbidden-imports.mjs:6 \u00B7 packages/paperclip-runner/scripts/check-numbered-milestones.mjs:6 \u00B7 packages/paperclip-runner/scripts/check-tracked-imports.mjs: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":"packages/paperclip-runner/scripts/check-forbidden-imports.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"688309fa2330cc6ab8878f96775dbccc8b84e0c993feae372996ea9673a707d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/local-runner-browser-server.mjs:50 \u00B7 packages/paperclip-runner/src/mock-core/live-console-demo-server.ts:369 \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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0b568306ca5904c7311c64c95623fc102b1c7dccf3d90273605a8e03ece7e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs:108 \u00B7 packages/paperclip-runner/scripts/materialize-pi-distribution.mjs:194 \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":"packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b628febb7a7d0b04442ef48670e9dcaabecb6b7e7b45c6f227411b6814e213ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/scripts/provider-pack-runtime-tree.mjs:13 \u00B7 server/src/services/native-runtime/native-session-executor.ts:14093 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/provider-pack-runtime-tree.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fa709bf86fd4035e233a3dc137055d6c3c217cd77052d2fb373c1eaed7b955"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs:589 \u00B7 packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs: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/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ce5e61cd5bbdb22967ce43f655189f7ec5d3500d3bf4900d78f86f2cb1555a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:1975 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2178 \u00B7 packages/paperclip-runner/src/evals/native-execution.ts:176 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:3809 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea1ed96ccbd5e26cf8fca0308841565e82fdf43264a7aea12e62653e58f2bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:129 \u00B7 packages/paperclip-runner/src/mock-core/local-runner.ts:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fae20767e7bc22076de38d13e96ee80f7d500273130656dd068152088eb042d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:744 \u00B7 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:760 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30be48b6bac73e22ca78998cb5bf9dd5849119403d92a4ab4e0c9138b00c2b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:2531 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:220 \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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e6609ec9d96dee722df030b9c6f04afaebabc05d0c6584560bae61315b2986"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:708 \u00B7 packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:720 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2dbcaaec986c304e80385e8611025448d8f9b1da7869e95cc5a80254fe00cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1027 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts:527 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:950 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dc931b18c151773c4ca65642255afe0890dc6e977aad0d063f9be59d7145c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1074 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts:584 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1070 \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":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e895f07d5e803c8fb87594cd1614abed4c9703aa69d350c093240e09af3ade"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2178 \u00B7 packages/paperclip-runner/src/evals/native-execution.ts:176 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13818fec9f1eaab531016b211fe848bef0f895bb853d8c37ffa7f8e0ee1e7ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts:131 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:50 \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/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2d857b0607c4227822aaa374639026e5446b96a7d9d01fa59d7931eae7abc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:192 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e422a1776cd5208dafb9c90c018a5e6f1f250b152695e46f9f134578dd29c907"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1424 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1439 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c88b7776a5dae4e1ef57ef06273a446eac67ea76f57fe41764f806b5857892"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:1667 \u00B7 packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts:176 \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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd60aef21219b87e04bd3b34794625c47c586d48b9d560c1fb0d81f8943d28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:2091 \u00B7 packages/paperclip-runner/src/tools/capability-tool-authorization.ts:221 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fa34801e74649f29066fa716517616039195e7c85f93b2e6a92b5fd4448066"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/paperclip-runner/src/native-session-runtime.ts:2161 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:2241 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccc197e9c90d36a68b6beca5c1fff338d00a56cd1362125ee6d176ca06300a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3567 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3588 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03848b56e846915963c414697ba1a1195ad0296a1c289d6be9a377d93d46d05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:794 \u00B7 packages/plugins/sandbox-providers/daytona/src/file-sync.ts:1253 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bb188185a05ace3b14cc1e7a53bc8e1ded01d221bcc1bbee41dd03f14a002e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:3575 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:3637 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec74aaad23680412c72a6a70066ffb4c4117f2c21afc0151bafc3b18542bdda0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:570 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:609 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc369158f193fef38e754c55d19bbd570e3c33d588c2342774cea6c122e8f031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): packages/shared/src/project-mentions.ts:200 \u00B7 packages/shared/src/project-mentions.ts:212 \u00B7 packages/shared/src/project-mentions.ts:224 \u00B7 packages/shared/src/project-mentions.ts:236 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/project-mentions.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04b88ee21c2daef7d912881a97a84e7254fc4cd06b2eefc255d3cfebc39c9db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/shared/src/validators/finance.ts:11 \u00B7 packages/shared/src/validators/tool-access.ts:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 126 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/finance.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c3aa72e93922231b3baab1c63debadd30d0b43106dd92ccc291bc5a3b01de4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): packages/shared/src/validators/issue.ts:1048 \u00B7 packages/shared/src/validators/secret.ts:187 \u00B7 packages/shared/src/validators/secret.ts:346 \u00B7 packages/shared/src/validators/secret.ts:367 \u00B7 \u002B1 more site(s) not listed \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"547de09f762fa941bb39f16e1fe052bb7ea24981be64d57b990a9c60a89756a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): scripts/codemod-extract-misc.mjs:588 \u00B7 scripts/codemod-extract-sizes.mjs:506 \u00B7 scripts/codemod-extract-type.mjs:228 \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":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"190e2c8578b04c8b793428c2e9e05d4b90338da0902101b475e0b91b2322978f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): server/src/auth/workspace-login-handoff-plugin.ts:127 \u00B7 server/src/services/ai-connections.ts:74 \u00B7 server/src/services/authorization.ts:978 \u00B7 server/src/services/browser-use.ts:798 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/auth/workspace-login-handoff-plugin.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fd66b7ffdb3f748fca0851ea1f9d8e30de6a2b892583522c6ac5132b38e515"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/index.ts:1200 \u00B7 server/src/index.ts:1219 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ff91df621e51139df311274890aa2d4733b25da24105f03c68d4901684f1c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/modules/run-dispatch/adapters/postgres.ts:784 \u00B7 server/src/modules/run-dispatch/adapters/postgres.ts:850 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c14fa1e3f884119d138c3f6d9f93fff4a63e0dc7012a37a9ddfcd2a2d4bc11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:967 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1189 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"efff30665c4dd03158a0808472e7111c9898ac7056effcd4c107968df4f9df75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/access.ts:269 \u00B7 server/src/routes/access.ts:288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0451598c81173714c4316eeb4d35eb1518a26d9b8b880cc75f4b32c27543701e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/access.ts:2066 \u00B7 server/src/routes/plugins.ts: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":"server/src/routes/access.ts"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"37efb5c5d9ea15947643c6bdcf63935c6f0177f268f10fb52820e6ff6bc184c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:1010 \u00B7 server/src/routes/agents.ts:1059 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"546eaffaefa2f74a7775c5f5be769efa64f5cd702b3293609893746d305a45fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:2029 \u00B7 server/src/services/environment-selection.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":"server/src/routes/agents.ts"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3dc655499f04972241c6f06be16d43a0796eb362469b32f8923fd1e21afc44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:4485 \u00B7 server/src/routes/agents.ts:4877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4485}}}],"partialFingerprints":{"codehealthFindingId/v1":"29049473972ff6eee2cad1c65843aebe2d27d29afb378f31622f039c533d2bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:5946 \u00B7 server/src/routes/agents.ts:6013 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5946}}}],"partialFingerprints":{"codehealthFindingId/v1":"1021b8dfe8e8e566ab5f6d9b5cc9c5de6868ae9f38c4a9868cb1c8fead41e6b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:5965 \u00B7 server/src/routes/agents.ts:6000 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5965}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4cfe46b4a9de35c81848caa592768ea892c919e085364332216170d090c7c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/agents.ts:6234 \u00B7 server/src/routes/agents.ts:6513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":6234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b786776e1fb9b7a23e1dd58067458cc35333bad1bc21f3cc422f1a0d78e2e61d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/attention.ts:197 \u00B7 server/src/routes/attention.ts:286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attention.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6fb62674a9efd324290d385e12d556e8c60a7ae3d180e0071723f71ef9be91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/cases.ts:345 \u00B7 server/src/services/issues.ts:2496 \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":"server/src/routes/cases.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f04714eefb3e9169da147d87e643d2c45a0baf7339310550287ae9021f5a013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:612 \u00B7 server/src/routes/chat-channels.ts:624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24117864918fa9f2cfc75bb4b6eccd5fdd1aea6ed08e081d2bd4a2b17cea17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/decision-queues.ts:146 \u00B7 server/src/routes/decision-queues.ts:199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-queues.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fd849c8339f824982c14366e44bb78387a3ba04081ec648475d6e6ae75f6e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/decision-training.ts:24 \u00B7 server/src/routes/inbox-dismissals.ts:42 \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":"server/src/routes/decision-training.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"30583250589b143950e2f82fc2f9f940a6168d0f2af2914876fdd56b0d064d6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/file-resources.ts:168 \u00B7 server/src/routes/file-resources.ts:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc542155ca611f74d9c341d8dc4eda81396d6da90d5ac52fefafc4ac336a04c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): server/src/routes/goals.ts:56 \u00B7 server/src/routes/goals.ts:81 \u00B7 server/src/routes/projects.ts:693 \u00B7 server/src/routes/projects.ts:739 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/goals.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa20bc69154c20279b71f9140bc4b2288a88c84251609549bf24c86071eccc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/instance-settings.ts:481 \u00B7 server/src/routes/instance-settings.ts:510 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/instance-settings.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6356ac723e4f7858e2371c5c4b5c9b6208d81ec752caa795c84d11abc0d814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/issues.ts:9638 \u00B7 server/src/routes/issues.ts:9775 \u00B7 server/src/routes/issues.ts:17716 \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":"server/src/routes/issues.ts"},"region":{"startLine":9638}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f2b58de53559dea03b5edfbf4b9d578afed52d806f81068348aca2b9f39f1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/issues.ts:11356 \u00B7 server/src/services/issues.ts:10491 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11356}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b94f55c2fcf3a3c4b1b814394166d4040297e331f46be86727ee9c0ba15e95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/issues.ts:12009 \u00B7 server/src/routes/issues.ts:12934 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":12009}}}],"partialFingerprints":{"codehealthFindingId/v1":"de78de4eefb9430267942bbd32bb788c06c8a33bcd685b5169cb4504099df1c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/issues.ts:19811 \u00B7 server/src/routes/issues.ts:19830 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19811}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bb512d670c428f31f1bdaeb8c7b96f3167b2daf04671c26a73f1174e4cd828"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/openapi.ts:2855 \u00B7 server/src/routes/openapi.ts:2897 \u00B7 server/src/routes/openapi.ts:3002 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2855}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fb4d60ce12b994bd4d29d166665020c62816631feb99f6c0eacbef56d26381"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8 locations): server/src/routes/openapi.ts:3337 \u00B7 server/src/routes/openapi.ts:4707 \u00B7 server/src/routes/openapi.ts:4945 \u00B7 server/src/routes/openapi.ts:8114 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"server/src/routes/openapi.ts"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"47278f92497448470510906ce46d9f782920821b1ab12ad4efd96e3ccf345f1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): server/src/routes/openapi.ts:3351 \u00B7 server/src/routes/openapi.ts:3527 \u00B7 server/src/routes/openapi.ts:4931 \u00B7 server/src/routes/openapi.ts:10488 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d585e4b1465a530aa14c386e75000b36f3dcc7fe7d381e5a33fc445cfe4ea807"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/openapi.ts:3546 \u00B7 server/src/routes/openapi.ts:5928 \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":"server/src/routes/openapi.ts"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"936253584d436b191a266160868ef468a730db1e53a0271846edb4cd7a819890"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/openapi.ts:3784 \u00B7 server/src/routes/openapi.ts:4257 \u00B7 server/src/routes/openapi.ts:9801 \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":"server/src/routes/openapi.ts"},"region":{"startLine":3784}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e91318f69fb79f9938aa5c3bb67d82dceeda39419b152165d00e7fb19f2597"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): server/src/routes/openapi.ts:4616 \u00B7 server/src/routes/openapi.ts:5886 \u00B7 server/src/routes/openapi.ts:5902 \u00B7 server/src/routes/openapi.ts:5982 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4616}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49eafc3ac756c1ebe963ccd6c94acc397a32890fade58629319a1737f1a685a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/openapi.ts:8539 \u00B7 server/src/routes/openapi.ts:9887 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8539}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f2985fa69e9a9bfafd876bca836c44467ae917a2bc4f300e454d92fb5104b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/openapi.ts:10013 \u00B7 server/src/routes/openapi.ts:10146 \u2014 both copies are in the same file, so extract the block 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 \u0060registerPath(\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":"server/src/routes/openapi.ts"},"region":{"startLine":10013}}}],"partialFingerprints":{"codehealthFindingId/v1":"228fec260e43d65d63b64c05788a98c7dcafa4563cd029dd01baaf912dac0539"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/openapi.ts:10352 \u00B7 server/src/routes/openapi.ts:10369 \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":"server/src/routes/openapi.ts"},"region":{"startLine":10352}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d004f48f93972ce185745946c740e737024ea3864a28a0a4a16b52dd8f4b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/openapi.ts:10608 \u00B7 server/src/routes/openapi.ts:10660 \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":"server/src/routes/openapi.ts"},"region":{"startLine":10608}}}],"partialFingerprints":{"codehealthFindingId/v1":"558da536b481ed4aa99d50817778c76927d288f2b54bf2fa9db81824bcf4bb64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/plugin-ui-static.ts:261 \u00B7 server/src/routes/plugins.ts:2530 \u00B7 server/src/routes/plugins.ts:2785 \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":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b785f324982dacfad4b706c08eadd40cd4fafc910d4785d2cdcdae508c61f6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/plugins.ts:2061 \u00B7 server/src/routes/plugins.ts:2138 \u00B7 server/src/routes/plugins.ts:2310 \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":"server/src/routes/plugins.ts"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee94ee10ac5d43037815e81169a959d7e7b730f00d602261173fde5dabf4192"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/plugins.ts:2914 \u00B7 server/src/routes/plugins.ts:2945 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c94c93c7dd3a5bf344e32d836e72797dc58ce5d44ce3beef974b7ec12a7a21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/routines.ts:215 \u00B7 server/src/routes/routines.ts:235 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94b850736b2ee9e4ad6da34fcab8bbbb45da740a0fcaba079891ca644c3aeb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/routines.ts:260 \u00B7 server/src/routes/routines.ts:301 \u00B7 server/src/routes/routines.ts:340 \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":"server/src/routes/routines.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"de66cab7e44fae11dd32bc6e4b2c7daa3f9a89a3262bf4b4f8b1abf92c176467"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/routines.ts:534 \u00B7 server/src/routes/routines.ts:577 \u00B7 server/src/routes/routines.ts:621 \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":"server/src/routes/routines.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"5068f8c432030ae7bef2a378a05fc02dcb6216c09d604a58341af68ec735dbf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/routes/secrets.ts:378 \u00B7 server/src/routes/smoke-lab.ts:189 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a97931d81648575c93f3c1df5e59c847672ca821e0de2287b349d6b208b5e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/routes/secrets.ts:500 \u00B7 server/src/routes/secrets.ts:529 \u00B7 server/src/routes/secrets.ts:558 \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":"server/src/routes/secrets.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11da11214cc3ae8df76ec871517e599a41cbcd2e06dd75de0fd73fd5f3c837e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/access.ts:419 \u00B7 server/src/services/heartbeat/run-state.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":"server/src/services/access.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84874ded2a973fd56534836bf72f78396b3416f8555a14fe283d2b178eb6987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/access.ts:503 \u00B7 server/src/services/access.ts:609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fe64bc6bc501ca9d54c0747c099aeddc30ee5b03ea0b627c1b4cb329f32232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): server/src/services/access.ts:1059 \u00B7 server/src/services/agent-conversations.ts:574 \u00B7 server/src/services/authorization.ts:1036 \u00B7 server/src/services/built-in-agents.ts:905 \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":"server/src/services/access.ts"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"5985e6434b3212acd85e20146120e5bf30cc14dca37f5cd76932a19144fa8420"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/activity.ts:523 \u00B7 server/src/services/company-artifacts.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":"server/src/services/activity.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"115f427c543490b093f926e3368352daafdf5814d6a1fe55cc895cead37de37f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/activity.ts:564 \u00B7 server/src/services/heartbeat/run-state.ts:2008 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc770c154a3c52f17990606dee40e120dcbea6b74a12a339f99bc8adac7f8bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/agent-assignability.ts:70 \u00B7 server/src/services/agent-assignability.ts:84 \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":"server/src/services/agent-assignability.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dde8d0cd180e8e933596d8ccba4f67878b89025b8afbb7b70fd0b85eeb6bd70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/agent-environment-test.ts:349 \u00B7 server/src/services/agent-environment-test.ts:388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-environment-test.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbc2128a5d3edc174c321be5217e04431df754c2956af2074a4717c0e19babc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9 locations): server/src/services/agent-instruction-revisions.ts:97 \u00B7 server/src/services/chat-channels/microsoft-teams/file-delivery.ts:300 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:739 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:827 \u00B7 \u002B5 more site(s) not listed \u2014 the 8 copies are spread across 4 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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf96e0e3ae792c21f695b56898517c6f84996f459436264b80a8393e18537ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/approval-retention.ts:18 \u00B7 server/src/services/join-request-retention.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approval-retention.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbe2e4200f06c23d2bdf533fddfa2d7a5a5e542714f9c17ee3dc9fc0d5b12fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/browser-use.ts:247 \u00B7 server/src/services/chat-control-recovery-stop.ts:473 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:326 \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":"server/src/services/browser-use.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f28374fb93133157f2b3c3a1d5dd7869c506b975434875eebd735d46ad2680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/browser-use.ts:911 \u00B7 server/src/services/browser-use.ts:989 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5616398423ad29b29bdb34d114d9c6b68ac347af6aeb29694fb9f1c1953e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/budgets.ts:385 \u00B7 server/src/services/budgets.ts:453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef0d1f70706ee342b369a566bdcd8b86dea6d7bc27bf0745e88f19d3a997e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2785 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:158 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7087c3c946a346f8aa078c8f2318d2f6b64d1dca7994187425b3b1c5c7b9d73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels.ts:2983 \u00B7 server/src/services/chat-channels/publications/requests.ts:107 \u00B7 server/src/services/chat-channels/slack/task-start-resolution.ts:244 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48dd68dde6909d2190cd96e621e759cebc290877c1ae601819c02f704b68a19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels.ts:3269 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:94 \u00B7 server/src/services/chat-channels/publications/resolution.ts:28 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19fbce5b0cb94581c8e0cd4dbd23601ef93bdc758f3acf9b871e66cbac402be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/configuration.ts:740 \u00B7 server/src/services/chat-channels/configuration.ts:820 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a4743eaf49fc2f357502d9a15900080cedf1c1b1046a29967397cbe2ecbbab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/discord/commands.ts:158 \u00B7 server/src/services/chat-channels/inbound/admission.ts:268 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dc3e673addae90d80598a716b80a19fef69359e3322fa9b1519e0c971b6d44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels/failed-run-retry.ts:430 \u00B7 server/src/services/chat-channels/failed-run-retry.ts:981 \u00B7 server/src/services/fast-responses.ts:295 \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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"5519e93594f52ee3e231ff8ee7937bdea4a635f5a23992d433a3bcf3c4991529"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): server/src/services/chat-channels/failed-run-retry.ts:507 \u00B7 server/src/services/chat-channels/failed-run-retry.ts:629 \u00B7 server/src/services/chat-channels/inbound/wakeup-authorization.ts:62 \u00B7 server/src/services/chat-channels/inbound/wakeup-authorization.ts:81 \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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"585b78c536dda80539237352bcf8f3218eaf7faa879ccb78336d4969da7fabfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/failed-run-retry.ts:1733 \u00B7 server/src/services/heartbeat/run-preparation.ts:2070 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79f203fd491ab96e029316f033a8c64b60b0dfd715d5d892173609d5bd5ad9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): server/src/services/chat-channels/github/webhook-ingress.ts:1319 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:244 \u00B7 server/src/services/chat-channels/publications/requests.ts:219 \u00B7 server/src/services/chat-teams-file-transfers.ts:583 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f4c9eeb3e7c2656c2727a49c523a064a674673da793b9a96de887ba8234c24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels/identity-links.ts:126 \u00B7 server/src/services/chat-channels/publications/requests.ts:209 \u00B7 server/src/services/chat-channels/publications/resolution.ts:160 \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":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd24bc86dce4efcf5114bc65e8120f728f830b35d53d355f070dac4a7016ce12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7 locations): server/src/services/chat-channels/identity-links.ts:235 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts:288 \u00B7 server/src/services/chat-channels/provider-effects.ts:596 \u00B7 server/src/services/chat-channels/receipt-reactions.ts:198 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 7 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9765e4d24e7ddb9e3acafe8e4e04fded74fae29bc5b676175a7fac57fe0e1b56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/identity-links.ts:362 \u00B7 server/src/services/chat-teams-file-transfers.ts:242 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f5f989b7f976c23be5c12b425a13bd09fcd4fb47900ddcbce0b1f096fd6076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/admission.ts:224 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:202 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"433c8fc37de8d73234d0a9f210a1afed8e5e24bf58c50e4b6f848d8e8b751bca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels/inbound/wakeup-authorization.ts:106 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1609 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:2343 \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":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c140143572b6851645c4f67ca9970894bc679015abf9801e69d31a82b29834"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/callbacks.ts:1118 \u00B7 server/src/services/chat-channels/slack/task-start-resolution.ts:40 \u00B7 server/src/services/chat-channels/slack/task-start-resolution.ts:281 \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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"449e9311eb9c699bc96913b80a9a2f2a585ac6e2efa45d016a71b0b56311ce4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:336 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts: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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3abdd0a0073bfb8292494b42b5138f195990c53c651fb8c668e228c177528a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:670 \u00B7 server/src/services/chat-channels/interactions/continuations.ts:507 \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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9550fefe27b2d01b11cc479d6b075e5798488dfdac176ee2f2f6022f80c85ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-source.ts:79 \u00B7 server/src/services/chat-control-recovery-stop.ts:505 \u00B7 server/src/services/native-runtime/external-chat-question-response.ts:578 \u00B7 server/src/services/native-runtime/external-chat-question-response.ts:654 \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":"server/src/services/chat-channels/microsoft-teams/file-transfer-source.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a36998878546cc5c198c51eb219e8aac4be3a75b37a74d05a6ef76cc9515912"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-channels/provider-effects.ts:618 \u00B7 server/src/services/chat-channels/slack/session-status.ts:84 \u00B7 server/src/services/chat-channels/slack/session-status.ts:114 \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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4fff629d589bae73688e2978f0e05af72cf709a7a7c094dd8cc0eb71a19249"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/provider-effects.ts:700 \u00B7 server/src/services/chat-channels/slack/task-start.ts:643 \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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d402c889f8e58c31611ca09bf83c12ba87a8527ace8695ece4ea41bbdee7830"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/publication-replacement.ts:352 \u00B7 server/src/services/chat-channels/publication-replacement.ts:763 \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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c64e058f59338c5599ac4160a91106be9e643c35a3385333d8a76ad8db4fd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/publications/resolution.ts:122 \u00B7 server/src/services/chat-channels/publications/worker.ts:173 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"00261ff3e0e499cfbac684f7950e6fc3de5b8f3e2d7ce333cde133a54a8f7c3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/setup-probes.ts:193 \u00B7 server/src/services/connectors/slack.ts: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":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ab7ee788ab8b7a578314480cfaacff6797e5e4710c8f377b4a248eaf77119"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/slack/commands.ts:303 \u00B7 server/src/services/chat-channels/slack/task-start.ts:815 \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":"server/src/services/chat-channels/slack/commands.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1268dce2ad766ffeb26b2528bcf0a1b1348e384c42e4836f88d51e1ccaa2162d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/slack/resources.ts:7 \u00B7 server/src/services/chat-channels/telegram/resources.ts: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":"server/src/services/chat-channels/slack/resources.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a23df9c217622ad0534e994466a02b8002019e78ffd1e5145ef5cc94585c006"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/slack/session-status.ts:233 \u00B7 server/src/services/heartbeat/retries.ts:1991 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59fa00841499278a8007014239dd559045d7aa8bf3aa5f110422b4824ffea4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/slack/session-stop.ts:246 \u00B7 server/src/services/heartbeat/run-control.ts:1104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"08007f2a919ba300844d2d5ed0f1fe59ea599453de356a6fe9cde791edcf63d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/publication-drafts.ts:144 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts: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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d2e11073ecf04914c89135b92c96ad0efe1aea5d2dc081f0fe97a55d06c834"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-control-recovery-stop.ts:345 \u00B7 server/src/services/chat-control-recovery-stop.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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc957cdedb1d0b19a68377afd2079727abd5069468c5e05b4067fb070cfbae9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-github-wizard.ts:307 \u00B7 server/src/services/chat-github-wizard.ts:543 \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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2418ce3a69e14b6d8cd6b308744723abdd5ed4501005f06c30b4b2c52931514c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/chat-teams-file-transfers.ts:485 \u00B7 server/src/services/native-runtime/native-completion-feedback.ts:86 \u00B7 server/src/services/native-runtime/native-provider-artifacts.ts:801 \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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a127b4578383a3367d91a1b4781d295cd0fc71fb11e565ea7c7609ef84fccd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/chat-teams-file-transfers.ts:756 \u00B7 server/src/services/chat-teams-file-transfers.ts:789 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1a1a901608602199c0b00f928c96dcce437539493922112d933f2286d8f070"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/company-portability.ts:2929 \u00B7 server/src/services/company-skills.ts:797 \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":"server/src/services/company-portability.ts"},"region":{"startLine":2929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c317e7fb9c99c7f1263a8eb444bb09e863df83a182c4f30aeb7c161f430d9f3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/company-skills.ts:7050 \u00B7 server/src/services/company-skills.ts:7312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":7050}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1daaff40169d16ca661f358b80e4ad7982f4eac015c005886facd96e194577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/connectors/slack-access.ts:200 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2687 \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":"server/src/services/connectors/slack-access.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80c00a17127c648e518ea441bd86e08c5ce088b94fcbdeadc63a8084a311be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/customer-success-inspection.ts:420 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1700 \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":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f359658b85372ef579a4b1f42beacb0a3cfebc27035e17be00a73fc6d96a925b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/dot-invitations.ts:66 \u00B7 server/src/services/muse-invitations.ts:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-invitations.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a958d9f7ac585209ef0dd935b1a3f3fd3dabc9d0f6e56b77ef17f301bbb612"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/environment-config.ts:317 \u00B7 server/src/services/environment-config.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":"server/src/services/environment-config.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee84dc8a634c72ba9234b144cb42b5a605ce73b0e9eb71bc52c46aae8f5e3e07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/environments.ts:575 \u00B7 server/src/services/environments.ts:848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb0fcc141c21066162e73cf87a1e10601664ee4302da4764a8ff25c96ad0ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/execution-recovery-resolution.ts:797 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:596 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:661 \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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafeb3d91435b9655294aa27657b46ed15b9bfee1d99948a84bc28dbe3e0aaea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/external-objects.ts:634 \u00B7 server/src/services/issue-references.ts: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":"server/src/services/external-objects.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea278dc4f59b7028c3f9a46d1c843d84c800fcea363b16ba63d2fcec1e9f8c66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/heartbeat.ts:3913 \u00B7 server/src/services/heartbeat.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":"server/src/services/heartbeat.ts"},"region":{"startLine":3913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c68927d244731970894bc168f002ec653d4ac7d8c0f6b87dd0e6bd89dc06e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/heartbeat/queue.ts:1509 \u00B7 server/src/services/heartbeat/runtime-selection.ts:367 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1547 \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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0288f44289137a08268a2ac29edff91159c039d6c26b925ec11e56aa8c5ff92e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:4191 \u00B7 server/src/services/heartbeat/recovery.ts:873 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede6dd3dc7b3ec1d03f36a5cda329ec33856e2e65d0a776664aa00db44b74442"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:1594 \u00B7 server/src/services/heartbeat/run-state.ts:1325 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"40adcbc5b82cfa67bdb89a0854927505fc2246de02152c7998aba8d5f5144de2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): server/src/services/heartbeat/run-lifecycle.ts:1909 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1933 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1948 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1963 \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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"af53e6cf6078c93022a062d2ed0d3799c6d904493418fb54151efc45357e01dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:1941 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:278 \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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f33be25f5dba403cca713c8bd269fa78f6b4647772cf2b0b36fcfe692d3ff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:2719 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2788 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2719}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a74a030825816450b19bf6463d4fbb6bf34dd68bd29f10dc8df51805368e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/heartbeat/run-preparation.ts:1032 \u00B7 server/src/services/heartbeat/run-preparation.ts:1097 \u00B7 server/src/services/heartbeat/run-preparation.ts:1182 \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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d50a6efa50389759886e56df1f780e0aca12526548cb496ba88b3d80cb057e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:2633 \u00B7 server/src/services/heartbeat/run-preparation.ts:2655 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2633}}}],"partialFingerprints":{"codehealthFindingId/v1":"231b0007a23160aed65c106b70418dcbc93646c12a8a299fc8a5b7af32ccec9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/heartbeat/runtime-selection.ts:368 \u00B7 server/src/services/heartbeat/runtime-selection.ts:492 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1548 \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":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a37cd219179a3676b5c784f642fcb9f074aa579b946fd1cddb2cbbb65956435"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issue-execution-policy.ts:1094 \u00B7 server/src/services/issue-execution-policy.ts:1112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef38ccbe0ae1e41cbecb02074d8c33002e8197f25523cd670b8da2b768b3575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:1431 \u00B7 server/src/services/issue-thread-interactions.ts:3180 \u00B7 server/src/services/issue-thread-interactions.ts:3235 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6f2703f08347ece033e2646e2de7174d88d0fef469f3f52dffead8bd72e30a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:2193 \u00B7 server/src/services/issue-thread-interactions.ts:2589 \u00B7 server/src/services/issue-thread-interactions.ts:2890 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e054beae186b1607175996900e68881f342c5d1dc55a2147f23f10d5c8f618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:4445 \u00B7 server/src/services/issue-thread-interactions.ts:5627 \u00B7 server/src/services/issue-thread-interactions.ts:5891 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a148d24282468d34a1afd2963821c85965eb197267385ac0a3cd3f5df912bf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:940 \u00B7 server/src/services/issue-tree-control.ts:1009 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"5372135afad0da42d238739cfa1d242de47a93298c06ce08427215890f70fb76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issues.ts:596 \u00B7 server/src/services/issues.ts:1175 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a895d38c1c15788048b18a9e911372281c40e947ecf629bf1e63b91a46c8bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issues.ts:6715 \u00B7 server/src/services/issues.ts:8951 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":6715}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f93055b5bbd73314a9c560cb8c2bb9a44865047d9f894736d3aea82945b7899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issues.ts:7628 \u00B7 server/src/services/issues.ts:11317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":7628}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b977ca3c86021bbd17e7b2208d0d90a114cf165a63561bf2db436500083e414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): server/src/services/issues.ts:9245 \u00B7 server/src/services/issues.ts:9308 \u00B7 server/src/services/issues.ts:9420 \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":"server/src/services/issues.ts"},"region":{"startLine":9245}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b178779031812ebb9ee66f52fbd8b9bd3b362e6063bc11aa7cc6f6217e6a47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issues.ts:12909 \u00B7 server/src/services/issues.ts:12993 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":12909}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5fcd449d08719253f0f837afb816ae500978c88e2e5fdabd4cbfc0293f39be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/issues.ts:14189 \u00B7 server/src/services/issues.ts:14215 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":14189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec15259314ba76411d89f81de4423d7d8403ae88f6b389c71b2ea175a4fa0e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1298 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:850 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"14de976ed01a91157bca66109c585d177f475f5f163c336c028d8716af64b0ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/continuation-contract.ts:21 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:585 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/continuation-contract.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd8fd9380a6944d60a68ee63ddeb409fbedca7f9e9eca310ac05cec92e2a1c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/current-wake-comments.ts:166 \u00B7 server/src/services/native-runtime/native-run-coordinator-store.ts:50 \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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"56afbbbf449e13d5056978b7012905972b6e9af3f76f02681293a4356690fa10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-chat-review-presentation.ts:117 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1c41c6f61179152d3f80bce88f2019bf3e58d5de0a60d63e22520d3fb88ee5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:103 \u00B7 server/src/services/native-runtime/native-interaction-bridge.ts:124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8b8549e57365857606eb5dd95f6c4b852be15e68bdbddf51dfc155644b1520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-provider-artifacts.ts:211 \u00B7 server/src/services/native-runtime/native-provider-artifacts.ts:362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2a00f4f5348c9031970bedb8e530d23a9273bb55eafa70b65bdde81e944f85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-provider-artifacts.ts:325 \u00B7 server/src/services/native-runtime/native-provider-artifacts.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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c94d26ce2753984b265aefcb90ccbd37b567354b4c20685720b943c8c6739d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-reconciliation-status.ts:56 \u00B7 server/src/services/native-runtime/runtime-mode.ts:480 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-reconciliation-status.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6b0bda5e860576f512fac1b7637f4b6d14bc1da6e31c67ebb31d3a9de7ab24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:540 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:554 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"e167b647ca5015c14e6effc784e7bd6df44fb0eaa93ac71d3ba5100ef5ff3817"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:4502 \u00B7 server/src/services/native-runtime/native-session-executor.ts:4548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4502}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a772bdd48a02c26defbded439f7f0b5f909b4ae70c800d0fc04964eecbec5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:9510 \u00B7 server/src/services/native-runtime/native-session-executor.ts:9627 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25aef2aed8c9ab0f03b9490f3ea9fed9e0709148f59c1b1f8b16dc7bf25b900"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:13370 \u00B7 server/src/services/native-runtime/native-session-executor.ts:13584 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9bb1d806a6c428f3b345e3a965fcb6cc0a6e7e926fa43d47ba3eeb5726f94c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9 locations): server/src/services/native-runtime/status-decision-committer.ts:251 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:298 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:311 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:323 \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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"437fc12ff01d487cd6e905292b35752529e290340024b37e9f47dd1f3094d82b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:1399 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1539 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d3f16d1512d51dfd1edc9dbbdb63452df3f845585d1c6a1a4439f586dda930"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): server/src/services/native-runtime/work-assessments.ts:58 \u00B7 server/src/services/native-runtime/work-assessments.ts:124 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/work-assessments.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede23f5ac95c806f049e73d9c20296772707bd8ff1c2daf2bb276968418cf78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/auth-bootstrap-ceo.ts:79 \u00B7 packages/db/scripts/create-auth-bootstrap-invite.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":"cli/src/commands/auth-bootstrap-ceo.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2426668e24899b8427e2651b0a7ca3c90fa087b06cbc026188647106258e22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/auth-bootstrap-ceo.ts:100 \u00B7 packages/db/scripts/create-auth-bootstrap-invite.ts: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":"cli/src/commands/auth-bootstrap-ceo.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97320994c10e965888a0dec087b4feb18ff7026c9abf931cc5f287e45c308d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/client/access.ts:388 \u00B7 cli/src/commands/client/plugin.ts:719 \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":"cli/src/commands/client/access.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b18a5b8bab20d6263c99dfed6128d9824c116c5e5a5e1db98599ca69ea24e66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/client/access.ts:497 \u00B7 cli/src/commands/client/plugin.ts:906 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabe514112b985f925099f6c93f928d1a1678a9930891b36d8d3a736dba5bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/client/adapter.ts:25 \u00B7 cli/src/commands/client/company.ts:1421 \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":"cli/src/commands/client/adapter.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"987c84add0fae937dc9a3b0aa962b26d1098ec6a6ec309ace11985aa91ea0580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): cli/src/commands/client/approval.ts:144 \u00B7 cli/src/commands/client/approval.ts:166 \u00B7 cli/src/commands/client/approval.ts: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":"cli/src/commands/client/approval.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f74c636f5f596dcf6e878f6dbcba67e05115f767f14c182b1a5a2f76843b9a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/client/company.ts:176 \u00B7 cli/src/commands/client/secrets.ts: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":"cli/src/commands/client/company.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c0170a5973fe855202ddd80ad9711e64b566e259b131cee22a52b9bb8f7607"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): cli/src/commands/client/issue.ts:1350 \u00B7 cli/src/commands/client/workspace.ts:176 \u00B7 cli/src/commands/client/workspace.ts:213 \u00B7 cli/src/commands/client/workspace.ts:231 \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":"cli/src/commands/client/issue.ts"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c3f799c46532ad7f4f916b77dad973a25e91da933e7781a9451d3e199faefe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/client/issue.ts:1366 \u00B7 cli/src/commands/client/plugin.ts:938 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/issue.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cef1cc3cdfb09bfa793ac96fd0c2e1fbfa6b84e01232ab9ef198d2478f392d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): cli/src/commands/client/plugin.ts:741 \u00B7 cli/src/commands/client/plugin.ts:813 \u00B7 cli/src/commands/client/routine-api.ts:108 \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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac99bc4772e816e02a46fcd2f258397cd32056493e4e0dc427bb8b8c31de4a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/client/skills.ts:646 \u00B7 cli/src/commands/client/skills.ts:728 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26b37dcc906a9744bc5f3a097de0d285d2d2aa9c09dd713a38229e26e72c8a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/routines.ts:86 \u00B7 cli/src/commands/worktree.ts:549 \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":"cli/src/commands/routines.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e487a53b09a9e461ea1cbb7b66504b30193244aa9b2fb14f689000f25eb1a72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/test-drive.ts:142 \u00B7 cli/src/commands/worktree.ts: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":"cli/src/commands/test-drive.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2ac5c52c87251f2408454052ec7e47f143b5da84e718981876d65f243c0326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/worktree.ts:549 \u00B7 packages/db/src/migration-runtime.ts:44 \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":"cli/src/commands/worktree.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc203b40dcc8abd06bc3aae5d8a39f77596cbd21ae3dd885cd9ad4168aaecd84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/worktree.ts:1020 \u00B7 cli/src/commands/worktree.ts:2687 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"41611d0e9809e1b2cb81207ec5c64c51280eecbfe7227fe5d04fa15add44a9d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/commands/worktree.ts:1860 \u00B7 packages/db/src/runtime-config.ts:143 \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":"cli/src/commands/worktree.ts"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe0cdaf9f525c3169fe06dd2976d8561ebfed0076b82a9e961d10e4ab63074"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): cli/src/prompts/storage.ts:79 \u00B7 cli/src/prompts/storage.ts:93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/storage.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"df864c4945d9fbdca9b90344853a6ea44eb263cb037fda1edd379fc1b44f84e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): docker/openclaw-smoke/server.mjs:22 \u00B7 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:442 \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":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bb22958ca571217303cccdb77d1fd18210aa4b9b2e233f50b09a85ab1735e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/adapter-utils/src/sandbox-callback-bridge.ts:1473 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:1602 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:1621 \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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0cafacc48be9d4e45285cd72b8dc824b49559f97b1d634ddb9950b69d7bac5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/acp.ts:265 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1784 \u00B7 packages/adapters/grok-local/src/server/execute.ts:767 \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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce1cc6683642d897be96e2edacc272f0e3fc4fbe52d0e7e1eeb24c9d022a56f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/codex-auth-cache.ts:106 \u00B7 packages/adapters/codex-local/src/server/codex-auth-cache.ts:271 \u00B7 packages/adapters/codex-local/src/server/device-login-export.ts:79 \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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"422b43585c93578baade331949e0e2af0a2786da26f229f6ab1230c43fbd0741"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-cache.ts:417 \u00B7 packages/adapters/codex-local/src/server/codex-home.ts:144 \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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa574113d88b5ae6b4ff1a1be5a870d75858ca9dbd6e818d63b5438a93158c56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:196 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:114 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c983ce515306343121af29e62d80382cfa4a7e7594ffb613eacfbffe61cc265"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): packages/adapters/codex-local/src/server/execute.ts:619 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:217 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:250 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:228 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"41983a5bc578265e2c84cfa38698deb267a1e14d64253002285aa767af7cdb9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/cursor-local/src/ui/parse-stdout.ts:188 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:148 \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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74c3e6dee0dd71745617ac1f9496ed3acf0e0accd8bfa124adce0c81a9657ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/acp.ts:227 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:454 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff27fa65733b5b274ecd43fb4f0eeca6f62d8e6e6a5fa9599a91602951023ae7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/index.ts:68 \u00B7 packages/adapters/kimi-local/src/server/index.ts:54 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/index.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"de205f792ed4644e33408a54656524331989338058f299194435245684e26ded"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/adapters/gemini-local/src/ui/build-config.ts:4 \u00B7 packages/adapters/grok-local/src/ui/build-config.ts:4 \u00B7 packages/adapters/opencode-local/src/ui/build-config.ts:3 \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":"packages/adapters/gemini-local/src/ui/build-config.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ffd4069b8489fa0f80d139433b3c6a65ba337b65d0b8166c337a74c73e25f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/execute.ts:54 \u00B7 packages/adapters/opencode-local/src/server/execute.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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a39fd252681e2760c5ae13532d4c682b39ae718c2b1b1ed5b948bf774beed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs:170 \u00B7 packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs:187 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6656ecf455c93ad2136aeae7afabb27e0a0d4762e71caa5b7a35993b3986cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/execute.ts:205 \u00B7 packages/adapters/hermes/src/gateway/server/test.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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab97723e6db6a75b850f813111ecabcf03a50ac4122839bed04713a4a7154aa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/hermes/src/ui/parse-stdout.ts:85 \u00B7 packages/adapters/hermes/ui-parser.cjs:35 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8197dfed356a0766982df35a0bd1cdc4f1e6feeb783f44b9d309f744322f5f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/kimi-local/src/server/parse.ts:27 \u00B7 packages/adapters/kimi-local/src/ui/parse-stdout.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/adapters/kimi-local/src/server/parse.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01ed1a77a10808f46a1ef3b7360b22c9c294f28982f442a16dd4a041a776c3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/pi-local/src/server/models.ts:101 \u00B7 packages/adapters/pi-local/src/server/models.ts:148 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/models.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"72110c2406d6b94087f4a2d612894578235cb2bb1201b78417112e52a61fb674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/adapters/pi-local/src/ui/parse-stdout.ts:152 \u00B7 packages/adapters/pi-local/src/ui/parse-stdout.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/adapters/pi-local/src/ui/parse-stdout.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e659de1f7afbfac2c05dd032a91bfeb6b1059ed43b2347fbcae68e106e6d5ca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): packages/db/src/embedded-postgres-error.ts:4 \u00B7 packages/db/src/migration-status.ts:6 \u00B7 scripts/dev-runner.mjs:122 \u00B7 scripts/dev-runner.ts:258 \u2014 the 4 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/embedded-postgres-error.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ab260371782d869fa40409e3f7b0c9348ab5da5dc550a7f3eacff8daf09840"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/db/src/schema/plugin_company_settings.ts:19 \u00B7 packages/db/src/schema/plugin_managed_resources.ts:6 \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/db/src/schema/plugin_company_settings.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fd5391136effc47ee7500689a7749d74304189e4d8525901eb3bdab7cf2657"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/mcp-server/src/tools.ts:317 \u00B7 packages/mcp-server/src/tools.ts:347 \u00B7 packages/mcp-server/src/tools.ts:411 \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/mcp-server/src/tools.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2f6515123abdaad3a0289e847622557f4f80f013e3fa2f46110f5615537675"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/conversation.tsx:20 \u00B7 packages/paperclip-runner/src/react/components/conversation.tsx:62 \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/paperclip-runner/devtools/browser/src/components/ui/conversation.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0722324dd5b66da6b2788689f0b1dadf499efd3a110c003dd0bd0e9f74250e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/conversation.tsx:53 \u00B7 packages/paperclip-runner/src/react/components/conversation.tsx:124 \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/paperclip-runner/devtools/browser/src/components/ui/conversation.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3947997e4f3a0adc5971d72010ba6cf08b58aee60e89d7970876f7fba0426d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx:457 \u00B7 packages/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx:242 \u00B7 packages/paperclip-runner/src/react/session-timeline.tsx:271 \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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdb814c4d367ec5afe6d84d8643602a2e157454edac9b503095dbc3491d801a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): packages/paperclip-runner/devtools/browser/src/live/client.ts:10 \u00B7 packages/paperclip-runner/src/browser/client.ts:13 \u00B7 packages/paperclip-runner/src/mock-core/live-console-demo-server.ts:45 \u00B7 packages/plugins/sandbox-providers/exe-dev/src/plugin.ts:87 \u2014 the 4 copies are spread across 4 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/client.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb555c4e0ca5ecdff99bc57b0dc1fbf46dade13f49a76cd30590018a1cd8cf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx:368 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx:484 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db226e19b2587f448b0c062e0f81698add226b0a49f46b9211e5bb27d177a59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/protocol-contract.mjs:334 \u00B7 packages/paperclip-runner/src/contracts/question-set.ts:367 \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":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"62925290e280b19bddf7beabc312ee96ec6694ef35d47183c5c62bd03b1903c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/provider-pack-runtime-tree.mjs:86 \u00B7 scripts/runner-image-layout.mjs:337 \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/paperclip-runner/scripts/provider-pack-runtime-tree.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"52835c6acdb479a35e8cdafda378186502fdc9fe7eb05878195257298fa6fb34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/scripts/provision-antigravity.mjs:11 \u00B7 packages/paperclip-runner/scripts/provision-cursor.mjs:9 \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/paperclip-runner/scripts/provision-antigravity.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"247e15780fc2590b839d6c62b12307e9d634eb607d624abef24480613c36cf10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/qualify-cursor-instructions.mjs:6 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-mode.mjs:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 113 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/scripts/qualify-cursor-instructions.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cf4b519d4e4a3bae4486beadedb872be134d9870e9f09847d8a3edbc2b98fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/qualify-cursor-native-usage.mjs:30 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-runtime-patch.mjs:23 \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/paperclip-runner/scripts/qualify-cursor-native-usage.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"09282f8ec552ffe57c7d710e6d45f80d820fae735af4b879ff63ceee29d464c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/src/catalog/semantic-action-catalog.ts:677 \u00B7 packages/paperclip-runner/src/semantic-tools/provider-neutral.ts: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":"packages/paperclip-runner/src/catalog/semantic-action-catalog.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba878f22667b8f709ab76616407de6b4a0a1c70f109994f89e5bc46e4fff430"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2565 \u00B7 packages/paperclip-runner/src/drivers/codex/app-server-transport.ts:144 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbb73adc0e346a8a1788ae25888fea58006adda8d3fe629bd52b0c3634b4ba1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts:83 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts:103 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d316f528df9609d42be280bba308fb4e1663b74329c770ff03671092583421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts:289 \u00B7 server/src/services/agentmail-api.ts:264 \u00B7 server/src/services/chat-telegram-ephemeral.ts:285 \u00B7 server/src/services/email-channels.ts:1029 \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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cc3e4542cecbf8f795c89f31b605fbde317cca2a2dd81dc9154e0be64f08c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts:190 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-turn-diff.ts:62 \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/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba30382d832118dad3b23b582524952046e8b1f835b63c69a7786395ef12eea6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:268 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:280 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ee39209d094770507ce3bdc8516bc63705a4cd15369bbb560457065950dc98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:2199 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:2259 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd72dddccc2f4614391407790d41177befc5b854c09182bdb4384bcacf541f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:5060 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:5088 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5060}}}],"partialFingerprints":{"codehealthFindingId/v1":"12724bdc00b02854a1780e9673e51c9cfc95865c99465e5800694b271e4b3cdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:403 \u00B7 packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts:108 \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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd23405ccfa38ea9d1600b66ca416967c45ab8af43e86a7e418a4e298a5b161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts:74 \u00B7 packages/shared/src/telemetry/client.ts:30 \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":"packages/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b1360c4f3b4107370419945764bbade506e0e6e36ec6f8292041d008e2d66a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:1887 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:3010 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"686b5251b768b45086434b88fa5de8962d09978408e9215d1c0d5d9624fd1f03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6093 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6093}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f19007ebc5c961bc070432b33ea8ef5fafb66492629f55e5fbf959022f2da2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6772 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6956 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6772}}}],"partialFingerprints":{"codehealthFindingId/v1":"694d9309cb9d1c8175f94884de9fe480df7dba9de81a1544835ff71c9bbc4c7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2469 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4584 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"341bc50a3434d61336c723679e238a047f0c5e8b2eddb813e5fc1e44b602a50f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:229 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:260 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:370 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"767278fda61664b6790f4f0af1c225c6c8979c00474e8c648d681d5b3a989ab8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts:56 \u00B7 packages/plugins/sandbox-providers/cloudflare/src/config.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d59f0b0903a410b7f091c8249cc455c1d9e561a617b4b62d48f5143b0b32e63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:1522 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:892 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa33560f3bc8fb05d0f57d6eccf94c985bd78d3ac596cbc5c4b27d1b8d066a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:409 \u00B7 packages/plugins/sandbox-providers/e2b/src/plugin.ts:46 \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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5ab7b5875b2eeadd4ac2e358bf6a233ca89722d693b3976b7d0d53917e7e6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:549 \u00B7 server/src/services/environment-custom-image-runtime.ts:34 \u00B7 server/src/services/environment-runtime.ts:858 \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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"680fe9aa4649123bd68cda1591f83ea7486a2e79051c2365f96b8afb01304176"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:3377 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:3476 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff031b46fc2f50a4b6b3b8f83c01d47dc8e3a8828a3aeb45f6738bbfa88f849f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:588 \u00B7 packages/plugins/sdk/src/worker-rpc-host.ts: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":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe3175a6788a4ea4fa8e78f5f1e3e22638d30de7f76bccaf580523faee1811f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/shared/src/ai-provider-routing.ts:20 \u00B7 packages/shared/src/validators/email.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/ai-provider-routing.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa3bc0df9fa5c3ba103912d297fa6155b8d9047bee8f67a97c781df224819ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/shared/src/frontmatter.ts:541 \u00B7 packages/teams-catalog/src/frontmatter.ts:122 \u00B7 server/src/services/company-portability.ts:2859 \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/shared/src/frontmatter.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"705359b015a80f41dc4dec199731649f9b66fccca0dac915ee09ea844cde42bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/shared/src/validators/chat-channels.ts:163 \u00B7 packages/shared/src/workflows.ts:6 \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/shared/src/validators/chat-channels.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"438e3dbba96fba65fa52c07c3d7a24dbc043c125b9017404e54dd0ecc3c9e9fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/shared/src/validators/company-portability.ts:277 \u00B7 packages/shared/src/validators/trust-policy.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/company-portability.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfcf32dfba8ef440a1322ab909fce6364402b7f58ee98b920b2715e7ff572a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/shared/src/validators/cost.ts:6 \u00B7 packages/shared/src/validators/environment-custom-images.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/cost.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"424f5d7e6bc9becf78ea253229f675b0c1650f129e2ea65718108b47d81fca08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): packages/shared/src/validators/issue.ts:1375 \u00B7 packages/shared/src/validators/issue.ts:1578 \u00B7 packages/shared/src/validators/issue.ts:1792 \u00B7 packages/shared/src/validators/issue.ts:2092 \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/shared/src/validators/issue.ts"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"008c2cc53f7b31b0775931563ba7c3335b55c9c137d34a0f7b9d7b3c0e8b60c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:1740 \u00B7 packages/shared/src/validators/issue.ts:1781 \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/shared/src/validators/issue.ts"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75d71af3fcbec75f941857ebaada49e606cd6dd2fbd86f1c208dfa2077c7340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:2301 \u00B7 packages/shared/src/validators/issue.ts:2313 \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/shared/src/validators/issue.ts"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0db8aef058a3b57164c31dc0557744fe9390d7c32fd96fed1aa02ceed832cf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): packages/shared/src/validators/plugin.ts:907 \u00B7 packages/shared/src/validators/plugin.ts:935 \u00B7 packages/shared/src/validators/plugin.ts:955 \u00B7 packages/shared/src/validators/plugin.ts:975 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/plugin.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"2094ba20c64b0a358c64dc0516859038f3b182ce529abe5b4ceca1a5b48c328b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10 locations): packages/shared/src/validators/plugin.ts:1090 \u00B7 packages/shared/src/validators/plugin.ts:1103 \u00B7 packages/shared/src/validators/plugin.ts:1124 \u00B7 packages/shared/src/validators/plugin.ts:1137 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/shared/src/validators/plugin.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d99caf409c4b94a1493f348b75d23e540295c1ab85f93b6c2b92bdd9ef936e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/shared/src/workspace-commands.ts:6 \u00B7 server/src/services/company-portability.ts:847 \u00B7 server/src/services/execution-workspaces.ts:483 \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/shared/src/workspace-commands.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebae9acc5a75059754a164107088af2a06f40a37a165e3c4b2539a8c0e7bb34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/skills-catalog/scripts/build-catalog-manifest.ts:5 \u00B7 packages/skills-catalog/scripts/validate-catalog.ts: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/skills-catalog/scripts/build-catalog-manifest.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b676efaef7d57a53ec80c7e101c32191b8896cc73c1fd300dd158161abcf8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/capture-pap-2351-binding-picker.mjs:100 \u00B7 scripts/screenshot-recovery-card.cjs:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/capture-pap-2351-binding-picker.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9087db778e8c66c04c251a85ef4c801cf9e8046c23ad4cc7cacd254f9d2a21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/cloud-migrator-artifacts.mjs:40 \u00B7 scripts/preview-artifacts.mjs: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":"scripts/cloud-migrator-artifacts.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b85b28dfe015b423b00b1a8ade1afa56bfc1749b363ca76484fbcec95747e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/cloud-migrator-artifacts.mjs:246 \u00B7 server/src/services/announcement-feed.ts: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":"scripts/cloud-migrator-artifacts.mjs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca9b6675b645675e5e51d9700cbd3f57f4fa19ed0e05c8042d71a91407dd5b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/runner-image-publish.mjs:523 \u00B7 scripts/runner-image-resolve.mjs:285 \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":"scripts/runner-image-publish.mjs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"543d610f66b9613c4a2879129b41c99bc4f2e28a10a5560c6abd5198e8c064a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/smoke/notion-generic-live-lib.mjs:178 \u00B7 scripts/smoke/notion-generic-live-lib.mjs:201 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c2c940cea80b05c6434242b4ea199f1bdb87b21f9e293ed2fcec27dec7da66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:270 \u00B7 scripts/smoke/posthog-live.mjs:283 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be9bb4d60918eb1c52560fce6fdbf904bb698390192b50f77c49e00a30a1aeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:921 \u00B7 scripts/smoke/posthog-live.mjs:810 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"c008bb39a57fe7397d04f27e2097da4733723b3907384e6e963784b45d1b2544"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/storybook-visual-baseline.mjs:116 \u00B7 scripts/storybook-visual-baseline.mjs:133 \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":"scripts/storybook-visual-baseline.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"044cee84c401f3081379d01ec29c0eb25eb3f5c177dd16c6a7bf6ad54cdf5496"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/auth/better-auth.ts:174 \u00B7 server/src/realtime/live-events-ws.ts:129 \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":"server/src/auth/better-auth.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a5b802766cb93a4629da16b16b56865e79de6c8320f555383a791727c3ca7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/auth/workspace-login-handoff.ts:174 \u00B7 server/src/auth/workspace-login-handoff.ts:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/auth/workspace-login-handoff.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da5aae1700977fda63f8e7247be79fc6dc6c0455a3bcc86f080bb3e6321991c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/board-claim.ts:117 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:127 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:160 \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":"server/src/board-claim.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c480a9433c89bde2b6f9fb8b019c7028e9e68a874c220f8edbd8c5f131bb0a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/index.ts:499 \u00B7 server/src/services/chat-channels/identity-links.ts:283 \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":"server/src/index.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"37da4a792dfe2252173d3bc7245128bda9cd4b5df3a64944575b4c4a235cb153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/lib/approval-records.ts:14 \u00B7 server/src/services/budgets.ts:474 \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":"server/src/lib/approval-records.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18e52915597810fc19820b769ebe72666c81b958e4b46ae202c7b3e9abda8c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/middleware/auth.ts:86 \u00B7 server/src/services/fast-responses.ts:472 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"beccd81e32c005d2f6fe408611b20f1ebb0b7e105544dd9672fcbc83b18d3028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/modules/external-agents/dot.ts:409 \u00B7 server/src/modules/external-agents/muse.ts:596 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeec5a27fa0e54f03522cdf0cdd739d75571157edd8cdc3fdd576bfbb259146"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/modules/wake-queue/adapters/postgres.ts:687 \u00B7 server/src/services/chat-control-recovery-stop.ts:251 \u00B7 server/src/services/issue-thread-interactions.ts:5567 \u00B7 server/src/services/issue-thread-interactions.ts:5834 \u00B7 \u002B1 more site(s) not listed \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f03153b64a1f4f181ffcb4908efe9fe04ac60a8e41a2e1a7f89c3d1c0d6412"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/access.ts:1570 \u00B7 server/src/routes/auth.ts:18 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ae3a028e69c1336d53eef6affeb3d3fbc311d4616afde8ec31a2eca5069b57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/access.ts:3657 \u00B7 server/src/routes/access.ts:3864 \u00B7 server/src/routes/access.ts:3877 \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":"server/src/routes/access.ts"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8dc45f1b8452b52012e62e9eb7e6a8c8f349666d0b6d1b41cff1b0e1f7f8e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/adapters.ts:646 \u00B7 server/src/routes/adapters.ts:702 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"17833221509075da08f61de41773f6cb2d6dbcb6f28a054841af43e8e0b76722"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:1461 \u00B7 server/src/routes/built-in-agents.ts:86 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1201b7a245fa0c76cca54262e8ac47663498ce6d0c2a9d114bf7a2877aca94b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:2158 \u00B7 server/src/services/company-portability.ts:1326 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19a3d1df43f01c3a054c3728351f12f85808795faec15de0a46c52a411a689f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:3075 \u00B7 server/src/routes/projects.ts: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":"server/src/routes/agents.ts"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f974cbac10edd3b89fe57a080ce2c986eeee1dd79fc2b0ad868b95e6b4f176"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:4715 \u00B7 server/src/routes/agents.ts:5001 \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":"server/src/routes/agents.ts"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a381bb1a57f7da8627c2f2ddab7d136256ecc5bf95e519f0fc8d931a213f933"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:5233 \u00B7 server/src/routes/agents.ts:5306 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5233}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff6430e6a63801f8f910670bb9305fb44fec3a95f3af556df4d62a8893a88ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/agents.ts:6357 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:2210 \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":"server/src/routes/agents.ts"},"region":{"startLine":6357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5f79b7be9019622a3208ae695fe9ee3bd280cd572d120212b0180d10a9e0c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/approvals.ts:572 \u00B7 server/src/routes/approvals.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":"server/src/routes/approvals.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a68e40dadef9a5ab3c3ba56b51d974284faa90f885f461c1a2d3436397b592"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/chat-channels.ts:544 \u00B7 server/src/routes/chat-channels.ts:610 \u00B7 server/src/routes/chat-channels.ts:622 \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":"server/src/routes/chat-channels.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"10485b18115e1477116d3ebaa67dba4abd57d455a4d2a7e36b0b60111020bbe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/companies.ts:415 \u00B7 server/src/routes/issues.ts:8669 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"235f3948701047ccb879329f22420845781d4ec8fb67c76706e09a5840fa8691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/companies.ts:522 \u00B7 server/src/routes/issues.ts:19805 \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":"server/src/routes/companies.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6af1706fa53fe0feb7031e8cc23e290fa16bbcd3f5a90190531f2a9195a3f6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/company-skills.ts:538 \u00B7 server/src/routes/company-skills.ts:550 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae496f468b3e19177556c490119857fbe9be4d00f5387521b7d9f7c530e010"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10 locations): server/src/routes/company-skills.ts:596 \u00B7 server/src/routes/company-skills.ts:682 \u00B7 server/src/routes/company-skills.ts:1002 \u00B7 server/src/routes/company-skills.ts:1023 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"630ebe7c7c39c8b7d0c710628f70c12bd04603706d2d9e297860ceca21bb221d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/routes/company-skills.ts:696 \u00B7 server/src/routes/company-skills.ts:1075 \u00B7 server/src/routes/company-skills.ts:1393 \u00B7 server/src/routes/company-skills.ts:1806 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53434e7d200bd243c400a135c2c567e702993d5719327679b3e01ae332a49b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/company-skills.ts:885 \u00B7 server/src/routes/company-skills.ts:928 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"3300da031a12c4b1abcc3c10b90d99bdfc13122a9214e34b0e81872a3de96737"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1043 \u00B7 server/src/routes/company-skills.ts:1082 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fdee8592a81a784bf7f40c3b96dd82a581642caf0126e89fc39514791ff584"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1054 \u00B7 server/src/routes/company-skills.ts:1564 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c2470b9b62133dcb7c98b62012c8a8fcd9b5a16e0de31f8440f40cb93cdff1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1101 \u00B7 server/src/routes/inbox-dismissals.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":"server/src/routes/company-skills.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b9a4a901069628ab0a9baaa94fe5d5908811d94a903d476f0ebdab18eda7c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 13 locations): server/src/routes/company-skills.ts:1373 \u00B7 server/src/routes/company-skills.ts:1703 \u00B7 server/src/routes/folders.ts:35 \u00B7 server/src/routes/folders.ts:61 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06a93b1d2228edb4cde220fab26e394e9151bedb2c5512c3c8c45c77e07550"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1660 \u00B7 server/src/routes/company-skills.ts:1753 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe3d7388c2872e800cc195c5e8707fd9238a311027c231d03da18c50494adf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/file-resources.ts:474 \u00B7 server/src/routes/file-resources.ts:551 \u00B7 server/src/routes/file-resources.ts:682 \u00B7 server/src/routes/file-resources.ts:795 \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":"server/src/routes/file-resources.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"533d93a02b49f53aca06577b88ec7588d0aad596db0357ea30c6d0e5633fe8ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/instance-settings.ts:146 \u00B7 server/src/routes/instance-settings.ts:196 \u00B7 server/src/routes/instance-settings.ts:258 \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":"server/src/routes/instance-settings.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"60979423a402ca06bd5e910b21791695560852a5e6a421531a3e09386d87efd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/issues.ts:4091 \u00B7 server/src/services/chat-channels/slack/commands.ts:308 \u00B7 server/src/services/chat-channels/slack/commands.ts:355 \u00B7 server/src/services/chat-channels/slack/task-start.ts:816 \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":"server/src/routes/issues.ts"},"region":{"startLine":4091}}}],"partialFingerprints":{"codehealthFindingId/v1":"61941a2cc41afdc30ea1be4dc1eee5a98bbf90424987c10ac18c85372dc06f71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/issues.ts:4443 \u00B7 server/src/routes/issues.ts:4458 \u00B7 server/src/routes/issues.ts:4471 \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":"server/src/routes/issues.ts"},"region":{"startLine":4443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb874ec6e6a50ea06b34cf8559ecc0dab0c8e3bc64a0f52b1dbee6dbbbb083d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:8772 \u00B7 server/src/routes/issues.ts:8827 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":8772}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c768c1a7ecb1a4e3c786d8b51e4d40e2495f35bd1c6a6c7995f8099809c7ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:9094 \u00B7 server/src/routes/issues.ts:9461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9094}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c9d651c4835a7e35d6e72cadd49ce81aa8f4427cf292530b9470b7ac3ff53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:9305 \u00B7 server/src/routes/issues.ts:9488 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c23209daba29fb275537831ca1d3b76fabd1f86e5ac6239f4ac549980efea97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): server/src/routes/issues.ts:9960 \u00B7 server/src/routes/issues.ts:11306 \u00B7 server/src/routes/issues.ts:11322 \u00B7 server/src/routes/issues.ts:11336 \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":"server/src/routes/issues.ts"},"region":{"startLine":9960}}}],"partialFingerprints":{"codehealthFindingId/v1":"5624cd01d54793d73b011d98e3b1024f3e9095bd4cf22fa17dd5de4adef3cb52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 11 locations): server/src/routes/issues.ts:12109 \u00B7 server/src/routes/issues.ts:12586 \u00B7 server/src/routes/issues.ts:13234 \u00B7 server/src/routes/issues.ts:18598 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":12109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5881007059fc16189c746304272f2808d0be071aba9f0e46cc4e6be7e6b940d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:12506 \u00B7 server/src/routes/issues.ts:14019 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":12506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58c8417ef7377f626c563889ea51af0f3128a1d16a25f1d38093407f1429abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:13399 \u00B7 server/src/routes/issues.ts:13927 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":13399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca80f2ae09ac439ca3b9cbb53e3be2cdd4cddb7763d62e0439ae0f1a5fe644c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/issues.ts:14942 \u00B7 server/src/routes/issues.ts:17392 \u00B7 server/src/routes/issues.ts:19523 \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":"server/src/routes/issues.ts"},"region":{"startLine":14942}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff680502d034e3ffd7f022a889dd282a509120c96d04b645b63f251d9e4dc51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12 locations): server/src/routes/issues.ts:15545 \u00B7 server/src/services/chat-channels/github/resources.ts:119 \u00B7 server/src/services/issues.ts:11714 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:123 \u00B7 \u002B8 more site(s) not listed \u2014 the 6 copies are spread across 4 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":"server/src/routes/issues.ts"},"region":{"startLine":15545}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad2791e6b5633bbb1a2f7c0055955f957326bc8732cbaf6abc2b6cf45d19c9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:15626 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2028 \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":"server/src/routes/issues.ts"},"region":{"startLine":15626}}}],"partialFingerprints":{"codehealthFindingId/v1":"245e7d3dab8fa881393029e07dcb734533043c9023f8cb75787cfc6659da96c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/routes/issues.ts:17994 \u00B7 server/src/routes/issues.ts:19310 \u00B7 server/src/routes/issues.ts:19390 \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":"server/src/routes/issues.ts"},"region":{"startLine":17994}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa34669eb2bbe9feddfa68306979d7721d5822c8e1e9b0ac41fac1aaacc0643f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:19506 \u00B7 server/src/routes/issues.ts:19527 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19506}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35a4aae8fce0c73abc2434e38fa9b1b417bd78c4ee2103537cb59f98930af2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/issues.ts:14635 \u00B7 server/src/services/chat-github-access.ts:69 \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":"server/src/routes/issues.ts"},"region":{"startLine":14635}}}],"partialFingerprints":{"codehealthFindingId/v1":"17afce40f3c92d12077e1a4a2df43aebfc8650c9b0d6452dda4b5335647fd437"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/openapi.ts:2200 \u00B7 server/src/routes/openapi.ts:4557 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa638d782d2bb0f45c1bd0cd376b6aabc27a9e2857f5fa4f44734221e739ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/openapi.ts:2256 \u00B7 server/src/routes/openapi.ts:2269 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c30d30c4f25d9d1e27213213b7c4bf0bc3f95197d2df9301561c4677150a695"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/openapi.ts:7646 \u00B7 server/src/routes/openapi.ts:7658 \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":"server/src/routes/openapi.ts"},"region":{"startLine":7646}}}],"partialFingerprints":{"codehealthFindingId/v1":"343189d0dc35a072b9f0b14f6902c480279736374e31306c3f598fa8e433b8c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/openapi.ts:8524 \u00B7 server/src/routes/openapi.ts:8560 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8524}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6441a1e01fa0e934e1a5d125632bb40156f264b41699e0acb927ca8f004bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/openapi.ts:8608 \u00B7 server/src/routes/openapi.ts:9078 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8608}}}],"partialFingerprints":{"codehealthFindingId/v1":"2435fbe71a92efaeab0fe715a4aef5de5f3f5a05638b527011ddaedeef221e90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/openapi.ts:9178 \u00B7 server/src/routes/openapi.ts:9254 \u00B7 server/src/routes/openapi.ts:9281 \u00B7 server/src/routes/openapi.ts:9296 \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. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060registerPath(\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":"server/src/routes/openapi.ts"},"region":{"startLine":9178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0316b19b8c40abf762e6ea100e400e2087c778a9fb01c23949745d682ea2d9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/plugins.ts:985 \u00B7 server/src/routes/plugins.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":"server/src/routes/plugins.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cbfc63f9698f11ba367bfed4e833260151c5e480ebbf3ed1a5b6b1212dc66e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/routes/plugins.ts:1636 \u00B7 server/src/routes/plugins.ts:1726 \u00B7 server/src/routes/plugins.ts:2668 \u00B7 server/src/routes/plugins.ts:2720 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa049599e98036b806452ab82ae68d6156c4997d2fdc3fe8ca8525ec9ead0284"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/plugins.ts:2011 \u00B7 server/src/routes/plugins.ts:2157 \u00B7 server/src/routes/plugins.ts:2227 \u00B7 server/src/routes/plugins.ts:3053 \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":"server/src/routes/plugins.ts"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b179361ca0dc574b563cab92228741d42c9417143e648d25a5b554f4818594f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/plugins.ts:2080 \u00B7 server/src/routes/plugins.ts:2366 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"600b9c2b0a2e30372b0a9ef2cf3f997b44174cf252a042731a98cfcd7a0aded9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): server/src/routes/plugins.ts:3169 \u00B7 server/src/services/agent-action-audit.ts:86 \u00B7 server/src/services/attention.ts:977 \u00B7 server/src/services/attention.ts:2313 \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":"server/src/routes/plugins.ts"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"11deb70b460f9e20ff71182fd43a569bef35d9534a58073378a73c67034239bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/projects.ts:682 \u00B7 server/src/routes/projects.ts:723 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"1331c8a2bb626a8a5f2a94ffc93bc26919e0ca76d74e577a041c8fa53e0ef1b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/routes/tool-access.ts:1032 \u00B7 server/src/routes/tool-access.ts:1741 \u00B7 server/src/routes/tool-access.ts:1814 \u00B7 server/src/routes/tool-access.ts:2515 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"062ce54b0e94044aa0dc954aa5ceb645eacbda481065b048f517123c8afb6f0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/tool-gateway.ts:680 \u00B7 server/src/routes/tool-gateway.ts:707 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"3124620632c663b92c1b53c86270689e4bc799c1d439b0454aec14d4ff19fb6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/routes/user-profiles.ts:178 \u00B7 server/src/routes/user-profiles.ts:189 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/user-profiles.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ec021e1e045b33098df7acee37f6ef5af6dd78299ff1a4e777bb4aca5d2c86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/access.ts:600 \u00B7 server/src/services/access.ts:1210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5210b526ed13cd153a2c1d04004cee530ef6052e5516450a99f52573fa3d2917"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/services/activity.ts:277 \u00B7 server/src/services/activity.ts:291 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3097 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3111 \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":"server/src/services/activity.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98ff5564ffa2313d8722f489cc5888103d038e3e803d862c322167f4953f075"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/activity.ts:673 \u00B7 server/src/services/built-in-agents.ts:1640 \u00B7 server/src/services/environments.ts:1352 \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":"server/src/services/activity.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aabcecd177e601f2ca645ff08b466de8a316e2c97e964482dca174268cc6498"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/agent-instruction-authorization.ts:117 \u00B7 server/src/services/chat-github-registration.ts:101 \u00B7 server/src/services/chat-github-wizard.ts:145 \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":"server/src/services/agent-instruction-authorization.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a57dd5a8ea6955ec15c63b891a4984df7bb22c01abf725b73591d27a5be240"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/agent-instruction-authorization.ts:139 \u00B7 server/src/services/agent-instruction-authorization.ts:159 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-authorization.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87f09506f8c1ebd1f3eb61887bad7b04db4e7b7e3c5da3cf6d8f0250ba3e366"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/agent-invokability.ts:123 \u00B7 server/src/services/attention.ts:1874 \u00B7 server/src/services/issue-thread-interactions.ts:3874 \u2014 the 3 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-invokability.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74f92434debcbf22bf888a9be68c248d0b25d897501d1e3c8f84ffd5ba3a61c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/ai-connection-runtime.ts:499 \u00B7 server/src/services/issue-thread-interactions.ts:4027 \u00B7 server/src/services/issues.ts:14304 \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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9697403bf2fba783d945dbc483aaced5425ff6a4f0ea0394d6c26340bca3791f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/ai-connections.ts:787 \u00B7 server/src/services/issues.ts:6766 \u00B7 server/src/services/issues.ts:8683 \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":"server/src/services/ai-connections.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1b39c8e52bcaba47d6b2c6db8f97daa85dbbaa1a4ee7e3d6b8d3461da3fd51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/attention.ts:1029 \u00B7 server/src/services/attention.ts:1065 \u00B7 server/src/services/attention.ts:1092 \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":"server/src/services/attention.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"24142b58e23e5b78c0ceabcc94dc357e34ac987bdf8eefa76eacc3d3b2b092ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/services/board-auth.ts:326 \u00B7 server/src/services/heartbeat/run-state.ts:1122 \u00B7 server/src/services/heartbeat/run-state.ts:1235 \u00B7 server/src/services/issue-approvals.ts:14 \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":"server/src/services/board-auth.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45909029decc55cd303661aa54ce48c74857e41cbae05cb889c7995a0a1642b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/board-auth.ts:373 \u00B7 server/src/services/issues.ts:13193 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/board-auth.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb119794396110ea4f789c98bbadf589750efb05474c76cfb4ee89d5940994e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): server/src/services/chat-channels.ts:800 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:435 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:559 \u00B7 server/src/services/chat-channels/microsoft-teams/file-resolution.ts:21 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a9b6b8d1d08b304febd9f55c06092eff135cbeb666dfb44e7bc887a701e377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2001 \u00B7 server/src/services/chat-channels.ts:2106 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"621617ce89e03f26d41bade29f446955509a9937dfb8a6308f8871423f707356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2797 \u00B7 server/src/services/chat-channels/inbound/lifecycle.ts:382 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":2797}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38ce4866ceaa1c167a1d222ab33db1b91c6b52a8178749676ed61fff7f81bb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels.ts:3373 \u00B7 server/src/services/chat-channels/identity-links.ts:364 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":3373}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cd9d8f749bbd9798f646f1053a4cabccce03e9198c5e7a61499833784e9f27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/configuration.ts:114 \u00B7 server/src/services/chat-channels/endpoints.ts:387 \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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"938c1dba5787a81f1def9cc163617e9b632fe97424455a8205e5fcf5556c76cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/credentials.ts:355 \u00B7 server/src/services/chat-channels/credentials.ts:467 \u00B7 server/src/services/connection-credential-bindings.ts:12 \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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66658fe4703e0770f631c255f4f2308ae344850c2a182483daad954493ce632"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/credentials.ts:434 \u00B7 server/src/services/chat-channels/credentials.ts: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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f08c2f179a372d6eb5877ac7bb15fd3cad93a241dd621ff4be5ac9c235f6ff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/services/chat-channels/discord/commands.ts:120 \u00B7 server/src/services/chat-channels/discord/commands.ts:140 \u00B7 server/src/services/chat-channels/discord/runtime-reconciliation.ts:79 \u00B7 server/src/services/chat-teams-file-publication.ts:139 \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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"36416b4409e2eb6830ad27c3c0190814143c4f2a3727741107b600d7d5eb8b19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/discord/commands.ts:314 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts:163 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b0da95005f18f32bb77b980918d9986b317baf3afcc16611f995af7d359138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/discord/commands.ts:340 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:209 \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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f65c244ed9a5db6cc461420e029bcfb8c118d155ed640982702eac725010a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): server/src/services/chat-channels/endpoints.ts:256 \u00B7 server/src/services/chat-channels/endpoints.ts:293 \u00B7 server/src/services/heartbeat/queue.ts:3754 \u00B7 server/src/services/heartbeat/retries.ts:1081 \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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a1f5ce4fbd8240a057593381ce9f3b207d93deaf804781b4956684b7f65428"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/github/webhook-ingress.ts:316 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:348 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts:347 \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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"81067e9008002e29335151d78b7aa053b98461dc2dc9b418d33b0dda0fb0962d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/github/webhook-ingress.ts:603 \u00B7 server/src/services/chat-channels/receipt-reactions.ts: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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9705db54238999519e5abb9e36feeb9a3205fb505fac3e706ce0f3b4842339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/github/webhook-ingress.ts:768 \u00B7 server/src/services/chat-channels/provider-effects.ts:616 \u00B7 server/src/services/chat-channels/receipt-reactions.ts:208 \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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b146bedae783edea5701ef40dd16e40b25fe480f47d23ec785568b124796eb01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/identity-links.ts:28 \u00B7 server/src/services/chat-channels/identity-links.ts:96 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb885407f361ed302acd1edeebf2df6426a328055da2d916c8294992315ce274"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/imessage-photon/destination-admission.ts:8 \u00B7 server/src/services/chat-channels/microsoft-teams/destination-admission.ts:11 \u00B7 server/src/services/chat-channels/telegram/destination-admission.ts: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":"server/src/services/chat-channels/imessage-photon/destination-admission.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e32decfcad057675589946698ba5196aefef698f76f9bd1f7f725113d6e486"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/services/chat-channels/imessage-photon/events.ts:434 \u00B7 server/src/services/chat-channels/imessage-photon/events.ts:558 \u00B7 server/src/services/chat-channels/inbound/conversation-binding.ts:42 \u00B7 server/src/services/chat-teams-file-transfers.ts:486 \u00B7 \u002B1 more site(s) not listed \u2014 the 4 copies are spread across 4 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"298b21d9f0172506450945ecab8d6ad9d3bea0eb1d4508e8a2477dbf6286c08a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/services/chat-channels/inbound/wakeup-authorization.ts:85 \u00B7 server/src/services/chat-native-progress.ts:227 \u00B7 server/src/services/heartbeat/run-preparation.ts:2060 \u00B7 server/src/services/heartbeat/run-preparation.ts:2083 \u00B7 \u002B1 more site(s) not listed \u2014 the 4 copies are spread across 4 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":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90b968928386531f98baee84fcd076abe89f2238a46ad8751df35f3f3ad9033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/callbacks.ts:1390 \u00B7 server/src/services/chat-interaction-publications.ts:587 \u00B7 server/src/services/chat-interaction-publications.ts:819 \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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfc63c806ebc9c08b388ff569680133b1d744c6054a17ba7c38dc3c2662c17e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/provider-effects.ts:492 \u00B7 server/src/services/chat-channels/publications/failures.ts:271 \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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"87249b3c93bb1c5d5b3837ec5f4ee1206ad0a82d23b43e438d710c1dfb54b394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/provider-effects.ts:599 \u00B7 server/src/services/chat-channels/telegram/maintenance.ts:221 \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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c95bcb49c3fcf74b4033dd01e9e34438a70c25a813646a8290e13cf2244e7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/publication-replacement.ts:303 \u00B7 server/src/services/chat-control-recovery-stop.ts:560 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a47139d4a15be51816996be6adb79a7d5e7975905340f79513ddd36742c6045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/publication-replacement.ts:447 \u00B7 server/src/services/chat-channels/publication-replacement.ts:649 \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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f790d8244427c8099044ddc5c3598e49abc1aa9dfa3ae7a71af1661b351e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/publications/worker.ts:625 \u00B7 server/src/services/chat-channels/publications/worker.ts:733 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1546c6f03e4019a14de46b36dd925a1192d3d97b38aa1b900c776d556c2ed73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/receipt-reactions.ts:318 \u00B7 server/src/services/chat-channels/receipt-reactions.ts:457 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59d4a331bc182d7fef6a48aa13d851edc864696a5bbe4c20b995590db52f6c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/runtime/ownership.ts:56 \u00B7 server/src/services/chat-channels/runtime/ownership.ts:175 \u00B7 server/src/services/chat-channels/runtime/ownership.ts:224 \u2014 all 3 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":"server/src/services/chat-channels/runtime/ownership.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc525b6fa5ecfab4db35c493ad303de79f1bddcf558fee0bae3d8f1eb5060630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/chat-channels/telegram/publication-drafts.ts:400 \u00B7 server/src/services/issue-thread-interactions.ts:2533 \u00B7 server/src/services/issue-thread-interactions.ts:2837 \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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"96183a1d8377bc842fc3be1f25fffcad765720be32f946a7d3b9cb65277af4dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/publication-preparation.ts:48 \u00B7 server/src/services/chat-channels/telegram/publication-preparation.ts:130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/publication-preparation.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"247b0d211756f8c85355fc8b1fa79592450b65be68b74d185ac1e4f1bd2d1a8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-control-recovery-stop.ts:400 \u00B7 server/src/services/issues.ts:819 \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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dda656f5866ee4dab6b8c4df89152004a57904115f99761a2ad4859198a006"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-credential-mutation-lease.ts:112 \u00B7 server/src/services/chat-credential-mutation-lease.ts:180 \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":"server/src/services/chat-credential-mutation-lease.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b1a92d015602762eeb48782f5fd548c0aabc59803fee2e80a400138d5020cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-github-client.ts:116 \u00B7 server/src/services/connectors/slack-client.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":"server/src/services/chat-github-client.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3339a09e27a9580232ba300c401343ae471d5cbef25ab5a5a910e2426211ffb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-run-publications.ts:67 \u00B7 server/src/services/native-runtime/native-provider-artifacts.ts:905 \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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b78460b0b0df3388237107a399ba7a014b6cf6f566345ec3367fab32a47dda7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-teams-file-publication.ts:179 \u00B7 server/src/services/chat-teams-file-publication.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":"server/src/services/chat-teams-file-publication.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1a51bd149336f45d9cfe63ec79009cd4670595d059209e7113748958459df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/chat-teams-file-transfers.ts:256 \u00B7 server/src/services/issues.ts:13788 \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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8510acf786fd404bdb190547881aaa802956a7f201dde155cee23933a5f012f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/companies.ts:353 \u00B7 server/src/services/companies.ts:514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/companies.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98c0f076c40bf019f862fe931984f26543eb86233f151e6f8961e469435d2a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/company-artifacts.ts:202 \u00B7 server/src/services/issues.ts:13946 \u00B7 server/src/services/issues.ts:14860 \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":"server/src/services/company-artifacts.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfde05ddcbcbb04deff29ed939e6daf937f8665af46c145e6618057fe6e4e1e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-portability.ts:646 \u00B7 server/src/services/company-portability.ts:666 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc25f65c3e21533a977b3d28518b98f27b99d569a4d78a245ed720ef765ae5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-portability.ts:2901 \u00B7 server/src/services/company-skills.ts:786 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"a750180c770206bf049da9c78e3cd11d2e03e2404f3796abbd3b352458c4c395"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/services/company-portability.ts:3240 \u00B7 server/src/services/company-portability.ts:3300 \u00B7 server/src/services/company-portability.ts:3400 \u00B7 server/src/services/company-portability.ts:3442 \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":"server/src/services/company-portability.ts"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bbd2c08d8a4cd52285061d15b349f0b27cbe6e25bd2bd4b9654b215cc4a2ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-portability.ts:4960 \u00B7 server/src/services/company-portability.ts:4975 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4960}}}],"partialFingerprints":{"codehealthFindingId/v1":"db03efd8e8be78023210c46218c548f46b32df4d12bab15ecc9f169ceca7b96b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-skill-policy.ts:227 \u00B7 server/src/services/company-skill-policy.ts: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":"server/src/services/company-skill-policy.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc67ef4f4b5a1a38bfd5dbed87b9a648bd8e83261e67a9654f0b0a15c743082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-skills.ts:4726 \u00B7 server/src/services/company-skills.ts:4848 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4726}}}],"partialFingerprints":{"codehealthFindingId/v1":"73351422928cd7168efb4422b75ce75ad2950cf8bba4567a6404c4a7f7db1f68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-skills.ts:6632 \u00B7 server/src/services/company-skills.ts:6708 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":6632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec151114de909a1a2fcfc2e70e6b90c431ac76b255dd485cb4ee747a02c89ee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/company-skills.ts:6653 \u00B7 server/src/services/company-skills.ts:6668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":6653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe9585eceef6ed9a147c0ceb6fc0d78035b5ac1c4e4b724decb21e2b5b92353"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/connectors/braintrust/risk.ts:36 \u00B7 server/src/services/connectors/circleback/risk.ts:36 \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":"server/src/services/connectors/braintrust/risk.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efefc6f017b5a38a058f12f50c3b24e5327e86de81805d6e8ea57ddd95dd2e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): server/src/services/decision-queues.ts:192 \u00B7 server/src/services/document-annotations.ts:129 \u00B7 server/src/services/document-annotations.ts:150 \u00B7 server/src/services/document-annotations.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":"server/src/services/decision-queues.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f19e17761af41f5bcdca108a1ec159c60828bd503e52f086678c4aa8e394b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/documents.ts:767 \u00B7 server/src/services/documents.ts:818 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"108dcbaf76c4e14aff208a6e81986c5528b1fad8b6669929ffa2764befda2fa4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/environment-custom-images.ts:615 \u00B7 server/src/services/environment-custom-images.ts:638 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dccee45723a3ba569f5faed32ec4b197ff065eae8569462076a4be5fbd2c6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:608 \u00B7 server/src/services/local-service-supervisor.ts: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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"250ad4a914e23ca7107da0d1133d8dd2454eba2d9916b08da2ee2c3fbbae2c4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/feedback.ts:526 \u00B7 server/src/services/feedback.ts:645 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e418f1c1399f4a84a75c2d6c0166de7efa7e8efb1aa3719139f5f1f1becdc94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/feedback.ts:1610 \u00B7 server/src/services/feedback.ts:1620 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce200ddcd45672b56bc7c1d5e82aa44be97ee0d96c0971fab88f9ebc1dc2a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/feedback.ts:1763 \u00B7 server/src/services/feedback.ts:1873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"22acdc3f6bc0caddf8144489661f1126f24fa2d4e051f06cf8ceb2d19f4d500e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): server/src/services/heartbeat/queue.ts:326 \u00B7 server/src/services/issues.ts:3866 \u00B7 server/src/services/issues.ts:5527 \u00B7 server/src/services/issues.ts:7773 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b9075ba9862e1fc214b895205553f04a2dec2e726029f262a911ee539def9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/heartbeat/queue.ts:1525 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:130 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1716 \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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e9cb6b71b5ca3d1e327ddc8c197f5774a74911f0f6796272eba3d4c99a03e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:2110 \u00B7 server/src/services/heartbeat/run-control.ts:888 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"233201c10c35914f9de933de90c0023d8b144b728e499ee4d7207e14701956f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:3773 \u00B7 server/src/services/heartbeat/queue.ts:3835 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":3773}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b135345f70ad59ddf41173424e7d6699f3a30da08b93c972f7ec93235f9b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:5116 \u00B7 server/src/services/heartbeat/queue.ts:5428 \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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ef6902b42a08c1b1be7a52ccfe27e6f2cc824791743949f144a2f6625b7fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/reattach-phase.ts:134 \u00B7 server/src/services/heartbeat/reattach-phase.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":"server/src/services/heartbeat/reattach-phase.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b186fa6eb312012b34d863e8b22cdb25dbc047285d158a881708df389d58e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-control.ts:1093 \u00B7 server/src/services/heartbeat/run-control.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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7727486f55ca50fc35fd78ee99d55639068c31536b38436fb0bbacbdccbc052"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/heartbeat/run-lifecycle.ts:852 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1581 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1783 \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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acc7cc720bfdbd03481dfef16358ef35d71cbebec4a0fa4fd012820e6332f8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:2787 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2847 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d79cab17396d0c0ea8dce341a25c037886bed1e269da03fff15daf530a76a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/heartbeat/run-lifecycle.ts:3088 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3101 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3115 \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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"07314068d644be67e3638e710b809f5840d179f8ebc82cae273bba99792fbe41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:3104 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":3104}}}],"partialFingerprints":{"codehealthFindingId/v1":"004b165a9b33d6aeec4bb6aca84419436f2aabab19286fd6e01f476bd15ab1cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:3178 \u00B7 server/src/services/heartbeat/run-state.ts:1664 \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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee9fb42c5a59b2c333b10dc536aae7a79c17856b25ca56d0ff7fa7d53ab03f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:151 \u00B7 server/src/services/heartbeat/workspaces.ts:126 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5616202f98b1f8a717ef4d1e858ba96abceb146c40a8525f85ac87de6e4f95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:2171 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:921 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d22ed0dff6af4336e139c591646a3e42a901cb38c462a5f4cb6d8b9024fdf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-state.ts:386 \u00B7 server/src/services/issue-run-presence.ts:44 \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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"485e412dad5d4553aa3544ab89acede46365a014c74e06f1b028e03f3bb0b130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/run-state.ts:1908 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:2237 \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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"d971bc991b2aebbcb7eebdd81020ce92f984f15e9ee8c58a401e13eae1e97ae7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/runtime-selection.ts:628 \u00B7 server/src/services/heartbeat/runtime-selection.ts:642 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"9868d2a7570b9688534bfc58a8ab9f9b6d7c043aa01430d521b9104a07caf9da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/heartbeat/workspace-preparation.ts:1514 \u00B7 server/src/services/heartbeat/workspace-preparation.ts:1582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb7ed4a60b560d81304995a2b004d5d326440789ec8c5c4007b27d566e5823a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/interrupted-preparation-hold-settlement.ts:43 \u00B7 server/src/services/native-runtime/completed-turn-cleanup-hold-settlement.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":"server/src/services/interrupted-preparation-hold-settlement.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0871e38cd72aac9845d92a8fd2deb0a24a44b54766daf54f1468ac1520638a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/issues.ts:3606 \u00B7 server/src/services/issues.ts:5745 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3606}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b47330589a5fc25a95fa1a0f7ed7b404eb0c2635672c2fc1c4c5437f65bf237"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/issues.ts:4924 \u00B7 server/src/services/issues.ts:6167 \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":"server/src/services/issues.ts"},"region":{"startLine":4924}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a69bab9d37fb1b12bd87ef7db72e86cfb2b931a3beced8934e57a7339eab4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/issues.ts:5445 \u00B7 server/src/services/issues.ts:5458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":5445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d10b6a47cf8a18f4eea6d10d388334304b89d442eb3ace7610efb61053cab71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/issues.ts:8993 \u00B7 server/src/services/issues.ts:9017 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8993}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f684b301e76d0961613dc9d3b9393eed1380e0ef051125f776946803890a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/low-trust-runtime-containment.ts:50 \u00B7 server/src/services/low-trust-runtime-containment.ts:93 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/low-trust-runtime-containment.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a9a10d4c19458f4c6a0445a1aae099d680413a336b1de6d27fbfe67d2da1a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/current-wake-comments.ts:287 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:651 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cef7a4c391305c7dc029fbb4b6efc54b8b3b36a71014c793f5a0d9d47057cc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/failed-before-provider-turn.ts:46 \u00B7 server/src/services/native-runtime/predecessor-retirement.ts:40 \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":"server/src/services/native-runtime/failed-before-provider-turn.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"678d1ddef9c5fa1b8f2e19deab657ccec48bb1f38d31d729dc626cc89f14d72c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/native-accepted-result-lease-settlement.ts:56 \u00B7 server/src/services/native-runtime/native-token-lease-settlement.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-accepted-result-lease-settlement.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e729abd21a967c24b0edafdffc2b2794e25421f4a5fd49b66626ca60efcb93ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:116 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:186 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea24284352607065daf41977896af4f89128d8e0902ac85b753305a961b25f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:264 \u00B7 server/src/services/native-runtime/native-response-wake-wait.ts:73 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d3473cbcfc0ec4e249dbb8e086d8e9c4e2d7eb822677fed3991f3803e9a515"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): server/src/services/native-runtime/native-board-response-wait.ts:426 \u00B7 server/src/services/native-runtime/native-response-wake-wait.ts:59 \u00B7 server/src/services/native-runtime/native-response-wake-wait.ts:125 \u2014 the 3 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5666385bdd9fb4f96a12800595d57eca04eeff79f0c0291907f5e5aac2f8f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/native-review-response-work.ts:79 \u00B7 server/src/services/native-runtime/native-status-reassessment-work.ts:108 \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":"server/src/services/native-runtime/native-review-response-work.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb80cb8523664558d3e7d697df06abb70cf8c918bde24f4abf9850ed49bbe5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:14433 \u00B7 server/src/services/native-runtime/native-session-executor.ts:14553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14433}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d0fefa56e07e54ad14ab7ad753b3113f0f5c37caaaf5cdc1dd8f9c4d756de0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:14962 \u00B7 server/src/services/native-runtime/native-session-executor.ts:15087 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14962}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b09dcfbfb775ae223b4194d1fc940fb8a3146c72ea6cf1e0ea6649b12a4064"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1802 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:3209 \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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d996c739ec838e96c449336c85f5074df128115c1ada63e3848a949f11d64b21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/checks/secrets-check.ts:86 \u00B7 cli/src/config/secrets-key.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":"cli/src/checks/secrets-check.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e2e2d73ad1ef11a4868dc1348f6427e1344d0911ada7b08bfc3714322c8c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/checks/secrets-check.ts:104 \u00B7 cli/src/config/secrets-key.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":"cli/src/checks/secrets-check.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca48d9ea96c2c4c0fa808081188550a497bf62e5abf84406713abf42ef7336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): cli/src/commands/client/access.ts:440 \u00B7 cli/src/commands/client/access.ts:454 \u00B7 cli/src/commands/client/access.ts:483 \u00B7 cli/src/commands/client/access.ts:497 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"6696f0c98bcce98c095c1950299895974f83ef739bc717757faa4aceb764aa67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 19 locations): cli/src/commands/client/company.ts:1500 \u00B7 cli/src/commands/client/company.ts:1542 \u00B7 cli/src/commands/client/context.ts:87 \u00B7 cli/src/commands/client/feedback.ts:81 \u00B7 \u002B15 more site(s) not listed \u2014 the 9 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":"cli/src/commands/client/company.ts"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"01588602c983b5b80d13c719fafb9964b929f5b5f15c091ab7b2082e541d6e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): cli/src/commands/client/dashboard.ts:17 \u00B7 cli/src/commands/client/goal.ts:42 \u00B7 cli/src/commands/client/project.ts:51 \u00B7 cli/src/commands/client/secrets.ts:368 \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":"cli/src/commands/client/dashboard.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669e2054aad5fe703d2958291a618eb4c6ecde5f41a38565d76c246a26989d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): cli/src/commands/client/skill.ts:93 \u00B7 cli/src/commands/client/skill.ts:113 \u00B7 cli/src/commands/client/workspace.ts:167 \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":"cli/src/commands/client/skill.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fc9f9281c484ba39ae8a35782a92182d982a5a3b0ca9b8b23efa4464e4b698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): cli/src/commands/client/workspace.ts:204 \u00B7 cli/src/commands/client/workspace.ts:260 \u00B7 cli/src/commands/client/workspace.ts:286 \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":"cli/src/commands/client/workspace.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d1914287c9148903be31cb6be94334a942ad12a2942e140afff1ed91a5a0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/commands/worktree-merge-history-lib.ts:255 \u00B7 cli/src/commands/worktree-merge-history-lib.ts:265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a9ea05629adc1d2017e3b3a58edfb404dd9e227cc9becc1337926122bec3c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/commands/worktree.ts:2723 \u00B7 server/scripts/prepare-runner-vendor.mjs:68 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20faf7d2ed5217813030422f04ffc728df071ad332016de028441ecdc6ef3c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): cli/src/commands/worktree.ts:3743 \u00B7 cli/src/commands/worktree.ts:3754 \u00B7 cli/src/commands/worktree.ts:3817 \u00B7 cli/src/commands/worktree.ts:3886 \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":"cli/src/commands/worktree.ts"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d269b5eafe39f4d0bfe467b9190762aff52a9900d39a41c2f57353d50376c9b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): cli/src/config/store.ts:160 \u00B7 cli/src/config/store.ts:179 \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":"cli/src/config/store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b12ef24ca1c16f9d8d3b482bdaa333b42ba723a7f2f4a2cbb40f86cc417ba92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): cli/src/prompts/secrets.ts:72 \u00B7 cli/src/prompts/storage.ts:55 \u00B7 cli/src/prompts/storage.ts:82 \u00B7 cli/src/prompts/storage.ts:96 \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":"cli/src/prompts/secrets.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fafa448d284b43eaf209e4ac51394cd1e7d0c371bfca4338616c695f992d4a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): cli/src/services/service-manager.ts:216 \u00B7 cli/src/services/service-manager.ts:293 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/services/service-manager.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e727a9837692500a323f62131e3b8697d9df5ced3a9e4c5c5ff98ba7e98575f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts:117 \u00B7 packages/paperclip-runner/src/drivers/acpx/provider-failure.ts:61 \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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022e20f566216b5ba636605213df385ae928e569deffa8a2f2376e6d943d3f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/command-managed-runtime.ts:408 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:679 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c271f77eb8edae471877ed9c959769778b89bb0ed9af2d732d6649b8def6ae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:2682 \u00B7 packages/adapter-utils/src/execution-target.ts:2697 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"187454d88787a94d3490a8f0a5b2932b28fbb2c65375a99e112d793b6111db5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:3462 \u00B7 packages/db/src/test-embedded-postgres.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/adapter-utils/src/execution-target.ts"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"583f4d4b2a3931c632eccfc9b17ff19a23cf33231c0f0847d1d5fe5ee6a16fd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:1092 \u00B7 packages/adapter-utils/src/ssh.ts:983 \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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a669ccfb76b9571f59b64b40e816b907fa04890b7e8254c6fbaa568bb4b6c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/sandbox-managed-runtime.ts:868 \u00B7 packages/adapter-utils/src/workspace-restore-merge.ts:137 \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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b7ed84edb8541c7e560faff9d5b1b697b03a609e0b9038806a779122c5eac6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:872 \u00B7 packages/adapter-utils/src/server-utils.ts:1299 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"2772b18472cd4513a4d22ef8061d2bce4ae357f5f1a54b73ca2ea34c46128255"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): packages/adapter-utils/src/server-utils.ts:905 \u00B7 packages/adapter-utils/src/server-utils.ts:950 \u00B7 packages/adapter-utils/src/server-utils.ts:999 \u00B7 packages/adapter-utils/src/server-utils.ts:1073 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea3365c216e554915545f0a1a88d3dbcb46ce480434de80d15f15b6c686468e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1312 \u00B7 packages/adapter-utils/src/server-utils.ts:1625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"26667e83eb006609edcfbe3377357d52a089a04ce7920ff272e6f44668369c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/session-compaction.ts:116 \u00B7 server/src/routes/agents.ts:2150 \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/adapter-utils/src/session-compaction.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf5be9f7cef60c7241f8e9f645ba8e91412a1343922eb09caa9309a94123ebe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:69 \u00B7 packages/adapter-utils/src/ssh.ts:1332 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/ssh.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"82913bea26cc9a13f03ea7e57a1a24300c1ec6de24abf26f4a31b7e2d417f61c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:1204 \u00B7 packages/db/src/test-embedded-postgres.ts: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":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e84e077bd1e927935dfca4924c500ca6f1afa39ea7a26e34e53d9486e7087da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/adapter-utils/src/workspace-restore-diagnostics.ts:106 \u00B7 packages/adapter-utils/src/workspace-restore-diagnostics.ts:228 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a464b44d90d68b6ebade1600f5645ea2b641e9a0ad3b37a3cea0528c776ae3e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/claude-local/src/cli/format-event.ts:67 \u00B7 packages/adapters/claude-local/src/cli/format-event.ts:94 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ed0be4699681bf1e3a7008ee945b16d8ea4783dc0fbf5202741a1ab9b14aa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:587 \u00B7 packages/adapters/codex-local/src/server/execute.ts:1114 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f71e371853cdefdaf6e15570e668a7bb2c7f107f14b1183731ecc7a76d1085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/parse.ts:287 \u00B7 packages/adapters/claude-local/src/server/parse.ts:549 \u00B7 packages/adapters/claude-local/src/server/parse.ts:573 \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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4f45ee95138424434d945ddea75756316f86827a1687132b6f643bb104bdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/quota.ts:112 \u00B7 packages/adapters/codex-local/src/server/quota.ts:125 \u00B7 packages/adapters/cursor-local/src/server/test.ts:65 \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":"packages/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"91673f7bbe85e17eecfdd7504030881ff6c52089cd117d711e92ecde840536a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/quota.ts:264 \u00B7 packages/adapters/codex-local/src/server/quota.ts:228 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e104e86a6fde2faf603e7485f7804ed3a1c12cce8ada9eab1b90bf692b0790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/setup-token-runner.ts:158 \u00B7 packages/paperclip-runner/src/drivers/acpx/claude-tool-use-admission.ts:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/setup-token-runner.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"509e8cddcfefb65e5931df48156da4e0a749c2013c122dc5944c225ed6dba09f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): packages/adapters/claude-local/src/server/test.ts:48 \u00B7 packages/adapters/codex-local/src/server/test.ts:45 \u00B7 packages/adapters/cursor-local/src/server/test.ts:30 \u00B7 packages/adapters/gemini-local/src/server/test.ts:32 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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/adapters/claude-local/src/server/test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8b444fe3779d58f4b1cd732c50c8157f18a0288fb40d2d7e2dce68fa01cd77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/adapters/codex-local/src/cli/format-event.ts:189 \u00B7 packages/adapters/codex-local/src/cli/format-event.ts:211 \u00B7 packages/adapters/cursor-local/src/cli/format-event.ts:297 \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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e8139c4d1bfc7270eb9c61484db734ed689726e6352394197253a812fd242d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:594 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:201 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b6004ffeab7c1dfa1746594a38bc8953a15260eb6bca97686d573989335bc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:1607 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:751 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"858fa1b67a01b12bdb733fb97ec940313752f322b2c36addcc09538fab1c1340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/parse.ts:87 \u00B7 packages/adapters/cursor-local/src/server/parse.ts:161 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:186 \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/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e847366aae12bc105817feffa2ce9cd3335322a950bbd438fe9476ea5eb756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): packages/adapters/codex-local/src/server/parse.ts:131 \u00B7 packages/adapters/cursor-local/src/server/parse.ts:197 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:214 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:226 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"013421b2d9c90b4d93b2f1f05ced354415c80526ce57736dd3a9b30f67f92062"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/codex-local/src/ui/parse-stdout.ts:42 \u00B7 packages/adapters/cursor-cloud/src/ui/parse-stdout.ts:20 \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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"43121d973e4c5afefb734a13adedf53399f5e38202da4dd79010971d0a938de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/execute.ts:613 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:541 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d8bc98ae020aaad0415bd5c1ca01c64cb0a287ba1b9be67c47254935ace42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/grok-local/src/server/adapter-auth-promotion.ts:262 \u00B7 packages/adapters/grok-local/src/server/adapter-auth-promotion.ts:294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/adapter-auth-promotion.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4afd7e3b805045449896504315f45309ad61fb9f75b7ff6ed9f50e16c025e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/grok-local/src/ui/build-config.ts:8 \u00B7 packages/adapters/kimi-local/src/ui/build-config.ts:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/ui/build-config.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8a1071273fb4353f2b51b29e5980e30b23142c673b1246181e723b6385580c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/kimi-local/src/ui/build-config.ts:8 \u00B7 packages/db/src/runtime-config.ts: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":"packages/adapters/kimi-local/src/ui/build-config.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"11754fdc6b3a82e0a76be8fd8fc1ae7f014b22b5982e2356bf93a58c6eb19c5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/pi-local/src/cli/format-event.ts:53 \u00B7 packages/adapters/pi-local/src/server/parse.ts:118 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/cli/format-event.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fe9409dbe45f65b68c2f130c5d63e4498389eed46fde3eb9b3eadb0e8d5758"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/adapters/pi-local/src/cli/format-event.ts:65 \u00B7 packages/adapters/pi-local/src/ui/parse-stdout.ts:190 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/cli/format-event.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"390acd6aa77587cc17ca94cf9e85817ff9c36b155d5e586c69b7ae52fc908db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/adapters/pi-local/src/server/runtime-config.ts:125 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-provider-config.ts:107 \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/adapters/pi-local/src/server/runtime-config.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeed887119c26f8b22f011992533a652ba55b0bf328a21c8cb6e3ea2aef4a23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/db/src/client.ts:353 \u00B7 packages/db/src/client.ts:366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd8e544f05f042da9c518e35ba6ea64d4ec331994bec8f0383379ebed5c9641"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/db/src/schema/heartbeat_runs.ts:89 \u00B7 packages/db/src/schema/workspace_operations.ts:35 \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/db/src/schema/heartbeat_runs.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"570d42229eba582d4d1804a8f33a145e4f02d62f51b5353a1759e9b7ce5357a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/db/src/schema/plugin_database.ts:24 \u00B7 packages/db/src/schema/plugin_database.ts:51 \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/db/src/schema/plugin_database.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a64729511815236a8cadd8888fd43100b3d75b04cff4e87ca35c30eaa107f3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/db/src/schema/tool_access.ts:711 \u00B7 packages/db/src/schema/tool_access.ts:772 \u00B7 packages/db/src/schema/tool_access.ts:1101 \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/db/src/schema/tool_access.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"379755f2e85a39e5177a2b8bd0f39f5a279bc6fc28336508a5cc8e926eada6e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/kv-demo-mcp-server/src/main.ts:11 \u00B7 packages/kv-demo-mcp-server/src/tasks/main.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/kv-demo-mcp-server/src/main.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7e1d9f09253ded79fbd96a7e37038906ac29780e214982582494d991994ed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/message.tsx:35 \u00B7 packages/paperclip-runner/src/react/components/message.tsx:192 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/message.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"495fab1f379a7d1698dde86a8cdd498e8d144416186325e0d0cc8ef30d38e28e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx:505 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx:523 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx:537 \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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb02df93ede4ad6a255d0f8fc068e14179e8c7395d8067444cb68830aa003bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx:528 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx:542 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx:602 \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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"df54c81cf05242d15b64862ac30721509b91967d4808ec218df352a21eaf5537"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/scripts/build-copilot-distribution.mjs:73 \u00B7 packages/paperclip-runner/scripts/copilot-inner-distribution.mjs: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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49c6d19412ab99b595cc6636492bcf2d531a43224095dbbdf11f66862277a5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/scripts/capability-issue-thread-server.mjs:383 \u00B7 packages/paperclip-runner/scripts/live-console-browser-server.mjs: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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9330e5cd051b67a334127a453c167e82a46296e83ea6ab922383d7df12d7deb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs:63 \u00B7 packages/paperclip-runner/scripts/kimi-provider-pack-smoke.mjs:61 \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/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc3cdfafd1d0baf7dfb9ecc62e86590a680ca6c5880f00d383866f9cf3e9155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/scripts/generate-protocol-manifest.mjs:118 \u00B7 packages/paperclip-runner/scripts/generate-semantic-action-catalog.mjs:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/generate-protocol-manifest.mjs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0741ff0c9d74c8f6fcfdb1d12daa09a6f2a3cc6de421949349cbbb5fb22d9095"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/scripts/protocol-contract.mjs:604 \u00B7 packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts:325 \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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e076d80f112e0fb0805537072bc753997e6b535996aec36c5409b219f91f064"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/protocol-contract.mjs:650 \u00B7 packages/shared/src/telemetry/client.ts:30 \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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"abae4d44bc46af1b0752fea3d887438f5ce1283a029ca438c1020dc22d190fd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/qualify-cursor-mode.mjs:8 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-native-usage.mjs:9 \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":"packages/paperclip-runner/scripts/qualify-cursor-mode.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fed756f62c7b3dad689bebd1bd2b0f191033af70a2eebfb9a2c717369916265"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:1791 \u00B7 packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts:353 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts:96 \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":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"908d43287f785c13ab0180bd624fcf5afb7b917e7c9fba7ca0d511fb21ea1199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts:19 \u00B7 packages/paperclip-runner/src/cli/eval-observability-runtime.ts:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"68143e329ada71f50e024fac639eb530566df9f0ff07a1a00efa224c33e352e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts:77 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:40 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts:7 \u00B7 packages/paperclip-runner/src/provider-events.ts:160 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74d9f95efb1043212b9967f5f375f11bec0a3159eae540597aebb54f64ffe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/native-execution.ts:1007 \u00B7 packages/paperclip-runner/src/contracts/native-execution.ts:1056 \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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ed0ac67363a3103b6167f7e95bf8b4359bf95fcd90c47edf56ab90224fb045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:1653 \u00B7 packages/paperclip-runner/src/control-plane/private-state-file.ts:4 \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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65dbb28a5437269e0a60cf91fab21e7cfcd91f820bf320f1618a1233266e297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts:350 \u00B7 packages/paperclip-runner/src/governance-events.ts:32 \u00B7 packages/paperclip-runner/src/live/evidence-redaction.ts:123 \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":"packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf9b6c81211e7a4f38c0a4d0b9627f9a4f2d47c1f1c495b20b8b1b5282a7053"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts:62 \u00B7 server/src/services/native-runtime/antigravity-runner-credentials.ts:204 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0a0aeec89f74878151527de69e1c26645aa6c7f680b6289d92dc1a430a3614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1303 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:1138 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"75697076283d1c100e0f027a846861c3a60f0adaeccef3332be4c8abee631e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts:834 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1457 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e11136a13c77baa376ab169e873e67d5c34a9b3a25a0a0cb630ac49cfbb0bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/pi-provider-config.ts:74 \u00B7 packages/paperclip-runner/src/drivers/stdio-mcp.ts:18 \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/paperclip-runner/src/drivers/acpx/pi-provider-config.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9767c0f3ea7d9377c1ef6de7396bebdc9117000e38a3d93d7fb06e1eae1011c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts:306 \u00B7 packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts:338 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"895cd479a5726b48644cf3a3a6dd9391536b0538946719b49f61bba69b6afd8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/verified-runtime-executable.ts:19 \u00B7 packages/paperclip-runner/src/drivers/acpx/verified-runtime-executable.ts:58 \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":"packages/paperclip-runner/src/drivers/acpx/verified-runtime-executable.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf1f014c6844bc7d47ae636f411761c87674590bf25f2d662a9fbc814d4fbeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts:36 \u00B7 packages/paperclip-runner/src/react/components/message.tsx: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":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0121885587a712d8833f7e19a8223a2a1a4b350e775f632308990079992a2903"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:246 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:614 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3318c07c5c272b532362e6fa823b4e5a1449b00f44130960e8edb3fd9ad381f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-turn-diff.ts:173 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-turn-diff.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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dd1eb2ccbfa8e21bf301bd4a41295557a4b057c819ce701ffc14e58fac337b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/dot/dot-harness-driver.ts:215 \u00B7 packages/paperclip-runner/src/mock-core/deterministic-harness-driver.ts:194 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e073a61be2cafb4e3ece0680b409deb86140596cc81901ae28729d8ada2861eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:80 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:134 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5646b9a0de8523b33fb0886d5b3c8b0de00d73dda57d60418605f893b7de59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:468 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:692 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"032a8ced8baae5c4c19f9fe3c425963ae717ac19ca7b19ab27509925396ca6d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:2944 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:2954 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c17066143300a81bf58d168d14137af8b974c308c85b6d9d6e2e44b94993e30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:3600 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:2079 \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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f51ae3b27791147a41e570d4b63ef6529e06aa9ab42638c7257cf7d2dc031ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/live/live-session.ts:2271 \u00B7 packages/paperclip-runner/src/live/live-session.ts:2329 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ec0c89bf7681f56ff00dad596d214cb49265428b6c544765480685824b8270"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:5238 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:6614 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5238}}}],"partialFingerprints":{"codehealthFindingId/v1":"912be99246f644d5a3747daecd59f3cd66fe541c5876fe00e1e6c4f0d1d6080b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:339 \u00B7 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:379 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28fb0f43817cf425bbed8108277bcf9b3fde9d108ef8006ba3b24a9ce6ac61c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/paperclip-runner/src/native-session-runtime.ts:538 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:762 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:1228 \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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19bfce3b4e288e6549099d39f593ae24e5c88d61b4b2f0227e587b874662b38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/protocol/result-normalization.ts:51 \u00B7 server/src/services/native-runtime/evidence-classifier.ts:90 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol/result-normalization.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d40ea64a902d50f8ee7ce120637ba6fac3ec49619c31ce2aa9047497a012113"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/paperclip-runner/src/tool-file-changes.ts:170 \u00B7 packages/paperclip-runner/src/tool-file-changes.ts:218 \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":"packages/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"298cfd7b7346c4dcc774e65cfb781cf79391c6809ead6718849e8bbe74f2931a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:591 \u00B7 packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:950 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"289d83674124bf4c57a45e1a3fdc1450f8200462639baf0cb41cef87d2a92c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:2097 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4041 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dfe285773da6b1c022585f42ef1d148691227e3cac6a921ce7b66f1993e555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:2836 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6764 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"57280d74ce99022c3d5cdc0aea45038fdc121c08a0971c980d234d176f7f7720"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5472 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5495 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6147 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7457d12cbb8ba780cea5e137aa4b3712401a75ba446b330800d51d2d251bc167"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5632 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5652 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5632}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b359b74d5b9c2255c2afb1376c64703ebffad2d601a96adcebf587740fd7e0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:247 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:258 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:311 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:715 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7e900f2dac96d5661a23eb0b597d47a3efc542dc53601fdbbf0fee281515c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:922 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:942 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:972 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:995 \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":"packages/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6a9de6550c68bd559f4a9bebe685b4ecdcab135d23a9332d4c26bcd553f08c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/sandbox-providers/boxd/src/plugin.ts:585 \u00B7 packages/plugins/sandbox-providers/boxd/src/plugin.ts:611 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f3180732983c9da6824fa02e8f863d76a00eee282eb91e6e11338bde01a9d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:361 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:48 \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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce7ac0af3d58fc2fc4d2358aeb37843cef6fd0238f8b79b70808f3eedec0ff9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/sandbox-providers/e2b/src/plugin.ts:328 \u00B7 packages/plugins/sandbox-providers/e2b/src/plugin.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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"111ffb6ac6a9c7a896be7e2ab31af15da077f7d64cca96175ee168a465669682"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:230 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.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/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a57c8d6c29175f9e7321b17ecadc89f3b0fca3eb5a7dfb6b9e7fd9fb60a70e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:605 \u00B7 packages/plugins/sdk/src/worker-rpc-host.ts:2082 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"373fe60fc98bfccd759706c1ff6f649edb6307bfca3d398d25de750eee1cc3ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:1815 \u00B7 packages/plugins/sdk/src/testing.ts:1870 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0367698a29e83f30109c98504ef7cf440e9113cc6b19e1a1ea33e8a009d812"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/shared/src/agent-url-key.ts:10 \u00B7 packages/shared/src/project-url-key.ts: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":"packages/shared/src/agent-url-key.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"203a88e742897c6d3692c01c80a355e962b844b189eb6758aa3d4fffe1bbd0a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/shared/src/document-anchors.ts:392 \u00B7 packages/shared/src/document-anchors.ts:402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/document-anchors.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74be768dd2a5af98f3028688fb1f3a77ff1a5d5529e587a24459dcc5e65fe3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:331 \u00B7 packages/shared/src/frontmatter.ts:342 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/frontmatter.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfc33eed6b15f4d95225d574c93d6307807cabb37a026b73f2156e6c55bae29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/shared/src/frontmatter.ts:427 \u00B7 packages/teams-catalog/src/frontmatter.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/shared/src/frontmatter.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2bb8fd52685dbde7de3a5ae78024e09a5cf7af53188d93d626c7c9c94d1655"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:189 \u00B7 packages/shared/src/validators/summary-slot.ts:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/agent.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"db383aa2e0b315d5d0177e08de0df313110b60f61543f925d5e917f54f5922a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/shared/src/validators/chat-channels.ts:77 \u00B7 packages/shared/src/validators/external-object.ts:15 \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/shared/src/validators/chat-channels.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d39250a76872519160ca14f0c01bcb12c69f5c924c3ccb595efab80bb6d1880"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/shared/src/validators/plugin.ts:372 \u00B7 packages/shared/src/validators/plugin.ts:738 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/validators/plugin.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9c9541f1aa2fe369bae85446574aa12af25ae743115369b9420509940396ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/tailscale-https-broker/src/argv.ts:47 \u00B7 packages/tailscale-https-broker/src/argv.ts:58 \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/tailscale-https-broker/src/argv.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7248f55e06a24be7a79a9ea73fccd62affa9206b62c5ee30b0e39adaf8ff56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/tailscale-https-broker/src/proc-listener.ts:95 \u00B7 packages/tailscale-https-broker/src/proc-listener.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":"packages/tailscale-https-broker/src/proc-listener.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"662a3e4a9e1efaa82cb1782a28b2580ee4480f888f4c8cf6a41691b3eeeaa961"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/bootstrap-npm-package.mjs:431 \u00B7 scripts/extract-proposed-events.mjs:342 \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":"scripts/bootstrap-npm-package.mjs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"be25c56d70a6009ac4bec7a5ee80a6f7775a9cdb3ad274a61f5fa9becaf948cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/cloud-readiness-runner-loss.mjs:32 \u00B7 scripts/cloud-source-verification.mjs:56 \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":"scripts/cloud-readiness-runner-loss.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5372ec3e9bc168777e18065e036ad07ff3b133cefbcd26e4a7d84463cf8b55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/codemod-extract-colors.mjs:442 \u00B7 scripts/codemod-extract-misc.mjs:569 \u00B7 scripts/codemod-extract-sizes.mjs:495 \u00B7 scripts/codemod-extract-type.mjs:218 \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":"scripts/codemod-extract-colors.mjs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06ebcc2f7f15aac91936c7b504cd72d6aaa01966b6ab31da479f03b8d2081b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/codemod-extract-misc.mjs:335 \u00B7 scripts/codemod-extract-misc.mjs:358 \u00B7 scripts/codemod-extract-misc.mjs:374 \u00B7 scripts/codemod-extract-misc.mjs:390 \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":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"079041816544d37e2ab0f374ba1e2b1d60192e47959fb44cf85761b13879236c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/codemod-extract-misc.mjs:528 \u00B7 scripts/codemod-extract-sizes.mjs:478 \u00B7 scripts/codemod-extract-type.mjs:204 \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":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe972ec7fb418d751d091e143486acf466513fab0dd81db223314706d1be48d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/extract-proposed-events.mjs:343 \u00B7 scripts/runner-image-publish.mjs:523 \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":"scripts/extract-proposed-events.mjs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0175d40eaced152db7131021a44eb5d065e2bda78303a06e83a9f8bf4a2aadac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/generate-org-chart-images.ts:685 \u00B7 scripts/generate-org-chart-satori-comparison.ts:215 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generate-org-chart-images.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"0576f151aada8739c2ab47a2b677a34e1ccdf65cd26588bbc4869e9bcedf484c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/runner-image-publish.mjs:180 \u00B7 scripts/standard-image-contract.mjs: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":"scripts/runner-image-publish.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"16233337c6b22e49b0154c068fc8745a24b87ddce9f5169d5188d7ad925d6d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/screenshot-file-viewer.mjs:34 \u00B7 scripts/screenshot-verdicts.mjs:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/screenshot-file-viewer.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a746d1462651d1c9955c16a644a4c8462ba9030172a3dff3122ef6e12695e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:1136 \u00B7 scripts/smoke/posthog-live.mjs:1077 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e86d1f0c1f46a6c265921e687595ff35633781e1c1167fa3562c17638c637d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/scripts/qualify-native-log-recovery.ts:236 \u00B7 server/scripts/qualify-native-log-recovery.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":"server/scripts/qualify-native-log-recovery.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d9e449e192c69bbd1d31b9f5f60c9fb0e8c3078224a7de588b3a1e956a8883"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/adapters/http/test.ts:17 \u00B7 server/src/adapters/process/test.ts:17 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/http/test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273c8f3d5d8d8526f293a6c6ecd2b071bd27ed4921b34a368390e2b35c63b83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/adapters/registry.ts:250 \u00B7 server/src/adapters/registry.ts:266 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d0b0899e2ae52ba604b976ff95b546406c001d71bdaeda2ac74e510eed2e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/dev-server-status.ts:251 \u00B7 server/src/services/issue-run-presence.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":"server/src/dev-server-status.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"930e5d6feb1330e8eac657a4d1813d45ee2735b7173cfe60078351ec1c2f1c27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/index.ts:1946 \u00B7 server/src/index.ts:1956 \u00B7 server/src/index.ts:1966 \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":"server/src/index.ts"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b60b00ff931100f561b14b425e15ce6efbdceb0d35e89ac9e8d4ef484909678"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/instrumentation.ts:84 \u00B7 server/src/instrumentation.ts:139 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae3493a984fb806b22139222eba79c66b94abcef55a7cde7e1c342378b60142"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/lib/agent-records.ts:410 \u00B7 server/src/services/budgets.ts:471 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-records.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a923f1fbac65303048c546f14549016b218bd0bfaaafbe09484f76afcd942769"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/redaction.ts:668 \u00B7 server/src/redaction.ts:692 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af4907d06e822d447c7f0489cdb634ad8487b92dd0ba3a6294bb2d729d2c1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/access.ts:997 \u00B7 server/src/routes/access.ts:1008 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39038db0abd3de8f73142388568862ce11cb7261f7c8ded7d627dc82f40c708"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): server/src/routes/access.ts:3492 \u00B7 server/src/routes/access.ts:3511 \u00B7 server/src/routes/access.ts:3534 \u00B7 server/src/routes/access.ts:3556 \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":"server/src/routes/access.ts"},"region":{"startLine":3492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9d3bfd258b0909a35930d7e375cb1178300d7f2c66285bda975d01013e60f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/access.ts:4366 \u00B7 server/src/routes/built-in-agents.ts:176 \u00B7 server/src/routes/built-in-agents.ts:228 \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":"server/src/routes/access.ts"},"region":{"startLine":4366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75b82ca1780bcec42b8f313f1f6bd549ea62cdc3eb06ae47dad807aabf62d87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/adapters.ts:497 \u00B7 server/src/routes/adapters.ts:717 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ce7a0206818fcfc2b1ff32d2ee287976dacf4ac48e18818d1c072511096251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/agents.ts:1355 \u00B7 server/src/routes/workspace-runtime-service-authz.ts:97 \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":"server/src/routes/agents.ts"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"386eda50825a726ca39288ea9849f50a31f758b6c4af9c461ce5c36143dff698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/agents.ts:2107 \u00B7 server/src/services/agent-instructions.ts:91 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81da12ddd2fdda141733554634e028f5ff3d31ad5cb963c386f4e4ad98fe1da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/agents.ts:3708 \u00B7 server/src/routes/agents.ts:3791 \u00B7 server/src/routes/agents.ts:3816 \u00B7 server/src/routes/agents.ts:3841 \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":"server/src/routes/agents.ts"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"d089ebfaee74e55df64eb78bfdfcbf2acab44882e8ab111bf69177bb1739f873"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/agents.ts:3874 \u00B7 server/src/routes/agents.ts:4290 \u00B7 server/src/routes/agents.ts:4301 \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":"server/src/routes/agents.ts"},"region":{"startLine":3874}}}],"partialFingerprints":{"codehealthFindingId/v1":"97870694b55c0826ef94cfb52efa5e8b97280182dba2be7c4ca80d8fc190b6b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/agents.ts:4168 \u00B7 server/src/routes/agents.ts:4272 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4168}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dea0305ebfd9fdcdb5956542e0af88116f9f3a91282f92b46dea0e8e13c854"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/agents.ts:5895 \u00B7 server/src/routes/execution-workspaces.ts:1063 \u00B7 server/src/routes/issues.ts:12849 \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":"server/src/routes/agents.ts"},"region":{"startLine":5895}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5fd137a3570ae2e76adaea6a03f10e17cec6e56d92c3c23379ad80b4eabe28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/ai-connections.ts:264 \u00B7 server/src/routes/ai-connections.ts:280 \u00B7 server/src/routes/ai-connections.ts:368 \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":"server/src/routes/ai-connections.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f4464543d064a071d52b2c1a1fed7d32996ac62818dcd2ed41e73e1fb5e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/approvals.ts:652 \u00B7 server/src/routes/issues.ts:12946 \u00B7 server/src/routes/issues.ts:12996 \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":"server/src/routes/approvals.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eecb47f4ad9e0e683c3c2f51de48f9a8a8d89194cb5ba445b70d180a25bc10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/cases.ts:296 \u00B7 server/src/routes/cases.ts: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":"server/src/routes/cases.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bac769c75086ee1a81e9d45758ecb48ef0ef7b68acc55cbc54f715b6c14a532"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/cases.ts:1037 \u00B7 server/src/routes/cases.ts:1494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92aeeb80869f92173b916f69ec27b6e1cf5a0cf0f8a98ec623fb2ffb2a0c74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/companies.ts:1387 \u00B7 server/src/routes/costs.ts:332 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a604a4d5b82f3cb43b2d1f8da0f5fc541b49741bcd7a38f92eb1a521f78cf8cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/company-skills.ts:1631 \u00B7 server/src/routes/company-skills.ts:1682 \u00B7 server/src/routes/company-skills.ts:1693 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4788fd602ca7c070393a05aec2318fdb7bcbd7f473c234471d747c8e88fcfbe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): server/src/routes/company-skills.ts:1702 \u00B7 server/src/routes/folders.ts:34 \u00B7 server/src/routes/folders.ts:106 \u00B7 server/src/routes/goals.ts:30 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6990e7bc42082f2a7faf5bd1b85979d4ec685845d812e1be53e508e6b037b02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): server/src/routes/decision-queues.ts:133 \u00B7 server/src/routes/decision-queues.ts:153 \u00B7 server/src/routes/decision-queues.ts:166 \u00B7 server/src/routes/decision-queues.ts:187 \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":"server/src/routes/decision-queues.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7d60469558c7806dbc37d8a73e64bfd94951eb3f1e7a234434915349eeca23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/decision-queues.ts:162 \u00B7 server/src/routes/decision-queues.ts:183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-queues.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"729074f4c100d6bf62ec24d0798ae5d7ba472ba7daf98e46c1efef8b0a40d9e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/decision-training.ts:97 \u00B7 server/src/routes/inbox-dismissals.ts:66 \u00B7 server/src/routes/sidebar-preferences.ts: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":"server/src/routes/decision-training.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ad50d6677ee65b6bb9948c33c14b14f6d920d2a75c665f4ec2d2d77390b314"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/decision-training.ts:180 \u00B7 server/src/routes/decision-training.ts:245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decision-training.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d77fd815103709282f40c00af4b7f740bd2ae9df5e45f6787728f42dcb3892"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/execution-workspaces.ts:1061 \u00B7 server/src/routes/secrets.ts:503 \u00B7 server/src/routes/secrets.ts:532 \u00B7 server/src/routes/secrets.ts:561 \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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"48922c0271b5ce79d97597d7b2c6922fa12e0ae945ea95ea287c3339a8bee467"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/issue-tree-control.ts:129 \u00B7 server/src/routes/issues.ts:13250 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a62a5104621a5c51422714e669561018f6b6e8f214e825f63a1cfb3ac93f12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/issues.ts:2777 \u00B7 server/src/services/chat-receipt-reactions.ts:119 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"02813ee90d4a966168f43d606a013a9be978f66586f7fdbf6ae5bd97ac2c10d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/issues.ts:4423 \u00B7 server/src/services/attention.ts:900 \u00B7 server/src/services/issues.ts:7675 \u00B7 server/src/services/issues.ts:14638 \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":"server/src/routes/issues.ts"},"region":{"startLine":4423}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deedaa1a81897d8068134770f62feb0fb469a897d00cf40f0c07efd4d8ed90c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/issues.ts:5660 \u00B7 server/src/services/access.ts:651 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5660}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1d3850dca01716007da3e7efb54c4783c5404274a405345d4643b6e7065c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/issues.ts:10946 \u00B7 server/src/services/heartbeat/queue.ts:3687 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10946}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b50f614251505b322fe39f3d4c46d426bc8f4387e96729d2567e869d42a8be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/issues.ts:11325 \u00B7 server/src/routes/issues.ts:11339 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":11325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3309a474aedd4d17a4e1863f765a25fab8c98373a5b3e53a569276e39d87ed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/routes/issues.ts:5680 \u00B7 server/src/services/chat-teams-file-publication.ts:114 \u00B7 server/src/services/documents.ts:246 \u00B7 server/src/services/issue-status-presentation.ts:24 \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":"server/src/routes/issues.ts"},"region":{"startLine":5680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2239b0dd8a552a394d345505d202a3095f3eb181da30417a8cf3f3e8e643e63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/mcp-skills.ts:87 \u00B7 server/src/routes/mcp-skills.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":"server/src/routes/mcp-skills.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee02f1d8b8202597dea79666041158144521789260aa30ddd084f59f1046da88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/mcp-skills.ts:114 \u00B7 server/src/routes/tool-access.ts:842 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/mcp-skills.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aeecc51bb26465c45e5efc0ed37eb61c51f7751e3c475073fcbe9f2f149cfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/routes/openapi.ts:946 \u00B7 server/src/routes/openapi.ts:986 \u00B7 server/src/routes/openapi.ts:1010 \u00B7 server/src/routes/openapi.ts:1127 \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":"server/src/routes/openapi.ts"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"9144565ad43d32e77b29c77424132dc0e8cf152617a2712604c31e39216db99f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/openapi.ts:2452 \u00B7 server/src/routes/openapi.ts:8541 \u00B7 server/src/routes/openapi.ts:9889 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c9185bba85e1a763d6b160b85368458f672d172f023b7bef445f5824aab356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/openapi.ts:3839 \u00B7 server/src/routes/openapi.ts:9434 \u00B7 server/src/routes/openapi.ts:9539 \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":"server/src/routes/openapi.ts"},"region":{"startLine":3839}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78eaf3780dd8f72795642582b02f33e29db8986ab063094788d7286052a563c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/openapi.ts:4298 \u00B7 server/src/routes/openapi.ts:6541 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":4298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3fc2e02021ab6edbc2b20e9023f67cbfa1347a2722ea89db3130cae00155b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/openapi.ts:5768 \u00B7 server/src/routes/openapi.ts:5788 \u00B7 server/src/routes/openapi.ts:6639 \u00B7 server/src/routes/openapi.ts:6661 \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":"server/src/routes/openapi.ts"},"region":{"startLine":5768}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f96b0d1fa16a9dfc9cbdc37ddd4565f8b6e51e49eb4d29d789564c95906232b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/openapi.ts:6466 \u00B7 server/src/routes/openapi.ts:8422 \u00B7 server/src/routes/openapi.ts:10149 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6466}}}],"partialFingerprints":{"codehealthFindingId/v1":"37def4d25e03b2cc8c1cd7d5ebe80c0e4b4d5cd00618795da0a34a59073d4180"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/openapi.ts:8296 \u00B7 server/src/routes/openapi.ts:8320 \u00B7 server/src/routes/openapi.ts:8345 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8296}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaed1189a0fe8e81b0aa23694b7523858bd262ce9bf7e585be4ebad8fc81d89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/plugins.ts:2392 \u00B7 server/src/routes/plugins.ts:2538 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d4ce6f59d2a0f7d136b8ada706efad732048c3fd9680e5dd81a206c9a873f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/plugins.ts:2940 \u00B7 server/src/routes/plugins.ts:2963 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60b12633fe20af956671a8037481c3b08555b0f6039ee13e0af2a5a6cabaace"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/secrets.ts:414 \u00B7 server/src/routes/secrets.ts:815 \u00B7 server/src/routes/secrets.ts:959 \u00B7 server/src/routes/secrets.ts:995 \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":"server/src/routes/secrets.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089c017447e0b3a113dba8c4812f8d93d08c320ff915e96a6fae662f64a58b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/secrets.ts:521 \u00B7 server/src/routes/secrets.ts:550 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f5b6320b24717653b5d598de07b21490bc15f48ba54cd18d422e016d059e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/smoke-lab.ts:185 \u00B7 server/src/routes/tool-access.ts:1697 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/smoke-lab.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7981960dc027ac42105d7a54351a13b694cea40c00bfa8a9c3814f3f058806a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1950 \u00B7 server/src/routes/tool-access.ts:1999 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d77bd1ab7a395c2ab7cfe7c1eb183974648070565719e2658c431552f4cbbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/routes/tool-access.ts:2590 \u00B7 server/src/routes/tool-access.ts:2611 \u00B7 server/src/routes/tool-access.ts:2631 \u00B7 server/src/routes/tool-access.ts:2647 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdc3ba753a3a6eed3483aae5bdeec01f694c524d1b27c0830284f503650d7b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/routes/tool-access.ts:2691 \u00B7 server/src/routes/tool-access.ts:2798 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":2691}}}],"partialFingerprints":{"codehealthFindingId/v1":"475c31467cdf323dd68a36b84bb361098ffbb394d8bdce017e1cdfd33766250e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/tool-gateway.ts:457 \u00B7 server/src/routes/tool-gateway.ts:526 \u00B7 server/src/routes/tool-gateway.ts:809 \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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94ee8ae39172bf3a0c3acd1626f08593d5f0be178f33a199201b22804011065"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/routes/user-profiles.ts:296 \u00B7 server/src/routes/user-profiles.ts:390 \u00B7 server/src/routes/user-profiles.ts:407 \u2014 all 3 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":"server/src/routes/user-profiles.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"218f547c22eecf543bb9f1e875d98a1796c721919c034da91a14d5b4b34603de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/access.ts:680 \u00B7 server/src/services/issues.ts:7651 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2cc794327838f1dcee89f089fe8b067c9ce9bcf9258ecbbefdeaaf622342f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/agent-file-store.ts:103 \u00B7 server/src/services/agent-instruction-files.ts:101 \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":"server/src/services/agent-file-store.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"be19c1fa494586cbe48225d6f0ba6d367e7bd77c77197bf64f01b165bbb7fe40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/services/agent-instruction-authorization.ts:91 \u00B7 server/src/services/connectors/slack-authority.ts:125 \u00B7 server/src/services/heartbeat/run-log-authority.ts:22 \u00B7 server/src/services/native-runtime/native-provider-artifacts.ts:605 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-authorization.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2893878977be527cc725e283f135cb38e0374a4f3d1ba3d40f766300ec610617"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/ai-connections.ts:423 \u00B7 server/src/services/ai-connections.ts:493 \u00B7 server/src/services/ai-connections.ts:527 \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":"server/src/services/ai-connections.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb459c7c54c1fc97f8da86b0dfc700ca798fe0c3ddbea84d064881babbfbfcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/ai-connections.ts:439 \u00B7 server/src/services/ai-connections.ts:509 \u00B7 server/src/services/ai-connections.ts:542 \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":"server/src/services/ai-connections.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad28ac7912671abc545da169bb4648c9139815d1cf93520c2bd8495f99169dfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/ai-connections.ts:453 \u00B7 server/src/services/ai-connections.ts:523 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dcd5a841eff78fa3ddd04c207c416c5e6333ec39f70786dc2a3740a2a212ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/attention.ts:2893 \u00B7 server/src/services/attention.ts:3071 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"77264477bd170d2a211ffb15fb5de57876e890acfc0a95bb38e3e24b52847e20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/authorization.ts:2105 \u00B7 server/src/services/authorization.ts:2114 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb11aa4e8bcdb6fe0c3bb732847989df84fc62784895bf020ffe8a0cff066d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channel-binding.ts:42 \u00B7 server/src/services/heartbeat/run-state.ts:1322 \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":"server/src/services/chat-channel-binding.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc758ef55f78e4a6411ec0540029c5c8c5908bc42d45b7e8a337d2a721466d8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels.ts:782 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts: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":"server/src/services/chat-channels.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f692ae12a7ac21c7c4161a843819c8bb9406f77f0a9cf14762708ff0b5284c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/services/chat-channels.ts:1682 \u00B7 server/src/services/chat-channels/credentials.ts:525 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts:465 \u00B7 server/src/services/chat-channels/publications/task-control.ts:46 \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":"server/src/services/chat-channels.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a01ebe5a5d5490bb23a8ba5d569d4915b1166b5686e8b73a00e52d16e9bdfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/services/chat-channels.ts:1972 \u00B7 server/src/services/chat-channels/credentials.ts:277 \u00B7 server/src/services/chat-channels/publication-replacement.ts:430 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:610 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"server/src/services/chat-channels.ts"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"3025dd699a0d40433909a1c60c1c036b1dccd52faa23cfa4ab52d9dc17df3c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels.ts:2460 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts: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":"server/src/services/chat-channels.ts"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"198cfd2871ba258ad40921375b7952eef6c12f073bfe136a9ea3742e108a3427"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/authorization-run-read.ts:9 \u00B7 server/src/services/native-runtime/external-review-wait.ts: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":"server/src/services/chat-channels/authorization-run-read.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6fdd68f748ccd5132f2755b4e48d8d8148aaf9ebb1a337d3263b2a9602ed0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/configuration.ts:249 \u00B7 server/src/services/chat-channels/configuration.ts:451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d23817d9593481aa6b40e4c8d732e3a3a53ed651d3f275eba30b9fd959f9e7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9 locations): server/src/services/chat-channels/configuration.ts:529 \u00B7 server/src/services/chat-channels/provider-effects.ts:457 \u00B7 server/src/services/chat-channels/reactions.ts:274 \u00B7 server/src/services/heartbeat/queue.ts:669 \u00B7 \u002B5 more site(s) not listed \u2014 the 7 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10ccf3bfcde23f649340c182f33abd457920580a4f3caf1d0ef9456f3d1b04e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/credentials.ts:277 \u00B7 server/src/services/chat-channels/inbound/admission.ts:100 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74cb4512a93d2dd6e95d0c34ecb7f8eb48711772c8374679fb4b95cdcfb80e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/services/chat-channels/credentials.ts:525 \u00B7 server/src/services/chat-channels/inbound/authorization.ts:114 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts:465 \u00B7 server/src/services/chat-channels/publications/task-control.ts:46 \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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"60449e8b1d2093eef12e619b18b773696a95c7703ebe8e95140f5edd486236d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/discord/commands.ts:369 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts:392 \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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c97b8e27f40bd1359072037526775c11ce2a7b0ef79769aa99ef7999ee1847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/discord/question-forms.ts:81 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1009 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/question-forms.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6100a1be0e5c5629c9cc3736e6a8c7b4419b43d76b18c6c9b568f87e83f91bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/failed-run-retry.ts:496 \u00B7 server/src/services/chat-channels/failed-run-retry.ts:662 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"652036cd489769fdd3daacc2b9135941b2e0bc5c6b75996f53b7d4f56f5b4cd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10 locations): server/src/services/chat-channels/failed-run-retry.ts:912 \u00B7 server/src/services/chat-channels/failed-run-retry.ts:1735 \u00B7 server/src/services/chat-channels/inbound/conversation-queue.ts:477 \u00B7 server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:230 \u00B7 \u002B6 more site(s) not listed \u2014 the 7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1960c21eb3b0f448d7e0e5b4070ae7096e12964361812065d69c2ce459d15e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/github/publication-policy.ts:81 \u00B7 server/src/services/chat-channels/inbound/wakeup-notices.ts:377 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c374b842ba4612a8d5d1e2b6bd3c366f38244ca0691b8952143b2d7ca6293b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/identity-links.ts:196 \u00B7 server/src/services/chat-channels/identity-links.ts:237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b772c865a849182dac327448a0b2559206ff12710113260b813200fcb75a63f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/imessage-photon/publications.ts:117 \u00B7 server/src/services/chat-channels/imessage-photon/publications.ts: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":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4493542477d67470585d2dffe1275e327487cca039eeffa25599ab21410a1726"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/chat-channels/inbound/resource-admission.ts:83 \u00B7 server/src/services/chat-channels/microsoft-teams/destination-admission.ts:42 \u00B7 server/src/services/chat-channels/telegram/destination-admission.ts:40 \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":"server/src/services/chat-channels/inbound/resource-admission.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ecb0ab4f8fc098fdaa7b481f60ff4193c75d0de6fd1e86a5d4f4294042d7b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/wakeup-notices.ts:119 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:397 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bacece35759d3fd9abbfe3f4ba49355b6ee4d34b6a2c4ce2988e6afeae67ee7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/callbacks.ts:765 \u00B7 server/src/services/issue-thread-interactions.ts:3511 \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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"149b63557e9f1f793584b5d33c60e1cf6f6801f0327e756ee8c713401e581067"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/chat-channels/interactions/callbacks.ts:936 \u00B7 server/src/services/chat-channels/interactions/callbacks.ts:1160 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts:83 \u2014 the 3 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cae5f2d770a1a31835a10c33aff31dd833d47d9dc7267675046db6f1fa3f58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/services/chat-channels/publication-replacement.ts:270 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:222 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1091 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1136 \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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a7a53444a2fed3e1c0c6a120dfaafc712c72df0eaf5f8e584235b23beebe5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/publications/authorization.ts:69 \u00B7 server/src/services/chat-channels/slack/file-receipts.ts:181 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"53470fa83e6c8c1acf9fa751aa89f61645accf3c5f00f42a0d57683aa292c66b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/publications/failures.ts:269 \u00B7 server/src/services/chat-channels/publications/task-control.ts:106 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2278a4d2d387785025e8bce690ad0ebc407fd89a2c67a4b343aef819c3308c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/publications/preparation.ts:80 \u00B7 server/src/services/chat-channels/telegram/publication-preparation.ts:122 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/preparation.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fdc5c8e5d397c29fbebff61909285e9b75f927eed768b4d321f6adccfd7caa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/publications/worker.ts:466 \u00B7 server/src/services/issues.ts:8077 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b6995ad88252d17b8d59603e14208d18791496f6534e82a7b7c76d9f559f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/reactions.ts:219 \u00B7 server/src/services/chat-channels/reactions.ts:255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"123fb839dfa157658dfb427a78dbcd07d163e9b61c07272aff967143c20717e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start.ts:568 \u00B7 server/src/services/chat-channels/slack/task-start.ts:604 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bb1775a18bd67b6dba05188648fdb918ca26f56261ab33e9a469913a67fe4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/chat-channels/telegram/callback-notices.ts:70 \u00B7 server/src/services/chat-question-forms.ts:864 \u00B7 server/src/services/chat-question-forms.ts:992 \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":"server/src/services/chat-channels/telegram/callback-notices.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4183e323635e112010c43042e96dcf62e6f65e8d2068a3ed5e060342838256"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/publication-drafts.ts:284 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts: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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5638ec3f66dd3c75afa77b7cab2282c52623dd80a0f83881ad6fef9b502a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-github-management.ts:37 \u00B7 server/src/services/chat-github-wizard.ts:134 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-management.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd85198f4c615d1bb41ea652552baeac955c1739bc14737a5d94d1511b4b5a23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/chat-github-management.ts:230 \u00B7 server/src/services/heartbeat/run-preparation.ts:2003 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:944 \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":"server/src/services/chat-github-management.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dec55eabcf19d68aba02c23d43a41ae80cbfbf646db6fe919d4766ec7112cea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-github-receipt-reactions.ts:161 \u00B7 server/src/services/chat-slack-receipts.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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bf146be4a0ab0ef21236162d8802a239d361ba8224af2122c833e0e08470d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-provider-lifecycle.ts:62 \u00B7 server/src/services/chat-publication-errors.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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b99ac144ccd19ceaa6654ea97a9e5688a5c5092b19699646f8f5eeadacea213"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-sdk-state.ts:394 \u00B7 server/src/services/chat-sdk-state.ts:440 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"297cd9aa0b2a44c786c8b42e02ec2d5bd5b7def67a0229781417f2e0f84cd73e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/chat-teams-file-consent.ts:524 \u00B7 server/src/services/chat-teams-personal-recipient.ts:78 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"766e7f35d328ac18445783e813a899014bf4f7261df570bbbc38715bdb88c9ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/company-skills.ts:1473 \u00B7 server/src/services/company-skills.ts:1601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674ee4e8352ab7660bc579c2f082292f9abfcc09a6351f440c2bd37122b8fe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/company-skills.ts:6738 \u00B7 server/src/services/company-skills.ts:6755 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":6738}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ce8e38fde0bd0f3d1421a10b4772fc6ef298bf52b56ca2e393ad4fea6802fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/connection-intents.ts:224 \u00B7 server/src/services/issue-thread-interactions.ts:3931 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2db26eab2d9235476771c1560369f9fc68ddfc9e6046c163a08ed0dd2dc601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/costs.ts:368 \u00B7 server/src/services/costs.ts:428 \u00B7 server/src/services/costs.ts:604 \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":"server/src/services/costs.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b3a9fa593826d304a5f92fb080154aad7b359163f3a5383b2e884cf1e33a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/decision-retention.ts:410 \u00B7 server/src/services/decision-retention.ts:454 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-retention.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8697b6699d96680b8d3a608f99e74c355cd16f3b0c79d2971421ecbf1d9979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/dot-invitations.ts:33 \u00B7 server/src/services/muse-invitations.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-invitations.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d6975b8629daed06f612c82a3ce52ab901e59a92c35f17c6e5057b8c05a732"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/dot-invitations.ts:87 \u00B7 server/src/services/muse-invitations.ts:84 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-invitations.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"938726a9e07f2e05b9ec7c616626b2836cc6bccddf17ffcffd2019fc4e42626f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/environment-config.ts:365 \u00B7 server/src/services/environment-config.ts: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":"server/src/services/environment-config.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2439cc0b13f998074bf17e76b88f0e20748ebf0902a4c770b0b8d49873ed773b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/environment-config.ts:478 \u00B7 server/src/services/environment-config.ts:656 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"2324bd1ef52d9b00dc095008d3e049affe596139ad1b3214033ed996f17f9216"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/environments.ts:1632 \u00B7 server/src/services/environments.ts:1688 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"93972ebd1a46175f04327212da997c22cdd241944a3298b93ec137a9b8362f64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/execution-continuation.ts:166 \u00B7 server/src/services/execution-continuation.ts: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":"server/src/services/execution-continuation.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe1880241fa2438d2e382c89b66aac928b1cc9a9b5882f4e0bfeee832632e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/explicit-native-continuation.ts:907 \u00B7 server/src/services/grok-bot/workspace-inspection.ts:33 \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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb88fea2c2db8f8b8e73ff518d03d617ac266c59c9aa5a653178e29e7565211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/services/external-conversation-settlement-work.ts:38 \u00B7 server/src/services/native-runtime/native-environment-settlement-work.ts:129 \u00B7 server/src/services/native-runtime/native-recovery-notice-work.ts:35 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:93 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"server/src/services/external-conversation-settlement-work.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8796c001e2e1abad4f3c634bb78f5c700ef38dde2ab91c8ca36f7c407ffe9cd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/feedback.ts:1958 \u00B7 server/src/services/issue-thread-interactions.ts:3928 \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":"server/src/services/feedback.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"0631af7e79d0cfcb4b8f644f5932d2461caafce5f11bc8477d73403999d7b7bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/finance.ts:17 \u00B7 server/src/services/issue-thread-interactions.ts:2380 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/finance.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55ea178f4cd2fce01a4ab1400595388975fed5efd1328e9999e0ccd1466cae4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/github-connection-events.ts:54 \u00B7 server/src/services/native-runtime/native-deliverable-text.ts:3 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b6940432133f813d1b235fd892559dec8f8e6165671fa5364ad1c25e01f49c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat.ts:3966 \u00B7 server/src/services/heartbeat/runtime-execution.ts:1177 \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":"server/src/services/heartbeat.ts"},"region":{"startLine":3966}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e4d6e2ad75867fdd5d97cd598a7091e442e922ab81b1f0bc71ab895fc84a8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/environment-selection.ts:97 \u00B7 server/src/services/heartbeat/task-context.ts: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":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5f2359e03451f478e48ee7254fba664771e1c4afcbc95c36e6819d274005e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:2317 \u00B7 server/src/services/heartbeat/queue.ts:2344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"788fa735ecc395f734f7d52f8190fc6e74880f6c9b8e3d5e972c8be6d71ca7a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/run-completion.ts:1298 \u00B7 server/src/services/native-runtime/native-session-executor.ts:17430 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"189c34fadc8d5b46cf624805a994ec2d1e7e7cfae47142fb16d8269e54958c4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:2495 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:469 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad15e1dcebdfcbed5de441197bc9794a8935c0e2b0b7248c2a3b22bbfff3d2b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/runtime-execution.ts:1049 \u00B7 server/src/services/heartbeat/runtime-execution.ts:1130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"3510413d12b3ae3dd79a25a715949e3237026322e11f1608971a0fff4d795e4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/scheduling.ts:188 \u00B7 server/src/services/issue-execution-policy.ts:280 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa0beb3fd5f36eb3e954cd36486b183811cc12154085d747c74d8b3c391ec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/heartbeat/workspaces.ts:2444 \u00B7 server/src/services/heartbeat/workspaces.ts:2513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2656593d41d7b1aeb2d8a133a2a471b88b1c6f845d3f88145f4c19c613db5981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:4979 \u00B7 server/src/services/issue-thread-interactions.ts:5434 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4979}}}],"partialFingerprints":{"codehealthFindingId/v1":"213cfd537717f93cbe6981d00ca69d6f165c46f9aad168f2d98294c3ccc51f9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5793 \u00B7 server/src/services/issue-thread-interactions.ts:5887 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae9f1962ecd518874df2811285522c5dadbafe03ad4109a73fd9333bc210ad9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:402 \u00B7 server/src/services/issue-tree-control.ts:413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"60de2e0702c9f87708b1fd20d42cda10862bd244ec6c46151c299fc3fcd57efa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): server/src/services/issue-tree-control.ts:565 \u00B7 server/src/services/issues.ts:2760 \u00B7 server/src/services/issues.ts:5532 \u00B7 server/src/services/issues.ts:7778 \u00B7 \u002B1 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f10df7e4013c3c791d02c8ce895d2cecb67eae0476b8f9bf04112071f6569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:1101 \u00B7 server/src/services/issue-tree-control.ts:1120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0e330570d6f54cd74a8d1dda2e8083fd4d6e9435826fc5a4eb2f8d8157f060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:1155 \u00B7 server/src/services/issue-tree-control.ts:1258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"615e1df069b41c4599e619476e6ac89c5d8157823236ada8dfe41188b4f84649"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issues.ts:8234 \u00B7 server/src/services/issues.ts:8311 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aab870c4ef0581e6e98e433c18dd62847c11a43fe1a72d4407f234164c218db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issues.ts:8247 \u00B7 server/src/services/issues.ts:8328 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8247}}}],"partialFingerprints":{"codehealthFindingId/v1":"424e6ea4e0b466b09db2fabd6f8aef4f919870d982462246de69d4e909b783a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issues.ts:10985 \u00B7 server/src/services/issues.ts:11277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":10985}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf752e841a5cec485ca3dc01c3fffc391a5878c9515b44b13e4bbb672aae22be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/issues.ts:12936 \u00B7 server/src/services/issues.ts:13016 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":12936}}}],"partialFingerprints":{"codehealthFindingId/v1":"34757843b3085cd7bcb4ad4cc3051d2331b1f928b285d980ffc5ea47aa1694cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-local-process-stop.ts:290 \u00B7 server/src/services/native-local-process-stop.ts:305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19f7949ef67e06956dde15c4f5535850ae4808c5bf39d642a6b0fd1cab85efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:852 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:349 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"2827322c65e4e428d7a7e1be5b7b78eb357a5b39d2a67d748202b3b1a9b17f02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1560 \u00B7 server/src/services/native-runtime/runner-task-attachments.ts: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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"561ac0df57914163f167a678fb9fb25437419abc433566329096d0cb299ec4af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1750 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1312 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0aed2e6431889a1800e29a5014090b2bbb4d891124a7ad1cc7afae1bd55cdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): server/src/services/native-runtime/current-wake-comments.ts:640 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:110 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1157 \u2014 the 3 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"df79c2614b6853cb4071e8e2d6f7be58d6efbcd419dc2bd33db4ff84d84e3594"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/current-wake-comments.ts:771 \u00B7 server/src/services/native-runtime/runner-prp-coordinator.ts:193 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a462a4120722c2e6ebcc8c42e0f5412d587a916c83a99903321d319e337d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:305 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:393 \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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4742ce1c518281d0a3b065e958ae08eb4ade100aa296a3d1440d0a4967ca7405"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-bootstrap-proof.ts:61 \u00B7 server/src/services/native-runtime/native-bootstrap-proof.ts:96 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d397c6d1292e4a786a5471ecaa9bf04bbc71c3f7daed6ed1baafe3b9009d5d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-chat-review-presentation.ts:352 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:412 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d5f020657d17d5aa74789342142cad90e233fa9a517120d34d3ac8f020d8eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-chat-review-presentation.ts:522 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1170 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5911e0bb20e776072198f950f16526439cce52b80a8a1b04882d2ab490010bf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): server/src/services/native-runtime/native-environment-settlement-work.ts:95 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:53 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:56 \u00B7 server/src/services/native-runtime/native-status-reassessment-work.ts:83 \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":"server/src/services/native-runtime/native-environment-settlement-work.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b88bb5d5bfb39e778d65fe048cb297d35da4fa8d243743ef012e574557bac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-restart-recovery.ts:672 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5775 \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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c37150e9627c7edbe6d9c8071a2ef9b3441ca2727b75e0967180705f50b76a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-review-response-work.ts:43 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:45 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-review-response-work.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7753a7bc949aed7c0fbf9f8f72aacdb950fd948b1c786aa5d4845d7c5f0850dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:4073 \u00B7 server/src/services/native-runtime/native-session-executor.ts:4102 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4073}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dff7ebc68ec08c2d2c7ae537d29822640249a48f2bb638412b5f1e7cf0065a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:4553 \u00B7 server/src/services/native-runtime/native-session-executor.ts:4804 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7902c37209bd3f6f029b48925c94dea0f0c3dd446777e46b4d7988073e6cd63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:13341 \u00B7 server/src/services/native-runtime/native-session-executor.ts:13847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06362748dbadf1464bb1dd17bcc3dc67becf9292ccee7435ef6b52e84e6887"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/native-workspace-finalizer.ts:211 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts:268 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e5ae51b1c69a24d26bf04e7f94a1cc384794637004a134af16b9b3c7c5e871"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/paperclip-runner-tool-authority.ts:290 \u00B7 server/src/services/native-runtime/provider-profile.ts:158 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"637c3a516244d0512fe765e8f0e7ba4615d19d0b07cfd30500afd9bd97567c13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:987 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9be328af0525c723aae09fca1c17a3dec4b726824b7a72efa9afef57fb134a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/client/http.ts:70 \u00B7 cli/src/client/http.ts:79 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/http.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eb1edb5d9a2be425a4dfe647da03976787e189982747a0a4b010feb1aedace"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): cli/src/commands/client/access.ts:251 \u00B7 cli/src/commands/client/company.ts:1448 \u00B7 cli/src/commands/client/company.ts:1464 \u00B7 cli/src/commands/client/secrets.ts:473 \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":"cli/src/commands/client/access.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b834dde6b3d486a2356ba59e194eabf55caaa2a5def7094a5aba742f1d41c668"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/client/agent.ts:475 \u00B7 cli/src/commands/client/agent.ts:519 \u00B7 cli/src/commands/client/cost.ts:37 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b155eb1056f34511367a2e39beeba0f5d37d4afab66612ccaf67abda0599b059"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/commands/client/agent.ts:933 \u00B7 packages/paperclip-runner/src/mock-core/live-console-demo-server.ts:310 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"9248b37eb11e32fb75bd840ff6a920898f732b6f2f7de2255028bb04c2948f5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/commands/client/asset.ts:132 \u00B7 cli/src/commands/client/workspace.ts:316 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/asset.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d23df47f22019d067e3e16e210408a5c74b35cc61e8ff3fcf93ce4a133c4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/client/feedback.ts:135 \u00B7 cli/src/commands/client/skills.ts:98 \u00B7 cli/src/commands/client/teams.ts:69 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/feedback.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"573e9bea3b9fc1b453f608ce4c4b84ab47b62f4800f66909f578a714a3a3d487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/commands/client/project.ts:97 \u00B7 cli/src/commands/client/project.ts:200 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/project.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfb688b4826adbb6889c63715747c43cb80abfde854d1ef18c1ad669b3f7266"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/commands/heartbeat-run.ts:30 \u00B7 packages/paperclip-runner/src/drivers/acpx/driver-profile.ts:172 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d536b01f8601071c3f52ac1d51dd4ae9cb8ab0b696d9955968625c3e2396f95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/heartbeat-run.ts:30 \u00B7 packages/paperclip-runner/src/drivers/acpx/driver-profile.ts:172 \u00B7 server/src/services/codex-auth-reconciliation.ts: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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc21479c9f559e06187541a0ce42f887faa02dbdddddb1d9a62355b66220863"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): cli/src/commands/routines.ts:69 \u00B7 cli/src/commands/test-drive.ts:144 \u00B7 cli/src/commands/worktree.ts:574 \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":"cli/src/commands/routines.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062e87f919e375ebb22527ce3eb73e5c4cb1f9927d968bf2105f8077a847f1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3895 \u00B7 cli/src/commands/worktree.ts:4057 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3895}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ae8ed1b6cc5fe4132e9d29bf4b0af71d1ef09e71f16010738ab1709acd9f31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): cli/src/runtime-info.ts:18 \u00B7 server/src/services/local-service-supervisor.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":"cli/src/runtime-info.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b156809b343a3271583c0c664375d95cb6f96aaf21ae87e49c7c0a1d6a5f3d01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapter-utils/src/acpx-engine/session-codec.ts:15 \u00B7 packages/adapters/hermes/src/gateway/server/index.ts:15 \u00B7 packages/adapters/hermes/src/gateway/server/index.ts:29 \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/adapter-utils/src/acpx-engine/session-codec.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d306cae2e3d7a9bf35fe165f0d76c28bdcb645ca754dc06fbf3e76d8d806c5ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/adapter-utils/src/env-bindings.ts:69 \u00B7 packages/adapters/hermes/src/server/test.ts:152 \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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92f0b28faf3c7f07970c84b51af505f1ec9f930cb7336c3b6c7ff665ccae940"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapter-utils/src/execution-target.ts:413 \u00B7 packages/paperclip-runner/src/react/components/message.tsx:41 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:155 \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/adapter-utils/src/execution-target.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaf9fd2ba46c71265cb9599863686056bcf5ef48f749ddb0c2ce1f58b21d374"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:234 \u00B7 packages/adapter-utils/src/ssh.ts:1118 \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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"88629a3170695579bb0a88dfb29a3e097ebbf0a345c67b5274e2f079fec9d0be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:682 \u00B7 packages/adapter-utils/src/ssh.ts:877 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d3b9ab62a2447c0977f04d5682a304179448d0ed3951f464f357b19dd6361e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:1065 \u00B7 packages/adapter-utils/src/ssh.ts:963 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e82358e2ea2cd722702e6ba44b7f96b3407d2f84d638ae9d4df17bc021c026a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/local-process-sandbox.ts:296 \u00B7 packages/paperclip-runner/src/live/scenario-chat-demo-server.ts:675 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8151a339e0f7d5bc5b33f0d9982743958c4c7defec003b4c5066bdf61d31d341"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapter-utils/src/login-pty-transport.ts:23 \u00B7 packages/plugins/sandbox-providers/daytona/src/login-pty.ts:144 \u00B7 packages/plugins/sdk/src/protocol.ts:1229 \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/adapter-utils/src/login-pty-transport.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4329b99500afa8edb6b51008555111bc089a47681cc3415ff0755a17e0c0795"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapter-utils/src/server-utils.ts:961 \u00B7 packages/adapter-utils/src/server-utils.ts:1105 \u00B7 packages/adapter-utils/src/server-utils.ts:1380 \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/adapter-utils/src/server-utils.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efce4cd639d18ba6f6c9efe34788509f96a2d846b7156fc989c5536e3a35d42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1249 \u00B7 packages/adapter-utils/src/server-utils.ts:1257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2453a962d7ffb3c54e3ebfce156f478841e1dce01d3229f43fbdf84c552d42d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1508 \u00B7 packages/adapter-utils/src/server-utils.ts:1927 \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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dd59c384cbd0cea19f61aef50bccdaaeaae07b26ffaac431f7865bc9b88487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:951 \u00B7 packages/adapter-utils/src/ssh.ts:1848 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/ssh.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e10a4681dc3703039b677336257b4994081af1bdaf37bb3c10f2a4b202e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/adapter-utils/src/usage-checkpoint.ts:15 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts:364 \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/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58badb9a03ea1e5533ff6a9c0d9db9d52c2372759a3fb19977b9bd1f041922e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:159 \u00B7 packages/adapters/kimi-local/src/server/execute.ts:113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc87bab012672a7ac4defe1488dec3db978bbfc77d654babaaebfa889bcc13ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): packages/adapters/claude-local/src/server/parse.ts:81 \u00B7 packages/adapters/codex-local/src/server/parse.ts:46 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:104 \u00B7 packages/adapters/opencode-local/src/server/parse.ts:40 \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":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf12f543edb389149412addffd6cb89ed59c46564d014cc275b0d449999ba7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/parse.ts:343 \u00B7 packages/adapters/claude-local/src/server/parse.ts:356 \u00B7 packages/adapters/claude-local/src/server/parse.ts:367 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e7e6c9b05ab9c86aaed786eca0c54ee94dd5c722143db47a84e02aab3e039a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/parse.ts:360 \u00B7 packages/adapters/claude-local/src/server/parse.ts:371 \u2014 both copies are in the same file, so extract the block into one function there 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1856eaa6a84eedfc1df1dd2e1ca87abba955b0c7470dcd55f9367b0c572d2a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/setup-token-parse.ts:384 \u00B7 packages/adapters/grok-local/src/server/device-login-parse.ts: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":"packages/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"671a594ef7cc88c52b138b53ec06015922b6eeaa3ee2ff823678ba726895a106"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/claude-local/src/ui/parse-stdout.ts:34 \u00B7 packages/adapters/kimi-local/src/ui/parse-stdout.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6aebc8f4cc10c8333e594b1a41783311ac7d92947ae2cd1c7a6ddfa59885bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapters/cursor-cloud/src/server/session.ts:3 \u00B7 packages/adapters/hermes/src/gateway/server/execute.ts:159 \u00B7 packages/adapters/openclaw-gateway/src/server/execute.ts:104 \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":"packages/adapters/cursor-cloud/src/server/session.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3735a76f371e70f4d70d7ea10618097563d273e7e8d15ef68f7232a8353eeed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/cursor-cloud/src/ui/parse-stdout.ts:140 \u00B7 packages/adapters/opencode-local/src/ui/parse-stdout.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":"packages/adapters/cursor-cloud/src/ui/parse-stdout.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f733ea4a20790960b6b45b7d02811befe386580d488e609976a71c69e382d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/cursor-local/src/cli/format-event.ts:279 \u00B7 packages/adapters/opencode-local/src/cli/format-event.ts:54 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d29bd04d1d75c4e79f7cd02c829103eaabcb57b777d3c9b105c8b05c71b0d91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/adapters/cursor-local/src/cli/format-event.ts:299 \u00B7 packages/adapters/opencode-local/src/cli/format-event.ts:97 \u00B7 packages/adapters/opencode-local/src/ui/parse-stdout.ts:121 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9392e133ce1f80dba1b53a524866f0b45a3dd5474031b81d7467173651e1c601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/gemini-local/src/cli/format-event.ts:138 \u00B7 packages/adapters/grok-local/src/cli/format-event.ts:40 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"145d15cb9cb049ac65ab1415a5ffdf75d748d73f81d01c6c573ca5aac18e564d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/gemini-local/src/server/test.ts:199 \u00B7 packages/adapters/kimi-local/src/server/test.ts:266 \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/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf7395a2c807d798e58b09bb616dd3872d47c8e9dbd4f03259f7715ea3dc34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs:289 \u00B7 packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs:307 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaa5f0532540ee99a0d886da26ca940bd8291a04a68fc02aba8e2fc250c1783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/transport-security.ts:3 \u00B7 server/src/routes/access.ts:530 \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/adapters/hermes/src/gateway/server/transport-security.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5506eba1ba6304fa2f5567f5400e74b43b1cc94c0ee49f9161c7b6675fc083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/opencode-local/src/server/runtime-config.ts:71 \u00B7 packages/adapters/pi-local/src/server/runtime-config.ts:67 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8ceef27e93e320b6bf079d030c9fa96fc427aeafdeaa6c5638a3f42a3d0ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/pi-local/src/server/parse.ts:148 \u00B7 packages/adapters/pi-local/src/server/parse.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/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f00eb51b40272def8c7ccea4971d26e5a2fe40cb4d94f40bb6f11d28549e15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/adapters/pi-local/src/ui/parse-stdout.ts:82 \u00B7 packages/adapters/pi-local/src/ui/parse-stdout.ts:138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/ui/parse-stdout.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ae35132f06f25ae84f7a0766f4721b842a0401cd5f8c6efaa8d6efdf15d060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/db/src/client.ts:192 \u00B7 packages/db/src/client.ts:201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"de28203d419cd872faa66e6d9cd5dba83ec65cddc2625c4aca78140eec89529a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/google-sheets-mcp-server/src/config.ts:64 \u00B7 packages/kv-demo-mcp-server/src/config.ts:14 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/google-sheets-mcp-server/src/config.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"444df4edb8ff5be3ed99075b67e60dc02ea41ad30cc6da26731b1ca48b45e842"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/mcp-server/src/tools.ts:154 \u00B7 packages/mcp-server/src/tools.ts:165 \u00B7 packages/mcp-server/src/tools.ts:187 \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/mcp-server/src/tools.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c5dd91a16e8089e7616ce9ce37dd0208a535c3937ca6850e8a6e03f3b6678c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/mcp-server/src/tools.ts:87 \u00B7 packages/shared/src/validators/finance.ts:6 \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/mcp-server/src/tools.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"47543dd8dd555eed898ce8fac2414ac66963348be44483687648eab7777c2b2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs:10 \u00B7 packages/paperclip-runner/scripts/cursor-provisioner-layout.mjs: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":"packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb90212a1b6bffd6ff04eeb46e65ae02d07c56b60efcdef7937fecc9b895b32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/scripts/build-provider-pack.mjs:48 \u00B7 scripts/runner-image-layout.mjs:138 \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/paperclip-runner/scripts/build-provider-pack.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a7b10952bd9059a363ef2890be1c4498af7627d067754a18d4aa34cffdf7ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/scripts/check-capability-inventory.mjs:51 \u00B7 packages/paperclip-runner/scripts/check-package-boundaries.mjs:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/check-capability-inventory.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cfa7cd4f5c92d44b6919c84dac1f89dfc4174d1acec01e7bf112209afee72e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs:114 \u00B7 packages/paperclip-runner/scripts/copilot-smoke-resources.mjs:52 \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/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9625650613285926e227fe2e18f2e73386a7aa9a218dc5914d29f58a9ca70587"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/scripts/cursor-runtime-patch.mjs:12 \u00B7 packages/paperclip-runner/scripts/patch-kimi-runtime.mjs:9 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/cursor-runtime-patch.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae3b0ab6e1626cd109502b406c9cb030c2c7c886e7ad5f0e77b5c979c983e59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs:109 \u00B7 packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs:159 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"738d74392857fcf54892dde3dc53989505bde053eb1862a7a3c46f9929a245c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/paperclip-runner/scripts/provider-pack-runtime-tree.mjs:14 \u00B7 server/src/services/native-runtime/native-session-executor.ts:14094 \u00B7 server/src/services/native-runtime/off-loop-file-work.ts:83 \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/paperclip-runner/scripts/provider-pack-runtime-tree.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d28b5f801c26b9c8aaa98776c3c81138dff4bf395e64f0b756ad92729f9b35b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/paperclip-runner/src/backends/harness-driver-backend.ts:931 \u00B7 packages/paperclip-runner/src/contracts/harness-driver.ts:182 \u00B7 packages/paperclip-runner/src/contracts/question-set.ts:88 \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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bb29c35fd81dbeba691995840862dd529a3f83a45f1b911fe851edb0a40a89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:569 \u00B7 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:584 \u00B7 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:606 \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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f927c0e9328e590fd92414735404c548049adfe6fb9e5bb45665e01fdbb766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts:19 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/inline-assets.ts:34 \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":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d813f69fbe260630de407df10d7d1e79a1a92170f51eb32cbcb4b279bfed1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/opencode-proxy-task-envelope.ts:3 \u00B7 packages/paperclip-runner/src/live/live-session.ts:552 \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/paperclip-runner/src/cli/opencode-proxy-task-envelope.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e709c51bf145ec53f8d8e743c008d47896aab00d15aac0ef1e074286d83b044c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/native-execution.ts:342 \u00B7 packages/paperclip-runner/src/evals/runnerd-artifact.ts:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27e2a074fb14d884db1617c378577617e895aaee967217c32d771f5bdef6492"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:1708 \u00B7 packages/paperclip-runner/src/control-plane/staged-private-write.ts:8 \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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad871fd67ded877302f241c2b84cb38a45c3f7f5c572486d5df3582e4512e55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/devtools/index.ts:47 \u00B7 packages/paperclip-runner/src/live/evidence-redaction.ts:154 \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/paperclip-runner/src/devtools/index.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"05455af25a2c66dc435a2fa90760a4c359dbf0934be2f011d2f97254730a0e72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts:361 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:431 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee19a733479561783206622ef3adbdb5ab7418f39ece3e524b69bfdba1ff661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:2062 \u00B7 packages/plugins/sandbox-providers/daytona/src/archive-stream.ts:13 \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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b3296329107ba61e8b6da469df048f6a03eec4345706a2784bf2e1933b4b41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:2062 \u00B7 packages/plugins/sandbox-providers/daytona/src/duplex-command-stream.ts:115 \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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4316c5a8b4939cb18c33f062cbf35dbac425a02e48c50b6ddc74c963ea29f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts:76 \u00B7 server/src/services/cloud-configuration-evidence.ts:43 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1740 \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":"packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fc4e737156b4ee43f44592229dbb672c63270a688cb3b897381e8cd44fc81b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts:91 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts:258 \u00B7 server/src/services/chat-github-client.ts:113 \u00B7 server/src/services/chat-github-webhook-config.ts:269 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95a9f02254238f86b7a52f28094009794af254f23fc430fd3a9fb3955b5ae49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts:7 \u00B7 packages/paperclip-runner/src/drivers/acpx/grok-credentials.ts:7 \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/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4f9177e7cd6e82f5fa6e65188cc15797779a699de0fa5225dd656a5d079194"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-environment.ts:4 \u00B7 packages/paperclip-runner/src/drivers/acpx/environment.ts:34 \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/paperclip-runner/src/drivers/acpx/antigravity-environment.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"41751aa71b77cbd63ca5e3356ae67341f7ecd3a2bfa1a22318efe6fc688577e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-installation.ts:45 \u00B7 packages/paperclip-runner/src/drivers/acpx/cursor-installation.ts:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/acpx/antigravity-installation.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"edee83f3875574a3465ebfe67e9f2cec347c214eb0724a85ff089dee43c180f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/grok-usage.ts:40 \u00B7 packages/paperclip-runner/src/drivers/acpx/prompt-receipts.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/grok-usage.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e14a6f3f5003c78260d5b7b2d16d2fefc469c56a09a587e77fb9beed2f04ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts:43 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts:103 \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":"packages/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"319612099e63bf75a0faa3da1d1f34e5fe278de8be8d0ed3eee422d18c80648c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/session-goals.ts:37 \u00B7 server/src/services/company-skills.ts:1830 \u00B7 server/src/services/company-skills.ts:1858 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/session-goals.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f88ad0b05df0dd1e0facbf6be935f714f24b03d7b29c956b9590cb70970fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts:306 \u00B7 server/src/modules/wake-queue/domain/values.ts: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":"packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b5f50d82a77e00d6faea2ee14b2ed60793b971f145fcaca3fcec6745149600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts:365 \u00B7 packages/paperclip-runner/src/live/evidence-redaction.ts:156 \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/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"816571ebabe80e12df41e1beab375a3411a9d51918059a834d08996e074a8de0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts:112 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts:184 \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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6663249249913e299b93ce69872880de03b77b0ba631032b42851e51c9a8ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts:168 \u00B7 packages/paperclip-runner/src/live/durable-live-session-store.ts:127 \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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8988f1c62e051babd2983a2d999c35fedb447e50ae34d07aae13dea3437c891"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/paperclip-runner/src/eval/eval-bundle.ts:150 \u00B7 packages/paperclip-runner/src/semantic-tools/receipts.ts:193 \u00B7 server/src/services/native-runtime/canonical.ts: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/paperclip-runner/src/eval/eval-bundle.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a223f5d0b90ab6723fa021f568944abcd07dc362d6ee3fd1b9b9e4c7947276"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/eval/eval-scoring.ts:278 \u00B7 packages/paperclip-runner/src/protocol/semantic-tool-receipts.ts:234 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/eval-scoring.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2cd2073736fae1976147987045007dbaba8b8f03ffcb2cb5a0aaed226394a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/live/live-session.ts:1802 \u00B7 packages/paperclip-runner/src/live/live-session.ts:2820 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af50ff18065ceec972e8dc7513ff5e889d2ecbc5160bce95d5d98e6a14eb13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/live/scenario-chat-loopback-proxy.ts:30 \u00B7 packages/paperclip-runner/src/live/tailnet-gateway.ts:334 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/scenario-chat-loopback-proxy.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a78e9898ad7ee642a36fb0c6a48fbe52ecb7b2bec49a353a03df93be974ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/paperclip-runner/src/protocol/replay-contract.ts:159 \u00B7 packages/paperclip-runner/src/protocol/semantic-tool-receipts.ts:245 \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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eb3bc1d505f3b3e559fdb6edc8583f6022fd0566b383235f199afc7d0b9d9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/dispatcher.ts:632 \u00B7 packages/paperclip-runner/src/semantic-tools/paperclip-discovery.ts:180 \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/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ee5190d134b152bd3087a13e8131d4760a71c948c90da26c625050b99bff62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/dispatcher.ts:632 \u00B7 packages/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts:54 \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/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c756a67dd41ecd7bebf01c26a0da930e4e0be300becf0681d0e6acba1b07f89e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/paperclip-discovery.ts:180 \u00B7 packages/paperclip-runner/src/semantic-tools/policy.ts:153 \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/paperclip-runner/src/semantic-tools/paperclip-discovery.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc52dcd3e44896902b8613196d41479148fcceb4e25e0333cce1c8cd315992f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts:879 \u00B7 packages/paperclip-runner/src/semantic-tools/policy.ts:153 \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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb0a9974ba821422005e4b52763e620aca7a42c1a473b3ef62a89fdecdb13f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/policy.ts:153 \u00B7 packages/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts:42 \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/paperclip-runner/src/semantic-tools/policy.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a47f779a6c6b059ecb55b4eb927209c278a9a7cd090793ac9655b8d0bd4bc02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts:74 \u00B7 packages/plugins/sdk/src/worker-rpc-host.ts:249 \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/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53ea3a6cc94bf5f3d67564fc474421872b8dac6101ff7ea669a3944fc38feb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4621 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4621}}}],"partialFingerprints":{"codehealthFindingId/v1":"00669655085decbbdceee45a91032ab9b34157c9af0273d0112d30ee14a48814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5979 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5994 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6008 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6022 \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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5979}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0dc405a5fd393f55bdc674d9cba82e2a9f1ddbff292747e1224870256373c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4106 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4219 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4106}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c21711bce21959b230f9b63eb2df673df17146ca6206ece203e7d13f488d8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:536 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:577 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ec58163ffae3cd6bddb02616095e173d8953c82066a96b3b8cd1759982947b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:626 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:858 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:868 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab6efcea0c9d01d6ebcb58220a64bb671a12742f1c93c0f9a614e47389428f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:1002 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:1047 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1c600d344935ba5328c86397cf9369663be4fa5b7439c497ae98b54a6bc09a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/plugin-workspace-diff/src/ui/index.tsx:149 \u00B7 packages/plugins/plugin-workspace-diff/src/ui/index.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":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2546063f110ba548ec21a72134952e2c16e5bfd4f0843b3f4208aa22910505"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts:270 \u00B7 packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts: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":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e012f544d72c3ce754d87cc0a87715039ac42afe0897981a7be9b0a7a452aa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts:226 \u00B7 scripts/dev-runner-output.mjs:67 \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/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b9d3feafc03717a1dbc77ea6e16e540a24e51947f4162dfe3c290d9a7bc13e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts:226 \u00B7 scripts/dev-runner-output.ts:76 \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/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f515ad7e5ff4a8db5dc0d449ededc34582a82a4b56af44cad93e5a9b728601ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sandbox-providers/createos/src/request-pacer.ts:25 \u00B7 server/src/services/native-runtime/retained-provider-pack-source.ts:27 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/request-pacer.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca909dc5f99aa06b774dca2c724cf0b5ab6848d5142ef9e4979de3dc55ddaa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/file-sync.ts:146 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:150 \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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e05c246ea138b9d91de0e3af379a6d836f336125e00c7964338f10577f664a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:217 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.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/plugins/sandbox-providers/kubernetes/src/file-sync.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be8ce33bb4c5dd635a9158f60384b7c294fc49c73519a1a3ff27a291d07d0b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:152 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:475 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:616 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:674 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"971494149c995d10fc847bb100165f9f48e9df0bcb04230146ac45ae21d9410d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sdk/src/environment-resume-error.ts:48 \u00B7 packages/plugins/sdk/src/environment-task-error.ts:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/environment-resume-error.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b7924dcaec136b79cbb71012ca7f19ab29b22477ff7e57be92ce858429f0dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:908 \u00B7 packages/plugins/sdk/src/worker-rpc-host.ts:579 \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/plugins/sdk/src/testing.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"36311a9e958d3373782863daa7406c0bc5b31ccd707ef15ebbd4b9eb8134dfe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): packages/plugins/sdk/src/testing.ts:1067 \u00B7 packages/plugins/sdk/src/testing.ts:1648 \u00B7 packages/plugins/sdk/src/testing.ts:2133 \u00B7 packages/plugins/sdk/src/testing.ts:2346 \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/plugins/sdk/src/testing.ts"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5cb4ce261e1b378dfcf0f8f6ccede24485dffca486d90d844442df34c1d6d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:2141 \u00B7 packages/plugins/sdk/src/testing.ts:2151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5fcbb6fe79f46ed938d362e086fcd5acd6bbb5c1f0a0f5ac8c9d7420236c0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/plugins/sdk/src/worker-rpc-host.ts:1447 \u00B7 packages/plugins/sdk/src/worker-rpc-host.ts:1476 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43630fe4d8daf3a9cc7fcf187b899b9937500a97fb95740bb51e9b30c3cba8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/plugins/sdk/src/worker-rpc-host.ts:249 \u00B7 packages/shared/src/customer-success.ts:119 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9141ff8926d083c8b3cde11e173693ba4fecebbcf3e313aed60c1d9dbda88d63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/shared/src/validators/access.ts:55 \u00B7 packages/shared/src/validators/access.ts:77 \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/shared/src/validators/access.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1e6585b44aace989e27100ef22d46193c24bd500c5f12cef6301fcef702e81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:193 \u00B7 packages/shared/src/validators/decision.ts:15 \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/shared/src/validators/agent.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ed0983f8af43c2795247f325a117e375c791478b426c587629df046cd2d6a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/shared/src/validators/chat-channels.ts:98 \u00B7 packages/shared/src/validators/status-card.ts:157 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/chat-channels.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9a6f8497bd1b12128fa8f26b057d0450d590756f45e7fdad2c0c05953e8304"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/shared/src/validators/folder.ts:39 \u00B7 packages/shared/src/validators/plugin.ts:312 \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":"packages/shared/src/validators/folder.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f343e9165916bb20965953256776d153035f6278cab8fe567013b7a87336db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:619 \u00B7 packages/shared/src/validators/issue.ts:640 \u2014 all 2 copies are in the same file, 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":"packages/shared/src/validators/issue.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a2f82208b819f8cf96a3ba102e3cac6bc691721666a83d39373ee9f928c499"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:1397 \u00B7 packages/shared/src/validators/issue.ts:1627 \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/shared/src/validators/issue.ts"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3f50fdc4af9ea878a4088f5a663635932f3825cb4ac9065cb6b609c87a69e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/shared/src/validators/plugin.ts:728 \u00B7 packages/shared/src/validators/plugin.ts:1114 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/validators/plugin.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a72b83b826f2287aa1870770d7b7804a4d680f410edf959e9ecc5683f904eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/shared/src/validators/tool-access.ts:339 \u00B7 packages/shared/src/validators/tool-access.ts:1067 \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/shared/src/validators/tool-access.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a241a4114c0212ed20138f632e6f913c599c192a692628bcf7a4b3f8fa455daa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/shared/src/validators/tool-access.ts:616 \u00B7 packages/shared/src/validators/tool-access.ts:641 \u00B7 packages/shared/src/validators/tool-access.ts:916 \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/shared/src/validators/tool-access.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"076839c60ec14c4f62c8d3d82e91525a1e1b2c051da917eece5f5b78dc60f817"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/shared/src/validators/workspace-file-resource.ts:38 \u00B7 packages/shared/src/validators/workspace-file-resource.ts:74 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/workspace-file-resource.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7485a5c24ee254f632224dd65695bffae1f10dc2e3b919057e3bd04638b6fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/skills-catalog/src/catalog-builder.ts:863 \u00B7 packages/teams-catalog/src/catalog-builder.ts:939 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef58cf402835c5cf4670b30c42b74707e076e4d93f59e6234ba44a0c2397455"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/bootstrap-npm-package.mjs:205 \u00B7 scripts/check-release-package-bootstrap.mjs: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":"scripts/bootstrap-npm-package.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b247711d5083b47dc16f2d85e2f841585b10221184787243a115033dfaafa89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/check-release-runner-lockfile.mjs:54 \u00B7 scripts/runner-image-publish.mjs:523 \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":"scripts/check-release-runner-lockfile.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d547799ece4a0f6fb71e29410a0d56481596bf2ec863f6630060b78b67c295b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/check-release-runner-lockfile.mjs:54 \u00B7 scripts/runner-image-resolve.mjs:285 \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":"scripts/check-release-runner-lockfile.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d917b5a261123c3783e499a95ac28143620aac9048d3363f322a6e26ffb0e342"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/ci/vitest-impact-report.mjs:29 \u00B7 scripts/ci/vitest-selection-graph.mjs:142 \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":"scripts/ci/vitest-impact-report.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bf9e94a290aa287a5bc4894c274ce5def6d5a236fe31518afd76419dc6de34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): scripts/codemod-extract-colors.mjs:455 \u00B7 scripts/codemod-extract-misc.mjs:591 \u00B7 scripts/codemod-extract-sizes.mjs:509 \u00B7 scripts/codemod-extract-type.mjs:231 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemod-extract-colors.mjs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cf2c298cbd855af7ae470cf5c54b4b71f6ff814398a3669f2e398974db5e94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/codemod-extract-misc.mjs:160 \u00B7 scripts/codemod-extract-misc.mjs:228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"34272914c5f369f2e28e7ecdd3953a82e15bfd086e1dd5d600675da446e42bb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/codemod-extract-misc.mjs:223 \u00B7 scripts/codemod-extract-sizes.mjs:221 \u00B7 scripts/codemod-extract-sizes.mjs:241 \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":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1467e3813817359d3d248f7689512a5f14409502751fc34569217d70fc036357"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): scripts/codemod-extract-misc.mjs:98 \u00B7 scripts/codemod-extract-sizes.mjs:136 \u00B7 scripts/codemod-extract-type.mjs:58 \u00B7 scripts/codemod-type-ladder.mjs:112 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"171fbaaad6359664e9c0edbdbe9ec988414e37bef3e064c8e59edf00b5a9ae80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/runner-image-publish.mjs:223 \u00B7 scripts/runner-image-publish.mjs:237 \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":"scripts/runner-image-publish.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4bceeed7f6dae98fed9b27d9b2d62fb4a4a0a5e0f21253ca47e19524f734f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/screenshot-file-viewer.mjs:33 \u00B7 scripts/screenshot-fork-flow.mjs: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":"scripts/screenshot-file-viewer.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaff47865735183ca9b1824411062ee63cddca35a25e9ea2fa9f6340e278ef0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/smoke/mcp-fixture-harness.mjs:131 \u00B7 scripts/smoke/mcp-fixture-harness.mjs:187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/mcp-fixture-harness.mjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d39d403dcab31af4383ecc00f6835d0f29fc910fb4781b7398a6b6fa4b5b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:580 \u00B7 scripts/smoke/posthog-live.mjs:563 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"422b6e70f887cf00484aeba7ce7c1408d15ab6d4166ffd6c88269ffa3f0cd661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/smoke/notion-generic-live.mjs:641 \u00B7 scripts/smoke/notion-generic-live.mjs:945 \u00B7 scripts/smoke/posthog-live.mjs:841 \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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3a15b9ac2a0fab2fcd6254ff0fb644acad0959acb52fbb9a874fe4f08f9118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/scripts/migrate-skill-packages.ts:19 \u00B7 server/src/maintenance/agent-files.ts:15 \u00B7 server/src/maintenance/ephemeral-migration.ts:22 \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":"server/scripts/migrate-skill-packages.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dd5e79917f669f8f875d7d618187b18ec5d46d4a7ef5ef2ca22890a847f897"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/scripts/query-cost/drive.ts:81 \u00B7 server/scripts/query-cost/drive.ts:165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a972c81d8089e6709e6359fec4a7839d04d419d6bf83cb7c996349420fab997"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/index.ts:1932 \u00B7 server/src/index.ts:1975 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ff1193f7df06fd5506d70247eda0d9eb6e6805a644d1446c605ff3d8c42bd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/instrumentation.ts:156 \u00B7 server/src/instrumentation.ts:249 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeac29386d008881ac342fa2219acb2d59dbef469ef13f66670d6029d570b9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/lib/agent-records.ts:211 \u00B7 server/src/routes/agents.ts:2158 \u00B7 server/src/services/company-portability.ts:1326 \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":"server/src/lib/agent-records.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e1b1668151e576152eeb3d8b3174c666640f935a57806bb42f99e54a8d7804"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/lib/approval-records.ts:48 \u00B7 server/src/services/approvals.ts:78 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/approval-records.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f028afee5f2f6e99a1b097e2fec2ea45b2ec77ea4dd2cafedb565f7eb48f24b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/middleware/auth.ts:733 \u00B7 server/src/services/native-runtime/native-session-executor.ts:16391 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"855d153aed419d960fc76ea6f9b14ac8558ed5b5f4ac9d484a5a314c54b06dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/modules/run-dispatch/adapters/postgres.ts:285 \u00B7 server/src/services/issue-thread-interactions.ts:3024 \u00B7 server/src/services/issue-thread-interactions.ts:3491 \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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8976d0683e3faa5716934515766cee735692a3cea2d4da266e80c2eb355e3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/modules/run-dispatch/adapters/postgres.ts:686 \u00B7 server/src/services/chat-native-progress.ts:288 \u00B7 server/src/services/native-runtime/native-governance.ts:77 \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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"2252e8e1fd11d92de6f86b7ee7b4f8617e87d8b915a11fc2da1b09974a237f50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:276 \u00B7 server/src/services/issue-recovery-actions.ts:255 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd52f7e174050c333872efe9182c018db439ffd95a58a497dab3ce7f1198572b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:1054 \u00B7 server/src/services/issue-recovery-actions.ts:255 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc691c8cf1117e11c96adeee0ccea5830cfe54252649ef0b79cee9a4f064875f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): server/src/modules/wake-queue/adapters/queued-comment-postgres.ts:329 \u00B7 server/src/routes/issues.ts:8010 \u00B7 server/src/services/chat-channels/inbound/wakeup-authorization.ts:138 \u00B7 server/src/services/heartbeat/queue.ts:1528 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cbbbee1548e5e3738faa7363591ba5c7bb06a18bbad3b720fa084f47c3999f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/realtime/environment-custom-image-terminal-ws.ts:38 \u00B7 server/src/realtime/live-events-ws.ts:37 \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":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8e1a8a89d5aec0db35e07006ed0d07e2e3b7265fa745f6b3c9837c510e3188"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/realtime/environment-custom-image-terminal-ws.ts:734 \u00B7 server/src/realtime/live-events-ws.ts:427 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99caf18fbee9f19aa8414ece26df46875499a6d9d510804fb92b7d570c29212"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/routes/access.ts:1253 \u00B7 server/src/services/document-annotations.ts:308 \u00B7 server/src/services/document-annotations.ts:342 \u00B7 server/src/services/document-annotations.ts:376 \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":"server/src/routes/access.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1efd4660ae008fbb3230abe6fe34e647a29ab757728d5aca785466619feaab1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 23 locations): server/src/routes/access.ts:1572 \u00B7 server/src/routes/approvals.ts:357 \u00B7 server/src/routes/auth.ts:20 \u00B7 server/src/routes/issues.ts:7065 \u00B7 \u002B19 more site(s) not listed \u2014 the 23 copies are spread across 11 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"27be0546b94e6e4e6a3f0a2d6e4eb387769598af55ff0c54bd863da52d54dacd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:374 \u00B7 server/src/routes/workspace-runtime-service-authz.ts: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":"server/src/routes/agents.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"045fc63277e03f97e7a4995c81fdb708be54b68ebd6eb8324ed321ea4f18be4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:2404 \u00B7 server/src/routes/agents.ts:2412 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfd3be432b02f512f953e44025d402f46435783c0f3b850ddf5a48845ab0d78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:4108 \u00B7 server/src/routes/agents.ts:4120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1174f4dc4471390cb68f1dc320cc81a50c3bc7970dcc2a03850937c9d9d9e94b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:4177 \u00B7 server/src/routes/agents.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":"server/src/routes/agents.ts"},"region":{"startLine":4177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b97d288069bc787c1969bdbb06b469cd578e74280b559163611c8ba7a2acce8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:4304 \u00B7 server/src/routes/agents.ts:4317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"679cb4f2163bb07f14c14fc81d66e74c565d0983c2471eae5e9bf258d8f90a8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:4655 \u00B7 server/src/routes/agents.ts:4976 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f365ba0ded0880aeb36fbd3d742997f6b1faa2bb2c0a57d44fe92f6e6f42f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/agents.ts:6141 \u00B7 server/src/routes/agents.ts:6152 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea7c249ac6456eaaef8eec161605662263021ec86788df269bd332a69e3b66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/routes/agents.ts:6964 \u00B7 server/src/routes/agents.ts:7018 \u00B7 server/src/routes/agents.ts:7088 \u00B7 server/src/routes/agents.ts:7110 \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":"server/src/routes/agents.ts"},"region":{"startLine":6964}}}],"partialFingerprints":{"codehealthFindingId/v1":"40524c7c471a7c15920ec9d20c1092792bef855ce313f98e6e681cc9cf63fffe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/ai-connections.ts:185 \u00B7 server/src/routes/ai-connections.ts:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddbcdf3b4b46f75cccfd30f16c18ed1edbe32a3a4222eec3c602d81a2a4b29a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/announcements.ts:25 \u00B7 server/src/routes/announcements.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":"server/src/routes/announcements.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78359b499a42b38ad6f44c58c99b2be1a4150e13df53086bd1fd38263e45c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/cases.ts:1189 \u00B7 server/src/routes/cases.ts:1211 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6bc241984937e700b05e6d4a26ac6690543791d0f592ba6f9a2e277530bf75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/cases.ts:1382 \u00B7 server/src/routes/cases.ts:1455 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"69df9ed9074e14b0c9a1ac76045f5cfb70ce183075d93e95a34d24048767880e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/routes/cases.ts:1500 \u00B7 server/src/services/chat-channels/publications/requests.ts:116 \u00B7 server/src/services/chat-channels/publications/requests.ts:217 \u00B7 server/src/services/issue-thread-interactions.ts:3496 \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":"server/src/routes/cases.ts"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf789af18acefe26837da1e21475e75f970241f6cb213dbf616c7b0cbd74d7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:253 \u00B7 server/src/routes/chat-channels.ts:294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76bb3805acdba7b1a8c99bf08dd2fb165b8346502bf1b720fc99ed90d18bf46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): server/src/routes/company-skills.ts:405 \u00B7 server/src/routes/company-skills.ts:529 \u00B7 server/src/routes/company-skills.ts:667 \u00B7 server/src/routes/secrets.ts:603 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"732eb388180055b34969eb477a466029cfa198b87cba49c0d7010136ad386852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/company-skills.ts:749 \u00B7 server/src/routes/company-skills.ts:1203 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e52011b35af790bdd5e2bbb0141364b03b7cf9bd3a13f5dc3f384a79b6da3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/costs.ts:201 \u00B7 server/src/routes/costs.ts:215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8248d4a2a1db295d9a2e36a0b34772758b5b89336e153584f10987aaa1842b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): server/src/routes/costs.ts:224 \u00B7 server/src/routes/costs.ts:251 \u00B7 server/src/routes/costs.ts:260 \u00B7 server/src/routes/costs.ts:269 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 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":"server/src/routes/costs.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"64903b83edc039c503d2ee1ef96254b8bdef08b15c08a5bf1c23acd6e9571276"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/email.ts:136 \u00B7 server/src/routes/email.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":"server/src/routes/email.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9789aa4b07a288cbfdf790441e5fd7203bf7d48ccc8c8097940113decff47251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/email.ts:201 \u00B7 server/src/routes/email.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":"server/src/routes/email.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"997a94c02c805e473d4be9866a5984d633d404986a4f55064417b752a942a799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/routes/environments.ts:865 \u00B7 server/src/routes/environments.ts:1182 \u00B7 server/src/routes/environments.ts:1327 \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":"server/src/routes/environments.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e619fb508d4fe16f5c3a053ed43828cc8721804d28de866d7dbbbd04a44d488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): server/src/routes/environments.ts:883 \u00B7 server/src/routes/environments.ts:948 \u00B7 server/src/routes/environments.ts:980 \u00B7 server/src/routes/environments.ts:1143 \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":"server/src/routes/environments.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a22e55f98ff6dfd8c2c10b78857dd507dc013d7bc282c568c816461f7bf7ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/issue-tree-control.ts:431 \u00B7 server/src/routes/issue-tree-control.ts:459 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d0bc34eea20b68fec0123362523fb0892897b37b1a3927c7daf7472305efb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/issues.ts:483 \u00B7 server/src/routes/openapi.ts:826 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ca78955502cb96e95196438c843a0aeb1449201f24f53866fd019d67408d00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15 locations): server/src/routes/issues.ts:7800 \u00B7 server/src/services/chat-channels/inbound/wakeup-authorization.ts:212 \u00B7 server/src/services/chat-channels/publication-replacement.ts:535 \u00B7 server/src/services/chat-control-recovery-stop.ts:503 \u00B7 \u002B11 more site(s) not listed \u2014 the 9 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":7800}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143db4e5856711705ce20f4ec2e19653f94b7a5965d7695b5c51c09938adf1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/issues.ts:9780 \u00B7 server/src/routes/issues.ts:17721 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e130e387ec6185ac64d79efe355bd6903c4ae7ab70ec82b9f8b41dd4cec0266"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/issues.ts:10893 \u00B7 server/src/routes/issues.ts:15611 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10893}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7c426d1a7e1d10107fb70dd1fbb2aab6f62bc8d09e8b624f349f5dc1010da2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/routes/issues.ts:12629 \u00B7 server/src/routes/issues.ts:13200 \u00B7 server/src/routes/issues.ts:13240 \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":"server/src/routes/issues.ts"},"region":{"startLine":12629}}}],"partialFingerprints":{"codehealthFindingId/v1":"305ee26f4ea0e0a8928c8d1fde4bd5d4352e0ba434d1c2d2485a2a31a64e8809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/issues.ts:14574 \u00B7 server/src/routes/issues.ts:18563 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2e6366d45893e540db9e788efff888a4041f0f3db7b273d0868217e4f195f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/issues.ts:19825 \u00B7 server/src/routes/issues.ts:19841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51fd88527ef6cd766973b011035f6ca0249ecfe2e419e077115a078c5020494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): server/src/routes/openapi.ts:3928 \u00B7 server/src/routes/openapi.ts:5425 \u00B7 server/src/routes/openapi.ts:5582 \u00B7 server/src/routes/openapi.ts:6360 \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":"server/src/routes/openapi.ts"},"region":{"startLine":3928}}}],"partialFingerprints":{"codehealthFindingId/v1":"31266de80e166e3f916c650b925387bf13cea46f267ef0df5da070dade2e1f80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/routes/openapi.ts:4162 \u00B7 server/src/routes/openapi.ts:5616 \u00B7 server/src/routes/openapi.ts:6316 \u00B7 server/src/routes/openapi.ts:7690 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4162}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e4e70e58c07875b1148c017668fb907427ba937ec5140b30a5a0bab4df7c2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11 locations): server/src/routes/openapi.ts:4189 \u00B7 server/src/routes/openapi.ts:4765 \u00B7 server/src/routes/openapi.ts:4804 \u00B7 server/src/routes/openapi.ts:4893 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":4189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e732da37c44c3f8c3bdef93578e3631299ebaac6076c40a77b67ef91232a7da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/openapi.ts:5028 \u00B7 server/src/routes/openapi.ts:5040 \u2014 both copies are in the same file, so extract the block 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 \u0060registerPath(\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":"server/src/routes/openapi.ts"},"region":{"startLine":5028}}}],"partialFingerprints":{"codehealthFindingId/v1":"067254d2db27a7059eb71bc131035934d04ffad19e8beb3a649b9c713bbd262f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/openapi.ts:8267 \u00B7 server/src/routes/openapi.ts:8314 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a47950b60b1d5a4d4ac10326105fb3f4fd4d975e46d687939a04e9a527f6bd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/openapi.ts:9145 \u00B7 server/src/routes/openapi.ts:9202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":9145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8038e582ea3f68dd8c282069ce82bb8682377efdf155c527da38b1dd6711ebf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/openapi.ts:9242 \u00B7 server/src/routes/openapi.ts:9490 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":9242}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fa3d344660b6a8899f856c34bc97853f70551c3577fb862a2a96c35d5d0351"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/openapi.ts:10028 \u00B7 server/src/routes/openapi.ts:10040 \u2014 both copies are in the same file, so extract the block 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 \u0060registerPath(\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":"server/src/routes/openapi.ts"},"region":{"startLine":10028}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff945a5e51ebe6a881a3dbc7bf9027c47a05a57ce5f21cd1c0742d3960cda11a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/openapi.ts:11981 \u00B7 server/src/routes/openapi.ts:11992 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":11981}}}],"partialFingerprints":{"codehealthFindingId/v1":"817f602deadf12f2e67323a0ecf4a7c28679a3cf4ee9f042e0932eb04c72bbe6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/plugins.ts:843 \u00B7 server/src/routes/plugins.ts:865 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d30ce08c7fef70b8a7a551bbc96d92a5a0f497b84aa42c84030e747e025404f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/plugins.ts:1591 \u00B7 server/src/routes/plugins.ts:1775 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1557eb03a0bd241bde9c7a8e83fd1ad08c5778a022d0524fae145b9f684936f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/routes/plugins.ts:1887 \u00B7 server/src/routes/plugins.ts:2527 \u00B7 server/src/routes/plugins.ts:2781 \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":"server/src/routes/plugins.ts"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ab93dacbdfef400fb3d59fa96521d600535c48beb402fc720608b757acda20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/routines.ts:500 \u00B7 server/src/routes/routines.ts:541 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deb9b0ca6acf19c1e5b697b2ec628bd9969fcafe1666dfc5c8fdbcda5f3d802"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/tool-access.ts:568 \u00B7 server/src/routes/tool-gateway.ts:394 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec64adda349ce69ba66fcfcb233c71156785350b28310be0f6f9c0b3ca508f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1057 \u00B7 server/src/routes/tool-access.ts:1077 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dab95187c78ff58800d89d5cbd3a0ecb6e1906366751b9a7fbc9a09fd53312a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): server/src/routes/tool-access.ts:1096 \u00B7 server/src/routes/tool-access.ts:1763 \u00B7 server/src/routes/tool-access.ts:2089 \u00B7 server/src/routes/tool-access.ts:2549 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"624e283377a21da4f7d6bd30e5cf9774f9b03c01ad3da5c2ec0c7eb3cd4d5e5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/routes/tool-access.ts:1643 \u00B7 server/src/routes/tool-access.ts:1726 \u00B7 server/src/routes/tool-access.ts:2454 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"5801f29a71bc6bae954b2d8ac0b99cc595ea35ca355662a4b41998e529536a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1892 \u00B7 server/src/routes/tool-access.ts:2053 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad19a3504f3ebcc575d31237dbb0834536b6c8076e9e1951f5552da1368b5f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/routes/tool-gateway.ts:908 \u00B7 server/src/services/environment-runtime.ts:4502 \u00B7 server/src/services/environment-runtime.ts:4615 \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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60c1259eff4219a9a190d63ac4e44b211d33f879548f67932075adf8cb1157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/routes/user-profiles.ts:218 \u00B7 server/src/services/costs.ts:336 \u00B7 server/src/services/finance.ts:116 \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":"server/src/routes/user-profiles.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c152563817d8bce593a20fb6af7bc19da51f1b9ab9f9493f6e4b66514c4c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/adapter-plugin-store.ts:85 \u00B7 server/src/services/adapter-plugin-store.ts:108 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/adapter-plugin-store.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4fb2ce18f39a7676f96f4b3907a2eed369007b1e261c39a95ebbe22709a41b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/agent-directory-probe.ts:25 \u00B7 server/src/services/agent-directory-probe.ts:120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500e7581c2e81896e6a0b42ee347f2f3c5c17ce4b3de28ae3728a693677df61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/agent-instruction-working-copies.ts:505 \u00B7 server/src/services/agent-instruction-working-copies.ts:574 \u00B7 server/src/services/agent-instruction-working-copies.ts:624 \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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c9e7f09c8016a372a4a1fba149298cef26fce0764d5d18fd3bee3c29da1c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/agents.ts:69 \u00B7 server/src/services/environments.ts:1911 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agents.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc6135dfad7c4c5b40d0e64fc4861909e6dd4de53fef35faef63ac55289ecd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/approvals.ts:33 \u00B7 server/src/services/issues.ts:13334 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approvals.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdaa033deae92babcb7a77db7f1b83f3cc4bb251682238c48326b8878a4908a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/approvals.ts:102 \u00B7 server/src/services/approvals.ts:124 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approvals.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda5e02a25b349c98ce165079a3ac72f9e92b1023b8f8423361480d03b671b53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/attention.ts:880 \u00B7 server/src/services/heartbeat/run-preparation.ts:3129 \u00B7 server/src/services/heartbeat/run-preparation.ts:3145 \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":"server/src/services/attention.ts"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca71caccbe9ddd146c3ae6feef7ba87fe4b7df4dd5a838c9e9fc801e3a52d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/browser-use.ts:134 \u00B7 server/src/services/native-runtime/native-codex-runner.ts:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"300b3789645cc819ec81cba1c91843412090fea79d545c3af5649802d4831c0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/budgets.ts:1027 \u00B7 server/src/services/execution-workspaces.ts:5181 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b63dd12599d41a4f13f23b894648f6cb3a0f8addf6b84d26d63c3c9ea16df44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/built-in-agents.ts:883 \u00B7 server/src/services/connection-intents.ts:157 \u00B7 server/src/services/connection-intents.ts:186 \u00B7 server/src/services/issues.ts:7884 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76fdf3f6d35a00b16254398477575d8fe8639e3ddd9d2ba435714a8fb4862fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/activity.ts:72 \u00B7 server/src/services/chat-channels/identity-links.ts:26 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef5d6b7e417955e01c1751c439fd9e5f4ef3ae062f61f1cdb30a183caa75f8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/lifecycle.ts:704 \u00B7 server/src/services/chat-channels/telegram/publication-drafts.ts:114 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e929fa64481bd21c400f0f07080b8babd64a628d1f41d74ca82d9defe7ee2abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/chat-channels/inbound/lifecycle.ts:511 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3103 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3117 \u00B7 server/src/services/native-runtime/native-startup-retry.ts:60 \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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0b5009f82933633b80c221ebb8bac98198d08e431dce4fd6f41ae03349928a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/wakeups.ts:90 \u00B7 server/src/services/chat-channels/inbound/wakeups.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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae21f33a5c71c311253c0538c10eca4ffbcc0bf0128b8e3b3fd1024702ea058"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:507 \u00B7 server/src/services/chat-channels/reactions.ts:453 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1513 \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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d020e6c6bf97be0b22ce48caad3022f83873616108257e6b96e42550c4c358b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:874 \u00B7 server/src/services/chat-channels/publication-replacement.ts:226 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cb57444e24cf89934e6341b4adc15160c6125db7ac4f145a0776650d11492e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/chat-channels/outbound-attachments.ts:104 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1532 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1625 \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":"server/src/services/chat-channels/outbound-attachments.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2ec51ebc7e2fb7db63b83c2b2ee0c6a2454dcdc3f4f7f0f2312f11fc86382"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/publications/worker.ts:177 \u00B7 server/src/services/chat-channels/publications/worker.ts:277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b053b70edbf9a2e707364510cd5ccecdd269068582503e488d774b8f47c8ab8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): server/src/services/chat-channels/publications/worker.ts:248 \u00B7 server/src/services/chat-teams-file-publication.ts:106 \u00B7 server/src/services/chat-teams-file-publication.ts:190 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:645 \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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"319121a620d775a9e4afb2f2f8e72e0a1375503641578044df2a4376745d52b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/setup-probes.ts:159 \u00B7 server/src/services/execution-wait.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"424e532cc76dcb23606dfd307489a926e552b755ae99c3cc6354514a28581cb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/slack/form-retry.ts:43 \u00B7 server/src/services/chat-channels/slack/form-retry.ts:69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-retry.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1065c062b0ef41796bf202cd5fbbfab095da3ff052e659f01ffda37cae5e2f5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/slack/task-start.ts:602 \u00B7 server/src/services/connectors/slack-delivery.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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea0f46d67fda8c6851a5f1d21284e1dc9839d56d881274256cd0019e6c64462"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-channels/telegram/credentials.ts:12 \u00B7 server/src/services/chat-channels/telegram/setup.ts:32 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/credentials.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"378d72e30677cd8fbd8048e99c287a6641b9fde51b6b966ccce652aeaa43ae77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-control-recovery-stop.ts:301 \u00B7 server/src/services/durable-chat-wakeup.ts:405 \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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abaff902b780b50a72a21af7b9abfca3ac48bf277fc91d70732b496842731d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/chat-control-recovery-stop.ts:596 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:116 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:186 \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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdcfcbd1ecc00207bfb07434ff4f6ddb34c4d58e1f0b08bb1597016378c3ccf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-github-webhook-config.ts:135 \u00B7 server/src/services/chat-github-webhook-config.ts: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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2083c149b54358ab683e16f2a3b7cc35eeb4e84b34fbe0109b1c5e31b9df4d56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-github-wizard.ts:1371 \u00B7 server/src/services/chat-github-wizard.ts:1487 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e623b018b16afe99d09047ea9c6836976126c3b692174e1bb6c82ebb66c67c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-interaction-arbitration.ts:42 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:202 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-arbitration.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9fcd21f1a390920b4a62acb320b07c495a7fa6eb5bf97b92f274169db137b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-native-progress-work.ts:12 \u00B7 server/src/services/chat-run-milestone-work.ts:14 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-native-progress-work.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b390b6e52ea8e4b42a065d20c8fbc444c4ebcfc8311e58cd8bd5c906c12f2fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-native-progress.ts:184 \u00B7 server/src/services/chat-run-publications.ts:589 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-native-progress.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb51dee5e2a756adae1f728f1b11b3a1e8d7956fc50f1e74c1963e263d61573"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/chat-native-progress.ts:340 \u00B7 server/src/services/chat-native-progress.ts:362 \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":"server/src/services/chat-native-progress.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cdf8a40d8a2f0c2a34ab36573de6bf5e287bbbcdf2ed4a7452fc472e36fb97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/companies.ts:149 \u00B7 server/src/services/costs.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":"server/src/services/companies.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab78e964921520914d981b2558048655fa1ee08d6587577b7fb2729c971da4ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-portability.ts:331 \u00B7 server/src/services/company-skills.ts:574 \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":"server/src/services/company-portability.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0105f8887a42485b96926a7c287d801f8ee73abc8b51ad6270c92acb044f69d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/company-portability.ts:1714 \u00B7 server/src/services/company-portability.ts:1739 \u00B7 server/src/services/company-portability.ts:1751 \u00B7 server/src/services/company-portability.ts:1763 \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":"server/src/services/company-portability.ts"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"4522224d430cc1d663f9fb0170e379b5e56cf98656ea8259d5dba13d679bc6bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-portability.ts:1725 \u00B7 server/src/services/company-portability.ts:1747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d99411ae7201f1978b07a7f96965a67e81983ac83e94cc57bf20a1c1cbb0c19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/company-portability.ts:1743 \u00B7 server/src/services/company-portability.ts:1767 \u00B7 server/src/services/company-portability.ts:1775 \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":"server/src/services/company-portability.ts"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98b7362a150bbafaa5664261ceeee2163e5e173da4313e6f3c5cb027fd7e15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-portability.ts:3336 \u00B7 server/src/services/company-skills.ts:1048 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":3336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa464b3d8db6ab7bacf296d15f16484cac0e36765aad63014dd97c9cc1af84d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-search.ts:1013 \u00B7 server/src/services/company-search.ts:1022 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f70777d55a23cc383bf2ae4ee0a067eb744bf93d414b60e218eaa99aa4e18db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-skills.ts:1009 \u00B7 server/src/services/company-skills.ts:1018 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd07bb0775680f8d58929f595f88b8156f0bce80f53b570a9060233dd901440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-skills.ts:4135 \u00B7 server/src/services/company-skills.ts:4556 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4135}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c91c65c0aadd0dab055826c83d58dedb97b3abb2a01e8451de04ad7675e12c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-skills.ts:4161 \u00B7 server/src/services/company-skills.ts:4555 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4161}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e7bf071c40025031e39faf19e5fb22b212ba7c4d09ad20fa3d71c197a3924b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-transfer-runs.ts:167 \u00B7 server/src/services/decision-queues.ts:737 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-transfer-runs.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0101520b2671c0af025e32b13b209bbb213b4cb5447fc6e70a0a5abe6ff4c77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/company-transfer-runs.ts:249 \u00B7 server/src/services/company-transfer-runs.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":"server/src/services/company-transfer-runs.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32f137fde180d80ede0ce6dc464a0826e0b0a6d5a51113dde2cf1cb257858a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/connection-credential-bindings.ts:55 \u00B7 server/src/services/issues.ts:9935 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-credential-bindings.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee02eb5f6cdd1962a1de1cea0fb17ada51122901d5af51156592fabbd8e2257"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/connectors/slack-writes.ts:228 \u00B7 server/src/services/customer-success-inspection.ts:420 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1700 \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":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d5dedb50432a3f744dc6fcdd07b3e621b550849ab313a7318ffc974dcb5fbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/costs.ts:302 \u00B7 server/src/services/costs.ts:551 \u00B7 server/src/services/costs.ts:607 \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":"server/src/services/costs.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"520166ecc9e49eb618c960f4e37fc0fb22e48fa9c880a5fe31bc38775a7c6cdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/costs.ts:338 \u00B7 server/src/services/finance.ts:117 \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":"server/src/services/costs.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a14525c11cfe6542dd62c56328e0c6f12e33774765176950b135d3c0b55ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/costs.ts:552 \u00B7 server/src/services/costs.ts:608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5b5e4ed155a342a573a0ec6815742ebe237a5b14aeb3bf54556679677f8293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/costs.ts:608 \u00B7 server/src/services/costs.ts:675 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59b2d9574905be8721da9db4c3adc1ce34f0282a71e5561b970bc71ea741975"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/customer-success-inspection.ts:420 \u00B7 server/src/services/native-runtime/chat-attachment-read.ts:237 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1700 \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":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce6866fa92d3a60ead32de5a671258205f0ec120d2903061579e6d42c4cee30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/decision-archive-delivery.ts:76 \u00B7 server/src/services/decision-archive-delivery.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":"server/src/services/decision-archive-delivery.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa7ae70254d9708d3672a0d18ce146da45b99fc9d7592d24f5bf278afb4ae39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/decision-queues.ts:504 \u00B7 server/src/services/decision-queues.ts:562 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5557f9daa823ddad1710fb585eb035b54f7ade97462a624c4b25f8cfa76d5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/decision-queues.ts:629 \u00B7 server/src/services/decision-queues.ts:686 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e558cd3737d9e0fa390c9e6ffe0dd1108611f2352be8fdd51fb5bc61c3e321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/decision-signing.ts:148 \u00B7 server/src/services/decisions.ts:77 \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":"server/src/services/decision-signing.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdcfdfac084ba2bd7e196acc4ebf57ad2b56a9867ab921da6a488c34dad514b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/decision-training.ts:91 \u00B7 server/src/services/decision-training.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":"server/src/services/decision-training.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c55893854b2fbd618e4677c609af0a5401f28075466bbb01932e52793cca63f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/documents.ts:233 \u00B7 server/src/services/heartbeat/retries.ts:2031 \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":"server/src/services/documents.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6684ba35accd4717769e315f5a52ceb2bdcb0b680b0800aee2dc4f7a4b679c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/environment-config.ts:518 \u00B7 server/src/services/environment-config.ts:620 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e69fbbc8aa1ac8810b5fe4a11efca0b3f684491ec01c25877df042fa1b81e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/environment-custom-image-terminal-sessions.ts:100 \u00B7 server/src/services/github-pull-request-merge.ts:82 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-image-terminal-sessions.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c267d76056a94b5841ef17be029e169567ca6c3b9e527de43a45622a504e93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/environment-custom-images.ts:299 \u00B7 server/src/services/environment-custom-images.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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d34dc5208694a7dae3561e71c941e36b20e7e41a670fa19cc4f801552a24e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:2420 \u00B7 server/src/services/environment-runtime.ts:3291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"028d08e4a1b3810904cac44b77a705a4cc3ce6a975e5a075d86ea50c45a5d02b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/environments.ts:1143 \u00B7 server/src/services/environments.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":"server/src/services/environments.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1969a8f1e40125ad65f48fc68e8f1341019768ab480582fb7ac0b8d858c936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/environments.ts:1355 \u00B7 server/src/services/issues.ts:13277 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"361f5b73ae1ccd1fc419d83d319a21af2a93fec4da73ab696aae65839034f4e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/execution-continuation.ts:54 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.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":"server/src/services/execution-continuation.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a519d3b883178c1c63ee1e4865860dc224a714c4342f330badf7a3e9eceee5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/execution-projection.ts:382 \u00B7 server/src/services/execution-projection.ts:420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b83507cd320645d092bf5ffb7e58a85a2194587ba86fca449ff80095b823d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:2257 \u00B7 server/src/services/execution-workspaces.ts:3182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6fe763a0cfdc51e3f046df1d6f7b6aaca3643b2b2096f60a0f10899612418a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:3919 \u00B7 server/src/services/execution-workspaces.ts:4160 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3919}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f875a81406a4f6c5de0a6f8a05c78325808015c0c81a628ecadf65dca1ffdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): server/src/services/external-conversation-settlement-work.ts:29 \u00B7 server/src/services/native-runtime/native-environment-settlement-work.ts:121 \u00B7 server/src/services/native-runtime/native-recovery-notice-work.ts:26 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:84 \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":"server/src/services/external-conversation-settlement-work.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca6eacbf93b73f8ec6b8e24b4fda16066bb6d53d4e8349263ed4105067068d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/feedback.ts:392 \u00B7 server/src/services/feedback.ts:577 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ecd29e9108d48c8594fa677c2600ae28fb5e8d3d870e06216d5672b88191de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/goals.ts:27 \u00B7 server/src/services/goals.ts:41 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/goals.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"894663ef7196db2e9c02d7afdabe118b9fea40f5f92d360677be50089f90cba9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/goals.ts:60 \u00B7 server/src/services/issues.ts:13334 \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":"server/src/services/goals.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a4635084de80855d1f8aebca5df0b254f6a9edef167882390524349ce89089"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/heartbeat.ts:4572 \u00B7 server/src/services/heartbeat.ts:4580 \u00B7 server/src/services/heartbeat.ts:4588 \u00B7 server/src/services/heartbeat.ts:4596 \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":"server/src/services/heartbeat.ts"},"region":{"startLine":4572}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb14dc84fcfdcea1633eacdc43dec1a852a698a5793fab9a6240b70c813986b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/heartbeat.ts:4600 \u00B7 server/src/services/heartbeat.ts:4608 \u00B7 server/src/services/heartbeat.ts:4616 \u00B7 server/src/services/heartbeat.ts:4665 \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":"server/src/services/heartbeat.ts"},"region":{"startLine":4600}}}],"partialFingerprints":{"codehealthFindingId/v1":"367b714a1ac1b1fa7e6029886a6d7f0eb2baa4068127213cf20bb5153f727c39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/heartbeat.ts:4641 \u00B7 server/src/services/heartbeat.ts:4649 \u00B7 server/src/services/heartbeat.ts:4657 \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":"server/src/services/heartbeat.ts"},"region":{"startLine":4641}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9c8fb61ccafbd61a432a55ffe8579ee071ee7fdb3a61358f4217427e3964c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:1569 \u00B7 server/src/services/heartbeat/queue.ts:1699 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"530206aa7ec4325319cbbe9817bce20e88e9c93145df3bb64d132ad200de375d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/heartbeat/queue.ts:4845 \u00B7 server/src/services/heartbeat/queue.ts:4864 \u00B7 server/src/services/issue-creation-source.ts:102 \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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":4845}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afc72bf6eca138232b08c2051fc110196dfecc7a8ff5761e9939773d9928d7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/heartbeat/retries.ts:1678 \u00B7 server/src/services/heartbeat/retries.ts:1729 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf555ccc4e757f0aa2ad478e2a7908db437404ad8d92980fa7358e83d669311d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/heartbeat/run-completion.ts:1640 \u00B7 server/src/services/heartbeat/run-completion.ts:1659 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f70d857a9131c397e5761f0a7c757c4d8b45bd8d47068b37b3c74aac6f6425c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/heartbeat/run-preparation.ts:2340 \u00B7 server/src/services/heartbeat/workspaces.ts:3484 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f93ebf5a61e17dd2c0dd8c009bb491ecd44bb84660b5ac34c65060b69cd3c98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/isolated-task-directory-snapshot.ts:255 \u00B7 server/src/services/native-runtime/runtime-asset-retention.ts:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-snapshot.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e9e2f3e3872f114af4f16957a173def3919c75f1c318f38fe83fdf1117919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issue-recovery-actions.ts:443 \u00B7 server/src/services/issue-recovery-actions.ts:505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e7b792dafffdf259567764644ffdf12c7f0587bbf58b06dcf0149b41003b8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/issue-thread-interactions.ts:4920 \u00B7 server/src/services/issue-thread-interactions.ts:5614 \u00B7 server/src/services/issue-thread-interactions.ts:5876 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4920}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a23dde42be4edddbd18b43122641daa2445eb01a73b62f46ba41953d7a09b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:5361 \u00B7 server/src/services/issues.ts:12366 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9525051b8dae5ed56cf47424d0553b50269e46f787c1c7bb014336d04710fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:586 \u00B7 server/src/services/issue-tree-control.ts:1020 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5cd614e753df36bae6999407a6c508db1d67045c4b54b5af190f46728f6206"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issues.ts:4470 \u00B7 server/src/services/issues.ts:4586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"80920bad79656efeeb92fd9a4808fafa1a95f79f5e827eddad27d78c8f153491"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issues.ts:6951 \u00B7 server/src/services/issues.ts:8917 \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":"server/src/services/issues.ts"},"region":{"startLine":6951}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d2c903b389e703095f02dc1ad06a33aa7f08729c70311b3ebc90c45bc0b67d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issues.ts:7464 \u00B7 server/src/services/issues.ts:7473 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":7464}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f9906bb38c6c87ed840a55310604ffe59aeebc9ba2da72e31c4938b099c3e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): server/src/services/issues.ts:9215 \u00B7 server/src/services/issues.ts:9225 \u00B7 server/src/services/issues.ts:9816 \u00B7 server/src/services/issues.ts:10448 \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":"server/src/services/issues.ts"},"region":{"startLine":9215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfb7130d79debc003bea2b728ac9b3962cb43695498779aa791cc88595b3cea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issues.ts:9821 \u00B7 server/src/services/issues.ts:10453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":9821}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a5fe011d2675c7d0132584c5fd3126c94b8c6ce9396301eff6db81ede4b0cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/issues.ts:11258 \u00B7 server/src/services/issues.ts:11472 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":11258}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a9c17c806c462d6dc3755de52c8513366f5f3ecd6c8518e158025839aff503"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:396 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:425 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:444 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:837 \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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa913aa3bebec202ce45ebb2f7d1d0f7c390537d3383f5fc2eb4feb19678eba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:76 \u00B7 server/src/services/native-runtime/native-board-response-wait.ts:205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e2d1ebfbfd3e4d84c3c7951efaa13e77d3e8ced7f7ffed0b02bd493b2b2baf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:339 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:145 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3602a8faba25ff690ccaa21f71eaaf4d231752e41464cbd017da93a85bfcb67c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-chat-review-presentation.ts:397 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dbc60bd275b7dd44891d1be78eaf5a77204134e98f5f953a3b6138f72a133c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/native-runtime/native-codex-runner.ts:566 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1160 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1442 \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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f68884ef3f37b8ff11ac4d83aaf262369cf57f9a75d47fd4acb04afd6525c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-controller-migration.ts:114 \u00B7 server/src/services/native-runtime/native-controller-source-digest.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"df89d7cd2d0a016d289ee3e90a24df03c7a501ec89db10a1f8d3d4903c10c26f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/native-runtime/native-finalization-reconciler.ts:530 \u00B7 server/src/services/native-runtime/native-interaction-bridge.ts:792 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts:74 \u2014 the 3 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3788bb5a994c47d0c714f9db93e025dc88fff8573839075b0dc7cc5dc070a448"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-governance.ts:39 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:202 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-governance.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"948a90b61a53b718b36df5c37e21fe7e68cdef4e783d510a46f40f7859bf12dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:85 \u00B7 server/src/services/native-runtime/native-interaction-bridge.ts:114 \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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce9446b4c8aa9253826da34bfcb17f3582bee41bd5ddc7419d0c6b5c0966ff8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-restart-recovery.ts:1969 \u00B7 server/src/services/native-runtime/native-restart-recovery.ts:1979 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf9cb292518650292e0a5fcb50dee840559da28c31a4fa87e0cbb7f22dc273c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-review-participant.ts:182 \u00B7 server/src/services/native-runtime/native-status-reassessment.ts:99 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47d68bcc4fe0684570a931279e188f35ed083e97370a10eead1c246428ae847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-coordinator-store.ts:143 \u00B7 server/src/services/native-runtime/runner-semantic-authority.ts:361 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"791625aa2d0abb82fa6db8166dba1cdbfacc95f5b762b0f2b570c2335feda9aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): server/src/services/native-runtime/native-run-finalizer.ts:1614 \u00B7 server/src/services/native-runtime/native-session-executor.ts:10210 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1238 \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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b38887c50bf376f7a11ed525ee9b6170cf5b6a255cd7d6a3c3bf5edae5de119"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:10777 \u00B7 server/src/services/native-runtime/native-session-executor.ts:10795 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10777}}}],"partialFingerprints":{"codehealthFindingId/v1":"1519318a63b11e6b8dbd5847770928460d65c6f0d7cd48031b21bd1b960d28ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:14726 \u00B7 server/src/services/native-runtime/native-session-executor.ts:14734 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14726}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eefd17ef84e98884792f8c27906ad169283beb0d171bf144630a1b0a9225fa5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/provider-profile.ts:602 \u00B7 server/src/services/native-runtime/provider-profile.ts:611 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad82d6b639635e621dfb8e4edc43c48a902ca2ea584d8689431b0a1e15c2fa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): server/src/services/native-runtime/retained-provider-pack-oci.ts:73 \u00B7 server/src/services/native-runtime/retained-provider-pack-source.ts:171 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f02ba833582b61c3060400f6bd009942c6f5f3c37741ea25d1ee94617ffd94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): server/src/services/native-runtime/status-decision-committer.ts:278 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:310 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:347 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:360 \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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c410cbdb8af34dd0e4b8b52108bb6a05de9b4954e0f46b88f096c99ca405c5fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/esbuild.config.mjs:55 \u00B7 scripts/generate-npm-package-json.mjs:77 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/esbuild.config.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9405f1c9b7919a6e597c776dd2585904ea966b1ac6151af3112f22d4c571f22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/checks/managed-install-check.ts:144 \u00B7 cli/src/install-store.ts:328 \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":"cli/src/checks/managed-install-check.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca6634d18b3fd1c5c0f528f10df07740df562b6fd51562fa86f7b09849ded2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/client/board-auth.ts:51 \u00B7 packages/plugins/sandbox-providers/cloudflare/src/plugin.ts:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/board-auth.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d1e9fa5ff8a2ecc77f1dd8a7669201c9852d80973ee31b60ddb743231d2eee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/client/context.ts:60 \u00B7 cli/src/config/store.ts:40 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/context.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da897f156f7e319ac44bc84b05e8d3d43647f343652dc5d2f6d41d6be3460f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/client/context.ts:164 \u00B7 cli/src/client/context.ts:173 \u00B7 cli/src/client/context.ts:182 \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":"cli/src/client/context.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d8aa85d36e7d6aa3d42fad44ab25a1e4395ec3696d04c06f0ed6f35e8b19f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): cli/src/client/http.ts:243 \u00B7 cli/src/commands/client/company.ts:792 \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":"cli/src/client/http.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cb4a7147ba0cf1bc76dcf677ea4674013c4f175f7edc0a7ea139697b49aeb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): cli/src/commands/client/agent.ts:819 \u00B7 cli/src/commands/client/approval.ts:126 \u00B7 cli/src/commands/client/goal.ts:113 \u00B7 cli/src/commands/client/project.ts:133 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"8526116e0d7700b89b6cb9b3940e2b69ac6433120f4c93f29e5fe06a57b521b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/commands/client/company.ts:546 \u00B7 cli/src/commands/client/company.ts:558 \u00B7 cli/src/commands/client/company.ts:580 \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":"cli/src/commands/client/company.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd81c651c60c84f8a1f6f80acfa91dede6c9c5256a02911d51b7a8686a098570"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/client/feedback.ts:520 \u00B7 server/src/services/activity.ts:213 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/feedback.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b0aa7a5731d15e30afa7e3df530f825ff8a71203c4345ccab6402e923794fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/client/plugin.ts:839 \u00B7 cli/src/commands/client/routine-api.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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd04ce0feffe3686f43fff369457a29cee8dfb94ba2374bd8861d896bcc8581a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/client/routine-api.ts:91 \u00B7 cli/src/commands/client/secrets.ts: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":"cli/src/commands/client/routine-api.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"660574ee4fb3da912afbd4ca7ef5c701b5c492fb05bbdc1f7677636c85fbf9bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/commands/client/run.ts:257 \u00B7 cli/src/commands/client/skills.ts:121 \u00B7 cli/src/commands/client/teams.ts:115 \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":"cli/src/commands/client/run.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8ce42c7605a5751ff79788f69a776c6f05ac697559c08d358f3f21a03769f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/client/secrets.ts:134 \u00B7 scripts/migrate-inline-env-secrets.ts:18 \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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"857055a3b0994d4e3d22f16108c56ba9aef4aeb0dc2cd98b0a396240acaa0263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/client/secrets.ts:254 \u00B7 cli/src/commands/client/secrets.ts:264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/secrets.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406fbacd88387fff562f7f12c7cbb439467a59024a286b67d94cb20012cf410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/commands/client/skills.ts:426 \u00B7 cli/src/commands/client/skills.ts:453 \u00B7 cli/src/commands/client/skills.ts:547 \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":"cli/src/commands/client/skills.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e341ca0320fdf30b4aedc4eaaa2d1d714fb72e271b4ef4540b31ce83d335cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): cli/src/commands/managed-agent.ts:50 \u00B7 packages/adapter-utils/src/execution-target.ts:410 \u00B7 packages/paperclip-runner/src/claude-subagent-lineage.ts:53 \u00B7 server/src/routes/environments.ts:383 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"cli/src/commands/managed-agent.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5a8d2d69e315fa7666983427a27e65ffb8413d35534530adc4237d7e2a83c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): cli/src/commands/runtime.ts:70 \u00B7 cli/src/commands/runtime.ts:105 \u00B7 cli/src/commands/runtime.ts:142 \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":"cli/src/commands/runtime.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22b160630fc0acb32a87d1f34a581dd13e0d84e01b43bf40b339c984f57c827"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/runtime.ts:106 \u00B7 cli/src/commands/runtime.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":"cli/src/commands/runtime.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"43886e3260d2cfb23b8548ea3c82f76592b34bb01efd7a2a70c09201291c4c25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): cli/src/commands/worktree-lib.ts:135 \u00B7 packages/mcp-server/src/config.ts:6 \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":"cli/src/commands/worktree-lib.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5911d9d4586319867655ebd0a2a6960cc98df4582b05d8deed72c59745b328"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/worktree.ts:468 \u00B7 server/src/services/company-portability.ts:1994 \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":"cli/src/commands/worktree.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1fc5c413aab10fd60e9e519c7adf47dd67aecbfa1cc5f249c836f6538775e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3250 \u00B7 cli/src/commands/worktree.ts:3259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"59029167001804808b79c6d3d2b5858ee1ff6c6c57886eea798bcd714e99bc4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/commands/worktree.ts:3758 \u00B7 cli/src/commands/worktree.ts:3890 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"b079cff1e38c2d3b1e810f7e7bda3fd4014b52596c04bed46da569b0976d01c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/config/store.ts:14 \u00B7 server/src/paths.ts: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":"cli/src/config/store.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc2c24c1c7af46eb44dc88ba39c85b02442b613ac87ad249a1bd1ff5ff8118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): cli/src/install-store.ts:94 \u00B7 cli/src/install-store.ts:131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install-store.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"944c7e6e4b4e8dba7dd7f2cefc3af0113dd0d0b46528c05889e770f5c1c893d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:1891 \u00B7 packages/adapters/claude-local/src/server/execute.ts:210 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bcd9e0816bab45079bb17410e27dce5744b6dc7eabf99e9770218814659ea8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:680 \u00B7 packages/adapters/claude-local/src/server/quota.ts:25 \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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6650f66f13606b3fe6ef049e3b7190e40357cb37539c491fce84fb531cc122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/adapter-utils/src/acpx-engine/ui.ts:36 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts:73 \u00B7 server/src/routes/agents.ts:2103 \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/adapter-utils/src/acpx-engine/ui.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8eb2b08dcd45689a551ee73c70759448b9619fb080a874925122c1d466e7dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:1148 \u00B7 packages/adapter-utils/src/ssh.ts:1033 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dc684308c9cf8cad1986bd8a86423763450dcd86248221a41d1b5e76e28d4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/adapter-utils/src/git-workspace-sync.ts:1035 \u00B7 packages/adapter-utils/src/git-workspace-sync.ts:1075 \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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9cd760b411508fa3d3f6801fd776ff807a583fb5efe4f9495e9174566369f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/adapter-utils/src/remote-text-file-sync.ts:37 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:321 \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/adapter-utils/src/remote-text-file-sync.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa2405f953d2d4ba77f956f8ad92b5fc81e5709afe34ef3e5437fbab168a52a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/runtime-progress.ts:106 \u00B7 packages/adapter-utils/src/runtime-progress.ts: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":"packages/adapter-utils/src/runtime-progress.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"33768d7b98a9cf67156873a98f509020da18a811a4b1676e00da225e4b0fa8f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/sandbox-callback-bridge.ts:355 \u00B7 packages/adapter-utils/src/sandbox-managed-runtime.ts:1170 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86926246b263fa6f92c5aa0560412b07927f37916532f167081723ec6bf4671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): packages/adapter-utils/src/sandbox-callback-bridge.ts:538 \u00B7 packages/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts:62 \u00B7 packages/paperclip-runner/src/drivers/acpx/credential-refresh.ts:41 \u00B7 server/src/maintenance/online-workspace-migration.ts:217 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 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 8 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737fe33f74541a2dddf448bc7614f036d2e648620c100e4fa8fd2f130069fa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:941 \u00B7 packages/adapter-utils/src/server-utils.ts:1294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"22546e4e638baa75421da6895c67aafd02185fd671ca03f51b986cac954933a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:4505 \u00B7 packages/adapter-utils/src/server-utils.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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdfcb50d66fdb14eda07143cf95c167d0385ea9b7daf9bcba7ce8412532a370"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapter-utils/src/workspace-restore-diagnostics.ts:73 \u00B7 packages/plugins/sdk/src/environment-sync-error.ts:77 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c8a591a4356637f83de745e7c2251d62b2823ee7ab0bc7d8f189c4b53ab8db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/adapter-utils/src/workspace-restore-merge.ts:517 \u00B7 packages/adapters/codex-local/src/server/codex-auth-cache.ts:183 \u00B7 packages/adapters/codex-local/src/server/device-login-export.ts:164 \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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b930dde4005416319e808ac98b7350c6ea4df602923fefdb8b7b05f0e720ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/claude-local/src/cli/format-event.ts:22 \u00B7 packages/adapters/claude-local/src/ui/parse-stdout.ts:105 \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/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1313072be1751a49d3a21588a70eb974f5bdb77162f857de1d72d9196f0829fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): packages/adapters/claude-local/src/server/execute.ts:460 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:223 \u00B7 packages/adapters/gemini-local/src/server/execute.ts:256 \u00B7 packages/adapters/grok-local/src/server/execute.ts:287 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76c32182eb46f37500102f12c29806344c1f058e0e7d97de45714be3fabe44a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/execute.ts:505 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:444 \u00B7 packages/adapters/grok-local/src/server/execute.ts:485 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e607222b51770155aca408b57e862524f3d69cc0df8d2c26932f9d62288f2d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/codex-auth-cache.ts:439 \u00B7 packages/adapters/codex-local/src/server/codex-auth-merge-decision.cjs: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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0ecd30a5aa83b8484fc69f48fbd266f29855475e38b0df15a1d0f8618bf02b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12 locations): packages/adapters/codex-local/src/server/index.ts:91 \u00B7 packages/adapters/codex-local/src/server/index.ts:111 \u00B7 packages/adapters/cursor-local/src/server/index.ts:20 \u00B7 packages/adapters/cursor-local/src/server/index.ts:42 \u00B7 \u002B8 more site(s) not listed \u2014 the 6 copies are spread across 6 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/adapters/codex-local/src/server/index.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8181dfa05ae64c67be2244a3a693dc0029940c02bbeddc7d6d58c591ab8797"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/runtime-config.ts:194 \u00B7 packages/adapters/codex-local/src/server/runtime-config.ts:206 \u2014 both copies are in the same file, so extract the block into one function there 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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa60703a9db774163ec582156a07047c27074aff96c1a00cf18bda2a6e54316"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/cursor-local/src/server/test.ts:40 \u00B7 packages/adapters/gemini-local/src/server/test.ts: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":"packages/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7056980eb26eaf14583e299729ca28a2a954867046f0a07e6aa2cf901edc41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/cursor-local/src/ui/build-config.ts:23 \u00B7 packages/adapters/pi-local/src/ui/build-config.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/ui/build-config.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f59bb1f16e26f7f0feac5a325cf7026d3d1527ae6353fe45732a5cc4adcc9d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/gemini-local/src/ui/parse-stdout.ts:228 \u00B7 packages/adapters/gemini-local/src/ui/parse-stdout.ts:286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"be231d5f8f40b744f3e5e5f06508c9a6d46ca79500a24a5e49d57afd2b4bdd5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/adapters/hermes/src/ui/parse-stdout.ts:61 \u00B7 packages/adapters/hermes/ui-parser.cjs: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/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eafcc43edb4dc48fda98db348403ada97d58fd0fd352fcc673d66c3d1f4d31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/adapters/pi-local/src/server/parse.ts:132 \u00B7 packages/adapters/pi-local/src/server/parse.ts:225 \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/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e31c009f7811978f5ac372a1202c3229b863946df257b18ceca97c0a5015a2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/db/src/backup.ts:30 \u00B7 packages/db/src/runtime-config.ts:134 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fe5cc19a855b2f45c4ebdb0a55afae073b6ad65b4812a728e658740294a732"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/db/src/schema/agent_task_sessions.ts:60 \u00B7 packages/db/src/schema/browser_use.ts:72 \u00B7 packages/db/src/schema/browser_use.ts:105 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/agent_task_sessions.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6642c3ae6b989f225d9f6a714ac2834c2b96fc9e8a0d0fa52189bc8919a4534e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/db/src/schema/chat_channels.ts:366 \u00B7 packages/db/src/schema/tool_action_deliveries.ts:13 \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/db/src/schema/chat_channels.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d541337bc69572893d1ccd864df28e5dd716ab92e832793fabd7226f6a52e81b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/db/src/schema/chat_github.ts:95 \u00B7 packages/db/src/schema/tool_access.ts:307 \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/db/src/schema/chat_github.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"087b8ef09298eeb0f9d065f1b7d4c688228771537621997c590f7c3cab77708d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): packages/db/src/schema/chat_github.ts:165 \u00B7 packages/db/src/schema/chat_teams_file_transfers.ts:92 \u00B7 packages/db/src/schema/chat_teams_file_transfers.ts:100 \u00B7 packages/db/src/schema/email.ts:85 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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/db/src/schema/chat_github.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7e8086b3aa0fad43e244aa54a14241b3a59280b78512f99d4efcf31e7f31f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/db/src/schema/company_memberships.ts:5 \u00B7 packages/db/src/schema/principal_permission_grants.ts:5 \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/db/src/schema/company_memberships.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d898f741fbd297d8a04239335fc63b9090c9e5badb8ee44f6a91b34057deb176"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/db/src/schema/company_skill_sources.ts:39 \u00B7 packages/db/src/schema/company_skill_sources.ts:66 \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/db/src/schema/company_skill_sources.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"078441ce90c486c624711f4f3913665a610b59547dc9046fe6434564af23f734"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/db/src/schema/company_skills.ts:278 \u00B7 packages/db/src/schema/user_secret_definitions.ts:21 \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/db/src/schema/company_skills.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf5787734231c76b63b324b8c852f9b386a2a00ea741d9b2e154a6e92ee1c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/db/src/schema/plugin_config.ts:16 \u00B7 packages/db/src/schema/plugin_entities.ts:29 \u00B7 packages/db/src/schema/plugin_logs.ts:26 \u00B7 packages/db/src/schema/plugin_webhooks.ts:36 \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":"packages/db/src/schema/plugin_config.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41a10c9f5f5da5a35e698f8d3a9a0a0f7a6e9c224d96e65e14b6db8b89dc40c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/db/src/schema/plugin_jobs.ts:95 \u00B7 packages/db/src/schema/plugin_webhooks.ts:58 \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/db/src/schema/plugin_jobs.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de540d469aae6a7578958d870d669a520ecf501aa5f59e4be1cfaef3dca757f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/mcp-server/src/tools.ts:88 \u00B7 packages/shared/src/validators/cost.ts:6 \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":"packages/mcp-server/src/tools.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbcd3cbda1eaa69c3be75c3e9a3e83a5b803b32ff2d1565f7572148cb5072f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/mcp-server/src/tools.ts:87 \u00B7 packages/shared/src/validators/routine.ts:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/mcp-server/src/tools.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dfd4b58a6ae8dbf316ff05f99529564c258492de7c942f50391c3a8f762f33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/components/ui/card.tsx:3 \u00B7 packages/paperclip-runner/src/react/components/card.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/paperclip-runner/devtools/browser/src/components/ui/card.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e0cda319425c18816669bc887ff7d8605d1cd8d9d40f587b58f4e8ddbe435f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx:197 \u00B7 packages/paperclip-runner/src/react/components/conversation.tsx:177 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b808018b691a33a7e684acf4107908136c0f5ed71a98e0652e3a314f1f664c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/App.tsx:631 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/App.tsx:650 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72f4bebfd2a2e90ccbb7fc9cb3b616ee94ee7ed73bdd59ae300f488ef5411d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/App.tsx:872 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx:56 \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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f055e1f4b012799e90b470302256f2ed651f56f3559c2e94ee53658f1d2243d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx:174 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx:184 \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/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb5a6c2c5e01b4b19fa9c6112e72a8508d04f1e06064a12eb4a48db6a632d53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs:67 \u00B7 packages/paperclip-runner/src/drivers/copilot-metadata-probe.ts:141 \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/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a720249bd5c448ac59af44e4f96479f656eb6fd7063ba7e2a3d48c4941a288e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/scripts/discover-copilot-acp.mjs:37 \u00B7 packages/paperclip-runner/scripts/qualify-copilot-acp.mjs:113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b708b4f75010f5311081b06038710c4892c2bfbaa8f2bf2b4117857acb02e20f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/scripts/discover-copilot-acp.mjs:78 \u00B7 packages/paperclip-runner/scripts/qualify-copilot-acp.mjs:45 \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/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7529ff808192218d8629617487abe7b80a5fb4935747950f4510ab175a03f174"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/scripts/lib/forbidden-imports.mjs:34 \u00B7 packages/paperclip-runner/scripts/lib/forbidden-imports.mjs: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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a7bd22f1cbd30a9755bcb413000fc7bbd748fa5d06a11f0d8bf573fb5f7008"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-cursor-distribution.mjs:30 \u00B7 packages/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts:22 \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/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c67928107499aed2b861288e5b9dd035f3548fc3d6c28813f8092119a43de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/probe-antigravity-metadata.mjs:103 \u00B7 packages/paperclip-runner/src/drivers/acpx/antigravity-process.ts:40 \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":"packages/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d95cfb9d23b186e13f59bc4f100eddfaf105919065d5ce7b7044b46af0827d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs:57 \u00B7 packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs: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/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4963102eea855144ef36df459d31b4cbfac24402a1a5d9ed196254af80899a51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/qualify-cursor-instructions.mjs:6 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-native-usage.mjs:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/qualify-cursor-instructions.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf1eeaf89aeb9206de238ddc116c64c8413502f31ed52028ee66b999c87e406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/scripts/run-capability-live-eval-matrix.mjs:151 \u00B7 packages/paperclip-runner/src/conformance/capability-eval-suite.ts:134 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/run-capability-live-eval-matrix.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"850792c0e3acf708bf7fdb5bdbe9332490d8c24cb78314e8ff48c51fc3e466b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:1262 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1867 \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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f74ae257fde2e99a78aa26afbbae760b19db668cd82e2a832a857b2a9f9452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/paperclip-runner/src/cli/opencode-proxy-task-envelope.ts:1 \u00B7 server/src/services/issue-queued-comment-queue.ts:5 \u00B7 server/src/services/native-runtime/prepare-native-run.ts:11 \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/paperclip-runner/src/cli/opencode-proxy-task-envelope.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad948c7cf6a1e194ac80ded69d0a7d672649b25f8588e24454d2d399700bbb51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/conformance/semantic-conformance.ts:259 \u00B7 packages/paperclip-runner/src/mock-core/live-console-demo-server.ts:227 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1574fa2518884c2b50236a4317e90e3e8fd7ad650673d1b884698773a50d10c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts:177 \u00B7 packages/paperclip-runner/src/drivers/acpx/antigravity-auth.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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"735c889f6759ba28861881a7042490596d817019155d35e3e7cc8ee81fbd972d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts:50 \u00B7 packages/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts:37 \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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79277394e32ad7e5a69537330013b2a2357c478fff8881fff52a26a5c940224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/environment.ts:26 \u00B7 packages/paperclip-runner/src/drivers/acpx/environment.ts:34 \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/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5840bf97243de4481d1a2e44c9829dba0b649254a7cd5ff7da1c3e7fea5c9628"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1171 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1270 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1351 \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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"18562a2cee08d47d15ad6cb89f3b321cce47023c390d8e38e3e5201a5631f13e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1179 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:1277 \u2014 both copies are in the same file, so extract the block into one function there 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"af807f1e2c12256dc15eca2b6de1ef2279a93e21c885e3f5945d9c2156e434b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts:87 \u00B7 packages/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts:48 \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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5a579a1ea15c22cac58f5ca9f9f68c7bc894595d5dc13c45754fd464629573"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts:82 \u00B7 packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed705f6e24b33c20ca6bcc62655f14ef4ebcdb713010ec1b2bc8b8a1b68d557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts:89 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.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":"packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f228922418cfb0c182332d9fd9f3049666de7e4891a5047c303cca453f4bb80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:539 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-host.ts:548 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8421767bea47496aab9ae8fed9cd5252449686c9049a5c364a92580a0db9b71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts:42 \u00B7 server/src/services/native-runtime/native-session-resume.ts:117 \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/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d600aeffd0774f4ac9e3e23680e0ff001ee07293a8f393d624bdcf920167b5fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:311 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.ts: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":"packages/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c054c5b308cc005e89ca289840360568fe518ba9382ccfc4ce434cc21cf5a2bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-state.ts:557 \u00B7 packages/paperclip-runner/src/drivers/dot/dot-harness-driver.ts:201 \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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1a95f5248bef88cabf91922fb5aae35effaa9dad75a76e8d8d418d20d415dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts:39 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts:130 \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/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4f1d9c56ed5baa6426bed1d86f0151f563cd0ef4fae73c3170cebe6e375343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts:151 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/artifact-staging-budget.ts:61 \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/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8150ab17d99383ce123a0d394897ab8d3a049862e41d25434fc1ee52a1dfb814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/eval/eval-bundle.ts:141 \u00B7 packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts: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":"packages/paperclip-runner/src/eval/eval-bundle.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"274291c9cf31a9303d2ecbe8b240115225543b74e9821ad0ddfdc5e504dcc0de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/eval/eval-scoring.ts:170 \u00B7 packages/paperclip-runner/src/eval/eval-scoring.ts:185 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/eval-scoring.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d2d2bac36ab423b5acc256664a7fd18b64d636c815c0dfcf57fc07744f119d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/evals/native-execution.ts:348 \u00B7 packages/paperclip-runner/src/evals/native-execution.ts:377 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd23bb0c8de2f98d8e8625aefb02007793e321fc548017c1a293122679769d66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/paperclip-runner/src/issue-thread/live-projection.ts:251 \u00B7 packages/paperclip-runner/src/issue-thread/live-projection.ts:271 \u00B7 packages/paperclip-runner/src/issue-thread/live-projection.ts:284 \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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b5f778c86976bb99cd916a1553001286dd6f5f97c9eed585552218435d7d54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:2085 \u00B7 packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts:67 \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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a7631a385fe9e3f8544ddbf2e4f6ea358f5f023aec5d853863b8cd30b5b9ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:2117 \u00B7 packages/shared/src/portability-hash.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":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d15ec595415274194b1e6aa78bd7ac8d4c14a2eccd96c8f6c15c7a090eb223"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/native-session-runtime.ts:2262 \u00B7 packages/paperclip-runner/src/protocol/live-console-fixture.ts: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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d1cfd443081e304fd6e03a94345908c29e40163bf7eb7f763d276bcb9e2cfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/paperclip-runner/src/reducer/session-reducer.ts:144 \u00B7 packages/paperclip-runner/src/reducer/session-reducer.ts:254 \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":"packages/paperclip-runner/src/reducer/session-reducer.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ecc912edc55821f0cfdf0160f829d5e9112fabec5a09a0b46a3ba3bab746fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/authorization.ts:220 \u00B7 packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts:847 \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/paperclip-runner/src/semantic-tools/authorization.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"616f35dda4979ad07d21d651e7df389f3394087dd73b4e8ed2db228429474346"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:1440 \u00B7 packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:1448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c8c588a8dbd3c26c45a3e64790a5309279db556cd98c4c1c9d91de2b73d021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/paperclip-runner/vite.config.ts:4 \u00B7 packages/paperclip-runner/vite.issue-thread-stream.config.ts: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/paperclip-runner/vite.config.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f89d2b783fecedd759f7e264da41d2366840d65b34de1316a5a18733736ef69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:1996 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:2674 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4130 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6684 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1ade0a2ab22fd450d4354a1cc6cdfedaea5a1026a8673bc29259cd1c3c9baf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:3980 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6598 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3980}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aab995d4a7f2f295edead73bca7f9a4a999662993a8cbff80de1f7f5c8e086"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6085 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6105 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6085}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f969a8fb8ddc0c968e9718b0b3e11058121e5fc9928bf71f15a43a37b80988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1727 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1744 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b237e400ba397b97305dc1db2d1e2820cab5e0c532455fd9e5b8b3e78c962bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1736 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:1752 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f534ca6b696afcd78d221fe09d55f658ea1a2cba3015595d27a5207518daf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2235 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3981 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70a7045cb37bbe3283e879178046bda0e86924782a189e08da87869d5a96f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2762 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2891 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c0044ec47c94d2eeec48eb9216db99b8dbb582d017e5509a8b7ba994e3efe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3018 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3089 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3018}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8516be18d1476a1321b5635365ae359a73c8f4070620f3eeaae17e37fc7849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4086 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4100 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4119 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4146 \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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4086}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c777eda557675f7563452aeb44b6cda021f7f8ec52e09473fa609a77e3170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:474 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:588 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:630 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2878330ca8a405eda883f0af9a5e9250cd08591efa9c512bbc3f49ece1605ccc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:1048 \u00B7 server/src/services/activity.ts:329 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:3141 \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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97172e1dc8d205ac3b918753357901b76dbbd8d13d683aba4f5b4b0527491a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts:261 \u00B7 packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts:408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64511150ab67a4381fe034f6094261c6d93bb2f2e688a42f117e0c04379963"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts:441 \u00B7 packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts:468 \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/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"56667ed7ed328c033860494c688c3d55bb3ed0a57c67cf0fbc5093fd019ea956"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:2875 \u00B7 packages/plugins/sandbox-providers/exe-dev/src/plugin.ts:758 \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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb21b1133b88c931e5da753b3533c63602342a10b8b9063b88704206cc4946c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:478 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:766 \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/plugins/sandbox-providers/kubernetes/src/file-sync.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc716e6e11a780b69da745689a0513a99278365eed687e363b9a4f969dbefae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/sdk/src/environment-resume-error.ts:15 \u00B7 packages/plugins/sdk/src/environment-sync-error.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/environment-resume-error.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc24c2717c5512c843a0263172989ef8ec5066cef03db4a41910a25dc22a4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/plugins/sdk/src/environment-stop-error.ts:16 \u00B7 packages/plugins/sdk/src/environment-task-error.ts:40 \u00B7 packages/plugins/sdk/src/workspace-operation-error.ts:32 \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/plugins/sdk/src/environment-stop-error.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3785807748beb0463b3c25c3e8dee15459d904fd80baa20a96e6794de05082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:1753 \u00B7 packages/plugins/sdk/src/testing.ts: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":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"826500f71fc00e05d3645bae719756b495bca0e0e8744827ad56f28421da8fa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/mcp-apps.ts:240 \u00B7 packages/shared/src/mcp-apps.ts: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":"packages/shared/src/mcp-apps.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cf9391863ad67172afde07cfb8a8b34f44ab80cda7a5f50fceea736c2adab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/access.ts:118 \u00B7 packages/shared/src/validators/access.ts:128 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/access.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee6efaabfcbce38c580d57344842821eddb6470f3c9dc3ec396ad10e4cd3903"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/shared/src/validators/agent.ts:112 \u00B7 packages/shared/src/validators/budget.ts:19 \u00B7 packages/shared/src/validators/company-portability.ts:308 \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/shared/src/validators/agent.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b286ea22e30e66f48731f3c24455a281e9efa9ac040c0a666c42b36b79219d23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:193 \u00B7 packages/shared/src/validators/folder.ts:46 \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/shared/src/validators/agent.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5b857d30f52424c98090d777fd8d9f344b4bf499cec91051649b0d4ebf3f23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/shared/src/validators/approval.ts:21 \u00B7 packages/shared/src/validators/environment-custom-images.ts:79 \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/shared/src/validators/approval.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0348abd0aa3ca791b970a860779575e4ec4071c9066e95f3665e736fc08a133a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/shared/src/validators/approval.ts:7 \u00B7 packages/shared/src/validators/tool-access.ts:631 \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":"packages/shared/src/validators/approval.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab210fd1931a9b2736e410fc9aaa182cfaafe1feb6b0cc3e94d1db47a9fe9c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/artifact.ts:57 \u00B7 packages/shared/src/validators/company-skill.ts:338 \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/shared/src/validators/artifact.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c56542b41a32e16b0e405421e0185e3ea0f944ed13397cd1d805c73f755dddc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/claude-setup-token-session.ts:17 \u00B7 packages/shared/src/validators/claude-setup-token-session.ts:162 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/validators/claude-setup-token-session.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3134362e75859f0c10ef9df661c987225bbeb08c1ea2c2d8c21399b61bca43a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/company-skill.ts:72 \u00B7 packages/shared/src/validators/company-skill.ts:84 \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/shared/src/validators/company-skill.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e40168907b14241dcdf27026cddc4b444751ec7dd98f3ce4a5d5274e5b67ec6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): packages/shared/src/validators/company-skill.ts:119 \u00B7 packages/shared/src/validators/company-skill.ts:155 \u00B7 packages/shared/src/validators/company-skill.ts:257 \u00B7 packages/shared/src/validators/company-skill.ts:486 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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/shared/src/validators/company-skill.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8cbca2b46117fb5662aa71ae5358b8b59ea5fb2cd62a66672ad7492ebf51b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/shared/src/validators/company-skill.ts:165 \u00B7 packages/shared/src/validators/company-skill.ts:422 \u00B7 packages/shared/src/validators/company-skill.ts:450 \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/shared/src/validators/company-skill.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"75402a4a2a82cc70ae6f0db0a452522a43b7b4fad2443f1aa1c5ce39a9a8e69a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/company-skill.ts:266 \u00B7 packages/shared/src/validators/secret.ts:131 \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/shared/src/validators/company-skill.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e1b4ce9103b4bf6ef32519cc2730953a31f9a4a51ee7501adcab56bbd5b9da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/shared/src/validators/company-skill.ts:393 \u00B7 packages/shared/src/validators/issue.ts:1750 \u00B7 packages/shared/src/validators/issue.ts:1915 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/company-skill.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a55bd1373d18b65960db8e5359edb2b2aed449f1bbea5c3d8370e032dbf73c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/shared/src/validators/decision-queue.ts:6 \u00B7 packages/shared/src/validators/folder.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/decision-queue.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98ab1a8fc16e0d7e4a58a86574d249d0f706d6d7e93914495a79e0fcf300d78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/shared/src/validators/environment-custom-images.ts:80 \u00B7 packages/shared/src/validators/smoke-lab.ts:16 \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/shared/src/validators/environment-custom-images.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4e87e8d1aa9519194653067e53830ba12394b71852db8b3fe608b21b754487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/shared/src/validators/folder.ts:38 \u00B7 packages/shared/src/validators/project.ts:117 \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":"packages/shared/src/validators/folder.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"da248adbdfa55afdf8ca298fa186ebb54253db221821f534eaff0f86e676cfbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:207 \u00B7 packages/shared/src/validators/project.ts:16 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edd832c76b762d4fdbf062ab532d41a7d173533d45878a72506e1f17dcf79d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/plugin.ts:1333 \u00B7 packages/shared/src/validators/plugin.ts:1353 \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/shared/src/validators/plugin.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa5d9369c4e17a5548103cb321a66b1b1fec73a1142851cdefac959c5bf0b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/shared/src/validators/teams-catalog.ts:75 \u00B7 packages/shared/src/validators/teams-catalog.ts:118 \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/shared/src/validators/teams-catalog.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a29dd6730481cd2cd290da14074044be51be0cbb8fff19e26815dfb070d160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): packages/shared/src/validators/tool-access.ts:174 \u00B7 packages/shared/src/validators/tool-access.ts:203 \u00B7 packages/shared/src/validators/tool-access.ts:620 \u00B7 packages/shared/src/validators/tool-access.ts:645 \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":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"92277a76eab9fb32fd6fdd938a8f9f6408a9b552a79cf675e2202dc8af296af9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/teams-catalog/scripts/build-catalog-manifest.ts:5 \u00B7 packages/teams-catalog/scripts/validate-catalog.ts: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/teams-catalog/scripts/build-catalog-manifest.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf93c3ec6f007b0605775c8f0fb7122abd50e7844645a5c579fc160a2e3de40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): scripts/check-token-gates.mjs:107 \u00B7 scripts/codemod-extract-misc.mjs:101 \u00B7 scripts/codemod-extract-sizes.mjs:139 \u00B7 scripts/codemod-extract-type.mjs:61 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-token-gates.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10f34dbae90e549af2e5219d0307cf7ba2c7a4ed7d1a35cdbe37dc7681c7bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/codemod-extract-sizes.mjs:402 \u00B7 scripts/codemod-extract-sizes.mjs:411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemod-extract-sizes.mjs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ba71c3ba858feeec62c71a29bfecdb831a339286b7a10029183b8161f370c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/count-needs-you-views.ts:126 \u00B7 scripts/count-needs-you-views.ts:186 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0676f2d8ee1d13a9824eede5a05367dfdae5a6dd60f48185adc8175d8072f92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/dev-runner.mjs:146 \u00B7 scripts/dev-runner.ts:284 \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":"scripts/dev-runner.mjs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fb6ae7cf8307edd7ad4ef99fd1fe661713810f3e2de56f08f3904ad08004a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/local-verify/run.mjs:15 \u00B7 scripts/local-verify/run.mjs:23 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/local-verify/run.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11526fd2e0b4099b61549249600e77d1e47166d605f4d3510865927c9a74c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/paperclip-commit-metrics.ts:290 \u00B7 scripts/paperclip-commit-metrics.ts: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":"scripts/paperclip-commit-metrics.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8867f5d99c7124b03b50dc914281047bcd3f414e9920b918ed2ecf7323e3cc03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:170 \u00B7 scripts/smoke/posthog-live.mjs:598 \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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"24838671e3b4f67dd5961fd3bc8eae74b02e7da518acbb71c9339d0f2246bd01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:463 \u00B7 scripts/smoke/posthog-live.mjs:924 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d0a38b66084047903eda66bf4a2b39e0d86d378be89dbd07615a6ad7f85c0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:958 \u00B7 scripts/smoke/posthog-live.mjs:866 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ad4beaab9abeee41b035da1badca2f082b4d1f5e971113becd9bbe994bd24b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:1146 \u00B7 scripts/smoke/posthog-live.mjs:1093 \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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefe37b5c790bcf5787c033fee5df163fe2fc1ea0ce02d3c926838c9f65435e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/typecheck-test-programs.mjs:234 \u00B7 server/scripts/typecheck-layers.mjs: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":"scripts/typecheck-test-programs.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"806448301e98a9518d4f9ea33eb016371e5880990f7dd7db6ba3e78511e38886"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/database-retry.ts:40 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:487 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/database-retry.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd366f97eb5cbf941eaf86fe1247382c96770b9bacdcebb33908cd967eecf694"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/middleware/auth.ts:267 \u00B7 server/src/realtime/live-events-ws.ts:195 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"af425d687ff6127e541ae83710fe25004fa13178aa6b301e39521284691f1f4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): server/src/middleware/auth.ts:659 \u00B7 server/src/services/access.ts:75 \u00B7 server/src/services/access.ts:118 \u00B7 server/src/services/browser-use.ts:794 \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":"server/src/middleware/auth.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1c5bfa942513ccb37ae25eba5c036c2b97096a1b4f187b8d56b70d48fd0291"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/modules/active-run-watchdog/adapters/postgres.ts:252 \u00B7 server/src/modules/active-run-watchdog/adapters/postgres.ts:300 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8647c7f224bd2fc1dd7f91ad083a614a47692c24db99d16026c1fbfe300b17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/modules/external-agents/muse-verification-work.ts:38 \u00B7 server/src/services/native-runtime/native-recovery-notices.ts:88 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/muse-verification-work.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a207c50cb0ee1d70c4141817ecc91d6df16905244dfaffb4c5c94f6bd39f634b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/chat-conversation-batch.ts:48 \u00B7 server/src/services/issues.ts:14674 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/chat-conversation-batch.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"795b0483f54d5868a28da6d6a4b8fc9763ad122a3cc5b58594b099c15125b524"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/queued-comment-postgres.ts:288 \u00B7 server/src/routes/issues.ts:7975 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc0d3ca9883e86490d2dbe206df6d74c0dea68e474d49fbc1cb862716af56dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/realtime/activity-toast-identity.ts:47 \u00B7 server/src/services/attention.ts:1154 \u00B7 server/src/services/heartbeat/queue.ts:331 \u00B7 server/src/services/issues.ts:3871 \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":"server/src/realtime/activity-toast-identity.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"511594cee85d47cceda5fffa77b3da81ebb42ddb65d04db16bbe0823b0f66aab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/access.ts:3017 \u00B7 server/src/routes/companies.ts:370 \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":"server/src/routes/access.ts"},"region":{"startLine":3017}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db64957f57f09693759244640da4ec3b7156ca4ed21a75c0d340c523c7213c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): server/src/routes/access.ts:4111 \u00B7 server/src/routes/access.ts:4377 \u00B7 server/src/services/issue-thread-interactions.ts:4444 \u00B7 server/src/services/issue-thread-interactions.ts:5890 \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":"server/src/routes/access.ts"},"region":{"startLine":4111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b7a9800db3ab353a4b3551179eb44cbe4c2468a49b2bff1a7a2c2015713cb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): server/src/routes/access.ts:4155 \u00B7 server/src/routes/companies.ts:527 \u00B7 server/src/routes/companies.ts:536 \u00B7 server/src/routes/companies.ts:1132 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"279bb6b6faa24a8f6b6957a30020d34e444233d3cee12a42e90c52ae26f7f212"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): server/src/routes/activity.ts:340 \u00B7 server/src/routes/costs.ts:352 \u00B7 server/src/routes/secrets.ts:384 \u00B7 server/src/routes/secrets.ts:735 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/activity.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ee4761ccbb501e6370416b70a76d420ac7f4d2fe76dc2d4e7ee054af9f8c05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/activity.ts:352 \u00B7 server/src/routes/activity.ts:369 \u00B7 server/src/routes/costs.ts:230 \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":"server/src/routes/activity.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d4d54df37450f31247bd496a0eddaefa9d3872e9157264673370b31aea8c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/agent-commentary.ts:71 \u00B7 server/src/routes/companies.ts:484 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-commentary.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3bbfd4f22799d3b00a274f9b363b18478da26f3670c597b7f7f1419b2204f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/agents.ts:3125 \u00B7 server/src/routes/agents.ts:3150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb90001455db1d42312a31a0cae4a301dcb249efb4341626325799b8041e6051"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/agents.ts:3750 \u00B7 server/src/routes/agents.ts:6929 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3750}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc417588cb3b03bc7a435e8434c849251edea27c29ba736f27eb70ceee02740"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/agents.ts:3897 \u00B7 server/src/routes/agents.ts:3966 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3897}}}],"partialFingerprints":{"codehealthFindingId/v1":"36808ec09bcf0c5be23dc653b9785276de1c59b298a75308aab0b587d9074a30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/agents.ts:4118 \u00B7 server/src/routes/agents.ts:4130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4118}}}],"partialFingerprints":{"codehealthFindingId/v1":"224af18bb45e2fc53355b5eaa68c3b51fd82975ccc3428048edda5b1ce9552b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/agents.ts:4429 \u00B7 server/src/routes/secrets.ts:523 \u00B7 server/src/routes/secrets.ts:552 \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":"server/src/routes/agents.ts"},"region":{"startLine":4429}}}],"partialFingerprints":{"codehealthFindingId/v1":"11484946507c0d4a03fa28910dea00adb31b32cafb93f9872c8331fcd4bb0aea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/routes/agents.ts:5914 \u00B7 server/src/routes/agents.ts:5990 \u00B7 server/src/routes/agents.ts:6022 \u00B7 server/src/routes/agents.ts:6138 \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":"server/src/routes/agents.ts"},"region":{"startLine":5914}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebe60f45e99ba2a0cb5cd650aadbf20000b5bb3240bfdb97a2f58f0d5e35684"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/ai-connections.ts:255 \u00B7 server/src/routes/ai-connections.ts:268 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c7956f074826eaa230916a657fb18de2a089bf5655e724bb321d73f714d425"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/approvals.ts:661 \u00B7 server/src/routes/built-in-agents.ts:175 \u00B7 server/src/routes/built-in-agents.ts:227 \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":"server/src/routes/approvals.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a083eb8e482836bca9a4f6982f800025cf79fd1c0657fca54e7c3d3d7046fdf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/attention.ts:73 \u00B7 server/src/routes/attention.ts:81 \u00B7 server/src/routes/attention.ts:106 \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":"server/src/routes/attention.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fc3efbf73efa963fda223584e07b5e919a9bae2518fbc6b22e6e49d7cde386"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/attention.ts:162 \u00B7 server/src/routes/attention.ts:205 \u00B7 server/src/routes/attention.ts:292 \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":"server/src/routes/attention.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e08fed56033c78ba737019822494942e84b5d007dd2c25a137ddb031825f286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): server/src/routes/built-in-agents.ts:212 \u00B7 server/src/routes/company-skills.ts:696 \u00B7 server/src/routes/company-skills.ts:1075 \u00B7 server/src/routes/company-skills.ts:1393 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/built-in-agents.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a1ee8d34f4e41cb7e1ce045bee6c91beecc9556456af07e2abbc0ff7553256"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/companies.ts:303 \u00B7 server/src/routes/issues.ts:5117 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"326e2f2ced19f2e03c68cb2cb39db765f1181a026e9c108b72937d561c53838e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/companies.ts:346 \u00B7 server/src/routes/openapi.ts:1225 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eff38c4cb093a38de622c33c1c68830766d163545e6c991d7e1a7b53f0f391"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/company-skills.ts:129 \u00B7 server/src/services/company-skills.ts:548 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab7ac189881158cf711a5bdb48d645b1ea6babd199f1df1a2f5b1852fda07dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/company-skills.ts:149 \u00B7 server/src/routes/teams-catalog.ts:27 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1376f7f5df1d6ad4a18534b8734ad9e4c4d0e3880ada562b2542d473859e4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/company-skills.ts:960 \u00B7 server/src/routes/company-skills.ts:1035 \u00B7 server/src/routes/folders.ts:119 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8030e927a1ae94f2174c509e9f8ad8613d297ea11041a7ca902aadfbb058d079"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/connection-management-authz.ts:435 \u00B7 server/src/routes/connection-management-authz.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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cb5666f57829c623c1dd8a7fec00d3beee601a5e4686659c41f98137d0db51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/costs.ts:126 \u00B7 server/src/routes/costs.ts: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":"server/src/routes/costs.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d09a8abfa37715c7ba27fdc4e7d64ab47b5e1dbac0883eb792b88b49899a4b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11 locations): server/src/routes/costs.ts:239 \u00B7 server/src/routes/costs.ts:256 \u00B7 server/src/routes/costs.ts:265 \u00B7 server/src/routes/costs.ts:274 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c102d05be363356f04f73714515b8944808bc228653344bd8e222026394072"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/costs.ts:327 \u00B7 server/src/routes/dashboard.ts:29 \u00B7 server/src/routes/secrets.ts:601 \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":"server/src/routes/costs.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"097fb17a9032093da0e0b171917828632762788b22d5bca772a781cfea7604f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/decision-queues.ts:190 \u00B7 server/src/routes/decision-queues.ts:208 \u00B7 server/src/routes/decision-queues.ts:219 \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":"server/src/routes/decision-queues.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f421f34d67212c4e789558ed8f0dcd970ea0f2645ad1854709a249531badb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/environments.ts:615 \u00B7 server/src/routes/environments.ts:622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2698cd3641cd3e8fffe98493007e230d3661b29637808439b417c8edb3be301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/environments.ts:1156 \u00B7 server/src/routes/environments.ts:1479 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"696d21aa6d68c510227c6a65986a2f554b0f4a5c1259df1ba960365c9f979932"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/execution-workspaces.ts:312 \u00B7 server/src/routes/projects.ts:766 \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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd85f4b044fadaf9808e77e1382f21a8ab009013c5641b3d61648925a72224f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/issue-tree-control.ts:407 \u00B7 server/src/routes/issue-tree-control.ts: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":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a0a580907a52a9e1c5b7e480f0800f548d91e90bacfb87c44b1a677603e3b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/issues.ts:5322 \u00B7 server/src/routes/issues.ts:5525 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5322}}}],"partialFingerprints":{"codehealthFindingId/v1":"358746f346bb680972253f3ae25591c976d136c4d2124e57e99ee99dad4ae0f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/issues.ts:5958 \u00B7 server/src/routes/issues.ts:7347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5958}}}],"partialFingerprints":{"codehealthFindingId/v1":"a395f095d49ab5fc7a2679cf61da37f3ff38527d10d98fc031d1e8f5ee8c0c49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/issues.ts:8716 \u00B7 server/src/routes/issues.ts:8767 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":8716}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d4e7548e474908d1381b85bb26ed3f2f03c342bce441bb9248299f0e8332cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): server/src/routes/openapi.ts:2134 \u00B7 server/src/routes/openapi.ts:7271 \u00B7 server/src/routes/openapi.ts:7476 \u00B7 server/src/routes/openapi.ts:7493 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"161e6a7fad5dfac2c4543b7ced7c4a5c0b34a43607339597a5bf6172d41bd4bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:2282 \u00B7 server/src/routes/openapi.ts:2295 \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":"server/src/routes/openapi.ts"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab8d78d29b8d20a4e836438513969e634be78b0d3326d6291b2cf001abc7d66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:4486 \u00B7 server/src/routes/openapi.ts:4499 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f0ef3d10763cb84e6fd0f76a936608f0e2511f600eba6c1e05ba1f3ef7ba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:5579 \u00B7 server/src/routes/openapi.ts:5613 \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":"server/src/routes/openapi.ts"},"region":{"startLine":5579}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a3c68987893abcc5f2e88d972b1dfbc4644eb3dabebcf8ffe3f1e5c76296da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:6258 \u00B7 server/src/routes/openapi.ts:9112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":6258}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f8d9d19faadb4153a8895a26e4b2506c2f97d3add634e9d5fea769141b2440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:6394 \u00B7 server/src/routes/openapi.ts:6423 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6394}}}],"partialFingerprints":{"codehealthFindingId/v1":"388782eed3b26125d9a4356130aec080aefe4b375c3a7007f9035892f199435a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:6406 \u00B7 server/src/routes/openapi.ts:6435 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6406}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc46eb98ea92bcf848ffce50ecd65a29760aaa4dc1669f72931bbfe0d71994a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:7946 \u00B7 server/src/routes/openapi.ts:9231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":7946}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffa6961151169b8544d7616700b79614c22f97b5cf266008cd47f0540da3cc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/openapi.ts:8145 \u00B7 server/src/routes/openapi.ts:8462 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":8145}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f703c47fb07a6fb562fc7de2e1949410ecd96dc4e2f76f3dd250a21f90ee93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/plugins.ts:1120 \u00B7 server/src/routes/plugins.ts:1145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb25aaed03186825df7dcffa50ef8fbc7f0b7b4207be3ff7d1486938af55dce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/plugins.ts:2243 \u00B7 server/src/routes/plugins.ts:2388 \u00B7 server/src/routes/plugins.ts:2627 \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":"server/src/routes/plugins.ts"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"289597040e2722b1549485279cd374c7d55046980d2bf67a0411cb07a69c4e6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/plugins.ts:2356 \u00B7 server/src/routes/plugins.ts:2915 \u00B7 server/src/routes/plugins.ts:2946 \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":"server/src/routes/plugins.ts"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ae5ef67d067b8f64d3228f3dc921e29b6ac2a97ef8e6797094cf04507bf84a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/routines.ts:455 \u00B7 server/src/routes/routines.ts:498 \u00B7 server/src/routes/routines.ts:663 \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":"server/src/routes/routines.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0dd408fec8e138991ed0bb479e273d41906d818c1805e36e94c0b7a98a80b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/secrets.ts:237 \u00B7 server/src/routes/secrets.ts:285 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2883f79706ec3dac4ba75f35b4541074ad8250af0a7bd9057a7983cd53f3da5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/secrets.ts:728 \u00B7 server/src/routes/smoke-lab.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":"server/src/routes/secrets.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"241f602de20c6fea98fc25ce5ed6c883caec215727e0bdd824a70be3d24af466"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/smoke-lab.ts:84 \u00B7 server/src/routes/smoke-lab.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":"server/src/routes/smoke-lab.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b56c9458bf02decb92e3ce965911037c5b13cde123732e1952b22c9c6327998"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/smoke-lab.ts:265 \u00B7 server/src/routes/tool-access.ts:1700 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/smoke-lab.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d68627222b230407dc6fbf0caff5b23341fd4d01197dfdc2ef89bc3c0b9375"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/summary-slots.ts:109 \u00B7 server/src/routes/summary-slots.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":"server/src/routes/summary-slots.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2459f5f7d714ddb6dbd85dc4996338559f2bad29084a42402988064767c450c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/tool-gateway.ts:415 \u00B7 server/src/routes/tool-gateway.ts:450 \u00B7 server/src/routes/tool-gateway.ts:471 \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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"064442c30f5fb7a1fe69e7f55ba52b9941ebf305dcb659b3c12f268b6fb0b711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/routes/user-profiles.ts:206 \u00B7 server/src/services/costs.ts:374 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/user-profiles.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4112190f48ed62493897792b9e34e3d51eff2f5e92a11d67101257f10a3898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/routes/user-profiles.ts:373 \u00B7 server/src/services/access.ts:98 \u00B7 server/src/services/authorization.ts:975 \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":"server/src/routes/user-profiles.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d336b6c39631946bbc98a6a40fd31adbc585584fb9e00537c34f1b5d8e4822"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/secrets/aws-secrets-manager-provider.ts:275 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:157 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f43eb95c7844fcc7e4a70066c9b83bfed7fc8fc4e428bbf92c0d0b545865d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/access.ts:119 \u00B7 server/src/services/authorization.ts:976 \u00B7 server/src/services/browser-use.ts:796 \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":"server/src/services/access.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1132dc16b2d9d4015d86bd6cd6a151e1bcb9318c44a904ba5d2d96673f2cca8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/activity-log.ts:141 \u00B7 server/src/services/environments.ts:585 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity-log.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"056feeb6e09615d4f59e27e9efbb9d85e4a58664403c36d214e2c3c0b81bb589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/agent-deletion.ts:24 \u00B7 server/src/services/agent-deletion.ts:31 \u00B7 server/src/services/agent-deletion.ts:38 \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":"server/src/services/agent-deletion.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"de11c514a8e4157dfdb20c11051672289774f5940a826c56feb83f11d1ac4784"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/agent-instruction-working-copies.ts:461 \u00B7 server/src/services/agent-instruction-working-copies.ts:546 \u00B7 server/src/services/native-runtime/native-review-response-work.ts:53 \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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"494a54dd8fedf20e655eda03c890e9718576cf336760d3a0824a545b749808fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/attention-source-eligibility.ts:79 \u00B7 server/src/services/attention.ts:1101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-source-eligibility.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1838630e615e8c754897259532627760dad97d15d6523f60f173f932a4a2b012"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/attention-source-eligibility.ts:81 \u00B7 server/src/services/idle-incoming-wake.ts:238 \u00B7 server/src/services/issue-context-usage.ts:68 \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":"server/src/services/attention-source-eligibility.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4bf27fc66762b65165ead8041572ea8527aa579fc49090b8c88ca6d868bc5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/attention.ts:1074 \u00B7 server/src/services/attention.ts:1101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"384ad44cbbfe85d289833575870a72a5ccd11ff871cf65d279afb0288f1ae3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9 locations): server/src/services/attention.ts:1152 \u00B7 server/src/services/costs.ts:352 \u00B7 server/src/services/heartbeat/queue.ts:329 \u00B7 server/src/services/issue-tree-control.ts:563 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 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":"server/src/services/attention.ts"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"641707cc389c025225a0aad02a1b673f508995f5be022321146c8b9ac76d564e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/authorization.ts:724 \u00B7 server/src/services/authorization.ts:736 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"0242ca964015daad10e721ed848e71bfd12a86c43fea91635795419ac5bb77b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/budgets.ts:870 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:770 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"35355c8274d12716fffd4caedc9465b42525da1b3b248ff60a1c1654e6f07f91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/services/chat-channels/configuration.ts:807 \u00B7 server/src/services/chat-channels/github/setup-secret.ts:153 \u00B7 server/src/services/chat-channels/github/setup-secret.ts:202 \u00B7 server/src/services/chat-channels/inbound/resource-admission.ts:55 \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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"f256e2c722f8440d7485c25852b42a8624686295fc48767c0e5d9dedc28e3ad5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/chat-channels/github/acknowledgement-work.ts:90 \u00B7 server/src/services/chat-channels/github/review-check-work.ts:55 \u00B7 server/src/services/chat-channels/github/terminal-response-work.ts:94 \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":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"88692d1d9b8ec6724d26b402320490a82e02bc64b5e279583f5ed42f1edafa04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/conversation-queue.ts:244 \u00B7 server/src/services/chat-channels/inbound/conversation-queue.ts:265 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7584e7918fdd70d9d0a4ef34b64b3b474713b0988e6135327d52ea271ec043"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/wakeups.ts:309 \u00B7 server/src/services/heartbeat/queue.ts:2952 \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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b63662efa555e6a8eb490327bc305f4b8f3cb2a976a94d318b73baec7488388"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:521 \u00B7 server/src/services/heartbeat/recovery.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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a51c50f42fb5110c86e7d08a39d550cdcde5c6e54a2df0622b652a749d790e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:185 \u00B7 server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:245 \u00B7 server/src/services/chat-teams-file-transfers.ts:332 \u00B7 server/src/services/native-runtime/native-session-executor.ts:4101 \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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e2e67348b14403b9f09b9275237c07f2d36eaea2eec020ac452e56fd6daf7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-channels/publication-replacement.ts:653 \u00B7 server/src/services/chat-interaction-publications.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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"352ba734cbfda9d01705867f86ec8b4e43ee34117aaf6962b2028e4bb63e4b7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-channels/receipt-reactions.ts:302 \u00B7 server/src/services/chat-channels/slack/session-stop.ts:335 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ced0f6a1b057154af2e8f77795485ecb5865023d4ff14d03639f6444f5bb8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-channels/slack/cloud-forms.ts:171 \u00B7 server/src/services/chat-channels/slack/cloud-forms.ts:206 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d88fa37432c1ce4e244e671704090084fadb927fb16b28ff269ec44d4c8bff4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-github-events.ts:153 \u00B7 server/src/services/chat-github-events.ts:170 \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":"server/src/services/chat-github-events.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1101674e4de0201cab77eb620a8fe977861e838fcab68c8a93e38fcb654d3ba7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-github-response-comments.ts:178 \u00B7 server/src/services/chat-github-reviews.ts:217 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"00da39219119e812d906f1fc0d14adb7821c69c16599ee9e45a250151eb8c5c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/chat-sdk-state.ts:306 \u00B7 server/src/services/chat-sdk-state.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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0b65c2328e046cdf586a747ae30e6bdeb9edb2033b63c8ef95cfe168b9a3eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/chat-sdk-state.ts:354 \u00B7 server/src/services/chat-sdk-state.ts:397 \u00B7 server/src/services/chat-sdk-state.ts:443 \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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3243e9cc02d75d71f2a43d4c056555d114eb6aa213e856d47d6f2cb8b5496d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/companies.ts:291 \u00B7 server/src/services/companies.ts:531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/companies.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad91dc59c9552693e1c89a5296edec8bc224294a63f54b324bc1a385ad49c2e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/company-portability.ts:4010 \u00B7 server/src/services/company-portability.ts:4056 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4010}}}],"partialFingerprints":{"codehealthFindingId/v1":"45882781bb3bde92c8e8a2e625480a36020586789c27c532c4d55085ac9dfd92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/company-portability.ts:4080 \u00B7 server/src/services/company-portability.ts:4088 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4080}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381dc0a98fe199fd4fbc0fed5832384b81714b6c1eb289a16ba21bb42e0f0d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/company-search-extract.ts:49 \u00B7 server/src/services/company-search.ts:216 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search-extract.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baec93fe2b22f3c9efa1070c011bbdd2be7fa218828da8397947c37337afb9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/company-skill-policy.ts:116 \u00B7 server/src/services/environment-custom-images.ts:302 \u00B7 server/src/services/environment-custom-images.ts:311 \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":"server/src/services/company-skill-policy.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2cee5e1d3890e163f6eaeef9c2c3999faf43e9d550a9275af7e7faf0793325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/company-skills.ts:3643 \u00B7 server/src/services/company-skills.ts:3865 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3643}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe8396e93043cd375e137d44b9afd6a02949d862602830c834b3306ed4bf19e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/company-skills.ts:3741 \u00B7 server/src/services/company-skills.ts:3912 \u00B7 server/src/services/company-skills.ts:6597 \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":"server/src/services/company-skills.ts"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e4e51e2d86cd98646a287a8f5100ccde02fd490bc2137133dc06cc2fc6998f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/company-skills.ts:3848 \u00B7 server/src/services/company-skills.ts:6706 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3848}}}],"partialFingerprints":{"codehealthFindingId/v1":"2104fc86259f4ededc7bd703d154483d567a7cd947fec4b62f52fca6efcb2447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/company-skills.ts:5510 \u00B7 server/src/services/company-skills.ts:5567 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":5510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0748d9016f45e5c84c177450a58843dfcd851908b77a3ac217dcf54e767c3118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/connectors/slack-delivery.ts:44 \u00B7 server/src/services/connectors/slack-writes.ts:158 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-delivery.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7fef451d2cd760fd17bc5a69d77f43912a173b8e98f3be64c733dc93a3b937"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/context-compaction.ts:22 \u00B7 server/src/services/native-runtime/first-turn-queued-input.ts:45 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/context-compaction.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eea996399ae937e9c79f3a47388eff33f0b33e25e63de3c7b50d6ccfe2e8e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/costs.ts:150 \u00B7 server/src/services/execution-workspaces.ts:3232 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5aece643377b9fac873d8be1c99900d2cf78f7727bfaae9a93d8391f1cf40f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/costs.ts:461 \u00B7 server/src/services/costs.ts:498 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"df71af4cff291cdcdedf5fc27765e005ae7a7deba2c2f5dc078050232a97e630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/decision-effect-recovery.ts:48 \u00B7 server/src/services/decision-expiry.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":"server/src/services/decision-effect-recovery.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1dda64835a531112de1b2d7f061c7dd2a02ca04079f2889aa50e83f3b884ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): server/src/services/decision-queues.ts:226 \u00B7 server/src/services/decision-queues.ts:233 \u00B7 server/src/services/decision-queues.ts:240 \u00B7 server/src/services/decision-queues.ts:270 \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":"server/src/services/decision-queues.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea6369139c4ceb0caa2a0ad62a85e869da7407c5744b517bae5ec305cade7eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/decision-retention.ts:342 \u00B7 server/src/services/decision-retention.ts:412 \u00B7 server/src/services/decision-retention.ts:456 \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":"server/src/services/decision-retention.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0eb199275d54737151d0d8cd3797b8d7ea4d74759fff186face17c9befd430d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/decision-signing.ts:151 \u00B7 server/src/services/managed-resource-drift.ts:13 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-signing.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fea7279b4f8dfde5e4e8fff7e158030b1d351099cc5d242b41180e3714bc54f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/email-channels.ts:2330 \u00B7 server/src/services/issue-run-presence.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3d7908edf5a16d9f7fb62913efa664bb11404cad111834afaa5d4b98c50f5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/environment-retained-orphan-settlement.ts:206 \u00B7 server/src/services/environment-run-lease-settlement.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":"server/src/services/environment-retained-orphan-settlement.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"704f2e6b4726031dbb1b70d7029f914ec521b797af1e224ad87f59d1012bbe6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/environment-runtime.ts:4703 \u00B7 server/src/services/environment-runtime.ts:4736 \u00B7 server/src/services/environment-runtime.ts:4744 \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":"server/src/services/environment-runtime.ts"},"region":{"startLine":4703}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ddb41eb2b65167ddec5012111bd638cc2b7ae665fadc3d02bcf1bd95e1f594"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/environments.ts:698 \u00B7 server/src/services/environments.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":"server/src/services/environments.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29ab32c15ef7f3add273eea6c29ca6ad0a7eaf48d179fcc34bd4464dd87f5bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/execution-blocker.ts:122 \u00B7 server/src/services/execution-blocker.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":"server/src/services/execution-blocker.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c408a0da5029c2d5c238a8a3e94b02bc68edb0d377271ed5d8f9f50c4b13ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:1142 \u00B7 server/src/services/execution-workspaces.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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"beff8dc97e5691d8633083496ef674502e67042a0cda34f973185376e69c1ea5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): server/src/services/external-conversation-settlement-work.ts:20 \u00B7 server/src/services/native-runtime/native-failed-workspace-recovery.ts:314 \u00B7 server/src/services/native-runtime/native-recovery-notice-work.ts:17 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:52 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 8 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-conversation-settlement-work.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5be9deb1cae3dcb6d09d8721c748ae8104bfb5e2649ae51b4a4fe824542b0ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/services/external-objects.ts:459 \u00B7 server/src/services/external-objects.ts:606 \u00B7 server/src/services/issue-references.ts:223 \u00B7 server/src/services/issue-references.ts:246 \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":"server/src/services/external-objects.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adac5b23a697af6ef961772ff09a4398c2367499acae88f18762c69a1048c29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/folders.ts:141 \u00B7 server/src/services/folders.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":"server/src/services/folders.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"701a07f4346bd035455bb3b2fe1480735592d96af1751daf6b460a19eb89fdeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/git-credentials.ts:382 \u00B7 server/src/services/git-credentials.ts:513 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-credentials.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acce0f243f7234a94d447a92f21cae8267a91a77d99134091226ac78c4b6ba9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/git-restore-point.ts:395 \u00B7 server/src/services/isolated-task-directory-snapshot.ts:180 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"09965484f3ce7c853b748ba19690ec2990da88065e67a7728b960950039e51bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/gmail-archive-tool-policy.ts:3 \u00B7 server/src/services/google-chat-tool-policy.ts: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":"server/src/services/gmail-archive-tool-policy.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d1bf0ee53c99d6e9295c575fe9a9c7f999d45fc34e4b7ac846b114fff5a18c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/heartbeat-run-events.ts:547 \u00B7 server/src/services/native-runtime/native-workspace-sync.ts:648 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"637177a8daaf31ac0d708342c86821cf9050b3444fcfb25f1887656b2cbe0252"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/services/heartbeat/environment-selection.ts:98 \u00B7 server/src/services/heartbeat/session-preparation.ts:69 \u00B7 server/src/services/heartbeat/task-context.ts:45 \u00B7 server/src/services/heartbeat/workspace-preparation.ts:176 \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":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"af460f1be7ac8f2ac969e2ace6541e39ead7d1a1737c3f336e052d34a8271c52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/heartbeat/legacy-process-settlement.ts:92 \u00B7 server/src/services/heartbeat/legacy-process-settlement.ts:123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a199fb5ce70f61e88be43fbbc2334c6080f404fa3482a3bcce27edf09fb6d421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/heartbeat/queue.ts:4090 \u00B7 server/src/services/heartbeat/queue.ts:4150 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":4090}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4d904327beef3012e94e10280139181d9b7b13a529412e0c75fcd48d9efa84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/heartbeat/run-control.ts:749 \u00B7 server/src/services/heartbeat/run-control.ts:772 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cc82ad9e525751a0cd09f78392f03d66940342b5eb77e9f775461af5038f5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/heartbeat/timer-policy.ts:222 \u00B7 server/src/services/heartbeat/timer-policy.ts:237 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aa3bba47b9f70abb60c4d5cc6e7e3e8fd9d980b3c31412264b6b1e2e4d2cfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/idle-local-work.ts:29 \u00B7 server/src/services/idle-local-work.ts:44 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-local-work.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb4a77ee3c7bbd4f9ada50d687a4b0b504e9de8022566571de3d9601f3658b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/issues.ts:3203 \u00B7 server/src/services/issues.ts:3243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3203}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f19776f94ba23ecebd3475a12bb0f594aa54e867f5fbfc67b3f900a375994b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/issues.ts:13242 \u00B7 server/src/services/issues.ts:13307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":13242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aee8a52ea7705f19537ff5b9a69a6822986e740978bd8c885bfeebd41f7a736"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/issues.ts:13256 \u00B7 server/src/services/issues.ts:13313 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":13256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1cff67ae02c0c15977afac1a114cded650c24d729a1aaab6636b4aa953e407"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/issues.ts:13496 \u00B7 server/src/services/issues.ts:13536 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":13496}}}],"partialFingerprints":{"codehealthFindingId/v1":"841f63428941feb0a56e439110322f77f7839932c25a463d4a88197da50c8224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-controller-migration.ts:464 \u00B7 server/src/services/native-runtime/native-controller-migration.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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55cc3559574bf5ba5d06585e2fc747989c184c35ea0eb7c68b5ee56c02ecf93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-observed-workspace-preservation.ts:157 \u00B7 server/src/services/native-runtime/native-observed-workspace-preservation.ts:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be14ae5b6f8dd9c47168cf80fc64e9385c1682922dce80a0c375785028bda81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-provider-artifact-capture.ts:25 \u00B7 server/src/services/native-runtime/native-provider-artifact-capture.ts:175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifact-capture.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5315d29354c98b85e395f6081fd681ac2248b5a0ddee691c46511fe0d295ad0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): server/src/services/native-runtime/native-response-presentation-work.ts:93 \u00B7 server/src/services/native-runtime/native-review-response-work.ts:79 \u00B7 server/src/services/native-runtime/native-status-reassessment-work.ts:108 \u00B7 server/src/services/native-runtime/retained-native-session-cleanup-work.ts:54 \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":"server/src/services/native-runtime/native-response-presentation-work.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"89152be564d974c906e05043eb4931dfe6ab2568b1a9f1434a03373b47c39891"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:1646 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96d8183b825a20f64c4e1c560aca2b6f8b9ab8caaac5687447ed7130ac8b02e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-projection.ts:141 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1515 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-projection.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61732306c6f0628c4d21cd4a142686219b4d5093d6b10252feee09591fef551"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-safe-replacement.ts:693 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:832 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"65020b54ffd4f2017f334a5a86dde374ded3dc4fae42dde2396f5eba38b566c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:3498 \u00B7 server/src/services/native-runtime/native-session-executor.ts:3673 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb4de337bc9c1ba5c5974461084d0f4619a6cd1772487e2cfc033e24be9dfb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): server/src/services/native-runtime/native-session-executor.ts:5361 \u00B7 server/src/services/native-runtime/native-session-executor.ts:6719 \u00B7 server/src/services/native-runtime/native-session-executor.ts:6745 \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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71248368990b577f427c3aa8ae61dd58b46abaf372d6024792b2892f6ccd914"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:16673 \u00B7 server/src/services/native-runtime/native-session-executor.ts:18389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16673}}}],"partialFingerprints":{"codehealthFindingId/v1":"70197ba12cf390617a486a9bda44daf8b5ae2004fe4f7a5b2d6690979a799542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/provider-attempt-outcome.ts:93 \u00B7 server/src/services/native-runtime/provider-attempt-outcome.ts:111 \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":"server/src/services/native-runtime/provider-attempt-outcome.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c79edaf449e66122b12bdaa5fd7161034ec524b1749b3c53d5eae3d3b7b6e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/provider-profile.ts:213 \u00B7 server/src/services/native-runtime/provider-profile.ts:224 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"06db305442d6cf9085838bdb6d53351149158e8ad182bd672f326c29ceaa658d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/retained-provider-pack-source.ts:130 \u00B7 server/src/services/native-runtime/retained-provider-pack-source.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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4ec23b9d29b5a99d92f9172c211b7af9f256c31f5515f6761879d16f91ca3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:1238 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1255 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ca3a53b4f6528d3e818768c4a6a443d353c730e12c13e4a6d337ec77bc70cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): cli/src/client/board-auth.ts:155 \u00B7 packages/paperclip-runner/src/browser/client.ts:115 \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":"cli/src/client/board-auth.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfce6dd87c7dea1df32888bf6ae9efdaa082051abfd62416d398343e618c720"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): cli/src/commands/client/agent.ts:845 \u00B7 cli/src/commands/client/prompt.ts:144 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2abe10005de43303be048e200839357c9979e6c5eb15e8d07cf60f8f1dd252"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/client/company.ts:563 \u00B7 cli/src/commands/client/company.ts:573 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4148581e27b09796e965b85c0b72f8a85dc00640d5246023b4de21883e2127"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): cli/src/commands/client/issue.ts:443 \u00B7 cli/src/commands/client/issue.ts:494 \u00B7 cli/src/commands/client/workspace.ts:91 \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":"cli/src/commands/client/issue.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b89bf4d297e4c8d2cc26fd80dc6a1851d0bb0262aea4c20ea3ef33657c5a00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/client/routine-api.ts:114 \u00B7 cli/src/commands/client/routine-api.ts:136 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/routine-api.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4ccbbbea1827f2eb553e39b45d3eac8fc4ffc5f9c767ea883676b057678ece"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/client/token.ts:71 \u00B7 cli/src/commands/client/token.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":"cli/src/commands/client/token.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a6583aca313d6151d2cfaf4c86b7eb237e9603cc298450967625289624bf40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): cli/src/commands/configure.ts:198 \u00B7 cli/src/commands/onboard.ts:461 \u00B7 cli/src/commands/onboard.ts:719 \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":"cli/src/commands/configure.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1684f8da78ed2328c44bfff2902d532a24e7662a813987cc568b694a3f70a86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/env-lab.ts:73 \u00B7 cli/src/commands/env-lab.ts:93 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/env-lab.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf0d19dec3d4cb9c07934ae44146b794bcd4ba0ac51fe6d29a3d6e7d0109fb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): cli/src/commands/heartbeat-run.ts:33 \u00B7 packages/paperclip-runner/src/cli/opencode-proxy-events.ts:91 \u00B7 packages/paperclip-runner/src/contracts/harness-driver.ts:186 \u00B7 packages/paperclip-runner/src/contracts/question-set.ts:92 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 9 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee002ed098416b7e7922e97382602f279b64c529eaf772344a0cbc9dfaf71a38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/onboard.ts:462 \u00B7 cli/src/commands/onboard.ts:720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96d2ec7fab3a11ea732eb0b25a6aa8852a9b3b6bf9a6d0b2873475f65685e4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/update.ts:202 \u00B7 cli/src/commands/update.ts:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/update.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db4f9b93262d2fd2b4c830f64968194cd589ea04e91f405aa54c363735efbe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): cli/src/commands/worktree-merge-history-lib.ts:276 \u00B7 server/src/services/feedback.ts:1017 \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":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"50940dcd81965ae2bb3b315d6bd46288e8b471d7428cb7ed2444bf4ecad5514f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): cli/src/onboard-service.ts:75 \u00B7 cli/src/onboard-service.ts:221 \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":"cli/src/onboard-service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd61490e7e9cddcc036bf9eacf986d5b5834b0d28d431600cbb55186ecba924"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10 locations): packages/adapter-utils/src/acpx-engine/execute.ts:1883 \u00B7 packages/adapter-utils/src/acpx-engine/execute.ts:1889 \u00B7 packages/adapter-utils/src/server-utils.ts:971 \u00B7 packages/adapters/codex-local/src/server/execute.ts:613 \u00B7 \u002B6 more site(s) not listed \u2014 the 9 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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ec3068eb2d8fd088dcaae328ef7fdea2fab4b07173a87937319558818ca2cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/adapter-utils/src/acpx-engine/execute.ts:2092 \u00B7 packages/adapters/claude-local/src/server/execute.ts:305 \u00B7 server/src/adapters/process/execute.ts:49 \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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d47b33db3b279041408f3ccf081cb87058e84583a69febe4f21abe21fdca438"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/adapter-utils/src/acpx-engine/execute.ts:551 \u00B7 server/src/services/decision-signing.ts:145 \u00B7 server/src/services/decisions.ts:74 \u00B7 server/src/services/managed-plugin-environments.ts:61 \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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b0f9f2f5ae5a20e907d903eb6a06944efce02e716ed59f448a9621f7350d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/adapter-utils/src/command-redaction.ts:230 \u00B7 packages/adapter-utils/src/command-redaction.ts:247 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/command-redaction.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc0fd0edb15fa7a503c07de512776bfb1ec58c1d06875db334ef1750926daeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/adapter-utils/src/execution-target.ts:2043 \u00B7 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:180 \u00B7 packages/paperclip-runner/src/drivers/opencode/performance-diagnostics.ts:79 \u00B7 server/src/services/native-runtime/native-github-access.ts:99 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc74f656c41ccaac223ec719a18eac1dfcf06b6c4bf3abbacb4a9a08a161aa54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapter-utils/src/execution-target.ts:2118 \u00B7 packages/adapter-utils/src/execution-target.ts:4495 \u2014 both copies are in the same file, so extract the block into one function there 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b26c802b6ed982520ca4c78db85900dfd8685393bc682944ea24366d90c709"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/adapter-utils/src/local-process-sandbox.ts:79 \u00B7 packages/adapters/claude-local/src/server/acp.ts:515 \u00B7 packages/adapters/claude-local/src/server/claude-config.ts:32 \u00B7 packages/adapters/codex-local/src/server/acp.ts:413 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c548f7002c1eecbaf38a9db137df763ac6ea0d56c2a23e41a40a79b58ab6960b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:893 \u00B7 server/src/services/heartbeat/run-preparation.ts:2730 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"600902ca0d0832ff6b5c6853c090adacc20ffa1838c7e62efea83abdc9e0276f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:1171 \u00B7 packages/adapter-utils/src/server-utils.ts:1622 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8796d0de321f22152a1aeaed75234a9c948d6c147b134774ce73d64bfb9a80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:4278 \u00B7 packages/adapter-utils/src/server-utils.ts:4442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":4278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3deaf8e02126ef6b7ae2f988ed84f9c721831bcf9b02535847872befe369019"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapter-utils/src/ssh.ts:1133 \u00B7 server/src/services/agent-instruction-files.ts:76 \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/adapter-utils/src/ssh.ts"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7ceb0393109d1ed96acbb370f8bbeec6e753d950bc3c3918fdf5867b5f7ab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapter-utils/src/workspace-restore-diagnostics.ts:181 \u00B7 packages/plugins/sdk/src/environment-sync-error.ts:88 \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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd07b045b62d613303c137c2f1c9b8e52e0a75bbfe4c76fc6e4c22a0cafc629"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/adapter-utils/src/workspace-restore-merge.ts:152 \u00B7 packages/adapter-utils/src/workspace-restore-merge.ts:194 \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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e1db52ef9f0acb296afe1e7792eb2dcb0ead56d76ff7bb2dde566f4b05278"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): packages/adapters/claude-local/src/cli/format-event.ts:110 \u00B7 packages/adapters/claude-local/src/server/skills.ts:21 \u00B7 packages/adapters/cursor-local/src/server/skills.ts:23 \u00B7 packages/adapters/gemini-local/src/server/skills.ts:23 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 8 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afb18c2e5eff0f035e79e5f0010ea57cff071c41c95a83c4e129ebc1b0e3762"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:734 \u00B7 packages/adapters/codex-local/src/server/execute.ts:991 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b9a536842c1e9497776fc9931c6aa27a769bbf42e3aa7c41e63928e2160d39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/execute.ts:794 \u00B7 packages/adapters/grok-local/src/server/execute.ts:502 \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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d29b503b7cf5a02e786af84d5fe9b1f24cc1bbb02fc2c9fb0a1f9808602281"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/adapters/claude-local/src/server/parse.ts:253 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:291 \u00B7 packages/adapters/gemini-local/src/server/parse.ts:307 \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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"da651f06c7547808b2480d47086fbca7051c319819651bf0618f08e72c523140"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/adapters/claude-local/src/server/probe-diagnostics.ts:125 \u00B7 packages/shared/src/link-preview.ts:26 \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/adapters/claude-local/src/server/probe-diagnostics.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece10858808e58ad9f08e7c7b2094d022d2bfd5794c90cf04873ad09edcee33b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/claude-local/src/ui/parse-stdout.ts:125 \u00B7 server/src/services/issues.ts:997 \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/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973bf0fb04684bcdf6c7a5a567e950316ed61ce3ec7f2c60a2d97de4efd8996"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/codex-local/src/index.ts:181 \u00B7 packages/shared/src/node-version.ts:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/index.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6deb7d5f1df38906e4a4a505b1e225150d4220dc47f6ccee83c65ad71e49ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): packages/adapters/codex-local/src/server/codex-args.ts:17 \u00B7 packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts:75 \u00B7 packages/paperclip-runner/src/cli/opencode-proxy-usage.ts:24 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts:7 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 9 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-args.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d87a5001db63cb66686f8429949da2cf9b8f66f3f32822c237c9ef78cc3710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/adapters/codex-local/src/server/execute.ts:1107 \u00B7 packages/adapters/cursor-local/src/server/execute.ts:445 \u00B7 packages/adapters/grok-local/src/server/execute.ts:486 \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":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d5c749a99993876e8bf4f275fa63d3ac39580e6fd685fe866eaf7a38b1049f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/cursor-local/src/cli/format-event.ts:174 \u00B7 packages/adapters/pi-local/src/cli/format-event.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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"25207919169882d59a7b171341c7f275deef9e023c466feca23962a1e08702e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/adapters/cursor-local/src/ui/build-config.ts:14 \u00B7 packages/adapters/gemini-local/src/ui/build-config.ts:8 \u00B7 packages/adapters/grok-local/src/ui/build-config.ts:8 \u00B7 packages/adapters/kimi-local/src/ui/build-config.ts:51 \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":"packages/adapters/cursor-local/src/ui/build-config.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"957d824878506464a5e765aae80b6f6a0fdd67dcfe33a094b994f7a56c600be0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/adapters/hermes/scripts/prepare-publish-package.mjs:3 \u00B7 packages/adapters/hermes/scripts/restore-dev-package.mjs:3 \u00B7 scripts/codemod-extract-colors.mjs:32 \u00B7 scripts/codemod-type-ladder.mjs:38 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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/adapters/hermes/scripts/prepare-publish-package.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84bc01ba5c90e5ff018f4ca352145908c711cad85f616f427205f92047ce638"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/adapters/hermes/scripts/prepare-publish-package.mjs:2 \u00B7 packages/adapters/hermes/scripts/restore-dev-package.mjs:2 \u00B7 scripts/generate-plugin-package-json.mjs:3 \u00B7 scripts/generate-ui-package-json.mjs:3 \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":"packages/adapters/hermes/scripts/prepare-publish-package.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf57c62537799d28b00cfb559fdabfe306c356c5f3a7fe6da83eb94a42db99c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/execute.ts:163 \u00B7 packages/plugins/sandbox-providers/novita/src/plugin.ts:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e821b510c0337610a984a62ffcdce75ca230710fb2cede6b91af99b2fc0d1db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/hermes/src/ui/parse-stdout.ts:266 \u00B7 packages/adapters/hermes/ui-parser.cjs:179 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c670be21e75c7f197f3e6406ce3bea46466d784a488a420ed6267b4d36a612"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/kimi-local/src/server/parse.ts:98 \u00B7 packages/adapters/kimi-local/src/server/parse.ts:176 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/parse.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66a5a6fbf20da5be5cd20ae26dff7300acbe6fb3725c9552950a014418ec315"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/test.ts:78 \u00B7 server/src/realtime/environment-custom-image-terminal-ws.ts:198 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43815b066d8d10119a6afba0de4ccee112189160230efbab11ca41860250d6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/adapters/pi-local/src/server/parse.ts:95 \u00B7 packages/adapters/pi-local/src/ui/parse-stdout.ts:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8082d86274774748201c5162265457dd2c3e97dde2d0280774acd8a73932145f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/db/scripts/clean-poisoned-claude-sessions.ts:453 \u00B7 scripts/bootstrap-npm-package.mjs:439 \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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"156caf38678aa979303db06618f18bd0f9a66cba5278f717d570b5538ac568eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/check-migration-safety.ts:669 \u00B7 packages/db/src/check-migration-safety.ts:676 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"949912d1a04048051151548f17105a98ef101d8d2b0d4686d444fda881868ad3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/schema/cases.ts:95 \u00B7 packages/db/src/schema/pipeline_case_events.ts:14 \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/db/src/schema/cases.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9a5385bb05b36dfd748ddd1ff4d2c1e1f0b9475a8859bf346fe72c57439c8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/schema/chat_github.ts:55 \u00B7 packages/db/src/schema/chat_voice_callbacks.ts:5 \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/db/src/schema/chat_github.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"341fd956da1613e24c7fdbc90e823edd0a91cf5d3713eec63cd51f690735b689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/db/src/schema/chat_voice_sessions.ts:28 \u00B7 packages/db/src/schema/cli_auth_challenges.ts:20 \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/db/src/schema/chat_voice_sessions.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396d13ba387221d9b2e4c88cf4938b2294eb1b5fe3f632a3acbf552631349a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/db/src/schema/completion_contracts.ts:16 \u00B7 packages/db/src/schema/native_run_results.ts:17 \u00B7 packages/db/src/schema/status_decision_effects.ts:18 \u00B7 packages/db/src/schema/status_decisions.ts:17 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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/db/src/schema/completion_contracts.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dffdfc1e21639e157e10e50aefccad9c32aa9c9e3b9bbcd8bebd44d35a282bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/schema/decisions.ts:21 \u00B7 packages/db/src/schema/goals.ts:13 \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/db/src/schema/decisions.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d4d618c41bfebbb20eb82527bf5bb813c7afd2554b878764489bbfc2a47ab9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/db/src/schema/document_annotation_threads.ts:18 \u00B7 packages/db/src/schema/routine_documents.ts:7 \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/db/src/schema/document_annotation_threads.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ec52b5597ae82713921de732eb03c600667e0ebbbcb91482da46385490c4d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/db/src/schema/document_annotation_threads.ts:44 \u00B7 packages/db/src/schema/workflows.ts:9 \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/db/src/schema/document_annotation_threads.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"401643be71497bbb7a1887c8ec8f04be21e38180c44ee0ad36f07391a8f955e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/schema/document_revisions.ts:19 \u00B7 packages/db/src/schema/heartbeat_run_watchdog_decisions.ts:18 \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/db/src/schema/document_revisions.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f263c2f46672163105787c3aea1d927be6570d1138a5b1a79bfda05513fd05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/schema/documents.ts:13 \u00B7 packages/db/src/schema/routines.ts:44 \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/db/src/schema/documents.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee2f0dca34f5a8254b2758b04247abbed29cfa2dd2b4c7e0bb71c4b0a0b3c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/db/src/schema/issue_tree_hold_members.ts:9 \u00B7 packages/db/src/schema/issue_watchdogs.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/issue_tree_hold_members.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8426195be322c9187cca8a248dd7beeddba88cb9d6a26d27c3005125dd99152c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/db/src/schema/plugin_entities.ts:31 \u00B7 packages/db/src/schema/plugin_jobs.ts:79 \u00B7 packages/db/src/schema/plugin_logs.ts:28 \u00B7 packages/db/src/schema/plugin_webhooks.ts:38 \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":"packages/db/src/schema/plugin_entities.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dc7c76d5618e1d059a31da2ab9596595a1c1cb10fed59f7f761719f05df7aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/db/src/schema/run_identity_contexts.ts:15 \u00B7 packages/db/src/schema/tool_access.ts:979 \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/db/src/schema/run_identity_contexts.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ac941355fa76e8d2a7ddf72e16524f9bfef7ae712f72d0b595aac26aecb69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/db/src/test-postgres-owner.ts:77 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:2649 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/test-postgres-owner.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b626af904141de233dda43e841d0ff8781c22eccf085a4ee89ddde6cd735c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/google-sheets-mcp-server/src/config.ts:40 \u00B7 scripts/extract-proposed-events.mjs:320 \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/google-sheets-mcp-server/src/config.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16532f222841a1a5e284f42012dec2bb06ac3212d15c0308619e99ab9b3073c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/App.tsx:344 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5806 \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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c56db7b276948efe1a7eb7c0bc5ac8fc8ae9dbab6b797eb227526ff779f5c11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx:585 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx:612 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"397977d5aac87bceee68b8e4f106b57b05e9e67b5b051ce5a3620cc07dd195b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx:150 \u00B7 packages/paperclip-runner/src/drivers/acpx/copilot-events.ts:150 \u00B7 packages/paperclip-runner/src/drivers/acpx/interaction-delivery.ts:205 \u00B7 packages/paperclip-runner/src/live/live-session.ts:549 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e4ebcfd7182a5cdd542820754f1a0a50e570d7df420122019453818d23d17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/build-inputs.mjs:409 \u00B7 scripts/runner-image-layout.mjs:429 \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/paperclip-runner/scripts/build-inputs.mjs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"18985283443d542dab3f84241258afcd05a779b1f45b090f0e454dfe9da01607"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs:379 \u00B7 packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs:392 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f64e298fc4ba60068871719f3a7d7e1afec208b247c07a6f6db82649d6530a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs:165 \u00B7 packages/paperclip-runner/scripts/protocol-contract.mjs:650 \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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"342afb851c7719e4964e4345acbea977d8317f176488fcce10faeee2ec01063c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs:165 \u00B7 packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:1723 \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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1524fcb8a1be4d35a29887cb5ef762b8ab2846da835360bf27deb662e51a21bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/scripts/generate-capability-contract.mjs:4 \u00B7 scripts/check-module-boundaries.mjs: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":"packages/paperclip-runner/scripts/generate-capability-contract.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7099865526c50f4f34483b212861397243532e398e98d652e9dbd8baf2e14bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-antigravity-distribution.mjs:193 \u00B7 packages/paperclip-runner/scripts/patch-antigravity-runtime.mjs:76 \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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e41d394375ad83b9dd4db5773540f9419f4feef26b46a9524286dcc9a08c95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/qualify-cursor-mode.mjs:8 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-runtime-patch.mjs:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/qualify-cursor-mode.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"409cd813a3d26a09c8c126f6b2a1ca471e385c413469dc7cf826b429b9c9e079"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/scripts/release-provider-pack.mjs:44 \u00B7 packages/paperclip-runner/scripts/release-provider-pack.mjs: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/paperclip-runner/scripts/release-provider-pack.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a225f7ff9491d3899c95cfc74d59a5f94f9d8b61edd4c1697f3c9101a4838a18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/scripts/run-runner-live-eval-schedule.mjs:14 \u00B7 packages/paperclip-runner/scripts/run-runner-workflow-evals.mjs:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/run-runner-live-eval-schedule.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27bcc8da278e51f6ddec1a94a8226b1f5332adabe2ef6d493381be9111e8ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/paperclip-runner/src/backends/harness-driver-backend.ts:951 \u00B7 packages/paperclip-runner/src/evals/native-execution.ts:173 \u00B7 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:2134 \u00B7 packages/paperclip-runner/src/semantic-tools/provider-neutral.ts:59 \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":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b6f7d2a5b67983d2c6c80e74df5809421396b7ba126df303739d54ebbb5c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/backends/harness-driver-backend.ts:935 \u00B7 server/src/lib/agent-permissions.ts:36 \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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd67bd77876ff1e742c59606e5bb798217cfaf932d19986c196cba4950d9a177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/backends/native-backend-factory.ts:57 \u00B7 packages/paperclip-runner/src/backends/native-backend-factory.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/paperclip-runner/src/backends/native-backend-factory.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"87677a2281e7c55aed490f968e0018bfb8a93af3e1b5356e1d91c542bb1bbe8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/claude-subagent-lineage.ts:51 \u00B7 server/src/services/chat-control-recovery-stop.ts: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":"packages/paperclip-runner/src/claude-subagent-lineage.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db3bb94cddd501f7ee1c88572f0e29c2681a28779599f467add9d628a20f79d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts:1972 \u00B7 packages/paperclip-runner/src/semantic-tools/receipts.ts:186 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36d8910aac88cef17967b5c65b2f915742aef1e28c2c9b2a8a4a0d7cbb293d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/codex.ts:20 \u00B7 packages/paperclip-runner/src/cli/live-runner.ts:15 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/codex.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fdafe95dac6ce8a50b10b262ecea85147140c9072ba795546db65b19633f38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/eval-observability-runtime.ts:15 \u00B7 packages/plugins/sandbox-providers/createos/src/client.ts:19 \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/paperclip-runner/src/cli/eval-observability-runtime.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8959b488f082f823c5768720886145708923f654017cf52483798f1767b3ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/paperclip-runner/src/cli/opencode-proxy-collaboration-mode.ts:1 \u00B7 packages/paperclip-runner/src/cli/opencode-proxy-controller.ts:11 \u00B7 packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts:309 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-boundaries.ts:44 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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/paperclip-runner/src/cli/opencode-proxy-collaboration-mode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d19441c1fe6eee1ceb2f8e9ddeb314aaee01cb2ccc065967b2788710875cc84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/opencode-proxy-output.ts:4 \u00B7 server/src/services/ai-auth-failure.ts: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/paperclip-runner/src/cli/opencode-proxy-output.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"209d208848535169d9f89a0effd26b190515ae1b93397208fc702c46504eb31b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/harness-driver.ts:580 \u00B7 packages/paperclip-runner/src/drivers/provider-failure.ts:49 \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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee39250caaa8b293eb85c9a1de7eae7351b653d7c3f3029ce12b5ca862e1b5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/native-session-backend.ts:117 \u00B7 packages/paperclip-runner/src/contracts/native-session-backend.ts:131 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/native-session-backend.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5614fe3e4e512fe1e48d69dccb58946634162725c07ec58de9c4f00cefd504"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/question-set.ts:92 \u00B7 packages/paperclip-runner/src/native-session-runtime.ts:2264 \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/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b13646b745838f7e680766131ddc52c5428aaab751deae8e5bae3c3c45f8e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts:2448 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"36758b3f9e0cad0f1614676d72e7a76ee731f9b5e7002610f36af28f63841bdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts:126 \u00B7 packages/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bfe6e519940d0725e59a4a5e3aedbd417a2e4996ca3cae6a8d4df9bedf7446"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-process.ts:30 \u00B7 packages/paperclip-runner/src/drivers/copilot-metadata-probe.ts:102 \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/paperclip-runner/src/drivers/acpx/antigravity-process.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34a60d4806716d47843c302e983bb53f8d194f08f694c7aeabf7df40fd34948"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:864 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:637 \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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ecea1b63c1015d71eb7876def05fe05408b86ab299fbb50e1f92dd71ed3af5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1858 \u00B7 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts:1907 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdaa1e7242e9e4145b322d2b042aeaa733e189136f571190f3b4f14e3716e7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/paperclip-runner/src/drivers/acpx/cursor-instructions.ts:12 \u00B7 packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts:6 \u00B7 packages/paperclip-runner/src/drivers/acpx/kimi-instructions.ts:12 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-thinking.ts:17 \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":"packages/paperclip-runner/src/drivers/acpx/cursor-instructions.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca5851a5bbb52a2b78898cbdffac2416e685820e3946bd1ebdf004a248491e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts:6 \u00B7 server/src/services/native-runtime/native-controller-recovery.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/paperclip-runner/src/drivers/acpx/cursor-mode.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f2532672d5b9afa817d3df52893945b902994d3534b65562bcfc340a2f97b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts:83 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:137 \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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7320c46df5a48d82aff535e0988491dac49f3647c9a232b67523496e7e5340e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts:354 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts:103 \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":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7c8621b76c3ac9c4a5031445e092adcc43a73988e7ac4ca83345fa7a477042"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/private-snapshot.ts:43 \u00B7 server/src/services/native-runtime/antigravity-runner-credentials.ts:242 \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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"040b729cb790d1b9fc22320ed9c339faac0e3b0c9cd3c8bfaead92f4a210ff37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/qualified-profiles.ts:55 \u00B7 packages/paperclip-runner/src/semantic-tools/provider-neutral.ts: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":"packages/paperclip-runner/src/drivers/acpx/qualified-profiles.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2c6a0bd030754788edd62390191aed19836c5bafa786e0d2eb949848b2db41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts:25 \u00B7 server/src/modules/wake-queue/domain/values.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":"packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac57082656639fb0d5b3318ff5108d4babbfba4a50c234f6d89657f9741a790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts:196 \u00B7 packages/paperclip-runner/src/eval/eval-bundle.ts:150 \u00B7 packages/paperclip-runner/src/semantic-tools/receipts.ts:193 \u00B7 server/src/services/environment-custom-image-runtime.ts:45 \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":"packages/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"43998ab599bb051037fec1aa10ee12e9664ac06699eeb4bee3de6466f02aa165"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:322 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:341 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b637d9a4988162835143efa7b7da740ad38be74daa5e359993704d85ab01ef54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts:86 \u00B7 packages/paperclip-runner/src/live/live-session.ts:2579 \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/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4dd1401f82985aac023b83e86ac9a742aa9a2a8ef28635cde1a2e373756483"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:429 \u00B7 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts:583 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"478531d659a87bacd6b62b209fa1878ab321031274161f592177a54014566a9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/evals/native-execution.ts:340 \u00B7 packages/paperclip-runner/src/evals/native-execution.ts:365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853bf131db3cfdf3295fe7a492a25ff0db58b4c02dda447b3860bb829d9855e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runnerd-codex-transport.ts:6497 \u00B7 packages/paperclip-runner/src/live/runnerd-codex-transport.ts:6990 \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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6497}}}],"partialFingerprints":{"codehealthFindingId/v1":"17011a19e335e71fe45e5c550e42c731fab376111641431c9375a3084c2016e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/live/scenario-chat-demo-server.ts:468 \u00B7 packages/paperclip-runner/src/live/scenario-chat-demo-server.ts:488 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e835eefd43b40dab89581320b3cdab1f05e684bb63eafd8ed1a4b39b3b33ea7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/live-console-demo-server.ts:649 \u00B7 packages/paperclip-runner/src/mock-core/live-console-demo-server.ts:659 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcad6dd35e8dee077b1aea79b2fe57d72913eeb914c0de18a1cf3d1d83e1f324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/paperclip-runner/src/react/components/message.tsx:41 \u00B7 server/src/modules/run-dispatch/domain/wake-context.ts:9 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:155 \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/paperclip-runner/src/react/components/message.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde443735f7dd6772ae1eafe1acc3110b23a29e0ea50ee649f4ac676d572d9ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:175 \u00B7 packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:950 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b84d859d07c8523a866f7403084da6ebdc7070c28494707172669b6cbe91a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:1733 \u00B7 packages/paperclip-runner/src/tools/capability-tool-bindings.ts:72 \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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eba7539acef4c79a152a3d2b745e64e16aaeede252b1c1e8f803c8c4dc64e23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/paperclip-runner/vite.config.ts:7 \u00B7 packages/paperclip-runner/vite.sdk.config.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/vite.config.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"760c4a44e3e2b40526c8b3e2c6b7bcb1bcb1f6cfa9bddc622d9fda5f3e027b92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:935 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:969 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1d166b3f1040cdedd96265c3dfde99b05f8226c3e4b56e3d1d60f6217161b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:3703 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:3715 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3703}}}],"partialFingerprints":{"codehealthFindingId/v1":"03755cb124b4b2ffdf5c86a803f08ccb9fab6c8b9ee84298223a4ee09fe9115f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4357 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5810 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2896d24a45a071e50fa00e10d1d9eef6ee20f09d8b460ef6f9e9bff2ea214363"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:5517 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6092 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6118 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:6146 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22e7063c166f36258698581400d98a7b7ca0fcc1fd0891375b2b2f47753eb60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:753 \u00B7 server/src/services/controller-process-identity.ts:27 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3cff3affd9eddc0c19aa6a407d1563b6ecf7c86eb73bb8ab14697174b3244e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3080 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3144 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3080}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eaeacbe0e7b60ac1bddae07b7e85036dc240f59fd9031c502384a9cb404a36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3584 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:3604 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b206b4ff80ba5feb099ec85d5764ed60e688ff89f2af453ea79bec81ef08a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4060 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4089 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4103 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4122 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4060}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e2774b9c1401dfc7663a91d0d90f7a8317d08db6b1164e28378944d98049b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:4558 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:216 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4558}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa10beb4371fe095b97c10e1310ab4c493dbe4bb4a0a5244a20b4662158c336e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/worker.ts:743 \u00B7 packages/plugins/plugin-llm-wiki/src/worker.ts:751 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"250dd0ebe5f432e297ea54c52e6a1e5681a86efa284bdfcb492b3d0502edbf49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/plugins/plugin-workspace-diff/src/workspace-diff.ts:94 \u00B7 packages/skills-catalog/src/catalog-builder.ts:863 \u00B7 packages/teams-catalog/src/catalog-builder.ts:939 \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/plugins/plugin-workspace-diff/src/workspace-diff.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d984d91d2a6fc61657c92d789b6d8d7aa45fbc7804097c508af6b3b594b77f8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/cloudflare/src/config.ts:9 \u00B7 packages/plugins/sandbox-providers/exe-dev/src/plugin.ts:99 \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/plugins/sandbox-providers/cloudflare/src/config.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b09dffe31c052a093b112e7317aa8b81c4aef4bdfc245dadd398d9e738e595"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/plugins/sandbox-providers/createos/src/plugin.ts:107 \u00B7 packages/plugins/sandbox-providers/createos/src/plugin.ts:153 \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/plugins/sandbox-providers/createos/src/plugin.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f934d372aaa5c8c88a07b5afb11797d2d84fef9849b47a8fe4ac835db833e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/plugin.ts:2954 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:3551 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2954}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b619de7845b6af377ea65d7f66d7605b836c66a2911bfdd5cc3675f7b1d6d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/sdk/src/environment-acquire-error.ts:19 \u00B7 packages/plugins/sdk/src/environment-resume-error.ts:17 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/environment-acquire-error.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"863b48bac78e3ac65a1c86f28dedf36314034fd3916819a5735b56c10795e118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/sdk/src/environment-sync-error.ts:74 \u00B7 packages/plugins/sdk/src/environment-task-error.ts: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/plugins/sdk/src/environment-sync-error.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29a7fba7b2a0dd63d0559e2393f11e13a575ef860d238c37327d0255eba9c1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/plugins/sdk/src/environment-tasks.ts:111 \u00B7 packages/shared/src/validators/finance.ts:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/environment-tasks.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb0ba596a05328d8f5866cc8cd556771eacdbec55f18578a9f662389f9023c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:1083 \u00B7 packages/plugins/sdk/src/testing.ts:1093 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"435261bb49f25aaebb86692aa7fcc134ff06b6e549ffb1657f24be43c00d59b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/plugins/sdk/src/testing.ts:1983 \u00B7 packages/plugins/sdk/src/testing.ts:1989 \u00B7 packages/plugins/sdk/src/testing.ts:1997 \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/plugins/sdk/src/testing.ts"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0220bcb17da8c07c262da4b465b0f9aaf30a6f9928398070cc8aafaeffc8558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:2020 \u00B7 packages/plugins/sdk/src/testing.ts:2051 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0652864251a94e7bec6e76485c6c4cf61c50a5e11eb63257be0a47acc9182d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:2630 \u00B7 packages/plugins/sdk/src/testing.ts:2650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde946b12e231ee525742c1b3e0d7cddaa043411862fab172c2fd1241552852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/plugins/sdk/src/workspace-provider.ts:7 \u00B7 packages/shared/src/validators/execution-workspace.ts:85 \u00B7 packages/shared/src/validators/issue.ts:614 \u00B7 packages/shared/src/validators/issue.ts:627 \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/plugins/sdk/src/workspace-provider.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd532ad13e652d615fcb069e8521e02d2e014ca3e3f7c7e8a10476391a781f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/ai-connection-router.ts:18 \u00B7 packages/shared/src/validators/chat-channels.ts:77 \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/shared/src/ai-connection-router.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f780084a05ea3b86f1dfa3433b26fc06a3c22e2ff760b6fd84d5f5986b827a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/ai-connection-router.ts:23 \u00B7 packages/shared/src/validators/email.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":"packages/shared/src/ai-connection-router.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8b6f5799513a1ba8e9d933bc9ac65e8a5a34f768ef09c41115c6c653b3ac9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/announcements.ts:35 \u00B7 packages/shared/src/grok-bot.ts:6 \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/shared/src/announcements.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1caa7d0706f08daa2cdfe0f046e3282d8be28c713655ccbff65d0b99923057a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/case-handoffs.ts:33 \u00B7 packages/shared/src/validators/secret.ts:412 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/case-handoffs.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ecf2f7e78bd6f68c18f462ed75baafae16f53e057c23afc2f4b2f956d990de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/project-mentions.ts:260 \u00B7 packages/shared/src/project-mentions.ts:267 \u2014 both copies are in the same file, so extract the block into one function there 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/shared/src/project-mentions.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c26b572392fad7ab4b01076dffa323486a97de3e22ad76d68af7bd9cc83e3c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/shared/src/remote-workspace.ts:5 \u00B7 packages/shared/src/validators/company-portability.ts:78 \u00B7 packages/shared/src/validators/company-portability.ts:102 \u00B7 packages/shared/src/validators/company-portability.ts:127 \u2014 the 4 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/shared/src/remote-workspace.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e752edac5c2116ada9c5387d2f66881402973a8a56454ee1fe425b7dba0b45a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/shared/src/subscriptions.ts:13 \u00B7 packages/shared/src/validators/email.ts:8 \u00B7 packages/shared/src/validators/instance.ts:160 \u00B7 packages/shared/src/validators/tool-access.ts:177 \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":"packages/shared/src/subscriptions.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"955010864067e29c0beb689caed9584e92158bc4a4507459daa7be295d5d3f43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/access.ts:22 \u00B7 packages/shared/src/validators/budget.ts:21 \u00B7 packages/shared/src/validators/secret.ts:125 \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/shared/src/validators/access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68813c0941269bf2757a42b064e4c0020daed8b8c76d21e462a956c8c65c90f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/shared/src/validators/access.ts:197 \u00B7 packages/shared/src/validators/routine.ts:87 \u00B7 packages/shared/src/validators/tool-access.ts:948 \u00B7 packages/shared/src/validators/tool-access.ts:960 \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":"packages/shared/src/validators/access.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6984c08f2c76b1bf8085f82e96d2b93f08452449302da015591a29d1620fe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/adapter-skills.ts:53 \u00B7 packages/shared/src/validators/company-portability.ts:165 \u00B7 packages/shared/src/validators/company-skill.ts:298 \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/shared/src/validators/adapter-skills.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd9a204b7608d0bb60ae79f034b3334063f21ea82f402f7eaefe4cef073e87f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:32 \u00B7 packages/shared/src/validators/plugin.ts:102 \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/shared/src/validators/agent.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"30275bae73faf33ede5967780b44add413dd3f767b4f0cd5c49f03ad13f85c30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/agent.ts:153 \u00B7 packages/shared/src/validators/plugin.ts:89 \u00B7 packages/shared/src/validators/plugin.ts:103 \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/shared/src/validators/agent.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d451dd47c0439dc4f8a715bf5795b1f66331762c67032ce6a4e685aca047a03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:282 \u00B7 packages/shared/src/validators/company-portability.ts:322 \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/shared/src/validators/agent.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"152f6f25e493dfb6eef4b8e3c3c85a58cde404caf62c9112f9eb123704c13033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:194 \u00B7 packages/shared/src/validators/finance.ts:6 \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":"packages/shared/src/validators/agent.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"29925123fb7dc6b611b7d142dad05f3a35f15bc4ae9dd678faa1c5af6d0bf092"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/company-portability.ts:15 \u00B7 packages/shared/src/validators/issue.ts:653 \u00B7 packages/shared/src/validators/teams-catalog.ts:131 \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/shared/src/validators/company-portability.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0792135f499ea3ac68df0c4ccfd0eb9316b0cabb47f7b03abadd90849b0a51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/shared/src/validators/company-portability.ts:39 \u00B7 packages/shared/src/validators/company-portability.ts:174 \u00B7 packages/shared/src/validators/company-portability.ts:194 \u00B7 packages/shared/src/validators/company-skill.ts:317 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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/shared/src/validators/company-portability.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"648d13802d66ea428c42b6d17f1326050d5f0e733a594d4b9fb70bd846ad0c78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/shared/src/validators/company-portability.ts:63 \u00B7 packages/shared/src/validators/company-portability.ts:172 \u00B7 packages/shared/src/validators/company-skill.ts:339 \u00B7 packages/shared/src/validators/teams-catalog.ts:74 \u2014 the 4 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/shared/src/validators/company-portability.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3824c725e12fe8b57ee5cca6cca91b9789ca75acf7a8f6e7158a3e648c4dbd20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/shared/src/validators/company-portability.ts:94 \u00B7 packages/shared/src/validators/company-portability.ts:112 \u00B7 packages/shared/src/validators/company-portability.ts:173 \u00B7 packages/shared/src/validators/company-portability.ts:193 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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/shared/src/validators/company-portability.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f07bcef3a4f7fc64331395975ac08d39f57c8c90963529fe7c7dbbdf264af8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/company-portability.ts:139 \u00B7 packages/shared/src/validators/company-portability.ts:166 \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/shared/src/validators/company-portability.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d7cff851d064ef9cf774ce8ee12ab1318addb65ac78a8a15f2981801e8dec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/shared/src/validators/company-portability.ts:149 \u00B7 packages/shared/src/validators/company-skill.ts:19 \u00B7 packages/shared/src/validators/company-skill.ts:119 \u00B7 packages/shared/src/validators/company-skill.ts:155 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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/shared/src/validators/company-portability.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35df63da7d2adb29e0bd81b245408aea229bddf3c514b110e553fff928a00fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/company-portability.ts:179 \u00B7 packages/shared/src/validators/company-skill.ts:323 \u00B7 packages/shared/src/validators/company-skill.ts:346 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/company-portability.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e89514940781591c6b6d7e95324df36a5c34144563cecc401379a60632ef823"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): packages/shared/src/validators/company-portability.ts:187 \u00B7 packages/shared/src/validators/company-skill.ts:19 \u00B7 packages/shared/src/validators/company-skill.ts:119 \u00B7 packages/shared/src/validators/company-skill.ts:155 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 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/shared/src/validators/company-portability.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcdd1da6dbbce49a6c90457852b34e3da5967712683fa12d9caada38bd07264"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/shared/src/validators/company-skill.ts:52 \u00B7 packages/shared/src/validators/company-skill.ts:423 \u00B7 packages/shared/src/validators/company-skill.ts:451 \u00B7 packages/shared/src/validators/folder.ts:20 \u2014 the 4 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/shared/src/validators/company-skill.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"598fb3224aacf6fb9e64f09084fe96ff886da324a823086ffe49c576113ef2ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/company-skill.ts:88 \u00B7 packages/shared/src/validators/workspace-file-resource.ts:89 \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/shared/src/validators/company-skill.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"67225d1b3ef8e65a3e16e789778b26515156b5acb684ad700698a1d818e26521"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/shared/src/validators/company-skill.ts:218 \u00B7 packages/shared/src/validators/company-skill.ts:354 \u00B7 packages/shared/src/validators/workspace-file-resource.ts:25 \u00B7 packages/shared/src/validators/workspace-file-resource.ts:46 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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/shared/src/validators/company-skill.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33ea32bcf160fe5c843bc30b0fa088bcff304054c7d714c6d8dd60a66c12b76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/company.ts:53 \u00B7 packages/shared/src/validators/environment.ts:25 \u00B7 packages/shared/src/validators/environment.ts:36 \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/shared/src/validators/company.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb0b2591f417b9ab510947285307e8aebfeb2241672c6ec62a48ffb7ad45630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/connection-intent.ts:4 \u00B7 packages/shared/src/validators/decision-queue.ts:15 \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/shared/src/validators/connection-intent.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1065071aed052d606926c2b1653acc842255932c38bdfbccd0d88117edfdeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/connection-intent.ts:4 \u00B7 packages/shared/src/validators/tool-access.ts:155 \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":"packages/shared/src/validators/connection-intent.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75bad2d2a9187a85329bff8d4a71326e93084788578430e038be065adadd85d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/cost.ts:6 \u00B7 packages/shared/src/validators/decision.ts:22 \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/shared/src/validators/cost.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc2df03a2ab44304ce6fa07d3245e11007a89d0084958bd7b54a3858209348a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/decision.ts:22 \u00B7 packages/shared/src/validators/finance.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/decision.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"529ad5f4a2fe689db77cb4bab3d6891ff2f155c1555b5ecbb6ce0b667d0ad8bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/environment-custom-images.ts:38 \u00B7 server/src/services/case-handoff-authority.ts:27 \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/shared/src/validators/environment-custom-images.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"07351fba96b7f155a10caea738d66fb1c2431d36de00bb085acc9f5fa22c3b56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/issue-tree-control.ts:28 \u00B7 packages/shared/src/validators/issue-tree-control.ts:38 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue-tree-control.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dcf0cd97b10bb037c77b90d59c75abadd68cc492655ed49fda8df14cf54b4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:1888 \u00B7 packages/shared/src/validators/issue.ts:1895 \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/shared/src/validators/issue.ts"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4456b96445aeeee3fcf76c8f1f7af67df38acec7d3a278a0f960777ed2ab3ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/plugin.ts:90 \u00B7 packages/shared/src/validators/plugin.ts:104 \u00B7 packages/shared/src/validators/plugin.ts:562 \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/shared/src/validators/plugin.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a798347ada0d84732f580dc3043f16e74e3d1b583d16a18581c231d03c04b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/plugin.ts:181 \u00B7 packages/shared/src/validators/plugin.ts:817 \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/shared/src/validators/plugin.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1001d8f625af367d9080a8dc7a47e1fb541be755d2ce87d61cf8ca8995f9247d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/shared/src/validators/plugin.ts:266 \u00B7 packages/shared/src/validators/plugin.ts:353 \u00B7 packages/shared/src/validators/plugin.ts:662 \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/shared/src/validators/plugin.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"531272352cba5a18da25aee2516e396db6a4e1e9a349ad25520d9088a69cc7b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/plugin.ts:1278 \u00B7 packages/shared/src/validators/routine.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":"packages/shared/src/validators/plugin.ts"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e552eba20b334d0f00886551bc8df25388d76a9a3445044fe1561830cfd425ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/provider-trace.ts:81 \u00B7 packages/shared/src/validators/workspace-file-resource.ts: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":"packages/shared/src/validators/provider-trace.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd67e44122e7dc8cbb81e4f15101578321065cdc03f7cf65acc735c422136a08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/shared/src/validators/search.ts:177 \u00B7 packages/shared/src/validators/search.ts: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. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060object(\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/shared/src/validators/search.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15cfb4e5ebaa3ea6967289ff8be8528960985772361362bb4795695fd5e8546"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/skill-policy.ts:72 \u00B7 packages/shared/src/validators/tool-access.ts:298 \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/shared/src/validators/skill-policy.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e3e6667f3f7649e4e9b7e36f409ae9f3ffdc61ca982484a9e4d88ef39d666f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/status-card.ts:184 \u00B7 packages/shared/src/validators/summary-slot.ts:53 \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/shared/src/validators/status-card.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed61e417b65c49ee741bbd97423df121aca94af2bbe3f6746cb2f2016d9cfbbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/shared/src/validators/tool-access.ts:983 \u00B7 packages/shared/src/validators/trust-policy.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 111 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1208a6a04940f67f8be6dea2d59c361c718c1f8ca604ae66ceaa2775c05d61a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/skills-catalog/src/catalog-builder.ts:335 \u00B7 packages/teams-catalog/src/catalog-builder.ts:259 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdef7a07d5a94a619d2bf22e91082cd3a68c84dcdecdf5767bf2403b5ef7588c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/teams-catalog/src/catalog-builder.ts:722 \u00B7 server/src/services/company-portability.ts:3047 \u00B7 server/src/services/company-portability.ts:3071 \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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3295e83a7898d83d93a98c21855549bec1cb93100df531be1937ced21b8d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): scripts/check-token-gates.mjs:73 \u00B7 scripts/codemod-extract-misc.mjs:89 \u00B7 scripts/codemod-extract-sizes.mjs:127 \u00B7 scripts/codemod-extract-type.mjs:49 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-token-gates.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3470a5da1e187dbf36df83cd1e066b9f8f9f4635a965e61a901b7ee80f7e665"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/dev-runner-native-binary.mjs:10 \u00B7 scripts/dev-runner.ts:431 \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":"scripts/dev-runner-native-binary.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c1da40107d506fe38786b43479c8b13342fc096f7a27c12251a61738d7dbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/dev-runner-native-binary.mjs:29 \u00B7 scripts/dev-runner.ts:607 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/dev-runner-native-binary.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76093bd429b04de7a9fc028ccdd4072ee89fc6757c0bb955f3d11692232d9ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/dev-runner.ts:270 \u00B7 scripts/dev-runner.ts:277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"738514cbd530daa103b95896b0c1571b9da77fa5c2d3a9049987b8080a081a5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/dev-runner.ts:38 \u00B7 scripts/dev-service.ts:16 \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":"scripts/dev-runner.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f300cf7d3896b8d9cb2d9247db94b0292f3594641499918951ca3f765a4a1679"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/e2e-shard.mjs:53 \u00B7 scripts/runner-release-crate-cache.mjs:219 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-shard.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5809b974d0f7c8d88731f9a4710f1c55a0c2f10704426ff5b6fa11c73b88ce2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/measure-issue-chat-long-thread.mjs:15 \u00B7 scripts/screenshot.cjs:41 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/measure-issue-chat-long-thread.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5713538ac3521b18628f52fb5e7a92e6523abc59d2d860d0764d16eef2f048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/preview-artifacts.mjs:196 \u00B7 scripts/runner-image-resolve.mjs:285 \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":"scripts/preview-artifacts.mjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d51cc1d0d37a6f3d59f9c7e2ee957698fa71d3c9513b7d56ef14329eb1445f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/public-install-closure.mjs:19 \u00B7 scripts/verify-cursor-npm-install.mjs: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":"scripts/public-install-closure.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b30c92245c0b99c71e05edcc7eb5d8f6ca9da624d3cb255df4d5ed09ae1b648"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/seed-needs-you-demo.ts:635 \u00B7 scripts/seed-needs-you-demo.ts:828 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/seed-needs-you-demo.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d267afcd0be07b3851556559256f5cafd0bab932716bf2d4d7328f4570f1935c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/seed-needs-you-demo.ts:841 \u00B7 scripts/seed-needs-you-demo.ts:850 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/seed-needs-you-demo.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1972634a9d54dbdd89b8b1a9eb56d6b147d59c08fa03c49d6d1e7e29506104e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:408 \u00B7 scripts/smoke/posthog-live.mjs: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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d5a4680c564190188b38d0b3d23a6e44e896a92c8793989ed4c5302c5d02ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/scripts/muse-runner-smoke.ts:248 \u00B7 server/scripts/muse-runner-smoke.ts:262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/muse-runner-smoke.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1c813edf0e3f9cc21b01f44df519c159ea858714308ed6f242aa3ac1b7f03c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/scripts/query-cost/instrument.ts:108 \u00B7 server/scripts/query-cost/instrument.ts:164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8539fb0db0e723110b58621fa6499f4c31437e7b9852fbde27082e2f9b4b2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/database-retry.ts:40 \u00B7 server/src/services/chat-control-admission-retry.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/database-retry.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cf28639fc57861521634a77cd4fd5d6229e22e23cf37620d06dc3a95d589b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/index.ts:466 \u00B7 server/src/services/issues.ts:2669 \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":"server/src/index.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3afefe724456e4251221bcbb8a7a7c8851887f42769fa85264bcf336c4a503b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/lib/agent-records.ts:184 \u00B7 server/src/lib/agent-records.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":"server/src/lib/agent-records.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"364150ec790a74f66526427f377a9439200a0952a863f877a4f766f403f8d7d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/lib/agent-records.ts:316 \u00B7 server/src/services/companies.ts:152 \u00B7 server/src/services/costs.ts:34 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-records.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"260069e1dce835143e719f2a20758a5cee3334d39f4a79cd9f8d9d2cb0364a81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/log-redaction.ts:18 \u00B7 server/src/redaction.ts:751 \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":"server/src/log-redaction.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2f99d98759c2b533b968b1f32d73792a53ce9833f0d26f42f918e38194f4da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/log-redaction.ts:25 \u00B7 server/src/services/feedback.ts: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":"server/src/log-redaction.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f70f3a63fe063b2707ca1d1d03339052b47528d80dac73858a4759f45885c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/modules/active-run-watchdog/adapters/postgres.ts:300 \u00B7 server/src/services/issue-creation-source.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":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1b02a509103c6f5161cc85feea8ddf38e793df412b88e493de2ac5d7bf1744"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/modules/run-dispatch/adapters/postgres.ts:431 \u00B7 server/src/modules/run-dispatch/adapters/postgres.ts: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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae62a9f5854cc384f4df7a7daba37d8dcd4460547e2692456be4866c027da8ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/modules/run-dispatch/adapters/postgres.ts:543 \u00B7 server/src/services/external-objects.ts:869 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f1522afd849b2a4968070b214b6cdd81d110601cac6b926feb558f82c30fb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): server/src/modules/wake-queue/adapters/postgres.ts:253 \u00B7 server/src/routes/access.ts:4180 \u00B7 server/src/routes/access.ts:4331 \u00B7 server/src/services/agents.ts:99 \u00B7 \u002B5 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f63e2b0af2870eff37e3b162f6f4cb5d688297aa98a1a4894a8a1f8b14c517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/access.ts:1354 \u00B7 server/src/services/authorization.ts:932 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e09267a08bb2ade3d4e70163b7fb171c3c8cfcb6e61a331b94cda35bfd717dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/access.ts:2162 \u00B7 server/src/services/execution-workspaces.ts:5141 \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":"server/src/routes/access.ts"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dedf2a8c0227e0fb9463f845fbbe2d9288e4a073b0ce173cf22058c09b18bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/access.ts:2673 \u00B7 server/src/routes/chat-channels.ts:813 \u00B7 server/src/routes/issues.ts:8703 \u00B7 server/src/routes/issues.ts:8753 \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":"server/src/routes/access.ts"},"region":{"startLine":2673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb529851cfec2ebf80fd2555aed2c73211d953035272b074d2f6279fd85b52d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/access.ts:2885 \u00B7 server/src/routes/access.ts:2901 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fe0e2d32dfd5548418951e679bc519f8c49a8056e066bde60434c69b9af304"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): server/src/routes/access.ts:3191 \u00B7 server/src/routes/issues.ts:7181 \u00B7 server/src/services/feedback.ts:1519 \u00B7 server/src/services/feedback.ts:1782 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3191}}}],"partialFingerprints":{"codehealthFindingId/v1":"767417fb4b6c6ffc0c22c7a5fee43799584d38eb77964ba054dc1040dd13f25b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agents.ts:1474 \u00B7 server/src/routes/agents.ts:1806 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"978c2a3d8ada12540c3f4d4f10c1d18320107c4dad0fb97d43ae7a9ac2c279af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 15 locations): server/src/routes/agents.ts:4262 \u00B7 server/src/routes/agents.ts:5230 \u00B7 server/src/routes/agents.ts:5303 \u00B7 server/src/routes/agents.ts:7902 \u00B7 \u002B11 more site(s) not listed \u2014 the 15 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":"server/src/routes/agents.ts"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc7740c7bdd3a69cc9ed6ec9fc90e9310e0ffa81448c5857a365330eaf7c20d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/agents.ts:4446 \u00B7 server/src/routes/agents.ts:6149 \u00B7 server/src/routes/projects.ts:589 \u00B7 server/src/routes/secrets.ts:461 \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":"server/src/routes/agents.ts"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d397561a3589115f309de3dc6c765974f9805c0a74e8958cbe9fb66fac185d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agents.ts:4559 \u00B7 server/src/routes/agents.ts:4915 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bba9ecdf16462a2601f6c1b4685efada2bdfab71f6f1c67c2d413bfa7871b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agents.ts:5156 \u00B7 server/src/routes/agents.ts:5497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7728bed03ff5afa26bb9095d94256527309d0b8d9ebbb6492424b985c41f46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agents.ts:5258 \u00B7 server/src/routes/agents.ts:5496 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93015ed30eab4be97b541aa9e3137d8c9f7fe7d07e29e88ec8301cf28457181"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/agents.ts:5317 \u00B7 server/src/routes/agents.ts:5503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5b69bf24dc9acf940b389b272b4046f24c3f28f1905fae6543e05782ff0c25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/agents.ts:5493 \u00B7 server/src/routes/goals.ts:72 \u00B7 server/src/routes/projects.ts:1071 \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":"server/src/routes/agents.ts"},"region":{"startLine":5493}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29013c206abf18db3af06c0a7bcb63b63b3823aec03fd74ab26686823d36522"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/agents.ts:6839 \u00B7 server/src/routes/agents.ts:6978 \u00B7 server/src/routes/agents.ts:7024 \u00B7 server/src/routes/agents.ts:7116 \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":"server/src/routes/agents.ts"},"region":{"startLine":6839}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4ae9d06660f85caa57be7d13bc189418dfc05986eae4fd4ce1b409cf7e3b26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/ai-connections.ts:158 \u00B7 server/src/routes/ai-connections.ts:165 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0335de6b9a700fe8774fcf482d6fbdbbc5876658c8429a28fcdcbd25b3e36101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/case-handoffs.ts:21 \u00B7 server/src/routes/case-handoffs.ts:28 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/case-handoffs.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf508d0fe062cc9dfd19ffb9a9d662f5c3d028932b0ccc286accb7739ccbd2b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/cases.ts:185 \u00B7 server/src/routes/cases.ts:203 \u00B7 server/src/routes/cases.ts:1344 \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":"server/src/routes/cases.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd521da94ebd04e0890060d4c6639089c73a6f90e15596407d21fe2e9f553c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): server/src/routes/cases.ts:872 \u00B7 server/src/routes/cases.ts:881 \u00B7 server/src/routes/cases.ts:893 \u00B7 server/src/routes/cases.ts:1169 \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":"server/src/routes/cases.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"427d8005c87458ba245719b121372554494a094c5488c0d8689cd4734c563540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:215 \u00B7 server/src/routes/chat-channels.ts: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":"server/src/routes/chat-channels.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b04a79270ff8352fa21d567ee43f5eda8547ce8b1af7ab4b7e964a46d0e766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/company-skill-policy.ts:63 \u00B7 server/src/routes/company-skills.ts:194 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4498f5eef2fe62b7aeed3d158b8f40ac8b888fbe358d6fd0040ad520c4fa017"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/company-skills.ts:461 \u00B7 server/src/routes/decision-models.ts:38 \u00B7 server/src/routes/fast-responses.ts:77 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46693a9119d0b1c04ef5f5b1348df389b42825cbfbb7110e81bc53863312689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/company-skills.ts:1133 \u00B7 server/src/routes/folders.ts:77 \u00B7 server/src/routes/folders.ts:122 \u00B7 server/src/routes/secrets.ts:648 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d996dbe157cdb1d473f9ebff861f75efacf4e00ffaff2ff1c3fdf64e8e0ee80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1315 \u00B7 server/src/routes/company-skills.ts:1415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9883b3a1b76545de7cdc4cfe0a57a93047a709e33a2cc9135edb37c0b04fee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1481 \u00B7 server/src/routes/projects.ts:460 \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":"server/src/routes/company-skills.ts"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a471b3607768a2e1b8453575313b9b61382640faa60343580fe2cd3ae33c511"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/costs.ts:188 \u00B7 server/src/routes/decision-training.ts:61 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f0a0df77ebc7ca7f4c35a41a5c594c0a0a3914980ba381c0388c829275d6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/decision-models.ts:31 \u00B7 server/src/routes/fast-responses.ts:46 \u00B7 server/src/routes/fast-responses.ts:70 \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":"server/src/routes/decision-models.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9183ab56a2712276b09b6608a50b5b5efd37396bab3ad21efa6e72d6b848dbd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/decision-training.ts:11 \u00B7 server/src/routes/openapi.ts:7147 \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":"server/src/routes/decision-training.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0523058e8e23fc59da3b5423dcfb6310d55360e60f7b795e218bd52320fca0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/decisions.ts:24 \u00B7 server/src/routes/openapi.ts:6981 \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":"server/src/routes/decisions.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e570d07e6229385e1b9a6125c1a9e3b43dcde82aa947a5ef5fb377e6b8af3b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/decisions.ts:173 \u00B7 server/src/routes/decisions.ts:195 \u00B7 server/src/routes/projects.ts:301 \u00B7 server/src/routes/secrets.ts:454 \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":"server/src/routes/decisions.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d56429fccb96384962af2a46c9202c15b2d08d4326ad9c546d81411d3e93d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/environments.ts:1130 \u00B7 server/src/routes/environments.ts:1140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8b24af0b43dab658f4af08fc9c0262c67011d4cba2a76b19fa94d39baef78d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/fast-responses.ts:20 \u00B7 server/src/routes/prompt-injection-prevention.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/fast-responses.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"712694d9174881b15f15bd541c43364e5d95107e0b03fdd8f194b89142b88feb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/inbox-agent-policy.ts:84 \u00B7 server/src/routes/inbox-agent-policy.ts:94 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/inbox-agent-policy.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d59717ac54a9bc4140cf2e2296563841dec29841f2cd5ef62b46fbe12465bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/issues.ts:4231 \u00B7 server/src/services/issue-creation-source.ts:35 \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":"server/src/routes/issues.ts"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ec7d3a6309656e8b906e03fc59faee0824eee3d81588747cdbb6c81ff001da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/issues.ts:5586 \u00B7 server/src/services/company-transfer-runs.ts:174 \u00B7 server/src/services/decision-queues.ts:739 \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":"server/src/routes/issues.ts"},"region":{"startLine":5586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c50a7273fec62dfecb3bcc8a4bde3a9363c3b9c96609150ba27c8b450a9791"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/issues.ts:5652 \u00B7 server/src/services/authorization.ts:1238 \u00B7 server/src/services/authorization.ts:1247 \u00B7 server/src/services/inbox-agent-policy.ts:31 \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":"server/src/routes/issues.ts"},"region":{"startLine":5652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b0faebdb7d0a459cdd0bc8f06b6aedafbf1542bbaa0eba239fabf124d4165"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/issues.ts:9717 \u00B7 server/src/routes/issues.ts:18332 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9717}}}],"partialFingerprints":{"codehealthFindingId/v1":"beedce5ad70d72da60d8daa7fd33f050b1020bc0d4fd0cfd1469236717593585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/issues.ts:9729 \u00B7 server/src/routes/issues.ts:10416 \u00B7 server/src/routes/issues.ts:17907 \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":"server/src/routes/issues.ts"},"region":{"startLine":9729}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b91d29706ec05595d1ae20fd86321b554fb397d252b318311ae1318489c3e32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): server/src/routes/issues.ts:10491 \u00B7 server/src/routes/issues.ts:10502 \u00B7 server/src/routes/issues.ts:10544 \u00B7 server/src/routes/issues.ts:10555 \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":"server/src/routes/issues.ts"},"region":{"startLine":10491}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bcc73b06f2b25c48866a5c9fe782083b140be0af5211826ffb272c6852ab59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/issues.ts:14526 \u00B7 server/src/routes/issues.ts:14578 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14526}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06e35ee1c373d270ed290c66c2eb641ead261fd231c0247076eeae67dcc9547"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/issues.ts:18335 \u00B7 server/src/routes/issues.ts:18352 \u00B7 server/src/routes/issues.ts:18367 \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":"server/src/routes/issues.ts"},"region":{"startLine":18335}}}],"partialFingerprints":{"codehealthFindingId/v1":"375caed598814a5a6033158b774fe59352430cb4180b1518c8305c9d32d3974c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 24 locations): server/src/routes/openapi.ts:2151 \u00B7 server/src/routes/openapi.ts:2229 \u00B7 server/src/routes/openapi.ts:2238 \u00B7 server/src/routes/openapi.ts:3872 \u00B7 \u002B20 more site(s) not listed \u2014 all 24 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bd79e03577c922044a21802e36d59d73ca9f62d2f678e57c1cc35f2896c97a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 83 locations): server/src/routes/openapi.ts:2247 \u00B7 server/src/routes/openapi.ts:3625 \u00B7 server/src/routes/openapi.ts:3658 \u00B7 server/src/routes/openapi.ts:3667 \u00B7 \u002B79 more site(s) not listed \u2014 all 83 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e750cc00fee53f2eeedaef57adff659305474ef0ab0a7e9815c1d7898b6f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:2298 \u00B7 server/src/routes/openapi.ts:4032 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c53c3531a55b41bc991f8cb11e050eaae665295e9e37e15f5c88c5f55b448a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/openapi.ts:4104 \u00B7 server/src/routes/openapi.ts:4200 \u00B7 server/src/routes/openapi.ts:8935 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4036e17c1903c3122f61b5e5c7921b03ccd80c4fee723e53799b320ff5891fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/openapi.ts:4113 \u00B7 server/src/routes/openapi.ts:9042 \u00B7 server/src/routes/openapi.ts:10445 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4113}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa98b2ee462838ca0ca0b6789b7863f32d70dd510177117f40bd533ac98077c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): server/src/routes/openapi.ts:4310 \u00B7 server/src/routes/openapi.ts:4980 \u00B7 server/src/routes/openapi.ts:9070 \u00B7 server/src/routes/openapi.ts:9135 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed6a9b5eae4b6cd9c837770bc8f295abe8bc9736ae812da8841cf41976a4e7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/openapi.ts:4320 \u00B7 server/src/routes/openapi.ts:4804 \u00B7 server/src/routes/openapi.ts:9124 \u00B7 server/src/routes/openapi.ts:9593 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4320}}}],"partialFingerprints":{"codehealthFindingId/v1":"095664d6034ff4236d47f9a2ad73eaa1340f3cdd33d10638c59504d39ece635e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/openapi.ts:4355 \u00B7 server/src/routes/openapi.ts:9143 \u00B7 server/src/routes/openapi.ts:9267 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4957d6eb246b9525832f55080e372a89c736fab3893ede5e764e2d7835fcd6c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): server/src/routes/openapi.ts:4815 \u00B7 server/src/routes/openapi.ts:4824 \u00B7 server/src/routes/openapi.ts:4904 \u00B7 server/src/routes/openapi.ts:5453 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4815}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee6453d9c32a9a23151845104f4408aa91cb970ae62e13015f0a5f20905178e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:5219 \u00B7 server/src/routes/openapi.ts:5240 \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":"server/src/routes/openapi.ts"},"region":{"startLine":5219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0675504e6f8d226c47bbdab6ee68ce9d7a60a4e1077c604144ad3e5e0a9b2efa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:5474 \u00B7 server/src/routes/openapi.ts:7291 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":5474}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97e96a6a3166fc754fd7f67abaa9736fb0d20a22168bbdc73300858639fdeba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11 locations): server/src/routes/openapi.ts:5715 \u00B7 server/src/routes/openapi.ts:5840 \u00B7 server/src/routes/openapi.ts:5917 \u00B7 server/src/routes/openapi.ts:7956 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e3d06fc1c8f1cd4679165574a6e13d6b407b600fee0b51ab62b802d8e7cd41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/openapi.ts:6129 \u00B7 server/src/routes/openapi.ts:6490 \u00B7 server/src/routes/openapi.ts:7255 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6129}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d5658157de0bf89ac5b8c0877b8abccfd8521364977d02ea6799fea1dc448f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/openapi.ts:6683 \u00B7 server/src/routes/openapi.ts:8697 \u00B7 server/src/routes/openapi.ts:8720 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6683}}}],"partialFingerprints":{"codehealthFindingId/v1":"781e3203c4ee321edf1696ee306493d72a25460f56fe2191ee931d0de5b404c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:6729 \u00B7 server/src/routes/openapi.ts:6749 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6729}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d37b98a2122b7cc59790adf3bdf0e134d2377233b11445240fa25aabdac3c94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/openapi.ts:6737 \u00B7 server/src/routes/openapi.ts:6753 \u00B7 server/src/routes/openapi.ts:6772 \u00B7 server/src/routes/openapi.ts:8666 \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":"server/src/routes/openapi.ts"},"region":{"startLine":6737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce1734f81b7474967ace02e828195f3c0fb6653ecf44ce89766974e81a472b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:7291 \u00B7 server/src/routes/openapi.ts:9605 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":7291}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bb3aca9c990830afc4e28745558dc8b58095a66f9e19fb6d72732631491088"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): server/src/routes/openapi.ts:7679 \u00B7 server/src/routes/openapi.ts:7882 \u00B7 server/src/routes/openapi.ts:10789 \u00B7 server/src/routes/openapi.ts:10827 \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":"server/src/routes/openapi.ts"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bbb30589258d605ca7c425dd15f6de3679d1f9de32d492a5bfce89d25785a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:8943 \u00B7 server/src/routes/openapi.ts:9460 \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":"server/src/routes/openapi.ts"},"region":{"startLine":8943}}}],"partialFingerprints":{"codehealthFindingId/v1":"581c1d738c199cc95b83c724cf1399458f404d569e1b39712096aef26b2d9407"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/openapi.ts:12003 \u00B7 server/src/routes/openapi.ts:12025 \u00B7 server/src/routes/openapi.ts:12035 \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":"server/src/routes/openapi.ts"},"region":{"startLine":12003}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ac173f4a32525c5a88c5422ee0266b0629efc0a54bd93152d911026b114f00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/openapi.ts:13577 \u00B7 server/src/routes/openapi.ts:13583 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":13577}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ebbd76522432f297dfb9ff8739ee4041eabf4e680f69ad83307a7d3b609b39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/org-chart-svg.ts:236 \u00B7 server/src/routes/org-chart-svg.ts:300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"38944a631158a6b8662e251410ebab025db70837ac45b0c3191212e07787d040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/primary-agent.ts:19 \u00B7 server/src/routes/workspace-preferences.ts: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":"server/src/routes/primary-agent.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51bb3dd34c9b513e6cf080af10c5b36702d684cdd968c243ef47bf9dde31406"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/routes/secrets.ts:464 \u00B7 server/src/routes/secrets.ts:499 \u00B7 server/src/routes/secrets.ts:528 \u00B7 server/src/routes/secrets.ts:557 \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":"server/src/routes/secrets.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d35614e739de61fdb3ad020182db479b139eff04a4d584f3e1f2f5be974c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): server/src/routes/status-cards.ts:192 \u00B7 server/src/routes/status-cards.ts:233 \u00B7 server/src/routes/status-cards.ts:240 \u00B7 server/src/routes/status-cards.ts:247 \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":"server/src/routes/status-cards.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba2b583c43c6c19ce4560393826813c66cfff8f6ffe1df2910ee76b04901bb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/status-cards.ts:250 \u00B7 server/src/routes/status-cards.ts:263 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/status-cards.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fadbcc6e58a171404957f4ff300b94e2e6036c991d9452e67030c4523a349fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12 locations): server/src/routes/tool-access.ts:910 \u00B7 server/src/routes/tool-access.ts:1646 \u00B7 server/src/routes/tool-access.ts:1653 \u00B7 server/src/routes/tool-access.ts:1668 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71abdd33c94ad3edf0094bee1ed93478c8ae768993e88641787b196928a9ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/routes/tool-access.ts:1845 \u00B7 server/src/routes/tool-access.ts:1975 \u00B7 server/src/routes/tool-access.ts:2991 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"92199c377aaa58bdbfdc4525aebe9d478124005e11eabb43e9a5a24187aa63c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/tool-access.ts:1858 \u00B7 server/src/routes/tool-access.ts:2456 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"0751c7c4b22ccc4e9c4e813cebabba58fb4a1498fd85c00bb34a9ebd440fee8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/tool-access.ts:2322 \u00B7 server/src/routes/tool-access.ts:2368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":2322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9892d51794cea63977b10ae15940e544cfbb3b945fa60c9bd5e3dd0e388b8aff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/tool-access.ts:2679 \u00B7 server/src/routes/tool-access.ts:2703 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1303229f1541c75d643e521915d3f09dbf285cd13d5529f74b24feb2843705e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/tool-access.ts:2755 \u00B7 server/src/routes/tool-access.ts:2762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4622d5d6b60aada071c6b482f1a06bc4d77e1c9f9d560dfcb6ab13c80d50adf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/routes/tool-gateway.ts:266 \u00B7 server/src/routes/tool-gateway.ts:545 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e25cc9c3933304475bfb93ef1f963324f084b1a181d25a4fc960f271086ef59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): server/src/services/activity.ts:234 \u00B7 server/src/services/board-auth.ts:284 \u00B7 server/src/services/heartbeat/run-preparation.ts:3170 \u00B7 server/src/services/heartbeat/run-state.ts:587 \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":"server/src/services/activity.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e75f6f6258aa342946fe16b10ba1ae6864916bad3e9dfb19be311367db48c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/agent-file-durability.ts:81 \u00B7 server/src/services/agent-file-store.ts:83 \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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c11f75115b57cbc18f4b9cc66170d09c99c12506301e2597a9ca3aaddbf299"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/agent-instructions.ts:95 \u00B7 server/src/services/company-skills.ts:550 \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":"server/src/services/agent-instructions.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba095442dadc628ccf967916b8a62505cfd2f88d5d63b7f66cae98110c812fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): server/src/services/agent-observability-test.ts:25 \u00B7 server/src/services/agentmail-api.ts:266 \u00B7 server/src/services/chat-channels/slack/cloud-forms.ts:239 \u00B7 server/src/services/chat-telegram-ephemeral.ts:287 \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":"server/src/services/agent-observability-test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba372f9b011b1d2ebafc1a47a29e5f2d66bbca5b0768cd7705bd54932f15f608"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/agent-runner-selection.ts:217 \u00B7 server/src/services/agent-runner-selection.ts:238 \u00B7 server/src/services/agent-runner-selection.ts:245 \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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3b212fa79730bd3cea19f726243d6c168d327e6251a1560d5c883979dc4877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/ai-connections.ts:515 \u00B7 server/src/services/ai-connections.ts:548 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"013a387889af1299af28bf763196f56b4a55994230aaa0988a132972a7c5cdb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/app-webhook.ts:17 \u00B7 server/src/services/fireflies-webhook.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":"server/src/services/app-webhook.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d76fb0e7a8a753eb424a533049e3398e777bdebe7d46da64dfaba6cda38d0aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/artifact-review-documents.ts:57 \u00B7 server/src/services/documents.ts:789 \u00B7 server/src/services/documents.ts:840 \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":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f5adcafa1b96c3f5cd65b6f97ac9dd552e472d55bc9d294a39578e988e9fa4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/artifact-review-documents.ts:127 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:651 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1725 \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":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9077b6b88cd9a358487da31609b5248b89807e5e8063fe26ca8b230834e2a543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/attention-receipts.ts:133 \u00B7 server/src/services/attention-receipts.ts:165 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-receipts.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdeccfb35d60473be43f802a3db22fc94236962a9d9cb3d8b6246bf9ccd8798"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/attention-receipts.ts:253 \u00B7 server/src/services/legacy-shutdown-workspace-settlement.ts:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-receipts.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f67f8899cbfd8f43de504b88780acaad50ffa1214d33ee7bfb79e9c3ed4ea2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/attention.ts:268 \u00B7 server/src/services/native-runtime/model-rejected-retry.ts:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"163294104939f1c702803fbae270bee16cd32273e5e10fe0e41a1f2fd427ed1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/authorization.ts:301 \u00B7 server/src/services/company-skills.ts:553 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec92aeeac2742cf18c3565f11c1958060473453ae74ac8bd96b723cdf3829a42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/billing-reconciliation.ts:151 \u00B7 server/src/services/billing-reconciliation.ts:159 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc550e4f1e3bb7fb54328a3cea379740f7c1cef7cdfbabbe009203b43112fda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/budget-reservations.ts:67 \u00B7 server/src/services/budget-reservations.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":"server/src/services/budget-reservations.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d59859945973aa26b19833dcd802a6e95a069e7dfd47b828a51fb52dedd12e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/built-in-agents.ts:820 \u00B7 server/src/services/built-in-agents.ts:849 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee19fcbbf523d2fd6d46b4d6c036b2804ecd61f6bdb01758a3291e023c75c99c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-channels/discord/command-work.ts:53 \u00B7 server/src/services/heartbeat/dispatch-work.ts: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":"server/src/services/chat-channels/discord/command-work.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0d39242cad59e9f915598521dcb89df229516807a36c17111b58a3e6d99015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): server/src/services/chat-channels/failed-run-retry.ts:472 \u00B7 server/src/services/chat-control-recovery-stop.ts:639 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:212 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1163 \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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"966d2022e3f9860bbe115115e51c33d7ba2c4980640112ecdd055c352e0396a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-channels/github/app-setup.ts:94 \u00B7 server/src/services/chat-channels/github/app-setup.ts:179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/app-setup.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"597fbeb3de86d0899f62879b07e5b4d841bfda5d1c3bb26d2e28e2797df2a6c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/chat-channels/github/webhook-ingress.ts:1457 \u00B7 server/src/services/chat-teams-file-publication.ts:183 \u00B7 server/src/services/chat-teams-file-publication.ts:196 \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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f7f783b020be27bc724315d1ebf5729e73abd5d7e3cdd63ba3abaa45415966"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-channels/github/webhook-runtime.ts:16 \u00B7 server/src/services/chat-channels/github/webhook-scope.ts: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":"server/src/services/chat-channels/github/webhook-runtime.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c766eba26b66d8bfb3d0d1e2c08a6443efab3dd5d9588bb626c530efb92c444"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/chat-channels/inbound-attachments.ts:667 \u00B7 server/src/services/heartbeat/run-preparation.ts:1660 \u00B7 server/src/services/native-runtime/current-wake-comments.ts:227 \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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ec976b4437182e970b1832c3b2ab0c58368051ba889abbd36ac0e6b7ba0a2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/delivery-ledger.ts:250 \u00B7 server/src/services/issues.ts:2360 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/delivery-ledger.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65035d1434e439d2b36ad408d1510767c1a2f09d57f0e30241b3d787e304ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:251 \u00B7 server/src/services/documents.ts:233 \u00B7 server/src/services/heartbeat/retries.ts:2031 \u00B7 server/src/services/issues.ts:8164 \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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"238e96de8ae3b24450355842e0f330110730a419f8c669b9cb3f4d0cddcc65a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-channels/interactions/confirmation-actions.ts:432 \u00B7 server/src/services/chat-channels/interactions/confirmation-actions.ts:527 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d968543e4e5fc7280e090a001f7d042df874e0f5e291799ac7b039636b18cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): server/src/services/chat-channels/publication-replacement.ts:167 \u00B7 server/src/services/chat-interaction-continuation.ts:43 \u00B7 server/src/services/native-runtime/chat-attachment-reuse.ts:1061 \u00B7 server/src/services/native-runtime/native-chat-review-presentation.ts:625 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4670cec8c74cb63c33d6ed566431a2626a48fdff85f1437a50857109c669d594"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/chat-github-receipt-reactions.ts:27 \u00B7 server/src/services/native-runtime/external-chat-question-response.ts:70 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:36 \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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"661e308dc9cb20d8a04c26f368f3167d86f7c70e6b7300b2e0f31062d0718fab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-github-reviews.ts:577 \u00B7 server/src/services/chat-github-reviews.ts:606 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5718fbf69a446dfde1ae5d99f958ccdbedab1246314dbc983764b61dce7c5f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-github-webhook-config.ts:118 \u00B7 server/src/services/chat-github-webhook-config.ts:137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d704c9d1d775dbc19b0ff2faffcaa197387554e8db9f1e2e34cfa592b68212"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-interaction-publications.ts:85 \u00B7 server/src/services/chat-interaction-publications.ts:93 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74e0e268e8f895f41e51b912383d6ca698a323932e030d91b41b1796640d0a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-provider-lifecycle.ts:46 \u00B7 server/src/services/chat-teams-inline-image-intake.ts:50 \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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57c949af41a9a6f3924be8431f1ddc7fc812231b18b449f5c3276cd40cbc326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-run-milestone-work.ts:26 \u00B7 server/src/services/native-runtime/native-review-response-work.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":"server/src/services/chat-run-milestone-work.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb6dbdf69019e2a126166a713e795fb75130088c81f697d88e418dbb7292151"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/chat-sdk-state.ts:380 \u00B7 server/src/services/chat-sdk-state.ts: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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a5338ea0c5248331592a7d4ee2d7fc7e78ed12813cf2c1f527e7a960f38457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/chat-sdk-state.ts:532 \u00B7 server/src/services/chat-sdk-state.ts:558 \u00B7 server/src/services/chat-sdk-state.ts:580 \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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7538bb02f24f64b22bbca0e876fcfcc4a5b7d355c9b738c8789d8ac71cc947d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): server/src/services/company-artifacts.ts:330 \u00B7 server/src/services/issues.ts:9219 \u00B7 server/src/services/issues.ts:9229 \u00B7 server/src/services/issues.ts:9247 \u00B7 \u002B4 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-artifacts.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d940e9fdedee1103c7590c94f8f79d1a28248bff5a8ef369a0993985274100b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-portability.ts:2131 \u00B7 server/src/services/company-portability.ts:2188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fc407e67481faf45e2f7b008e8bce6b8ef3a96aff8512a9b79b1ebbdb58a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-portability.ts:3538 \u00B7 server/src/services/company-skills.ts:836 \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":"server/src/services/company-portability.ts"},"region":{"startLine":3538}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3ff857361c3ce5a762332469371fae7bd53d5fcbb0df8176a765923d1436e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-portability.ts:4746 \u00B7 server/src/services/company-portability.ts:4752 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4746}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cd56a0c7c44d202928414d003ef533d8282a68fba447c55d35259762d5b199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-skills.ts:1168 \u00B7 server/src/services/company-skills.ts:1198 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f0139241241f7a5f67fa31a02ef04b3257640967009d19e7142b0c349e4b72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-skills.ts:1809 \u00B7 server/src/services/company-skills.ts:1971 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ccaeebce4b62399e02a6c3e3885083bb05a4b04014cd2b40c54b4b02a280ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-skills.ts:3470 \u00B7 server/src/services/company-skills.ts:3484 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e76af53eef7bd5ff59d28f20db06a53c88ec4de08538d53e375609f8610633"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-skills.ts:4064 \u00B7 server/src/services/company-skills.ts:4107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4064}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdbdcec6346c70c6381ac8aed2e5aea874d28fa78368ca23837255fecda170c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-skills.ts:4737 \u00B7 server/src/services/company-skills.ts:4784 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4737}}}],"partialFingerprints":{"codehealthFindingId/v1":"260e471e6ddecac1c23058c2fa4e0ba61cc12f3d0b181b0fd400d6465c238a8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/company-transfer-runs.ts:269 \u00B7 server/src/services/company-transfer-runs.ts:396 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-transfer-runs.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2995f09f9329451d9ada8f6cd245d480edce91478a9a113460d59da937990520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/connection-intents.ts:400 \u00B7 server/src/services/connection-intents.ts:408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7698708d1b0c56f84e2e01859bc84235c540cc5c70f57f870b7304835b38578"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/connection-intents.ts:1028 \u00B7 server/src/services/feedback.ts:1520 \u00B7 server/src/services/issues.ts:14600 \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":"server/src/services/connection-intents.ts"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"6341263513a599124b0444a82ac1a62bbe7695b529137b51e4d49f60fef77437"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/connectors/slack-delivery.ts:114 \u00B7 server/src/services/connectors/slack-writes.ts:449 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-delivery.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"62328db99a28d271b272250f0eaf1043087a96e9aedaa86963d7bc72114856b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/costs.ts:456 \u00B7 server/src/services/costs.ts:493 \u00B7 server/src/services/costs.ts:583 \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":"server/src/services/costs.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff4970538cd9e2c1b785b2649b2b23b19931f31d53b2a5ee5014d62f4bed956"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/decision-retention.ts:91 \u00B7 server/src/services/decision-retention.ts:97 \u00B7 server/src/services/decision-retention.ts:104 \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":"server/src/services/decision-retention.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ca83b108743489e162005d6f33fa8b8b207fad55b7421ddaa7f5ebecc4729a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/documents.ts:659 \u00B7 server/src/services/documents.ts:742 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd8e6f2afc912fd60a1487e54fe8d3d5275e26b31c009f1df4b4fa31c15d516"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/dot-invitations.ts:56 \u00B7 server/src/services/muse-invitations.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":"server/src/services/dot-invitations.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde83cdf215388191f7f7452b10b1fa9b0624a5bfdfa5e0f6d2c38e476d915e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/email-channels.ts:924 \u00B7 server/src/services/email-channels.ts:2378 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:860 \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":"server/src/services/email-channels.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aceda62a8e6dd4006a3701c56db8be9ab37a6e183f5339f111e3c7e272d8aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/environment-config.ts:281 \u00B7 server/src/services/environment-config.ts:322 \u00B7 server/src/services/environment-config.ts:364 \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":"server/src/services/environment-config.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a048eb52e5ad5609ddedfa0c5b3015c099d53e012b05434d64deba45022fe4fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/environment-login-probe-lease-settlement.ts:27 \u00B7 server/src/services/environment-run-lease-settlement.ts:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-login-probe-lease-settlement.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3b3310afbfc248517888e187602aed2f256c280d49331b0f8fb9996d4dcddb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/execution-workspace-repositories.ts:456 \u00B7 server/src/services/execution-workspace-repositories.ts:471 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7706480536b22e56ae015d88a6a440f95d09af8d2e4076d74ffa9af41ea20b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:1538 \u00B7 server/src/services/execution-workspaces.ts:1754 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92330a90cdde61c5989234a341fc55ec15cfa3b4ba73616bf076a14cca799fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:2290 \u00B7 server/src/services/issues.ts:14293 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcda692351ed79ddf7003bb88b224c2ea219bf3fe2196ba32a58d9b5938f4eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:4157 \u00B7 server/src/services/execution-workspaces.ts:4293 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4157}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ee4942dedca44f18dd5ce7cad3dde06cd2da68b139d69996130c5539d7bf6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/explicit-native-continuation.ts:87 \u00B7 server/src/services/native-local-process-stop.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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fa8d29aeb62da145c18015e37c94c4179c21e16a54654958dde930bde25759"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/external-conversation-settlement-work.ts:11 \u00B7 server/src/services/native-runtime/native-pending-effect-work.ts:39 \u00B7 server/src/services/native-runtime/native-workspace-export-recovery.ts:180 \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":"server/src/services/external-conversation-settlement-work.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"605c1a7db5500af87a08538adf289ff187b6118e3375bccc275ba8dc3d262dff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/folders.ts:268 \u00B7 server/src/services/folders.ts:349 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/folders.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b453e3ac217280b0d3ed86d74db7efe511e230ef1cd1dc0fa45f7d40268b238"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/folders.ts:507 \u00B7 server/src/services/folders.ts:528 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/folders.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a700635a503d07080fa5fd73b5b7e1a5646a3ab8466e100080db9d935a9596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/fresh-workspace-continuation.ts:444 \u00B7 server/src/services/fresh-workspace-continuation.ts:472 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af30c2181fb200bbca21304bb6f1de974e398da4022ca7579b89b33b616f4ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/git-repository-excludes.ts:8 \u00B7 server/src/services/git-workspace-restoration.ts:283 \u00B7 server/src/services/git-workspace-restoration.ts:505 \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":"server/src/services/git-repository-excludes.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"72389628c7c0a93ac4785ffcfaaf68c6d1f2d321140770e0e7dcc12779769192"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/git-workspace-expiration-locks.ts:38 \u00B7 server/src/services/native-runtime/antigravity-runner-credentials.ts:282 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration-locks.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b124b2a46c726b4596721a25300df8553326d33b18e8196a2098445ac232b842"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/gmail-archive-tool-policy.ts:3 \u00B7 server/src/services/google-chat-tool-policy.ts:4 \u00B7 server/src/services/native-runtime/native-staged-attachment-recovery.ts:33 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/gmail-archive-tool-policy.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4d0b2f837c694d26748c504971dcb08eae9b36cf9d156249070877542d5d96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/heartbeat/recovery.ts:1712 \u00B7 server/src/services/heartbeat/recovery.ts:1748 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8b40863d08959ad519563a2176fd6b93f6e56963bc2b1f3fb6ed36494bc9d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:1820 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4de14e4eaf619d777a9d5cf902a75634165e0d9b7b5963b76a094408612904"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/heartbeat/run-state.ts:1176 \u00B7 server/src/services/heartbeat/run-state.ts:1199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3314452820e3745c3a2f197d5cf83913eb071c38657ef652f4a0d55c06986184"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/heartbeat/run-state.ts:2035 \u00B7 server/src/services/heartbeat/run-state.ts:2069 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc3e4c841c79e59f2b390d531c5253d4b97d3d42239925c1788ad6ac88e9b94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/heartbeat/task-context.ts:76 \u00B7 server/src/services/inbox-mine-read.ts:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fa8728346203240541453cfd57f0d148968fca2b383ee848bed25008931da3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/inbox-mine-timing.ts:39 \u00B7 server/src/services/issue-read-timing.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":"server/src/services/inbox-mine-timing.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3d20608d36f0d3fb28d0d69bf4bb0064dc6164cfbef924a63fcf9591bfc86c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/isolated-task-directory-retention.ts:181 \u00B7 server/src/services/isolated-task-directory-snapshot.ts:257 \u00B7 server/src/services/native-runtime/runtime-asset-retention.ts:60 \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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a85f6e834ea55cb34639cf2f19c626012b056ec86e6d83ee425e3b17a1c2ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/issue-recovery-actions.ts:578 \u00B7 server/src/services/issue-recovery-actions.ts:635 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a233cefd4a63b0dcd8429c2dc3568246617490440349ed095b13666f771a615b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:1179 \u00B7 server/src/services/native-runtime/obsolete-policy-reviews.ts:114 \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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13db42c6cadc1276e1a1659a7efe9cff0398dacc4ef2e40d251fd306f757e78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/issue-tree-control.ts:467 \u00B7 server/src/services/issues.ts:2913 \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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86d2592bbd52a51f1d0b666e30ce3455cc8638ae67454f128efbbe40d2fd5e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/issues.ts:8617 \u00B7 server/src/services/issues.ts:9011 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8617}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5869b588c6517372c4535524555c88371c58953ce3960ea5ff9ffe9dae526"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): server/src/services/issues.ts:9230 \u00B7 server/src/services/issues.ts:9248 \u00B7 server/src/services/issues.ts:9311 \u00B7 server/src/services/issues.ts:9423 \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":"server/src/services/issues.ts"},"region":{"startLine":9230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8318d6bfc138720b80e01465c45e4fc2aecb415b58b0b4479249183e3cf0b3c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/issues.ts:9986 \u00B7 server/src/services/issues.ts:12746 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":9986}}}],"partialFingerprints":{"codehealthFindingId/v1":"33896aa9fd124ab4d3f9a7c439ca44db9082239926b3231f76a89c2e5d32e12f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/issues.ts:12828 \u00B7 server/src/services/issues.ts:13239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":12828}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c7e4f6db44bd1e54946c850d8e926ef67811396b4a03d084fdf8f0c3d1e55a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/legacy-shutdown-workspace-settlement.ts:105 \u00B7 server/src/services/legacy-shutdown-workspace-settlement.ts:113 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c22cbb03e2d0eac542411639d0c11ad717fc0c8a6295eec1ecf6614a524149"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/legacy-shutdown-workspace-settlement.ts:238 \u00B7 server/src/services/legacy-workspace-restore-recovery.ts:97 \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":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ea2292f58e88192b5f5c209a62e5040df6973e8cb8596a3625754fed911ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-local-process-stop.ts:358 \u00B7 server/src/services/native-local-process-stop.ts:371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c17114f85d7470a4e94e1efb3c11b6afa85b6a7ea4a8d7b75caba0e42a60b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/evidence-classifier.ts:207 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:597 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e672c6f2a89a2d2e27dd532e8d367f466aac40c7d594c4e43651b042351cc63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-board-response-wait.ts:404 \u00B7 server/src/services/native-runtime/native-plan-wait.ts:204 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe7af1b60ac507a496ad5f23df21bddc35a2c7bc42cab5e03096879fd68e455"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-bootstrap-proof.ts:14 \u00B7 server/src/services/native-runtime/native-exact-resume-failure.ts:32 \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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"60be0e4584d322793ac95f87ad3f614c168f9971686d0b17563a7e48b4151f90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): server/src/services/native-runtime/native-environment-settlement-work.ts:78 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:44 \u00B7 server/src/services/native-runtime/native-review-response-work.ts:45 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:47 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-environment-settlement-work.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de0ff6a73bb015f9a36a4ecb6f22561d6e282f7949e25f94af1b60dacf90cd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-execution-lease.ts:251 \u00B7 server/src/services/native-runtime/native-execution-lease.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":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbc5aa5f3dcef50d5a575fff3ff0198480621836b9cc0291ee6d21e47ea77d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-harness-backup-migration.ts:213 \u00B7 server/src/services/native-runtime/native-harness-backup-migration.ts:244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"40264ec92d21e355d535e67dc9c15bb207c9933f3e47db76c84fa8da0969d36a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:605 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts: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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d000b760c67cbe5718f9659817a767fd6be9ac1ca550d8d1f89cf109212844fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): server/src/services/native-runtime/native-interaction-bridge.ts:613 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts:123 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts:135 \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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf25d0ed63a67a0227257b0e2b91330d20d824232ca53ccfd8a1ed3a6a93835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-provider-artifacts.ts:204 \u00B7 server/src/services/native-runtime/native-provider-artifacts.ts:355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedabb2fa65dcee77df4938170df09fb9c1d3cffab2384fb8d5a19eae90a75e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-review-participant.ts:163 \u00B7 server/src/services/native-runtime/native-review-participant.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":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"99872e20b09edc052de02a4ec99b6f6b412fd214c9ff6e1884b8b59e3cdfe278"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:1175 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1291 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfaba3b512cfe9a26f38a0056a1030961462c35ef69d663b247b62ce2224936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:1263 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7536f7d2bf9ce1095f23a48a8b3bd6b9088c9eba32ae44ec3d57be8b2dcfe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:1505 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:2103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"2928cfcdf62a1e5f3b461d7855f7d04505f4804f857cd6a686bd3e9e6b792d8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-safe-replacement.ts:266 \u00B7 server/src/services/native-runtime/native-safe-replacement.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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17a3b831625282701b3f0b182f1375617fe8de1235640658870814fef3ad850"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:6081 \u00B7 server/src/services/native-runtime/remote-warm-session-recovery.ts: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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6081}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac78abbe404a6a742e7f28a9fadbd7df65c21fdef4226642c5426322eed5c1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:9291 \u00B7 server/src/services/native-runtime/native-workspace-sync.ts:1191 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5722725616bc1e1f2e157eac1452df26fcc0d6226dbadacb17ba3065620c2b4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:16557 \u00B7 server/src/services/native-runtime/native-session-executor.ts:16626 \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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e4877c765ece562a36d4d7d8001bc262237cd14e272ac2c643fb2b1d777f18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/native-workspace-sync.ts:622 \u00B7 server/src/services/native-runtime/native-workspace-sync.ts:650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"032fea63b3765147a6a00b57d9990ea5ba702807679d809cef04c12c4fdeff9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/paperclip-runner-tool-authority.ts:892 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71233dbbd68a1bb044b28d1887cac7319143af7edc57cf6a716409622acb550"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/provider-pack-archive.ts:63 \u00B7 server/src/services/native-runtime/provider-pack-layers.ts:182 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-archive.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"405e14f79741b828d3adf3204bb36f1b3a942057f5d4d138ebb89285f3476efb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): server/src/services/native-runtime/status-decision-committer.ts:1917 \u00B7 server/src/services/native-runtime/status-decision-committer.ts:1933 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfc01f8af956cb785d1f459142e7c73007b90029b082553248d0845b15b336d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): cli/src/client/mcp-auth.ts:27 \u00B7 packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts:127 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/mcp-auth.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"767f2b8bdac4db691e746f07cfd1bd8ea76fc54e95ae62da0d95cbbb3e7ec9f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): cli/src/client/mcp-auth.ts:64 \u00B7 cli/src/services/service-manager.ts:180 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/mcp-auth.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac016c5e6b21a85513667cf7ca709416bda26bce1d10790b907bed84fb59fbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): cli/src/commands/client/agent.ts:112 \u00B7 cli/src/commands/client/agent.ts:118 \u00B7 cli/src/commands/client/agent.ts:124 \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":"cli/src/commands/client/agent.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d6f77ed5cf3f393871148c4e58117281b36ba792c201c1b773e42f7735279b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): cli/src/commands/client/issue.ts:1401 \u00B7 cli/src/commands/client/workspace.ts:319 \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":"cli/src/commands/client/issue.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc011a3a83a322cb887bc381f0cc66f76ff92e3db1d822d83bac6a796eadadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 28 locations): cli/src/commands/client/secrets.ts:189 \u00B7 packages/adapter-utils/src/acpx-engine/ui.ts:39 \u00B7 packages/adapters/claude-local/src/ui/parse-stdout.ts:4 \u00B7 packages/adapters/codex-local/src/cli/format-event.ts:4 \u00B7 \u002B24 more site(s) not listed \u2014 the 28 copies are spread across 28 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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7f40d1f26eec4bad9d380d32c26a3fdac9191cfb5ebbf5c1b4ef19d6e4281a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): cli/src/commands/worktree-merge-history-lib.ts:311 \u00B7 cli/src/commands/worktree-merge-history-lib.ts:406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"374c347fb11678f8999d92f141b7abadad8233d97a4e441a7c28c7dab7621ae7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): cli/src/install-store.ts:362 \u00B7 cli/src/services/service-manager.ts:188 \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":"cli/src/install-store.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"97643c704ff44f5b0bc8c3846225d2a7a596c0beefe12b9896e6599751a16f37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:1308 \u00B7 packages/adapter-utils/src/server-utils.ts:4753 \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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6a62cbbeb1a1b1bb964657c1c33c8d115e1de820595f7391d3206ec72b402e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/execute.ts:2039 \u00B7 packages/adapter-utils/src/acpx-engine/execute.ts:2044 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff30f793af48e423ca77a365104428f0d4d96ba544af9aaa84650484990a3e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts:105 \u00B7 packages/paperclip-runner/src/drivers/acpx/provider-failure.ts:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"924d6e21c16772bcdee7611c7e1e82f98d3e799aefed6871851f400d6792040c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/adapter-utils/src/command-managed-runtime.ts:168 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:357 \u00B7 packages/adapter-utils/src/sandbox-managed-runtime.ts:1172 \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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc725b368cb996872927eb1593d9c22c6217ba93ca424ea0f5260d0350735f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/log-redaction.ts:9 \u00B7 server/src/log-redaction.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":"packages/adapter-utils/src/log-redaction.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dd141f46c93f4593ac98797d3820fdfc1ed084880a9f14c628e2e92cd1ece4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/log-redaction.ts:30 \u00B7 server/src/log-redaction.ts:18 \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/adapter-utils/src/log-redaction.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62b142bc0f1054d09c7cd48bd76146d03554955c0830ccb4df72a504d15f8f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/sandbox-callback-bridge.ts:1056 \u00B7 packages/adapter-utils/src/sandbox-callback-bridge.ts:1067 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f67d37e7d294e91471b6323bffcee1eac369c47685c6ae28ef7d2304306ad0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/adapter-utils/src/sandbox-managed-runtime.ts:598 \u00B7 packages/plugins/sandbox-providers/daytona/src/file-sync.ts:131 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts:126 \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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d24c36cfe19875a6bae8132757ba1b0934e583765a5064c5b20bc758a0e748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapter-utils/src/server-utils.ts:185 \u00B7 packages/shared/src/home-paths.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":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fec3af37eb6ff5216e674e13add0a25a58f1eaeda9d1138806f12fdce7c52d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): packages/adapter-utils/src/workspace-restore-merge.ts:408 \u00B7 packages/adapter-utils/src/workspace-restore-merge.ts:559 \u00B7 server/src/services/execution-workspace-repositories.ts:508 \u00B7 server/src/services/git-workspace-restoration.ts:238 \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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a575878d1cd7915ae7c6b21a9ab8993722bea90d83f686bea1a26677052af6b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/claude-config.ts:35 \u00B7 packages/adapters/codex-local/src/server/codex-home.ts:94 \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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2f8692d2c9d8c17450335a8d84d57315e85dfa6ce6cf6543774d1c7705bb24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/claude-local/src/server/quota.ts:14 \u00B7 packages/adapters/codex-local/src/server/quota.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":"packages/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc51c25fb9d4203989ae6ae120d4e4d5f8793bd42beab66c279b462c358155d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): packages/adapters/claude-local/src/ui/build-config.ts:37 \u00B7 packages/adapters/codex-local/src/ui/build-config.ts:35 \u00B7 packages/adapters/openclaw-gateway/src/server/execute.ts:362 \u00B7 packages/adapters/openclaw-gateway/src/ui/build-config.ts: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":"packages/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"61759f47e0e8c4b77b3ed042d918feec80a98722ab6328c4d17405962dcb878f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): packages/adapters/claude-local/src/ui/parse-stdout.ts:4 \u00B7 packages/adapters/codex-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/cursor-local/src/cli/format-event.ts:4 \u00B7 packages/adapters/gemini-local/src/cli/format-event.ts:4 \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":"packages/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1a8e65199e528c36abc4c49e0ca7fe8c542c851de8a2bfae8c49f304ef543b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/adapters/codex-local/src/server/acp.ts:215 \u00B7 packages/adapters/codex-local/src/server/execute.ts:928 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b46868064122b3f478b22106aba88f17fafcf48bdaecaeeb4e347ac38f692bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/device-login-export.ts:43 \u00B7 packages/adapters/hermes/src/gateway/server/execute.ts:166 \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/adapters/codex-local/src/server/device-login-export.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e23706e9fc8f1dfa42c0cf5bc7dd504d1296ad6affc6809ea4fe47a77bb393d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/codex-local/src/server/execute.ts:326 \u00B7 packages/adapters/cursor-cloud/src/server/test.ts:38 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe6530b1b6fc375aad33e4521e3291d9d57b7ca406eb0643288e431baa87910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/adapters/cursor-cloud/src/server/test.ts:15 \u00B7 packages/adapters/openclaw-gateway/src/server/execute.ts:169 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts: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":"packages/adapters/cursor-cloud/src/server/test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cdc8764bdfe29dd044d55796336ee451bcdbebf1d2f6ed104314380c20abec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/hermes/src/gateway/server/test.ts:14 \u00B7 server/src/adapters/process/test.ts:14 \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/adapters/hermes/src/gateway/server/test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67aca467a99c1ac735fca42b86c5060a0788537157cdb770dd3c09feab31313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/adapters/openclaw-gateway/src/server/execute.ts:111 \u00B7 packages/plugins/sandbox-providers/boxd/src/plugin.ts:57 \u00B7 packages/plugins/sandbox-providers/daytona/src/plugin.ts:361 \u00B7 packages/plugins/sandbox-providers/modal/src/plugin.ts:48 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de9d97aa1496423c693937e1b29a4eaa8adbc2720ca15df24aad6698dfa3cc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/execute.ts:203 \u00B7 packages/adapters/openclaw-gateway/src/server/test.ts:50 \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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b0c010f3ed4cdf9d9df474a42f9b595efe15ea5c544e683f2633b3400c8265"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/execute.ts:616 \u00B7 packages/adapters/openclaw-gateway/src/server/execute.ts:628 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d68d3dfe65b640f4cbef97ffdfef9416cc54acd77b8928db7f690905d8977"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/openclaw-gateway/src/server/test.ts:10 \u00B7 packages/adapters/pi-local/src/server/test.ts:28 \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/adapters/openclaw-gateway/src/server/test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd0a089e7589449e3a84c2799a8b8ba87f709d5f58bb31ed30b9609a27d2ef5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/adapters/pi-local/src/server/parse.ts:15 \u00B7 server/src/services/agent-secret-bindings.ts:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a288e5514baef9aee71ef2a26659daf23a656beadad22cc15e4e4d1818fcefa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/adapter_auth_sessions.ts:46 \u00B7 packages/db/src/schema/environment_leases.ts: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/db/src/schema/adapter_auth_sessions.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d194a7052f0ecfc16f4458cd8c002bb01d9e11f63fba91831fa99f9181f50c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 13 locations): packages/db/src/schema/adapter_auth_sessions.ts:96 \u00B7 packages/db/src/schema/chat_channels.ts:684 \u00B7 packages/db/src/schema/company_skills.ts:52 \u00B7 packages/db/src/schema/environment_custom_image_setup_sessions.ts:32 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 13 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/db/src/schema/adapter_auth_sessions.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"126d596ba019129ba64577772054fe8c0006a882b00b15fbd71adbf99665ee3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/db/src/schema/agent_config_revisions.ts:6 \u00B7 packages/db/src/schema/agent_task_sessions.ts:17 \u00B7 packages/db/src/schema/agent_wakeup_requests.ts:16 \u00B7 packages/db/src/schema/heartbeat_runs.ts:32 \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":"packages/db/src/schema/agent_config_revisions.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db96223cbd04ca680e938f475b4740c15e47f58b08235bbecf33181994078f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/db/src/schema/agent_instruction_revisions.ts:34 \u00B7 packages/db/src/schema/issue_approvals.ts:14 \u00B7 packages/db/src/schema/issue_labels.ts:11 \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/db/src/schema/agent_instruction_revisions.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2840ac663eebd901687b43a7dccbe82a71d60719882509c13b9352908d0847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/agent_memberships.ts:10 \u00B7 packages/db/src/schema/project_memberships.ts: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/db/src/schema/agent_memberships.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f5c6b7d64cca8c6580f9602cade86b3b767cdcaa89218db6838a7633c0521d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/db/src/schema/agent_runtime_state.ts:19 \u00B7 packages/db/src/schema/execution_workspace_restore_points.ts:32 \u00B7 packages/db/src/schema/plugin_company_settings.ts:30 \u00B7 packages/db/src/schema/plugin_config.ts:26 \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":"packages/db/src/schema/agent_runtime_state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf3951357561a0cd49cbba0aeb47b5fff65f99b2a1f79f84eeffb39893c132f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/agent_wakeup_requests.ts:40 \u00B7 packages/db/src/schema/pipeline_cases.ts:197 \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/db/src/schema/agent_wakeup_requests.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec00d58e1798b25b516ec9e8837b59609b8083e09eccc4fb3ee892893c8ed20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): packages/db/src/schema/agents.ts:52 \u00B7 packages/db/src/schema/assets.ts:17 \u00B7 packages/db/src/schema/chat_channels.ts:758 \u00B7 packages/db/src/schema/company_secret_provider_configs.ts:22 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 7 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/db/src/schema/agents.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"736fa3eadd6464d9973b29c8d84601e59b064a96216d388cf564a28f6d47fbc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/ai_connection_defaults.ts:25 \u00B7 packages/db/src/schema/ai_provider_defaults.ts:13 \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/db/src/schema/ai_connection_defaults.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"154bc1298ff727af237c582946013fc7bdf15603795984c8ecdc5cb70972ef6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): packages/db/src/schema/browser_use.ts:31 \u00B7 packages/db/src/schema/feedback_votes.ts:6 \u00B7 packages/db/src/schema/issue_attachments.ts:9 \u00B7 packages/db/src/schema/issue_comments.ts:17 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 10 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/db/src/schema/browser_use.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7ba630148ae691622bc49ffc1adda0bfe717c3d564ad5106ce8bded46c7246"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/budget_policies.ts:25 \u00B7 packages/db/src/schema/routines.ts:131 \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/db/src/schema/budget_policies.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71c54b9f3c2f2224f6e716b664cf55b19310be689d4fc69f9ce3fd613b147fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 13 locations): packages/db/src/schema/built_in_managed_resources.ts:17 \u00B7 packages/db/src/schema/cases.ts:100 \u00B7 packages/db/src/schema/chat_channels.ts:229 \u00B7 packages/db/src/schema/chat_github.ts:152 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 12 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/db/src/schema/built_in_managed_resources.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5102b811e5a0c276c3eeaf7647cb0f4e2387dd9dda5cb8f7cf789686e0f54d8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): packages/db/src/schema/cases.ts:26 \u00B7 packages/db/src/schema/execution_workspaces.ts:16 \u00B7 packages/db/src/schema/pipelines.ts:8 \u00B7 packages/db/src/schema/project_access_members.ts:8 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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/db/src/schema/cases.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55db3bd94d9e4a35df605737d7d7bc56dda523fc266cfd96f49764ac91d43731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/cases.ts:74 \u00B7 packages/db/src/schema/pipeline_cases.ts:94 \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/db/src/schema/cases.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"027b10533cda9f32f3636250995389090d33c5582f7b2c3ca429c8e689c3bfcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/db/src/schema/cases.ts:156 \u00B7 packages/db/src/schema/cases.ts:173 \u00B7 packages/db/src/schema/company_logos.ts:10 \u00B7 packages/db/src/schema/pipeline_cases.ts:120 \u2014 the 4 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/db/src/schema/cases.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2770c3cc7df8c030c2579eb44e7ca4724eeb5300419bc26920bc29844c79bbf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/chat_slack_manager_grants.ts:18 \u00B7 packages/db/src/schema/chat_voice_inbound.ts:32 \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/db/src/schema/chat_slack_manager_grants.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f05908d4d9b3a5c2fa5ca6963915ac2f16fc48cdcb94261849243ae1f1b589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/chat_slack_manager_grants.ts:18 \u00B7 packages/db/src/schema/cli_auth_challenges.ts:20 \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/db/src/schema/chat_slack_manager_grants.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f04a735adfcd7340ff0233ba7e6715884e2e4f28e7ec59649353a5ee651faf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/chat_slack_manager_grants.ts:18 \u00B7 packages/db/src/schema/company_secret_proposals.ts:44 \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/db/src/schema/chat_slack_manager_grants.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1fd5b92e5ee377e2bcf1748a017f1b51ee70acffc24b860c30cab9116c7cc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/cli_auth_challenges.ts:21 \u00B7 packages/db/src/schema/workspace_operations.ts:44 \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/db/src/schema/cli_auth_challenges.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"26918d3ba923a19edf65db6bb80bbdf53f95ba8458f18632e9538d7fd592225c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/company_onboarding_seeds.ts:32 \u00B7 packages/db/src/schema/workspace_operations.ts:44 \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/db/src/schema/company_onboarding_seeds.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a982f76c702a87493349c6692ea96082ac3e0e2bc0e0ef6d0d7d4b85159a69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/company_secret_bindings.ts:10 \u00B7 packages/db/src/schema/user_secret_declarations.ts:13 \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/db/src/schema/company_secret_bindings.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3d6ceb6f79826dbbef33db3284bba9cc9c66c01b6f2cd9c91a2d4cd13892cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/company_secret_versions.ts:17 \u00B7 packages/db/src/schema/issue_access_grants.ts:15 \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/db/src/schema/company_secret_versions.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cbe03f1ea043dfe2180ab93b1c27215729baf795db061fec199c18c78c3697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/company_skill_sources.ts:29 \u00B7 packages/db/src/schema/company_skill_sources.ts:63 \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/db/src/schema/company_skill_sources.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dfd35f30701878fc1e2e89d4830a4666f9d42c28025a23d1b055c48191e3da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/db/src/schema/company_skills.ts:159 \u00B7 packages/db/src/schema/company_skills.ts:199 \u00B7 packages/db/src/schema/company_skills.ts:220 \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/db/src/schema/company_skills.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b765672fc2420a71292cf51e60f293a499d4b032632781bb3af36edef2b63bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/company_skills.ts:244 \u00B7 packages/db/src/schema/company_skills.ts:296 \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/db/src/schema/company_skills.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"056ac16fb718c3a08e62ff6a9587d8c05632f444cfda49deea2736665731e1a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/company_skills.ts:273 \u00B7 packages/db/src/schema/tool_access.ts:610 \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/db/src/schema/company_skills.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68ccafeb8275677ebc907b08358cf6b2858271ee8507a79b4606f51742fde5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/db/src/schema/company_user_sidebar_preferences.ts:10 \u00B7 packages/db/src/schema/user_inbox_agent_policies.ts:12 \u00B7 packages/db/src/schema/user_sidebar_preferences.ts:8 \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/db/src/schema/company_user_sidebar_preferences.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb96d9c85b8d0f5a0a08418bf0b1df29b4fa17d3dc310f76a27028ec58687ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/connection_event_deliveries.ts:27 \u00B7 packages/db/src/schema/sandbox_creation_operations.ts:21 \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/db/src/schema/connection_event_deliveries.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"28437d9a6495f8b126e9385a5d86adc90d45c4df1ba6715503d61d9793a50aa5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/decision_queues.ts:24 \u00B7 packages/db/src/schema/user_secret_definitions.ts:8 \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/db/src/schema/decision_queues.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b57dbefb1ea8df9e8589c5e77365909b0e34228864d2686a7241c35ac6027"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/decision_queues.ts:38 \u00B7 packages/db/src/schema/project_workspaces.ts:33 \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/db/src/schema/decision_queues.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a064970751893a7a82cc8c6fdcd7d1b673a1ac33bba262300fcc93d52e1f68d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/db/src/schema/decision_queues.ts:202 \u00B7 packages/db/src/schema/folders.ts:26 \u00B7 packages/db/src/schema/tool_access.ts:1217 \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/db/src/schema/decision_queues.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef39adaee3109112134ed15adf49f89fa11a35eaae160a9d6a8133fae2a5813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/db/src/schema/decision_queues.ts:105 \u00B7 packages/db/src/schema/decision_queues.ts:187 \u00B7 packages/db/src/schema/decision_queues.ts:226 \u00B7 packages/db/src/schema/decision_training_examples.ts:12 \u2014 the 4 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/db/src/schema/decision_queues.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d7ffddbc0660e864546bf4f7f7a136f71f61b955d2e89602d1cf7893b01501"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/document_annotation_anchor_snapshots.ts:13 \u00B7 packages/db/src/schema/document_annotation_comments.ts:15 \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/db/src/schema/document_annotation_anchor_snapshots.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"487b9bd8ef79ef0a6dabe45bca1b5fe309e303b7dab3ee1871588c20f292051b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/db/src/schema/document_annotation_comments.ts:30 \u00B7 packages/db/src/schema/documents.ts:23 \u00B7 packages/db/src/schema/issue_comments.ts:46 \u00B7 packages/db/src/schema/tool_access.ts:809 \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":"packages/db/src/schema/document_annotation_comments.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a574f86fb47597c243eae0d22bf7e535f364745e1f3ee8cfce4bdbc4394a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/document_memberships.ts:6 \u00B7 packages/db/src/schema/document_revisions.ts:8 \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/db/src/schema/document_memberships.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"59380f3537af089ce47c26dc1576162bed97dee427f4af177bdcf95a492fc6af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/dot_runner.ts:32 \u00B7 packages/db/src/schema/run_identity_contexts.ts:15 \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/db/src/schema/dot_runner.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"516bf8deba5348d4c1fe877e0b0eea0847edfe998812af5bd70864cfe60c8db7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): packages/db/src/schema/external_object_mentions.ts:28 \u00B7 packages/db/src/schema/issue_execution_decisions.ts:19 \u00B7 packages/db/src/schema/issue_watchdogs.ts:30 \u00B7 packages/db/src/schema/issue_work_products.ts:41 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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/db/src/schema/external_object_mentions.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aa41f0e7c610ca50dbb366bbe157ddb7cbfd4d7d27c9eb994496a19a61e0cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/fast_responses.ts:28 \u00B7 packages/db/src/schema/public_mcp.ts:23 \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/db/src/schema/fast_responses.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f56c7e3ac959972ebce67b9ea3237d883624a3fc315c9bfd6e203e3f850db1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/goals.ts:22 \u00B7 packages/db/src/schema/project_goals.ts:11 \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/db/src/schema/goals.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"861d634c370587364410aca792470d5746ea52e48b09ac4b2cd827ddf338b65b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/heartbeat_run_watchdog_decisions.ts:8 \u00B7 packages/db/src/schema/provider_trace_records.ts:16 \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/db/src/schema/heartbeat_run_watchdog_decisions.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc39c6575a5ff495cbfef1f14a6d7f4254be7caa2680821069890ada5be7b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/issue_create_idempotency_keys.ts:11 \u00B7 packages/db/src/schema/issue_labels.ts:11 \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/db/src/schema/issue_create_idempotency_keys.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a4082962ff9df3919344a0e3b3f46809492b0ec82bfa7995e147d7d7077ded"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/db/src/schema/issue_plan_decompositions.ts:11 \u00B7 packages/db/src/schema/issue_recovery_actions.ts:17 \u00B7 packages/db/src/schema/issue_reference_mentions.ts:7 \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/db/src/schema/issue_plan_decompositions.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d9da48b680e4c7bd32533500bf4fafe48c1019c4d9c7b770769f353d2c7730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/pipeline_cases.ts:37 \u00B7 packages/db/src/schema/pipeline_cases.ts:133 \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/db/src/schema/pipeline_cases.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab13180f3e9e953912efa46deb951e6440cf5c63ca3586adf8d5764ba5a6e849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/pipelines.ts:57 \u00B7 packages/db/src/schema/user_secret_declarations.ts:21 \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/db/src/schema/pipelines.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87a1c0ea5ad4d977582f8c942f81799afcd5dd6ef82bdf729eb43a01dfd6dbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/runner_api_response_reservations.ts:6 \u00B7 packages/db/src/schema/smoke_lab.ts:30 \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/db/src/schema/runner_api_response_reservations.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2c36a8a724e082d8c9b707e14ea40009abc9936d3d5b6ee42a1049c5079286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/db/src/schema/secret_access_events.ts:10 \u00B7 packages/db/src/schema/tailscale_connections.ts:5 \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/db/src/schema/secret_access_events.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e278f49c971135beb390986e932fd095df19dd985fb70cffd6f0c3d5590cc810"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/db/src/schema/tool_access.ts:112 \u00B7 packages/db/src/schema/tool_access.ts:375 \u00B7 packages/db/src/schema/tool_access.ts:633 \u00B7 packages/db/src/schema/tool_access.ts:1147 \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/db/src/schema/tool_access.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b904e09968c4cb60a751446c8a9cf34eb4db9e270b18b41a7333947c82d6867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/tool_access.ts:279 \u00B7 packages/db/src/schema/tool_access.ts:301 \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/db/src/schema/tool_access.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8d4b46382178ad97659cf902bc0a40e1fddb50aa2aa2ef14411f7dd1238197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/tool_access.ts:443 \u00B7 packages/db/src/schema/tool_access.ts:468 \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/db/src/schema/tool_access.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"048ca5f465752b628994438c6288057b3791dcf09aff683650bf9b605363dc86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/tool_access.ts:568 \u00B7 packages/db/src/schema/tool_access.ts:1229 \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/db/src/schema/tool_access.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41bde804c359c7cb7390813db643ab7ff36326bc29cbf11e745853bf7578ce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/tool_access.ts:766 \u00B7 packages/db/src/schema/tool_access.ts:1095 \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/db/src/schema/tool_access.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef6436c5bc3116368d93242c250d8e235d6d363c321d80c43e62245ad7d61e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/db/src/schema/tool_access.ts:828 \u00B7 packages/db/src/schema/tool_access.ts:904 \u00B7 packages/db/src/schema/tool_access.ts:1051 \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/db/src/schema/tool_access.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0f0fba8da9b1d8c001ce11dc3ff6fa77d77421028f1528d5df44ef1d90ade2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/tool_access.ts:1166 \u00B7 packages/db/src/schema/tool_access.ts:1245 \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/db/src/schema/tool_access.ts"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5343db4cf91d01db6b92e0c958be111e966413d350a00d1d26491286f51e0e3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/db/src/schema/tool_connection_app_snapshots.ts:9 \u00B7 packages/db/src/schema/tool_connection_app_syncs.ts:8 \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/db/src/schema/tool_connection_app_snapshots.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df86c2f0761ad197e471f781076fcf0f5983f3b3d09191813f76985b5520e6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/mcp-server/src/tools.ts:147 \u00B7 packages/mcp-server/src/tools.ts:158 \u00B7 packages/mcp-server/src/tools.ts:169 \u00B7 packages/mcp-server/src/tools.ts:180 \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/mcp-server/src/tools.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b63ee0b5720a09526496b701ab84b838c296002f002afe79b92e379f063ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/mcp-server/src/tools.ts:176 \u00B7 packages/shared/src/validators/issue.ts:2199 \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/mcp-server/src/tools.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f76805318d3236f29cd80f376b585e418577db2adb54833434f96931fcedf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx:76 \u00B7 packages/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx:141 \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":"packages/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c04b9628acfaae0ca374afaf4f6d4343c1a6af39441a487cfd8db05b45ec97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/scripts/check-runner-workflow-traceability.mjs:1 \u00B7 packages/paperclip-runner/scripts/run-runner-workflow-evals.mjs:1 \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/paperclip-runner/scripts/check-runner-workflow-traceability.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e66fd9253f5e585f0a56406eb65c4f23e2999dd2d7e40855d24d7471b921de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/paperclip-runner/scripts/discover-copilot-acp.mjs:45 \u00B7 packages/paperclip-runner/scripts/qualify-copilot-acp.mjs:121 \u00B7 packages/paperclip-runner/scripts/qualify-cursor-denial.mjs:155 \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/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bd4b33806eadbc2b01f5c16a14bf52343a7b8f22ba95b0a573d6bfeff4413e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/kimi-provider-pack-smoke.mjs:124 \u00B7 packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs:175 \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/paperclip-runner/scripts/kimi-provider-pack-smoke.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f36d33d636e6f7b11b5c2f215b5802ca9238bbb0866de0bfc134eb6a5593202"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/kimi-provider-pack-smoke.mjs:124 \u00B7 packages/paperclip-runner/scripts/stage-runner-provider-node.mjs:63 \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/paperclip-runner/scripts/kimi-provider-pack-smoke.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e5b06a6da62f43bea8cab08da8eaeefe310951cab624fac625b24bd734dca6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/lib/forbidden-imports.mjs:302 \u00B7 packages/paperclip-runner/scripts/lib/tracked-imports.mjs:131 \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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1f580fa708f40d167f0107315a2f664dffdc76ddad160ff767d213d4ba9d6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/paperclip-runner/scripts/materialize-copilot-binary.mjs:113 \u00B7 packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts:433 \u00B7 packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts:96 \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/paperclip-runner/scripts/materialize-copilot-binary.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c6f9474bb2f66b74181bcfea581278967cb71e22a4302c2710456addfffb3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-copilot-binary.mjs:125 \u00B7 packages/paperclip-runner/scripts/provision-pi.mjs:122 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-copilot-binary.mjs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d153ecfb5fd23fbf66734d6fa4bca4c95dd20cfb41e6ab9330f910ad53020ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs:175 \u00B7 packages/paperclip-runner/scripts/qualify-copilot-acp.mjs:198 \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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53fedc13b27e2c312c53dad147f2941281c27545fddfcc227921de1c3dbadc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/backends/harness-driver-backend.ts:518 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts:139 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c7bdb0aa0025422cfd85e2fc371a07339927f0dccb60881e041d9582375e20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/eval-session.ts:616 \u00B7 scripts/bootstrap-npm-package.mjs:439 \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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded2affdd3574a1fe794db4418aadb6598763e52e357d7c4a7c510493f47520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/cli/eval-session.ts:612 \u00B7 scripts/extract-proposed-events.mjs:346 \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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9569a23e05217c46146b913e79791fc8ee95358102849615f17644f02cac84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/cli/opencode-proxy-output.ts:7 \u00B7 server/src/services/composio-app-setup.ts: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/paperclip-runner/src/cli/opencode-proxy-output.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e78d2358ec87a974410828d5d98576a971271bae166f7c3c77fb0fc83ed9d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/contracts/runtime-context.ts:73 \u00B7 server/src/services/native-runtime/runtime-context.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/paperclip-runner/src/contracts/runtime-context.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"faca7b5a5658107e5a5a35f901a05f0d0deca9834e1ba371d20f711cebe55d97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:2880 \u00B7 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts:2903 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"9259702ead82be9c8f890cab66374f3ddf8026a45533996c3681fca58460fc69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts:249 \u00B7 packages/paperclip-runner/src/drivers/acpx/antigravity-models.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"406ce5960ec4a5bb6e058e8f1658d91dc239ef407663ddf263936b26f4b89a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/antigravity-process.ts:16 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:492 \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/paperclip-runner/src/drivers/acpx/antigravity-process.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6733491a38243d54256189e25c25599a6d3a8dbbf1b29efc2863c0f746e58bf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/credential-refresh.ts:32 \u00B7 server/src/services/native-runtime/antigravity-runner-credentials.ts:181 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/credential-refresh.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa1063db38c537afb532ea6b7913fc30df81654c8554bcc603efb6d7663c8d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts:474 \u00B7 packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts:134 \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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7fcac9d6f8256fdeb9ccf6eb763bb3c7b1f9e917d189780d311730576625c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts:5 \u00B7 packages/paperclip-runner/src/drivers/acpx/grok-effort.ts: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":"packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1228d60ae43fefe2983c3dcb8d7dae8d1bc8dfee3239f365fc398f9aa4f1d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/installed-provider-authority.ts:26 \u00B7 packages/paperclip-runner/src/drivers/acpx/provider-assets-root.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/paperclip-runner/src/drivers/acpx/installed-provider-authority.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e063af71fed82cab990d98a6d77f1c33cfa3ac4b8ee9d4f634838226d53f659f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/interaction-delivery.ts:205 \u00B7 packages/paperclip-runner/src/drivers/acpx/model-verification.ts: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":"packages/paperclip-runner/src/drivers/acpx/interaction-delivery.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"77deb95dc358d6587b8e90a6523d1b721cd2ffcc6f4643fc984ef27be74bb595"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/kimi-config.ts:31 \u00B7 server/src/services/chat-channels/github/webhook-ingress.ts:199 \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/paperclip-runner/src/drivers/acpx/kimi-config.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaf3abc41c41118b70e6c8066e7a31612615c953539b4015ec37cc42a295e56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts:97 \u00B7 packages/paperclip-runner/src/drivers/acpx/private-snapshot.ts:78 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"62047995a57f30eb77ca97c163bebde93d69b452ca4997d86320f89c56625b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts:67 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:137 \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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"374cab1ced420108141380a9cfc0bdac9bcede86800c83227485181c4228603b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts:354 \u00B7 packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts:148 \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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ada0b66177292b8eb6e8cb5281356551ffca621657924132239324fe72bfe9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts:34 \u00B7 packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts:97 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed79616f6d158f6bc5eea52bc4e9d24741c259eac0e1692d1bd90f5f1b64e5a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/provider-failure.ts:3 \u00B7 server/src/services/native-runtime/warm-controller-journal.ts:10 \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/paperclip-runner/src/drivers/acpx/provider-failure.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360d7342d4088935021ac8b1e22a45d302ed5fc7fc894448e10862482e6fb24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts:161 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:139 \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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ba94f4c7b889e26d5c0c3e3dda8835846f54cb55461661763d1268083f518e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:18 \u00B7 packages/paperclip-runner/src/drivers/codex/codex-security-config.ts:165 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5050c17c5c09910857d2c167327ec627df9c96c5288d0e462d23e278aae9f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/copilot-metadata-probe.ts:189 \u00B7 server/src/services/native-runtime/native-workspace-sync.ts:432 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5144a6499fe6a7d213bbd3a1a1b772b912fa5a669bec89c7b6312e3491a56842"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts:549 \u00B7 packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:3503 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cb889ad42bc0e6092b7540a314e5d6c9655fc40554ff583df28d781a2b68de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts:2601 \u00B7 server/src/services/native-runtime/native-github-access.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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"55feb1b0802d7c6fe56861bc673fb9e6facd6b74c4d06475446b8538e1b1bafc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/opencode/performance-diagnostics.ts:23 \u00B7 server/src/services/native-runtime/native-monitor-delivery.ts:7 \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/paperclip-runner/src/drivers/opencode/performance-diagnostics.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7c220f3ade521f3fb1013d052a28840b1dffe08062d879a18629763058e588"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/paperclip-runner/src/drivers/opencode/provider-failure.ts:1 \u00B7 server/src/services/native-runtime/native-deliverable-text.ts:3 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts:31 \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/paperclip-runner/src/drivers/opencode/provider-failure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4483d29b8f20ebc8269b7e5590a20b8b9fe5c964bc2cfe25a2df923cd2d3a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts:65 \u00B7 packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"62950de5ae185d2793aed4a2fb78ab169f70c307b62c7a422e28fe0b01adf451"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/live/runner-binary.ts:37 \u00B7 packages/paperclip-runner/src/live/runner-binary.ts:50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runner-binary.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87a732d619f1ab60dd0f4c172f60abed36db6ca5236364ba2d1702f55029ff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/live/workspace-diff.ts:144 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:200 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d48ba85bca3884603b905fd3a23e8f466a64c62b21cbe1b65e8df4332758d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:1477 \u00B7 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts:1483 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e450b968a6895e96532fdac7d6cf7b13ab543f8047e3cc622a5d3fb45c9e7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts:74 \u00B7 packages/shared/src/customer-success.ts:119 \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/paperclip-runner/src/semantic-tools/runner-authorized-tools.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c829ede70e3d2a73ada14197e46c1e0d4f94f10ea3f663b061fbcedc44e2d568"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:983 \u00B7 packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts:1024 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b328388f595f5615e9c9a78995bb172d5291dad6b8d197c813aaa8c483a19e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:1926 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:2140 \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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"c673b5d5f933b08eceebf90e07496c1813350f62d4707e9bb909467ca4106030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4108 \u00B7 packages/plugins/plugin-llm-wiki/src/ui/app.tsx:4116 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4108}}}],"partialFingerprints":{"codehealthFindingId/v1":"022fd8ec317c66c7d47ea023ed78bef7d8e279361de3e7f8b06bf4ce05afd7ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:701 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:789 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4086ae240e5b0ba5037994b3e93bc6c01f2a6d906f1ea42ba978700d0a84b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2154 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9023773f6176ec8f33f18860680ad2c7a7b59001010f3b1c7900d0b51b93fe23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2609 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2766 \u00B7 packages/plugins/plugin-llm-wiki/src/wiki/core.ts:2895 \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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"510469cb24c833a9957fcb175abfb119a1d0c75550535d7b91e2963587c1e087"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sandbox-providers/boxd/src/plugin.ts:433 \u00B7 packages/plugins/sandbox-providers/boxd/src/plugin.ts:580 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"be837fe4cb6fc8db7a2ca2376162b4f584cf8c04e95eda19ec7ea199a9d086e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sandbox-providers/daytona/src/runner-ingress.sdk-integration.ts:40 \u00B7 server/scripts/smoke-native-task-monitor.ts:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/runner-ingress.sdk-integration.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d4889ef3b87b7c9813856df8b7b860f305e452d4309f529d82708576f1d5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:225 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:315 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22222888f0ce7770d58d09d75b575967eaafb283946c46db3eb57db857c66b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:268 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/plugin.ts:603 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts:169 \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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830fb7dee4acb2f83f92f5820b2d02176f4f0a4ad254694c273682a86f95496"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:278 \u00B7 packages/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts:284 \u2014 both copies are in the same file, so extract the block into one function there 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/plugins/sandbox-providers/kubernetes/src/tenant-orchestrator.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c185874e9f7aeecd2c0a667edd9c5b7a8383993c53fdf77476689577a3361cc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/plugins/sdk/src/environment-tasks.ts:193 \u00B7 packages/plugins/sdk/src/environment-tasks.ts:198 \u00B7 packages/shared/src/validators/plugin.ts:182 \u00B7 packages/shared/src/validators/plugin.ts:818 \u2014 the 4 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/plugins/sdk/src/environment-tasks.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da816009ae902f7890aacd4fc74b42018390e22340d729cc67e6b64f9b19016"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sdk/src/host-client-factory.ts:577 \u00B7 server/src/services/hot-restart.ts:118 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/host-client-factory.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"156805a57e7b3fc5309e839446b64e9ee5ac7e28b3ab1064325c6a9616f1d79d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sdk/src/testing.ts:2164 \u00B7 packages/plugins/sdk/src/testing.ts:2297 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"237614bb8cd6490ee6a98ebd878550c55281705385f37fb7dc437f652ccb5600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sdk/src/workspace-provider.ts:35 \u00B7 packages/plugins/sdk/src/workspace-provider.ts:115 \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/plugins/sdk/src/workspace-provider.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36be51f72fcbd1491dbe8761c2a10ce8d7f944741e3e3c6e2ac077816af185e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/plugins/sdk/src/workspace-provider.ts:121 \u00B7 packages/plugins/sdk/src/workspace-provider.ts:127 \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/plugins/sdk/src/workspace-provider.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4d7e86b75a28bd1c474162fd4fd6a133bc8d8a97b0565e918d6061c22eb114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/aggregator-apps.ts:26 \u00B7 packages/shared/src/composio-app-setup.ts:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/aggregator-apps.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fc1298eeec4b77ce6271bb5efac4ac035812a13cf9598da06502080c90977c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/ai-connections.ts:220 \u00B7 packages/shared/src/ai-connections.ts:256 \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/shared/src/ai-connections.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"41036287a135367155b60ce7089dbc1f53894334ac3769ff62fcd2797e6b125d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/fast-response.ts:12 \u00B7 packages/shared/src/prompt-injection-prevention.ts:20 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/fast-response.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5d812cd09a4ef080177508089bec2229edf84d20ad30748bc8c5664597a9d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/shared/src/mcp-skills.ts:83 \u00B7 server/src/services/mcp-app-views.ts:18 \u00B7 server/src/services/mcp-http.ts:44 \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/shared/src/mcp-skills.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f316fa551fe9d8e90d02d60b2bcb283d8e641ff96c91a05458443acc30f76401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/shared/src/slack-app-manifest.ts:139 \u00B7 packages/shared/src/validators/routine.ts:87 \u00B7 packages/shared/src/validators/tool-access.ts:543 \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/shared/src/slack-app-manifest.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa63db509480a28a7b37edaa0bea6f3d25fa20635cc89a7f21381dc39772f9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/shared/src/validators/adapter-skills.ts:38 \u00B7 packages/shared/src/validators/company-portability.ts:202 \u00B7 packages/shared/src/validators/plugin.ts:1263 \u00B7 packages/shared/src/validators/teams-catalog.ts:55 \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":"packages/shared/src/validators/adapter-skills.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dd2404151e956559e3bd24b7b2f285a4315280190242cace70fcd1c03accc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:294 \u00B7 packages/shared/src/validators/agent.ts:299 \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/shared/src/validators/agent.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c35824dfc8286a786735757379d217defd435013cc5679779ee9cd816737c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/agent.ts:194 \u00B7 packages/shared/src/validators/cost.ts:6 \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/shared/src/validators/agent.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"564d427aeb9cb0822cc8fefbc9673e6c7251cb298d49163a86fe3dad557893cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/chat-github.ts:125 \u00B7 packages/shared/src/validators/folder.ts:39 \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/shared/src/validators/chat-github.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc358b250a84253370792fd202804500269dfe7adb8b3a30abd45029e41121c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/chat-github.ts:61 \u00B7 packages/shared/src/validators/workspace-repository.ts:4 \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/shared/src/validators/chat-github.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9c05d036029d6dd1e4ce579f0afd419df72fa318c446f6e1fb2ba0242c63e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): packages/shared/src/validators/company-portability.ts:74 \u00B7 packages/shared/src/validators/company-skill.ts:26 \u00B7 packages/shared/src/validators/company-skill.ts:76 \u00B7 packages/shared/src/validators/work-product.ts:41 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"packages/shared/src/validators/company-portability.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"43538baca1754bc44172d21b9d6bf7f95028ef9984cd9805dd2cc290d903977c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/company-portability.ts:119 \u00B7 packages/shared/src/validators/company-portability.ts:209 \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/shared/src/validators/company-portability.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a2977285e784aa3fdb7dcf80abc5d09aa6128909c71223bcf72b933fe740b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/company-portability.ts:215 \u00B7 packages/shared/src/validators/company-skill.ts:40 \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/shared/src/validators/company-portability.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03940455ca71b997066c8c59275151fbec63b096aa1539f325b8b4b435c4767"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/company-skill.ts:311 \u00B7 packages/shared/src/validators/company-skill.ts:348 \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/shared/src/validators/company-skill.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61fe300ce8c0765bbe78fb95dece996cbad1987f4caeeb84ef95f60fd65c7be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/shared/src/validators/company-skill.ts:453 \u00B7 packages/shared/src/validators/decision.ts:94 \u00B7 packages/shared/src/validators/issue.ts:1753 \u00B7 packages/shared/src/validators/tool-access.ts:138 \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":"packages/shared/src/validators/company-skill.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efe2ea10e50f05bf0362c5f85b3f552364df4adfc33933be618efbc83a9b4c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/company-skill.ts:459 \u00B7 packages/shared/src/validators/onboarding-seed.ts:20 \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/shared/src/validators/company-skill.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aad4648e9aaaf9bb10fd98603d163cd90f7ba46ca43863f8f8184c4e203929d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/cost.ts:6 \u00B7 packages/shared/src/validators/summary-slot.ts:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/cost.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffb9d7ed3948185c5216ed07b57687a82b24d86186e20c674c86f6a9cd76ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/decision.ts:36 \u00B7 packages/shared/src/validators/decision.ts:44 \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/shared/src/validators/decision.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d1b18a3e12d23d83de0e8ffec69f430d77ff9cb315224bd849f20fd083e729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/decision.ts:22 \u00B7 packages/shared/src/validators/project.ts:129 \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/shared/src/validators/decision.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aded254de5eb736f89a44ee507a587498225b8c8868d20b3058328324eaab67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/email.ts:25 \u00B7 packages/shared/src/workspace-provider.ts:6 \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/shared/src/validators/email.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2606818758991e298dc9c3f70fa8123fbf34af9ef9948bb9ffe0ec21564c16b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/environment-custom-images.ts:24 \u00B7 packages/shared/src/validators/summary-slot.ts:54 \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/shared/src/validators/environment-custom-images.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdbdac8f7dd3585a1e6e0384bb3689121cf4bd5603a64629bf82388eb15753d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/execution-workspace.ts:47 \u00B7 packages/shared/src/validators/teams-catalog.ts: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":"packages/shared/src/validators/execution-workspace.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ae802e38fac048bf8d0bcf3dfdebdc191ac442b0ecebab87bd62b38c68a01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/external-object.ts:15 \u00B7 packages/shared/src/validators/plugin.ts:829 \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/shared/src/validators/external-object.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e84090d24ee50cf44cfe0333948e5f81df9cc5650a9c07206d184c9be306ab6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/finance.ts:18 \u00B7 packages/shared/src/validators/status-card.ts:179 \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/shared/src/validators/finance.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4628a0708d939a25dc76e0708c2207079926b49c3a4c2175885c1d06490a58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/finance.ts:6 \u00B7 packages/shared/src/validators/summary-slot.ts:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or 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/shared/src/validators/finance.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16d3a6106861dd8ba0a28d21a9c7a0a07ed418c9a3d3243ac3b3b4eea24d154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/shared/src/validators/goal.ts:6 \u00B7 packages/shared/src/validators/secret.ts:110 \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/shared/src/validators/goal.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ac629a28d59e41680eda232a0356e0dd2758073443bbf69a852fffe23700e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/shared/src/validators/issue.ts:578 \u00B7 packages/shared/src/validators/provider-trace.ts:49 \u00B7 packages/shared/src/validators/provider-trace.ts:66 \u00B7 server/src/routes/openapi.ts:3719 \u2014 the 4 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/shared/src/validators/issue.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03212a2a52296a0ac80b99b237801c1ad776df8a7fb8a017a8b98d13cf3206b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:1061 \u00B7 packages/shared/src/validators/secret.ts:223 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bb32b245f001120cae9938315021ec4d5343262b01a9d5111c0957c875569c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/issue.ts:1389 \u00B7 packages/shared/src/validators/tool-access.ts:139 \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/shared/src/validators/issue.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"786b4906768ea333bd6200b0eec77a42be38bdfafaa411051b34e387ea1afe44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/shared/src/validators/issue.ts:1411 \u00B7 packages/shared/src/validators/issue.ts:1423 \u00B7 packages/shared/src/validators/tool-access.ts:766 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"845fc2c066fac5ee411b877fbd9b5faa852f610501722116c10ddf3765dd0f2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/shared/src/validators/native-finalization.ts:21 \u00B7 packages/shared/src/validators/provider-trace.ts:48 \u00B7 packages/shared/src/validators/provider-trace.ts:65 \u00B7 packages/shared/src/validators/provider-trace.ts:85 \u2014 the 4 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/shared/src/validators/native-finalization.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"120e8c6624ad102e0361c78b21fa43f54bf18ff21df94e0c47b4313b69f2b723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/secret.ts:23 \u00B7 packages/shared/src/validators/secret.ts:140 \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/shared/src/validators/secret.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7077f4b98acb23191d05186fea5b2424db3fc4ba9478fe894c2287ab7ecb0a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/shared/src/validators/secret.ts:156 \u00B7 packages/shared/src/validators/secret.ts:167 \u00B7 packages/shared/src/validators/tool-access.ts:1073 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/secret.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7782640474f86e0cccca5f9c250952513e98fc13a5486eb823c21d180ead0ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/tool-access.ts:654 \u00B7 packages/shared/src/validators/tool-access.ts:794 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8782273bc057a4468853d88ba93eac88072ee91b5a5354f71a43238aa6bbdf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/shared/src/validators/tool-access.ts:853 \u00B7 packages/shared/src/validators/tool-access.ts:865 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c52bd02154d2968d396d3adb58242c349574df2a5544131c51bf5c2faa3540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/shared/src/validators/work-product.ts:39 \u00B7 packages/shared/src/validators/work-product.ts:85 \u00B7 server/src/routes/openapi.ts:3710 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/work-product.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e381fe62a954d544f9a84807c1902695add9084a2cd6fd773dcb4cd8fb57cfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/tailscale-https-broker/src/serve-config.ts:36 \u00B7 server/src/routes/access.ts:323 \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/tailscale-https-broker/src/serve-config.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0592de04a63d5cf5ef6103461fb6e091bad878725045bedf214febcd03af0e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/ci-profile/authorize.mjs:73 \u00B7 scripts/ci-profile/export.mjs:84 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci-profile/authorize.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f8b50c42923acda65252ba63e0a70d68c679cd8c3815b989ca32b8cf7bc265"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/ci-profile/authorize.mjs:86 \u00B7 scripts/ci-profile/export.mjs:162 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci-profile/authorize.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e7113609d51dd75c717da0a5a935ed1b400984e0c13a22131d3769a24efed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/ci-profile/authorize.mjs:86 \u00B7 scripts/publish-announcements.ts:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci-profile/authorize.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b725d3b3d5af105ccff46ee76c0f00fac8eff83d3b992df23f96cc9e64bdc64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/ci-profile/export.mjs:162 \u00B7 scripts/publish-announcements.ts:125 \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":"scripts/ci-profile/export.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f3042d95fa10bc27c0a5ef4945fc5cb9cf321e2881acdc526ea2cc8b0f39b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/ci-profile/node-test.mjs:11 \u00B7 scripts/ci-profile/run.mjs:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci-profile/node-test.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19b7b83d8e9ab23b1a28c064b2a93eeca3a8b978304ef3583abf6ce73235c5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): scripts/ci-typecheck-lane.mjs:257 \u00B7 scripts/ci/refresh-chat-shard-durations.mjs:98 \u00B7 scripts/typecheck-test-programs.mjs:236 \u00B7 scripts/typecheck-test-projects.mjs:115 \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":"scripts/ci-typecheck-lane.mjs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a68fa5e8ce40cb40277f85dfb8ef77f30bb7d293d00b783729a78dfe22c0e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/cloud-readiness-runner-loss.mjs:94 \u00B7 scripts/cloud-readiness-runner-loss.mjs:106 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/cloud-readiness-runner-loss.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"99066b37f22b915b8f368d8b0f70f5653b95ae3702a4983120bff5daabd2c122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/cloud-readiness-runner-loss.mjs:122 \u00B7 scripts/cloud-release-admission.mjs:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-readiness-runner-loss.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2f95f26fc36c36d96751cfde84d666f81d20382fc694b9fb1780f3c403910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/count-needs-you-views.ts:160 \u00B7 scripts/count-needs-you-views.ts:214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"320b9b3952f1d39d3588b12b8adf8c4a03bd0ed259ce2df3aec10c6c508410b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/create-provider-pack-archive.mjs:10 \u00B7 scripts/create-provider-pack-archive.mjs:44 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/create-provider-pack-archive.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8d7128cf22e77c5f2e72df7e0283d3fad999f7653f9e1367b24906c9b5237f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/generate-org-chart-satori-comparison.ts:137 \u00B7 scripts/generate-org-chart-satori-comparison.ts:145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-org-chart-satori-comparison.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2f0d11ab8b9d46191befb1fbb8c2b3a33ba48998edcf8cda0dfa24c4ee7832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/local-verify.mjs:46 \u00B7 scripts/local-verify.mjs:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/local-verify.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b9a9ef49f8c6dae74b03ee62fb6911936bad3ab5ec780d6b826c0e192e5829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/prepare-runner-release-image.mjs:52 \u00B7 scripts/prepare-runner-release-image.mjs: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":"scripts/prepare-runner-release-image.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"654144f9781ae144c0fcac640f4845a070112285628ff2a3d31634de3b9364d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/smoke/muse-qualification.ts:49 \u00B7 server/src/services/native-runtime/generate-image-tool.ts:117 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/muse-qualification.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf890ba86f3aa364abd8755b7af2b24c4eb55e7f73f525d8f218289c0d6f09b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:1026 \u00B7 scripts/smoke/posthog-live.mjs:969 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4491ddaed55f4d55e9204e04c2c523099103a3bbe12dd9853097e0f9fedce5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/smoke/notion-generic-live.mjs:1037 \u00B7 scripts/smoke/posthog-live.mjs:991 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/smoke/notion-generic-live.mjs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb74aedf207a9c16298341429a7ae23eef90258c77d1da7d879a102e21ed24c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/storybook-agent-avatar-assets.mjs:12 \u00B7 scripts/storybook-agent-avatar-assets.mjs: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":"scripts/storybook-agent-avatar-assets.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8519fbf0d78b69d75f73a8c6b83be383075e9f3c74200752041d20ff6d15da82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/test-skill-default-cadence.mjs:17 \u00B7 server/scripts/test-slack-cloud-postgres.mjs:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test-skill-default-cadence.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e38696c5d594f64a31ebbc2cd46cb94b75eaedb690e2c0ab27cd5fa384be7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/verify-cursor-npm-install.mjs:55 \u00B7 scripts/verify-grok-npm-install.mjs: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":"scripts/verify-cursor-npm-install.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7733cdc3f34548774feda146fcd64f249bf09c6a2dcebecaef99355ec974a49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/verify-cursor-npm-install.mjs:71 \u00B7 scripts/verify-grok-npm-install.mjs:137 \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":"scripts/verify-cursor-npm-install.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a83b1ce32144611fe441e7df1b573845ab1ea8f4dc19d1a24b2af480115ccbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/board-claim.ts:96 \u00B7 server/src/services/agent-provider-rate-limits.ts:28 \u00B7 server/src/services/chat-channels/publication-replacement.ts:94 \u00B7 server/src/services/chat-channels/publications/worker.ts:240 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/board-claim.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9bb9db26d6f147e67aca10b9fdc9aaa083a514109ad7d9945a5e6e36139c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/index.ts:484 \u00B7 server/src/services/access.ts:401 \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":"server/src/index.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd8bba0a61423b19f5531a0737c766b1c5a95dbea5fe56f7a84330a32fbe061"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/lib/built-in-agent-metadata.ts:9 \u00B7 server/src/services/company-portability.ts:885 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/built-in-agent-metadata.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8886a6b4f605f1cc230a00cd85f997217ad8212090fcd8ed3e22c8f5d63431f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/active-run-watchdog/adapters/postgres.ts:146 \u00B7 server/src/services/mcp-app-views.ts:205 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77441f661316858fb08a5a9b8e4b53db62c8d7669195c69da72346ca8de8af8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/agent-lifecycle/adapters/approvals.ts:57 \u00B7 server/src/services/issues.ts:9181 \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":"server/src/modules/agent-lifecycle/adapters/approvals.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8f9e2cbe8fd737239cc28cb1db13220d3d56d37b9c81feaa79feafbf1efa68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/agent-lifecycle/adapters/postgres.ts:233 \u00B7 server/src/modules/agent-lifecycle/adapters/postgres.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":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c2fea00267b2bf55d62540debfc2f2bcd40eac1f8ee9d96a72ffb398405815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/external-agents/dot.ts:488 \u00B7 server/src/modules/external-agents/dot.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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d02a26e451821cf38207b2be4878d53112b3f6b9294f6a90daf3428d5f6bcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/run-dispatch/adapters/postgres.ts:276 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1295 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"52233c6a3e57ac7fdc82256b889aec5ae0bda236c699db969977bb72202df595"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:1087 \u00B7 server/src/services/native-runtime/native-finalization-reconciler.ts:172 \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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"73763b1bb89d491c3fb04aad891ffc5eebbed6e3e4a70abf420d41e2372d1abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/modules/wake-queue/adapters/postgres.ts:1151 \u00B7 server/src/services/native-runtime/native-failed-workspace-recovery.ts:93 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb03c71a7eb1888d7f0b3e5498e0a6c4375551317afc810e516e2494c856aac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/realtime/runner-prp-ws.ts:202 \u00B7 server/src/services/native-runtime/runner-prp-coordinator.ts:404 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-ws.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4688d550831f481d35fcf6ece50cba40a8315d358a12bcc08169904642e43534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/activity.ts:100 \u00B7 server/src/routes/openapi.ts:6462 \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":"server/src/routes/activity.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb351fbc31c8a8c4bb550ef5822161a4c5488f0211784d46dce6cda5ba82344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/activity.ts:373 \u00B7 server/src/routes/costs.ts:234 \u00B7 server/src/routes/issue-tree-control.ts:430 \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":"server/src/routes/activity.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983bd48e4bd8d1fec2a0ef151ae8e0348e0c2fc22a5cfba9a4131afe1f10970"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/routes/agents.ts:1827 \u00B7 server/src/routes/tool-access.ts:1056 \u00B7 server/src/routes/tool-access.ts:1076 \u00B7 server/src/routes/tool-access.ts:1092 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a58326e8ba20afd4e7841f81ece51b7d7df82ac19a3eef69c40954cb434245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/agents.ts:4256 \u00B7 server/src/routes/agents.ts:5451 \u00B7 server/src/routes/agents.ts:5461 \u00B7 server/src/routes/agents.ts:5470 \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":"server/src/routes/agents.ts"},"region":{"startLine":4256}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d1b0f9d5e86c9013cbaa8551d70e921e9b341a4e891ec9a215af12155f7c6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/agents.ts:4332 \u00B7 server/src/routes/projects.ts:720 \u00B7 server/src/routes/projects.ts:1043 \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":"server/src/routes/agents.ts"},"region":{"startLine":4332}}}],"partialFingerprints":{"codehealthFindingId/v1":"648f6784a688777c3064f9a9fcfa470429efc3f06695fcf74faabaa6635e2599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): server/src/routes/agents.ts:5070 \u00B7 server/src/routes/agents.ts:5573 \u00B7 server/src/routes/approvals.ts:666 \u00B7 server/src/routes/approvals.ts:709 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5070}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c473dfa88231249872fc2ee2b615c13412e7f04da96aa424c4fd5539b00525b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/routes/agents.ts:5433 \u00B7 server/src/routes/agents.ts:5451 \u00B7 server/src/routes/agents.ts:5461 \u00B7 server/src/routes/agents.ts:5470 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761ca3cd3cfef9a911aef1fc39b437d9804e7ac4ace0cf22776ace29420e19b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/agents.ts:5454 \u00B7 server/src/routes/agents.ts:5472 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e19d54f79f1cb15ebeba44c9ceaccd4b9085bd5f86bc7c6ed5ff5bf1a486f0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/agents.ts:5922 \u00B7 server/src/routes/goals.ts:78 \u00B7 server/src/routes/issues.ts:9615 \u00B7 server/src/routes/projects.ts:1078 \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":"server/src/routes/agents.ts"},"region":{"startLine":5922}}}],"partialFingerprints":{"codehealthFindingId/v1":"c476b47a3e83dde121b9cac47ad9f1f34890a40c7f68000fe531db94f82cc321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12 locations): server/src/routes/agents.ts:7211 \u00B7 server/src/routes/costs.ts:224 \u00B7 server/src/routes/costs.ts:243 \u00B7 server/src/routes/costs.ts:251 \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":"server/src/routes/agents.ts"},"region":{"startLine":7211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e5e7565a6bbf46839af2d8ddba9e45705fd88bbceae04b5d2c6c00f59e3328"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): server/src/routes/agents.ts:7340 \u00B7 server/src/routes/agents.ts:7832 \u00B7 server/src/routes/agents.ts:7863 \u00B7 server/src/routes/agents.ts:7890 \u00B7 \u002B6 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3695dd62fb3b4b8a4c515ff617e7115dc6a8aef563a7f2e03c891ea9bb146fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/agents.ts:7864 \u00B7 server/src/routes/agents.ts:7891 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7864}}}],"partialFingerprints":{"codehealthFindingId/v1":"3210d5f41633845f1e89935581b41f58fa30156e2158734c656bebd9d5dbe3db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/routes/agents.ts:7906 \u00B7 server/src/routes/approvals.ts:667 \u00B7 server/src/routes/execution-workspaces.ts:191 \u00B7 server/src/routes/execution-workspaces.ts:200 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7906}}}],"partialFingerprints":{"codehealthFindingId/v1":"af28d8ee9a743108b0f3ce0af5ca57346eedcf197c0eefd8d73c548fc6808e3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/ai-connections.ts:172 \u00B7 server/src/routes/ai-connections.ts:179 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8836dc2656fd59a3c1492844a15af344b6ae3df06feed1fd78037fe0f514bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/attention.ts:68 \u00B7 server/src/routes/attention.ts:76 \u00B7 server/src/routes/attention.ts:84 \u00B7 server/src/routes/attention.ts:109 \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":"server/src/routes/attention.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b66cda31e6cf2e34c15ddde4c9a8242d3e1e92989a60a932ac7fe77ad726b76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/attention.ts:85 \u00B7 server/src/routes/attention.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":"server/src/routes/attention.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb3c6a58a6dbe0460fef3c93aced52328505655f7eb7403771f6fda65754bc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/routes/case-handoffs.ts:14 \u00B7 server/src/routes/folders.ts:30 \u00B7 server/src/routes/folders.ts:102 \u00B7 server/src/routes/goals.ts:26 \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":"server/src/routes/case-handoffs.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e6365180981ba67b429264c3fa6caba3c992472435b00d0e208e8abf22e67a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/cases-schemas.ts:32 \u00B7 server/src/routes/cases-schemas.ts:43 \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":"server/src/routes/cases-schemas.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"822d61dcb8febe2537b185f5b74898348ee238bba2ae5c539e0966802c0be461"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/cases.ts:1175 \u00B7 server/src/routes/cases.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":"server/src/routes/cases.ts"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a8c0d38b46c77208d659c06377eb4801542aaf81ac3a8ef6ef410d8007fc93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): server/src/routes/chat-channels.ts:236 \u00B7 server/src/routes/chat-channels.ts:271 \u00B7 server/src/routes/chat-channels.ts:276 \u00B7 server/src/routes/chat-channels.ts:282 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"323ff6948765e0619faf44299125f866d1f5195b35d3d798ba02c5f3ea5253a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:263 \u00B7 server/src/routes/chat-channels.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":"server/src/routes/chat-channels.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9509b484af514e6fdef59dfb020ed97d7404a5b1aef77f990be26ac6c990ebc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/chat-channels.ts:327 \u00B7 server/src/routes/chat-channels.ts:378 \u00B7 server/src/routes/chat-channels.ts:408 \u00B7 server/src/routes/chat-channels.ts:478 \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":"server/src/routes/chat-channels.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3503b46940a71d08155bf088e6f40813696e072ee10192eb8ae577e7703ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:344 \u00B7 server/src/routes/chat-channels.ts: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":"server/src/routes/chat-channels.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"413622a47cc53c84b66083c20593a19de8e8fed06f6b8cadc45c131ea2f81182"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:378 \u00B7 server/src/routes/chat-channels.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":"server/src/routes/chat-channels.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea83685f18e5c747b9246d42999a829543171b2153b865be4d71eb1674c0963a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/chat-channels.ts:386 \u00B7 server/src/routes/chat-channels.ts:459 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d2216240092605f0d5f96754d2d3b7bb7d8fc8336d435304b706e50314c8aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1164 \u00B7 server/src/routes/company-skills.ts:1187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba6f4a103ac4ad3b46080fd3866d7a5d7b3238548afb9e2c1954d7b61d29f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/company-skills.ts:1814 \u00B7 server/src/routes/company-skills.ts:1874 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"68914770c5991ce761b3e01d0c99a4f76320424adebe5e7c75d4d45161261dc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/connection-management-authz.ts:276 \u00B7 server/src/services/connection-management.ts:139 \u00B7 server/src/services/connection-management.ts:196 \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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"065a34b088a3a236c0c53b7d7a1ca542e1b12c090d3c5372e49cf731c658f5e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/decisions.ts:180 \u00B7 server/src/routes/decisions.ts:189 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decisions.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a43ec99562beeb69714dcd28ad9af94498616cbe08f61079cbb3ef3e1242cd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): server/src/routes/decisions.ts:197 \u00B7 server/src/routes/tool-access.ts:1862 \u00B7 server/src/routes/tool-access.ts:1979 \u00B7 server/src/routes/tool-access.ts:2040 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/decisions.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"749444cdc1b0d7d9644520aaa0a9dea261c093fd24324c08bc78d79a8ec6819c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/environments.ts:570 \u00B7 server/src/routes/issues.ts:17726 \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":"server/src/routes/environments.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e10443963b68965b83c34009745b2b3b22f238f0e5a827f6fa05af6f5bf327d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/fast-responses.ts:39 \u00B7 server/src/routes/fast-responses.ts:72 \u00B7 server/src/routes/prompt-injection-prevention.ts:24 \u00B7 server/src/routes/prompt-injection-prevention.ts:39 \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":"server/src/routes/fast-responses.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf7ab1fdeb35f1abbbdda8d333705b28f2c0a47b5cf28423c06623206b53fb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/grok-bot.ts:72 \u00B7 server/src/routes/grok-bot.ts:77 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/grok-bot.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fdea08b993841bad29256059725216f8da50261d1656d1589163d70cc3bd23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/issue-tree-control.ts:402 \u00B7 server/src/routes/projects.ts:374 \u00B7 server/src/routes/projects.ts:672 \u00B7 server/src/routes/projects.ts:1075 \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":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3f50d72ee6a42b9d615267f8f07ab498dafdcdbbf7fa067320a08353f39277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/issues.ts:10410 \u00B7 server/src/routes/issues.ts:10534 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75c8f9c1a4529dd60900ffdda61cb5e0852c74dce82455fe793680cc421b45d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/issues.ts:13232 \u00B7 server/src/routes/issues.ts:19519 \u00B7 server/src/routes/projects.ts:1041 \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":"server/src/routes/issues.ts"},"region":{"startLine":13232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77afefdd08eec991346a53f0e95317d644629ba203521c4178d7e4097fbd61e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/issues.ts:14492 \u00B7 server/src/routes/issues.ts:14582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14492}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c4ea30eec3af6174c72d0c628e66104f927c7d256706c867e20355688bf64f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/issues.ts:19281 \u00B7 server/src/routes/projects.ts:320 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19281}}}],"partialFingerprints":{"codehealthFindingId/v1":"587ed84a999506fa3aa4dbbae1d0d8a784cb41836fe2800c09fb9a71af5c6fc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/issues.ts:19849 \u00B7 server/src/routes/issues.ts:19860 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19849}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a23ccdb2f1de4183017725844dfb317499347f4530ab3be6baaa63080bf4d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/mcp-apps.ts:110 \u00B7 server/src/routes/mcp-apps.ts:141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/mcp-apps.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"256524922f7ed9a238b7d07c89b79dc5508190da6043372c89b84e08739e8670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/openapi.ts:910 \u00B7 server/src/routes/openapi.ts:2502 \u00B7 server/src/routes/openapi.ts:13221 \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":"server/src/routes/openapi.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc77981a7971d9110e044fcd3a7189a3265089ebfb4e8670196d972c52a6e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/openapi.ts:3970 \u00B7 server/src/routes/openapi.ts:5271 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":3970}}}],"partialFingerprints":{"codehealthFindingId/v1":"160be512976cbaf122fdc79908460155f9b9af44524aabb7dbc95a808cbe8f5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/routes/openapi.ts:4056 \u00B7 server/src/routes/openapi.ts:4436 \u00B7 server/src/routes/openapi.ts:4873 \u00B7 server/src/routes/openapi.ts:5372 \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":"server/src/routes/openapi.ts"},"region":{"startLine":4056}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ee110a376aaa8b85d9287944324ba9a60da92a625d4a54c04eb598645a335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/openapi.ts:4651 \u00B7 server/src/routes/openapi.ts:6139 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f302b07e467fb458602bcfd6219990af33e2a95238e6eb37f3c244df67d081c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/projects.ts:322 \u00B7 server/src/routes/projects.ts:1046 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43ba956f48b0cef541d71b2e8069036ad56d97a90aa0d697e6c31a24b283820"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/projects.ts:592 \u00B7 server/src/routes/projects.ts:637 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"777713e8ac34911c420bdd27fa274d7e1cb811276ae8b92877310403709145f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/routes/status-cards.ts:201 \u00B7 server/src/routes/status-cards.ts:260 \u00B7 server/src/routes/status-cards.ts:299 \u00B7 server/src/routes/status-cards.ts:318 \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":"server/src/routes/status-cards.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ece9997164ea1c2b479752f2ec4384ef77b841f57e4a9c67ccce52e53f545a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/status-cards.ts:226 \u00B7 server/src/routes/status-cards.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":"server/src/routes/status-cards.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"878dc80cac46a57f854dbda3e0c0932f4b455415f0461db06336cec63591fe22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/tailscale-connections.ts:27 \u00B7 server/src/routes/tailscale-connections.ts:37 \u00B7 server/src/routes/tailscale-connections.ts:52 \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":"server/src/routes/tailscale-connections.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5595ed2e15c1e454607e9e3d86d8545ded951c53ad14f99d1accdc7fbdcc989e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/tool-access.ts:593 \u00B7 server/src/routes/tool-access.ts:605 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7992d42cd23f6a541359b51c28127c2b03b2130983c282d63bb24cdb6737300"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): server/src/routes/tool-access.ts:865 \u00B7 server/src/routes/tool-access.ts:913 \u00B7 server/src/routes/tool-access.ts:1656 \u00B7 server/src/routes/tool-access.ts:1671 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e991bd0dd411c0cb050de5a4941eb99b57a87c7646aab43cb66a11f3ca97a99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): server/src/routes/tool-access.ts:934 \u00B7 server/src/routes/tool-access.ts:1105 \u00B7 server/src/routes/tool-access.ts:1736 \u00B7 server/src/routes/tool-access.ts:1809 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff5fa8f22c30e21c76fb48e3b1ec3182715e990ff7b4fd8e61f5f6edb2647cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/tool-access.ts:1197 \u00B7 server/src/routes/tool-access.ts:1371 \u00B7 server/src/routes/tool-access.ts:1465 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac70e40c60ff7399065ba90b1950450b062b6b222f1ad08a24eb35a20bac9103"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/routes/tool-access.ts:2143 \u00B7 server/src/routes/tool-access.ts:2298 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0b53ac42be654226ff0a30567a8185d85140c545d2a4ffcb514d856b5f8a8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): server/src/routes/tool-access.ts:2176 \u00B7 server/src/routes/tool-access.ts:2181 \u00B7 server/src/routes/tool-access.ts:2186 \u00B7 server/src/routes/tool-access.ts:2197 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"485d922d939a59ea5a55781e7ab822be18caa9135ad02d1a3b60e077d2d4ab94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/tool-access.ts:2478 \u00B7 server/src/routes/tool-access.ts:2494 \u00B7 server/src/routes/tool-access.ts:2503 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a20eaff68b9b3f5a72bc88e5978d275b327b2ae1c86b02b415ab627412838b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/routes/tool-access.ts:2720 \u00B7 server/src/routes/tool-access.ts:2726 \u00B7 server/src/routes/tool-access.ts:2732 \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":"server/src/routes/tool-access.ts"},"region":{"startLine":2720}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac7691d460faa4b9d6f37237b0ba32dceabab22928614db9abdb7d10f5450c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/access.ts:260 \u00B7 server/src/services/access.ts:265 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25607316b10257804c4c06fd939b4218227fe3a040c0a1fa3a7b5500ed23ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/accounting-corrections.ts:50 \u00B7 server/src/services/billing-reconciliation.ts: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":"server/src/services/accounting-corrections.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafe33dcd7f63ec47f7bd0b538b8752c4cbe442b815f0d9a9ea3f39716735326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/acknowledged-native-stop.ts:117 \u00B7 server/src/services/cancelled-native-startup.ts:165 \u00B7 server/src/services/cancelled-native-startup.ts:301 \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":"server/src/services/acknowledged-native-stop.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"612b3415b4ecb95eeaa9b89d045e26203a406d2f233a13e06bbe980f67eb98a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/activity.ts:216 \u00B7 server/src/services/feedback.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":"server/src/services/activity.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4343bb9ea6eb34a52b64380a6891230fa7add21cee1ec44563ff49935895fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/agent-instruction-working-copies.ts:452 \u00B7 server/src/services/agent-instruction-working-copies.ts:536 \u00B7 server/src/services/agent-instruction-working-copies.ts:594 \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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc63fe1f995e8f17452b6f71cdba8e85983be9d01dd2308b49320323cd4c28c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/agent-instruction-working-copies.ts:541 \u00B7 server/src/services/agent-instruction-working-copies.ts:600 \u00B7 server/src/services/heartbeat/live-recovery-work.ts:43 \u00B7 server/src/services/heartbeat/scheduled-retry-cancellation.ts:23 \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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ae417365a92966e1cc51d3642bf4e172fad9876d3dfbbf94d70d988a87698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/agent-observability.ts:140 \u00B7 server/src/services/agent-observability.ts:168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-observability.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8777ebd69903b331b967e8da350b314ffdc0a770fa06126d35b43d032762965b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/agent-task-run-telemetry.ts:142 \u00B7 server/src/services/documents.ts:656 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-task-run-telemetry.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ae4573d187b8784db89d3445952c1e961cf4cb6f162dbfc17f72894a1331c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/ai-connections.ts:1063 \u00B7 server/src/services/ai-connections.ts:1166 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f78fd5983c8e53dcff0a4c28cf62ae8c7251c876aaf7e5e5c73a1f9895fcc86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/attention-receipts.ts:115 \u00B7 server/src/services/attention.ts:2942 \u00B7 server/src/services/attention.ts:3124 \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":"server/src/services/attention-receipts.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d3b919fc54d0d46c2d86fd367aa45c7e177cdf8d172e8166c93171eae83242"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/attention-receipts.ts:150 \u00B7 server/src/services/heartbeat-run-privacy.ts:226 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-receipts.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c4def025346041a3ff1679a7bed360be77adb0d351ce1e2d4929d6b1f18a61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/attention.ts:2341 \u00B7 server/src/services/decision-history.ts: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":"server/src/services/attention.ts"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadf0d465488dc71a5193c947b7d8392dd0a2b2db81ee38102b6073dbeb4823b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/authorization.ts:3136 \u00B7 server/src/services/authorization.ts:3142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":3136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9729e24de78bf3259ebdeaaf6ca6eb5d1fdf6c66302b645ba43e44e468464261"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/browser-use.ts:359 \u00B7 server/src/services/browser-use.ts:1595 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf44f9eff0d4efe6164e2b9ff6143d2280cd502edc4f721cac4b2f6458bcf83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/budgets.ts:277 \u00B7 server/src/services/issues.ts:875 \u00B7 server/src/services/native-runtime/child-review-outcomes.ts:31 \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":"server/src/services/budgets.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d1962c53ddbf4b1f6a7bca3785d26b88cd570363516c9e7633b7df376f1dbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/built-in-agents.ts:799 \u00B7 server/src/services/issue-prefix.ts:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4dae160f39fbc5b29a6479e8aae6fc83d039d9fa6908fca159b06a22822e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/built-in-agents.ts:1070 \u00B7 server/src/services/built-in-agents.ts:1141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa9e1fd259ac48b8b59ccbb9c45b050bf5a881d5ecf516bd42e13d9c4aca8c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/built-in-agents.ts:1625 \u00B7 server/src/services/built-in-agents.ts:1630 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"501491cad16231f6e729279fe30d74171234607b7c8591555c6eecc578c84837"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/chat-channels/github/acknowledgement-work.ts:55 \u00B7 server/src/services/chat-channels/github/review-check-work.ts:33 \u00B7 server/src/services/chat-channels/github/terminal-response-work.ts:66 \u00B7 server/src/services/native-runtime/native-review-response-work.ts:42 \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":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69d577f7b27677189f3c33912c313849464da5fc37d9eba828a1fe8516e608d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/github/review-check-work.ts:9 \u00B7 server/src/services/chat-channels/github/review-projection-work.ts:7 \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":"server/src/services/chat-channels/github/review-check-work.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"147329a8d58dccbe60657397f33f39f392e28b6b439202c297b8eece6bc2899a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/chat-channels/github/review-projection-work.ts:62 \u00B7 server/src/services/chat-channels/runtime/receiver-schedule.ts:29 \u00B7 server/src/services/native-runtime/native-recovery-notice-work.ts:15 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:53 \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":"server/src/services/chat-channels/github/review-projection-work.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"027b68e0b684cd38a361c75c5fd37dd93fb0fb1ab154d2d0c484062eb7aea477"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/authorization.ts:41 \u00B7 server/src/services/chat-channels/publications/failures.ts:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbde519a35d1b5be2ba04e49367056c1033f13ee71d0bcd6469b4be9fbc95c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/inbound/task-trust.ts:4 \u00B7 server/src/services/chat-interaction-continuation.ts:2 \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":"server/src/services/chat-channels/inbound/task-trust.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7694fea9d3fb15dbf672feb5409e0daed8cae5f02ec3d11486d6dbcc5095071"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:635 \u00B7 server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts:650 \u00B7 server/src/services/connectors/slack-document.ts:26 \u00B7 server/src/services/native-runtime/native-runner-file-handoff.ts:1215 \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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"5953957cceb1d8e4a5cb2ca3402976887368942e2b0a7c25a22f9f40e24a51df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/run-origin.ts:41 \u00B7 server/src/services/chat-channels/run-origin.ts:62 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/run-origin.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d02b615c4a6fc06508fb2b1f25700a751b7b67bb893d033f1d492f9a94cdb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/slack/cloud-ingress.ts:15 \u00B7 server/src/services/chat-github-cloud-ingress.ts: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":"server/src/services/chat-channels/slack/cloud-ingress.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f141793a2c148c8f2d4848b5318eb4d4894537dd85bb9f47a85a6b3cb2a1fac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/slack/form-owner.ts:158 \u00B7 server/src/services/chat-channels/slack/form-owner.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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"491a7c115ec5501b96ec77002c5a544f73feb533f6082773e65e596eb371c549"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/chat-channels/task-retry-authority.ts:19 \u00B7 server/src/services/failed-preparation-settlement.ts:85 \u00B7 server/src/services/native-runtime/native-safe-replacement.ts:707 \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":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"760bbb7ec72a9192f66f3fa8d90954e966a498a3bf9cd89713834cfcfe84e9d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-channels/task-retry-input.ts:81 \u00B7 server/src/services/fast-responses.ts:604 \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":"server/src/services/chat-channels/task-retry-input.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a582a20af6b510844b9f91a587dc7b59affd086842c7fef3f496d5887b4d1c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-github-reviews.ts:564 \u00B7 server/src/services/chat-github-reviews.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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ad25651671a3415fced7c2a34168db4c035c3f4dae426a42b13bd1d4169f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-provider-links.ts:33 \u00B7 server/src/services/chat-provider-links.ts:98 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-links.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"575d4737d14e6d77c95c305add53e809364c55eb8048ab65b410fde37c4f8cc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/chat-run-publications.ts:150 \u00B7 server/src/services/durable-chat-wakeup.ts:247 \u00B7 server/src/services/native-runtime/native-failed-run-owner-release.ts:492 \u00B7 server/src/services/native-runtime/native-response-presentation-query.ts:57 \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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a966bbce57f0fbded5919cad1b11a66db78926b299b2861b82854ead5fa6068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/chat-sdk-state.ts:196 \u00B7 server/src/services/chat-sdk-state.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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b28edfdd5e8bbd60a4f843cc74514c65359b468662dbe7ac1f093403da5f8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/company-portability.ts:2510 \u00B7 server/src/services/company-portability.ts:2529 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":2510}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d632f97bbb158aeb2517aae2090f38aaa13803374fa521da270bac119633d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/company-portability.ts:3839 \u00B7 server/src/services/company-skills.ts:1681 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":3839}}}],"partialFingerprints":{"codehealthFindingId/v1":"6167316ea9c80c839e7584d1455a20216e4903a8f2ba56b1d791e410b750f7fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/company-search.ts:282 \u00B7 server/src/services/company-search.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":"server/src/services/company-search.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"335de5b90f35fc888744056a0654a8963c63589f5f7e040e02bd1d3ce99c2489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/company-search.ts:992 \u00B7 server/src/services/execution-workspaces.ts:2840 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb047382527a22c7a0c1185ca3dc37d2276b7a299b8d59b60fbdf7ecd674bb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/company-skills.ts:3774 \u00B7 server/src/services/company-skills.ts:5058 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31f17d47e8a4c65f9d99c1ec7fb6cb8e96b02c7d7068efce94fa390555c6f2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/company-skills.ts:4102 \u00B7 server/src/services/company-skills.ts:4321 \u00B7 server/src/services/decision-queues.ts:437 \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":"server/src/services/company-skills.ts"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac23342d02944a7c37dfba4cf690d762631d0984539d9864f221e612d9d9499"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/company-skills.ts:4991 \u00B7 server/src/services/company-skills.ts:5040 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50bca76a1dfd34ce96f1f5558a009b971f40bc00b1d89a1bbe0a75212bdb7ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/connection-intent-delivery.ts:143 \u00B7 server/src/services/connection-intent-delivery.ts:155 \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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e3b428d116378abd835031d4fa4990890c448f64034e17d2f5e3a724493ac4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/connection-intents.ts:100 \u00B7 server/src/services/github-external-object-provider.ts:52 \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":"server/src/services/connection-intents.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f8c8abf84918c5dfd195cb8f74871b0712d6a1223c4acccb2d0f2ff4b72497"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/connection-management.ts:200 \u00B7 server/src/services/connection-management.ts:241 \u00B7 server/src/services/connection-management.ts:256 \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":"server/src/services/connection-management.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"36307f9a96b40d15ae59f4423e792fef74373f492e994c7ef409935c59a88b63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/connectors/onepassword/catalog.ts:7 \u00B7 server/src/services/connectors/supabase/index.ts:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/onepassword/catalog.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf40820c6f00fc50bfa6ad6154236a55028fedf94f29e4ca8f584af518357fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/connectors/slack/setup/completion.ts:13 \u00B7 server/src/services/connectors/slack/setup/registration.ts:122 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cb5283efd23056a5441ab01e53979941eae45140ed3e1758389c271dd39c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/connectors/supabase/index.ts:98 \u00B7 server/src/services/native-rest-client.ts: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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca39b83b22f87155646c4fd85b4a7a81810548eee585fd1692679b41b96a51c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/connectors/supabase/index.ts:108 \u00B7 server/src/services/connectors/vercel/index.ts:48 \u00B7 server/src/services/native-rest-client.ts:57 \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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"87444140e26967dae9ebf9eccdb4568835ea2b01c8a04b0b8107f7c6941b70f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/context-compaction.ts:123 \u00B7 server/src/services/issues.ts:11062 \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":"server/src/services/context-compaction.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bf7f1df6abd6b714781b25155096d01362d71934d533546f69af1af0729979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/decision-queues.ts:375 \u00B7 server/src/services/folders.ts:96 \u00B7 server/src/services/heartbeat/run-preparation.ts:2971 \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":"server/src/services/decision-queues.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"79983e8e7ea24d66a19c8d50a1eff31e5eb29c4952b485290fbdbb5e4233e43d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/decision-queues.ts:623 \u00B7 server/src/services/decision-retention.ts:394 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"acad599098c9cfe0dc6a5fe1acda6d4e928ccd1b78a59857a3254e0c625651c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/decision-queues.ts:681 \u00B7 server/src/services/environment-custom-images.ts:1261 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"827d9680364a13f07682d7c9f658fcc716d07345fe98064cb5a307654240b746"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/decisions.ts:219 \u00B7 server/src/services/decisions.ts:255 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"420959386542ec943d3df127df877d5df568be89fa70d80de2c26972e2777017"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/decisions.ts:416 \u00B7 server/src/services/decisions.ts:434 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decisions.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9245406a0e301fd5321aeedcfbba6510acabf445f6e34d384a8792fda5b845"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/documents.ts:742 \u00B7 server/src/services/documents.ts:794 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f2a9f2f893b2a2314783d78d596624a3838b6d0988d8fff4fefd3328eaadf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/dot-invitations.ts:50 \u00B7 server/src/services/muse-invitations.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":"server/src/services/dot-invitations.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"59befea9e066c21973eda783aab8c6d11dba65990c6f09ff6de45d0534a74520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/email-connections.ts:94 \u00B7 server/src/services/execution-control-reconciliation.ts:91 \u00B7 server/src/services/heartbeat/run-control.ts:1864 \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":"server/src/services/email-connections.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9ab2debdc049a6196cc04e430d79a0a1c9bbb89761521a049e91a23853ec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/environment-runtime.ts:3970 \u00B7 server/src/services/environment-runtime.ts:4220 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":3970}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889b0cbc41aa1cb86c482f453e459039cba985ac527334b18bab20cdb804870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/environment-teardown-claim-settlement.ts:32 \u00B7 server/src/services/native-runtime/native-accepted-result-lease-settlement.ts:56 \u00B7 server/src/services/native-runtime/native-token-lease-settlement.ts:72 \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":"server/src/services/environment-teardown-claim-settlement.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2b7cf790a1c1757a1f6a7874d7191edc2a3804b03af7e2e9bb2e0b8f34249b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/execution-continuation.ts:490 \u00B7 server/src/services/explicit-native-continuation.ts:831 \u00B7 server/src/services/fresh-workspace-continuation.ts:384 \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":"server/src/services/execution-continuation.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ef9f9051cd2370208890d812972ab10ae373dcbf7bee62d22457bd71a6197e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/execution-continuation.ts:511 \u00B7 server/src/services/heartbeat/run-control.ts:763 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-continuation.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3abefae73ba140b4f22e42e1bf7e9bbe8b2fb7c3dbc6bd624300094998ae20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/execution-control-reconciliation.ts:328 \u00B7 server/src/services/native-runtime/native-safe-replacement.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":"server/src/services/execution-control-reconciliation.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2a2e9d39933de4c4c10233bacd0d80209d37ffd06718679ef152c814c1c138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/execution-recovery-resolution.ts:354 \u00B7 server/src/services/native-runtime/native-monitor-delivery.ts:77 \u00B7 server/src/services/native-runtime/native-superseded-retry.ts:34 \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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fd6b494c674f1ca1a4403788af40b311d24a4f0bce77d99762d01f4f616cba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/execution-workspace-repositories.ts:434 \u00B7 server/src/services/execution-workspace-repositories.ts:613 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccfae292d8a5cb448565b470dae31a93d77fa79f64b7719c630ed175bdc69bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:3768 \u00B7 server/src/services/execution-workspaces.ts:3865 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ca12a50e28da9e285ef35ba41e4ac08e21568aa64397c6d99f13504a95681e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:4419 \u00B7 server/src/services/execution-workspaces.ts:4576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3875547ffcf3e7b8d2d2693dc5a1d88327f2d3d02fdece7d24cabc6d36ae87e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/execution-workspaces.ts:4712 \u00B7 server/src/services/execution-workspaces.ts:4723 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dfb652fbd9be1923f26c7c31f9a5f54348704ef6cd73a78ac6c242ffe9aaaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/explicit-native-continuation.ts:223 \u00B7 server/src/services/explicit-native-continuation.ts:235 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60921ab2dbaa571eaf2f60f246189cfb01474c02b3af714890b85af91d27c83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/explicit-native-continuation.ts:334 \u00B7 server/src/services/explicit-native-continuation.ts:449 \u00B7 server/src/services/explicit-native-continuation.ts:531 \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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e537b5ff6b15f8aa1bad90a5c68f19fb834d0f324f5db1653bf2b8705ac969e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/explicit-native-continuation.ts:795 \u00B7 server/src/services/mcp-skills.ts:302 \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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f7b89071ace1f64ee54be30a3809b1179efaa7b9c63e0ce2f95ebd31700792"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/external-objects.ts:873 \u00B7 server/src/services/external-objects.ts:1090 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314b4439c3d5a5bf69a9c5b18b104bb6bd627c01fa89f84f828a91e9ab324b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/external-objects.ts:1072 \u00B7 server/src/services/folders.ts:384 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:2153 \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":"server/src/services/external-objects.ts"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54d4d48729d3c545c9197193dbf0fd791aada31b50c3e9d34dd7875936924fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/feedback.ts:280 \u00B7 server/src/services/feedback.ts:285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fb0198e701f797559c0897ecb6f31e77dfde3cc14d3243acfd8c8702d4e447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/feedback.ts:819 \u00B7 server/src/services/issue-thread-interactions.ts:2384 \u00B7 server/src/services/issue-thread-interactions.ts:5512 \u00B7 server/src/services/issue-thread-interactions.ts:5798 \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":"server/src/services/feedback.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"728bdf11cd9dbeaccd14627d31a2d783d4dba923f094964f1e3c463c870ce747"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/finalized-workspace-recovery-migration.ts:25 \u00B7 server/src/services/native-runtime/remote-provider-pack-verification.ts: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":"server/src/services/finalized-workspace-recovery-migration.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"332acdb6375277c12d20b4d35dc265d160c08f4b30fbebe405701a6109f0030d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/fresh-workspace-continuation.ts:282 \u00B7 server/src/services/heartbeat/run-state.ts:2063 \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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d56a1fd9ed61057f14f1a569388583e2a4f97523dfcbdf9e7c7252314cf6ef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/git-credentials.ts:237 \u00B7 server/src/services/git-credentials.ts:303 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-credentials.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2640969d0acd7800d73db95186047177ab82e1e207885cc326497d920921b554"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/git-credentials.ts:511 \u00B7 server/src/services/native-runtime/runtime-context.ts:340 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-credentials.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f97842d61dd54c977d7961c23cb63acfaaf35eadd98ab0f22855a493b3f4f47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/github-commit-details.ts:49 \u00B7 server/src/services/github-external-object-provider.ts:73 \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":"server/src/services/github-commit-details.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab23296cf7f688ac8c7a9a8e7c3817c854a466818917e3a7c36a424af156c54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/github-external-object-provider.ts:280 \u00B7 server/src/services/github-external-object-provider.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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c37615fdead189991b30ecedd112a8a89c814e4a9d90e34b73772b2ca50c941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/heartbeat/case-handoff-lifecycle.ts:30 \u00B7 server/src/services/heartbeat/case-handoff-lifecycle.ts: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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76b75628f4abe001e0aa0dd43f9ae54aefec8dba852d5172dfa5afd656f5e3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/heartbeat/case-handoff-lifecycle.ts:175 \u00B7 server/src/services/heartbeat/runtime-execution.ts:1035 \u00B7 server/src/services/native-runtime/exhausted-finalization-retry.ts:139 \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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"32269b6080f54b2e094311c639434f7f1f35abc2cd8c4ebea6ad870a71dd59cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/heartbeat/restart-interrupted-turn.ts:175 \u00B7 server/src/services/native-runtime/provider-limit-resume.ts:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3276040287d335b62b7c04a3156ebdad6254f1babbee3d3fe46879bf96feb3f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/heartbeat/restart-interrupted-turn.ts:235 \u00B7 server/src/services/native-runtime/provider-limit-resume.ts:215 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e380e592fb56c8d418692c80fa9e924b3f708c7f972ae8eb12ed7e043b187eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/heartbeat/run-control.ts:870 \u00B7 server/src/services/heartbeat/run-control.ts:893 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e7e3523b3e3c853fc7a45a5aa9d94a1e82bd6fdc57cdf0b0971b42f4d6c627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/heartbeat/run-lifecycle.ts:1148 \u00B7 server/src/services/heartbeat/run-lifecycle.ts:1261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bda40413df4407f8221fd597d36fc568bf0648dadafa63e6a3a80db7107a88d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/heartbeat/scheduled-retry-cancellation.ts:25 \u00B7 server/src/services/native-runtime/native-environment-settlement-work.ts:63 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:45 \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":"server/src/services/heartbeat/scheduled-retry-cancellation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"98905fe536e86b8ff16a28c49d3333aa0acd063da065fe5d7e1ba0d7f1d8ad3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/heartbeat/timer-policy.ts:206 \u00B7 server/src/services/heartbeat/timer-policy.ts:221 \u00B7 server/src/services/heartbeat/timer-policy.ts:236 \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":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d4c8ac055ac10bdacd98913d113f9912cea60428802967ebbf429f1bd2153f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/hot-restart.ts:97 \u00B7 server/src/services/hot-restart.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":"server/src/services/hot-restart.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe497299346362821721ed5247a7e15f9487dbe51cf2d4b4a6c6b38d618f7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/idle-sleep-safety.ts:480 \u00B7 server/src/services/idle-sleep-safety.ts:488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94db9b18df00e05c2c55b502a6d4f7c5def81730c8aceab6c45acb6cc38b979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/instance-settings.ts:419 \u00B7 server/src/services/instance-settings.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":"server/src/services/instance-settings.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d63bb52f36c1db237a8fe9eafdb1732308a115e2db239c8b25d2b1c1b15d1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/issue-prefix.ts:131 \u00B7 server/src/services/issue-prefix.ts:136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-prefix.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"05edd0939c0d0ce5433c257f6a89e84806e4253240209b75414c0b5a882f3cf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/issue-thread-interactions.ts:672 \u00B7 server/src/services/native-runtime/provider-attempt-outcome.ts:112 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"c242f2b3b4cc84c2070c038526044c7e7c317025ec6c33db6f2a7a4ae63536c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/issues.ts:2871 \u00B7 server/src/services/issues.ts:8503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f674bec3a10fdf4ae831f567cfd654122860fcefb2e5db3492f00efc71c7f99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/legacy-controller-lease.ts:400 \u00B7 server/src/services/native-runtime/native-provider-artifact-capture.ts:174 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcf6e363703fc909fd658ee34c30af7e24703e79bb72fe9253de3dd02116da6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/live-run-recovery-notifications.ts:7 \u00B7 server/src/services/live-run-recovery-notifications.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":"server/src/services/live-run-recovery-notifications.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a192789254293e4773627b0035d25417f5ef09eb5fe1b435012eeb7ca9ff673b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/live-run-recovery-notifications.ts:18 \u00B7 server/src/services/live-run-recovery-notifications.ts:29 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/live-run-recovery-notifications.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa9efe8ed9364e352b1a1ed795ec2ebe128daddfcd246080855de372a558e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/local-ai-login.ts:130 \u00B7 server/src/services/local-ai-login.ts:380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-login.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9ce2d01ef84a98ed0e341152e26cbaac142506be1325c3a178375c7a00fc08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/local-ai-login.ts:284 \u00B7 server/src/services/local-ai-login.ts:373 \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":"server/src/services/local-ai-login.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4b6f142dffc21465218bb87e4ea2ef2fd70be2eb018a92fd44e006a2c090ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-harness-backup-expiration-notifications.ts:13 \u00B7 server/src/services/native-workspace-finalization-notifications.ts: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":"server/src/services/native-harness-backup-expiration-notifications.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"255e00adb0b6887e0689b7a3d0cbafbaf656b50ff2d96579f321b424e3668878"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-local-process-stop.ts:106 \u00B7 server/src/services/native-local-process-stop.ts:185 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c1a7c0e25f2fe4a95c9deff25487b39df39193714ed738db307b3f8cf98249"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-local-process-stop.ts:129 \u00B7 server/src/services/native-local-process-stop.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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d667f95b4ec90539f0675a2942161bc4ed1f52b9a983f9ac98026dc209acb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-local-process-stop.ts:250 \u00B7 server/src/services/native-runtime/native-controller-migration.ts:25 \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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa83b577eea41acf5234bf8074eee12ba3655ed61947b0038183db58ebb0833d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/chat-attachment-reuse.ts:1024 \u00B7 server/src/services/native-runtime/native-accepted-result-settlement.ts:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3e70f201385b77a7d09c712847afb2f96dbff87cd57ccf8deceb9d22f1751d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): server/src/services/native-runtime/child-review-outcomes.ts:34 \u00B7 server/src/services/native-runtime/external-review-wait.ts:42 \u00B7 server/src/services/native-runtime/native-plan-wait.ts:210 \u00B7 server/src/services/native-runtime/obsolete-policy-reviews.ts:31 \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":"server/src/services/native-runtime/child-review-outcomes.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f51e855c36dd224f8fa3643e9cca19849fa28eeba4214c1a8810b2c16cb79c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/evidence-classifier.ts:132 \u00B7 server/src/services/native-runtime/evidence-classifier.ts:248 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"727d6a9d2abbcc9333137713165d6fb009a6c3f0822244b6632d99df4fef2eaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/external-chat-question-response.ts:477 \u00B7 server/src/services/native-runtime/external-chat-question-response.ts:522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aacaa2bba6663a4e68ee3790a3648e305d2290b38e670c2267745cf621f3f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): server/src/services/native-runtime/native-accepted-result-lease-settlement.ts:71 \u00B7 server/src/services/native-runtime/native-environment-settlement-work.ts:40 \u00B7 server/src/services/native-runtime/native-response-presentation-query.ts:17 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:20 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-accepted-result-lease-settlement.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c995f9998292ca12e7f6955ca6216872085c07978c159e9c6a6b645b401896"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-case-tools.ts:64 \u00B7 server/src/services/native-runtime/native-workflow-tools.ts: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":"server/src/services/native-runtime/native-case-tools.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a8cb8be5da2568aac896c1276d61eb060871d0c8d5933027da1f50a1a05ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-controller-migration.ts:264 \u00B7 server/src/services/native-runtime/native-harness-backup-migration.ts:132 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"376caca9164adb209db6eaa0d0fb549df88ed18ef70a6bd3d6abcd39c2eb81b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-failed-workspace-recovery.ts:86 \u00B7 server/src/services/native-runtime/native-workspace-finalization-state.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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3599b8e855751fdcf6292e8568e26c7010b69b8605ade706954ea2ea7679aa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/native-runtime/native-harness-backup-stamp.ts:240 \u00B7 server/src/services/native-runtime/native-harness-filesystem-independence.ts:310 \u00B7 server/src/services/native-runtime/native-harness-filesystem-independence.ts:550 \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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6194f297d0eb3bde42c73db6e8adc143895bcb3f27fc4a5b703d21b4addc5ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:184 \u00B7 server/src/services/native-runtime/native-status-reassessment.ts:148 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fa7b1dbf61d68f9959c9b5e599df3063d25f85f18b31f715400628ac61bed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-interaction-bridge.ts:617 \u00B7 server/src/services/native-runtime/native-question-bridge.ts:108 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfbc390f09b973256862a39b51d2735fe630b03552e5de702ba753b00370b7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/native-runtime/native-pending-effect-work.ts:22 \u00B7 server/src/services/native-runtime/native-result-commit-work.ts:19 \u00B7 server/src/services/native-runtime/native-status-reassessment-work.ts:39 \u2014 the 3 copies are spread across 3 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-pending-effect-work.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69c4d36ffb1c5267536d78bf161301755ade67e2552e8b85eec90ceed0626ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-recovery-notices.ts:74 \u00B7 server/src/services/native-runtime/native-run-projection-work.ts:34 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-recovery-notices.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d076cd52a9a88f006665d43f11c98e3fc8d83969750723ca1079b81e6c6bbb29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-response-presentation-work.ts:13 \u00B7 server/src/services/native-runtime/native-review-response-work.ts: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":"server/src/services/native-runtime/native-response-presentation-work.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"690df65618ccc4f460707ffbce7688d939901e442548bfe4fbbfc9e049b021f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/native-runtime/native-restart-recovery.ts:206 \u00B7 server/src/services/native-runtime/native-restart-recovery.ts:216 \u00B7 server/src/services/native-runtime/native-restart-recovery.ts:245 \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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b3c076b155759b1e18d90c204a20215e8169d101fff9424daf81505812f679"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-review-dispatch.ts:26 \u00B7 server/src/services/native-runtime/native-review-dispatch.ts:33 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-review-dispatch.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e89709e34487d3e13ae340d72c387e33461a34bbd2bc9feea34dc94ec332bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-review-participant.ts:171 \u00B7 server/src/services/native-runtime/native-workspace-finalizer.ts:114 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a532570e0abb92ff413569dfa1592c3211a64e478007bb95a21de40d1cecd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:1287 \u00B7 server/src/services/native-runtime/native-run-finalizer.ts:1331 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c25e57c92ab6a798012d8601cc179828455585365a56e336e70d27438f500d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-run-finalizer.ts:2057 \u00B7 server/src/services/native-runtime/native-run-projection.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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"491bbec1027a377b568f17ae5d8533967ccc1acaae4ffafdfefd68e5299c696e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:4252 \u00B7 server/src/services/native-runtime/native-session-executor.ts:5065 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4594692ea9b00d4d3df44389474552e7518de7d669741fef70f293b668986fa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:7090 \u00B7 server/src/services/native-runtime/native-session-executor.ts:7097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7090}}}],"partialFingerprints":{"codehealthFindingId/v1":"692c8837e1ae1dc1471da0e8cbfbec5de9978bf9f6bd7186169dbd9a8f5b5474"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:8060 \u00B7 server/src/services/native-runtime/native-session-executor.ts:8067 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8060}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fe52f227fd4e51d3c4cff6c8a1961514c78e4adc170e0a1bf4111bed6976e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/native-session-executor.ts:12729 \u00B7 server/src/services/native-runtime/native-session-executor.ts:12968 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12729}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6d330887403823fd289192cb187bb0781354770e655eb0bf7ef22f7ec82cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/paperclip-control-plane-port.ts:278 \u00B7 server/src/services/native-runtime/paperclip-control-plane-port.ts:667 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"af73647a7afcbd8d4afe4d5f0006af631463d601fcad261c9dcc757086e4fe44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1125 \u00B7 server/src/services/native-runtime/paperclip-runner-tool-authority.ts:1251 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8639646874629a982e88e97827c4d63e69823683e98728e5403e2ed2b6475a92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): server/src/services/native-runtime/provider-profile.ts:208 \u00B7 server/src/services/native-runtime/provider-profile.ts:219 \u00B7 server/src/services/native-runtime/provider-profile.ts:229 \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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6b64940363f91b026418635922b4a86627e3be633426173e46477fac9efa57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/src/services/native-runtime/retained-provider-cache.ts:206 \u00B7 server/src/services/native-runtime/retained-provider-cache.ts:237 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-cache.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5293c2dc08f49dde1647fd59cd3f14966912247fc20f4b2e1e34ffc8880cbdb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: cli/src/commands/client/plugin.ts:4 reaches into another package with a relative path (../../../../packages/plugins/create-paperclip-plugin/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/plugin.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d43eb153325c1030fab71690cbbee8060a64cbe8fe8abc2f396c1982a52d4c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: cli/src/config/schema.ts:1 reaches into another package with a relative path (../../../packages/shared/src/config-schema.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a8eb5fd34e33404a2b08cd6e3c688be4bd8552c03951ad7cd153b23eef563"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: cli/src/telemetry.ts:2 reaches into another package with a relative path (../../packages/shared/src/telemetry/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/telemetry.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0207764f821d5bdf34cf05a2cc7f348597e38839062cf40b9977b7183eb5f8d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/paperclip-runner/scripts/controlled-evals/runtime.mjs:2 reaches into another package with a relative path (../../../../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/runtime.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"089076abada10088e8e6cde0fa8a5804bdd559551233756998e6086f85bfec0c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:1 imports tests/runner-e2e/cost-ledger.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd517408ff2d6142e80854eb89fb6125b29ddddd3a498892f9e019a3b7d0556f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:2 imports tests/runner-e2e/eval-gateway.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81f8bb2f7fc9f6ba0da07b796a172630e1cf8a773bd12f3a687383a06372161"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:3 imports tests/runner-e2e/operating-overhead.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b60148797ad8b5d4d93416c27ab0fa61e2d9689afa80d915f34cde381f964ca"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:4 imports tests/runner-e2e/eval-otlp-relay.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"df304c32af0505573b31cff8032c87287d9519f42347fa970f609a156a86bcc9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:5 imports tests/runner-e2e/eval-otlp-receipts.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"553c7ab0644b7e4054f5893641d5eaaf05be142f0020be50b4fcac90123acead"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:6 imports tests/runner-e2e/braintrust.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1fe19053a56df62bb04688632df97c3534e6ccf6a376de23f1368e6d77bb0d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:7 imports tests/runner-e2e/cost-bound-evidence.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a4f21278f047f11aaa980ca9e17b15ba71e0a3ea42560904265f6f66a9cb5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts:8 reaches into another package with a relative path (../../../adapter-utils/src/agent-observability.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/shared-cost-runtime.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca3c9a0391250b80a1db6ba3c0b8fa2980351b2207b35fd4215d5b2c0b44a5f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/scripts/generate-protocol-schema-module.mjs:5 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/generate-protocol-schema-module.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5764d55343fe6719fd8b683ba25d69c26e485ae9e08fed0ffb36f748883cca8b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/scripts/generate-protocol-schema-module.mjs:6 imports ajv/dist/standalone/index.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/generate-protocol-schema-module.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b15d48f019fe55d601e71052d6199f01e37ec55af366d73b7f94c8bda164e8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/paperclip-runner/scripts/grok-native-smoke.mjs:27 reaches into another package with a relative path (../../../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/grok-native-smoke.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2ff2d4e0ad45b1897500c08eba6dd76ce1dbe0b65cdf7d29bdafffa72de4dd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/scripts/lib/capability-inventory.mjs:4 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/lib/capability-inventory.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6810b3fdfd81971938382b7231ab006a7deb93c3c90f441f68a6c58b77458d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/scripts/protocol-contract.mjs:6 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6aeba7da162edade866ad8f2bdcddcecd68a1d9e3243df1f04e41c36898dbd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/paperclip-runner/scripts/runner-protocol-testops.mjs:8 imports tests/runner-e2e/chat-feature-testops-api.mjs, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a106b08c2589b5d670c4ecba4ae954745a833860d55b77e3c0ff9c8ad2900c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/src/drivers/tool-input-schema.ts:2 imports ajv/dist/2019.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/tool-input-schema.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9010040a5b59624caaaffb7ab3843fe4622d10fe2cf1d80dfdd83aaca5b15e5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/src/drivers/tool-input-schema.ts:3 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/tool-input-schema.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a4cf128a0494acbfb7356184e61971563861ed197698f24fd287cbaf16c754"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/src/semantic-tools/dispatcher.ts:2 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc92cff4a144c5a6cac616f1869c082378d1a16cae5af7ebc2e28aa7c5101388"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts:2 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"065f15bdb487da66012302d5a1e242c216a8b99007b1d7679b76b0b48d213ec8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/shared/scripts/generate-runner-skill-frontmatter.ts:5 reaches into another package with a relative path (../../paperclip-runner/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/scripts/generate-runner-skill-frontmatter.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f3f906ea38fabdfdc95a3085e58c55d60f82b762bc2c98b9352657c5472e5f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: scripts/__tests__/grok-public-install-sandbox.test.mjs:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/runner-binary.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":"scripts/__tests__/grok-public-install-sandbox.test.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"45599d12a7e80d2b0f5e53c70241b4d4796774b9b4d2697481ac8cd44b84273b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/agent-preflight.mjs:43 reaches into another package with a relative path (../packages/paperclip-runner/scripts/build-inputs.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/agent-preflight.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3028e2ee01c2dd5570a51bfac0e94f82f2e82663ebaefda6bfad81a9b40acec"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/backfill-issue-reference-mentions.ts:1 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/backfill-issue-reference-mentions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108692d9af634a85abb9f3a99ce1a8e03fac53d5497109c71454bacd385086d2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/backfill-issue-reference-mentions.ts:2 reaches into another package with a relative path (../server/src/config.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/backfill-issue-reference-mentions.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e434cf0a111368001f557897481d2b29aeae810ae901c2b05a06589d2e7bd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/backfill-issue-reference-mentions.ts:3 reaches into another package with a relative path (../server/src/services/issue-references.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/backfill-issue-reference-mentions.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8f8b5d08f3bf17b5c951e98d183ba800c02d3b300fb9b54b04c6decb1f579e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-authentication.ts:6 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-authentication.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f281758cd7e97761c209219c707c7a11c62303385eab0bb553021fa341e0564d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-authentication.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-authentication.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c3feb6f1e1cf495960492d4a5a68a74fb33386a79178e62a4d99ccadebbde"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-authentication.ts:8 reaches into another package with a relative path (../server/src/agent-run-cancellation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-authentication.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"32971066c2fbf20f8ed35c4196bbfca7c8737089b931a4e558ce1455bdb04650"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-authentication.ts:9 reaches into another package with a relative path (../server/src/middleware/agent-run-authentication.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-authentication.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4c863a7e6616695139f8dd915a12947c11883de3ed239d67c80fee2384edae"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:58 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d0e4e0ac5abf6f68f4491d69dc119096e7e8aa95241cec4c1c79ca81b26ebe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:60 reaches into another package with a relative path (../server/src/__tests__/helpers/database-statement-meter.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5921f4291f8fa3ba8c6067c23a889d2cc1552f5073eca6bb0401e63ceafddc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-agent-scaling-load.ts:60 imports server/src/__tests__/helpers/database-statement-meter.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5d0a13c71a151fde78bd1096e4b9b43b95008056560e2b6ee556b815e2b910"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:61 reaches into another package with a relative path (../server/src/agent-auth-jwt.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fd8067c8aa11d69f8cd1b4446ed70fb53f2f7296906c19d4ee86be2ff454b6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:62 reaches into another package with a relative path (../server/src/middleware/auth.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d255fdb6ab6dd64a4d577c3f3effe9442499fd2bbd6625a84c5e6c5d882251"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:63 reaches into another package with a relative path (../server/src/services/heartbeat-run-events.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc72015de15c2ad642e40ae4b73fd434fdfb75ace60761635f08d9e99f8f0e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:64 reaches into another package with a relative path (../server/src/services/native-runtime/native-execution-lease.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc74f3c7a8d0df29feebbc1619e8ab6419487ee4140f2d2b82fb367d6a9213f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:66 reaches into another package with a relative path (../server/src/services/native-runtime/native-runner-checkpoint.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5dab0580b2102555fb2a80e8b496beaa16d88d366148d007c7d28cec0369d1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:67 reaches into another package with a relative path (../server/src/services/run-identity.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6991b2f3c6ddca5a2ef45cdd4ca8fe551187cf072fa1fb0056a78f27ba7b90"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-agent-scaling-load.ts:69 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-agent-scaling-load.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3986f1fadba7f79fae4210fe7ed0ae9f764bd60fcc4df5bd7133b669af31f83"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-app-permission-save.ts:10 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-app-permission-save.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f139104fb0a555458d5d08bb4ea018fa7db33d836d7e51aa2ed098066e0d7f2c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-app-permission-save.ts:14 reaches into another package with a relative path (../server/src/services/tool-access.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-app-permission-save.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b94921b6ceeafd3f3092f3a736f00c513e59ac62565b148ff0fd575e2be762"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-app-permission-save.ts:15 reaches into another package with a relative path (../server/src/services/tool-access-policy.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-app-permission-save.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e4dac25b3ef5daf179ca1fb11e483080589bad6495c38e6833369b15e62547"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-app-permission-save.ts:30 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-app-permission-save.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cada6b74ee02e10631da3aa34e8424d2708e1380638e057fe5144d6af7c394"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-attention-retention-candidates.ts:17 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-attention-retention-candidates.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cce91a9609c9566629bb9197ceba2b2bc4da714546a10ff46ee36f32dedc7f1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-cancellation-scan.ts:11 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-cancellation-scan.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a163d8d6ae9b978031f16c2be560c0a8566d84da80cd0e2f8034ee9f651500aa"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-cancellation-scan.ts:12 reaches into another package with a relative path (../server/src/services/heartbeat/budget-cancellation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-cancellation-scan.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5d723da3dd2fb72da2b5363961e4dac3686db8dd042e17dcb9e09b6c3c5843"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-cancellation-scan.ts:18 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-cancellation-scan.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ac54b83a1dd275f5460f254f2c4014898a31f078c166e4065dbd393f7e25b9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-enforcement.ts:8 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-enforcement.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c5dffe549b5c6adb3f5403ff4643ce876046cdc2d36065db82b53cd3b4542"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-enforcement.ts:10 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-enforcement.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3776eb3596ae38690772d452215671bbce3cc4a66196277bb142ab1609f1fd4c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-enforcement.ts:39 reaches into another package with a relative path (../server/src/services/budgets.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-enforcement.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dac572ed6da6cd03a0a7db7fd11e5c8eae7501da1ac0e738164935f5f8dfd09"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-enforcement.ts:42 reaches into another package with a relative path (../server/src/services/budget-reservations.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-enforcement.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"802db16590bdc6fe5e8db3409d4560a9ea7e05ec0af37aebb635417956f6efa8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-budget-enforcement.ts:43 reaches into another package with a relative path (../server/src/modules/run-dispatch/adapters/postgres.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-budget-enforcement.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ea8d8e582bd1e551d0f4121dd8a20d071e87fbffd7cb5df291866895d60a8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-admission-index-migration.ts:13 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index-migration.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba624fec107f3063a606b49f7cac1b4660eab1a31b529252104036e694d8fc5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-admission-index-migration.ts:14 reaches into another package with a relative path (../server/src/__tests__/helpers/github-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index-migration.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea8148544f264b0773b862bfb9d08b38b3040f32c56ef7c8112d56595e9ff3e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-chat-admission-index-migration.ts:14 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index-migration.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eee628d63b44dea85d3199e8550c13f29b3ba2a8cb034544e1457122b1c3900"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-admission-index.ts:19 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9aa840fa5714d8984bebfd6fa4c9f579d08062e4fe0fca5cc5bf6705cc004e0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-admission-index.ts:20 reaches into another package with a relative path (../server/src/services/durable-chat-wakeup.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e674742ad7ea122c6c100907fa9e1e0a84c15fc79ac47b787218fd857dce2c5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-admission-index.ts:21 reaches into another package with a relative path (../server/src/__tests__/helpers/github-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e69f34cd7734b0a5e50059bb92ea452251fb22d3d4997c158d98f402269a90"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-chat-admission-index.ts:21 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3c835d5b764ed6c122462e5199302655d141bd993962e1655be581e0e35855"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-admission-index.ts:24 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-admission-index.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8408e1b2531e4c9b6dd59fccaf098d0c6ae46f44d46abf41694662916096fa4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-bound-authorization.ts:24 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-bound-authorization.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7095982a81646742b067208c2b710d555008db0b6ac040be0e548030e9c8da"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-bound-authorization.ts:25 reaches into another package with a relative path (../server/src/services/native-runtime/external-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-bound-authorization.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a4ee4dc2efc553d3c3ce4fdd94a38491cb1b834cd4e40c8022e2c1f9976339"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-bound-authorization.ts:26 reaches into another package with a relative path (../server/src/__tests__/helpers/bound-chat-authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-bound-authorization.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a899a0292b00bae2a7b71e810363871cbae4891b141b79e05bbe3c7307c32"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-chat-bound-authorization.ts:26 imports server/src/__tests__/helpers/bound-chat-authorization.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-bound-authorization.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ef9354fa2efe8d2ba7624d4eff26b6619e4edb5afa55bfc0a7d197c3e918cc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-milestones.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-milestones.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2af6e6a4907024c238c5337c76d9d8dbec9a596c39c8b72930e123fa68dd0b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-milestones.ts:8 reaches into another package with a relative path (../server/src/services/chat-run-publications.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-milestones.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"23996ae5b86e2c1e3902fcceac6ff606f9f3e75ff4ad2a689e7658138f227b8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-native-progress.mjs:5 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-native-progress.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffcf692f4f104734d096de748791d98c0c404e45a25ee9e139a372b648f1227"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-native-progress.mjs:207 reaches into another package with a relative path (../server/src/services/chat-run-publications.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-native-progress.mjs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7abf62c6ce62004645b1377390a962535a35264a5da6656fb8b46a30d62154d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-questions.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-questions.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1370ac5a006138fd25bf43603dcdb40efcd13c536792c3c3f1ac05f9e5cd6ff6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-questions.ts:8 reaches into another package with a relative path (../server/src/services/conversation-decision-receipts.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-questions.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f94f9d2568ca5cae0493c0c48d694265585b3f5514ab9bc5073c560a77287"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-questions.ts:9 reaches into another package with a relative path (../server/src/services/attention.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-questions.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5add949d905b484059935056fd7d1d7e9b6ae49643f0b686ae5287871c5ff127"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-questions.ts:10 reaches into another package with a relative path (../server/src/__tests__/helpers/external-test-database.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-questions.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b94f3ac3ec950b4eac125404cf108edceb44cf0b1556846fd3c68da061b108d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-chat-questions.ts:10 imports server/src/__tests__/helpers/external-test-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-questions.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73d6a84eb85a410c11a5e0b51f985f7af2df7296729cd8dfe8f01e40edf9e59"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-reply-lineage.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-reply-lineage.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"024cb7fc65745e8a2406a77a3ee8feb6d79d230edebbb56bf78c56614b427bfc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-reply-lineage.ts:8 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-reply-lineage.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8969fa7b1a72dcf6e422021d6caec115071a14bb882f4ac24b33a2041d9957"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-reply-lineage.ts:9 reaches into another package with a relative path (../server/src/__tests__/helpers/chat-reply-lineage.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-reply-lineage.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c11b8b421ea31c945bb432d1cb2eadad7b0c4d42ad96b433d54d1e76d52d89d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-chat-reply-lineage.ts:9 imports server/src/__tests__/helpers/chat-reply-lineage.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-reply-lineage.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"24afd0210b193f47b4e833be74c19842e7ebface7293a89bf2fd76daaa178573"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-chat-reply-lineage.ts:10 reaches into another package with a relative path (../server/src/__tests__/helpers/external-test-database.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-reply-lineage.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42b48620c9177f94110d7b83b8acb963de934bb54bda807fb9fe7cc67a4cae7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-chat-reply-lineage.ts:10 imports server/src/__tests__/helpers/external-test-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-chat-reply-lineage.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cb39b0367c959ad1bc070898f99ac46c91f364d76733916b8ee1de79d25be9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-cloud-membership-sync.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-cloud-membership-sync.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d860aa144ae868cf17dc0aba02740ca1d88cbfa82ce6a74d91ccfe69dab898b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-cloud-membership-sync.ts:10 reaches into another package with a relative path (../server/src/middleware/auth.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-cloud-membership-sync.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c55f6aad8388b21542928bc1c7b63e6e638bdd16abc4f107163059f37a38dfc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-comment-wake-check.ts:21 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-comment-wake-check.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9fc57b952bcd93aed630912c53873f15e126b3c6fdcd66c9a87872ddd4bbc9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-comment-wake-check.ts:47 reaches into another package with a relative path (../server/src/services/recovery/ownership-invariant-report.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-comment-wake-check.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"478512c6028ad93ba94ce3429474ed332883fcf0f26e37c7c1d7fd085f80e032"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-connection-install-capabilities.ts:9 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-connection-install-capabilities.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c1059eeb727fd5cd3732e7c8fcfbe65cedd70bcf0b46726f7ab6cb51b19bce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-connection-install-capabilities.ts:13 reaches into another package with a relative path (../server/src/services/connection-management.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-connection-install-capabilities.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e8046003b4c72e25e771e963329fa65344c0b3c0ac88954a45714c71119c74"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-connection-install-capabilities.ts:14 reaches into another package with a relative path (../server/src/services/authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-connection-install-capabilities.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54eb655ac26a4782c0a6500d58a4d0de686483f4b7d30e4f51ffe4683b4e905"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-connection-install-capabilities.ts:34 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-connection-install-capabilities.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc86fcdb568f7ba9090d48443eb8bf64682bbad1b9dfc4b46e187b82fde037c3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-connection-install-capabilities.ts:45 reaches into another package with a relative path (../server/src/services/connection-management.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-connection-install-capabilities.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed9a5e50b09f241a22be0ce3c3310169ed59dd23a3adb913b13dd1dcf81e0c1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-history.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-history.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b92de0e99390d8e05c79230a9466f49d74f373e8386ae9a5ebc1e9a9209db69"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-history.ts:8 reaches into another package with a relative path (../server/src/services/execution-continuation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-history.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"536468249a35bda8e909c6bf1dfb58049eaf63a80049039c33a24eb5d3365844"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-history.ts:9 reaches into another package with a relative path (../server/src/services/conversation-continuation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-history.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3ec54293f05bc9818b7bbe6bb5b3248b2647ce1f28fa21809d10097c48b751"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-history.ts:10 reaches into another package with a relative path (../server/src/__tests__/helpers/external-test-database.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-history.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795f62d2e5e9bd9d09ae4c54c8985292d4ae354722a1c53ad446294741adad5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-continuation-history.ts:10 imports server/src/__tests__/helpers/external-test-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-history.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e534d91e35e08385437af4258ba28a3ac2423b1f1cfa0952ae8cc46b031d6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-run-reads.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-run-reads.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3b1681641114957e4ffb68b99cd8b06dd87a65cf70d2e0a401300a3afdd4a8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-run-reads.ts:9 reaches into another package with a relative path (../server/src/services/explicit-native-continuation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-run-reads.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"94afdaf1a989752bce8aab553bac763570e36cae8be6d3bf1cae20abe6dd477a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-continuation-run-reads.ts:10 reaches into another package with a relative path (../server/src/__tests__/helpers/external-test-database.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-run-reads.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"289080d8bc220bac354641fa99fd9838603743cb7636bf4c2a88e511547f30b3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-continuation-run-reads.ts:10 imports server/src/__tests__/helpers/external-test-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-continuation-run-reads.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab292f284812904a8e7fd25817508bf62434ec0964f16bcc34c6576391d89f4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-created-from-issues.ts:25 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-created-from-issues.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d884b11e2ca6b0bc88924cd0aa7a3ee704025fc4245a8b1ab708987a4d10c6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-created-from-issues.ts:26 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-created-from-issues.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9cb64614f4e4cae3cd4ba7d59018b55fa768286a04e4c4d61e459c1f13b4c4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-created-from-issues.ts:27 reaches into another package with a relative path (../server/src/services/authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-created-from-issues.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46886570b89bb65d8042212604f9fb196de66c97d5621e5ceb3fd2e93c257c2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-created-from-issues.ts:58 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-created-from-issues.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4416934b3af10915f21fab34ae707ac33680456a32f26c99ad70d303d35526cb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-environment-lease-backup-lookup.ts:23 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-environment-lease-backup-lookup.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89569109bdb4c1b10a9f5928513bc941c9cb0e7088679546c74f6acfea194e4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-environment-lease-backup-lookup.ts:24 reaches into another package with a relative path (../server/src/services/native-runtime/native-harness-backup-expiration.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-environment-lease-backup-lookup.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8fd9ff13a7fb770985c9334aba616b9fcaeacb58a8fd8a60fd9917006fbeb7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-exhausted-run-attention.ts:17 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-exhausted-run-attention.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc70bd34db9d471d84d8835f5f4c078414984757181645bd6130afa9a36ea4c3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-exhausted-run-attention.ts:18 reaches into another package with a relative path (../server/src/services/attention-exhausted-runs.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-exhausted-run-attention.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"49611c44838bc1f3c6992ace6dbcf3d4a5f70ef51edbb0795f8d98adfdc5742f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-fresh-continuation-deadline.ts:15 reaches into another package with a relative path (../packages/shared/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-fresh-continuation-deadline.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53f3856dd188053a0035c863fa4d05e9d67028492dd5ffcfc2e05ba87a73434"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-fresh-continuation-deadline.ts:16 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-fresh-continuation-deadline.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc090f13f4635092a40908fa491ba0851a1da4d124d0b644cdc6f2bfb08e72d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-fresh-continuation-deadline.ts:17 reaches into another package with a relative path (../server/src/services/fresh-continuation-fallback.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-fresh-continuation-deadline.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc296cd926d3989d26c5b3cf5b73cb344a7f00b4bc29d26ffa40109b8bb44bf0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-response-run-state.ts:6 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-response-run-state.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f60532c3eb74cd2d49510e646777ce739963994c7d26eb1704b7e20dbb06f5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-response-run-state.ts:7 reaches into another package with a relative path (../server/src/services/chat-channels/github/response-run-state.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-response-run-state.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97bc3f142b96795191b3b8daed68a5aeaa54e8a838792dab07195b74da36c81"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-response-run-state.ts:94 reaches into another package with a relative path (../server/src/services/chat-channels/github/response-run-state.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-response-run-state.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c5f4e762e97a1636e685ef512d2ba353ed4d642a438e0d14147b6a00fd4dc8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-review-wait.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-review-wait.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c61b4adb753fdac3e6394f6113170e5554f00921b55893c5a3180d4a226f9d7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-review-wait.ts:8 reaches into another package with a relative path (../server/src/services/chat-channels/github/review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-review-wait.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9131ed8388a1568d75c76fd3ddc59b195d8e1194340d503eb32ae7c81e9a0f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-review-wait.ts:9 reaches into another package with a relative path (../server/src/__tests__/helpers/github-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-review-wait.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5dc93c2326a81bb1d4e15f787c43ee52a3876ade12c1ea24ce89b7071dbb1f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-github-review-wait.ts:9 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-review-wait.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4d49dcd43a6dbaccaa1ed365a61f81553c9c27cc89a3618bcae4274c7e9cb5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-review-wait.ts:31 reaches into another package with a relative path (../server/src/services/chat-channels/github/review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-review-wait.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dcad6cbf65bbd6593964d275f1bf8963690fa518a85623224b8716602b705f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-terminal-response-sweep.ts:6 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-terminal-response-sweep.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80dda35f616d1bd9f39aa441cbea27e6935b5e9347a00dca6c1a7d72556904c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-terminal-response-sweep.ts:7 reaches into another package with a relative path (../server/src/services/chat-channels/github/terminal-response-work.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-terminal-response-sweep.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf47f3bd70a685ee6b3466c2196e4e8bf0ea393c906bae2be1ba243bc773f3d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-terminal-response-sweep.ts:8 reaches into another package with a relative path (../server/src/__tests__/helpers/github-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-terminal-response-sweep.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c322d3f71574c140b1ff5794b8b5fce3ddff7bf02cd47b0b3827bd39f9f50f2c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-github-terminal-response-sweep.ts:8 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-terminal-response-sweep.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4aa64fddbd776a422ca0d9be98a6249891a700ce54f64285b4a94e85b4f1d72"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-terminal-response-sweep.ts:108 reaches into another package with a relative path (../server/src/services/chat-channels/github/terminal-response-work.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-terminal-response-sweep.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9146e5bceb41498a83e3653a814e72657e2acab4c8f03ad1e28fa2a88cf8a2c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-webhook-ingress.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcac14cad5c9023abd9b824bef5ecf3ecdaa26d90c9f873810e42872b5635d3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-webhook-ingress.ts:8 reaches into another package with a relative path (../server/src/__tests__/helpers/full-database-response-capture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1774bb4411f04101ac81c340e714debf34bc83729c46ba6a5db505a21fe83a62"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-github-webhook-ingress.ts:8 imports server/src/__tests__/helpers/full-database-response-capture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afdd01eeb7daf80618485c3dbd0b12dec978034d95259d894cc1ac35fa60527"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-webhook-ingress.ts:9 reaches into another package with a relative path (../server/src/services/chat-channels/github/webhook-ingress.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa65dea566525a0e13f042ed858ff6b57184ca2950ec838899ebf45aab6504f6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-webhook-ingress.ts:10 reaches into another package with a relative path (../server/src/__tests__/helpers/github-webhook-ingress.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed53314589498348b57fafd63e57d2eeaada31b2dc54e1bac550044d68c1c7c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-github-webhook-ingress.ts:10 imports server/src/__tests__/helpers/github-webhook-ingress.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef7eb2f67cdc2ec5980e2096a54984b973df14b6dc98ee3a5c5675a9577827"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-webhook-ingress.ts:11 reaches into another package with a relative path (../server/src/__tests__/helpers/external-test-database.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8128f0bd55ae64137aa18c0af7cbb4a302b47c5e3c6c90e79ddda97f8c74051d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-github-webhook-ingress.ts:11 imports server/src/__tests__/helpers/external-test-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b52878de75b8f23d91346636b610f4d5d5e06de9eb0e8e90eb3ad47bc58d4aa"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-github-webhook-ingress.ts:12 reaches into another package with a relative path (../server/src/services/chat-action-work.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-github-webhook-ingress.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a97acb86b442caf416d0274962ab5133b16cd1a648bd4abf5a87253cdc1f41f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbound-queue-discovery.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbound-queue-discovery.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a3b5000372c47d5f891aeaee0ffe3c2965913caca02d83c30ff5fd53d213ea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbound-queue-discovery.ts:8 reaches into another package with a relative path (../server/src/__tests__/helpers/inbound-discovery-fixture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbound-queue-discovery.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06207cfd6cf9d3cc305c273e17c34c86e0373a1cc78d65ad0ec902a1a445737"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-inbound-queue-discovery.ts:8 imports server/src/__tests__/helpers/inbound-discovery-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbound-queue-discovery.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9167a8867c103d775e722b6d756a9274dab45dfb70d253ba1be4c4d43d11df22"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbox-mine.ts:20 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbox-mine.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389f7f57c83a8ea23321461a1717d7e17b1fb0992f6199ecdfb0f48a2f8c694"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbox-mine.ts:21 reaches into another package with a relative path (../packages/shared/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbox-mine.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b9715eeffec3a014500237ff48d4d7aa4bc124df3074da59c4762e1444a05d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbox-mine.ts:22 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbox-mine.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"860aeb41515627c04b4f8ea9c68d7df9ff62a0b5e23c229ae0e70fd67f09a21b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbox-mine.ts:23 reaches into another package with a relative path (../server/src/services/authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbox-mine.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a652c87e28a98d4506ac7cedbfb450b54c60cdf83a982125306469ce6046860"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-inbox-mine.ts:51 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-inbox-mine.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d2f99409ce584eb7216474bd20e77d94754e05a1961fc8520872c1fca8e8a0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-mine-unread-badge.ts:7 reaches into another package with a relative path (../server/node_modules/drizzle-orm/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-mine-unread-badge.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f21d1ddc636f0c423fc8ecf32635a62164c717de8a1f4c124f7d3459ec6dee0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-mine-unread-badge.ts:8 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-mine-unread-badge.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea71a02d757e4b00821c60be372df54da208c4500f2ddda2fe9e5fffa8143cb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-mine-unread-badge.ts:9 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-mine-unread-badge.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3653c76df1f787f28be7301e96f77924cc8d56217b145283ce12def2af1dda27"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-mine-unread-badge.ts:10 reaches into another package with a relative path (../server/src/services/authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-mine-unread-badge.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"43805f0d4c922c96dac3ed087e77c266c05d8e56d9bb032a1301a507a82a4550"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-mine-unread-badge.ts:86 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-mine-unread-badge.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c94295168005f6cdff81a6f98f0fc1b4e87e79b081525ba6b13642477e87604"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-native-session-resume-reads.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-native-session-resume-reads.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7295c8135505e945a8d5758f2c02c921e90b57d477eb63254a837a9d306c9b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-native-session-resume-reads.ts:8 reaches into another package with a relative path (../server/src/services/native-runtime/native-session-resume.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-native-session-resume-reads.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8e8435272169df77bb2f7db6567c5e7b71a08d33eca3f8c54a7a7c87cfb14e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-native-session-resume-reads.ts:9 reaches into another package with a relative path (../server/src/__tests__/helpers/external-test-database.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-native-session-resume-reads.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4a1ff25a958e238ef6ee209254b804db38a9bd09acb50c458d8a8fd631dbce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-native-session-resume-reads.ts:9 imports server/src/__tests__/helpers/external-test-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-native-session-resume-reads.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbd75d410c87a854c1a13c5cef8cda247c5a189b784829ebbfdb48b6078bc8d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-native-session-run-index.ts:22 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-native-session-run-index.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"610dccc72b952b811bc48ae997785a8311542e93125b9d27d57b9740d05fe0a5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-native-session-run-index.ts:24 reaches into another package with a relative path (../server/src/services/native-runtime/native-harness-backup-expiration.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-native-session-run-index.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18a1f7f8c03875a0d1733fff01771cae5053790dca57d005b0324c333b19e20"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-plugin-lifecycle-inbox.ts:11 reaches into another package with a relative path (../packages/db/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-plugin-lifecycle-inbox.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6954fa6298982d3ff74d30794950a303fd79cc44350c66c160d047a109e0f40b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-plugin-lifecycle-inbox.ts:12 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-plugin-lifecycle-inbox.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d041473b17649ebb61a68a11a9be6fec798fb8c5d324db53c311156467ccbb03"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-plugin-lifecycle-inbox.ts:13 reaches into another package with a relative path (../server/src/services/plugin-lifecycle-inbox.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-plugin-lifecycle-inbox.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"21609a3a32444ddca0fa30e14538e9055243bab0fb0deceea5eaa183d2e2a96f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-plugin-lifecycle-inbox.ts:25 reaches into another package with a relative path (../packages/db/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-plugin-lifecycle-inbox.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca84834518400d4c3a471d875fb3c94fcbdebcdc5574bb71e0c2514bd411ca9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-queued-comment-consumption.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-queued-comment-consumption.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c408279c7193faf0a74ab9f446133159811fff9dbea2008983c6e5d24edf56d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-queued-comment-consumption.ts:8 reaches into another package with a relative path (../server/src/services/execution-blocker.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-queued-comment-consumption.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a8e9c837d9b2daa28441eb5f8489892bdd70c21dd97e0e794cb18b730a5d3b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-queued-comment-consumption.ts:9 reaches into another package with a relative path (../server/src/__tests__/helpers/queued-comment-consumption-fixture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-queued-comment-consumption.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d4158eb329df3b8d41dd7785fa4619575b2afdcb930d9b34061ca473bf4c92"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-queued-comment-consumption.ts:9 imports server/src/__tests__/helpers/queued-comment-consumption-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-queued-comment-consumption.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9128cff81ab30277d9125918b94a5a653efdd95cb0b13549a81fc54b04d9f7ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-queries.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-queries.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d642642ab0427c9aac0afc2304d7c71de994c92c1de2378f777dccaffb51a7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-queries.ts:8 reaches into another package with a relative path (../server/src/services/conversation-continuation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-queries.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11501fb04084e6d6eab5f9a0066ff5c76d9b1de569499b8995f548dd835c44c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-queries.ts:9 reaches into another package with a relative path (../server/src/services/execution-blocker.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-queries.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe06e1844f66a0bae7e00ca0bdf80bab44924477c78fc33e6ed2de3f20275732"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-queries.ts:10 reaches into another package with a relative path (../server/src/services/execution-status-delivery.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-queries.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95cb1a6a20fee15cb2632c29609ae5ba39eba572c4e9eabd9bfab5965d34ef6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:27 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"628e4c6b0578b7fb8d1ac7c3736e82e7ba00fe18de24df068138709211f5082f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:28 reaches into another package with a relative path (../packages/db/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2a84a521427e60957ed6b764d13273cb7e886bda832075629a1920fa0cbb3d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:31 reaches into another package with a relative path (../packages/db/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"65521bee3ac19c423c86fecccf718c21b5e2bcb408d8fad981783d7cddf603dc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:68 reaches into another package with a relative path (../server/src/services/recovery/ownership-invariant-report.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c7372c43134ea85ee13573a20ba4e22a1eaaae2409a87283f80e4ca2c449cb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:69 reaches into another package with a relative path (../server/src/services/workspace-recovery-fallback-discovery.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6726e770d9dbae091fa3907eaa264f462e020f8fde8f42253da58ad8064ee571"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:80 reaches into another package with a relative path (../server/src/services/recovery/ownership-invariant-report.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"add5fc259e88ff9dd48ac65a83df27a795a70d280637e7f188a51bb78e6330ce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:81 reaches into another package with a relative path (../server/src/services/workspace-recovery-fallback-discovery.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"252997c92ad0a0d00b0ace1c7df3acc5205a0bcc9b08db7b58824fb86d269bb0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:82 reaches into another package with a relative path (../server/src/services/system-recovery.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d945ffb902ecb920a4955b516770990a8ae8e8e8ee6d138866bd5d48e917ac6b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-recovery-status-checks.ts:99 reaches into another package with a relative path (../server/src/services/system-recovery.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-recovery-status-checks.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5441b8cd6c92266ff19d83aebc8d9b52579366a076640d4eb30672388f8ff9dd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-repository-object-cache.ts:9 reaches into another package with a relative path (../server/src/services/managed-repository-checkout.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-repository-object-cache.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c30398cd20c0efeb4351ca1bf61cb6af8ecbbfe8601ddb250f591d6f1cc0ae"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-retained-ui-assets.ts:11 reaches into another package with a relative path (../server/src/retained-ui-assets.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-retained-ui-assets.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cad7ea8020f4ba46a8dc15f01e4c6f88c78cbb89d4972bfc61fda0dd16b41e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-retained-ui-assets.ts:12 reaches into another package with a relative path (../server/src/storage/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-retained-ui-assets.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb6e5763d3e8708dc44a01e3f8d3f230bcdc251bbfefaead130b87464c25a08"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-review-lookup-index-migration.ts:12 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-index-migration.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"999241b6b615d51f9d223cf07d76c4cb1198ef1ba032bdd2c9816ccbebe8b5b5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-review-lookup-index-migration.ts:13 reaches into another package with a relative path (../server/src/__tests__/helpers/github-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-index-migration.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4e346d31567b8c51a447d252843dc3e467d606af4ef80ff20f66f3991173ee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-review-lookup-index-migration.ts:13 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-index-migration.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cfdc7d0c8e159a59f9c88d288c54af04a1527996dd9efaade512c4a41a0e8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-review-lookup-indexes.ts:21 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-indexes.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d22fe10fb0201e23d332920128182af58db8e7217696bb5de9abc1104834b73"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-review-lookup-indexes.ts:22 reaches into another package with a relative path (../server/src/services/chat-channels/github/review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-indexes.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ae14b5e668dd38ef7ccd474846b060476dde076b376d33a3d10a208a70405f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-review-lookup-indexes.ts:23 reaches into another package with a relative path (../server/src/services/chat-channels/github/review-check-state.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-indexes.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c6e70dfbe2c8bc9fa7f8ebd21248c8cca77ec2da7eac91700be26ccfd9e198"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-review-lookup-indexes.ts:24 reaches into another package with a relative path (../server/src/__tests__/helpers/github-review-wait.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-indexes.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b788d50128c7ec24c966ad7f1890caa51e37d39484d21416c2dac92ca2e27b03"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-review-lookup-indexes.ts:24 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-review-lookup-indexes.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c42705d101ec0be935f7154166559d63bc126fd6150e11b75526fbc46c50f5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-event-checkpoint-lock.ts:35 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-event-checkpoint-lock.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a8088994ae9be5369df08b27ac85f1cff55b94f4120272e6a87065085563b2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-event-checkpoint-lock.ts:37 reaches into another package with a relative path (../server/src/services/heartbeat-run-events.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-event-checkpoint-lock.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be36f5885d7e7f80aa42254713c31d3bd3692469056b2b5fc4f03da8528ca1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-event-checkpoint-lock.ts:38 reaches into another package with a relative path (../server/src/services/native-runtime/native-runner-checkpoint.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-event-checkpoint-lock.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"548589c1fd6a2036b92e8e038fc796f6e9b46745ce6350b702b09475f6d4808b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-event-checkpoint-lock.ts:40 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-event-checkpoint-lock.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5205b5b6e9d6aa10d82fb430e3b1b10b7c7f34799090248d2ea3a0b0a8ec390e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-history.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-history.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6444a8c2ffb460470aeabf65d6080e484e0552ff9138aa36bdd454a972bc13c5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-history.ts:8 reaches into another package with a relative path (../server/src/services/heartbeat/run-state.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-history.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e57d899859b5dcd26e046f51852921c56a9f3350c6a3136d40026b732d6189e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-history.ts:28 reaches into another package with a relative path (../server/src/services/heartbeat/run-state.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-history.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d746acb42f826af669a7b6750b301194f8bbf333b4d3326c6b9c5baa761ef6ea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-identity-projections.ts:6 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-identity-projections.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5edc815a2f9a1fdcd358399c3da1f8910686a817663fbc16f0b406868537b24"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-identity-projections.ts:7 reaches into another package with a relative path (../server/src/services/run-identity.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-identity-projections.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13ec86951852042f7a6c437cde9ff3f608d3e3d031e66354ab0038be9ef7fe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-identity-projections.ts:8 reaches into another package with a relative path (../server/src/__tests__/helpers/run-identity-projection-fixture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-identity-projections.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b4e3e9ec1997590bd5abd3a7332b09775e61566f57149a10a80328d5df08bf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-run-identity-projections.ts:8 imports server/src/__tests__/helpers/run-identity-projection-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-identity-projections.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c032580eb49e69b3a8822c7caf9ac6153bbf0699e0984577085e3eb189ef27f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-identity-projections.ts:33 reaches into another package with a relative path (../server/src/services/run-identity.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-identity-projections.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9551d07b5fb9cdcc592e14e8474de4580cad8f7cb7e8eed92ba5e5ab2b8739d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-liveness-backfill.ts:8 reaches into another package with a relative path (../server/node_modules/drizzle-orm/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-liveness-backfill.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6e7feeb912bf55b541e0d60238cefdb5044d70ede23cafbac7e1e4ec831e18"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-liveness-backfill.ts:9 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-liveness-backfill.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8698ea4842ff32395dc89e4c78497b7727a9d34cc96fa2a185139f0d71ea14"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-run-liveness-backfill.ts:11 reaches into another package with a relative path (../server/src/services/run-liveness-backfill-query.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-run-liveness-backfill.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1086ecc4dfd27ea2fcafd42978534794de4fc191f30ee87698b108bc984bc5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-runner-checkpoint-backlog.ts:6 reaches into another package with a relative path (../packages/paperclip-runner/src/control-plane/durable-prp-control-plane.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-runner-checkpoint-backlog.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4f6318346b4b4b192b888b61812ffe7cff3781d3f5d87ce89189d979a1924b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-sidebar-badges.ts:6 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-sidebar-badges.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5d97c3c32d689aca6e0e16cb14664299b47a6dc45aa222390beb5e755557dc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-sidebar-badges.ts:7 reaches into another package with a relative path (../server/src/services/sidebar-badges.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-sidebar-badges.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"72275df458894e738bfd9a500558eb42ad7dc0b0bc9936b79508bd67a750a888"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-sidebar-badges.ts:8 reaches into another package with a relative path (../server/src/__tests__/helpers/sidebar-badges-fixture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-sidebar-badges.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f11762a72706227270939301c1784930eb461ac2d6d987c602669bea85f054"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-sidebar-badges.ts:8 imports server/src/__tests__/helpers/sidebar-badges-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-sidebar-badges.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6fb340c9e35855fd51624ac8ef763b3f83c18737d8f6c7c357469bb1bcfa40"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-sidebar-badges.ts:33 reaches into another package with a relative path (../server/src/services/sidebar-badges.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-sidebar-badges.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5968078b19f79825af1dcbae91085afea765eacd4263412319ee320290559d8f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-skill-preparation.ts:9 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-skill-preparation.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ca4dde634142ca0312c2d7c94c85c53f79b563418ee33f3569ddd58b7d411"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-skill-preparation.ts:10 reaches into another package with a relative path (../server/src/services/runtime-skill-cache.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-skill-preparation.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2415b5944975407e0c0fcc1ac0b8503c4b6864c1e2d51e34296c32bd9afc9a4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-skill-preparation.ts:11 reaches into another package with a relative path (../server/src/services/company-skills.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-skill-preparation.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf6a37950fc82a03c8bef8899e444085d51cc484191c9879034d804883b89c7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-skill-preparation.ts:92 reaches into another package with a relative path (../server/node_modules/tsx/dist/loader.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-skill-preparation.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"446beedfcbf982e14259f4fefde1a93bd4b7436dbb399d72a5e70cd9635bbefc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-slow-queries.ts:9 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-slow-queries.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7407dd3ea924cd1f974657f4f67151e10bfcf3ab292692edeb37ad57e0b4f2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-slow-queries.ts:10 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-slow-queries.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07f39813a68fbf019738c13da8646be4a0d3f4c7fa3a18dce5409af8bf08008"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-slow-queries.ts:15 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-slow-queries.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a903dfdc785eac510a853884808c51760f44f6f57f0ec9bc011e9052b7fa2d6d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-slow-queries.ts:16 reaches into another package with a relative path (../server/src/services/authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-slow-queries.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb705fded155420a36557723fbc015b12a12cf323001b5ca728e981609f831c3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-slow-queries.ts:17 reaches into another package with a relative path (../server/src/services/chat-channels/inbound/wakeup-notices.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-slow-queries.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3541bb2def1b7ce92038f170729785dc62f91d3e2a25d66e91f947f9bc3e46"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-slow-queries.ts:84 reaches into another package with a relative path (../server/src/services/chat-channels/inbound/wakeup-notices.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-slow-queries.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e34bbe33cbd902d156aa44ad624f9e1ee3e84972962d8e4f02c160ffed77c90"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-task-activity-index-migration.ts:4 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-activity-index-migration.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f01fc29f3f81d5b6807bf6af4d74855ef74968da610660a17af2eaf79e02ae3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-task-activity-index-writes.ts:5 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-activity-index-writes.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec866bae7968b602218607f6b96e042d591f94548487cfffec3e3c84e34838"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-task-interruption.ts:7 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-interruption.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1e5cb28da3c9c5a471704e6228c0f24243d890bb05391b454acd1e060bcb83"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-task-interruption.ts:8 reaches into another package with a relative path (../server/src/services/task-interruption-presentation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-interruption.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aa19dfd59674e46583252f154855e23763f3ff8680191cac79c16ea53fb305"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-task-interruption.ts:9 reaches into another package with a relative path (../server/src/__tests__/helpers/task-interruption-fixture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-interruption.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19bdb040a6f13420dc4ed45e765f1f3fe89c02af9e8fbb3aa1a2168fb3c5182"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-task-interruption.ts:9 imports server/src/__tests__/helpers/task-interruption-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-interruption.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b71da581e29dd708d15c17aef65d37500a97752c3f377bc31073dbd1fb29a6b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-task-interruption.ts:29 reaches into another package with a relative path (../server/src/services/task-interruption-presentation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-task-interruption.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd07859001716a6e5cc6ca15e078f22e2ad8c5931ff38c1ae6cd0b812b0fb82"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-activity.ts:9 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-activity.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d128cca059e2e00cdc62760c2076def1bee7ea9854765d696dad721e2552381"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-activity.ts:10 reaches into another package with a relative path (../server/src/services/git-workspace-expiration.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-activity.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f202c5dc7371443eaf95edebf6be34b83c81d10aae77a2929f7e8c754c485c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-activity.ts:39 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-activity.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b58ea913676c1d78a9a84c54dcce44a15bb36e7ab9b32b65b9865bc40ed0e41"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-archive-io.mjs:11 reaches into another package with a relative path (../server/src/services/remote-workspace-archive-io.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-archive-io.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0ce62a35236a2841e2730e3378d0bc5879dc78f8cc322449b0b20cc6ccb61"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-authorization.ts:8 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-authorization.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"457a6cdcf75456556418882a49ae921c14c8ac810b622220c38023148557f47c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-authorization.ts:9 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-authorization.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"637fdee71517b5a290f18ac7201bc14e878bdee92c61e4a9e659fe16c20cb953"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-authorization.ts:11 reaches into another package with a relative path (../server/src/services/authorization.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eca832e7a27112f5464a0c3a99aff1b8e8e15a0d7eec1a6dc09fd4ea382504"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-preparation-history.ts:14 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-preparation-history.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c83f70e3a024347b42690d551f6bdd503aff6d447a2260a934941c504a07e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-preparation-history.ts:15 reaches into another package with a relative path (../server/src/__tests__/helpers/workspace-preparation-history-fixture.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-preparation-history.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad55d177cf59d9216bcdd92dc6edf76169d6af16486bd639f535a4c71555ccbd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/benchmark-workspace-preparation-history.ts:15 imports server/src/__tests__/helpers/workspace-preparation-history-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-preparation-history.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e665d7ad3088dbc0818e0f8f21e93e9cb677f12be2bb79fda47976b19014419d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-preparation-history.ts:18 reaches into another package with a relative path (../server/src/services/execution-workspace-repositories.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-preparation-history.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"599afefbffb8a82f2a326687a83147880b40f1ce796362347ffb7b79915fc792"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-preparation-history.ts:20 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-preparation-history.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f9e0e3f0f68e4aae389cab92d01aa03c2aa160d64b4481134e373a93bc7195"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-record-reads.ts:8 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-record-reads.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f58035114bbf6c63850dcafc66d21220e14b79837ad72eaa7af56b126b6caaa"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-record-reads.ts:9 reaches into another package with a relative path (../server/src/services/execution-workspaces.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-record-reads.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cfa2b244a19997c224a26afaf81861e9f7c3ecc9fcf51272d0048745c4d660"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-staging.ts:10 reaches into another package with a relative path (../packages/adapter-utils/src/sandbox-managed-runtime.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-staging.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f12869fdfcb48e203c523f7219d49633673301a5fb029ee0e809ce725fc458e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/benchmark-workspace-staging.ts:11 reaches into another package with a relative path (../packages/adapter-utils/src/workspace-restore-merge.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/benchmark-workspace-staging.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3719bc4f500be14408cea21c0a9a0a5df8cc5a71f4d951906a7bcb94d0ca71b2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/ci-typecheck-lane.mjs:7 reaches into another package with a relative path (../server/scripts/typecheck-layers.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci-typecheck-lane.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e979fd9515657e7d0a87bc180784359f8d451c5b95642d86255b46b65b62042"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:22 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3c2c7302b4ce0ece7e5045e6a6d5cc9e5f6ce51730bc81f97228fa3cc14405"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:28 reaches into another package with a relative path (../packages/shared/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"286560f98a2cb6a71245d3651244da21f46ac8b4583863e6f00bb0a9c99454ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:29 reaches into another package with a relative path (../server/src/services/attention.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d589ca9af99b4afaea5a092d79fc1fe3d77665e3dfde31b190198d4b0fe786"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:30 reaches into another package with a relative path (../server/src/services/attention-receipts.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45f751e6c5150165846cb3e1a212b71d652fcefe9b98ee0312ffc92a15a457a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:31 reaches into another package with a relative path (../server/src/services/decision-history.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f1f2ba1afc4a0666af0fc41d1074200cb466b8685455aa1535b7499c46ee4b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:32 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7332eb37879042b5a9b433b2d8cbbd1adb61e65eab211cf4dc19cd38b96a67"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:33 reaches into another package with a relative path (../server/src/services/closed-issue-interaction-sweep.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e290a73f93ee2eaacd3c5cae98f71c1142c2ec442c7750eace8e818fcd1446"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:37 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6da6c512c130ad34d1c5d1a7be663f63d4a278ab8957f9c806bd280ec6ae00d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/count-needs-you-views.ts:52 reaches into another package with a relative path (../server/node_modules/tsx/dist/cli.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa6c650e52a149ca5aedc3eead982eb5dedd8ce1bc7eb0fb2526d18ef6b188d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-runner-native-binary.mjs:3 reaches into another package with a relative path (../packages/paperclip-runner/src/live/runner-binary.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner-native-binary.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"406eb9b25f45f7c4c9a1d561e045a2659f51b216705a61076d4adb12d39aa2ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-runner-options.ts:2 reaches into another package with a relative path (../packages/shared/src/home-paths.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner-options.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c56aea21bcf9d6d00bd865816d96ef1108abb7584bb482ca0f9ee11945fd01"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-runner.ts:17 reaches into another package with a relative path (../server/src/dev-runner-worktree.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"521215b59dc86ee2162120c791569c749ef843a2e25c71dfea5c3e86b192f5ff"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-runner.ts:18 reaches into another package with a relative path (../server/src/dev-server-status.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1587c9c604bc5250156554305e95da0ac2c32c1f25d691381742d1069cef7e3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-runner.ts:22 reaches into another package with a relative path (../server/src/services/local-service-supervisor.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f983d1aeff4e6d3dd6b912f0bec1e955bd601b94a389607a7ec0a934f4ca3bc9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-service-profile.ts:4 reaches into another package with a relative path (../server/src/services/local-service-supervisor.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-service-profile.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee00457901a850e6c14bf4eedb0e7cb5061e93863bde0b70c8d10bcad9840f49"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/dev-service.ts:2 reaches into another package with a relative path (../server/src/services/local-service-supervisor.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-service.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f109aaf7cceccef7088e143f91a0eb7329090647e75fcf67157d3a6660f924"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/generate-company-assets.ts:16 reaches into another package with a relative path (../server/src/routes/org-chart-svg.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-company-assets.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa4f56ddf8b923fd9874d26b1f4d6480c7dbe1c591f81318d66b19e4a89ef67"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/generate-company-assets.ts:17 reaches into another package with a relative path (../server/src/services/company-export-readme.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-company-assets.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a0310065fb28cca3892fdb550fcdee1324d09e455883e56a357979b0491148"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/generate-daytona-tools.mjs:136 reaches into another package with a relative path (../server/src/services/daytona/operations.generated.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-daytona-tools.mjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e584b40f92f5cf3a2952ece1ef608fa474cc23cf3d8e348f7169fff8000f886"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/generate-feature-catalog.ts:14 reaches into another package with a relative path (../packages/shared/src/feature-catalog.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-feature-catalog.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c767011efa84b57d97b7337b044491f1728c0657ff2a8f2abc00cd14a7ed40"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/generate-org-chart-satori-comparison.ts:15 reaches into another package with a relative path (../server/src/routes/org-chart-svg.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-org-chart-satori-comparison.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef01516ac015b240f3cd5b396a0c1fc48c9b818bb92a41d80dce8405a167c8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/generate-unikraft-tools.mjs:129 reaches into another package with a relative path (../server/src/services/connectors/unikraft/operations.generated.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-unikraft-tools.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada47fcbb579c0c8b8eefaa6f4b2ca3d91342e13d13126b24663af8a44a207a3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/map-test-fixture.mjs:14 reaches into another package with a relative path (../ui/node_modules) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/map-test-fixture.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8f60cdcb58caca84deb288621770249ff19e67eaaaad6519f330cda9949cc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/migrate-inline-env-secrets.ts:3 reaches into another package with a relative path (../server/src/services/secrets.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/migrate-inline-env-secrets.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3fea0a4e93f4b6e650bc8e6b537c7b53d46a0f9c7af8cf07750504f9f03fcb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/prepare-runner-release-image.mjs:10 reaches into another package with a relative path (../packages/paperclip-runner/scripts/release-provider-pack.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/prepare-runner-release-image.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e89580ffcbf40c92d5eaa253d6f4a87f7e7089aeffe564217fa8dd005d85e3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/publish-announcements.ts:7 reaches into another package with a relative path (../packages/shared/src/announcements.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish-announcements.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"467db93ea7269ca76d50542c44b45a590e331a3e444b41a1156b50c47a45d63c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/publish-announcements.ts:9 reaches into another package with a relative path (../server/src/services/announcement-animation.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish-announcements.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"79765a5da125d3f11f7142c7d07b88145f9cab552d4c9c35c5aabb349763df75"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/request-hot-restart.ts:2 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/request-hot-restart.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35be1849682a074f5689fa34dbba17dcfbbf330a9514ae870310bf58ad05a9f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/request-hot-restart.ts:3 reaches into another package with a relative path (../server/src/config.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/request-hot-restart.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"815f3998a918849080f52ebdb59bcfaba5d1b5ef471a2fdb375ec886385a2a96"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/request-hot-restart.ts:4 reaches into another package with a relative path (../server/src/services/hot-restart.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/request-hot-restart.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d678e1bc61ece23a6537f8161b18985d4e93673b0e68a814e3e9c768ffd124d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:1 reaches into another package with a relative path (../server/src/services/agent-conversations.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d64b965bea94c84c08630e782a232a0ea70758af12e83e2b0ad07adadeaed3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:10 reaches into another package with a relative path (../server/src/services/native-runtime/runner-api-catalog.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc6906e20daa398a49acc09097ba564ed73253b8fa06b2aab597ed35c757ecc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:11 reaches into another package with a relative path (../server/src/__tests__/helpers/runner-api-server.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cb54a8101cfe5bdaa86504ef4e568dbab6027e2a7e1c1bcf1120c31f41f772"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/runner-api-eval-worker.ts:11 imports server/src/__tests__/helpers/runner-api-server.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"29de104ff7d387ae58d5a6b57679a5d6007120f158b282fbd6693cd347208ddb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:12 reaches into another package with a relative path (../server/src/realtime/runner-prp-ws.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e5af8f98a84e1d91679e299fc0820cd087b6ed1a3393f8a28bea61f0d70812"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:13 reaches into another package with a relative path (../packages/paperclip-runner/src/live/runnerd-codex-transport.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c048816629ab6f1541e241b1eff76a0032a1d8739f053506959eec4c026f6c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:14 reaches into another package with a relative path (../packages/paperclip-runner/src/drivers/codex/codex-app-server-driver.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b069aeaa44f6ab10ff41b23a9549d50d21e9c6f402efccd73a58301ed4cf330"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:15 reaches into another package with a relative path (../packages/paperclip-runner/src/evals/attempt-journal.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de54bd0a1009702c2c0ac3b783af99c542c0cb5c09d1c3002094ee97c6a2974"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:16 reaches into another package with a relative path (../packages/paperclip-runner/src/evals/model-pricing.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26c1ed73fa0c9008252f993f718e3f615e57e513a6b4b32fdecb1b7c6179d14"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-api-eval-worker.ts:17 reaches into another package with a relative path (../packages/shared/src/connection-intent-guidance.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-api-eval-worker.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"322ff9d2b9889af993c1159bad31bec539cc9057ca37ede4faa1333372c7bcd5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-image-identity.mjs:34 reaches into another package with a relative path (../packages/paperclip-runner/scripts/build-inputs.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-image-identity.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ccc65e57c77d5a8c35b1921519e3e233e197c9f7f79c3fc002021319ba0127"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-image-layout.mjs:64 reaches into another package with a relative path (../packages/paperclip-runner/scripts/build-inputs.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-image-layout.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4029551fa8353ad5b9c3eb8cd15367a38d9305db4c9946aa7c4689b9924133a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/runner-image-layout.mjs:70 reaches into another package with a relative path (../packages/paperclip-runner/scripts/provider-pack-runtime-tree.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-image-layout.mjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"703c0b9ed16f32d0d986b0720738d40007aceeda23b9ff8adcf1fc8544323ec5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:87 reaches into another package with a relative path (../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de5796659dbc716a1c68c6522adcbed0af3daa26feceaf9e47a7edb9eecfd2b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:110 reaches into another package with a relative path (../server/src/config.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e845538afda99e7555238017e562282825b09003b7ad6d7aaac10c9d0a65d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:111 reaches into another package with a relative path (../server/src/services/companies.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b7da4cb7fa33da94c00357f52c8e0d0d90f0903123584e303ed6aceef74218"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:112 reaches into another package with a relative path (../server/src/services/access.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b4d90dd21321a339ac7e313f91641c33cc0297d08226893a64704e88ae169"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:113 reaches into another package with a relative path (../server/src/services/issues.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30b9fd1b89cde7ce78d88a87a5663574df3fddcd0a441459039e09966772dc2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:114 reaches into another package with a relative path (../server/src/services/issue-thread-interactions.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3b1599eb3fe4306db594a27282faae1860a36c681647e2e22760fe3fd7d40a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:115 reaches into another package with a relative path (../server/src/services/documents.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7b444902b6873b1b1ee66366a2095a57d3a0c4debaae14a64a9970b7fae0a5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:116 reaches into another package with a relative path (../server/src/services/approvals.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73994e02e9392c9bf0f3637002b84d355b43931086e1e61ccfdb55fcbfa6864"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:117 reaches into another package with a relative path (../server/src/services/decisions.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9f7f4ce452f1ee1f71e9c990f9cb41e1909a75140bdf037c1a87080d438198"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:118 reaches into another package with a relative path (../server/src/services/budgets.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb831ccea42d04b541fab41674b95d4b4faa6e0a1caf5f8daa1fc15e3942cc8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:119 reaches into another package with a relative path (../server/src/services/costs.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16eb02929908f2e78f3aefbce82019d7d3ae8e3f17dd60a3ae37b34f556e95e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:120 reaches into another package with a relative path (../server/src/services/issue-recovery-actions.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba25a88a280fa8721ecadfc98b93cbbcfbb31c1b08d2a326bbb85dbc9121ea8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:121 reaches into another package with a relative path (../server/src/services/inbox-dismissals.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"331cd676edc99118f32aecbeb50bc57213114d952f268b868798610a668c9d7b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:122 reaches into another package with a relative path (../server/src/services/attention.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f442f2b8f387061b427d4347bf6f95664891fc0345f6eebc033335caf4f3d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:123 reaches into another package with a relative path (../server/src/services/attention-receipts.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"845c3ab0495cdb2a1063cffe54d724cdfe0f9143447b0d91e13d5bbaeb5f82e6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:124 reaches into another package with a relative path (../server/src/services/activity-log.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ea1f0764ee6d401e5fd6f71e5904cb32c3e6ef0e03b8e865b1c27d6c9fe96d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:125 reaches into another package with a relative path (../server/src/services/agent-lifecycle.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fdfca999a83eb4206f23916009a97469ee61ec39e919c829ea5e96ead9c63a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/seed-needs-you-demo.ts:129 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f0c26baa06f3906731f06b82262ed0d0f6c1b5a6e6d56fd08367ff3e24a0dc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/serve-storybook-static.mjs:59 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/serve-storybook-static.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf55f67be22be84ac78d8e7b0e396289063c92c40902b0c155517bf13265132"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/serve-storybook-static.mjs:63 reaches into another package with a relative path (../server/src/routes/agent-avatars.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/serve-storybook-static.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc23e13fcf230fe18338c964777e5f7a2e04a85749ad4dafea1cc9fdf9674411"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/serve-storybook-static.mjs:64 reaches into another package with a relative path (../server/src/services/agent-avatars.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/serve-storybook-static.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4402c2acef63cc9f51c0ac04f8455d3342bcb23a20fb5d79b88667e2fbecc46d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/serve-storybook-static.mjs:65 reaches into another package with a relative path (../server/src/storage/local-disk-provider.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/serve-storybook-static.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c65e8a15b072df9e3c74f2d78e7556de378c0daf004ebe788c6bc1f6633d4a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: scripts/smoke/mcp-fixture-harness.mjs:7 imports scripts/mcp-fixtures/catalog.mjs, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/mcp-fixture-harness.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c373ab451172fa6cdf968ddf4c18239e8d868ebf2103972778098fb66ac1b46"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/smoke/muse-qualification.ts:5 reaches into another package with a relative path (../../cli/src/client/board-auth.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/muse-qualification.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"350eda04a5850531cdfbae2e1fc8cc531a4bd8d7e80e07123ffcd26ead459e3e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/storybook-agent-avatar-assets.mjs:12 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/storybook-agent-avatar-assets.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd2186e6461d7bedd1ca7586d4c166f409cabe89c3092cf9813ccc480189046"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/storybook-agent-avatar-assets.mjs:53 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/storybook-agent-avatar-assets.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c47fddc7f0d15c202173fb7f5817b1cc917281c94e2487365b6f379d0deb5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/sync-agent-palette-tokens.mjs:3 reaches into another package with a relative path (../ui/src/index.css) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-agent-palette-tokens.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"189afefe3d652fc309256d1341cb6b87775c5a217890c46e23bb76a0ca93d90a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/test-skill-default-cadence.mjs:31 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test-skill-default-cadence.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5e9dfed5c4c32a74b1c961d8331961ccd181733e6582447f7584c401f86707"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/test-status-object-signed-sleep.mjs:55 reaches into another package with a relative path (../server/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test-status-object-signed-sleep.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d97d2f7597065e8f1b9c2a987fc853737a0502b06151842e15c94c5c901075"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: scripts/tests/native-cleanup-paginated-codex.mjs:22 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/native-session-executor.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":"scripts/tests/native-cleanup-paginated-codex.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5410482faf1b221762610d2069f4e0ab4eae316fe9cdf321fbbf805e80db90"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: scripts/tests/native-provider-startup-codex.mjs:21 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/control-plane/durable-prp-control-plane.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":"scripts/tests/native-provider-startup-codex.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a9300dffd8eb3f4360ad6f2b6cd171c3d2f1730e09be182c82af3719656172"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: scripts/tests/native-provider-startup-codex.mjs:25 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/runnerd-codex-transport.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":"scripts/tests/native-provider-startup-codex.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb2a699a9c258a8f09c990ffdbe1b57fb461232ba30407ba980a14a05d1bcbc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/typecheck-test-projects.mjs:21 reaches into another package with a relative path (../server/scripts/typecheck-layers.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/typecheck-test-projects.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b134ada24957c89b26e189a227de585a444247a36420bf810e85ad026ee6cb7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/update-arcade-app-catalog.mjs:46 reaches into another package with a relative path (../packages/shared/src/arcade-app-catalog.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/update-arcade-app-catalog.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3fc22181264cf9fb9a0165d5f8d52e9e7a2f6687b183ab4d2db70de4059934"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/update-composio-search-catalog.mjs:27 reaches into another package with a relative path (../packages/shared/src/composio-search-catalog.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/update-composio-search-catalog.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab28ce47c6d8219b3b69d09b8f750998799de0a8bc8dd601f8b0572f569cd18c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-needs-you-checklist.ts:22 reaches into another package with a relative path (../packages/shared/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-needs-you-checklist.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"459abffdbfc67f76247040ca1297d285a337522d73c51377c0915bb7dd89f3ff"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/agent-commentary-daytona.ts:40 reaches into another package with a relative path (../../packages/plugins/sandbox-providers/daytona/src/plugin.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/agent-commentary-daytona.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec2adf7f315d01e9e93df65e4767467c90f479f1a78224049be807dbcc19ac"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-blocker-stall-waiters.ts:10 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-blocker-stall-waiters.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2daf225359b042b31ced6855c898137fc268d583728e1f7b7db0d93f164683"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-blocker-stall-waiters.ts:11 imports server/src/__tests__/helpers/blocker-stall-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-blocker-stall-waiters.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a1ef7c1cc2a39f2945db879ad4f45bdc645d862e47cf33acd87b3a90d9178c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-bound-chat-authorization.ts:8 imports server/src/__tests__/helpers/bound-chat-authorization.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-bound-chat-authorization.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f87e0cb299604759906e42e75fc926b825cb0fdfc9891c20dddd2b69239827"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-bound-chat-authorization.ts:9 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-bound-chat-authorization.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fe358dffc7f537c24a084907d126531c5efd0c1fe859c1bd4f0d7135a10d57"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-connection-profile-configuration.ts:3 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-connection-profile-configuration.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b94c7f56e4b3998fe73da1f0c4e2045efb854e940942326e6a971d451ae53f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-connection-profile-configuration.ts:5 imports server/src/__tests__/helpers/connection-profile-configuration-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-connection-profile-configuration.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c412d19f8a696e4ff2c5aefb62eee929dd4b45c06e06c9cf80465e9a5c2912"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-connection-review-counts.ts:3 imports server/src/__tests__/helpers/tool-connection-review-counts-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-connection-review-counts.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"500e4a42c4464486f7c063fa80c03ec72d3c36cde76dceedb01d6fd90c5a53d2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-issue-summaries-read-filter.ts:29 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-issue-summaries-read-filter.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"697609a411dfefe5fff9961ab34eeb97a7f900c7a80fe2e8839925b153d858ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-issue-summaries-read-filter.ts:30 reaches into another package with a relative path (../../packages/shared/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-issue-summaries-read-filter.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5443eb2c033c207379186b0e8d57cc47d5d53ec04acd8718bb0352cecc16dc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-issue-summaries-read-filter.ts:34 imports server/src/__tests__/helpers/issue-read-visibility-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-issue-summaries-read-filter.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b728eea40ee2cde526fc77e8ef2f0020dc5d32758996403584428fb0372bf8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-native-progress-page.ts:11 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-native-progress-page.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f476005d53496524923cab62a4359f70b58836e0cb41cd74513123cc46ad2d8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-native-progress-page.ts:12 imports server/src/__tests__/helpers/chat-milestone-fixtures.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-native-progress-page.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"395c195cf012e547421eb8d8980bfc364ba1e6934f9613be63c6487fd28db5ed"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-native-skill-preparation.ts:15 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-native-skill-preparation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308845d12604ddce96235a2ed4d62ab3586cd5f17c452162124042fc9f72579"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-prepared-github-review-wait.ts:7 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-prepared-github-review-wait.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"143c1a41d799e76cd2fb35e2c573243a44183f16bb04ff38aba5333e45f03eb7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-prepared-github-review-wait.ts:9 imports server/src/__tests__/helpers/github-review-wait.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-prepared-github-review-wait.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb817d8b76f85e3cbeff947db7cb521e6c605ca2ac482e02dbdcf30673037d00"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-profile-review-projection.ts:5 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-profile-review-projection.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc167a7a4a66ce4801b3072607b2f66b304c4efb453cc156a746bdfa19984c8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-profile-review-projection.ts:8 imports server/src/__tests__/helpers/tool-profile-projection-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-profile-review-projection.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cddc2c5fea455949e8dda7c7009d15bfb60d29ab6f310525f9345e8ff23960"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-review-attention.ts:42 imports server/src/__tests__/helpers/database-statement-meter.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec66cd7827c96e7840161fa71f3c2855d9178da2af1506f4afd4dd33bb33b41"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-review-attention.ts:43 imports server/src/__tests__/helpers/attention-summary-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a308b14d8d315d1c77d34ee9842e597a1aa292b6154f03ccb3adb917d9521b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-review-attention.ts:44 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5954260189e81734621ae9cdd43cdfc59994500838e7da06720d26a0572f27e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-review-attention.ts:45 imports server/src/__tests__/helpers/review-attention-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7a232e3ec8c765838325cbe6b98f9d7f1e27b485fa328ae21cdd0e3ff32cf5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-review-wait-provenance.ts:35 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-review-wait-provenance.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f692231557f81e5a10d404ae83f7336378e1c386e8b6a2d5d8d25c3c8b09a669"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-run-event-append.ts:48 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-run-event-append.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad24095042ee6e55597678897c4c3f9c3c23d60d394e1493bb28270ba8e301"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-skill-list.ts:15 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-skill-list.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65a5cbe9709a975a0c287d36917bf470dcc5bed8c34c1eddb07a9d1046c3453"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-skill-list.ts:18 reaches into another package with a relative path (../../packages/db/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-skill-list.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1ba87b2a63c564c6e9c4d60d331d85ed38678deb181af3646ccc08745ac242"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-skill-list.ts:19 imports server/src/__tests__/helpers/full-database-response-capture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-skill-list.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea59a2bfbede68546e62d63ab8299e59fdac256af2248f5c90138d01a9b81fc9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-task-list-projection.ts:9 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-task-list-projection.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a438ddaacdcd9b10935431c8ab707ce96c595898d7c0154f685a82b0ed1e9ac8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-task-list-projection.ts:12 imports server/src/__tests__/helpers/task-list-projection-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-task-list-projection.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a88287b2ae205296ea2ed8b05d0ba7ed7eb23c1cb88b4d3f5f71d24eaff917"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-task-privacy.ts:7 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-task-privacy.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e22acee16eb6320887d7d603438b02dcf3050d9795508def0e733947017cc97"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-task-privacy.ts:11 imports server/src/__tests__/helpers/privacy-query-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-task-privacy.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9e0224783bc46c6793d2cf23f0ab5e5718515b62ef46ab3c27e64492cad1e3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-tool-gateway-listing.ts:15 imports server/src/__tests__/helpers/tool-gateway-listing-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-tool-gateway-listing.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f19cf54f0b5b5e1f69bae74581520de16594dbe20007e5508e38d779f071b53"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-tool-policy-matching.ts:19 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-tool-policy-matching.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"711e2ba5df47bfd0bff3a65d1127cfe6b98d9bc6888713d5273eb54564dba2c1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-tool-policy-matching.ts:20 imports server/src/__tests__/helpers/tool-gateway-listing-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-tool-policy-matching.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce15d5acd388fcf8a137e2ce0f55267550d5273dbb8697eef6b64459016a265"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-tool-policy-matching.ts:21 imports server/src/__tests__/helpers/tool-policy-index-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-tool-policy-matching.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3a7dc5a95636da7f578212c485b4555119af39bb51a62573bf1e93c076506"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-tool-profile-matching.ts:5 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-tool-profile-matching.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a391a6beb373884289ccff3d42294709c9aea0c8b43c832e77ee423a045eb27"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/benchmark-tool-profile-matching.ts:6 imports server/src/__tests__/helpers/tool-profile-matching-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-tool-profile-matching.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740cbc6d5446444ad960258e0271cd56c3e2698349a8bb4bacc6adaa1965d5e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-workspace-snapshot-crypto.ts:169 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce9e760b50f1fd75a19730e9be52813a01614422fd41141def4d9cf98ca4c9e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/benchmark-workspace-snapshot-crypto.ts:234 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c8b79a90fba7a0abf3b97aca234022bfc5ae005ebd2ccd99c5ea61d272fa9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/dot-runner-demo.ts:13 reaches into another package with a relative path (../../packages/paperclip-runner/src/drivers/dot/dot-harness-driver.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-demo.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a003d3ef21e0c68f3124a58fe54b83efc12577641ddbefcc4d93df51646ce91"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/dot-runner-demo.ts:14 reaches into another package with a relative path (../../packages/paperclip-runner/src/backends/harness-driver-backend.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-demo.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56fe323a70f6b72b21e41749f43569681833cf03e6f6c626de6ca1b3b71cfaa"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/dot-runner-live.ts:15 reaches into another package with a relative path (../../packages/paperclip-runner/src/drivers/dot/dot-harness-driver.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-live.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"327513ef65a71987d54275b6db679209336e25d490a9a75ca48f71a30de3ccdb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/dot-runner-live.ts:16 reaches into another package with a relative path (../../packages/paperclip-runner/src/backends/harness-driver-backend.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-live.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"126fca11387abf03cb579946ac46bed5d23df94cf4f1c81fd43d187f369f8854"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/prepare-runner-vendor.mjs:35 reaches into another package with a relative path (../../packages/paperclip-runner/scripts/build-inputs.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/prepare-runner-vendor.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b8dcd5e5c314b06d4d08fffe498b1e2878aa38a399112dba26ae588325c7f0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/qualify-native-log-recovery.ts:31 imports server/src/__tests__/helpers/native-run-log-database.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-native-log-recovery.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f3d7506c987c879833df07f6b53b2cf6a85a845380f20abfd3aea3dcc0304"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/qualify-opencode-cold-recovery.mts:19 reaches into another package with a relative path (../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367e132cf29cf203d11594bdb60ffac9a7bd3cee5fef2ea9a3ce2b07bd738ab"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/qualify-opencode-cold-recovery.mts:21 imports server/src/__tests__/helpers/recovery-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae35a557cf0cc10b7508c502606965dcf35e019f04184715f77dbae76c9c6e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/qualify-opencode-cold-recovery.mts:56 reaches into another package with a relative path (../../packages/paperclip-runner/src/control-plane/durable-prp-control-plane.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"24de563e71d546c1eabe2a44b0c1395b07983ff31489a57699add48125c8dc49"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/query-cost/drive.ts:7 reaches into another package with a relative path (../../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a4686faf0519ce729de4b97db2d94e502c22a45fbddc53c598a1e6b2abc4f4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/query-cost/drive.ts:9 imports server/src/__tests__/helpers/review-attention-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5e8c4ff55b5ee6e76285b1ff8a1fe8e9f43830a12be06bf6829fffd94074e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/query-cost/drive.ts:10 imports server/src/__tests__/helpers/attention-summary-fixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b30471a9864e51075e9ff86840bcc85e7ceeda7a31cf96dda639d5a7c497219"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/query-cost/drive.ts:187 reaches into another package with a relative path (../../../packages/db/src/work-signals.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c19ac9074e7c593dfbbe19dc0decf491a58173c481317d332ceda0b423026d5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/query-cost/drive.ts:192 reaches into another package with a relative path (../../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649f4bcb752d0f84c114536740d56b4ceec4dc5290f3f96bc9ccf600ebd5b40"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: server/scripts/query-cost/drive.ts:209 reaches into another package with a relative path (../../../packages/db/src/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e492b11e82e2f0568fb3b85db7100c481075db37638a7f1c0b2c7eb9d08ab2ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/smoke-native-task-monitor.ts:19 imports server/src/__tests__/helpers/embedded-postgres.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/smoke-native-task-monitor.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfe15ba4ccda89a0a603776628021ce50dee884eeef77be06ce4c7e23b1db54"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: server/scripts/verify-agent-commentary-live.ts:14 imports server/src/__tests__/helpers/runner-api-server.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/verify-agent-commentary-live.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f82fad069966be407ff63a1c6ab3444e00c5a1bffe6b08c27fab01574a551f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:15 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/codex-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"20734dd018d111cc77f505a90ae789b1de2c5d3aefa78ec612af35376cf452f8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:17 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/claude-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e061b210f2d49e1285fced69a116c7b32396ea53524dd47b82af9f936f4ee5a6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:19 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/opencode-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a8096902d9fe8f0a4b702a28053dd6df0ad2689b530d6488d734bb94dc42c6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:21 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/pi-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6dca3b82a20f1c5abd54b006f66c47120785231ee57b26de53d9833f6760d6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:23 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/cursor-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4664b81b403b3c25fc35e175fbfbc0f5c1101b276765c021d33408b5388afe96"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:25 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/gemini-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e338e577f9675ceed34e43525f4210b185d391b6e6a4a853f2d7d4445707a1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:27 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/kimi-local/src/server/execute.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4612f96216573e78adab411f2648bdc696e44a72624a35cf7879655f9d7452"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:253 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/codex-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d24a8a9842b526a20e753e4c3b9214b06faa9bd753986a2ca8bea4d76c85107"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:272 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/claude-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5bd26e636cf392a7d16f7fdbffdb14238d1d55fd4c1e17928b2215b5878b94"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:286 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/codex-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"df05b680b352211a579f87a1ee39ce8340409c47e0eb00c9a3ba475fcd6ec4a4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:287 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/cursor-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cc6c6c2eb13ce3a674440fa0ea68f464c39ff5d9cc7e95b179f44d6e3e1b70"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:288 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/gemini-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"177289cdb8f42c59ce9063d457037dba8e219a03e9c8fbad3fbb1d4fdf805398"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:289 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/pi-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dd05663d5900ae2c0968ddb3d39e425b752a5d37ea6debff4db68745b5d04b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/adapter-cost-failure-paths.test.ts:290 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/opencode-local/src/server/parse.js) \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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651f2cc9cb00f49768d51a321b4f63e106a57ec0852731989fd1edb9e573fec"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/agent-commentary-skills.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/claude-local/src/server/prompt-cache.js) \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":"server/src/__tests__/agent-commentary-skills.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b431c6c37f3a3736ef89791e79d6fb0e57068a39fcc6f11750cfb51a05f0996d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/agent-commentary-skills.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/adapters/codex-local/src/server/codex-home.js) \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":"server/src/__tests__/agent-commentary-skills.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cde0abbbb73dbdf2c97c7e9b936e19294b748525b49a817409f3f81fceae20"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/boxd/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b562eeab8390a0ef09278711215260715fd48186d27311b8c491e65e6058df"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/createos/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226e76dcae6b4762971ecc44fa3870d2038c151709b6742aab55404c10fa423"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/cloudflare/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd95a5bc13849ddeeb65c4e15537eba9b2e319faac0f24dee9d6757f37898e93"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/daytona/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6524631df864e7d356f17677717be66a71725452ffcdd36d6512f2eb8aa90daf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/e2b/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa84f046aa33b6d8a2f92eda2c0440435f3a1296cec38f3679ac5136a5a4e91"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:14 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/exe-dev/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ac46fce1fb6b54510ff77fbe0ef7be1549a6c6972e39ca009afad60811ecce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:15 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/kubernetes/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d09398714537281fe4b53ab3e69b45b3e631c60167e87a579c8491245cb602b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/modal/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2595643f5ca3df89533d5d68d412b2bb4534deb76e8883be255a095166696ff3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-package.test.ts:17 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/novita/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-package.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ba157d10e76c02cf23bd9914deaeb6222b9c5faf78a0e05ac6a6fd270f3952"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/bundled-plugin-registration.test.ts:22 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sandbox-providers/daytona/src/manifest.js) \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":"server/src/__tests__/bundled-plugin-registration.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ced1293033798ea47f2d9ddbe537a89894a7391b0461fe13ea1ff56032b360"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/connection-aggregator-fallback.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol-actions/request-human-input.js) \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":"server/src/__tests__/connection-aggregator-fallback.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"20476cb0f26f7221618298a01e02b69ce6be60a45986ec02cd7d52765b4f3a6a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/connection-aggregator-fallback.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/contracts/tool-input-variants.js) \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":"server/src/__tests__/connection-aggregator-fallback.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd4a02328672c4c541560e702dea2d75a7809df4568b09230ef4adf510e0827"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/connection-instructions.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/backends/runtime-context.js) \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":"server/src/__tests__/connection-instructions.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428b460de153a26e42e5aef9dc2cf024d21a911615cddf1b197340cd56135f4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/copilot-connection-probe.test.ts:14 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"server/src/__tests__/copilot-connection-probe.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac31284337f3b5be9f4cc9e9080d2f925800ce10f00d84523e042751c198b65"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/fixtures/plugin-worker-deadline.cjs:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/plugins/sdk/src/define-plugin.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":"server/src/__tests__/fixtures/plugin-worker-deadline.cjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc001790b0054763eb640cdffe5fe07cc0c0683adf41e509f3a95beb0b0e68a2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/fixtures/plugin-worker-deadline.cjs:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/plugins/sdk/src/worker-rpc-host.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":"server/src/__tests__/fixtures/plugin-worker-deadline.cjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e91a419b0c380b4df742e8e145acf12a2cab355b5e5be350d8b41ccddfdc041"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/fixtures/plugin-worker-idle.cjs:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/plugins/sdk/src/define-plugin.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":"server/src/__tests__/fixtures/plugin-worker-idle.cjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f171d229232529f97ea4516435cbc31c86dcb82589c10620ed5a8cc1cdcf044"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/fixtures/plugin-worker-idle.cjs:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/plugins/sdk/src/worker-rpc-host.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":"server/src/__tests__/fixtures/plugin-worker-idle.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfa0e8f23252ed2cbc712a7d84c6140b4fe60dc8f5a31d1ed8416202a42f67b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/goal-parent-company-validation.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/host-client-factory.js) \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":"server/src/__tests__/goal-parent-company-validation.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ce9c65f3cf7b0ebf5b10b96fc8700b2b620dad6b5003bb5b094126d03c0974"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/helpers/file-delivery-daytona.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/plugins/sandbox-providers/daytona/src/duplex-command-stream.js) \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":"server/src/__tests__/helpers/file-delivery-daytona.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a56ddfaeff579bcf7ab5116fb260da106674e549b5e915a4be9eb90a22ab489"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/kimi-connection-probe.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/kimi-closure-pins.js) \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":"server/src/__tests__/kimi-connection-probe.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ea268503fcb99f11209733b84bc979610cd9723572f4153d3d30f08b567d2d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/kimi-connection-probe.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"server/src/__tests__/kimi-connection-probe.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c260ee592c6fb1d728951c9708184e9a90bbe4eae06c768b151ada68e20a9e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/kimi-connection-probe.test.ts:32 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.js) \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":"server/src/__tests__/kimi-connection-probe.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e57206388ef27704a4eba75a919e02a39c4060c7061fe7d93fa990ee28790c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/native-procedure-measurement.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/contracts/native-execution.js) \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":"server/src/__tests__/native-procedure-measurement.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0bda14593b9253a86b639992dcf595bfa467a3d65c7cfaad0e60608f9fb830"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/native-procedure-measurement.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/contracts/runtime-context.js) \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":"server/src/__tests__/native-procedure-measurement.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9010ef23cc62cde44ab7985f3af73151b4842cce43ab451dd23a96bd150adbe7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/native-procedure-measurement.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/backends/codex-native-backend.js) \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":"server/src/__tests__/native-procedure-measurement.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a5e0af7e5aaf4fbbf244e54f31f21999482d17d3a1d81df665fb302a2259da"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/native-procedure-measurement.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"server/src/__tests__/native-procedure-measurement.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"04225e29bad2f8a0800440f140d98674d3f5485de39d265a1ad730a72de4694d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/native-procedure-measurement.test.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/opencode/mcp-bridge.js) \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":"server/src/__tests__/native-procedure-measurement.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7394c7a146eb6d1df24417e044b8c427ab67b6e460f8daca51aa093e3ca87d4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plan-task-fixture.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/backends/runtime-context.js) \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":"server/src/__tests__/plan-task-fixture.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8a7dcfbe6988eade4a616ae9499696ed15b147ad9667d14b07cbf3d3aacc69"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plan-task-fixture.test.ts:17 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/live/runnerd-codex-transport.js) \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":"server/src/__tests__/plan-task-fixture.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0772055c1be6a5fd86b42d84df05dcce90dd055cdbef112407d70606b99461"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-environment-driver-seam.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/protocol.js) \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":"server/src/__tests__/plugin-environment-driver-seam.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43c42a2723a074e543f0c50754822a2a40167864487723532d5dc086b4b896"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-environment-driver-seam.test.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/define-plugin.js) \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":"server/src/__tests__/plugin-environment-driver-seam.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ddedc120411d9f9cd36bd1a817c42d5e334c6042f00d3eed2d922402164200"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-environment-driver-seam.test.ts:14 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/worker-rpc-host.js) \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":"server/src/__tests__/plugin-environment-driver-seam.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9c282ab9dd9170d78037b2793bb65d78dfcebb7084a5c9f70ad445af09b61"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-execution-workspace-bridge.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/host-client-factory.js) \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":"server/src/__tests__/plugin-execution-workspace-bridge.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc64b979dc4c23f86acca45cc8ce17f60698b218c4f3c255200874fe5e550bd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-execution-workspace-bridge.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/protocol.js) \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":"server/src/__tests__/plugin-execution-workspace-bridge.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf0cd0be9bb666228750110230d936b002bbb64f793db45f041e33602c917c3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-host-services-span.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/host-client-factory.js) \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":"server/src/__tests__/plugin-host-services-span.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a3105c29e470e83ff27b000f9ae31c82141d1620d647caa5d853e03f1fe4d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-idle-rpc.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/define-plugin.js) \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":"server/src/__tests__/plugin-idle-rpc.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff901bccb748e53ed688a7f7c539268493e4099f276a1a9ccd8ca1cfbf1642b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-idle-rpc.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/worker-rpc-host.js) \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":"server/src/__tests__/plugin-idle-rpc.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b674299f08f099685bab33333c9f643cd1777a9fb58dcd5e456efdcdfa78bac0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-project-snapshots.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/host-client-factory.js) \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":"server/src/__tests__/plugin-project-snapshots.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"506c679f296f7943ea5046d3c8988e75290019facb5730cec556d8b4aa009bfe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-runner-task.integration.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/define-plugin.js) \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":"server/src/__tests__/plugin-runner-task.integration.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb66d81b9bece1e27adf468ddd4414fdee07b309dcdb428a08aca67cbede1c9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-runner-task.integration.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/worker-rpc-host.js) \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":"server/src/__tests__/plugin-runner-task.integration.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d138cfacdd110160c04a024d53f5168f2a79b18e9eb69787accf31bf9063e60"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-runner-task.integration.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/protocol.js) \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":"server/src/__tests__/plugin-runner-task.integration.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"755b981124f66dbb5c973d6c24303acaea7cf3466fe1a68e345e93f7eb97fb99"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-sdk-orchestration-contract.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/testing.js) \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":"server/src/__tests__/plugin-sdk-orchestration-contract.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2e120c0dcb45dd06fe3376e3b4a46976b4463926b7c8119a6596ab666917ee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-telemetry-bridge.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/host-client-factory.js) \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":"server/src/__tests__/plugin-telemetry-bridge.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a1608d7ecebf11c311b2b216b0c30bb6feb00475386d608013983874e1de8c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/plugin-telemetry-bridge.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/plugins/sdk/src/protocol.js) \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":"server/src/__tests__/plugin-telemetry-bridge.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f005d684b92f1ea0ca6271d7b76598ff26427d73564ce5379b25f358b676265"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/primary-agent-guidance.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/opencode/mcp-bridge.js) \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":"server/src/__tests__/primary-agent-guidance.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"48783ed986acf9c552bbc67037ff43d7cf568183257e787d649d574eb51fe77b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/primary-agent-guidance.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol-actions/search-api.js) \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":"server/src/__tests__/primary-agent-guidance.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430afdaa8a6489ef17f77d232b8b37f10709deccdc94b2827ea6896753263c8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/public-mcp.test.ts:37 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/dot/dot-harness-driver.js) \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":"server/src/__tests__/public-mcp.test.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2795abcfde1bcb36fe2e1aabef498adf73bd54c5184edab461c6b156a8279818"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/public-mcp.test.ts:38 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/backends/harness-driver-backend.js) \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":"server/src/__tests__/public-mcp.test.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e062e90040262bdf74191e0a1b96dec91b62a1ccbda1d5838a78b60ec4262acd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/redaction.test.ts:26 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.js) \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":"server/src/__tests__/redaction.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"919c623144a26bc6834153e81892d7a41bef58103147ebb1142d2dfdd86a2359"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/redaction.test.ts:27 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/semantic-tool-receipt.js) \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":"server/src/__tests__/redaction.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef85f6b101239385d263a47e339ce94b753ddce23c0bd09edaec8b425c848ef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/remote-pi-companion.test.ts:15 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"server/src/__tests__/remote-pi-companion.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"293953f4778e2da441242e10921f6d482e295b46a86ecc9d825cb7653c00de88"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/remote-pi-companion.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"server/src/__tests__/remote-pi-companion.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04ec22eee6eaf84c8182fb303f0e11b965c75c9475b083ec8ec5c6b1af92ce8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/runner-api-recovery.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/backends/harness-driver-backend.js) \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":"server/src/__tests__/runner-api-recovery.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9614480cd5fc8e43e432078a8c2ec01fa4fd9844b1c767845dae4bd57780ee6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/runner-image-identity.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/scripts/build-inputs.mjs) \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":"server/src/__tests__/runner-image-identity.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ea0f74d57f7560b468b139cee06932bd1717f59106d780d7e0f456189504e9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/runner-image-layout.test.ts:21 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/scripts/build-inputs.mjs) \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":"server/src/__tests__/runner-image-layout.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be8ffd5f0e8ab7f1056f2680f012aaf59e29b6eac8c889a1d3cd3bdf8945aef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/runner-image-layout.test.ts:26 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/scripts/provider-pack-runtime-tree.mjs) \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":"server/src/__tests__/runner-image-layout.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"866111bc504488e09201f20f084343a00faaca368f228e610f6270a153db6c36"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/secret-entry-guidance.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/opencode/mcp-bridge.js) \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":"server/src/__tests__/secret-entry-guidance.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"552e770d5201f22f652c1657b628dcd71b3aeaa9c4023efb7e8b48997abc2351"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/secret-entry-guidance.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol-actions/search-api.js) \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":"server/src/__tests__/secret-entry-guidance.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d6b9da763c384b7bee44b998743ce9d0430b9f8cc74080ce3c4d89a56f9996"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/skill-import-discovery.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/opencode/mcp-bridge.js) \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":"server/src/__tests__/skill-import-discovery.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4420e13b86b0b1095b5fabb7635a96ecd627681110e14339928d66a2cd950275"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/skill-import-discovery.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol-actions/search-api.js) \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":"server/src/__tests__/skill-import-discovery.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6289956ea6712135db40b886775cb810e8919e521efa737b9c0f2d45f36c2b6f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: server/src/__tests__/tool-gateway.test.ts:70 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/kv-demo-mcp-server/src/http.js) \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":"server/src/__tests__/tool-gateway.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"081f305947952acd6f461c4a459307489c6bccf99e0e6362dcbd4f88bc006fa5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/aggregator-accounts/test-drive.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/routes/tool-access.js) \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":"tests/aggregator-accounts/test-drive.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6a58d030d0f21b1511ad45a8bf6a98bb28dedd17ce3d4cceced7a09147a35d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/aggregator-accounts/test-drive.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/tool-access.js) \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":"tests/aggregator-accounts/test-drive.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993a85f95471c3e74455a311bacaf7cdbc1bbfbfcb7353fd1873445e9591ee5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/aggregator-accounts/test-drive.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/middleware/error-handler.js) \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":"tests/aggregator-accounts/test-drive.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b88a19a0fccb6f1f890a48b72a810a5b0972a8677a4afaa50fb8237c5128739"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/e2e/agent-chat-sessions.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/agent-auth-jwt) \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":"tests/e2e/agent-chat-sessions.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"875fc26e0aea9dc7f83a30e80c528223560c0dcca6507fe843ef370edb985a7f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/e2e/agent-chat.shared.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/agent-auth-jwt) \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":"tests/e2e/agent-chat.shared.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3e4588b324623e905e34090e69db9ac2ca604f9c9094941d0ec0c2b46ccca9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/e2e/chat-adapters-ui-providers.spec.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/lib/oauth-browser-return) \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":"tests/e2e/chat-adapters-ui-providers.spec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66bddfe3a8eb78f27bb915b8c24a3bcad65cee67bdcc9e6b97d433b12e4c090"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/e2e/instruction-working-copy/launch.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/adapters/index.js) \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":"tests/e2e/instruction-working-copy/launch.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"21229de759395af92e6bd9c1eac0e769b49b60959eb92cf90413a75a9f60662c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/e2e/instruction-working-copy/launch.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/adapters/process/index.js) \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":"tests/e2e/instruction-working-copy/launch.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e9e95782fb3d4ee2f961bb6c24cd3b0c7b7840a5c97f3b68ddd7bfa2b6b95"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/accounting.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/execution-recovery-attempt.js) \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":"tests/lifecycle-baseline/accounting.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"354fc15c6d83685851c90f8c0b76a8aa0ecffac48dfc02b309b06390aabfcdf3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/accounting.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/recovery/legacy-continuation.js) \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":"tests/lifecycle-baseline/accounting.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac0305152282a15f996ab4d5d12dfe0d4937d95381a10d942bf31f4326e8b33"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/authority.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/run-liveness.js) \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":"tests/lifecycle-baseline/authority.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd8e38fb62115416016a20696de940f33a43d7e0d1d43c2bd6e134bc47d2996"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/authority.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/recovery/legacy-continuation.js) \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":"tests/lifecycle-baseline/authority.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a60760efb82de1971b50a2332a39d03efac76c24016cdf89315792891d3276d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/authority.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/status-arbiter.js) \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":"tests/lifecycle-baseline/authority.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaf1ae0b55224fe1cc4c3852abe742261f637b77fe3bb1e6299f0c306fdfbf9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/runner.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol/replay-contract.js) \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":"tests/lifecycle-baseline/runner.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e710dd0f92940490bdf49afd56aca44d4fa14beaf2d80fe79ad7f269facc51a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/lifecycle-baseline/runner.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol/result-normalization.js) \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":"tests/lifecycle-baseline/runner.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcbb6b7bd073153e586e7d85feb640a294a508182c7f8836744092f006ff66e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/contention-db.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/accounting-transaction.js) \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":"tests/restart-chaos/contention-db.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a43ed77f27b40e93f8e1811323adcf96ea6aa448909241ea45952146382edf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/contention-db.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/usage-receipts.js) \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":"tests/restart-chaos/contention-db.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fac6b8d633a60a52f12bb5e6c8af4c5682990dc575bcf746e4ee8d5f5a93b1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/daytona-sweep.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/environment-cleanup-state.js) \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":"tests/restart-chaos/daytona-sweep.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3595df8bd3a15eca7c428ec898059d80d748953ade70b32c32d9066a736a2e69"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/env-provider-faults.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/heartbeat/retries.js) \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":"tests/restart-chaos/env-provider-faults.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ba4398767db2e53d2b7b23d7ddb69c0203b0952aa18b0054ff480e8e16862"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/env-provider-faults.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/environment-lease-fault-injection.js) \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":"tests/restart-chaos/env-provider-faults.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eae29d99e4a8ad1914349bacc6ad5904ad43cc9b77ff695d44c8a0cd18987f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/invariants.ts:24 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/recovery/ownership-invariant-report.js) \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":"tests/restart-chaos/invariants.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb75e14a3f552dfaee941506a16ad52144d624c0195df848387f511005a0603"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/storage-orphan-uploads.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/storage/s3-provider.js) \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":"tests/restart-chaos/storage-orphan-uploads.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf454e598498ee78eb8fa3091dcea26e6ff0f0c9fb9fe6000699499248588d0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/wake-evidence.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/heartbeat/timer-policy.js) \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":"tests/restart-chaos/wake-evidence.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e640c4394271c764aea73a8156707a89bacf733390f1f87ac7b20945355f7eb5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/restart-chaos/wave-speed.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/native-speed-budgets.js) \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":"tests/restart-chaos/wave-speed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"094fe629625e70b3b7b6085656b4907b6bd593174b1bd3a61ad81807eb982f28"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-acceptance/catalog.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.js) \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":"tests/runner-acceptance/catalog.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0019f2e98887d2d0945911c896360da78eb87c5d545bcc3504383e7af7a12"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-acceptance/catalog.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.js) \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":"tests/runner-acceptance/catalog.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2f3bff8bba69aab97ece7043ba5bf5f8c88993273ea1b36dad5b709205807f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-acceptance/catalog.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/adapters/builtin-adapter-types.js) \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":"tests/runner-acceptance/catalog.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61a925d10b4cc5d19053b9eb39a3edfa5ec1bfdcf9df1313a0d1a47ce612cf1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/antigravity-journey-evidence.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/linux-process-start.js) \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":"tests/runner-e2e/antigravity-journey-evidence.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"175475c61ad158dbcf74de613d40f5ff216495d08566604367576c1fd841016d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/antigravity-journey-fixtures.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa446ed979741144a92b7f49b56acf1532f36bde2edef03c8ff2591fd8d0bce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/api-artifact-transfer.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/runner-api-log-redaction.js) \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":"tests/runner-e2e/api-artifact-transfer.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"86976ba9e17027497668f95f763a62fe6f690a93f0ed887dca6bb800f35f133b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/case-receipt-scoring.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/canonical.js) \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":"tests/runner-e2e/case-receipt-scoring.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69acb5d16cdd2cece49016cad0a5f8154a63e630ef80f0815c1c4edba786712"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/case-receipt-scoring.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/redaction.js) \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":"tests/runner-e2e/case-receipt-scoring.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4752fef3c67af63205363faaf2d54d047450164daeb432de647fb1c573c281f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/case-receipt.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/canonical.js) \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":"tests/runner-e2e/case-receipt.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dff4af86c82b94bafa9a98ec4a33b405ea0c58ef8614fc73c2eee80b9748fe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/case-receipt.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/runner-api-log-redaction.js) \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":"tests/runner-e2e/case-receipt.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"af06d4ac283f62ec42a02a757e8ecafa17fc9020154fd5ba6c35c43942a92460"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/case-receipt.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/redaction.js) \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":"tests/runner-e2e/case-receipt.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"527d8fb12c58e624619a0dbb17a818a40c59e6fccb3904c4be60423ba02d99b3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/catalog.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol/result-normalization.js) \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":"tests/runner-e2e/catalog.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a63c32014a353e6cf3935f6480550b5ab8954ff8a918e5e5951e15580284761"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/catalog.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/native-warm-capability.js) \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":"tests/runner-e2e/catalog.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df49b143cb37a3d04b5676c7caa42c3628137f72f5c929ed6f6a829a72c55af"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/catalog.ts:65 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"tests/runner-e2e/catalog.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"879df35bec46769d10c2119e1e884fac3665d746ae0cc3cddb0f94832dc61c9b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/catalog.ts:67 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.js) \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":"tests/runner-e2e/catalog.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5bfa30c13cc86eec00d8187248abdfb98cd4234f51657573889fe60d1b9905"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-accounting-fault.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/run-cost-accounting.js) \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":"tests/runner-e2e/chat-accounting-fault.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74aea12ca51e43b68979fc818dc8506240fb4040ee32dd53f023a47aab8c9a2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-accounting-fault.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/accounting-integrity.js) \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":"tests/runner-e2e/chat-accounting-fault.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf628f5994d046563143c0f71d0fe738f7580240ed4ab278a3ff5d3d917f6e25"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-accounting-fault.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/cost-data-quality.js) \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":"tests/runner-e2e/chat-accounting-fault.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90d17b25407a935d6c16abeb221d6dabb3e12213db44d5bc423003a28bf0835"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-archive-storage-fault.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/issues.js) \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":"tests/runner-e2e/chat-archive-storage-fault.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc207fa149eb468e9b97138bacbcd6772f90f2c04e2128e75527c23ab7bd4b7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/api-read-receipts.test-fixtures.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/runner-api-log-redaction.js) \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":"tests/runner-e2e/chat-catalog-domains/api-read-receipts.test-fixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d541fcd915c1571e7b2b0bae9265bb33738150df445374c0594581cf7ac894b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/api-read-receipts.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/canonical.js) \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":"tests/runner-e2e/chat-catalog-domains/api-read-receipts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abbee49d1a8414f91a69a30d80cff333ff65ad7e0f8f08cf643da6947f02ce4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-app-review-diagnostic.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/tool-content-guards.js) \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":"tests/runner-e2e/chat-catalog-domains/external-app-review-diagnostic.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf7e538ee887514b6d54f43eb0da2803b819d92032e39d8a6fdfdc2ca5b793"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-plugin-tool-identity.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/plugin-tool-dispatcher.js) \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":"tests/runner-e2e/chat-catalog-domains/external-plugin-tool-identity.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a6bb9c3612247306bc86b4c6115fde865adb19ec6a62b67346bb400939c97c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-secret-endpoint.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/home-paths.js) \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":"tests/runner-e2e/chat-catalog-domains/external-secret-endpoint.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bf3c670585b7501fbb03b691f2ddfad835da7001f4005d912f06f36e6262bf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-secret-endpoint.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/agent-auth-jwt.js) \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":"tests/runner-e2e/chat-catalog-domains/external-secret-endpoint.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"14efad06500f61c13f04f40317f1654392fe48bafca7e1e08b90219abd3fc004"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-slack-file.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/attachment-types.js) \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":"tests/runner-e2e/chat-catalog-domains/external-slack-file.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2838b4421618df200cf0d280b1cc3eb5e5e7a20fb1b0f06b95071ee3b0ce34c5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-slack-file.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/attachment-types.js) \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":"tests/runner-e2e/chat-catalog-domains/external-slack-file.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7175e2231b1388f645c79c31f590cf276674e912c7235ef16bef2f8d7b6006bd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/external-team-runtime-fixture.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/teams-catalog/src/catalog-builder.js) \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":"tests/runner-e2e/chat-catalog-domains/external-team-runtime-fixture.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dacc3c3f5f54fd743e850e6ecb4e9e0c5adf852748671766f35fdef2273834b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/runner-api-client.js) \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":"tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e25777649e7254e8f969e9d483fbae411cc93be4c0523c12172d18059aa3c7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/runner-api-log-redaction.js) \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":"tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"646e7a215b74a257164ceea11855424080d451bf4dd15c25ae398871a97a9bfe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/canonical.js) \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":"tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2b1da492411d7ac11d3798bdee6ab0c8f5d969cd23548398b76e2ae35e8707"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/canonical.js) \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":"tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed273d810cf5ad55efdad3199461fb6c19becbb8fa62a6d7ac1a6879f971376"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/redaction.js) \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":"tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a6af0ee0d3c4cbfc910062a8b139ad5a2cfabe9b54f086827dbecc2b2f3f84"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/identity-auth.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/company-member-roles.js) \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":"tests/runner-e2e/chat-catalog-domains/identity-auth.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd2dae9fd38ed2f4642fd1a6ad5dede393d19947303a13002227a2b097b574b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/identity-prerequisite-membership.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/company-member-roles.js) \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":"tests/runner-e2e/chat-catalog-domains/identity-prerequisite-membership.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0080698eb040353c4d43ed5927019c86cf5246611d050d0cb6a31638b9f63d0c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/integrator-case-handoff.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/issue-comment-wakeup.js) \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":"tests/runner-e2e/chat-catalog-domains/integrator-case-handoff.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d493ac52b5741964e051e800d41b0e240ee4f0cb0851f3c881117164821c0b4d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/integrator-routines.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/cron.js) \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":"tests/runner-e2e/chat-catalog-domains/integrator-routines.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f989eaa3903ec5313ae08379ed0adb9c13e12742043e137c485fe6c5d5a37f55"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/internal-artifact-search.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/company-portability.js) \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":"tests/runner-e2e/chat-catalog-domains/internal-artifact-search.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d67b50e39cf4065a431e360f2523289e145c4308fbfcf553dd3619c4c8690b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/internal-project-read-producer.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.js) \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":"tests/runner-e2e/chat-catalog-domains/internal-project-read-producer.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0c6a6e8c78ea1df48f2bdcbbeae6f3f9b756ceee12a3c15729a33f756d6ae5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/internal-worker-readiness.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/lib/agent-records.js) \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":"tests/runner-e2e/chat-catalog-domains/internal-worker-readiness.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfa7f3e2594f5ade1b3859d64a7da4b9c34dd15b1ba8206c94bc1d6a9772ec0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/internal-worker-readiness.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/modules/agent-lifecycle/application/failure.js) \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":"tests/runner-e2e/chat-catalog-domains/internal-worker-readiness.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaf278db0576550a42fdc4fcb20a6faef3c4a050604ebd9eeddb6ecb32c5e5c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/runtime-busy-worker.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/home-paths.js) \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":"tests/runner-e2e/chat-catalog-domains/runtime-busy-worker.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f2f217ff1075eb6ad5756d2e9ac936771bfb70ec4942a1e1133dbcbd947992"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/runtime-email-private-worker.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/agentmail-api.js) \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":"tests/runner-e2e/chat-catalog-domains/runtime-email-private-worker.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52ac9ea8922250a52b8cb8b43501eb7ccd67c77a3c79b5174f2306d3e646bb4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/runtime-native-fault.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/hot-restart.js) \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":"tests/runner-e2e/chat-catalog-domains/runtime-native-fault.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d96622888723c982b6cc1d1dfff1729eed239660b54cf7c9cb4d601464fe8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/runtime-provider-cleanup.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/hot-restart.js) \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":"tests/runner-e2e/chat-catalog-domains/runtime-provider-cleanup.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c8c42025e58ba756fc2a621a9d8a74a176b9f7daddbf397c7bc552094e7d58"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/task-prerequisite-contracts.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/middleware/board-mutation-guard.js) \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":"tests/runner-e2e/chat-catalog-domains/task-prerequisite-contracts.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed6010959a9473a10d87c2c1710a896d708d3cddd5f3604699abcebe15b1ff9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-catalog-domains/task-prerequisite-contracts.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/modules/agent-lifecycle/domain/policy.js) \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":"tests/runner-e2e/chat-catalog-domains/task-prerequisite-contracts.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d976bfaea96523f45d3df583a79e68a336515d0ea891d52859c0ea0c9d4d25b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-factual-query-input.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/heartbeat/task-markdown.js) \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":"tests/runner-e2e/chat-factual-query-input.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8d6002b75b448841297da265dd501051f50d8443c61826bac9afa63f4f00f2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-qualification.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/home-paths.js) \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":"tests/runner-e2e/chat-qualification.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0664181dd2d7d6f87593bcf9925eee3983d954cfb55a9d13e3b25112ef6f9b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/chat-stories.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/home-paths.js) \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":"tests/runner-e2e/chat-stories.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f48a92ad869941d20f3e0048595947bd3c0940fe1c197cc380097f79a1430f1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/codex-subscription-fixture.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/adapters/codex-local/src/server/codex-home.js) \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":"tests/runner-e2e/codex-subscription-fixture.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a86f7505e5cdf5f1afad72c6afa6f24d7d56ccb002610812da5146b9d7694"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/codex-subscription-fixture.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/adapters/codex-local/src/server/codex-home.js) \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":"tests/runner-e2e/codex-subscription-fixture.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdef7fc0c8c6339844368537cc8be723b4f4262e3212e8d95170087a01cc213"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/completion-update-flow.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/home-paths.js) \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":"tests/runner-e2e/completion-update-flow.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4982468fa21e6f68f37a8e45d192819246d979b0d409688bc97236ac7bfd999f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/controller-recovery-observer.integration.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/native-runner-checkpoint.js) \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":"tests/runner-e2e/controller-recovery-observer.integration.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19970d8f0a7eee2fe6d2d4f5fbef7dbf1215da8789e6e6a79e06f5253f564af"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/controller-recovery-observer.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/native-runner-checkpoint.js) \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":"tests/runner-e2e/controller-recovery-observer.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f507a629480cfd6fedf92932105c57ad0785482e55b7403af546f47e0cd97a6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/controller-rolling-deployment.test.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"tests/runner-e2e/controller-rolling-deployment.test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d833f04e117baf0d4d4de436e1d1bd69347a96a32771453909929c91df74f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-active-stop.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.js) \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":"tests/runner-e2e/copilot-active-stop.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c772389248cfa738a57e379a5a4dc9fcee4b34f5db78f9bcf021c7e824f5dcb3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-active-stop.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-session-state.js) \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":"tests/runner-e2e/copilot-active-stop.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71ba9a5fc50d8cab51d65614e54f47cd342d68ea9ced2ab2a2bc9409ef20b79"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-active-stop.test.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-session-terminal.js) \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":"tests/runner-e2e/copilot-active-stop.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5792d50afe852e0237ff445e70fcf9562d37bf84074c3677b3160f38772cc1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-local-fixtures.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/linux-process-start.js) \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":"tests/runner-e2e/copilot-local-fixtures.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e2f6f109a5fcaff3f4dc79e124c7e210a606189d4da072a3279ea63970880"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-local-process-observer.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/linux-process-start.js) \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":"tests/runner-e2e/copilot-local-process-observer.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c14694a4d7b3343c2fcd3fc5957d21ca8d7372971337af12c00e60a6ffa9ee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-protection-flow.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.js) \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":"tests/runner-e2e/copilot-protection-flow.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3686c0d0094380d3407cec7a16b23ded97fc79143adaf1140bf7d53d50218e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-protection-flow.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/profile-extensions.js) \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":"tests/runner-e2e/copilot-protection-flow.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8093866086946129412721734b629d282997556f7d72804eb74b7ab67ec282"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-provider-death.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/copilot-profile.js) \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":"tests/runner-e2e/copilot-provider-death.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363a7708eab19b04280e95b1857fe4f05eda44ed490c41e1fe13aca2f0e823e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/copilot-semantic-evidence.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol/replay-contract.js) \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":"tests/runner-e2e/copilot-semantic-evidence.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc791981ee03774b28a6bf51a748f7a7ee3a8feb231e537d6a7337fe72c8689"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-callback-proxy.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/runner-tool-bridge.js) \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":"tests/runner-e2e/cursor-cloud-callback-proxy.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c797fca3e0d1eb3d8d80d2edc42204ff7a6809aab3b4f37084602ce9cc1a1619"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/routes/native-run-mcp.js) \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":"tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e7e6b538215c2e34f59bbe37c76b56b5fc0c8994cc05b85b71a047eede7c96"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/remote-mcp-relay.js) \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":"tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f88fb27eb00a3924e5b9e7efb1c9892d13d4aacdecba50989fa5dc1f09fd8c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/runner-tool-bridge.js) \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":"tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"361937dbe07fbfe88b26dc854893750f6d8e9017340a58b48785ea5a23cff689"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-observer.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.js) \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":"tests/runner-e2e/cursor-cloud-observer.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e921d2a76d635aba516c4009405d81bce876cca2467f4047be2f59d007ac87f5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-replay-fault.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.js) \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":"tests/runner-e2e/cursor-cloud-replay-fault.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9de4ae5a4f94b332bb64e82be034e8c2b100acfc830dfd2d4e65ce7303babb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-replay-fault.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.js) \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":"tests/runner-e2e/cursor-cloud-replay-fault.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7830610f0a2b636ab806bb297568e46d4354a932f4c9bfc87c58e470de77c39"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud-stop-observation.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.js) \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":"tests/runner-e2e/cursor-cloud-stop-observation.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc34fb2ed566c27d83eec6ad6baecd9a19adb750888ce4c716df998dda0a22ac"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-cloud.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.js) \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":"tests/runner-e2e/cursor-cloud.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"098e2644e04e55506471a61e96093daa247f9a8661731b343b8fcc8e8bfcd917"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-native-cases.test.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/contracts/question-set.js) \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":"tests/runner-e2e/cursor-native-cases.test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"178153052bfcf81113b3f8eee59d45412f76bb4c6ad4b80d189863a5ba8474a2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/cursor-native-cases.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/cursor-extensions.js) \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":"tests/runner-e2e/cursor-native-cases.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40e4d257f7242890ed4197976bb4a6254a3e61b191134ddd618cf319ddbe76c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/docker-postgres.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/app-server-transport.js) \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":"tests/runner-e2e/docker-postgres.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e2a39a72878ab80f6410667e956eba5ef3dd96945348b8360c3a1c7d9ccfdc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/everyday-flow.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/runner-api-rollout.js) \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":"tests/runner-e2e/everyday-flow.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3881743c30e6801cadefe5fdde2b4a5d8a1072bc19148f144f64b9b89e2ddf6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/feedback.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/feedback.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e4f3b6ba242fbd87e5a29e56e29a2840efcdb247f180e17c87ca2ec46dfd78"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/grok-subscription-fixture.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/adapters/grok-local/src/server/grok-home.js) \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":"tests/runner-e2e/grok-subscription-fixture.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63e2dbace2f4e80f21e6e8e8b49c40d15812d3a4d037dc14c741c00b00a94de"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/grok-subscription-fixture.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/adapters/grok-local/src/server/grok-home.js) \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":"tests/runner-e2e/grok-subscription-fixture.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1220e8c2721fc283c82332064b9d5bc5befeb068b7d4caa1b6a42eb7bc70fb1d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/harness-env-admission.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"tests/runner-e2e/harness-env-admission.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d343339362e877d78f1a160b565aa5f280a4a6d20d78f6206354ea74123692f6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/harness-env.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"tests/runner-e2e/harness-env.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0a8eff3f93ef58887661e5dbf7c94bad836032678775d335acc7fd82eba76e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/hiring-template-flow.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/default-agent-instructions.js) \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":"tests/runner-e2e/hiring-template-flow.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"617b1f9e33945a3560789af4dead6c778f3dc128ef158e391b1dd6d47dbaebf5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/hiring-template.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/hiring-template.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e5a62b3af6b2a3b1f73baa20deb23b867034487e54202f6db151ce712142c1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/hiring-template.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/default-agent-instructions.js) \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":"tests/runner-e2e/hiring-template.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de2a3f4bad88b45585920cdcf9d646246fd0743e539c9cd220014ac09615457"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/kimi-context-checkpoint.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/control-plane/durable-prp-control-plane.js) \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":"tests/runner-e2e/kimi-context-checkpoint.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ec17f8558de807a19499f0c28635524862568aef02755499c00375c75afbec"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/kimi-context-checkpoint.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/contracts/native-execution.js) \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":"tests/runner-e2e/kimi-context-checkpoint.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c99567802a63350c96f762fd2947165e480fbe3b8306744c4d98dfc1fc74dea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/kimi-context-checkpoint.ts:123 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/db/src/index.js) \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":"tests/runner-e2e/kimi-context-checkpoint.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c223fbe3960293dfd0dcc9b29d103c4ca7fbf383701c0799828bb8db30f9deb0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/kimi-context-rendezvous.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol-actions/get-task-context.js) \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":"tests/runner-e2e/kimi-context-rendezvous.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d65ba996ea874b0fa725ed60ad656d46733f3a7582f91d3f739a6b21ec20ec"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/kimi-local-provider-fault.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.js) \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":"tests/runner-e2e/kimi-local-provider-fault.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"450e93e76ee3f6aa64b42052a90daa478233cd5f29cfbbdbc8312a808877fd90"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/kimi-provider-fault-contract.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/kimi-closure-pins.js) \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":"tests/runner-e2e/kimi-provider-fault-contract.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72679335525da06c5a18d3ec3153b6a8b0315c9c88066b09d58998a7b632f3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-active-stop.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.js) \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":"tests/runner-e2e/native-active-stop.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"99aa3375cc8b815299192552967e7af68e1ae145eb84c63f2f7a4d35c171ee20"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-active-stop.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.js) \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":"tests/runner-e2e/native-active-stop.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"870476d0fd73733685d53d4a6fcc8a2ff2fee1850605d938ddfd36ec433563af"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-active-stop.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-session-state.js) \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":"tests/runner-e2e/native-active-stop.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc6a525e360c3c055358ac80ad1d108893cf0a2d9a7a963188ada9a0f21e95"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-active-stop.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-session-terminal.js) \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":"tests/runner-e2e/native-active-stop.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58b1f473695f7ea853f65c0ce7760714a7c3653118299918df2af35a8770a68"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-bootstrap-read-proof.test.ts:85 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.js) \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":"tests/runner-e2e/native-bootstrap-read-proof.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad5cf4e359a72257923abe89b3feab694d961a7c83082f1c9e0082f90ef65dd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-bootstrap-read-proof.test.ts:86 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.js) \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":"tests/runner-e2e/native-bootstrap-read-proof.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ecece918ba9f6d817ce94a030636345554fe85c85a200de42c933b7fd4d14"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/native-completion-scoring.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/runnerd-codex-transport.js) \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":"tests/runner-e2e/native-completion-scoring.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"481466773866594d8cf14f598e5d5822a68b30c1cea057c7d727f58cd453bd63"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-controls-evidence.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-harness-session.js) \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":"tests/runner-e2e/pi-controls-evidence.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d547a78b958a0c4367bcecf279b389717c27466b6288a6a5aa2308652fdb76"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-controls-test-fixture.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-session-state.js) \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":"tests/runner-e2e/pi-controls-test-fixture.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bf6d3004e21568a44ca29f5db6f83e0677a27773a3df33463ea20e5939dfb7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-controls-test-fixture.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/codex/codex-session-terminal.js) \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":"tests/runner-e2e/pi-controls-test-fixture.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ce5c4ece72e131a1876858f0c7d01ef0cf5d54e7835295e7aef1f1ca446ff3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-file-evidence.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/pi-file-evidence.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0153c03f75a2b148d6546f658ec2c3a5e7b676b9ddd298dfee35f2a5a64ddbd2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-file-evidence.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/safe-locations.js) \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":"tests/runner-e2e/pi-file-evidence.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e39142357e777f890fdc12c7e27c362421de67ec731a3f3d6dbce8abad3819"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-native-restart-flow.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol/replay-contract.js) \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":"tests/runner-e2e/pi-native-restart-flow.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ffe5c42e15af0cfc048709c2479820c093ed4087938b45b919be1ff7de458b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/pi-native-restart-flow.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol/replay-contract.js) \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":"tests/runner-e2e/pi-native-restart-flow.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50432d5655b35f847b5e19507d96d79f50216e82a96b2e066bb5b80bc21eaa6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/private-attempt-diagnostic.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/private-attempt-diagnostic.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"047c7f5f860b637d3c28ea1bfca880a2964e39ea2e7ffa2aa7886df8394d8016"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/private-attempt-diagnostic.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/protocol-actions/index.js) \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":"tests/runner-e2e/private-attempt-diagnostic.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc43683e1249591260959746b164a42f8b8bbed9c433d97602cd7f0004067fa5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/active-followup.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/product-journeys/active-followup.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"917b46676eb40658ef69a694ada0f446d66a17f70d4b8ccb1b282aa4ea5b6626"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/hire-delegate-evidence.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/agent-ai-connection-default.js) \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":"tests/runner-e2e/product-journeys/hire-delegate-evidence.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf7681fb6d197f29f7db0316da839d427aec7e19dd6b551a4abdc5db5d5c34b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb4f2b0144e8d72f3ff2b3d692e2597af07391364e6e661f5cf2f37d1e8be06"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol/semantic-tool-receipts.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6cfc7690a2dcd9898c114e98918a2e2c4d2c497ac186d126cb5f3059229549"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol/replay-contract.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa45c1fc7ef5e3321ae11ea469a67424994271dfdbedad1c36c4782012e001"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/redaction.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5570ec68d97b6354f1ef01da39b4be61f42c2655623a9d7281cbeda2106690"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../server/src/services/native-runtime/runner-bridge-tools.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-codex.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca47524824e2dc8a8abaab69071420706bf2584c31568746ea390920fa74b3ff"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-evidence.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-evidence.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ba8aeb5da156fa4a68852889edd17a60eef67742b396516791f62d573f02a4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-flow.test.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-flow.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33b1e4e11ce722d53bde59379d74d1db206744f1de56892c994b0f541010ab9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-flow.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol/semantic-tool-receipts.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-flow.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fde4f578a8bf209b44f2eee31cf77d5838b452e672843ccd272a4f3896ea51e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-native-loader.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/provider-events.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-native-loader.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a193438da7ae31da722a59134ae822bcbe202a78f4a4bf97342d54d92577add"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-native-loader.test.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/cli/opencode-proxy-events.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-native-loader.test.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b427285383fa9a3b1a9a8613938f17ba7e8492184cddd04a48dea9acf1072a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/product-journeys/saved-skill-use-native-loader.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/paperclip-runner/src/protocol/replay-contract.js) \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":"tests/runner-e2e/product-journeys/saved-skill-use-native-loader.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59869bff1bdb30ad96469d64d80dfef8d2700f739bdc374b59968db2b83c4f7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/remote-native-bootstrap.test.ts:1 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/native-deliverable-feedback.js) \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":"tests/runner-e2e/remote-native-bootstrap.test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"593036f2ba185150d5e9e0fcba924d94dae0722047e36b825ab0be1d889d6284"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/remote-native-fixtures.test.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/pi-closure-pins.js) \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":"tests/runner-e2e/remote-native-fixtures.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"08516890db18e075061c0efff4d2923f6d127071ce6cf1b173b5f87f93c5d912"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/remote-native-fixtures.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/pi-closure-pins.js) \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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d169c29adc40ed8d81d5071df6a03f3be9e05d871001f898a57adfe5d46d55f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/repository-skills.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/contracts/native-execution.js) \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":"tests/runner-e2e/repository-skills.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"043c4605a0a01d52a08817f9974a8db8eaf664ce12843738d6ab8ff80c6de885"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/rolling-deployment-supervisor.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/secrets/local-encrypted-provider.js) \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":"tests/runner-e2e/rolling-deployment-supervisor.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f8d0a73509814d53ce10c94ba5852905d365c73330ed92e5baa3005b910230"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner-eval-observability.test.ts:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/environment.js) \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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eb3ed47516f9837cfad3b67f720048829501bf40ba5d32d15921b8f563beca"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner-eval-observability.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/mock-core/capability-control-plane-types.js) \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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a39b5a028840fa3fc89c29ed5d7b9fafa4c03b959a9fd2377332eca5f5a545f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner-eval-observability.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/cli/eval-session-contract.js) \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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee4025a9a2f32e58f9f45fbea06b8db3f9d9ec0afb01484c982bfd416659dbe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner-eval-observability.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/cli/eval-gateway-runtime.js) \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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e56df7c5d714fac66a8e490c65cc81cc9e6e036d49258d69b1e9208f739e99"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner-eval-observability.test.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/cli/eval-observability-runtime.js) \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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfcd7e1b3c0b205333d4fc308ed4a6c8ecc7727b995299414fecde1e0e55c8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner-eval-observability.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/cli/eval-session.js) \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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"11de4b5a9e996a740b4b0c37f64a05fcd68e3f1c8a68e55e248dbeaecd5be04d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/runner.spec.ts:290 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/candidate-admission.js) \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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"635982075d19117857a851d443efb7618851cbfaa68a6f1d01ae46a38cbd1048"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/server-entry.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/native-runtime/paperclip-runner-tool-authority.js) \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":"tests/runner-e2e/server-entry.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e523e8a159f5f0bac0b29c726adf779d9396f00df489faff34348aca64de20c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/server-entry.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/adapters/index.js) \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":"tests/runner-e2e/server-entry.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ec2238c24d109ce73361ba90d9099146c44e3a5d79837f71a50f1fa0f19af"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/server-restart-preservation-process.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/live/linux-process-start.js) \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":"tests/runner-e2e/server-restart-preservation-process.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dca4d7ae53cbd328faa988791dda891373f5f0daf0b15aca1dadd58734a526"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/server-restart-request.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/candidate-admission.js) \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":"tests/runner-e2e/server-restart-request.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"250f6041f3c75e82de721cfeb5eee3961cca47621d30f996bed1a248174d36f4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/server-restart-request.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/qualified-profiles.js) \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":"tests/runner-e2e/server-restart-request.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d77b7d4aa4f15aa9e34f4a7cd4651815b44cfa9e0fc3533bdf4820ed69cbe1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/server-restart-request.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/src/drivers/acpx/kimi-closure-pins.js) \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":"tests/runner-e2e/server-restart-request.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ec9f07fb94ad5ad89c47c5f57b4d94b3ddb9bcb7fa4e2f722cb50338b02635"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/runner-e2e/stock-harness-manifest.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/paperclip-runner/scripts/generate-capability-contract.mjs) \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":"tests/runner-e2e/stock-harness-manifest.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc9a546ee7db930e63d4affa55fab2248064d1da77c4fc18a6f58a72c0e130"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:22 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/adapters/registry.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3901ba724c09ac54906c90d3c025c18f4e77bcf9b16707f7617d2a5f9269d681"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:24 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/services/instance-settings.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91a037ea956678c19ae64d8dcc88f80ccd610ac7636e6c59138687d575bdc87"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:97 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/app.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dd5a700d3e2d95d1afb6338e8f5322f00eb76ef1d1072603b4ddf1c956d8ea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:98 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/storage/service.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7bcaa95da41e74b21264099740e73b210642e8b2ec07c07b1424d6b30067e7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:99 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/storage/local-disk-provider.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"475254a5818c6ff721ae25c4bcb785dbcba68c4d4d488f6b7f095e334daeef83"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:100 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/auth/better-auth.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"02047de4ee5e8cdbd325b0e2220635fd883b030a52cd7f68ae8f21ec1fd03fd5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:101 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/config.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a8ae03079c846ae0f8a7e894a832ce7803d29ff1844dd70c37edf6ca59a7fd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:146 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/http/server.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb838d6411425a8d1e10dd3a0bbf39972a9ad04bf8ab7047e4a95f976016432"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/speko-native/app.ts:149 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../server/src/realtime/live-events-ws.js) \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":"tests/speko-native/app.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3ccae0fe03cf3410286f571534d29ce7f08bc22438bae8379bb00c1d284fba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/src/pages/IssueChatLongThreadPerf.tsx:5 imports ui/src/fixtures/issueChatLongThreadFixture.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueChatLongThreadPerf.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ed6752d1932fe481431b1d9e8e93a5d203ae3ecbba3e109e3bddf15d73ae2e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/src/pages/IssueChatUxLab.tsx:10 imports ui/src/fixtures/issueChatUxFixtures.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueChatUxLab.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"569130074ad8a5d25f61b5f2e9aa9e601771befa854e3cc1b5b12ed068cf5ac6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/src/pages/RunTranscriptUxLab.tsx:12 imports ui/src/fixtures/runTranscriptFixtures.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RunTranscriptUxLab.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9529b6f65463ebeeec34e276de14a691ef957e0d3c1efdb5da298dca166774e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/AiConnectionsReview.tsx:23 imports ui/storybook/fixtures/aiConnections.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectionsReview.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b68a2e9660bf997a2dbc2eac97b81cda5c6ed6bb01d640a6c19bd3d9df33c7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/AiConnectorPages.tsx:16 imports ui/storybook/fixtures/aiConnections.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b23abc8e5dad72893f6fbe831e6ee9ef8944cf38d765ff7f7746d24ae77531"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/AiConnectorPages.tsx:17 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dbc3801e48e6a9695f6ecd49cb8df8a4e89a9f97a4100342e6d38c1db8b8d8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/AiTaskConnectionReview.tsx:9 imports ui/storybook/fixtures/aiConnections.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiTaskConnectionReview.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf46c183153dad5865d10f84b5913efce5697e36345b13303cdfa8edddc7f050"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/AiTaskConnectionReview.tsx:10 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiTaskConnectionReview.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8807e36c57ba9b528f54e3c9a0697d2b063cb31d1c1e5fcef7f2eb298ad17463"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/NewAgentWizard.tsx:27 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/NewAgentWizard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"01177dfab7872cd404f3eedbed704bc44cb27d04d0a3d27519398b51e33a3853"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/RemoteMcpConnectionReview.tsx:10 imports ui/storybook/fixtures/remoteMcpConnections.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"faffb9fd1336f6af6872cd0c56b0715a904553c0c1b134ec9d11dd084f4a8658"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/agent-chat-sidebar/fixtures.ts:2 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-chat-sidebar/fixtures.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d609b7a55cff45a4bb5f321ada9eebbba559835408305df486ce9334af2502"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx:26 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a2aab81e7160c1de035a6a0fda908cadd855faeea196540cd439a41a42be24"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/agent-chat/AgentChatSidebar.tsx:1 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-chat/AgentChatSidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa9356d241c7127e84571e7520537b3d125b0c7d082966f84013128183836ae"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx:45 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0992fdfceca77e846b7b1f739252ad5572e9fbef612fe970a5cda03a1c6f2267"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/agent-settings/fixtures.ts:7 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/fixtures.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76bf74c91cb601b6b921882ad9344d1e05438a51f648e99169e4a5c85b739ac"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/agent-settings/fixtures.ts:15 imports ui/storybook/fixtures/onboardingEnvironment.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/fixtures.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cedf903ffa3b70d19e7cbaaf3e92f02d07ae7da31a6b4cfc838ca9bfab0c81"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/new-agent-fixtures.ts:3 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/new-agent-fixtures.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a0fe66dec32ad7e19e0bddf37ed80570f93cfa09e6d204e970a3d166285584"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/originating-tasks/OriginatingTasks.tsx:14 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/originating-tasks/OriginatingTasks.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2261d9e3637940f84d1dd66a0a51b9ea40355e90a9f11d1bc47455ed72e39f14"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/prototypes/project-repos/ProjectConfigurationPage.tsx:11 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/project-repos/ProjectConfigurationPage.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cf35ff59c995efd7006a841fdbb2a8513a86de37a2cd2df7748d321a55eeee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/stories/agents/grok-bot/work-journey.tsx:9 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/agents/grok-bot/work-journey.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d83af7be584f4692daf76139b959d3b1cd8a9e0775aeb7ccac0bdc54b9d29de"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/agent-chat/proactive-messages.tsx:12 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/agent-chat/proactive-messages.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"da487b1571e3e679003d3f54e1f4fbf980f8f39e5231c12a4d738263885cfb1d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/agent-commentary/fixtures.ts:2 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/agent-commentary/fixtures.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5366c60959650b44a90698cbdaf5d3734be6c20d33a84c2792f15835b5beeb24"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/artifact-upload/fixtures.ts:5 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/artifact-upload/fixtures.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4497d5aa04e87f1bc987c4f9d30b8c62b9f8642db70277c2fd23639c50036603"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/cases-read-only-api.ts:3 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/cases-read-only-api.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8034fed343f45148b28ff306124f7faa7751d185dcd9ebd0b32059f002796f12"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/credential-access/CredentialTaskPage.tsx:10 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/credential-access/CredentialTaskPage.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aa2fbbfaa033a1bbd19e8358a39927ba428ceaa3df621165676aa462019004"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/ActivityListPreview.tsx:9 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ActivityListPreview.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f97d1cf95274ba28ea0deb277cfe3900965e4352e91e7613127314ca53b3242"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/ButtonSamples.tsx:21 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ButtonSamples.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d38e0ee9b92710b0db0dced71ff45fcd35ce045cabc5e6d02a4e8038d30011d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/ConversationTypeSpec.tsx:8 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ConversationTypeSpec.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"16603ded10d93f06838319d5b1fafa1e235aa4574ab5a0a230b945d7d271b590"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/ConversationTypographyPreview.tsx:4 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ConversationTypographyPreview.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c91bae681fa5999e426658f20921239592af6b40182b3d1dd28809074affb5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/DesignProposalAccess.tsx:6 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/DesignProposalAccess.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"296c4f220b3cbe5edbb8b8f462e03faefcc36459e3b35e497f6e4b1d8f70fabf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/TaskHoverCardPreview.tsx:11 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/TaskHoverCardPreview.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d1afedf5ddbcf0921f16723462288558d716688f37f133363bdc0544b1aa2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/TaskListPagePreview.tsx:19 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/TaskListPagePreview.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0bd534a2959afd6e01a3e3e848646b843883d4c3b2774bbbd8b619c77074b1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/TasksReproductionTrial.tsx:16 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/TasksReproductionTrial.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4036eaaba3f50fe2112a08c0f54a23887e11ad28a90a7c81ad725ba664c575fd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/TasksReproductionTrial2.tsx:15 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/TasksReproductionTrial2.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cd5dea21d82eb8d367b84c0c7d0b24809f98d1d7e98a8e1afc7392e3e85b4c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/ToolbarsPreview.tsx:16 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ToolbarsPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c4d9080b3ea571393f0a0be90323e1ebf35ae5e132a2eb38b927d8dee2d3a2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/agent-workload-trial-data.ts:2 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/agent-workload-trial-data.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d812ad6bf0cb096143c8c97eb27a74b08fe849238ced25362f60a6a722981b08"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/project-health-trial-data.ts:2 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/project-health-trial-data.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e5b7bb3955895d79569772ef4a3b4cedc2101917da1688212d94c529869e6c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/design-proposals/task-list-data.ts:4 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/task-list-data.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"61756b3526274bf9e72b4d257aa74a1ca744ca77bf0a1a8ce3ccbd5901fc16f8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/github-bot-management/fixtures.ts:12 imports ui/storybook/fixtures/onboardingDraft.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/github-bot-management/fixtures.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab30708fb5001ed28a395108c3bc1faffe814075988dac6a99de737b88ea56a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/github-bot-management/fixtures.ts:13 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/github-bot-management/fixtures.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"267309fddf7118ae9556eee47744ac85133795475fa9031748b19a7822064683"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/issue-creation-visibility.tsx:9 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/issue-creation-visibility.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4165c62b85072a2cfc0d1eb31ee8a36e108411d64560cddafa9d411635a0e3b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/primary-agent/PrimaryAgentStory.tsx:22 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/primary-agent/PrimaryAgentStory.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26c373475124acd6edeb9327595ab26b0faeab482cf1482cafc324c30bade57"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/private-tasks/PrivacyStory.tsx:14 imports ui/storybook/fixtures/privateTasks.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/private-tasks/PrivacyStory.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"842d0e8f23b7fb873f3e27a66654ac69e74387b391d399957b3b497d7ad07154"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/projectRepositorySkills.ts:14 imports ui/storybook/fixtures/routineWebhooks.tsx, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ab196ab5d11192661784e9ad4699a142efe5d150b60f9cad9031ed39954d37"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/projectRepositorySkills.ts:15 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"599ee7d04d2aaad11faec3498fc1a6fd232ff9300e4023a79b681b94f84ea118"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/projectRepositorySkills.ts:16 imports ui/storybook/fixtures/githubSkillSources.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7ce90a4989cfd31bf0035149fda29f3c091d1e0ce918bce85dbcbc879a38e8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/speko/spekoNative.tsx:5 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/speko/spekoNative.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"03501c20318802b192d3a3d4e757e301cb95c3029f8a4ec83fa33132a225c6b4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: ui/storybook/support/thread-human-identity/fixtures.ts:2 imports ui/storybook/fixtures/paperclipData.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/thread-human-identity/fixtures.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"72717078da84521d9c489553b092094f9fb78ffbad7d8227f04227be5d6001f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 501, cognitive 344): (anonymous) has cyclomatic complexity 501 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac483adacf730ceb1109f792d9e6dfe4bf8fb6840dd707af67a4f20bc199c78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetailSurface (cyclomatic 470, cognitive 412): TaskDetailSurface has cyclomatic complexity 470 and cognitive complexity 412; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f367cef523a2c6cbbb9ac9412c90f56c8bddabfda37e60cd7d884452ab18d00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 467, cognitive 527): (anonymous) has cyclomatic complexity 467 and cognitive complexity 527; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d819898930bc1be21e1f1783addc11eb2c3cccac65759432c04c66ef163710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeRunAttempt (cyclomatic 454, cognitive 601): executeRunAttempt has cyclomatic complexity 454 and cognitive complexity 601; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"391ad22b42f04f8114c2221b35713663ee7560b3c8cd34af39a5d88277da2f79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConfigForm (cyclomatic 435, cognitive 379): AgentConfigForm has cyclomatic complexity 435 and cognitive complexity 379; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"685332652acf770deecd4af402fcea0d3243226a9281f180b7df6e4b666b1e42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executePaperclipNativeSessionAttempt (cyclomatic 434, cognitive 563): executePaperclipNativeSessionAttempt has cyclomatic complexity 434 and cognitive complexity 563; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10798}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9bdb58022f0b8ed611b5b65f5553fa59f74ba8bf6dab4f504529452fc54a8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 413, cognitive 860): (anonymous) has cyclomatic complexity 413 and cognitive complexity 860; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"408d922d79b1057efb44e0c024cf75b72528ab429cc11bf6363ff59d654262ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OnboardingWizardInner (cyclomatic 409, cognitive 305): OnboardingWizardInner has cyclomatic complexity 409 and cognitive complexity 305; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"30efa4d5103e11e46a294aa33ead231bfa7d185b69f1041ddd2f606e5a82cef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #resumeWork (cyclomatic 402, cognitive 465): #resumeWork has cyclomatic complexity 402 and cognitive complexity 465; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6714}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4171125c6cc1a7cdd2494dd113a88a9b96680b41d40d2cfe4451d8df552017"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueProperties (cyclomatic 399, cognitive 370): IssueProperties has cyclomatic complexity 399 and cognitive complexity 370; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb02be51dcc657208670164e8785a5b0668724f98ee56bfec40eb99dd4c50f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importBundle (cyclomatic 397, cognitive 838): importBundle has cyclomatic complexity 397 and cognitive complexity 838; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":5276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd6df329ee997fd7f03abf1acb5487b4bfd0c475924dc7f15a78f666010d4b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 388, cognitive 468): (anonymous) has cyclomatic complexity 388 and cognitive complexity 468; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd992460d33d5621a2194d58a04f0e55be22d7a9ea168f465e5e6a5af005fd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeEnvironmentTask (cyclomatic 387, cognitive 399): executeEnvironmentTask has cyclomatic complexity 387 and cognitive complexity 399; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9239cc8f8537ece8f34b53be6198560ca188d767bd811af6ae566f3685c9bca4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitExplicitNativeContinuation (cyclomatic 374, cognitive 398): admitExplicitNativeContinuation has cyclomatic complexity 374 and cognitive complexity 398; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"234bed7d9065c85e1715745ac80ebb1d3804461062997cfc2e0c475e78badc73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectGalleryApp (cyclomatic 336, cognitive 417): connectGalleryApp has cyclomatic complexity 336 and cognitive complexity 417; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7b54a7a7fe6fac77b95aa73a55154a67ed1f4d979aa05c652e743809f2e538"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Setup (cyclomatic 332, cognitive 255): Setup has cyclomatic complexity 332 and cognitive complexity 255; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5f0e63e2e362831416658fb5d247cf4cf6fb7c67883e950993b7e50f6c1c3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHeartbeatWorkspaceLocked (cyclomatic 320, cognitive 317): prepareHeartbeatWorkspaceLocked has cyclomatic complexity 320 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadf2f329095863e04e6138ea79205e91887308c07741ffdf77ed663cde44585"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeFixture (cyclomatic 298, cognitive 386): executeFixture has cyclomatic complexity 298 and cognitive complexity 386; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9045e306ea71b6a12b5227d5125de15d6e63006ddb10d359da727d03364ba750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 294, cognitive 367): (anonymous) has cyclomatic complexity 294 and cognitive complexity 367; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"862da49996330c2bebf35c34b147549b8f3c3ca82141dbc6ce040d39e5a01f23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StandardConnectionSetupFlow (cyclomatic 289, cognitive 242): StandardConnectionSetupFlow has cyclomatic complexity 289 and cognitive complexity 242; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72e69963384f070ae4825c27c6541c23aa9307dd01deeda5b73e83b968a16f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyChatCatalogHumanQuestionAnswer (cyclomatic 271, cognitive 75): verifyChatCatalogHumanQuestionAnswer has cyclomatic complexity 271 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-contract.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3813c17bc70def841a369c671ae99952b62cd05769a712602bdcf7a5132dff4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runUpdate (cyclomatic 266, cognitive 293): runUpdate has cyclomatic complexity 266 and cognitive complexity 293; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":11946}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e0e134df2dc9fa2e262f3da6dbdc3101509e6a9065114601e77afd5c3e3ef9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatThread (cyclomatic 266, cognitive 222): TaskChatThread has cyclomatic complexity 266 and cognitive complexity 222; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ba8bdd133408ed1198c7732247262b198311ddfaff70f596cd78cbf620f13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 262, cognitive 486): (anonymous) has cyclomatic complexity 262 and cognitive complexity 486; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaebeb06b9d8732f54a34789981800f6165aa37256b3cf79c7fafc49d9742cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Secrets (cyclomatic 262, cognitive 250): Secrets has cyclomatic complexity 262 and cognitive complexity 250; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f68ae566ceb5132bc066d5034513454f7faca70979451d1dd2a2d5c8545cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportBundle (cyclomatic 261, cognitive 427): exportBundle has cyclomatic complexity 261 and cognitive complexity 427; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15a69c0359d46f3e933d29c18be025e7da2d129d24755ec8ee13833f1cc1612"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRunnerdBackendWithinSessionClaim (cyclomatic 259, cognitive 233): createRunnerdBackendWithinSessionClaim has cyclomatic complexity 259 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd8d3119d46f948d8fe9d031f16b87b88c9aeabff4e48cefe37da7f380fd37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 256, cognitive 364): main has cyclomatic complexity 256 and cognitive complexity 364; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/main.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be62d173a5fee83597be27047973ff63264d25c7f282bd30dd9e3a71beece11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepTerminalWorkspaces (cyclomatic 245, cognitive 470): sweepTerminalWorkspaces has cyclomatic complexity 245 and cognitive complexity 470; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba9a9612ece76354535340cba034c7752537f471f6668f997b5751eed860d79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileStrandedAssignedIssues (cyclomatic 242, cognitive 566): reconcileStrandedAssignedIssues has cyclomatic complexity 242 and cognitive complexity 566; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2013c677d57ceef0b66bcb08ea27317abe4eb320d9d65688119bb66433781f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeNativeSession (cyclomatic 242, cognitive 312): executeNativeSession has cyclomatic complexity 242 and cognitive complexity 312; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef058393b0fe5663ca35f2fc7c58ccb2b8dca5ced3022b43f2c52bb2d47b75ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveQuestionResponseChain (cyclomatic 242, cognitive 187): resolveQuestionResponseChain has cyclomatic complexity 242 and cognitive complexity 187; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e48cf2e796d4d838fa6177e6cbf7d081072d83db2e7f84411bb01c4b061af05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPaperclipWakePromptBody (cyclomatic 237, cognitive 375): renderPaperclipWakePromptBody has cyclomatic complexity 237 and cognitive complexity 375; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3424fbc62571361bc31d3dd043862161061b61de7cc979e65d601b1653de9d7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 228, cognitive 284): (anonymous) has cyclomatic complexity 228 and cognitive complexity 284; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3190eb3ec842963236c2a20c6c05f8b4647f8302ff7ef5c4f369a6b3baa35c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideBase (cyclomatic 225, cognitive 290): decideBase has cyclomatic complexity 225 and cognitive complexity 290; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"325a9685f043ba55870bccba6a3a7cb8aa1c8dea773c4a9a08652a2845965604"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueWakeup (cyclomatic 225, cognitive 238): enqueueWakeup has cyclomatic complexity 225 and cognitive complexity 238; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"e493522650711ac1e44d499d319a1c818fea137248cb3bb855837ccbc5be611a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRunEventsToTranscript (cyclomatic 220, cognitive 341): nativeRunEventsToTranscript has cyclomatic complexity 220 and cognitive complexity 341; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b618586793e8e29e9655cc604be2f7acf6eff447f2f1f25988a2bc89faeeb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failedChatRetrySource (cyclomatic 219, cognitive 180): failedChatRetrySource has cyclomatic complexity 219 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c49c6a7028cd43164d14cb8f35dc7a511c474888c7cfb744773182cc702815b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 217, cognitive 255): main has cyclomatic complexity 217 and cognitive complexity 255; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-private-browser-worker.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c75baddfbba920ba4be331079e3c4809b070b165cf025cb635bb0c341950ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeTool (cyclomatic 214, cognitive 295): executeTool has cyclomatic complexity 214 and cognitive complexity 295; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":12592}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada2d38a1b057a3655f1b0a649f4157c73caab8db7543076bdc40f3758554654"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapNotificationBody (cyclomatic 212, cognitive 273): mapNotificationBody has cyclomatic complexity 212 and cognitive complexity 273; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a9b8d1dd8054bb167061777fae972cd58a740207839861243b85cdcea6ad4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 205, cognitive 363): list has cyclomatic complexity 205 and cognitive complexity 363; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db57bc0c0826879c59e113f042ee7d3dbb25e26fb60ef900d3d9b3da1e99750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeNativeRun (cyclomatic 203, cognitive 270): finalizeNativeRun has cyclomatic complexity 203 and cognitive complexity 270; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6868cdcf0b1adba33cf018cb8808dee6bdb7e2b9c57341b4fa7304befc3a32d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNativeExecutionInput (cyclomatic 200, cognitive 211): parseNativeExecutionInput has cyclomatic complexity 200 and cognitive complexity 211; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4a0e4f66c6d2344f2468ec92d5e6beeba1abecd8e0158d4cb08b521e39d0a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverActiveExecutions (cyclomatic 198, cognitive 238): recoverActiveExecutions has cyclomatic complexity 198 and cognitive complexity 238; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cc637f05640d5ae80da37b212f3063a256ec5c8505ae0dc02cec3e485a6910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StreamlinedInbox (cyclomatic 191, cognitive 129): StreamlinedInbox has cyclomatic complexity 191 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Inbox.tsx"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c61fa3760e7f1bbd125e413aab7fede411bb14c639f15360e8f9a6f90f377"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEverydayFlow (cyclomatic 189, cognitive 290): runEverydayFlow has cyclomatic complexity 189 and cognitive complexity 290; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/everyday-flow.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ea3c0d8544c87879a8b85a223c1caffcedc044bd772ad92510307242c3e16f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 185, cognitive 200): execute has cyclomatic complexity 185 and cognitive complexity 200; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"835bdf0c7fd3e55eb0e5b19635b763a0ee1c40fbb50ab9c952777080047ce140"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 177, cognitive 202): execute has cyclomatic complexity 177 and cognitive complexity 202; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9e3d1f86722018ab164185f98d8c20f092149b0a8988b4f2797b42c71fb3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectTaskInterruptionState (cyclomatic 175, cognitive 151): projectTaskInterruptionState has cyclomatic complexity 175 and cognitive complexity 151; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"19579928ec0325ebafeecebd247c5654e3d1ae3d0660fa06fddf3f84110c5c82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommand (cyclomatic 171, cognitive 233): parseCommand has cyclomatic complexity 171 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":"tests/restart-chaos/config.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c2efa2e326c069439e3ac2594a857c894491e4f418b9c2751d5a982539c6be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persist (cyclomatic 169, cognitive 177): persist has cyclomatic complexity 169 and cognitive complexity 177; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":10607}}}],"partialFingerprints":{"codehealthFindingId/v1":"081756d5e63c4cafb2436984e16fdb72e2547734ed9d5a32277a219e15b066bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAttempt (cyclomatic 167, cognitive 274): runAttempt has cyclomatic complexity 167 and cognitive complexity 274; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/launch.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b19b0715c01886b25abc70dbf39e3feeae054b8ead6a5f89f5e054b8460c34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentRunner (cyclomatic 166, cognitive 266): resolveAgentRunner has cyclomatic complexity 166 and cognitive complexity 266; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec6b539c98c2e864e65c1a41c7f9a53975800242ec0364253b161b2fa6bf142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 165, cognitive 201): (anonymous) has cyclomatic complexity 165 and cognitive complexity 201; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoffs.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cfba3537df121bae2bf0672333ada4e0e12f6c3a4a3761a7cfd21ba6dd2a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectHeartbeatEnvironment (cyclomatic 165, cognitive 171): selectHeartbeatEnvironment has cyclomatic complexity 165 and cognitive complexity 171; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce1ef58c4d8e7e58898de424aee2451a2ff13f92589e7c87d5b5b335237a38c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanyEnvironments (cyclomatic 164, cognitive 150): CompanyEnvironments has cyclomatic complexity 164 and cognitive complexity 150; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"574fc47e396a2acc26bfe3439831906a523e9c4e0ca308a39a39741e64092fb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireRunLease (cyclomatic 161, cognitive 242): acquireRunLease has cyclomatic complexity 161 and cognitive complexity 242; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2057d2d084c130f9c5fc21543b5bf2a067e5b255be9202d5e8b0812c5ffe087"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatComposer (cyclomatic 160, cognitive 126): TaskChatComposer has cyclomatic complexity 160 and cognitive complexity 126; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a649a8efdd82463492acaf3dbe957530a49184c3e053b3c06183b5c94330a61c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invalidateActivityQueries (cyclomatic 159, cognitive 244): invalidateActivityQueries has cyclomatic complexity 159 and cognitive complexity 244; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d32a7021c3d910421a682c8d2a9c27832d1ba4c2aa217b1440db813b58104de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 159, cognitive 172): (anonymous) has cyclomatic complexity 159 and cognitive complexity 172; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10658}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e3e2eb95c3abd8a86ebc0b6d13b216168d121365c55e2ee0b2174c1da8932f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMessage (cyclomatic 158, cognitive 185): processMessage has cyclomatic complexity 158 and cognitive complexity 185; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b40f1eeaac0b1dec0105ab08ceab3ef60b0d20382d86c547281f105a53bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleRetrySchedule (cyclomatic 154, cognitive 67): readIdleRetrySchedule has cyclomatic complexity 154 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-retry-schedule.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bdd22aefdbb96bfe54b9c2dc817efce1bf6591d97d9ed622aba8d7190d4716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcriptToTaskChatItems (cyclomatic 152, cognitive 312): transcriptToTaskChatItems has cyclomatic complexity 152 and cognitive complexity 312; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bdb491d18a981869b91b3a1b3b606274c311c90f68ed581a1e3cdb9c17bf72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeCompletionFeedback (cyclomatic 152, cognitive 165): nativeCompletionFeedback has cyclomatic complexity 152 and cognitive complexity 165; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3880fcbf06af9a2438bb6c07f085a00e5992fbf8cb7f6511e9af220ea39860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderConnectStep (cyclomatic 152, cognitive 158): ProviderConnectStep has cyclomatic complexity 152 and cognitive complexity 158; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38f3df2205bf0373e5319848a112198902d8c2770a9498b97dd99cc04f58ed8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failRunSetup (cyclomatic 149, cognitive 168): failRunSetup has cyclomatic complexity 149 and cognitive complexity 168; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4ce4e9f01aa995032b7203a1b527b330eab41d78d64173c66022c2d8a330bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanySkills (cyclomatic 149, cognitive 129): CompanySkills has cyclomatic complexity 149 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce526a809c769d080694b5bc48b76c681148396e9b960e8def3ecd16f40d8a45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeRemoteHttpTool (cyclomatic 148, cognitive 198): executeRemoteHttpTool has cyclomatic complexity 148 and cognitive complexity 198; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":7731}}}],"partialFingerprints":{"codehealthFindingId/v1":"140dd28dcf8b8277e4f5620e88a027a39672414af350f7edbc26a3b4aad000d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailEndpointSetupForm (cyclomatic 147, cognitive 107): EmailEndpointSetupForm has cyclomatic complexity 147 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"431371cbadd5193ef736fcf3dab2e7668d1fd2069c662ce9e1c7d58002cc99ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 146, cognitive 178): (anonymous) has cyclomatic complexity 146 and cognitive complexity 178; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5573}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf52fc39556e02a19ddfc11c3fdfa4de7e6ea417d7446c5617f3ab664fc484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 145, cognitive 188): inspect has cyclomatic complexity 145 and cognitive complexity 188; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f08a0d6c25148137733528feb3713d14e024b61fdf23a52e3e8a01ece8389c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRuntime (cyclomatic 145, cognitive 147): buildRuntime has cyclomatic complexity 145 and cognitive complexity 147; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9068761a2afb24749007ad227262f2e608f3525a7c6997530bd8ad6537049142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addComment (cyclomatic 144, cognitive 171): addComment has cyclomatic complexity 144 and cognitive complexity 171; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":13594}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f77ca4e6cb98cfe98c89c5a5d93c3dddbd307c96c281a67aef067d38cb59ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionIntentInteractionBody (cyclomatic 143, cognitive 146): ConnectionIntentInteractionBody has cyclomatic complexity 143 and cognitive complexity 146; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7efb66176df7c9a32e6d07f1cb1bd75f1b39b2b750d409115ec5c7cf0523812"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Costs (cyclomatic 143, cognitive 124): Costs has cyclomatic complexity 143 and cognitive complexity 124; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Costs.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d60d27b54e78715872878989f059472ee99323da6a1727fc10c032e1a806faf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeRun (cyclomatic 142, cognitive 169): completeRun has cyclomatic complexity 142 and cognitive complexity 169; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"128d58868e78c5895fd659f12e6ec139f403cc5964b60572b376c240a19400a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectWorkspaceRecoverySource (cyclomatic 140, cognitive 132): inspectWorkspaceRecoverySource has cyclomatic complexity 140 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-source.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"db95ff9af30470c2a0992b461b11e5cfe18b6d2995c45d55ea3e74e18c0909b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 139, cognitive 174): (anonymous) has cyclomatic complexity 139 and cognitive complexity 174; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":19890}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbe83df2bc5954b79a39de9a4fa94d743fbb510072e07bbb0a49d237072387c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAction (cyclomatic 139, cognitive 151): handleAction has cyclomatic complexity 139 and cognitive complexity 151; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df4126cf368ffac8b88ff3125bf2aba8e619e6c15b6e28c75bd2c64c2d2e70a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function continueFreshInTransaction (cyclomatic 139, cognitive 148): continueFreshInTransaction has cyclomatic complexity 139 and cognitive complexity 148; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c626e39cc27a6d1419b4a52e6e31cad02bd2e44389a1e94fbb0a3df68e6625e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentProviderConnection (cyclomatic 139, cognitive 105): AgentProviderConnection has cyclomatic complexity 139 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0583b118fa624d396f350f6b985fb18e8c08090d8ffcd35530841f857e4c8bc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateSleepQualification (cyclomatic 138, cognitive 85): evaluateSleepQualification has cyclomatic complexity 138 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/sleep-qualification/evidence.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d852cae496d9e9fb98476764d766fdf143dfbae0cdc0ded80722b915d4628f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 137, cognitive 154): execute has cyclomatic complexity 137 and cognitive complexity 154; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"265123a8f63b4f5796f373a0bf68fb289fb614fb23b8ebe1f4fc3cf961eeb93c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startServerWithDatabaseTeardown (cyclomatic 135, cognitive 188): startServerWithDatabaseTeardown has cyclomatic complexity 135 and cognitive complexity 188; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"940ca0141916c907c38bc68dddbe39f315103d480384d34cedb88a3b4a04cf86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 135, cognitive 130): (anonymous) has cyclomatic complexity 135 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa38d4f849860a785451901438f135adae95dcee1b00f33c8b5652217e3555b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 135, cognitive 100): (anonymous) has cyclomatic complexity 135 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"612a370a4c351a73749664b12f03533745862eaecbc4d8fc0f9e1b1ef0af78f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCapabilityLiveSessionSnapshot (cyclomatic 134, cognitive 144): assertCapabilityLiveSessionSnapshot has cyclomatic complexity 134 and cognitive complexity 144; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"200c53c6bafd8e7c90e1346590ed3d96dadbcc365ad149a62b7ae3468db8a783"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectExecution (cyclomatic 134, cognitive 138): projectExecution has cyclomatic complexity 134 and cognitive complexity 138; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef757fa4c1cf11ceef0d929d7912fd2a9e1fac27a8f8f795b4ac33ebaaf81fdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanySkills (cyclomatic 134, cognitive 114): CompanySkills has cyclomatic complexity 134 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4026}}}],"partialFingerprints":{"codehealthFindingId/v1":"086190db3a1461f7bb0021b18cb4949ea81150d81d4226a534acd475fe98d1a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueThreadInteractionCard (cyclomatic 133, cognitive 115): IssueThreadInteractionCard has cyclomatic complexity 133 and cognitive complexity 115; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a03e66ac390d0fc4db6463a4e106c69f97d07550cb4a679cff64fa49610b2fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 131, cognitive 279): (anonymous) has cyclomatic complexity 131 and cognitive complexity 279; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":66951}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fec7726d40a68ba16ba6fef0f95ac17f9e049001b3a7fefd70b69d510ffa793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectHeartbeatRuntime (cyclomatic 131, cognitive 197): selectHeartbeatRuntime has cyclomatic complexity 131 and cognitive complexity 197; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ab2ef2bf1f0facfa5b084829bbb19a556e54dc5918e018d45f1b45896971d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 130, cognitive 229): (anonymous) has cyclomatic complexity 130 and cognitive complexity 229; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/chat-adapters-ui.shared.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a408d2199cb0a32fe101708457b84d541b9ba8310424ccdb279b6b0170145eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeHeartbeatRuntime (cyclomatic 130, cognitive 212): executeHeartbeatRuntime has cyclomatic complexity 130 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3800c8939c57adbe011fc8f5adbd86452c722a2d3a091a82df693339d4f9eea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptsTab (cyclomatic 130, cognitive 96): PromptsTab has cyclomatic complexity 130 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1e9131ad6572972a32bd4f37623535fa761290fb3cb88e9d5f5461836c3030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyChatCatalogCompanySecretBindingApproval (cyclomatic 129, cognitive 21): verifyChatCatalogCompanySecretBindingApproval has cyclomatic complexity 129 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":"tests/runner-e2e/chat-catalog-contract.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"1975fda639de3d301daf49067c381897059966bba60875878705544bd8e2d7be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAuthorization (cyclomatic 128, cognitive 228): prepareAuthorization has cyclomatic complexity 128 and cognitive complexity 228; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-management.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e24fde35d367a9820f9d97813829ff80531b5b853e7e282a13cc8ca1bc24568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupAntigravityJourney (cyclomatic 128, cognitive 196): cleanupAntigravityJourney has cyclomatic complexity 128 and cognitive complexity 196; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0375e5f6797f7561e16f0e73088662ae6fbfc172f6369ce848569e648a6403"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPaperclipWakePayload (cyclomatic 128, cognitive 144): buildPaperclipWakePayload has cyclomatic complexity 128 and cognitive complexity 144; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c188ef658a2b71b402320eca5cdb2708d76f371448b5c977ff865a7e70db19d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function arbitrateNativeStatus (cyclomatic 128, cognitive 115): arbitrateNativeStatus has cyclomatic complexity 128 and cognitive complexity 115; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a074c0cf17bec1ad5cda01b516003db4002a7b98011a77d2575c5523662b7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentDetail (cyclomatic 127, cognitive 115): AgentDetail has cyclomatic complexity 127 and cognitive complexity 115; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d288463fc22d1419f2e41cae6d178a5c51865b9b3665718b426a402b319715d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StandardAppDetail (cyclomatic 127, cognitive 114): StandardAppDetail has cyclomatic complexity 127 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8462dd970aa66dfa8975790c331f73f852475b1683e698443ce08677f9ae20a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorCards (cyclomatic 126, cognitive 68): gradeIntegratorCards has cyclomatic complexity 126 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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a4e27022e7b26395774562f65f4ae0fe74247833573dd48416a38b6e6a515c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 125, cognitive 105): act has cyclomatic complexity 125 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"329cfb9a1d7a412e20ce8bb9ef8b103ac755403fd9f11cbddbfcd49791cd20d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodexLocalConfigFields (cyclomatic 125, cognitive 100): CodexLocalConfigFields has cyclomatic complexity 125 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"357efe72f532fb4bccb28ba88b193e3af03ab0e382d6da0aadd64a89004709e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeRunnerApi (cyclomatic 122, cognitive 165): executeRunnerApi has cyclomatic complexity 122 and cognitive complexity 165; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612f75ae7465121dee1ff95de10175df1cc6addd0f2ff8035d79ac33cebc9ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 121, cognitive 117): (anonymous) has cyclomatic complexity 121 and cognitive complexity 117; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8517de83021352b5b2e5c7a23b693364ffedc2a952ed38f7eed85f795841fc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAntigravityJourneyTurn (cyclomatic 121, cognitive 33): gradeAntigravityJourneyTurn has cyclomatic complexity 121 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":"tests/runner-e2e/antigravity-journey-evidence.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d472aaa7e03cc5993aa954b5a020c2e571426487251d8e7f91af1da92b40dff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleRetainedRunnerdSessionOwned (cyclomatic 120, cognitive 169): settleRetainedRunnerdSessionOwned has cyclomatic complexity 120 and cognitive complexity 169; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4341670285efbba3005c997909976d79a079cb07409176b94f31d28291cce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildManifestFromPackageFiles (cyclomatic 120, cognitive 155): buildManifestFromPackageFiles has cyclomatic complexity 120 and cognitive complexity 155; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"193779091dce6f69a7a3c62e0689289226f54927934e705da75ff7b0e5b3473e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceArchive (cyclomatic 119, cognitive 228): workspaceArchive has cyclomatic complexity 119 and cognitive complexity 228; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee12e02d72f8c0aa168769e8d836d97c2f9c57193002a02e9443a56ec7eb4cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #deliverCommittedEvents (cyclomatic 119, cognitive 214): #deliverCommittedEvents has cyclomatic complexity 119 and cognitive complexity 214; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a931989566d183888fa6d6c1a130fa3d3355512cbd2f59cd76d7ae9be49fe9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorktreeMergePlan (cyclomatic 119, cognitive 159): buildWorktreeMergePlan has cyclomatic complexity 119 and cognitive complexity 159; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb96d1e5c33d11753bd5228fe4eb4fd868db97b233be93ad1344632c017f54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatSdkEndpointSetup (cyclomatic 119, cognitive 85): ChatSdkEndpointSetup has cyclomatic complexity 119 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cae699acb446d598b46d8fecec179e4e191dceb4e10ea4a2bc1a7b85ffc573"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 118, cognitive 197): (anonymous) has cyclomatic complexity 118 and cognitive complexity 197; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c755e7eee9e8fa967b69a49cd4ddf397efedae6cc39628b723f665e131a8e0b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 118, cognitive 146): (anonymous) has cyclomatic complexity 118 and cognitive complexity 146; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f7e1f40041cc9530a75acebfcb32e59a44c9873d13a1cc44c216f8a9b0708d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planWaitFromFacts (cyclomatic 117, cognitive 58): planWaitFromFacts has cyclomatic complexity 117 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-plan-wait.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc811e9f367ad9b7ac1343322c55be4dd6780a6688a9856ca102ed26fcb9959"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateRunEvidence (cyclomatic 116, cognitive 198): migrateRunEvidence has cyclomatic complexity 116 and cognitive complexity 198; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-evidence-migration.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dee86f1f907030a84c554fd5d762940bb89277dac36653006222dbd4aaf1a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launchProductJourneys (cyclomatic 116, cognitive 174): launchProductJourneys has cyclomatic complexity 116 and cognitive complexity 174; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/launch.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa0ffd2843ac450fcf3e33be26f84ae6f906581b1d5cae6b89292c1f04361ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Layout (cyclomatic 116, cognitive 98): Layout has cyclomatic complexity 116 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"733910868fa2acc2c345a5e5afcbe162addbc7f32317524e854b0ae01b07d2eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectKimiContextCheckpoint (cyclomatic 116, cognitive 47): projectKimiContextCheckpoint has cyclomatic complexity 116 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":"tests/runner-e2e/kimi-context-checkpoint.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec760b3dc769ae55d329719859095530e51a85bd811840c1aa932921601c2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #executeCommand (cyclomatic 115, cognitive 138): #executeCommand has cyclomatic complexity 115 and cognitive complexity 138; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"509c30672d8d482aa2cb130f83c06abbb519b3e460556b4b89303699052271cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 115, cognitive 120): update has cyclomatic complexity 115 and cognitive complexity 120; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":11580}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc4ae83f0b24e35007342df5b451f905fcd7e1ea981e5424788e6ad4455b0e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueRow (cyclomatic 114, cognitive 156): IssueRow has cyclomatic complexity 114 and cognitive complexity 156; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRow.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5b262339ed5bc2168425941b5a63d6d72b529798228813efced190aa32d6b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #mapProviderEventValue (cyclomatic 114, cognitive 149): #mapProviderEventValue has cyclomatic complexity 114 and cognitive complexity 149; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c256e7012eb7345865412483081b5af563c500b171c2179c07c58322d121d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPreProviderChatFailure (cyclomatic 114, cognitive 77): isPreProviderChatFailure has cyclomatic complexity 114 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f23f2f52a6d5c251cb8d70a7156e2e8b0f5db661a6ffd6fd0ad1fd60af5d67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 113, cognitive 152): (anonymous) has cyclomatic complexity 113 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/shared/src/validators/plugin.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50eb306060630d11c7efd8369387c671521c3227d95525c4edd0ee7846aef4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 113, cognitive 137): (anonymous) has cyclomatic complexity 113 and cognitive complexity 137; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":5921}}}],"partialFingerprints":{"codehealthFindingId/v1":"1965bd62f54b010795098da7a52c9bab5b291be4394ac2e6d43ba07ff79ee009"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyStoppedNativeSessionForContinuation (cyclomatic 113, cognitive 91): verifyStoppedNativeSessionForContinuation has cyclomatic complexity 113 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"293d41eba43dcbffba286132c599724c27d830e3b324fcf90bac0b9c0712f520"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChatControlRecoveryStop (cyclomatic 112, cognitive 139): readChatControlRecoveryStop has cyclomatic complexity 112 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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0bb390447f8baa6d5c99f2042bfeb564cec5d22426bce66929751565b9a260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleGiveHeartbeat (cyclomatic 112, cognitive 132): handleGiveHeartbeat has cyclomatic complexity 112 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e70cfc8a7c6bafdf881f89983f2d55bdd03a50ed67d8170de00bfcc49b0156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCaseReceipt (cyclomatic 111, cognitive 37): gradeCaseReceipt has cyclomatic complexity 111 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":"tests/runner-e2e/case-receipt-scoring.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b1ba60ce473fc3de978e10ac86e4ff9a7e0ca83b6859f5ef63b29c9790375f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyIssueExecutionStageTransition (cyclomatic 110, cognitive 154): applyIssueExecutionStageTransition has cyclomatic complexity 110 and cognitive complexity 154; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4d0ce8b1194079d434d5bb11d6515240e119d2db9c318b87461bd70a717d7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawnLocalRuntimeService (cyclomatic 109, cognitive 130): spawnLocalRuntimeService has cyclomatic complexity 109 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6688ac185b2bbb7cd980dfd7c5085d81c98737dfa00a5683d713cad9e7fc6028"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueRecoveryActionCard (cyclomatic 109, cognitive 96): IssueRecoveryActionCard has cyclomatic complexity 109 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f25d7412f0f4d8fc83c4fb67f5ca0d1640a3cf41f70eaddb194ced6c753651c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 109, cognitive 55): (anonymous) has cyclomatic complexity 109 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e41966e44c47f733cd599a02bd299e3e3c1ffcfe091ae99bbd9ae8e3dffe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPreview (cyclomatic 108, cognitive 190): buildPreview has cyclomatic complexity 108 and cognitive complexity 190; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4883}}}],"partialFingerprints":{"codehealthFindingId/v1":"7323377bd2499d91a70cda229bcd3d134cedb865189fbb332553e3e3fd302f4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalProviderEventsFromCodex (cyclomatic 108, cognitive 139): canonicalProviderEventsFromCodex has cyclomatic complexity 108 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"437c0a850446afd26dc3830846d3cf11f579b318e4f0c526188125295e96ae6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimQueuedRun (cyclomatic 108, cognitive 136): claimQueuedRun has cyclomatic complexity 108 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"3549c6f24e305675cafdbcb77986ce9a4574d61b1220426004c7749b1ca7637e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 108, cognitive 134): (anonymous) has cyclomatic complexity 108 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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2d1f924571d02d5a32a80020b5c3188a646ca509d46e4956c1532b9bea7c4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverSession (cyclomatic 108, cognitive 121): recoverSession has cyclomatic complexity 108 and cognitive complexity 121; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e824740c9e878ff36635f2f8abdee4e7ce31b299ba5f44a9e899220d546d572"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 108, cognitive 111): (anonymous) has cyclomatic complexity 108 and cognitive complexity 111; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba32c3740635f3711ebfe9f7bc1a42ba0798f03019c48fc15e8a4d5db9150bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RichWorkProductCard (cyclomatic 108, cognitive 108): RichWorkProductCard has cyclomatic complexity 108 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a81f34a049736eb044eac168fcfb55baaa26fd449b9dedcf9821c303bdddf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectOnlineWorkspaceSource (cyclomatic 107, cognitive 157): inspectOnlineWorkspaceSource has cyclomatic complexity 107 and cognitive complexity 157; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-workspace-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6cb45933c30c3e731f7c1ae4653ff207d0428d69dfbe67ece9cfe7e91d2b52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startOAuth (cyclomatic 107, cognitive 136): startOAuth has cyclomatic complexity 107 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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"018a7aca7f90be45b53f706205db1c447fb16d621bb5b12a6c101f752e787ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 107, cognitive 129): execute has cyclomatic complexity 107 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03af16821c61a6de74be8514080a4f33f92dfe65b0d552d6d2eaabbd87d53bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRunFailureDiagnostics (cyclomatic 106, cognitive 173): collectRunFailureDiagnostics has cyclomatic complexity 106 and cognitive complexity 173; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"936766a3346e07b65930021967008d33aadaa9ea8093f347c756e0adcd55d981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 106, cognitive 112): (anonymous) has cyclomatic complexity 106 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":"server/src/routes/access.ts"},"region":{"startLine":3619}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c10061927f99959464155525a4524b7624982298e84af6169be2aa0f3934ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 105, cognitive 158): (anonymous) has cyclomatic complexity 105 and cognitive complexity 158; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/github-review-launch.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da058eb7b30e6918bd3e7cddc89824d159b8a3c5c0aca375df5ee8075d5df6d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureWithCredentialLease (cyclomatic 105, cognitive 141): configureWithCredentialLease has cyclomatic complexity 105 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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2d1b3178926161e52b8b31767c53cc2d67f71a87d52d63bcce29951fd80eb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 105, cognitive 109): (anonymous) has cyclomatic complexity 105 and cognitive complexity 109; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf302b9d73b542c765408e64ffdd1ebc50da8db893cb5a4b07417e9bb9c7a948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSemanticBootstrap (cyclomatic 105, cognitive 69): readSemanticBootstrap has cyclomatic complexity 105 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/copilot-context-evidence.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6ff1c532c60c1a8615345600381693fcde07b406595d5683610ed83a2f06b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCompanySecret (cyclomatic 105, cognitive 54): gradeCompanySecret has cyclomatic complexity 105 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf59aba527022656dbee39d8d365e36ea4a7fbe4f258224dd50fa53f80809b7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 104, cognitive 160): request has cyclomatic complexity 104 and cognitive complexity 160; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dda5bd20ce921b2c173e691fc15c6bfa3ab7e1fa11bdca27d78596faede034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 104, cognitive 152): fetch has cyclomatic complexity 104 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":"ui/storybook/.storybook/preview-base.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4724b0850f3a05563502db21cdb8f01f2deb08d981b041cbe25671f3e3494c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 104, cognitive 104): main has cyclomatic complexity 104 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-private-worker.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce4050ab50be74bd2026706207c5fd55bfbf1613a0bcdcbd758f1a3ab468413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 104, cognitive 101): (anonymous) has cyclomatic complexity 104 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9092}}}],"partialFingerprints":{"codehealthFindingId/v1":"b596c44482a6aef882689ccf9d079e691a5a30fce5a9b078654faaccb7a4c459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentDetail (cyclomatic 104, cognitive 92): AgentDetail has cyclomatic complexity 104 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121ccdd1939a4408dc05606ba520f904eddf078c42495ed308592af3d79129d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalAgentInviteContent (cyclomatic 104, cognitive 89): ExternalAgentInviteContent has cyclomatic complexity 104 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5659b899528c478045311e1affee1fe8edb28577ff4cba1c96c2fa3c9fa3c353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubChatSetup (cyclomatic 103, cognitive 97): GitHubChatSetup has cyclomatic complexity 103 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ad07c16795ac98cc9bf45c6f1ae92b622d67876f347363f74cf149e80e773c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 102, cognitive 117): (anonymous) has cyclomatic complexity 102 and cognitive complexity 117; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":13273}}}],"partialFingerprints":{"codehealthFindingId/v1":"db78cd8fa9fde2624d6555db2e3f5b4b1b7b0438679d19aedb0f1c7cca30498f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerRunSettingsPicker (cyclomatic 102, cognitive 90): ComposerRunSettingsPicker has cyclomatic complexity 102 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/ComposerRunSettingsPicker.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5729f4af3b77229e3461cd1566a14058b08384ce220f2a8b9ca97f1dcbd758d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistUsageReceiptInTransaction (cyclomatic 101, cognitive 107): persistUsageReceiptInTransaction has cyclomatic complexity 101 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"610cb89182aa5254ada060d0094bd85ccd8a87e95f5f94bf08e013eda68d234c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduleBoundedRetryForRun (cyclomatic 101, cognitive 97): scheduleBoundedRetryForRun has cyclomatic complexity 101 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac03588c374d7fd800066333ac421ce72c02b2b736d2b310b9a662a4b3b6eb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 101, cognitive 94): (anonymous) has cyclomatic complexity 101 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ead3766c20ff3d120efb013b3b3667961a914e6eb8c613f72ba73ab1fd7885f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectedTaskComposer (cyclomatic 101, cognitive 66): ConnectedTaskComposer has cyclomatic complexity 101 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd9eb0ddd000e7bcadd0e94181bb5dd52511496d06d6734adcdea8d1be6cdf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 100, cognitive 176): (anonymous) has cyclomatic complexity 100 and cognitive complexity 176; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0075faacb988ea223ef833d31f65e7ac73df0c0e3d0c2b8ce8b2dd685d6ea22d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPhotonResponse (cyclomatic 100, cognitive 127): processPhotonResponse has cyclomatic complexity 100 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b99dcebac34e7a15d3e1b90c210da9f675a13218cf1fb14d806b85907ebbcd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExecutionWorkspaceDetail (cyclomatic 100, cognitive 95): ExecutionWorkspaceDetail has cyclomatic complexity 100 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39817a0de6a8095379cab709432e8e42f3caf8f9af1f5226c1d05c103af290e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 99, cognitive 159): testEnvironment has cyclomatic complexity 99 and cognitive complexity 159; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a32d1d727e5d81fbed1ac8df4ba622940727457e1f5a6c2f56ddecb27aa19ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHeartbeatExecutionConfiguration (cyclomatic 99, cognitive 115): prepareHeartbeatExecutionConfiguration has cyclomatic complexity 99 and cognitive complexity 115; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ed073d56becd28064ec828801039aee4a0cd72c754da00689bc86caf394724"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueIssueInteractionChatPublications (cyclomatic 98, cognitive 125): enqueueIssueInteractionChatPublications has cyclomatic complexity 98 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ee1011ee9da368cb264053c0cb51fbc150f45ef97ef565d2d2faf83c45a086"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InviteLandingPage (cyclomatic 98, cognitive 90): InviteLandingPage has cyclomatic complexity 98 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d6bfefac5fa0ab801e4434c66872cd8819a1dc3fa804508accc33055c663d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExecutionBlocker (cyclomatic 98, cognitive 82): getExecutionBlocker has cyclomatic complexity 98 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":"server/src/services/execution-blocker.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d047af394cb2c79dbab28058321c4a9090750a93215b66e2ae7752e13afabcec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 98, cognitive 80): (anonymous) has cyclomatic complexity 98 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e999ae157971f53819a5d874087d1ab321defb6bd361aeb2b4301122bd042b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueDetailChatTab (cyclomatic 98, cognitive 79): IssueDetailChatTab has cyclomatic complexity 98 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41c19ec71441fcf5eb8960163dedd28bbc33d48b98e3859fa79c15d13ccfdea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanRepository (cyclomatic 97, cognitive 161): scanRepository has cyclomatic complexity 97 and cognitive complexity 161; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-skill-source.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3971492fdd15411fadbe0582e986e18c235af1592eb3d599324e8cfa8e42d128"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccountNewIssueDialog (cyclomatic 97, cognitive 83): AccountNewIssueDialog has cyclomatic complexity 97 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be1970fa2a2fc5e8c2e61ae4cf3c2f3c7c844cdc4974c5e73918728e112c98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StreamlinedIssuesList (cyclomatic 97, cognitive 72): StreamlinedIssuesList has cyclomatic complexity 97 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0caaffe091f0898478e29835f682497b6c07de4b7a3b6c8debc5fceff9e150c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 96, cognitive 112): fetch has cyclomatic complexity 96 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":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df5543e7ebae3363e474afaa21c05040a9c18ad618da87022724e3dd94f936a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookupSlackFormDelivery (cyclomatic 96, cognitive 78): lookupSlackFormDelivery has cyclomatic complexity 96 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"678402aa6d8487df0d7f54bd8b859bdea2f6fe9db2bb28acc468f57d2f2e303c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 95, cognitive 140): dispatch has cyclomatic complexity 95 and cognitive complexity 140; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c94f99cf7cf3463c05a57038bffd3bf2938d7a2b74f30430bf2ecebbd80235f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteTools (cyclomatic 95, cognitive 119): remoteTools has cyclomatic complexity 95 and cognitive complexity 119; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92cae265dcea55228e214dc125b84822816929580cf5968f2b02a90a87a7858"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAgentSettings (cyclomatic 95, cognitive 28): gradeAgentSettings has cyclomatic complexity 95 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":"tests/runner-e2e/product-journeys/agent-settings-evidence.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0fbf393cafd02d712540ea25ca6b15362f6a99e7b2fd71f3abd9be023c4b86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 94, cognitive 130): search has cyclomatic complexity 94 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"3468ed0e8353f2e9b9e8fee383967df1f9ae668b15892c3a7fe83deea60ebcad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePersistedExecutionWorkspaceAvailable (cyclomatic 94, cognitive 103): ensurePersistedExecutionWorkspaceAvailable has cyclomatic complexity 94 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3915}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7c635d23b89d6dad4e542af5bce6cd58fa8fba6d397cde5d83b933f0b4760c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 94, cognitive 91): main has cyclomatic complexity 94 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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt-worker.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9a592bbcc5f2f6aea1fc9bf40d4d0c8a473dcead111c04927c8a4dcaa4a9e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectDetail (cyclomatic 94, cognitive 91): ProjectDetail has cyclomatic complexity 94 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":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"15994283820f3d6e168f2af4e6d23f3765e7f6ccaa6bd70edbee8d55d1533a6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 94, cognitive 88): (anonymous) has cyclomatic complexity 94 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/admission.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88302b1adba4ce1212a7e965af7d4addf19cf09c534dbaa3d7a1ca782443479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 93, cognitive 149): testEnvironment has cyclomatic complexity 93 and cognitive complexity 149; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/test.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a54cb4e8fc140dd311d7c91eb7c77e9651943cc98e69f9ceefa1aa1bc4e0d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityIssueThreadMiddleware (cyclomatic 93, cognitive 116): capabilityIssueThreadMiddleware has cyclomatic complexity 93 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e50f021dc0c6f9f4bfcdb9b1d88668bafdf0f07ab8b562d4f4eeded343e7917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubChatPreview (cyclomatic 93, cognitive 86): GitHubChatPreview has cyclomatic complexity 93 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed61d16f4312448f7025d3d56a183b9b13d3be73b4d134dcb7c3b4f6a7f0ec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 93, cognitive 69): (anonymous) has cyclomatic complexity 93 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7262248a40ba0f8579e1874aea1ca1071c517d0bfe0a0b11dc8652195e725630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeHiringCompletionActions (cyclomatic 92, cognitive 140): gradeHiringCompletionActions has cyclomatic complexity 92 and cognitive complexity 140; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/hiring-template-turn-accounting.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d6b13e40b943ac3010f15e93d5de18a75e47ed0fe037932e163016a5ce774"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectProductResults (cyclomatic 92, cognitive 113): projectProductResults has cyclomatic complexity 92 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":"tests/runner-e2e/product-regression-testops.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e279b92ce6ccce745a32c2e2e5613241fc63f1c17250c12ac956e9efc80dece"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #event (cyclomatic 92, cognitive 97): #event has cyclomatic complexity 92 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcb13e87a7a630d79127e536cdf953391ed2382b19e873c6188dea3cbe9b030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 92, cognitive 79): (anonymous) has cyclomatic complexity 92 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed20c7380eaf6a09eae351686aac20eff70ad9baa02dadc1e8db26fc7c919437"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 92, cognitive 73): (anonymous) has cyclomatic complexity 92 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"4160cfb3c7a46176fc7de44e50ca9333e130afd7d8d2dc85f2537b1a156b61ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAppTest (cyclomatic 92, cognitive 27): gradeAppTest has cyclomatic complexity 92 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":"tests/runner-e2e/chat-catalog-domains/external-app-test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a7930d791494d8fd6996efb0efb91116f3aaf830bca3b0be0baa37c4e2b432"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIssueBlockerAttentionBatch (cyclomatic 91, cognitive 192): readIssueBlockerAttentionBatch has cyclomatic complexity 91 and cognitive complexity 192; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dd2b007bcb5d7f318533d22a78a93356b7f0488200bec2cbcdafc5eeca595e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeNativeInteractionResponses (cyclomatic 91, cognitive 136): materializeNativeInteractionResponses has cyclomatic complexity 91 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"39efc32df300cf8bb02d971be48b944938ab9b7441e39cee921a036fb7bd6957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 91, cognitive 125): (anonymous) has cyclomatic complexity 91 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport-attachment-recovery.test.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bb91a86179d60a6cf89bf73162c168c6e66d2786bfdde860e3a452ba96f3cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHeartbeatTaskContext (cyclomatic 91, cognitive 106): prepareHeartbeatTaskContext has cyclomatic complexity 91 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa7f86748a4bb43d87f4791f31f0525b7bb935987733940ef8f9af8658afd41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebhookPrototypePage (cyclomatic 91, cognitive 87): WebhookPrototypePage has cyclomatic complexity 91 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/routines/routine-webhooks-ux.stories.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43b9184b268876b994176eb2810cc48a014e0b0b5bc55f4acb1620af04cd7e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SourceDialog (cyclomatic 91, cognitive 78): SourceDialog has cyclomatic complexity 91 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"88435ecf43c1706a853b6f3d2aae37781229f1d32f6e925c0bc72bd05b27ddcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeExecutionInput (cyclomatic 91, cognitive 77): buildNativeExecutionInput has cyclomatic complexity 91 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-input.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06c88c40fdf5bd33ce421ca636375cbd541f417699b2c8316acb1956fa4d366"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsBody (cyclomatic 90, cognitive 83): SettingsBody has cyclomatic complexity 90 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5788}}}],"partialFingerprints":{"codehealthFindingId/v1":"2077c98e9efd14a0ef43e9bfd46027e25b73503632186438874a798831f3c33f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCommittedNativeControllerContainment (cyclomatic 90, cognitive 42): hasCommittedNativeControllerContainment has cyclomatic complexity 90 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":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a42cd895dc3efe9e87c085d96b0c9ea83b22ce5dc91908a4bf6dc189fe36d25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawFace (cyclomatic 89, cognitive 128): drawFace has cyclomatic complexity 89 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/shared/src/cliplab/renderer.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a4ba33841438475536eb153f092579b47841aa3c2e78a9717a2656727f424d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 89, cognitive 113): submit has cyclomatic complexity 89 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"658c9bf7d3c90a8d041e5748f829b8846e91e3e6164bec1bba16ece5932124f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunDetail (cyclomatic 89, cognitive 78): RunDetail has cyclomatic complexity 89 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4e47e4c8ed9d7c232a9dd121cef20f22083b18a9d467b56b233fad0ec9950b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KeyStep (cyclomatic 89, cognitive 74): KeyStep has cyclomatic complexity 89 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"005690649dc91f7d25197ca74a3ab9b314547b5dff46593ffb3174cfe9212ee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failedNativeRetryCoordinator (cyclomatic 89, cognitive 51): failedNativeRetryCoordinator has cyclomatic complexity 89 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"97979541f90d9a64bf6c7bfcffc98d7cb62ea5e28bcfae078fefb1368fbc527c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 88, cognitive 163): main has cyclomatic complexity 88 and cognitive complexity 163; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/ttft-baseline.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d21b89bf946fd39994e4ad66996a5f003ee81e36a4bc7a80fdc7e2490a51f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateRunnerdStateRootForExecution (cyclomatic 88, cognitive 139): migrateRunnerdStateRootForExecution has cyclomatic complexity 88 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6344}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a7a64cc0a6478444efe44a06328d04e92d2202604fe5435d9928878fc6d689"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPaperclipTaskMarkdown (cyclomatic 88, cognitive 129): buildPaperclipTaskMarkdown has cyclomatic complexity 88 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":"server/src/services/heartbeat/task-markdown.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9944daa4cf35b1c9ad1b55b76a1b39d4f06191e52f2e67d77546bcf6f7ebb87e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExecutionRunAdapterConfig (cyclomatic 88, cognitive 104): resolveExecutionRunAdapterConfig has cyclomatic complexity 88 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f503c6742532f52b221b0ef4c81e76958fbbb38119ef1f1b467b03f240fc11c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconstructRuntimeServices (cyclomatic 88, cognitive 99): reconstructRuntimeServices has cyclomatic complexity 88 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8765}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d5a4c1a6c50a101b9f6cfa755e18b51401913b55af19f3b00553473f239296"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onboardingFirstTask (cyclomatic 87, cognitive 88): onboardingFirstTask has cyclomatic complexity 87 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":"tests/runner-e2e/product-journeys/onboarding-first-task.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d095690f26956ee640f504ff50139b37b2b3778edce6aa28161fd30d62fcc07e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 87, cognitive 85): list has cyclomatic complexity 87 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d8f44b61438bd9b0bcd0effed0af3384292c0c9f8cf4886bc816b6b4ffd34e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectDeploymentEnvRows (cyclomatic 87, cognitive 71): collectDeploymentEnvRows has cyclomatic complexity 87 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":"cli/src/commands/env.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1505872c928c934fc5dda8c2897ed5e6c002e631f70c82f442d830e14936c044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditFeed (cyclomatic 87, cognitive 70): AuditFeed has cyclomatic complexity 87 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4473e333d4f71f783fa6f96123d54088316e0a6293d70338790dc08cb21b25f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 87, cognitive 69): (anonymous) has cyclomatic complexity 87 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b605651890f1cd23643b3aa9a07b72dcc7d7557b2aa12b93f998dc319c0cdd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverGitHubWebhookEndpoint (cyclomatic 87, cognitive 67): recoverGitHubWebhookEndpoint has cyclomatic complexity 87 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bc0aa61afa9c4b0cf281ff23b8b02c2d2a4913a0a4a2a1cce87fe537c9901f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 86, cognitive 103): execute has cyclomatic complexity 86 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":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee318ec55cd1d506bd5c2f4616821d1d8d16b0548d82b8b9c5d9f0d519787381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleModalSubmit (cyclomatic 86, cognitive 101): handleModalSubmit has cyclomatic complexity 86 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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d23f00512c37d050aedc41190398a686a522f594f2b306d2bfaa6a06ddcc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectProperties (cyclomatic 86, cognitive 81): ProjectProperties has cyclomatic complexity 86 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ca550ba9b72bc259ff080d875e08b0e9667f8f0484a0aef9144063c5666e6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiProviderSetup (cyclomatic 86, cognitive 74): AiProviderSetup has cyclomatic complexity 86 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiProviderSetup.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aac0364e7acb778e78bab102e09f861b2676c4555538654a4c4c284826354e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectOnlineLegacyWorkspaceRecoveryHold (cyclomatic 86, cognitive 53): inspectOnlineLegacyWorkspaceRecoveryHold has cyclomatic complexity 86 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"610fef851c15cb9d97906549561100eba171ef6bdc0d6d89a03d3c5016033008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderIssueRow (cyclomatic 85, cognitive 81): renderIssueRow has cyclomatic complexity 85 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf440d7fc439f7d8b5b0fa2777da129fc562d4306ad95545d09cfed0130ee103"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoordinatorTasks (cyclomatic 85, cognitive 75): CoordinatorTasks has cyclomatic complexity 85 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d9f7b482de6cff37fcf320e4abe33d44333a23664891fa7e71da466d832fb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleIssueSchedule (cyclomatic 85, cognitive 71): readIdleIssueSchedule has cyclomatic complexity 85 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":"server/src/services/idle-issue-schedule.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43474be7134ff48cc4ab552c3ff45d1cec75bfc7fba3d44a6925c83a6b8dcb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalAgentInviteDialog (cyclomatic 85, cognitive 62): ExternalAgentInviteDialog has cyclomatic complexity 85 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98344effce28f2a5fdff4498e347e7a1b966eceb0788c3324d0ba05606d9bdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveChatOriginPublicationBindings (cyclomatic 84, cognitive 117): resolveChatOriginPublicationBindings has cyclomatic complexity 84 and cognitive complexity 117; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f0f07f54cbed1c783d1cbf3d6d6ea509f2335660d5e05832fa81b116dbdb32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 84, cognitive 86): execute has cyclomatic complexity 84 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8f30b7f92ed749f7af687592d7b203e824d7988841f191ac5ca8fab172b0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionContinuation (cyclomatic 84, cognitive 77): buildExecutionContinuation has cyclomatic complexity 84 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15c38ba3e4f006aa7789801c6af1f240cfba487c29fcab5142cc7118783e883"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 84, cognitive 70): constructor has cyclomatic complexity 84 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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4291}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ed3cf9e47258f13fb624981b92fb8490f2ca4a2be625e1fbecd538c6c7baf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RetainedFilesRecovery (cyclomatic 84, cognitive 59): RetainedFilesRecovery has cyclomatic complexity 84 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a63b331c31a68b7d494732edcad4b7dc715effdca04409e4e297c68f780ddf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSlackIdentity (cyclomatic 84, cognitive 31): gradeSlackIdentity has cyclomatic complexity 84 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":"tests/runner-e2e/chat-catalog-domains/external-slack-identity.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3da8f04e1d9c5bfa3f6bef1d094f5ae646fea870b5a1bc9a6480b5a8e1624d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyChatAdmissionWaitCoverage (cyclomatic 84, cognitive 24): verifyChatAdmissionWaitCoverage has cyclomatic complexity 84 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":"tests/runner-e2e/non-execution-wake.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"631a8ba92bf8541a7faffa1bd3ceb1eaa8d84f34c4f92625f3647892f1913f8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeEnvironment (cyclomatic 83, cognitive 144): probeEnvironment has cyclomatic complexity 83 and cognitive complexity 144; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-probe.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d6a875c42db8c61b7856a31d2693d5ea59d49aa04feb5e26a4ecf9f7cb367a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #attachRunWork (cyclomatic 83, cognitive 104): #attachRunWork has cyclomatic complexity 83 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5091}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ae2956c25a44611f65adcb67b4c8207d402cfc07fd0cfb101d191f6e43afe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 83, cognitive 88): App has cyclomatic complexity 83 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aca38c81b9d20d554d82d0d8cb67355b0fdd9458b2fdfa2e5ab652e035b34b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 83, cognitive 86): execute has cyclomatic complexity 83 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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd090563506768747bbdc453522e0b2154316f72d4a272c73054284a02c744b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 83, cognitive 84): execute has cyclomatic complexity 83 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":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1b14c7052e22748483f14eb5fb5613da5bdd54e5171e3ceb9e656a3cea648f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleQuotaSchedule (cyclomatic 83, cognitive 55): readIdleQuotaSchedule has cyclomatic complexity 83 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":"server/src/services/heartbeat/idle-quota-schedule.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8b4953b99833e158e7612db7cb93713a914e283e26f3b6018fed7497fb894f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubmittedBrowserCodeLoginPanel (cyclomatic 83, cognitive 48): SubmittedBrowserCodeLoginPanel has cyclomatic complexity 83 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23c75a68d61f2b68c555a88b731de36d1ccd04e9f67d343ac7f2b338853c68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 82, cognitive 106): normalize has cyclomatic complexity 82 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eea8353e81766008b884a4a86ce86bd960c78cccfeb75e8b527b1ff00bc497"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function realizeForRun (cyclomatic 82, cognitive 95): realizeForRun has cyclomatic complexity 82 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":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c31f79196ca1c520dfd045b11ea3ebe2a6cc5f4ad83ddbff54d112cd0c62015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPaperclipRunnerConfig (cyclomatic 82, cognitive 79): buildPaperclipRunnerConfig has cyclomatic complexity 82 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe64033e465dacc976683c130deb73479c16631ee9ed9f895163ed77853fdaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 82, cognitive 78): (anonymous) has cyclomatic complexity 82 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e012c32e7749520880180a2d2f4066f7a9dc630499bffc82ce57ae89b81c1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunDetail (cyclomatic 82, cognitive 70): RunDetail has cyclomatic complexity 82 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"463fdbcafafc58bbdb3158458545d54879373e96de716ce93d650e555057214c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadConfig (cyclomatic 82, cognitive 68): loadConfig has cyclomatic complexity 82 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":"server/src/config.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea8e2df7b423be96b06c0dd63f411c33435aa4519b4cf645707547e0cf46309"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileLateRunUsageReceiptInTransaction (cyclomatic 82, cognitive 65): reconcileLateRunUsageReceiptInTransaction has cyclomatic complexity 82 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac28103d37b5acc480e9680a29b8364ead324ac4fa3e2680c9b23df105806c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSlackRepair (cyclomatic 82, cognitive 41): gradeSlackRepair has cyclomatic complexity 82 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":"tests/runner-e2e/chat-catalog-domains/external-slack-repair.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5592e370cf669f0555758d95d4d9a94523c04afc499f9c0822984412d4b71e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onboard (cyclomatic 81, cognitive 128): onboard has cyclomatic complexity 81 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":"cli/src/commands/onboard.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b3ffa8150204b92e4d6e8e977bd180f5a1d33b732c3c88ece4be50ff1b9586"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 81, cognitive 108): validate has cyclomatic complexity 81 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/cost-ledger.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"972a99e0d407ed89493f32084f7c822b0a2edcdbfe78f494691a6891996590ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadContext (cyclomatic 81, cognitive 89): loadContext has cyclomatic complexity 81 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbd82994045e197f5595049af491c3055ef63579f8e44ec1556cfeed6c3fcab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 81, cognitive 86): execute has cyclomatic complexity 81 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"879ba78cb3651b35a3ed7350e584fa312edac9bab7260194debea7dde3660665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeLockedAgent (cyclomatic 81, cognitive 82): changeLockedAgent has cyclomatic complexity 81 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":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aafa398fc3ecb9fb3679da37a11536f187ac232e9c4492343f56f733d6c167"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewAgentWizard (cyclomatic 81, cognitive 75): NewAgentWizard has cyclomatic complexity 81 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/NewAgentWizard.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a726c9bab5a1874bc30e209aae627055db808183f0657950f77a52d99a43b3e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRetainedRunnerResult (cyclomatic 81, cognitive 49): validateRetainedRunnerResult has cyclomatic complexity 81 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":"tests/runner-e2e/result-validation.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"188d17edb0a3102ccb767af8c1097d48456ae9235b56851d168fad08c47aadd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAttempt (cyclomatic 80, cognitive 145): runAttempt has cyclomatic complexity 80 and cognitive complexity 145; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"496036cdb44dcc39aa66780858c797c1de02e91a1879ddc000ab006a997b5a1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 80, cognitive 71): main 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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth-worker.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6085c4a0d209b524c8a2e053b38895db69debb5fa539f23c5e199d718644c85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 80, cognitive 70): main has cyclomatic complexity 80 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":"scripts/verify-needs-you-checklist.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c53d9df5cdccc618a20b61bf6de7f5e2b3d8d8ad690346d710a361001e283e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SummarySlotCard (cyclomatic 80, cognitive 67): SummarySlotCard has cyclomatic complexity 80 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SummarySlotCard.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa33653abb6d5ac623c4d2ad99b5ec331a19707e0b0211f890673b062aed315e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyChatUpload (cyclomatic 80, cognitive 56): verifyChatUpload has cyclomatic complexity 80 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee599477e43cb69053edd44f7d441b04d2fd6d58234b9ed0e1e6ccdbb360e7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPilotExport (cyclomatic 80, cognitive 48): readPilotExport has cyclomatic complexity 80 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":"tests/runner-e2e/chat-completion-testops-results.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5844c677bbee277b99e135877c2ce75191e2ee43dcc7f8734ea313fbd64bc19d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeChatContinuity (cyclomatic 80, cognitive 31): gradeChatContinuity has cyclomatic complexity 80 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":"tests/runner-e2e/product-journeys/chat-continuity-evidence.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"620dbb12726f187285ab72dd96336f2092e709e31fff4b30926ce8d446082785"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDatabaseBackup (cyclomatic 79, cognitive 150): runDatabaseBackup has cyclomatic complexity 79 and cognitive complexity 150; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup-lib.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f0890c91f85125dad1ee5b3aa162f612543f8f35e1cbeee3eedc827314bd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSession (cyclomatic 79, cognitive 127): onSession has cyclomatic complexity 79 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12584}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0fac771b7d7ba46add4a510a60773813b84579f5fd0c3e128276becd5f3b6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 79, cognitive 125): testEnvironment has cyclomatic complexity 79 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3a1b1c7b3314f214780455c99ca533481c5a41961182377ae9fd00d024c2c6"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7565826f560b098f03fd2248ba845e14e1be19c631c5e877ab20e81633158b2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAnchorWorkspaceForRun (cyclomatic 79, cognitive 108): resolveAnchorWorkspaceForRun has cyclomatic complexity 79 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee576df074028c4c10c23b8eedd3c36340349068428b3b777c0e9d11c9836b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #closeAndSettle (cyclomatic 79, cognitive 106): #closeAndSettle has cyclomatic complexity 79 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"244de5b937b74aee672680e25f9620324b632612d51d7cda218b67c601d96b0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reassessNativeStatusFromSource (cyclomatic 79, cognitive 91): reassessNativeStatusFromSource has cyclomatic complexity 79 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":"server/src/services/native-runtime/native-status-reassessment.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dffdabf82f58bf3a1abb7d632e0e282d0d1fb6f78b3c6b44ef3142c5580074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRemoteWorkspace (cyclomatic 79, cognitive 91): prepareRemoteWorkspace has cyclomatic complexity 79 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"096c44ff841d65cfdde108ba2f0dcd5e7864e497a80c293684024bc0a816cee6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 79, cognitive 79): (anonymous) has cyclomatic complexity 79 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":"server/src/services/runner-goals.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f6d9df30047205df18d22d1136abc74e3f79603b517e191a70f1d63708e791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admissionCheck (cyclomatic 79, cognitive 63): admissionCheck has cyclomatic complexity 79 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cb85f927fc9ed2569e8d90fd5639a613b5f8521726abcfc9ed0d99405bde9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssuesList (cyclomatic 79, cognitive 60): IssuesList has cyclomatic complexity 79 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a937eb9ff78caeba341159708ed81a98ddb841379f3f8f6496d8f430879057df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Inbox (cyclomatic 79, cognitive 55): Inbox has cyclomatic complexity 79 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9feddd0c73d11c2203bb76dd2b9ab8fd727fcffba6ed7e2aaef6cb27f7f184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDescriptor (cyclomatic 79, cognitive 51): readDescriptor has cyclomatic complexity 79 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47e1243b562fed2ff2cfb93f088fc92c4b0561102afb1d7e779b4b798ec91be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyLiveRunnerAdoption (cyclomatic 78, cognitive 117): verifyLiveRunnerAdoption has cyclomatic complexity 78 and cognitive complexity 117; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport-adoption.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8915d5b1a805c53f38dfbf39e187a152635fe8fda1406c3517be801e8bf5cbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerPackIdentityChecks (cyclomatic 78, cognitive 103): providerPackIdentityChecks has cyclomatic complexity 78 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eabd41d7c70d1e1761e3356af273195dacecbacdb7b7a0e809112e80108a23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 78, cognitive 100): deliver has cyclomatic complexity 78 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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6962165a2fa121b30043e2426befacaeac4bc1bcefd2735d702e0db101593c47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 78, cognitive 86): (anonymous) has cyclomatic complexity 78 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4666b545988f34a225f19fad245eaa1420f46c3e773d559cb96941a67118a7ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareAnthropicBilling (cyclomatic 78, cognitive 85): compareAnthropicBilling has cyclomatic complexity 78 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":"tests/runner-e2e/anthropic-billing-comparison.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c47d70a3c25b8a44dc4257967613553e15d018681dae36edd42892087a423e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 78, cognitive 81): (anonymous) has cyclomatic complexity 78 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":"server/src/services/routines.ts"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b4fdad0f55b282396f0e6b6262feabdd696d0b0a44ac9cf98cf948f709f5a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSmoke (cyclomatic 78, cognitive 80): runSmoke has cyclomatic complexity 78 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":"scripts/smoke/posthog-live.mjs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"be188f4b812bc23c320d2576f264f5a66786a81707274802d81b25d256acd8c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runControlledEval (cyclomatic 78, cognitive 76): runControlledEval has cyclomatic complexity 78 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6573b92259558047f8a4b4ffc17c2a46434115d5f70c5bd38dfb836450ef0445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceFileBrowser (cyclomatic 78, cognitive 76): WorkspaceFileBrowser has cyclomatic complexity 78 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"372f2b93fa67c07b3b068df6fb217bc7f64c4c5b8b9a41e11d1b75fa0633ab0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Activity (cyclomatic 78, cognitive 64): Activity has cyclomatic complexity 78 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5734bf31658cf06a2a78086ca62d1fb07608da60c1cb3b407b183c7415647fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeControlledCampaign (cyclomatic 78, cognitive 63): summarizeControlledCampaign has cyclomatic complexity 78 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/report.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40645977e7213c7f595ee3ad0bb7d753296ad4eb0f006c30b46c449f652e9ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManifest (cyclomatic 78, cognitive 47): validateManifest has cyclomatic complexity 78 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/paperclip-runner/scripts/controlled-evals/manifest.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d47c90793774196afd880d8d7b713f5f1043258423c75065d00c2a64f6c9b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validCopilotDenialSettlement (cyclomatic 78, cognitive 30): validCopilotDenialSettlement has cyclomatic complexity 78 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":"tests/runner-e2e/copilot-protection-evidence.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a3330f9d818275810c54459868ecf85a90c95d50abed3341a72ecb1b26ea35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePiProviderDeath (cyclomatic 78, cognitive 22): gradePiProviderDeath has cyclomatic complexity 78 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":"tests/runner-e2e/pi-native-provider-death-flow.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b162f2e533c2967aa870675b05c81d0c1808a2e7709ebac571df0f1a395fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTranscript (cyclomatic 77, cognitive 181): normalizeTranscript has cyclomatic complexity 77 and cognitive complexity 181; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c316cae0c7afd0bef63f98a4579eb559a854e787582b2c1244acf2229ecf25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runChatFlow (cyclomatic 77, cognitive 139): runChatFlow has cyclomatic complexity 77 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":"tests/runner-e2e/chat-flow.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"904349966b8942474e3d79d3043fb3e6bb4ed7e1653f316a9ed9c1d2c83f12dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeSlackTool (cyclomatic 77, cognitive 122): executeSlackTool has cyclomatic complexity 77 and cognitive complexity 122; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d541c77a98ce2950a94ec3f28a7ad5432a15a28767a91947bbb96d24361f9196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTurnTimelineRows (cyclomatic 77, cognitive 113): buildTurnTimelineRows has cyclomatic complexity 77 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"095082f9a12f866d526df62675a5829b4a882c560800132c55fbd14ffd07aa93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePaperclipRunnerProviderProfile (cyclomatic 77, cognitive 94): resolvePaperclipRunnerProviderProfile has cyclomatic complexity 77 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa023180ccd48f5e335709d420dfcd4281cfbae6dc38928b46676ec7f37f9bc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeSlackWrite (cyclomatic 77, cognitive 89): executeSlackWrite has cyclomatic complexity 77 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":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"92792b52ea52f2f0766b6a260a9f52544aed10aaeba784b1ac2a2a51ebe58700"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCase (cyclomatic 77, cognitive 76): renderCase has cyclomatic complexity 77 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/dashboard.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcae9d5c071826828e02f104ebe83dcbea427f9737e961b0139fb3d8ec92a4ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 76, cognitive 118): reconcile has cyclomatic complexity 76 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":"server/src/services/browser-use.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"289065f38aeb16ef74bffe84c0ea6fbc9f0ef4d15e0851a2de73c0a3b2f73a7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 76, cognitive 114): (anonymous) has cyclomatic complexity 76 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/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e18aaad8f7bd2f981f9e3cf988cd53077a06fcb0b88c7a0107a7100129e1818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCursorNativeFlow (cyclomatic 76, cognitive 91): runCursorNativeFlow has cyclomatic complexity 76 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":"tests/runner-e2e/cursor-native-flow.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48defcb25caf20e80633c3eb6fda0f4d0ab948051e71bc673568fb739211269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executePaperclipNativeSession (cyclomatic 76, cognitive 86): executePaperclipNativeSession has cyclomatic complexity 76 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10366}}}],"partialFingerprints":{"codehealthFindingId/v1":"7364da5c77de3b7ebef1b1be60eca4e4dd5c5651b1fd79a18f400333e3a015cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forwardEvalRequest (cyclomatic 76, cognitive 80): forwardEvalRequest has cyclomatic complexity 76 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":"tests/runner-e2e/eval-gateway.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6033d1d3b406d69624a1b0a9e77de3b061e014068edaab5a758fa6a8abdf437"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSlackFormOperation (cyclomatic 76, cognitive 63): parseSlackFormOperation has cyclomatic complexity 76 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31c5dba9fae6328bc5bf8100c448026cdf5f25c0ed00ebac2237d54a78d3419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshCatalog (cyclomatic 75, cognitive 87): refreshCatalog has cyclomatic complexity 75 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":"server/src/services/tool-access/catalog/publication.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5d0a791f1941638d3f9eedbc63b850e8787c889ba2e9ce3aa579a6320da308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 75, cognitive 78): run has cyclomatic complexity 75 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/client-mirror-sync.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ae02679d5dad0d359c7ede815a9ed93f7bb2ed8297f7495e92d2434058ab2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunnerInspector (cyclomatic 75, cognitive 69): RunnerInspector has cyclomatic complexity 75 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b17c91062c9e8d217c6727a59d8495f1f773b01f93071128ad6c11902768c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startMaintenanceServer (cyclomatic 75, cognitive 68): startMaintenanceServer 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":"server/src/__tests__/helpers/maintenance/server-harness.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a77b037199225d51bf3db02d716c1c1eefb07ffbdde5b13e8177f6a436e6e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoundChatExport (cyclomatic 75, cognitive 43): readBoundChatExport has cyclomatic complexity 75 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":"tests/runner-e2e/chat-feature-testops-results.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2ee7ebbc2886edeeb6e29fc9b3e8ea4488d9585897481ed938a07a0452a493"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTaskDependencyResume (cyclomatic 75, cognitive 24): gradeTaskDependencyResume has cyclomatic complexity 75 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":"tests/runner-e2e/product-journeys/task-dependency-resume-evidence.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"36db2dad5102ae8edf688fb29ccde3385aded346b057ba3e43443c263523ed7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 74, cognitive 103): handleKeyDown has cyclomatic complexity 74 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba23b38847ed7a644afc5b57dd5f0b4aca57ed827b6318981e112f0bf19b1e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 74, cognitive 103): handleKeyDown has cyclomatic complexity 74 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"9158183f34d70faf9b0aa34675fdf8a7ec4675a27a29f4467f3b913c61790d1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceOnce (cyclomatic 74, cognitive 96): advanceOnce has cyclomatic complexity 74 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"049a13d32cf18934fcedb6c36dbbdd1711d62955788f3591f5ea820562c18647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 74, cognitive 82): (anonymous) has cyclomatic complexity 74 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc87f2d9959b9162f405e7a195e338fd6f9e4a924eb6495bd0be285fc1f81a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTrace (cyclomatic 74, cognitive 79): buildTrace has cyclomatic complexity 74 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":"scripts/ci-profile/trace.mjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7d23143f604168e65513a514f7459a543fd902538779ca2d6b573a85cb7708"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectTeamsFilePublication (cyclomatic 74, cognitive 67): projectTeamsFilePublication has cyclomatic complexity 74 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-publication.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d489ab19401d5c8ff4ce238318c2dbb50490265defa8910ffc04265c499b4245"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireRunLease (cyclomatic 74, cognitive 57): acquireRunLease has cyclomatic complexity 74 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70d6e9b98b907b1da63bfbbe38d47d24b22498a10cb41e85c6944c73f6991d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatEndpointDetail (cyclomatic 74, cognitive 55): ChatEndpointDetail has cyclomatic complexity 74 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8670b66f449c89e487da80165d3d8078f0ae738c790ab86d7fad5ac1bcb953ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKimiLifecycleSettlement (cyclomatic 74, cognitive 16): readKimiLifecycleSettlement has cyclomatic complexity 74 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":"tests/runner-e2e/kimi-lifecycle-evidence.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"47173b9ae080b2562a7c7d2cb6b4082b13ebba045f3ae64055aeb39187ecf5b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 73, cognitive 118): (anonymous) has cyclomatic complexity 73 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":"server/src/services/company-artifacts.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f1b65bd695d3bfe210fa64b0c2d2864ac8798f1d6881ffc22e1a8182d904f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeDecisionEffect (cyclomatic 73, cognitive 110): materializeDecisionEffect has cyclomatic complexity 73 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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7966a659bf22d841758bbbc084bb78f7b7f574a773ba52a6db4f080f7bc75a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 73, cognitive 86): (anonymous) has cyclomatic complexity 73 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":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ebd3011a37985021f6a795cdb41de26e4124a75790638c16f46f5ce03f6efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePrpEvent (cyclomatic 73, cognitive 77): parsePrpEvent has cyclomatic complexity 73 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"3075d3ad612bd44c14c7934336e72eca1627b38da9056d7a7c3ce3c7494e7527"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGitHubReceiptReaction (cyclomatic 73, cognitive 74): applyGitHubReceiptReaction has cyclomatic complexity 73 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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d1eb47bfbd61e36e80afd74e4a9fd4611ceb04bbfb3f18727ea10796e7fca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusCardDetailDrawer (cyclomatic 73, cognitive 68): StatusCardDetailDrawer has cyclomatic complexity 73 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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6574d547a42bcc037c964c4824d0c11e1161322857ed4b08e50f11db581c1874"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSmoke (cyclomatic 73, cognitive 65): runSmoke has cyclomatic complexity 73 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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"956f8414ad1aac016525fe4df080dae40334bbf736780fc3b89548645ce479e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageCursorCloudArtifact (cyclomatic 73, cognitive 62): stageCursorCloudArtifact has cyclomatic complexity 73 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":"packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"865344b3b87fa88b6b1140867e915778de81cf2aab5cda1e9ef349cd1d7514af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 73, cognitive 34): (anonymous) has cyclomatic complexity 73 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a723873d631af3b33fae41e85aca0fbc50cd3ec7d383cf05275fc190f01e1f94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 72, cognitive 105): (anonymous) has cyclomatic complexity 72 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1fd24251782aebe7d057f01a497d2d440dcbd138828bb45c04172a1a463edb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 72, cognitive 94): (anonymous) has cyclomatic complexity 72 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4009}}}],"partialFingerprints":{"codehealthFindingId/v1":"7febbfffad9334e494765d0ba0968236cec2c8c02ddd1f0051acf5b0b1c57050"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openQualifiedAcpxRuntime (cyclomatic 72, cognitive 80): openQualifiedAcpxRuntime has cyclomatic complexity 72 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bcc986c4359bd32c237cc08020702e2569c60801fc8b19e9a4cba621146c2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkspace (cyclomatic 72, cognitive 80): resolveWorkspace has cyclomatic complexity 72 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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"befa91155b4a1b47aafbbc5dbb6c730aaddefbab1dc5a4ef6b7caed5d00c20e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeLiveRunnerWorkflow (cyclomatic 72, cognitive 78): executeLiveRunnerWorkflow has cyclomatic complexity 72 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"3331c889ce0bf9961ea49da7b5569da81fb203ec4347b06e0224fed7fc173fbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePaperclipRunnerNativeProviderInput (cyclomatic 72, cognitive 76): resolvePaperclipRunnerNativeProviderInput has cyclomatic complexity 72 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bb058af3d9f3bdb100a9bbef2d059553ebf66e2ba4eee69e718a07966550ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatAssistantMessage (cyclomatic 72, cognitive 76): IssueChatAssistantMessage has cyclomatic complexity 72 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f0e70eaf473c1fed7ca4d3c74149b7c1ce9660be9e1f00d552c8e1d2513a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanyImport (cyclomatic 72, cognitive 74): CompanyImport has cyclomatic complexity 72 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aebda1fa9ef91c65bf4dd8feef4017701bbcac7070c3db6dedc7da0f57cfad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailPage (cyclomatic 72, cognitive 69): SkillDetailPage has cyclomatic complexity 72 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2870}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce19bcdf8e86682f4fed9349434e764ed37d5859034e9641330270aa60e043a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailPage (cyclomatic 72, cognitive 69): SkillDetailPage has cyclomatic complexity 72 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d082b135d6e39ad3a7aad2a77193b99bd4a5a711ad1c659f745eed7db6ecab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 72, cognitive 64): (anonymous) has cyclomatic complexity 72 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ef5ddeb18696cc65fc744e749d4fb14f7e10fbedcdb018f2cd1d08f6d0237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 72, cognitive 53): act has cyclomatic complexity 72 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18d2de9b1b0186beabdb1498d5292da84eb88bf9ce556d9e6c863f2d6737348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistedQueryScope (cyclomatic 72, cognitive 49): persistedQueryScope has cyclomatic complexity 72 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed305da9152faf121ff340c814a5c7c7c1d3476dc067b2cc8f6e3c6103787406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateNativeWorkspaceReconstruction (cyclomatic 72, cognitive 42): validateNativeWorkspaceReconstruction has cyclomatic complexity 72 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":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d41e60a0394571bf005c148e8dd4177dfdf0fd2d1a32a6ed110b4137d64ef4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companySecretApprovalCandidate (cyclomatic 72, cognitive 19): companySecretApprovalCandidate has cyclomatic complexity 72 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb5684a5a6dd3fd25dc5f975d1faa6f1f0c43c015afd80c64d5e36402062cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 71, cognitive 130): (anonymous) has cyclomatic complexity 71 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/antigravity-journey-launch.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbdbfe1ca39a08a1131035fc2137cbf8659896a9100a867baed2d750296bfc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 71, cognitive 119): (anonymous) has cyclomatic complexity 71 and cognitive complexity 119; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce7355ccfa74c762eb9d8d6eafd55d14c7f7b1538cc423355b61da8a697ab1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 71, cognitive 111): (anonymous) has cyclomatic complexity 71 and cognitive complexity 111; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"9535b9246e8ef61c008248e410da65521abc3a7fa8a3855941008842d15d3679"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 71, cognitive 109): handler has cyclomatic complexity 71 and cognitive complexity 109; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/fixtures.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3de2fc65934da3c23af7767f855b6ad0e4dba0d23a879af955e6e53915f03b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticate (cyclomatic 71, cognitive 101): authenticate has cyclomatic complexity 71 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":"server/src/middleware/auth.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f893c7e7c64cbf29c7ecd35166104aff7c15b7e0585c0ea78e03ad58f29ff4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRequest (cyclomatic 71, cognitive 97): handleRequest has cyclomatic complexity 71 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"059e6ab323fa3321a17d4882c31bb78e4e3c43d3e957b4f9785c327566f3dd52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 71, cognitive 87): (anonymous) has cyclomatic complexity 71 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bff2d7ab5c7d835d99b8047b0e8e9c91b474af0a4508b94ee8582acf533c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 71, cognitive 86): (anonymous) has cyclomatic complexity 71 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":"server/src/services/remote-workspaces.integration.test.ts"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"095e8f836f489d0342c4d4d41c4c92af72a74a9eeee341088d482f18f4d25d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSandboxManagedRuntime (cyclomatic 71, cognitive 75): prepareSandboxManagedRuntime has cyclomatic complexity 71 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"88304405a01f4dfa7fa65ca4fa873a51f0004340bf52b5bbcacd27f4a7b6adef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 71, cognitive 72): render has cyclomatic complexity 71 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/shared/src/cliplab/renderer.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27bfca100cab943b03bdc4e73526648917c72ccfd9af84176cd4e27357ebef7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccessStepContent (cyclomatic 71, cognitive 66): AccessStepContent has cyclomatic complexity 71 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4013}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de2fafacd0b95411bb06776ef93098796a10f7ed29a4575d2464ab0e9f5da7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRecoverySnapshot (cyclomatic 71, cognitive 62): validateRecoverySnapshot has cyclomatic complexity 71 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":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d074a0d5ce131a9c2746b13de40e39ebe4851ceac803c3a8b8a6cbd19cfcdd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyChatPublicationError (cyclomatic 71, cognitive 50): classifyChatPublicationError has cyclomatic complexity 71 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":"server/src/services/chat-publication-errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e96bf308463963e15725ca8674c5e9e5aff975c25a69ac23795254ca6562059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyStoppedNativeSessionForReplacement (cyclomatic 71, cognitive 37): verifyStoppedNativeSessionForReplacement has cyclomatic complexity 71 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"512259a794c960fa8763e082646664f823b685dae0c0e33466cee16113957c05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAttemptFeedback (cyclomatic 70, cognitive 120): collectAttemptFeedback has cyclomatic complexity 70 and cognitive complexity 120; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/feedback.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5411b8a38dc839afcc2c85d199d23594fc2a25e6f3f7bcf6e1c2913d7efd8f1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 70, cognitive 118): (anonymous) has cyclomatic complexity 70 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/paperclip-runner/src/live/runnerd-codex-transport-settlement.test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"20166782e4f95325dc1b11b35fcdb4e7ed9b6aa900d65c4bfe2ce56e5d836f43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 70, cognitive 114): (anonymous) has cyclomatic complexity 70 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":2938}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a7d26504a1e722eac7bd14d4b2b48e210de359d32749f4c7f14593ab72b11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 70, cognitive 109): publish has cyclomatic complexity 70 and cognitive complexity 109; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c43ff9eb8e5b67a7191f8ad9edbd97d0b16042ae7cbe939ee9feb0152924492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 70, cognitive 105): (anonymous) has cyclomatic complexity 70 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e772803761c0d96b637c3fc50fd0f07343132c4d304c4f8007402c1eac308f3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 70, cognitive 90): visit has cyclomatic complexity 70 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":"server/src/services/remote-workspace-readonly-inventory.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ef94b0edc212f58ba01b8dcf7752c7f256da36fd0fa2549353dcbd363c811c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFacts (cyclomatic 70, cognitive 85): loadFacts 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"734378b79a9a79afa5445645a5232df16abc5f2452179b66ba8909207f85c6ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 70, cognitive 83): (anonymous) has cyclomatic complexity 70 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fb595662789e5ac913357775d02a62f85cb729b2d09c7f5f97625fe38ebc74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke (cyclomatic 70, cognitive 81): invoke has cyclomatic complexity 70 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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73a5f564b997b0ebceccd97a4c8d303474bdcdc2213c1a6ea5a2963155828a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 70, cognitive 81): fetch has cyclomatic complexity 70 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":"ui/storybook/support/primary-agent/PrimaryAgentStory.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf3f165bbe45b0067347f1a890eb7a26ecbd67f0811999bcf721143307a98af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 70, cognitive 80): submit has cyclomatic complexity 70 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":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a689ba2650c970408cd3f36226f41cc73ebac58c21aef78f7c10987850c92f29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 70, cognitive 72): execute has cyclomatic complexity 70 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98faff39f27d4a16b08d6114c1c6de367f647eb7423f21bd579f56aac7db828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Cases (cyclomatic 70, cognitive 72): Cases has cyclomatic complexity 70 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":"ui/src/pages/Cases.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"620c215225f284db2872762cae2c5a12829622c857be76972bfd6ec6f871819d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failRun (cyclomatic 70, cognitive 69): failRun has cyclomatic complexity 70 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e748840b496d8b2c1d62578778bc90264568357a46206babe0a25dd0fe9e1f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverQuiescentRunnerdState (cyclomatic 70, cognitive 63): recoverQuiescentRunnerdState has cyclomatic complexity 70 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6606}}}],"partialFingerprints":{"codehealthFindingId/v1":"394345dbb17e45a60172384f23bb5139056a1b17c805e619163d4d42716b6b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cursorUsageNotice (cyclomatic 70, cognitive 57): cursorUsageNotice has cyclomatic complexity 70 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":"packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c858e9d2cff41f35f93818fc0491f382f1f20a5a91dc383ce54c3dd2fef794"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cursorUsageNotice (cyclomatic 70, cognitive 57): cursorUsageNotice has cyclomatic complexity 70 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":"packages/paperclip-runner/src/live/cursor-usage-notice.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9aafd4439d3ccf6e104dfcd6480541a23903f83491d0037264d7aafc045279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptsTab (cyclomatic 70, cognitive 55): PromptsTab has cyclomatic complexity 70 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6176a6a1d51aaea46616ddc97b4a6cd2447a630685735a20b79de992aa2bd41d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 70, cognitive 52): (anonymous) has cyclomatic complexity 70 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":"server/src/services/confirmation-comment-resolution.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1cd23a571c4a2e1ebbbb2963a6df7fced43410cfe1ddafe35a9eea66e2bcbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQuestions (cyclomatic 70, cognitive 52): gradeQuestions has cyclomatic complexity 70 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":"tests/runner-e2e/chat-catalog-domains/identity-questions-and-approvals.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"521d284052e4c437ae8f55d3dd667149cfabbdc5da18391056523089ed5a06f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyRetainedMaintenanceNoLaunch (cyclomatic 70, cognitive 51): verifyRetainedMaintenanceNoLaunch has cyclomatic complexity 70 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":"server/src/services/native-runtime/native-maintenance-no-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a36da40cf98cdd7a15f00d30b4cab9699d5bd08f7175d4b737599d527fe5a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function warmTransitionRecoveryProof (cyclomatic 70, cognitive 43): warmTransitionRecoveryProof has cyclomatic complexity 70 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"201995775d039d9d8410c096057ac8f7ac807a856531b3b038cfa904e8a109b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCopilotDeniedWrite (cyclomatic 70, cognitive 40): gradeCopilotDeniedWrite has cyclomatic complexity 70 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":"tests/runner-e2e/copilot-protection-cases.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ca30fa79e81742a23f41790939159c900808326eda389a3adfe2373b062250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotSemanticCompletion (cyclomatic 70, cognitive 37): readCopilotSemanticCompletion has cyclomatic complexity 70 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":"tests/runner-e2e/copilot-semantic-evidence.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b3a7df31f1e403d9ebb2085f2723a25b669eb65ea503f301774ed42857cb35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 69, cognitive 79): main has cyclomatic complexity 69 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":"tests/runner-e2e/native-completion-checks.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"559f3b3ac3d0a168de71b10742e461c61b7cd3d179b89ed56e8c03e87d1b316b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareInboundEnvelope (cyclomatic 69, cognitive 63): prepareInboundEnvelope has cyclomatic complexity 69 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/envelope.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f5dc34c8afef17ab67b6c2f29c76317be8e18929e4c563c7734e670d04bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withoutProvenBootstrapReads (cyclomatic 69, cognitive 61): withoutProvenBootstrapReads has cyclomatic complexity 69 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/native-bootstrap-read-proof.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c15bf3913d9b244fe60675945cdf459c58c888a7ebae30e3f82fc862a4e28b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderInboxIssue (cyclomatic 69, cognitive 61): renderInboxIssue has cyclomatic complexity 69 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e21416690d0df929a9ccdcf1ca44c48d4339c3dd40ea1dce134f2e7d18c6314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiConnectionField (cyclomatic 69, cognitive 59): AiConnectionField has cyclomatic complexity 69 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":"ui/src/components/ai-connections/AiConnectionField.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf9ff6cbfd6670a73ca703f108f028d17b511f9ac1f0bc135383ffe2157ac1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpConnectRequest (cyclomatic 69, cognitive 59): McpConnectRequest has cyclomatic complexity 69 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":"ui/src/pages/McpConnect.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e527dc823f2752811e9ec1e1e5f3355f0bdc3a1c443f7a90cd88d6e168348fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatInteractionCard (cyclomatic 69, cognitive 53): TaskChatInteractionCard has cyclomatic complexity 69 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatInteractionCard.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aba0a71b25c180db1559347087d39639028b7207a6083d1e9898443bd0a05fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertQuestionAdapterFixture (cyclomatic 68, cognitive 119): assertQuestionAdapterFixture has cyclomatic complexity 68 and cognitive complexity 119; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b76f89f5ad0e42726d65cfad9145ba3dafa709d33b7f291dea87fba03c4622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeRemoteStopComments (cyclomatic 68, cognitive 93): resumeRemoteStopComments has cyclomatic complexity 68 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3971db8d13dfb7319a238d31ca80b8cbd6459f87476aabbe624a346917f781aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCommand (cyclomatic 68, cognitive 92): updateCommand has cyclomatic complexity 68 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":"cli/src/commands/update.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72493fff67dc956fbd97f6fc2c5bc648a27a6681642e5d5d01407c5c314f22e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskInterruptionPresentations (cyclomatic 68, cognitive 89): taskInterruptionPresentations has cyclomatic complexity 68 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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2638e00ee88c30126c78924452f1464a29d671b500074a6035df99e119c030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyBraintrustGatewayIndexing (cyclomatic 68, cognitive 87): verifyBraintrustGatewayIndexing has cyclomatic complexity 68 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":"tests/runner-e2e/braintrust-gateway-indexing.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e82fa5879e7c5ef567b57d54ed5a5817156ab166c1105d6b25a0f13bb5ca17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 68, cognitive 77): (anonymous) has cyclomatic complexity 68 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/paperclip-runner/src/live/runnerd-codex-transport-release-resume.test.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9852d6c9596fdbd5f75ac8172f7a39f46f08ee7332baffa18c9ee235d5a69f67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskSidePanelForScope (cyclomatic 68, cognitive 71): TaskSidePanelForScope has cyclomatic complexity 68 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d166616d374e045e880ab9e790e6f2bdabd47d10a079a9ba50f5664acb2651dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuestionFormForRequest (cyclomatic 68, cognitive 66): QuestionFormForRequest has cyclomatic complexity 68 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71b626fe8d24e955f3f31738a8134995bb038b1764c260d9ece8cc2784d836d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineDetail (cyclomatic 68, cognitive 65): RoutineDetail has cyclomatic complexity 68 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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"364cad8bb85b453822dbef31ad5783f1bf28234c625095f8e6561d0f90030227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privateBrowserEntry (cyclomatic 68, cognitive 64): privateBrowserEntry has cyclomatic complexity 68 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":"tests/runner-e2e/chat-catalog-domains/external-private-browser.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcab4f274b1df7cd914f3f727ad6fb0dd764a02f9fd3c67bb03a7ca94264a8dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteMcpConnectionSetup (cyclomatic 68, cognitive 64): RemoteMcpConnectionSetup has cyclomatic complexity 68 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":"ui/src/features/connections/remote-mcp/RemoteMcpConnectionSetup.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"36083b8d91c2f2305760234104bd923a3512f0cf508c5479d60e709da471c45c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 68, cognitive 53): (anonymous) has cyclomatic complexity 68 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f627b3dc3fa193d8071609fa969163d697c90ee5171cba0d57a5311cf31e2779"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyChatCompletion (cyclomatic 68, cognitive 38): verifyChatCompletion has cyclomatic complexity 68 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":"tests/runner-e2e/chat-completion-proof.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3501cf04a6e82e220f7c45815f42ddc6fc8d33b916dd43053ae38940067ca65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runChatCatalogFlow (cyclomatic 67, cognitive 108): runChatCatalogFlow has cyclomatic complexity 67 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-flow.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b06e20c42fe91d7beb7f18ee5ebad66f815e91f8391bf363909e1d9155970b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 67, cognitive 102): (anonymous) 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":"server/src/services/native-runtime/native-warm-transition-restart.integration.test.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c444fb9db8783bf5097a56cf41eda6294000edb5a3baaac6b520bd773fe1326"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWithContext (cyclomatic 67, cognitive 78): requestWithContext has cyclomatic complexity 67 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2e3b815c387560208ae0751e978e2690f98d8be470eef8e0b0440da80968b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectArchivedGitMigrationSource (cyclomatic 67, cognitive 74): inspectArchivedGitMigrationSource has cyclomatic complexity 67 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3420d6d50c4b4356b3397be087b66189a519231c329a385fde42ef818f475ded"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #prepareLaunchWork (cyclomatic 67, cognitive 73): #prepareLaunchWork has cyclomatic complexity 67 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6205}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e0d9b8da1d1d5506d668b1d0d0b04365ef89b6a11eb02701b9110bc94bf9d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleExecutionWorkspaceRuntimeCommand (cyclomatic 67, cognitive 71): handleExecutionWorkspaceRuntimeCommand has cyclomatic complexity 67 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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdc9f1a1ae16edd4cc5dd18054192aa0fe875a16fb2c3de8fef4e3b85f0658b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 67, cognitive 69): (anonymous) has cyclomatic complexity 67 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17575}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef85b91b3e4ba60e3e385c037a3a1b95989c707d04ca0a53f6f45fabe8459a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderIssueRow (cyclomatic 67, cognitive 64): renderIssueRow has cyclomatic complexity 67 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb318e06da37fa4025e9ce26867dc71f91ed01341f4db7ba57054845674b5cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubAppRecovery (cyclomatic 67, cognitive 52): GitHubAppRecovery has cyclomatic complexity 67 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":"ui/src/pages/apps/chat/GitHubConnectionRecovery.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1507ec5b6f2011bc82c1be4e2def3d945a764f409ec6e8ae4ffe9471747bae53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 67, cognitive 27): inspect has cyclomatic complexity 67 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dec943de2652d4c7fcc5b323a0886f211a80b45b29b8a6b570e0a98c6bd8585"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 67, cognitive 22): inspect has cyclomatic complexity 67 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":"tests/runner-e2e/pi-native-restart-flow.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb7f42482414f7ccd68542ab2aaa9af27f53bf1443f8fb32941df5e367338c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileNativeFinalizationsPass (cyclomatic 66, cognitive 131): reconcileNativeFinalizationsPass has cyclomatic complexity 66 and cognitive complexity 131; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb17474c16d289596200b2fd67a5d3dc8038797556fe683ba2793165be9dee5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contextGuidanceArgv (cyclomatic 66, cognitive 104): contextGuidanceArgv has cyclomatic complexity 66 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":"tests/runner-e2e/chat-catalog-domains/privileged-cli-support.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c593f8b8da45bf8a8a137f6935d75e23881d296bd59bba43f4b30f5fb7e23159"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 66, cognitive 96): (anonymous) has cyclomatic complexity 66 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":"server/src/routes/issues.ts"},"region":{"startLine":16941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4000f0b97f0d62a4119ce646d71276a1391a8aa98d3c2771372c744f35c43a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 66, cognitive 75): (anonymous) has cyclomatic complexity 66 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36ce90bda1ee75c5dcf70e2a075f4806381f40a0e85a78dd8c508c43172e684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 66, cognitive 68): (anonymous) has cyclomatic complexity 66 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4574}}}],"partialFingerprints":{"codehealthFindingId/v1":"40de1c3efbb2b977a5ea4ef702ac6b5a95bcea3d4b99389096b899e74d4a5d9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readReceipt (cyclomatic 66, cognitive 64): readReceipt has cyclomatic complexity 66 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":"tests/runner-e2e/ingestion-usage.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a2af3937d218d8c2409707a1e904ed81ba9dacd5d503a0c8ace7eb4245b112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function databaseFacts (cyclomatic 66, cognitive 58): databaseFacts has cyclomatic complexity 66 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b825c7077b3a7c9c0d4ba02359d969aa7ee11f831185b251bca3b3ed143c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 66, cognitive 55): (anonymous) has cyclomatic complexity 66 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":"server/src/services/chat-channels/slack/form-retry.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5519fb596e05ea124a98aec429bbad0f82744db20504efb926ddbe23ef1352f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 66, cognitive 38): (anonymous) has cyclomatic complexity 66 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":"server/src/services/chat-channels/slack/form-publication.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3500ea45dfedb1856fbef3036fe610b6b3ec4edbe91bf5de5758162bd70b20c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function localFacts (cyclomatic 65, cognitive 125): localFacts has cyclomatic complexity 65 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9820b9d7771f432cb565358369c1a212a8b2368568579916a98bb7f60c174765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printGeminiStreamEvent (cyclomatic 65, cognitive 88): printGeminiStreamEvent has cyclomatic complexity 65 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf105cb349785029ba73694100a3584bb4c206fadb01f84afaddc5a03b30d25a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handleNotification (cyclomatic 65, cognitive 88): #handleNotification has cyclomatic complexity 65 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e377ebbe1cd181b59576e05b7fef8ade85291181683a4cf145a8981bb56602f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tool (cyclomatic 65, cognitive 80): tool has cyclomatic complexity 65 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e147ef95c9f1ea02e5bf4d58cf25c9b5c6b059a4e230be9dc2659973867e633"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelRun (cyclomatic 65, cognitive 79): cancelRun has cyclomatic complexity 65 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768131488dd0b659a37c2db010cdc5e49caa3c88104d0ddf7061b79284a21cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 65, cognitive 73): (anonymous) has cyclomatic complexity 65 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"463f278f27ac8276425778c61bf79e88cbf1439d41bca2c60ff060fd4a474614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 65, cognitive 65): handleSubmit has cyclomatic complexity 65 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0a1d43786a966d6c1f029b20e1a701f264a5c0c925379c430b49a8390ee054"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Routines (cyclomatic 65, cognitive 61): Routines has cyclomatic complexity 65 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac8d8f76a295ba2d9a6183026ac1b1bbe4713d9ca45aca674448633fb222919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexTransportFactory (cyclomatic 65, cognitive 60): codexTransportFactory has cyclomatic complexity 65 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18409}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f570a0bfe5332efc68bccd1601845a519a7b77e72cbee6550888c0f74b401"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatBubbleContent (cyclomatic 65, cognitive 60): TaskChatBubbleContent has cyclomatic complexity 65 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54daba5216461ec62645ddc56e9ced0b08a8b5d8ef742d7bf114d73f5b379d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 65, cognitive 58): (anonymous) has cyclomatic complexity 65 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55271faa210ea7f933e419b05b09f0130953dbdb63d8227a8801e481cd14cac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #authorizeHello (cyclomatic 65, cognitive 45): #authorizeHello has cyclomatic complexity 65 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe779a36a74245c717aea206de9edf75754b0078161afe96c74db8b8a81d0609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qualificationReport (cyclomatic 65, cognitive 45): qualificationReport has cyclomatic complexity 65 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/muse-qualification-report.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ea818cd99a5a383c88ce195f555c1e220e27083ade2fc263f3d84933355a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeContinuationPrompt (cyclomatic 65, cognitive 39): buildNativeContinuationPrompt has cyclomatic complexity 65 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":"server/src/services/native-runtime/native-continuation.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8c2550e5f4b1ed84b4751763a8aee9f37428824de35d07c3de23e88d51b0bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotToolEvidence (cyclomatic 64, cognitive 99): readCopilotToolEvidence has cyclomatic complexity 64 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/copilot-evidence.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae45f4d4bb1d1ac2f13dfc4610c8f40f0f675834df063afe044a546a97780a10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listRuntimeSkillEntriesLocked (cyclomatic 64, cognitive 93): listRuntimeSkillEntriesLocked has cyclomatic complexity 64 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":"server/src/services/company-skills.ts"},"region":{"startLine":6152}}}],"partialFingerprints":{"codehealthFindingId/v1":"299cff67b8f3e250c02afa650bc1220ca3ebdea4eee62693d9bfbb731d86bc9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 64, cognitive 91): run has cyclomatic complexity 64 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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a8544486ebd39309cda1d9f48a1b83f20b38afdead97742f52c1f77319b46f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 64, cognitive 77): (anonymous) has cyclomatic complexity 64 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":"server/src/services/decisions.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"726fd7da8322db1dfc8febd2af76378c2fcc6b04a25079251314de08204e0c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 64, cognitive 76): act has cyclomatic complexity 64 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"46aec21174e310314630eec7c075220e4772f88311535946c94ceb238c776de3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceBaseRefRecoveryProvider (cyclomatic 64, cognitive 64): WorkspaceBaseRefRecoveryProvider has cyclomatic complexity 64 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":"ui/src/components/WorkspaceBaseRefRecovery.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf8f916184674a823e2902a0b846e0faff270dedaeb9e52b994f6417920f07c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePluginWorkspace (cyclomatic 64, cognitive 58): preparePluginWorkspace has cyclomatic complexity 64 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"803ae438ab62c27bedb265a6cb4ff33959aa5298e3bf8d7c4a7dd9efacba8a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueBlockedNotice (cyclomatic 64, cognitive 57): IssueBlockedNotice has cyclomatic complexity 64 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1bf404fe872a34474b304cdcc144666595637456e4ef45e5f045509eff01c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExecutionBlockerNotice (cyclomatic 64, cognitive 52): ExecutionBlockerNotice has cyclomatic complexity 64 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":"ui/src/components/ExecutionBlockerNotice.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a68e0197dcdbfe20dfa4464e5265b8c6150278d45fad6b3bfb77191c04717a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function origin (cyclomatic 64, cognitive 28): origin has cyclomatic complexity 64 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":"tests/runner-e2e/kimi-lifecycle-evidence.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fc4def59fc1c5c6921f47dc35a575cc182b0d8e5d23123316bb01181342d03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanProjectWorkspaces (cyclomatic 63, cognitive 122): scanProjectWorkspaces has cyclomatic complexity 63 and cognitive complexity 122; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":5222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b28764127dde726d216bf51b4c3cfa2b2fa75fd4a23ace47e0d4ac48e04f599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePiStdoutLine (cyclomatic 63, cognitive 116): parsePiStdoutLine has cyclomatic complexity 63 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/adapters/pi-local/src/ui/parse-stdout.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaffdae871bd8535972aaafa5070ffc5941d623c5f1e6b4cce77cbab2d4f907"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printClaudeStreamEvent (cyclomatic 63, cognitive 112): printClaudeStreamEvent has cyclomatic complexity 63 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/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c531a1557f367ccae845f2893417f2c65550bd00a561185c0597d91aa2ace"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listIssueBlockedInboxAttentionMap (cyclomatic 63, cognitive 102): listIssueBlockedInboxAttentionMap has cyclomatic complexity 63 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":"server/src/services/issues.ts"},"region":{"startLine":5980}}}],"partialFingerprints":{"codehealthFindingId/v1":"31432d5600ae5cd2d863996216ac100f684caa9cfb15d383f9b04db157b8f306"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignmentDenial (cyclomatic 63, cognitive 83): assignmentDenial has cyclomatic complexity 63 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb82622041143bbd9d2a7ab1439a9134dcd827eaa26bb846730215470e0d5945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleSleepSafety (cyclomatic 63, cognitive 74): readIdleSleepSafety has cyclomatic complexity 63 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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d96117aa46c40e292e1bd99848f6f62b330aff73b07aabfa066df2b2ac90a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 63, cognitive 73): act has cyclomatic complexity 63 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":"tests/runner-e2e/chat-catalog-domains/external-app-review.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dc431f1cd50b7071a1e802887d891aa29b63743a626fcf2db693ebe540a557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSlackFormRetainedOwner (cyclomatic 63, cognitive 58): projectSlackFormRetainedOwner has cyclomatic complexity 63 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c33f9ad310933085b08d857c1d98900c2855506b8ace3d73b957ed4a55067ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 63, cognitive 57): (anonymous) has cyclomatic complexity 63 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":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2ffc672b546395f6b897f9a908aeef19aaa7089bc3200887a1833d11d2695a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePluginTaskOwner (cyclomatic 63, cognitive 56): preparePluginTaskOwner has cyclomatic complexity 63 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16534}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc55bad862d99840fd07041e1ce420dde65fb0bbd2bf4480faf08aa37ebf20bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DiscoveryGrid (cyclomatic 63, cognitive 47): DiscoveryGrid has cyclomatic complexity 63 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cd7b9cd8fabe3fe928e4ccd06fc409dae50dcfac12c74d35a6916e61783a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerSessionIdentityFromDurableProviderState (cyclomatic 63, cognitive 35): providerSessionIdentityFromDurableProviderState has cyclomatic complexity 63 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7871}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e192ebf10f921aa3ce89f0db629e22ec85fa6c3d0894406ae7c7e96859a15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWizardBoundary (cyclomatic 63, cognitive 27): gradeWizardBoundary has cyclomatic complexity 63 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":"tests/runner-e2e/chat-catalog-domains/identity-wizard-boundaries.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b4bbb1738463182e2db5ae8fe0ad9f9829e7276d4985aec85d8746bbcbd9e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchMethod (cyclomatic 63, cognitive 24): dispatchMethod has cyclomatic complexity 63 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b07a68349d5f84fddc7660a2fff67cb0a38a1ba332497aef3d025ec61a2d355"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertHireRuns (cyclomatic 62, cognitive 78): assertHireRuns has cyclomatic complexity 62 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/hire-delegate-evidence.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"78340d85a01c7cee00c1256d679c5d9eed25f9c28d51c7d08fd5d02a364a0547"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCopilotProtectionFlow (cyclomatic 62, cognitive 74): runCopilotProtectionFlow has cyclomatic complexity 62 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":"tests/runner-e2e/copilot-protection-flow.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7467cf0729c3af1417fc1ffad44907c6f8bcaca49642d21e0f62d783b211989b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueCommand (cyclomatic 62, cognitive 66): queueCommand has cyclomatic complexity 62 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8d2bb0c25065c0606b848b64c8e54596378171a52edd589b34874f39841563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareManagedAiRuntime (cyclomatic 62, cognitive 65): prepareManagedAiRuntime has cyclomatic complexity 62 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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d863c7348669ea78cf43bb36e3aa50326aefc6d7ebde5f0c7938bf5e12c2e61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 62, cognitive 63): (anonymous) has cyclomatic complexity 62 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":"packages/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"870c31ab2f252505b2bd1b9eedc0124dc446393d883f431eef4fba5bdf9d6149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeFirstTask (cyclomatic 62, cognitive 61): gradeFirstTask has cyclomatic complexity 62 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/first-task-scoring.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e0847ba15bb2ee34d0489eef3b4e840a9b5bc17dba7d11c20d2a6900dc2a2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 62, cognitive 53): main has cyclomatic complexity 62 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-grok-operator-worker.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7135511b0486494de8e36adbee1a6bbb0b86eb9ad2dd4fce0765aa5c26a43c9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueWorkspaceCard (cyclomatic 62, cognitive 52): IssueWorkspaceCard has cyclomatic complexity 62 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":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dfe484588fe308cea1ccb0828695a7f57937a9e8259de60795a6e7013abe45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function freshChatSourceAfterPublishedControl (cyclomatic 62, cognitive 46): freshChatSourceAfterPublishedControl has cyclomatic complexity 62 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":"server/src/services/issues.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d3640f96393b5a7a8c37ab1b4f8b7771e9cb553032e5a6d66245ec121f0b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeObservation (cyclomatic 62, cognitive 33): gradeObservation has cyclomatic complexity 62 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":"tests/runner-e2e/native-completion-scoring.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409de9d7f90f7260e47ec18403c1d993e7a3925f4ad7561e369500ab51d9b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 61, cognitive 125): (anonymous) has cyclomatic complexity 61 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/test-fixtures/pi-acp/fake-pi.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c84e4fdd8eebfeffa59c64f0719b1f11f17d902214afd61e8d416044620c7b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 61, cognitive 124): testEnvironment has cyclomatic complexity 61 and cognitive complexity 124; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/test.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c409618c299394e5ec79f2ec5df9799231ff56c5d3e1e2108983db754f09a5ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingestAttachments (cyclomatic 61, cognitive 102): ingestAttachments has cyclomatic complexity 61 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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c94e4f07de91238f7d689455283500ee65c5e0160dd07b8482f1d344f98e3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 61, cognitive 88): create has cyclomatic complexity 61 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3780}}}],"partialFingerprints":{"codehealthFindingId/v1":"380227dbfbe1dc094aa072ac14c13981e4150cac3efc273f43b758d5c7416548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneCompanyPage (cyclomatic 61, cognitive 86): pruneCompanyPage has cyclomatic complexity 61 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02754d206ad453c3f23106f9a6a0c5a8006e87ad4513eb3b8fe8b21130b9299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 61, cognitive 66): execute 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/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f294ed2cf3ddcab0ddad91ef22b51d60eb32ba0ecfe262cb76c97d5bb8a99a37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function harnessConfiguration (cyclomatic 61, cognitive 61): harnessConfiguration has cyclomatic complexity 61 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa0e610780e4b95f023830ce70f5bb1f63cd88dc656e928ee0dd72da96de8ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 61, cognitive 58): (anonymous) has cyclomatic complexity 61 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":4831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6351a13c4af35e860eb49be51dbb98618f5c193d46396b8e701b30e378b815aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 61, cognitive 53): (anonymous) has cyclomatic complexity 61 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81699f9f0a2482a8b2a6055f6cc8c3d562aefa5e453ad71229850b11ee595e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 61, cognitive 52): visit has cyclomatic complexity 61 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":"scripts/ci/vitest-selection-graph.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0806f143744468b1860be6280fd005d878cbba78fe098832adc0bd6c1588da6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyLocalAgentJwt (cyclomatic 61, cognitive 49): verifyLocalAgentJwt has cyclomatic complexity 61 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":"server/src/agent-auth-jwt.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c4d7875f07bdda3b91f3425a5d022fc21f2ae3f7ac425e64392adb51ec8be7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditFeed (cyclomatic 61, cognitive 47): AuditFeed has cyclomatic complexity 61 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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce978be521be9dfcee92a707cb3ce897d735534330f7600d3cde131f525b3aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEvalSessionRequest (cyclomatic 61, cognitive 46): parseEvalSessionRequest has cyclomatic complexity 61 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/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1773a736a5321a4306b5cb3a58738b0983c31c49b4ff16dc6adbf98b1f8df583"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertGitSensitiveAdapterWorkspaceValid (cyclomatic 61, cognitive 44): assertGitSensitiveAdapterWorkspaceValid has cyclomatic complexity 61 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0065f79385f0734982ea7659b456bce028a7ce96626cdb1859b225536d527c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAccounting (cyclomatic 61, cognitive 41): gradeAccounting has cyclomatic complexity 61 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":"tests/runner-e2e/chat-catalog-domains/identity-accounting.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1329b28243652f06725e096817c699ee8892086a2adb45e16f492dba86abbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFullCatalogManifest (cyclomatic 61, cognitive 33): validateFullCatalogManifest has cyclomatic complexity 61 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":"tests/runner-e2e/chat-full-catalog-testops-manifest.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7b0520f479dcd23a7a9ca955edcb4f56bc73902c1387070abbc44e31f94935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSlackSetup (cyclomatic 61, cognitive 23): gradeSlackSetup has cyclomatic complexity 61 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":"tests/runner-e2e/chat-catalog-domains/external-slack-setup.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce79f5d2e476caf891df65020d3bc6056b03b61bfe9b1cdca6a9abf52fcb2935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 61, cognitive 21): (anonymous) has cyclomatic complexity 61 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":"server/src/services/native-runtime/native-warm-ingress-ownership.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35f0dbf58265b42971cfe8c01625ff7dcf542da8cb48f7b565a5791aff30e1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAntigravityJourneyEvidence (cyclomatic 61, cognitive 21): validateAntigravityJourneyEvidence has cyclomatic complexity 61 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":"tests/runner-e2e/antigravity-journey-evidence.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"979416112506e61d7793b97a4b282b2dd23342d2d9fcb1d814de4326c0f3bbdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupExecutionWorkspaceArtifacts (cyclomatic 60, cognitive 101): cleanupExecutionWorkspaceArtifacts has cyclomatic complexity 60 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eea2bb64c34597dd34234354f1c1b901749ec271a893f49d87c8b2eaadb514"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepPendingCleanupLeases (cyclomatic 60, cognitive 100): sweepPendingCleanupLeases has cyclomatic complexity 60 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72bd76b1487f6b21919356d5d7a94fa53f5ba346298f5d72e000dc36dbcb37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChatControlChronology (cyclomatic 60, cognitive 97): readChatControlChronology has cyclomatic complexity 60 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6b6ade8b33edbb3d52f57bb1c5286b02dc5fc0372770090bf6dc1700a6b80d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedWorkspaceRepairReceipt (cyclomatic 60, cognitive 74): verifiedWorkspaceRepairReceipt has cyclomatic complexity 60 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":"server/src/services/workspace-recovery-receipt.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"330366bc7f55369fedced397a0ce619ea2044a39432e1304abfe99279782f8c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureGitWorktreeBranchCoherent (cyclomatic 60, cognitive 74): ensureGitWorktreeBranchCoherent has cyclomatic complexity 60 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"365b3a52af45cbadb8e0e064b8e6df1a607d93295b6c2072439967d7dde205b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 60, cognitive 71): (anonymous) has cyclomatic complexity 60 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":"server/src/services/ai-connections.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bf99470295bfa769bdb1dee0f7e69f806dc59a696b7b7554272b333eaf82fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 60, cognitive 69): (anonymous) has cyclomatic complexity 60 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5543fdc2c736738b141da7a49eb57ad1d41703708470d284c060a086825a657"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 60, cognitive 56): (anonymous) has cyclomatic complexity 60 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a84a8413c4b2ebe77e399f9678e129e27a407bc8b4f54bad219bac1b1754d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Routines (cyclomatic 60, cognitive 56): Routines has cyclomatic complexity 60 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a115a9fdd8d6254e8784083cb19b2804f3e77a0d53493050b4a3e1d52d141ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleGatewayInteraction (cyclomatic 60, cognitive 50): handleGatewayInteraction has cyclomatic complexity 60 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9afda4391a08fd477bc8bf3bd4ba3b75e57402d03d4f29d724ab687edb2ca2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveSlackCloudCallback (cyclomatic 60, cognitive 43): receiveSlackCloudCallback has cyclomatic complexity 60 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":"server/src/services/chat-channels/slack/cloud-callback.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8dc35e0a9559273005f01f7e9a791c7330698edd214d1e22cf9526c1562abf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MuseConnectionDetails (cyclomatic 60, cognitive 42): MuseConnectionDetails has cyclomatic complexity 60 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":"ui/src/components/MuseRunnerConnection.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3561b977e602830d8b3a61638884c982e87294b534ea0c2c41cee4e718bf6e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 60, cognitive 35): inspect has cyclomatic complexity 60 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":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04319da2bc5caf7629f277467221096f42cdcf74a99823a6a1f23bb8e058b25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verify (cyclomatic 60, cognitive 34): verify has cyclomatic complexity 60 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":"server/src/services/native-runtime/native-harness-original-volume.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4831a3d76a3143350f53af5faead0a1106c31d02e6b8cf0da0f56b5ae22a5f3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCancelledNativeStartup (cyclomatic 60, cognitive 26): isCancelledNativeStartup has cyclomatic complexity 60 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7ef90e7d956d7213526ec8b462580ec943bd58048b131600eae321847f90b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readActiveStopSettlement (cyclomatic 60, cognitive 9): readActiveStopSettlement has cyclomatic complexity 60 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":"tests/runner-e2e/native-active-stop-evidence.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"819f203c9d397789c9a86e99bd2f4df837165b53bb734b833a843fac3118c9f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 59, cognitive 156): run has cyclomatic complexity 59 and cognitive complexity 156; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/muse-maintenance.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34cf9e465e5842b9446bb934686c6b95646c04fbf9e8d282035acdae0c55174"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOwnershipReconciliationPass (cyclomatic 59, cognitive 113): runOwnershipReconciliationPass has cyclomatic complexity 59 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6562eb18a3f0aa7d53874587210e2d985533b1bbce8f347e0f09b888b8956ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 59, cognitive 106): execute has cyclomatic complexity 59 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/execute.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c4c0a4d8cb2a920bb630ebcd74bf3d63d4bf3a655e4bbec54782996e55ea54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 59, cognitive 83): (anonymous) has cyclomatic complexity 59 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/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"188ae15904bd9bc32db987d23e320a556b9ca85d59e77db1f891b3f9a7a002cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEvalSessionCli (cyclomatic 59, cognitive 80): runEvalSessionCli has cyclomatic complexity 59 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"619f07083c60321a9ad1cff0389d32e73fb180e48f3db44edf9ce1c740d39528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEnvironmentExecutionTarget (cyclomatic 59, cognitive 77): resolveEnvironmentExecutionTarget has cyclomatic complexity 59 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4eddbc16b04bf934efdacd7d7cc949c42749e0efe3ed750414fdeed4cb6ad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSealedInventory (cyclomatic 59, cognitive 76): validateSealedInventory has cyclomatic complexity 59 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":"tests/runner-e2e/manual-private-transfer.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b486f1ea6914f21db854bf4b28d91d00cdafed1af9a3886ef94b89714e1ae356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSafeNativeReplacements (cyclomatic 59, cognitive 75): reconcileSafeNativeReplacements has cyclomatic complexity 59 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"addf08ffd9e33c7dcd469b98c5681337ddbadd7c27009378afc4568e1963a343"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 59, cognitive 60): open has cyclomatic complexity 59 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b120c1c888ecc75dfb585cf0f57ae06c57696d2b4a4df511599a05acdd6d74b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendNativeSourceEvent (cyclomatic 59, cognitive 60): appendNativeSourceEvent has cyclomatic complexity 59 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ce5616982fac368431625c42642eee8d18037ac87c1af2f5fce5a42076f652"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addSentryRunLinks (cyclomatic 59, cognitive 52): addSentryRunLinks has cyclomatic complexity 59 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":"server/src/sentry-links.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44e6e3218cd758cbb1474bb9ee228767e45972a62249f5c13e42e9bffd01efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeInboundWakeup (cyclomatic 59, cognitive 48): authorizeInboundWakeup has cyclomatic complexity 59 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ddf4a3966ba79717f3d26a00c5cfc3b6d69df36144e15eca12135fa16c565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeAudit (cyclomatic 59, cognitive 48): writeAudit has cyclomatic complexity 59 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c8dc2203744fad17b91f2715b248b718820233e8a09346c855cf60c7ea5469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineTriggerWizard (cyclomatic 59, cognitive 47): RoutineTriggerWizard has cyclomatic complexity 59 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":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f669dd117223d80077dd11a6a898b4929da307416f4b2741c5f2e13f882a5647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadGateFacts (cyclomatic 59, cognitive 45): loadGateFacts has cyclomatic complexity 59 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ebb979853ca69a3c4f580242ef6a67041266f1ed8a4abadefb00a90346c68a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTargetConfig (cyclomatic 59, cognitive 41): parseTargetConfig has cyclomatic complexity 59 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":"tests/runner-e2e/product-journeys/catalog.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e935882e2f13c081031a8f19d03efcb6f2d0624ea4858d144eb575a3e0b098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valid (cyclomatic 59, cognitive 39): valid has cyclomatic complexity 59 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":"tests/runner-e2e/chat-catalog-domains/internal.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecce1742303af0aecaf697f827c0b020df60c3a3c2b2f2bc612ca8c37d2f4f58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grade_goals (cyclomatic 59, cognitive 34): grade_goals has cyclomatic complexity 59 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":"tests/runner-e2e/chat-catalog-domains/internal-goals.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dacf7ad3a4016575d4003fc8d96907a2a40bb03dedbae9f0fd298751ddfff0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function teamsFileCurrentScope (cyclomatic 59, cognitive 29): teamsFileCurrentScope has cyclomatic complexity 59 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd9fc44de04c9aa3e88a03762e24a44d770cb24af19be97f2309cbacce72150"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeShippedChat (cyclomatic 59, cognitive 24): authorizeShippedChat has cyclomatic complexity 59 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":"tests/runner-e2e/testops-chat-admission.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b0a902b091485b8e5038bfbdff53a77b91b7c6aaefea0ddb2af45ace6e246"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #invoke (cyclomatic 58, cognitive 114): #invoke has cyclomatic complexity 58 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec703735f6564e94523e5ae552bd5344a5067009284bcebc73431e1ac64b075f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectProjectTests (cyclomatic 58, cognitive 105): selectProjectTests has cyclomatic complexity 58 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/vitest-selection-graph.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"165397ec0eaa1b2c517c525d584ded9b88f2dea9589aca893975b4171e898287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverNativeRunsAfterRestart (cyclomatic 58, cognitive 101): recoverNativeRunsAfterRestart has cyclomatic complexity 58 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4a3f13781c00bf65023f8f974a731511c0ef05d6f173c9235335e880e061c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 58, cognitive 90): list has cyclomatic complexity 58 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee3605532a51c3caff47e213a63d818c319056d9ed0d37e1fdef90de22f5502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAgentDefaultsForJoin (cyclomatic 58, cognitive 84): normalizeAgentDefaultsForJoin has cyclomatic complexity 58 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":"server/src/routes/access.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"968ebe357eb976b794a69d1e341833ef47420345b4912d71b867366cc5066006"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 79): (anonymous) has cyclomatic complexity 58 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":"cli/src/commands/client/company.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45e59c441dfbb254b894184b819b2fc498b9916592e809af13ac561ddeff939"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recover (cyclomatic 58, cognitive 78): recover has cyclomatic complexity 58 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbf5ae46b234ccea7c87e95be2e4d5e0558e76070e622c00c786a251e574c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorHandler (cyclomatic 58, cognitive 74): errorHandler has cyclomatic complexity 58 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":"server/src/middleware/error-handler.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c2eadf1426df23735ce7d7a26a960c72e3a4b3d24cb3b46768b2c5d25805d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRisk (cyclomatic 58, cognitive 74): classifyRisk has cyclomatic complexity 58 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":"server/src/services/tool-access/catalog/descriptors.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c673bc92df327b3d246a038ab2e9e10762193cab8ac262072fa83b8abe42fde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRuntime (cyclomatic 58, cognitive 67): startRuntime has cyclomatic complexity 58 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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41f59c8109e650ad6c34b2d2c2ff1278b009fe597006420818eaad9a089933e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeManagedEnvironment (cyclomatic 58, cognitive 65): probeManagedEnvironment has cyclomatic complexity 58 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":"server/src/services/agent-environment-test.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d54982c814e9a4c9f513f99d708844b65e3324eb2d2337fdf029084b2695f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeRetainedChatSourcePublication (cyclomatic 58, cognitive 57): authorizeRetainedChatSourcePublication has cyclomatic complexity 58 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":"server/src/services/chat-channels.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481a61056a0df90ba4d805c7005c01a7fa309d7af6cf897c3285dbb3dc88202"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectEvalOtlpReceipts (cyclomatic 58, cognitive 52): inspectEvalOtlpReceipts has cyclomatic complexity 58 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":"tests/runner-e2e/eval-otlp-receipts.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"803d15ef5c21b887c3d80a2358de3fc60b1e7b7de1b08054650b6c5d1071a91a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileViewerSheet (cyclomatic 58, cognitive 51): FileViewerSheet has cyclomatic complexity 58 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe57a00dfd41a3c48fa15a5826b796904793beb880f440d994a5723e80a8754"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 46): (anonymous) has cyclomatic complexity 58 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":"server/src/services/task-workspace-access.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e630523b73175ff56d41306b0b4364bb7831dc4c1fe4527ee3b679a25f3b6528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehydrateAttachment (cyclomatic 58, cognitive 44): rehydrateAttachment has cyclomatic complexity 58 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b398519a16e34c9981dcb1523eeb062c9bc4bd8552575115786837fb475bd3ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotionSetup (cyclomatic 58, cognitive 42): gradeNotionSetup has cyclomatic complexity 58 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":"tests/runner-e2e/chat-catalog-domains/external-notion-setup.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c9f81b757a90000348ac6f855e0758c32a845798cadaa40b45260620c0ccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNativeCompletionPreflightReceipt (cyclomatic 58, cognitive 23): assertNativeCompletionPreflightReceipt has cyclomatic complexity 58 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":"tests/runner-e2e/native-completion-checks.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"300a85b492d562eb5affc86615338c809c24bfbcfbcec783c1519cf621a4d361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeOpenCodeSkillLoad (cyclomatic 58, cognitive 23): nativeOpenCodeSkillLoad has cyclomatic complexity 58 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":"tests/runner-e2e/product-journeys/saved-skill-use-evidence.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"982603b372e9c64fa93b20003a7d57db442a0cab58f72198c9fdc4e914d2ff89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepMemberConnectionAccess (cyclomatic 57, cognitive 117): sweepMemberConnectionAccess has cyclomatic complexity 57 and cognitive complexity 117; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46d578b519c8e9cd7814b5a77023dc311f98c453161523fd9af2dc88c5570c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 57, cognitive 97): run has cyclomatic complexity 57 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scoped-deadline-work.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff2f6b7de344ba7b0d369ba4e81447e54281704988f9c97386c90723914d092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFreshWorkspaceReadiness (cyclomatic 57, cognitive 84): readFreshWorkspaceReadiness has cyclomatic complexity 57 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2506d283dd557682dde2797b874a37e1b3c0594ccecce81d21fbe819f5992565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 57, cognitive 79): (anonymous) 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":"server/src/services/tool-access.ts"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31e34bed050cb3167611e73371f39875072c81149c0dee50c6df18474917ea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPendingInteractionWakeups (cyclomatic 57, cognitive 76): processPendingInteractionWakeups has cyclomatic complexity 57 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":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"409541fb67029d9afda601b2699cc90e0b06a66cdc7db783d09e832acc2695e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 57, cognitive 71): (anonymous) has cyclomatic complexity 57 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":"server/src/routes/issues.ts"},"region":{"startLine":18599}}}],"partialFingerprints":{"codehealthFindingId/v1":"4213c186b9c6b1342a0f644718de94f35d622c10401d6c709f402ff3b836a363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectCapabilityIssueThread (cyclomatic 57, cognitive 67): projectCapabilityIssueThread has cyclomatic complexity 57 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":"packages/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfa7d5cabc6edfd0648ec2cc7919bb47b48df9e572cdcdd92fa90c0ac72a98c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fence (cyclomatic 57, cognitive 67): fence has cyclomatic complexity 57 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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"936e1b7e6c117defd2fda6e56f44cf04e42f5b0ea16a8b4cf4baa6251126d97b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verify (cyclomatic 57, cognitive 61): verify has cyclomatic complexity 57 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":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e819e6fbcb012098be8d0814b8cd95663b559d28790ae7dc91eb3557d3c3810f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeGitHubResponseComment (cyclomatic 57, cognitive 61): writeGitHubResponseComment has cyclomatic complexity 57 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbc638d545fad6a8f886e1ccfc8324f65b15d1c2b2f611809cf530480ac55b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchIssueSearchData (cyclomatic 57, cognitive 61): fetchIssueSearchData has cyclomatic complexity 57 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":"server/src/services/company-search.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8493170fc5b61ee180a2a655b9c9922259fec1bb46192a7a7c2554aa34d109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quickstartDefaultsFromEnv (cyclomatic 57, cognitive 56): quickstartDefaultsFromEnv has cyclomatic complexity 57 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc0dbba1a3fe53f641dbb65809152331e8e350a56e50f45ab661a54947f4e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppsConnect (cyclomatic 57, cognitive 54): AppsConnect has cyclomatic complexity 57 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppsConnect.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15967b30921c4fd79bbbedb8bc9c10d55c55bcdd8892c2fef6c41624250a06c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TryStep (cyclomatic 57, cognitive 53): TryStep has cyclomatic complexity 57 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baa0754b593470aa44ca819228f3a3b20caef3f9ca65726e6f24e4b98afefbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GrokBotSetupContent (cyclomatic 57, cognitive 45): GrokBotSetupContent has cyclomatic complexity 57 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/GrokBotSetupContent.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2a70c2bc63f9f975a13661b4a1e5292b834de54a8f73eb72b1e8053bf0960a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadLiveConsoleConformanceFixture (cyclomatic 57, cognitive 35): loadLiveConsoleConformanceFixture has cyclomatic complexity 57 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":"packages/paperclip-runner/src/protocol/live-console-fixture.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5389502ca6bce2643749e857879ee774e2b30ac8352eb9f7aa91b673b8308047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GrokBotConnection (cyclomatic 57, cognitive 35): GrokBotConnection has cyclomatic complexity 57 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":"ui/src/components/GrokBotConnection.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e2086e292f58b37871a7356cd59b8d85c17dbfd58fa4f42bfee5d3a5b7c032"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRemoteRecoveryHold (cyclomatic 57, cognitive 31): inspectRemoteRecoveryHold has cyclomatic complexity 57 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2fa381abb8b0f46e15f820c7041fe76de3a4131f6624367232801dcb421280"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyPreDispatchExecutionWait (cyclomatic 57, cognitive 28): classifyPreDispatchExecutionWait has cyclomatic complexity 57 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":"tests/runner-e2e/non-execution-wake.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed47bc41d0de3de52c6bea25144ced0c3521f1790cdde53c47bfde5df1e9ee40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePersonalSecret (cyclomatic 57, cognitive 27): gradePersonalSecret has cyclomatic complexity 57 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3ee376a764f8b8513587b3ff31c421366c6df99c2f7e56cfada241f415faa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLifecycle (cyclomatic 57, cognitive 21): readLifecycle has cyclomatic complexity 57 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":"tests/runner-e2e/pi-bootstrap-permission.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"813b00256741ce095eaab2d965d8fe8ac2be10280cab49d1a0be0cd9756aecb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePaperclipQuestionResponse (cyclomatic 56, cognitive 105): parsePaperclipQuestionResponse has cyclomatic complexity 56 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb70a46bfb570c5e43799553cc59b23ef9bb79529f828fce0178f133c3d1447a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseManagedConfigEnv (cyclomatic 56, cognitive 93): parseManagedConfigEnv has cyclomatic complexity 56 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":"server/src/services/managed-config.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85688778ab82fa6a7b697627097128a4616c00cf4e9ef6011049b8ad4bee9ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTimeline (cyclomatic 56, cognitive 73): getTimeline 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":"server/src/services/work-timeline.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da2a66251345439a32eaae7ffb830b873c3fd2141c541afecad2812de043a72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLegacyRoutineTriggerFromRecurrence (cyclomatic 56, cognitive 72): buildLegacyRoutineTriggerFromRecurrence 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":"server/src/services/company-portability.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa995c2921d1c1b11826078423903435491c963d6267e45d7c33257072118742"}},{"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":"server/src/services/native-runtime/native-provider-failure.integration.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7df5f3fd1cdbab8c97ba18f6eedbdaba99e2a01451d5a12bf0fe3bb2a60200f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handle (cyclomatic 56, cognitive 69): #handle has cyclomatic complexity 56 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/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc36f0bd4a419626571105c3260697d9286195e11eaade1284c9a78f84f6581"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testClaudeAcpEnvironment (cyclomatic 56, cognitive 68): testClaudeAcpEnvironment has cyclomatic complexity 56 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bec82d060a18adfda1eb649f37d51d45bf043d7a67102434a02475b7599477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimFailedChatRunRetry (cyclomatic 56, cognitive 64): claimFailedChatRunRetry 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef039fd259d274edef4fe88907cd90cdeee1ccdb7276f52700682809cd883cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeApiResponsePaging (cyclomatic 56, cognitive 60): gradeApiResponsePaging 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":"tests/runner-e2e/api-response-reading.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3662a2e70ef1ca595f9682668949ede0eef856d035e73223874bbe1169d4f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeExperimentalSettings (cyclomatic 56, cognitive 54): normalizeExperimentalSettings has cyclomatic complexity 56 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/instance-settings.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc736de3fe5eb2159463ed54a03394cf55f9cbed0f2fdb3c0707fa5538c103c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 54): (anonymous) has cyclomatic complexity 56 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f33375c8533f39cbc775addf591fbf97afdbed0912fd5af0cae54208edd9062"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSlackFixture (cyclomatic 56, cognitive 54): prepareSlackFixture has cyclomatic complexity 56 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-slack-fixture.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8435096388708ada71d75385306e05356d751ab2d473ee0d29fec0457dfa7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeControllerEvidenceDescriptor (cyclomatic 56, cognitive 50): nativeControllerEvidenceDescriptor has cyclomatic complexity 56 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":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"868f0bc896518f6200fcd7c0590387d5a0c45f7b4fa8ac5f885901f0e9a7ca99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 50): (anonymous) has cyclomatic complexity 56 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5e1770b306831b5035738f2a98da8d2e1c4d3611ac0fb5c69e868274eb054c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleProjectWorkspaceRuntimeCommand (cyclomatic 56, cognitive 49): handleProjectWorkspaceRuntimeCommand 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":"server/src/routes/projects.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ab233b05ce8c5fc19d25faebafa0757fdc76e9fdd8e60d6c8f07c238c7adbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Browse (cyclomatic 56, cognitive 48): Browse has cyclomatic complexity 56 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7164915ca94135de07dbdd2aef18a683df468ae482bfb65bebc97457ce1cee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentObservabilitySettingsView (cyclomatic 56, cognitive 37): AgentObservabilitySettingsView has cyclomatic complexity 56 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":"ui/src/components/observability/AgentObservabilitySettings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f48cd39b515cab00e78bf35139cafabe96fe14c41d5dcab20d8fe6164652bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readActiveStopSettlement (cyclomatic 56, cognitive 9): readActiveStopSettlement has cyclomatic complexity 56 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":"tests/runner-e2e/copilot-active-stop-evidence.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe42b4e015e7302e7493d97ceccd5c9564c87c74b49f54eb055b6dc6eb91722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 55, cognitive 120): testEnvironment has cyclomatic complexity 55 and cognitive complexity 120; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd0b861e2b2c70d98643e2e1c33fd6de439ae91d53acc2a03b033ff6179cf43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageBundledProviderOptionalDependencies (cyclomatic 55, cognitive 120): stageBundledProviderOptionalDependencies has cyclomatic complexity 55 and cognitive complexity 120; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/prepare-bundled-package.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba72153e9fc049e5df9419a835bc4cb8311179a4481ffb94725e202202d1ff3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function heartbeatRun (cyclomatic 55, cognitive 113): heartbeatRun has cyclomatic complexity 55 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994d290e1515ffbbd431188012a30cc999cd7bf39482bf40f10afc997bdd82e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateDaytonaCatalog (cyclomatic 55, cognitive 113): generateDaytonaCatalog has cyclomatic complexity 55 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":"scripts/generate-daytona-tools.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ead2631c9f9e2aef40364697b3e33af89976ca8e545e28a1510a27caafdea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packageEvidence (cyclomatic 55, cognitive 107): packageEvidence has cyclomatic complexity 55 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":"tests/runner-e2e/evidence.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63fd276e2614a451f3d78fcba7267c17b5b15c2e4d923c1cd0881c3f4b0f339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseRunLeases (cyclomatic 55, cognitive 84): releaseRunLeases has cyclomatic complexity 55 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":4164}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ec9145ceee62ca87bd460dfb4f12ab636d49e1d1b0a29ddf5bdaff5d66a082"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postSafePublication (cyclomatic 55, cognitive 83): postSafePublication has cyclomatic complexity 55 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":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"593d28cd875b3204788630da3975f28b2b34713ef740d6c553e90eb94ddbd3a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyManagedEnvironments (cyclomatic 55, cognitive 80): applyManagedEnvironments has cyclomatic complexity 55 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":"server/src/services/managed-environments.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d0f4f066e8ab091842fb58363cb5ca52bd97479aac9a05cfe29ddf78b4e76f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 75): (anonymous) has cyclomatic complexity 55 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"293e956f4b8fe898e405f519b75bcdd88824bfb25c1c4235206b06d3c1dcff04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkspaceAccessState (cyclomatic 55, cognitive 73): resolveWorkspaceAccessState has cyclomatic complexity 55 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":"ui/src/lib/workspace-access-state.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0567e1c2d082d8b6a46d84da7230d173a43d7fbb0a7a575369c64aeb9279ae5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensure (cyclomatic 55, cognitive 71): ensure has cyclomatic complexity 55 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf46879fbe99245ba7a1259131b6f675030dfa4f366f89df118f31edf4c5b93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 68): (anonymous) has cyclomatic complexity 55 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31c6c9e27c8a93f6a4227702852c70ee61ecfa2ea5a0eb76b351508385fb904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSelectedWorkspaceTrust (cyclomatic 55, cognitive 67): assertSelectedWorkspaceTrust has cyclomatic complexity 55 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":"server/src/services/task-repository-acquisition.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8e1bd761ebd63a7165ce847a17efdadfbe0c43e6840a5a3a60d1389c52e37a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatTurn (cyclomatic 55, cognitive 65): TaskChatTurn has cyclomatic complexity 55 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":"ui/src/components/task-chat/TaskChatTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac53f8e7ccbef8e3e3575a6ca99b572cd805bb567e2f97058930398322a8f15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureRunFailureEvent (cyclomatic 55, cognitive 58): captureRunFailureEvent has cyclomatic complexity 55 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":"server/src/sentry.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6500ca5b7547f8cef73764418acef6073b933f50872f5ff92080219910f897a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 58): (anonymous) has cyclomatic complexity 55 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":"server/src/services/execution-control-reconciliation.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0516d8ed11bc67fb8cf2827afe9c564f89b6e624969f42dd5b2cd4621dfa36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestInterruptedNativeTurnRetry (cyclomatic 55, cognitive 58): requestInterruptedNativeTurnRetry has cyclomatic complexity 55 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":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"78074a6c0d1ea0a8f1420f5bf83fc1aabafe48bd948c4785dd3e9d48c06b70a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BudgetPolicyCard (cyclomatic 55, cognitive 58): BudgetPolicyCard has cyclomatic complexity 55 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":"ui/src/components/BudgetPolicyCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"808e9d1aa029439ad353e8030dee1ebf0a3158a42f64e356978b96fd1d81601a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 58): (anonymous) has cyclomatic complexity 55 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"605e4c19b1b5b018c04cff0699a41100ae2277d0da11ae7c0ff5675940691c3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 55, cognitive 57): main has cyclomatic complexity 55 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":"tests/runner-e2e/report.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc2b46602899eef685203295722ea726eede38a40b88bcc26f65ad610478c16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueFiltersPopover (cyclomatic 55, cognitive 53): IssueFiltersPopover has cyclomatic complexity 55 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"492ecd74100b9da3a6d2cf5bbc7860f0e69dd41cb4255ae55ea23c361e75a7b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportCompletionPilot (cyclomatic 55, cognitive 49): exportCompletionPilot has cyclomatic complexity 55 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":"tests/runner-e2e/chat-completion-testops-export.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c817eee057a77cd3d2d0d4ce76bbcdebceef16cb2ea60fe8c3859187b42451e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 48): (anonymous) has cyclomatic complexity 55 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":"server/src/modules/agent-lifecycle/adapters/records.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95468de82e33d134f7c34b7e9c814ad7de545c0b1240c11d5cd0f9542876332"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCard (cyclomatic 55, cognitive 48): renderCard has cyclomatic complexity 55 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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf9c8afafdb5eb6b4fe97cdd0023f8d2c7abccd17e3f006a23a1b2092ed3e16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LogViewer (cyclomatic 55, cognitive 47): LogViewer has cyclomatic complexity 55 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c98a44b2e52de76ef7a1c8cf3fc1f9f6a75cb6a584ee4aa43bf9837398c126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatComposer (cyclomatic 55, cognitive 46): IssueChatComposer 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae71b48cb787c9a62b859f16c0fd2b3f679deb85e28d75672323952fee466999"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PoolConnector (cyclomatic 55, cognitive 45): PoolConnector has cyclomatic complexity 55 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c916246b7af7a5279a65b2a43f22060da7f94ef455ac85a78a9e4faea11a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DiscoveryGrid (cyclomatic 55, cognitive 41): DiscoveryGrid has cyclomatic complexity 55 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e95836378b16a5f95a8af19d7cf6170e0cb0b3e85288699a5964f9696fec3eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyReleaseProviderPack (cyclomatic 55, cognitive 38): verifyReleaseProviderPack has cyclomatic complexity 55 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/release-provider-pack.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a50d586237b415091b9c8affd6ab63ea9a4e4876e317adb224a511129257c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeProviderRecoveryEvidence (cyclomatic 55, cognitive 37): nativeProviderRecoveryEvidence has cyclomatic complexity 55 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4208c30e8c3bef8ec3ccad039921afef884078d570ca017d81f6c65082346e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAntigravityOwnedResources (cyclomatic 55, cognitive 29): parseAntigravityOwnedResources has cyclomatic complexity 55 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":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"328c1e152430bbfb20c43355deba3355ef4c60e3ea39e4b896e820dd3fc65ce0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatInteractionPresentation (cyclomatic 54, cognitive 91): chatInteractionPresentation has cyclomatic complexity 54 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":"server/src/services/chat-interaction-presentation.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e8caa0c370a14ad29d5e21837bc6108e9f18a22543b062c1381db6029e0e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideInternal (cyclomatic 54, cognitive 83): decideInternal 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d50723545d0751f7ac1d6792debffb5e8262490dbd4ba5102c823bdb422dbb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 54, cognitive 83): fetch 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":"ui/storybook/stories/connection-setup/in-feed-connections.stories.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a012db9c91c35495334ff4a085712f61c39e3857d5f7093bdb332d7bdfab11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireForRun (cyclomatic 54, cognitive 81): acquireForRun has cyclomatic complexity 54 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":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"22529ecafa01d46de4ff7466cac2a1248cb58410069c8ed95101e4330ef6ac9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 80): (anonymous) has cyclomatic complexity 54 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/paperclip-runner/src/drivers/acpx/copilot-policy.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a28ffc0c767680b949c672bea338f7a5a55ad7d005d7a93e814998b3221eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 54, cognitive 68): resolve has cyclomatic complexity 54 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":"server/src/services/decision-models.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f8090a58aa35c587919d3a5a3fb001a78f64840eefa78a2e46da4326f11fa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexTurnDiff (cyclomatic 54, cognitive 66): parseCodexTurnDiff has cyclomatic complexity 54 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ff50dde77c5ed66fb2d8e8300bb0bbcbadff943d2dc1ccbeba1bdab3f59bbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approveActionRequest (cyclomatic 54, cognitive 66): approveActionRequest has cyclomatic complexity 54 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1133dc469cfe6b7a81580bfcdc6b71db8afcbfd06da730694f071f620d382c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 65): (anonymous) has cyclomatic complexity 54 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a041b4077157b10e9a9b7d0c5269bfc4a7eb705393549be242c8da5c9e26c458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConfig (cyclomatic 54, cognitive 63): buildConfig has cyclomatic complexity 54 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"de918c701ee333262c7cdf7f81efe3f45197a446274abb6cb83f5cae84cfb049"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerActivityPresentation (cyclomatic 54, cognitive 62): providerActivityPresentation has cyclomatic complexity 54 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":"ui/src/components/task-chat/task-chat-activity-presentation.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d62f6b974ea32d71323abfafb6f07835174515903f4d3dcb72fe4b4b5ae356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startTurn (cyclomatic 54, cognitive 60): startTurn 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63c9d209b282fe9cd5729b9b709eee1102357077fece20c82ba3ccab80a2ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 59): (anonymous) has cyclomatic complexity 54 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":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5ab23a2abfae8f70747add6f43fa0eaa6a0bc754c1066235bdbdb463819330"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRemoteWorkspaceSource (cyclomatic 54, cognitive 53): resolveRemoteWorkspaceSource has cyclomatic complexity 54 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc27ec4628e3f398a8256e118e1d83c28169aafbecde95d0ee6ff626018ecb65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 52): (anonymous) has cyclomatic complexity 54 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d0432f20c53605f442f7fc205fbb166d1c2237a538683167f62fded9e0650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildClaudeRuntimeConfig (cyclomatic 54, cognitive 51): buildClaudeRuntimeConfig has cyclomatic complexity 54 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2352260732f4efe2103b0ceb0da511545cca65834b910f7f88b43e8cb4cf906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 49): (anonymous) has cyclomatic complexity 54 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88e4c2f518012a33e6ef8bff583be93102e7354ef78476ed71d2921b08b2072"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnvironmentVariableRow (cyclomatic 54, cognitive 48): EnvironmentVariableRow 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":"ui/src/components/environment-variables-editor/Row.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ebf31b3622cfffcadc4ae957992d3ac53fd053dd6ab9c1fe29d9028424c68d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerModelPickerPreview (cyclomatic 54, cognitive 48): ComposerModelPickerPreview 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":"ui/storybook/prototypes/composer-model-picker/ComposerModelPickerPreview.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5508f78161c6946a6e21501cb5e713edae87d164761731be4ad417907cdb78a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 43): (anonymous) has cyclomatic complexity 54 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5042abbb21ecb3497a8679b89129bed9e78122007832ad1ec603cc02fd52d18d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentBulkSettingsSheet (cyclomatic 54, cognitive 43): AgentBulkSettingsSheet has cyclomatic complexity 54 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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4143ed0df4bbb840a0c9d2f3c82db0bca4e9e70281e7a45d6a405279ed239f78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 42): (anonymous) has cyclomatic complexity 54 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e794f014b2fde9e9f056b270cbdb8363a5654cb5ee2efbbaec5e7bbdfbf0ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MuseInvitationController (cyclomatic 54, cognitive 33): MuseInvitationController has cyclomatic complexity 54 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":"ui/src/components/new-agent/ExternalAgentInviteDialog.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab0059a254c2796502f663f6175816e8a17e2d0d7960e9769d1186a85e3826e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeChatCatalogRuns (cyclomatic 54, cognitive 31): gradeChatCatalogRuns has cyclomatic complexity 54 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":"tests/runner-e2e/chat-catalog-run-policy.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd3b8787927ddd63b98cb7aca12e1669f2ff999ffc8ea4958ad19421161c9d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isNewHumanIntentAfterToolRejection (cyclomatic 54, cognitive 17): isNewHumanIntentAfterToolRejection has cyclomatic complexity 54 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":"server/src/services/tool-action-replay-intent.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f0ab1fbfde56c3642712ef2d22a5a01ae7dacd826a89f3d0b047a891222b21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 124): (anonymous) has cyclomatic complexity 53 and cognitive complexity 124; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/parse.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9352a8adaa3716782e5918fc7bd4a849174b3d3a2bd815ab054882d78c08886"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 53, cognitive 112): main has cyclomatic complexity 53 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":"scripts/count-needs-you-views.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de96e0c3abbd379c31cb7079d314fcf4ceea7fe2f9920c39f9a3c67cb6fbba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainConnectorEvents (cyclomatic 53, cognitive 98): drainConnectorEvents has cyclomatic complexity 53 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7d388097d059617d6245b26c6225ae7b2ceab83e05188cb97e81f91d7d35b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 74): (anonymous) has cyclomatic complexity 53 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":"scripts/mcp-fixtures/servers/oauth-refresh-fixture.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c894349d9d3c5ba1f1b17d3a2374694545cc04211a4def34a22f1a5ecb237c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 72): (anonymous) has cyclomatic complexity 53 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":"server/src/__tests__/generic-mcp-connection.test.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a529bded6d705e286a39c74e8f15f2d51e98c09fd49269c5f6771ecc7860a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 71): (anonymous) has cyclomatic complexity 53 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":"server/src/services/workspace-recovery-preparation-proof.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"885eaa2b071d0b8399c8698fa884d3f443a5fe24e98722bbb2912a2125810b1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dedicatedTools (cyclomatic 53, cognitive 67): dedicatedTools has cyclomatic complexity 53 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":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b2bc6b318d602bd50ae192fec81a3e244494b819d54a27f2fd70c82784def7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 67): (anonymous) has cyclomatic complexity 53 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":"server/src/services/workspace-recovery-preparation.test.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"565cc901bce32d02f3b614cac5fa3bdeac78d625c67d4f21665e473964822f5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleChatConfirmation (cyclomatic 53, cognitive 64): handleChatConfirmation has cyclomatic complexity 53 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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c46c95005d1b151fb7598957cb45aaf6f6a632dbb65ba418296a692c0d2b77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #authResponse (cyclomatic 53, cognitive 61): #authResponse has cyclomatic complexity 53 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd4db9b85a27d214b31e58af8a3d27d3c6f6e5dd9c535ec311e8c878fcbac38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAdapterConfig (cyclomatic 53, cognitive 55): buildAdapterConfig has cyclomatic complexity 53 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac91b9a50cf5eb5bd92405f7fb4752a10c71689d0eaff11ba558a681392f77e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnvironmentImageTemplatePanel (cyclomatic 53, cognitive 55): EnvironmentImageTemplatePanel has cyclomatic complexity 53 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"904c81f042ce873726a5f25d31d0aba64d103059822443a18a6199d57f214746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateMigrationPublication (cyclomatic 53, cognitive 54): validateMigrationPublication has cyclomatic complexity 53 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"322a86fc17a276fd49d1cc0bd835d7413ba29feb926c005b9942fabd13253c5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadPhotonAttachment (cyclomatic 53, cognitive 51): downloadPhotonAttachment has cyclomatic complexity 53 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/attachments.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a5255be0f8a28b74d95b4c85d845687140accaf604a63ad20612bcec9992a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCampaignStages (cyclomatic 53, cognitive 49): extractCampaignStages has cyclomatic complexity 53 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":"tests/runner-e2e/chat-campaign-report.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb0fb23a144942f44304351a1db20d80738d5b1eb3f49444cd35842e0e4cb00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectWorkspaceDetail (cyclomatic 53, cognitive 48): ProjectWorkspaceDetail has cyclomatic complexity 53 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":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe9ec36aeb27c589eb7fc47fb7082a0a037521926fddc7a3e70301eb78c8d7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueResolvedInteractionContinuationWakeup (cyclomatic 53, cognitive 47): queueResolvedInteractionContinuationWakeup has cyclomatic complexity 53 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":"server/src/routes/issues.ts"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f198f264e4260353a6c3328a78d5ae0fe4113f9627c0ba86023bb94804743111"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRetainedCatalogReport (cyclomatic 53, cognitive 43): prepareRetainedCatalogReport has cyclomatic complexity 53 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":"tests/runner-e2e/chat-full-catalog-testops-merge.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb1c4c26bd92c4c2e6846e66b446487a5c703b7e189d58ca1d1ddb1b08e8420"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeVaultReference (cyclomatic 53, cognitive 31): gradeVaultReference has cyclomatic complexity 53 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":"tests/runner-e2e/chat-catalog-domains/external-vault-reference.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5637fee4c0447dd630a6d14d17b70969d7bccf8969a9d5ea36b9a9037ac4fb30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRemoteRestart (cyclomatic 53, cognitive 28): gradeRemoteRestart has cyclomatic complexity 53 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":"tests/runner-e2e/everyday-remote-restart.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"609e3c02a8d792f158b19b739f6e8158c3488f6c1f395df091dd422b004d5d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWorkspaceRepositories (cyclomatic 53, cognitive 18): gradeWorkspaceRepositories has cyclomatic complexity 53 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repositories.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6556214cc6966cd44a87bea6af01ca5bf8175ff9b5ce589134f9c4f4ecea7640"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 52, cognitive 99): testEnvironment has cyclomatic complexity 52 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e705dce61a1b0c4ab0fce8010821f3a5dea767e6d6f0559a303cea9b262f783e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eligible (cyclomatic 52, cognitive 95): eligible has cyclomatic complexity 52 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":"server/src/services/attention-retention.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf8c66b20d1467dc516a6247c8177490db4184ca5513574bc2dc50c11b67373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFirstTaskFlow (cyclomatic 52, cognitive 92): runFirstTaskFlow has cyclomatic complexity 52 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":"tests/runner-e2e/first-task-flow.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1233769e0e8618790f7dc23fc2261e9c5921325a21a411addb283865b3898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performNativeCancellation (cyclomatic 52, cognitive 80): performNativeCancellation has cyclomatic complexity 52 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9769}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dc38204b150b3a26c2a6bbd8cb5ea25cae5cc49402c07e2e419bbfa90a9110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyStatement (cyclomatic 52, cognitive 71): classifyStatement 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/db/src/migration-compatibility.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b894550722a617378cb568a80f9b157ed1cf1adaab50afc298b9fc65a3a00400"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestToolActionCard (cyclomatic 52, cognitive 64): RequestToolActionCard has cyclomatic complexity 52 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb185deed0bba2161d76641c06263ac8ce08a2aa162ad0e37b74c9e4dcea761f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 62): (anonymous) has cyclomatic complexity 52 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":"server/src/services/connectors/slack/test-message.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c402eef435ef9e65dd64c6e34efc12b91db8952be408f8bda4c22784131d55b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIdleCapabilities (cyclomatic 52, cognitive 58): parseIdleCapabilities has cyclomatic complexity 52 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":"server/src/services/idle-incoming-wake-capability.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"766924a12a7c9b149f969b36b66f316b9f8abd2998b9bd110f3d8ba7c4533b6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 56): (anonymous) has cyclomatic complexity 52 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":"server/src/services/documents.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c785f799bf58c333a93635ce79596c6009cb8058e2e5b45f81b29d2eba80eed9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeFailedRunRetryStateIsSafe (cyclomatic 52, cognitive 54): nativeFailedRunRetryStateIsSafe has cyclomatic complexity 52 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"0035041132e5b4f3bb5a820ba66e2a4066503efee9a197a81bfcb68fd78074ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideLowTrustAccess (cyclomatic 52, cognitive 53): decideLowTrustAccess has cyclomatic complexity 52 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":"server/src/services/authorization.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f5f92a7b52bcc3ea2f393d8de43a90e471f43a4518a1a5fbd06643f59d0edc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStrandedAssignedIssueEscalation (cyclomatic 52, cognitive 52): applyStrandedAssignedIssueEscalation has cyclomatic complexity 52 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f7677a8a50c19218736796f0fa1c07b777eef0da52784bdd5c007be05c69a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 50): (anonymous) has cyclomatic complexity 52 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":"tests/runner-e2e/eval-otlp-relay.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bcf9ed63dec954eff254e90768ac939beeb514815062f877a3306072abb649"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindTelegramRichAttachment (cyclomatic 52, cognitive 44): bindTelegramRichAttachment has cyclomatic complexity 52 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cbb4b57fcf60881a8b738d3b8952a304b5b9a85f1e1f831ef62503627d6121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DisplayedCodeLoginPanel (cyclomatic 52, cognitive 41): DisplayedCodeLoginPanel has cyclomatic complexity 52 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2540b83e7a6ca8041d77d007ec0c1b3412ceec177dc8faed9d9be6851cf5e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskBrowserPanel (cyclomatic 52, cognitive 40): TaskBrowserPanel has cyclomatic complexity 52 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":"ui/src/components/task-side-panel/TaskBrowserPanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63c3fc66f0b92f3d4a50af56327bf85546f8df8eb8328e2c48262fbd57e4e99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadStalenessFacts (cyclomatic 52, cognitive 38): loadStalenessFacts has cyclomatic complexity 52 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"47118be7bde31f3cba10c41cc69b85882a91f180dd7f0c2750ff7cc3a2f22447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTaskCreationProvenance (cyclomatic 51, cognitive 93): readTaskCreationProvenance has cyclomatic complexity 51 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":"server/src/services/task-creation-provenance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8377a021f7770b1b1884f3ffc5d2016121850200aed9abe2790d5c19a007fcbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function phaseSummary (cyclomatic 51, cognitive 86): phaseSummary has cyclomatic complexity 51 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b6bf9d699e03ddec3f4b1b4433123a67b6647e298bdb9ad8b4ff7aa92aee04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchNativeStatusWakeBatch (cyclomatic 51, cognitive 78): dispatchNativeStatusWakeBatch has cyclomatic complexity 51 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4845a208d59459ee04fc08a5d483307982711739a5369f8275c19751b768fa53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeKimiExecutionTarget (cyclomatic 51, cognitive 77): probeKimiExecutionTarget has cyclomatic complexity 51 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":"server/src/services/kimi-connection-probe.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad203d8f22c04d2f45958df1f405d6c0a33bfb25f095460ed4380e1ee3eb452e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 75): (anonymous) has cyclomatic complexity 51 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":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62863ed2b09951fa50b659c7633c37d3cd1b94e0bcb6dcb34a1b2eada511b3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeManagedProjectWorkspace (cyclomatic 51, cognitive 73): materializeManagedProjectWorkspace has cyclomatic complexity 51 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":"server/src/services/managed-repository-checkout.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc01f0811332054b41ae8d80918e1e5978e2d23ee0dec902008b01baa72fb188"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPiNativeFlow (cyclomatic 51, cognitive 73): runPiNativeFlow has cyclomatic complexity 51 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":"tests/runner-e2e/pi-native-flow.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3518e3696a2caeed16312f52ad100b707264900c9fbdd50ecbb782fa753c265"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 70): (anonymous) has cyclomatic complexity 51 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb390124eb1525d07c6ebcb5d642191a4fcbbf6b2b1554287d2ae1f96884847"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchClaimedIssueMonitor (cyclomatic 51, cognitive 70): dispatchClaimedIssueMonitor has cyclomatic complexity 51 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa06038417800ab5d943135fbb06d63ecd0b03c723a3266588e6ed10d343da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stoppedCodexTurnIsTextOnly (cyclomatic 51, cognitive 69): stoppedCodexTurnIsTextOnly has cyclomatic complexity 51 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":"server/src/services/native-runtime/stopped-codex-turn.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bf1f47d47b1946309774180b60d2a4a236918ad1d5a6d27947f643f2dcfdac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreCaseHandoffActor (cyclomatic 51, cognitive 67): restoreCaseHandoffActor has cyclomatic complexity 51 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":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6914deeeb1e53498d769b522a7f337aa1d56662786afd43c3945f57e075ba00a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 65): (anonymous) has cyclomatic complexity 51 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":"server/src/__tests__/connection-management.integration.test.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef888b9e34d3d9255f2a61edf4a22a354fd78f1fe8804ef694a27a42d27e5ba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRequest (cyclomatic 51, cognitive 64): handleRequest has cyclomatic complexity 51 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec3f7c665d108220dd5c3af389bc143ae5999af29eed99995d623af77344f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePaperclipNativeExecution (cyclomatic 51, cognitive 62): parsePaperclipNativeExecution has cyclomatic complexity 51 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/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df4473828f63bd39f4c2c3096eb5b94fb578cf08dbc73018a952be2c031c453"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createApp (cyclomatic 51, cognitive 59): createApp has cyclomatic complexity 51 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":"server/src/app.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"822faa9d107c263aaf76bffede00389694feef33af18e8286cfda43eafe1ebe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 56): (anonymous) has cyclomatic complexity 51 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":"server/src/services/routines.ts"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"79559efea0300bc558259ba8f009a46d2a70ad3a997124c94ca328b9164e1346"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 56): (anonymous) has cyclomatic complexity 51 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":"tests/runner-e2e/chat-catalog-domains/external-secret-endpoint.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a71a7d3b5b5579297e531970fedbd765fdf3816f1eac6836df3da0c6c25e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateNativeControllerTakeover (cyclomatic 51, cognitive 53): evaluateNativeControllerTakeover has cyclomatic complexity 51 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a9fd0d941471cee163b3b5aa82ef7030f7e33871c90d7ca2b9c8f98593fe90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 51): (anonymous) has cyclomatic complexity 51 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83705cf69568059239e5b095c85d260742a00256e135509312649031d76e9b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OpenClawGatewayConfigFields (cyclomatic 51, cognitive 50): OpenClawGatewayConfigFields has cyclomatic complexity 51 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":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f9dd37dee4b323edcdc95280dc7bca0f2d9a0fb0b4367f0dd8e582f46d908e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 51, cognitive 47): main has cyclomatic complexity 51 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repositories-auth-worker.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7519b0e0a5e6cd0b9f35355873200a8ddfba61dc5d21009c88721facc190143a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 46): (anonymous) has cyclomatic complexity 51 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3150b4af43f33bf4370b3d3beba6ff5bffc2ff8057418436a955b82c6eeda74a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Layout (cyclomatic 51, cognitive 45): Layout has cyclomatic complexity 51 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c25fd2abeaeb8ee0f64f8812a0f2c8e845cee4ee246a6d068c00a0659a8f54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInspectionQuery (cyclomatic 51, cognitive 44): parseInspectionQuery has cyclomatic complexity 51 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/customer-success.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec99c1eb2985b53b6747a6bcf5c2b31575297155a5bfae17ad02d2a4ae506d93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRoutingFields (cyclomatic 51, cognitive 40): AgentRoutingFields has cyclomatic complexity 51 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":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c16a5b37d5f7c9f2e54ca892181194f5569157b4d018bbed121f05c68eb9ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ManagedSlackSetup (cyclomatic 51, cognitive 38): ManagedSlackSetup has cyclomatic complexity 51 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":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0155919b44a1d62c5a6c4114970af674790182aca6c9e852b646c002dc5613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockSource (cyclomatic 51, cognitive 26): lockSource has cyclomatic complexity 51 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":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9ca2f49f4613d1846e3ebc41b83b499c5a762aa0632414236a08b6a5ef20fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeChatgptSetup (cyclomatic 51, cognitive 23): gradeChatgptSetup has cyclomatic complexity 51 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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt-setup.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d392f6b549d7699784b0454e918ebd8224c0187546c7ee5b1de70e00b0e2fb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeConcurrentRestore (cyclomatic 51, cognitive 20): gradeConcurrentRestore has cyclomatic complexity 51 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":"tests/runner-e2e/chat-catalog-domains/internal-restore-concurrency.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23faaf4c663a9d97669c10c1a63d556f10a65e9bf8390bf2afe49e55662889c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDecisionSearch (cyclomatic 51, cognitive 17): gradeDecisionSearch has cyclomatic complexity 51 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":"tests/runner-e2e/chat-catalog-domains/internal-decision-search.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ddc0aeee655cdcf541ca315ba01b3b3f4b814a09d5fc6c3d0cd9986faaf0cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function events (cyclomatic 50, cognitive 75): events has cyclomatic complexity 50 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6f03ab415121e62f37c977dd88c7d8072cfcb1c10ff100b7a6b549b12391e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 50, cognitive 73): execute has cyclomatic complexity 50 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fc16267f3fdf05cfcf92ca950a8b2d2a5f8a1c6d729f7f008a4efc6866013c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 68): (anonymous) has cyclomatic complexity 50 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/plugins/sandbox-providers/daytona/src/file-sync-capacity.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ca2b191c964a1fe92dfb4d4775ce0ab07b54bea267f14547594fc0de0899e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 68): (anonymous) has cyclomatic complexity 50 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":"server/src/services/native-runtime/plugin-runner-eviction.integration.test.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fa8c3bcd6446dfb1cfe2927f9388176e68e7f85a1f8d305182dc91e8643dbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 50, cognitive 66): fetch has cyclomatic complexity 50 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/github-bot-management/fixture-api.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"137856b130e4e92a4df9a62e5c4f7761453c1ea05d0b9fb64359612a7d095baf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMessage (cyclomatic 50, cognitive 64): sendMessage has cyclomatic complexity 50 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"495c62348003ddca9cad853ac93c57466881231847b8fd97a4a5007d373c5989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #connect (cyclomatic 50, cognitive 63): #connect has cyclomatic complexity 50 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":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f11e0b00835c1534b8106b2409599785501f4f6c3e770b081918bbcc58724"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testNativeRunnerAuthentication (cyclomatic 50, cognitive 61): testNativeRunnerAuthentication has cyclomatic complexity 50 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":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2733907597b24cccb288e6354ddaeb2d373fdf1a24ad899d8d71b7706a11c57b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #emitAssistantPart (cyclomatic 50, cognitive 60): #emitAssistantPart has cyclomatic complexity 50 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97dfd745c55242b14fdd9d524e0faa7ef2c4f7bb98ae0898683eec829a05276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 57): (anonymous) has cyclomatic complexity 50 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6d0110d811b1b01f62431eb70d24cf644e51e7938afbd6d83715dd6059596c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leaseEvents (cyclomatic 50, cognitive 57): leaseEvents has cyclomatic complexity 50 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acb2272ba0c6eb16e050cb49501d939d4300c544a6ed8ae70e6454f19701b40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 50, cognitive 55): refresh has cyclomatic complexity 50 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":"server/src/services/skill-sources.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"da67a770dc8d22f858c8fbd1f225769435698446b6c44b70283dab13e52ed4e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleIncomingWakeProof (cyclomatic 50, cognitive 52): readIdleIncomingWakeProof 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":"server/src/services/idle-incoming-wake.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcbd72593477bcae76ba0aa780e45b6ee070db05b7cf2dd86d61c8e1d9cee88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function namedGatewaySessionFromBearer (cyclomatic 50, cognitive 52): namedGatewaySessionFromBearer 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9220}}}],"partialFingerprints":{"codehealthFindingId/v1":"94823900191ea30c0ba7a835fb2b04a826f560de365bc0ea6edd7cf97f0f809f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capture (cyclomatic 50, cognitive 51): capture has cyclomatic complexity 50 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":"server/src/services/native-runtime/native-usage-delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"24422a515bafdebd99ec66f5adbb04eff48a859c54bc55308b3cb94b8b8a28e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubExplicitMentionEvent (cyclomatic 50, cognitive 50): githubExplicitMentionEvent has cyclomatic complexity 50 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":"server/src/services/chat-github-events.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e9d87a9aa5d30f95e28e7b93c90183721704f56cb3f126eb2deb002f44858"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCurrentPublicationReceipt (cyclomatic 50, cognitive 50): hasCurrentPublicationReceipt has cyclomatic complexity 50 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7f31b4a723e63c28b0cf037d13a6330f3e00bd341f6b6c638429da4c1bd198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExecutionReconciliationInScope (cyclomatic 50, cognitive 49): validateExecutionReconciliationInScope has cyclomatic complexity 50 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fb59ea4cd5ee8ff05f8aba6f086a82c09394a90a9758f46e6fc09379f4cf89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 50, cognitive 49): main has cyclomatic complexity 50 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/launch.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ed33eb3e932e156762e455568bf9d1f577e011a80d1090ddf215c4f10c63bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 50, cognitive 46): create has cyclomatic complexity 50 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c4ea57459d9be9e84176bb74cd532f279e87fc1efc398a03c5a19412d2f456"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineDetail (cyclomatic 50, cognitive 46): RoutineDetail has cyclomatic complexity 50 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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed91e18172652384a8b393e56ef0890e63ad6d655bfea09e0c2a0c2dffd5da83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillPane (cyclomatic 50, cognitive 44): SkillPane has cyclomatic complexity 50 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113c4669a45e251b14543f7d7d17b90eeb44aaafc0ab98967a61c26310e82f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillPane (cyclomatic 50, cognitive 44): SkillPane has cyclomatic complexity 50 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adf1bce4334916f438a4630a591538c6ef49f0b27a66ef182bcb59d8ae36bbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppNotConnected (cyclomatic 50, cognitive 44): AppNotConnected has cyclomatic complexity 50 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/AppNotConnected.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de383e62df1f8b5658c5ef98896bbbd6a9c3c73757141bfbb1de8d0d03138a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 43): (anonymous) 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":"server/src/services/run-identity.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9df3c9635a5a301cf42b68ddf080cb9496df3c42289f219800299f1872bd0b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackCloudEnrollmentIntent (cyclomatic 50, cognitive 37): stageSlackCloudEnrollmentIntent has cyclomatic complexity 50 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb5c92edd04224381f6e965069c994c2508912a6be6a8618518fe5e9eac1fd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeActiveSteering (cyclomatic 50, cognitive 35): gradeActiveSteering has cyclomatic complexity 50 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":"tests/runner-e2e/chat-catalog-domains/runtime-active-steering.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd2c72cfd30c78c07d40438997ad7e16515ea1bf51a43d0c8f4b1c5cb55641c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportTestOpsChat (cyclomatic 50, cognitive 32): exportTestOpsChat has cyclomatic complexity 50 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":"tests/runner-e2e/testops-chat-export.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e856e19f4e87fbe0bf2fbcf4f09b7b7d924263d0573e703aeb958f4c7c800ad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAccounting (cyclomatic 50, cognitive 31): gradeAccounting has cyclomatic complexity 50 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":"tests/runner-e2e/accounting-scoring.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df676ae0565a540dcb3e0924b8c27b521a763969b6d527a2c18f4da4b5c191e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 30): (anonymous) has cyclomatic complexity 50 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":"tests/runner-e2e/product-journeys/saved-skill-use-evidence.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c491d1e1aee3d54ba20bc051a6053dd83a436b75d85b83607a50b20b321668b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actionCopy (cyclomatic 50, cognitive 30): actionCopy has cyclomatic complexity 50 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":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef577160b8154f0d795630908ef3b825f19e0c08201474f52ce98af238377e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRemoteCell (cyclomatic 50, cognitive 27): validateRemoteCell has cyclomatic complexity 50 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":"tests/runner-e2e/chat-remote-campaign.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5bb9395550852299e0ad45327485569226b1284371c7346abb3c4c2f02e979"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFailedPreparationSettlement (cyclomatic 50, cognitive 26): readFailedPreparationSettlement has cyclomatic complexity 50 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":"server/src/services/failed-preparation-settlement.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c995e401c650a0d53e96c9e7db3d876f461e2a7d9ca750469e5f6e96493b08d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 49, cognitive 107): testEnvironment has cyclomatic complexity 49 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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f35e13e4d669eef89ccd1ce8a6d98a66fc80ce1f25253605e95603a3854662"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 49, cognitive 91): testEnvironment 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/adapters/pi-local/src/server/test.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9c04c6b636cf91053fadce01b18f4947b71d2d65aeaf17ceff259a7092af42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 87): (anonymous) has cyclomatic complexity 49 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":"server/src/__tests__/helpers/slack-cloud/enabled-quiet-host.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d162a3885d5c0e73b57e76cfe883f18d402665cbd623588e1367642d9f101ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCredentialHeadersUnrecorded (cyclomatic 49, cognitive 87): resolveCredentialHeadersUnrecorded has cyclomatic complexity 49 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7525b18ae3aaff79ea993931dd107e86c07322a4f31a6c299a7df5d001e74d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAssistantPartsFromTranscript (cyclomatic 49, cognitive 85): buildAssistantPartsFromTranscript has cyclomatic complexity 49 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"10029b8fdddad87bbd04b97a4ebba0ac456e5cf212dab9d5104850fdd90639c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareNativeWorkspaceSync (cyclomatic 49, cognitive 80): prepareNativeWorkspaceSync has cyclomatic complexity 49 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee114a02dc633299e4e7a8253059b5bc9102f5e3316c58a53bfdb17a444b6bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 75): (anonymous) has cyclomatic complexity 49 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22252}}}],"partialFingerprints":{"codehealthFindingId/v1":"165228905dbf73606bf8cb3b72f573f81ad6f0b8b90598565179cb80b72ebde6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildChatQuestionFormModal (cyclomatic 49, cognitive 72): buildChatQuestionFormModal has cyclomatic complexity 49 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5feeb9aedc53442f9a96e731c5288f426c7868a31763f0442e2585e0d447da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectRerunArtifacts (cyclomatic 49, cognitive 72): selectRerunArtifacts has cyclomatic complexity 49 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/select-rerun-artifacts.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a3be4627206646344a499acd7e426c761a5b3a05c74e0eb8c22ce8704f670c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeDeferredExecutionReceipts (cyclomatic 49, cognitive 69): resumeDeferredExecutionReceipts has cyclomatic complexity 49 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a2628219fb56d8e4b67089426d2d784472a6efeee6f75cf0e96a162dc99c44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 62): (anonymous) has cyclomatic complexity 49 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":"server/src/routes/agents.ts"},"region":{"startLine":4671}}}],"partialFingerprints":{"codehealthFindingId/v1":"a497768453db679d22a3cf0d4352ba9dd3c7bbf47744b811583502438debf2dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 57): (anonymous) has cyclomatic complexity 49 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcccfa89b46dde601acff122481a1e4f261bc0fc846ec032eedc80960c5fc56f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeSessionFailureSourceCode (cyclomatic 49, cognitive 55): nativeSessionFailureSourceCode has cyclomatic complexity 49 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9051}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ee640d3969108219599642318454f9ec416d1b97d6bf7b478d3916d7cf589c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertImportedSkills (cyclomatic 49, cognitive 52): upsertImportedSkills 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":"server/src/services/company-skills.ts"},"region":{"startLine":6391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1676ec4746ec7ddda3e348d7164fc2ef5c4996274c97cdf2b640d35eee83d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeNativeRunnerEnvironment (cyclomatic 49, cognitive 49): probeNativeRunnerEnvironment has cyclomatic complexity 49 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"695b333e8274144e184e5e88d81a9cac6d6dade97df0c72f2693355ec6fdf346"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistTaskMutation (cyclomatic 49, cognitive 49): persistTaskMutation has cyclomatic complexity 49 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":"server/src/services/chat-channels.ts"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e824c7948f8caf6e46cf579bab8b98c63e5a9647bd0e1bec7a8eedac1c6d0d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectOnlineOrdinarySource (cyclomatic 49, cognitive 49): inspectOnlineOrdinarySource has cyclomatic complexity 49 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"702576cfc7967e90786a1f707fb6cd7627498df4378631892f0eda2f2b638532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEvalOperationsReport (cyclomatic 49, cognitive 49): validateEvalOperationsReport has cyclomatic complexity 49 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":"tests/runner-e2e/operations-report.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"196daaeccc0ff642a8af5514cbc9365f3ee2c5198242b5d2e956e008e8f77e0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function release (cyclomatic 49, cognitive 48): release has cyclomatic complexity 49 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e649799842fb03f4a8a399f01406980a885eb88011e593274a1e1bef20f36a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelDropdown (cyclomatic 49, cognitive 47): ModelDropdown has cyclomatic complexity 49 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":4072}}}],"partialFingerprints":{"codehealthFindingId/v1":"591d0171d889c81b082b2e18c9e20022e68a83f76309afc74d59decd7fcc9bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanyAccess (cyclomatic 49, cognitive 46): CompanyAccess has cyclomatic complexity 49 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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"093907c65db0191a1d8cd5f5697dddfc3e8e2926dc4bbd45f2e2eef559d198d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginSettings (cyclomatic 49, cognitive 46): PluginSettings has cyclomatic complexity 49 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cabd7e6de27363a49b0910e4f23bfcf428313e48acb947e0f4fabd02d048b85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrgChart (cyclomatic 49, cognitive 45): OrgChart has cyclomatic complexity 49 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0857a8f4bf773cdf26744f2f446d7443a44bee8f154296ebf8ff69a7507f577c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateNativeReviewAssignmentFacts (cyclomatic 49, cognitive 44): validateNativeReviewAssignmentFacts has cyclomatic complexity 49 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e1cf086b4f6dba14990165d8d0755bdca77dba70362a11cc52f4ded3b18466"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskDependencyResume (cyclomatic 49, cognitive 36): taskDependencyResume has cyclomatic complexity 49 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":"tests/runner-e2e/product-journeys/task-dependency-resume.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51db8960f3ef3246cc727f49ada14a8a790534d62c1f45a773b01e3a3d9d947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isStoredCoreState (cyclomatic 49, cognitive 33): isStoredCoreState has cyclomatic complexity 49 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d8e8b7ee6b3bb2c120490dd6e93f525bd7994fba91a3389c0b3218bbdf7064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSnapshot (cyclomatic 49, cognitive 29): readSnapshot has cyclomatic complexity 49 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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38feb7024e2287b3f4db2fed9f105b856b5a4b15192a7a088ce404403df2471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackFormSubmission (cyclomatic 49, cognitive 28): stageSlackFormSubmission has cyclomatic complexity 49 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c7f8cd259d95da830266ffdda51e26607b27dbeae5b5635154e85fa760afdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDelegatedCreation (cyclomatic 49, cognitive 28): gradeDelegatedCreation has cyclomatic complexity 49 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":"tests/runner-e2e/chat-catalog-domains/internal-task-creation.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d1ea8afc40d7f4e382ba03d482efd36caf0f90272a5106606e4b672385ba4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeRequestEntry (cyclomatic 49, cognitive 28): runtimeRequestEntry has cyclomatic complexity 49 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"712df2d900a8bd9b81d8e12435af490a20f4c48b19cc2a07a20ab01295735f22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acknowledgedNativeApiStopExecutionHasStopped (cyclomatic 49, cognitive 21): acknowledgedNativeApiStopExecutionHasStopped has cyclomatic complexity 49 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":"server/src/services/acknowledged-native-stop.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6cb73e1a3289f5021ebf3fff087829ef71d96f7cd7252ac8557b115ff5ebba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeStdoutLine (cyclomatic 48, cognitive 112): parseClaudeStdoutLine has cyclomatic complexity 48 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/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2841b0932b537e8fe0f6dea46df9c3b7b25e261c006f14cd72e05d6d804bd33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueThreadInteractionSummary (cyclomatic 48, cognitive 88): buildIssueThreadInteractionSummary has cyclomatic complexity 48 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":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb0383fda1b86a539950e27d40ac0b4d4c6aeae7955b4f22368de1ebbf66d1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreGitWorkspaceContents (cyclomatic 48, cognitive 85): restoreGitWorkspaceContents has cyclomatic complexity 48 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab017e83485865e0ac07a7134b81a5824d2032d9b82d8b4536eebfadcdaba544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 74): (anonymous) has cyclomatic complexity 48 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/paperclip-runner/src/drivers/acpx/cursor-mode.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28181f9179ddfce77200af0688cadd923872881d1b3d47022dda669b40f0d77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 48, cognitive 65): fetch 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":"ui/storybook/prototypes/AiConnectorPages.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f1b387ecf328dc6599a058452a629390f6df7419621a691edef95b4cfa1a8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalProviderEventsFromAcpxRuntimeEvent (cyclomatic 48, cognitive 64): canonicalProviderEventsFromAcpxRuntimeEvent has cyclomatic complexity 48 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef3eda0d31c7694f781c3ca14366d0307542e7cd71ee5afbd27840a6764e5a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawnRunner (cyclomatic 48, cognitive 57): spawnRunner has cyclomatic complexity 48 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4956}}}],"partialFingerprints":{"codehealthFindingId/v1":"20208bf0cc76361d6acea6cc737b2f384249d7e311f15ff0936d2654bcee7f76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWebhook (cyclomatic 48, cognitive 56): handleWebhook has cyclomatic complexity 48 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":"server/src/services/chat-channels.ts"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d5c81e837f41d906071499d823723fff930dd1e793afeeb2eb63d021fbdcf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 56): (anonymous) has cyclomatic complexity 48 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":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da415b69a12e5cc7bfefdba3d01adc41315be3e05ab89ed61096dd80576021f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatSystemMessage (cyclomatic 48, cognitive 52): IssueChatSystemMessage has cyclomatic complexity 48 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a17cddd7e13933d99c83bb4fec4735ecb5fd977593a7456949d22248698d7e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSecretValueInternal (cyclomatic 48, cognitive 50): resolveSecretValueInternal has cyclomatic complexity 48 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":"server/src/services/secrets.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada260ca13f6f32872a629d08cbcdd90498ee47ff1783a46b0818d53720e179f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCodexCodexTracer (cyclomatic 48, cognitive 48): runCodexCodexTracer has cyclomatic complexity 48 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d19a0f0d56f4db161bfd1f00bb42e82baa469d96c8cf5646e4dfb80ab3e44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInitialize (cyclomatic 48, cognitive 47): handleInitialize has cyclomatic complexity 48 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b99f6c2f3a14d429c5e59286e042a5060902c7d9768520c4e31e55ec8cf03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestConfirmationCard (cyclomatic 48, cognitive 46): RequestConfirmationCard has cyclomatic complexity 48 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bf0c712ac1b3770e86853fcecede4f20e9696824e1be7f02542a54ddd08ee6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 45): (anonymous) has cyclomatic complexity 48 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22b4c6cf064b5e7dc109f94d266dd600a636948fdd4722398c075b86862267a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyCloudControlAssertion (cyclomatic 48, cognitive 45): verifyCloudControlAssertion has cyclomatic complexity 48 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a3055ccd7d776072be8c20f8910a1cadef63dd1b154ee329cb3af84d128cfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importAdapterValues (cyclomatic 48, cognitive 43): importAdapterValues has cyclomatic complexity 48 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f41e89d7ce8d25912f017841d85bbac6fc68a574a5f50d59c0a537f3b31a55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfirmationActionRow (cyclomatic 48, cognitive 42): ConfirmationActionRow has cyclomatic complexity 48 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc9ba264ef8f76c924d1192c2b0c72410069630cd2f8034456f9d43d150840"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveCursorCloudSessionCheckpoint (cyclomatic 48, cognitive 39): archiveCursorCloudSessionCheckpoint 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"20111da8e28c03aa762fd5e232632a2b296012ff6908711dead329b6acf03d2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackFormSession (cyclomatic 48, cognitive 38): stageSlackFormSession has cyclomatic complexity 48 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9531fcc18aaaa8e02b6d2fa537a177b47c097c62e65d256af855a32aaa0da24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectGitWorktreeBranchIncoherence (cyclomatic 48, cognitive 37): inspectGitWorktreeBranchIncoherence 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaa512cb08ad0a3bb389be84007ae1cafaf8ff595a44ddefc43f909724a3b7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCopilotSessionEvent (cyclomatic 48, cognitive 32): normalizeCopilotSessionEvent has cyclomatic complexity 48 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/paperclip-runner/src/drivers/acpx/copilot-events.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb64d8fffa5ea997fe528720c10a02b0f49ee4991d827905e3e25e007eae7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleMcpClientMirror (cyclomatic 48, cognitive 32): readIdleMcpClientMirror has cyclomatic complexity 48 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":"server/src/services/public-mcp/idle-client-mirror.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa567e145d422d9484ab74e210267998dfcef274028bf0cb2b2e0ff1798cef9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotionExpired (cyclomatic 48, cognitive 32): gradeNotionExpired has cyclomatic complexity 48 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":"tests/runner-e2e/chat-catalog-domains/external-notion-expired.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50c2c8b9c535a8d038c167e5efe4fdcc7ad45ed5db582f530595d094f9c4a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pendingCopilotContextPermission (cyclomatic 48, cognitive 29): pendingCopilotContextPermission has cyclomatic complexity 48 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":"tests/runner-e2e/copilot-context-permission.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6ebac47247fb6981021dab1f4b12c21db34a0f54dee496249e9371b0db73ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQueueEdit (cyclomatic 48, cognitive 24): gradeQueueEdit has cyclomatic complexity 48 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":"tests/runner-e2e/chat-catalog-domains/runtime-queue-controls.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff19aea066c5831d85cf189276bc4a1727a996a234716d8ce3cf9e749c7dbbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companySecretConfirmationHandoff (cyclomatic 48, cognitive 22): companySecretConfirmationHandoff has cyclomatic complexity 48 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret-confirmation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a9c060d930a868175365e1d25641222d9819a954d06c9f56f0e76f996647de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 69): (anonymous) has cyclomatic complexity 47 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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"72399bc1148d125d543ad47b87f431435090f81af39a579cd86ce88f2d1cfc78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCaseReceiptFlow (cyclomatic 47, cognitive 67): runCaseReceiptFlow has cyclomatic complexity 47 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":"tests/runner-e2e/case-receipt-flow.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46715bae5ce25665fcc347201d29735a098b3822951b7b5db3d20c5798dfe85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 47, cognitive 66): tick has cyclomatic complexity 47 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a5c7ec2e041b3148c8295b55f8ddfc7b02613339cd3b7e4b0232075a3a47f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 47, cognitive 64): submit has cyclomatic complexity 47 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":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e39e30713ab7b983b8d45b0554eda78a7490732a111111f012224a17b3e7f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCursorStdoutLine (cyclomatic 47, cognitive 63): parseCursorStdoutLine has cyclomatic complexity 47 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":"packages/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6437dc1c8dbd07499ea30231155e1bcc3a1090c52d827c8456f2fee2dd89bc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchTransientSlackSearch (cyclomatic 47, cognitive 63): fetchTransientSlackSearch has cyclomatic complexity 47 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":"server/src/services/connectors/slack-native-search.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7e2bf746155d939403708f466b7877179a398102a16749dbf88a04d9219f26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runReleaseDrain (cyclomatic 47, cognitive 62): runReleaseDrain has cyclomatic complexity 47 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c238872b2678a1bf9f57de724c725f93ef24d7b37133ea21103a8c6a4cdc22b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePersistedGitWorkspaceSource (cyclomatic 47, cognitive 62): resolvePersistedGitWorkspaceSource has cyclomatic complexity 47 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":"server/src/services/persisted-workspace-source.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105ad8a20e928097e87d2126b8b85105e67dc713d9b43ac9e3665f9338690f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 47, cognitive 62): fetch has cyclomatic complexity 47 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":"tests/speko-native/stub-provider.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"752fc25875f02f31092f56633f40ee9e051193fc677386efb803896af7538bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAgentHire (cyclomatic 47, cognitive 60): handleAgentHire 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":"server/src/routes/agents.ts"},"region":{"startLine":4483}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01987c48af509f72f749a8ab9648c5beaa7812923f2885fa8564036acab6201"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyQualifiedAcpxInstallation (cyclomatic 47, cognitive 59): verifyQualifiedAcpxInstallation 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":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"e507f65d57b4a263452c84b175cb906982dc1d2979a8d338ae73665e2fb8271b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 59): (anonymous) 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd3f63c55773e1c46490ed941ee406f861abb52b22c8b22756cdaf702e0ed6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 56): (anonymous) has cyclomatic complexity 47 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":"server/src/services/environments.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e71abb203c5518732647a98bb7def684557e0365ac96e118eac2f2d88851f87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resultPreview (cyclomatic 47, cognitive 56): resultPreview has cyclomatic complexity 47 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a7f34c60d0efafa39b6d780f11b836affaf9aef12b1d4e4bc748073621bc7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 47, cognitive 55): run has cyclomatic complexity 47 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":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"df131258bc3f103e03b87b251f5c1b6f8eba52e9cd39ee70b74f19b916aafcf7"}},{"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":"server/src/services/chat-channels/slack/form-idle-history.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5912f4ae003ed3496f9d7ee452eb7cb41806fd8d168fea8609723c0e2c230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubPublicAttachmentsFromMessage (cyclomatic 47, cognitive 53): githubPublicAttachmentsFromMessage 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c25009c755d1541bce2692433ce0b715601bfb620feb1a692fff05314b153f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRunnerProviderLaunch (cyclomatic 47, cognitive 52): createRunnerProviderLaunch has cyclomatic complexity 47 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"579ec490e27e34b5018e7cc43a1a8ed95b5976d591c04f3a3bf64f171a662345"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFastResponseProvider (cyclomatic 47, cognitive 51): runFastResponseProvider has cyclomatic complexity 47 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":"server/src/services/fast-response-provider.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df822dad218b9654a984bd95eeecb4c79596f53be93fd5207c2e0985e4c2046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshCurrentCard (cyclomatic 47, cognitive 51): refreshCurrentCard has cyclomatic complexity 47 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":"server/src/services/status-cards.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ee0f194d87a052b03d43c08d7e97e3f47e090063a94147a2da5b64b84354b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supportedJpeg (cyclomatic 47, cognitive 49): supportedJpeg has cyclomatic complexity 47 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":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"634e6fdf585cb4e4d97a08c67f4c0f16160e8db9ace087591a704d2285bd41df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 46): (anonymous) has cyclomatic complexity 47 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/app-definition.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2dfeb107b3ae8c588accbc1030a8454c34878e4b82ccfba1b3f7e1d0f35e54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubCurrentOmissionPreparedText (cyclomatic 47, cognitive 44): githubCurrentOmissionPreparedText has cyclomatic complexity 47 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f69cd60fcc9bc56d3036489edecd2af701537cdd4b5c2a7e124d6084f317f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatProtocolActivityRow (cyclomatic 47, cognitive 43): TaskChatProtocolActivityRow has cyclomatic complexity 47 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9491f1e65ed13c0829452488df0d4cc30f85425b8c5e65661cc28d795d82e988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHeartbeatSession (cyclomatic 47, cognitive 42): prepareHeartbeatSession has cyclomatic complexity 47 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5f1eaf3ea9de6d68b78c903fcf6a671c87b26452917c80269e7c17fde52e39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionCard (cyclomatic 47, cognitive 42): DecisionCard has cyclomatic complexity 47 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6c58f41ecbb598ee32c7795e449c50a9615d9d977494e3b7d53157c7267d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderInboxIssue (cyclomatic 47, cognitive 41): renderInboxIssue has cyclomatic complexity 47 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab39a716965531db2f7b218b64f7566c657628159b7c74ea93a0c49895ee1f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRestartRequest (cyclomatic 47, cognitive 40): readRestartRequest has cyclomatic complexity 47 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":"tests/runner-e2e/server-restart-request.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0225f025f0758ae46aefb66b8920ad1cd28e3d06765ee0ca40b0dde9571f595b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionSetupFlow (cyclomatic 47, cognitive 40): ConnectionSetupFlow has cyclomatic complexity 47 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22df031573f2447078535897b1bc6ccab5bbe0c21d627e3bba3423c879abb1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TeamCatalog (cyclomatic 47, cognitive 40): TeamCatalog has cyclomatic complexity 47 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff835d93696bf38e61851f80ebf96b5035d29407c71474cc3ac880b3b6b1caa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferUnstartedUserComment (cyclomatic 47, cognitive 39): deferUnstartedUserComment has cyclomatic complexity 47 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b6e54e23eed6ffda5b744b1afa3d7bda3a19ab11fdf671c2ef23adf6dd2f62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runGitHubReviewFlow (cyclomatic 47, cognitive 36): runGitHubReviewFlow has cyclomatic complexity 47 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":"tests/runner-e2e/github-review-flow.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"869e1e44c7d6eb1b35a7a1758d92e4aa7e50c43fc09f188427d787b632262dfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarNavItem (cyclomatic 47, cognitive 36): SidebarNavItem has cyclomatic complexity 47 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":"ui/src/components/SidebarNavItem.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ab4815277024de5b78c327039a767f21b249feda214e464ead2d52630a72f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishNativeTaskSessionInTransaction (cyclomatic 47, cognitive 35): publishNativeTaskSessionInTransaction has cyclomatic complexity 47 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":"server/src/services/native-runtime/native-task-session-publication.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8295e81db0281f31955769f35b55b7f503f8acb590801941a5fecc6a3fe51c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 47, cognitive 33): read has cyclomatic complexity 47 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76d75b27d5a1ba6f8ed8b53fecbb1ebba1690af2c529eb87a454f3ae22e5ecb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runReleaseRecoveryTail (cyclomatic 47, cognitive 29): runReleaseRecoveryTail has cyclomatic complexity 47 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"931ae6c924a736a15a48441ac401e1024aef48e9f60d965e78f5046304440680"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCaseExecutionContext (cyclomatic 47, cognitive 25): getCaseExecutionContext has cyclomatic complexity 47 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":"server/src/services/case-context.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b02242a3ef3ca4bead74e70e202909096392f335d60b1cdc0a23bda0dec3ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeEditOwnership (cyclomatic 47, cognitive 23): gradeEditOwnership has cyclomatic complexity 47 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":"tests/runner-e2e/chat-catalog-domains/internal-edit-ownership.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f5a1a407036d90bbb366fd26b55025c303a07a7fe6062031f551d697f4e5b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQuestionResume (cyclomatic 47, cognitive 20): gradeQuestionResume has cyclomatic complexity 47 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":"tests/runner-e2e/question-resume-scoring.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8927930e7ed3417052040b06989e0ec561a80ec76d4109dbf7d4909eff7ee4d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeGuestTask (cyclomatic 47, cognitive 18): authorizeGuestTask has cyclomatic complexity 47 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ede695a518b44abda51cd85f721bf993f5e06d95d15b046b35c666379d8726"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedActivitySummary (cyclomatic 46, cognitive 93): completedActivitySummary has cyclomatic complexity 46 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":"ui/src/components/task-chat/completed-activity-summary.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff71976a0685896c32cc4f67cbb4c38f2484f4d5c561f7e37d45d25f2b504152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 89): (anonymous) has cyclomatic complexity 46 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6569b57290220c5b812f05998108aeb4bb9a04c4c985f96e5cad64fb1a586f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 73): (anonymous) has cyclomatic complexity 46 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":"server/src/__tests__/helpers/maintenance/server-child.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"391b151ec501620e27a6b952df6d6408fb8ab9f51cdbf91adf2a6850329aa995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateProtocolEvalCampaign (cyclomatic 46, cognitive 70): aggregateProtocolEvalCampaign has cyclomatic complexity 46 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51dfab4bdddfab18739cd03e0e68aab89bb4fd28b2b6769a723669478695837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeBuiltinTool (cyclomatic 46, cognitive 65): executeBuiltinTool has cyclomatic complexity 46 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74958015aef3e182afa693cfc5e51805b1c3d5315b6aeb3de1749728dfcea4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentation (cyclomatic 46, cognitive 63): presentation has cyclomatic complexity 46 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0601fcc8cfdd9c7a50f154e0ee3679908049c2aec94a6f8934dbf2a65e62f5b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeOAuthAccess (cyclomatic 46, cognitive 56): finalizeOAuthAccess has cyclomatic complexity 46 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":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dd4ec994fc9b4e06fcc14eac58bee30819ce768d0c9d11d462c267e9b70110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 46, cognitive 55): prepare has cyclomatic complexity 46 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc1a87c51a24f520102b73784a069f43b00306b397788382b49783fec338e2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visibleEvent (cyclomatic 46, cognitive 54): visibleEvent has cyclomatic complexity 46 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":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ced3e926f62c9b8425f452acbcfa4da5014de05fbcf2423f7d3cfad6409022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentActionButtons (cyclomatic 46, cognitive 53): AgentActionButtons has cyclomatic complexity 46 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":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"88716ad10153d41c92fb904f4232f093318a109b796dc0615bfec0e09e94a2f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileDiscordCommandRegistration (cyclomatic 46, cognitive 51): reconcileDiscordCommandRegistration has cyclomatic complexity 46 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3c35f5e75453b79680c2dfa7ce2344e7711195f9a712dc259c69ede3b8aa76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 51): (anonymous) has cyclomatic complexity 46 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8154a0eafbdc26f84e4c6b13bab5b836997ae6f316b634dcf80b33989f39dc67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 51): (anonymous) has cyclomatic complexity 46 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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5499fb7b3bca5a3bd1a0794fb25067b1652a7a02d1a9b9e69ae57225cc472e49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveTeamsFileTransferAuthority (cyclomatic 46, cognitive 50): deriveTeamsFileTransferAuthority has cyclomatic complexity 46 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b1b8b93ca71bba53e64ba5792f2abf558d54c3ee76a6d75d8819b45de0e080"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeExecutionBilling (cyclomatic 46, cognitive 49): summarizeExecutionBilling has cyclomatic complexity 46 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":"tests/runner-e2e/billing.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"153989136b8d28bb54950ee943f0576147da7bb1d647a808fc84f7bf579d27b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionSetup (cyclomatic 46, cognitive 48): ConnectionSetup has cyclomatic complexity 46 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eae113d75cab211b8c0e8c890e61cf053a5dc729887d7529c4f03c602eec38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 46, cognitive 47): constructor has cyclomatic complexity 46 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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a437d6f4cd41e48f22ec952ba7adbb60fffda0bfe5b59b4ca0273c7e93270071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePreparedRunnerLaunch (cyclomatic 46, cognitive 46): validatePreparedRunnerLaunch has cyclomatic complexity 46 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6507416e5d9ac1ab16977f0ec60220949da4a4ca942712e17c4baa3ed4a0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCursorToolEvidence (cyclomatic 46, cognitive 43): readCursorToolEvidence has cyclomatic complexity 46 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/cursor-native-evidence.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf418145126439a998187ea14dbdd2d38ac601dd86850fef3149f6775a97623"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleTerminalConfirmationAction (cyclomatic 46, cognitive 37): settleTerminalConfirmationAction has cyclomatic complexity 46 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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"77452873199c38fd2621732bb8928656b6899a751eb2264bf8caa7d8a3a2b077"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 36): (anonymous) has cyclomatic complexity 46 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":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0228464d447365a712c0bfdf8035a3c77bd1f1bf9c1d6dc5607218ee13648c3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueDocumentAnnotations (cyclomatic 46, cognitive 36): IssueDocumentAnnotations has cyclomatic complexity 46 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":"ui/src/components/IssueDocumentAnnotations.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8583b4a267617954a4788cb3dc9ba8e92c01eba673856e3c95ecc65560e528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVerifiedWorkspaceFile (cyclomatic 46, cognitive 35): readVerifiedWorkspaceFile has cyclomatic complexity 46 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf243e1543cd3b4e231f7979e3ba2c4ec59304009fed8008f34b4b44fc34a29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorRoutines (cyclomatic 46, cognitive 32): gradeIntegratorRoutines has cyclomatic complexity 46 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":"tests/runner-e2e/chat-catalog-domains/integrator-routines.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf59e0439dfaad97d0428c3fd2a8581455dc1e2771c8f95f26e070a3c8554b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRemoteWarmSessionRecovery (cyclomatic 46, cognitive 29): inspectRemoteWarmSessionRecovery has cyclomatic complexity 46 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":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a1c21b1c9dba142929d138f74624f8c26f78b656b8aab6ea9dfa0453a90ce2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncFiles (cyclomatic 45, cognitive 101): syncFiles has cyclomatic complexity 45 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/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15837a4cc6c7c578308a575f3be711b286a6fa8e083581016c88a3911b2bcec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 45, cognitive 84): execute has cyclomatic complexity 45 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":"server/src/services/daytona.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"08540b8de81552f2ae20d075e4db530350d0e499158fb7f1f7c2830e02aec4f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 45, cognitive 74): observe 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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf551f4b568c358c9181535744e88c7b362d0b386327d898d4b1d74e1fac119f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleServerRequestBody (cyclomatic 45, cognitive 67): handleServerRequestBody has cyclomatic complexity 45 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":"packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a5c029638caa6d9000594f614d8cee73589f992cf318b59becae3a3c2c344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeConfigTask (cyclomatic 45, cognitive 67): gradeConfigTask has cyclomatic complexity 45 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":"tests/restart-chaos/config-faults.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6d83a74e0e002476716d09edde61da826033989b144a7fbdbd7f1dbd6d3e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 45, cognitive 66): run 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":"tests/runner-e2e/chat-completion-testops-cli.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d0e4ba7a53f5284e039036314f235f4a18660093957e6908bd1938b45366d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeConnectionMethodConfig (cyclomatic 45, cognitive 64): normalizeConnectionMethodConfig has cyclomatic complexity 45 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":"server/src/services/tool-access/connection-methods.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9db634ba0110e23547384a4f289b64afc2408a6e26696197af5b330e6fdf18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateField (cyclomatic 45, cognitive 64): validateField has cyclomatic complexity 45 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2619aee1f966ea6017828b031624304d27916c85eccf9cdcc17c5f2c38123e8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 61): (anonymous) has cyclomatic complexity 45 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":17000}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7ae6169b61ce00f66fa39b5bc0e9c2c22711869ed95d765b135fa4d5b227c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueue (cyclomatic 45, cognitive 60): enqueue 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8652bd23bb4ba942e630838bdf9da98c9cce2d21d338fe14b43fe1604d1096d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 59): (anonymous) has cyclomatic complexity 45 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":"server/src/__tests__/connection-management.integration.test.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a550c587c4cc654c1a037f47c5eb467272833cf0fae21e7edc72d6c73120da7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repositoryFileInputs (cyclomatic 45, cognitive 57): repositoryFileInputs has cyclomatic complexity 45 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/repository-file-inputs.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb061be3d99d6e28f593ca06a89cdc6e7f19ac08e2231a50803706418dc3bed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 45, cognitive 57): run has cyclomatic complexity 45 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":"tests/runner-e2e/chat-feature-testops-cli.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f2fad57e8a93e94df08101e8257035f2aa2254726d748fac5967352234043f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 56): (anonymous) has cyclomatic complexity 45 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4530}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4dc21a59fc29157ffd994adcbe27e93b2ffe1b4c9c4d89a45c9b23e99d5657"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 53): (anonymous) has cyclomatic complexity 45 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":"server/src/services/budgets.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd303746edfe33b0e6e46617efbf3f49e2aedd0dd110f605e215c181d87b3cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAcpxRuntimeSandbox (cyclomatic 45, cognitive 51): prepareAcpxRuntimeSandbox has cyclomatic complexity 45 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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0784c9c68ca96e0d40b9fe0f10b0df1e6b344cddb449ae95f584b4b89f86de55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 51): (anonymous) has cyclomatic complexity 45 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":"server/src/routes/plugins.ts"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"824214178bce2c84151c0b1053cff99e3a4b4e49aa57a1310cfc4bd5f59f5717"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canActorReadAssetContent (cyclomatic 45, cognitive 46): canActorReadAssetContent has cyclomatic complexity 45 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":"server/src/services/asset-content-access.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db69b71705d1f512748d1c8653fb30fc184f6e7847e3def5a3fca933401f5c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestCheckboxConfirmationCard (cyclomatic 45, cognitive 46): RequestCheckboxConfirmationCard has cyclomatic complexity 45 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1616a9a963bf3b9f6453bde534c034c92c9ecd4b7ed5dedf1429d6c594ba38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 44): (anonymous) has cyclomatic complexity 45 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":13851}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a18cda8aec86dd587004a3a8095a61a75b504e906f14b8a7c72806ed087af6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 43): (anonymous) has cyclomatic complexity 45 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileTree.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe2ae0fcef0ded69d584fa84c04105f5eff0dc3a179674a0fed4ce34386b70c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareEvalObservabilityRuntime (cyclomatic 45, cognitive 42): prepareEvalObservabilityRuntime has cyclomatic complexity 45 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-observability-runtime.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320d3f2b28f5e464157c09fe5ec8581e6956cff9c6adbae88497cfd5f109470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueArtifactFile (cyclomatic 45, cognitive 42): IssueArtifactFile has cyclomatic complexity 45 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4eae61c5b69fdf7e9341df00acb76a0aa2fd1dff6dafc6cbc522a9a589746d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderItem (cyclomatic 45, cognitive 42): renderItem has cyclomatic complexity 45 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b73fa0cd2b79d79203fa7f6d92b6ed793ffb4bdbdeb84a68c86b4b2718426f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTransportBackedNativeSessionBackend (cyclomatic 45, cognitive 40): createTransportBackedNativeSessionBackend has cyclomatic complexity 45 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/codex-native-backend.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5161215a61f5c2acbcc347fa7d03a9c307f98894d2ac9c12240151f01730351e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockIssueExecutionClaim (cyclomatic 45, cognitive 40): lockIssueExecutionClaim has cyclomatic complexity 45 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"1371c70db2ddcd2b42c376d3e57f1243123099dd82e973e27a03dcc9c6920283"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 40): (anonymous) has cyclomatic complexity 45 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/subscriptions.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7317d23c1e6d2a56d652c7b8d1956cab700785a00442fa32a9e2908a71d75f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #captureTurnUsage (cyclomatic 45, cognitive 39): #captureTurnUsage has cyclomatic complexity 45 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"72987e4f92d3c69d099e1664c3e42aad86ac39e2c5e631959bfbcfcc3baf3d06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CloudAccessGate (cyclomatic 45, cognitive 39): CloudAccessGate has cyclomatic complexity 45 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":"ui/src/components/CloudAccessGate.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92f48f52bf9d3a83c09ed873b96d19c8fed983004f274338773315f515a5f8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackFormOperation (cyclomatic 45, cognitive 37): slackFormOperation 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"229201b5e99542dad25e0443bb79a0bcef51b474dbed9710c3140803f1644ca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TeamInstallerDialog (cyclomatic 45, cognitive 37): TeamInstallerDialog 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"4016cd8b313e5b5894448a4abf6b57fe97bd75ec117c611c8e1dcf9ba2a6d587"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRemoteWorkspaceStorageCheckpoint (cyclomatic 45, cognitive 33): readRemoteWorkspaceStorageCheckpoint 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":"tests/runner-e2e/remote-workspace-storage.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ec124782f302bd18f6faeb8ca0ca093a65ed0c80a154c5bc1f1e441462cc6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentChatsContent (cyclomatic 45, cognitive 30): AgentChatsContent has cyclomatic complexity 45 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":"ui/src/pages/AgentChats.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd61252cb8a15867acba731de3512e5b4608b41b53d49372d8fb58c3c44d190"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reusableDirectoryAfterPreparationFailure (cyclomatic 45, cognitive 25): reusableDirectoryAfterPreparationFailure has cyclomatic complexity 45 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"937a09523c788aebe3c7ce060b620815351a36e76c01c5681032b3c1a5bb7ae1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRuntimeAgents (cyclomatic 45, cognitive 23): gradeRuntimeAgents has cyclomatic complexity 45 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":"tests/runner-e2e/chat-catalog-domains/runtime-agents.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f329976e6c8de1bb380aa43f9ea8ad92960acdbdcc466bf254f639616e1a2da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewPresentationEvidence (cyclomatic 45, cognitive 20): reviewPresentationEvidence has cyclomatic complexity 45 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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87879b829c215cf2ad5ee3c3085c2ec83b84eb01daa56aa1343b1ded290dec5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePiFileEvidence (cyclomatic 45, cognitive 15): gradePiFileEvidence has cyclomatic complexity 45 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":"tests/runner-e2e/pi-file-evidence.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb4f746bc0eb29803c2a77fa217a18a582a37aa1a8cb141c60b4c5fae69ce8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 105): (anonymous) has cyclomatic complexity 44 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-staged-handoff.test.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e106de5e9f8f78c5b7d98ab0c3811cf1c808302d98a2d4bb4d3d3e9c0bd3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedVariedFixture (cyclomatic 44, cognitive 94): seedVariedFixture has cyclomatic complexity 44 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":"server/src/services/fresh-continuation-schedule-queries.test.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"58598915eeb436b5c2b4ddee41afe221c199308cafa36d317a167a2897121d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 44, cognitive 87): testEnvironment has cyclomatic complexity 44 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/adapters/kimi-local/src/server/test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ebb05ccc2284f65d6ea2fbc0475345459172dc44f54b8dba1165dc3f707699"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyEvidenceRef (cyclomatic 44, cognitive 73): classifyEvidenceRef has cyclomatic complexity 44 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1157fbe8a1ef735aa3d3994873ac95d0b707a6e35c73644e123a09b09d676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 72): (anonymous) has cyclomatic complexity 44 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d111ff5e2a050a9d08e887a18f4e0fc659b1e25f09ac22954da822045a052ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 44, cognitive 71): visit has cyclomatic complexity 44 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe3f2828434a8e5468b21a3f478a007aab5750ee0c2cd17dbdeae10155b8bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activatePlugin (cyclomatic 44, cognitive 69): activatePlugin has cyclomatic complexity 44 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"867f9cb20538197b00ce85e9d9b29be5bd37a988b769ab5f10e32db1a9a6152d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #pumpTurn (cyclomatic 44, cognitive 67): #pumpTurn has cyclomatic complexity 44 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":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0295c448a71f9c98601df10cb062c2c05a8ba20844c996ec1f237dcf0c3d8b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInventories (cyclomatic 44, cognitive 62): validateInventories has cyclomatic complexity 44 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/paperclip-runner/scripts/lib/capability-inventory.mjs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c15843edadeee2c94e821193e5eecfb33831ea6c280fbf7f73972ecf1598a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 62): (anonymous) has cyclomatic complexity 44 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":"server/src/routes/public-mcp.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14616c37e3f4a3003ca73490071f0d2e76206446e2905e7dd1e5b75306cdb35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 60): (anonymous) has cyclomatic complexity 44 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":"server/src/services/fast-responses.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e7ac14aa226a46c2171184257056050117c0c781be5b9f172c80a065efebf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentExecutionsHaveStopped (cyclomatic 44, cognitive 58): agentExecutionsHaveStopped has cyclomatic complexity 44 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":"server/src/services/agent-execution-stop.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bfa36e84e53884fc5965787b853e6e9fd31adf5809dbc41205a2237122df43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManagedAgentBinding (cyclomatic 44, cognitive 57): validateManagedAgentBinding has cyclomatic complexity 44 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":"server/src/routes/agents.ts"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8669c72fa7f454c2cf5687bebc40bbe7fa48e904b38e4b3c7e9569a0d367f141"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateUnlocked (cyclomatic 44, cognitive 54): rotateUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae1103b4eb1116cc30aec01045622b0e98ef108b58938c3efaac3f015813279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentInteractionDenial (cyclomatic 44, cognitive 53): agentInteractionDenial has cyclomatic complexity 44 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":"server/src/services/agent-interaction-policy.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5355647fabc9f574c3203f474441e87ef351c540395b3eadb146b9cbec015b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callRemoteConnectionProtocol (cyclomatic 44, cognitive 53): callRemoteConnectionProtocol has cyclomatic complexity 44 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5853}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e7b94bfec593970fce7f0ada0e77c49ef3b59d5508e8702cbf423f9f2b9e1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 44, cognitive 51): dispatch has cyclomatic complexity 44 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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ee2c80423a60d9ac2e810874d309d359e9257ed17e35c2e6f3a46c5df36e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #startTurnWork (cyclomatic 44, cognitive 49): #startTurnWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7868}}}],"partialFingerprints":{"codehealthFindingId/v1":"a546c34215dce68a87c53d4511f4d7d6b47c1187b3724f64c3a74569afd6cce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jpeg (cyclomatic 44, cognitive 49): jpeg 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"666cf1e7f1b9fd68b12d8f57f9e59cfe5b2a3fc715e4352996504aee89952429"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSecretUnlocked (cyclomatic 44, cognitive 49): createSecretUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4125654e15b3c85d9a98624def6c783be7127465cc5e46d4c88c1fd89cb66e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSend (cyclomatic 44, cognitive 48): processSend 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":"server/src/services/email-channels.ts"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e76c7d7b27c9d10e0635cbe307720e97b9905e8dfcfaf9347da9d6ae3a6ddc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 47): (anonymous) has cyclomatic complexity 44 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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"311faedf04d8957a403647854e75c8b3ce87fae6992725ed7d59b9d5d7333e7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileDispositionRepair (cyclomatic 44, cognitive 47): reconcileDispositionRepair has cyclomatic complexity 44 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4028}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c9a0e1c8d7fc539de0c22acf0f418fb6200f90d4d869f24518197083a0db60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 47): (anonymous) has cyclomatic complexity 44 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":"server/src/services/tool-action-review.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"86661c7bd1870fee8b1b2797b6aa99339fa25fa93544cad6f1461efda757f236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerActivityItem (cyclomatic 44, cognitive 45): providerActivityItem has cyclomatic complexity 44 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"df179ee49d35b2db5db9b8baf90921ada6a21b7e3a6fcd180c16474bafc6740e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 43): (anonymous) has cyclomatic complexity 44 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0c0cca6273b06b01c50bd617547aa9f57184fa6f95fd28c957bd828799c19e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendTelegramCallbackNotice (cyclomatic 44, cognitive 42): sendTelegramCallbackNotice 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":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"624f403c8535617021a2fabf352c871b7b94e6e7b9f5e7e8a4daa694e91220fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createInStore (cyclomatic 44, cognitive 42): createInStore 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":"server/src/services/decisions.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d7b150fe71b85f9fa71ca774123e9513c35436a3f1bf5096573a99854a586b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadChatCatalogImplementation (cyclomatic 44, cognitive 42): loadChatCatalogImplementation 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":"tests/runner-e2e/chat-catalog-registry.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabfad475d4c50bd42d1bae09fb33afcdf9c73815f8d6a01e16892d83677d3c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusCardTile (cyclomatic 44, cognitive 42): StatusCardTile 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":"ui/src/pages/StatusCards/StatusCardTile.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"593c09c39a8659f878c94ba2a645c72c411f80b5a3f6fd6a8e3d8035536ff577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillImportProgress (cyclomatic 44, cognitive 42): SkillImportProgress 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":"ui/src/pages/skills/SkillImportProgress.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db6dabeb050587641380c83f0c0c39c2f477ce519023ba678b1e355e8eda044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectedReviewReadThenReply (cyclomatic 44, cognitive 41): selectedReviewReadThenReply has cyclomatic complexity 44 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-reply.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c018f654835234ef4322af6e2779fca6e8e21496d8786cf0af56fec976f177dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeInstalledCodexStartup (cyclomatic 44, cognitive 41): probeInstalledCodexStartup has cyclomatic complexity 44 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":"tests/runner-e2e/installed-cli.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa45c388c6a1d634a8eee0954e1d75aecf0de2e86b679bcf7979423fe8f1bb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callWorkspaceProvider (cyclomatic 44, cognitive 40): callWorkspaceProvider has cyclomatic complexity 44 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":"server/src/services/plugin-workspace-preparation.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0633af23a137fae2b8886584ea4140fd061c0f264e4a95f092910ac38a336f1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 39): (anonymous) 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1bafdb82479def49793ead0fe22272534fa3fd9f2f5d714f0089a2c20ed6a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExternalChatResponseWaitAuthorizationInTransaction (cyclomatic 44, cognitive 39): resolveExternalChatResponseWaitAuthorizationInTransaction 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9f1428c4a18568bcabbfa90224d8dd1c3b601bffd6eef1d8779a387246905e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecretBindingPicker (cyclomatic 44, cognitive 38): SecretBindingPicker has cyclomatic complexity 44 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SecretBindingPicker.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2680a5176237532a94d7617ed5ba3478d44cdbad494bdb51c3c66103ce06a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidePanelTab (cyclomatic 44, cognitive 38): SidePanelTab has cyclomatic complexity 44 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/side-panel/SidePanelTab.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"060e7081bb870bb74055ab09b9deeaf891b2ec4e2bf7fbc2647cff6364962610"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 36): (anonymous) has cyclomatic complexity 44 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e59300af2aa8141536df4e4b325ba1eb09f98e6ad1fa21a232f0835bbfd9881"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BulkEditor (cyclomatic 44, cognitive 35): BulkEditor has cyclomatic complexity 44 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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c34f2604cc08459cd851e27929b39736fadd04d7ac9e21fcded4f68aaa9ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteWorkspaceReplacementEvidence (cyclomatic 44, cognitive 34): remoteWorkspaceReplacementEvidence has cyclomatic complexity 44 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10a3b3bed755b64660978006681768fafc3b95e42d0728514ff1cbd4dc8d82c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebindNativeSessionCheckpoint (cyclomatic 44, cognitive 31): rebindNativeSessionCheckpoint has cyclomatic complexity 44 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":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f830dab7a5463d5bbc164f1c6c724e5d7fc233f7078489027da1b9d17ffa55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectFallback (cyclomatic 44, cognitive 30): inspectFallback 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d83dd2505ae6c61cf127cfe0f8f6f4f3d89d0707c0e9e776ba94765f279ed7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeRemoteRestartBoundary (cyclomatic 44, cognitive 26): observeRemoteRestartBoundary has cyclomatic complexity 44 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":"tests/runner-e2e/everyday-remote-restart.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54b74ef1703b6b1bf21231253226762fe26f7fb8cad418b723c507ee46c903a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveSlackCloudEvent (cyclomatic 44, cognitive 25): receiveSlackCloudEvent has cyclomatic complexity 44 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":"server/src/services/chat-channels/slack/cloud-event.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bd7e3da724639e72f13091be5f0e1835d3c88cc8bfcfb52469c646f544b596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKimiContextProof (cyclomatic 44, cognitive 20): readKimiContextProof has cyclomatic complexity 44 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":"tests/runner-e2e/kimi-context-rendezvous.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fbd5a050155b3bd03c23615a275f06f83b79195f80fa7a46e1274cee093212"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 44, cognitive 19): evaluate has cyclomatic complexity 44 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":"tests/runner-e2e/hiring-template-turn-accounting.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d014ab3a4c73327def77fdd8bf57bc0cf060e721b3efba8b46176e9a6c7c9ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function origin (cyclomatic 44, cognitive 17): origin has cyclomatic complexity 44 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":"tests/runner-e2e/pi-controls-evidence.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e9b74f395810b553bba4df331a48bcd92119df7234436f7b3a401bee9ea92e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function existingDurableReceipt (cyclomatic 44, cognitive 16): existingDurableReceipt has cyclomatic complexity 44 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4708f29f0ccf4d3077789db146714b9cfca90bc2a7d0afce745815db9fc8bf9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorCaseHandoff (cyclomatic 44, cognitive 16): gradeIntegratorCaseHandoff has cyclomatic complexity 44 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":"tests/runner-e2e/chat-catalog-domains/integrator-case-handoff.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7ac394cbcfc149c597a405803f6d26309c792cb2187ff878a014bfa0d0e102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorRoutineWebhook (cyclomatic 44, cognitive 9): gradeIntegratorRoutineWebhook has cyclomatic complexity 44 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":"tests/runner-e2e/chat-catalog-domains/integrator-routine-webhook.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"282178d47d7047f6f68398a1e7269ad66752142617f5efdc49ae3741f2abf4df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchProviderDailyCosts (cyclomatic 43, cognitive 84): fetchProviderDailyCosts has cyclomatic complexity 43 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":"server/src/services/provider-billing-import.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"879eb00ad11c2897effdf15d631a276f33d6157321a03364b618000e50564cbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readContent (cyclomatic 43, cognitive 80): readContent has cyclomatic complexity 43 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeb516b544d299eb367519b83c8dce7f109e7d6c8027cdcf28c78cee11eef8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFinalAdapterOverrides (cyclomatic 43, cognitive 78): buildFinalAdapterOverrides has cyclomatic complexity 43 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d73b471c4f89e33942b4b83dbc79d32eca172391708e1d635cce1bad589a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 69): (anonymous) has cyclomatic complexity 43 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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee6d5f2c0f32bcdf78e3e90a31d5437756227bf87d10c0e9f9eac86290219bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScopedCompanion (cyclomatic 43, cognitive 64): runScopedCompanion has cyclomatic complexity 43 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-assistant-model.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44199f9a840dd7b2ea893f5a8cd3cb6f64dd5a48a7dd4f665c100aaee04db54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fieldFor (cyclomatic 43, cognitive 63): fieldFor has cyclomatic complexity 43 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8250ceea8e1cb99a2b2a3b6140db4de469513076d3e2e66a4884ca6702c2181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAdapterTestExecutionContext (cyclomatic 43, cognitive 62): resolveAdapterTestExecutionContext has cyclomatic complexity 43 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-environment-test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e0e0b82f8f68d9bb6400a7b1dd1df64fc70cd9015bb43c59b63a0e92b3f1d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileResolvedDependencyWakeBackstop (cyclomatic 43, cognitive 61): reconcileResolvedDependencyWakeBackstop has cyclomatic complexity 43 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6068}}}],"partialFingerprints":{"codehealthFindingId/v1":"4447e7de8178c9102e6c884d512ca00036e855e8ff40eee42109576cea162542"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 60): (anonymous) has cyclomatic complexity 43 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":"server/src/services/email-channels.ts"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5f41bba6874ef01cadfba33523b49447e63fc4aed55eedb7be16f17646297d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 59): (anonymous) 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":"server/src/services/issues.ts"},"region":{"startLine":11266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0746d022be80ccfb0961207630f8602634dee9969ca6dcb7db5a2bffea9afe34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 59): (anonymous) 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9c1f4860c51262af0843501fa5162a0b478d34c31d600bfac472cb8fa1b44a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processReceiptReactionWithCredentialLease (cyclomatic 43, cognitive 58): processReceiptReactionWithCredentialLease has cyclomatic complexity 43 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":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12dafba18f29801b28fac7735dc2841ace5dd34326912ecea7d3ebdb5aadea6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkRunnerImageLayout (cyclomatic 43, cognitive 57): checkRunnerImageLayout 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":"scripts/runner-image-layout.mjs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5f3930483ea2e83d07a4a340d7b0d87f6d2cdccff75a1a92d4459fdb32444f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findAvailableToolConnection (cyclomatic 43, cognitive 54): findAvailableToolConnection has cyclomatic complexity 43 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":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca84327509f74099fca538b3152561c461ee138572543a88486b39d288ed9ac9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluatePolicyConditions (cyclomatic 43, cognitive 54): evaluatePolicyConditions has cyclomatic complexity 43 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb09ce8a3e82d02436cf811e0dd0007847ffedeb450d8231cb30d6179c1b3a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 54): (anonymous) has cyclomatic complexity 43 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ee5104d8788c226383356348eff836e96c69201ee855c0da32529116ad2d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onCommittedEvent (cyclomatic 43, cognitive 52): onCommittedEvent has cyclomatic complexity 43 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23eb4e42b80f7c6fe7bd4ffdbb769fb6d168925f114e4409fe672939fe205eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCopy (cyclomatic 43, cognitive 49): prepareCopy has cyclomatic complexity 43 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6cf04f131568762d1f9d132d2a6597b13c248af0bd371946767a29d64e9a75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collect (cyclomatic 43, cognitive 48): collect has cyclomatic complexity 43 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":"scripts/smoke/muse-qualification.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af5d4f2eb87e0ae5ded86fb5316b8bc4dc9cb7dd9141897bdaaaad4a9ad2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshOAuthCredentials (cyclomatic 43, cognitive 48): refreshOAuthCredentials has cyclomatic complexity 43 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":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e412f63aaf937461a646ad70a855ae6a9ea52410f3e3b317a9be047a9cd57a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitComment (cyclomatic 43, cognitive 48): submitComment has cyclomatic complexity 43 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e94e38ddc675d2ca9f02667edf9b22d8789ebe5e996e95ebcb20c7ff5339917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function triggerArmedAt (cyclomatic 43, cognitive 47): triggerArmedAt has cyclomatic complexity 43 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eeb09dc25312ad04fdf7c76aad719de5d27590f4867fa2e170de82c74c8f00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installFromCatalog (cyclomatic 43, cognitive 46): installFromCatalog has cyclomatic complexity 43 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":"server/src/services/company-skills.ts"},"region":{"startLine":5803}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb961eb8deb832d7163ee0e93c9461e208437bd92f156a4e80599b768762bee6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeTestCall (cyclomatic 43, cognitive 45): executeTestCall has cyclomatic complexity 43 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11772}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d965e0a78a1d64930dad45b7005c61e863ec9df24be69c5a724587ba6a670c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 43, cognitive 44): refresh has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-flow.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8936f0a27581d7be8fa5325b156a9c9def879a5cc67125871d8a7003dd0162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 42): (anonymous) has cyclomatic complexity 43 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/paperclip-runner/src/control-plane/durable-prp-control-plane.test.ts"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"60adfa393d9c4ea74ca762f39efbb9c3ae17fb8388b5d62d5181b56fb8447297"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9863}}}],"partialFingerprints":{"codehealthFindingId/v1":"358ca38b10562567801d217ddc45aae04bb0d40d9fa3029c9a93bcca05d54c51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailTaskExperience (cyclomatic 43, cognitive 41): EmailTaskExperience 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":"ui/storybook/stories/chat-channels/agentmail.stories.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6674589491b71e0d924bbe5fab1126d77ca03cecdd014e12d6e2a222d3e3aa74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOwnedDockerInfrastructureHealth (cyclomatic 43, cognitive 40): runOwnedDockerInfrastructureHealth has cyclomatic complexity 43 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/docker-postgres-health.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"421c9cafb0e2426625d9bcda3b55dac94b8d047191a1671fa1c8ccaedf474f6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublicMcpFlow (cyclomatic 43, cognitive 40): runPublicMcpFlow has cyclomatic complexity 43 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/public-mcp-flow.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b56efa56eb8c323ff11c4d24d5ac776b57b2c5a2aefee91d4e4ec0554e9c1a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityRow (cyclomatic 43, cognitive 40): ActivityRow has cyclomatic complexity 43 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ee18da3839fcf65e5052cc89447b4642507ba2b24d0ed4589eb73b3f8e2294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatUserMessage (cyclomatic 43, cognitive 39): IssueChatUserMessage has cyclomatic complexity 43 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"9803bf8c658c2950bec1af243d07f63df4925060bd4e2b65f087538b71ba8008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskUserQuestionsCard (cyclomatic 43, cognitive 37): AskUserQuestionsCard 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"351a156b0196255c158440fef24c909f8c8ccf1cd17e0a43d2ffa535a988f05b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function select (cyclomatic 43, cognitive 35): select has cyclomatic complexity 43 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":"server/src/services/ai-connections.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"830e1aa763d207268dbb1cb879083db2d7a013daf6af3b582c60624bac3dd98e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runIdentityWizardInPrivateBrowser (cyclomatic 43, cognitive 35): runIdentityWizardInPrivateBrowser has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/identity-wizard.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1ce2f9bd34e33f125fed242e63e25ae0107394664a9f2f8ef074cff8e829bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proveRemoteWorkspaceUnchanged (cyclomatic 43, cognitive 33): proveRemoteWorkspaceUnchanged has cyclomatic complexity 43 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":"server/src/services/remote-workspace-unchanged-proof.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c61c90c987a29f874616140aea6300d6ae519024a0c97b37aa7433670bfc89d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function teamsFileSourceBinding (cyclomatic 43, cognitive 30): teamsFileSourceBinding has cyclomatic complexity 43 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":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b342f2a890cdc9cdc0c5c1e2b97a0411155088a013289083b3d20953b92fc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 29): (anonymous) has cyclomatic complexity 43 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":"server/src/services/native-runtime/native-controller-host-recovery.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b844fa89b1f9408a1e1962b5af75f85cca5cf614790b22d6cfc992644aeb66b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeBlocker (cyclomatic 43, cognitive 26): gradeBlocker has cyclomatic complexity 43 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":"tests/runner-e2e/blocker-scoring.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1a4761552418fbb17d7cd2652cba0aab090942e2f3e3c208e8fd1650fb1fea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grade_documents_artifacts (cyclomatic 43, cognitive 25): grade_documents_artifacts has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/internal-documents-artifacts.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f127d16cc54366f0fb6717edd813d5a437ef4b6a1b8c0c53eabe86fee07ce1a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeClaudeAccount (cyclomatic 43, cognitive 25): gradeClaudeAccount has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-account.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6f2079d8d130e18df010f2e08639424ad1491f7cd3d80aa44e77a744950b1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakePayload (cyclomatic 43, cognitive 23): normalizePaperclipWakePayload has cyclomatic complexity 43 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"276926786d0b119fbe1b4ba335800ca027ef4233a708b5b13133aa737e1eb3d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planDecisionSourceComplete (cyclomatic 43, cognitive 23): planDecisionSourceComplete has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/identity-plan-review.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d962fdf3791d0bd28393cc2f3aa8bb3c4a043596c2b04f928d9c3063cfd9f977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeMultipleHandoffs (cyclomatic 43, cognitive 22): gradeMultipleHandoffs has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/runtime-multiple-handoffs.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e722a27eae5e2adba0b490b92bd98e4ac18519357e508b9a69b9476d60bf3a00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorSkillImports (cyclomatic 43, cognitive 20): gradeIntegratorSkillImports has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/integrator-skill-imports.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6f4d41a88298e5fbda394183f6d1312f7f8af76e236fcbe84cd3ef69619e76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTeamInstall (cyclomatic 43, cognitive 19): gradeTeamInstall has cyclomatic complexity 43 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":"tests/runner-e2e/chat-catalog-domains/external-team-install.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"531483fad68ba98cef74698c21eac34714c0e7330933e9ee77427f504f975ccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatVerb (cyclomatic 43, cognitive 12): formatVerb has cyclomatic complexity 43 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FeedCard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a735939c6134b6d2d00cb3d56e3dec42c38f8346e64322a16bc544e9510fdd0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateUnikraftCatalog (cyclomatic 42, cognitive 108): generateUnikraftCatalog has cyclomatic complexity 42 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-unikraft-tools.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"769315671e319a438f79dfb148428835cec1d934a858c5903e51f70cee272a14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process (cyclomatic 42, cognitive 82): process has cyclomatic complexity 42 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/application/worker.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35ac662c1289bfd0e2a62461cd4f69b104d99aa194bfe30ec333a7de372338"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureTaskChat (cyclomatic 42, cognitive 75): captureTaskChat has cyclomatic complexity 42 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":"tests/runner-e2e/task-chat.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae33443c1d4e6a52a87362e91b296d9903179df2d790ce14211d4b3cdf46534"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLocalProcessSandboxSpawnTarget (cyclomatic 42, cognitive 67): buildLocalProcessSandboxSpawnTarget has cyclomatic complexity 42 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":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b642994b2933e9df751bcbdbd3bd0fde7dd1a9dc075b34636adae8884e9068b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readConnectionGrantCredentialStates (cyclomatic 42, cognitive 67): readConnectionGrantCredentialStates has cyclomatic complexity 42 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":"server/src/services/connection-credentials.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b54bc4caf17029d4681a3b70b4450933bb14ff1e20685475b4e2027d2df35da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 66): (anonymous) has cyclomatic complexity 42 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ebc403ad63a8726239ec1b90b69b964dfd2fb1aeaa1a7e729325a2879f54fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 64): (anonymous) 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":"server/src/services/heartbeat/run-control.test.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8730808d00e728d57937456a2f90f318ca09aacf212ed05bef880cc3b0ce0ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateNativeDeliverableEvidence (cyclomatic 42, cognitive 63): validateNativeDeliverableEvidence has cyclomatic complexity 42 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c7228420f854fcafbcadbbe9f113de9e1d5dce9c893e94296d56c5b9807dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 63): (anonymous) has cyclomatic complexity 42 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":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3812b29bd1d0bd307766e18a3caa9b6cc6978acb1727249d4e4e3bea76217b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startAdapterExecutionTargetPaperclipBridge (cyclomatic 42, cognitive 55): startAdapterExecutionTargetPaperclipBridge has cyclomatic complexity 42 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"722ee7b9f65772e2b258efe6e387d12d51e413648bc2bb679cd9d2d00e99e572"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 42, cognitive 53): observe has cyclomatic complexity 42 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":"tests/runner-e2e/product-journeys/hire-delegate-flow.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7433b1f96d163fb332d5b2b281aa0cb3e8eb598c8a93eb0a9435e21c5665a79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyBraintrustIndexing (cyclomatic 42, cognitive 49): verifyBraintrustIndexing has cyclomatic complexity 42 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/braintrust-indexing.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"193bae21d3abc1091ab4db585bc304447a95ca861abd2c295cc04bfccf71f101"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageDetail (cyclomatic 42, cognitive 46): PageDetail 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb1486c11c5991d6e80b862e4b17fbb2f57ff80e8bc0dab1894030b35c99bba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedOriginalLocalSource (cyclomatic 42, cognitive 46): verifiedOriginalLocalSource 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e24d5e4b539e9d13ba93025685678c65e4c053558febf9b28661af58b38e32f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchResultRowImpl (cyclomatic 42, cognitive 46): SearchResultRowImpl 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":"ui/src/components/search/SearchResultRow.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe46cdeafba96a97d24977a01c525a9930ae351c26b988200e791e6226b7bd96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCanonicalAttachmentTargetOrThrow (cyclomatic 42, cognitive 45): resolveCanonicalAttachmentTargetOrThrow has cyclomatic complexity 42 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"0619ecc01311810d481185d4c36e37e1cd182882c0120adf5ba977cd1832a7ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 44): (anonymous) 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":"server/src/__tests__/native-workspace-sync-history.test.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11a282d04fe85a41535fc6fcf46c9b1b041985862e5ceb186c1e067562710fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 44): (anonymous) 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":"server/src/services/projects.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1610f48152b899d97d34e90c896cc75c5ead7d0d7dd144ff2725e48589e5a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActivityToast (cyclomatic 42, cognitive 42): buildActivityToast has cyclomatic complexity 42 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c51bbc4d589b90e48f90f0ca924c9feb415d27f971da80d508d47a887911a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function synchronizeCompletedProviderPlan (cyclomatic 42, cognitive 41): synchronizeCompletedProviderPlan has cyclomatic complexity 42 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf64e703dbd61bfe8845fe6a1466ea9c7278b6afffcb3115c308af4a950de47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateStatus (cyclomatic 42, cognitive 40): updateStatus 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":"server/src/services/company-skills.ts"},"region":{"startLine":4361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f161f85e8cc11db78551561554ec4e043bc56ef8345c2c8cde9dd7613e7ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 42, cognitive 39): list 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":"server/src/services/decision-history.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9379c6643764dcb02afdb3afdce0547274298945e9ec7f7a7dc5c3c919318260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsPage (cyclomatic 42, cognitive 39): SettingsPage 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":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba7c525dee5a6bf2d9be1642a3f4e7863e8d82c0365ddf6ecab6e3178ced0c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureWorktreeSeeded (cyclomatic 42, cognitive 37): ensureWorktreeSeeded has cyclomatic complexity 42 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2470db0b8229a98fa4a1a6ee8bd6c15d9eb0bb0947b7a5b6528a5bb94357b9f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewCase (cyclomatic 42, cognitive 37): PreviewCase has cyclomatic complexity 42 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":"ui/src/components/design-sandbox/DesignSandboxTaskThread.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d97f0d8889f3cd33bac621b5f9f0261158c96e7c68b426404c5694ca20123b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 35): (anonymous) 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":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f6894f0cd53e3ea925786b92fd520b808bae915b24424d0e848deb1db212b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectFinalizedWorkspaceRecoveryHold (cyclomatic 42, cognitive 34): inspectFinalizedWorkspaceRecoveryHold has cyclomatic complexity 42 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":"server/src/services/finalized-workspace-recovery-migration.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b22d329ad765edc1d7e2e0c47d7538e8b1faa6555c0b5f17baf73340f01bf99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OwnSlackAppSetup (cyclomatic 42, cognitive 34): OwnSlackAppSetup has cyclomatic complexity 42 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b195f3f04ffbe93d652126bf826a8077619da559449701b771d0854c6fc48e93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLocalSkill (cyclomatic 42, cognitive 33): createLocalSkill has cyclomatic complexity 42 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4607}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e5afcacb5b2ce8b0be06d9a277ccb31ee93629b0a65bf0fe202f69debe2370"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lateUsageGrowth (cyclomatic 42, cognitive 33): lateUsageGrowth has cyclomatic complexity 42 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/usage-receipts.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"338054f9f707b8a345b916fecbaea14b43e7d06f84647a1ac40889d51198f4a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSelectedVaultServerEnvironment (cyclomatic 42, cognitive 33): readSelectedVaultServerEnvironment has cyclomatic complexity 42 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-vault-private-server.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f382e5aa7e3d145f0b65328ed7e7093a7852cda83871165a9c027db5931615fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 32): (anonymous) has cyclomatic complexity 42 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":"server/src/services/offline-workspace-operation-reconciliation.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7428fbc85ee56f75522ad873d0bc775b1afcf81978317902ab75038e5ba47b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatIdentityConfirm (cyclomatic 42, cognitive 31): ChatIdentityConfirm has cyclomatic complexity 42 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":"ui/src/pages/apps/chat/ChatIdentityConfirm.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6769c11ce1b8c4c4fdd2b246f37324acd1ecc2405fffc091a02fd5e79a2860aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeRequestEntry (cyclomatic 42, cognitive 26): runtimeRequestEntry has cyclomatic complexity 42 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea4f1f81d6dcdd4f03084e154e2f40094c204d3b544ef226eae814e1390ade0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSource (cyclomatic 42, cognitive 24): readSource has cyclomatic complexity 42 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":"server/src/services/native-runtime/native-log-archive-source.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8752e73217b66a35720db5fca7e04eddc452fb4b6195c2b8e6453b42c940bae2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCompanyModel (cyclomatic 42, cognitive 23): gradeCompanyModel has cyclomatic complexity 42 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":"tests/runner-e2e/chat-catalog-domains/identity-company-models.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"47374e82897ca9b9c9c9d9df95e480b8d8bf6529ae85e3c44ec9db4b42596e8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeApprovalQueue (cyclomatic 42, cognitive 23): gradeApprovalQueue has cyclomatic complexity 42 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":"tests/runner-e2e/chat-catalog-domains/runtime-approval-queue.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df835f1563859142d328f2f7dd8d8deac8be7d0ad8b6defdc51be57e36ac477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function personalSecretConfirmationHandoff (cyclomatic 42, cognitive 20): personalSecretConfirmationHandoff has cyclomatic complexity 42 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-confirmation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92407a5ae6dd7d6651f5926acd9b8e17f77a03ee731447aa96acee28cd75b38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTaskWorkspaces (cyclomatic 42, cognitive 19): gradeTaskWorkspaces has cyclomatic complexity 42 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":"tests/runner-e2e/task-workspaces-scoring.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aa32d340bdc6d118a4380bf0799ffa3e53168b3734c2e22a4ab6f14d7fc676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 18): (anonymous) has cyclomatic complexity 42 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":"tests/runner-e2e/chat-catalog-domains/external-app-review.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4651e21188900b7526ae2d25ea193d2ad964169f38a2e1f84a16a5afd29fd6da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotDenialSettlement (cyclomatic 42, cognitive 16): readCopilotDenialSettlement has cyclomatic complexity 42 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":"tests/runner-e2e/copilot-protection-evidence.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"73297ef2d739e7bd05e5ab3512170f3481f06c1bb96d267aa00d8e1b0d4ebadb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPreservedNativeResultFinalization (cyclomatic 42, cognitive 15): readPreservedNativeResultFinalization has cyclomatic complexity 42 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":"server/src/services/native-runtime/preserved-native-result-finalization.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc4ea4213e6aa1f28bf47687359569174255951f50d7432d6812e8b22d4c72c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireNativeFirstAgentProof (cyclomatic 42, cognitive 14): requireNativeFirstAgentProof has cyclomatic complexity 42 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":"tests/runner-e2e/chat-catalog-domains/identity-new-company-native-proof.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77a7ce7979cb28d7c8281a0869b4053e8d1d72a14c7038e065457b724b508eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCopilotAttachedSettlement (cyclomatic 42, cognitive 13): gradeCopilotAttachedSettlement has cyclomatic complexity 42 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/copilot-protection-cases.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0a19857d05581d4fe62a2f00d0f6f70efcc4f8fbe0aee167a38bc5c121ea61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 103): (anonymous) has cyclomatic complexity 41 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":"server/src/__tests__/tool-gateway.test.ts"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b69b4964b9f27894f5bbf555ebc6229a7abf93595a80d80335ad963963aef99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForMcpTask (cyclomatic 41, cognitive 83): waitForMcpTask has cyclomatic complexity 41 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4867c71520ba67f9ac1a1feb2bb7fb2a89c247012ea7ee29e47d2bde5d164f6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 73): (anonymous) has cyclomatic complexity 41 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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae7af8ae37cfe8e770f1986c88c47b3a198332bd57a7d572ae368b3a1b82ef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalNativeInteractionCopy (cyclomatic 41, cognitive 70): terminalNativeInteractionCopy has cyclomatic complexity 41 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8182b6c5bd91c141b8dbf1bd1b20ffb2611e01441f5c07adf5596a14e15faaa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareProjectRepositoryWorkspaces (cyclomatic 41, cognitive 62): prepareProjectRepositoryWorkspaces has cyclomatic complexity 41 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece709afe79c8b3279154e8d6181236838df6c1f4a86404fa0a764315e31fb5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileHotRestartAdoption (cyclomatic 41, cognitive 60): reconcileHotRestartAdoption has cyclomatic complexity 41 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b815dbe3d057c1fa724e2c0edb1aa4994f6fba829fd08a3ea7428ce3432d7759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 59): (anonymous) has cyclomatic complexity 41 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":5245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0c6e9f6b8185da37acf9326220c80bfe2153d83331f2fb122c1f515abe93ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gif (cyclomatic 41, cognitive 58): gif has cyclomatic complexity 41 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcca34c6ef0dfe1989167a0c75a24d224977edf70e03bddd726f252265206735"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 58): (anonymous) has cyclomatic complexity 41 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":"server/src/services/decision-models.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b72a5d6ff4abad69008f85bab0f64237072283557b7c2d28d8b455e3368e700"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 41, cognitive 57): get has cyclomatic complexity 41 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":"tests/runner-e2e/product-journeys/hire-delegate-flow.test.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a353284751e974a28cd3554d8fdf966a9ca2d57a398c81524b2cca9ddec8f54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 51): (anonymous) has cyclomatic complexity 41 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":"server/src/__tests__/helpers/maintenance/s3-boundary.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b4052ca23174ee87aa193ce0b077666ec3c371d5e3780fb8b39274fa4d9654"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeFault (cyclomatic 41, cognitive 51): executeFault has cyclomatic complexity 41 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":"tests/restart-chaos/supervisor.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fcc2d8ce0b8f4f85fd4d43c1f0b5cad807e356a6074ae37d09f0d091462ef8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 41, cognitive 49): main has cyclomatic complexity 41 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/paperclip-runner/scripts/stage-release-runner-binaries.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e25ac7e1630ed4a5cac9b754c96addac23cb3b0b69528525f0d5336c5104d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recovered (cyclomatic 41, cognitive 48): recovered 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":"server/src/services/native-runtime/preserved-native-response-wait.integration.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"701a3b726632f644c51ce2fd0940eb455ac75c9cc52418196433f8978c58bc4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validationErrors (cyclomatic 41, cognitive 47): validationErrors has cyclomatic complexity 41 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":"tests/runner-acceptance/report.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fecef1e2f208d14b8efae57dd189328e41b95649c212f4ad08deab7e1de5469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRetainedNativeSessionCleanup (cyclomatic 41, cognitive 46): inspectRetainedNativeSessionCleanup has cyclomatic complexity 41 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"1721b049f47cf5312896f543f5acba9a24be34c8a368b93ad7be4247d95b2894"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 45): (anonymous) has cyclomatic complexity 41 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":"server/src/services/connectors/slack/setup/customer-owned.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e3097a190c48cc7a7e092dfa0dea32947807aaaea32aca682203b57cec9fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishPhotonPrompt (cyclomatic 41, cognitive 44): publishPhotonPrompt has cyclomatic complexity 41 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1545fb8c254e5726f7d8124e7254b382f8a0dde973f16babc5cb48a28a09de32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 41, cognitive 44): resolve has cyclomatic complexity 41 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a22fac28f8cad7dad475354b0c2504232238affee838a14812451a52324cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 41, cognitive 43): main 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":"scripts/ci-profile/export.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"311427874ae1567c5ceba6b4f95cf04ca7eb1f08de104271bab23bbe3ce17451"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 41, cognitive 43): fetch 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":"ui/storybook/stories/agents/agent-persona-pages.stories.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"67606ee3e770599daf903c6551e236f59ca3bb3b50084409bbdcc925f79f32f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 42): (anonymous) 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":"server/src/services/issues.ts"},"region":{"startLine":14301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8289a2b658cfd20a45f8cd5cd2e3e23003fdf2c828d827a787186764822971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IdentitiesSection (cyclomatic 41, cognitive 42): IdentitiesSection 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d2b2bbf223607f38a9b694020a9874d7545b6908d6db57ffa45b40b24e8a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 41): (anonymous) has cyclomatic complexity 41 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/paperclip-runner/src/drivers/opencode/empty-response.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c3148bebe0224c350e87cf9014a236ba7b4935751a44e4b5d135bd4d85f8c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverPluginRunnerCheckpoint (cyclomatic 41, cognitive 41): recoverPluginRunnerCheckpoint has cyclomatic complexity 41 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5854}}}],"partialFingerprints":{"codehealthFindingId/v1":"4325ddf959f0c59995e74a4ee2254082743fea02ce8a83ad8414812d3a4e11ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 38): (anonymous) has cyclomatic complexity 41 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093d71ed823ebb2df4c6f3d9d7a86d44ff2a9b54ff6cdbf7b84e3c2a91014a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeContextIntegrity (cyclomatic 41, cognitive 38): gradeContextIntegrity has cyclomatic complexity 41 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/context-integrity-scoring.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b415cd9efc805ea11520fa95d1dd4b3fa3ef1fc5790f43a50f9f514f0a061b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEvalOperationsManifest (cyclomatic 41, cognitive 37): validateEvalOperationsManifest has cyclomatic complexity 41 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/operations.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e3bb00ad295c1cad121929452163c1416bbf2a51084bf656fbcdba60e415f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordWatchdogDecision (cyclomatic 41, cognitive 36): recordWatchdogDecision 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":"server/src/modules/active-run-watchdog/application/use-cases.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2943b132d96cef5d3b5213fe9fb8d8ad32e455a26f0163cfb268b44ce48ab027"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RuntimeRequestCard (cyclomatic 41, cognitive 33): RuntimeRequestCard has cyclomatic complexity 41 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4545891774742ee4b80df4fc19dcb04aeea8022393829b45812a61ecf469f5c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCursorNativeUsageReceipt (cyclomatic 41, cognitive 28): parseCursorNativeUsageReceipt has cyclomatic complexity 41 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/paperclip-runner/src/drivers/acpx/cursor-usage-receipt.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92afb25255498930ea49a36e950813f91236d3032231c259063732d8b28fe37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findChatCatalogCase (cyclomatic 41, cognitive 28): findChatCatalogCase has cyclomatic complexity 41 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":"tests/runner-e2e/chat-catalog-registry.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ff555ade48a86072770331c90d86fc216730242e2bd2d379a50a23228491e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrollPrerequisitePerson (cyclomatic 41, cognitive 24): enrollPrerequisitePerson has cyclomatic complexity 41 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":"tests/runner-e2e/chat-catalog-domains/identity-auth.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"16659f881ffe958722f4bd3cc777c6da535187cca8de929c5f29aea0f69b51a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function continueOne (cyclomatic 41, cognitive 23): continueOne has cyclomatic complexity 41 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":"server/src/services/recovery/released-writer-escalation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e47c059c2227f20449738a45d682cd4c5897f743cdb48fee1199dd670d0b20e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDiscard (cyclomatic 41, cognitive 23): gradeDiscard has cyclomatic complexity 41 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":"tests/runner-e2e/chat-catalog-domains/runtime-discard.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d32233ab0ee9a9d9d1fd953d777ae71614a4e144c3d0fa4852141d1c206178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasVerifiedPreparationLog (cyclomatic 41, cognitive 19): hasVerifiedPreparationLog has cyclomatic complexity 41 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":"server/src/services/verified-preparation-log.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb57a04111a2c12176c84e2d4a801407e298a6dd0b033a373a9c216e8a946200"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeBudgetIncident (cyclomatic 41, cognitive 16): gradeBudgetIncident has cyclomatic complexity 41 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":"tests/runner-e2e/chat-catalog-domains/identity-budget-incidents.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c0b0f5384c263cde014e37b32f447d70c3183c2d629ef9721a28ed0292e256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCaseHandoffs (cyclomatic 41, cognitive 10): gradeCaseHandoffs has cyclomatic complexity 41 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/case-handoffs-scoring.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fe8a1002088b9d8384eff8f120bae4e366124859e75c41379fa69258fbd909"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function realizeExecutionWorkspace (cyclomatic 40, cognitive 62): realizeExecutionWorkspace has cyclomatic complexity 40 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f7d042130272cab7eb75687bad178b955feeb15bd4ea75a7fa776db7251ad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateEphemeralServerData (cyclomatic 40, cognitive 57): migrateEphemeralServerData has cyclomatic complexity 40 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":"server/src/maintenance/ephemeral-migration-data.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ee4125f2b613bef12f868f959a84ef4aeb267c77e620579988e1937ecd58e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 54): (anonymous) 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6980}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54642b0d0d5d7d5654dbce269ec6b4c23fd13d49abb083d61ac252348ed01a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectArtifacts (cyclomatic 40, cognitive 54): collectArtifacts 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820b71edb007f7c1fc4f0d505e6bd4bce22c75e7a5cc6db97f647cb89598249"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluate (cyclomatic 40, cognitive 52): evaluate 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":"scripts/ci/repository-file-inputs.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"57806ceecace1edb511990b82ca75d9112666c8bb87eb475a8c3ec979e7b9091"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processTelegramMaintenance (cyclomatic 40, cognitive 52): processTelegramMaintenance 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e65f322a8ad0ac4a5b7e033ef8fb61062de8e6032cba23cf599c294caf1750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 50): (anonymous) has cyclomatic complexity 40 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/paperclip-runner/src/live/runnerd-codex-transport-warm-attachment.test.ts"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a873e2f1e7bd08f43a326eceb67fa133ef50c59e80c1ec2ee9e468c7f74acc49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 50): (anonymous) has cyclomatic complexity 40 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":"server/src/routes/issues.ts"},"region":{"startLine":14142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea8cffa2d33cea76e19c66474ab10895d8f0638143538da781fe0d8b5c7b4fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callLocalStdioMcp (cyclomatic 40, cognitive 49): callLocalStdioMcp has cyclomatic complexity 40 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5502}}}],"partialFingerprints":{"codehealthFindingId/v1":"354a44c7b90696d986a3f2bfda90d23f7d0ae0ce75f986076f95e69d013a930e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectFinishedPerTurnRunnerdOwner (cyclomatic 40, cognitive 48): inspectFinishedPerTurnRunnerdOwner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6056}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db4e77421c3c6d7457edb43ca7e750c4c538f04626bed10d09369b70163cc27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkConnectionHealth (cyclomatic 40, cognitive 48): checkConnectionHealth 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":"server/src/services/tool-access/catalog/health.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b63f5a50ed8ddd9dafcbae4e77703e78127dedd8ecd7b72dd8bd7ea1b141722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTasksDemoRpc (cyclomatic 40, cognitive 47): handleTasksDemoRpc has cyclomatic complexity 40 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/kv-demo-mcp-server/src/tasks/http.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadf585eaea3e71c92cef61fe7574c68445f7d740b4a76107fc04ab53161f823"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCostEventInTransaction (cyclomatic 40, cognitive 47): createCostEventInTransaction has cyclomatic complexity 40 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5b1f9a0456910e62a930b1013fb6b8061ded4cff7cd4250fc30a17c28c711b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 40, cognitive 46): decide 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":"server/src/services/authorization.ts"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cb8f7b3f30dc2fd911bb79e88f5c057b93763a94fc51bf664527e06efa8946"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindNotificationPublicEvents (cyclomatic 40, cognitive 45): bindNotificationPublicEvents has cyclomatic complexity 40 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":"tests/runner-e2e/chat-catalog-domains/internal-notification-events.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacec07bf8614fa754ba05259953467a38d598030308f06d52c4c30df1659bea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 44): (anonymous) has cyclomatic complexity 40 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":"server/src/services/routines.ts"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5538de50df026da1ad20a6bc05fa5945eeb84c0211480a1cf91341675f9b279e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 42): (anonymous) 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":"server/src/services/chat-channels/slack/form-delivery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7284995fbc3c1308b0b7f76e1a8a59f714dea8c6211be3449e9487859e6aeabd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #applyProviderIdentityEvent (cyclomatic 40, cognitive 41): #applyProviderIdentityEvent has cyclomatic complexity 40 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8735}}}],"partialFingerprints":{"codehealthFindingId/v1":"326cd90add036fa119f1930de3996c291389eb04ce9e989160162ffab4071f40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transport (cyclomatic 40, cognitive 41): transport has cyclomatic complexity 40 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":"tests/runner-e2e/experiment-ingestion.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7dcd6595d33332cfb8092827db7e947ea5f0e7ff1b1449001c91564c1f9214"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 40, cognitive 39): main has cyclomatic complexity 40 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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-private-worker.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d3748002ad02555091696c9d9d96a20061645228649b21617345a0ac1ff995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hiringTemplateReadReceipts (cyclomatic 40, cognitive 39): hiringTemplateReadReceipts has cyclomatic complexity 40 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":"tests/runner-e2e/hiring-template-scoring.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91b8347e289b5799dcacaea23600d1815859e41eac6c89d32f232665975ea64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueScheduledRetryCard (cyclomatic 40, cognitive 39): IssueScheduledRetryCard has cyclomatic complexity 40 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":"ui/src/components/IssueScheduledRetryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3799c4b129e74a6201767750176ed2b3feb75f0ce7c288da03e7b548cc3790"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitWakeBehindIssueExecution (cyclomatic 40, cognitive 38): admitWakeBehindIssueExecution has cyclomatic complexity 40 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":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c98cdcbd6320fe7fa619ea41648d02e71a56576a95c3cfb3eefa293c94ad971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySlackReceiptReaction (cyclomatic 40, cognitive 38): applySlackReceiptReaction has cyclomatic complexity 40 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":"server/src/services/chat-slack-receipts.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e78b7a3091874931a4b6dd2a870645e970c17e127ef7f0e9bd51e9df5b88af1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCaseOutcome (cyclomatic 40, cognitive 35): renderCaseOutcome has cyclomatic complexity 40 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/case-outcome.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caea8f428f296e672448a124f513090a706f1bafe60418c56429d1d047a3fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRunnerE2EDashboard (cyclomatic 40, cognitive 35): renderRunnerE2EDashboard has cyclomatic complexity 40 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/dashboard.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef46ba87f2fe01a33411f43dcfb569c4e141b8632af04d9b2e5a5461eb34d424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineListRow (cyclomatic 40, cognitive 35): RoutineListRow has cyclomatic complexity 40 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineList.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00da56fd4bfc12abd92905744067cbbb08631f18902cf1095010d8b66ffe05a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatCompactInteractionCard (cyclomatic 40, cognitive 35): TaskChatCompactInteractionCard has cyclomatic complexity 40 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab616c29b328b8bb09fab272c63d1e3e61916ccad058cea7f3e2cc4f9c7d413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConnectionReview (cyclomatic 40, cognitive 35): AgentConnectionReview has cyclomatic complexity 40 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/AiConnectionsReview.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cb957dcef706bcab4e8bab5626c0af6c5c789e45f2afb2e4ee8c386a7860ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTelegramMediaAttachments (cyclomatic 40, cognitive 33): normalizeTelegramMediaAttachments has cyclomatic complexity 40 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d26494824d52808bf19d4a63c3458c02a26c14adfdabc00da801e79a2ecf676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companySecretQuestionHandoff (cyclomatic 40, cognitive 33): companySecretQuestionHandoff has cyclomatic complexity 40 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f77c598c413a149265ff2b4df3fb728d6bd947afbb1fbb5ae4e58f3854ed482"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSetupHealthCredential (cyclomatic 40, cognitive 31): checkSetupHealthCredential 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":"tests/runner-e2e/chat-setup-credential.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e52ee2eb07358224100922439e06ee781883aa776e84e908107b69a38cb2461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarNavItem (cyclomatic 40, cognitive 31): SidebarNavItem 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":"ui/src/components/SidebarNavItem.production.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"511b1e5b12b00d385208819c625d59f7ddc277197025e6095f2d41c04576f4e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LocalProviderLoginInstructions (cyclomatic 40, cognitive 29): LocalProviderLoginInstructions has cyclomatic complexity 40 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":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72f42acac8b3516e2ebbaa9d6d1ab57082fe05f93a3ff95cd17e99d3f079671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOnboardingArtifact (cyclomatic 40, cognitive 28): validateOnboardingArtifact 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":"tests/runner-e2e/product-journeys/artifact-evidence.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986a1723d655f53814e471b7a2515a77c4ee26efd5a1c10d7de92cc6796c6bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeNativeChatReviewPresentation (cyclomatic 40, cognitive 27): authorizeNativeChatReviewPresentation has cyclomatic complexity 40 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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc4e67b65567fd769f7c7c34499bb0c4caa8fc30ee33f91e64014462cd42a8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNativeSourceCheckpointConsumer (cyclomatic 40, cognitive 24): assertNativeSourceCheckpointConsumer has cyclomatic complexity 40 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":"server/src/services/native-runtime/native-source-recovery-ownership.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7c11be4ee32da6fd959a4ac0af1774393841e77ed094318de943d9bfbe01c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateReconstructedWorkspaceDispatch (cyclomatic 40, cognitive 24): validateReconstructedWorkspaceDispatch has cyclomatic complexity 40 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":"server/src/services/native-runtime/native-workspace-reconstruction.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"206ef1ec33d0e86c755c6fd1e785c76abffde3de32e1cfd19bb009f8f548da50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateGitWorkspaceContents (cyclomatic 40, cognitive 23): validateGitWorkspaceContents 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf51ea271f113bf082a6b1264b7d1a02b6680b8deba23fb0598542e14edeadb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSlackFormFinalizedReceipt (cyclomatic 40, cognitive 22): parseSlackFormFinalizedReceipt has cyclomatic complexity 40 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":"server/src/services/chat-channels/slack/ack-receipt.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"501b4a7a7cdf956c10df855fecafe8a8c2b38aff9eb0e3d08c475ff7c79e7861"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIndependentReview (cyclomatic 40, cognitive 18): gradeIndependentReview has cyclomatic complexity 40 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":"tests/runner-e2e/chat-catalog-domains/runtime-independent-review.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e4feb20c5785af9347a51f9d62ee3b2ef91b9020afafccd2e880aec995c324"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 39, cognitive 104): run has cyclomatic complexity 39 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":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efb07b8fcdf300986058f80e2be15314de548261507b7fc5d9289f738eb15a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureConversationType (cyclomatic 39, cognitive 80): measureConversationType has cyclomatic complexity 39 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":"ui/storybook/support/design-proposals/conversation-type-inventory.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd29a6a94b933d56e21161172c4847642544339f8427a69b234ab6a13b536d7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invokeHeartbeat (cyclomatic 39, cognitive 71): invokeHeartbeat 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":"tests/e2e/signoff-policy.spec.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b98d154b9031ddf648b0e87aa13d95799e603691e11b13662bb8cc7b9c6a89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 64): (anonymous) has cyclomatic complexity 39 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":"server/src/modules/agent-lifecycle/adapters/approvals.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"edee65400b9587fde4d3f5198d78feccfb926b21ab3e96b0faa50ccd0a886ef7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 39, cognitive 64): call has cyclomatic complexity 39 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":"server/src/services/railway.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"851e6711e143d21342b7d2c5ced07433e9fb49ec08d2dad81f70b2db0e4ff2b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 63): (anonymous) has cyclomatic complexity 39 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"55142efba7548704aa4a0ca49fc14611e6452ae71872d501eaad3b1ebc14f7ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLoadedSkillFile (cyclomatic 39, cognitive 55): readLoadedSkillFile has cyclomatic complexity 39 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":"server/src/services/company-skills.ts"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f06849c8976ba80c7847f037abcd782464df4cfe68411bf20a0a247f1a596a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepStaleIssueLocks (cyclomatic 39, cognitive 55): sweepStaleIssueLocks has cyclomatic complexity 39 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6673}}}],"partialFingerprints":{"codehealthFindingId/v1":"6820a056cdcafe5017bd617ae5eaaaf9020c352364c5042f9a1d34093bb84ec2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commentsToTaskChatItems (cyclomatic 39, cognitive 55): commentsToTaskChatItems has cyclomatic complexity 39 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":"ui/src/components/task-chat/task-chat-adapter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f2c757aec762500db87eac668edaf2cb9d0d10c587f163e2a12f51d065fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function catchUp (cyclomatic 39, cognitive 52): catchUp has cyclomatic complexity 39 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":"server/src/services/photon/receiver.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17244b16133f2804a1cd803879523a062ba091a3836c6f6ffe1574c63776440"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 39, cognitive 52): fetch has cyclomatic complexity 39 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":"ui/storybook/stories/chat-channels/agentmail-onboarding.stories.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b5fdf242805a8dadf393cfea6fe74e930bade6ff0198ee24f2267afa868f31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 51): (anonymous) 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":"server/src/routes/agents.ts"},"region":{"startLine":7399}}}],"partialFingerprints":{"codehealthFindingId/v1":"30059c85b2640d2f93877f1901a7b33fb5cc1f1bb80bf02e9f07cde92f8bffa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 39, cognitive 50): start 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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7809c3d110ecf936ee1b00ea23da17ce67c681d91a9c636835480f386413fe53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverSandboxCreations (cyclomatic 39, cognitive 49): recoverSandboxCreations has cyclomatic complexity 39 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":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feba2d1f481900e87c4a5fcaf735e480be3a240d94c198990a0b9f95ce7ecb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileTaskChatRetryReceipts (cyclomatic 39, cognitive 49): reconcileTaskChatRetryReceipts has cyclomatic complexity 39 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":"server/src/services/task-retry.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"719f4d3a85bbb22ca7de2ed7aa61e1996c7e7fedaac80d3e7aae1847f5d2fcfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endpointsFromMetadataUrl (cyclomatic 39, cognitive 48): endpointsFromMetadataUrl has cyclomatic complexity 39 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db8dbea568fde6849bde524025fe96b5c8dc8eb4ffbda49829b696d98512b34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveControllerEvidence (cyclomatic 39, cognitive 46): preserveControllerEvidence 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0266d7baf75edb08c3d67e489ad4bcf9678176996ced2844313cc3072b18e2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyUploadScope (cyclomatic 39, cognitive 46): verifyUploadScope 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"499aac14a634dc448795c007fe1f088c058dedaf8a891e2c6e99f277a2e12ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 44): (anonymous) 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":"server/src/services/status-cards.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"16175caddf1ba417076e06497b5ea7990fe2e26cc2803537ac4c0ec653ec927e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 43): (anonymous) 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":"server/src/routes/agents.ts"},"region":{"startLine":4874}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec2473147130b3dcab25df44bb20ce7b0faad3f2ec0b1d48f285c3cf0a674be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupOptions (cyclomatic 39, cognitive 43): setupOptions 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ab0be491a672c885a737ff90c3196a0653996cb959b302f1ac81710d5b3f7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 42): (anonymous) has cyclomatic complexity 39 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":"server/src/services/ai-connections.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ac2c720907ea3fd7bda538c6229c19eb97577524a83ac9b4e82f8cb85f619c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateRemoteWorkspaceCohort (cyclomatic 39, cognitive 42): migrateRemoteWorkspaceCohort has cyclomatic complexity 39 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff247d525a1276abca5deb664e54d507eb0eee8b6bfee90dcde290413241f1e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setIssueTitle (cyclomatic 39, cognitive 41): setIssueTitle has cyclomatic complexity 39 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-title.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79d553adb0826cd75a74b6ffb899f597d3cc778d140f9ddef3f10cd7e163675"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeNativeProgressFixture (cyclomatic 39, cognitive 39): safeNativeProgressFixture has cyclomatic complexity 39 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":71031}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbc05c927dba74ed07beccd3e0d35133beb7c4836cb9d80a2957afa8acb1659"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 38): (anonymous) 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11121}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ba2110e8d1ef26ef33f8f3a593a3f27f1fcabd8aa96840a3ba3fdb26982777"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 39, cognitive 37): resolve has cyclomatic complexity 39 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":"server/src/services/project-git-authorization.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d984a9fac300017551430edba2e0e325fa7c5fa651bec11dd3d4817c9a9c343e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddConnectionDialog (cyclomatic 39, cognitive 36): AddConnectionDialog 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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c040b26c6ccfb69d32ee83983abd3a51fbaa142fdf01014450020e12469812"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatThread (cyclomatic 39, cognitive 35): IssueChatThread 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5872}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a44cf9fb1f6ecb3ef5e66b560b08f21cdf048182b0fc7ca8ea178e092f57411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoordinatorReviewPanelContent (cyclomatic 39, cognitive 34): CoordinatorReviewPanelContent has cyclomatic complexity 39 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorReviewPanel.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"08932fc79a291f3feb95c03a55196124a5a617300f4b0ee9793e4aad7fdef0cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubAccessEditor (cyclomatic 39, cognitive 34): GitHubAccessEditor has cyclomatic complexity 39 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9941623c6bde2de2f5253564edb7270936b7149b310a6ca45afa11d8ccf0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderConnectionPreview (cyclomatic 39, cognitive 34): ProviderConnectionPreview has cyclomatic complexity 39 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/ProviderConnectionPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e785b46ff56ee00fc8d7d7ca371b553beee7425d465fa7120469f6f9df0f0af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectFlowPreview (cyclomatic 39, cognitive 33): ConnectFlowPreview has cyclomatic complexity 39 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":"ui/src/connect-flow-preview-main.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eff6fc4e8008fc034620ac58e68d3a0de8d8a7fdcd38311cd0eaa5ca126cfc"}},{"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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"decbf177b3cef229d5a329865647cf20d8680075018bfc5c15032ff13d51bf2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityArchiveEntries (cyclomatic 39, cognitive 30): antigravityArchiveEntries 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":"packages/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af564ca5dbd9fb1ad988e656e9e4fb3068900f45eb8702170db9696d20088d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 30): (anonymous) 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":"server/src/services/native-runtime/native-inherited-runner-retry.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1593b87809cd06329915b25c636350fb036e4637f68764e7b801e7fe801df7e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommentCard (cyclomatic 39, cognitive 28): CommentCard has cyclomatic complexity 39 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72f3f18b731eb54fb6a7e40cb0729b93ad903ec77120e07369e0c4933f85d84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindRemoteNativeFixture (cyclomatic 39, cognitive 27): bindRemoteNativeFixture has cyclomatic complexity 39 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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ba3471738f1e39cbd8820f732f724f1b705c3801b3d35a295ffa4e8313d957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNativeStagedAttachmentRecovery (cyclomatic 39, cognitive 25): resolveNativeStagedAttachmentRecovery has cyclomatic complexity 39 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":"server/src/services/native-runtime/native-staged-attachment-recovery.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0773a4ff75da734cccb2347fa8105e35ade509232b2871f3ca2c0b02a0687c88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 23): (anonymous) has cyclomatic complexity 39 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":"server/src/services/native-runtime/native-finalization-upgrade-readiness.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ceb5e3f7e5be835ca02ca5334b60b0bd705933839cd9f47662dec38bc42eda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainedNativeCleanupJournalMatches (cyclomatic 39, cognitive 18): retainedNativeCleanupJournalMatches has cyclomatic complexity 39 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdff3fd27ecc28144498f6ec4d18b157ead1e2837398349739857310087ff48a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEmailPrivateReceipt (cyclomatic 39, cognitive 18): validateEmailPrivateReceipt has cyclomatic complexity 39 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-private.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c03fcd354058997d8981ab3b47674d61d2af7e26ad41373abb2d0ffd833398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSecretProposal (cyclomatic 39, cognitive 16): gradeSecretProposal has cyclomatic complexity 39 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":"tests/runner-e2e/chat-catalog-domains/external-secret-proposal.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f38fb226eb0867e3b5b89cba75b013616f71504b56f24ad358ae9aac08cf2a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 14): (anonymous) has cyclomatic complexity 39 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":"server/src/services/native-runtime/native-source-retention.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"788092cb481d0cc94c67229f33af9feed4981c503da184a0cf7ec7e67a2c0112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeArtifactSearch (cyclomatic 39, cognitive 14): gradeArtifactSearch has cyclomatic complexity 39 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":"tests/runner-e2e/chat-catalog-domains/internal-artifact-search.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13f713d62e299bd9258e6ed8e9bf1449cbb407733e7f98b1c0a5d7d20cd13f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNewCompany (cyclomatic 39, cognitive 12): gradeNewCompany has cyclomatic complexity 39 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-new-company.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"51306d0239fc08ebe892df276fa6823bc2ea4f2a50dd1290fb70894493dd4943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitExecutor (cyclomatic 39, cognitive 11): admitExecutor has cyclomatic complexity 39 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/testops-chat-retained-verification.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae64b826fcc9b111c0279bacc4cec7291b002a412344fc251abe39616667753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityNoLaunchReceipt (cyclomatic 39, cognitive 10): antigravityNoLaunchReceipt has cyclomatic complexity 39 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9518fdabb7994edf5a9e3c2c67f24fc7d7d2a23e6f5740c157baf81d89f975e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotStopAcknowledgement (cyclomatic 39, cognitive 9): readCopilotStopAcknowledgement has cyclomatic complexity 39 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":"tests/runner-e2e/copilot-stop-acknowledgement.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"680e0d93c9f257732b1d9b690e06b6e166a55235764273e3bb29ff2b1862faaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function portableGitSettings (cyclomatic 38, cognitive 78): portableGitSettings has cyclomatic complexity 38 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6105a6af903af2e28188b820a7e8ca66e0cd852337f786531aa44c3cd2db73ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentExecute (cyclomatic 38, cognitive 75): onEnvironmentExecute has cyclomatic complexity 38 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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b1e60eb4048d484985631139964f338d9d3d80e4178142dd2398859b8ff099"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 38, cognitive 64): handler has cyclomatic complexity 38 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":"server/src/routes/muse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a715f1c64ff8ab6ddc01e1cdadc2f8f33ac9104d7a99ad10a69738a1517bf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assemblePaperclipSourceBundle (cyclomatic 38, cognitive 62): assemblePaperclipSourceBundle has cyclomatic complexity 38 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"920a093fd83d26a11b08e7d40a5b54cfa42fd7193befc5f76db7a5244a8253ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeInSession (cyclomatic 38, cognitive 62): executeInSession has cyclomatic complexity 38 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"573652db06ccebc6a09c83d173df953c67e10da8c443e9744ffdc89122045e2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 59): (anonymous) has cyclomatic complexity 38 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":68654}}}],"partialFingerprints":{"codehealthFindingId/v1":"56552d920273bb71aba6bf944c63ca2eb18bb17b7724fc31f40f7c915207b791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function auditInstalledSkillBytes (cyclomatic 38, cognitive 58): auditInstalledSkillBytes has cyclomatic complexity 38 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":"server/src/services/company-skills.ts"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"67160b7e566bb98756a6e19d791de877dfc139a663d36ba4535265fcb96b8daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareGitHubPublicAttachment (cyclomatic 38, cognitive 57): prepareGitHubPublicAttachment has cyclomatic complexity 38 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aa148df8150e514c5018aa3866d485e58eb974ac0ca3f3f5f17031e00a348b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 57): (anonymous) has cyclomatic complexity 38 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19cf3c61d369599b89dc13d51edeff96e330a56b9ed31ec81fc59e2a4103877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 56): (anonymous) has cyclomatic complexity 38 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":"server/src/__tests__/status-object-signed-sleep-acceptance.test.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dcab92556b8436953846acfa96d121345913e6dc57e161b1f5e93bd3a6f947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 38, cognitive 55): fixture has cyclomatic complexity 38 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":"server/src/__tests__/helpers/runner-api-server.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2e21832f2ba675db5e0527008e2bd75622006aa074f44c70ce8b03247732da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printItemCompleted (cyclomatic 38, cognitive 54): printItemCompleted 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29703aba652c6999b35706f144a7808609530444600c802e22675ce43ff505c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 52): (anonymous) has cyclomatic complexity 38 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":"server/src/__tests__/tool-access-client-credentials.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e30a3cec9b547fd8a54ba32107976c84fb7e6a105da5060232f199ad120165"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSlackIdleIncomingProof (cyclomatic 38, cognitive 51): readSlackIdleIncomingProof has cyclomatic complexity 38 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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92e557f99691dc5a01593a01133e43e66a82fd5731c0fe3541113f0b41f23a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureSpekoSessionTools (cyclomatic 38, cognitive 51): configureSpekoSessionTools has cyclomatic complexity 38 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":"server/src/services/voice/speko-tool-setup.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"907ce9f394abd3e539593005514a41c104c4d96b7e22f396583225734b1a337c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 38, cognitive 51): mutationFn has cyclomatic complexity 38 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b71688afaa7f60fd6c5e75080052ff06d3190e47acfb176dfbe4f12e5e2b7df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 50): (anonymous) 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":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f934f696bebdc97a805917122e2abed23fe69eb8c1660230d4dbc08860e85e26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 38, cognitive 49): main has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/runtime-private-key-worker.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e571964a7d7f9d65d5e4dab2db64b6b163929ac8fea2050587e710f2251e03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 46): (anonymous) 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1b0fa845ea042460995ecfbc1e7d3a7dad3fa775317e152c12f17950ad591b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 38, cognitive 44): deliver has cyclomatic complexity 38 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1497e906716f766bcbe92647f5da93f2f1483a252b3953437e30e69235e3619f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConnectionGrant (cyclomatic 38, cognitive 44): resolveConnectionGrant has cyclomatic complexity 38 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c26bf5eb7bb2b6965f888d9ce9d5cd035b0b62e25c7454d38662bc3e8c7a0f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 38, cognitive 43): read 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"accbb9a36ccc56ab987b4d6243e928d8b3adc07c14b90c1c49ea45fb4de06edd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SuggestTasksCard (cyclomatic 38, cognitive 43): SuggestTasksCard 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"32be3580eaa7f11383233868457e6f9d016268643c793d8f91c67e30b305c1df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAgentContext (cyclomatic 38, cognitive 42): buildAgentContext 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":"server/src/services/feedback.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8c9c990432a068695573e75f373232e8e74e16fae83acb4fa09c8864f7c9d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAgentConfiguration (cyclomatic 38, cognitive 41): prepareAgentConfiguration 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":"server/src/services/agent-configuration.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6667f9c5946ee00fbd148c33f6699b115ee07cf06d24bbb55b1e6619ab682fe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkout (cyclomatic 38, cognitive 40): checkout 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":"server/src/services/issues.ts"},"region":{"startLine":12738}}}],"partialFingerprints":{"codehealthFindingId/v1":"5511e0277cf429b62f4be0e3fd5c9a0a3d82cfa38da5ed445b6f130ce014a560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRunnerDatabaseIsolation (cyclomatic 38, cognitive 40): assertRunnerDatabaseIsolation 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":"tests/runner-e2e/instance-isolation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e5a396446193899717618142e82faa9e45ccc6b0997a2477d2384af90871b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 39): (anonymous) has cyclomatic complexity 38 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba01493cb8695954542ad2f188682d6878077f598ab631608d99f848e54e0cc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 39): (anonymous) has cyclomatic complexity 38 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"80535aaf7f64552fb718a9fad4065ce586ebeb676aec5b107f36a7c96d5b9bba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 38, cognitive 38): seed has cyclomatic complexity 38 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/plugins/sdk/src/testing.ts"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98e00b7d72b3ecbe30064c75534df4417f917da3035c99c9ba6e16173d2735c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectFullCatalog (cyclomatic 38, cognitive 38): inspectFullCatalog has cyclomatic complexity 38 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":"tests/runner-e2e/chat-full-catalog-testops-reconcile.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb638793cbd625c4225b6c099a872d0aa17d0a436ed5dc2272ea32e6e0e800b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verify (cyclomatic 38, cognitive 37): verify 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":"scripts/local-verify.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4094d86e5c3faa59a057f3c0ad6dc2aa00954ba310d4a9c0238f035de1471092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalizeOrphanedRunningRun (cyclomatic 38, cognitive 37): terminalizeOrphanedRunningRun 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":"server/src/services/recovery/service.ts"},"region":{"startLine":6395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45606bab636b39f2ae884fb81458ea1815399852ea4ac65127d15afc96086e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRecoveryRetryLineage (cyclomatic 38, cognitive 36): readRecoveryRetryLineage has cyclomatic complexity 38 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":"ui/src/lib/recovery-lineage.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"22613c7c2de726e38b79cc5607bcdacd930f025d8d8d7ccaf3a9533b5c0e3ef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentBasicsDialog (cyclomatic 38, cognitive 35): AgentBasicsDialog has cyclomatic complexity 38 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":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eba6a7c8e511543cca596ad4be9330258d3bde9bbf96baaf800f9c00b7f9ae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunnerGoalWidget (cyclomatic 38, cognitive 35): RunnerGoalWidget has cyclomatic complexity 38 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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"860453deb2e990ad5a5f4e945b73258df20c90a257a1b679a37965a770cb1f38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 34): (anonymous) 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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9073}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf661af07c679aa844a9fefd7c655309c99b2a6f907eafcc6bd4a3e7f471167"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleMcpWakeProof (cyclomatic 38, cognitive 34): projectIdleMcpWakeProof 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":"server/src/services/public-mcp/idle-wake-proof.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d118b36e5c0a20d48a736aa2a6fb1f58fbe452d7951b0086e7e182aa7a26f69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExecutionWorkspaceCloseDialog (cyclomatic 38, cognitive 34): ExecutionWorkspaceCloseDialog 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":"ui/src/components/ExecutionWorkspaceCloseDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"329866771ab8fb26292313ac389f40aed1f4387b0fb5670e6a56b2c74efc63d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfirmationCard (cyclomatic 38, cognitive 34): ConfirmationCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc223ff4c536f5c0ac7dfdf09e07484b629f4ec15b3512f946d934eaba4480a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diagnostic (cyclomatic 38, cognitive 33): diagnostic has cyclomatic complexity 38 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/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df69329befaf64016d55402b15c515df38e3fe1b38677dc7b10348c873df092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideQueuedRunStaleness (cyclomatic 38, cognitive 33): decideQueuedRunStaleness has cyclomatic complexity 38 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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79c126dab4f220c8b36546b64a2052c77931fa64e736ab41eea102476aed5c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attemptProblems (cyclomatic 38, cognitive 33): attemptProblems has cyclomatic complexity 38 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":"tests/runner-e2e/dependable-qualification.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff89ff54569b984c9ccbc5a44405e0cc30be70412f2d488b0ed4b144c9e98003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupLiveFixtures (cyclomatic 38, cognitive 33): setupLiveFixtures has cyclomatic complexity 38 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":"tests/runner-e2e/live-fixtures.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe743b4db9e3cd52171a2ff5cdde1161f31c9881195521f275718ad473a2969"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportFromVaultDialog (cyclomatic 38, cognitive 33): ImportFromVaultDialog has cyclomatic complexity 38 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"43533ddc5b58ea15ff75d3536a20c13cc5112dc209b0474aedf470a0700a67be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAcpxPermission (cyclomatic 38, cognitive 32): normalizeAcpxPermission has cyclomatic complexity 38 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acp-permission-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a75bf5bbab76a1d48381d1bf0e53ca757aed0f4b66a732ad65a19d7a4f0eb74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteDeferredWake (cyclomatic 38, cognitive 32): promoteDeferredWake has cyclomatic complexity 38 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b4cd05a6c22000424df64ff55c9bfb02146655ca09e186edaf9c41f77e150f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probePluginRunnerEnvironment (cyclomatic 38, cognitive 31): probePluginRunnerEnvironment has cyclomatic complexity 38 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-probe.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"161f9c53bf0a9213b399a0b16475e9256f22b1e06de869627e5ae7b631aa750a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveQuestionResponseRetryAdmission (cyclomatic 38, cognitive 28): resolveQuestionResponseRetryAdmission has cyclomatic complexity 38 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":"server/src/services/native-runtime/external-chat-question-response-retry.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb4aa71bde872c1e0dc6250856fbcf1e6cf4636efa90e187ea707cd46f03e69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceExportRecovery (cyclomatic 38, cognitive 24): WorkspaceExportRecovery has cyclomatic complexity 38 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a0cb6c841c7d9a2f87b450870b7c83c667e33d27f4b8e833825aaf037a6c7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operatingReceiptObservation (cyclomatic 38, cognitive 23): operatingReceiptObservation has cyclomatic complexity 38 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":"tests/runner-e2e/operating-receipts.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c25074a7a5126ead60a3c2b3bec8c71e183e1ce3fb8d6589b9bfe4f72fd6f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retiredReusableLeasePredecessors (cyclomatic 38, cognitive 22): retiredReusableLeasePredecessors has cyclomatic complexity 38 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":"server/src/services/environment-lease-handoff.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de08d33478b8cadbaabe0246c973c80932852dcda85e275be22c24b2f1765e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSecretDelivery (cyclomatic 38, cognitive 20): gradeSecretDelivery has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/external-secret-delivery.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cae7056deb18756b308b98fd332fb4db2576aeb69b93c76eb5d11064d1c0b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDelegation (cyclomatic 38, cognitive 19): gradeDelegation has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/runtime-delegation.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad795824d8c4786eeae024b82372f001f52b171c470c1fadae0a2dc9491c5152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePortability (cyclomatic 38, cognitive 18): gradePortability has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/identity-portability.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2328ab36ebea88d6ae12dbc46b22d7a76e7157018f53a38697d6080e97140411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePersonalRevoke (cyclomatic 38, cognitive 17): gradePersonalRevoke has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/external-assistant-revoke.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4388ca3ac78ea56ef004f1314f2c0fa7aecf087b7ab2d82c0d4220f1289f7d06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validControllerOutageReceipt (cyclomatic 38, cognitive 17): validControllerOutageReceipt has cyclomatic complexity 38 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":"tests/runner-e2e/controller-outage.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f0e2d531289da5447d43d3b9ce8e5f88d6fd3226cc53487144469056288cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expectedEditReassignmentCancellation (cyclomatic 38, cognitive 15): expectedEditReassignmentCancellation has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/internal-edit-ownership.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07a8fcfd69701c7bf371b655aa1bf934fe2c1b06f22b49064139dd6f432e389"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSlackThread (cyclomatic 38, cognitive 9): gradeSlackThread has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/external-slack-thread.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81e5b9ecfdfe3d38e5420ed54ac11760a51cae05c2b92651f25c3619bb4b99f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokOperatorInputMatches (cyclomatic 38, cognitive 9): grokOperatorInputMatches has cyclomatic complexity 38 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":"tests/runner-e2e/chat-catalog-domains/runtime-grok-operator-contract.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6683b054a807a1eaaab4933a094f08cfaf50410e139df2ef83d38941e0a705c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stagingMixStep (cyclomatic 37, cognitive 71): stagingMixStep has cyclomatic complexity 37 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":"tests/restart-chaos/staging-mix.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2623aea728716036075bcb42426f6ea6acdb984c35076a2c1370295cdbc69da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #mapRuntimeEvent (cyclomatic 37, cognitive 63): #mapRuntimeEvent has cyclomatic complexity 37 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":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe671a6584a1d335954b4aa9f14b6d69944f947665a2ecd64795b75cf9547f6"}},{"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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":2820}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d065f8f762d3dd2e48cddf77723bf89f77f27dfb1a076548fedfe758b6619f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testCodexAcpEnvironment (cyclomatic 37, cognitive 52): testCodexAcpEnvironment has cyclomatic complexity 37 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dbbb55cf5900b839e1d89d8539dac754a77055f13c6de67a81adbfa568a07b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunnerProviderAssetsRoot (cyclomatic 37, cognitive 51): resolveRunnerProviderAssetsRoot has cyclomatic complexity 37 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/paperclip-runner/src/drivers/acpx/provider-assets-root.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9245209dff84f0c3ea6c680d740c1f9e3c1e3f758e4f0dff4c9ff0b124b47f14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHeartbeatRunResponse (cyclomatic 37, cognitive 51): resolveHeartbeatRunResponse has cyclomatic complexity 37 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e88fef8d261c7913fa3e2ea7139c83a053661018c42c317a5f00b48baee214"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processInboundWakeup (cyclomatic 37, cognitive 49): processInboundWakeup has cyclomatic complexity 37 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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e1473a260afb58a5d762bc308c22c9b750dc330bf3e03604c6d182bd0bf764"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 49): (anonymous) has cyclomatic complexity 37 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c873ac446c2958a09791a0af90ca881c8c7bc44a7054b95fe249a054d8be4adc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordInvocation (cyclomatic 37, cognitive 49): recordInvocation has cyclomatic complexity 37 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"302af4bec8fa818de98cd91d4c8d2dc8aed6dc1e3beec88fb2b484c104d22271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 46): (anonymous) has cyclomatic complexity 37 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":"server/src/services/native-runtime/native-runner-restart-recovery.integration.test.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a7efe878685436701248649034750cc795f2586d9c0f7a26b12a74d70e66ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 46): (anonymous) has cyclomatic complexity 37 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":"server/src/services/remote-workspace-migration.test.ts"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffcfeea6801f2a6a96bf71fbeb13e8e8b4f5404effb56bfa9bcf4174ad759d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverOAuthEndpoints (cyclomatic 37, cognitive 45): discoverOAuthEndpoints has cyclomatic complexity 37 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef173986efaeaadd84f82d0ed685e8db0adf922bbaac7c3dc5ddbd7b931fae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 44): (anonymous) has cyclomatic complexity 37 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0994dc63c4fca73dde04e54de42b6d405f63b9c498a20e3789197c0c5318ebce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 43): (anonymous) has cyclomatic complexity 37 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/paperclip-runner/src/drivers/acpx/grok-effort.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1b922038a5f849ea22c1ac0981e8f46424eccbdafffe35ba4970af62931296"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 37, cognitive 42): main 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":"tests/runner-e2e/stock-harness-checks.mjs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f32f68ca22994f95c76da1efdec712b3f0dc10ba540c9c5bac4c54e85b53a0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 42): (anonymous) 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ced5f1b2024083f0a241e0b1312d4b2ee6e70c4071569d1c41b5a4dfbb9b9fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestItemVerdictsCard (cyclomatic 37, cognitive 41): RequestItemVerdictsCard has cyclomatic complexity 37 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3864}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd71f6ba4aa9bef446db6bd0862fb00a75c7519b5bc625cec23de0d84f99e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySourceRecoveryRevalidation (cyclomatic 37, cognitive 40): classifySourceRecoveryRevalidation has cyclomatic complexity 37 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":4522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec60a89a4dd80c6d0d4794bc356cfa6e01dd4e1c056a7ce2c8954634ab428ab1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePaperclipCloudConnectorCallback (cyclomatic 37, cognitive 40): handlePaperclipCloudConnectorCallback has cyclomatic complexity 37 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e644b34d12c1892495e1fc464198f4c27c2940a39af043f86617693a32824149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 40): (anonymous) has cyclomatic complexity 37 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-inbound-cleanup.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c417c44060f404fc64fad151f449f8999a6ab5400a45fcedd48b7f11a49885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubLifecycleEventFromRequest (cyclomatic 37, cognitive 39): githubLifecycleEventFromRequest has cyclomatic complexity 37 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":"server/src/services/chat-channels/github/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ae175ec973600879b805846c8f9959438b6abb0fc64724c1b7ab42d65217c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileContentViewer (cyclomatic 37, cognitive 39): FileContentViewer has cyclomatic complexity 37 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cdc36012d9ffc11f0a45fa1918fdbd44c31bbfdf1b7f41a71875805c77a276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRunnerSelectors (cyclomatic 37, cognitive 38): parseRunnerSelectors has cyclomatic complexity 37 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":"tests/runner-e2e/selectors.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bfdaf98c24a83701299809f570f8a67f970fef21265c33999288a1ca36378f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 36): (anonymous) has cyclomatic complexity 37 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58ee3b0ed941adf86f67a28f24d329f81e56179872f429f68ff7fe4064b2bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function personalSecretMenuNavigation (cyclomatic 37, cognitive 36): personalSecretMenuNavigation has cyclomatic complexity 37 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-menu.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b75cab2597c1dbbb4a951275ecce3a06b34020fbb62835e9db6b7634234279a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyLockedPiPackageGraph (cyclomatic 37, cognitive 35): verifyLockedPiPackageGraph has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf2b20dd121fe31c3135a208d804c3f84870a9e32719414aa9afc4e7ae2d30a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideSuccessfulRunHandoff (cyclomatic 37, cognitive 35): decideSuccessfulRunHandoff has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/successful-run-handoff.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f7bd7aef0699d732b77b83877cd081650dd549bf42cb052d62cc92ae3b0cee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Dashboard (cyclomatic 37, cognitive 35): Dashboard has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9c49c35f6ae86dc9c82720e72273eeef31504c09b207d00d34751e92c73a2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 34): (anonymous) has cyclomatic complexity 37 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"10480c035e3b87522b360a8a6a2fbd002f4cc6261eb5b8e05aac2737901ea1f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatExecutionDefaults (cyclomatic 37, cognitive 34): ChatExecutionDefaults has cyclomatic complexity 37 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatExecutionDefaults.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dedd3f331d96edffd23ec9c1c660505660586c3334d6db8a6b37a8a053b751c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillPackagePreview (cyclomatic 37, cognitive 34): SkillPackagePreview has cyclomatic complexity 37 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/SkillPackagePreview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3307946d4e532c58b4595fff969fad35ae5e88c383d608e88669542d688f54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarAgentItem (cyclomatic 37, cognitive 33): SidebarAgentItem 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bd6754f0b1a69c174c2a18884853bb04cfbd67d97d42bcb6f70b9260b88d70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarAgentItem (cyclomatic 37, cognitive 33): SidebarAgentItem 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b70b72fc5749b3ca6be8f058922b93e48cccd40fb9f8df3e3c455e3eeb94b1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalDetail (cyclomatic 37, cognitive 31): ApprovalDetail 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":"ui/src/pages/ApprovalDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"843efc0a677cfdf0589dea0f5a97b1bc9426c1027cb1257ff52061a387507dba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scope (cyclomatic 37, cognitive 30): scope has cyclomatic complexity 37 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0ed8e92becb4d2b2f74f90ba307d94ec4cb7608b28f0d22d76b1073ac4d608"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grade_tasks (cyclomatic 37, cognitive 29): grade_tasks has cyclomatic complexity 37 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":"tests/runner-e2e/chat-catalog-domains/internal-tasks.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc94d562e5c83c2fb07a5f33d02a7090271807fb99a006168e435fb6604d2f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Agents (cyclomatic 37, cognitive 29): Agents has cyclomatic complexity 37 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c341b6a0f3b6ac9ee5e505adf31aeb2c2d97b2ed48873cb0bf287e7054744d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueDetailActivityTab (cyclomatic 37, cognitive 28): IssueDetailActivityTab has cyclomatic complexity 37 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1bb08006413dc3f3427ec41e3a78f0ab1f41c144565fd125e36803ff717265"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 27): (anonymous) 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ebc526f92503cd9dcf598b7cb156dde896aaef7c17b89b347abba67425720b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTelegramLifecycle (cyclomatic 37, cognitive 26): parseTelegramLifecycle has cyclomatic complexity 37 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bbda3a56cb2db8e23508d59c55b8c073c645bd7e6640a59eb878699e3b8f2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Agents (cyclomatic 37, cognitive 26): Agents has cyclomatic complexity 37 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ef78eafbe736a66bb9509b66c14b09b6ae1193ec1a9394404f7cb72fdb51a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInboundWakeReceipt (cyclomatic 37, cognitive 24): resolveInboundWakeReceipt has cyclomatic complexity 37 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":"server/src/services/chat-inbound-wakeup-publications.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6444eea0019a86bd72005a372ea3071222231b505bfa86a8d09b4b27430982b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 23): (anonymous) has cyclomatic complexity 37 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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff688f6c8eb2e250a816623b3ce3010148820a016900f327adc5f0da1bab205"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateChatSelection (cyclomatic 37, cognitive 22): validateChatSelection has cyclomatic complexity 37 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":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda5b2a8f59c7fa5072c8e49f7437adf79f98e0424ca829c32240ce571107d22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTreePause (cyclomatic 37, cognitive 20): gradeTreePause has cyclomatic complexity 37 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":"tests/runner-e2e/chat-catalog-domains/runtime-tree.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"779bf0075b199655542451d39f7c46ee1af9e117ac600a64785d78978a01cd9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasConfirmedSandboxStopAndRetain (cyclomatic 37, cognitive 19): hasConfirmedSandboxStopAndRetain has cyclomatic complexity 37 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"885189f4d38fa20e3a1ad2de538d3dac8eae54ce25b82ed88fb7d1d87efb5958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeBrowserReconnect (cyclomatic 37, cognitive 19): gradeBrowserReconnect has cyclomatic complexity 37 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":"tests/runner-e2e/chat-catalog-domains/runtime-history.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7131bb5af0b4f2d1d95b7f2ecf44138abb0a1d6a31fe9a6d52603b8d8cac1d7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeChatFeature (cyclomatic 37, cognitive 19): gradeChatFeature has cyclomatic complexity 37 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":"tests/runner-e2e/chat-feature-scoring.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ff06dc276952013ea6858047faff01b88f392ad5e6d3e6747cc184c09cd1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 19): (anonymous) has cyclomatic complexity 37 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":"tests/runner-e2e/native-task-reply.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f139d696d8fd2d0b6d8680eb5ac63097ce2717aa9dae86edcfd7dc5e32d16a72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskLifecycleEvidence (cyclomatic 37, cognitive 17): taskLifecycleEvidence has cyclomatic complexity 37 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":"tests/runner-e2e/product-journeys/task-lifecycle-evidence.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8302137316bfd3bb6b4dedb5fd2f031542e97ed25e0b35cfed500ec227fd8c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timelineStatusMilestone (cyclomatic 37, cognitive 13): timelineStatusMilestone has cyclomatic complexity 37 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-work-timeline.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ac644fac767d7f5fd75c7c5508a17032216380c4eb1f15e190bff79f4b0a70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorRoutineHistory (cyclomatic 37, cognitive 12): gradeIntegratorRoutineHistory has cyclomatic complexity 37 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-routine-history.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb8eaa0e475fab3eecc49ccebd6491b070b1a18e0691e338d4bcdfe0b826a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 81): (anonymous) has cyclomatic complexity 36 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":11133}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a6a8ab1b095e88a5bfb8063743bf0f3d8c93bf2b8707128ee45815a36933ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 68): (anonymous) has cyclomatic complexity 36 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":14589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a375cb47f0769c1b1f70377fe24cce2551aaf4ee6c26c9d1dc9fd5de987f658"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 36, cognitive 65): run has cyclomatic complexity 36 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":"server/src/services/skill-version-retention-work.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0309fe0895ccad7b25f8634be6e21c6579a52f5a5fb9e6842932e4b191dc032e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateChatQuestionFormSubmission (cyclomatic 36, cognitive 63): validateChatQuestionFormSubmission has cyclomatic complexity 36 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddacc33dad36a13df26979ee4efe133590b241928f0799dc0b185ea9ae2325b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #generateImage (cyclomatic 36, cognitive 59): #generateImage 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2981ca7b34b8336a935acac79623c793e60091644f4556fc2fb53adb02a62c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveInvocationScope (cyclomatic 36, cognitive 59): deriveInvocationScope 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f782e50c6b793f30357d361efc0af9fc3ebb8fcb1dee6d54ee7b85db89b7c7ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controllerBinding (cyclomatic 36, cognitive 57): controllerBinding has cyclomatic complexity 36 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcc9174e4c7ef9266ec9bd1d5a28f0a0bfbb5ab1b31cb44b735a36b31839f62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunnerApiCatalog (cyclomatic 36, cognitive 57): buildRunnerApiCatalog has cyclomatic complexity 36 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":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"085e5e13b660c6cb8f3c5988c841330df7bee931a46417f5a6929a0e1c1e0cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function productTestOps (cyclomatic 36, cognitive 57): productTestOps has cyclomatic complexity 36 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":"tests/runner-e2e/product-regression-testops-cli.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d15e8dd81852f97e81d853adf2ab13b1272dbe6274d7dbda527b2fca7d1ef0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBridgeRequest (cyclomatic 36, cognitive 54): handleBridgeRequest has cyclomatic complexity 36 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/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb8797bc9b44c7ae5d618b76df1e5d068c0df5e9524ed09e6914065bf519d16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachPreservedRemoteWorkspaceSnapshots (cyclomatic 36, cognitive 53): attachPreservedRemoteWorkspaceSnapshots has cyclomatic complexity 36 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e393595f5264b7a8471a2fe794f88e4bfbfa2ec331735a41b266f15128e4dbdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPendingPublications (cyclomatic 36, cognitive 52): processPendingPublications has cyclomatic complexity 36 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":"server/src/services/chat-channels/publications/queue.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bba03be82f0626304ca67bdbfa32fd00300ff04d8e0cfe5c9b2f9ceb1b9c5a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTestToolInvocation (cyclomatic 36, cognitive 52): runTestToolInvocation has cyclomatic complexity 36 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9538}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0ddca4fd3077fc2ec8a65d3872d3638085ced22be574ef3ea50d1f99197db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedReviewAttentionFixture (cyclomatic 36, cognitive 50): seedReviewAttentionFixture 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":"server/src/__tests__/helpers/review-attention-fixture.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecef1a3c99fcb53a473e4ca9f08b3fb2b2171bbd1549db5d882adf3125479984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMcpGatewayProtocol (cyclomatic 36, cognitive 50): handleMcpGatewayProtocol 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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acaefe0c1b5eaabea50969f4441b61b7d0b912753dfde8f8b607c369b3762dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReproducibleGitFiles (cyclomatic 36, cognitive 48): assertReproducibleGitFiles 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2988579983d53edc61cf37d99b35327020d3b94444e8e141b351a0d31bf7f3f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeHttpFailure (cyclomatic 36, cognitive 48): sanitizeHttpFailure 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":"server/src/services/tool-access/catalog/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f474ab69835920c68b240bbfb5222ef86fbaf6537a02b124751a6a9a1fcc0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 47): (anonymous) 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":"server/src/__tests__/mcp-tasks.test.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"617df4f8abb458dd794e7b57ae0f34a42f2ec098919786b734989cb08d60ce27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeSourceState (cyclomatic 36, cognitive 47): materializeSourceState 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":"server/src/services/decision-retention.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5399d4ef5bac0beba2f9f1e240e73cddb575717d2e2024b235c1dd5e77043b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewakeStep (cyclomatic 36, cognitive 47): rewakeStep 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":"tests/restart-chaos/rewake.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fb676e48db606920a487386b3b00f093d85aafd467896b7ec67d81459231cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 45): (anonymous) has cyclomatic complexity 36 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/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5973270d15f0c11c135e48ee95b449a999c0c68d9fdd2f859d9f59a5fe9c30d5"}},{"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":"server/src/routes/tool-access.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cab4a5affc22dff201a708731bb3eae4cd4ff4aade7b63fd40c3560366f4da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 41): (anonymous) has cyclomatic complexity 36 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":"server/src/services/companies.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"46148c7f5a83161d37a82f9b6354ecb7249871b086bef5640767c0eebba654c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 40): (anonymous) 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":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"667531052f10c31ef4efee94cd159ec342acdc766f90dc3a4ce2d85658db65a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 36, cognitive 40): poll 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4990d0d5f3f80d8164ccdc479a753dafde3d47818ef7194a74e4ce5b20859bd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatPlanPreviewCard (cyclomatic 36, cognitive 40): TaskChatPlanPreviewCard 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":"ui/src/components/task-chat/TaskChatPlanPreviewCard.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"450c44f607c73e2acede7fe72843b4039f7f980e6d1b155343ddc353b1334b64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 39): (anonymous) has cyclomatic complexity 36 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":"server/src/routes/projects.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac519f16d1e6718b13b677b878ff2ebe002bc55346b135a46126a724060ea060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContent (cyclomatic 36, cognitive 39): resolveContent has cyclomatic complexity 36 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":"ui/src/components/FeedCard.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"df69e6942dc50fa8713b1e45848728ba0f6239850f30452d7fe36c986bd1da96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueListSearchParams (cyclomatic 36, cognitive 36): issueListSearchParams has cyclomatic complexity 36 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":"ui/src/api/issues.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a1f40e67ab49661b5133e017dfc87e09b772b2e8f574bc99f4f1f332b3a339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 36, cognitive 35): mutationFn has cyclomatic complexity 36 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2e3ca5badd44ffe1ec3b8be12eb91c8f5311af47c44ccd5cd8d6af94981ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verification (cyclomatic 36, cognitive 34): verification 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"339934d122433020b6bcbdf45d0f7aba08d4eae079e3acfc4faa6d3a2279156a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubReviewSchedulingDecision (cyclomatic 36, cognitive 34): githubReviewSchedulingDecision 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":"server/src/services/chat-github-review-policy.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555ad2f3fd5bbbc9a3785488352f7ec1c72b02a98d0aff09e86b8e7c4f5c498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registeredPlan (cyclomatic 36, cognitive 34): registeredPlan 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":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f96968437b95c9d51ad5caf125a272b74a136158213125d5b5f6bd435f41bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPiControlsFlow (cyclomatic 36, cognitive 34): runPiControlsFlow 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":"tests/runner-e2e/pi-controls-flow.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e7ec2619379183bff8c05232a7db03fa2dd4030e7b4b66d9b891277c05c4e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reclaimInactiveNativeProviderCache (cyclomatic 36, cognitive 33): reclaimInactiveNativeProviderCache 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":"server/src/services/native-runtime/retained-provider-cache.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92500230da714de21c785aa77a90acd4bd06b6b2d888fff2221a77458a0d6ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseDetail (cyclomatic 36, cognitive 32): CaseDetail has cyclomatic complexity 36 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":"ui/src/pages/CaseDetail.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758c975ca04f4c9651cee5db9825ab98e420f0cbdbeed394d155604e65fa107"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 31): (anonymous) 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2b3e3dd5091e5fe1b18d8d597c483e04665de3f9aedfec62dc9773be615bce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainedIssueWorkspaceForRetry (cyclomatic 36, cognitive 31): retainedIssueWorkspaceForRetry 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e92e2521973a048d9788233ed5317518a90953fb573e5f097520914ce668af2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAgentConfiguration (cyclomatic 36, cognitive 30): updateAgentConfiguration has cyclomatic complexity 36 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/agent-lifecycle/adapters/configuration.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e33f469c2e736bbecec4b4091b76ce2015c53b4a1335db28ed25f0a6c287c70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitExplicitContinuationRetry (cyclomatic 36, cognitive 30): admitExplicitContinuationRetry has cyclomatic complexity 36 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0ec0546b394f6650d4d982f881e5511c78245ef53dc05694040e72b0325b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSettledControllerArchiveSource (cyclomatic 36, cognitive 29): assertSettledControllerArchiveSource 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":"server/src/services/native-runtime/native-controller-archive-source.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f094935571127fd020db84179ac593b14380714e35d4a55cf43dc5c7eb37f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectNativeRuntimeRequest (cyclomatic 36, cognitive 28): projectNativeRuntimeRequest 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":"server/src/services/native-runtime/native-question-bridge.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98f407b738af53bc786f4944a90167a556e72e34949b436ce943dc026c0db1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareChatRemoteHost (cyclomatic 36, cognitive 28): prepareChatRemoteHost 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":"tests/runner-e2e/chat-remote-host.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e28f633beb5d1887afd4544e07f782fb35b4221238e75873dc067c0919d306"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleMcpSubscriptionProof (cyclomatic 36, cognitive 27): projectIdleMcpSubscriptionProof has cyclomatic complexity 36 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":"server/src/services/public-mcp/idle-subscription-proof.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0297bd551958593709012f49b121f8843851e231fe0b30c8a5610cebc2e50f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerEffectPayload (cyclomatic 36, cognitive 26): providerEffectPayload has cyclomatic complexity 36 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"113ae9efd598d64cab80798af810f8e708fd7d7219a379ab69d752042009a01a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundSecretQuestion (cyclomatic 36, cognitive 25): boundSecretQuestion has cyclomatic complexity 36 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":"tests/runner-e2e/chat-catalog-domains/external-secret-question.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"992e82a9ff9ce3b3ac5f4a96a9f5cfac9610bff0fad5dcdbbb41cb60095dbe68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverLegacyCaseHandoffCleanup (cyclomatic 36, cognitive 22): recoverLegacyCaseHandoffCleanup has cyclomatic complexity 36 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eeadb295da2f34ab9b35cee9104118ce9963c0956fcd84540e616e9022820c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateGitRestorePointRef (cyclomatic 36, cognitive 20): validateGitRestorePointRef has cyclomatic complexity 36 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":"server/src/services/git-restore-point-storage.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd2c6a9166b97f3511905077025d1fada7517b705ba2852783c636b7bbdbe97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 19): (anonymous) has cyclomatic complexity 36 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70ca03fa9d51fa877716437a83fc1963aaa5f416fef18a6fdafef3bd36ba47c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorRoutineInvocation (cyclomatic 36, cognitive 19): gradeIntegratorRoutineInvocation has cyclomatic complexity 36 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":"tests/runner-e2e/chat-catalog-domains/integrator-routine-invocation.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac1747c58c87544db89a616ed81d85a89dcd799a55dc001d1c14a565474fd42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failedNativePreparation (cyclomatic 36, cognitive 17): failedNativePreparation 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dde279e74bc03031cb747d13d8147dde317710a1a410bdbacfa6a828cbb632"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTaskOwnership (cyclomatic 36, cognitive 11): gradeTaskOwnership has cyclomatic complexity 36 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-task-ownership.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac241f268e2763b116d9b75e22603e6a6f5fb846e0f510f7794142efc916e9c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitNativePublicationText (cyclomatic 35, cognitive 94): splitNativePublicationText has cyclomatic complexity 35 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bc020fdda574c1923686a911331b86ec17748a91a14e183bacc6893419c9f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 56): (anonymous) has cyclomatic complexity 35 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"74410b434a45fa6241517d2a719de485980f10f7f916000326ef9606deb90163"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubNativeRunnerStagingResidue (cyclomatic 35, cognitive 56): scrubNativeRunnerStagingResidue has cyclomatic complexity 35 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ddc94664e45b97e45a40063eed18ad5d58a3c3a321e7e46dfe741c11dfa03d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileActiveRecoveryActions (cyclomatic 35, cognitive 55): reconcileActiveRecoveryActions has cyclomatic complexity 35 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f7f83a67ba75a16d9ea82fe1f72e41ac7fe4443b083fe746a3107aea1671e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 54): (anonymous) has cyclomatic complexity 35 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/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6512e5e831e4cf16a266595ba3770c88a71670c1b135749886749af057672c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanModuleBoundaries (cyclomatic 35, cognitive 53): scanModuleBoundaries has cyclomatic complexity 35 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/check-module-boundaries.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6e323c59f117506d9c63777f72ca11a227216de623481ad8f18ba94abe1909"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractRemoteMcpPending (cyclomatic 35, cognitive 53): extractRemoteMcpPending has cyclomatic complexity 35 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":"server/src/services/remote-mcp-pending.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a036655512227357aa7111467bae5e054a7689a6f9bb0364999da2dfa8a3b16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverExecutorApps (cyclomatic 35, cognitive 50): discoverExecutorApps has cyclomatic complexity 35 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b841e24c37fc886cd54a57c6ba3affc9558772bea6964dfcfb21de81c9200c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printCursorStreamEvent (cyclomatic 35, cognitive 49): printCursorStreamEvent 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"39341000487543d445fcef107a5abd23f14d173c300871a6472d9a398ffc8469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 35, cognitive 49): execute 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":"server/src/services/browser-use.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9f5e8c95e0d4ac424cd23b0ee54d84fc16d3dca0d8ea2d5d0c52ead3c079cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalizeRunOnLeaseRelease (cyclomatic 35, cognitive 48): terminalizeRunOnLeaseRelease has cyclomatic complexity 35 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"761edfd61b1887f0ba966cdec092ea73eae4268298de9c5e3944513d1f73eb26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 35, cognitive 47): snapshot 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":"tests/restart-chaos/config-wave.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"462ebff8204b60c82ae905b00bdd9666d94e01c4c8380d9f4d17fef43f6a0250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 46): (anonymous) has cyclomatic complexity 35 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/paperclip-runner/src/drivers/acpx/safe-locations.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"749f2010807644e130ad10d14e2e213b49b8bd0533edbb94ae84eebffa0e9a78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatMarker (cyclomatic 35, cognitive 46): TaskChatMarker has cyclomatic complexity 35 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":"ui/src/components/task-chat/TaskChatMarker.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97310f8b2e6aaaa279fcedde0a2707ad2b9527b18b7fdcc6265701ef4623353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquire (cyclomatic 35, cognitive 45): acquire has cyclomatic complexity 35 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7566a7f43c010eeecccf60b99eb0f860a8789f7cbc62e45d84ead0bf33e239b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 35, cognitive 45): deliver has cyclomatic complexity 35 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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab695bc8137d631e1a51a32bfef12f8ba615c24ba072087556b751e05a3ed6e1"}},{"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":"server/src/services/agent-observability-test.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f383712f35d589945ddc068e97d5323776e68b2e2f2dbf7e2878c30b41b12c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectNativeCompletionRunnerd (cyclomatic 35, cognitive 42): inspectNativeCompletionRunnerd has cyclomatic complexity 35 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":"tests/runner-e2e/native-completion-git-source.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bba598b2279ad2d75fd2c861facb5f7e4ec47d470a84f55d053ff2cedf3e6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNativeAcpxDistributionSnapshot (cyclomatic 35, cognitive 41): createNativeAcpxDistributionSnapshot has cyclomatic complexity 35 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20c90e032fd410e2945c40f59abffb6e4a5c1cf6034e572fefe4eb8ddaadc8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeNativeCodexRunner (cyclomatic 35, cognitive 41): executeNativeCodexRunner has cyclomatic complexity 35 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9e4886b9915561a182a4384f9901dcfcecd6e69ed7b4e96434119306613790"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 35, cognitive 41): connect has cyclomatic complexity 35 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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6450b48e3307d62396ceedb4890be8c7b1816f3bf937f69c4b4be157d10e99bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedQuestionFormMatchesInteraction (cyclomatic 35, cognitive 40): completedQuestionFormMatchesInteraction 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":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3f791742b657be2a2a1463a9371825b9f14b61412987d8c3ee0366e208448b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAssistantMessage (cyclomatic 35, cognitive 39): parseAssistantMessage 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":"packages/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5327a2f861de1bc8fec443ab1cb25434b96f76d708dfa8208d6f0d21e29c44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 39): (anonymous) 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":"server/src/modules/wake-queue/adapters/postgres.test.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca2a93ade48328ff2f3a592a11233887035f4e62ca56b4dc73bcf910f02c180"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 39): (anonymous) 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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65899e13c4c0bed59cf05f415319fc077c1beccf46f931a70eccdb22b2716ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunnerE2EProcessEnvironment (cyclomatic 35, cognitive 39): buildRunnerE2EProcessEnvironment 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":"tests/runner-e2e/harness-env.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8627a56c5e9f20e0d0a836c19dc60484fb5328852bf3d5308664a53023ff2e82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 35, cognitive 38): main 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":"scripts/codemod-extract-misc.mjs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b11e022e062f0925ab5e69e22b15b19da168642fdda7023a55e8f4e7e62818c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 38): (anonymous) 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":"server/src/services/agent-chat-messages.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"544dec361a8a167e93563bb71e2ff9124000a23010e88bfe9b7a87d1e8722b71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeStagingMix (cyclomatic 35, cognitive 38): gradeStagingMix 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":"tests/restart-chaos/staging-mix.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb39e48252d7b278301b868c118fb0564a0c9d0f3a389fb0eaab491cbcbe2c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #commandResult (cyclomatic 35, cognitive 37): #commandResult has cyclomatic complexity 35 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2152d8f9534baf6ced6d65657904713cccc6f61d4dbc19acd970255a5ddcac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function png (cyclomatic 35, cognitive 37): png has cyclomatic complexity 35 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7bbf7ecdb585da3223dfcba5e405eb0379e8631279570a116611348b5100ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supportedPng (cyclomatic 35, cognitive 37): supportedPng has cyclomatic complexity 35 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5778e3a8bcd04f24e369599ca84dd7bd08bcef76f5ca81878a03ae61ee33ca05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function a (cyclomatic 35, cognitive 37): a has cyclomatic complexity 35 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93f3636a1135ad036d2f24f060c0f25fdc4c5359b3e57acfcf1be238bd6051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #dispatch (cyclomatic 35, cognitive 36): #dispatch 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddb1a9ee04404abc6b4375fdf5738bd2807d8edeed5928c78457c20b5fe3a39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCurrentAuthority (cyclomatic 35, cognitive 35): assertCurrentAuthority 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"83868b4c41fa959cc872c0b9cface1e389376ce8cdb1e9d69ecbf1566ec7e1a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockQueuedCommentState (cyclomatic 35, cognitive 35): lockQueuedCommentState 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":"server/src/routes/issues.ts"},"region":{"startLine":7942}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d536aa5808a8fd59ffd9c7b12991d92574b75b0a97aab1cb3623addfce38bfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processGitHubWebhookIngress (cyclomatic 35, cognitive 35): processGitHubWebhookIngress 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd39285a1c7b35550655d0242efa87ca02a40577a298a98b953ae00639d18e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNextSessionState (cyclomatic 35, cognitive 35): resolveNextSessionState 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"423e811608dd710feb0b0933228dc82dfd68be580d2d8e300c7d9562ba5b0b2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poolMemberRuntimeConfig (cyclomatic 35, cognitive 34): poolMemberRuntimeConfig has cyclomatic complexity 35 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-router.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6bdbfeb9fdf9036359b0afa879498984c265fda2b4b160cf3a207408ad261"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSlackLifecycle (cyclomatic 35, cognitive 34): parseSlackLifecycle has cyclomatic complexity 35 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4af2bc4ab77c0a6bf96a36da38a224de2d3452d2b0d4e4b2c02e960885c1bc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedInboxIssueConditions (cyclomatic 35, cognitive 34): blockedInboxIssueConditions has cyclomatic complexity 35 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":6659}}}],"partialFingerprints":{"codehealthFindingId/v1":"372d5e098f748ce167b26f2ee7fe57ff65cfc21aa403397f8a952c81b25d57f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 34): (anonymous) has cyclomatic complexity 35 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebcea7ca187dd08ef390c5bd40d90384aa7df70e93010b62d886e7245ee8ce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRunDelivery (cyclomatic 35, cognitive 34): inspectRunDelivery has cyclomatic complexity 35 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/run-delivery.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a3229a42be3fd6e6be5f71d74ee42fbe95085df92edd29b37df72de55f2d36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 33): (anonymous) 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":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35a82d84ee7f4505797ef3f9e5aaab3112508158ffd9b27b8579bc9c344d99e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeHookPayload (cyclomatic 35, cognitive 33): claudeHookPayload 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":"packages/paperclip-runner/src/governance-events.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8bb7f06743d017c241f6bd2b7e471316f60d377e3e0c5097f52a89db15b411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateUnlocked (cyclomatic 35, cognitive 33): updateUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"009ec7abc84821ee5dbd0258a3bbb87b60a64d743e4bd9ccfe126588887f7078"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatToolCard (cyclomatic 35, cognitive 32): TaskChatToolCard 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":"ui/src/components/task-chat/TaskChatToolCard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bf9965e128bddee7f612cbe6d806334eb1f4ae075c71650ec65c2fde8650ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 31): (anonymous) 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":"server/src/services/connectors/slack/setup/service.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8e8e0d2e349b0fd24f09c8cd0ce265193a7b03dad6a23fb8fd1e4ec2399f53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttentionQueueRow (cyclomatic 35, cognitive 31): AttentionQueueRow 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba306acb11ded67d47079378db8199e8b6c4c7472fe72f7c1921be2e6ef8d6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTrustRuleFromActionRequest (cyclomatic 35, cognitive 30): createTrustRuleFromActionRequest has cyclomatic complexity 35 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd646da3c55809b591c8d23f7de84294962d42cc8582a2d7742abf200fef9d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFollowupStopResumeFlow (cyclomatic 35, cognitive 30): runFollowupStopResumeFlow has cyclomatic complexity 35 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/followup-stop-resume-flow.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a84daf03bf0723cbdaa9748bc451a75a3b13cc812d5543160a7280d6c9390e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueWorkProductArtifactCard (cyclomatic 35, cognitive 30): IssueWorkProductArtifactCard has cyclomatic complexity 35 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/IssueArtifactCard.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0b70082c9981ccce603423d1425ac1c17e4a627bc9d41b5d04663c9d3fec66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyLatency (cyclomatic 35, cognitive 29): classifyLatency has cyclomatic complexity 35 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":"tests/runner-e2e/latency-timing.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af293916c1af0553f33044469531b295102022317f5a84692f1c2258aedab66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convert (cyclomatic 35, cognitive 27): convert 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a57ff4bd48a0178e2beb3f18566bc46d6a0bc4b341994a35aad46016f74837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveCampaignAttempt (cyclomatic 35, cognitive 27): reserveCampaignAttempt 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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1307d90ce632057204de1a7c32cd7fe5387aba992cbaf5892996027b6aab9f8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyHostContract (cyclomatic 35, cognitive 27): verifyHostContract 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":"tests/runner-e2e/chat-completion-testops-host-control.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"494d6a3ce552056f5298efdbfb76864cde95e0d6aafaca0ab4d384cfc9edeee9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueTerminalIssueInteractionChatPublications (cyclomatic 35, cognitive 26): enqueueTerminalIssueInteractionChatPublications has cyclomatic complexity 35 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e63d532f2d6f7526dec72840ab6d2ffe258c162e04c0f03caef1b1d4b9db3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareLaunch (cyclomatic 35, cognitive 25): prepareLaunch has cyclomatic complexity 35 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cd5b07cedc368d4c9d57ff7aacce395d79171443221016fe2ce14c667ed097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 24): (anonymous) 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":"tests/runner-e2e/chat-campaign-coordinator.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"da44495e872976dbdd6119a64f73a59b95ee9805c42cf4e1334ab811cffc076f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeAssignment (cyclomatic 35, cognitive 22): authorizeAssignment has cyclomatic complexity 35 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b292fc6152a2039714e26c0dbff03aac673c5981a746417abb27a6839d6968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeAssignment (cyclomatic 35, cognitive 22): authorizeAssignment has cyclomatic complexity 35 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf7612b4ce1bbe397188a60cce7f92e16f5cc92194bd6568add5c57a3f8a16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSettlement (cyclomatic 35, cognitive 22): readSettlement has cyclomatic complexity 35 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":"server/src/services/slack-conversation-lifecycle.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0597c865629f03aa7e1ce868b9d3a06b29a96c9c58e61480f9d4eabac13b99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDiscordNativeCommand (cyclomatic 35, cognitive 20): parseDiscordNativeCommand has cyclomatic complexity 35 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":"server/src/services/chat-discord-native-commands.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aeeeae0519046e3ed1cb30f785a2ac1a885aae55259a9f195268ab9acff8cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehomeOne (cyclomatic 35, cognitive 19): rehomeOne has cyclomatic complexity 35 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":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b37787ca9ec00c27f5e83469b3c55cb484c919b2ab4c21d9ea14edb841236c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeManualDispatch (cyclomatic 35, cognitive 17): authorizeManualDispatch has cyclomatic complexity 35 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":"tests/runner-e2e/manual-dispatch-authority.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e06c9acfb2829e84a3d770a178e7d03d21da74ad4fcf49120c4686b5a64e20c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAcpxCandidateAdmission (cyclomatic 35, cognitive 16): parseAcpxCandidateAdmission has cyclomatic complexity 35 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/paperclip-runner/src/drivers/acpx/candidate-admission.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb874f77975827ef7f1bf1a87213e6dd659cb6ec1e71298bbd8716e14d2941"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeConfirmationWorkflow (cyclomatic 35, cognitive 16): gradeConfirmationWorkflow has cyclomatic complexity 35 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":"tests/runner-e2e/chat-catalog-domains/identity-confirmation-workflows.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8863664f44184893c0ff317fc14d6149418cd6d1f85b97225d3b1e747dd4f871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validNotionOAuthInput (cyclomatic 35, cognitive 15): validNotionOAuthInput has cyclomatic complexity 35 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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth-contract.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b03edde59c40411641dd11846cf830f2c57add5b4de46dce832e132b62a613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeScopedAssistant (cyclomatic 35, cognitive 14): gradeScopedAssistant has cyclomatic complexity 35 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":"tests/runner-e2e/chat-catalog-domains/external-assistant-scoped.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83ca8d1e0b95e9f5b260f93a48a21474331b63c70cb948a8e5669f8be9256d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRepositories (cyclomatic 35, cognitive 14): gradeRepositories has cyclomatic complexity 35 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":"tests/runner-e2e/chat-catalog-domains/internal-repositories.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a680149dc8d97cc07974cbeb8452a9fef6ab742c99409ff629cc86731f9be8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeU1 (cyclomatic 34, cognitive 70): gradeU1 has cyclomatic complexity 34 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb33dd9dfd3edd2e9821e5d2c99e591b12e4b2486da48beba2c4381be9d9e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertBoundedManagementSelectors (cyclomatic 34, cognitive 67): assertBoundedManagementSelectors has cyclomatic complexity 34 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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"03259ab28dc3daa7d3aac814ee7093d4e5831504b061fd71c6c0a2a3cabbb429"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainConversationDeliveries (cyclomatic 34, cognitive 57): drainConversationDeliveries has cyclomatic complexity 34 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b47acf74bdc3a2065a47bc1ab734d4adf7148dc54c91b9791fd4fce076cd2a"}},{"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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b4181a4c8c0fa2f0412e40e7964a1fcf4205b8f5836212ba4fa607378ece37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCatalog (cyclomatic 34, cognitive 55): validateCatalog 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":"scripts/storybook-catalog.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca21935ad4176a7aff76a172cd975457fb49a586b57449929c0c49f660e2126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadGitHubGrantMetadata (cyclomatic 34, cognitive 55): loadGitHubGrantMetadata 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":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870232728d19e58a041a2c9fad3ad14a4f18dd8cf5b567be3736708fd45e300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 34, cognitive 52): (top-level) has cyclomatic complexity 34 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/paperclip-runner/src/providers/grok/launcher.cjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc24f504dc07b029ed5cb206c02bf9aa0dfe2f8404a281d1e86f47b1c9b2ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 34, cognitive 50): act has cyclomatic complexity 34 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-delegation.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"853ffe0679044b03ddd191acc09762724df578a6293c92b25043796a53664150"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeRuntimeEvent (cyclomatic 34, cognitive 48): sanitizeRuntimeEvent 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a85ed85989976b7308e9944e5d300ce0b75aa2c8bcd260a7f4ba1a23ea8eb29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProviderObservabilityLaunch (cyclomatic 34, cognitive 46): buildProviderObservabilityLaunch 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/adapter-utils/src/agent-observability.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37942538117a7818d5f0816a5442f1ddd67fd38513cfa018c7d907711720045"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareFirstTaskCompletion (cyclomatic 34, cognitive 46): prepareFirstTaskCompletion 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":"server/src/services/native-runtime/paperclip-control-plane-port.test.ts"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e649663d6afd5d88c2c4979cdddf3ccc75ae5f0caffd76dd243d79ed851129"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 34, cognitive 45): fetch 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":"ui/storybook/stories/chat-channels/chat-management/chat-management.stories.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5486b893d921c3a280de6ae54748c479c0c3640aada7ff19a668b2b8f0f04ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollStoredMcpTask (cyclomatic 34, cognitive 44): pollStoredMcpTask has cyclomatic complexity 34 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7650}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7bddc5d2e28b55da0da700c541a109695d414e257b87d442a830fbbf8fee5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function superviseLegacyWorkspaceMigration (cyclomatic 34, cognitive 44): superviseLegacyWorkspaceMigration has cyclomatic complexity 34 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":"tests/runner-e2e/legacy-workspace-migration-supervisor.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"08920681dd164dc4340375811970c202fa4b4ccae25f9bfa6d2f2f20b7e31fb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handleServerRequest (cyclomatic 34, cognitive 43): #handleServerRequest 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":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"3686b7d2042eef57cf5e50529a3392dff9bed739235ac327f78b6e9fdd748b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 34, cognitive 43): handle 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":"tests/restart-chaos/journey-oauth-app.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f688a3e86a51b37939cffd61206bce76b2c4efcc3bd1f51e59f1c63acf80459e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeApprovedAgentInvocation (cyclomatic 34, cognitive 41): executeApprovedAgentInvocation 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc182a21e89d801111510031f30f3f08cf99bb2116709034dd24de3b681f5c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restartDesiredRuntimeServicesOnStartup (cyclomatic 34, cognitive 41): restartDesiredRuntimeServicesOnStartup 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":9097}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdb6b14bd72d4fa57cf66f5ee971832702d5d01dc0d8fe26ec13d231118a36d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeHosted (cyclomatic 34, cognitive 41): gradeHosted 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":"tests/restart-chaos/hosted-grade.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cba2594c7e37fa9291984b43fe59a3605689a59a3e6e53be9802b8df584f24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onRest (cyclomatic 34, cognitive 41): onRest 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7448e38034738eb0747c11cd5f4fc40d03fd9dd8b7dc3048616eb14e170d18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function askPiNativeQuestion (cyclomatic 34, cognitive 40): askPiNativeQuestion 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf38d5eac0df2c1b4d00573d9c6a2012e541a83bd892c1ea2ac3cc74f8173e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNativeBilling (cyclomatic 34, cognitive 40): resolveNativeBilling 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13946}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e4a85eb791671538976ff8023246f995aaad2112afdf614434b82f30b44340"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePrivateFrameworkReport (cyclomatic 34, cognitive 40): validatePrivateFrameworkReport 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":"tests/runner-e2e/private-framework-report.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"50190ca192a792709e86a7b9e17284d8535ca238ecb0f362ef2f3acdc313e75a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRequest (cyclomatic 34, cognitive 40): handleRequest 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":"ui/src/components/mcp-app/mcp-app-host.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08c53ba1931fae045d6096be28278f891a534f1d5867d7c7108daa98f359edd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAgentFileCheckpoint (cyclomatic 34, cognitive 39): validateAgentFileCheckpoint has cyclomatic complexity 34 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":"server/src/services/agent-file-checkpoints.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6c605bb00761beca98e09917de9b20e42c34482f3e489d878356d207ad3ac2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePiDistribution (cyclomatic 34, cognitive 37): materializePiDistribution has cyclomatic complexity 34 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c522e111c54308b2c62545a5c57a76e11647ea0823fdd587afa1bc8cc21685"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 37): (anonymous) has cyclomatic complexity 34 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":"server/src/routes/agents.ts"},"region":{"startLine":6502}}}],"partialFingerprints":{"codehealthFindingId/v1":"662e1a66ed72f1ab48a6b55a9f7b201571878bae5c72e737c0298818dd5353eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 36): (anonymous) 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbcb69238cebefcde8ca3aac67c61443a310f3e275c9a3e65e8de36667eb9f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 36): (anonymous) 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"087d0092b9f550f35fa50c426db5649f8bff5b74b6d19f66178e102dd3ebf614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatChainOfThought (cyclomatic 34, cognitive 36): IssueChatChainOfThought 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dfbe9bb4e4a115801e7ad5794365b357870546ee91b6c942237828ba03faa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverSession (cyclomatic 34, cognitive 34): recoverSession 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"745ab9f81c65a2598e692af088ae4fa2aeb77f409536d176c6767d99626636de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchRoutineRun (cyclomatic 34, cognitive 33): dispatchRoutineRun 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":"server/src/services/routines.ts"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"a396e1d9ac206c655eff0d16ae308c23f83e061807ed3aa4d662d07c284345bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrustPresetSection (cyclomatic 34, cognitive 33): TrustPresetSection 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":"ui/src/components/TrustPresetSection.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae51030c2e9b261e6e719c9b81655133755a1ebc0c1549d025ca5b1aadc9c28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CliAuthPage (cyclomatic 34, cognitive 33): CliAuthPage 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":"ui/src/pages/CliAuth.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cfd1cf822dd17e5c9953134570d3943fa30285c5d300f7f9849244232300a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 32): (anonymous) has cyclomatic complexity 34 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c475cdf641a4d226f262c57a0e02c477113745fa9e26781da46f81bdbfff857"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeTaskDirectorySnapshot (cyclomatic 34, cognitive 32): decodeTaskDirectorySnapshot has cyclomatic complexity 34 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":"server/src/services/isolated-task-directory-snapshot.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4967704c48f607349e0c6504f57549cc4128829ab0dfed89e4bd8ccc09fbb45a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyRemoteRunnerReattachment (cyclomatic 34, cognitive 30): verifyRemoteRunnerReattachment has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15305}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c91619b3b7aac3cf9a7bf09cc88feaa763da95ee71b0b1b02881e7b566a7f8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startPaperclipCloudConnectorEnrollmentUnlocked (cyclomatic 34, cognitive 30): startPaperclipCloudConnectorEnrollmentUnlocked has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f8f3069cde64e6117426ed4ad8cb00ebbd5f2c303017fcb52fdc6a2d1d713b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceBaseRefRecoveryNotice (cyclomatic 34, cognitive 30): WorkspaceBaseRefRecoveryNotice has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceBaseRefRecoveryNotice.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa99687696228d73b6f50517fa47c5b8c81f33a9781d937c99d779b3c11d42c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHarnessDriverConformance (cyclomatic 34, cognitive 28): runHarnessDriverConformance has cyclomatic complexity 34 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/paperclip-runner/src/conformance/harness-driver.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"599e4c132ef7e64355fb0371cf3c1c12a8c78fa112db084421e5757d293ad3fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHumanDecision (cyclomatic 34, cognitive 28): readHumanDecision has cyclomatic complexity 34 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":"server/src/services/onboarding-first-task-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0daeb24803c67da69317526aeed787f808527ef1ea497479ac93e02ba7ae9ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 27): (anonymous) has cyclomatic complexity 34 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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"978d2af7e57ba122546ce49e8ae709c2b91c8eff0492d6ad12317494f9612607"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveChatCatalogQuery (cyclomatic 34, cognitive 27): resolveChatCatalogQuery has cyclomatic complexity 34 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":"tests/runner-e2e/chat-query-bindings.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f683952137381e6d449f35a2e906c7b822a4beb75c2e4c592fc03ece7d95de08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectedAggregatorApps (cyclomatic 34, cognitive 27): ConnectedAggregatorApps has cyclomatic complexity 34 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":"ui/src/pages/apps/app-detail/ConnectedAggregatorApps.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f683398cfddf6400c11a17969af529f89b9eae1104d21436c1014a1c8dd579d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateOrReservedIpv4 (cyclomatic 34, cognitive 26): isPrivateOrReservedIpv4 has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f3290c5885ec62691570ce7f478092cf332ba9147de0b4c215d26b9657a394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockSlackFileReceiptAuthorization (cyclomatic 34, cognitive 26): lockSlackFileReceiptAuthorization has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b9a73d3fdecd838aebe06ae70925a771cca42b1c3de1ec4890d94102950351"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateOrReservedIpv4 (cyclomatic 34, cognitive 26): isPrivateOrReservedIpv4 has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdaa8e48dde8d81d237becd080090e568e038099b5bd96edb1dca7047cb637f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubscriptionConnectionStep (cyclomatic 34, cognitive 26): SubscriptionConnectionStep has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4d394fbbf64af5c20275b6a8609d3b918d03fb52a369ea8e742208b20e34a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBraintrustExperiment (cyclomatic 34, cognitive 25): buildBraintrustExperiment 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":"tests/runner-e2e/braintrust-experiment.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"216b116d82dfe451c0af3cca30c671e8076c4f55fbeb317164bea006e164b8e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAntigravityJourneyFlow (cyclomatic 34, cognitive 23): runAntigravityJourneyFlow has cyclomatic complexity 34 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":"tests/runner-e2e/antigravity-journey-flow.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a60ba6f178ab86bf4c6c5fc5c0726b8a253704324ad1334eab64c6650c3120"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiConnectionSelect (cyclomatic 34, cognitive 23): AiConnectionSelect has cyclomatic complexity 34 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":"ui/src/components/ai-connections/AiConnectionSelect.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ad2416886255355ec78970c34126abc20a8789eaa1c71b7bb8398d3c1118d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeBoardResponseWaitSource (cyclomatic 34, cognitive 22): readNativeBoardResponseWaitSource 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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f85e7537f3628da77f093d7d022d61984b4cb3ae5a364c171dce1da2141434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePlanReviewOutcome (cyclomatic 34, cognitive 21): gradePlanReviewOutcome has cyclomatic complexity 34 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":"tests/runner-e2e/chat-catalog-domains/identity-plan-review.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a10c1a6e57557f1b4e590aec7bfbddf3259abdf2c41d1abb196333abe68680"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorSkills (cyclomatic 34, cognitive 21): gradeIntegratorSkills has cyclomatic complexity 34 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":"tests/runner-e2e/chat-catalog-domains/integrator-skills.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"586109e1b5921684a99609cdf2b29ce53af7bef8e2dbf172b48ddd253ce2edf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMcpRevocationIndexRequest (cyclomatic 34, cognitive 19): parseMcpRevocationIndexRequest has cyclomatic complexity 34 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":"server/src/services/public-mcp/revocation-index-contract.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12147840a677d7de477ca38563d73f54f50cb83947905fc67c32da669a7c472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWebsiteDelivery (cyclomatic 34, cognitive 18): gradeWebsiteDelivery has cyclomatic complexity 34 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":"tests/runner-e2e/chat-catalog-domains/internal-website-delivery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2f4c461f1a38c0a9442e41b8bf3294872695bfc156bc5b6e0872e16c608400"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAutomaticRepository (cyclomatic 34, cognitive 17): gradeAutomaticRepository has cyclomatic complexity 34 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":"tests/runner-e2e/automatic-repository.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8b8368fda3647ae83237cd36c811ad14d3e04d8d705642a0220173a1adcec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCronToPreset (cyclomatic 34, cognitive 17): parseCronToPreset has cyclomatic complexity 34 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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15428f27b4051de5babf7836ad8bb04bd0b78f1f660091925684e0047113ee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertOwnedContainer (cyclomatic 34, cognitive 15): assertOwnedContainer has cyclomatic complexity 34 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":"tests/runner-e2e/docker-postgres.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3452fb719ec731dadd02e2fc39f97596c4d2831e265d34eac00cff1a1cb5b2f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveTeamsInlineImageLocator (cyclomatic 34, cognitive 14): deriveTeamsInlineImageLocator 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":"server/src/services/chat-teams-inline-image-intake.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f2aa44cd303900029dd93a49c5d7b5c65874127372631041fe8a817e7ab016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function questionPath (cyclomatic 34, cognitive 14): questionPath 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":"tests/runner-e2e/question-resume-scoring.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f5a685016a5ac738334d19931cb86f5d14222179cf36329bfebe6acef433ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotDeniedEdit (cyclomatic 34, cognitive 12): readCopilotDeniedEdit has cyclomatic complexity 34 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/copilot-protection-evidence.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"23048871a44d6528b88646cbfe386546131bcdcdb4579c6b383d1664f70ad712"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRoutineAudit (cyclomatic 34, cognitive 11): gradeRoutineAudit has cyclomatic complexity 34 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-routine-audit.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6614bde19e3373f548c8c3862db5727d862537f49e7f4d9d100b1c61bdf32c3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadActualRoutes (cyclomatic 33, cognitive 82): loadActualRoutes has cyclomatic complexity 33 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":"server/src/__tests__/openapi-routes.test.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2988ff40f7089491f84980762e2fa9e2b48eed69d8f167b7e3d6e6e6b5004f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterPortableExtensionYaml (cyclomatic 33, cognitive 77): filterPortableExtensionYaml has cyclomatic complexity 33 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":"server/src/services/company-portability.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f530c553d636a09305003a387a2f5249731f93ca70fe6364f6f519e2b7d3349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStatements (cyclomatic 33, cognitive 65): parseStatements has cyclomatic complexity 33 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/db/src/migration-compatibility.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2d806efed197ea5ec19536dc1261a0816db0deae49caeaa07dd1b6099f4933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRuntimeServicesForWorkspaceControlInvocation (cyclomatic 33, cognitive 63): startRuntimeServicesForWorkspaceControlInvocation has cyclomatic complexity 33 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37cea5f982ed848c8e4145f3f65281e1a4762e92c47f6479fe3e18295b8748a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 33, cognitive 62): run has cyclomatic complexity 33 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":"tests/runner-e2e/docker-postgres.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"885eb12e894994e4207ad455a80196fa99fc666264b5b350ec963db65c0333c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createConnectionThroughUi (cyclomatic 33, cognitive 61): createConnectionThroughUi has cyclomatic complexity 33 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":"tests/runner-e2e/connection-flow.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac78d3fb8c27660389e6da2e72dec57261f14e10c095c717e3ee9480390c2e19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 57): (anonymous) has cyclomatic complexity 33 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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7612976bb06a711158b776ca478af3281735f25550f8b9af2923f2c22d73d83d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 55): (anonymous) has cyclomatic complexity 33 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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9bac3625bc17ae7854843c3c116bd7ac265af0b4de6aa9db2b64790218be1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchTool (cyclomatic 33, cognitive 54): dispatchTool has cyclomatic complexity 33 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7a3f49a29a43ca03198c118dd806c4ea56a63307cbe65a5b278547f87edb76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentRunnerTargetForCompany (cyclomatic 33, cognitive 53): resolveAgentRunnerTargetForCompany 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d534df786ce88e2ec7a23841b2b1f8f6faecfd20ea837f7e5f039ee73b3df6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverPublishedArtifactAliases (cyclomatic 33, cognitive 52): recoverPublishedArtifactAliases 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":"packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3fda88182521fb0ecff4cbf63a0f9e3cbe4ea6cfdcb113c655ede73c3288ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unsafeCredentialTransfer (cyclomatic 33, cognitive 52): unsafeCredentialTransfer 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":"tests/runner-e2e/chat-catalog-domains/external-credential-language.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c95f957e5d6d2184e99abde9c8efa97095826ebe1b2b8892fd237c1e13e598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #dispatchToolCall (cyclomatic 33, cognitive 49): #dispatchToolCall has cyclomatic complexity 33 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1986d8670dad491d8ba8cd22add669b0e1e8fa3df1b21e1b15c135eb4d24b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 47): (anonymous) 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":"server/src/services/subscription-report.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"997dc96812c88d406dbbc485d4fca6060584bcd1862a8dc334bfe7a299cafe2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCliOptions (cyclomatic 33, cognitive 44): parseCliOptions has cyclomatic complexity 33 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-vitest-stable.mjs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c019518556f50b6be52fa397f21ae5909d9217b7df2f8a42181e67261be5a8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireSandboxRunnerPortHolders (cyclomatic 33, cognitive 44): retireSandboxRunnerPortHolders has cyclomatic complexity 33 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":"server/src/services/native-runtime/sandbox-runner-port-holders.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab6b24e7a787d068dbfbfa51a8ee52ea607dec8be245bb14575277b350ded53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertFailedNativeRetryState (cyclomatic 33, cognitive 43): assertFailedNativeRetryState 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"243000509ca9dc1ca3f35dfddb0026481e9ed4fbd681821a66aba326103ce327"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 42): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":66457}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ffc513b2a82f23bcbecd8ec06ec400dd9dd586bea719653d26e0be0c06bd0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proveLocalProcessGone (cyclomatic 33, cognitive 42): proveLocalProcessGone 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":"server/src/services/owner-proof.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0f92ec243a1a205ec2d73c88f302268b0859b062691ab1d597f1f3de3efdc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processRequestFile (cyclomatic 33, cognitive 41): processRequestFile 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a3dd10951210a3f85b8fc023046741206b52f1dac64b745f064423b989baa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mintExchangeConnectionToken (cyclomatic 33, cognitive 41): mintExchangeConnectionToken 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":"server/src/services/tool-access/token-broker/exchange.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94959f894e7efb049b7ab8a8478dd98586a59b233eee109611828f13a77dd72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 40): (anonymous) has cyclomatic complexity 33 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":84870}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0648a647fc40b0959fcd1ba8cf3ca66ba87dc645e7203ffd86f5897e4ce75a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 39): (anonymous) has cyclomatic complexity 33 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a024caea68769765efc99fb17776db5deea0d3c9c5adc9dcafd2c5379b564d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeLocked (cyclomatic 33, cognitive 38): resumeLocked has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ff727c441b96e28beb8b70d9e13a05494a74bd7b9b1de9d2137acab7ed433"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateIssueThreadInteractionResolverAudience (cyclomatic 33, cognitive 38): evaluateIssueThreadInteractionResolverAudience has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe8265b96a53d5256c15eaf001d99073f0951a50fe573fad90f831e5baedecc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 38): (anonymous) has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4886c77fb070f135cf1d20fdc33b3992c24a672ef67da419dee027025d28b5bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bootstrapJobMetadata (cyclomatic 33, cognitive 38): bootstrapJobMetadata has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46cd484175e542b9b0cfc1062e20a538ce369eed3a2e707fa85e4cc9a233a9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runContextIntegrityFlow (cyclomatic 33, cognitive 38): runContextIntegrityFlow has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/context-integrity-flow.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"224b84ef686b2944f67cd05ccb90c88a5f9d1fcfcacdd8ac137afcda0ced77a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 33, cognitive 38): fetch has cyclomatic complexity 33 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/ConnectionPoolConnectorHost.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5329b7f68a219c32a351d446c77627b90fce6a307db7527d19bb72b6280ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function platform (cyclomatic 33, cognitive 37): platform has cyclomatic complexity 33 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":"server/src/__tests__/helpers/slack-cloud/enabled-quiet-host.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c11edd03ebc2406099f5b3c1f9494ad107afe67bb86954ac09a0c7940136d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSanitizedAcpxSpawnInput (cyclomatic 33, cognitive 36): createSanitizedAcpxSpawnInput 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/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"30099333fe0f3d2af7894f773c7b9b8efabeea22efd043f0329bdec44b1872f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 36): (anonymous) 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":"server/src/services/budget-reservations.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ab645b45d3466ace3f5edf4d2d3c5e2d9b7a4e104bfe890b4cd285deb683f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 36): (anonymous) 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7ce314d3b19150c4e9c9c8da0d49c0af56130394fe62f41927b81125b9ee83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSourceVerification (cyclomatic 33, cognitive 35): readSourceVerification 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":"scripts/cloud-source-verification.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80c05e7d5ffaae4ad11bc4b54f70dabc09196832fcfb9f82b579a3670312f1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completePaperclipCloudConnectorCallback (cyclomatic 33, cognitive 35): completePaperclipCloudConnectorCallback 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":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ef310d67ac2279c9ac33768f268197370843e3f953d003fd978591939dc36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 33, cognitive 35): handleKeyDown 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb41e672d9db5fc9a66e98c821415d3ae133d804e6ee77ed993b1096bcfb8250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 33, cognitive 35): handleKeyDown 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd1e557c23f3da0efd85ff1f520fdb83a8e18894357716a117e408618f1c882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 34): (anonymous) has cyclomatic complexity 33 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bcf5fd582a36ecd4c22ea256708fd5ee6f1503940975e0dd56651e51f0d97f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveRemoteWorkspace (cyclomatic 33, cognitive 34): saveRemoteWorkspace 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e259a83cca105ebb816df8bcc3c1f3b28ce7398211e9bc2d236e361da1afdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 33, cognitive 34): main 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-private-worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3568df7adf3fe70cd140125958e2c8d8ff2e61b45628898f3e4cd8ba65679"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setup (cyclomatic 33, cognitive 34): setup 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":"tests/runner-e2e/live-fixtures.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4adbfa3891cf50610f528240d2eb1a13800409885af8cf2644ecefcbf2167b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkManifestShape (cyclomatic 33, cognitive 33): checkManifestShape 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":"scripts/runner-image-layout.mjs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0833605ef72dee84645ba5b030dde1d93570ed7b844665085aee306cf720b86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 33, cognitive 33): refresh 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3838b227d3be60fc42a38d24ee7b43da5a55f2b6968f04ecb8b984b968a3e8c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNativeCursorCloudConfig (cyclomatic 33, cognitive 32): parseNativeCursorCloudConfig 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/paperclip-runner/src/contracts/cursor-cloud.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9878570550d1bc1dd3d4cb6b7cfd1e024deed1af9973cf64d53e2df451e8f8be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadVerifiedWorkspaceSnapshot (cyclomatic 33, cognitive 32): uploadVerifiedWorkspaceSnapshot 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0a5e3224c759eeabffb24c28a1746f60f4a1affaa48f886e388088abbd8306"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createIssue (cyclomatic 33, cognitive 32): createIssue 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":"ui/src/components/ProjectWorkspaceSummaryCard.test.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb75d0c4d5e53a92f66cbffbf23c3356801dfdf8af06621ffa6412cb6542ffb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createIssue (cyclomatic 33, cognitive 32): createIssue 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":"ui/src/lib/project-workspaces-tab.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"769527e86b5099dac189627f0b1146b0c75bdc3863b4d3b60d845e2f0ab1f52c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Artifacts (cyclomatic 33, cognitive 32): Artifacts 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":"ui/src/pages/Artifacts.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"54398818c148074e4c070454dea021c8b9523e80c51bd1c2a726083a33b1c19a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanySettings (cyclomatic 33, cognitive 32): CompanySettings 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":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dad76841c304cba36325cbdb25d0b631b90b75a886edd3649d917aaa20a26f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FailedRunInboxRow (cyclomatic 33, cognitive 32): FailedRunInboxRow 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5170c8a55ab2d2e5aa705b8b13ec9d7deae699767e1e50e176889841aa5dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstanceGeneralSettings (cyclomatic 33, cognitive 32): InstanceGeneralSettings 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":"ui/src/pages/InstanceGeneralSettings.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb912058753e2810fa06cbf68ba59c871cd40308216ca5049bcf9f9517a7c215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 31): (anonymous) has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e1c6a1a0d30a62bed12b89f4d6482b5a7866746b41eb99d917c958e77bae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapTerminalTurn (cyclomatic 33, cognitive 31): mapTerminalTurn has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-terminal.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cd53885ed87e137e87a36d235535db7df2227ab9e810c4ff3ea0467c570ddb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 31): (anonymous) has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdd602fd1a23b5092db613c915cc2b2046366253bbd6d9afac5ed03fc335f6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 31): (anonymous) has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/managed.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ab666556ff32a03b8924f54a3f1da5464a417bde91bd2fe8f4cd0d5a933c96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Proposal (cyclomatic 33, cognitive 31): Proposal has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ProjectAccessProposal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfde4d817a621ddfe9bd68c76bfe957281f6c2835fa9682ba5f029e91f1a04b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackFormOwnerConfiguration (cyclomatic 33, cognitive 30): stageSlackFormOwnerConfiguration 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5839575467a9b2cf4b005b1aad980e2db56504fe6ec8333ed483e9588ba1b54"}},{"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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6023}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8465590aa518c39cd0d61fbb8eb73a81d69660198936a2f123ea18d2b663cb"}},{"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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9f7ca861fd933862b8e13408e7988e1588239d449d9a46e809fe1724884c23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OAuthConnectStateScreen (cyclomatic 33, cognitive 30): OAuthConnectStateScreen 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f503f722ada505f6d12e1d4d2ab6da2282edc635b99dc0b46809e0de592db8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Search (cyclomatic 33, cognitive 30): Search 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":"ui/src/pages/Search.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ec1b8ef64bfa1df55e981f111b7e0d6cfc3888b47e1c0130920495df39285"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeFailedChatRunRetry (cyclomatic 33, cognitive 29): authorizeFailedChatRunRetry 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c3c3ae7213c9a9f1cef1d48ebcb84c0880c6244fd197c821f9099e2769ed73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreSubmittedDraft (cyclomatic 33, cognitive 29): restoreSubmittedDraft 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3e649d234c6ed0e6d6b372f5ef92473675bee3805979a42f2d07741e3b03ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideScheduledRetryGate (cyclomatic 33, cognitive 28): decideScheduledRetryGate 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":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb92d459241b6c48529d9c5b38796e99ef8c7fd02e157a9679965ba7b8cc0f5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function historyEpochBinding (cyclomatic 33, cognitive 28): historyEpochBinding 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a971dcb19c18a6db93c331d6d03b90fe67e6a7f43b04cab92195362cd04646a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConnectionSettings (cyclomatic 33, cognitive 28): resolveConnectionSettings 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":"tests/runner-e2e/connection-config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e8fb610765cb62ac5cdfb9432d227c6c6e2a31e4bdeccede4f07a2bcc84447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillCard (cyclomatic 33, cognitive 28): SkillCard 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f58c89dc57df4a06fcdd4f352a38a5e0e6a515fe183a80bf6a15340bfe5b3c"}},{"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":"server/src/services/chat-telegram-rich-intake.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a971963a115aed0d8a82be8764ffa335fbc87b89ee844a96826369d8bedfd00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canRetryPublishedTarball404 (cyclomatic 33, cognitive 27): canRetryPublishedTarball404 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":"tests/canary-onboarding/start-published-canary.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1d05dd2f02b6ea8aa7503c2aca29400c06454554a366f95641509dd5c384bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityRowContent (cyclomatic 33, cognitive 27): ActivityRowContent 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e57ddc41fed631e07a8d5ee1c39fc939db5a27aa6de2403e9c99667718eac39"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"255051a30d26202a877cdada513a96cfb1f523e137c7575e99a036d365283dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectOnlineLegacyWorkspaceRecoverySource (cyclomatic 33, cognitive 26): inspectOnlineLegacyWorkspaceRecoverySource has cyclomatic complexity 33 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c1d4c507e413b14cc25cfcb95b63f37e506d58a37daaff0ff96b015e707ee4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipCloudConnectorConfigFromEnv (cyclomatic 33, cognitive 26): paperclipCloudConnectorConfigFromEnv has cyclomatic complexity 33 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe17d1ccc8b1f7aaa0b031b1558208c8f71cc81561fc029042eec053fb746cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorkspaceRealizationRecord (cyclomatic 33, cognitive 26): buildWorkspaceRealizationRecord has cyclomatic complexity 33 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":"server/src/services/workspace-realization.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"41abfb55f5a9b644daa5746a4772ebf8e0cbfd3f6bad8ff3831ce02c11f669d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCompletionQuality (cyclomatic 33, cognitive 26): validateCompletionQuality has cyclomatic complexity 33 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":"tests/runner-e2e/completion-quality.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"53adfc450bc5ce1198e9bf1aac9945f5a55774ac75005e1f2451874b0d2db34e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ItemVerdictsCard (cyclomatic 33, cognitive 26): ItemVerdictsCard has cyclomatic complexity 33 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b91e03dfd82800b7bcbebdb279a72c181ad2182402bfb0a6629db679b28da0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 25): (anonymous) 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/shared/src/validators/plugin.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6285acb805446fd7363f4cca837bd559005b9219b7b19a1d269a17612e39438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 25): (anonymous) 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6211299b08aded8870ebb8ed85fabfd269171c5045bf39dad6ee2e5d97e3b92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 24): (anonymous) has cyclomatic complexity 33 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc973d6663de72ebcd43cb4dc1c61e4352418357caa80abbf409aa255815c40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionModelSettingsView (cyclomatic 33, cognitive 24): DecisionModelSettingsView has cyclomatic complexity 33 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9c13b46cebc9ce6ca59a89c1c1605bfc6d3ce31e97f3827506cea912d3389"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPrompt (cyclomatic 33, cognitive 23): buildPrompt has cyclomatic complexity 33 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649b99b76b66a6bf16748095ee9278747692b8ce2d4d64dd9a20fa88c08d09b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validStagedRunAttachment (cyclomatic 33, cognitive 23): validStagedRunAttachment has cyclomatic complexity 33 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"876a2b61ae94510e306248589ea9a1571c51cd11a0335c9b5248ae5ff4da2735"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentMailIntentSetup (cyclomatic 33, cognitive 23): AgentMailIntentSetup has cyclomatic complexity 33 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":"ui/src/features/connections/AgentMailIntentSetup.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"62031ba121557ec6cf4cd63c850cfe93e5ea8501aedf72861e183d39ed9a7509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readThreadFile (cyclomatic 33, cognitive 22): readThreadFile has cyclomatic complexity 33 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":"tests/runner-e2e/chat-catalog-domains/external-slack-provider.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe8e48ad83402e0ac36c047bde7717ab8de3fdb714c55bc8038cc0f59a815fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeToolReview (cyclomatic 33, cognitive 22): gradeToolReview has cyclomatic complexity 33 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":"tests/runner-e2e/chat-catalog-domains/identity-tool-review.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac7de0d9e53d1f0c81cee11e7b7962bfad99a5977146d911f201cb21be48286"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAccessGrant (cyclomatic 33, cognitive 19): gradeAccessGrant has cyclomatic complexity 33 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":"tests/runner-e2e/chat-catalog-domains/identity-access-grants.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d33eb0ea741836a8037646dea9935c458886d2741c6ced826be112f0b37661e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasBoundRevisionHistory (cyclomatic 33, cognitive 15): hasBoundRevisionHistory has cyclomatic complexity 33 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":"tests/runner-e2e/chat-catalog-domains/identity-hire-revision.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"16126c98136476f29792d1f620a67b707e72781de84377cbf02219e733ab2d84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInterruption (cyclomatic 33, cognitive 15): gradeInterruption has cyclomatic complexity 33 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":"tests/runner-e2e/chat-catalog-domains/runtime-interruption.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83545109f7684fc352749819c9eddfc971f585bad650f2e80ea865a3eb64651"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitDispatch (cyclomatic 33, cognitive 15): admitDispatch has cyclomatic complexity 33 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":"tests/runner-e2e/chat-completion-testops-contract.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb1d25986d529d285028625f11c2655d066c45032d12ae5b0e4335dd1b8ef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 33, cognitive 14): tick has cyclomatic complexity 33 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":"scripts/smoke/muse-qualification.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7eb2551495072103502bf8522be8967290d1b0d14012a7890f059a028c3a3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 33, cognitive 13): act has cyclomatic complexity 33 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-email-reply.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"847413728497b09070ec0f80fae497e2f1af16f7e88feedf0395b869c14959ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitLaunchPlan (cyclomatic 33, cognitive 10): admitLaunchPlan has cyclomatic complexity 33 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1901c4b730463ba504cdea8576e01fcdfdc1abc0dc5736e332739b6817db5bbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNecessaryQuestion (cyclomatic 33, cognitive 10): gradeNecessaryQuestion has cyclomatic complexity 33 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/necessary-question.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"83886850927445a3740fe8aebb6691cd51b566c5b70299ce26ba88229216957c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wakeWaitersOfStalledIssues (cyclomatic 32, cognitive 88): wakeWaitersOfStalledIssues has cyclomatic complexity 32 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":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ffaab590d2584fb5a69fadc81acca594ee902f205fbb9772d7e05c27037981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 72): (anonymous) has cyclomatic complexity 32 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":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"235de9c5b56d8bf1f14a27f21e6945e11dc6bcd89e9411811970583b34f0416c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageBundledEsbuildOptionalDependencies (cyclomatic 32, cognitive 71): stageBundledEsbuildOptionalDependencies has cyclomatic complexity 32 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":"scripts/prepare-bundled-package.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f9e169bf6bac075d3fa43b66a3af5240425527c9bc2b0273bff28d4819c67e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePublicProtocolEvalReport (cyclomatic 32, cognitive 63): validatePublicProtocolEvalReport has cyclomatic complexity 32 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":"packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8da7e08fb78afa958dbfc2373f089acfb5b04e939801ecd57cf9ca4a3d8827c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 32, cognitive 63): fixture has cyclomatic complexity 32 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":"server/src/services/native-runtime/native-retired-backup-source.integration.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16e32890574673f6667fe23418d9ea2532978389d2c1a2a928eb9d58f0f742c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 32, cognitive 62): walk has cyclomatic complexity 32 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe0085a0a8845ab0fb7f4bb7368c20a89f89653eff33d02673fe72c9f679b8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 32, cognitive 59): resolve has cyclomatic complexity 32 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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aff700a42b1b5266f10fbbc1d19393614243b4cf6b35f5d98040bfdbd62f261"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseManagedEnvironmentsSection (cyclomatic 32, cognitive 58): parseManagedEnvironmentsSection has cyclomatic complexity 32 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":"server/src/services/managed-config.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"554089623372be2dd5d0fc11f19b6792663a619c8f24641d7fc50db7410d65ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printCodexStreamEvent (cyclomatic 32, cognitive 55): printCodexStreamEvent has cyclomatic complexity 32 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1f8f5d8350bf22e1cf3487f9263dc720b59647035d21fa74018718973473b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 32, cognitive 55): run has cyclomatic complexity 32 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":"server/src/services/tool-connection-health-work.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e96456f28bc405c6574fa81422ab382c51604b04828c0afe089ebd597b74fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubRunReplyState (cyclomatic 32, cognitive 53): githubRunReplyState 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3c546fe1a14be147917f9bda0621d2272b062d47d6f543f90d1c335962575e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchFixture (cyclomatic 32, cognitive 52): fetchFixture has cyclomatic complexity 32 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":"ui/storybook/prototypes/originating-tasks/OriginatingTasks.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8849f1d88be8b832bfafc3653be3e145d68c5355296b1e68125bfcddc09b11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 51): (anonymous) has cyclomatic complexity 32 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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"348cc7a9eedad94ec7e54877c6201b2b6cf9ffe8e959ba40c361516c5459ba6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandReleaseSwapArgs (cyclomatic 32, cognitive 48): expandReleaseSwapArgs 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":"tests/restart-chaos/release-swap-schedule.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf89f56f6cc31679b5d35eaaf5df4424aa9b3468d8c0bca049027fd49f90b67c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printAcpxStreamEvent (cyclomatic 32, cognitive 47): printAcpxStreamEvent has cyclomatic complexity 32 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0342ad583679411ea251445a339f336c4dedf6acc2a9d56ad78341c262c95a33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeSkillSource (cyclomatic 32, cognitive 47): resolveRuntimeSkillSource has cyclomatic complexity 32 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":"server/src/services/company-skills.ts"},"region":{"startLine":5999}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee825a68907bb1b46a12086cd07109a63bdcdc78bc43bee0ccd02fc0038c673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 47): (anonymous) has cyclomatic complexity 32 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":"server/src/services/native-runtime/plugin-runner-release-resume.integration.test.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a09f0268ddc3a5dc1bfca7ff29f4f198ee4c9a75302d3c3120fcb8f6df5b54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printTextMessage (cyclomatic 32, cognitive 46): printTextMessage has cyclomatic complexity 32 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3668075a784f7f538a7e7c8800f3b6c2a952f2cb16fb6c7ff667c7c18255ec01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 46): (anonymous) has cyclomatic complexity 32 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":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"70884372411e43aa21cbcb4d24c944aad90f11c604e1ef9f034611bc50ee239b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReceiptDisclosure (cyclomatic 32, cognitive 46): ReceiptDisclosure has cyclomatic complexity 32 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6e569b6962abab28d6ff98ca14f2c047710a44d68b963e61a5375f955035ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryPendingSandboxTeardown (cyclomatic 32, cognitive 44): retryPendingSandboxTeardown 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b6ed285dbd42c6923a0a39890531a994db2d092d7cb997be0bde27d97de6ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walkTar (cyclomatic 32, cognitive 44): walkTar 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":"tests/restart-chaos/daytona-image.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d466dade42b19d7fe3b1d6cbceb6eb1f9d740e378dcabe6601d594bd14007d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeArchivedGitMigrationSource (cyclomatic 32, cognitive 43): materializeArchivedGitMigrationSource 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1039028b7cee1ff20f2d0f1415cca4b08e5af3165f28a0a332b26b3d94a14a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectReliability (cyclomatic 32, cognitive 43): inspectReliability 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":"tests/runner-e2e/reliability-testops-registration.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52574fa067ef530b6d4307db3de422010033e2814a0c82b42cbf11115ade7ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRunLog (cyclomatic 32, cognitive 43): readRunLog 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":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a539cecdb0faebd0074341c55d4fdb8bfe4b18bf1c1344cfd22489ba837d14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendEvent (cyclomatic 32, cognitive 42): appendEvent 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a497d08f25764d577c663eab9195e67d5ee797853ae6748ec434ef9b47c6429"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageBoundedArtifact (cyclomatic 32, cognitive 42): stageBoundedArtifact 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":"tests/runner-e2e/artifact-budget.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe21c82a481c516325c1671a620daf92b51fc97c506729f8e6e5da2040ff37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 32, cognitive 41): handle has cyclomatic complexity 32 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63b7ac99f481a0362f4dae6d79d2f88712c988231869df26e368e35ef4d3a3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeInstructions (cyclomatic 32, cognitive 41): materializeInstructions has cyclomatic complexity 32 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"2506266c8781e1b36ae2894f7a7103c955f0b61ac506cc0a1e3f1df3ee3a6aa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTeamsUploadResponse (cyclomatic 32, cognitive 40): classifyTeamsUploadResponse has cyclomatic complexity 32 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"2782acfb9d9baca986616665c587560b221f8bdcacc89d5692dd9209076b8abc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepMergedPullRequestConfirmations (cyclomatic 32, cognitive 40): sweepMergedPullRequestConfirmations has cyclomatic complexity 32 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d660ea6b01f132f45bc5e93ab0808b03e3076bfe9979e45af5a0bfbd4b8a8be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 39): (anonymous) has cyclomatic complexity 32 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":"server/src/__tests__/browser-use-connection.test.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ca9dea07f72515d8496235e79dc6a00e3883649cf10911b8ec61c0e8203182"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectEvalSchedule (cyclomatic 32, cognitive 38): inspectEvalSchedule 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":"scripts/eval-schedule-monitor.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"384a305c62578c74610d1471b874243d79046091f1d189de362eb3b97060dfcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listConnectionLifecycleEvents (cyclomatic 32, cognitive 38): listConnectionLifecycleEvents 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":"server/src/services/tool-connection-activity.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"79daeabcb128c97827f253fdb6e21003160868a7403a016e192127821e8d588c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectReadCalls (cyclomatic 32, cognitive 38): projectReadCalls 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":"tests/runner-e2e/chat-catalog-domains/internal-project-defaults.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d4274f1c329797803bfd0a1707630381f0944f909b8737f7d503e121ddbb83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 37): (anonymous) 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":"server/src/routes/issues.ts"},"region":{"startLine":10585}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8d627a4c7c34131aedca06400ced4df29385b1434e8a4c3f6e1890f6e0d524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveClaudeRunnerConfig (cyclomatic 32, cognitive 37): resolveClaudeRunnerConfig 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c37f24b89d7d6a65579f35d96291bc8f68fc5ac736b055c5912ac4c11038dbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runApprovedTestInvocation (cyclomatic 32, cognitive 37): runApprovedTestInvocation 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9789}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc46b1d81ecc127aa875a9d075f65044fa52efb47a92c0e54af31402828fe157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyNativeRunnerRecoveryEvidence (cyclomatic 32, cognitive 36): classifyNativeRunnerRecoveryEvidence has cyclomatic complexity 32 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"516a5cf5d930e094af3ed969fc09624d0ddde8d01e20f6ca8f44c77be0ab8746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runNativeActiveStopFlow (cyclomatic 32, cognitive 36): runNativeActiveStopFlow has cyclomatic complexity 32 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":"tests/runner-e2e/copilot-active-stop-flow.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44a2442a31600bec77617463011406455023171397290118f54403cabc566e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawn (cyclomatic 32, cognitive 35): spawn 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":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"af75fcf3138e317c64c37a8425147cd0fc5c3ba06e922e35bfbb88d646b4aaee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSelectableAdapterType (cyclomatic 32, cognitive 35): assertSelectableAdapterType 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":"server/src/routes/agents.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd7f80ea88c9e9d6e7c818f4f1fdaa371c99f941e58866344d2be02778c1c63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 35): (anonymous) 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"406f0a5340e032203a6820643cae2ecc19e0824802c7f6525b5b1dbe914ba7ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runKimiLifecycleFlow (cyclomatic 32, cognitive 35): runKimiLifecycleFlow 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":"tests/runner-e2e/kimi-lifecycle.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b12ecd3d1c87ba2628afc87f782ce3161fd515b263918f9ba5fb2df1a02d912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSingleReadEvidence (cyclomatic 32, cognitive 34): updateSingleReadEvidence 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/paperclip-runner/src/drivers/acpx/single-read-evidence.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8a2ecd17130ee1848cbee2a18c0310e66d640f0b53a9bb33296018daf7182"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 32, cognitive 34): main 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":"scripts/publish-announcements.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3cd63e251380a2e8a600a8cec473a1c9f3b1adcc7d703e2d8f25f64fdfc14a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 34): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":68316}}}],"partialFingerprints":{"codehealthFindingId/v1":"598bd6ba9c1e8166ffacff539bf0c61b272b597977e43f28815846d33635d46a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assessDelivery (cyclomatic 32, cognitive 33): assessDelivery has cyclomatic complexity 32 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"393d9060976eab22d0563240bf4ea5342ed7d4f1e1b930396f28c0bb96076f3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestConnectionAuthorizationCard (cyclomatic 32, cognitive 33): RequestConnectionAuthorizationCard has cyclomatic complexity 32 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf64f25d42d13059deb60676bde40e417f36c7f86175e10df2073ed1f8d9f68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGeminiStdoutLine (cyclomatic 32, cognitive 32): parseGeminiStdoutLine 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fb52d0c85ea0647a93733379f72b02aad279edcfc01e02cc8a86f402c7b4d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProviderQuotaClockReset (cyclomatic 32, cognitive 32): parseProviderQuotaClockReset 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":"server/src/services/provider-quota-reset.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"397a351628b3cd27a0d1d7b3235d4cf7fd931c34cfe13c99f9c958d0d5ae7435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAssistantMessage (cyclomatic 32, cognitive 31): parseAssistantMessage has cyclomatic complexity 32 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a7316d4eb83d1a75c7657cf7e40c65696f81dc1fc814ed2c84f26ef99b59db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyRemoteRunnerOrSettledExit (cyclomatic 32, cognitive 31): verifyRemoteRunnerOrSettledExit has cyclomatic complexity 32 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a7cc11b51d0c2a11d3777550fa48d1c004822466a8713ba75053935d755a98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PendingProposal (cyclomatic 32, cognitive 31): PendingProposal has cyclomatic complexity 32 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":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec485f1d1e94e6529d7fb205271557779e32d3d896ab33f0aa7163bfa9e2a37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createIsolatedCodexAppServerArgs (cyclomatic 32, cognitive 30): createIsolatedCodexAppServerArgs 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3963bf5431a719560d580bf4caa86bae8e9a263cb255c402590a5a26e6a54f6"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a444028ce6fbaebe6d1f914766eabcc3c2dac4467de26fac967f32f9c89956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPermissionRequest (cyclomatic 32, cognitive 29): onPermissionRequest has cyclomatic complexity 32 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5266bc9afdfa2fe8560a479f9c0076a7ea8e2e05410ca1e57965ce55d6c562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipRecordAcceptedActivity (cyclomatic 32, cognitive 29): paperclipRecordAcceptedActivity has cyclomatic complexity 32 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"019d010caa67110e166b226f4e9c53f5cfb3c46952db7bb91a19b0f8825e2e87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveMonitorState (cyclomatic 32, cognitive 29): deriveMonitorState has cyclomatic complexity 32 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":"ui/src/lib/issue-monitor.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"9660a34882a19bf42cd31a3155d917fc455f41aaa911094a5af257a33f5cb261"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStrandedRecoveryEscalationNotice (cyclomatic 32, cognitive 28): buildStrandedRecoveryEscalationNotice has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/stranded-notice.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"575ccfc3e8ea7c46f8f501eaae5b5a4f0f52a9e8a7edf0243525f79fd889257a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoordinatorNeedsYou (cyclomatic 32, cognitive 28): CoordinatorNeedsYou has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d0dc4f116f28cfd5a5df0509b0fe6b4fc26d5d612a65d3502c9e19bf762a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigurationTab (cyclomatic 32, cognitive 28): ConfigurationTab has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"5156129737ec1cd6da4fd19141867973393a68a324ee064026748ce7b254d156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTaskRetryRetryAuthority (cyclomatic 32, cognitive 27): readTaskRetryRetryAuthority has cyclomatic complexity 32 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2579f2df3564efb71b88612332a9b3f0493394849c013c1475ede6fb9ab1d2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderQuotaCard (cyclomatic 32, cognitive 27): ProviderQuotaCard has cyclomatic complexity 32 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProviderQuotaCard.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6598759745f17320ea5f0e612be9636d79cf0e1e556b9b74950f001fea535cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolActivityPresentation (cyclomatic 32, cognitive 27): toolActivityPresentation has cyclomatic complexity 32 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f573f3d7c49724be042dda1a89188e68dbe73f184c835225f429f1783374d4a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 25): (anonymous) has cyclomatic complexity 32 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/paperclip-runner/test/support/private-host-control.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a60f1067151c4848bc668947480b52a8736d970c5a644319cf3c47dd477989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanyExport (cyclomatic 32, cognitive 25): CompanyExport has cyclomatic complexity 32 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be31a22a2d92240c6cba2b6b79d55b2b1ac6a5c44d21c5cef97dfc4f8fc29cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 32, cognitive 24): observe has cyclomatic complexity 32 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":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f76afecb528d61b1c0502b0f4722cbbfff37de218b3cf201338eaf6ccacdc93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleMcpWakeProof (cyclomatic 32, cognitive 23): readIdleMcpWakeProof 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":"server/src/services/public-mcp/idle-wake-proof.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3a46d62cb151967a2665ee68bdf510b024125df1b09f290acdbeb9d3c14fbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireQuiescedSaves (cyclomatic 32, cognitive 23): retireQuiescedSaves 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e24e5c5e06b9b2cc975529535c5cf20955f029242114861e928fa136a8262a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveManagedPaperclipRuntimePublicOrigin (cyclomatic 32, cognitive 23): resolveManagedPaperclipRuntimePublicOrigin 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b76f21e69924e05b364fe08ee3644bb7e74746053f3eb4ff8d36c2491a34c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onlyCopilotAttachedOperations (cyclomatic 32, cognitive 23): onlyCopilotAttachedOperations 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":"tests/runner-e2e/copilot-semantic-evidence.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3525060df02f09acc1b49b0405b366b39a7a1c60c5fe6c9bd9f2500be56f14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 22): (anonymous) has cyclomatic complexity 32 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":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7dc3c71bb72a1e84f5d60bbe6d3a3c2a0ca8da484b33eda3e79810613b582"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSettledNativeHarnessBackupSource (cyclomatic 32, cognitive 21): assertSettledNativeHarnessBackupSource has cyclomatic complexity 32 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":"server/src/services/native-runtime/native-harness-preservation-source.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"debd09b5b51d7beed04c11f08c6b08994b6e17f594d28dfc25262143bc5c6158"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCurrentNativePassiveWait (cyclomatic 32, cognitive 21): hasCurrentNativePassiveWait has cyclomatic complexity 32 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e8c8362ea576655c37f7d8f44efff4c7dfda90118eaf9d2d453c16559eddff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeProjectDefaults (cyclomatic 32, cognitive 18): gradeProjectDefaults has cyclomatic complexity 32 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":"tests/runner-e2e/chat-catalog-domains/internal-project-defaults.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cbf86031ad08b3a922668b2f1524aaf5d953dfb55f4eadfd2a111cc9b9d354"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function origin (cyclomatic 32, cognitive 18): origin has cyclomatic complexity 32 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":"tests/runner-e2e/native-active-stop-evidence.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0553e8ff0fd6941d6d24852889f54ffd131792bc945cfad09b06236ae425e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admittedRateLimitAdmissions (cyclomatic 32, cognitive 16): admittedRateLimitAdmissions has cyclomatic complexity 32 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a781ada6a970ac6a6aefb66c7a46f32a546f94730d6864f6f9c13bc4c2b8e58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 15): (anonymous) has cyclomatic complexity 32 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/paperclip-runner/src/drivers/stdio-mcp.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307d5c64c6f29d4b4e09d25fe9fc6ef1aa91ec31e399c73dca9c6f320104bed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeFirstWork (cyclomatic 32, cognitive 14): gradeFirstWork has cyclomatic complexity 32 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":"tests/runner-e2e/chat-catalog-domains/identity-first-work.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51843b91d1aecc649fd4a030079790be7b00b0681c63e3a74fdcfdbd5372ed4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 13): (anonymous) has cyclomatic complexity 32 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbecb5012afc4e307db76a52a8738e8b8348f398d2e36cf87bc2f664c0b4e64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeReviewApproval (cyclomatic 32, cognitive 11): probeReviewApproval has cyclomatic complexity 32 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-app-review-probe.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b662112e9f6f990f840a3afb8a84f030015996adb9d7c1d0398123f6ab388969"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupUnknownEmail (cyclomatic 32, cognitive 9): setupUnknownEmail has cyclomatic complexity 32 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":"tests/runner-e2e/chat-catalog-domains/runtime-email.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b1ed9fb127513e9a6faff810ed368f95dc52c0a5074067529ce132ff5eddce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #pumpEvents (cyclomatic 31, cognitive 71): #pumpEvents has cyclomatic complexity 31 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8bf45bd0052fa0ef08d95e6b6393c546f304c184ce63b518e2ceac26ddcadb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 60): (anonymous) has cyclomatic complexity 31 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c3568a802b3dac9199c66e64192c12a3680b7f8941d5e5bc696e43e2943910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 55): (anonymous) has cyclomatic complexity 31 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":"server/src/routes/issues.ts"},"region":{"startLine":20675}}}],"partialFingerprints":{"codehealthFindingId/v1":"974127d8a79779500d83475de5ee7df1da0d4186928fa01d383261834ea8fdc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlBlock (cyclomatic 31, cognitive 54): parseYamlBlock has cyclomatic complexity 31 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/shared/src/frontmatter.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d55ea481ca7f5d51c30791966302aaf1a69a666000ff25b605f34655b31b961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveWorkspaceMetadataForPatch (cyclomatic 31, cognitive 51): preserveWorkspaceMetadataForPatch has cyclomatic complexity 31 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da732d6a2da2e657ca578dc903b530d18bbd10cca06a1b070b4d70b34209f13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupRehomedSource (cyclomatic 31, cognitive 49): cleanupRehomedSource 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9526c08cb2ce5ca6ee82fb6ecf04d490ba82acb20254e2b1c6d191a034a34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTranscript (cyclomatic 31, cognitive 47): buildTranscript has cyclomatic complexity 31 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/browser/transcript-model.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a00abda48dd2ac731777a4fc01125590bf0e1f9d31f222b9862bfd77ce5a215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 46): (anonymous) has cyclomatic complexity 31 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"551c5e2bf69df7abfceda8ef73d0c3424b49c9991d19420aecbe10199ec08423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceMessageWalk (cyclomatic 31, cognitive 45): sourceMessageWalk has cyclomatic complexity 31 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":"server/src/services/chat-channels/run-origin.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b269438a13c36e917b7de4219dbffc50078920c56e10dd767a05a668135e0d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHarnessRuntimeRequestResolution (cyclomatic 31, cognitive 44): parseHarnessRuntimeRequestResolution 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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaaee3e3f5df60422a2b3131a77b95d20b32a12f7cffd4a1678d7580e713958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectGitCloseReadiness (cyclomatic 31, cognitive 43): inspectGitCloseReadiness has cyclomatic complexity 31 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae92e9cfc3f81ff542e890e43363870abd84eab5550c5560b31e7dc6b53a810"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPromptInjectionProvider (cyclomatic 31, cognitive 43): runPromptInjectionProvider has cyclomatic complexity 31 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":"server/src/services/prompt-injection-provider.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"866a5e175d6c696159b86631f051ccefb9fff44425e5e888c3dd67940a700c49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveFeedbackTarget (cyclomatic 31, cognitive 42): resolveFeedbackTarget 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":"server/src/services/feedback.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab4dfab4fae2a96349064286629b1b28eaa211f620836b33ed669161d7bda1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionAttempt (cyclomatic 31, cognitive 42): connectionAttempt 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":"tests/runner-e2e/connection-launch.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8368f732b24a10ffe34a17a9403d444fb5c37809e181c63dedd2065a723cd672"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectPluginLocalFolder (cyclomatic 31, cognitive 41): inspectPluginLocalFolder 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"777a0a726d2305c19794ee17f5bceefaef5d8e9ce19f7f309d673da30ce942e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 40): (anonymous) 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":"server/src/services/chat-channels/setup-probes.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e4914109c1ea6940a8cb3a7b10d3c972c09846ce2a51840a21ec723233522b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePayload (cyclomatic 31, cognitive 40): parsePayload 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":"ui/src/lib/task-side-panel-state.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3096acd13fbf13d294144c25a54e5846ed39c32e47651a4b336ca44cdd542365"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 39): (anonymous) has cyclomatic complexity 31 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":"server/src/routes/issues.ts"},"region":{"startLine":19521}}}],"partialFingerprints":{"codehealthFindingId/v1":"74923a76eac9a3f69b2282c6d786a25adabddc12ee3ad1f1d9652df34471e9c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyEntry (cyclomatic 31, cognitive 39): applyEntry has cyclomatic complexity 31 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":"server/src/services/mcp-skills.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b693f7d5aeb16be547ffab64041124ad59c1b6d8d634e4b286f5d8f90018ada1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectTaskDirectoryFolder (cyclomatic 31, cognitive 38): inspectTaskDirectoryFolder 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"660ba8a5f7716e8f7a1c906ed2473cada48898b8dadedf6a223c36b1f9167d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 38): (anonymous) 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":14249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdcd02431aa89d2672864a5465a477084505493aa4ab2a00a0d32974f85fa49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 37): (anonymous) 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":"server/src/__tests__/muse-control.test.ts"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc81ab8e02b1a7914fff5e9c7cda9e029252bbd03413acdeb09cac243e205703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 37): (anonymous) 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":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"371a35b0bec9e76a229df87c7efa8864838fe43664965606a72dde8df95229df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTestCallStatus (cyclomatic 31, cognitive 36): buildTestCallStatus 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10821}}}],"partialFingerprints":{"codehealthFindingId/v1":"3357610ecd4bbbcca4e8d51fd64151e7820f2c1eb3e5f8b638d0bddc4be4a404"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exercise (cyclomatic 31, cognitive 36): exercise 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":"tests/runner-e2e/pi-controls-flow.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"987358ca1951c3eb2711ad0c2fbfd424c4dcab73563f9693167ecaf2210ccbe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promptServer (cyclomatic 31, cognitive 35): promptServer 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":"cli/src/prompts/server.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bebbacd6175e0137937e6c4abf38077a53cd32b4c261f9197acc7c9c6c0644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRemoteManagedRuntime (cyclomatic 31, cognitive 35): prepareRemoteManagedRuntime 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/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b58eb66aee354cfa12e969710458fe622628a105dde38b9f51902b19919831a"}},{"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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22b2029f70c2d495378318f2de99882ae42fed2bcdc8851a53215077dee03ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exchangeOAuthToken (cyclomatic 31, cognitive 35): exchangeOAuthToken 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":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65904248877b0c844440568406112df83918854e48158825e50cdbbeb431055"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 34): (anonymous) has cyclomatic complexity 31 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9610}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0be89cf2d247e23b9a5d45410420deb97803d86f0dc10dcf98304f00695347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureMigration (cyclomatic 31, cognitive 34): captureMigration has cyclomatic complexity 31 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1884ae3c062d038e428fdbed32172a9afc8685c067e1bad00088ac7b09ad6b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProjectWorkspaceSummaries (cyclomatic 31, cognitive 34): buildProjectWorkspaceSummaries has cyclomatic complexity 31 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":"ui/src/lib/project-workspaces-tab.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f14435f3996b88677801db7bf4cea5ab5f8c439da99ed95ec152169b606e16e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handleDecryptedFrame (cyclomatic 31, cognitive 33): #handleDecryptedFrame 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec49566be6bb0ba6e56ada5de557cdfea263b9d04373dbeb7a1ff2ecd4cea5c0"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":18404}}}],"partialFingerprints":{"codehealthFindingId/v1":"530ca5f8807ba1879617a8acfc24b8bdd25b29e19968a2c43b3728b1afc7ce1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lifecycle (cyclomatic 31, cognitive 33): lifecycle 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4bae36976b287c020ec35eca4536e292ad6a7349d02776acaeeeff84e139a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotInnerTar (cyclomatic 31, cognitive 32): readCopilotInnerTar 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/paperclip-runner/scripts/copilot-inner-distribution.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa358ab8bcba62fdfaf47a30e2771e8f505ded4aa0d63f0941a0fce270b2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 31, cognitive 32): open 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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"67034067aa9324abbb838362fbd2a2edcf344e3b74c2c25da891c7e3c5007172"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #startWork (cyclomatic 31, cognitive 32): #startWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6475}}}],"partialFingerprints":{"codehealthFindingId/v1":"422111d2b0c3a4711e166df165b1019e40fe419f850f2aecc67b2fb5ebaac040"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 32): (anonymous) 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16790ded2e681732dd7177c79f7241828d9b06d7cbeb458c2468dd280f964bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 32): (anonymous) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"113ef0866a97fe875d3f122f70ebe15b325729ec4ff76f2236b01bfa9db99445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseEnvironmentLeasesForRun (cyclomatic 31, cognitive 32): releaseEnvironmentLeasesForRun 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"421859feb418b6b895f380ed013ca868cad43ff9e096c7083a7d2d64d565ae9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitingReason (cyclomatic 31, cognitive 32): waitingReason 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad4dc11e52179954a74f926044a033b66b9a1b947cd27e5bc7622d5b025bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeReleaseSwapTask (cyclomatic 31, cognitive 32): gradeReleaseSwapTask 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":"tests/restart-chaos/release-swap-grade.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ae070bf617b64d8c51d8046279d9e1c6d58101000e3113fb2692dde9d17c8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BreadcrumbBar (cyclomatic 31, cognitive 32): BreadcrumbBar 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":"ui/src/components/BreadcrumbBar.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c75402f63c518ebc92afd180af80431c3f0c275654c0a731455912ac73056e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function referenceClassifyIssueGraphLiveness (cyclomatic 31, cognitive 31): referenceClassifyIssueGraphLiveness 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":"server/src/__tests__/helpers/issue-graph-liveness-reference.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8881406052a81112ab70d14ddd8f892759aaf7f638ae6e966c4c9d1c2bad2fd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 31): (anonymous) 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"695d87ba6d986e871fd348bf9d562ea2920176123253afc709160f860bf0875f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 31): (anonymous) 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":"tests/runner-e2e/kimi-context-rendezvous.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcbede5c19c13fc2c875ea75f47ab65ed40f7c0425afa18d01d4e7def896fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityRow (cyclomatic 31, cognitive 31): ActivityRow 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":"ui/src/components/ActivityRow.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2e9428524045a745f54a18b018965daba5b0e12fe9e2882c83849313c13071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CostDataQualityNotice (cyclomatic 31, cognitive 31): CostDataQualityNotice 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":"ui/src/components/CostDataQualityNotice.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae33b1068d001decbaed70bd4f2477323295016d649e15e6e8c60d19ebd528ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSlackFormEnrollment (cyclomatic 31, cognitive 30): reconcileSlackFormEnrollment has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab77d77995ac873bcf6efcc38f048845c07c9906cb0f7182f88e96aa5a97220"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 29): (anonymous) 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":"server/src/services/chat-native-progress.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b277481bab66e9bde6d84a4cfae068e75f96106303ac8400ddf12af3f0b63d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparedConfig (cyclomatic 31, cognitive 29): preparedConfig 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"12377b9c2b98fc7a004e768244cbaddc1ddee78a16e26ddbe188a9ee74617011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 31, cognitive 28): main 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":"scripts/smoke/muse-qualification.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7316ecf135af20a8f9e2e7b55d5bea4bc6894b42d5799cc9f548c2fb7220542f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 28): (anonymous) 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5823fe0be70b3ca874a9464661cb465a670b441c6424ce7b71e5a86afcd33e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preservedActiveCheckpoint (cyclomatic 31, cognitive 28): preservedActiveCheckpoint 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c338ee1d0887f1c07ad7d2ebb905276d66752a27b998526135b025cee25650fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestProviderLimitResumeRetry (cyclomatic 31, cognitive 28): requestProviderLimitResumeRetry 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":"server/src/services/native-runtime/provider-limit-resume.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dc8329018975bec61755e69e88a4329f643bf5919d2e37afcad1ec3ac73d86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthPage (cyclomatic 31, cognitive 28): AuthPage 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":"ui/src/pages/Auth.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08310626448ad8c69926993f47ce33e45a2aadff06dfba70dd5c835234b0d3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGitHubInstallationLifecycle (cyclomatic 31, cognitive 27): applyGitHubInstallationLifecycle has cyclomatic complexity 31 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f7df8b389860ae82c50f5e9450a2539b843af2a9990b75ec26833da9d85d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 27): (anonymous) has cyclomatic complexity 31 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3cfcd3ab2549cb781ce2e4253aea6cd5872c7ab1454dd8f6a255b5638c4dce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CheckboxConfirmationCard (cyclomatic 31, cognitive 27): CheckboxConfirmationCard has cyclomatic complexity 31 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b0533b9a35877d3bd6962b60ca7a8117a04b4afa0ec65eca043588a066555e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SortableQueuedMessage (cyclomatic 31, cognitive 27): SortableQueuedMessage has cyclomatic complexity 31 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dd634c1899000b8169eead29465fd26834a4e50a56bf6de0594f1c643da6c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSshRemoteExecutionSpec (cyclomatic 31, cognitive 26): parseSshRemoteExecutionSpec 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":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8b3f0583dd595d57f116cbdf74bf0da755b65009d342ccdf377541d8f85412"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCursorToolCallEvent (cyclomatic 31, cognitive 26): parseCursorToolCallEvent 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":"packages/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c4eb2322f7695bf776e1fd5f4de27afc693b184f025b200e663dd88bb12e19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptTerminal (cyclomatic 31, cognitive 26): acceptTerminal 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df343d4f7eb6138cc094c0ff9f0813ec2c465c0e37d6c4227aa686d248c074e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function priceCodexReceipt (cyclomatic 31, cognitive 26): priceCodexReceipt 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":"server/src/services/codex-pricing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"15946eeb96203c3f2e0c2dc7b264d20c3f4e83d445082f1f0276a0fdd2448c37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubReviewJourneyConfig (cyclomatic 31, cognitive 26): parseGitHubReviewJourneyConfig 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":"tests/runner-e2e/github-review-config.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc434de83e0fc4670c8f84a62dca622a10037356502674a5e4a104e53e3e1764"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useTaskPluginPanels (cyclomatic 31, cognitive 26): useTaskPluginPanels 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":"ui/src/hooks/useTaskPluginPanels.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d08753f716b64e6a941f89aca516381bcf587a55274e421617381a7ef397e0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 25): (anonymous) has cyclomatic complexity 31 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/claude-subagent-lineage.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a4fd0999e91bb5bac6cef9acd8c4956b12a1aa8e84509a1d4a63f1037b6cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 25): (anonymous) has cyclomatic complexity 31 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9c112069c3e0b5f708edba2a781c8ae78ea2ef166e0d983e51283334b213b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCursorCloudRemoteIdentity (cyclomatic 31, cognitive 24): readCursorCloudRemoteIdentity has cyclomatic complexity 31 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":"tests/runner-e2e/cursor-cloud-observer.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1868986a0f872789f0df197545836c87b16201d27cdbbe0e9fd96038d41144"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSavedSkillUse (cyclomatic 31, cognitive 24): runSavedSkillUse has cyclomatic complexity 31 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":"tests/runner-e2e/product-journeys/saved-skill-use-flow.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"689524492e8dbcba2df7df2883a827dabf0421888ae17b74143144b7ff3e7feb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRoutineHealthItems (cyclomatic 31, cognitive 23): buildRoutineHealthItems 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"189dce4129c5f81d52ee8779b536343d0b163117e4f78698a67c84fbae1ce6e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 31, cognitive 23): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-grok.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3264e5c397e0807a20407ccc2ac57950b6116fa02cc7a9ee0ff7f1b8951a45f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackSessionStopPayload (cyclomatic 31, cognitive 22): slackSessionStopPayload has cyclomatic complexity 31 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2794e06fc4f6f58cd0618e2d24e3ceb81b79c62662a30624b760c6b840246ddd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRemoteWorkspaceWriterHold (cyclomatic 31, cognitive 22): readRemoteWorkspaceWriterHold has cyclomatic complexity 31 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":"server/src/services/remote-workspace-writer-hold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8785b7b52527fb159c2b3030f52fbc6dd485d97ec862d0f42094f8499ac20d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DotRunnerConnection (cyclomatic 31, cognitive 22): DotRunnerConnection has cyclomatic complexity 31 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":"ui/src/components/DotRunnerConnection.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae0de1bdfebf9c1b614183fd8b9392e552efd36f4a49611f42b27dd11b84ba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 21): (anonymous) has cyclomatic complexity 31 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":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"39143347a47d0f29c61d3fe1a50be22f525ad14b62166a86e8649a1f63bc8112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rememberRecoveredNativeProviderPack (cyclomatic 31, cognitive 21): rememberRecoveredNativeProviderPack has cyclomatic complexity 31 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":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfde22c2f89fa3f556a02f1f2fac42da835b67242175ce721e1dde9d19db256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttentionCloseMenu (cyclomatic 31, cognitive 21): AttentionCloseMenu has cyclomatic complexity 31 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":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e52969e9e650b0b93f802d04c4e8def870b8b9074caf6472b49761f7d8bcc84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 20): (anonymous) has cyclomatic complexity 31 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b753588da83934ca287bdb2b25234ab7a3920f5693ad3ef4761ed454535daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInstalledProviderAuthority (cyclomatic 31, cognitive 18): resolveInstalledProviderAuthority has cyclomatic complexity 31 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/paperclip-runner/src/drivers/acpx/installed-provider-authority.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5a2512b4cd2e8f6e7bbda3c974e350a5963671ad92710882048659f288979f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAntigravityAuthorizationUrl (cyclomatic 31, cognitive 13): validateAntigravityAuthorizationUrl has cyclomatic complexity 31 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3076184b5ce10ccddec19ea259b57916037479f65a6054ba11d9537eab79a7ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function genuineHistoryWork (cyclomatic 31, cognitive 12): genuineHistoryWork has cyclomatic complexity 31 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/routine-history-work-failure.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54e07521aa3a9dfd62ef14e197cefb8253b21dec1d064e12906c2cb7e98290d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWrongResolver (cyclomatic 31, cognitive 11): gradeWrongResolver has cyclomatic complexity 31 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-wrong-resolver.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db0eb0602035cedb41970b6ca80f6b98f15c14e037dfac94ea976023fb48345"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskSearchEvidencePasses (cyclomatic 31, cognitive 10): taskSearchEvidencePasses has cyclomatic complexity 31 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/task-search-evidence.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cf3238ca84291735d8fa4eccf9bdde7cbf2662e17bcb1cdfcbccab4ab31b1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 80): (anonymous) has cyclomatic complexity 30 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":"server/src/services/secrets.ts"},"region":{"startLine":5703}}}],"partialFingerprints":{"codehealthFindingId/v1":"25872e0372ffa3e031bd46ba4cc2769ef827dcca641577350b62058f1ff75ab5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 70): (anonymous) has cyclomatic complexity 30 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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7eecc4ea580d60d3a18f61651723bd83b73da3135273073844a16c624ede15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedVariedFixture (cyclomatic 30, cognitive 64): seedVariedFixture has cyclomatic complexity 30 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":"server/src/__tests__/environment-retained-orphan-listing-cost.test.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f6cb08fd00baa01a06188ef32b47144d0c81d44e467a01c716b4b69db3f924"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedManagedCodexHome (cyclomatic 30, cognitive 63): seedManagedCodexHome has cyclomatic complexity 30 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":"packages/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1843f0503608dc7c3c1f9871873ebcf88142c38b758befc49e93876434d7c9f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function integrateImportedGitHead (cyclomatic 30, cognitive 55): integrateImportedGitHead has cyclomatic complexity 30 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac4f2ea49b232e0ec62f5abc69957b7e1c804b2fadeb9e3b8ffe5a42a59d4b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printAssistantMessage (cyclomatic 30, cognitive 48): printAssistantMessage has cyclomatic complexity 30 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9f6bcdb0a86ea0ede9cd261ffe112bd21584553b749e74bebb19530fd80162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEntries (cyclomatic 30, cognitive 47): parseEntries has cyclomatic complexity 30 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b2aa10161fb0d444fe6cb730ff6e4dd24f19252c1e33f2219e5e92d16b69ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTranscript (cyclomatic 30, cognitive 46): buildTranscript has cyclomatic complexity 30 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba02df06390f8ebfd8c9e914f48681d98c53beae1bcb17506c1d3a0c4eacb4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #observe (cyclomatic 30, cognitive 46): #observe has cyclomatic complexity 30 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2798d6d1a7975dfd45c253a9cc5ed02d5585cc2847a31e055d905ae21a413998"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageChatPrivateInputs (cyclomatic 30, cognitive 45): stageChatPrivateInputs 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":"tests/runner-e2e/chat-private-inputs.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2e957afbf8c67b87ce935f30eb4185f97745685fc1ecfe9ee3998b776f1bdf"}},{"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":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e35166d639b381f255a76fec8f98f061837e25b6bbc5f66e06484cee46d8b29"}},{"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":"server/src/services/workspace-recovery-preparation-gates.test.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffcf14300e8b7d6c72f342561cf264188d2a980f28afcc2a37335395498913c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveVisibleIssueRouteContext (cyclomatic 30, cognitive 43): resolveVisibleIssueRouteContext 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea694165713ab4d97869aa558ff580f15c5a397aec9ae7e51919943ce1eff06b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleAgentTimerSchedule (cyclomatic 30, cognitive 42): readIdleAgentTimerSchedule has cyclomatic complexity 30 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":"server/src/services/heartbeat/idle-timer-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"862000072e1f00dc7a63cf83bcbaef6d31f47a92a388c7554e30699a7044a35f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provenStoppedOwnNativeSession (cyclomatic 30, cognitive 42): provenStoppedOwnNativeSession has cyclomatic complexity 30 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf683230b4856d3a8fc0841e759d5860f75cd1bbd176b10cbdc681e63910254a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseItemEvent (cyclomatic 30, cognitive 42): parseItemEvent has cyclomatic complexity 30 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca50a0dc3f992119034e927d1de57ad06a9658c591dd461c8d4a8a45c3fa5bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createChatQuestionFormDraft (cyclomatic 30, cognitive 39): createChatQuestionFormDraft 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3a48f9b7213823478ce8627fbd4966e89d7f885c7ef4a4be3624464f69c35d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function argumentFiltersMatch (cyclomatic 30, cognitive 39): argumentFiltersMatch 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6642b0d72bcc1a0008f0ce0f2be1dbdfb71c610508f15b68ecdb1adfa914322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OwnedInlineEditor (cyclomatic 30, cognitive 39): OwnedInlineEditor 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":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d2e736f5182f77ecd4b616adae39a1dc4b677b45cda1639d4fa76a99b2007b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLiveEvent (cyclomatic 30, cognitive 39): handleLiveEvent 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36c9a3e09ba6234579377cd00f8bc0d65c761a7d1de907487c7905adbdbd1e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 38): (anonymous) has cyclomatic complexity 30 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9cc105384f9bd2a14b3ebf5d9d38c1a7b4c3f6f51f1f1adcd5a9242035ff88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 38): (anonymous) has cyclomatic complexity 30 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":4215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e147cd35cd7b9175b499ca8f1350f0b673bdf6c7704f23ffa2b56708fb069877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 38): (anonymous) has cyclomatic complexity 30 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7492}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c58d65aaf37962e0fbdece3f6b590ce2acffbfc8bebdc53f7c044e1ca32de55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callProjectTool (cyclomatic 30, cognitive 37): callProjectTool has cyclomatic complexity 30 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":"server/src/services/project-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c8b1f771e607a51d391e769803c2f3d46f6257d06b31ac7f31470da961cd93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildClaudeLocalConfig (cyclomatic 30, cognitive 36): buildClaudeLocalConfig has cyclomatic complexity 30 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/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f45ecddc035b00a48d6043cdb8ae3ccb13745f7c5da7e170bd886ab3f5f110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePublicChatPayload (cyclomatic 30, cognitive 36): validatePublicChatPayload has cyclomatic complexity 30 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1a5cf311d5e5cff84608ab04c7dd7765db70ecbc770257fa5f07e88ff5e3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 36): (anonymous) has cyclomatic complexity 30 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":26833}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4e5d3466c150b8b245c7dd0bed8d43e49ab7fab55310eb01580d2784de7b00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderChatCatalogQuery (cyclomatic 30, cognitive 36): renderChatCatalogQuery has cyclomatic complexity 30 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":"tests/runner-e2e/chat-query-bindings.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faddd8c73f71a449991c821549d94a5ced52152922b7a4463f56e81a47cedaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForTool (cyclomatic 30, cognitive 35): waitForTool 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"c515b04335d860fbfda21efa57c32ee57f8c4307c7e5d185ae6b845c7e3d9881"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process (cyclomatic 30, cognitive 35): process 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":"server/src/services/fast-responses.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdac3527f05d0d2dcb6c7395718569be6aa82ff4f3f093aee2ea9187c411b15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyNativeEvidence (cyclomatic 30, cognitive 35): classifyNativeEvidence 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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5893968e7b1db0ebe556279ff68c122be0f04e330c3a01f11d0e2a160bb6f89b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 30, cognitive 34): handle 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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"df99e5cd8d601ee4f097c7b8c0644acf9150f24103db388937cc2a6ae289ac14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 30, cognitive 34): request 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/paperclip-runner/src/drivers/codex/codex-app-server-driver.test-support.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"84de00f2c95e6aaf18d8f54bbcd4a9ffce9b429634854ffe82271d153251f7e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 34): (anonymous) 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":"server/src/routes/cases.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"778daf266cfb320d2fdaf4ae68cec6effc096b7376c28af74ed5b2ab9c73c41e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 34): (anonymous) 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add7c1feb3ca74068337648a2ac2b8e0a106988a4f9c9b95a08257cc77815f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSecretValueForAgentAccess (cyclomatic 30, cognitive 34): resolveSecretValueForAgentAccess 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":"server/src/services/secrets.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12b91bdec0de9c17921e21d1f9b069fda5f646e1c7b90a46a3e749712bfbe67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hostedSession (cyclomatic 30, cognitive 34): hostedSession 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":"tests/restart-chaos/hosted-main.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fccd03d58c5371cca7cc0a1ea29c2b5c57a592240e1fd3ab855344c3ec38a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 30, cognitive 34): step 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":"tests/restart-chaos/journey-driver.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c745855b8643f848dec2c7bf089aa2a4ffe09fef8a27b5c877f8b16257b5b50f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeFeedbackInvocations (cyclomatic 30, cognitive 34): observeFeedbackInvocations 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":"tests/runner-e2e/feedback.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b2f0d3b787d18ee6f9d1dc27c3747e33685c1b6c63bba3991e711aaf435f9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWorktreeInit (cyclomatic 30, cognitive 33): runWorktreeInit has cyclomatic complexity 30 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f465a29fae5b6c3cc5b29892c1be43194cb17ca2ad94ccdf677e0d9f1baa13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printToolCallEventTopLevel (cyclomatic 30, cognitive 33): printToolCallEventTopLevel has cyclomatic complexity 30 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c67c0a4c75b238abfd0a13ac8d83e147a22dd5e3759fee735d8ec3f9a6d61e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claude (cyclomatic 30, cognitive 33): claude has cyclomatic complexity 30 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"962d998fc15588d20ef3fe643a8d3a7b1f80cbc54f584cebb1356f282f71b6f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverOne (cyclomatic 30, cognitive 33): deliverOne has cyclomatic complexity 30 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":"server/src/services/budget-resume-continuation.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccd844c4fd4dd0b5cf37a7b86d4292debc329cf97ba68d8af81f93086401874"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 33): (anonymous) has cyclomatic complexity 30 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"202bc35c262ac48d0a0ca7c1099edbb2c6ae54b7d53293669f5e2132ff44aae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 32): (anonymous) has cyclomatic complexity 30 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":4377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1154a7703668d3e9243acdf52843bbeb754986d323e6176a51c64c9a80441ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMigratedLegacyWorkspaceSource (cyclomatic 30, cognitive 32): readMigratedLegacyWorkspaceSource has cyclomatic complexity 30 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-workspace-recovery-migration.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"774db8812ccf96b9c5592a5ca4450df1119e8630bbed34f0a4eb050e8b594c27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareDaytonaImageArtifacts (cyclomatic 30, cognitive 32): prepareDaytonaImageArtifacts has cyclomatic complexity 30 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/daytona-image.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcee5b9b038bbe012eba0e65bdda032864724bee9f6d370070c8232873c5d943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function guard (cyclomatic 30, cognitive 31): guard has cyclomatic complexity 30 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/paperclip-runner/src/drivers/acpx/antigravity-questions.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7638c161fa2426771029a05c632b1fa78ae2026000a901120d269b18fda608"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQueuedCommentQueue (cyclomatic 30, cognitive 31): buildQueuedCommentQueue has cyclomatic complexity 30 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":"server/src/routes/issues.ts"},"region":{"startLine":7843}}}],"partialFingerprints":{"codehealthFindingId/v1":"48650edbbc873abf5eb5294d600c9bb831ebbad842182796cd21d6d90b1b479b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentRunnerAvailability (cyclomatic 30, cognitive 31): agentRunnerAvailability has cyclomatic complexity 30 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5570a3d20120bce41dbdfcffe7cf6a1a24d26cc5825e5861cc7b1023a500b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskFirstResult (cyclomatic 30, cognitive 31): AskFirstResult has cyclomatic complexity 30 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"15efda7b21c56936191a01fe3385a0f989fa5d88857195eb6a331a4d4bb06bec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOpenClawGatewayConfig (cyclomatic 30, cognitive 30): buildOpenClawGatewayConfig 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/adapters/openclaw-gateway/src/ui/build-config.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"938c08d30705bad529e77dc83031026acbc7d5135ab7a586acb8406af3bf433d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handleSemanticToolInput (cyclomatic 30, cognitive 30): #handleSemanticToolInput 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f2f3046623f6bfbc7d2536e5ef0c08edbcd06dcd7315f0cb30be88fd272048"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 30, cognitive 30): run 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":"server/src/routes/projects.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4018bc01a6f310c3e6d917c027f1aacca576a98174389d4f8db03495406250c"}},{"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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b62e9e868cc7cb6eca2de31a9b3fa9d79c1fce4d6dd2efb9fbb949d39910ab7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSuccessfulRunHandoff (cyclomatic 30, cognitive 30): handleSuccessfulRunHandoff 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26788026e485ccd149a1a9ab3a8c96a859ea36ec36c6c8d1ae10fb6db86957a"}},{"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":"tests/runner-e2e/first-task-transcript.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9b04718c8317b23d855a2141531982a44c8271cba7bdd812232fca7831c0d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertProfile (cyclomatic 30, cognitive 29): upsertProfile 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":"cli/src/client/context.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c9c87238ddc85c0fc95963e7e1089f1957ae68213d5bf19114c5de4d8749e8"}},{"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":"server/src/services/artifact-review-documents.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7a50e376616c007f897cea74cbd0933fcae21f38ad906bfecea9e205506160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProjectExecutionWorkspacePolicy (cyclomatic 30, cognitive 29): parseProjectExecutionWorkspacePolicy 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0825e10a42f2afcd72cfcf0069ae30a7bd8f1600739ba94ef15b9ae911405ee3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRuntimeService (cyclomatic 30, cognitive 29): createRuntimeService 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":"ui/src/components/WorkspaceRuntimeControls.test.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2294c16599cba2dbea97f411fc0538018a58aea05e6867555c3f2a06699ab64"}},{"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/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39071b397899beeaa7e758070c3d5ae0d769b56adba779c5469ec83a78c6136"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inboundWakePublicationToReplace (cyclomatic 30, cognitive 28): inboundWakePublicationToReplace 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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39fcc698b99e2e90463ab3f1f29869ce7b9043d870ab1c902192fb6be974c7"}},{"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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a4d2514873f827a942a75574e2d1c47629ec55c551babf111d0eeb75796942"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startOwnedDockerDatabase (cyclomatic 30, cognitive 28): startOwnedDockerDatabase 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":"tests/runner-e2e/docker-postgres.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a92646cedbdf0f6737f309f2e1c98b148aa79525c4fd2a722eab8ce3bd6426"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function synchronizeSdkPublicInputs (cyclomatic 30, cognitive 28): synchronizeSdkPublicInputs 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":"tests/runner-e2e/source-sdk-public-inputs.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d173c8a6370f440899113f07171513cc1ffc7fb16c8d2b6f114e449cdb90d9f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 30, cognitive 27): search has cyclomatic complexity 30 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d619fc0140da269c6611d2aec8d528086e862735604bb15b9985d394db410b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureBootstrapContext (cyclomatic 30, cognitive 27): captureBootstrapContext has cyclomatic complexity 30 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":"tests/runner-e2e/testops-chat-reporter.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0597bcf4915034ad58a4a9adc910c1156611ecdeb05f8955c47368a577156556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatLiveRunPill (cyclomatic 30, cognitive 27): TaskChatLiveRunPill has cyclomatic complexity 30 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":"ui/src/components/task-chat/TaskChatLiveRunPill.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b41f14706b68bb00862b9401a5b434310834536d07e0c20ccf22a01ea893748"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateSessionCompaction (cyclomatic 30, cognitive 26): evaluateSessionCompaction 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":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a400be1e11e1d85bce2bde6e02897a97b52b360a4b37cf2cefa090bb8f5f46b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatProviderActivity (cyclomatic 30, cognitive 26): IssueChatProviderActivity 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"350abdb0a8afa0056ff53679eedefe7bee9b57e5aada74911d1c42fddf5a1a57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GoogleWorkspaceServicesDialog (cyclomatic 30, cognitive 26): GoogleWorkspaceServicesDialog 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":"ui/src/features/connections/GoogleWorkspaceServices.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a5ea2001a6a1a2e77bc71cba748c7b4762845ca478f1518de51fdc21fedbe"}},{"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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e577b5aec43e70c03c64b5b1a57657db2755f529244ad080ed42e83e59320e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactFileRow (cyclomatic 30, cognitive 25): ArtifactFileRow 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":"ui/src/components/artifacts/v1/ArtifactFileRow.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ecf977f34724a5ffc9ff17fa153442ca10a06678cfc5bdd9de3fb28211ff6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCron (cyclomatic 30, cognitive 25): describeCron 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":"ui/src/lib/cron-readable.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b4ec837020a51320e6149a6dce20d41e523189ecc894af696dd871e421d1b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BoardChat (cyclomatic 30, cognitive 25): BoardChat 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":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69ac05c4a211f1b3cd2f737cf8d2247ec296ec32ad33c233e3438e82e752cc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 24): (anonymous) has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba04b2f897fca51b597478b08a1148f5b2fa04eaada906bb256390af180077d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeToolCallEvent (cyclomatic 30, cognitive 24): writeToolCallEvent has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":2483}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e0d1d23d245e4bdf91993832a40a3ddc56797bb247828310a46f631e2113e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkspaceBaseRefDiagnostic (cyclomatic 30, cognitive 24): readWorkspaceBaseRefDiagnostic has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-base-ref-diagnostics.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8b4c262ef63294f77a07236a58d61d4aeb0475774a20f3d420f1a133141e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StarToggle (cyclomatic 30, cognitive 24): StarToggle has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/StarToggle.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e3097bc3b2ffdd75301dc8cf6fe00c135712177c781baa2cc4e3ec83b344c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SmokeLabTab (cyclomatic 30, cognitive 24): SmokeLabTab has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/SmokeLabTab.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2211aa97c29b2deb9a62387209eb74a8f743747726f25ad2b8b04986290f6075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanRoomPayload (cyclomatic 30, cognitive 23): cleanRoomPayload 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":"packages/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f60c87290c1dc7ff3611872217c3049444e0f724b9fd08d4f1898e91d2e9a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreUnstartedRetryInput (cyclomatic 30, cognitive 23): restoreUnstartedRetryInput 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56f7493dae54559a306bceb162924ea37c423d1d77ecc5227d08a36917f226e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FastResponseSettingsView (cyclomatic 30, cognitive 23): FastResponseSettingsView 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33a2a3fe65d9aec9034ba1de52afc6c48fbd2c0dc78c1a02d177105cda6a6f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorktreeSeedManifest (cyclomatic 30, cognitive 22): readWorktreeSeedManifest has cyclomatic complexity 30 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"121f7fb16694ab0b983c3c7418a68e900bf94e625bc914fd91ec0f15b70b6d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandForOperation (cyclomatic 30, cognitive 22): commandForOperation has cyclomatic complexity 30 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b30c530c1e897f08a4023e8eda5fbb43b4d90511464aabc379bcfd90f32688"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOperationAuthLevel (cyclomatic 30, cognitive 22): resolveOperationAuthLevel has cyclomatic complexity 30 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":"server/src/routes/openapi.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e0e04eecb6ee17334b4f0295a24ae28d31d06f74811efbcddf5afd963bb734"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adopt (cyclomatic 30, cognitive 20): adopt 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f1431f751bbe082cdd48c19dd5554ffe4a49f0159f38fb5262173aefe9aa30"}},{"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":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f194ac26b22a3aeb0dcd5fc1c4e914cc11842e7accbe98c4d65e1ffe648be9c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverLegacyProcessSettlement (cyclomatic 30, cognitive 20): recoverLegacyProcessSettlement 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":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"655797cb02dd8fbcd2135eedab8f05e0896caf6d048cd78de2d3d4358a260ea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeRefusal (cyclomatic 30, cognitive 20): resumeRefusal 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":"server/src/services/plugin-task-resume.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2078ca4faf3d1d751f2475f886b8051f76474f2d195d248c16ef9b4afa822c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 19): (anonymous) has cyclomatic complexity 30 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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16edf5122d89fcc83b64c303c0e1ba000a3ff0b2f37a02ee5c9cfeee7ee8ca1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyExecutionNeedsReconciliation (cyclomatic 30, cognitive 19): legacyExecutionNeedsReconciliation has cyclomatic complexity 30 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f9bf21c9bf08d0d91716724ed4839a9407e87296d936b83a9b80ffc64faba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 19): (anonymous) has cyclomatic complexity 30 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":"server/src/services/native-runtime/continuation-contract.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99c53fd0db25299d8354af44bf838c7f783eb24e2f8f274baff43473264749b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 18): (anonymous) 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":"server/src/services/native-runtime/native-workspace-export-recovery.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d0464a78209be43f4271d90bd49182ab0786d0cfc1ad74b70898e8fd6d44b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launchChatPlan (cyclomatic 30, cognitive 18): launchChatPlan 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":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0b75990e53c43a4cffad9bc059c39010148b581ec5a921f187e609817eb636"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOnboardingPreAcceptanceEvidence (cyclomatic 30, cognitive 17): validateOnboardingPreAcceptanceEvidence has cyclomatic complexity 30 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":"tests/runner-e2e/product-journeys/onboarding-pre-acceptance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"14414c0a365658c926656cbd18a7d95290193c43d5d98b2401fc470181956f82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedMaintenanceTerminalReceipt (cyclomatic 30, cognitive 16): completedMaintenanceTerminalReceipt has cyclomatic complexity 30 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0c8ffeae6b51bbbf25e73010ce780ef223f116d58c647f5dcbe42e24c15556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorRelatedWork (cyclomatic 30, cognitive 16): gradeIntegratorRelatedWork has cyclomatic complexity 30 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":"tests/runner-e2e/chat-catalog-domains/integrator-case-related.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb256a187556149d0132be9dfdb44e54b32014c2f2ddec9d4349f9023be1033a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePrivateDelegation (cyclomatic 30, cognitive 15): gradePrivateDelegation has cyclomatic complexity 30 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":"tests/runner-e2e/chat-catalog-domains/internal-private-delegation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf8deecb1e09c84e036531af7a875e41e9b02afede7493eebc94671b6e5c91c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAttachmentBrief (cyclomatic 30, cognitive 15): gradeAttachmentBrief has cyclomatic complexity 30 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":"tests/runner-e2e/chat-catalog-domains/internal-task-attachment.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a80f275f0f39dc5d032d1104619d069885d87d4536a3e95a86da8bc3fd253a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 14): (anonymous) has cyclomatic complexity 30 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c76629ad534dc98b837f6a111448695ff7177ff007194dca0fc187d00f6c551"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerContinuationCompleted (cyclomatic 30, cognitive 13): answerContinuationCompleted has cyclomatic complexity 30 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-confirmation-workflows.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8770b48e10345121d31bcad03a029005e3f0b958c61cf67a0a1334986bc233fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 13): (anonymous) has cyclomatic complexity 30 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/cursor-cloud-replay-fault.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c8e674b9a283b38f4e6ff2d606211feb7fbe18f24853102928ec44539c430b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSlackFile (cyclomatic 30, cognitive 12): gradeSlackFile has cyclomatic complexity 30 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-slack-file.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b4233c4131bd65b2d675b71e5109faba4fe6ea6e6ef8194f6972dae8fd0f9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeGovernedHire (cyclomatic 30, cognitive 11): gradeGovernedHire has cyclomatic complexity 30 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-hiring.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7e81a797acadada1333a4ff64b3b3b33ce8028d84b43a2855262eef25f4664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeStopAcknowledged (cyclomatic 30, cognitive 11): nativeStopAcknowledged has cyclomatic complexity 30 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/stop-redirect-flow.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7035d9611dba1903e22463b9f787e666266d68efde5e99fd1eceab69eb2e63a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativePreProviderRetryAfterCleanupStateIsSafe (cyclomatic 30, cognitive 10): nativePreProviderRetryAfterCleanupStateIsSafe has cyclomatic complexity 30 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5249}}}],"partialFingerprints":{"codehealthFindingId/v1":"69482c2455dfb421708dee41da3674994c3f577df4be96a1c7747fbc5af2d7c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 29, cognitive 59): fetch has cyclomatic complexity 29 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":"ui/storybook/stories/chat-channels/imessage-photon.stories.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee592da9e8e74cac093fd2577d60131324913d2922006252e9c1c69b0d5092a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planTasks (cyclomatic 29, cognitive 54): planTasks has cyclomatic complexity 29 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":"tests/restart-chaos/scheduler.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60358420c636e5062f7c04ea67c284ad1f3251160dc4e7783649a7b94099943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clampProviderSpanAttributes (cyclomatic 29, cognitive 52): clampProviderSpanAttributes has cyclomatic complexity 29 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f6c648eaa9564b4740df0e40754acaf04ed3351076ffa8e0c8d1625023e730"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 49): (anonymous) 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6dab1f6edfc1656438b80211573575cce9e1e99ca2eeb2fb4363ef66410ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCodexHelloProbe (cyclomatic 29, cognitive 47): prepareCodexHelloProbe has cyclomatic complexity 29 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/adapters/codex-local/src/server/test.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca099079e5ec3c811abdbf8fe9ceeab4be2f48fa4e77e8789f84bc0d42b826d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 29, cognitive 43): configure has cyclomatic complexity 29 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/configure.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fa04c23e7e467d1642c834acaa43427d656d70f3baed33ef7b1ed657163ccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rearmSlackFormAttention (cyclomatic 29, cognitive 42): rearmSlackFormAttention 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d049cb8ee26429955af98e8776873b120e92cf3f6941485e5aa4141f76bc258"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubBotRequestOnce (cyclomatic 29, cognitive 42): githubBotRequestOnce 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":"server/src/services/chat-github-client.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58e3abd3a39ed377774bdb0e79ca508107334f6b01c9a62acf1039e271636bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimQueuedRunsForAgent (cyclomatic 29, cognitive 41): claimQueuedRunsForAgent has cyclomatic complexity 29 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e4ccaf9659e47d9584af74cd3f8f3a87d480d4069b63ed81b9b58ee88a8b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateNativeControllers (cyclomatic 29, cognitive 41): migrateNativeControllers has cyclomatic complexity 29 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bb67fa3de404b99de239ae02151aad9dd95270abf9456e110d71dcdf8092e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 40): (anonymous) has cyclomatic complexity 29 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70f4eda2bd54eaf31aa49eac0eda905a88f08bd9969e12906705d5490195be1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeSlackChannel (cyclomatic 29, cognitive 40): authorizeSlackChannel has cyclomatic complexity 29 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":"server/src/services/connectors/slack-access.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"410ae6b394ccbc66dff9776f955379bbbfa3a0b3236ccdbef5db3449256272ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 39): (anonymous) 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":"server/src/services/agent-observability.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb53dcb9b7908ea6f17f66d4a98844eb1abc9298883688782de1c5f046aeff19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeFor (cyclomatic 29, cognitive 39): runtimeFor 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":"server/src/services/chat-channels.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"58578f95a5f144b6b40bd298e4c26ab9d43f123a3d98ec7116c74bccc5fd4606"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 38): (anonymous) 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":"server/src/routes/plugins.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c8b726e9c5bb0c3749c06b3513ded19c5e1766e8d358e65256e41c118919ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 29, cognitive 38): send 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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"608482cbcb8b46a9e6ee667a569bc865d74d1b36a92f7a993e51d4b97461be4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunReferencedProjects (cyclomatic 29, cognitive 38): resolveRunReferencedProjects 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7340cc401ff5ebdce7c8b768ac1e34006b3ef1ad8b29c81c303839c8f8e4d544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 38): (anonymous) 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4727}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc96f0a93a922c3cacc9a9f8dcb36fca876a15718b9486aa72db6882d8ec63d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capture (cyclomatic 29, cognitive 38): capture 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"809ae5cf2889ebe4b1e7fd8dd315669bcc2653f1efa4679d82eb9797675b3a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oggOpus (cyclomatic 29, cognitive 37): oggOpus has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cfaa58e380e8cd72cf0c02aacf5de7d6e33fd4800298c65dd4f2380aa42625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 37): (anonymous) has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"72370f354d7b4892c288dbb1ecd21f4fa57b887783f05ff8b688085598a3ae4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function longChatFixture (cyclomatic 29, cognitive 37): longChatFixture has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/perf/agent-chat/agent-chat-fixture.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aceb2249b3cb961f1678d0114ca1552b4ed3cee59d2a42c7bc80bba1092035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRowAction (cyclomatic 29, cognitive 37): runRowAction has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bcd9efe5d79e18c9b858b5c2208db8082ab33d98da98ff2c792a54950ab34c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAdapterExecutionTargetProcess (cyclomatic 29, cognitive 35): runAdapterExecutionTargetProcess has cyclomatic complexity 29 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"71000c0159b67358e84d21efa0bf25669262f99c6e69c057f981df622cdcf164"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCapabilityRunnerdProviderEnvironmentBase (cyclomatic 29, cognitive 35): createCapabilityRunnerdProviderEnvironmentBase has cyclomatic complexity 29 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"165554dc4189309f26a350807c0bab45c0dc8e7ee217993034d8f614b592a09a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCaseDocumentRead (cyclomatic 29, cognitive 35): hasCaseDocumentRead has cyclomatic complexity 29 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":"tests/runner-e2e/case-receipt-scoring.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb0719e57e1de51dcd81a8014a49fb607f67d17f8db68278119d14eaa0dbb84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sampleDefinition (cyclomatic 29, cognitive 34): sampleDefinition has cyclomatic complexity 29 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/shared/src/cliplab/model.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cbfc521cdbd40e2f8ea07ccfc4f74cf3af9b4d31b91c3f522efb81d2da1958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 34): (anonymous) has cyclomatic complexity 29 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18961}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33ca53dd8a27585db2109e5e3d733193550f98979dd4d922941ef75d9640e16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectChatMetadata (cyclomatic 29, cognitive 34): inspectChatMetadata has cyclomatic complexity 29 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":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb9c81f98e21c39cb6e267dbc81650952a09f87c0db4e8e158db8aece8a6f0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 29, cognitive 33): flush has cyclomatic complexity 29 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5be31d7443488a3299ab806247559f1ca1c4068fd523690095f0b87fb88269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveObjectRefresh (cyclomatic 29, cognitive 32): resolveObjectRefresh 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":"server/src/services/external-objects.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"875535466d0bf053abfa1ec1e389a7e9fb74329ab35ead4fe8b8fb6ce875461f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeEntry (cyclomatic 29, cognitive 32): closeEntry 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1da096f8a203658cf5062125bf8ce4d59d158df4da0a017215eb316c04cd7d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 29, cognitive 32): observe 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":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75848b70928338ee587b6f396814e48ab8d9105862fd001be23db7ce8df5553"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectEnvironmentOptions (cyclomatic 29, cognitive 32): projectEnvironmentOptions 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":"server/src/services/project-environments.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88c28e2aba89bd8c7b549ad50da90999cd39345045c0aa6374f5973948c1101"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 32): (anonymous) 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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a579431a20f796e08c89a32b37b59257c333ee3fdef1849b2becc1112c3ae76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEvalSessionCliArgs (cyclomatic 29, cognitive 31): parseEvalSessionCliArgs 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"633ec091691050c24e76f35f225f018d46b321a584e789832c99eb31bc8c2491"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeRunnerImageManifest (cyclomatic 29, cognitive 31): writeRunnerImageManifest 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":"scripts/runner-image-layout.mjs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6cd4b2ff52b71638809c030c35e72137ae059841f01347ed2cb9e10e0dc63e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAcpxStdoutLine (cyclomatic 29, cognitive 30): parseAcpxStdoutLine 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/adapter-utils/src/acpx-engine/ui.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2938a96b61b771305abcf269e895b6fe21a25ffa34d8a9f0ffea0111485ab11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertLockfile (cyclomatic 29, cognitive 30): assertLockfile 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":"scripts/cloud-migrator-artifacts.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2dee4368df71a912f740bde1bb19a06c22bb96aa7da1ee724afed361983c50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 30): (anonymous) 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":"server/src/routes/issues.ts"},"region":{"startLine":18027}}}],"partialFingerprints":{"codehealthFindingId/v1":"92080517b1689e0eb562a76619e23504071bbde2a1de039a04969bfab7d217fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 29, cognitive 30): decide 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":"server/src/services/decisions.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"32abc7613bea77c0b53d782b3e82d8f245825a76a068e7f014ffcda0bddaa10f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 29): (anonymous) has cyclomatic complexity 29 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":"server/src/services/feedback.ts"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea5b664f0a5c34b9e5c1e2944b31e9974bc79bac1bf5bd56288609897cde7f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 29, cognitive 28): constructor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a67967c17fcc44a800ce687042e918ee106cdbccd2761e090694205737b6fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishRelease (cyclomatic 29, cognitive 28): finishRelease 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":13691}}}],"partialFingerprints":{"codehealthFindingId/v1":"df444265d719c7d089440ce986d03ef8449aa4f03e77aaee66d7ab5e487e573c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAgent (cyclomatic 29, cognitive 28): updateAgent 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":"server/src/services/resource-memberships.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9683d7de29e4e5edd5bc7f19c82b2f59879a69a6bb078ff34d7eb4c17fac3407"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-app-test-native.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"145c3f100a6afcda8ebe16c3917966dd5d6ac00d1515a7a90143bdb42c514e20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClaudeLocalAdvancedFields (cyclomatic 29, cognitive 28): ClaudeLocalAdvancedFields 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":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a221ed4e465bc3639fe6a1fc63250b3323993cde0d3630c38c927e8876338073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeminiLocalConfigFields (cyclomatic 29, cognitive 28): GeminiLocalConfigFields 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":"ui/src/adapters/gemini-local/config-fields.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"741b205017eff04cd293eed96cb24dc956ecb947b05c6a1f080e5b4b17a4b6a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRuntimeService (cyclomatic 29, cognitive 28): createRuntimeService 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":"ui/src/lib/project-workspaces-tab.test.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ab134650e33279e801d5e0360209040dc49800ec4f199d0d4fc25ce7aacb89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlockedTaskCardBody (cyclomatic 29, cognitive 27): BlockedTaskCardBody 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":"ui/src/components/coordinator/NeedsYouCardBodies.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bac2e786cd1b9c637f6a9fc95b1be145506b870275b5cb69df5300c9ecf1adf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeRunLease (cyclomatic 29, cognitive 26): resumeRunLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e2bae4482c06544345c8ebf9165a33d18f102eec1a166aac53fdb29ccba378"}},{"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":"server/src/services/task-retry.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"5859a8bfffeff2fbf04c4cd1f15c4704f53721b6b18b09993ee3dae253b8eb7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Connections (cyclomatic 29, cognitive 26): Connections 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":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c471a9b1042cbf25b03efa61ac1561359779ff2312e99c4a14196479a4c003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailEndpointSettings (cyclomatic 29, cognitive 26): EmailEndpointSettings 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ca15110f8b17c631a888424402ab1c3af9a809966d14b0293504b3cd154c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GrokWorkJourney (cyclomatic 29, cognitive 26): GrokWorkJourney 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":"ui/storybook/stories/agents/grok-bot/work-journey.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c035c319cef8849be703e3382dce88f4e0cee6dbd4d9ee6bafb94e5221fb4399"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 25): (anonymous) has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-cancellation-request.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40937444d353ea73ce3d3521678a9e0cc7f9b9846044ffdf294b9536b243237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskChatProgress (cyclomatic 29, cognitive 25): taskChatProgress has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/task-chat-progress.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fccb5fc3c5da438c108e47e0e7c7d0d436c3e72ee42b516cc4743ecfcab7f82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 29, cognitive 25): handleKeyDown has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c925268702433238f0b6c9469f5fb6098879f334fd588cb4bdea1181ff62a4"}},{"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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec8a8f1c1496b2b55706eaeaeb835820e5c94c44bc1176270824bfb9f0ece0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareEvalGatewayRuntime (cyclomatic 29, cognitive 24): prepareEvalGatewayRuntime 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/paperclip-runner/src/cli/eval-gateway-runtime.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ac186fa6b10e0518b5f981868a4c82cdefcc437faa00158c307e37d2a27861"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeCoalescedContextSnapshot (cyclomatic 29, cognitive 24): mergeCoalescedContextSnapshot 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbc5df58c0908906540c4744561a2df7519733f1197f47849a4193465fad174"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocation (cyclomatic 29, cognitive 24): allocation 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":"server/src/services/photon/cloud.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5732d5b5925399a527c9acb2b2af887852101c05021f941533fc5497d18a0457"}},{"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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d7f3ff1edebea9983e1142bfc0665aaeeb7e4d1286ab2900ff4bfa923fa109"}},{"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":"ui/src/lib/patch.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b77d57cdffb0e2bd61aa86f32d0f07a5ac6e5bdc3f6aa02ccdc7f3d7e682c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeModelEnvelope (cyclomatic 29, cognitive 23): buildNativeModelEnvelope 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/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"878a65bdf0bb6189c669e8204b034de3e5acc9e61d8ba9e98bf8c79aab354cca"}},{"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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75a1395e45477f9f339dcfaf6706ede5560de213f2620d33ce09db5471a4b70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentInboundWakeNotice (cyclomatic 29, cognitive 23): currentInboundWakeNotice 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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"562ca9fd62f15f414c1422cad425502ed34c22dadc584ab8f17ba549c901674a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function teamsConversationLink (cyclomatic 29, cognitive 23): teamsConversationLink 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba9248ae7fb86760a8f3a44ed967b7214053e2ed7b5065cfdb56dac4de04f46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFormField (cyclomatic 29, cognitive 22): parseFormField 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb4aa35d6dc53cdfbcadf6e5f6e835f866f0131523a54e1287763b729031f39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 20): (anonymous) has cyclomatic complexity 29 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa254f74879aef62aedd67c0befc36ebe58e364af3a1ba3ade52c8c6c06c9927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentChat (cyclomatic 29, cognitive 20): AgentChat has cyclomatic complexity 29 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":"ui/src/pages/AgentChat.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb803f2effecf69601603d18940a8f9a4ec63762588509fe081d043bf5cb6870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInbox (cyclomatic 29, cognitive 19): gradeInbox has cyclomatic complexity 29 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":"tests/runner-e2e/chat-catalog-domains/internal-inbox-search.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d099f8a4f17d79bd3026bc3a962312c15d5c87cf003bc4cd9deef680f6e5ddf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeContinuation (cyclomatic 29, cognitive 19): gradeContinuation has cyclomatic complexity 29 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":"tests/runner-e2e/continuation-scoring.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43b0d9f8eac98b9c425dc7140011399ba9d2a8a8d794cdb0250069627fc89cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApiKeyConnectionStep (cyclomatic 29, cognitive 19): ApiKeyConnectionStep has cyclomatic complexity 29 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":"ui/src/components/ai-connections/AiConnectionCredentialStep.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"769327a9659ecf86d2c60471fb18aaab973e6dae223d419fea86fd80d099a0d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAgentSettings (cyclomatic 29, cognitive 18): runAgentSettings has cyclomatic complexity 29 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":"tests/runner-e2e/product-journeys/agent-settings-flow.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb9d3033f00fd28774d9147d2844ed651be3f88f2eee9e5a090dfad604275d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 18): (anonymous) has cyclomatic complexity 29 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7007fd36b30e08abda42464b4fba0579af96dc94ba4c48291e627e522fcf7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function campaignProductIdentityEligible (cyclomatic 29, cognitive 16): campaignProductIdentityEligible has cyclomatic complexity 29 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de555108403d8fd28974859c6e028643d2cfe1c853fc5ca46f11926eb3f403d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAntigravityJourney (cyclomatic 29, cognitive 15): prepareAntigravityJourney has cyclomatic complexity 29 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":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa837f2cf443ce03f1a106f52bd13c84d78788a0946eeff517ccacded1db8c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 14): (anonymous) has cyclomatic complexity 29 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":"server/src/services/native-runtime/antigravity-runner-credentials.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"330ee0e071c77903cce8ff78b13f3338e726731e9753228aa6b9d5dd459bc669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provePersonalSecretMissingBoundary (cyclomatic 29, cognitive 14): provePersonalSecretMissingBoundary has cyclomatic complexity 29 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1f2d32bc470c30bccacc559bbadb3bf55dce89806720f96d4648addb5b0579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 14): (anonymous) has cyclomatic complexity 29 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":"tests/runner-e2e/chat-catalog-domains/gateway-public-receipt.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"881a41261a5ed271e798f13caa3a7296e7ebdc2129fb565fe9ad678d7bf29ede"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesObserved (cyclomatic 29, cognitive 13): matchesObserved has cyclomatic complexity 29 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ac4980d76ee4fe20857e9557497764bef1b42bd79454dddae2b1330e715734"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revalidate (cyclomatic 29, cognitive 12): revalidate has cyclomatic complexity 29 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1869fe93181357e0f63835fe106c7280ae95dd37752a5d1dacd839b93348e7c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCursorDeniedTurnTerminal (cyclomatic 29, cognitive 12): hasCursorDeniedTurnTerminal has cyclomatic complexity 29 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/cursor-native-evidence.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076649fa16624ac5c4ceee991d371874b3a7f3940c9df45522d6be704e2a340"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function personalSecretWorkerReceipt (cyclomatic 29, cognitive 10): personalSecretWorkerReceipt has cyclomatic complexity 29 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d087d170fdb9cf1e80b49d5479c5452ac9afc2c708409452acec2bbe48be94d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRemoteHostRefusal (cyclomatic 29, cognitive 9): validateRemoteHostRefusal has cyclomatic complexity 29 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":"tests/runner-e2e/chat-remote-campaign.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ba2a1cc077a11d28c9ce31ac68ce4c63aa167f644abb5a58a907e6a22c5232"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completePosthogAuthorization (cyclomatic 28, cognitive 68): completePosthogAuthorization has cyclomatic complexity 28 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":"scripts/smoke/posthog-live.mjs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b9cb8d1ccb1ae3b4d6c62a342b77e9540e29a89b01b97c8520601836800258"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveRunStatusLabel (cyclomatic 28, cognitive 63): deriveRunStatusLabel has cyclomatic complexity 28 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a41b52d3a63c8663069579ac7cc074ec754d5e876f01a249599af1ffc1750a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 56): (anonymous) has cyclomatic complexity 28 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/paperclip-runner/test/pi-native-package-contract.test.mjs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"54708a63da8384ff9556fd322b7d5adb7726cd9151e2f658a39314db23471ea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 48): (anonymous) 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":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979fe09afcb3fc438c5c4a2964c92f50e8fbd62b276aecf7cf69b4cf2bc3f65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function awaitRunnerSuspensionBarrier (cyclomatic 28, cognitive 45): awaitRunnerSuspensionBarrier has cyclomatic complexity 28 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2064e791a9533827250eda29fb2acdfde284c524546ce5e0a70f52b228403f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 44): (anonymous) 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":"server/src/services/heartbeat/workspace-preparation.test.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48ef6d9874084abc3d54422ec9d03273d0e5840252611f36100d2117a451b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedCodexPlatformManifest (cyclomatic 28, cognitive 43): normalizedCodexPlatformManifest 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":"packages/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf44a80aa503d72160f8fe44416557a436f0a4bc622a7c3643a49b5d4997c8ba"}},{"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":"server/src/services/built-in-agents.ts"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a4ed944935115fdbb2eb0bc409e6d9f0667becd43e2b7c33ceb4d3f2acb196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 28, cognitive 43): fixtureFetch 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":"ui/storybook/stories/onboarding/onboarding-agent-arc.stories.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99065d9fbb1e209c05f6a3ca3862ddd94d5cf27888d27425eaee7c2137f9e03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 42): (anonymous) has cyclomatic complexity 28 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":"server/src/services/native-runtime/native-runner-restart-recovery.integration.test.ts"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f285a6757e5d68dd67fbc5197a9b7d341d3e15834ed82dc80da7ff3223825118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 28, cognitive 41): handle 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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0303503c47b3d318203962f896f6582e615fa927246bb86d866f9ff5a910d060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operation (cyclomatic 28, cognitive 41): operation 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c4f1971e69130339018cadaa7f3ed754b69fef9ca8eee073277eea2e74e140"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRunEventIntegrityFailures (cyclomatic 28, cognitive 41): nativeRunEventIntegrityFailures 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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b115ad7929ceccc624294bea29b664e2bd0ad0dd6562eb8c4516b33ae2f04e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #recoverRunnerProcess (cyclomatic 28, cognitive 40): #recoverRunnerProcess 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09739fef8f7c8112ed0aa2c247b6fbe69cfc2cd4ee6c1902cdaab7786ea6199"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":9775}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b14560a38c26cf59feae55d8659e5d9dd14f4d86281bef5513347fdf08cd0ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executePluginTool (cyclomatic 28, cognitive 40): executePluginTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":13755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac1ccd1548d6ad22633482eaa903622c461d44597ef63e03eceded73adfbf89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRuns (cyclomatic 28, cognitive 40): assertRuns 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":"tests/runner-e2e/product-journeys/onboarding-first-task.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c958ad41cf599dd572f8c995263808dd74a8ff1dfdf022504c3cec8b3a484a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function derivedRecordItems (cyclomatic 28, cognitive 39): derivedRecordItems 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8007b1aac8d9320138e7ba7cfd0871e44c03399e6c671ccded27e7c6b35e8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withNativeMaintenanceBrowser (cyclomatic 28, cognitive 39): withNativeMaintenanceBrowser 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":"server/src/__tests__/helpers/maintenance/native-browser.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00f7caeccd63b1794aae2b821fe01ef820380408bd353b296b093314c9a0c43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkpoint (cyclomatic 28, cognitive 39): checkpoint 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3eee3266d62e1daeaef07419e1b8ace83eb38efc6ffaa3c6070ac04d2808a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chunk (cyclomatic 28, cognitive 39): chunk 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":"server/src/services/agent-identity-redaction.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6710f4fff6b7c3ac008d3922626314acc045afd4dc941e46bc3cafb0fee6df1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 39): (anonymous) 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":"server/src/services/attention-receipts.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9e1e3113d6cb8a00e8308b09c4cc3dcc62666694a3b9a248539e08c339012d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWorkerNotification (cyclomatic 28, cognitive 39): handleWorkerNotification 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d91a3b23f8cb7e204f848ee1fdd6b82839f5c65eaf0d86a4625266394436ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mockedFetch (cyclomatic 28, cognitive 39): mockedFetch 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":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1ff691cb1ef62ac806366291892299ebf841467bd02ba605fb66ef6898c710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function worktreeCleanupCommand (cyclomatic 28, cognitive 38): worktreeCleanupCommand has cyclomatic complexity 28 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2882}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd56760494903b301daf6152f3e2ae0f04ab74ea4ea0258f1cc7a7a419ce7f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderOperationGroupsDocument (cyclomatic 28, cognitive 38): renderOperationGroupsDocument has cyclomatic complexity 28 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/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee81aab3edf439d0f5a913b5f99828fab62b12ee0a41354ac9892ae9dfd1270"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 38): (anonymous) has cyclomatic complexity 28 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":"server/src/__tests__/dot-runner.test.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"652fe379ee5424185fd7c5b45f0510e8057f0936163ed3f10d323b00f30e9816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 28, cognitive 38): send has cyclomatic complexity 28 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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b9cfc29e69ab8b681eaaae9a3218cbdf5b8cd3282ebb3a84e006fc1f5b1178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 28, cognitive 38): send has cyclomatic complexity 28 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":"server/src/services/native-rest-client.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce149c2ade3ff4fcfb49a363f2f94571df748b018c177e5a017f97d283ef614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 38): (anonymous) has cyclomatic complexity 28 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":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fb8e236631702480ef1e63e34ee6b7e45a79ef0cc3fb148938e24c0aa89db0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdlePluginJobSchedule (cyclomatic 28, cognitive 37): projectIdlePluginJobSchedule has cyclomatic complexity 28 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":"server/src/services/plugin-job-idle-schedule.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f035ab185c9b0ee154ef1a9526ac580537fe6161abcd866290acaf85d6e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 36): (anonymous) 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":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3304615e0f719a7199b41323ee740da9490cae2331f1696f6e1d4343266eb08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectStopped (cyclomatic 28, cognitive 36): collectStopped 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"543c67e769fc125fede310dbb40a8dd626bf258de80a103179aa86f314018021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveImportedSkillSource (cyclomatic 28, cognitive 36): deriveImportedSkillSource 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":"server/src/services/company-skills.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b414339c4fa957c1c71c5dd938c02bbfd85a4722901d1db8a03c9b6111d82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 36): (anonymous) 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":"tests/runner-e2e/preview.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"813b9004ab7f34ad0b38212cbd9d28c7509c8df36cd9765994baa5c6b24a709a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loginBoardCli (cyclomatic 28, cognitive 35): loginBoardCli 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":"cli/src/client/board-auth.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8114d0f069af4ebce551603136d3002bcee13ee3d7f6ff7263b1e7caa2e60e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function goal (cyclomatic 28, cognitive 35): goal 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"131a8e8d2512dd0a061a7cf8685c8cdaa2a211adfa7fff644a4fb5f56072bbf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityForAgent (cyclomatic 28, cognitive 35): capabilityForAgent 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":"server/src/services/runner-goals.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2940aa5813349114fa25a74dcf09d72e4b7235850475ad9b3867c9fe72bbfa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverSkills (cyclomatic 28, cognitive 34): discoverSkills has cyclomatic complexity 28 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fc60142d66ea6d0c0cd7030ba11f3c947be76894279563b0dedd8c1f67453c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkspaceSeedGeneration (cyclomatic 28, cognitive 33): readWorkspaceSeedGeneration 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c717c5bb5ac83b4f39a12f104467dea1cb88927154d5bfac2f1f704abdddf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetSkill (cyclomatic 28, cognitive 33): resetSkill 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":"server/src/services/company-skills.ts"},"region":{"startLine":5040}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafbfd14c82b7bba1f71bbbd9e7cf41357f2667384ba942f5877e1eef86aee32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 28, cognitive 33): authorize 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":"server/src/services/email-channels.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6e8ccaf918b5cb4af5a7a2e4a0a0d060238dda011ccbee8d5765e443bf7b3f"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e2fb8aa87273362baa630cca5733e423cca61ddb4de0f759cd923ff30190c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatIssueActivityAction (cyclomatic 28, cognitive 33): formatIssueActivityAction 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59cf65c7d30a47598486ab37c269a5eaa06eada307ef4891313d7020598d230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeKimiModels (cyclomatic 28, cognitive 32): probeKimiModels has cyclomatic complexity 28 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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"359ee83600e86893af05021a5590af4f412e62869dd06392b01b1c51b345f639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTaskWatchdogSubtree (cyclomatic 28, cognitive 32): classifyTaskWatchdogSubtree has cyclomatic complexity 28 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ea6a4c19e6f3ade27797df9c79e4e0e7f82177b5e47662354f972d72caafd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 31): (anonymous) has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7a25a9a4dc577abcad4b9849265472bbf5e36527da9c4c2323b90206d74b5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProtocolEvalCatalog (cyclomatic 28, cognitive 31): buildProtocolEvalCatalog has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572d999d4793fcda78a77a7b1218ec8763f7e78fa66dab1fff7ba6c4dd4bafb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectCard (cyclomatic 28, cognitive 31): projectCard has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ed1e9a613ed9d9027939f2f92fb3a1c05819691232888d88ef635564ae4ae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 28, cognitive 31): visit has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb57f3507ff25baa4222919e93d7f308e50f93656ee22b62082f28507dd1b9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function budgetStep (cyclomatic 28, cognitive 31): budgetStep has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/observer.ts"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3186057ca69d200c06471bd661ecd313d6d57a79be1f72eb1427c3a5bf6fc9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function questionStep (cyclomatic 28, cognitive 31): questionStep has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/question-handoff.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1c21ce436ce8a146b777057a02116bf2e63d354d65a5a4269acf712a19c77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolActionResolution (cyclomatic 28, cognitive 31): ToolActionResolution has cyclomatic complexity 28 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8dbdd550b71d9538c561027c3f400ca8179229111b927f8a0c7e7c406d10b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 28, cognitive 30): main 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":"scripts/prepare-runner-release-image.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa424ea900afff88dbf4d2cbed4cd30e7a65a305427e2484714ac5fd775c86d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkProviderPack (cyclomatic 28, cognitive 30): checkProviderPack 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":"scripts/runner-image-layout.mjs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"742d54a0d555337d0a37b458e8bd23084fe8c233d3fd7f942a0f35af9246d9cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runConnectionFlow (cyclomatic 28, cognitive 30): runConnectionFlow 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":"tests/runner-e2e/connection-flow.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7542051ac94d7d2e9103ce9470eef6d7d4ba776fd1dd52346e574a17f8570cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeStartupReuse (cyclomatic 28, cognitive 29): summarizeStartupReuse 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/adapter-utils/src/startup-reuse.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73433b1ac53ce30f2b4372763e05cf54cf428097bfdc3907f369549c7aac172"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudCallback (cyclomatic 28, cognitive 29): cloudCallback 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d93220ef5a75012e29676f1be8ce62b35849aa319a695aabdbec0b74701295"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNativeRuntimeMode (cyclomatic 28, cognitive 29): resolveNativeRuntimeMode 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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3a08bf654c4ed1c96be7d1033f8ea59e2f5ec9fd7355c21df339d1783d1e8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiscoveryCards (cyclomatic 28, cognitive 29): buildDiscoveryCards 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4217f4e106eb86e71a47ed94b2f8909420ccb499e5334120ba94ac84b788e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkMcpSkillEntry (cyclomatic 28, cognitive 28): checkMcpSkillEntry 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/shared/src/mcp-skills.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"807e693a84bc692412150a3e9a8509a3ec605f51b40224eeda3e8d1000671230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 28): (anonymous) 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":"server/src/services/issues.ts"},"region":{"startLine":9983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c6cb4554a0347b9a58e45c2afbdae13396e893a7afcf818e1e314e41ad0129"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPluginWorkerHandle (cyclomatic 28, cognitive 28): createPluginWorkerHandle 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"397092af322b781028739b635ab1b06139da3f4903e8916cc01f85df9bf9f3ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 28): (anonymous) 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":"tests/restart-chaos/storage-proxy.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ca6e9cf57fc90d1ad16aa21d74928e0e9bb17f1c00d40f0b61fed122d42c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 28): (anonymous) 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":"tests/runner-e2e/native-completion-scoring.test.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"106833d510e030e2d71eab9dd4d3645d1640dc3b774af7e18e5c8c03931d908b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 28): (anonymous) 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":"ui/src/components/coordinator/CoordinatorTaskCommitment.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93c55830c7c01c32d4fd0e010991f6ece3e42bdd0c5a98b5c80781682fcd0a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishWorkspaceSeedGeneration (cyclomatic 28, cognitive 27): publishWorkspaceSeedGeneration 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9574fd9246e09a09f83c2009e200168f7d747ddd4455ee9064257ce7c610bfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testGeminiAcpEnvironment (cyclomatic 28, cognitive 27): testGeminiAcpEnvironment 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"282116ccb9c7e979d07534ed99c8aa2d2ac9f7462a909af5706165e1ddcdde67"}},{"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/paperclip-runner/src/drivers/acpx/kimi-instructions.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b876077778c3dee8a21899ac5e154061a0e8e812c75c371534d14dcb4aee918e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSandbox (cyclomatic 28, cognitive 27): createSandbox 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3285a932619d81fe72bba76e5687782e2c679a3d373ab123db558ce8be947e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 28, cognitive 27): seed 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":"server/src/__tests__/native-workspace-sync-retention.test.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"469530f96025e4e8a5ca61f967a94a2c681d6c7565d5728c9c136bdec2691307"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyWorkspaceRestorationError (cyclomatic 28, cognitive 27): classifyWorkspaceRestorationError 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87f85d3f84d4137fee81fddc8bfb3f0a4d7f5b8e5211b1d65db3fe8c432b065"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreWarmRunnerdController (cyclomatic 28, cognitive 27): restoreWarmRunnerdController 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7655}}}],"partialFingerprints":{"codehealthFindingId/v1":"130c511b0ca15adec145e96dbbe03b999b5340757d32d4222b07661b19d6aafc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResizablePropertiesPanel (cyclomatic 28, cognitive 27): ResizablePropertiesPanel 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":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfbaf8b763fbf282c4326bb4a94dffe167c4df70b7b37ec6e45c86d67beb1c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClassicSidebar (cyclomatic 28, cognitive 27): ClassicSidebar 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":"ui/src/components/Sidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e714dd22d1c7b102b60f29a341a2bbd4bc1945bbef825cb45573e6b3f291d6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createExecutionWorkspace (cyclomatic 28, cognitive 27): createExecutionWorkspace 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":"ui/src/lib/project-workspaces-tab.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e30e4d109ee2e0859ffbcf3fe3b5073e1f74ff6c197dbd90fd37e7d32be189f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 26): (anonymous) has cyclomatic complexity 28 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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f3945443532709666d5770849f737d727bb85c898df726fe25c0839d46a913"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke (cyclomatic 28, cognitive 26): invoke has cyclomatic complexity 28 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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"691d2fbd95cc03fd58355176408798c5babf519f36b69264acbd948b2d240855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccountIssueDocumentsSection (cyclomatic 28, cognitive 26): AccountIssueDocumentsSection has cyclomatic complexity 28 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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1f2adc10e70bdcfa8b204f30e0596e7f78927bd3480078f060a6de5d5aa2f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrganizationIssues (cyclomatic 28, cognitive 26): OrganizationIssues has cyclomatic complexity 28 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":"ui/src/pages/Issues.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64224b053e56a9bac09b64dd793740be005e5fece76a35f1adc39ebdd83e73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DevtoolsInspector (cyclomatic 28, cognitive 25): DevtoolsInspector has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d468409d6950a3179f9edc7d53dfae1dc5f160c279e6a1fe156c9a11bb251ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 25): (anonymous) has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/assets.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cca7a1b4a85e672f3047e3011446d105d4b6405e5b246efec8f5e13a496e05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHeartbeatAdapterSession (cyclomatic 28, cognitive 25): resolveHeartbeatAdapterSession has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/session-preparation.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc17b777ed9a0a7077cd06beb4b58842718ff39b954bceb8d52fcf390dcf01f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconciledInterveningExecutions (cyclomatic 28, cognitive 25): reconciledInterveningExecutions has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-reconstruction-intervening-executions.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba420288c6c5190664e799f8c56e371b9924f738c3d1407e85e8eac75085cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerLostMidTurn (cyclomatic 28, cognitive 25): runnerLostMidTurn has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-lost-mid-turn-continuation.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"634080f33d1d5789a22a711be69e5a2eb8a9ece40d1123235e5eea8785bdb89d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCompleteIssueSnapshot (cyclomatic 28, cognitive 25): isCompleteIssueSnapshot has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issueDetailCache.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2790451824ab19e29423d8fe6ea6195a61491530077043f9cbf7d7a8d1bcc7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideReleaseRecovery (cyclomatic 28, cognitive 24): decideReleaseRecovery has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/policy.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5fc4d0bb22b2b7b6b695cb24cdc3d1f40a281a9606a454802bd1d5e6f6935a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEquivalentCreateRequest (cyclomatic 28, cognitive 24): isEquivalentCreateRequest has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a6804f0e01a078dbf0caa1ed76d6c6002f1c3a0c6f97ee1dbbae202f0b093b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 24): (anonymous) has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/client-metadata.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"460d7bd0f5402dd09c61a1ae85d76248f9982bc65a3fcaa758c0de379677a07e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectDocumentSource (cyclomatic 28, cognitive 24): selectDocumentSource has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-document-context.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4736e607f89903a2b2bba3fc50d6b2f9825c8ae86048303c35ab5cb6fd61abd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 28, cognitive 24): act has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-claude-account.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b1f28f4890720a616e3fb63568129605cea92b6956ac0d8194d7c348bc8479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillPane (cyclomatic 28, cognitive 24): SkillPane has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e76fef30e5fb37b6826b71a3fc31b0418d31c586f66ac59ef38972b67369395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubResponseExecution (cyclomatic 28, cognitive 23): githubResponseExecution 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":"server/src/services/chat-channels/github/response-execution.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f1c140a26c8719a883915acc123cf98dc3ea6935849726c6eef3a5c10706e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadRunContext (cyclomatic 28, cognitive 23): loadRunContext 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":"server/src/services/connection-intents.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3920dd52845eedf8b411bf9b2bc77de325e0e4c244a096f23d1726f355ddfdb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppDetailSidebar (cyclomatic 28, cognitive 23): AppDetailSidebar 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":"ui/src/components/AppConnectionSidebar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9883f5c9521f80d5c4bf5d2bead343a3364811fed94f099d88603a136c2f2b1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillCard (cyclomatic 28, cognitive 23): SkillCard 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de767cd18e380daf11a5ea6fdcb3a70b1dfb6a6f40cae6c177a9adef388b068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 28, cognitive 22): normalize has cyclomatic complexity 28 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-message-projection.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a429d9223b6ec962f49bae66dbb6da45c0aa398e935c07a46c32c276b68d02b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compatibleInstallation (cyclomatic 28, cognitive 22): compatibleInstallation has cyclomatic complexity 28 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack-verification.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9590894b9266cb1ee30c63e818de7a23e5c15c734b4aabce1da716c5ede60f13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseWorkSummary (cyclomatic 28, cognitive 22): CaseWorkSummary has cyclomatic complexity 28 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/cases/CaseWorkSummary.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"09baf0d3da3de6b2ea161c871f04289de6fc48ee0dee4abee81ceb11061a1e3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GenericMcpConnectStep (cyclomatic 28, cognitive 22): GenericMcpConnectStep has cyclomatic complexity 28 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa034048590354c70cef315332ac602c10a28f3573f0d776f1d57aebbcd15a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpxProviderFailure (cyclomatic 28, cognitive 21): acpxProviderFailure has cyclomatic complexity 28 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/paperclip-runner/src/drivers/acpx/provider-failure.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b39b7f275a0707d2d2335880d9345041dfbc379b7dee6d7433487ba959a341"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeHumanGitHubGrant (cyclomatic 28, cognitive 21): completeHumanGitHubGrant has cyclomatic complexity 28 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repositories-auth.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7ee93e0c8d58182331c519ac52a51d8d404c775221dd277a09703d197dd898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateWorkerTiming (cyclomatic 28, cognitive 21): validateWorkerTiming has cyclomatic complexity 28 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":"tests/runner-e2e/worker-timing.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a818da0c75d1d61ad8ccbdda48a1bc17c7089671ff45f9bce7f725b2d8d0c15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PhotonConnectStep (cyclomatic 28, cognitive 21): PhotonConnectStep has cyclomatic complexity 28 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":"ui/src/pages/apps/chat/PhotonConnectStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4b1df19ad9e9c2a39a2839130a9f4b832562983a7a76866512853d0ac62ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readReferencedSkillDescriptor (cyclomatic 28, cognitive 20): readReferencedSkillDescriptor 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0336534454c9e8317e64ac08316aed618940749ab4cd609bbcd7af7ee0e0cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verify (cyclomatic 28, cognitive 20): verify 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd32455dafda3e4964f726a72f0f9ac1307ec6be65675d4e729c415d0c9669ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coalesceIntoActiveExecutionRun (cyclomatic 28, cognitive 19): coalesceIntoActiveExecutionRun has cyclomatic complexity 28 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"8407eacdee80b286b313388bb13c92a2a2db58e64a7ef644fbeb0780fcf66f4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVerifiedRemoteWorkspaceFile (cyclomatic 28, cognitive 19): readVerifiedRemoteWorkspaceFile has cyclomatic complexity 28 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":"server/src/services/native-runtime/remote-deliverable-file.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b5b0a40fe8871e15598e7d3845f7268eb3f7c1b63638f55400a4176a3b2a96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareIdleSleep (cyclomatic 28, cognitive 19): prepareIdleSleep has cyclomatic complexity 28 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e236e008fe5629a268f38e88085f7464817f72ca7916ce25d0b8acc44acdcc4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 28, cognitive 19): finish has cyclomatic complexity 28 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50efb7885b63a6e3ad6bfe92a7263732733f20605c8bdb6caae73df66da3823"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPreDispatchReviewWait (cyclomatic 28, cognitive 18): isPreDispatchReviewWait has cyclomatic complexity 28 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":"server/src/services/pre-dispatch-review-wait.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f5099f91e5d01eb3ec16f7cf8b072abac83f9411f07eea8a367deab977aa59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validChatgptReceipt (cyclomatic 28, cognitive 17): validChatgptReceipt 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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt-contract.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5354b0757cb72203f0f85e6ce6227a661e1ef141ea779b0cefc42314bc0681"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchNativeSlackIngress (cyclomatic 28, cognitive 17): dispatchNativeSlackIngress 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":"tests/runner-e2e/chat-slack-ingress.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2e4e1c6d618a90867366a5fd55c0b54a73602c5fd07dda6703be3204209584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTelegramCallbackReceipt (cyclomatic 28, cognitive 16): parseTelegramCallbackReceipt has cyclomatic complexity 28 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":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1cceac5971e8796b2ced8553ad3c09f6bb12f8985189146fdb08955817b2c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCaseHandoffSourceReleased (cyclomatic 28, cognitive 16): isCaseHandoffSourceReleased has cyclomatic complexity 28 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"454a2ae8d87e9bad2c65c206962ed95d9eda7f2d6283170304dc35a005ec441b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTaskTitle (cyclomatic 28, cognitive 16): gradeTaskTitle has cyclomatic complexity 28 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":"tests/runner-e2e/task-titles.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b1f5ace86a54915678ce8abc2952e190c95c477219df591f34b80bf95fc591"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoardSendDraft (cyclomatic 28, cognitive 16): readBoardSendDraft has cyclomatic complexity 28 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":"ui/src/components/chat/board-send-draft.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c619998ddbe9c1b635395c2c39a8bac7305c0238bf8caa3454bf744d7e682fbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 15): (anonymous) has cyclomatic complexity 28 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-bootstrap-retry.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bc9a3a03b458f294ad7b20610165a51f85b84311699c9683880dc811c4859d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeIssueMonitor (cyclomatic 28, cognitive 14): summarizeIssueMonitor has cyclomatic complexity 28 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-monitors.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45c5c1f9fb074e74708a449084d8b93063057d8a11c466eec75e7811e5df9cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validSlackHumanConnect (cyclomatic 28, cognitive 14): validSlackHumanConnect has cyclomatic complexity 28 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-slack-human-contract.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2b6f6057e4522efcc956d272704c2058655d0edad87d8f1e9449693fb89ea6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function origin (cyclomatic 28, cognitive 14): origin has cyclomatic complexity 28 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/copilot-active-stop-evidence.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd2b100e0eaf6ccf9e4c480efeea064606b4c7d38a8342458eca792e642d705"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companyAccessIsolation (cyclomatic 28, cognitive 14): companyAccessIsolation has cyclomatic complexity 28 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/company-access-flow.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffe2faf03d58b6fa3b9c96902367a4031d5fba72381ae868bb7dbd37299d36a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 28, cognitive 13): act 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":"tests/runner-e2e/chat-catalog-domains/external-vault-reference.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd4c3e876bb6c293804a3db955c15517f5f60ad3568dd2df1c3a1d6a7d56894"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeExistingGrok (cyclomatic 28, cognitive 13): gradeExistingGrok 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":"tests/runner-e2e/chat-catalog-domains/runtime-grok.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b069048f309f0024617fc0ff48642419924d56cbe7c7db52162acb5fe8d5d246"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 28, cognitive 13): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-lost-sandbox.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c055e15b8625e4c77710c991943850f8d61b0313cdff6ab9dc0c9a47244f89b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSlackFormReceiptHistory (cyclomatic 28, cognitive 12): assertSlackFormReceiptHistory has cyclomatic complexity 28 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1daf992827bf0161a8657f4ee9b523dbb621614e2206a65c17be6cd1624ce0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesOwnedProvider (cyclomatic 28, cognitive 12): matchesOwnedProvider has cyclomatic complexity 28 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-provider-cleanup.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aafb8f197c769085da82a5baa28bea998ffec6f96944f938a59d3e9c6433914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHostedManifest (cyclomatic 28, cognitive 10): prepareHostedManifest has cyclomatic complexity 28 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/hosted.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c54df289e03dae3604fb5884c3b5f84425d65d9a7e6fec20bf5c7c11bae646"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePrivateDownload (cyclomatic 28, cognitive 10): gradePrivateDownload has cyclomatic complexity 28 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-private-download.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcf71b2adc8dbb959ca3c4e6aac47b08d11a1d5a0104d08ec844bf13762eabd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMacInitialInstallWithDiagnostics (cyclomatic 27, cognitive 83): runMacInitialInstallWithDiagnostics has cyclomatic complexity 27 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":"scripts/grok-public-install-sandbox.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eab58d2f7b401d17cc4ce1bcd0db5ee95e5b9190c208f95f836dc0db358c60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 27, cognitive 75): walk has cyclomatic complexity 27 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":"server/src/services/scripts/agent-file-checkpoint.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac1f1458c9c95dc1a795788ed96c91b3130cd96b0821e251f6f5970296ffefd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 70): (anonymous) has cyclomatic complexity 27 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":"tests/runner-e2e/redaction.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0faf18c99cccda242b6bab869024082785201aee2848ebb5a1bc4713c52085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverReconciledExecutions (cyclomatic 27, cognitive 62): deliverReconciledExecutions has cyclomatic complexity 27 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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b6eb2700e2a2e8b3503615d7c00ac60e7126a4bb428d6dd08624d0bbbeac2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function earlierToolCalls (cyclomatic 27, cognitive 55): earlierToolCalls has cyclomatic complexity 27 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/paperclip-runner/src/live/terminal-call-freshness.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f85b77f2c72fb81f8e5b405da2edbb4575b70705b9f93b6f4e913154b7586b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 53): (anonymous) has cyclomatic complexity 27 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1089281b6e06a6fcb661180f52d3f20bf66e42f067bc8f966eed772a61aace6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 53): (anonymous) has cyclomatic complexity 27 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b23be36ddd62ec648fadb12ebd0a41f353a3e32bca434950044edcfc32e9e15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function namedGatewayContextProtocol (cyclomatic 27, cognitive 50): namedGatewayContextProtocol 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bf8908e3f495f0773ea7e61efecffc5f7b374239ade6cfab5992283ddfbe1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planVerification (cyclomatic 27, cognitive 49): planVerification 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":"scripts/local-verify/plan.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"941b5aa6a9c5b7c5abc366f95fe4a48bd3315040acd2b0d367c4070c6a9168b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEnvironmentDriverConfigForRuntime (cyclomatic 27, cognitive 44): resolveEnvironmentDriverConfigForRuntime has cyclomatic complexity 27 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10a1e45e0a7a22ebac91ce5100a1859802d86f9938ff4c19706985c282a0bc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 27, cognitive 44): prepare has cyclomatic complexity 27 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/instruction-working-copy.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"29afc644bef3f8b8a812003510ebddff5480d5bfdf2ac68d53271201d9273ee1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 43): (anonymous) 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"6147fe0b25a10d0fe3555300946f96acc245215e9c866b8c1e6045bf811134b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyVersions (cyclomatic 27, cognitive 42): verifyVersions has cyclomatic complexity 27 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f229c71a3288269d8027f4722d84c4b7bc4ee8c547350232097022f8f75f2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 27, cognitive 42): fetch has cyclomatic complexity 27 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/chat-channels/speko/speko-pages.stories.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87f8f5044e2b6ac17be5ffa75283340043cc24ef99a0b6908aaa0a435184917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyDoBlock (cyclomatic 27, cognitive 41): classifyDoBlock 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/db/src/migration-compatibility.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fb987b45a38e41f501ce25d9a5a9484b772da9c67c6473f7df8a17005ca033"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPiNativeTool (cyclomatic 27, cognitive 41): checkPiNativeTool 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"806bc29c560c48e6b5077c7efe526710207d88c5ac49e219e2ee0f443dc90229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 41): (anonymous) has cyclomatic complexity 27 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e3f4c2026950cb0c8f282e048a7c12aee90b1cc7e9b83a4781963eb02970ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scopeAllows (cyclomatic 27, cognitive 41): scopeAllows 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":"server/src/services/authorization.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"6961f98a89c4118318735185c34c5d06a1cd01fd1294f745b34715cf3fe626a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionProjectionsForRuns (cyclomatic 27, cognitive 41): executionProjectionsForRuns 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":"server/src/services/execution-projection.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f3f74e14857560d4276ae7e14fac65f9129efb9bf39e836f785417713b9bc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doExpose (cyclomatic 27, cognitive 40): doExpose 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":"packages/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a8c710b115e9ac5442a678890ef2a038986dd6ee05ea0bf6245dd22ec7caa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTimerHeartbeatSchedules (cyclomatic 27, cognitive 40): readTimerHeartbeatSchedules 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":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec32dee5ce67390140f5dfada1e6f9fc1f1871e1ea070bb58577decf749f826"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planToolChanges (cyclomatic 27, cognitive 40): planToolChanges 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":"ui/src/lib/agent-configuration/tools.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7913712f00607baa777469f3c6914bab9f4b30cc5c2920c979cdba81bf323208"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 27, cognitive 39): reconcile 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc817e9f3b845d939f99566a21aaf825b2c3651bf0ae15dc836959494f9d74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 27, cognitive 39): fetch 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":"ui/storybook/stories/budgets-costs/costs/subscriptions.stories.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"329dc4534af374b23324a0696cbc2072d17210ccaadbe33f3e364c75dce28ab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertManagedAiProjectAuth (cyclomatic 27, cognitive 38): assertManagedAiProjectAuth 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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0a9a97b50f21f96bb9fdc0006ae31044a3125a6249dc66cf9822812573d548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assessProviderTraceEntries (cyclomatic 27, cognitive 38): assessProviderTraceEntries 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"994bdb456b6b790f50f26da32a8f6aae86daad6d6f646dadafe77f95cc131e28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importPackageFiles (cyclomatic 27, cognitive 37): importPackageFiles 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":"server/src/services/company-skills.ts"},"region":{"startLine":6246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c091798b8145a2a89c23126f67e6d33e1ab4cfc61140cf45421cd9cca56fb16f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeCopilotConnection (cyclomatic 27, cognitive 37): probeCopilotConnection 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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2a9b1514b5021f1fe07cea7399439b75534b5fdc906cbbbd71e893b79749ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 35): (anonymous) 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":"server/src/services/chat-github-checks.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63f610e80ee973dd100664403d4ea66120df39af122b04cdb8d0969afbfe4bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 35): (anonymous) 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18532}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15a364ca130e61e487761a24de407399f9678d556afed70c9c6591e64b6bace"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepOrphanedRunScratch (cyclomatic 27, cognitive 35): sweepOrphanedRunScratch 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":"server/src/services/run-scratch.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b40e2abda3a2892f2c8b9b8f2c13949c17685d6c331a41baf422add848074b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 27, cognitive 35): act 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":"server/src/services/runner-goals.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce54daa0b0058128f301307534c97fd136c7f8e831c7ad6d5cf8da495914f295"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCredentialHeaders (cyclomatic 27, cognitive 35): resolveCredentialHeaders 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":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cd7cb0286dfa2a6d00a9e34ec8cc41d23b394dd981839812f7ef1585e18a16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 35): (anonymous) 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":"server/src/services/workspace-recovery-preparation-dispatch.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded7d7cc069c5774a464d0b60b6dd3533cc4873f8ce18b254a8e5bf8c0eb8965"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readConversationDomLinks (cyclomatic 27, cognitive 35): readConversationDomLinks 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":"tests/runner-e2e/chat-rendered-links.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fa88fa97945ee6096d8b64383004a21cb23c1d95d0ca1fdd4f27bab70c0f39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 27, cognitive 35): save 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6258882747689a7d46b9e43c44dde752612bd74be50f8c5809b8bc8a0729ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 27, cognitive 34): normalize has cyclomatic complexity 27 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf508f9b39053b026de46daf20cf631a196125250be3541f615eccc7538567a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveAgentConfiguration (cyclomatic 27, cognitive 34): saveAgentConfiguration has cyclomatic complexity 27 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bd241818910ab3b396647024b6fe68327952864f020ebff0a67a9da153e870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #recoverActive (cyclomatic 27, cognitive 33): #recoverActive 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e70a595bc668852552b949427bdb90bc6471e22fd4e5ae888df6a49b4ffc54a"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":85222}}}],"partialFingerprints":{"codehealthFindingId/v1":"920b3ad0a9563d215a8d23ce17d83909effdc75a9b85d164cd9c0682a1f842e3"}},{"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":"server/src/services/native-runtime/plugin-runner-release-resume.integration.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b204aca5fd3b5b5d06a7e267b1de998ef599f7bf66bf92871c94e23651c8059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeCloseSettlement (cyclomatic 27, cognitive 33): readNativeCloseSettlement 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":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"860d74f2652ca03d13a43e3de98b59c6685ad3f1448d9de76179423bec47c1f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveDraft (cyclomatic 27, cognitive 33): saveDraft 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"df56acc67dd0fcbf394284ad5323543b4b7fa863a5372e423249dafcf86abca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkApiKeys (cyclomatic 27, cognitive 32): checkApiKeys 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/adapters/hermes/src/server/test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7459a5c6e79f74aa6b96d00c49197acbd0eefdec52c51042d2aabcf7e7ad25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleGitHubGrantContinuity (cyclomatic 27, cognitive 32): projectIdleGitHubGrantContinuity 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"df958901b433192c51418e98e98687ef75d5c8424a6a1b733e7d21469f9b990d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #consume (cyclomatic 27, cognitive 31): #consume 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d3e00488223508f60ed7eb164279ca33dd7723e05e7a5ea3c65ee67207ad7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 31): (anonymous) 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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be30cbb5f089c99b556694adffb1245426bd98ca5ec18c2f5d282e445be4c37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 31): (anonymous) 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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cce550ab0892a7ed67eafdb87b57e4023bfa06db1d7a1c3220f8362d906971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 31): (anonymous) 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":"server/src/services/secrets.ts"},"region":{"startLine":4311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d038837f9ef36b57f4bf9131d734842c20085b3bdda20ad02629da9de70d211d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 27, cognitive 31): start 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":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66cd39b8bf767d3566b690015b71b25537c78cd7a3528a2ec1203c0c9b47395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 27, cognitive 31): fixtureFetch 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":"ui/storybook/stories/agents/codex-runner/creation.stories.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0867eec489d96fcfc5b347a82d560bb1376700fb94cfe21725187eef01c682d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquire (cyclomatic 27, cognitive 30): acquire 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":"server/src/services/git-credentials.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec538aa94ba1787f165b7642888c0795fbe32a1bd59330a2ae39d296283a1739"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":7403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb818fda49f32736bbd40c8df5c68e3e3ded641fa8a07ed2c47ef7f84afa9de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordOperation (cyclomatic 27, cognitive 30): recordOperation 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481717c4652abe66dd48166fb71cb385be0aa79ba239815da37c1817636e4b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 29): (anonymous) 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":"server/src/__tests__/durable-chat-wakeup.test.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e49a6b99b54d56288de71beb30be49ca3b21920b8f95e764b09db401dd3c09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 29): (anonymous) 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":"server/src/routes/issues.ts"},"region":{"startLine":21103}}}],"partialFingerprints":{"codehealthFindingId/v1":"581b8c6f3dbfd0bdee9a8e1a071c7893608c47c989521db3d7b92dd919b2d84a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 29): (anonymous) 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"257434052b66e88b8f566432a8fee6278cfef9898dfa7727574618b965be5cce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privateNotionOAuth (cyclomatic 27, cognitive 29): privateNotionOAuth 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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c30ea2f2297bf84c95b8e4e5d791433417d2286a7d2e1d535ccb6296e5ba84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privatePublicSignIn (cyclomatic 27, cognitive 29): privatePublicSignIn 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":"tests/runner-e2e/chat-catalog-domains/external-public-signin.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7884270c0a126b16e4ab2b156df8cc417ece3b2d262b4327d9d23cc61b7cfa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 29): (anonymous) 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":"tests/runner-e2e/first-task-flow.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7635c51eacfcb1167961f0911a0661973d3f7eec558aed59668acca042a1219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRunnerApiCall (cyclomatic 27, cognitive 28): validateRunnerApiCall 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e77e76ab63d84670b48fac530707486f8a9d0a69f9c6c2fcefb68de0b9acb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectStandaloneClone (cyclomatic 27, cognitive 28): inspectStandaloneClone 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92af83ef547009049ea521a78b90c7e0af03bec9dab423ab11467e47d8ce274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 27, cognitive 28): tick 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4cdd5f38124bc9144c9332cb10a80d0076d303167fcf06893917d390d727cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companySecretMenuURL (cyclomatic 27, cognitive 28): companySecretMenuURL 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret-menu.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0458200abf80453f8ab89ec1191f76b4527151ce83dc799d24e313a6f212a4a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeScheduledCampaign (cyclomatic 27, cognitive 28): finalizeScheduledCampaign 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":"tests/runner-e2e/scheduled-finalization.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7900fbcc8c03b27e2592e4691c646844d3aa1b575b1b80be3d9ec5f32428e839"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planInstructions (cyclomatic 27, cognitive 28): planInstructions 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e6231aadeac367156de388dc35e81314cd997d3197632213ab9e0f0b7231e4"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":67718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479e21b92822642b88a42a881f396613281774a68c93d46acac3c77df0fc876"}},{"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":"server/src/services/environments.ts"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ac33bddeaf16642bff79a3c35130801a758742cfc1c7844aaa435316da51a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeSavedComments (cyclomatic 27, cognitive 27): resumeSavedComments 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e257e0999d18bbbe7fcc10f4bb9f3273dd2ab170127677e170de2ef1716086b"}},{"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":"ui/src/components/transcript/native-run-events.test.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca61c8ad085abc3e381d59baf2b0396f5323b2d6376d208deefb095ae0f8cd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshRun (cyclomatic 27, cognitive 27): refreshRun 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":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8133f6c5ae625ae4aaba894a5207e844c3a58ca35b09693f564210df3ff0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunnerConsoleApp (cyclomatic 27, cognitive 26): RunnerConsoleApp has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/react/runner-console-app.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f07de564edc0d6a4e5430985ce1c6fbefe846572b4664d63aae99f79dfec1a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProvenanceDrawer (cyclomatic 27, cognitive 26): ProvenanceDrawer has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5092506f61ecb35d46665db887d27e856fc9792e46ecaad2cb955a7a9be959e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectAgentCaseRead (cyclomatic 27, cognitive 26): projectAgentCaseRead has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-agent-read.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecdba4f58fc300c5d8f9bdddc692457fc62ef74e98c46363a648dd863ea943a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockCurrentProviderEffectAuthorization (cyclomatic 27, cognitive 26): lockCurrentProviderEffectAuthorization has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"63accd2b42ae6d76da3d64938dc6361d08ec7e215038a172b900b5023fa0cca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":4422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd98f699c337be44ff63559563caaec6a0957fb8a67bb9825527506ae1d66639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExplicitResumeSessionOverride (cyclomatic 27, cognitive 26): buildExplicitResumeSessionOverride has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f00772c61bb50bca7f3edd2b9ba014d4d9f63aa6bb5df88502fae6ed28b4ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleStatusCardSchedule (cyclomatic 27, cognitive 26): projectIdleStatusCardSchedule has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-card-idle-schedule.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b112965e824c16f80455eea5e1075b1d67ddb796aca4fd7b2dcaf2b9649961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runNativeActiveStopFlow (cyclomatic 27, cognitive 26): runNativeActiveStopFlow has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/native-active-stop-flow.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25296c7587424e8d9882b8d399ae8ee1fbd050b56add4b2b4dffc5c7ed1bd8fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skills/ConnectedAppSkills.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"663823ae6c4802f1ca3704aadf6cff38c2ce803dc952239a36ac4baf031fe8ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatSystemNotice (cyclomatic 27, cognitive 26): TaskChatSystemNotice has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatSystemNotice.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d55a68d6915124d00ace3ef63a39d809f2610ef3cbc625d751e1fba4fb7648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Settings (cyclomatic 27, cognitive 26): Settings has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"114a49ab1e39ffb61207473f323d8a8f1d0a9b3feca4321095a2265e6fd1869c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileWizard (cyclomatic 27, cognitive 26): ProfileWizard has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed20e6ff4d0e856dbd0679ed9d8aaa60811036a6d594d6d4ef36deefa5921ceb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexItem (cyclomatic 27, cognitive 25): parseCodexItem has cyclomatic complexity 27 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6deb4c4665bebb0dc3a381c8a585711bb3091e1e7336491e544242c84d272a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyQualifiedRuntimeExecutable (cyclomatic 27, cognitive 25): verifyQualifiedRuntimeExecutable has cyclomatic complexity 27 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d079d3694e1f1bbb0aa28811e687e377b9c10479a058ee13e4f0133d351d18a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readEnvironmentCreationCleanupError (cyclomatic 27, cognitive 25): readEnvironmentCreationCleanupError has cyclomatic complexity 27 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/plugins/sdk/src/environment-creation-cleanup.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebf517ff420c00a01237054c12d589c0b8e8237dcfbeaef9971b95b7d7a2019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePhotonEvent (cyclomatic 27, cognitive 25): handlePhotonEvent has cyclomatic complexity 27 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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0354a021db0ea039347f595592e64724f9ec169e2b89b59bfc0b2eb36c7f7b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeManagedWorkspaceReadiness (cyclomatic 27, cognitive 25): probeManagedWorkspaceReadiness has cyclomatic complexity 27 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":"server/src/services/managed-workspace-identity.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5c8b8ddd55f4725881b15eb1b56cbcbacca1b9b9b8325778239b7a2d728b3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privateAttemptDiagnostic (cyclomatic 27, cognitive 25): privateAttemptDiagnostic has cyclomatic complexity 27 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":"tests/runner-e2e/private-attempt-diagnostic.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b336cf6c54536eebfbfafbab954e2a4a7f5155cae146fd22df9126a2ee100fd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 24): (anonymous) 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":"server/src/services/browser-use.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3326a1518a0753097c184d1fff76f95729a522e2d7a036496084d5de6dc4455e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fastResponseSourceCurrent (cyclomatic 27, cognitive 24): fastResponseSourceCurrent 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":"server/src/services/fast-responses.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ca89f01145b63d06ebcea5befc571e5361bbab4a60b6b547f8708d47a8bcb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MachineSignInSetup (cyclomatic 27, cognitive 24): MachineSignInSetup 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":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceda89e01c0c5044646cf748b74e73ae0c94f91c051707f2436c0dee1b434e60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Management (cyclomatic 27, cognitive 24): Management 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":"ui/storybook/prototypes/provider-routing/Management.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"164cdc85b48759bc909387c86a8b23a0acdd9f9923d5ba92050d8e813107365b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundedEvalSessionUsage (cyclomatic 27, cognitive 23): boundedEvalSessionUsage 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a23ca67c025d294fed8214fdfcb63e9194e9d2a30cc216917207dad8566277b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openVerifiedRuntimeExecutable (cyclomatic 27, cognitive 23): openVerifiedRuntimeExecutable 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8339ecfe8643f5821990b89fffc84b84e351bc780450447944fc9bd9a50043e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreWorkspaceRuntimeServiceMatch (cyclomatic 27, cognitive 23): scoreWorkspaceRuntimeServiceMatch 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/shared/src/workspace-commands.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"623db58af57a33da643de45e7bdacae1de42e90748a5ea19ba528bd88bb3725b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 23): (anonymous) 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":"server/src/services/access.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd094aa2d94a8ef5c1b6196498e7c4e4dff503d6b8e6c057f39f9037a558ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSourceWorkspaceConfiguration (cyclomatic 27, cognitive 23): resolveSourceWorkspaceConfiguration 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ef54c2d1556e255e7aec93158c3b2eda95f3773ae99178f0cacd25b0011efc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closedPackagingBudget (cyclomatic 27, cognitive 23): closedPackagingBudget 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":"tests/runner-e2e/private-attempt-diagnostic.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccfa499c8c54bf9557348e52b50744dd0434f2b400753fb00420616e4b42947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownEditor (cyclomatic 27, cognitive 23): MarkdownEditor 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f93c22cf73910d937e5f652ba84b1b4f3a6fe64077fca77f53b43b20203115d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 27, cognitive 23): mutationFn 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ba56751f1a90e4dbe60876777c72eb7c40f97d68dd97cec944d56723df11db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DangerZone (cyclomatic 27, cognitive 23): DangerZone 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5909d8eac1c95f35226a605c9ff7cbf47112eeb21547fc67f00aa4f67e088d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramLifecycleEventFromPayload (cyclomatic 27, cognitive 22): telegramLifecycleEventFromPayload 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":"server/src/services/chat-channels/telegram/messages.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c2ca2bf23479762ac629f8c81f2aa7d350d3df9be768e56465ce455ea405fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateGitHubAttachmentLocator (cyclomatic 27, cognitive 22): validateGitHubAttachmentLocator 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fb78ae6af47e89c1c44d5fe391d61d23f3b2b16b7c6ca202743d997cca859f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 22): (anonymous) has cyclomatic complexity 27 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-state.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83e9bd2ba6629e73ffd4da15001c79f3285bada5d6c93e1e2b15979e8adc68a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readApplicableResult (cyclomatic 27, cognitive 21): readApplicableResult 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":"server/src/services/preserved-result-finalization.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"40781b2d0a800ef632bae964582b65fcf42e367f70cab8eec20d5837157175a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attemptProjection (cyclomatic 27, cognitive 21): attemptProjection 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":"tests/runner-e2e/braintrust-experiment.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"76da1cbcd465cd5d89ae29aeccd1fa5af7245dd3409d2ee6711e3bb5d68a1f44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ManagedAiConnectionDetails (cyclomatic 27, cognitive 21): ManagedAiConnectionDetails 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":"ui/src/components/ai-connections/ManagedAiConnectionDetails.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ce6995e307cd6466d1df5ce0795ddd46d7d4815b5f12b25dae0de49874a50d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptInjectionPreventionSettingsView (cyclomatic 27, cognitive 21): PromptInjectionPreventionSettingsView 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":"ui/src/components/prompt-injection-prevention/PromptInjectionPreventionSettings.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"467e220b79f1e6c38962d3acfa4879b264a8faa76f193e109c750be7152e1da0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSelection (cyclomatic 27, cognitive 20): inspectSelection 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9447b5596284e4bc2802380c9e4fb480762f109da8fb6c50f36664800b8d4efa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicProviderPayload (cyclomatic 27, cognitive 20): publicProviderPayload 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/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"70df6718d0da7f310730b04837624d1a67c5923d2f761cff6cf169ff3f77fa0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureTelegramCallbackProvenance (cyclomatic 27, cognitive 20): captureTelegramCallbackProvenance 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":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7319a2868d921a98a73f6cdc6541f5bd7be5c0be00a4812d0f7d7915ac01d738"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMcpWakeAdmission (cyclomatic 27, cognitive 20): parseMcpWakeAdmission 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":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e070b3b09698b9c94d775647dea1bb7145917318481ab1d2aeee8a008d3982"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 20): (anonymous) 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":"server/src/services/workspace-recovery-stop-proof.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea3795674de8f9e7a9327023014d55204310fdf0ab2e67757799da6e004f574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVerifiedSelection (cyclomatic 27, cognitive 20): readVerifiedSelection 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":"tests/runner-e2e/testops-chat-reporter.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c14a21d74d1f07560b359ded64d4872c0e869a9f7e67b5a2d1665da8204ac3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useCoordinatorWorkspaceEnabled (cyclomatic 27, cognitive 20): useCoordinatorWorkspaceEnabled 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":"ui/src/hooks/useCoordinatorWorkspaceEnabled.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"21582331b4baef2eb546572355ccb4f1fc039abc0a73fc42b280b8b085b1bc83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consume (cyclomatic 27, cognitive 19): consume has cyclomatic complexity 27 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":"tests/runner-e2e/cursor-cloud-stop-observation.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"869a3582c21ec4c1fbaec11fa4c6b90a9e0fe5275633406135bfa3cb36788872"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function museConnectionState (cyclomatic 27, cognitive 19): museConnectionState has cyclomatic complexity 27 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":"ui/src/hooks/useMuseConnection.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5490d16556e528a15e194c19cb2423143bc30b7cd47c4387c1859cd13c6336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackIncomingContext (cyclomatic 27, cognitive 18): slackIncomingContext 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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5cac69477a9c4345520e6f10a643ce57207581b35687d74aebf7361bdee618"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decidePersistedLegacyContinuation (cyclomatic 27, cognitive 18): decidePersistedLegacyContinuation 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3947}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba65cb37d495e8288d83919051341291fc32d5d78e96b0879dba60d3eaefe6e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeWorkspaceSyncReference (cyclomatic 27, cognitive 17): readNativeWorkspaceSyncReference has cyclomatic complexity 27 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c0d7579de08a8c2ae5a642a197d2882d01c7219d49155916c8569d8ce85b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validNotionOAuthReceipt (cyclomatic 27, cognitive 17): validNotionOAuthReceipt has cyclomatic complexity 27 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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth-contract.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc6a8c64e573fb0b81fe64a1b122a566dd8fbac3ee80a4c5059ee4b9fce22f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptSlackFormNoEffect (cyclomatic 27, cognitive 16): acceptSlackFormNoEffect has cyclomatic complexity 27 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcbebd0f0b516beb2c89e798b612314f61f10b5498ec99b12781fe275220c55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 16): (anonymous) has cyclomatic complexity 27 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":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0af87b2ecaf3df99539a721edbfefaf8379454b03856b983876ed4f704368a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCompanyLifecycle (cyclomatic 27, cognitive 15): gradeCompanyLifecycle has cyclomatic complexity 27 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":"tests/runner-e2e/chat-catalog-domains/identity-company-lifecycle.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"68028999bf5e953f89d8f084d48b7ab4701a77775bd59262ef567e480863ea63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeHiringTemplate (cyclomatic 27, cognitive 15): gradeHiringTemplate has cyclomatic complexity 27 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":"tests/runner-e2e/hiring-template-scoring.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"64016c6a380ceac4aa39995f5b55537d88ae5fe59a618f779cdb0800b19e83da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #applyMutation (cyclomatic 27, cognitive 13): #applyMutation has cyclomatic complexity 27 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"26526890023dad53ca60e16541ad4255de7edbd83b36e3062d2e1a8bbe1b71cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyPreparedSourceSdkAudit (cyclomatic 27, cognitive 12): copyPreparedSourceSdkAudit has cyclomatic complexity 27 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/source-sdk-evidence.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3db35d02283905aa8e5d793f314c2dd4d89aff3782b8427099e88185bc1f0f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeHireRevision (cyclomatic 27, cognitive 11): gradeHireRevision has cyclomatic complexity 27 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-hire-revision.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfb390976cade41943b2d35cf9ff0294fee96dfa8266eb1b45af97334758c2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWorkTimeline (cyclomatic 27, cognitive 11): gradeWorkTimeline has cyclomatic complexity 27 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-work-timeline.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bc84b245e49bdf9c9761ddd0bf04acf6cde2bf74d70acd66b289bee4d88ebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePreview (cyclomatic 27, cognitive 11): gradePreview has cyclomatic complexity 27 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-preview.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b27590cc3d12de08db3646f97ff546188cc78813dd7ceaefd269415f0e8f2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateKimiProviderDeathReceipt (cyclomatic 27, cognitive 10): validateKimiProviderDeathReceipt 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":"tests/runner-e2e/kimi-provider-fault-contract.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc40a6aa8661645273602b6a9e42d1805c6d3c6f5a08698be52403057b4d3593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyProjection (cyclomatic 27, cognitive 9): applyProjection has cyclomatic complexity 27 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/paperclip-runner/src/reducer/session-reducer.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2587ebc12ffaf922f5601eff716ffba5c394a3572fd04fa486328b2f5af3632c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDesignSearch (cyclomatic 27, cognitive 9): gradeDesignSearch has cyclomatic complexity 27 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":"tests/runner-e2e/chat-catalog-domains/internal-design-search.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"831f2c62f22ae7fbbbd24e153deb42c236fa1920afa786c71f13c02fd1dda14a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInvitation (cyclomatic 27, cognitive 9): gradeInvitation has cyclomatic complexity 27 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":"tests/runner-e2e/public-mcp-grading.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ffd755546d8baf7d5edb0d9c420033140c4cd0cf4b7ac3b7130f12b364dc69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 26, cognitive 63): load has cyclomatic complexity 26 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":"server/src/services/voice/voice-reply-schedule.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a31e7427e9c5ac0cd5683d7f74f4c9280e54e8712fe9cacd16c4660fe955765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 56): (anonymous) has cyclomatic complexity 26 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/adapters/opencode-local/src/server/parse.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385ddbaab20337e6e688273570fcde7d2eae63601c7a59ab8da402a3563a00b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterPaperclipYaml (cyclomatic 26, cognitive 56): filterPaperclipYaml has cyclomatic complexity 26 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a332edf262ed6dcc31102ef99b8665333fc707b79c01ac252e4da28f8fbd388a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 50): (anonymous) has cyclomatic complexity 26 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.integration.test.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17b6a182b3d710e5239886769c5e5c1dcd5caa307f864bad32e9cc1abae70e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareForAdmission (cyclomatic 26, cognitive 49): prepareForAdmission has cyclomatic complexity 26 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e161618d0f3697721bbfd2b5e67e3a8d7f577af56d0eed6744c67ffbb5a2e0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePerTurnRunnerdController (cyclomatic 26, cognitive 48): restorePerTurnRunnerdController has cyclomatic complexity 26 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7428}}}],"partialFingerprints":{"codehealthFindingId/v1":"08df4d89f16d87b2f682a2eafb75d69b92f642c8ce4b4f511cb5d6e1bf5b5a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 26, cognitive 48): visit has cyclomatic complexity 26 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":"tests/runner-e2e/manual-private-handoff.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb66beb7149f200256c141c158694cf7fee69e1c84742e7b1b7c2b935896a749"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function conversationPlaybackSnapshot (cyclomatic 26, cognitive 48): conversationPlaybackSnapshot has cyclomatic complexity 26 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":"ui/src/components/design-sandbox/task-thread-fixtures.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"08caa3ffcffd73d44bd50f7907b7934ff2e3b5081af939002dfd37eebb5383d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 46): (anonymous) has cyclomatic complexity 26 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/paperclip-runner/scripts/qualify-cursor-denial.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04a095a02e6460b535e640364fada88b9d5a1c0c67480654730cdd6cc44c0db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 46): (anonymous) has cyclomatic complexity 26 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/paperclip-runner/src/control-plane/durable-prp-control-plane.test.ts"},"region":{"startLine":5048}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04dfa527a08342ea809d72da2a5e4c058289c27e48adbb794e30515eabf798f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 26, cognitive 46): cleanup has cyclomatic complexity 26 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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdb493349d83f95852edaec58dba8a93d47902af7008d13f25717691804268e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 44): (anonymous) has cyclomatic complexity 26 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":"cli/src/commands/worktree.ts"},"region":{"startLine":3742}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5f52cd63bb3b761ee1fd0184b52d2a20e3e5cee228d1dbc5ff5872d3a1838a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeRetryableNativeProcessSessions (cyclomatic 26, cognitive 44): resumeRetryableNativeProcessSessions has cyclomatic complexity 26 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f8e417c079076e8c75e5c49bf7821f9d732048bce1e18d3467698b95fd4653"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 43): (anonymous) 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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac67e75fd22610135741785f7b4fa562bb293edaffdbeebe9940e68b98ff71b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 26, cognitive 43): run 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":"server/src/services/chat-channels/discord/command-work.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36994db483107cdd3390cafba8434ad137aff0ad04c67f4a95c0be953aab60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractIssueTimelineEvents (cyclomatic 26, cognitive 43): extractIssueTimelineEvents 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":"ui/src/lib/issue-timeline-events.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b727597398924baaddf663d915fc5862ad171bf5ea52815fdf9438e123ff540f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalProviderEventsFromOpenCodePart (cyclomatic 26, cognitive 42): canonicalProviderEventsFromOpenCodePart has cyclomatic complexity 26 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90ec8aa8bf55902080b489f841df510b815756d9d0decf8649957855fd20335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichCommentsWithDerivedAgentAttribution (cyclomatic 26, cognitive 41): enrichCommentsWithDerivedAgentAttribution 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":"server/src/services/issues.ts"},"region":{"startLine":7405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecb3a71dccca3dba4056d5c009952b5f99d2dc65b9a5029028af0d2d9478682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeCreate (cyclomatic 26, cognitive 40): authorizeCreate 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc72a8a4be4c5ebff76fbfe95d5da5c2684e98cad1e60ab85cfd58d2458c2bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectPrivateFrameworkMetadata (cyclomatic 26, cognitive 40): inspectPrivateFrameworkMetadata 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":"tests/runner-e2e/private-framework-report.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"640b8f9f46cf77b0ce725e935414013853482235c75c4033635c5ccb2cc04a9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #interrupt (cyclomatic 26, cognitive 39): #interrupt 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9086b4aa39ab16f7d657513c03c01ff70264ff11b7463643e49c759256b0d153"}},{"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":"server/src/services/company-search-extract.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a1973337049a22d51395947cf053df8a23b16bf281cd3ff0a2b768784e176d"}},{"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":"server/src/services/mcp-http.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"847c799a9fcb23f8303fd442d8c61617207f29f18b08966333969d46e384c7a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertGitOperationComplete (cyclomatic 26, cognitive 38): assertGitOperationComplete has cyclomatic complexity 26 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d11552376af8438f9f29e6487dded665b9e321739b0ce9c19336b919cf54c85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function featureIndex (cyclomatic 26, cognitive 37): featureIndex 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":"scripts/feature-map.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b34e797add2328fd18e7097a8303175e661837407a81087b14e217f91bb1333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPortableProjectWorkspaces (cyclomatic 26, cognitive 37): buildPortableProjectWorkspaces 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":"server/src/services/company-portability.ts"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e216cffba22b21158a6c471e89343cbec8ecd95277a8fb38a8581d8894f7b603"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 37): (anonymous) 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":7505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69ae4d105b023389c09874c3d258dde3d9104e9fa573a3076a800a0ca2d4436"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 37): (anonymous) 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":"tests/runner-e2e/antigravity-journey-browser.smoke.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c6927a119f46e9fb5f135acefe0e117bc5998c8a1a8794cba059d2f6eddf8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 26, cognitive 37): get 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":"tests/runner-e2e/public-mcp-expanded-flow.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"43486524710669edea621fef0ef827663f5abfeffad92deaaacaceccea037e48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function respond (cyclomatic 26, cognitive 37): respond 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":"ui/src/wizard-preview-main.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9e522754e1739fd3f6f5a60b5f2822b668290ccebd2421accc1bbd5c30900f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertSourceScopedUnlocked (cyclomatic 26, cognitive 36): upsertSourceScopedUnlocked 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9064e0ae9864b6fd7d65d1f5d03df5baac2a7da7111148b3cd81696252634a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureWebEvidence (cyclomatic 26, cognitive 36): captureWebEvidence 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"28de0321007c6587869f48ace42c851ce8648309f5c57b1cc09379946261df0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 26, cognitive 36): tick 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":"server/src/services/native-runtime/runtime-asset-retention.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78721ffc854db0da80f25dc63c64c521db2ba160aa530ef33c37c3cc0d8ee8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNewAgentRunnerForCompany (cyclomatic 26, cognitive 35): resolveNewAgentRunnerForCompany 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2192e3c9a5fbf60f60bab0144763e4d1118f2bfe925aa92b6f1cb758e536c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 35): (anonymous) 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":"server/src/services/chat-channels/slack/task-authority.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2971184b74eadf16bde00e6b9442c5d58f4c93db4328b1d096beac3f315cbfb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatStatusPill (cyclomatic 26, cognitive 35): TaskChatStatusPill 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":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8deb9ab077244700a22033c437642d6e049c114027f0840157d1d7b327cd2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTransportLine (cyclomatic 26, cognitive 34): classifyTransportLine 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":"server/src/services/git-connection-failure.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece9295b1636c26d7d1d12bfd4b4d4cef7bd0cf34e0e1f25d3ffc56752e5b97d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeTurn (cyclomatic 26, cognitive 33): consumeTurn 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffb9e02edd1ccf7446196a121c71149ae78cc0e7ceb7a4e3dca8c4608043f09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionStageWakeup (cyclomatic 26, cognitive 33): buildExecutionStageWakeup 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":"server/src/routes/issues.ts"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d95bc75cdede9114e141ac6f65b317bba67070df89c86e2afd75fbdfde5d89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionWorkspaceAdapterConfig (cyclomatic 26, cognitive 33): buildExecutionWorkspaceAdapterConfig 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53bd3ddc818e530d6df5a3731eff1130153dcbaaad6aee349fa1ae986a0aba5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireSupersededWarmNativeSessions (cyclomatic 26, cognitive 33): retireSupersededWarmNativeSessions 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e59305b0df9eb5651bcb5e13cf9cdf25485dccd67dcc20d8963c235bac90ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function billingCsv (cyclomatic 26, cognitive 33): billingCsv 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":"tests/runner-e2e/anthropic-billing-comparison.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c900e8bbf253fe64778702b984f6ffba6e7e968ed5f20ed627a3936a5e63e5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEmptyInstallationBoundary (cyclomatic 26, cognitive 32): runEmptyInstallationBoundary has cyclomatic complexity 26 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-onboarding.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4c9f600c9c91aa45f9c3c057864b648c60f262ef2505b2d31432ab6c9744d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 31): (anonymous) 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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bc9b67f3c0070be67b7f41407dfaadf5267ef30da9d13e891684534c676be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 31): (anonymous) 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76afb4287543aa451c68387d7b1aa8d66bab3528abaae0e83c0237cdcdce9ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffStatusCardFingerprint (cyclomatic 26, cognitive 31): diffStatusCardFingerprint 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":"server/src/services/status-card-update-engine.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"668297370d54b0201179817f448269fa790911890b0c11144e36565bf8b50bb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actualOriginalEmailSend (cyclomatic 26, cognitive 31): actualOriginalEmailSend 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":"tests/runner-e2e/chat-catalog-domains/runtime-email.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d7e0609c776c24492de912fda8a425367dc5ff74ca086b6f372f9b724f975c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAgentStatusChangeKeepsLiveRunBound (cyclomatic 26, cognitive 30): assertAgentStatusChangeKeepsLiveRunBound 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":"server/src/routes/issues.ts"},"region":{"startLine":14861}}}],"partialFingerprints":{"codehealthFindingId/v1":"a549b9b4a5a11fe66c2c7719c8e682eda78668ae9fefb9614e831044a11ce553"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 30): (anonymous) 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c3f2acc04a4f10ac7ed22fe4287ce6e46fc99a65b25e26618bf0acc526019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #inbound (cyclomatic 26, cognitive 29): #inbound 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/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb92601c4d1433897db893e8d01dcb52b188007e2dbb95774e359463f10da37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function line (cyclomatic 26, cognitive 29): line 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee1bc0c8ba9f0b0a202d38f8390c7dc39c9eb43a6511a812fbd114c82eb55cf"}},{"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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6345d608a78959f0fa59d790fd14b3c8cc609a69d56b066d438d55d6d6bf6b16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverSkillPackage (cyclomatic 26, cognitive 29): recoverSkillPackage 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":"server/src/services/skill-package-recovery.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e27208b9da01191409d1367061c687c887fc4af9b8831c948320cd5a525dcd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionFirstTaskFixtures (cyclomatic 26, cognitive 29): provisionFirstTaskFixtures 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":"tests/runner-e2e/first-task-fixtures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e371269173003374a57e0a14472ce8842a73503e40442d4c65692e61969754ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 26, cognitive 28): visit 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":"server/src/services/composio-app-setup.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1721cd8d4815bbe027016487f18d793f358bc51fe962b692b239e74956e5d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeTerminalCaseHandoffsForIssue (cyclomatic 26, cognitive 28): completeTerminalCaseHandoffsForIssue 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":"server/src/services/heartbeat/case-handoff-lifecycle.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4813696029a95a09fcf9ebe146c5c3a9c062bc2988df263c840129b64810e58e"}},{"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":"server/src/services/tool-access.ts"},"region":{"startLine":4556}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f3703c1ae132a27c27f2078bd6a33f77f6e62bff6c607bc20c6c4ba0affc4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupFirstTaskFixtures (cyclomatic 26, cognitive 28): setupFirstTaskFixtures 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":"tests/runner-e2e/first-task-flow.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f370f7c4c3b1ffd99d1b79f496399793902d5dae86fe931533a11c34b52134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 26, cognitive 27): run 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2863235ae6ff9794902a1e6b3adc773c9fafb526e25d47e40a6c2735455f526d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scopeAllowsTool (cyclomatic 26, cognitive 27): scopeAllowsTool 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f670c5a2917401d3aa79b3afdb30fd76e38f5f7b7576ea5ae877179476b0ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suite (cyclomatic 26, cognitive 27): suite 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":"tests/runner-e2e/private-framework-report.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64120273ee57ef99ecf06d7d1b6f3f48db03da9b9e0d652bc8b52fcff0a3a84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpxToolDetailFromRuntimeEvent (cyclomatic 26, cognitive 26): acpxToolDetailFromRuntimeEvent 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":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2fd7f60b340be2c52c244aeb03d4d781b9533df47c11599723568d33e0a6c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentValidateConfig (cyclomatic 26, cognitive 26): onEnvironmentValidateConfig 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":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2860}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df10ea80e6689fca15811066b956765be4f1a1005ea5f93d53b11d9069e1f6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSlackSlashCommand (cyclomatic 26, cognitive 26): handleSlackSlashCommand 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":"server/src/services/chat-channels/slack/commands.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8276b652035e10c648d9d78ebf01233a866edf953c0b80f49a49481005a75ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedAgent (cyclomatic 26, cognitive 26): managedAgent 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":"server/src/services/connection-intents.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2384eb0bfb314982a8ed93d55d4297a1ecc08694250b5e01fc7cd1a052f74c0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreNativeProviderArtifacts (cyclomatic 26, cognitive 26): restoreNativeProviderArtifacts 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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb2f643eaab428bf64f7a09a8dfbf76ddb35598fa684d97b1da11eb89e9cfb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncLockedRoutineRunStatusForIssue (cyclomatic 26, cognitive 26): syncLockedRoutineRunStatusForIssue 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":"server/src/services/routine-run-status.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa02a514307871265eef984bdc3294e3505c1528fa1f5996305e9a4ac09ab4e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 26, cognitive 26): main 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":"tests/runner-e2e/history-publish.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"047b23d510ea834abdf58fdab012b76eb5a925e6e01a208a52e6a6b791a925bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 26, cognitive 26): api 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":"tests/runner-e2e/reliability-testops.test.mjs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"db091aae3c01b8d0c5989a1e1c7911ee5e1354ff46d545c14e0e4bc94933e6a1"}},{"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":"tests/speko-voice-proof/browser-server.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0429076787cf7f94a50c36f0aeb7770d71cd47005e44490a6c26907dcd2a368"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMonitorSurfaceCopy (cyclomatic 26, cognitive 26): buildMonitorSurfaceCopy 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":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd95be7ebddb0cd0c5959364bd39ab45d0a617fe32c976f050544192fae0fe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 26, cognitive 26): read 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca4b911817a7de507a44439858ea807d107bc7f4bf4067389f1cd0115e9b746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 26, cognitive 26): fixtureFetch 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":"ui/storybook/support/capability-gaps/api.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e4b92f27dfbb21c8987d8cd11b114c09bd71ac268cd1e4f25dd297998a5c70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directAcpxSidecarErrorCode (cyclomatic 26, cognitive 25): directAcpxSidecarErrorCode 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/paperclip-runner/src/cli/acpx-sidecar-input.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"27df21f831a6662ef8621f92979eb2a27e53623e12189ae511385924a6bc9881"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubRepositoryInventoryItemFromPayload (cyclomatic 26, cognitive 25): githubRepositoryInventoryItemFromPayload 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":"server/src/services/chat-channels/github/resources.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d6cdcecd3b133c6e81080ba41fe81d07d5dd6f1d9b078b57cae0d29fa2535f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateProject (cyclomatic 26, cognitive 25): updateProject 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":"server/src/services/resource-memberships.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1c54f97ff4347e71f4acc590fb2c0e1479e3706d0a8dcc0e994af835a40541"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRuntimeAlerts (cyclomatic 26, cognitive 25): buildRuntimeAlerts 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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29ef5d831aebef3c7ff6e6feca80defeaf09fdb9515c928400cb5c73ecc9136"}},{"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":"tests/runner-e2e/question-resume.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f413cf6c6c11f27f37a50f0574e3ce7c118f1d49bf6ec1d6bdf64d5ba8064193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerReliability (cyclomatic 26, cognitive 25): registerReliability 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":"tests/runner-e2e/reliability-testops-registration.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2796088e95c47588adefa34815e98f0938221aa5e1a1592949341be9b4e5f91c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeResolverAudience (cyclomatic 26, cognitive 25): describeResolverAudience 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":"ui/src/lib/interaction-audience.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85acf4065846b69b998ae92d5587ea301b7b214869e6c222808bc9ac719685b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LatestRunCard (cyclomatic 26, cognitive 25): LatestRunCard 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9734a2a8c066fdc1fd46e26189ff804703c3aeb1a2748e161bac592e907bc46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LatestRunCard (cyclomatic 26, cognitive 25): LatestRunCard 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d63a759b992c3705884cc7d585a6bac7dc6d43ba87816c8f1b94bd71df8da2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstanceExperimentalSettings (cyclomatic 26, cognitive 25): InstanceExperimentalSettings 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":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada098acc6bee8569eda94023fa857d7285b06b72ae2b05b54c9e73721088075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClassicWhatNeedsMe (cyclomatic 26, cognitive 25): ClassicWhatNeedsMe 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":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afa467cf600a0d5075fd370221d943b752642b7881a96f7b5003d1724fbc31e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareClaudeRemoteManagedHome (cyclomatic 26, cognitive 24): prepareClaudeRemoteManagedHome has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bbb1dac43e57f32ab9d93c3a057c68ad5ae4f60d40c77c41c3d4998be5a638"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAcpxQuestionFixture (cyclomatic 26, cognitive 24): assertAcpxQuestionFixture has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"420592d979df49700f4990c1d4021417bb4be6c369b327b1c7f8d1d1c7a03b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 24): (anonymous) has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd4eedbc31a37d6276be878753d4d0723adee04e8b048a58e568571f9e9748f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureNoDuplicateNameError (cyclomatic 26, cognitive 24): ensureNoDuplicateNameError has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":4906}}}],"partialFingerprints":{"codehealthFindingId/v1":"990ffc3959a44864b53af853996dc2c4bf846636d9305e37025a878990bc7687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectedRemoteApprovalSnapshot (cyclomatic 26, cognitive 24): connectedRemoteApprovalSnapshot has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":6348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64a861841515564675342d8ca994a3b264cdf2b040f25ff3191d6ce06d39eb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suspendOwnedProviderForCleanup (cyclomatic 26, cognitive 24): suspendOwnedProviderForCleanup has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-provider-cleanup.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c33c41841a43ff688c70d0b3fc3b6a9e25ddcac1b83dd1cb0ed672e6878a52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarAccountMenu (cyclomatic 26, cognitive 24): SidebarAccountMenu has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarAccountMenu.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0787ee08eafb2cd1227c9bb9c89b6d03591e58aaeca9fe9793ebeea4d68c94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TranscriptToolCard (cyclomatic 26, cognitive 24): TranscriptToolCard has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f8f21f14a8fdb9f7e37e18f7b5111358dc5dec870c13a19974cc88bacc96bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteMcpProductionSetup (cyclomatic 26, cognitive 24): RemoteMcpProductionSetup has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f7abf694eb97e09e931f582c0fd1dc7c37e9e81f736b963d798ce63a80abfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 26, cognitive 23): testEnvironment 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/adapters/hermes/src/gateway/server/test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a13f75c00cf583eaec3c1ea9e7f6333fd0b64ed6ef47380cfb2fd2b4639187f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) 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/shared/src/ai-provider-routing.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5db339e9658058a1d27c96782e77209eb5a2fffea607b3c60a718450017c47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8af59cb923adc319d2c8545f669a4345acc7f63f01d5be7784e1675a1275ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 26, cognitive 23): resolve 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":"server/src/services/fast-responses.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b49e00ab4d514f5c0c691e302a1f0e9a36f83d3dbf1ec8a8708e93e149a92b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendLockedEvent (cyclomatic 26, cognitive 23): appendLockedEvent 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"4505beb583f76ff562cb1fbeecd4796fc0bf3884085d5ea1b4e0241c6a68b553"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"372703c39c1ad772f804c6de666390129ca096d32d57ab9cbbc705079c3dfca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRunLogPrefixCursor (cyclomatic 26, cognitive 23): nativeRunLogPrefixCursor 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"585331b0a6257011622430925c5ea970b82bd9c38c69e5d61b79f0295e7b0e5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #reassignTask (cyclomatic 26, cognitive 23): #reassignTask 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13bab2e298c80e14a2a01ac3726d10349d4caa51905610b4df64874462971d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) 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":"server/src/services/work-intent-outbox.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"536cea730cb9797410dd7d22c79f796dc4a169d5e0e46c9e6efb5acff135fe11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) 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":"tests/runner-e2e/cursor-cloud-replay-fault.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d4c947c047861f460511394ef457f473618bb9186532556ce21e365b27724c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionHistoryPanel (cyclomatic 26, cognitive 23): DecisionHistoryPanel 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":"ui/src/components/DecisionHistoryPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c076e5275317d08825b33fa3330040e310759f5913259308c2572930a4472ca9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskTreeNode (cyclomatic 26, cognitive 23): TaskTreeNode 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6565ec5162cccc144d945f4c1338469d0423420af1fe64345c01e9e4ac390aa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubscriptionCostCard (cyclomatic 26, cognitive 23): SubscriptionCostCard 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":"ui/src/components/SubscriptionCostCard.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f1e4e25b2f52a1b9656ff76f5cd2f8777b3bc15f91921f0967e1ff29083237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SuggestedTasksCard (cyclomatic 26, cognitive 23): SuggestedTasksCard 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f3fa3ed50ed29602b10493d1def2e50b91aa1e5e0be9abe34813c448f6f4af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attentionDetailLine (cyclomatic 26, cognitive 23): attentionDetailLine 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":"ui/src/lib/attention.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb64173690f04c663900bd6725532284120b3945677c27cb89c0f1d8d6ad13e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigurationTab (cyclomatic 26, cognitive 23): ConfigurationTab 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"41715b69632e3133bf053ea6f25a3d755b928cfe0281a0131cfe7cf05befd818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) 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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2d892f7201b28265ecb3154d7cc4a4f27842b68712971f002f04326edcf01a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunsPane (cyclomatic 26, cognitive 23): RunsPane 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ee4d716943c54e11ef30c5e25eea55e79aed6fad1abf2539ec62632741be37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunDetailView (cyclomatic 26, cognitive 23): RunDetailView 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf80f94fa95f7afc62a79faf4fec90607738d0e38d79afd6e52f92aa2e842bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserProfile (cyclomatic 26, cognitive 23): UserProfile 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":"ui/src/pages/UserProfile.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ecf33051a06ee209704287bd7f6e58164d9c5c5c37015a063bbbcca671215b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfilesTab (cyclomatic 26, cognitive 23): ProfilesTab 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"023d2546004b9511317bf61d9009febf0e9eae14dc0afd7e9c003a209e8d38e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 22): (anonymous) has cyclomatic complexity 26 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"865ebcb4cd7809f5e23efe75d946bdf7cee9718d1624da8f05e396672b903194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #createTask (cyclomatic 26, cognitive 22): #createTask 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a8d771a992e4c54c30c5dc7e4cccb93eb3cc8caf685128b2dcc073cd2a2cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 26, cognitive 22): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-independent-review.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"318af19ed79587007d13de1437ef3ea6ba2517398cafa110a9f217b632032d26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 22): (anonymous) has cyclomatic complexity 26 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/interaction-report.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"be31db09c42cdad735e8c6929b7af5844a2ff2769ebbb042972f50ddc823843e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectNativeCompletionSourceMetadata (cyclomatic 26, cognitive 22): inspectNativeCompletionSourceMetadata 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":"tests/runner-e2e/native-completion-git-source.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"df582a37b5268289d46d159555f930743bbe2e8b1bd6309d5ced5031fbbd6239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatRunnerTurn (cyclomatic 26, cognitive 22): TaskChatRunnerTurn 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":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc04943956353e81a995c6367533f68258cafbec137a7c102180c4ffca7f639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexHookPayload (cyclomatic 26, cognitive 21): codexHookPayload has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/governance-events.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef032b5f946633f1772c637cf026923b3edf7e0871f7e5c502183e27e6eec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpaceEditCard (cyclomatic 26, cognitive 21): SpaceEditCard has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6698}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5da68e753eb61fc5234fe063b3919ce32b286ec9f324c7c6b460b3e9e8ff8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 21): (anonymous) has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74a26bc11ca5612a1d68f82a69c688fd64cf2eab68a0632fe35a282d2edafbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 21): (anonymous) has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a121a1750f9188cadbe3e508a9d2882d114c300609a5dae36bdfb04e7a318da2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillSources (cyclomatic 26, cognitive 21): SkillSources has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"86087a321533f982d80413c83521185fb1237e2bd7e60c325c431080f1e87ad5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNativeControllerRecovery (cyclomatic 26, cognitive 20): resolveNativeControllerRecovery has cyclomatic complexity 26 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":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b71f5a1a8459564e026cb4c464a261b5d89bf09fc0b0f816eff85d0f2a14bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useRunnerSubmission (cyclomatic 26, cognitive 20): useRunnerSubmission has cyclomatic complexity 26 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":"ui/src/hooks/useRunnerSubmission.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"82923a9c0bf633c6f417b0386f066c51cc260368ec7c9ff29f67cd7ef2dcbbc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackSetupState (cyclomatic 26, cognitive 20): slackSetupState has cyclomatic complexity 26 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":"ui/src/pages/apps/chat/slack/setup-state.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaadfbd85616530433b3d4f38707975e751eb8b835352ddc27e264c953895cfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 19): (anonymous) 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4707ef7bd8c8bcecaa5273ff92e1cb87049d66c0ca7e06c6d3082df3968ef692"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeExternalBotBinding (cyclomatic 26, cognitive 19): authorizeExternalBotBinding 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":"server/src/services/external-bot-authority.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6cc5319254510d84d7f364730c8d2019a48da5d7a3ee81ababe94e059ce3ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendHeartbeatRunEvent (cyclomatic 26, cognitive 19): appendHeartbeatRunEvent 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e969d11eebd2d6bdc3754e1778ea4e44ef62e6b359c06fa01a17e2153c1d1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectKimiLocalTarget (cyclomatic 26, cognitive 19): selectKimiLocalTarget 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":"tests/runner-e2e/kimi-local-provider-fault.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11ecc9405e918b6ad9409544f4a8b8d4f6d4ccaec9375246ea79a654bac9de9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOnboardingConnectEvidence (cyclomatic 26, cognitive 19): validateOnboardingConnectEvidence 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":"tests/runner-e2e/product-journeys/onboarding-connect.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b76fb7a8b5403607203d8f41aeea393f2ba61d52928d06730b07f2661f74d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportChatAllure (cyclomatic 26, cognitive 18): exportChatAllure 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":"tests/runner-e2e/chat-feature-testops-results.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0a3ab84871cd6226b334f7cdf235480d3e14f7c2df4b09a96ce268b5df07ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 17): (anonymous) has cyclomatic complexity 26 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/webhook-callbacks.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f3f167824d599c97ce6f2c18bdf6f31181f1a5470d8f0256d95621fae6cd6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 17): (anonymous) has cyclomatic complexity 26 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e2927e96f361f27f002ccf85a8572aced2b1204d6abefd592ab768afa17e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRestrictedWorkspaceRetry (cyclomatic 26, cognitive 17): prepareRestrictedWorkspaceRetry has cyclomatic complexity 26 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/restricted-workspace-retry.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aef5102da4a18171b57fc3b8cbd8071a08971009e374e879809a7f930fedd04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VersionHistorySheet (cyclomatic 26, cognitive 17): VersionHistorySheet has cyclomatic complexity 26 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63bc3b507dc385bb92b77eda1aed2a3bd1e5b39623851bec33ffebbd2b2eb44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAcpxRecoveryWorkspace (cyclomatic 26, cognitive 16): readAcpxRecoveryWorkspace has cyclomatic complexity 26 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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4997041c1d87653ccf77b7de819b0d18458a8c0d2de246193eeddd901ec0d57a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedPendingReaction (cyclomatic 26, cognitive 16): normalizedPendingReaction has cyclomatic complexity 26 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a75d291be72da2d28a1a391da0337c6c935ef68170daaed01f9140d74cbade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unsettledSemanticInput (cyclomatic 26, cognitive 15): unsettledSemanticInput has cyclomatic complexity 26 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af3d962426191bf8c6a1e244c7e509ea667e8fe79d8c556dd8d4a764e447fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeChatWorkspaceCwd (cyclomatic 26, cognitive 15): nativeChatWorkspaceCwd has cyclomatic complexity 26 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":"server/src/services/native-runtime/native-chat-workspace.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3bcb92da8b706027076f89139450ecdf9be093a927a5c2425c191b8874377c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 15): (anonymous) has cyclomatic complexity 26 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":"server/src/services/native-runtime/native-workspace-owner-recovery.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5dd8473188f5f54b22dbb4b2de95f25a9b04915b07ceaf15078b3bb241c9b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function studioNativeRunsComplete (cyclomatic 26, cognitive 15): studioNativeRunsComplete has cyclomatic complexity 26 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":"tests/runner-e2e/chat-catalog-domains/integrator-skill-studio.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fa00e7a4b3cdcf1850c89d85a0d378c8bcb5cd080cdd553e8b137ba4050923"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDesignDependency (cyclomatic 26, cognitive 15): gradeDesignDependency has cyclomatic complexity 26 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":"tests/runner-e2e/chat-catalog-domains/runtime-dependency.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7a92d77af4d7590848792255d676b33a37fd0b42ccf97f48f088b40a5f05f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderInteractionCard (cyclomatic 26, cognitive 15): renderInteractionCard has cyclomatic complexity 26 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":"tests/runner-e2e/interaction-report.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"850793daca0e5b382dbc52b06bda3b8b3e7480e6f94e37d61abe20b23b324832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 15): (anonymous) has cyclomatic complexity 26 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":"tests/runner-e2e/product-journeys/saved-skill-use-evidence.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5d0f1d1ddaee9705c52a2c583bb708faaceaa3b3ed5874212872f35a0e3613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorCaseCreation (cyclomatic 26, cognitive 14): gradeIntegratorCaseCreation has cyclomatic complexity 26 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":"tests/runner-e2e/chat-catalog-domains/integrator-case-create.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ed4432b5d51e1fa3791354ec25e57ce74650befc78715b78ce1afb50f3bede"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function declinedTaskDocumentNotRequired (cyclomatic 26, cognitive 13): declinedTaskDocumentNotRequired has cyclomatic complexity 26 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d654cad3010e9aebb81e10579fe56983d71435d574815fc02c1deb90ee2fbd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeClaudeHire (cyclomatic 26, cognitive 13): gradeClaudeHire has cyclomatic complexity 26 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-claude-hiring.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b99d33e12c42c86b3c25116e4ff04ff4f46abf8d04d0f3b2904fd6298789a28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectAuthoredSkill (cyclomatic 26, cognitive 12): inspectAuthoredSkill 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":"tests/runner-e2e/chat-catalog-domains/integrator-skills.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caa300229dcefb70570581e84abc03b07bc8314c1285372b9d51100dc5afef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readManualPrivateHandoff (cyclomatic 26, cognitive 12): readManualPrivateHandoff 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":"tests/runner-e2e/manual-private-handoff.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad9d1e72ea4197a352f1f7f143ea4674aec5c8af6845fc70819ee2b9ce4323f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyWorkspaceWorkerStopReceipt (cyclomatic 26, cognitive 11): verifyWorkspaceWorkerStopReceipt 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":"server/src/services/native-runtime/native-workspace-platform-proof.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"da07df774908c6b7a43cb80eaab292e4d0e7e6703071553b0da71277b6b34eed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeProfileDefinition (cyclomatic 26, cognitive 11): gradeProfileDefinition 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":"tests/runner-e2e/chat-catalog-domains/external-profile-definition.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6d6f7697d467f3b9d62a1da5c6dfdf9dfe3f549bc2913f8513bcfe6a1f1fc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 11): (anonymous) 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":"tests/runner-e2e/chat-catalog-domains/status-card-work-failure.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9de33a1897a4ff355a75afd7e880b7e9b1e41de7ac15bf6568a0a3f7807dee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPendingNativeRecovery (cyclomatic 26, cognitive 10): isPendingNativeRecovery has cyclomatic complexity 26 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/workspace-deferral.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"33483746733afadce10f6077cbd0f479e2ac832fe697120e529ef95e3e371740"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchPreparedRemoteWorkspaceSource (cyclomatic 26, cognitive 9): matchPreparedRemoteWorkspaceSource has cyclomatic complexity 26 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":"server/src/services/remote-workspace-lifecycle.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"158eab6401777af6c813dd77104ff4dd0d65e0b78abb23db0639275f4ef1d933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeConferenceRoomOff (cyclomatic 26, cognitive 9): gradeConferenceRoomOff has cyclomatic complexity 26 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":"tests/runner-e2e/chat-catalog-domains/runtime-chat-disabled.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b552ec4fd5b7918f26e6e5f36f95af3f06dd3d286dcc95e32e106130ac050e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 26, cognitive 9): act has cyclomatic complexity 26 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-outbound.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce96cc54a823ce1ebcb2b1739b87a0b235e212207e43a30ef984a775638def0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedRuns (cyclomatic 25, cognitive 67): seedRuns has cyclomatic complexity 25 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":"server/src/services/chat-channels/github/response-run-state.test.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9bdc448548099fa6b7905d1a746195aa29eb76356e39b0af1b39d57f199e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseServeStatus (cyclomatic 25, cognitive 65): parseServeStatus has cyclomatic complexity 25 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/tailscale-https-broker/src/serve-config.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7098599199cf61bbdac678e2e403e019d5929b387ed2370441585a282697848c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 25, cognitive 52): run has cyclomatic complexity 25 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0661bf2cdb55831370f5ea4c418cc8df0a466d8af0d6ead960cc981a325078a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enumerateWorkspaceFiles (cyclomatic 25, cognitive 51): enumerateWorkspaceFiles has cyclomatic complexity 25 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"48decfdff9ef03d4a491ba1a6dda491f5c9b69d06195b612d6f768314abefc41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAssistant (cyclomatic 25, cognitive 49): runAssistant has cyclomatic complexity 25 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":"tests/runner-e2e/public-mcp-model.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0aed6f2400a07a7ebd050686eddda825aaaa4572f0e2b971a089a54fa82ef3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readUrlSkillImports (cyclomatic 25, cognitive 47): readUrlSkillImports has cyclomatic complexity 25 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ea97793f9cb5041e19839bd0273f239c2901dd8f40733ab2345e8acfd05e1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffSkillPackageFiles (cyclomatic 25, cognitive 45): diffSkillPackageFiles has cyclomatic complexity 25 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":"server/src/services/skill-update-diff.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"710985f4fa38904f1dcd98360ee276e8790ad1faf0e093c87c2cc311637271c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findToolForSession (cyclomatic 25, cognitive 44): findToolForSession has cyclomatic complexity 25 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc695584709632d83e936ceada7fc7c2aabfd9d15d9f88012b76974177360900"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 43): (anonymous) has cyclomatic complexity 25 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e044843277c980ce1c62377d8a6ffca7acdcd8d8faca6c5a209b6817d22c07f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installPiRuntimeExtension (cyclomatic 25, cognitive 43): installPiRuntimeExtension has cyclomatic complexity 25 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a628f379bf483d39559af68cff19adf6e773a3a2a503e7bdd8f14eb0d75385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 25, cognitive 42): fixture has cyclomatic complexity 25 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":"server/src/services/native-runtime/retained-provider-pack-source.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81e58c4055067e5c393d2f78694ac61f3e691a1c8558db228bcb0bc1a192ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 25, cognitive 42): visit has cyclomatic complexity 25 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":"tests/runner-e2e/manual-private-handoff.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a614e7a91049021039f9a599a6169a604ea8624609a5c473cdec9f81bea38b"}},{"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/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc081147544602010e39984443bfd45aef47437f8e3619681764d22466f0fcad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkProviderPackArchives (cyclomatic 25, cognitive 41): checkProviderPackArchives 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":"scripts/runner-image-layout.mjs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e214ce3b0e1ebc99817e0293bee27b5174432ac0d6f02a1dcc4ea5b313e645"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueStrandedIssueRecovery (cyclomatic 25, cognitive 41): enqueueStrandedIssueRecovery 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":"server/src/services/recovery/service.ts"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"678dc8ae7d4016aad701cac8aba88d050cc829f9ddd42cbfdebea1453e0f1f3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareDownload (cyclomatic 25, cognitive 41): prepareDownload 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd2069ab5fa3146fcbb230538ba6c5e716848df14676fbfad85332c996a108c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workflowSort (cyclomatic 25, cognitive 41): workflowSort 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":"ui/src/lib/workflow-sort.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"302402355fbc99c2bc6fdbf7936df887524f3de98f3bf0c7ec849d462b67b1a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedProviderRouting (cyclomatic 25, cognitive 40): managedProviderRouting has cyclomatic complexity 25 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":"server/src/services/ai-provider-routing.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57386f6a1c8abf72722a524722521aefff9e0baab747892d615d7a4374a8267"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printKimiStreamEvent (cyclomatic 25, cognitive 39): printKimiStreamEvent has cyclomatic complexity 25 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6c2b5b530744613b7a5330457f65490c42b53ba7638c38ddfe4bfa17f21c5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAttachmentRecoveryDescriptor (cyclomatic 25, cognitive 39): createAttachmentRecoveryDescriptor has cyclomatic complexity 25 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"7289dc90bc196525fd78c7935a75b9dc750f02716dc8f4102c6608b100de7bff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePendingMigrationHistory (cyclomatic 25, cognitive 38): reconcilePendingMigrationHistory has cyclomatic complexity 25 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/db/src/client.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaa7f7b5b05df8f776d4c3e47d2493b443559f1aa368a9d1d2dcc9a19253587"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeCopilotExecutionTarget (cyclomatic 25, cognitive 38): probeCopilotExecutionTarget has cyclomatic complexity 25 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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfa6f0092e3b088e7d18fc06d1e10da76352c971ca873137b7ad7f2c6acfc7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 25, cognitive 37): resolve 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"52739b91265252f56f1caf427ce93a34c085dea22162ef89fda6947540eade9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summary (cyclomatic 25, cognitive 36): summary has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dashboard.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace16075a4c85af42f0fe5f269a67869730e4daf14251fbeca97222554a942c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepOrphanedActiveLeases (cyclomatic 25, cognitive 36): sweepOrphanedActiveLeases has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e165d9358d8f25b4984dad5edc9c0a5907dcace0278a02f9301ccd338b2a8113"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 25, cognitive 36): run has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d956cf477bd5ebcf9657f57349fe231d6481a71595e39d7c232e1bb9bd2fc6af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkspaceGitSourceRoots (cyclomatic 25, cognitive 36): readWorkspaceGitSourceRoots has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"706ab412f4dcef9e24e1d0913893253a8ba9bda681bd6497696554198a355de1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageGitHubWebhookIngress (cyclomatic 25, cognitive 35): stageGitHubWebhookIngress has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cbc97eb1a6c5d74cf6bdae478956fbd1738d91dca8a11e556ff9f0cfc3bfa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function report (cyclomatic 25, cognitive 35): report has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery-observability.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6598a17cdf126c1cb14f7d83cbab536d7f84ec9a2e6fb791b14a4c608d7e935a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeSlackBoardPublication (cyclomatic 25, cognitive 35): authorizeSlackBoardPublication has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/slack-board-authority.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfc695fd1f8232633b65e098eccaabfe1688a491cc6a2f9d2e5d0f3023655f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOperationGroupsInput (cyclomatic 25, cognitive 34): validateOperationGroupsInput 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/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b462c317a0339cec61d7ea732b65a06f5d3c46b60bf685a1d9743dbcc8dca6f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provision (cyclomatic 25, cognitive 34): provision 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"642dbfdedef7f3e53305cbd0c01edabeed82704011c7a63a87d4e9e5e8eb2b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReproducibleManagedCheckout (cyclomatic 25, cognitive 34): assertReproducibleManagedCheckout 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f04b95aa42499c99b7370fcff7e541692b60aa2c6b45d455f15f7060b8061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAndValidate (cyclomatic 25, cognitive 34): fetchAndValidate 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76c2bf57598fc33a4b9dec1733383c2744f522ee6c036a4d20f227483b415f3"}},{"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":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b912445c73ba8c8c485308c08fe6fccac1ac43cd145e14a1ef4afa34f055beff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 25, cognitive 33): call 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":"server/src/services/browser-use-client.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"52464e896ba47154f60ae88e3dd12e4fedb7912070c396c055c911e63d59d576"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedChaosLab (cyclomatic 25, cognitive 33): seedChaosLab 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":"tests/restart-chaos/seed.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a610ed552b10156c70d7ef0e28060d828d5adcdd88ef51cf9a774ceba849242"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BudgetAlertActions (cyclomatic 25, cognitive 33): BudgetAlertActions 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":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc45a35343e9b2d7074925b662f3909a824685e82de0713f8a5712d092a7594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 33): (anonymous) 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e4cdb7e344e05d1956a524929e399ecb07b3dc46f4075603eece1da246160d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installCopilotAssets (cyclomatic 25, cognitive 32): installCopilotAssets 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/paperclip-runner/scripts/install-copilot-assets.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf0fc3a9d50ecf80e65cfc71a4839a79187f1e5b279c54f0f4ecaa27c670258"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolInputError (cyclomatic 25, cognitive 32): toolInputError 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/paperclip-runner/src/drivers/tool-input-error.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b725e3e9287cb257da97d12f1a9fbca74ed293a92c7a147d02f0a2ce4b8c142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireOAuthGrantRefreshLease (cyclomatic 25, cognitive 32): acquireOAuthGrantRefreshLease 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":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa4c53828e55994d07b03a951c9d66f7b3751a7f146ea67c75ad99d36444085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 25, cognitive 32): fixtureFetch 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":"ui/storybook/stories/onboarding/onboarding-agent-arc.stories.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a645ee0d103ae48c0f5c9a1eb8819306c37b2dfd890471c5f2fdbfb6043e035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareOpenCodeRuntimeConfig (cyclomatic 25, cognitive 31): prepareOpenCodeRuntimeConfig 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/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3765ecafcec13c63bcfcc00ec9f6f64d2273a3757e7ae83fd04abb43768ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #classify (cyclomatic 25, cognitive 30): #classify 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/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6de15829a2eb4379e9782ae711b84ae26cddf8e6c1f2408272183fbe7beb8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 30): (anonymous) 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":"server/src/services/access.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fba90c590953d5879c777409183f15a4bf2d558171402a6e71113fca1c001c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createOwnedSandbox (cyclomatic 25, cognitive 30): createOwnedSandbox 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":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3842342cedffa279fa6e453a9487402d7e37dc292b4070e26c9291ebb33be0f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandReads (cyclomatic 25, cognitive 30): commandReads 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":"tests/runner-e2e/hiring-template-scoring.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf647e812bb412a5114474e899e53c2103c54c3ddbf18c1b7b4ca0793113fd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapCodexRpcQuota (cyclomatic 25, cognitive 29): mapCodexRpcQuota 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"becf46021c0aca5ff35fa2838b23b5f8670e1f87c54ff426229d11dcc9d1ee92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSdkMessage (cyclomatic 25, cognitive 29): parseSdkMessage 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/adapters/cursor-cloud/src/ui/parse-stdout.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1da1623309b5eeb29c0badbd435690c2328644b8a924d95d27045806b16c387"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCopilotArchiveEntries (cyclomatic 25, cognitive 29): readCopilotArchiveEntries 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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a87e3d3de422998354102e67b9ddc8498c982a37bde8b8fea2ad7ce635b3c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 25, cognitive 29): transition 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":"server/src/modules/agent-lifecycle/domain/policy.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d52d749da239d5fddc2322302f4b9a918c07b3b796d28e796b145b5af6fa7a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePendingSlackFormWork (cyclomatic 25, cognitive 29): reconcilePendingSlackFormWork 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ecf7b98a245f7a43bc7fa05545ba8f6ed0d079ac84c17005ed5999f5900309"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 29): (anonymous) 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":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2598b834e4ce8b426867cebd4e5d0342e795f633e46410970be18cbf09b5bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 29): (anonymous) 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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"89691cf292e7925d327dc7f1cd5161c3b503255d5af45773865f650b2882240f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppLogo (cyclomatic 25, cognitive 29): AppLogo 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":"ui/src/pages/apps/AppLogo.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a99b7571ae914146962a32c33fee56fef59ecd6efa6f93fb5305af6c0a93e96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAcpxSidecarHostEnvironment (cyclomatic 25, cognitive 28): createAcpxSidecarHostEnvironment has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/environment.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfa7d4fd1b5204728551c7af042420636bfa8c62c504393ac5bdf350116be4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 28): (anonymous) has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":5070}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8181c0a4c7fef7cbcd8c961ff4310cc9228e55b9e3e14a3d19165b6f99b9a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sessionRetentionBlocker (cyclomatic 25, cognitive 28): sessionRetentionBlocker has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf43a2f080cd81a75fdf358201b8a775bda3ad8e1c3d3df8b4d331c7b28941"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverOne (cyclomatic 25, cognitive 28): deliverOne has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca259a6d2b1b78e536d1302f52b6bc39dd8925d879a36ebd6411380e2d62ba8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRunLiveness (cyclomatic 25, cognitive 28): classifyRunLiveness has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-liveness.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4b41724857af01f61dc87f59f25f37ae7edbfeddbe149c16fdfefac6931db2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUserSecretValueInternal (cyclomatic 25, cognitive 28): createUserSecretValueInternal has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d8b7e3c0b4be98b563f55b542bc8e606a843ffa273540cbeef10075cc60473"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineDiff (cyclomatic 25, cognitive 28): lineDiff has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-update-diff.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c8d4801de4e4594933a142c5b2ca18dfcbce6b2d8614b93d324789e7ef5dd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerError (cyclomatic 25, cognitive 28): answerError has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"943abf72a95ff42c636a67aaa994b66bcd754e7ca46672c1ecd690939da951e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) 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/plugins/sandbox-providers/createos/src/plugin.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"909922497e54db450c3c51eeedbd96025f149b160c3350fc9ae99f918737d8ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertInReviewReviewPath (cyclomatic 25, cognitive 27): assertInReviewReviewPath 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":"server/src/routes/issues.ts"},"region":{"startLine":4873}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca33acaf842c2f18ef571e67ce79a9024db03f892bef17dc78bd2a52e3f5f49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) 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":"server/src/routes/tool-access.ts"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"404583e6a08bca2eb6455dcf66c825ffbd8f761fd3974fae224a959263f0ae19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) 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":"server/src/services/chat-channels.ts"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"023d36117a48241e45d0d9b4a63a2d0e0674c08ccaad2eef7ca98fe906414321"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistLegacyControllerEvidence (cyclomatic 25, cognitive 27): persistLegacyControllerEvidence 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":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7325af905d38e0887c536344841180fa1da8ddc0aa1e16ff37a47cefc612e573"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) 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":"server/src/services/projects.ts"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ba118112ec9efc09b4b79669bbfbd9b49c5a9a72292a102a35736e6eaa6a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"140132c341e10bb1503eeadb5d4f66519ef69b7ccc72a1874d49cce75e5de04b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function questionSequenceStep (cyclomatic 25, cognitive 27): questionSequenceStep 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":"tests/restart-chaos/question-handoff.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed185a43ea1d4d01d3f926f197d3a07b39d255b4f9858ebfab33f0fcb0db5e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 25, cognitive 27): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-active-steering.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58063004bade9c6c64576a550e005fcef396d0e5949c6b1924a3e30c8909c0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectPilotCatalog (cyclomatic 25, cognitive 27): inspectPilotCatalog 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d1aa2cac0905abc013c68fdf208a1beb7b2d4ee81ecc8fc604643fa03ae609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) 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":"tests/runner-e2e/eval-gateway.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fa32a8fa9598cac74b2d5e0ff5926ef89d57a9571de5d8a0f8f946331e114d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateMatcher (cyclomatic 25, cognitive 27): evaluateMatcher 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":"tests/runner-e2e/matchers.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"debf1dfb21c9f46463989d41bd72925218b2fd8d9ebe83c632cbf817997440b6"}},{"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":"server/src/services/agent-commentary.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d00513577569fae006220270a852bc1a995ba5bec20766f07eaeccb4941f90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 25, cognitive 26): request 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f793a6fd43e9615c1ba0fa9da9a242ee72be66e106eee32444af56a13b778fa"}},{"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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c3aec6aaae0422de2c5a2302082941873501fea290c1f6f7af19696abe9749"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireEndedRemoteSnapshotLedgerRow (cyclomatic 25, cognitive 26): retireEndedRemoteSnapshotLedgerRow 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":"server/src/services/recovery/remote-snapshot-ledger-settlement.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f750006e2e363c07538b015d08aeab9b4fef0a2a8bd279ea43d005dedf8a82e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function websiteCreateArgv (cyclomatic 25, cognitive 26): websiteCreateArgv 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":"tests/runner-e2e/chat-catalog-domains/privileged-cli-support.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99497c81986d110ecefb3be0e96d303e985c611c5a158aa1f4e25cdec561c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectStep (cyclomatic 25, cognitive 26): SelectStep 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1fd1b946d0653a6fb7e7953b55792b558d954861a69c5ec35019ca2d44660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":31156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b7e45a8f852675706f916aa14ca1fd0d883d8df2fc1ffba8df769b67086c44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) 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":"server/src/__tests__/heartbeat-dependency-scheduling.test.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5859f9d93ef2da247714a0f1947d9b1e33393a90bff5cd6b16fe1e8a26ae097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) 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":"server/src/routes/cases.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baff9cab23c262355af188d589de84c83bd6ec2f13ac0e64dcf8f9fd151b5c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) 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":"server/src/services/company-skills.ts"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e3b2fe9514bc5856fd14d72c5c8a6c80e2fe0bc348d5c9dd69e270897683da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) 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":"server/src/services/native-runtime/plugin-runner-eviction.integration.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74326f9c32cac09aaeae80e9f95fc39698167d06a9bf8914e4405dbb49268c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 25, cognitive 25): update 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":"server/src/services/status-cards.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1981d1fd93e4065b7dab23649f15320fa72a386112049e74993c98021d86f4fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) 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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dfaa9e15441f6e30b24b519b27a1a8e9a4cb78307ef0311fea04aafef08b0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serviceHealthChecks (cyclomatic 25, cognitive 24): serviceHealthChecks 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":"cli/src/checks/service-health-check.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab3beec27681e89141c711007576251063921e55f2f84eeb2bb521b50f5abca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareIssueCoreFields (cyclomatic 25, cognitive 24): compareIssueCoreFields 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":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"74683df9623b699f8139e4008bd7618ce15fa71d5bb52939287ec7742cf4daac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 25, cognitive 24): main 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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b61240d7d9a1f60e1a985348e27b4be9d00bd0ddfa9c0a0e2674407aa9e96f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 25, cognitive 24): reconcile 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6903c05d70b4ef072943fd628f5dcc55d1e8b9d58ebd15ffb4966341b7b69011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function faceForSize (cyclomatic 25, cognitive 24): faceForSize 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/shared/src/cliplab/renderer.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8db2735193ca20e504bf880f2dcf52db68c762e31181930dbe87cf771fd1e67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeAutoRestartChild (cyclomatic 25, cognitive 24): maybeAutoRestartChild 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":"scripts/dev-runner.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"1538ebed10dfcb3f27b152d969f6a99e0a941b52981756e5a21ff86a82ad2889"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedStrandedIssueFixture (cyclomatic 25, cognitive 24): seedStrandedIssueFixture 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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4138515759e0d7c894b30b96918c3b3b542da1c5b1175ef095dabf4ffb9539"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRemoteMcpTool (cyclomatic 25, cognitive 24): createRemoteMcpTool 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":"server/src/__tests__/tool-gateway.test.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9f977cfeb3c94c7d9780114d2c1696a97a9ddf6227ded61129dca98518cab2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createVersion (cyclomatic 25, cognitive 24): createVersion 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":"server/src/services/company-skills.ts"},"region":{"startLine":3757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ac426001bceec4f58e1534d6d565ec6060276d3b10f9b3e441db1e81398efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRecipe (cyclomatic 25, cognitive 24): inspectRecipe 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c044fe81b1e8ec64aaa293f372e1c3844a8ff63976783c5181ebe716f403da6"}},{"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":"server/src/services/heartbeat/workspace-preparation.test.ts"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b76a34348fb889d3042a8aaef2db62577b13e89cde0c084c3ab00fc9bfe0726"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureSourceScopedStrandedRecoveryAction (cyclomatic 25, cognitive 24): ensureSourceScopedStrandedRecoveryAction 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":"server/src/services/recovery/service.ts"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e3cdfb5934dfbc459a06f885aef6d253809e4c4d30099b7ed7dfa1ad399141"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openGitSkillSnapshot (cyclomatic 25, cognitive 24): openGitSkillSnapshot 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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6277b4bd08706eff47d3d27b52c55f6c97016553debb040ac1edc5a2094dd54"}},{"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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1c8221c54bc193cb1471f8f75b8b9435686aea1e5d089f522a65871c0bbe85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFinalizationRecoveryFlow (cyclomatic 25, cognitive 24): runFinalizationRecoveryFlow 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":"tests/runner-e2e/finalization-recovery-flow.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fbc7e0b68ddb5238aece4532212521c4149488c77f8e526ad14acb5774fc2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DispositionRecoveryNotice (cyclomatic 25, cognitive 24): DispositionRecoveryNotice 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacdad54f05e51a0e718cbf56e53dad708d3d535c1c6e4a5bed3f29cde7a5818"}},{"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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e86cd1eabffeac061e26f04378fbfa7d7492a4bd7f5897511d2c6288e5cc678"}},{"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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"97644a1ec68c00b4358def33946f1b7368bec19e049e5365920c84f787c9e001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarAccountMenu (cyclomatic 25, cognitive 24): SidebarAccountMenu 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":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f54c6b338e6dc025af166676bdc8e7cfd758b5109094cbf1653b53dea9ab84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceFileLink (cyclomatic 25, cognitive 24): WorkspaceFileLink 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":"ui/src/components/WorkspaceFileLink.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"905006f6f046a4cf1321a7298e1fe65c5392f1b2c28630e7546d209c67118cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthAttempt (cyclomatic 25, cognitive 24): AuthAttempt 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":"ui/src/components/ai-connections/AiConnectionAuth.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1706314c51b2719d20efbf02bbd0fca71ee13a3b0f6c0c60cd7a271bca16e25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) 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":"packages/paperclip-runner/src/drivers/opencode/empty-response.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ddead67460984c58001b77c78d46271ab4f46f44f8e516509745f692985d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) 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":"server/src/services/issues.ts"},"region":{"startLine":5176}}}],"partialFingerprints":{"codehealthFindingId/v1":"880a9eec75bef438c81506fb2e0710a7f159997a28369cfc16efa7832db6158e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSettledRunnerdProjection (cyclomatic 25, cognitive 23): readSettledRunnerdProjection 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5947}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae93d516d153ed3c87101a68ca4413181a414b2203d840a590891415c2218ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) 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":"server/src/services/routines.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a7f88f8d6beef68d37b49ca4e1c8a8065e4092decb1e37777a633ee0c6041e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrappedFetch (cyclomatic 25, cognitive 23): wrappedFetch 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-fault.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bd5662425a7b525917cef10e50c1a6a2005df3fc9641c8764dda79a085d0a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRepositoryVerificationFlow (cyclomatic 25, cognitive 23): runRepositoryVerificationFlow 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":"tests/runner-e2e/repository-verification-flow.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8396fd0d3e6df0549298b485777b3a13ea6ce04e59200a22bdd91dd4bbf94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineTriggerCard (cyclomatic 25, cognitive 23): RoutineTriggerCard 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":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d913bec50ea6dbf45868f3ecf22397d9f8d327ca582be13ec510098b15a58015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) 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":"ui/src/components/decision-models/DecisionHistory.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d985d1206765909dad829df433089b962b1938a046db981e51f672cdb1c16a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetailTasksPanel (cyclomatic 25, cognitive 23): TaskDetailTasksPanel 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":"ui/src/components/task-detail/TaskDetailTasksPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"628bf70af13a39f8e4bac93842715707f354fcb04ef2a740b29d48ed5661ef5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentSkillsTab (cyclomatic 25, cognitive 23): AgentSkillsTab 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":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fd5a38c4c91ab4f0faae8032b28b61964fcfccf4ae3263c8d322bbfb3e68bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentCommentary (cyclomatic 25, cognitive 23): AgentCommentary 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":"ui/src/pages/audit/AgentCommentary.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8b065b2b79af275861cf3b6266ec942cccda3e6f1e1f4a82d7ac9b340d0f5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayProvesEffectFreeInitialAcpxTurn (cyclomatic 25, cognitive 22): replayProvesEffectFreeInitialAcpxTurn 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafb71bd0d74a6424eb95d9f275339cd478dbe0752144c73a6fa95818335a312"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideCapabilitySemanticAuthorization (cyclomatic 25, cognitive 22): decideCapabilitySemanticAuthorization 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/paperclip-runner/src/semantic-tools/policy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8a6a31ab279831713ef408409a73e2051471dd711db43d89d977efb4de5e0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeIntoExistingDeferredWake (cyclomatic 25, cognitive 22): mergeIntoExistingDeferredWake 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f265aaee00de8152433520d17a1be9a97b59d914a6e0fcf2f6b3715a07f84696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAgentHire (cyclomatic 25, cognitive 22): prepareAgentHire 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":"server/src/services/agent-hiring.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5749dff5ae25b2d06a3a9bb340ff9599620e3326bb50a2db7876abe1465ee2ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 22): (anonymous) 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":"server/src/services/environments.ts"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb14e0555093c45568b6d7372411bfef4bbf027abcbba1f6459b1b964a4aedcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 22): (anonymous) 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":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c101ce4968a8092451b7cfa6f99a5e780bcdd238c7828a0b6b7f837bed87f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunContext (cyclomatic 25, cognitive 22): resolveRunContext 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d998ae7319fd6e04fa31bc0eed4b27529d443a5c628590aea8d13848193eee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuiltInBundlePanel (cyclomatic 25, cognitive 22): BuiltInBundlePanel 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":"ui/src/components/BuiltInBundlePanel.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bcec71d33411ac762946a829183091e222c4d2f7e047b5d57973f29a195592"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuiltinCompanyMenu (cyclomatic 25, cognitive 22): BuiltinCompanyMenu 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":"ui/src/components/SidebarCompanyMenu.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dd6a631eae214860841193bd0b1d5ee1a9538fc79f41fcbc3f8a1716168b42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunListItem (cyclomatic 25, cognitive 22): RunListItem 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e2159873ed6612fe79c6add7ba28b53a4de25b8ee1bb757e95410b3b08714d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstanceAccess (cyclomatic 25, cognitive 22): InstanceAccess 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":"ui/src/pages/InstanceAccess.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"976043d15e3dc61689fc37694cd5a5b3374e2ee4771151cbfe4ab756e74f0625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileSettings (cyclomatic 25, cognitive 22): ProfileSettings 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":"ui/src/pages/ProfileSettings.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b978dff63565787e34a3a4a2f30252a200ac2d3fb174d6bff85f1b3a19bdb98f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 25, cognitive 21): apply 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d46053524196097f4d5c1351fa81d387cd04a420b47bba24345a71ce1d2c1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubReviewCheckState (cyclomatic 25, cognitive 21): githubReviewCheckState 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":"server/src/services/chat-channels/github/review-check-state.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d7a8cadebcaa7513b18324228d534de68a9078afd0d0e58ee2c3f626475487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #callApi (cyclomatic 25, cognitive 21): #callApi 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"109064de5388502fa0f17d8ac3532a8e8a0431386a22a2ed532735902ba8e621"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 25, cognitive 21): apply 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3270}}}],"partialFingerprints":{"codehealthFindingId/v1":"161c1573458435d20f8eed6118a1435f038674e2ceed8f8da51adf834132af52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reusableSandboxReplacementPlan (cyclomatic 25, cognitive 21): reusableSandboxReplacementPlan 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":"server/src/services/reusable-sandbox-resume-replacement.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a82882eafc61a4db05ff7af99ae794f1bf24602eb2f3e049beae03eb5c24ce5"}},{"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":"packages/paperclip-runner/src/backends/runtime-context.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46e0f6eb221fca01a21055b3db22388b780dabfe4ca3c9dfae7f3f82430ced6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkpointState (cyclomatic 25, cognitive 20): checkpointState 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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec60e97acc4d15cc3c1fd82257ff7b75bb9c3d41fd6db7f75222a7a67658ebe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validStoredWarmTransition (cyclomatic 25, cognitive 20): validStoredWarmTransition 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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb8b39544c3ff07f9a0ce3cd48b5e3b31676a6d6d99e240f92141087758a68a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimWarmNativeInstructionCopy (cyclomatic 25, cognitive 20): claimWarmNativeInstructionCopy 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"74989ab05fe7788ce2729987ad2ed565f42cdc90e6416da46ed38edfae85f061"}},{"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":"server/src/services/sandbox-creation-operations.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f0b715db8a0c55c4f3c07193252588dfdd3e7b6ed11ce5849c4218f3fd95d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSshComputer (cyclomatic 25, cognitive 20): gradeSshComputer 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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-ssh.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d361117d27036d237cda6c6966d47236f67873832229eaffbad3577eb875b4d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideTaskBridgeAccess (cyclomatic 25, cognitive 19): decideTaskBridgeAccess 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":"server/src/services/authorization.ts"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4136014f72369733026c41d59aef2821b056bb09f8ad0f7e9cfe9318b7a6ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNavigationBoundary (cyclomatic 25, cognitive 19): gradeNavigationBoundary 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":"tests/runner-e2e/chat-catalog-domains/identity-navigation-boundaries.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"48123501927bb0fd4e573def6709fd385db8f3327948e9135f1a6f3f670c9d8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadDraftSubmission (cyclomatic 25, cognitive 19): loadDraftSubmission 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0641b121af08b0df5252c841837be73177194b7090e20fe7c1515b5ba82da46a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesignSandboxTasks (cyclomatic 25, cognitive 19): DesignSandboxTasks 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":"ui/src/pages/DesignSandboxTasks.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b812ef59b81154cee6428446877cf5bcccc90f11f5006fa1a31557ca265578cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportSkillsFromProjectDialog (cyclomatic 25, cognitive 19): ImportSkillsFromProjectDialog 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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e8fcc1dff3223a74488c1d04c7b3f64f50b08b6499355fdfef788c3f56c660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNativeRunKeepsOwnExecutionLock (cyclomatic 25, cognitive 18): assertNativeRunKeepsOwnExecutionLock has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd33a63ee9813d990ecf80dc2cceffa0d1fa0d299b9d943795c08b9cc6603a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 18): (anonymous) has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8438685e80aad5bebc7d563dc1b56183b79fed741e37f2248dd10569dcd7d55e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grade_projects (cyclomatic 25, cognitive 18): grade_projects has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-projects.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafce91417a9428ac00653ecaef153fc56eaea18664185fec0cb447680897308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completePilotRegistration (cyclomatic 25, cognitive 18): completePilotRegistration has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a0f7d9bc1787a041663f686d2e39cd8c3ec7c3330789f75cbd328b75d0bd72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectChatRunEvidence (cyclomatic 25, cognitive 18): collectChatRunEvidence has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-flow.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb69aff6d124cbecd723580800cbc1b2f8c33445c8a11c9834dd6b52a42f5f71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeProviderUsage (cyclomatic 25, cognitive 18): normalizeProviderUsage has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/provider-usage.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"47408adfa6f13e8c0a4d74b078b54088d3672e7cb5840cc7c3815b67ce61f236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommandPalette (cyclomatic 25, cognitive 18): CommandPalette has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7613e4ae4ea88d7e1d3b0f1b1dd1fdf2160e1be826ff878699d1c0f5c920e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolDecision (cyclomatic 25, cognitive 18): summarizeToolDecision has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"02644adb6af6cc45d8db45ed3c59a04dca4a8d94e47073eeca919eceb1d0cc45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 17): (anonymous) has cyclomatic complexity 25 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-migrator-artifacts.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f429fc94f539dbfccc9807a60f143c3d757c6ba6e2916ca548aa806e2826cdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAppReview (cyclomatic 25, cognitive 17): gradeAppReview has cyclomatic complexity 25 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-app-review.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a1dff9be8afe0f07faeeb9c8311a40638af566ef685efa33d901d1728e1bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 17): (anonymous) has cyclomatic complexity 25 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"865342addd688c8f70bcee6c9e34b21d177fe186e5fa901ad6b349be04d5c127"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityDistribution (cyclomatic 25, cognitive 16): antigravityDistribution 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f65cda262dd6551ed28abb1c767cc92ad721427f3a2f81c0000f9bc06f93ab5"}},{"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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce5951fddfb1e69c3877b9f1d94412d8f20c5441a241f1be36c86f0786f101"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProviderPackLayers (cyclomatic 25, cognitive 16): readProviderPackLayers 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":"server/src/services/native-runtime/provider-pack-layers.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b8bc9af43d820a5a38847777a23969643f8a4249f4f68cd7efb571374c40ba"}},{"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":"tests/runner-e2e/selectors.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2020748c0b6ada11cb478462eea6ebd9910bbf393aabdff946d13c31ee35a0a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 15): (anonymous) has cyclomatic complexity 25 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":"server/src/services/grok-bot/workspace-inspection.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36172fda2afc5284c5737aa40198521f2226f42a81504dbb46f285b60102340"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeClaudeUpgrade (cyclomatic 25, cognitive 15): gradeClaudeUpgrade has cyclomatic complexity 25 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-upgrade.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9864f3ff5dccc85597916941cb6e3a8d7658bba41e2349d672c61bbf6c41a5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 25, cognitive 14): parseArgs has cyclomatic complexity 25 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":"scripts/paperclip-commit-metrics.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4726c4ad2882ff6a26a22293c1a1b0480bfe17760cddd337e1963f119347628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStopOnlyCleanup (cyclomatic 25, cognitive 14): readStopOnlyCleanup has cyclomatic complexity 25 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a071ce31c6133e5d2daafd3a1e21ed26d00afaf98051bc8c93df21fbb6cdce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function declineReplyEvidence (cyclomatic 25, cognitive 14): declineReplyEvidence has cyclomatic complexity 25 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":"tests/runner-e2e/connection-guidance-evidence.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d641273f40fa70fb1b98fe08be53163af84022e7e07f0a1f06f187e5a5848cb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskReplyBelongsToRun (cyclomatic 25, cognitive 14): taskReplyBelongsToRun has cyclomatic complexity 25 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":"tests/runner-e2e/native-task-reply.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e5339d4a9974dadbfcdc752038a91b1152df651fc0c7fbc40d6f0816081b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 13): (anonymous) has cyclomatic complexity 25 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/everyday-remote-restart.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd07ca5fad4d61844a11375998e0fd078c80152692a4844420c37d2802116ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGitCacheRestoration (cyclomatic 25, cognitive 12): readGitCacheRestoration has cyclomatic complexity 25 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c3aebb618cb3573a2d68f2c2b6a3d1a52eab9379076766cfeaa5b82635b105"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isInterruptedNativePreparationCandidate (cyclomatic 25, cognitive 11): isInterruptedNativePreparationCandidate has cyclomatic complexity 25 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"315014b597b20ba2f8baeca8c3aa10ccb3c4dc75a7473386bc0f429dd63f6bec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmedOlderSuccessfulSnapshot (cyclomatic 25, cognitive 11): confirmedOlderSuccessfulSnapshot has cyclomatic complexity 25 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ff922e124ca7e04879e52916f70eae4c607b5eb758dd934b92832145e8bd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preservedDatabaseOnlyFailedCheckpoint (cyclomatic 25, cognitive 11): preservedDatabaseOnlyFailedCheckpoint has cyclomatic complexity 25 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"344ff301d963c32b742b39f7408422f6daefec9f1ec66b497d9274f3a7db3494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRunHistory (cyclomatic 25, cognitive 10): gradeRunHistory has cyclomatic complexity 25 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-run-history.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffd30f09b72ef3439130d2107a6cc0f8f2be7f06f97f325aefa8473c33172a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWorkspaceClosure (cyclomatic 25, cognitive 10): gradeWorkspaceClosure has cyclomatic complexity 25 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-closure.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6f886d235e113e944e4ea92a717461cf24e6d94f6b57332a65ace66af80262"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summary (cyclomatic 25, cognitive 9): summary has cyclomatic complexity 25 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/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a33f1b9b82e4d5d47cbc0654f9027258e650ea2dfb39789b5e59ec48874c4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeHistoryUsage (cyclomatic 25, cognitive 9): completeHistoryUsage has cyclomatic complexity 25 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":"tests/runner-e2e/chat-catalog-domains/routine-history-work-failure.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db9ef0bb9e4165bb3af3a0ac7b31a5c58985749263b7ee9a612092645683039"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeCopilotMaterialization (cyclomatic 24, cognitive 51): writeCopilotMaterialization 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":"packages/paperclip-runner/scripts/materialize-copilot-binary.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a81e29529a45cc64f1bb141073f799e2d8c1cc440665bf1dd5e1589546462"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregatorAlternatives (cyclomatic 24, cognitive 51): aggregatorAlternatives 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":"server/src/services/connection-intents.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c12da456e7137c69385c457f16ee216dd3099abc74fedfbe7e32b014ad3fcb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveList (cyclomatic 24, cognitive 49): archiveList has cyclomatic complexity 24 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4e28c9ea43cbd6fcb393c2d1df3277b13a66be28b3268267fb7b23f06897fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visibleCandidates (cyclomatic 24, cognitive 49): visibleCandidates has cyclomatic complexity 24 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d7de276d00b2eba2ffd7c5468fbe2e11167ff5cc027a09e4ff9495fda702c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function integrateImportedGitHead (cyclomatic 24, cognitive 47): integrateImportedGitHead has cyclomatic complexity 24 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"8242f9b9ebea4364ed385dcd8ea51abc5910883a3aad828c9688518ced5aae3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepPending (cyclomatic 24, cognitive 47): sweepPending has cyclomatic complexity 24 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c136981ba083ec7655422a535276c669ac8a4c76f187b7558d943b3826f5709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 45): (anonymous) has cyclomatic complexity 24 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5956eeda06f2049cd219485e92817b52dfe96e43842bc8e51e18e030a5aa50cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSummary (cyclomatic 24, cognitive 45): renderSummary has cyclomatic complexity 24 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":"tests/restart-chaos/ledger.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"13586fda83dd6141749ea7ef358a335471e4f2c5df9e0cc1aba014058687c221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForFreshConnection (cyclomatic 24, cognitive 44): waitForFreshConnection has cyclomatic complexity 24 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/connection-flow.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0461caed8172f98f01170b7478807decd59c5b24faef725c676706bf9fb2657"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printOpenCodeStreamEvent (cyclomatic 24, cognitive 43): printOpenCodeStreamEvent 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/adapters/opencode-local/src/cli/format-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"68afe05fd2023c2f99818d948726ce5acb6e0a1df415bcd8bd1a7775505c9e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSuggestedTaskEffectsAllowed (cyclomatic 24, cognitive 42): assertSuggestedTaskEffectsAllowed 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":"server/src/routes/issues.ts"},"region":{"startLine":6454}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb55a517a9c6bdd70c4e3540c7834f715a0b15391743df19b2f926958a077a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 24, cognitive 42): run 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":"server/src/services/chat-channels/runtime/receiver-work.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdce4e48f072af4e1be860ef27171c0d9bf8ef4aec327e886352cb8e2fc4576"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlBlock (cyclomatic 24, cognitive 41): parseYamlBlock has cyclomatic complexity 24 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":"server/src/services/company-portability.ts"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"38119447a1feefb5b445068de29048f5983f14f483b684cbbcf46e12cd9c7149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frontend (cyclomatic 24, cognitive 40): frontend has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/helpers/maintenance/postgres-proxy.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eb0f9a0678ea73f6355052f95fa7a8b0c1635a3631fac38e882f9b16cfdcdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 24, cognitive 40): tick has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-retention.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced59a1ff637683ba53a254980da9bba724395beb343e74d093c174eeb4f0991"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 39): (anonymous) has cyclomatic complexity 24 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f500ea7022083a61b6178102eeee86c6482d04972cd037709660763309af126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireCheckpoints (cyclomatic 24, cognitive 38): expireCheckpoints 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fe86a2c20ad7e12231f43fa7cab06adcb84e58c6a2ba3bb68505a5a864ff4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRunner (cyclomatic 24, cognitive 38): prepareRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19054}}}],"partialFingerprints":{"codehealthFindingId/v1":"3499c422314cc9228d258ed1ab05df1049a2e8636a85d0793784674e2d5d5bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 24, cognitive 38): visit 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":"server/src/services/photon/media.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031e8aed19f66dc267f5a3a435bd120d0f3414f70c47f4729ad155b4dabd762"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatter (cyclomatic 24, cognitive 37): parseFrontmatter 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":"scripts/generate-company-assets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"001a31922ddfb87e9beae8679f4b0c77824721cc56bb7ff7b4980c6a35f2e761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 37): (anonymous) 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2742bec12d182ba8fbc293f51d190b8fe55a9aefc3029d11389ac048c56184f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #readApiFile (cyclomatic 24, cognitive 37): #readApiFile 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a470cfdf8109937437ff65dbee2b67eeb7f20985016b136dd7f75e12c3f23da2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apiReadStatuses (cyclomatic 24, cognitive 37): apiReadStatuses 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":"tests/runner-e2e/chat-catalog-domains/api-read-receipts.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d42a74ee0ff3d2ecd6438c08ec273bc2d977d84b64ef7ea509cc1e1cdfd165"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pumpEvents (cyclomatic 24, cognitive 36): pumpEvents 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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d527950ce605b3ab9c8120e884532a69a2b69efb33cc212ffbdf8cbe672dc2"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":20318}}}],"partialFingerprints":{"codehealthFindingId/v1":"68804a291ae0a0f79b18fd4730ca538505d789e7da1280ab88d928733d7c5bcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tickScheduledTriggers (cyclomatic 24, cognitive 36): tickScheduledTriggers 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":"server/src/services/routines.ts"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6c0b18ad6f491745500cd44855d14643b0be1c9b612f611ff8707e9d3fb2e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 24, cognitive 36): fixtureFetch 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":"ui/storybook/stories/agents/codex-runner/upgrade.stories.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ddcfc821812d7bc9238a43d4e9e03d4bb7a28806585b71a2e0fd96674506bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findLocalNativeControllerObligation (cyclomatic 24, cognitive 35): findLocalNativeControllerObligation 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d3d2d5a0235507e932ad0d1acdf43a0d49297ffe5a191ccf72a8a369cde65c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIndex (cyclomatic 24, cognitive 35): buildIndex 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":"server/src/services/saved-workspace-archive.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"329fef8e469d797a5d94aafaec239d99a97e023a197b32d06caaad89464810a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSkillPackage (cyclomatic 24, cognitive 35): inspectSkillPackage 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":"server/src/services/skill-package-inspection.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"417bea06be5a991a3c724e9299d1c467baceb827ce1dbce7350e0bb644358705"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function piProviderConfiguration (cyclomatic 24, cognitive 34): piProviderConfiguration 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/paperclip-runner/src/drivers/acpx/pi-provider-config.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff1462a7b0d2e2fff4ba9d5f36c15a829bb2d6f076827353edba52d4e82fd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistDurableAgentFiles (cyclomatic 24, cognitive 34): persistDurableAgentFiles 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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8751bac9fcc1ddd2b1b4468d79cac2ea7cc0efcea70f514645edb20c845740db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancellationResultJson (cyclomatic 24, cognitive 34): cancellationResultJson 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":"server/src/services/run-cancellation.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"84548569fc13a26856dfa04da5940459311090ac560e293165f82bbae6b59c5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transaction (cyclomatic 24, cognitive 33): transaction 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":6285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7807d398de7ea86bb44f881ba0e62c6b092b0369889d9ac90f6900e37e975ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepRuntimeControlOperations (cyclomatic 24, cognitive 33): sweepRuntimeControlOperations 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d12e8384f94250118a6ab9a57ed844892f4f2314312cbe8648c9470c8faffa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function middleware (cyclomatic 24, cognitive 32): middleware 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":"packages/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e2ac0d96e0eae7e104baf5bbda872c7336580bedaf1eaac303a028f06db163"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 24, cognitive 32): resolve 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce4190bd1c0af2f67e974bd59e72ce66c95ec6a942cfaedc437262924be1ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 31): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":27255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad24b95c9f8139917f7d2f0a3dccba17b84b882932d86f47da6699e8070e40e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 31): (anonymous) 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":"server/src/routes/adapters.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"278199a0442cccf5cd3b0b8fdc08dc2d55c886025ba501ede19b2799d0eea675"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 31): (anonymous) 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":"server/src/services/environments.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc5287c0d626b66636d2cee31a084c8b77bcd5ece63716929c0ca3e859aa74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeOpenInventory (cyclomatic 24, cognitive 31): observeOpenInventory 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":"tests/runner-e2e/chat-catalog-domains/internal-task-inventory.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1210dd0f0a9bc9b2059369d1dc1193c04a70aa124bcade393dcff60df45c44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSession (cyclomatic 24, cognitive 30): openSession 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":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"847bc49b3ee8029cca4dfe539610baa7cf979ecd1908182a90009f6df500582e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #validateState (cyclomatic 24, cognitive 30): #validateState 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":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"db052bc8cf43092f709d17560d2358cce614ae6071953aab63d83e035ce7a4c1"}},{"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":"server/src/services/agent-conversations.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"25326460efd6e3df1f3da1a9d641505c4dee6565f39bcea2891932a433dad2d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOrigin (cyclomatic 24, cognitive 30): resolveOrigin 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":"server/src/services/decision-retention.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"82254057bd2ce71c52364d34c3a03cd100f891f2ed18e5d1f41ee457a9ff431e"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a6ec5d532a5ba87cae64b732fc96f59c8cbc8f9ba9cfdf67607b8ee7f61888"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRequiredQualityReview (cyclomatic 24, cognitive 30): readRequiredQualityReview 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":"server/src/services/required-quality-review.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab70714d39a4654d00c256d9c39339f24ea1d29ebe808111a7e44d688c629cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryAfterSettleStage (cyclomatic 24, cognitive 30): retryAfterSettleStage 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":"tests/restart-chaos/staging-mix-retry.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d974cb2275f462444293e519790bb4c9c2ddf448578b3c3cc0155b1f591dac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 29): (anonymous) 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":"server/src/routes/file-resources.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e4fb758749102b208f64e1a1c3ed9a2629d7ecdc94867c01d324b75ea1cfde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueWakeDiagnosis (cyclomatic 24, cognitive 29): buildIssueWakeDiagnosis 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":"server/src/routes/issues.ts"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da07fdd53555074a1aa97df5491800136101f2b81105ab4532a8ae2ebedb0d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 29): (anonymous) 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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb033ea07bfb2722e6deed81949704f8a9ac5c89e4853ca39e0374f3fe6578"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 29): (anonymous) 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb2aee520da5a76d7bb54d2da7bd3d1abf9a256d44bf9301318f268e105c951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 29): (anonymous) 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":"server/src/services/quarantined-task-retry.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5568b7b3ed319bbc77864de4c73102dbfe45ca52a3ab0a80fc77884c754a82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstTaskTranscript (cyclomatic 24, cognitive 29): firstTaskTranscript 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":"tests/runner-e2e/first-task-transcript.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4f3ceb4e0812c133409e8d8cb2d6bfa38b225d46d060502ddd9cbc67f18d96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexLocalConfig (cyclomatic 24, cognitive 28): buildCodexLocalConfig 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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1f5d3edeb24510e297fd5c63e494453d6a8d34bccd58d2a1a2863df33a526a"}},{"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/paperclip-runner/src/drivers/acpx/cursor-instructions.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"96151d6746b6867253b5ce3a2f667c4993a0cccea0dc003fd74dde5f8f045516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreRunnerWorkflow (cyclomatic 24, cognitive 28): scoreRunnerWorkflow 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/paperclip-runner/src/eval/workflow-scoring.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b201121dda6561a760b29a5d536d86821c3ab25e165377eb67ba027ddf6d0f"}},{"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":"scripts/mcp-fixtures/servers/http-fixture.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf2c5d27ab28d01b93f26a90cb905c44cbe4aadd0e8a33fbbca2f5ea5e3d86c"}},{"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":"server/src/routes/plugins.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de7820fb3eff4409fc0868dc46601f4fab009267f8c6321f0332e7c1c2b2347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSlackTaskStart (cyclomatic 24, cognitive 28): processSlackTaskStart 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbfdfa761d6790325cc9b2e16b06289c18969e0e1700e97ae4d58a8f18aef0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReproducibleFetchHead (cyclomatic 24, cognitive 28): assertReproducibleFetchHead 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e87fc8a2c75b8d3a9edc530f4f2cf5568c23aa259f1970f92feed81eb42ea4e"}},{"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":"server/src/services/heartbeat/workspace-preparation.test.ts"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f47671fe30fcd52ee0dadded75ecb67259077f3e474e5c493a66f4d2bd6bab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeOAuthCallback (cyclomatic 24, cognitive 28): completeOAuthCallback 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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f15fe1e323fe497369282bd115f75429b6862588b01fcb17b02edb217b85ddd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startLocalRuntimeService (cyclomatic 24, cognitive 28): startLocalRuntimeService 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf91c1bf24eaac1d07be1e2f321538b8b2ca46e42e43d83496150b74b728d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promptDatabase (cyclomatic 24, cognitive 27): promptDatabase 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":"cli/src/prompts/database.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28091a5219a01a320fa6f5b8c8cfc0f4829da1347507cbeb23ecb1da0c330a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 24, cognitive 27): visit 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/paperclip-runner/src/drivers/cursor-cloud/inline-assets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e8523f599c269725b664ee011c3a3ed93946e798560e2a55390f619dffa1e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatedAttachmentRecoveryDescriptor (cyclomatic 24, cognitive 27): validatedAttachmentRecoveryDescriptor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd440f8cb9ed35a4539018031a2bf8eb749d9c4bbe070ccda7fcf16ad9720b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 27): (anonymous) 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aaf968a0dba87d64782163050fc69309da488694d3c9a147c8c4df2ce17844"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 27): (anonymous) 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":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f601628b6b3b271d228bcbd2d0e5224e474561e55b12989b505ea98378a43d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quarantineDirtyWorktreeBranchIncoherence (cyclomatic 24, cognitive 27): quarantineDirtyWorktreeBranchIncoherence 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a93c05fc1663f761cb6bf32ec8bf05e9bfbdb46456c8b41d93acf75823aaa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedInstallChecks (cyclomatic 24, cognitive 26): managedInstallChecks 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":"cli/src/checks/managed-install-check.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba367c4565a2f3ea684e1bb61623cfdf5c90b04d084a01faa9a8e9a28573ad6"}},{"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":"server/src/__tests__/server-startup-feedback-export.test.ts"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2d601f9eb2159a2fb7f084263c08bb66057b0038dd23dea2c8505a7afb9eeb"}},{"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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a767dee0ff88015225970a73b02b5d5bee463c1bc4d7a4b84c0f369dfe6e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPaperclipRuntimeMcpServers (cyclomatic 24, cognitive 26): buildPaperclipRuntimeMcpServers 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f126ff301358c40d2530e8ec5304260d61c5225a79574d846813be99d18d3bc"}},{"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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeedae2f9c83ce8d6b2f50a058ea01da5a74ed6eae986ecfc9ef115225eb43e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyStagedRemoteRunner (cyclomatic 24, cognitive 26): verifyStagedRemoteRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15561}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbf1c58c6728046b65f1de5cc65da80a511182dbd9a15e41b66e31155597413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifySdkPublicSource (cyclomatic 24, cognitive 26): verifySdkPublicSource 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":"tests/runner-e2e/source-sdk-public-type.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c27babd6721027f214cf0d3b5258ac49b55b16de636134f4fc90c73a5b47821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 24, cognitive 26): step 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":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f334c37310685105c7018f21efc22ccc60138a1dac7dc906f86e3a12baf2c5e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testKimiAcpEnvironment (cyclomatic 24, cognitive 25): testKimiAcpEnvironment 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/adapters/kimi-local/src/server/acp.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5547f553cb07509fc82126169259cad4ec4528e863bfaac401dd2b96260b7a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCodexWorkingDirectory (cyclomatic 24, cognitive 25): validateCodexWorkingDirectory 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/paperclip-runner/src/drivers/codex/codex-boundaries.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e459edf5229d821412e9c05a5d5df438e1b29f3e82afaa40c338dc2ba07ab0a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateJsonSchema (cyclomatic 24, cognitive 25): validateJsonSchema 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abf58b8aa25a43cc1ef3b8a86aceffa87b73b440c8678ed7a8ecd158c4fcc75"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":66172}}}],"partialFingerprints":{"codehealthFindingId/v1":"db56746f8b07860cdcb13567f91bfb43e82397ca8fa84cffcd3101ccacd7483f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSlackFormProofAcceptance (cyclomatic 24, cognitive 25): prepareSlackFormProofAcceptance 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccac703012bcd25d36d7ea7e420875deba66610bd037e962efe1e282dc43783"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeControllerRecoveryInventory (cyclomatic 24, cognitive 25): readNativeControllerRecoveryInventory 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":"server/src/services/native-runtime/native-controller-recovery-inventory.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cab29cd05bcdd940ed8d42c5e239192f468b0ff2db4734ad40828a5c963378"}},{"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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"524d4937c6ee3931a2d387bb577e1f15f9e0a5f96001b057328099687830c014"}},{"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":"server/src/services/summary-slots.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2ab5b662d85a9f5a1e3448b64657a76f8c66a2c956e8eb3d6ea389b208f214"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 24, cognitive 24): constructor 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3635178b9749568f5aee0563ed44a0387b0aa00e0f4553d08e1ad2f6c35901e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 24): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":68114}}}],"partialFingerprints":{"codehealthFindingId/v1":"94051a6f107e9cc2a99c883492ce69561e0c5e14fb836ed9a165159007dcb485"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 24): (anonymous) 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":"server/src/routes/cases.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b4740aedcbb944c87e2b5f8ae9972909eab548d48ac37d358553c1c8506833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 24): (anonymous) 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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c3475581559306ffd192b1a3fba92a6c9a584014672f486b7daf741b02a1af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setup (cyclomatic 24, cognitive 24): setup 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":"server/src/services/email-channels.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5777c1f7cdb2e3d919ad39750cd744df7f1597e240c10f00336e99e039d4523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 24): (anonymous) 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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9e6ede2a56e226f0d82668691883d5c26d33cdb0497f3ed0089112dc9b5ea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeSessionHandoff (cyclomatic 24, cognitive 24): buildNativeSessionHandoff 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":"server/src/services/native-runtime/native-session-handoff.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c11f0d8d00ecbd241dbe19c61a45332ccac2704315736b30610e3756e5808e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyIssueGraphLiveness (cyclomatic 24, cognitive 24): classifyIssueGraphLiveness 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"8555a92a4c9ffeb559c9f1bb5d9ea5c28389304ff149c877eab577151fb87b24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 24, cognitive 24): step 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":"tests/restart-chaos/hosted-workload.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5aca3fbe5a25b886437ade9d4db26cf21a68f4d4adf8fd4c48bb8bff28dc3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 24, cognitive 24): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-approval-queue.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc5c471be2174d34d75e0cc71f4f7bb4b63531f8933c948eaef291b5cd5b25b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorktreeConfig (cyclomatic 24, cognitive 23): buildWorktreeConfig has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-lib.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c3d6035c1e13225d3712f2bf25899cb1ae6b77ed6038523bf0cadfbeb0fe34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #openedThread (cyclomatic 24, cognitive 23): #openedThread has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"269dbb63bdd9c7acf7d22054412504ecca0a8492e4d5949c08b0f8e84c00dd01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 23): (anonymous) has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"55af19987161ad26761f394baf2f434cdf079f9e4fdfb54f04325580f95da4dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function randomSelector (cyclomatic 24, cognitive 23): randomSelector has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/tool-access-policy-index.test.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"834d5f496f217c323c8968f510db32a40a13a5ca42b02db378718c73ea106a39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyWorkspaceHandoffTicket (cyclomatic 24, cognitive 23): verifyWorkspaceHandoffTicket has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/auth/workspace-login-handoff.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fc6493b2a5842e6385ca885f6bf1c6438489fd22bf0b37636aa69bacccd4df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSlackFormTerminalRequest (cyclomatic 24, cognitive 23): readSlackFormTerminalRequest has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"63df47284079da28dc066cab3b2fe74dd2598ed3009286cdca1c5106d29ac2b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pullRequestSnapshot (cyclomatic 24, cognitive 23): pullRequestSnapshot has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f398be68c8ce3754b3d31fae0acae1163dce129115c2c42e637b379683a9ceaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function count (cyclomatic 24, cognitive 23): count has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":8929}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bbfecfcd8ac620d901cc84b3108359091fa061c5fea557e3fb8ab81923cff0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 24, cognitive 23): snapshot has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3fe51c7e2d3afc004b734a0565752f2e71d18fd88af5c04ec67c1da560fb42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 23): (anonymous) has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d831b6b8e85b1785925f6fdb59b2e4df0ca99abe70413a38a01fdec481090e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestApprovalForRecordedToolCall (cyclomatic 24, cognitive 23): requestApprovalForRecordedToolCall has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fe0a0dc37e8e02a19a01b3d0bd482890fd9e98140e8f1e3068fda752cfcb4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importBraintrustExperiment (cyclomatic 24, cognitive 23): importBraintrustExperiment has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/braintrust-experiment.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7592730c92dfd2f46340cdf01ebf511b0c6e11b5a0b793d51d4e2ada823f00a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueRunLedgerContent (cyclomatic 24, cognitive 23): IssueRunLedgerContent has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4927196598ea4751cf1582fd9c8759af35a97e4671dccb4f8b25711590694a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JsonNode (cyclomatic 24, cognitive 23): JsonNode has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d11866220060fe5ea29d2ea22c08f3897aa8db7f449cd8eafd1e831ce6d95a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationPlayback (cyclomatic 24, cognitive 23): ConversationPlayback has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/design-sandbox/ConversationPlayback.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a9330a8e143f29f58378778b45f6be9569d8126bd6ba87ab58a5c976014c48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GalleryStep (cyclomatic 24, cognitive 23): GalleryStep has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"536bcba02e0d6a829b6e83ce71aee8502392b8012034c293e9d4427440353eec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCommentMessage (cyclomatic 24, cognitive 23): createCommentMessage has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d5c1468fd65ee06cd22a9d87d270b74c936f02d7afe5b777fe88f41b4c4968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstallPreviewDialog (cyclomatic 24, cognitive 23): InstallPreviewDialog has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc109a0d540558bcb3eb46f658605a3f1edfc944844f9746bd9bd0e365deba8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstallPreviewDialog (cyclomatic 24, cognitive 23): InstallPreviewDialog has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"d538274b1a29e3394a61b3742b34e76903d7a8d08d6f0d6f73f5fa0daa7f5e17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderVaultCard (cyclomatic 24, cognitive 23): ProviderVaultCard has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3883}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a95c22f9002bf24239c311663406f6227457d2b844de50fbb0f7d0a54de7b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskExecutionExample (cyclomatic 24, cognitive 23): TaskExecutionExample has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/steering/task-execution-controls.stories.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73293fc0341b2e17ec2c1a94ea2b23b3a514b7f1a473823197bb64bc52a14a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpxProviderPackageAuthority (cyclomatic 24, cognitive 22): acpxProviderPackageAuthority 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3587}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4f8c6117e8c7c4189213228403373dcbcaf9485e3caa37934573e82bbe12f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveMountedPath (cyclomatic 24, cognitive 22): resolveMountedPath 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":"server/src/__tests__/openapi-routes.test.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdabc99f5d7aa1a2b38f87cce03f9e039b7d8acfac6e289de1bde3be7ce978f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliver (cyclomatic 24, cognitive 22): deliver 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":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4f2c881a5a8bfe3a95688ad6206f6a0aa20533bb27a17806c73ab67ccc0ac8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 22): (anonymous) 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":"server/src/services/native-runtime/native-runner-restart-diskless.integration.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1872782eabcf5e0163a59b113b2f9cfa3ea07ae39f1d632fc39ee99ac4b25c82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQuestionHandoff (cyclomatic 24, cognitive 22): gradeQuestionHandoff 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":"tests/restart-chaos/question-handoff.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a1843c2a8c65851a5527598b92429bc53186e800a2c33e4413fa51c01cc7b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RuntimeTestCard (cyclomatic 24, cognitive 22): RuntimeTestCard 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":"ui/src/components/RuntimeTestCard.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60ee0d799b328d676095aa6af0fe5bfc19ef9fa4c5c0a6b098ce68930f50c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuiltinCompanyMenu (cyclomatic 24, cognitive 22): BuiltinCompanyMenu 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":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"533d7e61c7d25c2aed453d1b5807620aeb7374ced3bc4f4129b15fef7ac9a95b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillStudio (cyclomatic 24, cognitive 22): SkillStudio 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"22369bd0cb8c0230618bc784f1269aa68e6e708e0b99abfbfe61c2335ac49e14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overviewItem (cyclomatic 24, cognitive 22): overviewItem 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":"ui/src/pages/Workspaces.test.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"337ee87deb9fbb27be835293355af742a3c9a392bc699ad14f8ecde91a6f3cec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AggregatorConnectDialog (cyclomatic 24, cognitive 22): AggregatorConnectDialog 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":"ui/src/pages/apps/AggregatorConnectDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc61cb54fd65cc7e96a9d84ac95c26c4d8c4ba62f5991ad713da73c5c94382aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectVerifiedSeedDatabase (cyclomatic 24, cognitive 21): inspectVerifiedSeedDatabase 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5fea6024565008263e8b2f3da0bb6e4fecc7ffbe41c861142cea68b96ede58"}},{"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":"packages/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f73b1ddb63725dc9d9c35d7ef8f48f5697796c1341ed2d4cef1ade099b12c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EvalReportInspector (cyclomatic 24, cognitive 21): EvalReportInspector 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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b6956e2371fe3d0a8b9a0003c52f91864ae0342de515ffdbd81cdb5c81a42a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 24, cognitive 21): normalize 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/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd2c5b1a0fdec882176b87eb66ec4628fbc441d79a8e581348f6335641f569a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPiLaunchSpec (cyclomatic 24, cognitive 21): createPiLaunchSpec 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1818d8d3780348e7708ed86206a5bcf43b06816ae64d4564c18e55a851eb3785"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createProviderFailure (cyclomatic 24, cognitive 21): createProviderFailure 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/paperclip-runner/src/drivers/provider-failure.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f379106b2f8b898038167384c8883c520976ce2a5e3074a28bab88584369579a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAiConnectionCompatible (cyclomatic 24, cognitive 21): isAiConnectionCompatible 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/shared/src/ai-connections.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e24866704843edf04439478d081dfd2bb7d6db625739e4086391c892299de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizePublicationFailure (cyclomatic 24, cognitive 21): finalizePublicationFailure 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":"server/src/services/chat-channels/publications/failures.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"20998d4b627a476b467d0b4b1a1cec6d7323e40b5e052db263e9bd4648317be7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readUpgradeReadiness (cyclomatic 24, cognitive 21): readUpgradeReadiness 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":"server/src/services/heartbeat/upgrade-readiness.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08304f23dc7e0088df07a0bafb78ce3dd7c9e2892040173b1a39fce6ca47580"}},{"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":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0163dbab52370ad76ddef0ea2143703a1de58d59c60855a67f3d1c5d55014fd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeRefreshPaperclipCloudGrant (cyclomatic 24, cognitive 21): maybeRefreshPaperclipCloudGrant 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1c81337f866d1d8c5c1bc6a2e86008542431fb82548726c22250fa846bdbdf"}},{"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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cbc3e76c14b2f1afd64f392b5982fa47f4f25f4ff0ed3a1420cb0ab09c9ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 24, cognitive 21): act 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":"tests/runner-e2e/chat-catalog-domains/privileged-feedback.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd257335fc19ef16e385282f4996005f08d69de6d6fff1f68fb2b8b14dc5a19a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hireDelegateReuse (cyclomatic 24, cognitive 21): hireDelegateReuse 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":"tests/runner-e2e/product-journeys/hire-delegate-flow.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"51687457dd471b843cf865660d992e9e2f845a593e72a361ac89c8cfb9f90a19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AppDetailSidebar (cyclomatic 24, cognitive 21): AppDetailSidebar 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":"ui/src/components/AppConnectionSidebar.production.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"40137ab93d8435fc72d40bbe69b2c27b9d5dead42828948ce9ed7473c1b28d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileDetail (cyclomatic 24, cognitive 21): ProfileDetail 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":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d4183f3860296dbab7f9b260b65b9c1271e435cd9b06dba06b60e18d2e7458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 20): (anonymous) 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d72978d984369d7a0d7c37d43c016323d8d31dc77afcef3c0312467cadc740"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebhookSettings (cyclomatic 24, cognitive 20): WebhookSettings 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":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a8c2a3263c213e866a0799ed3dfdd3b6367ece1c2219db7cbde8dfe494f948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TranscriptCommandGroup (cyclomatic 24, cognitive 20): TranscriptCommandGroup 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"319f6125c16d9222c22f090c1afc68e3ea27588c70e3d474eba5c6a145027f6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityRow (cyclomatic 24, cognitive 20): ActivityRow 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":"ui/src/pages/apps/gateways/panels/GatewayActivityPanel.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb2999439280b990b3ced0012ad92cf6b28176d0e692799124d07bbef93654e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskChatRetryExecutionContained (cyclomatic 24, cognitive 19): taskChatRetryExecutionContained 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":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a092410b974771b37a504ce6b62717b3d9a024f6dfc18f136f5051537f078"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAcpxQualification (cyclomatic 24, cognitive 19): resolveAcpxQualification 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":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84dfc61c57e1aa5bbdb1e8ba2342ffd127db31de5806e286a06fd5a4a7c5e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unseal (cyclomatic 24, cognitive 19): unseal 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0716d300618529c25c019e501d01924f4aaa8b638d133d5864eac162568f943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubBotManagement (cyclomatic 24, cognitive 19): GitHubBotManagement 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a7a57a9cb00a7d17da4818719c6021edf8ddfea88f04d75c126a51034f72a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyResponsibleUserIntersection (cyclomatic 24, cognitive 18): applyResponsibleUserIntersection 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":"server/src/services/authorization.ts"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4890cfb8b0259a73fa404699594a316d71b766a5df504637986e687480db6dad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedLifecycleEffect (cyclomatic 24, cognitive 18): normalizedLifecycleEffect 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":"server/src/services/chat-channels/inbound/delivery-ledger.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bc56e93ae9538832ae091abcce901334fd5633ec8947540e7eece0c634e35a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSlackFormAckWork (cyclomatic 24, cognitive 18): parseSlackFormAckWork 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a09ab019458963a3abf75839a022225e7347c5ec2999f2f1ecba2cfd1bc3e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 18): (anonymous) 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":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9df6f5499504bc3cef1294523b56cee0724eab28aa171172874aff07b8d3c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishMirror (cyclomatic 24, cognitive 18): publishMirror 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":"server/src/services/public-mcp/canonical-host.fixture.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0dbb6f4f371f3b64d4eb3906996bcd982b4d3f87390639baf0d6498faa3aa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewProjectForm (cyclomatic 24, cognitive 18): NewProjectForm 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":"ui/src/components/NewProjectDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"71530eba7982536bd5b1e6ccdeaab37720c29b6d7ae229c6ba6e140c1b524e31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackFormRetirementHistoryReceipt (cyclomatic 24, cognitive 17): slackFormRetirementHistoryReceipt has cyclomatic complexity 24 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/ack-retirement-receipt.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6df0ea6b662aa1ffb91ec2d4bd25c1d2772cd77405c26cfb65aca74005184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyClaims (cyclomatic 24, cognitive 17): verifyClaims has cyclomatic complexity 24 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b113d07382cf09240e5a741a4651d4f10b795b5c2022b3cc6d6cfb88bc45a1e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedRunTerminationProof (cyclomatic 24, cognitive 17): completedRunTerminationProof has cyclomatic complexity 24 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e783cb4176839a2ada453a496a38d16e35ab1ebcf82dde29c03e695a60edb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 17): (anonymous) has cyclomatic complexity 24 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c9db87ef886ca5ba33b79ef5250a934feff5799f7619e944d164954521cf82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exchangeCloudManifest (cyclomatic 24, cognitive 16): exchangeCloudManifest has cyclomatic complexity 24 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79109818fc46eb76b6da888a6166e3c4443b082ebc8eace65be1dfce33d8d2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCatalogOverview (cyclomatic 24, cognitive 16): parseCatalogOverview has cyclomatic complexity 24 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":"tests/runner-e2e/catalog-overview.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"450b20a395dd405e5c2963b657e67f6efbf2b4ee71c4c90fb9748a27ad9d9f13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRunnerE2EPrerequisites (cyclomatic 24, cognitive 16): assertRunnerE2EPrerequisites has cyclomatic complexity 24 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":"tests/runner-e2e/prerequisites.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb97a0c33efe455e13f1dfe16617fe611c73475e25456fd6cfb974f595762df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRetryCancellationEligible (cyclomatic 24, cognitive 15): nativeRetryCancellationEligible 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":"server/src/services/native-runtime/native-cancellation-request.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8783fa77a4fa4ae856790e84993717a9135849368a9fb0460dc17fb053bf114d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInboxTriage (cyclomatic 24, cognitive 15): gradeInboxTriage 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":"tests/runner-e2e/chat-catalog-domains/internal-inbox-triage.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a03fac6c98a979db4b5c79172eac071e57a2e3dcdb0f9eac975bb066c84615"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VoiceControls (cyclomatic 24, cognitive 15): VoiceControls 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":"ui/src/components/voice/VoiceControls.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a165fcdada53b7c8646623bd20670ebb2910c01095d308f7932d181601aaf37e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function derivePersistedMonitorState (cyclomatic 24, cognitive 14): derivePersistedMonitorState has cyclomatic complexity 24 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":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a27ba87b890f15263a47e6ea9bb5367b6951223b8618d00d2039008320c4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeViewerConsent (cyclomatic 24, cognitive 14): gradeViewerConsent has cyclomatic complexity 24 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":"tests/runner-e2e/chat-catalog-domains/external-assistant-consent.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c1300d7b68effce76296bcf2903eba6d3ce4331fae9ac3bdd59644ac38a3d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeResumeAgent (cyclomatic 24, cognitive 14): gradeResumeAgent has cyclomatic complexity 24 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":"tests/runner-e2e/chat-catalog-domains/runtime-resume.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4703fee0896897288cbe8707ced070bf95d787a10cbf04b2968b89b5dc11fa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseApiWakeAdmission (cyclomatic 24, cognitive 13): parseApiWakeAdmission has cyclomatic complexity 24 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-api-wake-admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b356cfd6c1635e0c105b3a794e8e9ba4e1e19c69edb00866f98a24dbd4c23dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCleanupActivationCommitted (cyclomatic 24, cognitive 13): assertCleanupActivationCommitted has cyclomatic complexity 24 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d19199a9d576f93ea84734b3c54f24919f54f2f70494580110c9a0a5677def"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeFeedbackPersistence (cyclomatic 24, cognitive 13): gradeFeedbackPersistence has cyclomatic complexity 24 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/feedback-persistence.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"058bbed47965838fad6a15782a5e7c3c6b9888af040456c6333f9fd001c86dbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyInventoryKind (cyclomatic 24, cognitive 12): classifyInventoryKind has cyclomatic complexity 24 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7fc7c0ad469e6e6d93b5423c2b2cbe2ffbd04af0d4a422a8152dbe1b5fda8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotificationAudience (cyclomatic 24, cognitive 12): gradeNotificationAudience has cyclomatic complexity 24 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-notification-audience.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd36674f789dce47a5b40602fc1c6cc748c8a3d46e5c35fc0c95cb000e668ab5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicResumeCustodyReceipt (cyclomatic 24, cognitive 11): publicResumeCustodyReceipt 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":"tests/runner-e2e/chat-catalog-domains/external-instance-custody.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93b2bf2ca2b7a9d19dca9ae26a5c1fdd5c3aae7d9852f8be462afc6f063f521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePreserveDraft (cyclomatic 24, cognitive 11): gradePreserveDraft 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":"tests/runner-e2e/chat-catalog-domains/runtime-steering.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fae8ad3843b7bac281c8799e51e96e827b6554f7d0c8d3404f8ddeef20e02df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePrivateProject (cyclomatic 24, cognitive 10): gradePrivateProject has cyclomatic complexity 24 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-privacy.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceba63d8ee3296075da5c7e91f102e6b1f851d65c6a891afae01400f9f39d19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackFileUploadReceiptPayload (cyclomatic 24, cognitive 9): slackFileUploadReceiptPayload 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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e236de07251eaf76367591f2197db81c796e100a3ff37e5eaccdc92968cdd83e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSearchQuery (cyclomatic 23, cognitive 57): parseSearchQuery has cyclomatic complexity 23 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":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d18bb1904fc1ba871cf89ca44941e66753f9d3073d9eccca2a5b019b5ae99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 23, cognitive 49): main has cyclomatic complexity 23 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"412682ef4c56827978fa8d0219ae206738783391f20d31a5c663b2c1ef173fa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackDelivery (cyclomatic 23, cognitive 46): slackDelivery has cyclomatic complexity 23 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-delivery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b0430993f102229bf1efadc30f80dfedfb9b7dde9ff6de1d798cc3e114c264"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateVersions (cyclomatic 23, cognitive 44): migrateVersions has cyclomatic complexity 23 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f321ee7eb375e1d4ec584f8626a704d85299621f1be0506a182fa297e0a6f9db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInboxIssueGroupCreateDefaults (cyclomatic 23, cognitive 44): buildInboxIssueGroupCreateDefaults has cyclomatic complexity 23 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":"ui/src/lib/inbox.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3179d470bda6e9aeedb334859ac159fbe7661402ae7c9460611632b210af19f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failPendingRequests (cyclomatic 23, cognitive 43): failPendingRequests has cyclomatic complexity 23 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"51db9b6736da4028246e188bfc60dbcb8bf97e7867927b4a05e02ffcf12fb0fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepIsolatedTaskDirectories (cyclomatic 23, cognitive 43): sweepIsolatedTaskDirectories has cyclomatic complexity 23 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd05414fc7caf976866f3121ab96617943a53d029c491cbb622993d3ab671f24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assetBindings (cyclomatic 23, cognitive 43): assetBindings has cyclomatic complexity 23 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"10397d34638a75f7261efee6045e45fcef79faf034a4fad25fa1e86209102170"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeWave (cyclomatic 23, cognitive 43): probeWave has cyclomatic complexity 23 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":"tests/restart-chaos/daytona-runner-logs.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f987de169f6830f2b022b5d0d28af46e5c37e5024d66e8c4139839b81deb033"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 23, cognitive 42): cleanup has cyclomatic complexity 23 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":"tests/runner-e2e/cursor-cloud-observer.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8823b1f7ff1fffadce0a4d303bd3bd4ee1a5ffa559d8b4d3bef770838c23fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBuiltInAgentDefinitions (cyclomatic 23, cognitive 41): validateBuiltInAgentDefinitions has cyclomatic complexity 23 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1939f4f5c0256d57981578c5652e79d4d072d2c8f1f5ef4776fa742077a8fe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePendingSlackCloudEnrollments (cyclomatic 23, cognitive 41): reconcilePendingSlackCloudEnrollments has cyclomatic complexity 23 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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddb5110cbf72bb4e9390e44e92362ed17e9e6339cfc8ce740a1d00b34f1f195"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 23, cognitive 40): run has cyclomatic complexity 23 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":"server/src/services/public-mcp/revocation-index-sync.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fd8fc2a240894c99037fe6a67aa37f4770c6159da5e2d631441b3c7e9143b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 23, cognitive 39): testEnvironment 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/adapters/hermes/src/server/test.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb21448eb585c11c4add8b0c1abd413547b36de57c606a2a37b1d397e0603ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 39): (anonymous) 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/paperclip-runner/src/drivers/opencode/performance-diagnostics.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ae686024b0eb466ef33b4ea204d7104c0e551fdd13f4ba762493facf2c0bf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 39): (anonymous) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"602c1a7a360f84fe7b39388e7f48e8003fee304863a784dc0dfac6ca22741e4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findQueuedCommentWake (cyclomatic 23, cognitive 39): findQueuedCommentWake 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":"server/src/routes/issues.ts"},"region":{"startLine":7716}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7cc26dc6172b0f22e5e93c978c4abea44925010cbca55b480a6ac8e439ce36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverProjectWorkspaceSkillDirectories (cyclomatic 23, cognitive 38): discoverProjectWorkspaceSkillDirectories has cyclomatic complexity 23 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":"server/src/services/company-skills.ts"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5af36b8d19a45d780e6c61907321c313a2a303b4e62c6554cdd558b967b719c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 37): (anonymous) 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":"server/src/routes/company-skills.ts"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7298f80fc9159241425bba6785178b5c2dd6e78b7f25b2f735e64ab323784c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 37): (anonymous) 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":"server/src/services/tool-access.ts"},"region":{"startLine":4347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff150a18249eacd4df29700a084c91ef7275cc9787d918c2d79afc85367d39b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 36): (anonymous) 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":"server/src/__tests__/mcp-apps.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"703c8b32206a53937b3b657184bbf42689d1085196c0b3315a3ccc6f26d1bcc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManifestCapabilities (cyclomatic 23, cognitive 36): validateManifestCapabilities 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":"server/src/services/plugin-capability-validator.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2936fda588c2ae4b600c000c03acaa268d18e140fe32d3b62b4ec4667a7aecdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 35): (anonymous) has cyclomatic complexity 23 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/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"034cdcd0d478b068bec311b6e5f0d27862796598ab275214d076749ef4bff3ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 35): (anonymous) has cyclomatic complexity 23 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":"server/src/__tests__/deployment-connections.test.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f57309330e87a36971898c2d68fb0862a4fc6e47821088c395aa97b79c6e90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVerifiedLocalAiCredential (cyclomatic 23, cognitive 35): readVerifiedLocalAiCredential has cyclomatic complexity 23 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":"server/src/services/local-ai-credentials.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa2c8db0da44ea811047ffe58aad1150e0812a7342f18dc076a34982a7ca47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 23, cognitive 35): load has cyclomatic complexity 23 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":"server/src/services/skill-package-store.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"324ef6e9322c3fd5062cc3c608e51be3cae2bb1a5732bf98930b21c1f828e948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coalesceSettledTurns (cyclomatic 23, cognitive 35): coalesceSettledTurns has cyclomatic complexity 23 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc28e05637afd6e63930438fdabe80c164947c877349e84d5056f9ea31f23dc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitRuntimeEvent (cyclomatic 23, cognitive 34): emitRuntimeEvent has cyclomatic complexity 23 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7269004098f8eaafb18f7a1417fb09636fcc445b15936c750efaa4897237db63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 34): (anonymous) has cyclomatic complexity 23 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"280a97675c40c3a125eb84acafd94ee239b80bf7fa4ae1540ecfdb4b955a0951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleHostRequestInScope (cyclomatic 23, cognitive 32): handleHostRequestInScope 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"512b02584fe370955f4a612cf83db75c2353dd4ea965d76a1375d2c4ca3f90f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compensateExpose (cyclomatic 23, cognitive 32): compensateExpose 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422e7496b84a6d8b7c86d2d8a29e14cb168283eab83453e06c4c5ad624e4de2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticateGitHubWebhook (cyclomatic 23, cognitive 32): authenticateGitHubWebhook 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":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ee76c260d9459700dc5d217ad699cf41f6a54182d05050d6b9c3dbbf2e9b54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolCallMarkupStart (cyclomatic 23, cognitive 31): toolCallMarkupStart 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/paperclip-runner/src/drivers/opencode/tool-call-markup.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c80fd6f8ee9c73131d08352732cbcce8d5edd9b55fc29c7228d86aacd21ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 23, cognitive 31): handle 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/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e03ec3cc7660555bd6aaf4eed3429810c58b622d77416b2f7320b9fd0bb368a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findHeartbeatRunCompletionComment (cyclomatic 23, cognitive 31): findHeartbeatRunCompletionComment 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f61156733b26de3eb117d28c3b36f65277d7122f06eecbc28586975047b1f73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArtifactCsv (cyclomatic 23, cognitive 31): parseArtifactCsv 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":"ui/src/lib/artifact-card-data.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de90d98e1d3485c5d00b9b39821e1f1bcf0c4c4ab6ac41a190b32360942e6c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startAdapterExecutionTargetProcessSessionBridge (cyclomatic 23, cognitive 30): startAdapterExecutionTargetProcessSessionBridge 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"738619f8066f4a0689b1242aebeceed08500d7d9437c8ee90ce6e7e5e7171e93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPublication (cyclomatic 23, cognitive 30): verifyPublication 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"57122e5e72675edf87909376caaae3dd54521850cfa4b5472f5364ab6cf51055"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 23, cognitive 30): observe 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/paperclip-runner/src/drivers/acpx/model-verification.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a97fc212f6bba653fbeaf625b39eca6bb2de485de542c8255eb662d9869c2d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 23, cognitive 30): inspect 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/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"29728f4e15b731fcb583ba6e4860d837e6039a624f76828fff1b6755de6fbf02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSource (cyclomatic 23, cognitive 30): resolveSource 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":"server/src/services/company-portability.ts"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d7a9d7e3d2031602bf1d6c734eacadab443f60b49a0a6637576d232a273cda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 30): (anonymous) 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":"server/src/services/projects.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd85e0e95cb6fc237bb98ea6a0eb459d1d6232cf9be28b7a868da7e214edb449"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderYamlBlock (cyclomatic 23, cognitive 30): renderYamlBlock 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18acd214f23ccd258ec4bfb133d3c17eee7ddaba4ee15eb38fad8b8c2eb7b69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueChatMessages (cyclomatic 23, cognitive 30): buildIssueChatMessages 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"daae529aea26f47deea14cf609956483c8024bc893bd10d9d02baf0343617c65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 23, cognitive 29): visit 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":"scripts/ci/repository-file-inputs.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"229205ccb1929b503776103a7e009d0c8b7dedf2119970275446b905d2a6447b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 29): (anonymous) 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":"server/src/services/budgets.ts"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a738fa307644804f9676c9648deaedceeb06abebd02d551a7c11ded01943fcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAncestors (cyclomatic 23, cognitive 29): getAncestors 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":"server/src/services/issues.ts"},"region":{"startLine":14689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d948c2f1242531c0763cc5eb215b92cb7321dad00d293d9b44ea074fd922e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statusNoticePresentation (cyclomatic 23, cognitive 29): statusNoticePresentation 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":"ui/src/components/task-chat/status-notice-presentation.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d284acf2301d0225462e9adbbeb8f548d0b5052ed6133370b1c22dc0fabd1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 29): (anonymous) 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a48f2026a62a1ba9adb3d9c4bda884f05b849a2966090dff5c8cc13533933b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateRunIdentity (cyclomatic 23, cognitive 28): rotateRunIdentity 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4658679b6ce107f990d65485b09bc57191a1a0d10b46cf27e24184de59eb8b27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeRequestResponse (cyclomatic 23, cognitive 28): runtimeRequestResponse 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e418789349c3c212d088468db1c91b7af821c9a755bb21fb938fe78335fe9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function zodToOpenApiSchema (cyclomatic 23, cognitive 28): zodToOpenApiSchema 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":"server/src/routes/openapi.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfc86cf0a3e187c6951ff1f128ba56708fe715322d48535729960479b550a03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function where (cyclomatic 23, cognitive 27): where 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":"server/src/__tests__/connection-install-capabilities.test.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3a370d134e419d339ce2fcfa9be89806209392c93828be7b592691fb7f88fc"}},{"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":"server/src/services/company-search.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"864ed922ea5977569d8b4d5db0fcdbfe7acffc406c96afab12a4560837330935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainPreparedSourceSdk (cyclomatic 23, cognitive 27): retainPreparedSourceSdk 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":"tests/runner-e2e/source-sdk-evidence.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94568111b8a0980659e9e064a5726017f510ab99a6a95a2fb9032ba4ae8e793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sidePanelTabsReducer (cyclomatic 23, cognitive 27): sidePanelTabsReducer 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":"ui/src/components/side-panel/use-side-panel-tabs.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"51401c0791dde567a7ceb67bfce22eea37700ccbd7f800f96e75434b09c25dda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draftAttachments (cyclomatic 23, cognitive 27): draftAttachments 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd12ba0e23c8bd921afa33f7b01576e5a41c12a26d6cb0efd68a6ce1e2eb25d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveGatewayApps (cyclomatic 23, cognitive 27): deriveGatewayApps 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":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5a7af01d776aa2d2eb7356428e90c19afce5ab1acb1b3e0e3969df1e9e2087"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ssh-host-auth.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb520de4a4848969ad7760170bc1e03f408b9b01dfbf6e848e2cb07f45dbae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 23, cognitive 26): visit 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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0c340c0daf9d98939d3e8c5e40d11cc9e7edd68dcd5402da298c7051261be2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeIssueCommentPolicy (cyclomatic 23, cognitive 26): finalizeIssueCommentPolicy 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a8e087d6369fac6244da2bf192765017c5e6e2970a3847d03659318ce1f32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExecutionWorkspaceConfigFreshness (cyclomatic 23, cognitive 26): resolveExecutionWorkspaceConfigFreshness 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d90dcbcfde3b952d05f0c3bd1dd3430e1c2f0cad27ab29137e56ae77b2c2b52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":5175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1951bf382313a321118dd8439ff59d261019ca652ffa63782c79222fe20fda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":12658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9783cabb4ebbea2b01541034c493b1f75f4c934dcdbf5ec7206dfb5c0fbb4c11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":4767}}}],"partialFingerprints":{"codehealthFindingId/v1":"f563e0078fa050ea0ce488be78ab01daebed0d8ffb95a12e773366de176e96d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMetrics (cyclomatic 23, cognitive 26): runMetrics 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":"tests/restart-chaos/ttft-baseline-stats.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee33cbce0d95675b5932c9edccc9e1c7291e6453fa7797c1b23ff4f4a8bc51bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privateIdentityBrowser (cyclomatic 23, cognitive 26): privateIdentityBrowser 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":"tests/runner-e2e/chat-catalog-domains/identity-private-browser.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb053fbed3a3fe97a76a240f5258bfab6e7f201721086b0f2aa0a05bdcb67de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeOpenInventory (cyclomatic 23, cognitive 26): gradeOpenInventory 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":"tests/runner-e2e/chat-catalog-domains/internal-task-inventory.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bcc870eefe4bb07bfad2e204fa4215e90c78f279c83e275929c29e0f796e64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/cloud-onboarding.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0f4df7d3e57303dbdd2a62898f8be5fa7d6d7921d133a61bcdc86a1ee02a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/speko-native/stub-provider.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"697fcdb62a54ee62531042bbb7f63f87224f65cba298107c6c36a385b1f68b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #stopProviderBeforeSuspend (cyclomatic 23, cognitive 25): #stopProviderBeforeSuspend 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5432}}}],"partialFingerprints":{"codehealthFindingId/v1":"764f92ba5e9fad784bffcc2167fa927182b82d4cc51b7d58ad8615f4e2d5525c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReferencedCatalogSkill (cyclomatic 23, cognitive 25): buildReferencedCatalogSkill 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f872017385a94bd4ebe95a4d33b48b15ddee8166e61e54134972a7022cd20627"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 25): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b35e7daa1aa90506a9456ea9347a55b9c848390b685e3b3fddf16976cdfec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 23, cognitive 25): save 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":"server/src/services/ai-connections.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d98eba981c509066ed90b999aba2ff1cececa4add7555203699f9267c33a310"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 25): (anonymous) 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":"server/src/services/chat-channels/discord/gateway-events.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439bf4d49cef7f319eee35a4da796662863523007aa4a24d53a49f351e3908a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareFailedChatRunRetry (cyclomatic 23, cognitive 25): prepareFailedChatRunRetry 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5996a3f30c67e47405cbdc265acb2a8cb8f513243cc9dc9529ef90eea518de5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 25): (anonymous) 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":"server/src/services/heartbeat/queue.test.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63026f9e914415342c58c3250b1414310de1cc6fb110b4b5bcc36d3a7a292d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 25): (anonymous) 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"928f2ba485341587e0f16d15cf56455b216538ecab3fc7d6fb19bb2bb397c3d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 23, cognitive 25): visit 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":"tests/runner-e2e/private-report-copies.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"028398d4fd5303a7a053e6ee3630d8753d20548c8fc25535b13f113ae66d7236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 23, cognitive 25): visit 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":"ui/src/lib/markdown-reply-content.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c135cc3d0d91a9dac2103a2bee57aa41ef3b856f5752b2d1c38781cce55d74bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 24): (anonymous) 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"021bfaa9a8ae6dd7b4f9ea3798aace7884956351168cd77effc089bec3047584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function specialMethodsFor (cyclomatic 23, cognitive 24): specialMethodsFor 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":"scripts/ingest-app-definitions.mjs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d89ba31ca88abe93e36d1bbb987fb8bd7532ab8d2ce0beaecf31636392aa053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 24): (anonymous) 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":"server/src/routes/routines.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c39ed830c8fb9000b2072d07a5618c916c60763db0fa4730448f91ac1cb6be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 24): (anonymous) 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4148c1f86bbe33e705bdad4ce9aea18e581e1fe67f29efd7d319f866f8358a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebaseRetainedNativeCleanupProviderHome (cyclomatic 23, cognitive 24): rebaseRetainedNativeCleanupProviderHome 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"326a98a8b7e09f01914c75c6b2c8f77ad552b8fcdf063a4d36743a0e4c6dd5a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRemoteRunnerAssets (cyclomatic 23, cognitive 24): prepareRemoteRunnerAssets 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17061}}}],"partialFingerprints":{"codehealthFindingId/v1":"290a6cb8af0c591870466c221dcb3d4f7475bb45817aaf745899c75d86cdb6ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 24): (anonymous) 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":"server/src/services/native-runtime/native-startup-retry.integration.test.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04cb1a02de17e5b4ba472ed3871e8da0b74b8b15114749c9c76888ca149f052"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proveLocalWorkspaceOwnerStopped (cyclomatic 23, cognitive 24): proveLocalWorkspaceOwnerStopped 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":"server/src/services/native-runtime/native-workspace-owner-stop-proof.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d41decbff0ae3225cb1eb59f1f185482f8197c85fb11644087b138024a1ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 23, cognitive 24): get 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":"tests/runner-e2e/product-journeys/hire-delegate-flow.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b6cb60c0cedbc3b3e4cfb82d1503f82f7bd27dbbfef833f4b5c97b5e816052"}},{"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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5782}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f1df5ef7dcabf929016ffeacc21fd88731b01fd4d09ce99e7a5364ba23fc9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePinnedOpenCodeCommand (cyclomatic 23, cognitive 23): resolvePinnedOpenCodeCommand 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7668c326cb0f579030cc129587cd8b1af717377778b9f0b5a5385b3d68a34a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityScenarioParity (cyclomatic 23, cognitive 23): capabilityScenarioParity 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/paperclip-runner/src/scenarios/scenario-parity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ca2ca589c1d9a916d39a88d286fa9b240b0e3198ce8d4c8ceb3f02d1b99afa"}},{"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":"server/src/__tests__/status-object-signed-sleep-acceptance.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5a24c05f6d35349a8c1ba4a2a9ae64c9075761188c7ef3facabe392b8077c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneDisposable (cyclomatic 23, cognitive 23): cloneDisposable 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3a088380a3ee973f71d8f06f7af6c738b827138ad952cf894281d7afcf094a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidateFromPersistedRequest (cyclomatic 23, cognitive 23): candidateFromPersistedRequest 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7de852b3694a5bd159da69f3c7d19befc2319160081512af774f35c07eb4d9f"}},{"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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7ba2684ad0a8f6649309dfd17e0d31f43046d7471c440bc035ce3873385335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function turnResponseCards (cyclomatic 23, cognitive 23): turnResponseCards 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":"tests/runner-e2e/chat-catalog-domains/turn-response-card.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b16e587634e4c10f0b3a1b8206a0c90a46494c9bd1e087792405f14916e120"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stateChipFor (cyclomatic 23, cognitive 23): stateChipFor 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":"ui/src/components/task-chat/RichWorkProductCard.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"714f8e805924cdaa4f23f4b3acaf766650e1eb4902ef669fad56f7f38a9bfbb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTestDriveBootstrap (cyclomatic 23, cognitive 22): resolveTestDriveBootstrap 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":"cli/src/commands/test-drive.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6acaa07c28cb94123d6f34a6687286e6cb25d92dae61dc85824a6add4402785"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LiveConsole (cyclomatic 23, cognitive 22): LiveConsole 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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ffe84d131baa2cd44ba1f5bc3202b9f9b0f777bb3a697737b9f6c402374199"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCodexNotification (cyclomatic 23, cognitive 22): classifyCodexNotification 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/paperclip-runner/src/drivers/codex/codex-notification-identity.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b12fafeff58c16c96461894de5de50271f4f053809a0939566473c3da177e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configPatchFromSnapshot (cyclomatic 23, cognitive 22): configPatchFromSnapshot 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":"server/src/lib/agent-records.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee91b025a39dece615d9a94a0a228a4a2936368bb41d01843c4cd1260da91b8"}},{"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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6107633e8cc2b0b032896f417202a883112a8ff98f0dd9fd4043136cc90b3c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveManagedGitHubIdentitySelection (cyclomatic 23, cognitive 22): resolveManagedGitHubIdentitySelection 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":"server/src/services/git-credentials.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ff6337abc6d11157330632b90b9216ac29100258714f7a19dcd8ee35782bc0"}},{"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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0af05bcb5d969640933a0ea31bdaee38e610535217c457ba80d94a81887ea9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdStateIsOpenedSessionBeforeTurn (cyclomatic 23, cognitive 22): runnerdStateIsOpenedSessionBeforeTurn 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ad9137cc4516cbb2860013ffb4a7fe7e7dc127850b9f10ba4366980bbf53d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ServiceConsent (cyclomatic 23, cognitive 22): ServiceConsent 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":"ui/storybook/prototypes/google-workspace/ServiceConsent.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"540e5d17106487e33e90b486fcfe7d43bfb4cabb94428d2e1640c353d90df5dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 23, cognitive 21): deserialize 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/adapter-utils/src/acpx-engine/session-codec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1922b69250e3f6b5bdc86b502ceaeb18e3e3835ed26f79e1e5f2368401b270"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipRunnerTransitionConfig (cyclomatic 23, cognitive 21): paperclipRunnerTransitionConfig 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/adapter-utils/src/paperclip-runner-permissions.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d988d46fdbba9df71fdff6ab15cb76fddae5ef6f0577ab36c5ef72abedb307"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectItemFacts (cyclomatic 23, cognitive 21): collectItemFacts 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/paperclip-runner/src/browser/transcript-model.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d444789c7c25a71394680c4c3e796467eec3d18036a5ed2d070c87483f5fb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attentionCardType (cyclomatic 23, cognitive 21): attentionCardType 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/shared/src/types/attention.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"adae1725ebe90926dd3bf644598c28e7266a76cf6848595bf8ad333b3dcc30ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resyncGitHubAppWebhook (cyclomatic 23, cognitive 21): resyncGitHubAppWebhook 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d182cb9d82f4bf8f80229a0b31bd54c4aa811df485c4b87196a2c5228acf82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionRetryAccounting (cyclomatic 23, cognitive 21): executionRetryAccounting 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":"server/src/services/execution-recovery-attempt.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a93afb1f507db4a7df4e12589918fa3c176872404af7b9c9c964a12b7bb47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubSnapshotUpdate (cyclomatic 23, cognitive 21): githubSnapshotUpdate 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbb9515ca1dd94cc381550ac5ac52e8d31c9f8ff01d6677c75fb63f0c5d6c26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyInstallationEvent (cyclomatic 23, cognitive 21): applyInstallationEvent 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":"server/src/services/github-connection-events.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93720f4af34fed46ca74d73ae1cdefc8e4240ae96c10e4b5e6766cd9d97910e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveRetainedProviderPack (cyclomatic 23, cognitive 21): receiveRetainedProviderPack 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":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eef380a3d7c952332ada02f7b56c4cc27d6e9280928e7574766952459aed13e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateAssignedWork (cyclomatic 23, cognitive 21): evaluateAssignedWork 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef70e116e9d1445c1ad4b6ed8a5655c389d0ec79c34b7d15c9a4066239b063e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRewake (cyclomatic 23, cognitive 21): gradeRewake 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":"tests/restart-chaos/rewake.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6886c7e49846f9aefd0d51212254a1057672605274311cda2b69a0e7e67ccea8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 21): (anonymous) 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":"tests/runner-e2e/chat-catalog-domains/external-slack-relay.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bc92988c90b435b1373bf47d240d42ca795d2472e186030e96f7a6b02826a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectWorkspaceSummaryCard (cyclomatic 23, cognitive 21): ProjectWorkspaceSummaryCard 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":"ui/src/components/ProjectWorkspaceSummaryCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4077edeb2375f7d27095b9d6dabd31b78762f172dd4c16acac6c04209fca06bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewAgentSetup (cyclomatic 23, cognitive 21): NewAgentSetup 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b3106350e9dc33478349dc06965502cf5cf32259c9be9d0e469065b707624"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdapterRow (cyclomatic 23, cognitive 21): AdapterRow 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fcdfcc2a222c6f6819e9de963b76f19a0eb0a0bf6fc1020a6f27a25a9db5f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 21): (anonymous) 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e985b2d37150677641777e8e8a733e7bf06fa72c4ede090b7b313714f5c40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InputPane (cyclomatic 23, cognitive 21): InputPane 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6316de4684dcba554af5f8f5a61c794b7bfc0a04ed85723b8f29ec35740799"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlackTestMessageButton (cyclomatic 23, cognitive 21): SlackTestMessageButton 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":"ui/src/pages/apps/chat/SlackTestMessageButton.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a211a060bb155a3705b5fa132f1fd0809962c84095d027796436040ed2106eac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lifecycleSummary (cyclomatic 23, cognitive 21): lifecycleSummary 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf167f562a5c5f6d1e9574df0a4ee3b4f2e8b8b938e342c637bdd5fb1ff51ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateSpaceModal (cyclomatic 23, cognitive 20): CreateSpaceModal 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":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"f297af23bb798f1779735bd30adb37c01b3514d36e24c5ddaf54437eccde037a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageFromDelivery (cyclomatic 23, cognitive 20): messageFromDelivery 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"001821e3d649bcf3f63c516a4caca482bfc88207fb4254f976d524b7fc6a11bc"}},{"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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03d1d7eebedaaeb7ab05760572205a6a2249c08d1254fc573f19f7a1ad28f5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 23, cognitive 20): snapshot 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":"tests/runner-e2e/remote-native-bootstrap.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23237271003dd4847f1b6e7d6190368291a4c1edfd485b38b9f47fca0960e4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecretPopoverForm (cyclomatic 23, cognitive 20): SecretPopoverForm 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":"ui/src/components/environment-variables-editor/CreateSecretPopover.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"233e348572c7dee3dba74a96188c6391547df1303621994b1530fa1c6ae0ac7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpekoPhoneLineForm (cyclomatic 23, cognitive 20): SpekoPhoneLineForm 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":"ui/src/components/voice/SpekoPhoneLine.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cce03e61e6a38f3d0d60bc3227074425cb1d104854622be1d78d578a358fb64"}},{"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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc2d77b733ee5803d531091176f8f23300abbc65bef40668573a4d06c824130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderPendingResult (cyclomatic 23, cognitive 20): ProviderPendingResult 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfa161bf5550fd6318bd72e8f8dc4e454e72c697d16d69365f46a67e5870c48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PaperclipIngestionSpaceCard (cyclomatic 23, cognitive 19): PaperclipIngestionSpaceCard has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb314b76e8a1cf90899d0cb857b70b3d338fafc39cab370ac66e0b96d970d037"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeRequest (cyclomatic 23, cognitive 19): decodeRequest has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/protocol.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b57769a0a76303609c2b141b66bcff81e10ecc1d9c95c8979628b30d7b4aa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptSlackFormClosed (cyclomatic 23, cognitive 19): acceptSlackFormClosed has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f952bc51a2d0633c3f50225e48c339df9f8525f5dcc6c4586b5f6939921a67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerSessionIdentityTransitionIsAllowed (cyclomatic 23, cognitive 19): providerSessionIdentityTransitionIsAllowed has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8086}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca34d5b768d93bdfcc96ee9501091455ff18ca974ecf704ba17832a3304ab684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentRecoveryResult (cyclomatic 23, cognitive 19): currentRecoveryResult has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfbef946e59ee01a4fc463a4909b8cdfdaf04c2670e238a0ff73308c9614cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatStatusNotice (cyclomatic 23, cognitive 19): TaskChatStatusNotice has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatStatusNotice.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"764225f8580616516b25c8657f51582ecb65d2a0c5157b8ff9bab084871cd986"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskBrowserFooter (cyclomatic 23, cognitive 19): TaskBrowserFooter has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskBrowserFooter.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c386d6ab54476ce672f1dbc8b86ba919354c4f81b740e0c589656e67fdfe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 19): (anonymous) has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ee069534b7c29f437909890fff8dad645e1ef3476e1624b4bb6df2e9214498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectionAccountRow (cyclomatic 23, cognitive 19): ConnectionAccountRow has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e97084e568b2610d3f3005c1e2a84d804017a7a4467bf6071c3fd0cf671448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #authHello (cyclomatic 23, cognitive 18): #authHello 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e403c0b2ee33cab88f1ea4808770782c4b60d5fb09d46444f372b12485e40"}},{"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":"server/src/services/public-mcp/client-mirror-sync.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c974e653451679ddd1746c38ea0b45c26d9de0cf526543a3afe0f6565deb82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillPackageManifest (cyclomatic 23, cognitive 18): validateSkillPackageManifest 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":"server/src/services/skill-package-files.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec57dd88930934cb138ea775857c45047991959c1b0fc09d972becb68f4ee8f0"}},{"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":"server/src/services/tool-access.ts"},"region":{"startLine":4682}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1dd81759b735548acba987d2393b6df7844117e35a5d235ce9391b26ec8584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConnectedRemoteTool (cyclomatic 23, cognitive 18): resolveConnectedRemoteTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c93b2090e802bd37ad11dde21211949960f1f38c70c870db1a4cc80177f9870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatCatalogHumanHistoryMatches (cyclomatic 23, cognitive 18): chatCatalogHumanHistoryMatches 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":"tests/runner-e2e/chat-catalog-contract.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a34c8ef9ecb7320d11a861a120f6f9d395e341820b265f28c88568f3769e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shown (cyclomatic 23, cognitive 18): shown 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":"tests/runner-e2e/chat-catalog-domains/external-secret-route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25e76fc9b68a26f6ae416901507a1293fe2dcf58288411e90eb758acd04c2c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeUnknownEmail (cyclomatic 23, cognitive 18): gradeUnknownEmail 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":"tests/runner-e2e/chat-catalog-domains/runtime-email.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1234649c4c22131cec5b41b26b13fb2e32b83896625f0c82f58af1672492c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeLifecycleBaseline (cyclomatic 23, cognitive 18): gradeLifecycleBaseline 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":"tests/runner-e2e/lifecycle-baseline.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc7b0d238f144a07fcfd7631c007d61c97e169d76d1e81bc706906b5a84961c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderTraceStatusBadge (cyclomatic 23, cognitive 18): ProviderTraceStatusBadge 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":"ui/src/components/ProviderTraceStatusBadge.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e74c602c1290018962f09be8a302f1cd91f55ccb498f60e8c09d035cd890f84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiConnectionAccountControls (cyclomatic 23, cognitive 18): AiConnectionAccountControls 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":"ui/src/components/ai-connections/AiConnectionAccountControls.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c834fc35d87df158e497482c34b951f85e54d04c02f98b1e56cbe8460930d878"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 23, cognitive 17): finish 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":"packages/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0e6d5e4418f1aa1b5f136b8ff80f90203979220c478f94e1c3f583f79fea51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 23, cognitive 17): observe 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"f484bff5a9759e3939ca1c77cec7032814383f443c0df6adb477eea1f523ef85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TailscaleSshMachine (cyclomatic 23, cognitive 17): TailscaleSshMachine 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":"ui/src/components/TailscaleSshMachine.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c96688edda0911a7fbded9e9fda50a06b5e1424d55815846998eb63ab2eedfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useSavedProviderKeys (cyclomatic 23, cognitive 17): useSavedProviderKeys 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":"ui/src/components/onboarding/SavedProviderKeySelect.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e87261554f310bb93ab2506710fa53e977d092c2f9950b577dc11bccbcb4fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigurationEditor (cyclomatic 23, cognitive 17): ConfigurationEditor 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":"ui/src/pages/AgentAdvancedTab.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd887e3a4f4566295dcca58e280728a66bd1496842e5821cf5c8debe4eef9d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 17): (anonymous) 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":"ui/src/pages/Search.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"125e70e82b1194c78975611db908cc700cf2c55f5c64343ab103841648f5e768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function route (cyclomatic 23, cognitive 16): route 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":"server/src/services/chat-teams-inline-image-intake.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"94abcfbd0daf820879d935f2c0328fe56bf95c1982389331518e0e19b035e5cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleMcpEventSchedule (cyclomatic 23, cognitive 16): projectIdleMcpEventSchedule 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":"server/src/services/public-mcp/idle-event-schedule.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02563674b4395f9bff7f499c97ad622ac5e97c2f0fd3ff47f0236a3798e9e08"}},{"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":"server/src/services/workspace-recovery-capture-policy.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e3d9b91c4fed540ce9fb9808780c0b97ee0295e87c37bb41d44ea148226e5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubLink (cyclomatic 23, cognitive 16): parseGitHubLink 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":"ui/src/lib/github-link.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d591bc9c1f15f4b3432ff20090e60d161f14ba06a47fb82ea0c0e4742cd26fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceIssueId (cyclomatic 23, cognitive 15): sourceIssueId has cyclomatic complexity 23 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":"server/src/services/decision-queues.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db614d5fedc7b21d40831ca638ea8a508801ae40ca5a2d5b6acf98040f5cc3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dotPairingContext (cyclomatic 23, cognitive 15): dotPairingContext has cyclomatic complexity 23 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73d8d6022108c63b67c59aa975130d7a480fd088ecc7b94b6d8f786b220e872"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCopilotProviderDeath (cyclomatic 23, cognitive 15): assertCopilotProviderDeath has cyclomatic complexity 23 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":"tests/runner-e2e/copilot-provider-death.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535a7e489e77b299d479a49ab180bae25544dbc449959b4dfc53d7957e82df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 15): (anonymous) has cyclomatic complexity 23 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":"tests/runner-e2e/github-operating-usage.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c36d57b8a884d377573eea6faa7651e776b8e148e714f789d5e384eb408a14d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companySavedNameBinding (cyclomatic 23, cognitive 14): companySavedNameBinding 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc17d8618c2f735adde912ef5714e92846dbe23d265f45e81890ba00ae48903"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTeamConfigure (cyclomatic 23, cognitive 14): gradeTeamConfigure 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":"tests/runner-e2e/chat-catalog-domains/external-team-configure.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f0894659fc9617f7450e5a26ea47c58d1879271ad40dfa6d37baaa014fed8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionKimiPackageRoot (cyclomatic 23, cognitive 13): provisionKimiPackageRoot has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c7dfc0a285a9a48e2490913df4ff51d276bc26d8157ad647212d1e8db2eda6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyVerifiedGitExcludes (cyclomatic 23, cognitive 13): copyVerifiedGitExcludes has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-repository-excludes.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"207773d548513caf45e707b55fbd33e1478bd8c2b5cdb05116ea3cf747da887e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyStagedAttachmentRestart (cyclomatic 23, cognitive 13): verifyStagedAttachmentRestart has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5b47dccd80d2e49a30c0a46b48d16b4d26cd15949384fb6811a80d40c98e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleRecoveredNativeSourceRetention (cyclomatic 23, cognitive 13): settleRecoveredNativeSourceRetention has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-source-retention.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6bd16171ab6a1054d66dcc77ee51feb6d9e30fc32922adf5d2710d385c053c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isVerifiedWorktreeSeedManifest (cyclomatic 23, cognitive 13): isVerifiedWorktreeSeedManifest has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/worktree-seed-manifest.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef8e3d8d303cc5798a2755bafef012fff913eb4355b0d189ef0d0f59ed99682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeBackupRestore (cyclomatic 23, cognitive 13): gradeBackupRestore has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/privileged-backup.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66e8b7e7cb6233db7514286803df17913320e3384df85ed3adb0fe26324ba8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lifecycle (cyclomatic 23, cognitive 13): lifecycle has cyclomatic complexity 23 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/pi-file-evidence.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3479198a900c7c69c095c968bbf04a1375229cd1e93d62fa98ae5970656dcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTelegramVideoNoteAttachments (cyclomatic 23, cognitive 12): normalizeTelegramVideoNoteAttachments has cyclomatic complexity 23 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-video-note.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad27eebbf7dd701ff987088c15d641a8c2f2083ab98b88fbea30a6c6ddc0d1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 23, cognitive 12): main has cyclomatic complexity 23 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-computers-image-worker.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffbc3bc00acce44b6531abac7c64b7aa413a631b47fb46e4d4ce3f070f0a398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manifestIndex (cyclomatic 23, cognitive 12): manifestIndex has cyclomatic complexity 23 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-full-catalog-testops-reconcile.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0371deb924e0591785d1e03cb29fcb0dc403c10b00b92b63254784470c2d9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function linkedQuestionBinding (cyclomatic 23, cognitive 12): linkedQuestionBinding has cyclomatic complexity 23 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-linked-question.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"960e965e3e1b0051f943d04d1a39e37ff545481d1d7649b7b90be17d63b6ea6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskChatRetryAdmittedContinuationStopped (cyclomatic 23, cognitive 11): taskChatRetryAdmittedContinuationStopped has cyclomatic complexity 23 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a1136f543ff5d03a8a8932448e460f8de397657f71d277ddb4e9b9981e6d17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedWorkspaceSnapshotReuse (cyclomatic 23, cognitive 11): verifiedWorkspaceSnapshotReuse has cyclomatic complexity 23 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-reuse-receipt.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"922142b9f43be58425a889af6951aeb4ed8788832057c3105aa496a7894c7151"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSubscriptions (cyclomatic 23, cognitive 11): gradeSubscriptions has cyclomatic complexity 23 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-subscriptions.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa309f6d9fc76753c95bc98f7cfbbc8a230a4ced7e4f238154fd546ea13821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifySelectedSlackSender (cyclomatic 23, cognitive 11): verifySelectedSlackSender has cyclomatic complexity 23 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-slack-ingress.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d41e62ac62707be5985fb42d9688621f3416b3711fd2deb7ef008f54665e6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRepositoryProof (cyclomatic 23, cognitive 11): gradeRepositoryProof has cyclomatic complexity 23 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/repository-verification.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b60af01b40142908506e602b92cbaefb961ff4e3e0dad8be1b633017af3421"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverFromNpm (cyclomatic 22, cognitive 59): discoverFromNpm has cyclomatic complexity 22 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"210941bb196b2f9f35c40e606ac9ae66b1f1178620d8645eeef717e3f4fa25b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeTask (cyclomatic 22, cognitive 47): observeTask has cyclomatic complexity 22 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":"tests/restart-chaos/config-wave.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4497b04f40e032a9fd14d83786a5fe24453c66ecf824d5e10b268eea0a6dc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseField (cyclomatic 22, cognitive 47): parseField has cyclomatic complexity 22 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":"ui/src/lib/cron-fires.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c9197cf96e307d2a9456aeeccbd13c1f39a36c8fc48410379b2ce07e1bdb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHeartbeatNativeRuntimeMode (cyclomatic 22, cognitive 46): resolveHeartbeatNativeRuntimeMode has cyclomatic complexity 22 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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef1310b505b223bb58424e96ee044d59e4eb7473caafc52a6a28a58d44b5994"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileLocalPathSkillSources (cyclomatic 22, cognitive 42): reconcileLocalPathSkillSources has cyclomatic complexity 22 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":"server/src/services/company-skills.ts"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb55908cf7f4f848f1cd04771db4ed48d9067025af963cb031a9bc0865849ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweep (cyclomatic 22, cognitive 41): sweep 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cf0fdb55bd6e0df11174ed672bcfd1b10f47ac485a4f9ca6733cc584c2ac01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCompanyPackage (cyclomatic 22, cognitive 40): parseCompanyPackage has cyclomatic complexity 22 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-company-assets.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"526f34e8b05b6c8ba11d8aec120d28a22607d3e3d87830703e09d5b2a2cb7eef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureRunnerApiResponse (cyclomatic 22, cognitive 40): captureRunnerApiResponse has cyclomatic complexity 22 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-response.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"498ff2532afe8900855baa07615f9d709103bb1c7e84831edbd0601e261975b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 39): (anonymous) has cyclomatic complexity 22 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/patch-kimi-runtime.test.mjs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1ab8eacc456f898c1b82f459567f2dabe349e7647f85bb91515c097c2282be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acknowledgeRemoteStop (cyclomatic 22, cognitive 39): acknowledgeRemoteStop has cyclomatic complexity 22 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"e784aab72def811dce910c98df1aaa510cd46dc5eb4859436af2cd4dc81c8075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeConnectionUnlocked (cyclomatic 22, cognitive 39): removeConnectionUnlocked has cyclomatic complexity 22 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d62eacd5b5c9d0b3f9a157ad3b26639bf0f8fff8031dc40a77c54d4ba7d7f2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKimiJsonl (cyclomatic 22, cognitive 38): parseKimiJsonl has cyclomatic complexity 22 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/adapters/kimi-local/src/server/parse.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc43bdebbe5e1c1d7dbc1a74bb4857e1c4635bfd6b562f5730c42d343d45ed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callCogneeCloud (cyclomatic 22, cognitive 38): callCogneeCloud has cyclomatic complexity 22 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":"server/src/services/cognee-connection.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33e44baa8f9eb210d0cb9aeda26f837fe5f3edb5a00d827998c2393cb8b939"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 22, cognitive 38): load has cyclomatic complexity 22 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":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"81924ec27d5ad62a307fa48bb2644370d93a65d5b2fb03c031f6002359ff0027"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatActivityVerb (cyclomatic 22, cognitive 38): formatActivityVerb has cyclomatic complexity 22 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a073842efe5ec265d2250c53e8be69d856cbbdc22ea961ca8d9c6847d2388bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEnvironmentConfigForPersistence (cyclomatic 22, cognitive 37): normalizeEnvironmentConfigForPersistence 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":"server/src/services/environment-config.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ed649a62f850dca00d54804500a8fbdd91fc949dd546d3f2c496437f2513fc"}},{"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":"server/src/services/quota-windows.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a717f42a93c6b10ff53094a80dbc92fae11f4672e14bcda46f529c3e29909c14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function protectedVersions (cyclomatic 22, cognitive 37): protectedVersions 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":"server/src/services/skill-version-cache.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"077c1919b79d618f340cf9e4a7c264f4ad5aca7c90575c5325f295b490196880"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 36): (anonymous) has cyclomatic complexity 22 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":"server/src/routes/agents.ts"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2200919b45eac34605b8f340d9a01f20a9f8b31d3a887d545cfe871ee645c1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMcpHttpResponse (cyclomatic 22, cognitive 36): readMcpHttpResponse has cyclomatic complexity 22 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":"server/src/services/mcp-http.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"d602a63e22176659c27e3168b42d80855da85be7b7172d90d3469cca58befbd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onlineOrdinarySourceBlockers (cyclomatic 22, cognitive 36): onlineOrdinarySourceBlockers has cyclomatic complexity 22 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04565ae813242cf83bf2e4f972aa6c2952421fb3365f72c759aaaebdb95227a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverArcadeApps (cyclomatic 22, cognitive 35): discoverArcadeApps 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29acd9cd129db60ac1937b75da5ab8a69e60444b9afe0a027c1645bdd306bb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 34): (anonymous) has cyclomatic complexity 22 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":"server/src/routes/board-chat.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba9f84263725e12bd1c95a5936dd2551583611755019ba8672f037414eba18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyCardContent (cyclomatic 22, cognitive 34): legacyCardContent has cyclomatic complexity 22 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6fd14043f37937402e9a4a5ee795d1881dbcd7db1acea5189855821c943f20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkspaceReadiness (cyclomatic 22, cognitive 34): resolveWorkspaceReadiness has cyclomatic complexity 22 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":"server/src/services/workspace-readiness.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0faf076f651c26a1f479a23bc4c69dae5262f34bf5517ae8f9dfa40741b62e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestConfirmationResolution (cyclomatic 22, cognitive 34): RequestConfirmationResolution has cyclomatic complexity 22 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4d6270d56cf39fe947a0fa2c6412a43f9776f85ff55f9bf259bf97311c5eaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactAgentConfiguration (cyclomatic 22, cognitive 34): compactAgentConfiguration has cyclomatic complexity 22 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":"ui/src/lib/agent-configuration/compact.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"789732dbf89df0bd045628c9dfad78ba630d58ad482ff8e8df4f4a94e5e29d1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 33): main 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/adapters/claude-local/src/cli/quota-probe.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c671eadfb14634ab31470a69ae4f6bdf5701e53853e2702e96b512e67351f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function responseValueSize (cyclomatic 22, cognitive 33): responseValueSize 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/db/src/response-capture.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"730315720facb8a34d5d82f174015bd190b019b75c5e6976560471fed39900cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #runBeat (cyclomatic 22, cognitive 33): #runBeat 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/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78f4cb436804b8ba645b87b41e2a51acffa719f0fda6098c67b5d53556583be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admit (cyclomatic 22, cognitive 33): admit 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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320c0178e13e832330fde75a8a55513dc5abe5baf034b7ad1548c8d5d9d96c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 32): (anonymous) has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5314}}}],"partialFingerprints":{"codehealthFindingId/v1":"204fbed7d89bcd9e92f902b5d5248c3a7f5f4ca8091ba52b3b54ab22c84a7911"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSandboxClaudeProbeRuntime (cyclomatic 22, cognitive 32): prepareSandboxClaudeProbeRuntime 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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"105bf1fd89097877d28f1ce9e493e35707926d0ea88b1323b8ad9c9828126b7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAlterTableAction (cyclomatic 22, cognitive 32): classifyAlterTableAction 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/db/src/migration-compatibility.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e109c4effe0ea350c07cf9ce71b3999da21093740294378b47b3c5d81ed206a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 32): (anonymous) has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"986efd1edf63f984e648b0a82d2d1ddd122e3e6542fcc0d2260fbc99064cb12d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncRemoteRunnerDirectoryOut (cyclomatic 22, cognitive 32): syncRemoteRunnerDirectoryOut 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14877}}}],"partialFingerprints":{"codehealthFindingId/v1":"55908494aa1ebfb05c2864f76af05586bafa8e9b7df9672c44a78d9e0ef6e487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 32): (anonymous) has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b7ca086ba1a983d09010525425cf384538cf3abf8b49996b0207ea89e9019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 31): (anonymous) has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"909aa21d62cc212c10a215ae28e09bdaec889d4bf1295d9f91cead5dc93c5c7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gif (cyclomatic 22, cognitive 31): gif has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cced29722538f988fce54c5e8de22a2219ea9d9065441c82b9d6ffcf1bcba07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateTarget (cyclomatic 22, cognitive 31): evaluateTarget has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-management.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2547c690f183773853e41fed69ab4df010002109afb749b7f03631f546ea51c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestClientCredentialsToken (cyclomatic 22, cognitive 31): requestClientCredentialsToken has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"156e3b42ab11637b06ce0e749ca583098a30d0c1d33a4d82e467004acd7489cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRuntimeMountedSkillSnapshot (cyclomatic 22, cognitive 30): buildRuntimeMountedSkillSnapshot 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3921}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac46aa35f2b8d63610ef9635e9cc56735941c6cd1da3eeb0a727aa970001e3ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 30): (anonymous) has cyclomatic complexity 22 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport-warm-attachment.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fca71fa9f6189d1b713370f27911ccdbce1c7b17c2067d9d42f8b019b8c6291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileRecoveryCheckpoint (cyclomatic 22, cognitive 30): reconcileRecoveryCheckpoint 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f733a37761fb2240abdb513f5f659147827e201255ba0e78d8cc81eeb5855a6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeExecutionWaitComments (cyclomatic 22, cognitive 30): resumeExecutionWaitComments 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65c3a86bfb93f288f9e0c50cd61640a6fdfceee273e2913c012cd6f78f7d296"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduleDispositionRepairAttempt (cyclomatic 22, cognitive 30): scheduleDispositionRepairAttempt 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c628c488d58d275c6e012f4921ffe549d8f655efa2b1a30d4f87b453c968a466"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasValidQuery (cyclomatic 22, cognitive 29): hasValidQuery 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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d5d9e5bdd661ccda12cc3e3224f6d715fe841fc9f222569e8bfb73a4d615a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryRunnerLoss (cyclomatic 22, cognitive 29): retryRunnerLoss 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":"scripts/cloud-readiness-runner-loss.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c3e83636aef47a75efdb30ea968c419dfff2a2b72ae19aa451d697564a5aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 22, cognitive 29): call 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":"server/src/__tests__/plugin-warm-tasks.integration.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5666906e362891747b74c1c2cfd151a969cc448a0eb5e3385ac94dc68aff94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drain (cyclomatic 22, cognitive 29): drain 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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2490248c01ad816b39e46b1ecc2065aacadfaada276e7c32c321c43a193c830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizationCredentialRange (cyclomatic 22, cognitive 29): authorizationCredentialRange 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":"server/src/redaction.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff40552e82c94ca662192fcffe138a6b9cc9441479e03506cd4b73dc260590"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":17441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbacbb8bc566b4fd11e32f6abec166f440e1d8ac51d3f786ff7e1ddb11e481c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverPhotonPublication (cyclomatic 22, cognitive 29): deliverPhotonPublication 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":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d6a5660bd51eea0e25e8c31462da02a8556b431ba524613b2724838176c25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishRun (cyclomatic 22, cognitive 29): finishRun 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93c0cc00071da6feb2f64d8fc1406c590775087c70cf8ac220000214e29574e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listIssueReviewAttentionMap (cyclomatic 22, cognitive 29): listIssueReviewAttentionMap 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":"server/src/services/issues.ts"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e81bdc2acf19fb862a8c7cabb402b2ac85b7a0ba3901eabe2b40f766ca447fe"}},{"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":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ee4b8d2732cb4fad66fb3aeb86fe78fe8e50e168aa110d009a77d4763aab45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planResolvedConfiguration (cyclomatic 22, cognitive 29): planResolvedConfiguration 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af8e816a20623460672075d869beba3d92754726bf600c7b916e6b9a3d42622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchFixture (cyclomatic 22, cognitive 29): fetchFixture 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":"ui/storybook/support/credential-access/CredentialTaskPage.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f097dae4f991bafb0eaa7d65872cf3879fc11e05528924544caccd840e5a63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #recoverPendingSemanticInputsOnce (cyclomatic 22, cognitive 28): #recoverPendingSemanticInputsOnce 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f958d198f07982f36009dab4ab2269fc0d5d6cfc8fd53603bd75955b1b2701"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 22, cognitive 28): seed 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":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cf659a6802378448a12d88d3eba4364675ea2fc2f9e47f6cb474e9c3f020d5"}},{"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":"server/src/__tests__/slack-enabled-quiet.postgres.test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bba7b9f16a33482d62ab75f1caeae890546f704fc0f01a1d4cdc2819375ea42"}},{"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":"server/src/routes/approvals.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdd2387b50b817c3302ad097fd1bc96311d104f1c639273c794a5f38066291e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyConnectionSecrets (cyclomatic 22, cognitive 28): classifyConnectionSecrets 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":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6acf05e081e2692ff0553a9f5867eeb23d08b2ce2f7f3a16c82b1a1ab4ef8b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipRunnerFinalResponse (cyclomatic 22, cognitive 28): paperclipRunnerFinalResponse 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ba9f450d5ce10caeab040751c1a9173c1b2c3515810532f259df6ae55b9e8"}},{"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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59f67d4bc670d1897a8127fb808eb79b1dcf4f3e06719ab61e72f23e025bbef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseKimiStdoutLine (cyclomatic 22, cognitive 27): parseKimiStdoutLine 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/adapters/kimi-local/src/ui/parse-stdout.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"09892b05a33dba05d44548badf88e262757ed396dda3b71cda860fa6a3ffb25b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotSvg (cyclomatic 22, cognitive 27): snapshotSvg 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/shared/src/cliplab/svg-snapshot.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3df29f545a6edbf6d4a3f6a9f8cf97a619d76720219bc1a42ed076d774c075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeChecks (cyclomatic 22, cognitive 27): normalizeChecks 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":"scripts/ci-profile/trace.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eece9060e85b4913607c3a1d9f56fc5a74b81d8fca5f3abc6ed9d383ce2af39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRequest (cyclomatic 22, cognitive 27): handleRequest 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":"scripts/mcp-fixtures/servers/acp-echo-agent.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c3f833ad9af349719aefcc47dea1a6de5bc83620b3a7722f7cd1317372801d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchReleaseSource (cyclomatic 22, cognitive 27): watchReleaseSource 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":"scripts/watch-release-source.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9020f456450db93174517bd31cadc282da34a5bf2a0e17c60d5fcf91642962f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeWorkspaceBusyDeferral (cyclomatic 22, cognitive 27): finalizeWorkspaceBusyDeferral 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc28471d9c421d845cca9ce3941ce407981bbc184f6dc3a244bd284b5c1c9549"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishReleaseSwap (cyclomatic 22, cognitive 27): finishReleaseSwap 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":"tests/restart-chaos/release-swap-finish.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523d59975c5fb074b849a9fb352885c2821a68ba977603550b9b7bdb258b5c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 27): main 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":"tests/runner-e2e/chat-catalog-domains/external-slack-human-worker.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a99330d73c5b42034b1a7f8ddb9c34b13490bdc879b78f7a8fbffb2fc8a6c2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedBindingForStep (cyclomatic 22, cognitive 27): managedBindingForStep 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d5a5363ed7dd26d740dc33c6d07c01546a97cac99c114e62cb69249c04a1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureSandboxCommandResolvable (cyclomatic 22, cognitive 26): ensureSandboxCommandResolvable 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cac5763dbe6c393b14476a2f6c3fdb673694a5a3ba79da1da6c08058a8d7457"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onApiRequest (cyclomatic 22, cognitive 26): onApiRequest 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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acfd5c52c7210cd14c06db54f1ca533343d43ab25c9942550fdd45ac67f0439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dataResolver (cyclomatic 22, cognitive 26): dataResolver 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/plugins/plugin-llm-wiki/tests/screenshots/harness.tsx"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bb911a224192f0368c3aa34a3ef2331fd4f350adfdd6c10a69799f6795d23c"}},{"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":"server/src/routes/companies.ts"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7e1fddcce130d33f214c9b0b2b3a2bb0f3978a5a9d4bb77a18c40762267529"}},{"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":"server/src/services/public-mcp/capabilities.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"512fd85c1f5f223d95d943f6f895a8ddb74d73120c37bd000ce5d4b06eed0f4c"}},{"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":"server/src/services/workspace-recovery-retry-copyback.test.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec3aac421ae37545a80905df9ce623d9eecf3024f05577cb5583e2a0ba2c61b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 22, cognitive 26): run 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":"tests/runner-e2e/testops-chat-retained-verification.mjs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cc9c44426860ccbb814cc98641639a06f068b5a08ed9a007c688ca42c9383f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalCardPanel (cyclomatic 22, cognitive 26): ApprovalCardPanel 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":"ui/src/components/ApprovalCardPanel.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1a9b68864405d795e9e2d20b9dd9fa8f806decb0c295595972c1845bf3d2a7"}},{"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":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a548e84a42f07bc1e9a922bccf3c6210910f7328cc10015f0364f6e11f20aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueFilterConditions (cyclomatic 22, cognitive 25): issueFilterConditions 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":"server/src/services/company-search.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdccbc46f0b18b5206757ca61ea2c3a77b11b7ed566f2c09d50e83ca09aa97f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMcpTask (cyclomatic 22, cognitive 25): parseMcpTask 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":"server/src/services/mcp-tasks.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45fef99fe4342c4b013c86ec7d4e095ad0d355e14697dd80d6ef8c38294d2f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function principalAuthorized (cyclomatic 22, cognitive 25): principalAuthorized 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0b51489d92d35461f0619f071d3f0f57e73c1c39a68d4858d8db311f8939bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureVoiceDeliveryDiagnostics (cyclomatic 22, cognitive 25): captureVoiceDeliveryDiagnostics 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":"server/src/services/voice/voice-delivery-diagnostics.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"de96f355705bde521957ad03f66ea6f29a9fd8a442079f59cb9c4ff0406dcd8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileRetainedWorkspaces (cyclomatic 22, cognitive 25): reconcileRetainedWorkspaces 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"785165aa070708042662fe0ebcddd27e0eda21f74e1c970eb8ca1b6f23f6ae59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentValidateConfig (cyclomatic 22, cognitive 24): onEnvironmentValidateConfig 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/plugins/sandbox-providers/exe-dev/src/plugin.ts"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cda01291ff52b8234006b121c5d0bd868aed037113ddc6a10a1f317eb2f48b"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":47917}}}],"partialFingerprints":{"codehealthFindingId/v1":"64de0f6a8f81738ce98722b11daeffbfa40ddd7db032e31e48b0f86d53c1c7f9"}},{"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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b9ad9f96bfd37558821cf67b7995828efff54f3feab100011b6b8610f11bac"}},{"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":"server/src/routes/activity.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e34291ec2ac55ec130a1fa29c5d705d6a51c4f9178afa39811d7d2dda68c64"}},{"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":"server/src/routes/environments.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"915c460460f380e1300245cc5c93e769150fa2c18099e3ecf0770999bc6239ca"}},{"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":"server/src/services/chat-receipt-reactions.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"beeddaf0b18a92b70b4178216f1b7555066b7ecde6ef317c7dd3a079317d2194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 22, cognitive 24): check 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":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"044989d0ccebf7995e7a7c9c4b8acdc11e369155987e1d73a2275e429d99cb4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageNativeRunnerWakeAttachments (cyclomatic 22, cognitive 24): stageNativeRunnerWakeAttachments 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14e4236479f27b055c46b1d2dc6fec5ac136a44d30c9988c428fdae8c7a9d41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeInputLifecycleMetric (cyclomatic 22, cognitive 24): runtimeInputLifecycleMetric 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86c488853ae23db72564bec7d32bf4f9a4cd022b226973c9318548f4ba1e91d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSuiteArgs (cyclomatic 22, cognitive 24): parseSuiteArgs 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":"tests/restart-chaos/crash-points.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f8f6d176ca1de20a784b419465e41862433bf7c82ccd558589ad3de8a961e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractRuntimeServicesFromMeta (cyclomatic 22, cognitive 23): extractRuntimeServicesFromMeta 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"038d775a17fbb511b0df0084186c319b3105eb5b16bfb83d1c1b0c74f72d8573"}},{"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":"packages/db/src/client.test.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a7c8297bd4f8a0293f3c21257309ce72a60483d1344e24984c084d0f9b2bb"}},{"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":"packages/paperclip-runner/src/drivers/acpx/antigravity-models.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb206af92b74086e99b3220d3487115cefcca7e2fbd4f47abe24dd1087a955b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notification (cyclomatic 22, cognitive 23): notification 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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec62d3bcb6f444b6f35de28db6b34b3ef8f9b164cf38f3bcfa5adf5d14f9bd06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageManagedGrokCredential (cyclomatic 22, cognitive 23): stageManagedGrokCredential 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/paperclip-runner/src/drivers/acpx/grok-credentials.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e0e196ab3ae8cb45af860e918426ce0575790e175fe43c35359766d168e64d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #onLine (cyclomatic 22, cognitive 23): #onLine 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/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ac2bb67ab9511b735224110f2e1fcac77ca8c57eea45d8ab335323efb87d18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #evaluate (cyclomatic 22, cognitive 23): #evaluate 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/paperclip-runner/src/tools/capability-tool-authorization.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce43aea80a8ffbc19a79a2386eabdde9fc855bce0adb8344da2e8237e7654063"}},{"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":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"a453c2db8c6fcdd473fe43355abc6e94cf0e49661ff8cc226266abb6bc023801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function post (cyclomatic 22, cognitive 23): post 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d53873e831eaae0807c3dba798fc259b2316e7db71ecde2f0eb26bf8764598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestFetch (cyclomatic 22, cognitive 23): requestFetch 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":31223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c6ff408da9727eae397532c1a9efbaa019bbb2efc7c405e9ac5b28f84bb2ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeIdleBackupCheckpoint (cyclomatic 22, cognitive 23): observeIdleBackupCheckpoint 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":"server/src/__tests__/helpers/maintenance/backup-observation.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb53c1b2598a8e149d297f6dbc2798ea9d88d3e6e7fec3aa5cf65d7e7c0d35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyHiringAgentAuthInheritance (cyclomatic 22, cognitive 23): applyHiringAgentAuthInheritance 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":"server/src/routes/agents.ts"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40e16949822c41f8f1b17d6b30f335b2b356459544f19360c76b785bd5c4f85"}},{"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":"server/src/services/native-runtime/native-bootstrap-retry.integration.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c70fbe094c89125ff9490eb871603ede02525c428fbe35b3929de85528a3c2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readyPortableTaskSource (cyclomatic 22, cognitive 23): readyPortableTaskSource 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"840b78c3f6ba61a2f3dffd9791537a2060d0c9f2e2c65c5c82656bcf21e46ebc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBinding (cyclomatic 22, cognitive 23): createBinding 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee0a2bc63595131d2e2e87ccfb7430cc4f2f8f63f059727c95fd083bcead0c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composerEfforts (cyclomatic 22, cognitive 23): composerEfforts 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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e811af8f6859e4a84712f6e2251f992d6de3842fd4fb8bda82a2c1efa6a100"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CatalogDetailPane (cyclomatic 22, cognitive 23): CatalogDetailPane 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"f618a6bc07abca64392c8a3a154cd88542b04fff6a646a23263b5454568212ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CatalogDetailPane (cyclomatic 22, cognitive 23): CatalogDetailPane 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2f2834bba1de9314a6d9f312389c1e84a3bddc9becbf54a90141728651bf74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixAllConfigurationErrors (cyclomatic 22, cognitive 22): fixAllConfigurationErrors 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6029}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d03ccbb0ead8a391b389668732dd4a489e899033f55a9f20ae4499bb2fcfc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestDeferredProducer (cyclomatic 22, cognitive 22): requestDeferredProducer 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":"scripts/cloud-release-admission.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d625fdf1e8d9c04261bf24a14efd0a0f85d871cbbd082f2bb4ff8964c8878"}},{"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":"server/src/routes/file-resources.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"307a80581c14583ed2877d192fca61f89b6506ace462c8c44efd34f647684c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunDelegationParentDefault (cyclomatic 22, cognitive 22): resolveRunDelegationParentDefault 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":"server/src/routes/issues.ts"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf735e8c8f871c2d92b83a73110d42976f25e7c670d11c55397056d0ab59805c"}},{"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":"server/src/routes/tool-access.ts"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e147ebb4a9ba221b6460aecc94c4528429032d5b7bc918432feac932f26b02e9"}},{"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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3c4f1f66fa2316bc4351510e5e82e91cb22a5f2995cb9761b3512b136f9158"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sharedPublicationPin (cyclomatic 22, cognitive 22): sharedPublicationPin 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c90868037333a71ad2096cf1f4cb930431689c1e33ab510e8ca303be8371cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 22): main 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":"tests/e2e/smoke-lab-browser-runner.mts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcfae245d120d378a39e99422a38e13ba0f83f3247cba33e1b47a08ccb84f0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeCatalogProjections (cyclomatic 22, cognitive 22): mergeCatalogProjections 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":"tests/runner-e2e/chat-full-catalog-testops-merge.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6730d4dfb3f9fefcf6b76e83accc66aa3868415ee7aa758ac5802385c8ed5fd5"}},{"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":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"517e5dc16caa9c9ab2679f656b2edbf1b4a75ba23e2938f08c886f5b91677091"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAcpxRecoveryBinding (cyclomatic 22, cognitive 21): createAcpxRecoveryBinding 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/paperclip-runner/src/drivers/acpx/recovery-identity.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ea567081d4d679e6b39079d08e389dd3087af2b92ca0309f36960b50fadd43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":45484}}}],"partialFingerprints":{"codehealthFindingId/v1":"459c86150f960082209da03a8d0fdde0e2ecb25f65e3e3770122b31b9147bfad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/mcp-protocol-versions.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc4d5224ecbfab81393a0c06f96bd8746cf18c2ad108a683b4fd6869150d7cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 22, cognitive 21): list 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":"server/src/services/agent-action-audit.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f91086feb09baa3d2300949f1d2204f8cbd0fd089b1b4bb938aec314f95502e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grok (cyclomatic 22, cognitive 21): grok 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5c54031943b01a1f956bdc275645bff958bd5ef3dd3cc3d6091ea77fb07832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persist (cyclomatic 22, cognitive 21): persist 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":"server/src/services/company-skills.ts"},"region":{"startLine":3809}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51254f2b8ae596829197c6e0e8b94e208593cab2ed3b3367b4b925ec5118c8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexTransportFactory (cyclomatic 22, cognitive 21): codexTransportFactory 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4bf2bcab3f3d26176d58bee4e8d095b133907fcf842dc82326ccab21fae1ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function definitions (cyclomatic 22, cognitive 21): definitions 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b466fc62208197d978a55781bab0f6db5e46d898074366cfeaea8ca8a1e4f98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshOAuthGrantCredentials (cyclomatic 22, cognitive 21): refreshOAuthGrantCredentials 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":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddaa6a8c34d8f948855e51e09d9a4a3a35c1a22763b937801248f291f19c2b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-products.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9a38261bbe09cab2e3259861ca03c6cf09e65df0e5965477176db96f6c8440"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeOwnRetry (cyclomatic 22, cognitive 21): gradeOwnRetry 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":"tests/restart-chaos/grader.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15884897144d79a04050f6d99922249eeda2e23be8a3a863600ba2ff4129209"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function secretTestEndpoint (cyclomatic 22, cognitive 21): secretTestEndpoint 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":"tests/runner-e2e/chat-catalog-domains/external-secret-endpoint.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17823d7fe64b8dddd779b89f7b94c1a6b21077bab9693ce0dff3b24c3d788be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-plan-decision-observer.test.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a7123a801f97c683da4b761b19be3c5eccf6de4b10dc770304026b68be8367"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-skill-studio.test.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a1c4f1cb71a7c2b0552774b5f4139a19acadeeb2ecda21ffbf4fd1495908b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/copilot-semantic-evidence.test.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5effaa900d0cc8cc8d3d41886b0bdac74552e9967a2161f94d5a53fa975c7cfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionResolver (cyclomatic 22, cognitive 21): DecisionResolver 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":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd1531e2538a418814c79d246472ecef16b4dd60e34a20b97a45a7e846eb843"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemNoticeCommentContent (cyclomatic 22, cognitive 21): SystemNoticeCommentContent 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3c04c87afd9045ac0e5b16ccbb28b6c77c9919bfddc93791613ba499021519"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 22, cognitive 21): check 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":"ui/src/components/ai-connections/useLocalAiLogin.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a43c0f34e713ea19cd8cc3f6f031fdeafd42e21271a161224b36820af01406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"064e0592edae3cf595e4c67f190a09faf932a97bd9712b15793e8a5dd16f1a02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTimelineEventMessage (cyclomatic 22, cognitive 21): createTimelineEventMessage 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cbaea72bd51ab2fff34dba4e3b44ae9fc244d8b5e4f096347634a79da0f006"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createProjectWorkspace (cyclomatic 22, cognitive 21): createProjectWorkspace 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":"ui/src/lib/project-workspaces-tab.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c13b6678e62d000e1ba79c838d2d258a58321a3e1d13d231b7d7dc905fe690"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFilesBody (cyclomatic 22, cognitive 21): renderFilesBody 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b841a2b311b0643fce24b5c6ea311b946947febcdf4184e6f4c257d15d66c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFilesBody (cyclomatic 22, cognitive 21): renderFilesBody 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"3698b216b250d507b56f4fcf6cd3618be9d084c4b86f1c6dabb08179ec9a1349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCostDateRange (cyclomatic 22, cognitive 20): parseCostDateRange 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":"server/src/routes/costs.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8284317e63dfb125e844bb352cf3826a53266cc90436b413b70d12b332ef5c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 20): (anonymous) has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"14953913feec691001eded363e756700ae5daa73351213305e79c98753d8b4ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleDispatchedEnvironmentTask (cyclomatic 22, cognitive 20): settleDispatchedEnvironmentTask 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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b4eb170ee19843beeaa90f12022bbfcb7c7f9add9fe2b0862b59716b26f8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allowsGitHubCredentialExport (cyclomatic 22, cognitive 20): allowsGitHubCredentialExport 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":"server/src/services/github-operation-credentials.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0060370437004bc693ad9dbbde8f3f8b15f0319fd49ea77c7783ca3637e5b329"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRemoteConnectionError (cyclomatic 22, cognitive 20): classifyRemoteConnectionError 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":"server/src/services/remote-connection-failure.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d63c1b79c907e3c3a883eda1cdf723e3f5af3ef47e7fc1ce1dfb9becb86a6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function explicitOperatorRunIdentity (cyclomatic 22, cognitive 20): explicitOperatorRunIdentity 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":"server/src/services/run-identity.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2a5534d46355fff43209eb62b35268aaf3d4cabff28437e11b710196e5f8cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSummarizerWriter (cyclomatic 22, cognitive 20): assertSummarizerWriter 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":"server/src/services/summary-slots.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"77563749660c4226b8a322e622c731d910fa2c774db2b346cb058cc0b567d13c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function swapEvidence (cyclomatic 22, cognitive 20): swapEvidence 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":"tests/restart-chaos/release-swap-driver.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aac0df864a0a0ac0a036631209ebb2815bcec5377e7484826aa79fb8ddc8ff4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 20): main 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":"tests/runner-e2e/chat-catalog-domains/integrator-webhook-private-worker.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d2f573c956e5cce8add61a18694d0f5b13332863c831e718a8e246aa84594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareOwnedDatabaseFault (cyclomatic 22, cognitive 20): prepareOwnedDatabaseFault 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":"tests/runner-e2e/chat-catalog-domains/privileged-database-fault.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c4b41e9267a4235838418d821f228cf12e59f6e5094967e79402190207af75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRuntimeTaskGate (cyclomatic 22, cognitive 20): readRuntimeTaskGate 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":"tests/runner-e2e/chat-catalog-domains/runtime-busy-worker.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff00b8285f45709b3ddc38ff07dc848856bf374c6cdbf6774e4772c51b32622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function regenerateRunnerDashboard (cyclomatic 22, cognitive 20): regenerateRunnerDashboard 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":"tests/runner-e2e/dashboard-regenerate.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093849f5dc39acf57175efe04821507bfb399d3b519e572680f932f61561f97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCampaignFeedbackReview (cyclomatic 22, cognitive 20): validateCampaignFeedbackReview 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":"tests/runner-e2e/feedback-dispositions.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c91a433a0e64bb799c734818d81b8daa8348c9ec8cfa52088258551af8a7f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExpiredRequestConfirmationActivity (cyclomatic 22, cognitive 20): ExpiredRequestConfirmationActivity 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74fc9452bc2479210360f1e00643a103e49ce5d6fa41a7c3afd1df962b1c4a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OutputPrimaryCard (cyclomatic 22, cognitive 20): OutputPrimaryCard 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":"ui/src/components/issue-output/OutputPrimaryCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5476dc910aede5eda351891937c278b710770e460bf46636d867bfe2e5fd5d2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTest (cyclomatic 22, cognitive 20): runTest 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":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc6d412a70a9f225fb77e5915dfe7ea0d26d9877dba2c9df7c48a8f1f25a574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewSkillWizard (cyclomatic 22, cognitive 20): NewSkillWizard 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"54516b213248d5877a6f3ce78b91f4394735aedd51234635bd47aac252237584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewSkillWizard (cyclomatic 22, cognitive 20): NewSkillWizard 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"353ffe3dbbe2dd31245677169647cc2a75d130a0e0a010bd0245cf88df51a7d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 20): (anonymous) has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":6346}}}],"partialFingerprints":{"codehealthFindingId/v1":"42316e557524cd8fa70852ae216542e2790b0dc68ecd10497c3910d0f12f8281"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditRuns (cyclomatic 22, cognitive 20): AuditRuns 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":"ui/src/pages/audit/AuditRuns.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caecd004f75f351310fab41b8b79fced2dc98c6066c0e94987ec3cec3c3092a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCodexAuthInfo (cyclomatic 22, cognitive 19): readCodexAuthInfo 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"966b88b11bf64cba0425129a729a441b353e14576fd8feaf173e7109872539e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTopLevelToolEvent (cyclomatic 22, cognitive 19): parseTopLevelToolEvent 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c120403e0398b79fff2f79c8a5a319d9ebe1e623f166a2c1dee338f3e36f179"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityEvidenceDetail (cyclomatic 22, cognitive 19): capabilityEvidenceDetail 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/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbe15bd545d30a44a4727151285c3aba035e31c7db37c696d44b0f4e7f068f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 22, cognitive 19): receive 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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdf91e4c85e01f790e4bdea70f38cbeecb4d06321b5e7b4f326d9c0a37581f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPersistedConfirmationDecision (cyclomatic 22, cognitive 19): readPersistedConfirmationDecision 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":"server/src/services/confirmation-decision.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d764847356d1122124c468c475d1dde7b978303c363f5452797ae48c9f1a75b0"}},{"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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49b80958c7818a6af83de39b4a406c13914e2042e5e99c45fdd76c345e440a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteWorkspaceFailureDetail (cyclomatic 22, cognitive 19): remoteWorkspaceFailureDetail 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dd7ec7f562842ac51db7f0827faa84e6c27319d73bad8fda6cd0c8805ccb6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oauthClientBindingMatches (cyclomatic 22, cognitive 19): oauthClientBindingMatches 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c430bddce3224e270deba56853b334f68fcc1ddec60be4335dfdfb912c8e2ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FrontmatterPanel (cyclomatic 22, cognitive 19): FrontmatterPanel 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":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1336781618c7d0b7e01c9fe857bd06c4396b87ab8c8d27a5e0763aaa0a7cec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isComposerSendRequest (cyclomatic 22, cognitive 19): isComposerSendRequest 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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"350c50fd9b45846a7d546420ab1e09a2eb85c3de389bf86b25b3421f1694ca38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantConnection (cyclomatic 22, cognitive 19): AssistantConnection 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":"ui/src/pages/apps/AssistantConnection.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dbc21d20c4533c74352d6387a3d97734247edc7925ef576dd3a3ab3bdaa1b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function write (cyclomatic 22, cognitive 18): write 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/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fcece51d279d1d45d1f7a982501de1b5d99cebe80c3af394225871ac2a43e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCredentials (cyclomatic 22, cognitive 18): readCredentials 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":"server/src/services/agent-observability.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f452274ba5961a381b6dc7ef4210df83ee2cfa03462424ef88de995050077d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestForRunAuthFailure (cyclomatic 22, cognitive 18): requestForRunAuthFailure 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0957284016799b940f3b7d836d21170e80dd729eaffbcd882167ebab48e1d0a5"}},{"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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6caf2351d8a391d912deeeed6d042d5e10fdaa116907f6584414b05326ea4ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 22, cognitive 18): observe 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":"tests/runner-e2e/chat-catalog-domains/external-gateway-rotation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3b119da404ef29b51dce435fd14b6997e548d1aea06144a6a46206a136ac0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 18): main 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":"tests/runner-e2e/private-history.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ed5cdf0648c1ac17989fe39c5c04ecf8fb6e1a0663223d17e5fd975366e806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskTreeControlDialog (cyclomatic 22, cognitive 18): TaskTreeControlDialog 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":"ui/src/components/TaskTreeControls.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ba2cac8086389a30aa52dedace10dc0e9bc47ce2a0583b1d61974339b48ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareIssueListForActor (cyclomatic 22, cognitive 17): prepareIssueListForActor 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":"server/src/routes/issues.ts"},"region":{"startLine":8910}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f696b41323553b3610af088c1bc5ab5dda48107506fb6a6f456e9036529983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileBundledPluginManifest (cyclomatic 22, cognitive 17): reconcileBundledPluginManifest 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":"server/src/services/bundled-plugins.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ebaf5a556cda0da5abf9aad72c990743562e36f9ae2d51c7a5f1517a184e3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 17): (anonymous) 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":"server/src/services/provider-fresh-workspace.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dcb8a822a0b373b68a63f79194208a1952efad16abb25ff465fe149ebde881"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQuestionSequence (cyclomatic 22, cognitive 17): gradeQuestionSequence 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":"tests/restart-chaos/question-handoff.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f3adf39217fc0c55f3b81396a986aa43e922c9bb0bbb94aa1191293eec615"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePlanTask (cyclomatic 22, cognitive 17): gradePlanTask 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":"tests/runner-e2e/plan-task-scoring.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc22f7a441e7c3a1c6e617f00c3eec918d9f17f4a171f001e16010de1e7e8373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 17): (anonymous) 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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"301398c91c41648ebf8266a9179bd402e933d363df199b334f2d83e301d5363a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 17): (anonymous) 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4114}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc1ae2eb36b677f9678da93a6a0bd942ca297a74076082c9ebc226e4f2bbe2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstructionsBundleSettings (cyclomatic 22, cognitive 17): InstructionsBundleSettings 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":"ui/src/pages/agent-detail/InstructionsBundleSettings.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd63311a382a7560421fc09862f00f00c50ea1032a0aa770f4070a26d6f9a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RailwayAccessPanel (cyclomatic 22, cognitive 17): RailwayAccessPanel 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":"ui/src/pages/apps/app-detail/RailwayAccessPanel.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed00582e592d995ff0e6098fadcef147992d84b355daa34f3aa761c4161f45b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 16): (anonymous) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4618bde45517c2218be724b9b33c077d9b1ceb9de21e17292c359db8d8cc420a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseChatQuestionFormSubmitTokenPayload (cyclomatic 22, cognitive 16): parseChatQuestionFormSubmitTokenPayload 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"91661b13cdb1090b4447e3d806b41583f79aeab51c75a4e60cfd13510cf11f5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureDecisionSnapshot (cyclomatic 22, cognitive 16): captureDecisionSnapshot 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":"server/src/services/decision-training.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bebbad7797fe4c1b1addbd0c9e97bb1c7a1acf62c441c4f865e213e08580b50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyFirefliesWebhook (cyclomatic 22, cognitive 16): verifyFirefliesWebhook 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":"server/src/services/fireflies-webhook.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"be14a2e05570ca32fb43340a2556c4d017f9dd4a702a54b50b9171403b6ccfd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setRunStatusFromLive (cyclomatic 22, cognitive 16): setRunStatusFromLive 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608eac86538f03ff7ecc53adc56f1aac3c7874f87d41e4121d133f27993a920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateNativeRunnerCheckpointOwner (cyclomatic 22, cognitive 16): validateNativeRunnerCheckpointOwner 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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6156878414129c4d69c74d32a2206228ed257e60a9596eab4114c0742eb6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 22, cognitive 16): finish 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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72b3eb86140b45ad733c5cd6d284c5b7cf96a4cf740a4eb27d584df24995248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareTeamsInlineImage (cyclomatic 22, cognitive 15): prepareTeamsInlineImage has cyclomatic complexity 22 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":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"078269bf72f5cf67b9ce6efc03f586f24006ba20d73a1cdbc085991b22cedd60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesOriginalSource (cyclomatic 22, cognitive 15): matchesOriginalSource has cyclomatic complexity 22 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":"server/src/services/legacy-workspace-restore-recovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce351aac0b3ca8c8a954921bdb7c28190f3e2b20e6e7afc4789900f0b41a1f9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchingBackupDirectories (cyclomatic 22, cognitive 15): matchingBackupDirectories has cyclomatic complexity 22 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3b9bd3ce9898ca64120fb5332fdb8f97b1de16dff7d1e95843bcc3e1797c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOperatingOverhead (cyclomatic 22, cognitive 15): validateOperatingOverhead has cyclomatic complexity 22 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":"tests/runner-e2e/operating-overhead.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52448af807c5eb7907085bb0b77f783c4b19a1ee8743bbcc6ac612606ac4bb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getIconSpec (cyclomatic 22, cognitive 15): getIconSpec has cyclomatic complexity 22 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":"ui/src/components/FeedCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b954ddb5af472e7a386c5f7cc8661e761585c4a77b2b60eea32e81178bc828"}},{"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/paperclip-runner/scripts/controlled-evals/hosted.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"369f381035cd35524aeb8f2a4265590c4e80935477cc9099fc28455f15531b58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyControllerRuntime (cyclomatic 22, cognitive 14): verifyControllerRuntime 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/paperclip-runner/scripts/controlled-evals/verify-runtime.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda4273e311aae9aa6ef0893021ba03908e3704217207273d4924c16000ca02d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interruptedRotationSource (cyclomatic 22, cognitive 14): interruptedRotationSource 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4711a78d235fac895bf5f39226f1619904962f3f9818fdb0690f3defdcda55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeShareProject (cyclomatic 22, cognitive 14): gradeShareProject 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":"tests/runner-e2e/chat-catalog-domains/internal-privacy.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f86be399512b95402c0b74983f083d9fddb8de61450ebc17397cfe363ab9934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeLostSandbox (cyclomatic 22, cognitive 14): gradeLostSandbox 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":"tests/runner-e2e/chat-catalog-domains/runtime-lost-sandbox.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7850fe60fff967f64d27028e0b5399934402b64b0ac04883a4224b6aa1695f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readUpgradeArtifacts (cyclomatic 22, cognitive 14): readUpgradeArtifacts 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":"tests/runner-e2e/upgrade-artifacts.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c50c7faef6ea4bb71f90e4a884a2a47d9d0977e489e08a9ff4bbc4a9b8876b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function credentials (cyclomatic 22, cognitive 13): credentials has cyclomatic complexity 22 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/development-manager.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d35bc9b56fb1cc0febc2e1d396ec9cad719585c200ee7081f670a8a04e38e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInfrastructureRetry (cyclomatic 22, cognitive 13): gradeInfrastructureRetry has cyclomatic complexity 22 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-infrastructure-retry.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"626a96f5d13e7ce92d380cbb5fa5f84900c7f9619fc8503cbfa09a0f04829dad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentNativeWorkspaceRecoveryResult (cyclomatic 22, cognitive 12): currentNativeWorkspaceRecoveryResult has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-recovery-binding.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b090c3d6b3f532b4de13bed6dabd0fc92e490170e02deb05487d1a9f8e8d459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotionAudience (cyclomatic 22, cognitive 12): gradeNotionAudience has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-notion-audience.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"19008588512e4ab7bf881207e4168fe0bb68a4ab637dece9004d575818effa0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCliAuthorization (cyclomatic 22, cognitive 12): gradeCliAuthorization has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-cli-authorization.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a4c66a9ee73956c60ceab68ef4ce455a6b9469cd5f20ae7c23e8280c040b0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorCaseFacts (cyclomatic 22, cognitive 12): gradeIntegratorCaseFacts has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-case-facts.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5fc9a6a8ba651ba425e4c5d621ae1355f4a3dc533a07a04d438f7a2f067372"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeModelOptions (cyclomatic 22, cognitive 12): gradeModelOptions has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-runs-adapters.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d96c93d8de04a60bdfb06f03463fbc68b60be30f5a8819f1b181d15bc74ac1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stop (cyclomatic 22, cognitive 12): stop has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/first-task-flow.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7bba9396c475b23320d19b3e89887192aedc57db301a1643a04c073d8c1dd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activeStopWorkBoundary (cyclomatic 22, cognitive 12): activeStopWorkBoundary has cyclomatic complexity 22 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/stop-redirect-evidence.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b822d89febc94ed4439212364642e48c96c403bf2ca6eb98b8ace8c10459b29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeCheckpointRetirement (cyclomatic 22, cognitive 11): readNativeCheckpointRetirement 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":"server/src/services/native-runtime/native-runner-checkpoint-retirement.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2a6289f2e0c2493ca1af0cf2cb6a1a49ea143008e3979f4816f46b68c38198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeWorkspaceExportResume (cyclomatic 22, cognitive 11): readNativeWorkspaceExportResume 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":"server/src/services/native-runtime/native-workspace-export-resume.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce6b31503e2ef9748df9c123e1687847824ba2ca308e2694fc5631e404259d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotionRead (cyclomatic 22, cognitive 11): gradeNotionRead 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":"tests/runner-e2e/chat-catalog-domains/external-notion-read.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d08ee7a832f9d8b24f9dd728e77c83fcee865f365cfe21f7b3f147912a3b0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 11): (anonymous) 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":"tests/runner-e2e/chat-catalog-domains/routine-history-work-failure.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9a1d2f1fdd90ff22278498191769d51aaceb514d6f826857515a4be167a637"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sdkPublicTypeSyntax (cyclomatic 22, cognitive 11): sdkPublicTypeSyntax 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":"tests/runner-e2e/source-sdk-public-type.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30b8b516797d0c2675b2aa25d416deebbc72f9cc8d2a2322edee063d733bc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 22, cognitive 10): read has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"2909b387aef738ca0d96e3b67c3c71825675c4c326208334312fad12a3a51889"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 10): (anonymous) has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-startup-cleanup.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18638d486664e074e81e9f6e40470eabe07c0bb168fef5d1972d96065ccaa90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyReceipt (cyclomatic 22, cognitive 10): verifyReceipt has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-absence-proof.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db2d4cca0f8a45495dbba5349f79036c3f7d2dc514120fd1bd174be037c368f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function immutableRemoteWorkspaceRecoveryAttachment (cyclomatic 22, cognitive 10): immutableRemoteWorkspaceRecoveryAttachment has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-receipt.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d93d1824b42292fe81af245587f06f3910698b457b9945c5028b85b8f7eebf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorCaseHistory (cyclomatic 22, cognitive 10): gradeIntegratorCaseHistory has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-case-history.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b59347c0700c3dfa34573d1f0695e74ab8b852760b6a62510e16fb43b29caf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorPluginRoutine (cyclomatic 22, cognitive 10): gradeIntegratorPluginRoutine has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-plugin-routine.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"125563933f7d5ae6d7fddc823bc34ca353d8eb760e1c988edec1df71636a40fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQueuedFollowup (cyclomatic 22, cognitive 10): gradeQueuedFollowup has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-queue.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eee23d84238e30150bb826e45f2c17703e590bd5e47231a7a51ee96f06dcfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 10): (anonymous) has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-linked-question.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4d7f1b5dc9e92cf83c44cb2b5e0f28b3fb29e42d25138fdd13c92e28dfa1cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyNativeInstructionPreflight (cyclomatic 22, cognitive 10): verifyNativeInstructionPreflight has cyclomatic complexity 22 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/native-instruction-consolidation.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e9383702a58a1bbfc0378706413d04e7ef8439512a7dc777ec564091e426b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeObservability (cyclomatic 22, cognitive 9): gradeObservability has cyclomatic complexity 22 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/identity-observability.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21f061dca8718dcb3e7a0609bfec44e785f1b37a535a57e3d3f4eb143956705"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 22, cognitive 9): act has cyclomatic complexity 22 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-claude-upgrade.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8641c2e4396548f5492dd98b54f2da9ffadd142534c456fb7771ef89af36af48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function freshContinuationRecord (cyclomatic 22, cognitive 9): freshContinuationRecord has cyclomatic complexity 22 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-infrastructure.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99323ae489e03ab7933153d6c0550b2bc68bbf230d301e20d8f94180acc82dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 9): (anonymous) has cyclomatic complexity 22 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/everyday-observations.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48b6904518bccfe4eccb21f9abb7fff8fddbfe815ba4e3a4558f409dee3bd25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadIssueHierarchyChildren (cyclomatic 21, cognitive 53): loadIssueHierarchyChildren has cyclomatic complexity 21 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":"ui/src/lib/issue-hierarchy-context.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f2850b3f846e779f096e5fc29537386f5861d023ffbd8720fe22342400353f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 51): (anonymous) has cyclomatic complexity 21 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddead415dc3c1ede2dbda7024d6088a66f5afed6b571371e8e6dc62ab41c7ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDocumentFixups (cyclomatic 21, cognitive 49): applyDocumentFixups has cyclomatic complexity 21 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":"server/src/routes/openapi.ts"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4420373234421517ee531fc4cb6daa5893dff19ab9250492660915b5b810ddb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAdapterExecutionTargetShellCommand (cyclomatic 21, cognitive 47): runAdapterExecutionTargetShellCommand has cyclomatic complexity 21 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"374c653742811ef795eaad408580aebf4d3c11196e9fe90cff386b1ac4fff392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 47): (anonymous) has cyclomatic complexity 21 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c9f85d3102ec38ba326594267e83d8606671d7c374107c5cb17b9d1cf3d2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseField (cyclomatic 21, cognitive 46): parseField has cyclomatic complexity 21 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cron.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1014f733877d5337d0bbef439fe536315e7bfe9d4ea51ac0b190f2d99efcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clickRetryOnPage (cyclomatic 21, cognitive 45): clickRetryOnPage has cyclomatic complexity 21 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":"tests/restart-chaos/board-ui.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b9583ab5c0efb0c03a734432b4bf1bd27e5713406464dc2588f1fb95c7f053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 45): (anonymous) has cyclomatic complexity 21 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":"tests/runner-e2e/eval-otlp-payload.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e455dc4dbed27c0d6d97d852ead12db3b12a49d91029291de14d819abe245a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 42): (anonymous) has cyclomatic complexity 21 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/__tests__/release-verify-workflow.test.mjs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7502da732853f0411e9b54b073335591807d3a576d8b70732ec9a4e44f95e16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #endString (cyclomatic 21, cognitive 40): #endString 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/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e801f7aaac28f808d79642570d6b33c7fc80e19b8eb14b3c3c3685a531b2d4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detachNativeSessionsForRestart (cyclomatic 21, cognitive 40): detachNativeSessionsForRestart 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc6530f78cc02af384fe8d2b0b19c2558079e2f146fddabbb2fd3923906fe8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripRustComments (cyclomatic 21, cognitive 38): stripRustComments 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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"417a774ff7410ebbe61197d71a9ef904b8ac7f26af5a5b0ca218c3f32b8e3562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGitBundleIntoLocalRef (cyclomatic 21, cognitive 37): fetchGitBundleIntoLocalRef has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9025b2a1c22637b0009d46c2f56a659402b89866f1225a67aa7e4cd69b91d9f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 21, cognitive 37): refresh has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/voice-session-recovery.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"055779b03e3649ab62241172532213c31da6dba0fd7543af25d5a7a6cd7418fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 37): (anonymous) has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.native-retry-stop.test.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ce7bd1d616785d996e851f5b090b38d6fd50f570edc9a2192c8205f1203397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkLeaseResumable (cyclomatic 21, cognitive 36): checkLeaseResumable 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/plugins/sandbox-providers/kubernetes/src/lease-lifecycle.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1937f92182d4e8f813450f2b71f1f247566f2728a6b60fefb39a2ffc282f74"}},{"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":"server/src/services/email-connections.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5407db0e04c7714f11bf1a68c269d061acef4893c737f85ec7dceb7caa6d53bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSiblingWorktreePorts (cyclomatic 21, cognitive 36): collectSiblingWorktreePorts 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":"server/src/worktree-config.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad64dd7955cf7a857326d989b493bfbfa36642a97d5ea448d8c99668dc63abfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatStructuredIssueChange (cyclomatic 21, cognitive 36): formatStructuredIssueChange 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d8a9ac988724efb04404e7817440595daaa28b193379eb264ea4aff7fa7c96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyWithin (cyclomatic 21, cognitive 35): applyWithin 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":"server/src/services/onboarding-seed.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7023b3d457cd5308eed12d412910a79afa6e5dcb8b4f4d5b450d00b99bb5a04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function priorRecoveryApiReceipt (cyclomatic 21, cognitive 35): priorRecoveryApiReceipt 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":"server/src/services/recovery-effect-receipts.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2602ae6cc104e98db97a893f05f3a802e0d9224ba68a35833847144edaf2a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 34): (anonymous) 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1c6d3e8557b139204989a0f310676c85410aec87dfdda7ab45fd8746939df0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function semanticProviderPlanMarkdown (cyclomatic 21, cognitive 34): semanticProviderPlanMarkdown 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1b2854f33ff26652ea26c56606122d98f36c240757efec7c5bb6e988821baa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopOnce (cyclomatic 21, cognitive 34): stopOnce 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":"tests/runner-e2e/server-stop.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"088e84b04f2ff860381301aa42ac08330aacb29149df29743fab827bad4aa045"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 34): (anonymous) 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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb382766f641609285536b994f6fae9605c4f2e02fb9aa0e1af06a744b43e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planChannelChanges (cyclomatic 21, cognitive 34): planChannelChanges 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":"ui/src/lib/agent-configuration/channels.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0564c1d6126c0695919cf7193586af610c47bb0d9adbbc0170a3f14210474093"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importBinding (cyclomatic 21, cognitive 33): importBinding 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f73a67bc799f51d8bd17b9f8f39ced89f922d43e42e47e9c05e6d63a545b19"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a134890dfdd020e2ae0ec02548c8e2bba77ed6d1c88dca9a053baad80ce310"}},{"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":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9bd4ae1c33c6af282e7ea77069273a66739c46e3f323236cce305af09c081d"}},{"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":"tests/runner-e2e/private-reporter-artifacts.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c0634e5ca094f1f4c34591837b4f040be5769b87f4b4fe02066148cb9f4ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePinnedCursorDistribution (cyclomatic 21, cognitive 31): materializePinnedCursorDistribution 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/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05b583ad63489f05b9c157a82fb74c12c6b707b7d8d7403a23ad3eb1a1bbf2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncInFileMappings (cyclomatic 21, cognitive 31): syncInFileMappings 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a5f3d54dd20ad6163cd5bfffbc6605f74e362ab14f2f9292ca1be3763202d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTypeNode (cyclomatic 21, cognitive 31): classifyTypeNode 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":"scripts/extract-proposed-events.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b14053973dee6aa2d2304d1cec503144deadfa16412dd4a266860abf0b5108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 31): (anonymous) 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":5307}}}],"partialFingerprints":{"codehealthFindingId/v1":"380d12c1491c3eaf87637166ef6b899f56d8d586fb62bede3e4e1de863b40208"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enforceClaudeOAuthBindingClaim (cyclomatic 21, cognitive 31): enforceClaudeOAuthBindingClaim 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":"server/src/services/agent-credentials.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"08242a9cecaabcc29059dcfd81f9a5bde660aebe58702a2e4baed8d91020a1e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 31): (anonymous) 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":"server/src/services/billing-reconciliation.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d39c67acbc0f8b6c366be621cd96f8c73ee4cd5b9aac205e63c9799204b80ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acknowledgeSlackFormDeliveries (cyclomatic 21, cognitive 31): acknowledgeSlackFormDeliveries 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":"server/src/services/chat-channels/slack/form-normal-ack.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d0cc2e0ec30700022e1ae6a201909dc7aeeb655b822467f63fee2c562e481e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCapabilityLiveCodexMatrix (cyclomatic 21, cognitive 30): runCapabilityLiveCodexMatrix has cyclomatic complexity 21 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/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2a11afe910f75cc5c5da58fc80cb0638b585d8cff8b1bcb4e63a56a6521154"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCursorWorkspacePolicy (cyclomatic 21, cognitive 30): assertCursorWorkspacePolicy has cyclomatic complexity 21 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/paperclip-runner/src/drivers/acpx/cursor-launch-policy.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193491312dd8b3dd7a96a43ea8979e64cce2e44c5c73091118cbbee2bc0712a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolFileChangesFromAcpContent (cyclomatic 21, cognitive 30): toolFileChangesFromAcpContent has cyclomatic complexity 21 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ad923b286b100ed859a88dc5051f64d0771386fc287b1aef8cae680cfd4126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeRecord (cyclomatic 21, cognitive 30): sanitizeRecord has cyclomatic complexity 21 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":"server/src/redaction.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"b332a0e1192a7329a696b0a9a8f56bd33991ae40416b099a30bd4e97886dffae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatIssueChangeValue (cyclomatic 21, cognitive 30): formatIssueChangeValue has cyclomatic complexity 21 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":"ui/src/lib/issue-change-receipt.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be3f0bd905ed7790931e4104001492429ec24984553db7ba6ad8df7fef48a64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function differingJsonPaths (cyclomatic 21, cognitive 29): differingJsonPaths 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/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb5938020fbba59ea37f0bab5be311cb9c1612408d55c5c3c59643b2bb0b6bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStressTraceabilityManifest (cyclomatic 21, cognitive 29): validateStressTraceabilityManifest 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/paperclip-runner/src/eval/workflow-traceability.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e895936302a151e79cfc5c1fdbaf4edf3a911e2c2c3059b871e36434b25a541"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateLocalReferences (cyclomatic 21, cognitive 29): validateLocalReferences 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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51f0057b3c532d646527d50ee96242e0891971b8e88f4b2b0b2d608056810e3"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":27962}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a74584e97425cf6596e5a5f968576bcd5f5b7105ad87efdcbb907ca102e71b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function customProps (cyclomatic 21, cognitive 29): customProps 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":"server/src/middleware/logger.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"40efe12a7e44056cd475d2caea66821ad5813ac3f627daf0e73622b3bd19ef9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAuthorizationPolicy (cyclomatic 21, cognitive 29): readAuthorizationPolicy 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"38960aab209c1b8a29f907fdcb93062e95c9029e321d4be214eef7ae953f3565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function complete (cyclomatic 21, cognitive 28): complete has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/tailscale/connections.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fdf81961ff7d108d9a27cc2a118d26d82a860437498d027e6e9e0778279d13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 21, cognitive 28): check has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"33564bf6ad83c9eb2e206c60d38130a848b540f2bf38f946277933f9830a93de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveLegacyWorkspaceRestoreSources (cyclomatic 21, cognitive 28): preserveLegacyWorkspaceRestoreSources has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-workspace-restore-recovery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7d9edf9afe9280de2aa92726ea89a42609cf7a4aa59538059d95b13a4f5927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 21, cognitive 28): visit has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3222}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db1db7a899cebf1a5eb98708e66188a6a95ae8fd8e37d747aa363a0b58f0f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actorForGrant (cyclomatic 21, cognitive 28): actorForGrant has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe63d86698845b08c7bcde260aa0b838929762e20561ba3668de68d2b899567"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 28): (anonymous) has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/public-mcp-invitation-flow.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c1e6c01d7656bbb83ebf15e09b55238108e92c140b667e3a42dab0dd48d83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operation (cyclomatic 21, cognitive 27): operation 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dbe18db863bdf8a6cb1f681e09f3d25631c462f808235a0278b89daaf3e7d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeValue (cyclomatic 21, cognitive 27): sanitizeValue 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":"server/src/redaction.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aa658389428467ec8cb8bb4ba3937d3455d5b20de6c69d734796f3deb08977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveBundleState (cyclomatic 21, cognitive 27): deriveBundleState 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aa43df81c4d89661460f7a173e69dc37ede0f1e99f7a758493bfbb98c5e0f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistCredentials (cyclomatic 21, cognitive 27): persistCredentials 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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"475e582be82c0e2660f6f4ffb7a0486232eb92ef4276a685d117616573bf903c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 27): (anonymous) 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":"server/src/services/native-runtime/native-remote-retry-admission.test.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c06e6fa04df28246b4dbf51b68be0d3f72f64198053b969eeb7eb140d67073f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 21, cognitive 27): observe 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":"tests/runner-e2e/chat-catalog-domains/external-slack-file.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c98b62dd0bf371a3e3126967fb706182fcbb2b612a286c19044679cbc0c28d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 21, cognitive 27): classify 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":"tests/runner-e2e/product-journeys/onboarding-connect.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbef7e30b456c0bd0eebcafc8f4c015ff57534b692bf13732faa7e3f9a99e7c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyLockedKimiPackageGraph (cyclomatic 21, cognitive 26): verifyLockedKimiPackageGraph 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c9703117dd290cb45b6f0dcb3643e470bf97b0a87b4f2e55ecbacb70f6b2f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reattachWithCarriedCommands (cyclomatic 21, cognitive 26): reattachWithCarriedCommands 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/paperclip-runner/src/live/runnerd-codex-transport-reattach-carried-commands.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e0e4f4396380b76baba9c6c6cffec90da89fc3455ecc517217b719a3d976ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usePluginData (cyclomatic 21, cognitive 26): usePluginData 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/plugins/plugin-llm-wiki/tests/plugin.spec.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc0693043bdfcb4914fd083b5c1112fc7e62a8c03474cf2bdc47188bc94e846"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configPatchFromApprovalPayload (cyclomatic 21, cognitive 26): configPatchFromApprovalPayload 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":"server/src/lib/agent-records.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5e18a536b6408bfb0c3fed24ea9c23d49de6b85f5d80e4f984d61020624534"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 26): (anonymous) 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":"server/src/services/connectors/slack-client.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f843f5899ee22fe3495df8ff3b864cfa50c52db50f693f20a37662de3dfcf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mirrorSlackBoardComment (cyclomatic 21, cognitive 26): mirrorSlackBoardComment 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":"server/src/services/slack-board-messages.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca6c8e5afe7724c0e6235ced9c87392665c332812c603dcdfa742864e26987a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateWatchdog (cyclomatic 21, cognitive 26): evaluateWatchdog 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6cfb942f8769adbcecb33dc28853c60c9e17a097c4e390a79be8b1efd74add"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":2320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d091d2a11f36116b54944889d36aafa393fda3da7372f6f3e27c437d775f0472"}},{"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":"server/src/__tests__/tool-gateway-service.test.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d951cacf551ce384a9ca74b9ff38574a4ed58827f955325f1a511b90aaa506ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerApiUrl (cyclomatic 21, cognitive 25): runnerApiUrl 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d752d9205b64591308ffec71c4e1155fb6722d15a51baa447edb53d1dfc1d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function secretResolutionErrorCode (cyclomatic 21, cognitive 25): secretResolutionErrorCode 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":"server/src/services/secrets.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eac94d0b2f01cbba4163032592db3adfdc7a10e7de37f38e84b873015254fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeU3 (cyclomatic 21, cognitive 25): gradeU3 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ff82fa9bd87c4ac77ffb29edbdb2c62ac53d7e70f9fe2b8f2cf8d2d08fc98c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 21, cognitive 25): main 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":"tests/runner-e2e/chat-catalog-domains/identity-private-browser-worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01d936f6d9ae5976847fdb096c882beb7bbccb8a8af213f2366318ad1d29056"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreBackgroundCreate (cyclomatic 21, cognitive 25): restoreBackgroundCreate 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98b0643058dfd585ab8a4f23073506936351bc74a99e5d0c8fa6f6131726458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeToolInput (cyclomatic 21, cognitive 25): describeToolInput 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":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0a6cd278c251689c5f12b37047d8e12aac8bde0e729fd4c5ee50d61f0f5a53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectorAction (cyclomatic 21, cognitive 25): connectorAction 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe87bb3464628effa53a21f69c2dac4a6e3d403e652d032026b9cae824d066f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeCopilotMetadata (cyclomatic 21, cognitive 24): probeCopilotMetadata 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/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3c825e53b4c6c1fea02515e44b356a5540d06e407b7dc1af45e3281446e28f"}},{"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":"scripts/smoke/muse-qualification.test.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f41afd4307f2864ff63f1ad3657fc268e5d4a55177f3fe5f19ea96b0e77020"}},{"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":"server/src/__tests__/heartbeat-project-repositories.test.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68a27028a49b68bcc39bbe1bf21c3ecad91b2bd3f2d985d903960799a50ca28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importRemotePiCompanion (cyclomatic 21, cognitive 24): importRemotePiCompanion 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":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"13077e7f12e12a7e3428eac591dce93a7abc46e7735bc19023568887a4bc8047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureLocalPluginBuilt (cyclomatic 21, cognitive 24): ensureLocalPluginBuilt 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4faa1e743e7c8d57e36c6c6914a972dc2705e1b2d4ab2a2ebca39999c7700c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privateSlackHumanConnect (cyclomatic 21, cognitive 24): privateSlackHumanConnect 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":"tests/runner-e2e/chat-catalog-domains/external-slack-human.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae576e8cafd4ff3b9341881de14ec81c5f916aa8bb71bcd88ddbf7bfd2655ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runContinuationFlow (cyclomatic 21, cognitive 24): runContinuationFlow 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":"tests/runner-e2e/continuation-flow.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9582b17e1a4024f5dadddac75d09fd6fb036582b21fb07f0a5d9ca4297d834"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 21, cognitive 24): fixture 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":"ui/storybook/stories/connection-setup/memory-connectors.stories.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"da61c275fad8cbc99e78fb10aa956a1eae5ffdc37e6157abb0b0a7f48b691d10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactCapabilityEvidenceData (cyclomatic 21, cognitive 23): redactCapabilityEvidenceData 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/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff874aa5de591097a4909b1517c6211b9c43cc91a47493cf15b74c03c30017e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedWorkspaceFixture (cyclomatic 21, cognitive 23): seedWorkspaceFixture 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":"server/src/__tests__/heartbeat-workspace-busy.test.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b9b2c113aaf4c34a33f4543b660a090799e017e799ef8b16204defebb0e334"}},{"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":"server/src/__tests__/idle-incoming-wake.test.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b366c90b1d60cd47ca8f00117cbd8508874bd132dcebc88fb8258f871bb023c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTool (cyclomatic 21, cognitive 23): callTool 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7ce4ad492a0943e84ab1f23667d28ace774d725fd59e53d038bd0cb0a27500"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelApprovalAndNotify (cyclomatic 21, cognitive 23): cancelApprovalAndNotify 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":"server/src/routes/approvals.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c84b1dcdcf9e43249e9f1bf78a384f09118e1cfbf62a7906fd29a0c270888"}},{"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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea37255debe74dffd2f0fab57f6d7ce6987b16a46b266910e3f066b6fc66ddf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookupPerson (cyclomatic 21, cognitive 23): lookupPerson 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":"server/src/services/chat-github-management.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2615fc4c9ee5f15b70bc9c829b8bd04c8ce12a262f451ad9bae75c623d34df9d"}},{"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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"856fa4ccd08699ca77e8ed3b2c3b0b19ad3340b36116001139360dc6cae6f44b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeExecuteLogNotification (cyclomatic 21, cognitive 23): routeExecuteLogNotification 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e117900f213db4b51ea51b092cfaea9c0d7c9b55193d3b3f224261ce91f7519"}},{"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":"server/src/services/remote-workspace-snapshot-retention.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"748923eb5a2ec974b306076fb054cc81a2ca282fdd07b31a3049ad38451ca3a9"}},{"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":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc83453d7cf0734039b47945e013ccbcc94ded8e493fb427feb2dfca0cdf1b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withProviderFaultCheck (cyclomatic 21, cognitive 23): withProviderFaultCheck 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":"tests/restart-chaos/provider-faults.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8effbd630d79f50e21911052e249328b0ab3e7753b68d4d4b8e0016e3ae79f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 21, cognitive 23): observe 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"617ef25b13d93f44c92516475ca9446bc3bb3afdd6fd432964a7861a808968f6"}},{"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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"0002caaaf91cba419633f77f577a0e66e0ede8e2f3d8b8e69e4415d1c63aced6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeRunRetryState (cyclomatic 21, cognitive 23): describeRunRetryState 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":"ui/src/lib/runRetryState.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c731019bdb153689980fe77e3dd03050b179bb8bfb5111e7664f46fddce24c9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 21, cognitive 23): fixture 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":"ui/storybook/stories/connection-setup/OnePasswordConnection.stories.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c162ea8a67b93e2678426f3fb54b28cde359d6baba955757083dc050ff42f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safetyAction (cyclomatic 21, cognitive 22): safetyAction 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/paperclip-runner/src/governance-events.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5211cc7bcc12f5e44e899e1e00d418ee8a42dc884d72ae1bf68430ddadc3f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProviderRateLimitSnapshot (cyclomatic 21, cognitive 22): parseProviderRateLimitSnapshot 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/shared/src/provider-rate-limits.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ffba4a5c6fe835a07e2cc9c0a462a081da092fe9744fb7cbdba7dc570c77c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exchange (cyclomatic 21, cognitive 22): exchange 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"6807762053da3b88e8f4a724c3d3a158bb4d0e1fe9649a00db998359885d1f32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installUpdate (cyclomatic 21, cognitive 22): installUpdate 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":"server/src/services/company-skills.ts"},"region":{"startLine":4991}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fad30c960db0ea87f1da1ca4b8d83c35f9cf91c38f4101619ceb380661f75a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function browseProjectWorkspace (cyclomatic 21, cognitive 22): browseProjectWorkspace 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":"server/src/services/company-skills.ts"},"region":{"startLine":5162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a97610bba920eb89cdedc1d60605af9ced6f1e952b081acdcb8ccf1ea4ce6d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 21, cognitive 22): call 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"232b809eb6ffddc0a9d0ad8471fa08e2a4062035f55d717581c2add7ae98cb88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPluginWorkerEnv (cyclomatic 21, cognitive 22): buildPluginWorkerEnv 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7fb76ea32e0b7c8d20e519873d6dab67011d857ac04c7a81b8e0170e193362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startPersistedQueryCache (cyclomatic 21, cognitive 22): startPersistedQueryCache 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2b021b09afd3083871ce15a413cd039bc3e5cce35a8f0d2ee80aa3f6a99e79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupRunProcess (cyclomatic 21, cognitive 21): cleanupRunProcess 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":"server/src/modules/active-run-watchdog/adapters/process.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a34e8ebb239d7e3eb9c30c2d007a2d348c3a0ff829854128caa08c03877d96d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) 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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e9dbd11bdb6c4e136be64d8e8877efff21e2116e9957459f83626311b1d06a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3bd97b6a1cfe49a1e3bafdb3eebc8895ede71d15e2cfe8b7b47afd17147634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6621799410918383910f506b6b93cc261c617f750a26b85394f6bf974878248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistAccountingUsage (cyclomatic 21, cognitive 21): persistAccountingUsage 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11548}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a18db0e6430011fa361154c9664624c2a3fe5677da079d1fe4fe49fc0c048c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #assertDotApiFileAccess (cyclomatic 21, cognitive 21): #assertDotApiFileAccess 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"03681e7e7af4c89dbd94e721ee143d95aa1d9de2dad5cafccd022e50568475ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRemoteOpenCodeArtifacts (cyclomatic 21, cognitive 21): prepareRemoteOpenCodeArtifacts 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":"server/src/services/native-runtime/remote-opencode-artifacts.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"91398649ffb772824d5d87bf15ef8e2cbbb2ba653283323d17c04c34acc42a67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertRoutineDescriptionDocument (cyclomatic 21, cognitive 21): upsertRoutineDescriptionDocument 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":"server/src/services/routines.ts"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efc1363ff375d60184e7bb5da13b977abf55b8d77cfbdeaf047558b57da14f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchingAgentActionRequest (cyclomatic 21, cognitive 21): matchingAgentActionRequest 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10606}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d3362273c2b908cf9fc8a29f36e38d5bc9c4318b247089e99e8646b36ab26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function documentExcerpt (cyclomatic 21, cognitive 21): documentExcerpt 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":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40ea73af853dd8df88d6698f69e3db4260ff0a86cfb4494072cce0c14dd46ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function documentExcerpt (cyclomatic 21, cognitive 21): documentExcerpt 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":"ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ae8981d9f8da6d6cc2d0e73c2ee3d788d762fb4c064363ecb77d8c531a5516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) 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":"ui/src/components/OnboardingWizard.test.tsx"},"region":{"startLine":3349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bc9603a07f2d3d4496f309b25188e3faf2bc7c17d71d88a3b9a327900ef0fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d9d6477d69bfa193eb6c4b28d13566f06dc4741983d2b279d6d23936c802b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiscoveryCards (cyclomatic 21, cognitive 21): buildDiscoveryCards 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"da970cce78344ce179a9fee4c66d804679fe88851abe6e59488de2e1e19303d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectWizard (cyclomatic 21, cognitive 20): connectWizard 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":"cli/src/commands/client/connect.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c221d024975948efeda492e1642360d030e2637ca9d1f5d385799a64bea47fda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEvent (cyclomatic 21, cognitive 20): onEvent 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a933210ec9ead020b65a2e847929d00e25dff2131316a406ffe7e7cc4dc109d8"}},{"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":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3598634c3b91481477833b9cd5980e17dfff199fb65bbfc5f4bf578b095682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 21, cognitive 20): reset 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/plugins/sdk/src/testing.ts"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"af055ce551d518e7676c04cabcb3968cf00d4ffc23df3f03800b534eab6b69d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProject (cyclomatic 21, cognitive 20): parseProject 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/shared/src/cliplab/model.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed7e80e7de94774b6ce8bbad13405b65eddf586ebf969253e3cbf75c76d7a24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateApp (cyclomatic 21, cognitive 20): validateApp 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":"scripts/ingest-app-definitions.mjs"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f64c86f969d253ede86208044210465fcebe073a58e9f0aa586a1b07f9750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function referenceClassifyIssueReviewPaths (cyclomatic 21, cognitive 20): referenceClassifyIssueReviewPaths 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":"server/src/__tests__/helpers/issue-graph-liveness-reference.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ddc7a717b12615aeef8fb952d4789b6abebe6c71370712b35577825d2891e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLocalStdioMcpTool (cyclomatic 21, cognitive 20): createLocalStdioMcpTool 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":"server/src/__tests__/tool-gateway.test.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e414b2caf81f034abea3c35056dc5176a853f3ba0b1b0d6aa56bb577cde74650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectorEvidence (cyclomatic 21, cognitive 20): detectorEvidence 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9656f58c1c56ee1ba460d44b10a26109a1499f7559f68ccff67d2c728e9bad2a"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":9774}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6fe33635ee89e9c4db6c15ea73ff7b5f1892d30d789664c1fd5bbc72381fcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recheckRunBudgetReservationInTransaction (cyclomatic 21, cognitive 20): recheckRunBudgetReservationInTransaction 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":"server/src/services/budget-reservations.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2890992859fb2134685ccadb3915009808452df9a96691daa969035bb63936"}},{"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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedb52c100eb5859e45015cf84bd8b1e217c2c6d624d0fb4d4bc9e01cf143ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeIsolatedTaskDirectory (cyclomatic 21, cognitive 20): materializeIsolatedTaskDirectory 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":"server/src/services/isolated-task-directory.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d77db635c7091e046b4a0e1bb9d7743eb72d4932e357348dbd643e74f2c6c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRegistryRecord (cyclomatic 21, cognitive 20): normalizeRegistryRecord 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74dec398a5ec5a113710105181514880cd0b76fe5d19ef901ece00efa746bea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportRunFailure (cyclomatic 21, cognitive 20): reportRunFailure 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c140acb736223c98f18543c3018147852e2d9863ca82161f679258c3c3c4563"}},{"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":"server/src/services/skill-sources.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ad3cd1519947cb51712bc39ed724f94d379bf0fccf55f5c2081988c6f61e03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeAudit (cyclomatic 21, cognitive 20): writeAudit 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb656085387c66d28888b98f76871b0fc4dd79ff12ee383cd764e18b4f032723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildItem (cyclomatic 21, cognitive 20): buildItem 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":"ui/src/components/AttentionQueueRow.test.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eec3f6ce817e037a21597741fbebdc2749e22144fd251bfaf06ca5c5af0ffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueAssigneePausedNotice (cyclomatic 21, cognitive 20): IssueAssigneePausedNotice 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0265c800d08a8ca7ec3e2661fb870e0ab3b179356ae53871f5d7eee94307eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RevisionPreview (cyclomatic 21, cognitive 20): RevisionPreview 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"55864b46bd89b613ee59b76f689303beae3070e5c8434250589964c3d2d94089"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TranscriptProviderActivity (cyclomatic 21, cognitive 20): TranscriptProviderActivity 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edffac31547b3120e2af74a115887cb7a3f5bd320262983251bf9834f894b68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectorCatalogNavigation (cyclomatic 21, cognitive 20): ConnectorCatalogNavigation 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":"ui/storybook/prototypes/ConnectorCatalogNavigation.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8403379cd486e38369b57c8c8f3928d994750d316de6f25ebfdcb7000f2f0fa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function item (cyclomatic 21, cognitive 20): item 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":"ui/storybook/stories/inbox-search/what-needs-me.stories.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2470a5c9229a3e2d24e9a344b7cefad7a0892fa51433356ef71f4c0d744e6bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateKimiMetadata (cyclomatic 21, cognitive 19): validateKimiMetadata 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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf799b8219cf542a8fe86094cab86a6d0c5623edf283985795724e4d41354ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FreshnessChip (cyclomatic 21, cognitive 19): FreshnessChip 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3624}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4edc3f99317474e293c9b971adf12525959ea246e2e6902709e2865115713a"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":4332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d3860ff5e758d91830768f3a3d539c861bd96d8dd58cb5dfab56bda28b5661"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTestRunDetail (cyclomatic 21, cognitive 19): getTestRunDetail 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":"server/src/services/company-skills.ts"},"region":{"startLine":7049}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d26af8784370ddcaac4acfa79b55fbacaf20ef92044fc5c8ababfa3ac2fbec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function heldBy (cyclomatic 21, cognitive 19): heldBy 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":"server/src/services/environment-retained-orphan-settlement.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"69980b1b5b7b98dcdb62db759d8e61ba523b8eeee6a5764a1f518120672daaf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeRetainedPriorWorkspace (cyclomatic 21, cognitive 19): describeRetainedPriorWorkspace 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":"server/src/services/fresh-workspace-seed.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3891bef73703b3fc5e523a80088d844586b807f9ac3660c823416ba1a4486506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectWorktree (cyclomatic 21, cognitive 19): inspectWorktree 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aaa797fa57b44444c52340f484eea7a76c0f6f0133376f436ea51416388c5f"}},{"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":"server/src/services/native-runtime/plugin-runner-probe.test.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f219fa847bf339138fef3f83a68a10cfac37a143a851d06ebe7966fc66e2ba06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePaperclipRunnerCursorCloudConfig (cyclomatic 21, cognitive 19): resolvePaperclipRunnerCursorCloudConfig 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5c82c53543e880102be7d7c72cc3a5a4516061cfee36b4b47ee6da5b1eaf4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRoutine (cyclomatic 21, cognitive 19): runRoutine 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":"server/src/services/routines.ts"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0629c3cdae87496a6ab963774b36900d7e9c897be07c1394d9f1cd135e56090"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeToolReviewJourney (cyclomatic 21, cognitive 19): gradeToolReviewJourney 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":"tests/restart-chaos/journeys.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"171857f8d09cb4964001e78671c8de63d766f1483d7a90ab6ee033f8c2b77d88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCampaignAccounting (cyclomatic 21, cognitive 19): buildCampaignAccounting 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":"tests/runner-e2e/attempt-accounting.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57a0848b4bf25da26187d57c85af46ad1975244c96cece9f2a7f02301742581"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runNativeNewCompanyInPrivateBrowser (cyclomatic 21, cognitive 19): runNativeNewCompanyInPrivateBrowser 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":"tests/runner-e2e/chat-catalog-domains/identity-new-company-native.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff19887722531b0a88096a87f8fb66c07ffed6a85e3571b14dd26a7804ea6db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRunCard (cyclomatic 21, cognitive 19): AgentRunCard 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":"ui/src/components/ActiveAgentsPanel.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbacfbaf6de5eed3ed00676bbb16483084d452eb2129dfcdaca6885d55347f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionRow (cyclomatic 21, cognitive 19): executionRow 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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b85b60bbabdcc50a0b7189cbaef2afd6b150e200df67d446cbaeccdd363400"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseListRow (cyclomatic 21, cognitive 19): CaseListRow 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":"ui/src/components/cases/CaseListRow.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cdd8710c7850d532559ba24c50459c04d6f203a7bb797beadfdff881025643"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpAppViewContent (cyclomatic 21, cognitive 19): McpAppViewContent 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":"ui/src/components/mcp-app/McpAppView.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a7f5792206edd1e863b36e7f2ecafda5e4e838b930ce45807b1c497f49049"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatThinking (cyclomatic 21, cognitive 19): TaskChatThinking 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":"ui/src/components/task-chat/TaskChatThinking.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9396ad625f4813c3600630368c56b352692797c29414d03af986edc15b29e391"}},{"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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"b684383183309e65b318594438918d0247155dbf229c870096cc538779d0928d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginManager (cyclomatic 21, cognitive 19): PluginManager 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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafa04b7d2a41d12af5ca70cec1a5c4dabd0f76195a2fc121bc78ae9006f7e8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StatusCards (cyclomatic 21, cognitive 19): StatusCards 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":"ui/src/pages/StatusCards/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e67ec76067d0450f9972bd5423c3f95ac0e0b4cb4a6ecb23cee0477f4ce92f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditRow (cyclomatic 21, cognitive 19): AuditRow 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b7c2c3c49aff5909814d867aff56a3950e4c9e00fd196ef6cb5b90a089bf5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeAcpxTurnUsage (cyclomatic 21, cognitive 18): summarizeAcpxTurnUsage 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3490}}}],"partialFingerprints":{"codehealthFindingId/v1":"50970936e3f2c5e6f5e04288a6ea9c9fdd62414c4603a862279f98f79c9a1073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #downloadAttachment (cyclomatic 21, cognitive 18): #downloadAttachment 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e64893fc5ec7194cc2a0e1f63f4d801ed2a37a6737ee9687dd7fd9967010b5f"}},{"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/shared/src/validators/issue.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"093add37634435cf6121ca570c1be58edd4b706b95f9b6f2cd1de0ec148566dc"}},{"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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0dd2b2a2d3c0afb0e47f790cbd329535e32fe60ed35cbcaa5be9dca0defbfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function guessRoleTag (cyclomatic 21, cognitive 18): guessRoleTag 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":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd14a05bf4d8e47ef2cca113a84b7e7fa611b21b0e9f1082173a03b6ff6c8f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGrokRunnerConfig (cyclomatic 21, cognitive 18): resolveGrokRunnerConfig 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"928277b020f6c67e8678cb80979f3991179f97b8ba47b5e2ab9dcffff22bd76e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCancelledUnclaimedWorkspaceWaitRetry (cyclomatic 21, cognitive 18): isCancelledUnclaimedWorkspaceWaitRetry 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2b4a9acd16144aac288bc84c378073dc992ca97474e684572d23be34e4f284"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePluginDriverForRelease (cyclomatic 21, cognitive 18): resolvePluginDriverForRelease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a90a5de85fae734978fc756a118dcb09540694e14fb092c73ba8680125019f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertGitWorktreeBaseWorkspaceReady (cyclomatic 21, cognitive 18): assertGitWorktreeBaseWorkspaceReady 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab1ace881ff820189793d4b95e47d148543836cf7868524ed8ba94970ea16f"}},{"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":"server/src/services/native-runtime/stopped-codex-turn.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0520d672139469a97b4a72bd62038673b63462cfc41a188d4503dd9635297987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeSession (cyclomatic 21, cognitive 18): authorizeSession 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c315f8ca58d973e7390ad28a5665060e5f832ad5379534a08921ab3e5dc14d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConversationSidebar (cyclomatic 21, cognitive 18): AgentConversationSidebar 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":"ui/src/components/AgentConversationSidebar.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd46192c844af5e50207e48038e2e25d5c6dda467d71815e935e71542391da6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineRunVariablesDialog (cyclomatic 21, cognitive 18): RoutineRunVariablesDialog 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":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b9dea75140c930d5d4e69d65529c4f262c8ada0e01c29dc5d006d8d6d540ff"}},{"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":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f69192202cb384068f6f053d77266dfd54483e180ea9149feab64736a96b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginLocalFolderRow (cyclomatic 21, cognitive 18): PluginLocalFolderRow 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc2b0724b726a751edcd8d12f4eff8a27f01b4560fa81c1644a1cf6595e1acb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Timeline (cyclomatic 21, cognitive 18): Timeline 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":"ui/src/pages/Timeline.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6577e4123c9920ee8ca947c64c9d222fbb03f1055873e26e036d4d197b879ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeAcpxDistributionEntries (cyclomatic 21, cognitive 17): readNativeAcpxDistributionEntries 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381e3853e06ffb2a8f22905ddd9ef46625006109fdad294499a16e211d3c2a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 17): (anonymous) has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a16d8b22966319770ce167e514b18ffb4b2e642811ac2a2c80141805750a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAdapterFailureForRecovery (cyclomatic 21, cognitive 17): classifyAdapterFailureForRecovery 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":"server/src/services/recovery/service.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8113059ce6548abc3ff4b0b23514b82c9ac8daf93913e3acb62a2a4c78dda9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oauthEndpointsForConnection (cyclomatic 21, cognitive 17): oauthEndpointsForConnection 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eadf56b5a6df9e9362851a66ccc548f91bc08f7527bd93c292843954da53cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordFailure (cyclomatic 21, cognitive 17): recordFailure 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":"tests/e2e/smoke-lab-routine.mts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c025b144109676a82f0bbfa81ef455db33b9025535bd7051015fb47e5c367b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownedInstalledTarget (cyclomatic 21, cognitive 17): ownedInstalledTarget 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":"tests/runner-e2e/chat-catalog-domains/privileged-installed.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d1b4c03b5c992ca3d408ad6b7e8f8e21b8c88f5995dbf23c7b89a99542f931"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadIdentityBoundaryImplementation (cyclomatic 21, cognitive 17): loadIdentityBoundaryImplementation 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":"tests/runner-e2e/chat-catalog-registry.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ebfeabf6fd587d6bba262a5681c6e63cbe4302fb6aa61450bf98205105a219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 21, cognitive 17): read 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":"tests/runner-e2e/chat-run-evidence-observer.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea96422a08ff3394600f61eb173374b7d8a1d006417d7b605a0f555ad8f5835b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 17): (anonymous) has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"499b5cf3f05527dd4bbc388b0e98316468d00b4a0a8f0664c12f1620b04e65e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCompletedUpstreamResponse (cyclomatic 21, cognitive 16): resolveCompletedUpstreamResponse 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"5586653b2dc8facebc1d1bc0e57b65f676f83ccdb2d961517ff056b5cb048686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdStateIsIncompleteBootstrap (cyclomatic 21, cognitive 16): runnerdStateIsIncompleteBootstrap 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b99639df9102abd1d8d709d1569e19b435c8eea471e2db8a4871e4aad2b109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotionAssignment (cyclomatic 21, cognitive 16): gradeNotionAssignment 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":"tests/runner-e2e/chat-catalog-domains/external-notion-assignment.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1d0c90479f9e6d18ad914635946913310566637ef28a6c472520adc60e5570"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAgentTaskState (cyclomatic 21, cognitive 16): validateAgentTaskState 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":"tests/runner-e2e/product-journeys/agent-flows.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f330b10e2ce646c5963f64d698564dbfe2b0eed5194e9f24a0e26c102a181cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubRepositoryAccess (cyclomatic 21, cognitive 16): GitHubRepositoryAccess 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c1542a1fea9ed89d122d35ac8f522849429d6c671455fd3e366ae9ecb8240d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectCommand (cyclomatic 21, cognitive 15): inspectCommand 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ec45b40e9d0f4beb7105cb565b5ca0795c0fcdc3cb22095c88706d645e28a4"}},{"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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e48692ae553fbc512d58c190f08136a7dfe29d7d2820478dface13bba04aa37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 21, cognitive 15): parseArgs 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":"scripts/verify-release-registry-state.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0590276d3d5af1d5f8e1d171eabc489c603ba444b380689a6c37c87cf0ea8ca4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateAuthorizationPolicyForAssignment (cyclomatic 21, cognitive 15): evaluateAuthorizationPolicyForAssignment 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":"server/src/services/authorization.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"853390237e3bc7392ef61341bd5447a60a130c7e49455638684cf688fb4c0fa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindIssueToPersistedExecutionWorkspace (cyclomatic 21, cognitive 15): bindIssueToPersistedExecutionWorkspace 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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"86170c714e0c5173208ad66eb4eac71730733d0571d66e29162fd806ca5d6e61"}},{"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":"server/src/services/native-runtime/native-startup-cleanup.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd650260811435ad21b7f71db6f52e82a9d41a5e053870f53bcd3d63cf6e1da6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignmentDenials (cyclomatic 21, cognitive 15): assignmentDenials 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":"tests/runner-e2e/chat-catalog-domains/internal-edit-ownership.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cf2dbc1a5c70c943d233a60f9437987d03190924eac72ecf124f7cef400af1"}},{"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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca0b833b53b55a7afd357e330c3a544e47f5c435a5df174a978f222f2efa52e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdapterManager (cyclomatic 21, cognitive 15): AdapterManager 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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2ceb9203bced161778d16a4c6ee12625b2b0f0ed9f88892eedb0754d9b83cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 14): (anonymous) 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/shared/src/case-handoffs.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b2e281872b076357bca4c1268b4f0ea4ca9d05cf3f4a37ab1122056b3808b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function priceAnthropicReceipt (cyclomatic 21, cognitive 14): priceAnthropicReceipt 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":"server/src/services/anthropic-pricing.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04b594e51e320688bbcac9bae429bdc29e1cd08fd59735598d73f1b5407dd50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDiscordNativeCommandReceipt (cyclomatic 21, cognitive 14): parseDiscordNativeCommandReceipt 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":"server/src/services/chat-discord-native-commands.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"acefe3fe31861e8af06e127b7e7a9375fbf8c325b7235f0b0d6dc3392a4d7e80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 14): (anonymous) 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b9d049539e2eb382371578ebff0a27f4990f2db3a00fdad7777345950bec56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companySecretConfirmationProof (cyclomatic 21, cognitive 14): companySecretConfirmationProof 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b3dc323f98bd723cc425cf6b9425d90e9087c20387b6bda382c55be154d6ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatedResultStatus (cyclomatic 21, cognitive 14): validatedResultStatus 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0056eefcd8fe533963f639c53339a2c9be2c2043ca06dd96870bd2ca407327a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripLineComment (cyclomatic 21, cognitive 13): stripLineComment 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":"scripts/check-no-git-push.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ee370f18fbbcc46b01da7dd741182320b4d5f5874e6348ecf25089b6a7885b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readQualificationEvidence (cyclomatic 21, cognitive 13): readQualificationEvidence 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1def710149e167ec64892ccfeb5cdf55ef6dc2bc4c3fdb48bc7b86e6fcfbd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasPersistedDurableWaitPath (cyclomatic 21, cognitive 13): hasPersistedDurableWaitPath 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":"server/src/services/recovery/service.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"715f6eb764c1360d01f91c04589ccbccdd04c52c5d95f84c572e4c301c4bed2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 13): (anonymous) 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"03300db5323f6d64eaf3ce4c10764ff6a31786ac23d368dc30abf69d296732bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAgentKey (cyclomatic 21, cognitive 13): gradeAgentKey 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":"tests/runner-e2e/chat-catalog-domains/runtime-agent-keys.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5655dd4c9dba733ce7fccafb5181c6de3c45a2c54acbc6ba93563e1dce056a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hostedPolicy (cyclomatic 21, cognitive 12): hostedPolicy has cyclomatic complexity 21 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/hosted.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0999380b1c1f3031ff7022fd319e2a4a52d8f91d7894db4bf89e1df3fb43a78c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeCloudAssignment (cyclomatic 21, cognitive 12): gradeCloudAssignment has cyclomatic complexity 21 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-computers-cloud.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61255b76ae02da291ee8fd09f7a8923cc0b6d76cd0a7534db80ae57dacb7f61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 12): (anonymous) has cyclomatic complexity 21 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-email-outbound.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8344282b8eb16a77cfda0205e2040f3195d784d0c15434b1ba036c46da7006c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function governedWaitFollowUpMayStartFresh (cyclomatic 21, cognitive 11): governedWaitFollowUpMayStartFresh 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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"576adff68ba6b6d5b6c0575c639c337dea32bbfcc949c4b753eaf1461d4256e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubSkillRepositoryUrl (cyclomatic 21, cognitive 11): parseGitHubSkillRepositoryUrl 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":"packages/shared/src/github-skill-repository.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd6fa69cf5b8c94ae45daf81751ad1e5877a0397f079bcb04aa1094e94ba7e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completePaperclipCloudConnectorEnrollmentUnlocked (cyclomatic 21, cognitive 11): completePaperclipCloudConnectorEnrollmentUnlocked 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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a5e88748cafd0b4f6fe667da1bbda6863839b8e088ec6ef07abd69905739c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSecureKey (cyclomatic 21, cognitive 11): gradeSecureKey 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":"tests/runner-e2e/chat-catalog-domains/external-secure-key.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7340175e048a81ffed31dbb9132f7eb6e62b5101d25896c8c22e0cd571c3f987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manifestFiles (cyclomatic 21, cognitive 10): manifestFiles has cyclomatic complexity 21 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9435a22737757d60406c91d88c085a35fefb7f6350d127e325fa229a84c8630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeAgentFeedback (cyclomatic 21, cognitive 10): gradeAgentFeedback has cyclomatic complexity 21 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-agent-feedback.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d2852a08f0d8fba1f49579d6ba534e9d234f4a9f3577edba284181b83ede7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchingReceipt (cyclomatic 21, cognitive 9): matchingReceipt 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0ac1c39d42bf9fd7616d75f24547789bb7e278206749bbaa5621da88fc1c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireSupersededNativeRetry (cyclomatic 21, cognitive 9): retireSupersededNativeRetry 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":"server/src/services/native-runtime/native-superseded-retry.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fc0c53e1fb31d6df762356ca33f56c77b008e294fbaa2011ca59cbde010456"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadWorkspaceSnapshotTimed (cyclomatic 21, cognitive 9): uploadWorkspaceSnapshotTimed 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d79e52622ef9cd32ae985bd71445b315d815087c2751a596d95c134a0d51379"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 21, cognitive 9): act 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":"tests/runner-e2e/chat-catalog-domains/external-team-install.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa037960d4d8831e6e8191b8abf217735fef3f4c817c7bdbb0422bf3fcdb1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanReachableSecretOutputs (cyclomatic 20, cognitive 47): scanReachableSecretOutputs has cyclomatic complexity 20 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":"tests/runner-e2e/chat-catalog-domains/external-secret-scan.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"330d515edf786be3717f48f16b60171d27cde806db04783685573dd8ed8c135b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachPreservedWorkspaceSnapshots (cyclomatic 20, cognitive 45): attachPreservedWorkspaceSnapshots has cyclomatic complexity 20 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":"server/src/services/workspace-recovery-snapshot.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca0f535e6d3b988efdc9400f856d260355e23472d97c58f407270761c796a9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripMarkdownCode (cyclomatic 20, cognitive 42): stripMarkdownCode has cyclomatic complexity 20 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/shared/src/external-objects-server.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e016479f1d7f1cc95fb9fa0289c4991ab95b0305032fdab772027c542ee98a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripMarkdownCode (cyclomatic 20, cognitive 42): stripMarkdownCode has cyclomatic complexity 20 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/shared/src/issue-references.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f0d4df62439455a51321fe330e70b355913bbb0737e45b941b5558ac560d72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweep (cyclomatic 20, cognitive 41): sweep has cyclomatic complexity 20 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-targets.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"153130e4a26d5ba81f6ef967c3c130c73428af986f64f8f139d10f62da1b2e20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 20, cognitive 37): close has cyclomatic complexity 20 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":"tests/runner-e2e/docker-postgres.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edc675f7a5b12c9b38ad0f837427150052027f1130325262da57c039b74023d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 20, cognitive 37): visit has cyclomatic complexity 20 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":"tests/runner-e2e/manual-private-transfer.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"982fdd42f48b26f046e8c8b720f3f863f0ff5bdfb2cca50ddde8612776b91fc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printPiStreamEvent (cyclomatic 20, cognitive 35): printPiStreamEvent has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/cli/format-event.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d46538d97a8133e43dbed943b66a28f97bd3166ba9aa8e0e53ba212811f19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function push (cyclomatic 20, cognitive 35): push has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"39263b1ad1edc12f9e07b2bd4c10ad86fa0e5b9560257884ee623c76b30a5873"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pages (cyclomatic 20, cognitive 35): pages has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"68933883797f7229924df199e137fd7898a648fbd6f505256547e2c6ebcd388d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 35): (anonymous) has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-retention.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a192d7db3018f5ce23bac0c356ccbdc449d8a4e754d0d611ddc693073bd0c173"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 20, cognitive 33): resolve has cyclomatic complexity 20 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":"cli/src/__tests__/chat-cli-guidance.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8302309d919d6dd5257ac119ead70aa20928113e3ee7788eef9d4f731ed0c71c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEnvBindings (cyclomatic 20, cognitive 33): parseEnvBindings has cyclomatic complexity 20 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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3298006c24d061d62fd9e0146532dfd825628cc94c0101f39365b4bc7ba66891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTaskDirectoryFolderWork (cyclomatic 20, cognitive 33): runTaskDirectoryFolderWork has cyclomatic complexity 20 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b1fd66647e02441ae0293de573fa842ac0f96168c864fb4ae53634fb917f30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectClaimedWorktreePorts (cyclomatic 20, cognitive 32): collectClaimedWorktreePorts 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":"cli/src/commands/worktree.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba23883e6fde78d488d35da8adbf896233db219f6defa30189393379216f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #readObservedRun (cyclomatic 20, cognitive 32): #readObservedRun 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"25eddc412451098ca2afe0bde15db2a2324edfd5f976ee086e142a65537c11a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedWorkCountMap (cyclomatic 20, cognitive 32): blockedWorkCountMap 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":"server/src/services/attention.ts"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d677a8cf6cfdd587c7319132d6fb37629d63fa0158d5c7298dc937820d98fe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function offerCycle (cyclomatic 20, cognitive 30): offerCycle 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/paperclip-runner/src/test-support/acpx-provider-turn-host.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"85779d0449d91a2cff1062b9810cbbc3cf56052b591eed2100cd496473260e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deadlineOwnerWorkReplacement (cyclomatic 20, cognitive 30): deadlineOwnerWorkReplacement 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":"server/src/services/idle-deadline-proof.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb1dd0b1527f3c8a9d70357530b8c670f85c515cf64f7207dc8b316890d2821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 30): (anonymous) 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":"tests/runner-e2e/process-tree-owner.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade81c0c2fbd631500feb9e8eb2a22da5729bbc1d317f5a34c618b33e23a107"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareGitHubExecutionEnvironment (cyclomatic 20, cognitive 29): prepareGitHubExecutionEnvironment 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"87db846ba1eca7482536cddfd92f90b40654194f9e46ff5b0f485c6445ae8850"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillImportSourceInput (cyclomatic 20, cognitive 29): parseSkillImportSourceInput 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":"server/src/services/company-skills.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d57278979da492cef418cb78b7c0e3a87ca80324dee0648c794c7bb875bfb93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 20, cognitive 29): api 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":"server/src/services/connectors/slack/setup/provider-client.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"59da386fa2c698a1c3d3d49f335faec2f7bd62dcc9e31271ca974f272393e75f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConversationOwnershipBlocker (cyclomatic 20, cognitive 29): getConversationOwnershipBlocker 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":"server/src/services/conversation-continuation.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27d9a007463b7c72b12dd368223b022cf8be48166adc15a806e6183779afd91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkCrossServer (cyclomatic 20, cognitive 29): checkCrossServer 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":"tests/restart-chaos/multi-server.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2cdd583d0e217653b6574e46a3a26f480456189f759b56167468b2bbf035ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 20, cognitive 29): fixture 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":"ui/storybook/stories/agents/agent-files.stories.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1793250aa1edb1dc56f16571e8d6fc94633b0c8c7f8539e797457407b4d77e9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleStream (cyclomatic 20, cognitive 28): handleStream 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe164e1964d5f4fb0f31a6a0f04b16be967884ff38a37a9d2fce222c87da184b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexProvidersConfig (cyclomatic 20, cognitive 28): parseCodexProvidersConfig 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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"869cba8e156aecb354f4b1f822bebd8c78aa67ef79b24e23ddb641afc848a633"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAcpxPrivateSnapshot (cyclomatic 20, cognitive 28): createAcpxPrivateSnapshot 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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72b4833d17d14861c7ffe281044e04f2690e78f73c9e15b069bf4e6b8868bdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTarballEntriesConfined (cyclomatic 20, cognitive 28): assertTarballEntriesConfined 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"525b54bce709c721dc0e9f354b8cb5840e95470030dac55bfb95d803e58e29a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 20, cognitive 28): request 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":"scripts/mcp-fixtures/servers/acp-stop-agent.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cba56646c933e7ec243320a3d03d57ced5cee8ea4b18170363a90267a891981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/budgets-service.test.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea2e33f07d40e20fb1d9ddb4297ae6faa8c07f1bb6d438daa894802fcce082c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCompanyAccess (cyclomatic 20, cognitive 28): assertCompanyAccess 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":"server/src/routes/authz.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e10fa2674341da57f65b228b2c519c9ef111cb4bc002812fc0592037be9428"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestForQueuedAgentSetup (cyclomatic 20, cognitive 28): requestForQueuedAgentSetup 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4873fa1d87d55055f3c9d1281727e47ae74d888bc52066ebb5c70fb1029429"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdab8c42363d9d9384cf96256b064ea8950a71239eee80919c409494a5df1227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSubtreeDiagnostics (cyclomatic 20, cognitive 28): getSubtreeDiagnostics 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":"server/src/services/issues.ts"},"region":{"startLine":9411}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b5212b10cc9a58e11cb290d24f3a5320649a9ea584e7a13fb95682fa18d4c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"93af3eb629dbec8c6786a428d6bd987ca1c0d4ecfdbb86a1fe497dd6db8209cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/org-chart/layout.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5bd382b2d6b561627093cae5f60db04937e0a1275af82e93bd4178b7eee059"}},{"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":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"405138b91b1112653ae6027a6804c06cdf7fc7722b710ebbb3ec40f29a726cc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPersistentSkillSnapshot (cyclomatic 20, cognitive 27): buildPersistentSkillSnapshot 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4046}}}],"partialFingerprints":{"codehealthFindingId/v1":"34acaf87a115304fb7085a403655c245d63044ee0cb4ff89292bceb5b3f18da8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeClaudeAcpSandboxLogin (cyclomatic 20, cognitive 27): probeClaudeAcpSandboxLogin 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"4336278d4ca412942f969cbf3ecbdf63c1a3fae1851bb7c1e1587a8a9fd7aff2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePinnedAntigravityDistribution (cyclomatic 20, cognitive 27): materializePinnedAntigravityDistribution 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5efc97ce6c6eac6748e67c152f6192a8560c250e820b817302759bbccb98d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeOneShot (cyclomatic 20, cognitive 27): executeOneShot 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"980dbedc14c2861d45bbf053863521ec85c36a4521a8e6e88c645081064bde28"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e298c5cc767e59938a5d62602db0a638a08f51aded70ecb745a6a3e4bea2756d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function liveOwner (cyclomatic 20, cognitive 27): liveOwner 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6495998c5aa8d27cbe9193e0d2f20b90d1549ea31eecf2f8c72cb52c7c6ef50"}},{"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":"tests/runner-e2e/native-task-reply.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0022a29361cc7dc42f4b5f73da98d3d8a627faa17889f8d27978926719cb31a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importOperatingReceipt (cyclomatic 20, cognitive 27): importOperatingReceipt 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":"tests/runner-e2e/operating-receipts.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9682c6ff2446bbf2447329e73f850c725b29e7cb881d82b83ca4c2648f303cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedAttentionLabel (cyclomatic 20, cognitive 27): blockedAttentionLabel 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":"ui/src/lib/task-status-presentation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c732b1ca170bac9a3f471866de22b11b0df47269f3e784f2ff0928dfee5c8e8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loginMcpDevice (cyclomatic 20, cognitive 26): loginMcpDevice 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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b52734cefd0cfdc8968b8d84225cf38574384afe2d7739b38a1bea0b91d19f"}},{"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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c077ec9a068e25d69f8482a1cd70c205a12f8f72feb25c84f38131d5471f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 20, cognitive 26): testEnvironment 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/adapters/openclaw-gateway/src/server/test.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a21e11d147441f98e8557fcd7d3a396a3652ccce95e7c7acfc7b84bba9df83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileExpiredExtensionReceipt (cyclomatic 20, cognitive 26): reconcileExpiredExtensionReceipt 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"267738c349c61d62e40a7cc90503de96af35394bf98164c6c01e5a75c474e8f6"}},{"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":"server/src/__tests__/openclaw-gateway-adapter.test.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2e8289e6dafdf5a262086181eeab72712a3a56aba0b2490349fae90c6d68d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePortableRoutineDefinition (cyclomatic 20, cognitive 26): resolvePortableRoutineDefinition 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":"server/src/services/company-portability.ts"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7face75fd06d9e6a4fdf450286d47c4de09e2cb969f7fb39997fe5924c4852"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopStaleRemoteRunnerBeforeBootstrap (cyclomatic 20, cognitive 26): stopStaleRemoteRunnerBeforeBootstrap 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7060}}}],"partialFingerprints":{"codehealthFindingId/v1":"442862345dc8f907d064c37acd70e2a43461d34193ed89ccc09aa4266fcc9efa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreInto (cyclomatic 20, cognitive 26): restoreInto 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":"server/src/services/skill-package-store.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fb4f87ac9fe29eb8138ff826023a413007da678fc018eb9e520d6ce6aacbb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSandboxes (cyclomatic 20, cognitive 26): reconcileSandboxes 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":"tests/restart-chaos/daytona-sweep.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a9812748b4a829e85f51f61565b06870905f5840a29199c0163a1394332303"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAgentRosterIndex (cyclomatic 20, cognitive 26): buildAgentRosterIndex 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":"ui/src/lib/agent-roster-filters.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"236616fe810eaf90e58dd3902e2f953ddb881005b6f9d17cd6faa15cb5aa8599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 25): (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"6284f601c63f40761712dd25949089a7aaa3290537833f993e5b7f8c92d90eec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCodexSkillRuntime (cyclomatic 20, cognitive 25): prepareCodexSkillRuntime 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":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec6afba680a587b1ec3a2fe8ff04f15dcdabf4c9e36510bb053aaf4d5a1beb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 20, cognitive 25): walk 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":"packages/paperclip-runner/scripts/materialize-cursor-distribution.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6bcf161add24632e4945691e7b839a847153a6efa4a89b45445f7b83a834a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffCase (cyclomatic 20, cognitive 25): handoffCase 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":"packages/paperclip-runner/src/contracts/tool-input-variants.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf9316f60d817246e82e8318e81d46dbd97c5bffa16ec346f1f325f61de79d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeRequest (cyclomatic 20, cognitive 25): resolveRuntimeRequest 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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"257f79c47ddde2aafc840ae05f0f63712bb81759fbe4e0dd68794040e48b0302"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 25): (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9f455dc47c763e2a3381c96aeae0a8a813b305caa8f2578b3af0d2383bbca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachmentRecoveryDescriptor (cyclomatic 20, cognitive 25): attachmentRecoveryDescriptor 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b30638bcb9cd0c88982dd3181a677816af86871581994fb1ac81127f9c76d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockOnlineLegacyWorkspaceRecoverySources (cyclomatic 20, cognitive 25): lockOnlineLegacyWorkspaceRecoverySources 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779ce9a4f8d920d42cb2bb5d49bd06d10baefb91ceccc57a0d8e50629471d9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeShutdownStoppedRetryPreparations (cyclomatic 20, cognitive 25): resumeShutdownStoppedRetryPreparations 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":"server/src/services/recovery/service.ts"},"region":{"startLine":4692}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32645914fef83c3de11ed53457628fd3f7c82b9b719f88b31582be459ea1a78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 25): (anonymous) has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/agentmail.spec.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3f3705c2cb86674a3d4e64a65ed1ab11a6a905a80f8fc8e33e6b54634f58bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valid (cyclomatic 20, cognitive 25): valid 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":"tests/runner-e2e/chat-catalog-domains/external.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38e71e579fe26f464345b080f5f9720c3bedce17ad91bc828176efa3fed5da8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportPilotAllure (cyclomatic 20, cognitive 25): exportPilotAllure 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":"tests/runner-e2e/chat-completion-testops-results.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d029ffd4b7b7adc5d288a85084cbc62111b348ceb3ed5f521f3d8f20f52383e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composerDefaultModel (cyclomatic 20, cognitive 25): composerDefaultModel 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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fddfab879b4c33c1ce5cebc9c545c49a542328d1765a7377816b42065b0d69"}},{"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":"packages/adapter-utils/src/execution-target-stdin-race.test.ts"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fcf7113d1b9ea20786d899e898c8ab8d44db3b88a0d6d4c6c97e7f07c82d00"}},{"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":"server/src/__tests__/execution-workspace-reopen.test.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ff2e683fe01c444b209372c8ba149d3c369c55a1da48746fb9eaee69c0b217"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectUserSecretRefs (cyclomatic 20, cognitive 24): collectUserSecretRefs 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":"server/src/services/agent-secret-bindings.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dcfc5d876b84678b7aa5caed16dda2d6d5ec98edc4d8d42fdf177c5225d96e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mp3 (cyclomatic 20, cognitive 24): mp3 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e536aa7187eebca9f441050be099058d47f675e8a6ff1060202d8886c1f59030"}},{"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":"server/src/services/company-search.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcf0399baa8f7ef8ea739bfc0c46f041b3e89998a4920ffe259dfaff2c54992"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveService (cyclomatic 20, cognitive 24): resolveService 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":"server/src/services/connection-intents.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"db15e4ac0e98787789bc2829b2191fee06d98230245d29c79531e2f88c6e1538"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOpenCodeTraceFiles (cyclomatic 20, cognitive 24): buildOpenCodeTraceFiles 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":"server/src/services/feedback.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae727ad8eef11ff887f6cc45da5cac9cff046e22b51c31deaa6deeeb1eea929"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleKind (cyclomatic 20, cognitive 24): settleKind 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8798f4d6b7060295d56f3fee610d7e426aa8ce20acaa28388a9f019c8ee00d6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 20, cognitive 24): visit 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1207e6b88498a1c3d6537637da6482ab8f1513132ae112fee764fb5a8d3c317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentFilesystemSandboxConfig (cyclomatic 20, cognitive 24): agentFilesystemSandboxConfig 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":"tests/runner-e2e/agent-filesystem-sandbox.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"373f8e179d046991ed4742ebe35b5788fa5a2bc490c13c2182b7341d180f66cb"}},{"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":"tests/runner-e2e/product-journeys/saved-skill-use-flow.test.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"570effeece9c1905ea937683e352e149197ba3dd5f8fbc33f9f6a43589e66623"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webhookUrlWarningReason (cyclomatic 20, cognitive 24): webhookUrlWarningReason 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":"ui/src/lib/webhook-url-warning.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06b90820b7e120b25b5b7edbc2b90b604c7bccc2f7ff913ca0ae2999b714d50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taggedValue (cyclomatic 20, cognitive 23): taggedValue 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e01a3258e1a4613016ac1268a9458e0bf5bc9c90c0860342e33681b9e72d5"}},{"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":"server/src/routes/assets.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c103e66455234407537af548fc699481c89c0236c60bb86b6616fe1f24cd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAgentIssueMutationAllowed (cyclomatic 20, cognitive 23): assertAgentIssueMutationAllowed 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":"server/src/routes/issues.ts"},"region":{"startLine":5940}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ccfe5bc6b476286cacf2903c84d7bb279e65630d48fcc89a2c593053a1bc34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveSkillSourceInfo (cyclomatic 20, cognitive 23): deriveSkillSourceInfo 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":"server/src/services/company-skills.ts"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87249a19870948c8df0683f42661c8875916590ad3c2f22d3f79fb5392b7b3b"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":20447}}}],"partialFingerprints":{"codehealthFindingId/v1":"980b8fc1d3c0d81e09ce0eb0534b271d4bbfea39d7b5b933e162132726491c09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTool (cyclomatic 20, cognitive 23): callTool 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":"server/src/services/public-mcp/dot-runner.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adc3558d5619d65b3bcd8898567f1d01cfde4174727fae276cdd631bd94afa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timeWindowMatches (cyclomatic 20, cognitive 23): timeWindowMatches 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"944da3a85d65643a4f403f27b05864ef3940c819a14365c9b908c0ca7eaca590"}},{"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":"server/src/services/tool-review-recovery.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f8b48bae7edf44f66ce72ed05efb92e2df57503c736c0c75e46f29e05d62e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSpekoCallReport (cyclomatic 20, cognitive 23): parseSpekoCallReport 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":"server/src/services/voice/speko-call-report.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3d8cddf4f3b10c485c5d8527210aa27540a28610942e3bab0e0014db0e1578"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDurationLabel (cyclomatic 20, cognitive 23): runDurationLabel 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f839269c129bd09c0dae039ec7d8287a96b08e7a05f0eb832edca2afcacc6ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeRunSandboxInstallCommand (cyclomatic 20, cognitive 22): maybeRunSandboxInstallCommand 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c4be2cdcf7f34ad97e5b64aabf247a2b05deadeda422897e1149e74bede687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":70712}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2653b54d2e8c2ff9e2509d2b5db0e71998a35079a95b99572f6ddc52ca8ce1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/heartbeat-workspace-source-trust.test.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df4745a75847087354e03e9814e7e4d4a2b3800f10d4ee2f2c1932ab561e83b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleGitHubAutomaticPublication (cyclomatic 20, cognitive 22): settleGitHubAutomaticPublication 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":"server/src/services/chat-channels/github/publication-policy.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9fe99c41af5817ee9d085d85b68c01c1f2846b18b038626c5769024d7a941d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainDiscordQuestionFormCorrection (cyclomatic 20, cognitive 22): retainDiscordQuestionFormCorrection 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":"server/src/services/chat-discord-question-forms.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b144e821b23229b6d0e0125ec07eab5d12f7ed1aee2e96b10c0cbca3e293a81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"154811ddc87a0f70b2a21ad9c2dd7b47bc2bb90e81f1d2c9a4fa92ff604a37ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reapOrphanedRuns (cyclomatic 20, cognitive 22): reapOrphanedRuns 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"72edd585708565f25d472ce8d9759a5ea57f0c1d528ee68d4321f3d10ac3997f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryScheduledRetryNow (cyclomatic 20, cognitive 22): retryScheduledRetryNow 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe06947f5d03a45a9de44afdce3b48e8a7d14d7e9f0765423b218a47cb8e79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveResponsibleUserIdForRunSeed (cyclomatic 20, cognitive 22): resolveResponsibleUserIdForRunSeed 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b10a4c3c0f624e58ff66a6a0f2741a028b9b742c6a84af7c50bec26ef2e0c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 22): (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/offline-workspace-operation-reconciliation.test.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"945c5dbb40eb0a0186c16023a9d6fc1adee8093a61a06ce703aa2e96035a6356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeVercelConnectCallback (cyclomatic 20, cognitive 22): completeVercelConnectCallback 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":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcfc73273dfc09d32e80a1ff68ea51e6cd0eb48fd2ee75a82d57584180b8db9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStagingMix (cyclomatic 20, cognitive 22): applyStagingMix 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":"tests/restart-chaos/staging-mix.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0e869d47007b51279377cbe8d937b6add6c9dbbc03e243da4b44dcb0a2554f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 20, cognitive 22): get 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":"tests/runner-e2e/product-journeys/task-dependency-resume.test.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a675344a9a1521b890ca652a88f799b12e50afdd7f6eaf5bd44b1f0ae7d2053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 20, cognitive 22): execute 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":"tests/speko-voice-proof/proof.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3938936fcce3de8d250aea53e67c84f8359f827ec2b67ee97c9493921d010f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolInput (cyclomatic 20, cognitive 22): summarizeToolInput 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":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1f70660fa09fada6f87615bd368a52253a32183d347139df4698fae78f4de5"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":16093}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf649d361b2882fd5f1b734d413bf96c5307d6c221dfe95b65a662b6e26813b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyGitHubCredentials (cyclomatic 20, cognitive 21): verifyGitHubCredentials 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":"server/src/services/chat-channels/github/credentials.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4319908be89e346ef7ff8aea0212686c06e55f7ffef03e63b15e986ee87f0bfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOwnershipMilestoneSupersessionReason (cyclomatic 20, cognitive 21): runOwnershipMilestoneSupersessionReason 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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be4e43c93b0b8983ac12fc0ce91da9d7542f67cdf0f8d70bd2171a1b09dccaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchedFacetConditions (cyclomatic 20, cognitive 21): matchedFacetConditions 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":"server/src/services/company-search.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"324cee8f4015fb244c531c5333f4ec9723894ff0dcefb228680717baa6ba850f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function realizeWorkspace (cyclomatic 20, cognitive 21): realizeWorkspace 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6301f400bb2d8f820b100a12774c9b51bd526ed083a1c8f2d3d8acf923543a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTerminalWorkspaceCleanup (cyclomatic 20, cognitive 21): runTerminalWorkspaceCleanup 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48f0c31fb65890d106248aef998f149624ffde1e6bcbbc037b4d589c13f83e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferRunForProviderLimit (cyclomatic 20, cognitive 21): deferRunForProviderLimit 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":"server/src/services/heartbeat/provider-limit-wait.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9990f44610bd260f33923be10a04e79b63521b3743ce4059e1c703e3b58ccd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleLocalWork (cyclomatic 20, cognitive 21): readIdleLocalWork 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":"server/src/services/idle-local-work.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f25987e37115acc4830c08299051042a65c194a2a1a460f330f0b74028d638e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveResolutionReason (cyclomatic 20, cognitive 21): deriveResolutionReason 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a687cbca86405329b5328171bb978ad1c09f5eb2f5df5c236bcd7649ae58e839"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 20, cognitive 21): reconcile 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":"server/src/services/managed-plugin-environments.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b906769d134059534d14ab26457c50b3376cd33fc3d972dec95db42f6f29535b"}},{"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":"server/src/services/native-runtime/native-ingress-bootstrap-retry.integration.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fc4c1b0fdda063d3d2ba6de8175ec5c4844068939a9b6bc6213bbff751e628"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e953cffc9c597498373cafe91fb3475be196ffca882fbd6ae4f8cc29c9c6ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 20, cognitive 21): tick 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":"tests/perf/issue-detail/staging-click-harness.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"067a3df861756fb3be7e0720e87e5673eaf30912aa8b73bb02f62c93467533b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskList (cyclomatic 20, cognitive 21): TaskList 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":"ui/src/components/TaskList.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddb6eec14a9db271d7f937092128badb3d61575d1117d3435ecd0905860f0a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWorktreeReseed (cyclomatic 20, cognitive 20): runWorktreeReseed 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"35380a1e40725f7ee31a65ec498418f22005e2e13cee3c88ed34285a01ee405d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #open (cyclomatic 20, cognitive 20): #open 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a735f04b82a11a5d10314e7dd9e7310cd3892ab0857112736ebd0c77f8ba07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaffoldPluginProject (cyclomatic 20, cognitive 20): scaffoldPluginProject 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/plugins/create-paperclip-plugin/src/index.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8323ecf65f47e2f01bb207df76653c83805830d71e30da1c8ec75f497afb5def"}},{"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":"server/src/__tests__/helpers/maintenance/browser-observation.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8b58c5e488ba6c7293af580eb08c69056e59fecc3faa4db13fc9256dbf1b8"}},{"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":"server/src/__tests__/idle-issue-schedule.test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"844dc8cc9938157d0b2cb00d7798ea9c65767173793e1eb47f3b6e1cdd6ba1d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performShutdown (cyclomatic 20, cognitive 20): performShutdown 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":"server/src/index.ts"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da45160585a7f5589420c8998a29df2728602319ff7f34ca3d778cf6110f252"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":11788}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6fb344f19a588f0f19fb17cc261174c4835599f0db94567112972c1079d8df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeAgentConfiguration (cyclomatic 20, cognitive 20): completeAgentConfiguration 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":"server/src/services/agent-configuration.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb48b68325226af009a2aa22b6a26ceccdd994cbf6fdc979e924914b4a4b7962"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeCaseRunMutation (cyclomatic 20, cognitive 20): authorizeCaseRunMutation 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":"server/src/services/case-mutation-authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45182f5cf3507163cfe85a193e7c0e231e60e7fdeb2eb5bc2f3a35afcff0072"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydrateOutboundAttachment (cyclomatic 20, cognitive 20): hydrateOutboundAttachment 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":"server/src/services/chat-channels/outbound-attachments.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"52962734fb4bd7327e7565fbad2eafd11b83a87b24e5b3f865a7dd08c4405494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendSetupMessage (cyclomatic 20, cognitive 20): sendSetupMessage 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":"server/src/services/connectors/slack/setup/completion.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aec37bcd2eed659e99f4ce3a7b82f4b0e3ea716ebe361730483625e2769d48f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRunEvent (cyclomatic 20, cognitive 20): appendRunEvent 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bc420e5c76a1b738b0da40243b003a287e3ab34c6efeaaff25c2db24e52bed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSessionIdentity (cyclomatic 20, cognitive 20): readSessionIdentity 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"260ddea6ac3e4dbbcc77138bbef9f6627544e4826152cd502882079f173031c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAutomaticRepositoryFlow (cyclomatic 20, cognitive 20): runAutomaticRepositoryFlow 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":"tests/runner-e2e/automatic-repository-flow.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0896190383a5d59763b3f5ed1339578b5021bb6f8f720899320575b511d5c40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePrivateKeyReceipt (cyclomatic 20, cognitive 20): validatePrivateKeyReceipt 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":"tests/runner-e2e/chat-catalog-domains/runtime-private-key.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5317a77f300b3b11d1aff559648c4eea92aa1fee6b7cadc2c7f43e2c8abf8d2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readEmailSetupDraft (cyclomatic 20, cognitive 20): readEmailSetupDraft 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f92a112eafcacab917d6e6e68360be819704a9a89bc8a5f711f21859baeefbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 20, cognitive 20): connect 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":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fb554b21f3f3b0a8704a86f20d7f06df5a1851e49c534e791b18aad6a074a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeErrorDiagnostics (cyclomatic 20, cognitive 19): describeErrorDiagnostics 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"119ac8243de59df61d6adaed17ba8eaf1a9ef74d9997cfbf8a99342c811e6deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeAcpxEngine (cyclomatic 20, cognitive 19): executeAcpxEngine 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b150f8f59454a17eb53d17fed5ef06bc2d3ebbfc2b48e5f392c1ae976e8fc7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAttempt (cyclomatic 20, cognitive 19): runAttempt 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b94c31795dcd8275e55abb8643431cb498df3a46cad1f1a8df1a40b7b1b957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function violationReason (cyclomatic 20, cognitive 19): violationReason 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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"734c75c8012c88ff91c515cda7d83be44ad2989ce1051c65b263e38a224ef371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decidePaperclipSemanticAuthorization (cyclomatic 20, cognitive 19): decidePaperclipSemanticAuthorization 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/paperclip-runner/src/semantic-tools/authorization.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6534d8bbf6e8d98578ef30ad62b2c0a43701a3a9ce9f21f4a86bf9f10fd86a6"}},{"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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce2ff6e41cb88caab4002746e18c3c59ea7ae87a74808d27d5e46add210e545"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 20, cognitive 19): create 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a490f4c27cbe091bc7e3b19843a3ff6bad38cb9de4d5d67e58af162fda18d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDeleteBlastRadius (cyclomatic 20, cognitive 19): createDeleteBlastRadius 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":"server/src/__tests__/environment-routes.test.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5e2f71819ae230c4ded15faeca2d8ea0b00dd1758db2d00d41e1984cb09510"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function secretSensitiveRouteFamily (cyclomatic 20, cognitive 19): secretSensitiveRouteFamily 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":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c6a100b23d7ebc2411dffe50abec4691eea78147b59cd783d1670e0af2ec46"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":12370}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc2cf175578935897eb1b7473802c5aebc0ffcbfd2c6409a9a8139ae5cb1790"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withSlackFormSubmissionEvidence (cyclomatic 20, cognitive 19): withSlackFormSubmissionEvidence 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":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"befd50cccf1040a76f312e6efc0ff8fcc76dd9f6d9c921a3dfb991f02b2f5098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackFormNormalAck (cyclomatic 20, cognitive 19): stageSlackFormNormalAck 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c04a65da2437d019fa2dd81c7c05c40f0c9c381b908853a296d1b4d09181e2"}},{"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":"server/src/services/chat-teams-inline-image-intake.test.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc36c2a2b5f20573ba23e833dfe5a3e5b91be0d01d8a309fc52699e0ba52b8f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAttentionArchiveManifest (cyclomatic 20, cognitive 19): parseAttentionArchiveManifest 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":"server/src/services/decisions.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48362abdb6335c6b6f123b3a5e4efef8fd27780eb3a0ce9796d3f31b9391dfc"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b7341f4ce3e0005cd3f86572d2664e7977a2ca3c65bde08c71857296bd80be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHeartbeatNativeLifecyclePolicy (cyclomatic 20, cognitive 19): resolveHeartbeatNativeLifecyclePolicy 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":"server/src/services/heartbeat/native-lifecycle.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1687ef6968885392fd6b1e7263046fcc191ba96d2341d6659dd4bc3e3915d261"}},{"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":"server/src/services/native-runtime/native-cancelled-workspace-preservation.test.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a05e002b556e865aa68521160f67115f42de55e70ed676ab23883956a578b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #boundContext (cyclomatic 20, cognitive 19): #boundContext 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd7cf19dd7920d56afecf9fecf29bebd7a66676c0ffeedd981a87b41d74ccc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainedRecoveryAttachmentProvenance (cyclomatic 20, cognitive 19): retainedRecoveryAttachmentProvenance 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7142ce7e46ea3bc1c9e7af35998ab98878e57dcd8ed85f5ea2a543866b789c11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePolicy (cyclomatic 20, cognitive 19): updatePolicy 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebc8741c0318428e825c37bcc808f7b25a12a5433b24b5ecf0bb9e566edac6"}},{"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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90b9f05f708e8ac5a705d9e63d12b3301cf17036305b41eaba9c34bc9d5ada1"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11015}}}],"partialFingerprints":{"codehealthFindingId/v1":"9392f7011e23ef80fbf0cfdd63615088ee288d29ff0f09774fbbad0180b655ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resultRows (cyclomatic 20, cognitive 19): resultRows 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a66d4cb50d1e58cbd3436c48333044eea1a0a2fdc400addb4d6e81875913543"}},{"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":"tests/runner-e2e/native-bootstrap-read-proof.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d724bddc478af5148519d68d2f2fc1382f88d0fc828f5a13f2465e2831c4c63c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startServer (cyclomatic 20, cognitive 19): startServer 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":"tests/runner-e2e/server.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dff1a6dd9e13527bb5653a0fac5dedb323f1bf3a11dd2971e6ec6a33a71d01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BudgetIncidentCard (cyclomatic 20, cognitive 19): BudgetIncidentCard 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":"ui/src/components/BudgetIncidentCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"142baa1313b55dab7d6b0dda9d3c33c8f5829bc53390d3933fc3ad7aa00673a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EntityRow (cyclomatic 20, cognitive 19): EntityRow 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":"ui/src/components/EntityRow.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"292c2a613c67f871eda67c75a43c948a45b0801e5be743dfc97e50a3d70307c7"}},{"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":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e809f33c51ed752c31f63329dcd74cc8861702e937d16c1736bdea460d8f60"}},{"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":"ui/src/components/SidebarStarredProjects.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"52abec796a09adf9d310715b8596488dbb1fe37e9662e45ca7098361efeba253"}},{"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":"ui/src/components/TaskList.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1805f2017c98f62ed1cf0b0e8ce318c33d776596d2b83063810353025e19770e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviousServerStopConfirmation (cyclomatic 20, cognitive 19): PreviousServerStopConfirmation 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":"ui/src/components/WorkspaceExportRecovery.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a862d26de43195dfd2d1cdc094de6a9a1b8aa04ebc816434ec672e3eb77c4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWorkspaceFileHref (cyclomatic 20, cognitive 19): parseWorkspaceFileHref 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":"ui/src/lib/remark-workspace-file-refs.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"069598ef24ace8a0f77cf59a2c0ae6ab7be88c1bba80861775b08a8944c6cc33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentToolsTab (cyclomatic 20, cognitive 19): AgentToolsTab 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":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36649786f520387ecaaf7af6afc09121b5b9c21cd43ff9294ac23dfc6fe583"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillVersionDiffDialog (cyclomatic 20, cognitive 19): SkillVersionDiffDialog 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8324f8fdbc4da431516a17c5e1ef588f4ec7372617030932e676247e7a3328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillVersionDiffDialog (cyclomatic 20, cognitive 19): SkillVersionDiffDialog 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f80f0408839a09821ba3ab3c83b1ababbbc99a1ab5a91055a176679fe1f21bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectorCard (cyclomatic 20, cognitive 19): ConnectorCard 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dda9987d41c60b24772b1bd0caa1d6f0f69e22469dcf66fa8a0ca37d22f1550"}},{"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":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a78d26cea837285e25fe3c49d95e4138e5ac8e0039fe0e2009fd29f4ab555c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GatewayDetail (cyclomatic 20, cognitive 19): GatewayDetail 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":"ui/src/pages/apps/gateways/GatewayDetail.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c00e441ad0ac17d7befcfa5fa5ead7fe3ba285e651db73a4289b3e0b27dbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditHub (cyclomatic 20, cognitive 19): AuditHub 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":"ui/src/pages/audit/AuditHub.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e387a42e8a6af61c887dd7bc97864f8466b1d92df2637ca5d10b55d6c9474c63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function columnData (cyclomatic 20, cognitive 19): columnData 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":"ui/storybook/support/design-proposals/task-list-data.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe087d834aa63e4061c210e9b00599cf624d1809280d99ecc0518be8dd710cc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityEmbeddedZip (cyclomatic 20, cognitive 18): antigravityEmbeddedZip 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/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e59b640a9a65b2f33f8cbf64b561bfc2a9a3e491ab3e4698b34e67e309abf9"}},{"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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e913ab3dd794c60117e1e7e93ea1d0a4a1a8b0062f7993fde017c0c5e7d6469"}},{"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":"server/src/services/agent-conversations.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e666ecf9532b3bb639ee51c391f9c50960985a4663e8adfe9afaa5a8b18d59f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverQuotaCredentialInTransaction (cyclomatic 20, cognitive 18): recoverQuotaCredentialInTransaction 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":"server/src/services/ai-connections.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1b75a676c4a81d0e17192f7462b90c882b0a72be54edee48042fcf914be2e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function microsoftTeamsLifecycleEventFromPayload (cyclomatic 20, cognitive 18): microsoftTeamsLifecycleEventFromPayload 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":"server/src/services/chat-channels/microsoft-teams/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b388669eaf5d135ada568a1bc200e6c5a246e84c86ca6bdebc088146f09e0956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transferSlackFormAckReceipt (cyclomatic 20, cognitive 18): transferSlackFormAckReceipt 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3325b120d72a34dfb37f7d829ae4b50b3ffe19eec8b90c3fdce5f19cbee0a641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function triggerIssueMonitor (cyclomatic 20, cognitive 18): triggerIssueMonitor 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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ff0c2484fbe9ccbf3655f93d85b585344852256c32aa0413d68f0170cc67f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeNativeUsage (cyclomatic 20, cognitive 18): normalizeNativeUsage 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":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae71d9316894555c2e5985e8cf62255a0761182f2ca1994df1680a02eaffa763"}},{"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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f0eff45a378ba7047ddbaccac84ae9550d09c0236896fe56dd5bb2523036e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRuntimeUsage (cyclomatic 20, cognitive 18): buildRuntimeUsage 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":"tests/runner-e2e/billing.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae31d635191eb9703591769058260a6e469f78e74938244fd668b33751ae1732"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeEvalAttemptTrace (cyclomatic 20, cognitive 18): finalizeEvalAttemptTrace 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":"tests/runner-e2e/braintrust.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53ba6b1c0229c645507b184c727653db0218bed15b9153f7c1b3810ee4c44af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bytesContainSecret (cyclomatic 20, cognitive 18): bytesContainSecret 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":"tests/runner-e2e/chat-catalog-domains/external-secret-scan.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"82854b4f971872430ae1c0febc54e4583e2d5e012fbc0552e0d97876fc9c0888"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-new-company-native.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d96d4e403c0b308a842deec3082843f92bfd44880a21de6dd2151e4226d757"}},{"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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16ffac92a46541558c5fd9d936366d53b9d89b0a8aabe370d1f2ebeb0f3bea3"}},{"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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"60405eb035a8e50f0a55a69610884c8a70eb880575510e60a0af69c56a741a97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanySettingsSidebar (cyclomatic 20, cognitive 18): CompanySettingsSidebar 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":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05b894dafda6d8e13630dbc56d9cdd261d334d586812d636b5dce1fdca019ee"}},{"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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc2e90670317a743ec9b892277181e384ebf9b2bac5984ae68fab8792f7308b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HandoffRow (cyclomatic 20, cognitive 18): HandoffRow 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":"ui/src/components/cases/CaseHandoffHistory.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1719de13b58abd58b6c6ba765d277644fea2b28fd293984792d53c29fff75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatTurnPlan (cyclomatic 20, cognitive 18): TaskChatTurnPlan 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":"ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58d523e552adc75360a0e3f984209891bbabb1d2f29b2ae707d936e08fd830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOutputFileGlyph (cyclomatic 20, cognitive 18): getOutputFileGlyph 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":"ui/src/lib/issue-output.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ed7e6c290bb1fe8b0bae3100ecaa4ab270e1c0cdad7fdc331a7f597aef446"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentAccessSection (cyclomatic 20, cognitive 18): AgentAccessSection 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d913cfb00658924d9ea990cc4b18ec2ecdba5b2197fd7557a4157df7693fa2cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetupPreview (cyclomatic 20, cognitive 18): SetupPreview 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":"ui/storybook/stories/agents/grok-bot/journeys.stories.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f4907932b7d38fdf6503fa2673569ae131b7825aa292a59c6de9571c5dd78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 20, cognitive 17): prepare 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/plugins/sdk/src/idle-drain.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"03189067ae3de368337629758acaba5f73753fcee810176f982216b564f4ba7d"}},{"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":"server/src/services/email-connections.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ab22c6e1d974f8ec168accd7ae4869f7d357495db02b5eec82637bc4b336ab"}},{"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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e1eb07aec35cef5beb4525c64d1eccb22410b0457b76c6608cc4067e0c6ce"}},{"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":"server/src/services/native-runtime/native-observed-workspace-preservation.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf84370fdeda76ba35a4a2390d2c12f999bae3fce529ef601eb1bfcdf95787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideScheduledResumeContinuation (cyclomatic 20, cognitive 17): decideScheduledResumeContinuation 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":"server/src/services/native-runtime/scheduled-resume-continuation.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"387cec9f0223192ac3773c38466e7576aba5e7b31b6eb2b7c111474a771aa80a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProjectWorkspaceProvider (cyclomatic 20, cognitive 17): resolveProjectWorkspaceProvider 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":"server/src/services/project-workspace-provider.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e063fbfc4077dfec9f90c6e9e86301862e0352f2666b5f845842c6881b356d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reflectProposalLifecycleOnInteraction (cyclomatic 20, cognitive 17): reflectProposalLifecycleOnInteraction 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdd9f27802a076239408846a533b4128791bfec4f3a71161de1dcb0ef017962"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatComposer (cyclomatic 20, cognitive 17): ChatComposer 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":"ui/src/components/ChatComposer.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cb1407112fed47f1abb6d9a68a70a33e3c5ad4c1d7b0194338de95b833ffd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeBlock (cyclomatic 20, cognitive 17): CodeBlock 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2df2f46f181ba7180abb466fefe605de8c51057ebe3d298c190e3b8041080c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OutputFeedbackButtons (cyclomatic 20, cognitive 17): OutputFeedbackButtons 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":"ui/src/components/OutputFeedbackButtons.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b981d7991571197b98249755e62fad5b0d12558bdbe39e69df8e583041a273e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpekoProviderSetup (cyclomatic 20, cognitive 17): SpekoProviderSetup 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":"ui/src/components/voice/SpekoProviderSetup.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"347f88984e8fb78d52dc3c24df0b327bd6213d91856227466aef6ee0c807e86a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isIssueDetailHeaderSeed (cyclomatic 20, cognitive 17): isIssueDetailHeaderSeed 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":"ui/src/lib/issueDetailBreadcrumb.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"647e056dd79b6a7d2497373a586bd2fa8f5f05a3c76fe82f5afa5d6ff654b60c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrgTreeNode (cyclomatic 20, cognitive 17): OrgTreeNode 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"50044869cc832a09e43a25117eb8889d8dc5f45ab7ebddd457f201b1b3987cd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrgTreeNode (cyclomatic 20, cognitive 17): OrgTreeNode 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b419c74cb2a1b3768fe94b562def5ae59b35337204feb44bae9d9a5a12da51e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueAttributionByline (cyclomatic 20, cognitive 17): IssueAttributionByline 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9efb3102d1c165e654b2c823fdab875d6fd21287138172b41dc45ae52fea0b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useAgentEnvironmentSlots (cyclomatic 20, cognitive 17): useAgentEnvironmentSlots 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":"ui/src/plugins/useAgentEnvironmentSlots.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"169c6e7296e16e5907fb43db8ce00b7361f72258f17e3b9fc5826d09ab9ffa58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeControlledEvidence (cyclomatic 20, cognitive 16): decodeControlledEvidence 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":"packages/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4415679987edd6e12ae8d6cab13b984d0f0bcd44e49e9555f8e29a1f25cb06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) 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":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50fbf5074eb3a8dc784399645f944b99073c1ac0c75cc0b9c06f97c4566a5d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeIssueExecutionPolicy (cyclomatic 20, cognitive 16): normalizeIssueExecutionPolicy 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":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e05c150d120bf91c11f1c78c182dd3c1fe921cbd81e224b20b66aff6113a0b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreRemoteSuspendedRunnerCheckpoint (cyclomatic 20, cognitive 16): restoreRemoteSuspendedRunnerCheckpoint 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":7570}}}],"partialFingerprints":{"codehealthFindingId/v1":"636d473afa3c4a619bc8d487ceaa84429daa98f904444a0ab1b862d7f43ca63b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmRetainedCopybackOwnerStop (cyclomatic 20, cognitive 16): confirmRetainedCopybackOwnerStop 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":"server/src/services/native-runtime/native-workspace-owner-recovery.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b96c7dc40f8b12803dacc0a2db16c41ddc6e19637d3f01d74b77e42d522e10e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOnboardingFirstTaskDecision (cyclomatic 20, cognitive 16): readOnboardingFirstTaskDecision 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":"server/src/services/onboarding-first-task-admission.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"441b7d334b6671683678cb016bb21d21ccfdbbe635d64acff165aeab2ff1ef7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startAuthorization (cyclomatic 20, cognitive 16): startAuthorization 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecff66662760e9ac6a339c0ec767c8cf13ec676cccd85b4a2318f94f1cf8e63b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0213a5ec2749bf117d2e04372a831060e1aa6b35249444419b79b5f810c18325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) 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":"server/src/services/recovery/remote-workspace-unsaved-files-settlement.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"698fae88ed82ab0a965b6280f71eb5b00cc97b59039ff7e363e6126c53c60d90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shown (cyclomatic 20, cognitive 16): shown 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-confirmation.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2434a4062c015937164e7e1e98b8503e1730fa97bbe0bbc74cdbd128f12937e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispositionRetryUnavailableReason (cyclomatic 20, cognitive 16): dispositionRetryUnavailableReason 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e08c63ee231553401fe3f18fb373506df30f57fd9c9670d682eba7a4db1cfb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunStatusToast (cyclomatic 20, cognitive 16): buildRunStatusToast 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e0c8d9d84aaac18a215f3be720a74d8ccc4b1bddd1c8b3f703b9681c195a74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDocumentClick (cyclomatic 20, cognitive 16): handleDocumentClick 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":6676}}}],"partialFingerprints":{"codehealthFindingId/v1":"074a40da1e1488009f501a8c56f4d3635fa5d9a6f94bec2f03652ce91a78a13e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyFailedCreation (cyclomatic 20, cognitive 15): destroyFailedCreation 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a5b7f752be02355308543f636c390e1f9a448dfe928a4a4d92105b55969df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentResumeLease (cyclomatic 20, cognitive 15): onEnvironmentResumeLease 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1425aa9e9aedba39e7d15cf312b51c006e46dbc76aa4050eedff51bf432939ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 15): (anonymous) 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":"server/src/routes/access.ts"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7a66d6f16a16672c5c718066535d480b4ec11e0fbd3ec8a0a1c384c0a98414"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 15): (anonymous) 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":"server/src/services/connectors/slack/setup/manager-grants.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"eededde2b927189a8a582934e073ae8d3aa126387463279209f1dd4fef250272"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreSettings (cyclomatic 20, cognitive 15): restoreSettings 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7df40813397ca77db0679abafdad9e2323af44fcaa29c17740d53dda6438f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 15): (anonymous) 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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9c4199821a2a11c23123ff6085f327209ef0a6000f61a61b01af08d9b7aba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSandboxRunnerHolders (cyclomatic 20, cognitive 15): parseSandboxRunnerHolders 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":"server/src/services/native-runtime/sandbox-runner-port-holders.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6716d34292cbf7646416de7c1977a6c997f10e409be5969ae59ddd05e8c1f363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleMcpSleepProof (cyclomatic 20, cognitive 15): readIdleMcpSleepProof 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":"server/src/services/public-mcp/idle-sleep-proof.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"762febf41ecaa1ba339e0692007f5e8dfbfd99823598b819b39a738e00bf684c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 15): (anonymous) 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":"tests/runner-e2e/task-titles.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93a8e89579f2365d0b88d25ebf06576a2a881b5a851490f45fcdddc2877ac2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueShareSheet (cyclomatic 20, cognitive 15): IssueShareSheet 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":"ui/src/components/IssueShareSheet.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"297abffc2f4189a82955836ecf2d540f570f2878e268eca2b5203da8aa9daa15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedCodexProviderConfig (cyclomatic 20, cognitive 14): managedCodexProviderConfig has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runtime-context-materializer.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"22956615232be44a109a43e8e47c089124000f0ac83c2ab59a8f2f619d1c261d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDeclaredSkillRequirement (cyclomatic 20, cognitive 14): resolveDeclaredSkillRequirement has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"696d38d46775aa482320021d188a14768be3534a638a5a82f4e2d7ca7e44248d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function complete (cyclomatic 20, cognitive 14): complete has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32efc7bb63ab422b86f278a3b15480406d447366b8eb68dda66ac93704a3335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeFailedChatRunRetryWake (cyclomatic 20, cognitive 14): authorizeFailedChatRunRetryWake has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/durable-chat-wakeup.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6794319051605fdc17db2a0cb9dbe46404ec496a17959507519f5978a311ccbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeSessionResumptionAgent (cyclomatic 20, cognitive 14): readNativeSessionResumptionAgent has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-resumption-admission.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"16716064e22a93ecb4ecab3a4aafad45e0782d533b6a39bc70e53e4bfb97fefb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFileEntry (cyclomatic 20, cognitive 14): parseFileEntry has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03c70e787d25fcf7832040cd0a2a820f2b018522ffe282f37848327ffcb3390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 14): handler has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/antigravity-journey-flow.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca20ab625f614df259e4b98cbddf7fce78bf0f8c8c51efb794c3cbeb43a8dfd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSshComputerReceipt (cyclomatic 20, cognitive 14): validateSshComputerReceipt has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-computers-private.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b2ca09552a493456b39dd237680240efad8695b1aa280bda6de07073478294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeSessionReset (cyclomatic 20, cognitive 14): gradeSessionReset has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-session.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f8408397ac1530c9012d1ced521b58d1ccd727d7b4dd12882444831135edb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRepositoryContinuation (cyclomatic 20, cognitive 14): runRepositoryContinuation has cyclomatic complexity 20 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/repository-continuation-flow.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4593db7bdbbc198129d170cebd18ae5b0568ed5534bf2c76981f5b64e77fbb91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionPackageRoot (cyclomatic 20, cognitive 13): provisionPackageRoot 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/paperclip-runner/scripts/provision-pi.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041fb6e2755ccee8b01260f3a8f36c2ba526d7ac160f23580de7d8161574b7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accountRunCost (cyclomatic 20, cognitive 13): accountRunCost 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":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4cac691af7c9c8a73da57b596b74621fee3ced438055c5345ba7beeb0e7237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWorkspaceRepair (cyclomatic 20, cognitive 13): gradeWorkspaceRepair 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repair.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a605a7da3476220892fbf0adba525dc329735a3cb9ff924f2f86be4cafbe05d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderResumeControls (cyclomatic 20, cognitive 13): ProviderResumeControls 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a433e6f8ce852ef156cdc44f077547da4ded132ae62254fad555251fdb5cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockTelegramCallbackNoticeAuthority (cyclomatic 20, cognitive 12): lockTelegramCallbackNoticeAuthority has cyclomatic complexity 20 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/callback-notices.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"763e884a08eac85f72c5d44570d85700c6be882e87906db6dcee6d397e0018d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pending (cyclomatic 20, cognitive 12): pending has cyclomatic complexity 20 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/manager-grants.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3523f06f3f0b84239e4f965999b0f47e8fd596a6d52195c6448f7a0be2d627a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorSkillAssignmentScoped (cyclomatic 20, cognitive 12): authorSkillAssignmentScoped has cyclomatic complexity 20 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-skills.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd0f1571a749c462de70c18576ef2bc2e2d25e362d7f5fb8d72be0072c89aa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDeclaredHoistedProviderPlatform (cyclomatic 20, cognitive 11): isDeclaredHoistedProviderPlatform has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1e17e1f8e1ff3cdd074f0448de39e1040e0099909cf5aac7443ff0a2783d49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageTeamsBoardFileIntent (cyclomatic 20, cognitive 11): stageTeamsBoardFileIntent has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"58278188b5f77df7dede89d333420a08c94ff70425c8fa138ed3ae8f7c5f0b3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canIsolateRemoteWorkspaceSource (cyclomatic 20, cognitive 11): canIsolateRemoteWorkspaceSource has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-remote-workspace-source.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee35c59e68e9b15b334b54131b0ca3fda809a70fe5363c954f3516b247d3fee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRetiredExternalChatQuestionSource (cyclomatic 20, cognitive 11): isRetiredExternalChatQuestionSource has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/question-response-delivery.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd5d27b5e72c030f63f1d3fbda0155f5da111dacca9790d3337c5c6383a43c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoardMessageRetrySource (cyclomatic 20, cognitive 11): readBoardMessageRetrySource has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07e8bf64e85c4e5936e125632b2d9800d2475b611a76f286f24ef4f1f5b231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExternalConfig (cyclomatic 20, cognitive 11): validateExternalConfig has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-fixtures.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"522ee4f59fa038637a3b53d68bd232602630b327a736d07e0e3e34839e23bb28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 11): (anonymous) has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-grok.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9686916505c94703acfb6bd998b8ac5fb7e77697cad4e9035e5a5e89a3e153c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeConfirmationReply (cyclomatic 20, cognitive 11): gradeConfirmationReply has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/confirmation-replies.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850bf2b64bffb33689f700424f578f7b7bb1cbf22ff91b8a3f3316f91cb05a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOpenRouterRankingSnapshot (cyclomatic 20, cognitive 11): validateOpenRouterRankingSnapshot has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/openrouter-ranking.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bd8901e57487ddd8e554ab3c8c2223840faf66ab7b7a79e73bac774d0e9b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHireConnectionChoice (cyclomatic 20, cognitive 11): readHireConnectionChoice has cyclomatic complexity 20 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/hire-delegate-evidence.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1c1352987ac612fd94e9955a9073a1a8964fa9c9c2abf04b86503812444d50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPayloadShape (cyclomatic 20, cognitive 10): isPayloadShape 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":"server/src/auth/workspace-login-handoff.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"32734a5177be81098b3648a580dddf8de77c7096e46ab9b12907fc3ef04e476e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pending (cyclomatic 20, cognitive 10): pending 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":"server/src/services/connectors/slack/setup/service.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38f53e19f3692d2e011100c60b0cf2ea1bbc1cd7c471bc7579a090e55dd24c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRunObservation (cyclomatic 20, cognitive 10): getRunObservation 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":"tests/runner-e2e/api.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2071db97f9020ff6e488cb8e2107e6b69f174f1262d214aeec0d47d308eaf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorSkillEnable (cyclomatic 20, cognitive 10): gradeIntegratorSkillEnable 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":"tests/runner-e2e/chat-catalog-domains/integrator-skill-enable.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"faecc991cc9a6eaf14f6ca571dde7eb873f392f72e532ffe5b495314040d3ecd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeArchivePartial (cyclomatic 20, cognitive 10): gradeArchivePartial 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":"tests/runner-e2e/chat-catalog-domains/internal-archive-partial.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1afbcc8f57d9ef83c21d7a46ca9938570b5db92df67f117bf96960be69c92f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRememberPreview (cyclomatic 20, cognitive 10): gradeRememberPreview 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":"tests/runner-e2e/chat-catalog-domains/runtime-history.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b598845c01c9028f54466f1b62fa520c7315ddbc0549c0bf65145c05c44022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyReadyPrimaryChat (cyclomatic 20, cognitive 10): verifyReadyPrimaryChat 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":"tests/runner-e2e/chat-catalog-domains/runtime-primary.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b8ae2f3b38b92cef054626cc8f6a6d6913dbe34cc1d3b2857de59fd6789f6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareNativeStopCanonicalBoundary (cyclomatic 20, cognitive 10): prepareNativeStopCanonicalBoundary 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":"tests/runner-e2e/chat-native-stop-boundary.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4637e7c615101209418eaae35e64d4672fcadd206688e6d92a27506b40dfe1ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCopilotRemoteAttached (cyclomatic 20, cognitive 10): assertCopilotRemoteAttached 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":"tests/runner-e2e/copilot-protection-evidence.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bdc8bce533a86e7ff498a538657b8eb84daae79cf42b5f35d3f38c4c38f515"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 10): (anonymous) 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":"tests/runner-e2e/product-journeys/active-followup-evidence.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"623e25868af27b53a90edd7e3b68f9e0646df85080872745df0f3df8e1361b81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThreadItemView (cyclomatic 20, cognitive 9): ThreadItemView 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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e1c39e9a4b984b3daea726b961c4568f2525e5a7f59b3ec8258359d01deb6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSlackIssuedFormGrant (cyclomatic 20, cognitive 9): projectSlackIssuedFormGrant 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":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7261cea1cfb405cf09c66847f772bbab4291e5106a05153873f46217acbe17db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTrackDelegatedWork (cyclomatic 20, cognitive 9): gradeTrackDelegatedWork 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":"tests/runner-e2e/chat-catalog-domains/runtime-handoffs.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c52f3ba71ccbe5a82e9ddea4434af6c5867de077f8459b1def81b7d0d8c80c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hireHandoffMentions (cyclomatic 20, cognitive 9): hireHandoffMentions 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":"tests/runner-e2e/product-journeys/hire-delegate-flow.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4593800579737b728a607500fff98a5268f3bfb6b34b6761f8d721f15443559d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePiProviderDeathReceipt (cyclomatic 20, cognitive 9): validatePiProviderDeathReceipt 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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba52bad0cd3f1d6e63e9c3e40dc549aa5aca1e597c11231cdfb7724066a19bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function auditWaves (cyclomatic 19, cognitive 61): auditWaves has cyclomatic complexity 19 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":"tests/restart-chaos/universal-audit.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"828b03328dc8d04d41dac84267a69bc405ea85ef0597e00eb660dff6c8cbb6f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeConfiguredSignals (cyclomatic 19, cognitive 43): observeConfiguredSignals has cyclomatic complexity 19 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/sleep-qualification/evidence.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e878ee7176265df18b747bd8635668ab420b5b2d7c991e631b8e58315458b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cachedGenerations (cyclomatic 19, cognitive 42): cachedGenerations has cyclomatic complexity 19 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66749d54de721d772c8a49e5a49fff80b133d6a33e9bf4cb943d1385cecce96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeResponseFile (cyclomatic 19, cognitive 39): writeResponseFile 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"36188efd75155c3adec9660309f1cf685c51fa85b68fb6836fff52c73c2e8c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotRemoteImports (cyclomatic 19, cognitive 39): snapshotRemoteImports 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":"server/src/services/company-skills.ts"},"region":{"startLine":6504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c75ffc88b09b1d6f043681949643fb84dd713a362cef80660749983bccbcf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushVoiceReplies (cyclomatic 19, cognitive 39): pushVoiceReplies 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":"server/src/services/voice/voice-reply-push.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcc33df94253d706d0fa59b8ca13ce96b5dae690bb874aaec0e4f72c78e3b11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryQuarantinedSessionCleanups (cyclomatic 19, cognitive 38): retryQuarantinedSessionCleanups 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e615f5965ab51e3df2bb8177a2e76aba89262468cd12dba2466d5007d374d94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPortableScopedEnvInputs (cyclomatic 19, cognitive 38): extractPortableScopedEnvInputs 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":"server/src/services/company-portability.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"3051bdb00987737766a563d1faca6be7380ed1b39abf2dc4202a9dc7710cbfd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchNotionVerificationCodeFromAgentMail (cyclomatic 19, cognitive 37): fetchNotionVerificationCodeFromAgentMail has cyclomatic complexity 19 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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a76a0cd37898eb16db304c63a6f759653fbfea5901ba6ea5911a3cbee7b3832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitSqlStatements (cyclomatic 19, cognitive 37): splitSqlStatements has cyclomatic complexity 19 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":"server/src/services/plugin-database.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d9fd250d58b13c2543acb7ef5440390abddf7f044f27eff1fc02688f845aff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerEnvironment (cyclomatic 19, cognitive 36): runnerEnvironment has cyclomatic complexity 19 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4909}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48b29bc0a3e9052d63fef9474e0a6875f69c41c5b8e929dc3e972cb8528781c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unreadSteeredMessageIds (cyclomatic 19, cognitive 36): unreadSteeredMessageIds has cyclomatic complexity 19 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/paperclip-runner/src/steering-delivery.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"226acf39cf78a582ba3b14688641ced55ca1676476008d468470dcb341ae1450"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCheckpointPayload (cyclomatic 19, cognitive 35): validateCheckpointPayload has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a036634452c380f78fa36870b558838ce74a8b04b98ccd254ce6dd801d6646"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 35): (anonymous) has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b7dc76b03b1e7b27cf2314a63aeb4d0af1e0e9e38da4e43f519b8d8b73692b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalWorkspaceWorkSettled (cyclomatic 19, cognitive 35): terminalWorkspaceWorkSettled has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d000b21e6ef0246b5c5d6ce050c82eeaab2613ef020e0883117f8f1b24ea99be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function report (cyclomatic 19, cognitive 35): report has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c193dbdeaeded988a315a948a3f758aeeaca418883a062e9c51fa8f9e237e4e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveIssueCommentRunLogAttribution (cyclomatic 19, cognitive 34): deriveIssueCommentRunLogAttribution has cyclomatic complexity 19 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":"server/src/services/issues.ts"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bc9cf807c0e8d2806882c2b171de6ccea24e58dc5a4a641e5f2204fd768167"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collect (cyclomatic 19, cognitive 34): collect has cyclomatic complexity 19 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":"tests/restart-chaos/journey-driver.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76d2f11472e66ef9ed3e5b7d14d5721eb3f0a5b03b2d41511b0c956facb2e74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordedTaskUnits (cyclomatic 19, cognitive 34): recordedTaskUnits has cyclomatic complexity 19 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":"tests/runner-e2e/chat-catalog-domains/recorded-work-claims.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19736a46d2681d5183e9728130c549243dd3bd41bc6867d65acb66f75290cd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteFile (cyclomatic 19, cognitive 32): deleteFile 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":"server/src/services/company-skills.ts"},"region":{"startLine":4843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e376d97b831bcffb89577f905d1da078fde5f367efa341420176d10cac6e5c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalizeValue (cyclomatic 19, cognitive 32): canonicalizeValue 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":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6278940d502dbd58706e9ac69f3c76c0d2d5da14b5a023241e89b6e5b42cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onStdout (cyclomatic 19, cognitive 31): onStdout 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"998502704ef6f48b2a319b5789be25e5f723dea2bc265c2b6931215087cd7b9d"}},{"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/shared/src/validators/issue.ts"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"225b7a08dae1d4e8b554d432dec941ee0076b76e7de93a4e308ff9d0f13b141e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireRecordedProvider (cyclomatic 19, cognitive 31): retireRecordedProvider 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":"scripts/tests/native-provider-startup-codex.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc315f836faa2c8f564e959d30f09239f933da1212086b03008460ba46ae8bbd"}},{"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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6905}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aaf8d9c5b86edcdc95cb311ec8b375d4397963bd6c07c27a723dd6a7fe83e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGrokJsonl (cyclomatic 19, cognitive 30): parseGrokJsonl 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/adapters/grok-local/src/server/parse.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5fdf43e1aa0b71fad1ec99393401f39405c39ac54b05b0d45126593ef7104d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupSleepOtelPeers (cyclomatic 19, cognitive 30): setupSleepOtelPeers 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":"scripts/sleep-qualification/setup-otel.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0ac6b0e578a15617ac0723c6066d61036bac1065dcfdeb017d8c0815f48594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveIssueAudienceContextMap (cyclomatic 19, cognitive 30): resolveIssueAudienceContextMap 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":"server/src/services/attention.ts"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad4a9d192958db951a48f7afc5178709bfb700836ef9101a84e30eff500e2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePortableExportAgentSelection (cyclomatic 19, cognitive 30): resolvePortableExportAgentSelection 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":"server/src/services/company-portability-agent-selection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a1498d10af2040de7c19e6a9694e4c181add6dc8d37175aaa0020e18d7c918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importRemoteSecrets (cyclomatic 19, cognitive 30): importRemoteSecrets 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":"server/src/services/secrets.ts"},"region":{"startLine":4491}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba211f0b3fff39eecb8e6ea8db3bd4f8c20e45bb819611712fa72fd71849835"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkspaceGitLinkedRoots (cyclomatic 19, cognitive 30): readWorkspaceGitLinkedRoots 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee3c5cc4eddefd582dada88bfaa31e8f0df70808bbcbfd5a08de9ce5895c2dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForAllocatedPortBind (cyclomatic 19, cognitive 30): waitForAllocatedPortBind 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dff7225169561608cdda017ffaaee01260ee088a47af5cc7178cc3eef4c428"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZipArchive (cyclomatic 19, cognitive 29): readZipArchive 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/shared/src/portability-zip.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47cfeca7dde61acd8306ccae5622b7de8a9d426ac3a31eda7201bf81bb27a98"}},{"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":"server/src/__tests__/tool-access-oauth-protocol.integration.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"940392d39c4b8097472da92d4fbb208d0f4e332d4214ed44e24686f102a353a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatProviderConversationUrl (cyclomatic 19, cognitive 29): chatProviderConversationUrl 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"521ef48fe4fac185d85b364861bb5b5d5c6969dac64780db9e8b3107a20800b4"}},{"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":"server/src/services/heartbeat/workspace-preparation.test.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f3ab1efd3aa469d1458b16b57ee3c549c218f45c5829f3823bccfdd5b6f95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMonitorTransition (cyclomatic 19, cognitive 28): applyMonitorTransition 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":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa035c77ca405228b32122df7a058a6cc22f37daad09627e73f8f1e9500f4017"}},{"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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e75cebc92df249f7cf3451ab430df9f83f89126fbd0f97458884cfda2e0ec8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 27): main 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/adapters/codex-local/src/cli/quota-probe.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc42671f558664e4ef75f3d46dd7763aaed4814d892e0f0be29935bb71af86d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeField (cyclomatic 19, cognitive 27): normalizeField 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/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ad85be083c981699cd99213813e900fb1c4eed13003159c8e74c8f30e453e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operation (cyclomatic 19, cognitive 27): operation 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":3569}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4d0474348d8573c5716bb94e1c6043d8677cdeb70bdac0cfe933079c174e56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isObservedHotRestartTargetAlive (cyclomatic 19, cognitive 27): isObservedHotRestartTargetAlive 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":"server/src/services/hot-restart.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a77213a62acd1dfd250f36963b1743e2687dfc1ccd321edc9ddf1687ad6af4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valid (cyclomatic 19, cognitive 27): valid 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":"tests/runner-e2e/chat-catalog-domains/identity.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eeee3230e397b6979db499068eab6a6e071ff2687c3b98583bfabf5530a6dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAvailableEvalOperationsReport (cyclomatic 19, cognitive 27): readAvailableEvalOperationsReport 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":"tests/runner-e2e/operations-report.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cf5c1f6067256dbb2e382d2a9397fe96498146b9a2c10c179efcbc4faad885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 19, cognitive 27): execute 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":"tests/speko-native/app.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d8ad44086a8f1a94abd4c53137f4d7ef31780f3f93d304ccb4ad2f34960271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 27): main 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":"ui/src/artifact-directions/shot.cjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"79851443baa32742ace590088e236ed8cff7dd4f4d1d126079fd10f3c270ecdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayPersistedCodexEvents (cyclomatic 19, cognitive 26): replayPersistedCodexEvents 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0bb210dd9beea53d32b478a90fc76e24e79ae7cf2c734d8d05b783cd27c810"}},{"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":"server/src/routes/plugins.ts"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e375e99fb8b0eb5ccb9177bf22a4f42ee76b79c980bf4197de8be01cf0fe5179"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeWorkspace (cyclomatic 19, cognitive 26): completeWorkspace 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"955a18fea48324a6ec2b2feed3a9262feb3b7084876f3c13953b92aedc908524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeClaudeOAuthUserSecretInternal (cyclomatic 19, cognitive 26): completeClaudeOAuthUserSecretInternal 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":"server/src/services/secrets.ts"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"01db148600dd62bb7df7a4ed35a3b3fe5204cdcb2129f8c12d216972acb3481b"}},{"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":"server/src/services/tool-access/connections/installs.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90e145d091c7852aa97ee5958cddfbdbd3878afacbe409f6df7e3e7727b304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectReleases (cyclomatic 19, cognitive 26): detectReleases 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":"tests/restart-chaos/hosted-release.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"698d7fb09de4877a62db88a7d73ea01b6d5210ff07c5e606a6bdd56a87380a81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notification (cyclomatic 19, cognitive 25): notification 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/paperclip-runner/src/drivers/acpx/pi-extension-adapter.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf82d6295d99dde8f41c00b29c5d63e13fa8624d2d2df5d1578e908b1af5f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processClaimedEffect (cyclomatic 19, cognitive 25): processClaimedEffect 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5b863294216cb1dea74493dac64084428872c32ee0b44177df6081a151d411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFile (cyclomatic 19, cognitive 25): updateFile 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":"server/src/services/company-skills.ts"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c8ca068817a372c743604d62669380cf2d88e27be5c93af307b7b81a517e3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordVerifiedSourcePrefix (cyclomatic 19, cognitive 25): recordVerifiedSourcePrefix 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c926262ee9af53402aef53607fe3dd67abdcc5d769b343971695ad8cc243775"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function askElicitationRound (cyclomatic 19, cognitive 25): askElicitationRound 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6733}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85944f5f70b9e37b404cca34a6c5b4a0ae7e0290f9324b156529fdde44e6e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweep (cyclomatic 19, cognitive 25): sweep 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":"server/src/services/tool-review-projection.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9ba996235d4266ffe1de20905168de1d21719cdc10b08da76a22f125250b17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAntigravityJourneyTurn (cyclomatic 19, cognitive 25): verifyAntigravityJourneyTurn 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":"tests/runner-e2e/antigravity-journey-evidence.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"02618f6d68ac133a7c0d337f9c7da962ccfda8557836979fabe9b64651ef51dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 25): (anonymous) has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-provider.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9541c9fe29398f8a88787b68504c2a2512436276d2da204a149a387ab6201f28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverReportCatalog (cyclomatic 19, cognitive 25): discoverReportCatalog 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":"tests/runner-e2e/report-catalog.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea436d47c3b629ab4d89685b46f2f1107d91eeaa8669040fc1e13418844b7c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 19, cognitive 25): flush 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":"ui/src/hooks/useAgentChatRead.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b98b59fbb92e593ccef3c9891639d455064077981a1fbf56121fc7541683da"}},{"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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"e956863e09cb4e15f8258c4496b8d8df45fa577d043dc553af91a79c0a25734b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 19, cognitive 24): close 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"533b7f875b1260fe877d5b3503b8d99eb0ae4365d00745dd9a660e9e1b93eb01"}},{"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/plugins/sandbox-providers/daytona/src/archive-stream.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6022d294284fbc375ef304a33ea0d44d7b2a192e709b114f56921140774e41e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInstructionActor (cyclomatic 19, cognitive 24): resolveInstructionActor 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":"server/src/services/agent-instruction-authorization.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8fe050e6d632a503dbc56c78d1b1b0f856d846e3717574622c371ea7fd825c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateReadme (cyclomatic 19, cognitive 24): generateReadme 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":"server/src/services/company-export-readme.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c362c9b5ef19606454cfc44e8e435dabb64668d8c907d7d718ca6eae52418266"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreCompactedEvent (cyclomatic 19, cognitive 24): restoreCompactedEvent 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f1448a9ddec78b23f426faefe71c64830ab4316f0e7676012c474bff62031f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function artifactDirectories (cyclomatic 19, cognitive 24): artifactDirectories 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":"tests/runner-e2e/chat-catalog-testops-streaming.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"057bed7ba03301aa46255db7a9baf87a1d35ed99abf7baa6674686f9be287463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stagePublishedChatInstall (cyclomatic 19, cognitive 24): stagePublishedChatInstall 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":"tests/runner-e2e/chat-installed-lane.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"92139af9a3f5e3e7b6e53f52a066fee3c587e809c0e2360a44cdcf3c689a6385"}},{"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":"tests/runner-e2e/kimi-lifecycle.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e1ade904f87e54c18aa7dccdae7bce68a7d9e28498c2b9348efe1b9111d555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPrivateCellDirectories (cyclomatic 19, cognitive 24): assertPrivateCellDirectories 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":"tests/runner-e2e/manual-private-report-assets.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"245571fbe840588501f9a9546510837b1b617d26d6e47d4d4ec27ec1a0a911c3"}},{"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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd8bd4e85529952f56cc923029c4d96c5716f2d2a95a9829a105443241f2ccf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResourceCard (cyclomatic 19, cognitive 24): ResourceCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fa89e8dd84cba17d1e6af7b1e5a829fd21f3079094bef4b90b8f051ce63a81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentConfiguration (cyclomatic 19, cognitive 24): resolveAgentConfiguration 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":"ui/src/lib/agent-configuration/resolve.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0124c81aa2b17c63d2e6a0bf24f83ef0859ece757cfb7afc688a61c660e3bd7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsv (cyclomatic 19, cognitive 24): parseCsv 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":"ui/src/lib/csv-preview.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d550000c24a8c265160143122ecec94c0552370fb8ad5448d495940040e5779f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 23): (anonymous) 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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29ddfe1b082dade69da7b52150585ac94003f6d83e271a5b52b891bf0ff9f3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRunnerdCodexAppServerArgs (cyclomatic 19, cognitive 23): createRunnerdCodexAppServerArgs 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b5194d5927934f4da3765f8329b6bbf8ea74ee81f9646a0e608880463d482a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 23): (anonymous) 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":"server/src/services/native-runtime/native-deliverable-text.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6f447add53d20c29794e2c94ccf9b3ac6eb4c90f49f73884589f3419bba099"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitSnapshot (cyclomatic 19, cognitive 23): parseGitSnapshot 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d189ff54c118f337094becf3b922d1d3a9ad65bde5cd38a832415930af7d0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdLaunchSandbox (cyclomatic 19, cognitive 23): runnerdLaunchSandbox 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":"tests/runner-e2e/agent-filesystem-sandbox.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef1f9b7db6bfc431dd61cd5a29f078375d02aad5175b0eb5254f16876ab2405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 19, cognitive 23): act 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":"tests/runner-e2e/chat-catalog-domains/internal-tasks.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c31a378e4263b8633268537f46846ba65ec12c12acf8921b902b7fa3237c75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRetentionBudget (cyclomatic 19, cognitive 23): applyRetentionBudget 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":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a862fe4d8c2b5af910d676b5d7505ef92513f0747a52433c53d46e97b2bb4ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildKimiDistribution (cyclomatic 19, cognitive 22): buildKimiDistribution 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"43020bc8430e58576e76cb1da7635f34db3d613526ac16af4de8140928203621"}},{"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/paperclip-runner/src/cli/eval-session-contract.test.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308efc677f6fa2ff774f59982871a861f8999c9d78cf75e23953adcd019c283"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 22): main has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codemod-extract-sizes.mjs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca03f81111371e8104a0ddd4d23dbc466e7b5b506da506488cd77ebbb0a3eae9"}},{"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":"server/src/routes/cloud.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76ea87bef86fedf5942f1a868aeac191eb55abf49baa4281e4bb59286a1306b"}},{"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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"941b358319275338276de46228c733cf25735315bc706e018fa00be15e544727"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formKind (cyclomatic 19, cognitive 22): formKind 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8455322c2f1fa91ce28f21e15ec7db55100a0cb0eb655e0b95ca1a1f1cfb56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyReusableSandboxLease (cyclomatic 19, cognitive 22): destroyReusableSandboxLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"888ddefc8b1d4796744c9b8bb25f13023a5c19e088eed47497e6b35868f2422f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishGitCacheTrash (cyclomatic 19, cognitive 22): finishGitCacheTrash 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5c3ba66b6ce96b6e7f173dbebd6544b53873745f9715acf0e240bcf1a9a55b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function incomingWakeWorkQuery (cyclomatic 19, cognitive 22): incomingWakeWorkQuery 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":"server/src/services/idle-incoming-wake.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3798146cad7277aa1d1251cf0e8fffbbd409eb9379f1c28c9e78dfc8f78b4ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureAuthorityHistory (cyclomatic 19, cognitive 22): captureAuthorityHistory 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"15467416b854a6c3bc743e5d05ce03961085c3c63f790ffef26404d8f089e8f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleProviderTraceSchedule (cyclomatic 19, cognitive 22): projectIdleProviderTraceSchedule 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":"server/src/services/provider-trace-idle-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0e242180e51e2abccd6018391021adc812c45247d9729268e7ef70c949c22a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExposureReservationLedger (cyclomatic 19, cognitive 22): buildExposureReservationLedger 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":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c351b57b33cebae94ec074c16b91b1004ec3385f808d56b33b2888807466b0be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIndependentTaskWorkspaceSettings (cyclomatic 19, cognitive 22): buildIndependentTaskWorkspaceSettings 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":"server/src/services/task-workspace-lineage.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7841b9e729db7327defb4b49d98b4c8061efd4cad824d7c61df2ea6450711aad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runNativeProviderLossFlow (cyclomatic 19, cognitive 22): runNativeProviderLossFlow 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":"tests/runner-e2e/native-provider-loss-flow.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8089673056ed5d052f4755178bc34e33e1613166f3f93e692fb5cf324a2fcd31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supervise (cyclomatic 19, cognitive 22): supervise 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":"tests/runner-e2e/server.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"405670e2a5253d95b2dd530a13de34f0361741c2e3eacd6f11c5849bad77d3b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownWorkProductRow (cyclomatic 19, cognitive 22): MarkdownWorkProductRow 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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aabb16ccfe623d245e86cf41669d1454329f1bf0a459a09e18eb6bf1fc4292c"}},{"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":"packages/shared/src/ai-connections.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"482a231cf07673c523717ab2931237ab23e4caa36824db9a108e43f6d005e363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionInstructionContext (cyclomatic 19, cognitive 21): connectionInstructionContext 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/shared/src/connection-instructions.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d58cc86b3413706bb76a584971de2ce071aa73a348ddd9953886c4bc6b4ed"}},{"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":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c06f02840a4b7a17c45941cf9ae825af4da621ec0bc38038ba2869ce1ce3b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scopeMicrosoftTeamsEgress (cyclomatic 19, cognitive 21): scopeMicrosoftTeamsEgress 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a09339d0d0e10539b7fbd2812cbbd7c763628294674fde4ae48ce1b6d9181d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inheritedScalar (cyclomatic 19, cognitive 21): inheritedScalar 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":"server/src/services/native-runtime/native-agent-runtime-inheritance.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742f070be12a083516ea408a30ecc94f4cf3bf974bf6623587a052cb9be4f1b"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":16443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d09f2da41490b554e753c867082831ecb99a47cdfe8b927ca2173127b8f7a4d"}},{"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":"server/src/services/recovery/workspace-finalize-attempt-settlement.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18bf070870a93924d48d2d888cde1f670dacab939f9aed8e842c49bae4b8567"}},{"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":"server/src/services/remote-workspace-migration.test.ts"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"487e786f63adb739f9ec9c9a978f971eba7613016c024c386c50cbb6317d30d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollingRedeploy (cyclomatic 19, cognitive 21): rollingRedeploy 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":"tests/restart-chaos/supervisor.ts"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"d178a1b8191a468fcd6712856c3e2d0ee4c8c8430f64b5b498d7b2b4018e3bff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeAntigravityJourneyReport (cyclomatic 19, cognitive 21): writeAntigravityJourneyReport 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":"tests/runner-e2e/antigravity-journey-report.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb278ad5e871df920b6a41762c1099752506905e91505ac973aab120100fa491"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function zipContents (cyclomatic 19, cognitive 21): zipContents 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":"tests/runner-e2e/chat-catalog-domains/external-secret-scan.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9308b0c135ad4920dcf701364864040b8a56a513a07de740e43fac1929211410"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-access-grants.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cc27dd4fd4cf949220b8597a41367fd97a64b62d3542fdc1bad9b0088a2b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeGitHubReviewReport (cyclomatic 19, cognitive 21): writeGitHubReviewReport 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":"tests/runner-e2e/github-review-report.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58ceef0f8aff187be5af8bd9b219610feaafd5af9ce008dbca422c2f3d2eefa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshHistoryIndex (cyclomatic 19, cognitive 21): refreshHistoryIndex 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":"tests/runner-e2e/history-refresh.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d90850da8bfb626ce35448b24e12d80717927c7870b832cec9d2582ec0b074f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runExpandedMcpScenario (cyclomatic 19, cognitive 21): runExpandedMcpScenario 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":"tests/runner-e2e/public-mcp-expanded-flow.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c45c462946dfbbc16c1b8b936c7707cd5412775f2336d016925e586fc5ad55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyRetainedSourceSdk (cyclomatic 19, cognitive 21): verifyRetainedSourceSdk 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":"tests/runner-e2e/source-sdk-evidence.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea2cd5b92ee3168f7b0528609077356178e9aa050f8574c8ca3b6de6ff99c36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reporter (cyclomatic 19, cognitive 21): reporter 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":"tests/runner-e2e/testops-chat-reporter.mjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"533490c740bac27db080b30a93c33ab17fba44f4101116f8073e77b459cea0ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 19, cognitive 21): create 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":"ui/src/pages/apps/chat/slack/OwnSlackAppSetup.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6de6b15f5da4f95ab72418ceb9ba645a22cd2122666ce85c59e15ff5d1101f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunnerActivityPreview (cyclomatic 19, cognitive 21): RunnerActivityPreview 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":"ui/storybook/prototypes/runner-activity/RunnerActivityPreview.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3490c2b7fef7aba0dd2489291b28a4c304b54455a32057c94b42cfcbfba1b369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderProtocolEvalHistoryIndex (cyclomatic 19, cognitive 20): renderProtocolEvalHistoryIndex 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/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fb987ee33761493ddf278ad0fde6d138d6ed923a355354a4ba81fb81e89fc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timelineSummary (cyclomatic 19, cognitive 20): timelineSummary 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/paperclip-runner/src/reducer/session-reducer.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2e3e1b9498abc4365a1b6bb0ee9970922bca3869b15c99df8315abd5acc1dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function distillPaperclipProjectPage (cyclomatic 19, cognitive 20): distillPaperclipProjectPage 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3334}}}],"partialFingerprints":{"codehealthFindingId/v1":"92336d8f40c486c09b8d08edca8aad174bb4fc5ef927ea580b9016ba13767a1d"}},{"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":"server/src/__tests__/chat-run-milestone-work.test.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f255442398ff396075b864f9f1e01bd7e6368fff98dbcabb072d6617923cd49"}},{"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":"server/src/__tests__/sleep-configuration-acceptance.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ed072e6bfba4e5331ff4432e49a777c2f5f6a1106b2a7bd84d5d2303784fe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveCanonicalSkillKey (cyclomatic 19, cognitive 20): deriveCanonicalSkillKey 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":"server/src/services/company-skills.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"e211fe2f0e8b93595a5d3e4cf560aea0d25f58edae7f948e358ffe9d778cd35c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExecutionPolicyBootstrapEnv (cyclomatic 19, cognitive 20): parseExecutionPolicyBootstrapEnv 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":"server/src/services/execution-policy-bootstrap.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e26190bbdc5c996e83a32c56c8317749a65d44b5c5befe9c57cf7d02f7f926e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildClaudeTraceFiles (cyclomatic 19, cognitive 20): buildClaudeTraceFiles 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":"server/src/services/feedback.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3fe83cb775c83a32bd7802be92f523783428619f83de5b74b4fe248fa86157"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHeartbeatGitHubLaunchers (cyclomatic 19, cognitive 20): prepareHeartbeatGitHubLaunchers 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":"server/src/services/heartbeat-github-launchers.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80ba18c9e74b40679eda2e36928b6bfd61e7a6a9546647e00cf70d7818ad4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performIssueMonitorRecovery (cyclomatic 19, cognitive 20): performIssueMonitorRecovery 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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf6eb4d6ae992917b9df846f3f3dd72cd2c0a7ee29d59ade0389a00123984d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function append (cyclomatic 19, cognitive 20): append 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":"server/src/services/managed-skill-content.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3eb4bdeaa792ef4e4fc5412ce2767d71f30aa79e2fd8b62bebe04d75640886"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeProviderProcessIdentities (cyclomatic 19, cognitive 20): nativeProviderProcessIdentities 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1ff168d2707efae2d25e701d6f85777ebd1ec60bf49b4acca06abaae1d214a"}},{"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":"server/src/services/remote-workspaces.integration.test.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"3356b2439579a51c3e6ebef7533dcffaf5b4eb5ee6d23d4ebf5f903178c7946a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeSubscriptionIdentity (cyclomatic 19, cognitive 20): probeSubscriptionIdentity 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":"server/src/services/subscription-identity.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d16f273b01d6379ecad66606fe2ee93f7939f76b5b6a51536f39f9b43af814"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregatorDiscoveryState (cyclomatic 19, cognitive 20): aggregatorDiscoveryState 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72f49ff8ea99ac5e4a65433842eff02e3d883c9daf185574c65e4231ac02a2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupWorktreeInstanceArtifacts (cyclomatic 19, cognitive 20): cleanupWorktreeInstanceArtifacts 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":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77d70e5c47bcc2456f3a7449e9b90e97dcdfad87f34bae1663284816fb67031"}},{"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":"tests/e2e/legacy-failure-continuation.spec.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4a388292c242c8f6a058b4cba2d1600bf04f4efa71cfee62b6f1fa62dc20ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 20): main 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":"tests/restart-chaos/crash-points.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcb06ea187135c7218d34649a11d5dbe545f7559ca6c746804125e3345360cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMessage (cyclomatic 19, cognitive 20): onMessage 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":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6327ce889d6cfbf3dbba68a635b1c84b94f9f44af53558f65adade4be70ca39d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printAdapterInvoke (cyclomatic 19, cognitive 19): printAdapterInvoke 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d64fc4bce2d94a39474813c5ea2634563a56c15d00da45ccc5f2950488049"}},{"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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.claude-session-update-events.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"913a0497f6234f7c8f78085e71ad81ae247cbe2c2f94dfeb531d8c6b93f32cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlGoal (cyclomatic 19, cognitive 19): controlGoal 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50939676c13c8d6a611feffaebe104fbde9677a46303282108825353624ae69"}},{"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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2304b1372294c063236b269771d06bed5c8b717bc6e2fa81b457768216366e8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DistillationSettingsPanel (cyclomatic 19, cognitive 19): DistillationSettingsPanel 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61bec59460e5f08bd05d9ef520d45964caab677904d41ecc7c8348a489b5860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateBundle (cyclomatic 19, cognitive 19): updateBundle 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35833122af825148b56a0089e073b74e1a542f1da57dcb0be3d6e46c8ae83e3"}},{"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":"server/src/services/chat-channels/slack/cloud-ingress.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d967df64c83055ff8d933d562a3373470f2d3e618a36221b7273f70971d297ed"}},{"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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b686b25580106972ed4d05e197659021ac1a4e34d5e67ce11c2568c26c3325d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBlobs (cyclomatic 19, cognitive 19): readBlobs 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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb94a68d6ce8cb34d95d959320bec1e69259b0749e463a753fafaace817d230c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishOAuthCatalogWithRecommendedDefaults (cyclomatic 19, cognitive 19): finishOAuthCatalogWithRecommendedDefaults 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":"server/src/services/tool-access/oauth/catalog-completion.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4b3a38a0c65eb76d5b9df320018a1958cbb0fc9469bec3069d2124fe59543c"}},{"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":"tests/e2e/chat-adapters-ui-providers.spec.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"84efe5e58c04d35b8229ad64ec9247127b3f347962316f0f331250a38f261773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeFollowUp (cyclomatic 19, cognitive 19): maybeFollowUp 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6975ddbe502b2f3203198b54b468099ea8fc81e5252e41983053e8e4a28f4f"}},{"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":"tests/runner-e2e/eval-remote-gateway.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bf9eb1b4348c2ec47e5c7e4f55c087b0c5b2fc33c1cc40bc38bd494db8542b"}},{"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":"tests/runner-e2e/public-mcp-client.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"284ba2e78563dd71d4aaf80b91e832a368e20b7293aeb8af8df57e22e6797460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAgentSkillSourceMeta (cyclomatic 19, cognitive 19): buildAgentSkillSourceMeta 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":"ui/src/pages/agent-skills/agent-skill-source.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ba6059b7a63208c3e1c95e8c8d0984df7625995dbbe38678f8237dce289269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Inspector (cyclomatic 19, cognitive 18): Inspector 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/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d674c1b2f9d8aaacc2da7e85e9cfbf6a9e36b1606aaeb43af3a1d700e91480f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InteractionCard (cyclomatic 19, cognitive 18): InteractionCard 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/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"467e55632686b5d989b6fbbc593d6fa8ffcbc1789ba095d376eb8e039ffb3c6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueHeader (cyclomatic 19, cognitive 18): IssueHeader 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/paperclip-runner/devtools/issue-thread/src/IssueHeader.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f87295a1ba533db2a400cca1b53be1b480584bb3054a2fb3ed40a3e0a45a08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderActivity (cyclomatic 19, cognitive 18): ProviderActivity 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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3211b8aa6770766fd241ea74f2b076290078ddeb44ecb2bb75b4b938aa6f0fc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startOpenCodeProviderProxy (cyclomatic 19, cognitive 18): startOpenCodeProviderProxy 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a07ac287a597a7bb986e344830527e80ccb1c148c669170e80ac6a5bcacf2d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Inspector (cyclomatic 19, cognitive 18): Inspector 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/paperclip-runner/src/react/inspector.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e523965916a0f9c51c812961f6328cb400b1ebc833b43f3c4f2583b26385c45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsert (cyclomatic 19, cognitive 18): upsert 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/plugins/sdk/src/testing.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bc777aacc3796b0f72b8b6d286d63f3317573ecf726a8d160a880ab21a24c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertIssue (cyclomatic 19, cognitive 18): insertIssue 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":"server/src/__tests__/attention-service.test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"806c74dc0dc20e60d8999a7f8b51471bdbb389477168c34e45907e21b4a54c87"}},{"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":"server/src/__tests__/mcp-skills.test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ab6c84545c51bf68d7107af34908c7c9b56297f2c273a60eabea04ab7e8f3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertActorCanWriteCase (cyclomatic 19, cognitive 18): assertActorCanWriteCase 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":"server/src/services/case-access.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcdf810147e50d7249e34bb2a1cf6c20d69dc110f9bab1612b78fb2c85ec949"}},{"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":"server/src/services/cloud-configuration-migration.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec3ca41ab0de37f351335d9dc79772835deb492b04fa81c4681d709e1ce5e71"}},{"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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe4c6c7b4199a8dbe29ce538786d19d4d5a345c3f2b44af2ca2b29e65a2902d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichWakeContextSnapshot (cyclomatic 19, cognitive 18): enrichWakeContextSnapshot 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"4224cf2843dddcd07254b8988e904ad91e18f8b7474af498206851e1bf80a983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorkspaceConfigCategoryValues (cyclomatic 19, cognitive 18): buildWorkspaceConfigCategoryValues 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"785249624998a86f0b25e2e5992e90574557b105d4cff861b834d0f7b1d14e14"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":6908}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba6661a90d180482f0e8780f81033bd70e09f50db42a996ebb688196822c117"}},{"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":"server/src/services/local-ai-login.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8ee39baa285bb7af90bc7d68b537939f098e08b891ffb8828b6978424c923a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideBlockedStatus (cyclomatic 19, cognitive 18): decideBlockedStatus 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":"server/src/services/native-runtime/completed-turn-cleanup-hold-settlement.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79480b1682eeb62415670c9270ca120aab7034c49ac47665de258d73a9857b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCursorCloudRuntime (cyclomatic 19, cognitive 18): prepareCursorCloudRuntime 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":"server/src/services/native-runtime/cursor-cloud-runtime.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a53da802efcf237ebc2557c0ceeb6653f060c616c3015c8ba56d3c860ce4db"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":12907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2efd0e58d71b5203be9fbffb4ed65de72bcdb53c92bd81609ee16ef8562617f"}},{"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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"045e79420436b8ff5f0b4bcea92150d4597c116bd1688563125b7e223c995b63"}},{"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":"server/src/services/work-products.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"823fdd7b2ca2fc1cef337b00918ba4a0f1fc2a04412d9f78cf75ddd48b8669b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeCampaignAttempt (cyclomatic 19, cognitive 18): completeCampaignAttempt 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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9742a53071abdc35664d7997e08a9a164d84f774e76b0f258bde7b2929cf373"}},{"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":"tests/runner-e2e/cursor-native-flow.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"794a6844951a1a9f142de52f6cc9a59b46d4378f70c75ebd06fbeff85f150b92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundedEvalPayload (cyclomatic 19, cognitive 18): boundedEvalPayload 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":"tests/runner-e2e/eval-gateway.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4076a7a51de7b7d35f1fabdb94d71ba65e721bec0334f6f1f2df7224b30cce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyFailure (cyclomatic 19, cognitive 18): classifyFailure 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":"tests/runner-e2e/failure-classifier.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3f3f0763d0fd8b8ef6584e5b21aa0018a24045651a8e025447f6e7169ab374"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderReportShell (cyclomatic 19, cognitive 18): renderReportShell 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":"tests/runner-e2e/report-navigation.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c8ac3b613a7a40994af97e610994fef7b17f7c1dfcd419f4170ea497d2c6b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentSetupPrompt (cyclomatic 19, cognitive 18): AgentSetupPrompt 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":"ui/src/components/AgentSetupPrompt.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d633547ec0d5d58f88adb53d0c78c50c8edcfd9da7a048c7da1a995ff0e5b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlockedInboxRow (cyclomatic 19, cognitive 18): BlockedInboxRow 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":"ui/src/components/BlockedInboxView.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fc8d0c17c66329fd02696e83a3ef0877f111e40b4f1f8736072d1c114560cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QuestionOptionButton (cyclomatic 19, cognitive 18): QuestionOptionButton 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"23228bd2f89b354fb0c249b447b6d5af86e0f93c3defd2d10e8418bd4b640152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function durableInputLabel (cyclomatic 19, cognitive 18): durableInputLabel 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fe1b064085a3ad8d58bc2f8959bdc7e56453e17b52e0d5917a674dbe6025bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useConnectionModelsState (cyclomatic 19, cognitive 18): useConnectionModelsState 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":"ui/src/components/ai-connections/useConnectionModels.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39878fb7a27648b0ce6d46c5971a6767b581b9d8a5ec45084e298fb63122b5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatActivityPhase (cyclomatic 19, cognitive 18): TaskChatActivityPhase 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":"ui/src/components/task-chat/TaskChatActivityPhase.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"87039e2882d0b018c3233dbc363cd111fcb6f23042b55880bde5a2b45d79c16a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergePendingIssueQueuedComments (cyclomatic 19, cognitive 18): mergePendingIssueQueuedComments 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":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd3405a37693c96ed648e42d2d26e8cf8dff196f960682fc028f726041637cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 19, cognitive 18): receive 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":"ui/src/lib/live-transcript-interests.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4152b76bbca584cd5ae203330527d9948f73089a2e64119f3525dd0ad131a059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunListItem (cyclomatic 19, cognitive 18): RunListItem 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"308b95690ca494b99c8107f12d230d98067abe3e60365ffc0270d27360642b82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FailedRunInboxRow (cyclomatic 19, cognitive 18): FailedRunInboxRow 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1652480083057a671b18f64f1446e2441eaf8f60f293f67cc698c776cbb70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubConnectionSummary (cyclomatic 19, cognitive 18): GitHubConnectionSummary 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":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca32b86b61fcb2fb9411d9fed847c9a58339b23c4fe30eecc316bb9e0fb15691"}},{"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":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7f85e0e099e7b850b568a319a1c1d67ffe15387dd1bf77d6f6728d6067b05c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function worktreeRepairCommand (cyclomatic 19, cognitive 17): worktreeRepairCommand 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f828505ad08230ad8e2924d83afe75a29117c069613b2e99d8804cdafeb8b648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeWorkspaceRestoreDiagnostic (cyclomatic 19, cognitive 17): sanitizeWorkspaceRestoreDiagnostic 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc75efe1b5c8c0194a1a0c8a322f27642d0ffcd3bfe600e617426d0ae4246d77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapFinalResultForTest (cyclomatic 19, cognitive 17): mapFinalResultForTest 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76104792bcab55c25ce613729435f44f50d79c9e522b929376664d625e9605b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 17): (anonymous) 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0faadcd75b685f938f89a152e4ee9a87487a5d1b49a6cccf63507036c8e80c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePiRunnerConfig (cyclomatic 19, cognitive 17): resolvePiRunnerConfig 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d549151d293c417bb20e85a6c2ffba9607d9e5926248bf5df0b6571b69436ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCaseHandoffSourceAuthority (cyclomatic 19, cognitive 17): assertCaseHandoffSourceAuthority 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":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d169b98019298fc3235739628aac6adffc489574fe44a5385f90b89d17742ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directSearchResult (cyclomatic 19, cognitive 17): directSearchResult 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":"server/src/services/connection-intents.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e2e048880897a9cc69a031bd2ec6a02bc13eae967032e80c1e61ae6363ddd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistNativeHarnessBackupOnce (cyclomatic 19, cognitive 17): persistNativeHarnessBackupOnce 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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee1f6ac8e4dd3d827c3eddb306e2913e0b8140f09c140c4e86657f1a6573769"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 17): (anonymous) 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":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a37292f5c711fa7ababeeb555278830a6b268313bb555a3434089fe06dc6db2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHostedCommand (cyclomatic 19, cognitive 17): parseHostedCommand 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":"tests/restart-chaos/hosted-config.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ce20b0b24429b6a3880f42acb13c8b07c896b23f3695b83df7555aff76c4f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 19, cognitive 17): constructor 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":"tests/runner-e2e/braintrust.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad461ec6967833297f5da4a519246f0d8d732a138d06f35e054efdd41bb57c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDockerConfigForSecretScan (cyclomatic 19, cognitive 17): readDockerConfigForSecretScan 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":"tests/runner-e2e/docker-config-custody.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"216823f097f735499ce409111f2b11e668784bea35d14ba450480ab26c7bf734"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubIssueProgressSummaryStrip (cyclomatic 19, cognitive 17): SubIssueProgressSummaryStrip 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca7de25706ee4a55a297af2acd2e5036c31523c09c7b307d84ddc9f0eedb0d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubIssueProgressSummaryStrip (cyclomatic 19, cognitive 17): SubIssueProgressSummaryStrip 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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"689131d9f29c73ecd64200e1ba7116948269f3058092e16bebb4535e58d49274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TranscriptToolGroup (cyclomatic 19, cognitive 17): TranscriptToolGroup 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675330386e2ce83c1b3b8fbd439f359b1f37abbc35fc838fc8d6c6a9b42c393"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerActivityItem (cyclomatic 19, cognitive 16): providerActivityItem 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d659827e72c6b18fd13008ca3813e8db1a8b306ef8155c7a04221a057335b675"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpxRunnerLaunchProfile (cyclomatic 19, cognitive 16): acpxRunnerLaunchProfile 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f2da7cfeab2dcba2b8f1bf66e63e8c0c36bfc2eafe5b272184f31b3afffdfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeAgentInstallCapabilities (cyclomatic 19, cognitive 16): describeAgentInstallCapabilities 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":"server/src/services/connection-management.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"386a6c4917f571b901d48ab2b22dbd66ede3332bfbe076f0f09f57d380572892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExecutionWorkspaceStrategy (cyclomatic 19, cognitive 16): parseExecutionWorkspaceStrategy 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d73562b09ae0399938476ccfbffa9efa7cdb4b32b9135099012d66f7fc3cfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSuccessfulRunHandoffFromActivity (cyclomatic 19, cognitive 16): readSuccessfulRunHandoffFromActivity 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":"server/src/services/issues.ts"},"region":{"startLine":5692}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd2a0c7f9eb83b1dd72640986fea6ab8a883ea8b9da21d31ee88856946a0b0e"}},{"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":"server/src/services/native-runtime/obsolete-policy-reviews.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a6a2d55e53f4541ffe97ff0e7c7d5a09433c6cf74b800fd17aeac2d8eff8e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function policyInputForAgentTool (cyclomatic 19, cognitive 16): policyInputForAgentTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2464db1ce27a5c08ae9c76ba6a790a1f54d3071d65b2f2346657413cf0085247"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-assistant-scoped.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf79f1103b8e93fdf8158b1eabb63b64825796d5f63e4ef1da5b2607411b4da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 19, cognitive 16): act 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":"tests/runner-e2e/chat-catalog-domains/external-slack-setup.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc37ca4798fb96bdff5ccca9689e3e28f6f66ae5af68ace576f4d2ebcb38f56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grade_activity (cyclomatic 19, cognitive 16): grade_activity 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":"tests/runner-e2e/chat-catalog-domains/internal-activity.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae107e1b697b0976c78cf196f0ad6705b87c2f6e4265d8d9b9e9bb032bbd469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeFeedbackBundle (cyclomatic 19, cognitive 16): gradeFeedbackBundle 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":"tests/runner-e2e/chat-catalog-domains/privileged-feedback.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e75dd41254695a165100e8607f9a6216eb8c4371b019f574d3199764757008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 19, cognitive 16): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-dependency.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"472f1e29fde90497f4efad5df46636f5945080a3d8f1404938cf88b575f9d2d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokOperatorReceiptMatches (cyclomatic 19, cognitive 16): grokOperatorReceiptMatches 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":"tests/runner-e2e/chat-catalog-domains/runtime-grok-operator-contract.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3967413a2abff8d741bfe0b3e712b721f64f96a390dd58aea1e2d2e8568bd1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isolationAgentRunIds (cyclomatic 19, cognitive 16): isolationAgentRunIds 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":"tests/runner-e2e/product-journeys/company-access-contract.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4a4aede91f6fccf376005a1a32abaae8e8290e89ea3d066acedb2ad5abf95a"}},{"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":"ui/src/pages/Projects.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7484e99d376ec1041e8de25fd8683457c1c78fd3518eccfdbf5e5605a43dcb4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgentDetailView (cyclomatic 19, cognitive 16): parseAgentDetailView 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":"ui/src/pages/agent-detail-navigation.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cd281099160afc94eee5d9481dcdf00e8837d4d4df2282fa10e9c489594618"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryReview (cyclomatic 19, cognitive 16): MemoryReview 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":"ui/storybook/stories/connection-setup/memory-connectors.stories.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9567cfb8db8ac48057ed8d2388cd556ff7f675dee8394af7cecc2c6750627e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCompletionContinuation (cyclomatic 19, cognitive 15): resolveCompletionContinuation 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/paperclip-runner/src/drivers/completion-continuation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cbe58f1133d301b1c1d7338d45fcac5c4cf31aa0af7b73ae45fdd0d6583603"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeProviderRateLimits (cyclomatic 19, cognitive 15): summarizeProviderRateLimits 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/shared/src/provider-rate-limits.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d067991b404412b151ea47b034bb7ff3898fc8d2a2cb46706722a7545e96971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteLockedRun (cyclomatic 19, cognitive 15): promoteLockedRun 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bf4b7c4e1bdd88badcd3dff5f5df2792b1c5470df062102f20d5e58bb7308c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQueueSnapshot (cyclomatic 19, cognitive 15): buildQueueSnapshot 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":"server/src/modules/wake-queue/adapters/queued-comment-postgres.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e97463793e4de606d2d1cff95ed0e9d1e78cc6dcb795e5ba3d23ed8ccc45091"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSlackFormTerminalIntent (cyclomatic 19, cognitive 15): readSlackFormTerminalIntent 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0663b00769fa5cefbb2afe8c525765c97911904905dd9452a1cf021baf9757"}},{"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":"server/src/services/github-pull-request-merge.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"495510371e5c1814292b27a2515abbc6824ed6959d1c7a44785d4b1515fcfcb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehomeExpiredIsolatedRestoration (cyclomatic 19, cognitive 15): rehomeExpiredIsolatedRestoration 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38473d455baacad213b2e2e08846d189a6ce107dfe9fc91676be7b7d504d2fe"}},{"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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"7414e5d23b1eaf4eceebc489971e5850c27c0794f4110945c4e920879032ab48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteProviderStateNeverOpened (cyclomatic 19, cognitive 15): remoteProviderStateNeverOpened 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8019}}}],"partialFingerprints":{"codehealthFindingId/v1":"1901b837cb2cde58d020ade586cd3e10ac1483cbb11d324e44f8516b8ee51f6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSummarizerWriter (cyclomatic 19, cognitive 15): assertSummarizerWriter 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":"server/src/services/status-cards.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5512f9d8c46cea0beffd2fd32e9c4fccf7454738dca1baa565d636d7a531e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 15): main 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":"tests/runner-e2e/chat-catalog-domains/external-public-signin-worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7531edb8b38a5b38cd7ac381ecf99d86ea9887ab297906eb0d2ae02c08d486"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-email.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"051e9435203b2fc26164466633420fa5badaf4220a5664d4175b001b55074470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveChatQueryAttachments (cyclomatic 19, cognitive 15): resolveChatQueryAttachments 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":"tests/runner-e2e/chat-query-attachments.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dc45818b3c7b97149aec0327ffb379b8cecba79208080b656402647b956793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalCard (cyclomatic 19, cognitive 15): ApprovalCard 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":"ui/src/components/ApprovalCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d255f68c8a2260291914a4193440e4096fd1828b0dcefd2f8b70a2c3a28584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigureBuiltInAgentModal (cyclomatic 19, cognitive 15): ConfigureBuiltInAgentModal 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":"ui/src/components/ConfigureBuiltInAgentModal.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40b1959f3d784bd63cae6aa25ce392160319962087446bf4990eb2cf15bb7cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiConnectionUsagePanel (cyclomatic 19, cognitive 15): AiConnectionUsagePanel 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":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cac40ddb44a5f4794b31b91160e051e76c0563eee00ef7b5b26b6d35273b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunInvocationCard (cyclomatic 19, cognitive 15): RunInvocationCard 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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7df856a8b56afb08ad5d59e8aba7c7955ad4223dea30913bb3303177543e38"}},{"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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"36be455a0e6a8dbb3709ebc773f5fdeb5779549f3d8f1cab2c8482c9ad9a28b3"}},{"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":"ui/src/pages/JoinRequestQueue.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ed2ea70ad1194379157791fcba272666d4a138abd71fe505e0e73c81dadd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditTab (cyclomatic 19, cognitive 15): AuditTab 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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bfa4e669131357eeadc05d29b2d86ddd6c035725235a316fc80fd12c7f1dba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommandExecutionItem (cyclomatic 19, cognitive 14): parseCommandExecutionItem 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67e62083409fe705a4e9c1aab7d16c7f54a5b74a553bcaf54acfdc0a4fa67ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function goalSnapshotFromAcpMessage (cyclomatic 19, cognitive 14): goalSnapshotFromAcpMessage 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34cc9a3f0a8b7aaa2747ee4b4eac43f7379a7730879a83ba5d4f387ad804746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProviderIdentity (cyclomatic 19, cognitive 14): parseProviderIdentity 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/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7878dff4f8bd19fbd2744eb9023ae49fcc5347da8cfb84f1f32fc317f34f122"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #emitSettledFinalAgentMessage (cyclomatic 19, cognitive 14): #emitSettledFinalAgentMessage 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"180a4443aa99d0cf62b7bdadcf26a463993da733ec225b43d415a602429467fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectedProvider (cyclomatic 19, cognitive 14): selectedProvider 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":"server/src/services/connection-intents.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be1dbb0030111caaead6768f2e1077ea02b1885aa6e389e27d6fc36c6347304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyRunnerdStateRoot (cyclomatic 19, cognitive 14): migrateLegacyRunnerdStateRoot 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae3a2fca7c9dcafb3bd31bea383d865d90c1f3899c5cb8ed6629f5201b9263"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProviderApiPlacement (cyclomatic 19, cognitive 14): resolveProviderApiPlacement 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":"server/src/services/native-runtime/provider-api-placement.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3278ebcf94d26e56a75bbf4fad2dcb0f2a018986e11fc6cb4bc8f84b0748bc8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 19, cognitive 14): matches 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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bcc0ab8d5dc19a411a7e644dfbb58d7c36f02a9abcc751123d9190020fbe2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePostStop (cyclomatic 19, cognitive 14): gradePostStop 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":"tests/runner-e2e/chat-catalog-domains/runtime-post-stop.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"425e4da701186d163026a5b5c7a23c77b9770bdbe91d6eaf6f5f1968942d3795"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failureProjection (cyclomatic 19, cognitive 14): failureProjection 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":"tests/runner-e2e/chat-feature-testops-api.mjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7434f4241b4fedb410bfa0bec17cc782d623637b7a6ede49209fbdb8e3a710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillSourceConnectionRepair (cyclomatic 19, cognitive 14): SkillSourceConnectionRepair 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":"ui/src/components/skill-studio/SkillSourceConnectionRepair.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c5dcd5a3c7c0c013243bd0943614401919a2945dc0e35c7b5d30c78082c86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskWorkspaceFilePanel (cyclomatic 19, cognitive 14): TaskWorkspaceFilePanel 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":"ui/src/components/task-side-panel/TaskWorkspaceFilePanel.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f396e0bbafb1b1347271f3f7824fd41fe7dc8b4e34a7fea9ab7e6b1306f0a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useIssueHierarchyContext (cyclomatic 19, cognitive 14): useIssueHierarchyContext 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":"ui/src/hooks/useIssueHierarchyContext.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc2220ec96b15eca31841669c03a9bfcba3814ec4d8f54226191ec03c1a2903"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preflightPosthogLive (cyclomatic 19, cognitive 13): preflightPosthogLive 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":"scripts/smoke/posthog-live-lib.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"342b34ef70f01dafd0ab88f4e3328024db52fff144b649b54230b98ff3a7ef92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackFormEnrollment (cyclomatic 19, cognitive 13): stageSlackFormEnrollment 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8490a6c2959b368fbc1e7a425aa70c3d14f970b206a102d692ed27ce2f7c51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSlackSessionStatus (cyclomatic 19, cognitive 13): setSlackSessionStatus 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":"server/src/services/chat-slack-sessions.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"daac49427687b377b365cd9d3755c0e672fa41249bc51ccbca22b9754d498410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffChecks (cyclomatic 19, cognitive 13): handoffChecks 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":"tests/restart-chaos/workloads.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2633c6ed77602384a0bab3d0ce11f079248a20a025f34dcacb0113332e1730"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNotionRevocation (cyclomatic 19, cognitive 13): gradeNotionRevocation 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":"tests/runner-e2e/chat-catalog-domains/external-notion-revocation.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c30d2eaf626d2bd7d5d723c64d0d65386fe7ac68676f9c2555e0a8a9843d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDependableQualification (cyclomatic 19, cognitive 13): gradeDependableQualification 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":"tests/runner-e2e/dependable-qualification.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1412c9b099396d441ece4f7c79f76f4b700f66bfe65227a91b58ddeacd52d791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectChatFileTransfer (cyclomatic 19, cognitive 12): projectChatFileTransfer 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":"server/src/services/chat-publication-batches.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c039c53c9b36c45830597df5ec111b612a6ed83c91989ef763fc2bc96cc61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceDeliveryCandidate (cyclomatic 19, cognitive 12): workspaceDeliveryCandidate 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3c6d0e96c4d96abae9fed580f0b49cbfafbc3350df694f32a28d3d4bd79758"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeHarnessBackupStamp (cyclomatic 19, cognitive 12): readNativeHarnessBackupStamp 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8226648889f75002bc2c24d44a30042283bed8c3b3b780be553c6c2f213927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 12): main 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":"tests/runner-e2e/chat-catalog-domains/runtime-daytona-destroy-worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ba913ff8510a68c408776f575d472e636a4dd91b03f61c284abca5388d7ae3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filesAt (cyclomatic 19, cognitive 12): filesAt 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":"tests/runner-e2e/chat-catalog-testops-streaming.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c0be4a99f0e2af8887d38693e16b16c675766ee78bf53ad9e386c72395892c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 11): main 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/paperclip-runner/scripts/capability-clean-room-smoke.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4899d82d9146e20ffd2e1fbb7c2c24cb417b2079db3bc92295a0943dacc82f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseConfig (cyclomatic 19, cognitive 11): parseConfig 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/plugins/sandbox-providers/createos/src/config.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff3eb7a85e71c0020c42b315e626f0105ec160dd8ebda0a26bccdc719f5206f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function successfulRunHandoffStateFromActivity (cyclomatic 19, cognitive 11): successfulRunHandoffStateFromActivity 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":"server/src/routes/issues.ts"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"64725ef388f27c7a19efa3d9a4573f6e7d7194f130aa081571b1a5312d4bf816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasSettledFailedPreparationEvidence (cyclomatic 19, cognitive 11): hasSettledFailedPreparationEvidence 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9815bd9a4239eeaa7a811b396cceada424b1d7e70cb7eb7a2f85241ff15e7590"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isUnstartedInheritedFollowUp (cyclomatic 19, cognitive 11): isUnstartedInheritedFollowUp 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":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c904ae11939fa65292625de47376f2d17255684fa4a95801b470a3eceb6585"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readReadyPortableTaskClaim (cyclomatic 19, cognitive 11): readReadyPortableTaskClaim 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2a1389a441ff849e87a7602352b95f8f0b9ece1fad3ac1c45727f39ed77c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isProviderUnstartedWorkspaceDeferral (cyclomatic 19, cognitive 11): isProviderUnstartedWorkspaceDeferral 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":"tests/runner-e2e/product-journeys/workspace-deferral.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c0bbdec4f4453f575f9885b3d6a498b595bfbd5da5bb05fd1a5bc3a746275e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notify (cyclomatic 19, cognitive 11): notify 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":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e887d99e359532c8c423a560f319ed396936714588c470b324ba9447a1e04bf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureLegacyDurablePrpCheckpoint (cyclomatic 19, cognitive 10): captureLegacyDurablePrpCheckpoint 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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b0f4555af0c9c0649d11c4b42b52ad5b8e57df04c34fbdafc02c9568775b0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeBoardResponseWaitOrigin (cyclomatic 19, cognitive 10): readNativeBoardResponseWaitOrigin 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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4140de4c09819c3d3dea6d8b98f8dc46fcf77e1464f2636e27947d0eb2f5c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 10): (anonymous) 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b77f531712da8bb04470fd1a6022b36faa134bacb7815a5a3add0df7c24ebc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeBuiltInConfiguration (cyclomatic 19, cognitive 10): gradeBuiltInConfiguration 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":"tests/runner-e2e/chat-catalog-domains/runtime-built-in.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"253f027ad3b83a1fbd3cb3d4f104e4a1bf6636466fbafcd8f0cbc13a98b3f712"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePilotSelection (cyclomatic 19, cognitive 10): validatePilotSelection 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3e853c6222e482c60fbaceb93fd0c3f2108b4672a4426c2d9be8a4e25aee22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMigrationPoint (cyclomatic 19, cognitive 10): readMigrationPoint 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":"tests/runner-e2e/legacy-workspace-migration.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d3049ac60b906fe681862c431aabc5c66b1621ea842b1424b6379696f46e85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 10): (anonymous) 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":"tests/runner-e2e/native-completion-scoring.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc88bbf307330de568a9724b76482f4eadbd7df95ff7c2b3245d48377e45ee99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savedGitWorkspaceRestoration (cyclomatic 19, cognitive 9): savedGitWorkspaceRestoration 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b628a56705539850d2482848286117fd2a96740d71754351c9da5d5b748f5c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstAudiencePasses (cyclomatic 19, cognitive 9): firstAudiencePasses 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":"tests/runner-e2e/chat-catalog-domains/internal-notification-audience.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbe594a9186c66422961103194f37f349851f6fc3887c95845d9cc37789297b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeControllerRestart (cyclomatic 19, cognitive 9): gradeControllerRestart 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":"tests/runner-e2e/chat-catalog-domains/runtime-recovery.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1c6737b0a45c153988b12e8312821dabddd4c13029b7d93685a89231ad4104"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validVaultBinding (cyclomatic 19, cognitive 9): validVaultBinding 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":"tests/runner-e2e/chat-vault-private-server.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa791864127480e28165c9eb3b37c8f947e177e4c3bc75c5574eeaedd884150"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillRepositoryDependencies (cyclomatic 18, cognitive 42): skillRepositoryDependencies has cyclomatic complexity 18 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":"server/src/services/skill-repository-dependencies.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"845d4c9f19322a8bfe102814855b0eff98fe023e31bf665b0a03c84788935dd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeNotionAuthorization (cyclomatic 18, cognitive 40): completeNotionAuthorization has cyclomatic complexity 18 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca539b95c00b39a92a3b5152e6c3b96bf18537d718095a4c38286cc2a63e7d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractManifest (cyclomatic 18, cognitive 40): extractManifest has cyclomatic complexity 18 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"300177f8123e083f053bd6d316c52ea5282002c558c8a30f8400c01199dfa7cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyPrivateFrameworkReport (cyclomatic 18, cognitive 40): copyPrivateFrameworkReport has cyclomatic complexity 18 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/private-framework-report.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894c573941c2079bdfd690c2c1d08dbab662e2c5f56eb485098c96b96dadd17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shiftReviewClockWith (cyclomatic 18, cognitive 39): shiftReviewClockWith has cyclomatic complexity 18 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":"tests/restart-chaos/journey-driver.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"94748b65e525457bb9f2e64d29c8045619b32dfdae6cd58cddb770af8e73f950"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 18, cognitive 39): scan has cyclomatic complexity 18 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":"tests/runner-e2e/artifact-budget.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"808c0314ed941beba07a56df1df762f7a4b7edce80d95258005f4d414b5584fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePiRuntimeConfig (cyclomatic 18, cognitive 36): preparePiRuntimeConfig 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":"packages/adapters/pi-local/src/server/runtime-config.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fe81c339229a869062c23a8fca4d4afa40b70a2e12ba512afe3aadb3c61efa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFrames (cyclomatic 18, cognitive 34): readFrames has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/codex-app-server-unix-proxy.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cbdaa9d8f1c35f0ebb7fed0518da1db23197ec9e5cfcc38e64b53d3a67032a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pump (cyclomatic 18, cognitive 34): pump has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe426a9ac3f7580717af0aeb1a744f77d2a49eb8a27f7b6463051eaf85ddc4e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 34): (anonymous) has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9672f603f538cd92c3980cc6b5cb2ed08ce904cac5f7a63b8829e35167a609bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindingIssues (cyclomatic 18, cognitive 34): bindingIssues has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b59f244b633660aace5275215972c3f68865f1d9d6d0aecc5ad4266382891fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireRequestConfirmationsSupersededByHistoricalComments (cyclomatic 18, cognitive 34): expireRequestConfirmationsSupersededByHistoricalComments has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5024}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcd47485463ee2b0236f16313329a450b72aad8984f9de5329ef6ec90433b92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeRunLogChunks (cyclomatic 18, cognitive 34): mergeRunLogChunks has cyclomatic complexity 18 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce56acc1bc9ea4509ce36e928edf07193f3288c74d9172d3374269617a6936f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 33): (anonymous) has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0467466571a7ca3f4898a673be83bcf32e20ae13ebb6630c34d4d837d45a75de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureCodexSkillsInjected (cyclomatic 18, cognitive 33): ensureCodexSkillsInjected has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"996bf15278b38e9bef7a139c606579fa18e62999bfdea5197f2134b76ba22c1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 18, cognitive 33): parse has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-staged-handoff.test.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e7b714139bb3b38f76e3bc3596b183f53ca1e558d23c4ff6737e53770b888e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepOrphanedIsolatedRepositorySources (cyclomatic 18, cognitive 33): sweepOrphanedIsolatedRepositorySources has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ca3f9916b73641e26aaae2d1cb517e61c3f6afdb4478f8ff06a66e53d31016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectCodexWorkspaceDiffsFromTrace (cyclomatic 18, cognitive 33): projectCodexWorkspaceDiffsFromTrace has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-trace-workspace-diff-reprojection.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5ba86f68e7a67a3b8b6d590e35e1cab3e5788dec49065c7c859dd6fc471872"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 33): (anonymous) has cyclomatic complexity 18 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/antigravity-journey-ui.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89b697f9091967f18b29a3ff0a937f868e01ba7abf3e365542f410e03f994a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withHotRestartLock (cyclomatic 18, cognitive 32): withHotRestartLock has cyclomatic complexity 18 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":"cli/src/commands/service.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb009ca65e43e2c0b769725c5d563310bc4a7f849bb8c607f670254f7607ccf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanChangedPaths (cyclomatic 18, cognitive 31): scanChangedPaths has cyclomatic complexity 18 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b4d6ffc6ed181828de290c81514e9e47901ed348bd6c5b476ce160b15d3ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitSqlList (cyclomatic 18, cognitive 30): splitSqlList 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/db/src/check-migration-safety.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2378e9f065203da1e4ec53d3774102ee4e0d811ae44d4c47795113ea616d7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookupLowTrustSourceArtifact (cyclomatic 18, cognitive 30): lookupLowTrustSourceArtifact 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":"server/src/routes/issues.ts"},"region":{"startLine":4388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b339764b020732e09466354141dfc83beb5da28aef3996b4268d36a7aa6be93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityParSection (cyclomatic 18, cognitive 29): antigravityParSection 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/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2842380805770d20d7bbd76e662020622ba07e5d94ef0f67ea30e6fdbeb37a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unifiedHunkFromTexts (cyclomatic 18, cognitive 29): unifiedHunkFromTexts 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0dd2d09b18c974345d0bd36350e302ece7bcb206b49b317d3294c9fa6c2f75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 29): (anonymous) 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":"server/src/__tests__/tool-gateway.test.ts"},"region":{"startLine":4852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0185867c364f6a4a61012e7bb5d638abe73f1ec414e55398305e688d459fe7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAvailableSkills (cyclomatic 18, cognitive 29): listAvailableSkills 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":"server/src/routes/access.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51a89024c0a460450a225f4ce9533cd19af3266c3a96ad37ef7c8a11c487417"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planRefs (cyclomatic 18, cognitive 29): planRefs 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadb5d95eaa74c3451d77ec31b89b66942fa645a4fab5643b7b87d5aed91de46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRemoteHeaders (cyclomatic 18, cognitive 29): buildRemoteHeaders 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9eca174973f881879b91a91d7472bb02c38111205f52cd787f1093f1a531e"}},{"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":"packages/paperclip-runner/scripts/patch-kimi-runtime.test.mjs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8c7043683b0bd95d8793c5540bcf091b15ec5fc049dc678bbc02c71ce445c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManifest (cyclomatic 18, cognitive 28): validateManifest 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":"scripts/app-brand-validation.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"54695c73c1c4727c9bb5b6a203fc38f3b31a35d4941827e3fe6a94da7e219c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkRunnerImageLayers (cyclomatic 18, cognitive 28): checkRunnerImageLayers 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":"scripts/runner-image-oci.mjs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"487c30725be64cbd3a8d2956138df8af7ba129f6ce6cd2e0eaa8341c2d5e9c9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeUpgrade (cyclomatic 18, cognitive 28): authorizeUpgrade 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":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1c93e150b16dcd638271b9479e651495c54e3885a103a8486c44acb1f40ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function elicitationContent (cyclomatic 18, cognitive 28): elicitationContent 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":"server/src/services/mcp-elicitation.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0091817295571dc40d940977cd882242380b687e2d17d1b8e8cebe798c69ef9"}},{"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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaefacacfbe7387ee1ba7e3e8b5d26b006544846027ef7b98b65987ab2e90f12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planMcpTaskInput (cyclomatic 18, cognitive 28): planMcpTaskInput 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97303bdde79eb89aaf6882b74794ff0cddd99acf1ca7facca8916d1020938d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reasoningSummarySections (cyclomatic 18, cognitive 28): reasoningSummarySections 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":"ui/src/components/task-chat/reasoning-summary.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd7ca758c152c7465213d754cc20886b544fe485158c393022bfb3f4af2396b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMcpIcons (cyclomatic 18, cognitive 27): readMcpIcons 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/shared/src/mcp-apps.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe19a6ab274b21add03116c9a6ef71809fab41c58e7a2b02c6bb332f02fc028"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCatalogTeamSkillPreparations (cyclomatic 18, cognitive 27): collectCatalogTeamSkillPreparations 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1db4cdf6400f05bca397f8913bac2337a215e585fab9c02d599e97181e85112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPlan (cyclomatic 18, cognitive 27): loadPlan 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":"tests/restart-chaos/main.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c1feef129fd07e1f370b401ad4ef93fef686b8af44554a909079adf4fb3bd1"}},{"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":"tests/runner-e2e/product-journeys/hire-delegate-flow.test.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d9aa39a79547573aef46948b1e0ee328182a1c8fcd79caf41cd13f0751020f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayCheckpointedTurnTerminal (cyclomatic 18, cognitive 26): replayCheckpointedTurnTerminal 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":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1562c51756585e35901e38d03b06721e9716de318fcbdc9cc9cbbbba8057a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 26): (anonymous) 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":"server/src/services/access.ts"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ef9b26b6967cc460bdbe95c900d9da71217282f4bcece8a9fd0e2527e2c550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleGitHubWebhookEvent (cyclomatic 18, cognitive 26): handleGitHubWebhookEvent 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":"server/src/services/chat-channels/github/webhook-events.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea3d756c73527be4db0ac6ced5391f208fda3b8e425d7b015224eab3b92c7eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 26): (anonymous) 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bacc0b433f46dc09627074e803ece1bbd3a863a99de7ae1d660752c9e4a5440"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAgentJourney (cyclomatic 18, cognitive 26): runAgentJourney 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":"tests/runner-e2e/product-journeys/agent-flows.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daf46362cc23af936d5be91ea0c13c4e4585bffe49295264d1fd74c60726908"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareTriggers (cyclomatic 18, cognitive 26): compareTriggers 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"83709941c755f4925ae70570347a6f6352afff9c2a85e5831eafcc7a430ec059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffPaperclipWorkspace (cyclomatic 18, cognitive 25): diffPaperclipWorkspace 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/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b3b7e02bea2603361fa7c90bead0b7a4e1fa2be7c025398ce4ff6b06d3e154"}},{"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/plugins/sandbox-providers/daytona/src/file-sync-capacity.test.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6478d4a600413ed63531a3286f8843cfef63740a93a8815bb09f981f1d882208"}},{"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":"server/src/__tests__/railway-connection.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b3f229b5449d5c3d1d1506355ca1b2a263a2745a0f82cbbba638f38841eb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAttentionCardAudience (cyclomatic 18, cognitive 25): resolveAttentionCardAudience 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":"server/src/services/attention-receipts.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f4bd6b7282b47e6b23b72bef2e42110c0824df1fefa996fe45f49b07ce879"}},{"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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dceac0246c280efb2c86c49d367ab1ebaa75d4d4187f39513eb0c26097a06480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invocationToolReads (cyclomatic 18, cognitive 25): invocationToolReads 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":"tests/runner-e2e/chat-catalog-domains/integrator-routine-invocation.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c19096d1e844cebaeaef084614bea30faf896f475a2e82ec30af5b1a8c5c73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePublishArguments (cyclomatic 18, cognitive 24): parsePublishArguments 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":"scripts/runner-image-publish.mjs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e89402420552493bf8c5fc06cbd71e7c630ed8f1ba32f6bf579980c85fb853"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCloudConfigurationQualification (cyclomatic 18, cognitive 24): runCloudConfigurationQualification 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":"server/src/qualify-cloud-configuration.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"438362ac34fc8b98fa4fb50553b9999960d2e0eaa48c3974647d11d9fde06b2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueSubtreeDiagnosticsResponse (cyclomatic 18, cognitive 24): buildIssueSubtreeDiagnosticsResponse 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":"server/src/routes/issues.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e520aeb7abd3f40c69128eb50c70b0e72fd4188a4b28d7df01f503324f24bb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usableConnectionForAgent (cyclomatic 18, cognitive 24): usableConnectionForAgent 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":"server/src/services/connection-intents.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a53dfc81a74b75d053f0de8b5ab4632ddef7ac6cb969458dfcb055932ce7a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 18, cognitive 24): prepare 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1038455c9194ff0a96740cce6049889b76fdc1d445d9603d0813eb6ad45f77ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeSecretUnlocked (cyclomatic 18, cognitive 24): removeSecretUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":3464}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d559e60f620bfee5b54d65b7373fe2e91e718152c7fa3accca4533b8eaa9bbd"}},{"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":"server/src/services/workspace-recovery-retry-copyback.test.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3b55d4396b4bd8b50ef920fa8f4cd7060f5e7edbeee122a694220ab8991bd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectCellReportProducer (cyclomatic 18, cognitive 24): inspectCellReportProducer 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":"tests/runner-e2e/manual-private-report-assets.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"415b396f9674a498e9df27c547210b5f03fdb9497682e58084273690b5b067dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runProbe (cyclomatic 18, cognitive 23): runProbe 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0125817deb532f913731c187777b6144940349715bf74e561b9d86ae505316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCase (cyclomatic 18, cognitive 23): runCase 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/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d052123bf2f4cc51a50966b7aeffc13b16d23fa238a842c7b8c99c7e376a391"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 23): (anonymous) 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde3a9e1b9c148a7bcc55f94e952280a5e58faa4d3ab9baf05cf4b8575bead1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 23): (anonymous) 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/paperclip-runner/src/protocol/result-normalization.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dc8108771bb85f98e90830f7b9356da5dcc65b794e35fbe68dd4939aaf5859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentInspectLease (cyclomatic 18, cognitive 23): onEnvironmentInspectLease 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3385}}}],"partialFingerprints":{"codehealthFindingId/v1":"219099728866c23de95e8eaf3061adb606e3e3beeb3bb4cd81e3f5a93d3a51ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 23): (anonymous) 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":"server/src/routes/board-chat.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13de52cefb719e23b05198a4681d2f0adc3b49af71d12e9eac556619ab61d3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScopedApiCompanyId (cyclomatic 18, cognitive 23): resolveScopedApiCompanyId 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":"server/src/routes/plugins.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4347cf73cd3555a85b6b7ad444e70b579105c8fb491c7f65f138e79bd7fd69b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticate (cyclomatic 18, cognitive 23): authenticate 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":"server/src/services/muse-identity.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"daea568a5b79e5ed729fa1a79bd62e59bd44ad82891b7ebb954afd7ccf2e6765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function secretRefsAsIds (cyclomatic 18, cognitive 23): secretRefsAsIds 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":"server/src/services/plugin-config-validator.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5e4dac17d95a2e9c1ebe8a634f2762824509a2935985b1ba091969bd9178c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleRecoveredWorkspaceRestoreHolds (cyclomatic 18, cognitive 23): settleRecoveredWorkspaceRestoreHolds 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":"server/src/services/workspace-restore-hold-settlement.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91f18f6b0259666819991ede521450c2d945aecebd39a0b559913bf19108938"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listExactVersions (cyclomatic 18, cognitive 23): listExactVersions 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2320f2f8795c97f1dae7287369036ec24a8d8404f9d841abd1f1dcce9bd7bf0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 18, cognitive 23): get 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":"tests/runner-e2e/pi-controls-flow.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b792156f8232767bf92316024926cf4c527c9ef41d5da567783f9298410f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAgentUpdatePatch (cyclomatic 18, cognitive 23): buildAgentUpdatePatch 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":"ui/src/lib/agent-config-patch.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d38659b0cf58e16480fd33d62a71c1e29c12386e0e1de8d0279ce2c09b8ec53"}},{"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":"cli/src/__tests__/install-command.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e870a7dc437316451641924c6005764d3072bcd925b9241ea9f558fb9a5c1912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEvent (cyclomatic 18, cognitive 22): handleEvent 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc53940f00a3ce4fd1f9924d8814efb1a49f688d281b89c76a685d2e1630a71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGitWorkspaceSnapshot (cyclomatic 18, cognitive 22): readGitWorkspaceSnapshot 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75d0ef2236b8b90d9fd7ad104699316d8d5d7b35ec0a584358bcf8adf8d1a2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeRuntime (cyclomatic 18, cognitive 22): closeRuntime 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb966bb28280d7cf7dff0610cb75612b6ebd85b0debf7fde4970b28446f922a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 18, cognitive 22): list 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/plugins/sdk/src/testing.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"373a4fa5fe634c327761ff3cac831b12cc31d7564679290988b853a6b1f5afb6"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":66376}}}],"partialFingerprints":{"codehealthFindingId/v1":"74456e8f719cba21190fafa092498fc9d04a107badaa87d04be671d44c991f14"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":4175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a9f2d12aac72fcaff0fa66e4099a20072db4b6c636dc8b6f3c9597be442ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSecretRefs (cyclomatic 18, cognitive 22): collectSecretRefs 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":"server/src/services/agent-secret-bindings.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e80174daf01fb97a895745048000219502c1cb312ebc07ce6264d363f4ed5ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 18, cognitive 22): execute 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"9684f52ec58096f13c90e4a5de3065ac0ff6fb3b98102a5c1bfc5efc919b5976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withChatControlRecoveryGate (cyclomatic 18, cognitive 22): withChatControlRecoveryGate 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eeba24445aa7fb307170640b35ee4057913ec3852a5fa333d5a3e26eaf62016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIdleRoutineSchedule (cyclomatic 18, cognitive 22): readIdleRoutineSchedule 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":"server/src/services/idle-scheduled-work.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"219f3a0cea2bfed97ced90fc8c055bcbb2030f2274301e3871bca13ccfe473ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeAnswerTurn (cyclomatic 18, cognitive 22): observeAnswerTurn 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":"tests/restart-chaos/journey-driver.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"808efd73fec82b9ed36876babdf728cd9fc7a02ff417313156a12a23eb63088f"}},{"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":"tests/restart-chaos/release-swap-driver.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f343566a989b0370865bb1ff28df4f6ae87cca87059768958e1e64b4b3dccd25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeltaEvent (cyclomatic 18, cognitive 22): parseDeltaEvent 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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a40bc199e303d9c3f2a613a48008ed28b592c0915a470c680cf5df8e9652a1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PropertyPicker (cyclomatic 18, cognitive 22): PropertyPicker 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":"ui/src/components/issue-properties/property-picker.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c3e556240e0a660682bbdd1c0028e58088357c820038da05407ac9e023132b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function piMcpToolError (cyclomatic 18, cognitive 21): piMcpToolError 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf26f37ba4972335258950618455684328f7b002138427a649848b35c14d54e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRunnerToolBridge (cyclomatic 18, cognitive 21): startRunnerToolBridge 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e584bab53492cb4fb134e543a38326765a81cce70c60ed7f136c6f9736b35a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAgentOrgChainHealth (cyclomatic 18, cognitive 21): getAgentOrgChainHealth 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/shared/src/agent-eligibility.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf12e8f05ac2eb222020b8fb15e1483cca57ebfdccbafda4863ce912a040faf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eyeContour (cyclomatic 18, cognitive 21): eyeContour 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/shared/src/cliplab/face-morph.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a808a740701d9f563a10219f57147a2366a131bf823e586a8616ad5063bbdc04"}},{"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":"server/src/services/attention.ts"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e1ac9a390903c5779c7ca6819893a52ab0a5ae2cae370e8f47b257f13d44c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubSourceUrl (cyclomatic 18, cognitive 21): parseGitHubSourceUrl 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":"server/src/services/company-portability.ts"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c33f83af9dc5dc313cfef37b47e049d8ceb0be8ceba9b731a1b2f8faad4bf98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fastResponseModel (cyclomatic 18, cognitive 21): fastResponseModel 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":"server/src/services/fast-response-provider.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cd2a058fa8b1f19f2ebc20fcaeb71cefe5bec4cca3a957ab518ccc3c3c8a71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectNativeRunActivity (cyclomatic 18, cognitive 21): projectNativeRunActivity 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe3384813d25ab186cf7af69859ff72f501515557cb2fd2f694cc34c179656"}},{"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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05ae1cfc4d209d8ec379e2cb2a98503ecb15b805740844b3521798582623744"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutate (cyclomatic 18, cognitive 21): mutate 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf4ec899f372c224295732133ffa198ce56aef47049b78393e12c7be6463cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePhotonQuestionAnswer (cyclomatic 18, cognitive 21): parsePhotonQuestionAnswer 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":"server/src/services/photon/interactions.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c4f4f8975c7b042c248997f42f82062de019cb1dc968aeee62e682c8d233d"}},{"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":"tests/restart-chaos/daytona-image.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd2ca5c0a8bea3ed676cbfd555a0a6fe70c06b065433cb9d74014cc56500c3d"}},{"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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec44b675f6b654b840048456c131df98138ebb072e3c448cb287174e69f2e49d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diagnostic (cyclomatic 18, cognitive 20): diagnostic 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d51ba324ce9b2a91dbb3762e766734dfeee30bc2b19c5769c0134c5e936776b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexStdoutLine (cyclomatic 18, cognitive 20): parseCodexStdoutLine 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"188b27245f194ac1f4a725fe64aa0af4342345a57181de5d9b068044d93bfc5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPiLocalConfig (cyclomatic 18, cognitive 20): buildPiLocalConfig 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/adapters/pi-local/src/ui/build-config.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"083885f1d062512dd1362df7f6186b08ef1999f12feb4e94f0ba6a4b882d3fde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalJson (cyclomatic 18, cognitive 20): canonicalJson 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb851d890c1694553470114d3cc350f5aef22521ff0a7738e24434022a56040"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trustCodexStartupRoot (cyclomatic 18, cognitive 20): trustCodexStartupRoot 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/paperclip-runner/src/drivers/codex/codex-startup-trust.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06c6511df945361e56b4e1d88423dbb6052652df966efdad59e58ae95527e01"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":8877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6e6eb331fa1c01cc71ec76105b8fcdbc89bb30f9bfd2095ba9bf4fa3df2f3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSlackSessionStop (cyclomatic 18, cognitive 20): processSlackSessionStop 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":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb941be076724bec3f7b0d2c596ec3c998a371ebe79a861da5d9298dd2d2ca0"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e2419e44bcfac0226766a6956106f0c2cda21f180ebc05ae3d7269e795eeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLoginEnvironmentTarget (cyclomatic 18, cognitive 20): resolveLoginEnvironmentTarget 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":"server/src/services/login-environment.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c98aea314534e7850bc7fe11dc6743e8f18e4473fe1eea16e2bb7ed62550d92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 18, cognitive 20): request 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":"server/src/services/photon/cloud.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"912456d0fed64ec23efa27e4b3a7d58adaf42f299a1d6ab74bdccfaf0b5173a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enableCatalogEntriesByDefault (cyclomatic 18, cognitive 20): enableCatalogEntriesByDefault 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29f43bcbe394578acf23f76281c32a9d846e8228d48c53827b041423ca3e07b"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-inbox-triage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563359a24851479a2af8f08e64f12879894a17f91a1dd78822e89bab844f769"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncExternalAdapters (cyclomatic 18, cognitive 20): syncExternalAdapters 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":"ui/src/adapters/registry.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2f5028fd9bda979d2ea5dd692f400cf1b183854903f02db761e3079d2caff2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolInput (cyclomatic 18, cognitive 20): summarizeToolInput 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8eb00710700b87bf6d5369decb0a4909d301ccc3c0df700faaafcee7c68631"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCanonicalBridgeRequestPath (cyclomatic 18, cognitive 19): parseCanonicalBridgeRequestPath 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d01dab5dc6a1886bd65f6a22c619f467186a65e018b138c2da805611fe523dc"}},{"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/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":4574}}}],"partialFingerprints":{"codehealthFindingId/v1":"95caef9b7dc5fdcdc8fbce175c0015a5ea1722e88aebd6b89d0627e6faff48a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundedToolFileChange (cyclomatic 18, cognitive 19): boundedToolFileChange 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4f1ef927d603ca39334fa737b4fb098b49442c4428a7bed2f0d865b3889974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WikiPage (cyclomatic 18, cognitive 19): WikiPage 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fa01d76a2cc3599ea9c9d9c915820c95cc0ad372e0e1dc893e3e7f3372bc46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareBundledPackage (cyclomatic 18, cognitive 19): prepareBundledPackage 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":"scripts/prepare-bundled-package.mjs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"086787c1a8f7f3deb9905cc61b21a75bb623bac0d5ba853fb0666fad6d76423f"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":65419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93d5dd483d1729255f256e4638e2ab2e4c3aea6deffa42e871b1f01f3c0578c"}},{"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":"server/src/__tests__/email-channels.integration.test.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c850e4119b9771c28adee428a388ca59bbb2315711535d20f6c02f107bef83a"}},{"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":"server/src/__tests__/heartbeat-workspace-source-trust.test.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae91f756e92d7ae30cc4d39114c88f158fd81959f12603ff57015c58e546b9dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateOrReservedIpv6 (cyclomatic 18, cognitive 19): isPrivateOrReservedIpv6 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":"server/src/routes/access.ts"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a889bfd81c40af60ecf51d419330d89114c60dd7234bbc74e688da6bd0615810"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentmailErrorHandler (cyclomatic 18, cognitive 19): agentmailErrorHandler 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":"server/src/routes/email.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee635f7d6967f5842f6ea36e8a964c8ca4cf92adbf66a8821e7f112aae904a80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeConnectionCapabilities (cyclomatic 18, cognitive 19): describeConnectionCapabilities 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":"server/src/routes/tool-access.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b29747fb4400eea8b81a25635868017904ded0d909b337b520c095af01c8eca"}},{"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":"server/src/services/chat-github-management.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63b5a1484235d214436655a64fc1b9d126405013a88270ff14a1c097c8d934f"}},{"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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12680ea63db1fe7aa2f152db0eb19df23544f1c097b1d20d5e97dba4da761db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 18, cognitive 19): observe 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":"server/src/services/native-runtime/native-tool-trace.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1ef7b7db512b5216f86887a62d5f62d9234043f07a6337aae10b8fee8de38e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendRequest (cyclomatic 18, cognitive 19): sendRequest 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":"server/src/services/remote-http-fetch.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad350a66169d6d0bbb0efa8c6ee2ecb568ca161cf268993d82fe4d9212787481"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTaskWorkspaceTool (cyclomatic 18, cognitive 19): callTaskWorkspaceTool 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":"server/src/services/task-workspace-tools.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cc84388afab93fc49d56f5e0d2bfd1ef01835378b5c58cb851aa9002f6c5ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 18, cognitive 19): observe 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f44a5bc87ee830ab858a9f3f157151d4acd46e38e3ad13286fe99819b024f6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexExecArgs (cyclomatic 18, cognitive 18): buildCodexExecArgs 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/adapters/codex-local/src/server/codex-args.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44022f9b90e563de316dac28bd80423936a3e2e73e08e0734b31c5785aa6a90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownedDirectory (cyclomatic 18, cognitive 18): ownedDirectory 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b3bb35e3c12659ae850c05dc0694c3d3e3e586fd162b69dff33d330dceb58a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evalSessionUsage (cyclomatic 18, cognitive 18): evalSessionUsage 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/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"932fab45c0a4bb24ac9484748b69c8abee38c47d14c30235cf11ac3a5cb093f2"}},{"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/paperclip-runner/src/drivers/acpx/private-snapshot.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea849a8f1abfa0d2fe3179308bb2697862dc9ce77b50aab1849d412e8797ab72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPaperclipRunnerEvalCompatibility (cyclomatic 18, cognitive 18): assertPaperclipRunnerEvalCompatibility 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/paperclip-runner/src/evals/compatibility.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30383f853f02c0394cbbd856cabef34e0aac34450826cc5d33df4a6a88d05a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #claimReleasedRunner (cyclomatic 18, cognitive 18): #claimReleasedRunner 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4949}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f256767701937f7383b99159d242a0bbdfe35a534c5416378efed0d71c0e6e"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":85929}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e5aeeb5ad0ebd1f4d43489f538240d3d9ff879e2db09297353e92cc5e56077"}},{"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":"server/src/__tests__/heartbeat-undispatched-execution-wait.test.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2778f312c0644fd59189a6dd5ee8d2badadd7efa09cd6aab91ddb954271f02"}},{"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":"server/src/services/agent-project-access.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aeae84d404940ecfb97262ec06b8988df2a2dbe67f90383a7e4b9adfa7dc81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramConversationLink (cyclomatic 18, cognitive 18): telegramConversationLink 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":"server/src/services/chat-provider-links.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5277e3c740220819e191de3c3ebf2913a47e3b5be419dac9656b4b3b76d7cfd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishAuthorization (cyclomatic 18, cognitive 18): finishAuthorization 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":"server/src/services/connection-management.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bc97e13786fb4c74e858c447e6cb983c0fd86e86eab0ab8338666bda7788d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 18, cognitive 18): run 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":"server/src/services/deadline-work.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8adc3f8f6ac3d7524619c5542971a4c24d40f84e88f67d5778a7178a7d8b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releasePluginBackedSandboxLease (cyclomatic 18, cognitive 18): releasePluginBackedSandboxLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1050a68504d25ae848cc444fa0215bade84de2e349d0e68ac80e78f20f97bfd5"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":8044}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3952e8f995083adc2c99b233162d403eaf4580c8907ebe98809f01ac27a1911"}},{"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":"server/src/services/native-runtime/native-preserved-monitor-wait.test.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba7a7ddf860f17675eb2871429e11adfbae0aaee116629ac95f5df805cc4ea9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeRemoteNativeCodex (cyclomatic 18, cognitive 18): probeRemoteNativeCodex 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":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8f94fd0a8ded616a28350dd7b1d1cfd52a0aec11078e163e06cf5395a10962"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 18, cognitive 18): open 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f064f5631771489382b0fc057cf08b659556b960330d8e4ed895aa453c9d209"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleLiveRunnerGoalBeforeInterrupt (cyclomatic 18, cognitive 18): settleLiveRunnerGoalBeforeInterrupt 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":"server/src/services/runner-goals.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"795d7c6c6cc2a772c2b0dd4298e7c4e3048f79df6343aa85c07ab3adcb08dccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTestCallStatus (cyclomatic 18, cognitive 18): getTestCallStatus 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12171}}}],"partialFingerprints":{"codehealthFindingId/v1":"443a492b334a9e6bc465d3633ebb85c1d3cab7ed78712a9c66ce7fb3b856b184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTaskRead (cyclomatic 18, cognitive 18): classifyTaskRead 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":"tests/perf/collections/recent-task-open.spec.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea0669f692bae7b9aa52742e243fb62f703142b94ba601e34ec17505749d6ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScopedCompanionSurface (cyclomatic 18, cognitive 18): runScopedCompanionSurface 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":"tests/runner-e2e/chat-companion-surface.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db0e790c8d901b94485c8e71a096f9d931fd7a3587c0b60d3ed0d3b9674cf28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertIsolatedServerEnvironment (cyclomatic 18, cognitive 18): assertIsolatedServerEnvironment 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":"tests/runner-e2e/harness-env.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"34349a252c1c32c89897ddd184e4a5171549b57488d6a90247cc58f4f66a4d06"}},{"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/adapters/hermes/src/server/paperclip-task-bridge.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d0ea47a45604886dedaf20f1ca0052762765f57206fa5010b465703c8fadd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 18, cognitive 17): snapshot 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc6e9e5f176329d7ecf669ff9e359e31ec5563ac937cbe261e09822e2b257fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createToolCallEvent (cyclomatic 18, cognitive 17): createToolCallEvent 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/paperclip-runner/src/drivers/acpx/acp-session-update-event.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eceaa7a91af1e592bcaf51dc3d8884b3d95c5e597371c780203080c9ffa7c89"}},{"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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"82daa0a15fcb6fc16393c2c58fa50d1567c5a42728d81b468e389efa8cbe8c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startTurn (cyclomatic 18, cognitive 17): startTurn 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f9be8e735bd33cf88807ef200b168351ed802ac972d0d0f82794fc1995986"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetcher (cyclomatic 18, cognitive 17): fetcher 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.test.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb8579dacffebc5e6f058a1fae7f9b1f02db6a5ea9e508a93abdfd9c4764e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deterministicObservation (cyclomatic 18, cognitive 17): deterministicObservation 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/paperclip-runner/src/eval/workflow-harness.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d36d8daa92d16b57ebcf2643a3788bd1882a5771285a1c085a3bd068cee93"}},{"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":"server/src/__tests__/heartbeat-observed-workspace-preservation.test.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d387af89ca95bf1e45a3fd79a567b8a28c9b5893f9a8a67ec5ecbbf6673998ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedRunFixture (cyclomatic 18, cognitive 17): seedRunFixture 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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce36ad51895100e3e1f74c3a2b20e74db31d3e4f6224403c3475774c0369a3ca"}},{"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":"server/src/__tests__/idle-sleep-safety.test.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e3136ac367512fb267379d69efd818dfd2c8146412bbdb40073363ee56a951"}},{"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":"server/src/__tests__/legacy-workspace-restore-recovery.test.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3196f297cc7a37546d6c6a000b523c1ff99bb542135379d5cbcd3828879a72"}},{"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":"server/src/__tests__/mcp-elicitation.test.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba1112322e05479e5a2623e3dd186abc2a378eda387c2268fddc4f6634fc32f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveBrowserTracingConfig (cyclomatic 18, cognitive 17): resolveBrowserTracingConfig 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":"server/src/browser-tracing-config.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91496cdf0857f971dd9e1685753edc2dd24f3c343bed6262fa448c81b14669d"}},{"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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90da4aa3f755a0e861b0ad9fb04e72e1beb51a5285342028b64392414659b15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toCompactIssue (cyclomatic 18, cognitive 17): toCompactIssue 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":"server/src/routes/issues.ts"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e967bcdb0305ba400a41a73aea82fd594844d48402c3cde82814fade227cc99e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueListActorIdentity (cyclomatic 18, cognitive 17): issueListActorIdentity 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":"server/src/routes/issues.ts"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd46a59564c89cca12990f679d324813f2e3a625b7810afa87da05efd300b2e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadWindowStats (cyclomatic 18, cognitive 17): loadWindowStats 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":"server/src/routes/user-profiles.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a63384cb512747e7e44741d0c2e64bc6f3c345cf94feaf615639ea5c7619672"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAgentCanManageRuntimeServicesForWorkspace (cyclomatic 18, cognitive 17): assertAgentCanManageRuntimeServicesForWorkspace 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":"server/src/routes/workspace-runtime-service-authz.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a680196908a166709707876efebeaf717705853f3daac5990de08946ac0db0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCaseTrustedForExecution (cyclomatic 18, cognitive 17): assertCaseTrustedForExecution 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":"server/src/services/case-access.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fa4053359ed876f3d5f2410aabf61cada22d451032de159f72bb2b36bdde0b"}},{"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":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae3b8ad2049146d70c55f0303f6be1b1018ca177d7dd90c730f7fb18f36a7f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextCursor (cyclomatic 18, cognitive 17): nextCursor 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8735368c9e9cd9778424a026049fb55b956338e3f97fe438acb5275f78fc6e7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInTransaction (cyclomatic 18, cognitive 17): resolveInTransaction 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28a575a18f7fdabb662a060185255f96780038411602e10793d8f51cfe5c1ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savedAccounting (cyclomatic 18, cognitive 17): savedAccounting 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":"server/src/services/execution-recovery-attempt.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4752935cd3c325b5e73117cb7c01b358118bf2cc259611af452b9ec54b684e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRuntimeService (cyclomatic 18, cognitive 17): toRuntimeService 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce9712e99a7bc94e486dbc204a48ca7b989fe8658c0848691af7ffd358237f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordFreshContinuationCheck (cyclomatic 18, cognitive 17): recordFreshContinuationCheck 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6fe6b5ea1fc7c2fbab6034a3af78cc0851ec54743635fdbfff5d5920c15203"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adoptLocalServiceFromPortOwner (cyclomatic 18, cognitive 17): adoptLocalServiceFromPortOwner 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f849998bc681fd3161e7062628072c9d64caa8e18b48129a5dab00ef80488c"}},{"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":"server/src/services/muse-receiver.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd87e61491d66f480c9c2ccedc96488078884a7306451b64594fa4dfd0f464d"}},{"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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e51bc8b6469744d58027d1f93cbc57695ab673c8ccf0c3b232d21a23c06957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkpoint (cyclomatic 18, cognitive 17): checkpoint 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d58dd1105a76162ecca2a87810148908b38fb6de029d4f8f59b01012da66370"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockWorkspaceRunParents (cyclomatic 18, cognitive 17): lockWorkspaceRunParents 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ef91977d3a7d412ee7fbb4e2264226681ed028cb7c1a761982b5a9e549ac45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateLostReceipt (cyclomatic 18, cognitive 17): estimateLostReceipt 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":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"870f32ff608b55d4ceef78a8288a02441b7cd2ca47f4e3e002890209696a55cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedPrpGoal (cyclomatic 18, cognitive 17): normalizedPrpGoal 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":"server/src/services/runner-goals.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"da915e6033c537469dee698c41d391cc7353b72b68617e2f2c094325157f26af"}},{"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":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd8745893bfdacd5b10b6507cef559e4b82a5b1992ff198471477290b7b27f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workProductDiffSummaryFromEventPayload (cyclomatic 18, cognitive 17): workProductDiffSummaryFromEventPayload 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":"server/src/services/work-products.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f9ccf1987e1f048d1f26575a173e0613f7fc541d1308dbd8cdb1377fbb6eea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 18, cognitive 17): observe 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":"tests/runner-e2e/chat-catalog-domains/external-secret-delivery.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2f5d1d7f47acd72630beb0a1b521b00ad388161c28c8df5a0ff95ba5a7573a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireSafeInvitationEnrollment (cyclomatic 18, cognitive 17): requireSafeInvitationEnrollment 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":"tests/runner-e2e/chat-catalog-domains/identity-invite-prerequisite.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"239a25549e62d593e0c351aada2b4ad306466fface08beac6691f82069f42aad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBoundedHistoryRetention (cyclomatic 18, cognitive 17): validateBoundedHistoryRetention 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":"tests/runner-e2e/history-budget.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3492aa711a0255964f71ea82329424a28e6845ac2f997026c9cf1b7db6de8ec6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 18, cognitive 17): run 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":"tests/runner-e2e/product-journeys/campaign.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5665a92bb8b1515ea4d0ddedbaac14409381a9f031588fce6a4a6c56d1208eff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatToolPart (cyclomatic 18, cognitive 17): IssueChatToolPart 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e0eec967831825729f3d00644e8d1d3f5f4acdbe8acb406d8319afa8ce1a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autocompleteOptionMatchesLink (cyclomatic 18, cognitive 17): autocompleteOptionMatchesLink 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedbf1d0d189d518de1ea750d68c19d0a3060b9c15fb947c1b87ff92c5939174"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 18, cognitive 17): render 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":"ui/src/components/MarkdownUrlLink.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b59252693c48955aee5b7714b980212da1586a211d93ac2d5991cf3fa33c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSummary (cyclomatic 18, cognitive 17): createSummary 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":"ui/src/components/ProjectWorkspaceSummaryCard.test.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e32205935248c6c2f8976e367a645f97dfd2e21fa7993e703fe3eaa672906e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordedFailure (cyclomatic 18, cognitive 17): recordedFailure 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":"ui/src/components/RunWorkspaceSourceInspection.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a684e7f95a0b217f8612c5831aab4b5e23fff3097bc812ba46f88ef04d11251f"}},{"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":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"163ba577c63b82751ce1e6e2f58c35afe826c7fda5ac413248d98590efe7858f"}},{"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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2709aa12a7e13d2a2bb29b6f29ab35c6855567415c3766ace33a890b6781f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportPreviewPane (cyclomatic 18, cognitive 17): ImportPreviewPane 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaeb7f6539c5962b5d1cf2efec33d904181bdd1d06edb95547ab532d59992d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isNotAGitRepositoryError (cyclomatic 18, cognitive 16): isNotAGitRepositoryError 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5db16cc7f9e520db067c477011ff690d5f6cab156750e2d54b547339d69fc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 18, cognitive 16): deserialize 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/adapters/claude-local/src/server/index.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f90f0a3f55b0831ae44767125f58a672aa6c5658346bec48468a58724613f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPinnedCopilotDistribution (cyclomatic 18, cognitive 16): buildPinnedCopilotDistribution 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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd60461ed13039168c61ca3adb68dc54460265681458a4b46be3bd1828256f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSession (cyclomatic 18, cognitive 16): openSession 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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11a7ceb71b11d079aaa8d2ba70060a3f1303d161143bc648996dbeab1564525"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChangesTab (cyclomatic 18, cognitive 16): ChangesTab 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/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cefda7648b2528c4724a0b76aec4636e1a3fa166d678118df059395cd6d9606"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEnvironmentTaskResult (cyclomatic 18, cognitive 16): parseEnvironmentTaskResult 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/plugins/sdk/src/environment-tasks.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e8c176f0a48139b9f0e9d7dbeef99804089dc1a941a7370101b614aad28192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logicalSleepConfiguration (cyclomatic 18, cognitive 16): logicalSleepConfiguration 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":"scripts/sleep-qualification/evidence.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"72025857b4e1c2c184f166603baaac7d17844051e6a03db1de7e672df504163e"}},{"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":"server/src/modules/external-agents/cloud-principal-http.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e9f2493245de87f17a045b6995f3194d4b65409996e92ac24ffe745c744995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordLifecycleDelivery (cyclomatic 18, cognitive 16): recordLifecycleDelivery 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65f62742fea81b801d5c12defb3607198032d0c9c019f49cdc7373bd770fb60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tickControllerInstanceLease (cyclomatic 18, cognitive 16): tickControllerInstanceLease 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":"server/src/services/controller-instance-lease.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f56af0e6dcb9f15383f588648bbbb9bdfbbdf877b53b995f46eb4fb36fa95fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canSelectFreshWorkspace (cyclomatic 18, cognitive 16): canSelectFreshWorkspace 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":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7626ea444cbb9211ae9f46fd3ede101edf15770916b130b20ea54bbc03d7d61e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativePreDispatchFailureResult (cyclomatic 18, cognitive 16): nativePreDispatchFailureResult 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"092c077a9f6533cc17571db392b8747c96ca8312cc1cbc0289854fbbe0079cfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 18, cognitive 16): create 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":"server/src/services/issues.ts"},"region":{"startLine":10538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46b6a2badbb99fdf946c5cfcade5184f44a31042b50a0c964fef5028a697a36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findNativeChatWorkspaceScope (cyclomatic 18, cognitive 16): findNativeChatWorkspaceScope 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":"server/src/services/native-runtime/native-chat-workspace.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7da3ed9c0de3dedf564f70e9e8d8c7512fc6470e54d066fa61481530fc6fc3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 18, cognitive 16): check 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e30e0c5777ec038c823dcdbac0cf78308fbde4cb27f9eed5958eaef8321a1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSource (cyclomatic 18, cognitive 16): prepareSource 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":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c9398a596991a38fc20c9df427eb1e13e76e5207f9fc64041ce9520c99b6f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 18, cognitive 16): observe 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":"server/src/services/native-runtime/native-usage-delivery.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ccec1be0137cb5b265d70aa7d781f87b80ab9fc088b267729d9d3efa446f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeNativeWorkflowTool (cyclomatic 18, cognitive 16): executeNativeWorkflowTool 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":"server/src/services/native-runtime/native-workflow-tools.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc3ed566d2c89cc60712ae3452fc5bd82e416d19e8b815de782464adfcf862e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueWake (cyclomatic 18, cognitive 16): enqueueWake 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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c60b6d3606c5861dd4b7cb9bfde32930af2480076d5d510f1892f450c1c032"}},{"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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec89c27629f00236f7106dc01f8b8edfacb5b418185ef25606598c817141ff3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pendingIntent (cyclomatic 18, cognitive 16): pendingIntent 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":"server/src/services/recovery/assigned-work-invariant.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4c141356e4c38120c65d27a9b77e7e61ce64ccf24e30a16b7510d02cfeb644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withDiskFullCheck (cyclomatic 18, cognitive 16): withDiskFullCheck 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":"tests/restart-chaos/disk-full-faults.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"382fb886e50d319858ae6dc7dafa27550bc4bb84e6e850e14a3f6b04a491eeef"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-timeline-verifier.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc748c0b2198956568404d09ff53b2f3d078743157b348fe9ac00868912ee78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compatibleLegacyClaudeSettings (cyclomatic 18, cognitive 16): compatibleLegacyClaudeSettings 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-upgrade.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de4d3221a39a17fead275f9a850f88f42197d9e6e95d218faca0ac03aefdc56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublicMcpInvitationFlow (cyclomatic 18, cognitive 16): runPublicMcpInvitationFlow 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":"tests/runner-e2e/public-mcp-invitation-flow.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a5853c668779e07bac32750442c9689f26ad804f28980bb69bbe2f538672cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HermesGatewayConfigFields (cyclomatic 18, cognitive 16): HermesGatewayConfigFields 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":"ui/src/adapters/hermes-gateway/config-fields.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f09b213179349fa0bed5892734a436e07f06c64bdd82f97d2758b78955a5ec"}},{"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":"ui/src/components/AgentConversationSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"120491577af843e0681be76f2dbc57fa6971a5dff342e0e6f2c0aa42148a1d43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssuePrivacyActions (cyclomatic 18, cognitive 16): IssuePrivacyActions 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":"ui/src/components/IssuePrivacyActions.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a9c71775acfc8c4d781d2f537dfc45e301135abb236d4cfa2bca69948254de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectItem (cyclomatic 18, cognitive 16): ProjectItem 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":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db5f752e09d043db5afd7a788ec4763cd8b714dcb8c0e7afcf42b23a9d185ee"}},{"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":"ui/src/components/SubscriptionCostCard.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e523855bc33380d57c81fb3adf1045aa9e7570733aef929c686f9a8fdb08c9"}},{"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":"ui/src/components/TaskChatThread.test.tsx"},"region":{"startLine":3171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4609fb6c2985160bc180320179a84475c60128fef3ec6efd57e531b40482130b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseDocumentPreview (cyclomatic 18, cognitive 16): CaseDocumentPreview 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":"ui/src/components/cases/CaseDocumentPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f73737750c0ae4fddee22bbe5598b7ddc4e3ee9921430eb59ea3f97ecb72796"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TreeBranch (cyclomatic 18, cognitive 16): TreeBranch 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dc35a44d6f29466e70a4108c0db2682832a68e19d6edd327418f5304c4d593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssuePropertiesArtifactsTab (cyclomatic 18, cognitive 16): IssuePropertiesArtifactsTab 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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c989d69773c2fa55642f06c73434cd8b5cbb6262821c289472e88823ce125"}},{"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":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6004de2f67c077d26a78177718f1f0527f01f05ef3c0b9fa93199ba8000f09be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function looksLikeWorkspacePath (cyclomatic 18, cognitive 16): looksLikeWorkspacePath 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":"ui/src/lib/workspace-file-parser.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06b1fbc6e682477d3027d6eac0b7d54875abf62eb38691e7f0eee67daf3ccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TeamDetailPane (cyclomatic 18, cognitive 16): TeamDetailPane 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f5868b756261b3ac1ad7b0674d0b20ae34c0dee00bbe39fb94c3254504315"}},{"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":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b3af7b758da94808fd39f8c52a92840b1f80de244edefef1593136269edef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerRunSettingsLiveStory (cyclomatic 18, cognitive 16): ComposerRunSettingsLiveStory 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":"ui/storybook/prototypes/composer-model-picker/ComposerRunSettingsLiveStory.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf827ac82ffec35ce237c4f11c8a1aebc1527d1f671637afe7053d54e497c21"}},{"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/shared/src/validators/plugin.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"295be105b67e6ea695dadc7c87bdf83f9ceb35910443391f78524b192abb0dd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyRuntimeToolsToken (cyclomatic 18, cognitive 15): verifyRuntimeToolsToken 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":"server/src/runtime-tools-token.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"803a7f77ae4c7e4c580293a17936c0f9f405a82152d4d47af437d35e9a44c547"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function credentials (cyclomatic 18, cognitive 15): credentials 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":"server/src/services/browser-use.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6bada69aef9659e0d9787c30c4309148dd2431e4a941859708394e161b662c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stored (cyclomatic 18, cognitive 15): stored 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":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed36252f2a5b5f067525957ceb0cf9a8818b77e49f1044349074c67fcd4885b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reusableSandboxLeaseScopeMatches (cyclomatic 18, cognitive 15): reusableSandboxLeaseScopeMatches 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e71b0ec2013b82883b9c8c23328bbb49352e18f39692938c04fffd974c4af0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ancestor (cyclomatic 18, cognitive 15): ancestor 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"345731e1d20415805a7e50e142f2be09af5937b0f80540872027f2d719cc00f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRemotePaperclipRunnerBinary (cyclomatic 18, cognitive 15): resolveRemotePaperclipRunnerBinary 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee193be6843109feb60815f2983eb0f04684997ce33133571a6ba13b9e1927"}},{"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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfae64bd55b88d5654e5626a693a3782b90190b93460df517a8f0b2aa7ac6408"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeStagedAttachment (cyclomatic 18, cognitive 15): writeStagedAttachment 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49a82cb2287a59b7f10c6242f2e7c39553c71169330cb613570df022ede3ba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approveGrant (cyclomatic 18, cognitive 15): approveGrant 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c9497e80801a9ab3a0ef3cb6e66c6a6a0eb974d1d4c851f9a89b540d42f802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requiresOnlineOrdinarySource (cyclomatic 18, cognitive 15): requiresOnlineOrdinarySource 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e057eaf5da3cb58b359f3d136b061b36de2d91e99c46fcd420358d555ab135aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revokeTrustRule (cyclomatic 18, cognitive 15): revokeTrustRule 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f7a20d72c65fca2c1953ee2fab71bcff51bf7ce7d0d7c153e6b1a136709a01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatBoundaryFingerprint (cyclomatic 18, cognitive 15): chatBoundaryFingerprint 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":"tests/runner-e2e/chat-boundary-fingerprint.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"04517a5dc96a36fbb028640f7d8ec8596b1e44a0efa5f85470a5faaa08fa366e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownedRead (cyclomatic 18, cognitive 15): ownedRead 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":"tests/runner-e2e/chat-completion-testops-export.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f03e8c09dfc4a019b5d38e57b0642ed57e87e3839de28d77fc6a410219164e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextUsageCard (cyclomatic 18, cognitive 15): ContextUsageCard 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":"ui/src/components/ContextUsageMeter.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6676fcf9352c8ddf90c8507cd1a5210484b042d06bc786afb6a4be5eac32c3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionTriageStrip (cyclomatic 18, cognitive 15): DecisionTriageStrip 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":"ui/src/components/DecisionTriageStrip.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f1725edc08bc5bacf855b03c1d785d54e804a2a451c7d69ae9d5da7b58f29b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InboxAgentPolicyControl (cyclomatic 18, cognitive 15): InboxAgentPolicyControl 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":"ui/src/components/InboxAgentPolicyControl.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4134b6b62401120f6b0bc39fbde362733749fcaabcf034e5b74be7845fb75d6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StalledDependencyRow (cyclomatic 18, cognitive 15): StalledDependencyRow 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":"ui/src/components/StalledDependencyNotice.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e91de07a6c0e56c98c417d419bf3628e6e1ea7991cf46dd4584258ad26aad2"}},{"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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec2a9f466dd447dd138096f405e2bb184256f4729e83d54338287e6447afec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionQueuePage (cyclomatic 18, cognitive 15): DecisionQueuePage 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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9bbd2c22c922a4aae3a329b7148184a4b13a83baded87b80d8da95c3e6b77d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunTemplateAdvancedPanel (cyclomatic 18, cognitive 15): RunTemplateAdvancedPanel 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5248b905ca7c0e948ca8bae6b352660d2be3f15729085b7074c350f9a04b21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueResult (cyclomatic 18, cognitive 15): buildIssueResult 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":"ui/storybook/stories/inbox-search/search.stories.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"41172a1029376c9a21df5156aadceff68b20ddffb4652315d747a8884cd26483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotPiWorkspaceFile (cyclomatic 18, cognitive 14): snapshotPiWorkspaceFile 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f91edd139f5c4f38960af18fba11e88d10f6cfaafdae54cb6bbcda2e718fd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubProviderRetry (cyclomatic 18, cognitive 14): githubProviderRetry 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":"server/src/services/chat-channels/github/retry.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f02d6f0b40f7cdab0674cfb2f27abd3a155dbf0fecb97982c59b744b2512ac"}},{"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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ad9fcf15ee4ea0c8ca3c25eeb959df11263c4bea8a281393418231e10ee3f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchGitHubBotCloudEvent (cyclomatic 18, cognitive 14): dispatchGitHubBotCloudEvent 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":"server/src/services/chat-github-cloud-ingress.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfcb7eb80634fe5fab1e4bf6003b55b72cd436b3c84c4b5313552bf3c16184e"}},{"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":"server/src/services/email-connections.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"30307ee521f9a20fc68588ab69d49931deb187a4333c42fa39aec2c485d819c5"}},{"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":"server/src/services/fast-responses.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f95956c693b8acf12c51ea6c8f03b55fd461fd45148bb830657dccff2908e7"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":13193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f737dfb476eaac1f61aee1654234a756a490098499132406389a74c0194e7c"}},{"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":"server/src/services/native-runtime/native-accepted-result-lease-settlement.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d721a0b415545d6ca5bb81fabb00551480739598eb1d381dc49f3ed9c169f3f6"}},{"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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"d350f3b6b833e92d6437f945f246dce211621f674697c667ba5b830256bec107"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f55386bcfb1a5738174cf7a2e5a4442b8db0d9c377b3af809408baec95267d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeIntegratorCases (cyclomatic 18, cognitive 14): gradeIntegratorCases 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":"tests/runner-e2e/chat-catalog-domains/integrator-cases.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a3edd9a7f3640a4d44f0543b768aa6ed932d63dbecc960be655474b2e055c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeProvisionRuntime (cyclomatic 18, cognitive 14): gradeProvisionRuntime 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":"tests/runner-e2e/chat-catalog-domains/privileged-provision.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8df33c8ddb7a9a0b86f6146ba9819c59a4e7c8aedf1ff6548a800a768cbe5e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releasedRetryListener (cyclomatic 18, cognitive 14): releasedRetryListener 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":"tests/runner-e2e/chat-catalog-domains/runtime-busy-worker.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6a5a0275096bc5869d24c1e97c1529589f3c610ce5bf2c11d955ac8feb16ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyInstalledCli (cyclomatic 18, cognitive 14): verifyInstalledCli 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":"tests/runner-e2e/installed-cli.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3413b4c38d1a62c1fea6272649b8f6316fbbbd22e61bc669141195a3d11d9133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imagePreparationReceiptIds (cyclomatic 18, cognitive 14): imagePreparationReceiptIds 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":"ui/src/components/task-chat/image-resources.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b37d1e3e095fd7e65c715d021681fa04152ea231de472fbb3e87ec4fac9b39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TextAttachmentPreview (cyclomatic 18, cognitive 14): TextAttachmentPreview 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":"ui/src/components/task-side-panel/TaskAttachmentPanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58935cd364bfc5ae0cea633bde6c4ca584f2c586f598438b680a918ed85347d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canEnterAppsConnect (cyclomatic 18, cognitive 14): canEnterAppsConnect 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":"ui/src/pages/apps/app-connect-policy.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"292f040b3cd3b64f510a5295898d8f6930b495237b59cc0bca266ff528825139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProvider (cyclomatic 18, cognitive 13): resolveProvider 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/adapters/hermes/src/server/detect-model.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b33b9ae0a63cb1789f96862936ca503f803227f8d0708d8d4b66a6ca170522"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 13): (anonymous) has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10ca7df378052acb36527734788be50f440579f778958a5f852550dc01b7b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPublicationTransportText (cyclomatic 18, cognitive 13): renderPublicationTransportText 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a74b811a7ae1f0fc01171d1a00daa4e930f71c146bcfdd378963514a174b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertEphemeralServerConfig (cyclomatic 18, cognitive 13): assertEphemeralServerConfig 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":"server/src/services/ephemeral-server-contract.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01e1f653035a4c8cbc43e3233be85840c8c4362a0d01eb7c7ff63bbe2dbafb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreNativeChatReviewPresentationInTransaction (cyclomatic 18, cognitive 13): restoreNativeChatReviewPresentationInTransaction 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":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"04158856b270441f342e57ad2fb82c12afecc965db5a3ffecd29e5b424aec0e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coveredHistoricalSource (cyclomatic 18, cognitive 13): coveredHistoricalSource 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"432f6991b6c48c5900134305528c7b77c3c805f4a078c5e2988caea1c7c0c756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function denyReasonForPathSegments (cyclomatic 18, cognitive 13): denyReasonForPathSegments 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c227cead6c2c14b7aae989cb82e8076890f8c26e13908cddaa2f03bb69189e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeGatewayError (cyclomatic 18, cognitive 13): gradeGatewayError 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":"tests/runner-e2e/chat-catalog-domains/external-gateway-error.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a965b3d940ecceb86f250a6bc03bfdd8ed3af1c2f9d32da5038030b5a2e89f16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 18, cognitive 13): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-discard.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d7503564eac1ac014f16556b656f231025b428ab98c4e990d1a758933b7d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 13): (anonymous) has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/cursor-native-flow.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f483bc2224aa36109105c4dc361245fe83a72f976bef2d69cfffc762d2b75191"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyInstalledDaytonaPlugin (cyclomatic 18, cognitive 13): verifyInstalledDaytonaPlugin 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":"tests/runner-e2e/installed-daytona-plugin.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8539e2b98e672b0336959dc803635b6aa6b401a19a3c944108e430237f6c1941"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function questionResumedOnce (cyclomatic 18, cognitive 13): questionResumedOnce 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":"tests/runner-e2e/question-resume-scoring.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd23977a1ff742a63df669db2034054042b8ed5a6cbde7e1df95eb7f4b1b0ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function liveRunEvent (cyclomatic 18, cognitive 13): liveRunEvent 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":"ui/src/lib/live-run-event.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8835854299ac772b10e770ff9c2eb3a94dd2adc9baaa6d83d18d9cec0af52204"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRunStopConfirmed (cyclomatic 18, cognitive 13): isRunStopConfirmed 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":"ui/src/lib/wait-for-stopped-runs.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c83a072d8c067c145fcbf993158d224651689cad7263d2c2697d61b9860530a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlackIdentityStep (cyclomatic 18, cognitive 13): SlackIdentityStep 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":"ui/src/pages/apps/chat/SlackIdentityStep.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b31dde0cdf790b0f3ca0b61135e6496dcf046ff8d8ea992c48442a0afab05f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCopilotMetadata (cyclomatic 18, cognitive 12): validateCopilotMetadata 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/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4f74ab2beb2a629a2401719ed86c284dc52600e6ab5be35452576522786f46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readEnvironmentAcquisitionDiagnostic (cyclomatic 18, cognitive 12): readEnvironmentAcquisitionDiagnostic 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/plugins/sdk/src/environment-creation-cleanup.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19f03548dc2bbf9d42cdf26483f2a50e89ffab558b427a9bf8997cedc160864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferState (cyclomatic 18, cognitive 12): inferState 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":"scripts/ingest-app-definitions.mjs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"61befcffefa2b5a11c9ee3f4ca6dc4fe976931cc0fb62b6688285fc30fd91bee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyDotPrincipalControl (cyclomatic 18, cognitive 12): verifyDotPrincipalControl 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":"server/src/modules/external-agents/cloud-principal-authority.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"207a86f56c46037f41f43ab31b0192c9f8ceee6c48dff05d49d34bafeaedc0e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function context (cyclomatic 18, cognitive 12): context 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6092541c0a83b9bf649135312c0b4316ac1758cb13d50e6684a63b4fa9a99ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 12): (anonymous) 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":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02ca8df83dcf7883e15702911cfd5a71f6cd9e4bdd10b149ecf0edae4d7c8f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canCancelConflict (cyclomatic 18, cognitive 12): canCancelConflict 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d58e8177d8d827a074f529d1193807ca98357f3947fced496bad41b79b06a50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 12): (anonymous) 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":"server/src/services/execution-continuation.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b862f2f1b1c5502ce7c7ac01cdf98ac37ef54d1749461f7b1261be11cbd4130c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRecoveryBinding (cyclomatic 18, cognitive 12): assertRecoveryBinding 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a2eeecee885504674139c1deabf2055227463e52a6c44ae0d936cf75a70f08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validWebBinding (cyclomatic 18, cognitive 12): validWebBinding 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a36b21d3d5cde696edf494b6d13620c18980d0681a3c3a336dc4d1f2e8164d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeQuestionFallbackFromEvent (cyclomatic 18, cognitive 12): runtimeQuestionFallbackFromEvent 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"190924db95c394543755d65dbcbc49fb7d5d0d8d5c7e66b2229bcaeb833fafc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function noteLivenessEvent (cyclomatic 18, cognitive 12): noteLivenessEvent 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"58df93f04330776551e005f0f072e715e7d2fecea73d585dc879c21386f167ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTeams (cyclomatic 18, cognitive 12): gradeTeams 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":"tests/runner-e2e/chat-catalog-domains/external-teams.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb160935d116438388eab44f3615d0aaebb9916314e3bc3caf771bd4774b817"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFirstTaskDetails (cyclomatic 18, cognitive 12): renderFirstTaskDetails 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":"tests/runner-e2e/first-task-report.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d750aee5cc7d2123594214384fe6e3c8f66b76d2376496a5cdee932645a48cf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDocumentClick (cyclomatic 18, cognitive 12): handleDocumentClick 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6754a583a4c5a9b26164decd7e8e5c10281706d66d762e515c0f61c8b71c6a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectControlledObservability (cyclomatic 18, cognitive 11): inspectControlledObservability has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/observability.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0efbd433f18bcd20993808e12b50a9dda101e01315af4c0daf6fcfb9644770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRun (cyclomatic 18, cognitive 11): parseRun has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d1d5a66404eeeb10b213a8cfc2d964e3ffc1874f1283ed6abe987f95b20329"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 11): (anonymous) has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":3436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed2f045cfc0b90ee9ee7039f547755ee2b10ed5a855dd8e1c66ec42fc2d0287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 11): (anonymous) has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response-input.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"917d10049ca2737a9d993e39a7e30f141d81b5ab8162470e58240590649adee7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedMultiChoiceMatches (cyclomatic 18, cognitive 11): completedMultiChoiceMatches has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac373a3fc0e0a1e70b0e1d0c9ae6a12a71bbefff28190e275acab2a3a411b43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNativeRetainedSandboxBinding (cyclomatic 18, cognitive 11): assertNativeRetainedSandboxBinding has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-recovery.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"579afeb40856d72e4654b0a238a7b579c2c18a7f5890673ac093ac824c7054df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 11): (anonymous) has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e93b3542b3066242cb5217dc34d3c759ceb8e444bb59d6e98e30693f55131a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRunHasNoWorkspaceAccess (cyclomatic 18, cognitive 11): nativeRunHasNoWorkspaceAccess has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-restore-recovery-state.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8039f5b06c4a9e872696ce4700755e4b6fe36d781ac0defa64e24a544a006c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readManagedGitInspectionDiagnostic (cyclomatic 18, cognitive 11): readManagedGitInspectionDiagnostic has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-validation-diagnostics.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"360d9c0d7bd8fce6bbdadb20ce730e2d061960729c18a9828442a0ade1f7c397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoveryObservation (cyclomatic 18, cognitive 11): recoveryObservation has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/controller-recovery-observer.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dcc231fbb724f9c4e9889f3ac58c5b4675f11871c760445459fc871f643593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function catalog (cyclomatic 18, cognitive 10): catalog has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/antigravity-models.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76fdae062b478cf8f9583e0c58b336929b163d1e4a7acec5e97768ce7cc1e1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPiInstallation (cyclomatic 18, cognitive 10): verifyPiInstallation has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/pi-installation.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"718ee2e026e294d46b9b5090a58de10800f782021dd08d7da13dffc82ac77575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initialize (cyclomatic 18, cognitive 10): initialize has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6881ed8ef40c986d22b90d0056ac475105f64463af70b62e810e24642b99d77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 10): (anonymous) has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"25602300b59e67d05d6abf802dedc429fceb6b66da025ca886b9ca272bb9fad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertMuseCurrentAuthority (cyclomatic 18, cognitive 10): assertMuseCurrentAuthority has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/muse-identity.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e2e66e6369b90e3cf48a93b73b192f8103bbfe8a3c8f07dc6d61261d4676de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasCommittedNativePlanWait (cyclomatic 18, cognitive 10): hasCommittedNativePlanWait has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-plan-wait.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2e0b1a8a3685d14c469037b1ca5c44581e638de1b0269f9e0ac81e17a5ee1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareManagedRoutineContext (cyclomatic 18, cognitive 10): prepareManagedRoutineContext has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/integrator-plugin-routine.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8a1c525cea4446bd1bbc921aea7bfa5355021437bd4e5e889f8e2501b09edb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 18, cognitive 10): act has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repair.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8d4cf071f0e6e462c63487dcc9c8865bfe2f1adbdc856ef05dc7bc2fe813e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEvalOtlpParent (cyclomatic 18, cognitive 10): validateEvalOtlpParent has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/eval-otlp-payload.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ed91e7d74e8abc0f42d967e4417bd53039b01e26084aa24a2544ba53db4d5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startEvalOtlpRelay (cyclomatic 18, cognitive 10): startEvalOtlpRelay has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/eval-otlp-relay.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbe5a7a1cc45e8b2a2983193e107ccd156ce1d4f67146f1f9da231b8c52e61e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRecoveredFeedback (cyclomatic 18, cognitive 10): readRecoveredFeedback has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/feedback-recovery.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14ba02786a9e9a0e383ae5cbce2199238e8e6d9f0fe6f0cd677873f71b917c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NativeControllerContainmentRecovery (cyclomatic 18, cognitive 10): NativeControllerContainmentRecovery has cyclomatic complexity 18 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9032d83b9542b8777b620b4cb2d23c45c14550fddb620d8862f4753c0f8543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validAuthorityContext (cyclomatic 18, cognitive 9): validAuthorityContext has cyclomatic complexity 18 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/paperclip-runner/src/semantic-tools/authorization.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"508056d2cdc2589f0681c19d8bfa6b6b75e8a0846dbca6adf5197eb7277bf7c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 9): (anonymous) has cyclomatic complexity 18 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":"tests/runner-e2e/everyday-remote-restart.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb17181e59f415f9483039547e8da01c7502ded68173351be06868fae23dad2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MuseRunnerConnection (cyclomatic 18, cognitive 9): MuseRunnerConnection has cyclomatic complexity 18 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":"ui/src/components/MuseRunnerConnection.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0857655527aa7dd2074bd15df74270b013fb3ac0019b6c765c57adedb567064b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GrokBotSetup (cyclomatic 18, cognitive 9): GrokBotSetup has cyclomatic complexity 18 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":"ui/src/components/new-agent/GrokBotSetup.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eda6026cc0e6da250f431d0cfe9173c978c37504c4f00be703fc15c028111a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeEvents (cyclomatic 17, cognitive 42): consumeEvents has cyclomatic complexity 17 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2f8fc22c9d82c01f0859a2061b32bfc8acb6edce84b713dc446846e68064eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 38): (anonymous) has cyclomatic complexity 17 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/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":6058}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c2bf79b718d5add17c99f633f7c2eefc81b4983c0f3a7958751e33e5f17a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 38): (anonymous) has cyclomatic complexity 17 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5018eaeb99991a4ce98f478eab3d4bce1a93a5e31e834ac1221efddac396e809"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEntries (cyclomatic 17, cognitive 38): buildEntries has cyclomatic complexity 17 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":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a50758f4880aba8e70014cff761136700414f9ec34b2c40c6ad437cf5fab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedRun (cyclomatic 17, cognitive 35): completedRun 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":"tests/runner-e2e/connection-flow.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"63319d99b46da52e5a441191a06930bd76149cc3c1cd789007ea86e07ef631d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeExecuteEventStream (cyclomatic 17, cognitive 34): consumeExecuteEventStream 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/plugins/sandbox-providers/cloudflare/src/bridge-client.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c15bd8a17dcfe67af03f9f7ad140d1266238381adba1293edde7ffb569a7729"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextDeadlineAt (cyclomatic 17, cognitive 34): nextDeadlineAt 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"699493cdb17eb3b90f42930cd1dce49b4acf82dc992c4102a45ab2917e1a11ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 34): (anonymous) 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cb347de4a7673cd5de19da357bee2848c21114c65953179244be127fb557df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePaperclipIngestionProfile (cyclomatic 17, cognitive 33): validatePaperclipIngestionProfile 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab18575d80eedd503ca90329f39134914ca3a9926ccc121eef927add3963f61c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 32): (anonymous) 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/db/src/client-disconnect-replay.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"63672167fffe0a56b1669e89bb4b6454aa1de1deec46480189e70235ee1a7dec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenizeQuery (cyclomatic 17, cognitive 32): tokenizeQuery 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":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"628f8e6dcaa64652824607600a8a173004de5873a038be957fc1a4dfb3a91499"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 31): (anonymous) has cyclomatic complexity 17 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-protocol-integrity.test.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e16ab59ebd493aba3a0d13268a3aa37ee46f8d0a16d05ab3988ecb6fea53e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformAngleBrackets (cyclomatic 17, cognitive 31): transformAngleBrackets has cyclomatic complexity 17 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/angle-bracket-markdown.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"845349654dd0ad95c24779ac61f5d5dc86eaec43fd26f241d87b20f1e343b44b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeMigrationSafety (cyclomatic 17, cognitive 30): analyzeMigrationSafety 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/db/src/check-migration-safety.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf241ec23af75be5e08d9ecace22d18beada4728f7f530fba74c262c83dc9724"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canActorReceiveCase (cyclomatic 17, cognitive 29): canActorReceiveCase 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":"server/src/services/case-access.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"01757019a7a227711fd84ee401908c40034108b3ede06b7aed2605fcaf236775"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupHosted (cyclomatic 17, cognitive 29): cleanupHosted 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":"tests/restart-chaos/hosted-setup.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10b8d7df86ff848a5b424c8df45a75879bcee87fe3fab3900dbeac11eaf6b24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transaction (cyclomatic 17, cognitive 28): transaction has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/work-signals.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d892ad111bef7f00c9cde28c0ed5106e2d1b99cca3b2f35fc03c2af181b7272"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeConnectionCredential (cyclomatic 17, cognitive 28): writeConnectionCredential has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-credentials.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd69db26fcd7f12c5e52980ace4a2c4eec61e129af6b005397a22b2f1f9717c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vaultGrantForConnection (cyclomatic 17, cognitive 28): vaultGrantForConnection has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"51478694ea63739ce03a98ac01a3e55f2a2650d8ab5e3b5e39c8043e8c070e54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExportCheckedFiles (cyclomatic 17, cognitive 28): buildExportCheckedFiles has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/company-export-selection.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3107fb9d61f3578479c5fb8793d6b26584e872b252ef8df5ec898299f0aee30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileManagedCodexSkills (cyclomatic 17, cognitive 27): reconcileManagedCodexSkills 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eb23c4393a91ac2a0ad259a7e96cae5c551643109e34b19317094f329fab4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectAcpxFixture (cyclomatic 17, cognitive 27): projectAcpxFixture 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e6ae763c52300925c9ca30b6f5a982d3dc4dadbfc80151265e084ab9fb9a11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubLifecycle (cyclomatic 17, cognitive 27): parseGitHubLifecycle 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"563b9b7ecd1ffc483da53cb1a691dbd841b13641ce9379ad0b2ef3725627b0fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gatewayConnectionIds (cyclomatic 17, cognitive 27): gatewayConnectionIds 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3affa294ad78a8ddcc9f627e847065ee87a3d8a63e1b1fd7c2be44dc1c17652b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForRuntimeServiceReadiness (cyclomatic 17, cognitive 27): waitForRuntimeServiceReadiness 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5492}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe62370c11dd329caa21ef1893dace7cac3f5681f260ddcfe35ffb70574eb68a"}},{"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":"cli/src/commands/worktree.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd5fdbe36aecc1f0d8aface1c1e6de5d7d4820e060bf1e4bad73f1c170ece40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTarballEntriesConfined (cyclomatic 17, cognitive 26): assertTarballEntriesConfined 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/plugins/sandbox-providers/kubernetes/src/file-sync.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"522e34a4818672d2ea00d81cbd5b172ff36bf4a092f15d5e6a724507b9def065"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLine (cyclomatic 17, cognitive 26): handleLine 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d419f381ec26aa8769678af281e04ce611623b4485689f03bb0e49d0c840df43"}},{"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":"scripts/acpx-patch-packaging.test.mjs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"421234b8c11c59ad0b1487a3d642a3711a18790d5768c25452759bf2117bba5d"}},{"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":"server/src/__tests__/native-finalization-migration.test.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"075cbb0dec8d8762910e416437e08273cff4bd9cef60925595bfef8e9df28752"}},{"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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad56918582bf347248a6676a15da5e2c0a39c66901075264647761a2e7ec71b8"}},{"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":"server/src/services/native-runtime/plugin-runner-probe.test.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c538bf169be41fe07aa14cd0b632f22953809b3e820bc86ec5f752a10f2eccdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBindingTargetMap (cyclomatic 17, cognitive 26): buildBindingTargetMap 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":"server/src/services/secrets.ts"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03d124b0c3d0196af33a585f8b834423b021913f36cab7c4308977667c3eace"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertProfileEntryInputs (cyclomatic 17, cognitive 26): assertProfileEntryInputs 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":"server/src/services/tool-profile-entry-validation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adaf9ac75afa44be24e6fe15c92155dcbd313d7b2c76301d40fc1721a681a44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listCandidates (cyclomatic 17, cognitive 26): listCandidates 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad4f5a9182ea28b7c410ef865b8be1c3466b5dea0e019f0a38e3b76b9cccef9"}},{"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":"tests/hiring-ai-connections/hiring.live.spec.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b7b531897511ae313821112737cf6ce8ca94c1ee3ca806dacc881330a0b9bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFeedbackReport (cyclomatic 17, cognitive 25): renderFeedbackReport 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":"cli/src/commands/client/feedback.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33a8630c2a331e5d57eebfe03e9057d2f4687736076f246a2227b9896d00fe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) 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/db/src/test-postgres-owner.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"69abdcfe3214616fd36a4dca9c29c44ae75b19072c4b0b1d4d152ff466e906c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #open (cyclomatic 17, cognitive 25): #open 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58136413b1227ea29b4e12b34b87f62c0f5314d02f7a79076ab533928f9c04d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) 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/paperclip-runner/test/pi-native-package-contract.test.mjs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b19671ee4fa5f12fefd5bc142e93b30e822d717b9efab6a613f3ec0d26c59ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPortableIssueComments (cyclomatic 17, cognitive 25): readPortableIssueComments 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":"server/src/services/company-portability.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"00335409573f54d9ead1ab93aa47a74bebcbe44d79a80d1f5e594888904191e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTransientEnvironmentProviderFailure (cyclomatic 17, cognitive 25): readTransientEnvironmentProviderFailure 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":"server/src/services/environment-provider-unavailable-error.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d948c154c563129201f455f814a2629da6ee52e4234f20bd4af4ca0ab5b9fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFeedbackTraceBundleFromRow (cyclomatic 17, cognitive 25): buildFeedbackTraceBundleFromRow 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":"server/src/services/feedback.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f717483e8497ce961ea419d4a7cc027773a72112eebb82500284950b0f1e575d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRequestItemVerdictSubmissions (cyclomatic 17, cognitive 25): resolveRequestItemVerdictSubmissions 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"40de13bcf18f2d26b973f68ee746a3ddf1c5726e76421681d9a28f465da87d82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeQuestionAnswers (cyclomatic 17, cognitive 25): normalizeQuestionAnswers 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"c868526741f8bf17d50b010242136ce7a5cfc16be383bd178b0031af93e6737a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5ae8ae451843ad577e3d8525bbc16e58d8174ec7577a63282638def575a9b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad5fafdb8417d6875489f718141082c18eaad9255d76126884f6184fe9d5d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) 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":"server/src/services/workspace-recovery-preparation.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d2ffc7da56ef0a11c8f5966c6bccd222624ece16979d03a377396078f09ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function putS3Multipart (cyclomatic 17, cognitive 25): putS3Multipart 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":"server/src/storage/s3-multipart.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b24258ec755aa510a02009dfa48e987e908b16054265b4804872ed168cf091"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function superviseRollingDeployment (cyclomatic 17, cognitive 25): superviseRollingDeployment 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":"tests/runner-e2e/rolling-deployment-supervisor.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e43c5713824083560a52bfffef3bcfe05d234d771c3cb004181f409841cb8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectTaskChatThread (cyclomatic 17, cognitive 25): projectTaskChatThread 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":"tests/runner-e2e/task-chat.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b3e61b416b09cc1e1c2d21b50318f2a3e2cbcbdce0e299563766a9cd972152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareVersions (cyclomatic 17, cognitive 24): compareVersions 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":"cli/src/commands/update.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1ac7171fd7c59aa760c62d397a17a3fbe25d2d7a34c60199ed53dd91c4fc37"}},{"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/kv-demo-mcp-server/src/tasks/http.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56f04ae5905278a4aa5be7750cfb88b7cdbbb0bb9ccc0a60c040ce23e153f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function steer (cyclomatic 17, cognitive 24): steer 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5fe2708047ad4426dc37eb798afddd5fb16636fbf6015923da98913ab3a3b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCodexQuestionSet (cyclomatic 17, cognitive 24): normalizeCodexQuestionSet 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b552f0c87ca1c5fc7aa59ffca1c49c51bc1486640647d4f05c3acc297fb7a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMcpAppResource (cyclomatic 17, cognitive 24): readMcpAppResource 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/shared/src/mcp-apps.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2901f1fc6a8ff211bfe0603c406790ba6df6b3811102dff5f328ca6a7ca0833b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 17, cognitive 24): visit 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":"scripts/smoke/posthog-live-lib.mjs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bc79f374f7757bed096d6cf118b6ad030e359fafa64b61c10e5c59a9124f1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverPendingRecoveryWakes (cyclomatic 17, cognitive 24): deliverPendingRecoveryWakes 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":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5bfce0cbe8e7a267225e72e2dd817958bba7aed3c89f4561cf67733e70c57a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trimSkillPackageCache (cyclomatic 17, cognitive 24): trimSkillPackageCache 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":"server/src/services/skill-package-cache.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e81aa8a049a5e4d93c0cacd144b20a648e1bbd376cb62ed91a30431a8783d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEvidence (cyclomatic 17, cognitive 24): runEvidence 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0feef165425185e8e96dc55277ee4f2adc0bea9ddf703ed3cdc47f0dc1e1933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 17, cognitive 24): api 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":"tests/runner-e2e/chat-full-catalog-testops-reconcile.test.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3e11402a6b11d7d221e8d8d92c884776a0ac62a338787481b44a64194f3347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePlanAndEmailFromToken (cyclomatic 17, cognitive 23): parsePlanAndEmailFromToken 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d580730921d3b9415c1b0f51f1e8d36d29a4011681c445b6425f940875201"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerBinaryTarget (cyclomatic 17, cognitive 23): runnerBinaryTarget 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/paperclip-runner/src/live/runner-binary.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4691862aee8d3f6e5c78d7ad1a1cac9c24e9badaba1e3a835d8d54d8f4a9a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 17, cognitive 23): seed 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":"server/src/__tests__/native-settled-process-release.test.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f83a5febb6be5a25c59b1f9363cb1bc216c538bb3c6ba7afb0858dcf63d5fe"}},{"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":"server/src/routes/cases.ts"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a389981560f24e435c479fccfba1e57c092f6225339cac8d43e41f41901533"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockCurrentPrincipalAuthorization (cyclomatic 17, cognitive 23): lockCurrentPrincipalAuthorization 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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23107b0cb0fcdd2ff2e1cf82743300ba3769556e00dfdb6e362342f880e9eb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function definiteAttachmentProviderRejection (cyclomatic 17, cognitive 23): definiteAttachmentProviderRejection 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":"server/src/services/chat-channels/publications/policy.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1396bb34333670b86a5e0cff6d8e2e5aab2bdbc233c4bca5a289033b305ed8d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importAttachments (cyclomatic 17, cognitive 23): importAttachments 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":"server/src/services/email-channels.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044552ff24a1ca2ddac7ce747d40925617780fa2cea00f11935ccb190a0033a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function catchUp (cyclomatic 17, cognitive 23): catchUp 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":"server/src/services/email-channels.ts"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"925b4b879f873eb6c04b9afb4242c74059782c6e4c30481d6070a6866b80a356"}},{"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":"server/src/services/github-commit-details.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a7f7f8518d8cdbc2b8da1d30f17428db8dd067a51f5d7744d8c2598232ea44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverPendingPage (cyclomatic 17, cognitive 23): deliverPendingPage 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":"server/src/services/issue-tree-resume.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3714ddd1c74d965e97cce237d11e314639ce69f74a84bfcba47343e60a4ba1fa"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"384a0a663a53ac360bb89f761f24ddf403830eb39bb37206764343fd3116ee7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTaskThroughUi (cyclomatic 17, cognitive 23): createTaskThroughUi 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":"tests/runner-e2e/user-actions.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d073c5f92fccf23144f359dc016896ef4a53b9a573857f72c49c70171bd082a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 17, cognitive 23): onSuccess 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbb7f650e334de08ba68262f5137434b20fcf9f2405e91c40213d5c20da3d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCommandManagedRuntime (cyclomatic 17, cognitive 22): prepareCommandManagedRuntime 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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba40072cb764b50103ee8cc9c0901ece7d3c132fbd85690b8ade63758381668a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureAdapterExecutionTargetRuntimeCommandInstalled (cyclomatic 17, cognitive 22): ensureAdapterExecutionTargetRuntimeCommandInstalled 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ccd87eddf98741ea2fab4f1660fae188623bf3308b1766bb8d94810056adfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCommand (cyclomatic 17, cognitive 22): openCommand 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb47b9a50df7d560a6882bcd613b818f0ada3fd5256e8da048bb638ad54d4b2"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":56180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7b77f6a2ca828d9a0ace82d182ff1229456c394a338c7d5798abd9741da18e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readToolActionContinuationContext (cyclomatic 17, cognitive 22): readToolActionContinuationContext 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":"server/src/routes/issues.ts"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f11675a08da3c3c4326c86571da71321a25fa0ece2735cdb3ec154b431e0b8f"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":9460}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be18dbab7d4a64efde8e09937f593f5c8143a58c30b8e566b25747c9c6bdbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentEnvironmentForCompany (cyclomatic 17, cognitive 22): resolveAgentEnvironmentForCompany 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2a28e2c1501f37aa834fff1b81610c010c496065ca250d6769c2fdcf60650b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTeamsLifecycle (cyclomatic 17, cognitive 22): parseTeamsLifecycle 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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"456ba175682bae0ad43e25241c60b4b42553479ad0f60c5d3963d3cd90c3e469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReproducibleBaseGitStorage (cyclomatic 17, cognitive 22): assertReproducibleBaseGitStorage 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6215369694d6f78052d452c470a78e4ba5726ad3f25c9ef26cd9df13ebb46b2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMachineSignIn (cyclomatic 17, cognitive 22): createMachineSignIn 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":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6277bd18c7f7721d24e25316b38679b704fbf8f991ca661350ec308d94befe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 17, cognitive 22): visit 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":"server/src/services/workspace-git-source-roots.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73c8b8b8585c8b89169db8dc070a86d954a7308ae36456092d13e436c518045"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restartServer (cyclomatic 17, cognitive 22): restartServer 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":"tests/runner-e2e/server.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"beabd96e7cb8ce0f97756432cb23710f97906ec480a5b04b30453f58e10523d2"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecad70bb1fcd13c87712f6969c42de40d4187d70ad5a71eacb2252b55f18740d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStdoutLine (cyclomatic 17, cognitive 21): parseStdoutLine 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/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c1cfc6a2d60ee83f930da5fa0325f7988019725c630817bd20c153b89fb4b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAttemptControlledEvidence (cyclomatic 17, cognitive 21): readAttemptControlledEvidence 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/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5a90d81e24e6d837f160e949d61e704d647c64de4dd92202c02e33d0a4525d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeFetch (cyclomatic 17, cognitive 21): nativeFetch 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/paperclip-runner/src/drivers/cursor-cloud/observation-continuity.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"750f6dfc80b480542ab4fd9a2a46dd1cec549bbfd587609d82466647c7642b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redact (cyclomatic 17, cognitive 21): redact 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/paperclip-runner/src/semantic-tools/redaction.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc66e31de9ff81524155cf621d47893a2cdaa3634dc14a70f067c616270881cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouthGeometry (cyclomatic 17, cognitive 21): mouthGeometry 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/shared/src/cliplab/face-morph.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ceb335efd97764cf9ace3cd25b6ec09b9948df3a675c54da75e1a51dc80459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRegisteredWorktreeSeedSource (cyclomatic 17, cognitive 21): resolveRegisteredWorktreeSeedSource 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/shared/src/worktree-seed-source.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"991d2d59f75d9abda2f3047bb3d603bb1d65a1d73a1e9556debd859fe4b17c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWork (cyclomatic 17, cognitive 21): requestWork 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98f3ea7879fc4b28028c793447a87d5fa4ff80e7e2c8a4e0d827faff8c591bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInboxArchiveTarget (cyclomatic 17, cognitive 21): resolveInboxArchiveTarget 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":"server/src/routes/issues.ts"},"region":{"startLine":13025}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7621ca3209d6b30658828d246bd22a534a211851590b11e2131357c5377f9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 17, cognitive 21): connect 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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3993fcc55829782bfa51986cf2ab3d1f5e68046f4dc37d59ca26f155ff7ca675"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeHeartbeatRunResultJson (cyclomatic 17, cognitive 21): summarizeHeartbeatRunResultJson 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb890742c758d6b8d971d46f759735cc7663b5e60f41e590f5568d3a30f9ca04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionWorkspaceConfigSnapshot (cyclomatic 17, cognitive 21): buildExecutionWorkspaceConfigSnapshot 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"321c9eab509fc29d21595f8db5903812426e6cd89fd5a64239cd76a6b30b303a"}},{"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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b0d8f31fe94501da4e67157c0c8ef873f5ee56ce722f19cbc262f3061e7b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverMcpProtocol (cyclomatic 17, cognitive 21): discoverMcpProtocol 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":"server/src/services/mcp-http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"877ff4387d626e5485120046cca7fb0bd9d732682a4e098d9904f27aa632b614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 17, cognitive 21): authorize 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":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6003644bb34b7f64062129aeea5aa1534ff89bd5847b83187aa7473d549db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function command (cyclomatic 17, cognitive 21): command 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"120b51d2bad69980d10136b54fc6261d291c99e75b45ef5d32834ca723b67170"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeU4 (cyclomatic 17, cognitive 21): gradeU4 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"749533d6298b3921b47c42999b068f31e2ef7b711046a46033bbc800d531c51f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareReviewedSdkReference (cyclomatic 17, cognitive 21): prepareReviewedSdkReference 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":"tests/runner-e2e/source-sdk-reviewed-fixture.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"affb856d7bac76daf81eaa46aa7d49f658a86e7f0be3ee0e7276d66cb7c00a7c"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef24917eefe6607c5a6e2b631d6173ce0f70d24dddad6d1034e816f8dabf06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMigrationCompatOverride (cyclomatic 17, cognitive 20): parseMigrationCompatOverride 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/db/src/migration-compatibility.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"47106bf2a83b1f33da941b883606ea59087d12499a47801746c23da8789dd09d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 20): main 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":"scripts/codemod-extract-type.mjs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c656ee7dc55d6081b22ed31930946bf513ee3b35ce7e5826beb838c66e87623e"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":8155}}}],"partialFingerprints":{"codehealthFindingId/v1":"17edfc5ad5e0e0282163faad4e65f065bdf0fe29c6ac707b4111a614418317c8"}},{"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":"server/src/__tests__/execution-workspace-reopen.test.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb83c6879ccbff579ad4a81349ead8496f3b0d1dc23fd8a0403093cf59349e1"}},{"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":"server/src/routes/health.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a5f624ee80e2ea46e6cd24201baa3145dd39ccf0f1d98dbbf0525d367c486d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertIssueThreadInteractionResolutionAllowed (cyclomatic 17, cognitive 20): assertIssueThreadInteractionResolutionAllowed 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":"server/src/routes/issues.ts"},"region":{"startLine":6321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6479370a65f79b6919cf309a889a9c6880168a2eaab97eeb3dcbecef01684714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveResponsibleUserIdForActivity (cyclomatic 17, cognitive 20): resolveResponsibleUserIdForActivity 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":"server/src/services/activity-log.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d47cd5b79aa85c87bcd27e5428dce9f87489673c741de1540441c60153d82d7"}},{"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":"server/src/services/agent-file-store.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"734db46d1e144497d920c05c55d67e20687dac8bb7fbe044e2c80e592148233a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function credential (cyclomatic 17, cognitive 20): credential 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":"server/src/services/ai-connections.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb22c3f53059d8abfabcf5d23d021700556ac6e64f3ef571be7ee0f56ec7deb3"}},{"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":"server/src/services/git-credentials.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f26779b2d3bdd6b9db1ff9871467c322566686d6e3a6d755bd4c6d2f5cea0c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreGitCacheBase (cyclomatic 17, cognitive 20): restoreGitCacheBase 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"7636a41b13221e4f21a6b0ee4caacbe7de86ce01bca35cc8b95f3abae5b426b1"}},{"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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd946d7ea473ec535e6b6fd6c70b9655ede6c3a0cc874a1f5199806b1323d406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startNativeSessionExecutionLeaseRenewal (cyclomatic 17, cognitive 20): startNativeSessionExecutionLeaseRenewal 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":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa465584bc8bfc439d0fafeb41c54339f77bbfb50c91eada27b0919fe151c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNativeGitHubAccess (cyclomatic 17, cognitive 20): createNativeGitHubAccess 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":"server/src/services/native-runtime/native-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"97045ecc0f76aa211189a3836617037be2477d6bd6b9a4aba8a72088bbe1a3d8"}},{"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":"server/src/services/native-runtime/native-warm-checkpoint-ownership.integration.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b461bc9fbc7814ea9f70c5a92bbd7c35c020596e543231fa0114e43d2f23d6"}},{"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":"server/src/services/remote-workspaces.integration.test.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e65a3779a29b02079309093d712cfc301ae7c7463a0d460b61fad7d1544dc68"}},{"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":"server/src/services/task-retry.test.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe75a7e6b9152b7dd8ec2d9ef835d7fb1f270f778696d091951b316654239bcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manageComposioAppAccount (cyclomatic 17, cognitive 20): manageComposioAppAccount 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"42570e2773595e3655d0c1a2ea9493217a5633a4f986c919f5b9a6c1ae31385f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertAskFirstPolicies (cyclomatic 17, cognitive 20): upsertAskFirstPolicies 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":"server/src/services/tool-access/catalog/default-access.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6a8963067e576bc30c0851c14e5440a6e10f80b0891fac9cc1ab6061e17529"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FailedRunActions (cyclomatic 17, cognitive 20): FailedRunActions 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":"ui/src/components/AttentionInlineVerbs.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c795073a4657a1674d56242fa8ff082f89260333b4a2b8764bd41615067792"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalResolver (cyclomatic 17, cognitive 20): ApprovalResolver 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15934584740e360be3edfede23646b983a9adaac523e66283dc0762c8098333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileViewerBody (cyclomatic 17, cognitive 20): FileViewerBody 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af7e374e7b23f6975edf32625866550df417e4dc3d01ead85b72ca498f97552"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 17, cognitive 20): send 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f464a00878a173728698644ae3459276db02427635f7a66b748a686863044cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function semanticProgressCommentIds (cyclomatic 17, cognitive 20): semanticProgressCommentIds 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c30ce510adbb0e1d0e001581b5067cfcb4e6b0000873b2cbf5e03b820a4e3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printGrokStreamEvent (cyclomatic 17, cognitive 19): printGrokStreamEvent 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/adapters/grok-local/src/cli/format-event.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b30a6c99b1ba80e58e4524785c93479e1e31738272ec2dd01f3af8e4832b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 17, cognitive 19): handleMessage 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b4f33d82a728d0b975ddc2ae35901e71384d2055e81839c40f8f94ad708b9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodexCommand (cyclomatic 17, cognitive 19): resolveCodexCommand 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/paperclip-runner/src/drivers/codex/codex-command.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d521e6e5f7cee7dba5aa048327e1fd690616f71923992d677fa55f078ddc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-source-reconciliation.test.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdd8ee22bf6dcdf16653e3d5d81054fc3bd482532ecbe949a9ee7d2ae5a65da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaf1821089744e00cb00b8efd9e898e00c137292f7a9471003f88556c89cfdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSelection (cyclomatic 17, cognitive 19): validateSelection 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":"scripts/ci/test-selection-manifest.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ff245c7fdc07253bc12e278a9349ccb35ba5d9b4c50b6930c19dc81007ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":44850}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba3a1a85cf6c78cc9c32efd4e0a3143a1cb7fc57a0ca4e182a9edd72bc92765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":65523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf1b9fbc698b8e7e6e7ef3b852603e7e6f48453a4dc7d774799c773b21d0dd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 17, cognitive 19): check 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":"server/src/services/local-ai-login.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47e559fe30ac12795c103944fa114d0677b5d3cc1814c16270815fa7612a241"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehydratePinnedSkillAssets (cyclomatic 17, cognitive 19): rehydratePinnedSkillAssets 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":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35f7c130f533104b8e13861962f3f7c0a9c2b4963bb87f35e4abc109d542a18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadWorkspaceSnapshotArchiveTimed (cyclomatic 17, cognitive 19): loadWorkspaceSnapshotArchiveTimed 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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f49f4e3c05bcf8c1af01babd716f973f976f41ebe9992a07124ed08e3e7298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startPublishedCanary (cyclomatic 17, cognitive 19): startPublishedCanary 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":"tests/canary-onboarding/start-published-canary.mjs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8f248bd21d3f6b9e2c4d1a9d8fb8ad430f6cd7dd2a96e43b72d7fc9386d657"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/execution-recovery/recovery.spec.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb6902a3c97940ea89d93bdc513cf1b192c114e57bc2bd010143aa2ad3fa250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evalRequestReservation (cyclomatic 17, cognitive 19): evalRequestReservation 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":"tests/runner-e2e/eval-gateway.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b038b50c1aba4a145c3cd8693d530e927ebd9b2d212416945e507e7327520a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inventory (cyclomatic 17, cognitive 19): inventory 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":"tests/runner-e2e/github-operating-usage.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb0643a9eed6bf4fdf9bd8ed1dc5c7837994b77d5b3a1cd2ff58a0a9c2b219e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuiltInAgentGate (cyclomatic 17, cognitive 19): BuiltInAgentGate 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":"ui/src/components/BuiltInAgentGate.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e97bcf02645cf2163998fc9d93ebc9d1faa53a929b39a4a098d7e5c27d16a15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopReasonLabel (cyclomatic 17, cognitive 19): stopReasonLabel 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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1f602cb8d97a6a79a552e1afdac96be2ed483f0352c074970e6c37f7933f68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signatureOf (cyclomatic 17, cognitive 19): signatureOf 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":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce628bb046add81f72a4d6447e1d4f97e780201dd46ef5999baa9994244a78c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wake (cyclomatic 17, cognitive 19): wake 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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"357861aced19d086d05ea02bc158c90bb43858888b568d72ee7fee2517648e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 17, cognitive 19): mutationFn 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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd1dac48b105aa7f9382c1dda00f069cdca54dcd871b888b6c36532b3f3f0ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerWorkflowAlerts (cyclomatic 17, cognitive 18): runnerWorkflowAlerts 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/paperclip-runner/src/eval/workflow-report.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"869fa60936eed34d63946b5c6bb68f63c48100527e7b167d8a8176513e8c4d91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispositionIssues (cyclomatic 17, cognitive 18): dispositionIssues 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/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2577d5b46841a12e1b6c899093e2002dcf7ed1f2b6205b52fca00e58ff4714e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runToolStep (cyclomatic 17, cognitive 18): runToolStep 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/paperclip-runner/src/scenarios/scenario-execution.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5178e37cb46a5664bbd4014cfc72a99d1df5240911b60344420a5b3d5f70b3e7"}},{"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":"server/src/__tests__/satisfied-connection-intents.test.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"53871f89d068c46217959e7c8e43a7c9a8bbf20ea31fab8b53ca8821a34d780e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestTurn (cyclomatic 17, cognitive 18): requestTurn 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"180247a04f2690eaf1966d66c822d3759de957f06f11f2ae7fa98c113ed9d4ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAiConnectionCreateAccess (cyclomatic 17, cognitive 18): assertAiConnectionCreateAccess 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":"server/src/routes/ai-connections.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f9c2e2764c7df40aeac652b0f508b94dca9aaa101f2018f2e54ac88c10a058"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":18929}}}],"partialFingerprints":{"codehealthFindingId/v1":"365b4027eb2eedddc4e686ce78f698e069f743048c8d946deca1a8d06d7b208c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 17, cognitive 18): inspect 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":"server/src/services/accounting-integrity.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"22161d2f712e5071b3ccc7cfd146a5be7446ef340786dcb401933b600ff63777"}},{"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":"server/src/services/agent-file-store.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1691b55146df349990275420f27c345451c285c0aee1309140ccdc8ddd56c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeAgentmailTool (cyclomatic 17, cognitive 18): executeAgentmailTool 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":"server/src/services/connectors/agentmail.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d192e7142de201edb10c8afec1267eebeb854b9393470826311c27ebfda1b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireTaskDirectory (cyclomatic 17, cognitive 18): expireTaskDirectory 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":3675}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba948d0637de9dd66e038207d039a5d0e482643d84478c2a6a029bcf78db28"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17883}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43c22df4e4b9e9a542721e7179078675dbd668d5e1a448f340eef21a886030f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitHubReadGrantAccess (cyclomatic 17, cognitive 18): gitHubReadGrantAccess 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":"server/src/services/tool-access.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ecb1c4d0c67f6061c4f7697c58f3feacce615f19e5a737a0b92b30647c2aff"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4237}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8bbf9ca490b7099c52c53af77de0f8700cfed86dad2bd638d1e03a184bae0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exerciseQueuedReset (cyclomatic 17, cognitive 18): exerciseQueuedReset 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":"server/src/services/workspace-recovery-admission.test.ts"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbe47f5d15f0ec6e5c6baacde7afc5b860b7e787992437f655dda2887754466"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeStop (cyclomatic 17, cognitive 18): maybeStop 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cdcb4f2c9621bca1f3b835077e21cb706d95ade437b49d0f0c365817298b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closedSkillUpdateFailure (cyclomatic 17, cognitive 18): closedSkillUpdateFailure 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":"tests/runner-e2e/api.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7825c0c06243d83466ad8e79590ca79de74f38e477ada8a8b59c0e63957cdbf0"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-notion-expired.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb7121be465d0a53aee8c8ea05ef0f3f74fdb3196f3b30669bc567060da7e83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unmetPriorDeliveryReview (cyclomatic 17, cognitive 18): unmetPriorDeliveryReview 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":"tests/runner-e2e/chat-catalog-domains/internal-task-completion.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"33beb9fb83f9b1033a8e87beac6fbdb6bfd3d8193e1800a477d78f9f874bb473"}},{"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":"ui/src/components/OnboardingWizard.test.tsx"},"region":{"startLine":3975}}}],"partialFingerprints":{"codehealthFindingId/v1":"697980f0f8d55f653b66d5314638f1640eeebee2ae529b0acf59f4030488dba9"}},{"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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9b94e58e1abc348f40c7a765d07db53a4009b3288e429c69536332a5c0ef8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 17, cognitive 18): handleKeyDown 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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"635a00d59dc11d4d34ee2ae4477838a98da6fc3af1e7404579b16f7cd96b23e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PasteConfigTab (cyclomatic 17, cognitive 18): PasteConfigTab 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":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b6be53e7cbb9b87a6cf027cd075ab4dd2396aa7eccf2495720bad6185a7dab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function worktreeMergeHistoryCommand (cyclomatic 17, cognitive 17): worktreeMergeHistoryCommand 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":"cli/src/commands/worktree.ts"},"region":{"startLine":4126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdf3331e2721e234f69d743cb6d4383120b21cdad9388cbc43301183f970561"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promptStorage (cyclomatic 17, cognitive 17): promptStorage 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":"cli/src/prompts/storage.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c54d3427f4bfd44fd2db05462b9212d6fc257469bb8f4e8864bd7f8f5d46a4c"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5952}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9caecd2d99b2163b854104811339979ddbaa84aef5103b12b1dd557e13ed79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 17, cognitive 17): execute 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b14ca2920dda7e5a3190b236497449e61acb91109a761d0c88c158ab44d906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readConfig (cyclomatic 17, cognitive 17): readConfig 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/db/src/runtime-config.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77628086c625b8db42fd95b3b2d576dc61c967a2480902498108005cb697468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePinnedOpenCodeBinary (cyclomatic 17, cognitive 17): materializePinnedOpenCodeBinary 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/paperclip-runner/scripts/materialize-opencode-binary.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53fecf531b3ef016391bc3f1b34281e32d42d8f7b386c2f06698cdd1b796664"}},{"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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.claude-background-tasks.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcd5227c25af24abb2708bf856de3af564cd0d855f96c130e130a3cd5029ec2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #commandResult (cyclomatic 17, cognitive 17): #commandResult 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8128}}}],"partialFingerprints":{"codehealthFindingId/v1":"580a474663c318a22be59819b4729eb9dbefd98879badd25fccd56f9d0454812"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireTransportAdmission (cyclomatic 17, cognitive 17): requireTransportAdmission 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/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d530225aaf322b5ca6b2ffa9b7b9533d47f1b399ebbb61cd9daf079acea0e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerBuildStep (cyclomatic 17, cognitive 17): runnerBuildStep has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/agent-preflight.mjs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b64c0d2628ab4282ac62428b314b13a4d77a89780a2dcbe2cb088351d9f5dca"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":17903}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3adbc27b5e13fb49689cf243a2293c631bfcc1030b8cc73be201cc61380694d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCostCorrectionInTransaction (cyclomatic 17, cognitive 17): applyCostCorrectionInTransaction 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":"server/src/services/accounting-corrections.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d068ad25f27ebb8a7a1d84589c8e8f0b2eba59de1767d6c010248d711dbbb59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeAgentDirectory (cyclomatic 17, cognitive 17): probeAgentDirectory 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02230f1b4da66b6abae10872aa9c11fea5a94a16725fd3c00385e7031eb3c31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweep (cyclomatic 17, cognitive 17): sweep 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":"server/src/services/approval-queue-seeding-work.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"576dbee844ba37b69d21f39ce9fdbce84a32c5c3bf00217daeab79a575b21a65"}},{"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":"server/src/services/attention.ts"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c27870ed1c32451c71c70b4500eb889ce4dc9bf051000a6f0695dcb0a363ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeGitHubTaskRetryBatch (cyclomatic 17, cognitive 17): authorizeGitHubTaskRetryBatch 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":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"487c02f5118e5de40892eb417b72b26963ec79ed152152deb8b443634edbd015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectMuseConnectionCredential (cyclomatic 17, cognitive 17): inspectMuseConnectionCredential 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":"server/src/services/muse-identity.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9396ed79dc64e1419e3e75688926fd83664de5497ca85ee63cb1e15dd970302b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveWarmNativeInstructionDirectory (cyclomatic 17, cognitive 17): reserveWarmNativeInstructionDirectory 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"910bf50eae838e8459437a72f1a80428d9a366b7277475ed6ed3a500b31c1467"}},{"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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c409accaa9410c9b43b0513d33fc50ba0fbbae36d6294bfdefab5a92389958d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listReadyPluginEnvironmentDrivers (cyclomatic 17, cognitive 17): listReadyPluginEnvironmentDrivers 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":"server/src/services/plugin-environment-driver.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daf5e7ab6bfb5fc9f66ac8a25a7a63202d2546997dc0838a08b19bd1b64ef3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 17, cognitive 17): resolve 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":"server/src/services/plugin-secrets-handler.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9871320844ef703f22876f708a820c320a2001bd3b416c8565afc7488683ee4a"}},{"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":"server/src/services/runner-goals.test.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c9a0537b36632aa6b500f3b2c76ca336ac5d656ad9f5e5f6b8eaa75309fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextStatusCardPolicyEligibility (cyclomatic 17, cognitive 17): nextStatusCardPolicyEligibility 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":"server/src/services/status-card-update-engine.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c101463a5c3abd534046fd19a4b286cb3b5bf4d5b041796faffd616fe668c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClassROptions (cyclomatic 17, cognitive 17): parseClassROptions 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":"tests/restart-chaos/class-r.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c89fb79df7f0f1b438804831bd2932b4f39bb895118b2fd0a0ea834438c244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 17, cognitive 17): load 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":"tests/runner-e2e/chat-flow.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead0753d46325fccf36e39316271c9282dc0b14a59b9fa0029c6ce8448d4f1a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function humanizeSystemNotice (cyclomatic 17, cognitive 17): humanizeSystemNotice 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":"ui/src/lib/system-notice-humanizer.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c848ead3be1373612394fcc38d5345418d2429be8f82057778de3e1662109793"}},{"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":"ui/storybook/stories/tasks/new-task-composer.stories.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefdccb5de8e6e24c38622819603f512227d67824300e03d534b625f0cf14666"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printCursorCloudEvent (cyclomatic 17, cognitive 16): printCursorCloudEvent 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/adapters/cursor-cloud/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e84ec965de70925881d4f9ebb721e17ffdd2629243d0fc208d6ef0af82559f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenParams (cyclomatic 17, cognitive 16): parseOpenParams 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"387935210b755d60dc94cffdd2258a273fc1f4419a0851e92c4fd1258a02dd32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runControlPlanePortConformance (cyclomatic 17, cognitive 16): runControlPlanePortConformance 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/paperclip-runner/src/conformance/control-plane-port.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d1f8141b862368ae38c647f9679f35328d0137ede8c3d50e625bd51edde010"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 17, cognitive 16): observe 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/paperclip-runner/src/drivers/acpx/grok-usage.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad88ec76ae330f5da480e2124755a8f29b4df1564a7d4e46062c40b084aa908b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCapabilityFixtureState (cyclomatic 17, cognitive 16): createCapabilityFixtureState 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/paperclip-runner/src/mock-core/capability-control-plane-types.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aadc326919dc0cc33030b976a63526cd26bb16995f0a15dd424f7ec2f087385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexErrorNotice (cyclomatic 17, cognitive 16): codexErrorNotice 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad29b40c146daf5b48a221e93a08469c6f50b125fa225bc85c87ced30fb6cc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QueryTab (cyclomatic 17, cognitive 16): QueryTab 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e842d35ee8e2de77181c840128c5357760c1f88a86c8f29a1e1820ad9ec0174d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeProviderRateLimitSnapshots (cyclomatic 17, cognitive 16): mergeProviderRateLimitSnapshots 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/shared/src/provider-rate-limits.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba92c27c5681ccfb615747527ef7b6ce1f0057c0c2b430f2c5e9d120f27aa725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCatalogFile (cyclomatic 17, cognitive 16): classifyCatalogFile 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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"508a3b41142cb1bcd8ee78b0acf44321815a500f813b211350597abd2ece5687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function monitorTransition (cyclomatic 17, cognitive 16): monitorTransition 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":"scripts/eval-schedule-monitor.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6693e6fd49b8bc7277599a2b9cf94419c3133781ed1d5dc300b389ca2b9ffd21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 17, cognitive 16): parseArgs 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":"scripts/smoke/chat-webhook-ingress.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3bc753a85c55c7d20ab1e18a4f2facbbfac1eef7cdbaddceb4dcd2c658618b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForContainmentSideEffects (cyclomatic 17, cognitive 16): waitForContainmentSideEffects 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":"server/src/__tests__/heartbeat-workspace-branch-containment.test.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"406613bbf500b1967deb35950ed64b9b1fd1b40969d5e78d7c89d9c52bcb058e"}},{"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":"server/src/__tests__/issue-update-comment-wakeup-routes.test.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d46013be3ef565fc16163bf1570f0768ebbc5d3e870ee0e04b565f2a83e08dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedSession (cyclomatic 17, cognitive 16): seedSession 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":"server/src/__tests__/native-harness-backup-expiration.test.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79374b87035392541342cd74d13810df494f997828514134217c0690f463c6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindingForAgent (cyclomatic 17, cognitive 16): bindingForAgent 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33d179c334c25e1e3432891b741f3374fddedddd3f2d4910f90ab90ff28ed31"}},{"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":"server/src/modules/wake-queue/adapters/postgres.test.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51178d3c33606c2086a12433f94e84f251471d735b94127293a71c771b2308d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichPromotedWakeContext (cyclomatic 17, cognitive 16): enrichPromotedWakeContext 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":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"801ce72cf3dcc2ad6003b20ba5b6bfe50755dd7f807a910734d60f089b09783b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAttachmentRangeHeader (cyclomatic 17, cognitive 16): parseAttachmentRangeHeader 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":"server/src/routes/issues.ts"},"region":{"startLine":4746}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9ace077dd331b03315effd374fe85bfe642ea5ef19f7a79b20779c9b3f85a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkProductCreatedByRunId (cyclomatic 17, cognitive 16): resolveWorkProductCreatedByRunId 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":"server/src/routes/issues.ts"},"region":{"startLine":7189}}}],"partialFingerprints":{"codehealthFindingId/v1":"563d8a4c805767d264597bf6424b96ef65a3eb0b894356b96b6b8aef62c928f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentRow (cyclomatic 17, cognitive 16): currentRow 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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf65a68d4047fb5380c23b6c46ed9dd0da4e9ce527524ce55e7f1a87aebf3d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRuntimeSettingsPatch (cyclomatic 17, cognitive 16): prepareRuntimeSettingsPatch 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":"server/src/services/agent-runtime-settings.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a640e13ac84bc8480c7ba1912ab6c66ec797e63e05da0aa4beed49b71d7c8b"}},{"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":"server/src/services/attention.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfa91d5b80f143b9f8790c57e47f265a271849ff9398e14748fcde22ceddfa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toCompanySkill (cyclomatic 17, cognitive 16): toCompanySkill 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":"server/src/services/company-skills.ts"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423067e35d37f64ef40a54e8f1f95bae0c3ec5caa1ade9691d4a487bbdba9af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toCompanySkillListRow (cyclomatic 17, cognitive 16): toCompanySkillListRow 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":"server/src/services/company-skills.ts"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba138e825c3cc2db4304da49d41baf3b98869aa38ae1ce64a20a32329cb14d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grantConnectionAgentTools (cyclomatic 17, cognitive 16): grantConnectionAgentTools 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":"server/src/services/connection-agent-access.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"709eaf4ff5c5aca5b6ecba3af65a0ada28d820c6c676d8a9dc4e6dc223c9e19e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestChatHandoff (cyclomatic 17, cognitive 16): requestChatHandoff 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"1818d45b63a61bbd3006f25240ae35d2768dfd48db7c9ee0a42fa1cb7416baf4"}},{"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":"server/src/services/decision-queues.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c777d025f9a4e83cde50679581b3a518bb57c1af6888fda446e9cf624e65e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRunLivenessContinuation (cyclomatic 17, cognitive 16): handleRunLivenessContinuation 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"721751e2792079f49424d234a461652a126b40f5ae2953350b5f1c9de19ca3f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReusedGitWorkspaceAnchor (cyclomatic 17, cognitive 16): resolveReusedGitWorkspaceAnchor 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3371}}}],"partialFingerprints":{"codehealthFindingId/v1":"451f7d4e36b75daf112327f1571a1c33ef3209cae9d5ec71fc65a9721509cb77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildContinuationSummaryMarkdown (cyclomatic 17, cognitive 16): buildContinuationSummaryMarkdown 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":"server/src/services/issue-continuation-summary.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ef5689a27f8b3545fb6dea0a8a81a0eabf67aad069901cd8ea2f29936b42d"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":8880}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cde8f7ced62194fbc044cbad5a6747a77877c87922fefd081e1162cbde1f61"}},{"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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":4035}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff4b02483db7af414f388812ab0cf9aecd72e6f30f394bb39701965728dd4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreCurrentNativeHarnessBackup (cyclomatic 17, cognitive 16): restoreCurrentNativeHarnessBackup 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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c895a0034e70b7208351d038926ff0f02be6f1c5082e06c1fb447e8593dc7e"}},{"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":"server/src/services/native-runtime/native-review-dispatch.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e0307080b5709f86da30d3e1c371925a6a02d4dec61fc11e24a401c212a0a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRemoteRunnerBuildMetadata (cyclomatic 17, cognitive 16): assertRemoteRunnerBuildMetadata 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14356}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e70d39d7c72d06c489e379b7191f5b9fbeb901cdb21c15b07c8b648a8b967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retentionBlocker (cyclomatic 17, cognitive 16): retentionBlocker 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbf46ece341de82057c7e3efeeb8da57d5efd0c68559efc0e0e316c6c268807"}},{"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":"server/src/services/native-runtime/task-monitor.integration.test.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e896ab356b8efb1c9c079df02f35c1f170262b830f8e43631ad2ede209fdd44"}},{"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":"server/src/services/online-remote-workspace-recovery-hold.test.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b6ce7f8db45f0e3b5180dad63a79b2d8b6e0b4d42419b2eed79ce253ccee65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePluginLocalFolder (cyclomatic 17, cognitive 16): preparePluginLocalFolder 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fb4b5b1af23ed132c8e1f6f02892f3637b77766fa145624094ccea68174325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideRunLivenessContinuation (cyclomatic 17, cognitive 16): decideRunLivenessContinuation 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":"server/src/services/recovery/run-liveness-continuations.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5815030ab33e0c75cbdb970f1be366c05354d26c7deff2d200cfefa1c616684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateOrReservedIpv6 (cyclomatic 17, cognitive 16): isPrivateOrReservedIpv6 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":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc58d5b1a6e0ed997f6607b407876507f0261cc10560303cace596c0fa06666"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideGatewayPolicy (cyclomatic 17, cognitive 16): decideGatewayPolicy 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5362a65dab5e9d7c8ec7bc8ce13fcf196473a86b4485e313dba8c6af2e5c219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertTokenSecret (cyclomatic 17, cognitive 16): upsertTokenSecret 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":"server/src/services/tool-oauth-legacy-backfill.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40cc6a5860f37c1a392f773c69559446d456ef9f082c0640250fc9aeb4ac931"}},{"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":"server/src/services/workspace-recovery-preparation-gates.test.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e47e090e3e0fe724f29959e2c12e006bc7fdc422a496533705cc4d81c3e1199"}},{"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":"server/src/services/workspace-recovery-preparation.test.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2754aff4701faa9a0ffa10e3c73f8921b0e47c4f6c993c4a0ed2dd533173fd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 17, cognitive 16): observe 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":"tests/runner-e2e/chat-catalog-domains/external-slack-thread.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4311beb0957a56fc21c9480ec27e4543b41215fac81a362100e620fdfcbad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mentionsRecordedTime (cyclomatic 17, cognitive 16): mentionsRecordedTime 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":"tests/runner-e2e/chat-catalog-domains/internal-activity.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3205b61fc8f99dd4ca2737cd23ca66207a9aa9b666966dac35371e948919ce4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dockerCommandDiagnostic (cyclomatic 17, cognitive 16): dockerCommandDiagnostic 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":"tests/runner-e2e/docker-postgres.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0039e4dad18e9e435c18499bb009a68343c048712bb8b81edba8d87cc0aa856c"}},{"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":"tests/runner-e2e/product-journeys/stop-redirect-evidence.test.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"991a3137ca050edaaaef7fa0d1e285e1284934032ad47d3912850194eeea4293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyError (cyclomatic 17, cognitive 16): classifyError 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":"ui/src/api/errors.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cba993ff439a4099373f18f826fb60d0bf3cb6c153d9b32c7db2900bb67587"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExcerptSheet (cyclomatic 17, cognitive 16): ExcerptSheet 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":"ui/src/artifact-directions/directions/d1-solid/ExcerptSheet.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0da39799e1219d0d03ebf1470ac1eb9f3f485bb27be38b5ed586dc2f8fdd81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentMultiSelect (cyclomatic 17, cognitive 16): AgentMultiSelect 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":"ui/src/components/AgentMultiSelect.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c96765ceb4137de3a2bae489ad39a9c6025663e0280ca64ae81e76b2c3dbe2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailMessageCard (cyclomatic 17, cognitive 16): EmailMessageCard 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":"ui/src/components/EmailMessageCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ebc56dc224cdf4e4d45ba81300018b65b94155c1c4e63850a9d755349e333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalObjectPill (cyclomatic 17, cognitive 16): ExternalObjectPill 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":"ui/src/components/ExternalObjectPill.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd9770d139acd986fee9ed97f31b0516cda4911f2459dbbb4270cd1ccd7775"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function img (cyclomatic 17, cognitive 16): img 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"843a0ecc5cea8ad25031adbe7d1f1b2372a06314b091efd68ab24331876dd720"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemberMultiSelect (cyclomatic 17, cognitive 16): MemberMultiSelect 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":"ui/src/components/MemberMultiSelect.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba82c6a60cc638f9f7cdfe3e58a8c7bcfc9631ccb07b233efc34cc9d1a938e8"}},{"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":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c296576ca70d8c49c8cfaf6d6680dde7550ed4937322bbf0c9e24d96e5580aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarSectionHeader (cyclomatic 17, cognitive 16): SidebarSectionHeader 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":"ui/src/components/SidebarSection.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e5c2b3cd57148ba17f5125d780ff656668281f74d074ddc58832690c4cd3a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StalledReviewActions (cyclomatic 17, cognitive 16): StalledReviewActions 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":"ui/src/components/StalledReviewActions.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c765d9f5bf4161ece81dbdb71341c36c0f91d7bd867c6cbe2e6167ec144da2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceAccessCard (cyclomatic 17, cognitive 16): WorkspaceAccessCard 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":"ui/src/components/WorkspaceAccessCard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8075d74e03d1aa9b58bdac3225434afa2e532b6448148c9ec9ecfff3eafa1216"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidePanelFrame (cyclomatic 17, cognitive 16): SidePanelFrame 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":"ui/src/components/side-panel/SidePanelFrame.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92ee7999fee7db8eb7784b1e0fc527e07cb1d5db3b79f4144ee230fc8bca085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidePanelTabs (cyclomatic 17, cognitive 16): SidePanelTabs 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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2595bdea25fb2743f8f0c127e84fe249686e3cfec4667157c7ad1874b1470759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatRunnerActivityGroup (cyclomatic 17, cognitive 16): TaskChatRunnerActivityGroup 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37ff9930f075ad1847e1f0aa9273b96918291fd9ea0a2b9c92752a538519f0b"}},{"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":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8762fad77a487b6174fbab0e1a08a597a1f5f1ad380aeaf66e507e530b99d738"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySkillDenial (cyclomatic 17, cognitive 16): classifySkillDenial 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":"ui/src/lib/skill-policy-denial.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc8ba775b3b2e208b3069664386e71478fb73fcc84431d782ecc4422f13b4c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Workspaces (cyclomatic 17, cognitive 16): Workspaces 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":"ui/src/pages/Workspaces.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4536abb7c378d0e422cf75bf9e779762053cd0383568f5032bb5821e032f10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentHistoryDialog (cyclomatic 17, cognitive 16): AgentHistoryDialog 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":"ui/src/pages/agent-detail/AgentHistoryDialog.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c5c3354e36ff7983971c193ce9e76218a1c64a2ecc82c37f807e38812d8c57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectClientDialog (cyclomatic 17, cognitive 16): ConnectClientDialog 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":"ui/src/pages/apps/gateways/ConnectClientDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c108e86e7773c482462f85f091828345354d7d6a39d829e4f0db3c03d42d6a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SetMyUserSecretDialog (cyclomatic 17, cognitive 16): SetMyUserSecretDialog 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":"ui/src/pages/secrets/SetMyUserSecretDialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7aac5ad049703239f2da5890aac8fd47cba25a25e5cefc863f0fee005404443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readConnectionFailure (cyclomatic 17, cognitive 15): readConnectionFailure 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/adapter-utils/src/connection-failure.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3222cc1a54922f852b4a1f8d9d1fec9bccba4055c7b8489febed7801c536d3e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitFailureKind (cyclomatic 17, cognitive 15): gitFailureKind 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c941be6bac3d8d442e4b28fdc86ef4006f27c18513134ddb939169d7517386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 17, cognitive 15): observe 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/paperclip-runner/scripts/cursor-native-usage.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b972e476cee88273341addce033434af06fa5bf0049bff892f7534c9fef69ab"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":53098}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f20072249f8dfea45b995467a41efcc9ed5cdf2a428bc11e031ede0263bd11e"}},{"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":"server/src/__tests__/heartbeat-comment-wake-batching.test.ts"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"316020131f3c907a2be9eb865065c581b36434fbd7983f98a495a0dfe5cf82d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEnvironmentSecretContextCompanyId (cyclomatic 17, cognitive 15): resolveEnvironmentSecretContextCompanyId 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":"server/src/routes/environments.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108c362111ca05620a697540895de1d3ad96ef1ff0446e4197add11d339e6d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitConfirmedSlackTaskStart (cyclomatic 17, cognitive 15): admitConfirmedSlackTaskStart 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49d882596dcf3fbbec66205d2d5384f1672240a0add8fd321bfedca2564622b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubChatPrincipalAccess (cyclomatic 17, cognitive 15): githubChatPrincipalAccess 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":"server/src/services/chat-github-access.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8ab2969972d0242f00ae15ab282b5fee6334f7d46cfef06a6a2ba32de7966a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTestRun (cyclomatic 17, cognitive 15): createTestRun 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":"server/src/services/company-skills.ts"},"region":{"startLine":6880}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c751613b810972ef167c699d9edcea4c7704d6b76a3ac9d9d4c91fe1be0f5af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseIssueExecutionAndPromote (cyclomatic 17, cognitive 15): releaseIssueExecutionAndPromote 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e231bce31097fc72c354233f0d975729694bfab06e3678f375c38e6175a3f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecution (cyclomatic 17, cognitive 15): buildExecution 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":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d46d42ad43ff09396029191623a8335d2afc4748257ec0b58b8c5306d13a57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueContextUsage (cyclomatic 17, cognitive 15): issueContextUsage 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":"server/src/services/issue-context-usage.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd6145e7712bf973d4c7db08886f1a9102165e8c5e56062f1c39c82c5c962df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeNativeAttention (cyclomatic 17, cognitive 15): routeNativeAttention 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a48101fe1959cc1b488ea7699787d3e3103753ff2eccffae16e8f780b73edc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #lockAuthorizedMutationContext (cyclomatic 17, cognitive 15): #lockAuthorizedMutationContext 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"75748dbe43a3847044c04c4ee369d3bf50b3ad589b3364ac89b87d430da803b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function append (cyclomatic 17, cognitive 15): append 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cd56c14cc1161cc5b7fab2c86f2712cf9ff23ce81b1faef1771117394bd709"}},{"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":"server/src/services/remote-workspace-abandoned-files-hold.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52ebac86eaa49594f26643be26425575c22048b0ef04bbced5c0e3a05ad261b"}},{"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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b50e9e9e60db0509aa2df1f372197038c427f11adc9f27286ca0f7eddc9cacf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storedMcpTaskContext (cyclomatic 17, cognitive 15): storedMcpTaskContext 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7552}}}],"partialFingerprints":{"codehealthFindingId/v1":"43666861466c7ad90cd11f3ba3d1f635a5eeaf2a7cd386bcde63945e039e6b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifySpekoSignature (cyclomatic 17, cognitive 15): verifySpekoSignature 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":"server/src/services/voice/speko-protocol.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d49a35b527c2a4e8874c2365f506fd564972384ae60888d73c37bc32acce37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statLocalCandidate (cyclomatic 17, cognitive 15): statLocalCandidate 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf02b111d88ef059a511257b9437639543834ce8ce5a311492c285e39fc0ae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 17, cognitive 15): run 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3314}}}],"partialFingerprints":{"codehealthFindingId/v1":"55734a31fbc0d09918a5782b618b5fb1731a6d4d6220f70120f1d3b0691b0d21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareTeamConditions (cyclomatic 17, cognitive 15): prepareTeamConditions 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":"tests/runner-e2e/chat-catalog-domains/external-team-conditional.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7884ad7a363f6aaa57b3cb15a6d43ced2b93620650f2e5ddf335fccb90fc3dae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wait (cyclomatic 17, cognitive 15): wait 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":"tests/runner-e2e/product-journeys/chat-continuity-flow.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec32793ad1d0cd49ad4a65ef37b45ea4b7b8b3ab657cc206a784c9ee9a5ed840"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanySettingsSidebar (cyclomatic 17, cognitive 15): CompanySettingsSidebar 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":"ui/src/components/CompanySettingsSidebar.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83b7bf1890476a83c01e896712335ba000ef88d0267397a478c0063016c332b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocumentDiffModal (cyclomatic 17, cognitive 15): DocumentDiffModal 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":"ui/src/components/DocumentDiffModal.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ee369c96f8f1694bf581b97d2d96cf7861ab839fae78cebbf4773839f4164f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRowKeyDown (cyclomatic 17, cognitive 15): handleRowKeyDown 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":"ui/src/components/FileTree.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb9abde48bfc1447ec9c8a83b047e04fa674b673ff5844e0d6a007710ee97ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KanbanCard (cyclomatic 17, cognitive 15): KanbanCard 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":"ui/src/components/KanbanBoard.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"529ba3042b056ab7c0b67473db3a822a41ee400d0f6620cba6953014ca3fa98f"}},{"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":"ui/src/components/ManagedRoutinesList.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1bf2c4ddffbb65114b46936fe0679cccb26a78c1b1475064e72f9ab026e3d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewGoalDialog (cyclomatic 17, cognitive 15): NewGoalDialog 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":"ui/src/components/NewGoalDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dd27d291d0ce81a26f43fbf0c5d9036edd7e56d0ea8bdc8466ff554e947dc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 17, cognitive 15): handleKeyDown 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d27355f4dd6f2070d67931b91dea697cbc201bb20a44e4757335e34424a884"}},{"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":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e443244e28ad3e2c5a60fb4db1985670a57baef329340ac93d826782fe76cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OverviewSection (cyclomatic 17, cognitive 15): OverviewSection 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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc26a23296e4e9da82df981fd197d32c34715028c02200689b2ce1deb787207"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceChangeFileRow (cyclomatic 17, cognitive 15): WorkspaceChangeFileRow 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07517aa3be9a615ad3da582a4b55200a4a1925c91c420d034faffab91e59235"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validEnrollmentAccessState (cyclomatic 17, cognitive 15): validEnrollmentAccessState 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d7fdcaf6279f6cf2f46f270d1515adbdcdd6f98b013da7d93395749474f12d"}},{"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":"ui/src/pages/Costs.tsx"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd83a5260fe296ae9ef142705cf8b07374c60a9a7e2bc70d76f6b3143b8ce37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccountObservations (cyclomatic 17, cognitive 15): AccountObservations 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":"ui/src/pages/apps/AggregatorAppManager.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9bb4115dd5e55d366724be13cbae4e703a524c18bd56cd09d6c20d24a8aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionTestDialog (cyclomatic 17, cognitive 15): ActionTestDialog 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18ebe6e22d944207a703c6b44d03e335b400b70098f3c208774dcfc810ad1db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakePlanReviewThread (cyclomatic 17, cognitive 14): normalizePaperclipWakePlanReviewThread 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f24bc952705d761794658c6d19fcd3bb4bd86589710f8e87bea7551f9e2fb07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCodexThreadGoal (cyclomatic 17, cognitive 14): parseCodexThreadGoal 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/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f9081ae67a2006ef1b63a6330d81a1b4ac83dfcfd1868ffae6b02a6b54212a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSemanticToolReceipt (cyclomatic 17, cognitive 14): parseSemanticToolReceipt 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/paperclip-runner/src/drivers/semantic-tool-receipt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aca7751aae39b22569c4c03e2f0001648473394fd794322e3bc5fc8ddbbc29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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/paperclip-runner/src/live/runnerd-codex-transport-settlement.test.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea9965d1fd00191fc48289e5b9c3830c6c588338e76d9a98aaf92c1f0f3971a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentValidateConfig (cyclomatic 17, cognitive 14): onEnvironmentValidateConfig 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/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fc901694d1e40617cea85034438967ac6ca8626b16f7bcb53b1db3f6e5994a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWorkspaceProviderResult (cyclomatic 17, cognitive 14): parseWorkspaceProviderResult 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/plugins/sdk/src/workspace-provider.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e178169c78906abf054d9b8e861849a1405d1e61a9721407ad05baa1e2a6695c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webhookHook (cyclomatic 17, cognitive 14): webhookHook 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":9311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c0a2da38f6ff95c1c971f041c5e398afc654515297f692860aad648eda3a7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/__tests__/chat-interaction-publications.test.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d362fd3bec93f8b6802be5a661848cb69e81318555c12380e6f6351a6ab085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/services/browser-use.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac2cb9f0d145c92d741603bf3988ad17efbe7509483c82699cdfc7ee824c901"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageSlackFormPublication (cyclomatic 17, cognitive 14): stageSlackFormPublication 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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849a5d075a4d69eb4367d6f702320fd71687d3d9ee99bf712452da7dcf26bec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/services/heartbeat.ts"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3779805ea55316f162798f36001dc8e65e37c78c8218b0c87bc539f1d441d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/services/native-runtime/prepare-native-run.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"90046b023f1efd8762a63c70f09267ca1136e6357e844b025f2f75fe61b509ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePluginWorkspaceReservation (cyclomatic 17, cognitive 14): reconcilePluginWorkspaceReservation 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdcb19d70a3d810d113d73f1db9df3c4c914ead1c9881fe76fba0611b61f091"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function state (cyclomatic 17, cognitive 14): state 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":"server/src/services/project-instance-secrets.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2174c7e29db97e925e2cb90378e1797a4eace847fb10322ca585ea8f9b99c3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/services/recovery/owner-gone-attestation.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31dba707e034d011a6b561842a1113569ebc5ab0831258d1bf5e8c2b4d919c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isHermesConnectionFailure (cyclomatic 17, cognitive 14): isHermesConnectionFailure 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0974abeb170d02468190c9c37e461067e0a4756885880b0c8c9b8f7739ac94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"654b0e7719747f022e54cca32e0de6ebbbe22985958948ccb57993192b908a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) 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":"server/src/services/tool-access/catalog/reader.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39080a2153a9b29d00f51ad8d8782ab158964037ac5f1ec785f4e4c74ff7473"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function s3Operation (cyclomatic 17, cognitive 14): s3Operation 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":"tests/restart-chaos/storage-s3-ops.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacaffd7fb1dac54305395b224144783c5db8a14ac9126d991431fe10a88dfac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopOwnedRun (cyclomatic 17, cognitive 14): stopOwnedRun 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":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b412837b88f8d518115bbc7b47002a7e8113b1ce7993a9ccca4c15cc138e01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeGatewayRotation (cyclomatic 17, cognitive 14): gradeGatewayRotation 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":"tests/runner-e2e/chat-catalog-domains/external-gateway-rotation.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ddc3ffe9f711a089a6b4aac0c3b70cfc9360045daa01178874fe1fd2c2dff5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePluginManagement (cyclomatic 17, cognitive 14): gradePluginManagement 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":"tests/runner-e2e/chat-catalog-domains/external-plugins.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca05ff8ce0c4284c5d1d29e01c074ae2178e59f4f7dda7144d8a23e71bf8e5cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 17, cognitive 14): start 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":"tests/runner-e2e/operations.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1718efe06760635c6fce4f7a865ce936607d8544fbf7258cd5a2ff0bec6d94c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownedRead (cyclomatic 17, cognitive 14): ownedRead 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":"tests/runner-e2e/testops-chat-export.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7ca70d58e78173a34bfe3f44f130897d5be3a55fb072be8dcea717db34b7a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoordinatorSidebar (cyclomatic 17, cognitive 14): CoordinatorSidebar 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":"ui/src/components/CoordinatorSidebar.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c9091d7421d5e144bbaaec42c8cab70ae4248d8e31e249263bf69c43d2fbdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstructionHistory (cyclomatic 17, cognitive 14): InstructionHistory 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":"ui/src/components/InstructionHistory.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee2f71a8c85d8db85ff863d08d1237511ba93eadf2fba513e1c7161df081f9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDefaultForSchema (cyclomatic 17, cognitive 14): getDefaultForSchema 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0b2dd406f19174042fedda11f1ed3bff3250be572b82029add8017c2c94400"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPendingCreate (cyclomatic 17, cognitive 14): isPendingCreate 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f117d5491d1d23ae432a7ebfcf5029f856b58c22f51948567359505fe838efe4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarShell (cyclomatic 17, cognitive 14): SidebarShell 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":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"779adab8e3942b6af40535ade1bb82e7437337d096f16a8e66632a1447c86a15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 17, cognitive 14): mutationFn 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1483130997227a2f85ee9eaae41060b6e76716f787e821e5632dc9ead29e3934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecretCreateError (cyclomatic 17, cognitive 14): SecretCreateError 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7ce7e4b0f260fbdb9bb66ca95e7261df064ac029163bcf2e52d0bd400a5900"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TailscaleConnector (cyclomatic 17, cognitive 14): TailscaleConnector 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":"ui/src/pages/apps/TailscaleConnector.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ea901e774a9a103340702d816938d1ed03a9ca6fb5bd77aee1d4884d8a6b88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 17, cognitive 13): constructor 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d39a3d9c2e0cc37e2112464c828cc01d1e04c983bc34f08f991c4c6c94b45b6"}},{"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":"packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86f9d7d24eed7b30f6f03b5d44a99b566b282d8fac101f4b1a542a54d081ef7"}},{"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":"packages/paperclip-runner/src/drivers/codex/codex-session-workspace.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dbeba9cb584e1ed83504b7d848ebdaaca9db73512c258abd23b3b32d7551c3"}},{"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":"server/src/routes/customer-success.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"94571b802780785d5c71b6ff182b18431619a9fc6cf4cede34e9f56d6ead00f5"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":17917}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e87db6a145da7655e7d80e115e9189fdd0cf0feba26b2870b43e9754eaa746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyGitCloneFailure (cyclomatic 17, cognitive 13): classifyGitCloneFailure 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":"server/src/services/git-connection-failure.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"06004d82c992058c145d30e771e490f6bcca2a04c408e1bbdfd79327baf6851a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decorateHeartbeatRunRuntimeStatus (cyclomatic 17, cognitive 13): decorateHeartbeatRunRuntimeStatus 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"32828d4705655a11a4bea0ad54f8d9c8eec17313e1ed35e17b254f4f64a5d76b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideQueuedCommentQueueSteering (cyclomatic 17, cognitive 13): decideQueuedCommentQueueSteering 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":"server/src/services/issue-queued-comment-queue.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccec4bbaf8136a23fc9c695a9a7e7b89ed3311f4fcfc8c8eb843d9f4de1bfef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureAssignmentIssueAccessGrant (cyclomatic 17, cognitive 13): ensureAssignmentIssueAccessGrant 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":"server/src/services/issues.ts"},"region":{"startLine":3770}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00c0bbe209f04981f046e15ec89c936b6c1be31e115320dd2b5f554d651499e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdStateHasNoProviderTurn (cyclomatic 17, cognitive 13): runnerdStateHasNoProviderTurn 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e80cbe4e4789f2348d530d318708e391b99686ed22dd999c76d734a6c21474"}},{"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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c243617ce30df8367daf8167e12f50db968356a91489eb4e027637e4e4c2b359"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyRemoteRunner (cyclomatic 17, cognitive 13): verifyRemoteRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18934}}}],"partialFingerprints":{"codehealthFindingId/v1":"af716ed1a4b7398a174bba8c7d25f952551720b5c2db4499398af90a11bd1606"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectToolContext (cyclomatic 17, cognitive 13): projectToolContext 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":"server/src/services/project-tool-context.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caacf08311aaaaaedf31452fe639aa04d576631c6a9d03b53a3736c21cc7d5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicNativeChatProgressText (cyclomatic 17, cognitive 13): publicNativeChatProgressText 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":"server/src/services/safe-native-chat-progress.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd826e5a77ebdf6e849dbb3ec448a984266b4dd15db26ad3c14b3fe60db21f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffAuthorRun (cyclomatic 17, cognitive 13): handoffAuthorRun 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":"tests/runner-e2e/chat-catalog-domains/integrator-case-handoff.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ead84becedc22a81d92ea19bcd3726ef7cb26134b70ea0cbb5eda160223ed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrappedEmit (cyclomatic 17, cognitive 13): wrappedEmit 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-duplicate.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b9bdf839dbd5586c4547fee56292f68b34da66dd2617dcb6be0ec2e880dbb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installCursorCloudReplayFault (cyclomatic 17, cognitive 13): installCursorCloudReplayFault 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":"tests/runner-e2e/cursor-cloud-replay-fault.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeddb87eb81b5d4ae9faa4626b34cfcd0b38ba0fbcbe7b3a8bb03d46416e1b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverInterruptedFeedback (cyclomatic 17, cognitive 13): recoverInterruptedFeedback 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":"tests/runner-e2e/feedback-recovery.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be0e20957546d7462304d6daf0aa49b3952f526f99fac18dc72979d30b5a47"}},{"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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4014}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f5ee41d3b02ab29a317371af6119604c877df6b0d7fa0d487e7db4de7a5b6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineHistoryTab (cyclomatic 17, cognitive 13): RoutineHistoryTab 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":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0840fb95560a7149893ed82a54df80b6659d72b69e373fa11042e6c4ef8eb91b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAntigravityCredential (cyclomatic 17, cognitive 12): verifyAntigravityCredential 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad87f211a696ee069c03dbcb7cf057920e71ec02f57be135afb78780c8220a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeRequestKind (cyclomatic 17, cognitive 12): runtimeRequestKind 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"93339be7a1f3dcee73d388f955e08f43673ab004196a6f55544d6d35930e9745"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveBudget (cyclomatic 17, cognitive 12): saveBudget 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/paperclip-runner/src/drivers/cursor-cloud/artifact-staging-budget.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde948bb2a781046a87340955c98436b7c99aeaef4a34d98b8b803f28b245d6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCapabilityTailnetGatewayConfig (cyclomatic 17, cognitive 12): resolveCapabilityTailnetGatewayConfig 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/paperclip-runner/src/live/tailnet-gateway.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"608bbcdfaf5ab749b42e2a87d1f3ea41e38c9dba4e251e1cdad878e6c0cf9fee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 12): (anonymous) has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":6474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dba1da05981b74bf952286ac529b20f675dcc39627a2c838bca271cd8635f26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerSetupState (cyclomatic 17, cognitive 12): providerSetupState 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38682cf6e3c47a110e55822b13dc3ff24c1c6bb574db85cb800cbdf763f4f45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeFastResponse (cyclomatic 17, cognitive 12): authorizeFastResponse 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":"server/src/services/chat-channels/inbound/wakeup-authorization.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb297bea0b696b6a813adfe01e8c7a33b8bc3fcae7bbce9b07f8dc21e5ea442"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sandboxLeaseAcquisitionFromMetadata (cyclomatic 17, cognitive 12): sandboxLeaseAcquisitionFromMetadata 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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d9fd3cd379bbb9cf9713fd4959a4039a92046d169103bc09ea8d0e3c7c083b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retiredSourceAuthorizesNativeBackupRestore (cyclomatic 17, cognitive 12): retiredSourceAuthorizesNativeBackupRestore 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":"server/src/services/native-runtime/native-retired-backup-source.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b01f1f4a96f60e6a75831724e1410b80bad5649aebd06df706392235129b55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRemoteRunner (cyclomatic 17, cognitive 12): prepareRemoteRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17119}}}],"partialFingerprints":{"codehealthFindingId/v1":"838fb1c48b812e53844259f003e6ced9bcd328afcfd1cf2ae8fcfa407529e572"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supersedeExpiredRemoteWorkspaceMigrationCohort (cyclomatic 17, cognitive 12): supersedeExpiredRemoteWorkspaceMigrationCohort 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f3d6577bf8a98dc1be074bdcb48dc64eb60406eedb034f8a57afa5f83a69eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 12): (anonymous) has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-retry.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed2e3e526812ca4952de614478a21443baadde9a5a3bb2dd796eb5cfb676a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAuthority (cyclomatic 17, cognitive 12): resolveAuthority 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":"server/src/services/voice/speko-agent-tools.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a508739e961311e3063f43c8265d4fbbcdd99dfca26891de05254dd929d2578c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 12): (anonymous) has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/catalog.ts"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b49502c0800922bafa9568ab0e26bc67e36c1ef9806568c9f7ca44b9898bf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradePreparedImage (cyclomatic 17, cognitive 12): gradePreparedImage 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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-cloud.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"da02884e51d32de37c252d94f032f6a50368c50e33191154fd6049490eb95194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createOwnedDaytonaTarget (cyclomatic 17, cognitive 12): createOwnedDaytonaTarget 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":"tests/runner-e2e/chat-catalog-domains/runtime-daytona-target.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eea73c14e5042e3c5c729640c0cf09221aac8494cbc116f18675c5dc1c53ab9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openAiRequestCachePolicy (cyclomatic 17, cognitive 12): openAiRequestCachePolicy 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":"tests/runner-e2e/provider-usage.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3534b0c2f6d420c48884d1927e6c32b47fe48b96524da1ea626a20c46d00085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancel (cyclomatic 17, cognitive 12): cancel 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":"ui/src/api/heartbeats.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9612675d6dd402c8243da054f3ff3e658c10e1f724f8f13529025d2b6105c2a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAgentRow (cyclomatic 17, cognitive 12): renderAgentRow 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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c137de97f97c7523c1de772c9ea9343bd29db3033c1216cf274df19bff8917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAgentRow (cyclomatic 17, cognitive 12): renderAgentRow 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":"ui/src/pages/Agents.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"785078ba5225c4282fbe76f1a0a1b16a140926583ced7db2523fde73ccd153fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readManagedCredential (cyclomatic 17, cognitive 11): readManagedCredential 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb74bcbd3ad3773183ba5ed9364b6ab9ab2d44e16dce4d2940f27039e953984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function carriedSuspendSettlementProven (cyclomatic 17, cognitive 11): carriedSuspendSettlementProven 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9764}}}],"partialFingerprints":{"codehealthFindingId/v1":"77047ad22c516a2d1daa0ee4259f61acf1b30f11c05f0381c27a1a089371699e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) 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":"server/src/services/agent-instance-secrets.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c79609f9674ecf861072178abe171e79f9901e7c0001a5497965137c2d3aa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) 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":"server/src/services/heartbeat/run-log-authority.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da32fbe0bdcd0d225eef9dfa7c386579230c22c4d43557910237a010a7632ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tickCheckpoints (cyclomatic 17, cognitive 11): tickCheckpoints 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"32003b6dbcf1e14810ea9d19fed4a863ab9b70956cc39eb4d461c78a0d949dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) 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":"server/src/services/native-runtime/native-superseded-workspace-export.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635394f8fa0bec9299443a32b26de42ade1bda5b9ff3d23571fce81fb655229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeGatewayClient (cyclomatic 17, cognitive 11): gradeGatewayClient 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":"tests/runner-e2e/chat-catalog-domains/external-gateway-client.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ed0be2ce19a5d2745e28b2b496ae07d7bbf9fa7e1a1d93564c9692034fad16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function campaignAnalytics (cyclomatic 17, cognitive 10): campaignAnalytics 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":"packages/paperclip-runner/scripts/runner-protocol-eval-metrics.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e848ed9191a3ccee4efb9b82fef7fabc61a549e643045fbae01d124ee7c9f7ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 10): (anonymous) has cyclomatic complexity 17 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/provider-performance.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b93586b93e9b9ba718b438300ab8857796ec7dc97d2fea3ba7365f1fe4207f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadStorageConfig (cyclomatic 17, cognitive 10): loadStorageConfig 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":"server/src/storage/config.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92a91e7f32f1600bda620ca9d389e3f8ba4589d67a60d2a5c249c7b759c1aea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 17, cognitive 10): act 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":"tests/runner-e2e/chat-catalog-domains/external-notion-expired.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda7a593dffc0fce9babb287dddccfb0badfe0da279662c2eae43adf75d9d799"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDependencyCycle (cyclomatic 17, cognitive 10): gradeDependencyCycle 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":"tests/runner-e2e/chat-catalog-domains/runtime-task-coordination.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"be46c858a2fd42e491dc12acd8f1671ed63c9fcf72e7b674da2e7eb5e643c8ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runInputFile (cyclomatic 17, cognitive 10): runInputFile 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":"tests/runner-e2e/product-journeys/input-file-flow.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"532d7e785d8d3d289f5d7f7249e34811e7958dce7540c330603749f07d4e1535"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDispositionRecoverySnapshot (cyclomatic 17, cognitive 10): readDispositionRecoverySnapshot 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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"64043697b5b55622f3ccc574b1bf3f234b5a5c9b1eb91dc56dde128ecb4a9b67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakeExecutionStage (cyclomatic 17, cognitive 9): normalizePaperclipWakeExecutionStage 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7135779e4e7f3e8c8f1ed0ee263a134e134c7f088a27100c7d50d564249bfd71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkpointedResultlessDispositionFallback (cyclomatic 17, cognitive 9): checkpointedResultlessDispositionFallback 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2401}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc75ab79eef231cce11891650325a107100597d2ef8e94e72743deba280fcd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSlackSessionStop (cyclomatic 17, cognitive 9): parseSlackSessionStop 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":"server/src/services/chat-slack-sessions.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e9bb73e6dbd4569e6822fde5ac9b0f575447b982091e2655f90235cc29026"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalPendingRequest (cyclomatic 17, cognitive 9): canonicalPendingRequest 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":"server/src/services/native-runtime/runtime-request-resolution-authority.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"192d1c7e3ec341187c2b9d6959617c2be905af7b189f4b99cfc747da907deb2a"}},{"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":"tests/runner-e2e/case-receipt-scoring.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad0e00044a7e575e8869f9a77179990f120a074b2324449f65bb4de26a8315c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkout (cyclomatic 17, cognitive 9): checkout 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":"tests/runner-e2e/chat-catalog-domains/internal-timeline-verifier.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4a3ebbaa1e3a5b9e0c6518b96feafeda1fd39d1ad1ee1b367e868e99ff743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function committed (cyclomatic 17, cognitive 9): committed 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":"tests/runner-e2e/remote-workspace-storage.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34546ee8f2aed611f8e3e74b892ece2041d68452c64907448f1073b3583ddff"}},{"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":"ui/src/hooks/useTaskPluginPanels.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1227cbbcf0090a5bdda5c808bec574d1eee3cb547a4ebf06614b02b8cc6587a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueMatchesExternalObjectStatusFilter (cyclomatic 17, cognitive 9): issueMatchesExternalObjectStatusFilter 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":"ui/src/lib/issue-filters.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"68119a5095c1b00ab63aad093fff7d42d2822c83764876f410334776459caa62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function successfulRunHandoffFromActivity (cyclomatic 17, cognitive 9): successfulRunHandoffFromActivity 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":"ui/src/lib/successful-run-handoff.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"24046e550f69a9a480be7f397b9f9a65009f0be9ba9b19f9f5ece0f35d67a28c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSkillsForTarget (cyclomatic 16, cognitive 51): installSkillsForTarget has cyclomatic complexity 16 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":"cli/src/commands/client/agent.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb58aafdffe485738148e8e9dcd4d08c049c4507cc07e24ba9d9a50d7225b712"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apiReadDigests (cyclomatic 16, cognitive 42): apiReadDigests has cyclomatic complexity 16 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":"tests/runner-e2e/chat-catalog-domains/api-read-receipts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b198b08fb1cb2afca854ce63714e13c043a975aa5821d1551c0975abc3c188"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fingerprintContracts (cyclomatic 16, cognitive 40): fingerprintContracts 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":"packages/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c756ba8406b01d9774ddf3ba394528fc2d472f300417af73e3a70b69b75597e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueChatRunLifecycleMilestones (cyclomatic 16, cognitive 39): enqueueChatRunLifecycleMilestones has cyclomatic complexity 16 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76e50971f7ffa71e1f68fa12a8ee97aefa31d163d35148f453d2515f23f9891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 36): (anonymous) has cyclomatic complexity 16 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"0033983537416a468c3ba036dd66a3e989fe055126c1fde8cd56c98b40160dec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sync (cyclomatic 16, cognitive 35): sync has cyclomatic complexity 16 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-checkpoint.test.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce6b3f8adfdeb5d910b9761f9792d97952312e9185af68573bd2d04cd9968f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverFromLocalFilesystem (cyclomatic 16, cognitive 35): discoverFromLocalFilesystem has cyclomatic complexity 16 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-loader.ts"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a5866f73ebd89570ca44154d1f683d0e569cf957c5564abe9e3fad16443df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageDashboardEvidence (cyclomatic 16, cognitive 35): stageDashboardEvidence has cyclomatic complexity 16 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/report.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed379f41392f33fa81217ce1fde3187da23e4476d68b229eb44db23488798a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageProviderFreshWorkspace (cyclomatic 16, cognitive 34): stageProviderFreshWorkspace 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":"server/src/services/provider-fresh-workspace.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dfc295687ee1f9ed209cf7864770638b5c27533d4fdffb1da2c040374aa72f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPendingRunUsageReceipts (cyclomatic 16, cognitive 34): readPendingRunUsageReceipts 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64166c0d064cbab96ca369ebedbddb962441e1101e63e62b865038216bb14a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverySamples (cyclomatic 16, cognitive 34): recoverySamples 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":"tests/restart-chaos/ttft-baseline-stats.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f749dec6a5b909f4dde8668ee8239c7f888b13ffae5aa16ff402394f15418ce5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseModelFromConfig (cyclomatic 16, cognitive 33): parseModelFromConfig 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/adapters/hermes/src/server/detect-model.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"413adc2eedc8750cc908e47ab5586bf5eb7b823b0a2e2842343c0dff80ae4c61"}},{"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":"server/src/__tests__/connection-management.integration.test.ts"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"964e6a9a4eea2a8d4970531370ded5a8918db727f04d03a8ffccdd8794659988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedEnvEntries (cyclomatic 16, cognitive 32): normalizedEnvEntries has cyclomatic complexity 16 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":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f899708a44852d76f62228d460466bf92fe276818edc3bf795660949ab7d498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishLocked (cyclomatic 16, cognitive 31): publishLocked 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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"60272828af2e0bab871a154a1ca58e95ed0b824692f7c5aa59d51b3820a1df00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 29): (anonymous) 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":"server/src/services/native-runtime/chat-attachment-reuse.test.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"394f55907386fde3e95325765de63182adde355377e23f541c64d8f8a41d581b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 29): (anonymous) 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":"tests/runner-e2e/copilot-semantic-evidence.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e5d74d38e7162539ec72441e4c9e041726b776867d97814ef6cafcff96c442"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawStaticFrame (cyclomatic 16, cognitive 29): drawStaticFrame 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":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e16d7ff9bc704e76cb2742bd9e3841379164bf181e7308da6679b84f4fcb1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unescapeBlockquoteMarkers (cyclomatic 16, cognitive 29): unescapeBlockquoteMarkers 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":"ui/src/lib/blockquote-markdown.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7c81d19e349cbc575ea66c9975cedaa084eb2ee0d3c62838839d62d80e005e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeLayout (cyclomatic 16, cognitive 29): computeLayout 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":"ui/src/lib/timeline/layout.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac781b88736f29185bea37ddc23e86d083078ea1a5fa9958a8efa4172442945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #consume (cyclomatic 16, cognitive 28): #consume 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"08771dc0454f35b19d5bc6f782219f76919de363a38fc6aedcc59bad50e75de7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributeUnsupportedToolMedia (cyclomatic 16, cognitive 28): attributeUnsupportedToolMedia 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/paperclip-runner/src/drivers/opencode/tool-media-attribution.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8068edf8bb895a34a27cb1093da2d5dce396aae7b2f6b9021a42dc25288c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureBundledPlugins (cyclomatic 16, cognitive 28): ensureBundledPlugins 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":"server/src/services/bundled-plugins.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd2a39869ce4d2d18c73634a16e5e51a2f9bbb91c7338750e0154b0959de65e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWorkspaceInventory (cyclomatic 16, cognitive 28): readWorkspaceInventory 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":"server/src/services/remote-workspace-readonly-inventory.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6723e702367356988e67e0d64dfcd30611cc9b5457fae3e83ac1c258451e983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipProfileIncludesIssue (cyclomatic 16, cognitive 27): paperclipProfileIncludesIssue 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":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f1510a0cf396f6b55a42966d3d120b87679a69c6a3bd513a9c6c21213684c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTestSelection (cyclomatic 16, cognitive 27): createTestSelection 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":"scripts/ci/select-tests.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa3cef460624de5bf94b683333c38eb70333ce9cbefdbb57df89cbd29f93739"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceMigrationLayoutBlockers (cyclomatic 16, cognitive 27): workspaceMigrationLayoutBlockers 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2eda121b6998f9802df880f518f357f453ad00ff14fa1e5532d614bd58365f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fullResponseValueSize (cyclomatic 16, cognitive 26): fullResponseValueSize 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":"server/src/__tests__/helpers/full-database-response-capture.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1977090db4bc780c3bde2ec9b3bb9bec2a9e7d571a96f15fb6e6dfb175ef779b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 26): (anonymous) 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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"13da7e954a25ca1c9b52b9bdaf94427404f3b6d7196b23accb89450570fae7be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aiConnectionSessionCompatibilityInputs (cyclomatic 16, cognitive 26): aiConnectionSessionCompatibilityInputs 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":"server/src/services/ai-connection-session.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32c6a9640c39d77c6bbb902b1d3c6bc258ba4f7bd9a569052a2d9bb7e37ebf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeDecisionEffects (cyclomatic 16, cognitive 26): executeDecisionEffects 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":"server/src/services/decisions.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"66755e9570503d26b588758ef4aff6807308e5d33d76dd4de271c410c309f15a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMidturn (cyclomatic 16, cognitive 26): runMidturn 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":"tests/restart-chaos/ttft-baseline.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7931a5f79c08cb9fa51ddcf58da4ebcdc2f78799a43186031ad37f8b6d1fcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jsonObjectsIn (cyclomatic 16, cognitive 26): jsonObjectsIn 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22839c6a95b8df338970f6eeccc246406dd665298d3f3b4cae39b7e34dbb5e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeValue (cyclomatic 16, cognitive 26): writeValue 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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c06adea5b5cb8df11cd1df72e18673e85b0bea44e5b3204c38bd183cf906e83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatter (cyclomatic 16, cognitive 26): parseFrontmatter 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":"ui/src/components/FileTree.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"624398bba93379dc1cff4bbd62c5ddcefcaf9d5751c3af5efc1fbc7fdbc0aca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBridgeForwardResponseBody (cyclomatic 16, cognitive 25): readBridgeForwardResponseBody has cyclomatic complexity 16 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ac3bdb0964e019d17cf8f753b9f6e5dcf9536ff2c099b2c9494ec5a5d49f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareExtractedPack (cyclomatic 16, cognitive 25): compareExtractedPack has cyclomatic complexity 16 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/runner-image-layout.mjs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"553137f4003d67fba0de2f62b869c469a50c3fd022c1b1e27645c53c5f5c5c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSourceDecision (cyclomatic 16, cognitive 25): loadSourceDecision has cyclomatic complexity 16 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":"server/src/services/decision-training.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8375862b674598385ce9babff983abee4ec8cba43425f495f3fe797fcedc98e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudColdAuthorityRotation (cyclomatic 16, cognitive 24): cloudColdAuthorityRotation 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/paperclip-runner/src/control-plane/cursor-cloud-runner-launch.test.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f646bda9e0b39030c71c58bb234f726c12ac1ae77c4df3b342c9cd7dd11b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function output (cyclomatic 16, cognitive 24): output 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/paperclip-runner/test-fixtures/pi-acp/fake-pi.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cfb887fd21a870735b9a39c18cf8c5e0e02eb939a5d04f035b2668d82136ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 16, cognitive 24): request 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":"scripts/standard-image-contract.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650b9510270b8e3d63d32e868b11dfdcc9ce282580da496b66681bad00d8ef8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openShellExecutions (cyclomatic 16, cognitive 24): openShellExecutions 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":"tests/restart-chaos/ttft-baseline-stats.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795080fe55cf8b86f0fb434ae4aeee5b7267552c0be7b9fb14715b2680fa964"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 23): (anonymous) 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/adapter-utils/src/ssh.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7470f30750b5a6e575f0b8af50c4f2622680d70c4e57de64332cd9042c17dcb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startSshEnvLabFixture (cyclomatic 16, cognitive 23): startSshEnvLabFixture 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/adapter-utils/src/ssh.ts"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0402fc5f7c4f85476e6cda053b459e3ce32fa97fb3198030b0455162db09670"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedBudget (cyclomatic 16, cognitive 23): seedBudget 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/paperclip-runner/src/drivers/cursor-cloud/artifact-staging-budget.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"213f8bbe2ee1eed6243b8b1742eb381580a4a2a7752abf7bde49c8adb76d4c0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSemanticInput (cyclomatic 16, cognitive 23): handleSemanticInput 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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"50396e6fe0974beb4532cdacd0e8b5a18abda3a8e61434d773f4232ff2b9ba18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertHarnessTestPassed (cyclomatic 16, cognitive 23): assertHarnessTestPassed 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":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d51bc80d17f6b49b353f94986729e9d848ea7f49bff72c4e6bacbee8be9f0da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateAffectedScopes (cyclomatic 16, cognitive 23): evaluateAffectedScopes 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":"server/src/services/budgets.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2e63346af2b2f645188f1e0bac4f234567c5e73390a91a3d58be9b73e98877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeIgnoredFiles (cyclomatic 16, cognitive 23): writeIgnoredFiles 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fa8ef68ea27b5c98493cb0a19e1f531bbf73bfbcd5e5cfcc72f7cc7460ecad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routePersistedNativeResultAttention (cyclomatic 16, cognitive 23): routePersistedNativeResultAttention 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b957d17282f76eb09dedd8afbf294cfdf0372b07d740127465a23c555da9e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function token (cyclomatic 16, cognitive 23): token 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"94249f6945d5749c5122a4cdc337a45392b2bf11631aef0bc957925b79562f18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eligibility (cyclomatic 16, cognitive 23): eligibility 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dd13ead9c692320f4d8770c8bfb346d5b684f8e7a558f9c2435e7c18a1ba15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 23): (anonymous) 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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3cb8dac6a2db05854330df7083475c27a7f7c42c935b8a1ee471ec699e93a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVerifiedPostgresCommand (cyclomatic 16, cognitive 23): readVerifiedPostgresCommand 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":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ace722700d4866282000043ac5f4d6ac190573c88f2ed58b5e11f476016eea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRuntimeServicesForWorkspaceControlUnlocked (cyclomatic 16, cognitive 23): startRuntimeServicesForWorkspaceControlUnlocked 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7985}}}],"partialFingerprints":{"codehealthFindingId/v1":"774423df116522b6f3b21ddb5547811631a3e02540e949e74bbc967a2ebd39ad"}},{"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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a45d867d97792f5437b01ec131acc9b5c19bc517041d2dc57e4fbb02710b2d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEnvBindings (cyclomatic 16, cognitive 22): parseEnvBindings 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/adapters/kimi-local/src/ui/build-config.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7900d094adaf645e79fbfffcd8eaf144dc4640daa0031831a286c3e431d342"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopAntigravityMetadataChild (cyclomatic 16, cognitive 22): stopAntigravityMetadataChild 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/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"da87933c769dbdc70d1525971fa63d93c44c54ee33aeb3aaa456d1a39cbe61e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPaperclipRunnerCompatibility (cyclomatic 16, cognitive 22): assertPaperclipRunnerCompatibility 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/paperclip-runner/src/compatibility.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"60165534976ff1306dc870d3fb51c429d039b9f6f0e50eb0a8d73e29e34982e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureManagedProjectWorkspace (cyclomatic 16, cognitive 22): ensureManagedProjectWorkspace 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0420a76d330c646fae222e9cb3a83395a2de44e30d4a8dc2ccf58bdf0c815808"}},{"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":"server/src/services/native-runtime/agent-chat-response-recovery.test.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaf3d13832e1e737d03d45dff28df206513bf3f2f42bf80da5ac013de00f698"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentProviderLimitCooldown (cyclomatic 16, cognitive 22): agentProviderLimitCooldown 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":"server/src/services/native-runtime/native-startup-retry.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8ae239072bdbc05f820193c0ae984887ae7f36974d67a725f03d11aba1b130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRemoteProviderPackAuthority (cyclomatic 16, cognitive 22): resolveRemoteProviderPackAuthority 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":"server/src/services/native-runtime/remote-provider-pack-authority.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87d7884a14eb875b2190acffbc1990134fa83e5abb2036aba735bc4df5c0ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainRemoteRecoveryAttachments (cyclomatic 16, cognitive 22): retainRemoteRecoveryAttachments 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeb456774d029c85c4506e14386dd576372d2ec4de3c6fb51b05d9808d518ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findExposureReservationDrift (cyclomatic 16, cognitive 22): findExposureReservationDrift 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":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa772540df534659ba52833af7991b3a6c142b3e6f72772848369af55122d395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeR4 (cyclomatic 16, cognitive 22): gradeR4 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":"tests/restart-chaos/grader.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd5576910e80687fc62782c0b522b8e43710c854f11177381589bd5ff932be0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueSiblingNavigation (cyclomatic 16, cognitive 22): buildIssueSiblingNavigation 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":"ui/src/lib/issue-detail-subissues.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f4fb0e686e3ee4a39446662e408ab09190a306f5e9f877e88f120e89259060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeTerminalSessionFailure (cyclomatic 16, cognitive 21): sanitizeTerminalSessionFailure 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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba510b21c77df7d69810302b5f1e737c3eefa0b6729ce8c013933c4f1ff9707a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onJson (cyclomatic 16, cognitive 21): onJson 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d231b5e262a46b7f159d52650800d6d77f878a58d3b09dd498efb479e8ef761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerActivityDetails (cyclomatic 16, cognitive 21): providerActivityDetails 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/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa692d3f50dd7757c6e1a3308820ae4100c21d6133e07143c540dd5bc2497fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForRunnerCommand (cyclomatic 16, cognitive 21): waitForRunnerCommand 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9937}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4a619a93aa3237b01f7bd20043707063cb833d89e7d57dae58cc81e26f7fbc"}},{"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":"packages/paperclip-runner/src/live/runnerd-detach-durability.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c3b4c26aff1419d71f2f544426da9f2ee097015547f80b4fdf296cb389aec7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 16, cognitive 21): visit 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/paperclip-runner/src/live/workspace-diff.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38c355a0efa4e9c3b4df165b365a0657799286d58d6730dbdbe711d2e3c51f7"}},{"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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e35c07a3bbea5635290cf10f57698d656471c3cd7b19a47822e5d97137bef0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function steerNativeSession (cyclomatic 16, cognitive 21): steerNativeSession 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9622}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ec1824a0c5ca438570fda0881f8910f57854b0dd5274d170a2946a215dfccd"}},{"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":"server/src/services/remote-workspaces.integration.test.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cd91a3f77334b316c1d981a2dcbd7f38d3704347c586913f9d06e656f32b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projection (cyclomatic 16, cognitive 21): projection 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":"server/src/services/skill-package-runtime.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68afd37c4b064d6dd3b313b992302ad4cad6b00f9b2ed90bc55a528ef4b2f7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLocalSkillPackageObjects (cyclomatic 16, cognitive 21): migrateLocalSkillPackageObjects 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":"server/src/services/skill-package-storage-migration.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0ef74386de12d58cd4c27ca4c4bdfd2baac634e4f46bb24953350f44639fb9"}},{"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":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3db83aafd4a457b6be9e14a0a41491b9bb894223b6b9677af5137ee9ee7249"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSkillRepositories (cyclomatic 16, cognitive 21): projectSkillRepositories 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b98765ccaf7983612422252ed02160c0ceb3d9a7eb59cb9a6bc0bdd8fc35e59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settings (cyclomatic 16, cognitive 21): settings 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":"server/src/services/skill-sources.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5339bd89c3b743507b5517a905844719a94f6670aae0da6dc1c7ec98348f7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mcpInputRequiredPending (cyclomatic 16, cognitive 21): mcpInputRequiredPending 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"5772581b56ac59aedbff85ecb09202da8356d193156d86894142eb558a503221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeStagingMixResults (cyclomatic 16, cognitive 21): writeStagingMixResults 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":"tests/restart-chaos/staging-mix-retry.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90f67b0ce5af7b518e769725f7fdbc5a2b31592964e7e12b82416c3b0ac65d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrappedFetch (cyclomatic 16, cognitive 21): wrappedFetch 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-duplicate.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f560dc4d1f568759e4c5e092c8d4cca76339acb2426a0a2eb557eae4f1b6b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestJson (cyclomatic 16, cognitive 20): requestJson 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":"cli/src/client/board-auth.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d128f5a3d9fb1b19d1750bce6cdf79857af9ce42988754ffd8d5d39c2c6b65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createProviderTraceFileSink (cyclomatic 16, cognitive 20): createProviderTraceFileSink 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/paperclip-runner/src/contracts/provider-trace-file-sink.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8049c6f3969d6b2b6c4db09f01981b310bcb87a323bd506558b8061f6a06e56d"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":82640}}}],"partialFingerprints":{"codehealthFindingId/v1":"868fe076725a56d8bdeda5ea45426c06c0f5e77fcca6c73b745eaa0ac66d38a2"}},{"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":"server/src/routes/plugins.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb6a075b9031491ed2bb17f976253be54b253a0be542a0a4e944662d38c9392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 16, cognitive 20): list 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b714fc2a1b87b8df79b0619865f71ecdf7cd3323d5c2fb2c2fcc27e18caf13db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 16, cognitive 20): load 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":"server/src/services/chat-channels/github/webhook-recovery-schedule.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb4a642ccb02ba58cc9b698e89f3eca71b317788fc02da3b24044fc00db0996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mcpHttpRequestInit (cyclomatic 16, cognitive 20): mcpHttpRequestInit 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":"server/src/services/mcp-http.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef74dc2b7ba36de7f739ea2d96b3258fd52ddd4305f2e5c166369ca696cafb89"}},{"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":"server/src/services/native-runtime/native-controller-migration.integration.test.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5b52a8226699199d8e81be78c4ab4ac44e2b344f90f367439290c4dfbd3ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleProcessExit (cyclomatic 16, cognitive 20): handleProcessExit 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d753957ea7230cee01fb5ce005a73f44383adf81e302e31957b499258d81cf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createManagedLocalSecretUnlocked (cyclomatic 16, cognitive 20): createManagedLocalSecretUnlocked 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":"server/src/services/secrets.ts"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf6a49df61ba9fcf0aa690de361cc586372782fd6b2f8db009f8846cd04977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 16, cognitive 20): request 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":"server/src/services/voice/speko-provider.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff4a66d02e9ff37aeef0178ef49464ccf0c3c80f73e91d28f1c5ed43265e0fc"}},{"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":"tests/e2e/connection-reviews.spec.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"90daede7bbe9269bcd7550e7abda983c09bb616dedf20d3388620fdf12af600f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOperations (cyclomatic 16, cognitive 20): buildOperations 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":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac20738fc5d6c7e9b6201d261ef9e701fed95a0db4b1d40c93acdf314e4a175"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b449aeb1a970ae576c1dc9a5cfd9091ad9bd1a076bccb1e9e56924fdf807f5"}},{"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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"0126beaad476362422c9eb536a2bd19a867fc0fbf70fdbe017fc16a7c240062f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateReadmeFromSelection (cyclomatic 16, cognitive 20): generateReadmeFromSelection 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"991d7dcffadaec02c46eae43a40bfbf051b496aacee58dd3f0631e241778b453"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAcpxCodexObservabilityHome (cyclomatic 16, cognitive 19): prepareAcpxCodexObservabilityHome 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/adapter-utils/src/codex-observability-home.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"058c4e98a59c937e9a1f69690825891bb98a7b9dc548877566ffeefebc04bf5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDenial (cyclomatic 16, cognitive 19): runDenial 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/paperclip-runner/scripts/qualify-cursor-denial.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb808b2c0ffd32e3032379d1aa39c3e9bda6b0f5e8a691db886a421c5adb4ce3"}},{"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":"packages/paperclip-runner/src/cli/opencode-proxy-input.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6369efcefbfd61d26722aa2c5ee3c20a611990a4b501575e26c814995f4084"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inputProblem (cyclomatic 16, cognitive 19): inputProblem 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/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09165e9e2cf8f90bc6b250db4449aa53e97bbc81f148d70df59bae227c93b9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeRun (cyclomatic 16, cognitive 19): completeRun 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf0eaf5770d72e00a2c595421ef60b68702f0ca7b9b82235e4b7375e11cefc5"}},{"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":"server/src/__tests__/heartbeat-project-repositories.test.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a552f96175a01410e3d7bc44d968e3e209e928f3063eb442c9caa34c66c4644f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settled (cyclomatic 16, cognitive 19): settled 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":"server/src/__tests__/helpers/maintenance/server-harness.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ac1b33ca8200ce4caa7cf2167990096e4304f92e94127369aba03b65edbf3"}},{"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":"server/src/modules/wake-queue/application/queued-comment-use-cases.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdacfd6cdfc446cff2dce83b0cd0d524d44f8cf92f686aa08a6f352b6c946126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeSeedSources (cyclomatic 16, cognitive 19): materializeSeedSources 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":"server/src/services/decision-queues.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae9961c42b86d4c9aed9c776f8ed2553f5c86ef760bf054e9b93aae59e3ea02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishInterruptedRun (cyclomatic 16, cognitive 19): finishInterruptedRun 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0888a079a1997aceb7874361415d83b186fdc39711a841da6c931fe6936124a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveNativeHarnessFilesystemIndependence (cyclomatic 16, cognitive 19): preserveNativeHarnessFilesystemIndependence 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aba63a04aa49d7aa6238b6d5855b3b40105297a02c41547e7d366a71f6f656"}},{"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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d96b4d1e7989eb923034d469385fb4b0803ab897f8b70e93c83ffb864f63f61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocateAndReserveExposure (cyclomatic 16, cognitive 19): allocateAndReserveExposure 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4866}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee849a993d8cc4cb34d10140b8bd82e3dd68c247020d0466df69eb667072804"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCaseHandoffsFlow (cyclomatic 16, cognitive 19): runCaseHandoffsFlow 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":"tests/runner-e2e/case-handoffs-flow.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e5d37936f697a542fdbdecf1f25a75239dc944db444cf8ddc9a00e9bd38fb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function identify (cyclomatic 16, cognitive 19): identify 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":"tests/runner-e2e/cursor-cloud-replay-fault.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0edd9e45af27454db2ed8532aec8b87da11a4c971f0ca843bf9e52ae2063cac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskSearchFilter (cyclomatic 16, cognitive 19): taskSearchFilter 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":"tests/runner-e2e/product-journeys/task-search-filter.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d28ff4abdc262c099555a4a607be8ae75f27ad5e272363dc38321aaa37d8f8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 16, cognitive 19): read 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":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd85153a219ba75f8d42a9653a710746e821429576ae59b5378c752fd517f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatIssueUpdatedAction (cyclomatic 16, cognitive 19): formatIssueUpdatedAction 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca06f1f4dbb60231ab03431eb16234285f8ebc0b7b0d35e17e8aefc8c8b4d9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveRecoveryDisplayState (cyclomatic 16, cognitive 19): deriveRecoveryDisplayState 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":"ui/src/lib/recovery-display.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd968be48aa4d0dc21cf569aa98e5ff8d42276393e2f89a75d0a23b8c7bd5f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPrompt (cyclomatic 16, cognitive 18): buildPrompt 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cb4fde33aba9839ae41d2eadd3851676a07a00319e6b6ee8dc890c0079e6a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHermesStdoutLine (cyclomatic 16, cognitive 18): parseHermesStdoutLine 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/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aba9bdeddf2c88dcc647c38b4fc9acd6b7ab8e2c14d9ba6d69545c33645112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStdoutLine (cyclomatic 16, cognitive 18): parseStdoutLine 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/adapters/hermes/ui-parser.cjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce075bc608a87e5b4db505f364224af10018c1e53f318f204f208ea36e8964"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalJson (cyclomatic 16, cognitive 18): canonicalJson 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/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"25844fc899cde474b5360cacd7dbf6ec17bb089e41facfdff9d18b094689909d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accept (cyclomatic 16, cognitive 18): accept 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"278aa7cad0068c1a36c0b5a45dd322ca099f750bce94560cba0b143640feae08"}},{"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/paperclip-runner/src/live/runnerd-codex-transport-warm-attachment.test.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca42e9c9c50c7520acb2dce696514e7266e4879575514a769987e5e96e64922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function goal (cyclomatic 16, cognitive 18): goal 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/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8337dcc7a18a934f4408a63168033dfc82312d33fc7d79924a2e51b96d24f6e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #startExtensionExecution (cyclomatic 16, cognitive 18): #startExtensionExecution 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dce594f36398c8af13824b364b6e351866b8f3589227d2920c5a703891fab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseString (cyclomatic 16, cognitive 18): parseString 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/tailscale-https-broker/src/strict-json.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4ac771f2badd117cc576d16aba1192cf0143cc760971ef0c89218d389da64a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkArgs (cyclomatic 16, cognitive 18): checkArgs 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":"server/src/__tests__/helpers/slack-cloud/prewire.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"330bad63465103197285775e4cc1fd91aa1cc359e3afb5e0d61121c7e040f4be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkArgs (cyclomatic 16, cognitive 18): checkArgs 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":"server/src/__tests__/helpers/slack-cloud/quiet-prewire.cjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c11ee018ba643cbce6ff609dfd15451af9b076fc987872b25c44773ad90bbc2"}},{"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":"server/src/__tests__/tool-access-service.test.ts"},"region":{"startLine":10865}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a33d12bc289d1b74989e72ffa22f281dc64a451a6ceb5f433ae0f36fdb03e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeProcess (cyclomatic 16, cognitive 18): executeProcess 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":"server/src/adapters/process/execute.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5348985e1c691088084d7a021223505e9fb82d9f1968e306509ba4fc03bb41dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 16, cognitive 18): inspect 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e63680a2062496a6e187202f25b3c2b13fc639ecf8231cbe225d075d4b88513"}},{"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":"server/src/routes/agent-avatars.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff9f76c2f2998bb0e20d0e618209f66acf4689d3e9c4d8e79e351276dd48b88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertEnvironmentSelectionForCompany (cyclomatic 16, cognitive 18): assertEnvironmentSelectionForCompany 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":"server/src/services/environment-selection.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b8a22e031b232bfe9116fbeb1e3787ca180675da6ca816d29012279d76da6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFinanceEventInTransaction (cyclomatic 16, cognitive 18): createFinanceEventInTransaction 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":"server/src/services/finance.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef32a5f70874bc83f7b8f2ddb995fc0b33ad5750490cfe655a6c8c747c1372a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireDurableBackups (cyclomatic 16, cognitive 18): expireDurableBackups 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3907cef516218a1c197d5f2fe0a471c2ebb8290edbeec940b46591ac77e749"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 16, cognitive 18): create 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e2feb6bfe3bf84eeaa1af8786244b05e83b03d1a5acd2271ef14b438861645"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyBindingApproval (cyclomatic 16, cognitive 18): applyBindingApproval 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e37bfc34eaaad406a2b7e47fdc8630ed75c4ee52f815e05f7e561a1db382e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueToken (cyclomatic 16, cognitive 18): issueToken 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":"server/src/services/smoke-lab.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf7766cba54b7f6936ac7b70acab1c5398707c2cbe699c3f1779056f1919723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oauthProviderEndpoints (cyclomatic 16, cognitive 18): oauthProviderEndpoints 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fd64ed3fb418888596d91d5ceb72986f1bcc853453552cb9b5b4e4cbc3a6c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCoreTrustPreset (cyclomatic 16, cognitive 18): resolveCoreTrustPreset 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":"server/src/services/trust-preset-resolver.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fe19720f379ba0bc2ecbd776b4e66dcaca64922d0deb576f44773d46bd4435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeChildStalls (cyclomatic 16, cognitive 18): observeChildStalls 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ea1850bc8569bad17b02ea67062419829a215a7810e126ccb2fa41135aaed7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAntigravityBrowserCalibration (cyclomatic 16, cognitive 18): runAntigravityBrowserCalibration 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":"tests/runner-e2e/antigravity-journey-browser.smoke.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce119302f15e5004ccff1aee96880e051ae7dd6256f7de34d469cbf7278949ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttentionAudienceLine (cyclomatic 16, cognitive 18): AttentionAudienceLine 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":"ui/src/components/AttentionViews.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"de160d8386cbd6cc451715c8f4e281b2e1bed25b6aad9562e9a56f7de1ce5050"}},{"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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d323b8c6b70d28294928f5142f9cb36ef67686770b77759b27b3d1744ca5a65a"}},{"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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6830a23b3fe1c4d7c75b975ab7b4da858cf50f0959fc294f9d076f248f000a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function secretsCheck (cyclomatic 16, cognitive 17): secretsCheck 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":"cli/src/checks/secrets-check.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f33a14d89f0081d3f61134c532415e373d866f2841402a5ce9b0e0d925a5d6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 16, cognitive 17): open 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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8eec91d3bfafbed279880270a0abc817d0cf3fa61fb5b8d7a3eaf857544ace3"}},{"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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.claude-overlapping-shells.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79f48cb7af3864b7fb280212df38ae66dde1cbc63a0a4d924cb71d0266c14f7"}},{"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/paperclip-runner/src/drivers/codex/codex-api-key-image-tools.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96db83abe66b1d43db26da2c9d495bd3e8cd27480b0d901122c0b4f7ab55192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCloudflareDriverConfig (cyclomatic 16, cognitive 17): validateCloudflareDriverConfig 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/plugins/sandbox-providers/cloudflare/src/config.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00c6438381ed29b574fc2071bed7691c6c59b96b180af3a43746a91d8fd23ce"}},{"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":"server/src/__tests__/decision-models.test.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ea8a8ee14997ef73157eb5b9fcfceba4917b5be6199fab429d3f9804b5f148"}},{"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":"server/src/__tests__/fast-responses.test.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b591902f00a374c8c750d2f1f4e0b16d063836e28363c71df8d579aa6742a51b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordNativeTerminalRecoveryIfNeeded (cyclomatic 16, cognitive 17): recordNativeTerminalRecoveryIfNeeded 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8e5411615b4483eb9a5d4b57f16d034608ffcef236ad3693fb9c1593ac2854"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildJoinDefaultsPayloadForAccept (cyclomatic 16, cognitive 17): buildJoinDefaultsPayloadForAccept 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":"server/src/routes/access.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefcbbfe26d03424a880ebe8b6541a21aa776a143e0914ad6e3d10204ad2863a"}},{"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":"server/src/routes/plugins.ts"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be160a66ff1fd9125d30d31eb6fc1356e767bfcc001a9a32e2bfbc60adf97e4"}},{"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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c9c144a4dbb3e5d65e564aaeaf08af9c181a9a730de0d4c3d3d99ece8bdf26"}},{"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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8768b91d9d54ac432b14492b92febe01e480fed3b63b2d3959921051e96929b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubAttachmentCommentRequest (cyclomatic 16, cognitive 17): githubAttachmentCommentRequest 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":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c4e7441c9920cc46966d14f3ffa28ac9e0aac6f14544ed99cb64281e831b37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function environmentSkillConfig (cyclomatic 16, cognitive 17): environmentSkillConfig 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":"server/src/services/environment-skills.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0905d479f0bca91f085a3e72a97a79043b8b3db2a1e93dbe367b6998c007f28d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeExecutionWorkspaceConfig (cyclomatic 16, cognitive 17): mergeExecutionWorkspaceConfig 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b083cb737d377367ab443933810509667c7e8ed67f70b4c991fa62c3a28eb2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRestorePoint (cyclomatic 16, cognitive 17): applyRestorePoint 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb82f4883f8e3d4f190737e573ce1fe0dae68fb5494827aa8075b47d6f285713"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":12653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a1fad1c983bf719b1b2cb5ea2d6a116e84b869a5cf3036b9841cc1277be96d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLinkedNestedCheckout (cyclomatic 16, cognitive 17): readLinkedNestedCheckout 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":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2ea4e29fad63fd7d93c5af9a352a8951bd843062ba8791fe403f55155c7bac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 16, cognitive 17): publish 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":"server/src/services/public-mcp/client-mirror-lifecycle.postgres.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"733e02c0252a61e108df10db52ab0cb51aa4f41c55962c82d160a82d6e61decd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveApprovedRemoteHttpAddresses (cyclomatic 16, cognitive 17): resolveApprovedRemoteHttpAddresses 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":"server/src/services/remote-http-endpoint-guard.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ec4c62aec175ceac85e91b50ac7b959714767ab35707b72275960f0fd92666"}},{"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":"server/src/services/verified-preparation-log.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe93e930d0056150952f390afc26cb84b6d5034a2035ec9d844add93edb1be80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parkState (cyclomatic 16, cognitive 17): parkState 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":"tests/restart-chaos/config-faults.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e369491a215de4b724cd6630a79215c05c1273beba3c25a533136229c477ee87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperPage (cyclomatic 16, cognitive 17): paperPage 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":"ui/src/artifact-directions/directions/d4-hybrid/paper-text.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85977bd3c2a5f6caa7fb32abc76d0438ea99df88df568aef411073a5cfd1662"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 16, cognitive 17): onSuccess 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a8e6aaddd2a067f1bb839db537c7eb90182b438cf9e13e5dd4cd61853571b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 16, cognitive 17): fixtureFetch 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":"ui/storybook/prototypes/new-agent-fixtures.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1715c78dda1fbdb9d0a902555fd85227dc1cf07e8ff262ee9803d1a2066c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkForUpdateNotice (cyclomatic 16, cognitive 16): checkForUpdateNotice 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":"cli/src/update-notice.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"416c4116da6c2ecba36787304fb9e423ad61567392dfbf0c06287018bbb9cf37"}},{"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/adapter-utils/src/command-managed-runtime.test.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d837501a36fe6adac61fa25c4a76c3377c31ec15d097bf36fb538e6e6f8f5b1"}},{"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/adapter-utils/src/sandbox-callback-bridge.test.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4f94946d5b9fff650357468414924c54f686f6e6f0de2814d615d8f5299153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectStagedRunAttachmentHeader (cyclomatic 16, cognitive 16): inspectStagedRunAttachmentHeader 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"441d9a5dd360878720ce36923442af40d217de23dab42c04936b732951cba301"}},{"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/paperclip-runner/src/drivers/dot/runnerd-dot-driver.test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb95186674853f271eba94d68fa075ca3885596b4738ddf5933497b17a58aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controllerAcceptedTurnStartId (cyclomatic 16, cognitive 16): controllerAcceptedTurnStartId 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19bfcf7d2832a365a98e7e0f8ca75f4271c1ee871040cd3ddb758b1e998ef39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bridgedCodexQuestionParams (cyclomatic 16, cognitive 16): bridgedCodexQuestionParams 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68075bc23caa1ec36356fa4508d4f049d985d2f13cced9597e9ce5461d2e3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function announceCleanupQuarantine (cyclomatic 16, cognitive 16): announceCleanupQuarantine 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c117a353db30d816e10f38b17dcd0b0a0fbdae0871da735563af3123fc5d2942"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 16, cognitive 16): call 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":"scripts/smoke/mcp-fixture-harness.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1251c987a9a39904bbb5ecfd9a6a0006762ee5e577c03fea7bcf2bc3bb3beb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedTaskListProjectionFixture (cyclomatic 16, cognitive 16): seedTaskListProjectionFixture 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":"server/src/__tests__/helpers/task-list-projection-fixture.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5a91ad35e03fa94128ebd979ac458fa41c481c0a468954adeec4e0a29e9deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchLockedRun (cyclomatic 16, cognitive 16): dispatchLockedRun 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2931a6456f7a271e7206d2d326fa9d6bffd1d33f91034948ac037e6585a5a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskToastEligible (cyclomatic 16, cognitive 16): taskToastEligible 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":"server/src/realtime/task-toast-eligibility.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0633c08f37cf662f1c9f1f5c0c04b263b842dcd3868ca5df14540bdc1ca181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOnboardingConnectionCandidates (cyclomatic 16, cognitive 16): buildOnboardingConnectionCandidates 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":"server/src/routes/access.ts"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e96652c66e09e087e7fcd86af0b32c75e4bdb1b57e22045868e67682a4dfa44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coordinateIssueListGet (cyclomatic 16, cognitive 16): coordinateIssueListGet 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":"server/src/routes/issues.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb2c4f4901093b966d68478e89723ebb6d4c6c7edc3b712a47c4c44bf6c051a"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":12798}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6af2a9da7b2cfc77afc652ff1d5e967d8d8af1291db3a5dd18a7af0f7172fa"}},{"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":"server/src/routes/projects.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2a7d4c7f5482818409e0deee784e431c9e71312e869494c2da13cb44ccb2d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRecovered (cyclomatic 16, cognitive 16): collectRecovered 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"c436801fec16fd3e8a0337797c2ef03000c156224e64d2a67faf142c4e0510c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectDecision (cyclomatic 16, cognitive 16): selectDecision 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":"server/src/services/ai-connections.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0ede4fa36062c4799ae34be914c12553413a812a3b3627419fbfc8fc124da7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectFastResponse (cyclomatic 16, cognitive 16): selectFastResponse 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":"server/src/services/ai-connections.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b0d233d6835d37fdab72e5a032f03dec62ca847efe41527988a481a4c247b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectPromptInjectionPrevention (cyclomatic 16, cognitive 16): selectPromptInjectionPrevention 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":"server/src/services/ai-connections.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb73b86ad4536c4fa37d885630de5d6ffce93cb91ca9051762a61b8960b480e"}},{"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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4787d0cf0fe38fe69be81ab1bff34168604bcbf875afbe7968a72d5ca11d3405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSetupProvider (cyclomatic 16, cognitive 16): resolveSetupProvider 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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"45772380c295bd3b76a801298004dbcf1bc0d73d6d04c86d099537e1ecaf396e"}},{"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":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5bbd4720635cc09f6486a891494d4eea97df5d68c6277c434a05f7d253f22a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 16, cognitive 16): observe 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae231cbfc6a3b7e1da79e46f8a183508de4d7ba512ae905ff5aa60fa07bcff2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkWithinTrace (cyclomatic 16, cognitive 16): checkWithinTrace 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":"server/src/services/native-runtime/native-workspace-finalization-work.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a27f9bfb84be1b00afbb427b647da5723cde6f077adfc51daad91b8d372a756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactRunnerApiPayloads (cyclomatic 16, cognitive 16): redactRunnerApiPayloads 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":"server/src/services/native-runtime/runner-api-log-redaction.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b379e83e73d31b5884b621e8854b5074ef1549fbe35d78c582eb71b7dca3b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTaskAttachment (cyclomatic 16, cognitive 16): readTaskAttachment 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":"server/src/services/native-runtime/runner-task-attachments.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"414dd06f99e416b5d29e101bbb2b371c6abab3088067dd232a008addd5cb4c08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPendingEffectTarget (cyclomatic 16, cognitive 16): assertPendingEffectTarget 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":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"687de76440cc4cff100c590eae8df24189833a37a4ad1f7a40b6f06f51148160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateIP (cyclomatic 16, cognitive 16): isPrivateIP 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f0d7b4418aab782d9ab878e28da9577520662c270c8309c8afd3dfa7577dfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 16, cognitive 16): authorize 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ddc5b55e4b75702f8fb5815f8f2862a009c9a606b9873533db610b972334b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openVerifiedSocket (cyclomatic 16, cognitive 16): openVerifiedSocket 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":"server/src/services/remote-http-fetch.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eac9321266381b00db6fc6f1d564471c32fd7577784e73a7c75fc3d3face7e"}},{"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":"server/src/services/skill-sources.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86f8a3629ff07c1108711fd9f38d30324220e1624730200e31e4b0f058172fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 16, cognitive 16): run 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":"server/src/services/workspace-git-operation-scheduler.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f9819b91f77ed61e2bbe19f928a4b3079badf700ee58c2bb2cfbdf9b0681e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectManagedGitWorktreeBranch (cyclomatic 16, cognitive 16): inspectManagedGitWorktreeBranch 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"448772718580c982d605a53254ca53852d9b4d354ab5ae31f825cb22fb879fa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRepeatedRestartOptions (cyclomatic 16, cognitive 16): parseRepeatedRestartOptions 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":"tests/restart-chaos/repeated-restarts.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"77be593afacfb0c90f7358a2ea8f5bbfe5b85bd1650ff94c61ee69bb6acc98b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunnerE2EResultsRoot (cyclomatic 16, cognitive 16): resolveRunnerE2EResultsRoot 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":"tests/runner-e2e/results-root.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca908c7dcb9567be7ccdd428a3624c7afad2303d8feb2f2467af6d1ca919ad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduledCampaignFindings (cyclomatic 16, cognitive 16): scheduledCampaignFindings 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":"tests/runner-e2e/scheduled-finalization.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ed7f4a78419ea83ebdd00294ed883d932b02018f6a36ebb9cc1f4970aa9f80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveIssueDetailGoKeyAction (cyclomatic 16, cognitive 16): resolveIssueDetailGoKeyAction 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":"ui/src/lib/keyboardShortcuts.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5241199c6143ecb9849b3b9e559c26ee823af617249d44f507996faf62720f3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopFailedNativeRun (cyclomatic 16, cognitive 16): stopFailedNativeRun 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":"ui/src/lib/native-run-stop.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a30f86d26febbcb0359c51c5d2da985564706943a6da6fb270cd2c3bbfd853d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanySettingsPluginPage (cyclomatic 16, cognitive 16): CompanySettingsPluginPage 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":"ui/src/pages/CompanySettingsPluginPage.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1facde040f337154caf5ade8b7a3da2a65dfc2fb01b4a2383cec3e7c4c4d0a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectDiagnosticEnvironmentSecrets (cyclomatic 16, cognitive 15): collectDiagnosticEnvironmentSecrets 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/adapter-utils/src/command-redaction.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c76a4027d108c153ada4fb77c6d9d26fa7b6b565fd4a952519e27e417ad0f88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LiveRunner (cyclomatic 16, cognitive 15): LiveRunner 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/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9724750092c65851bb1b480ec7861056644791a581b98856971ab58b17f197e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopReceipt (cyclomatic 16, cognitive 15): stopReceipt 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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3c90ed1d85b324757ccf153b5a3e56a6d75a7009c66c1aa30594434c63f87f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notice (cyclomatic 16, cognitive 15): notice 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f3e19641632a1678c93d55903178813bd73703afa39c154f566c3ff2343095"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 16, cognitive 15): constructor 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cd01d4ee8532a8596af13e6e62fd9904d518503756f24aca0730b59533703b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openFixtureRun (cyclomatic 16, cognitive 15): openFixtureRun 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbffc9f1a41bf1c6e4a1603e6a59f611a4e0bf9c3f461283e8bed2e3292a469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipIngestionProfile (cyclomatic 16, cognitive 15): normalizePaperclipIngestionProfile 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d096684c5160fe0b6f880f786f11d3fb61af8bcc06ef1009577480d9704c552c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wikiSpaceRow (cyclomatic 16, cognitive 15): wikiSpaceRow 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/plugins/plugin-llm-wiki/tests/plugin.spec.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"17942919c85e0e6bdb060604a2948679496c249115f0489df04aa5d97c9c3b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSshPrivateKey (cyclomatic 16, cognitive 15): validateSshPrivateKey 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/plugins/sandbox-providers/exe-dev/src/plugin.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eb1873e8d0550a8e830503cd4c82fd7a246fa69bd114b0868864d0bb3ed17e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentExecute (cyclomatic 16, cognitive 15): onEnvironmentExecute 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/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"46657cd5c7f760225e95509077b2d280a4909250943cec55e105532a5e77fcbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEnvironmentCapabilities (cyclomatic 16, cognitive 15): getEnvironmentCapabilities 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/shared/src/environment-support.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b692ea052842ceb290296ce8895a4718551bc9e628fac7f40fb616055048934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decimalUnits (cyclomatic 16, cognitive 15): decimalUnits 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/shared/src/money.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"62085db114660815878e5b59c9d680e387523eb3edd308c6b8930cc7091fe28f"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":9489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1da9c32e4b2b04fcc15fc754060982e63a40dacd30392744a38caac34699f78"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":28791}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9119d788d32129d9a7e448291b1ba261fd445454ab6daedca11ad561c39122"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":41340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c990732e476aa7c495552eddd32e830d971116bcf88ccb056f1462a39847381"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":77538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b07feefb29bb643833c4698f3e1379a5428ca084dbaad5e264d570eb023a9"}},{"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":"server/src/__tests__/heartbeat-issue-liveness-escalation.test.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a791dcb44ba4924b2f7d589322ee71b5bb8fca03f82fbde27528453b6f6391"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parkWorkspaceBusyRetryInTx (cyclomatic 16, cognitive 15): parkWorkspaceBusyRetryInTx 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":"server/src/modules/run-dispatch/adapters/workspace-busy-wait.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef725b18d51e5a681b69f4a4e0f79917b841b57174e4ada3b0fbc8cd0de8aff1"}},{"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":"server/src/routes/plugins.ts"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd709d3d00194853dffb35b4ee6f7ae6f34a779cfb444157c07715a021e173c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupRemoteAfterRestart (cyclomatic 16, cognitive 15): cleanupRemoteAfterRestart 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a4c5797b87b25476c645bb68c58fed7a07d5841bc92002aefbaa1091cfa796"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverCollection (cyclomatic 16, cognitive 15): recoverCollection 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3bd77dab3b247ca2d8318b11a7d8d0c5f1fd4df5a910d680b1e65937b0ece9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityConnectionProbeFailure (cyclomatic 16, cognitive 15): antigravityConnectionProbeFailure 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":"server/src/services/antigravity-connection-probe.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d0d50a295b657291ded3bab9eaa34d364ca6b1f1a33564fe39e353792bc3f6"}},{"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":"server/src/services/board-auth.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dbc4257d32c653e8c146871814790ffe1e2f11e694453d26dd192cf9638340"}},{"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":"server/src/services/chat-channels/slack/board-messages.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb0adf6320692bb274ae7d1fafac83994d3d55b97714d301378fc9b6f701ae5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindTeamsFileConsent (cyclomatic 16, cognitive 15): bindTeamsFileConsent 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1be479512d320a97372b366027fd1b759db7d37e53d2729a1e604bb269121b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wakeConnectionIntentAfterResolution (cyclomatic 16, cognitive 15): wakeConnectionIntentAfterResolution 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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d1e253b013295a79da9f271599d8133cd26f3ad38df305220702c6df188178"}},{"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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c644bdc2f95cf4ddf4b83fea9d26f36724102f4d9ae62733f728d5d300d25c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectExecutionWorkspaceBranchForReconcile (cyclomatic 16, cognitive 15): inspectExecutionWorkspaceBranchForReconcile 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea2e424aa6d745f092d98c694ac7b52541733dcbfed6b4acc1cef70b4ee386c"}},{"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":"server/src/services/heartbeat.ts"},"region":{"startLine":3104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac367db0a229998b7eb1ec8f589e4cc886030c2f88c571b79ccde3000d6724a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTaskSessionConfigFreshness (cyclomatic 16, cognitive 15): resolveTaskSessionConfigFreshness 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"003ca99fe6b5c3624aa0f8b4b3e9a0770e87e7da33607ec5579fd54a7e5154cc"}},{"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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c26454c0bc142b7242347eb86f2a0329196d7cd5e4507dce41a9fd49285020"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffPlanContext (cyclomatic 16, cognitive 15): handoffPlanContext 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":"server/src/services/native-runtime/handoff-plan-context.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5656807d2fb657b4d8b3d361376abf6ab749c44ed2e82de5f34abc69133f1c3"}},{"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":"server/src/services/native-runtime/native-controller-migration.integration.test.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8ca6db39d98d3dab3c5e4ca93db4e04a5164a14e61483e7f2ec074e4e211bc"}},{"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":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5cc5e5d631649b351f85a2d4ee153b4fb1448b182712566e4ae0551a060a4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileBackup (cyclomatic 16, cognitive 15): reconcileBackup 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1b18243d4cca50d4cef0ca4959bd51f04ccfb403cff93b5b104fea20f6c75b"}},{"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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5e05abad7b44684ae7ccbfc718f37bc586e0a4640592c61ea017e81e494895"}},{"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":"server/src/services/native-runtime/native-workspace-reconstruction.test.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"86706c5a1c5ba4bde2d58bc17905bb998d1c18acf354d4d1ec06855d0b20730d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifiedDurableSeed (cyclomatic 16, cognitive 15): verifiedDurableSeed 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3073d694f8a6fd4d83f29d928a8e2ff36865216fd05a979127080017da8ffdd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRuntimeService (cyclomatic 16, cognitive 15): toRuntimeService 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":"server/src/services/projects.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7519ac73578aba46b106ee5016f22284ac7eddd17dfae34f8a9370352e5611"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleProbe (cyclomatic 16, cognitive 15): settleProbe 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8b0983f0053350475165f1ed8c1899ca325dcf8da92fe96f76e9e77968532b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRepositoryObjectCache (cyclomatic 16, cognitive 15): readRepositoryObjectCache 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":"server/src/services/repository-object-cache.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efa7696be0920c9a0ba23b8af9dab51f2a5b4515b157f29b48ea3c207212595"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSlackMcpAccessDisabledResponse (cyclomatic 16, cognitive 15): isSlackMcpAccessDisabledResponse 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":"server/src/services/slack-mcp-error.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8864b6d6a728dbd618e8aa19b3f546871c4200fcf286b6e62b5586a4bab2097f"}},{"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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c18ce3a4fbacbd0b76f1df42a99ba27048687faa77ac2033b48cbd8083b1dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function healthFailureHttpStatus (cyclomatic 16, cognitive 15): healthFailureHttpStatus 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":"server/src/services/tool-access/catalog/failures.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20dcf7c51cce91be877824c96b96861e62019a753c23e121f327c5d1a5b898b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readToolArgumentsEnvelope (cyclomatic 16, cognitive 15): readToolArgumentsEnvelope 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":"server/src/services/tool-content-guards.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f899e89f299005b53f9250a94b2c8e447afd7f25ed0987fa894a042e101c71da"}},{"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":"server/src/services/workspace-recovery-admission.test.ts"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"324ca44a6a3f6389d8c0cfc113f13b15bdd2a651e35958199c841aa9c186ffc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverRetainedWorkspace (cyclomatic 16, cognitive 15): recoverRetainedWorkspace 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4448eba8eca67086787c8afe6b9dcbe329ffadd6285e2e5cdff47719709070"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRuntimeProvisionWithWorkspaceMutex (cyclomatic 16, cognitive 15): runRuntimeProvisionWithWorkspaceMutex 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce0b1e61643f514aed8dbad5a6240303291e29895d2c89f302445a8ca747808"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTimeFaultOptions (cyclomatic 16, cognitive 15): parseTimeFaultOptions 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":"tests/restart-chaos/time-faults-config.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f044392d2926c2fbb7b86367124272cbcf4967bc6bc528142e1b86ce65f35fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeAntigravityRun (cyclomatic 16, cognitive 15): observeAntigravityRun 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":"tests/runner-e2e/antigravity-journey-fixtures.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66dd4fab2eeb103eb0afde4302a9b560105fafe4be942e204a913ea05ca134"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-instance-custody-resume-binding.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d5116cdd302795cadfb0d1757661b551a6ac72d28e93d65469e92a6573faa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 16, cognitive 15): act 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":"tests/runner-e2e/chat-catalog-domains/identity-access-grants.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"49863af3c8606f54af9b0225b777c15550dedaf66e6cbf89ad0cd2226b55e093"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-confirmation-workflows.test.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d9b69ab6c591d715bc8d75453c5af15529d240c5475ff53790181b3a580893"}},{"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":"tests/runner-e2e/chat-catalog-domains/integrator-skills.test.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"499c062036398bf26c9c3c5a6b312637128176f983ae3e7af27997b3ce24521d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareOwnedPublicOrigin (cyclomatic 16, cognitive 15): prepareOwnedPublicOrigin 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":"tests/runner-e2e/chat-public-origin.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525d6580c5fb19f98c83a1e23e879f88ef36f1c43ee8b122d774a500cacfeb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPlanRevisionAcceptance (cyclomatic 16, cognitive 15): runPlanRevisionAcceptance 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":"tests/runner-e2e/plan-revision-flow.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d076e9da3f399f3296be0d59aecaeeec88c94b964d76e8072d6b13fffe0fb6"}},{"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":"tests/runner-e2e/product-journeys/stop-redirect-evidence.test.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e6ff5f534ccf44930d9ac462a3525cf4f31b691755eac552255c6df202d3a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PanelCard (cyclomatic 16, cognitive 15): PanelCard 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":"ui/src/artifact-directions/directions/d1-solid/PanelCard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"24923e3083b1692f9361dd8d9cb27c96141450848158a0881d5ece947f59ec38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueReferencePill (cyclomatic 16, cognitive 15): IssueReferencePill 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":"ui/src/components/IssueReferencePill.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23cbab63c8828dcdb9b66273f2acfa78d366ed6de37133fac760a03b396e407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownIssueLink (cyclomatic 16, cognitive 15): MarkdownIssueLink 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6d07a4edb41094d3be33afe1c21c74f01aa15f6fbbfa79eb127bdd1fe18c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineOverview (cyclomatic 16, cognitive 15): RoutineOverview 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":"ui/src/components/RoutineOverview.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d968340314e072adeb37e23e86e35b57af6e3503f842b269dcb9cce29975da79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SortableColumnHeader (cyclomatic 16, cognitive 15): SortableColumnHeader 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":"ui/src/components/TaskListColumns.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca56f3f7d0457c70e0942bfb7a156e85f263c2f7c572597bcd0dde6a63cd7d92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UrlSegment (cyclomatic 16, cognitive 15): UrlSegment 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":"ui/src/components/WorkspaceServiceControlBar.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"956ef8aa5d06152674e47736f6b7741613a4f9b07a8745b43528db44da54251f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCompanySettingsTab (cyclomatic 16, cognitive 15): getCompanySettingsTab 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":"ui/src/components/access/CompanySettingsNav.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55c602613cce0a6e9fc4e9b8ec81ca3363681c627df2aa13b616c52ad09f6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileRowSourceFromWorkProduct (cyclomatic 16, cognitive 15): fileRowSourceFromWorkProduct 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":"ui/src/components/artifacts/v1/adapters.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d730c82ae3fce392730679523930cdb49ad3fcbefa52f98ed48565a9748d0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRow (cyclomatic 16, cognitive 15): AgentRow 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":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a462bcfee7f43ed0121851321e0121d6197464b89ffe510cb0917ef28a20dcfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coordinatorCardAsk (cyclomatic 16, cognitive 15): coordinatorCardAsk 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":"ui/src/lib/coordinator-attention.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c711da6c6d063edd71363247a78dc499adb94952a62ae36444eb84d6b12d0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyIssueFilters (cyclomatic 16, cognitive 15): applyIssueFilters 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":"ui/src/lib/issue-filters.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6561ceaeec2a8566eed138c2f1c762d7543fe077287e5902c49839405c23f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isNewAgentAdapterAllowed (cyclomatic 16, cognitive 15): isNewAgentAdapterAllowed 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":"ui/src/lib/new-agent-adapters.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6496dce4019a6096bb90422a3b074468ce386cd0d2a561884f91075b32904a90"}},{"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":"ui/src/lib/paste-normalization.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ed5411662fc22054980721ebffbabed0b9abb26c29f42909069ac554521e59"}},{"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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc366c696c25fd824b66bbfeba97407c4f62a5ada179f9be8760012d537f03e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReconnectCard (cyclomatic 16, cognitive 15): ReconnectCard 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0458042a39ae8d81d8950c8013097da315ba8c4c144087c894b4c8a370287f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApproveDialog (cyclomatic 16, cognitive 15): ApproveDialog 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":"ui/src/pages/secrets/proposal-review.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e71996a12a00e00b25a711adf2a20c28b4ad9327eb3a3746d638f3c1d8b1f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompletedActivityPreview (cyclomatic 16, cognitive 15): CompletedActivityPreview 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":"ui/storybook/prototypes/completed-activity/CompletedActivityPreview.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cd60a2ab4a6ec98c766163e7cfe284a480e95fdf44c5a2a97f4a55c50e09c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 16, cognitive 14): serialize 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/adapters/claude-local/src/server/index.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bc0e0e4ca3d7e6161d825a0d2bc49797685ce2443bb204345779e7f9f677a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLocalClockTime (cyclomatic 16, cognitive 14): parseLocalClockTime 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/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"645b1d9112bb28b7567910e98785c7db587947dd12bc2f96fa04f0d54d3e681d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function networkFailureReason (cyclomatic 16, cognitive 14): networkFailureReason 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81b3c9e1895b7fd61dfb9bc562280577b602197ff691cb083fafc6e5f236aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCapabilityRoute (cyclomatic 16, cognitive 14): parseCapabilityRoute 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/paperclip-runner/devtools/issue-thread/src/route.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c189d4659d1eed5e794ebb95cc411adde199b16a1f679501c3897d290ffe817"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trustedOpenCodeLaunchBinding (cyclomatic 16, cognitive 14): trustedOpenCodeLaunchBinding 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd0b64ed8f81ccb41a8d2494832f71f8c9a9f576ce139b5356fda2f0b0e1014"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRestartInterruptedTurnId (cyclomatic 16, cognitive 14): nativeRestartInterruptedTurnId 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/paperclip-runner/src/contracts/native-session-backend.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35273bf4b9b2d75eef680bbb9560dade469fc6381a064807198f9d8d5b66b4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function goalFromEvent (cyclomatic 16, cognitive 14): goalFromEvent 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e211db74bfa2dca48625d486c22a1a7787533de4f5dddd59331e5b0a4f83169"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OnThisPagePane (cyclomatic 16, cognitive 14): OnThisPagePane 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f32d214363d414f2187ffc3cba3e1e1249b0557be00011e1b7259db4a0849c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlScalar (cyclomatic 16, cognitive 14): parseYamlScalar 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/shared/src/frontmatter.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0a465aa5a4435fc1129fb1523a14a1ad2d753a63ec5da4017ddaa27cf00299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRegistryLockOwner (cyclomatic 16, cognitive 14): readRegistryLockOwner 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/shared/src/worktree-port-registry.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d76b3b296fc6b7c44dd4e3af5de00289bd2e5225c45bb72c0fec7d36cafd4c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeController (cyclomatic 16, cognitive 14): authorizeController 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cf96681fbe6360b8361b6a5dcd5b55321170b628404f13cd957ece0f541be6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeSkill (cyclomatic 16, cognitive 14): materializeSkill 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a196d14d65ad26ee7501341c387d6039de8d64b6adc7d0d70160a781e0439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function caseWakeWithInstructionReference (cyclomatic 16, cognitive 14): caseWakeWithInstructionReference 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":"server/src/services/case-context.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdeac4f0b9b40ee53378dda0d85a6bccf0352f0e85992ab970bf1a5748370e9"}},{"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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"06783059619f11aa5ad78387ad65ff83ac2d5857b4cc4b2de6d4e3b50309e148"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callPluginEnvironmentSync (cyclomatic 16, cognitive 14): callPluginEnvironmentSync 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"5220db7c210ff5d927445111da7915617b9ec1923b72cfcccb6b0db80ac23e29"}},{"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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5671}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dd165a5819aa668e0a2f79c13e7deec5514a312587b2b1af97beb7d437825e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function account (cyclomatic 16, cognitive 14): account 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":"server/src/services/managed-ai-credential-writeback.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60d33b4933ecc408752ed8483ddac5de33c3ae0e6291fe2c4e336fd1101ec60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interruptedExactResumeCause (cyclomatic 16, cognitive 14): interruptedExactResumeCause 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":"server/src/services/native-runtime/native-exact-resume-failure.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1181c82305de46193c62b6614fb2f31aa515dd47a72553fdfcef9da3d8221efc"}},{"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":"server/src/services/native-runtime/native-github-access.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"804d41a76bb2f1ec29407b4395efa512b679f9903be0b41b2f8758625e6f93ac"}},{"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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c8e79464d7932c351dced5f73d770b260affa76a2f4f583f200903039baba2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadWarmNativeCheckpoint (cyclomatic 16, cognitive 14): loadWarmNativeCheckpoint 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8661}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad6ba96a069ba1f74f7d62aff8ffa102ac73e76105924a20066f932a096d1cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveSupersededWorkspaceExport (cyclomatic 16, cognitive 14): preserveSupersededWorkspaceExport 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":"server/src/services/native-runtime/native-superseded-workspace-export.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b119ab43fd51c90af0e3cc87ff1e845a27c4aaa5de422239cba1c284a10d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeUsageCostUsd (cyclomatic 16, cognitive 14): nativeUsageCostUsd 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":"server/src/services/native-runtime/native-usage-accounting.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f058f4efe36971e508e121720f145885ad250ebe54efa08345b2d2165982f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withDefaultProjectStorage (cyclomatic 16, cognitive 14): withDefaultProjectStorage 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":"server/src/services/project-environments.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc03276681f157cb76fac68a610321a86f5a2d7444486300245071ad1c60f908"}},{"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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5437e0c53efd0278682c1754a0ce5b73b5a2e1993e413bd0ba3206fd5dbd1c77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 16, cognitive 14): validate 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b273d6d6ff3efc635dc2ac6bde0810f798ce1f5fa506330791a99a8d0e0d8d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverSetup (cyclomatic 16, cognitive 14): recoverSetup 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"24db10aa57dee2237f109bcf3fe2f70a5a5c39366975afab9d155ab4c36adc3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generate (cyclomatic 16, cognitive 14): generate 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":"server/src/services/summary-slots.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a268b4b18a44ad595976ff84e3966f332f86c9c4fa8d56a7911678e0992e3753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskSearchCtes (cyclomatic 16, cognitive 14): taskSearchCtes 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":"server/src/services/task-search.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e6bf1493ec0b3411a1dbf840a48d2bfde4f4a25d25b68de473e0f2b86bb51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oauthClientForConnection (cyclomatic 16, cognitive 14): oauthClientForConnection 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":"server/src/services/tool-access/oauth/credential-store.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28fe7aea6a00ef69f704e21067ac51ba4bac89ede2fffcb301c3009284e63ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPutFileInput (cyclomatic 16, cognitive 14): assertPutFileInput 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":"server/src/storage/service.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f3c14fa62f1069fb8b8925a1db3940ce37de17162440dba5714a216280a727"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 16, cognitive 14): finish 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":"tests/runner-e2e/copilot-local-fixtures.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d0ee93c769158f78e9b6bb2dd58363ba9d6c3d66f809147ae1b0fbad7a9437"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstTaskUserRequest (cyclomatic 16, cognitive 14): firstTaskUserRequest 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":"tests/runner-e2e/first-task-transcript.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"66057f7124870b87cf16bbfb27783d49f2a968ac02988945a221467c9307fb37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 16, cognitive 14): finish 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":"tests/runner-e2e/native-local-fixtures.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"208219bff66201787c3b0c2740bfdfb4031f6c297cafedf6ac158c03a4da0e38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildQuery (cyclomatic 16, cognitive 14): buildQuery 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":"ui/src/api/file-resources.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cc8a175f83860b02c3d2eec939ab26561c07b556506db03afe87aedfd5a81f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PanelItem (cyclomatic 16, cognitive 14): PanelItem 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":"ui/src/artifact-directions/directions/d3-tactile/PanelItem.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"289839b3d7b696fbd20d9100ae8ed7b8cdbb8d6f3338044bc2be58c5eab3d356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentProperties (cyclomatic 16, cognitive 14): AgentProperties 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":"ui/src/components/AgentProperties.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"192b51f8b2c2de779beabf7bd57a45ec9d762e57036f83b0fae4c359a86b866f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalObjectStatusIcon (cyclomatic 16, cognitive 14): ExternalObjectStatusIcon 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":"ui/src/components/ExternalObjectStatusIcon.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfae0e40f55f4ce36995873cbba6e11b88a63ff9e0f5e90562a4361b662f818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueFilterPanel (cyclomatic 16, cognitive 14): IssueFilterPanel 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":"ui/src/components/IssueFilterPanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5413104f145811a85dbae81cff5010dfff7cfa04a0bf93ee0064572acc6f20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemovableIssueReferencePill (cyclomatic 16, cognitive 14): RemovableIssueReferencePill 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":"ui/src/components/issue-properties/relation-controls.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c2d9f54fcebe01eae1d51169bda8fda000ee743afa3ab63eb35390e802d584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskMessageScroller (cyclomatic 16, cognitive 14): TaskMessageScroller 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":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5d5ce20d64089322fd023238e0833f0c1b472996b4b3128afc9918590dd84c"}},{"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":"ui/src/pages/Companies.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0181c7af1952da23dafc3ee80683cc1f439d917dabef90a078d6ae374818c4ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StudioNewSkillPanel (cyclomatic 16, cognitive 14): StudioNewSkillPanel 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":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a60059e83826272290f7b8fd1a8713fe4037161a46e7fac9d12a7c1715c48c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Access (cyclomatic 16, cognitive 14): Access 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c8a4b756453489cfb576d26a8fd4c0538d0cac5849b06fa31d8fd64a16e23f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 16, cognitive 13): deserialize 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/adapters/cursor-local/src/server/index.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7449af95d4d1e37981814b5ffcdf24f50e672df0fc365845c5e91836371df316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 16, cognitive 13): deserialize 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/adapters/gemini-local/src/server/index.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f97a0cdb70ff37d728afac7a01a400afd521e7ae27031bccf4df23dea6856e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 16, cognitive 13): deserialize 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/adapters/grok-local/src/server/index.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f109e006fc2da2e63168682ea2668bc2e692c6b7d3be3ff9b9a593dbb0bc21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 16, cognitive 13): deserialize 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/adapters/kimi-local/src/server/index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"090cd1a66437bf7189643da1432dae8ad260a5b37af57e30cf87c3565cc5f180"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 16, cognitive 13): deserialize 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/adapters/opencode-local/src/server/index.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b619b23bdef1655390b2ec1a765e06fe8d098576b499a1fec3d3f87452d84f49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistedAcpxTurnUsage (cyclomatic 16, cognitive 13): persistedAcpxTurnUsage 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/paperclip-runner/src/drivers/acpx/usage-accounting.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c1e6a2ca0731954a02febcbdd4d59a7a4b99a93c00d36741bb098d21f9633f"}},{"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":"packages/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dde446273f8a9d6732a7ef1b3b362f0d547ead63fed81258423d6662d791f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseVmRecord (cyclomatic 16, cognitive 13): parseVmRecord 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/plugins/sandbox-providers/exe-dev/src/plugin.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"34afc3d454d9dbc5dce94b3c75af7bd853f5ae9cb2428d7b2fc015b7f2e0fdad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOnlineWorkspaceMigrationRequest (cyclomatic 16, cognitive 13): parseOnlineWorkspaceMigrationRequest 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":"server/src/maintenance/online-workspace-migration.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"313262e95f262a902a01c4045db2f316b27a7ce370334d79045f4ae8da60b24a"}},{"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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d77f112b790fe375d3fb8311b630cc2f77245de9feb4b6790fc87c0d1c311a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isResolvedInteractionContinuationWakeContext (cyclomatic 16, cognitive 13): isResolvedInteractionContinuationWakeContext 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":"server/src/modules/run-dispatch/domain/wake-context.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7544a42af9ad43f6f57ac3c10593b20c707a3da1aa867b53e075db6dcb2c82"}},{"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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ced0f29f938314633fa07fa8fcf9a04b0c6d167bb4073ab420203bde30dd626"}},{"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":"server/src/services/agent-action-audit.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17f2bb3da7c9bef0c37789cd22e8c8ea8f900c6d6a75a71aac6f3fa364fbe03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueResourceWithinLowTrustBoundary (cyclomatic 16, cognitive 13): issueResourceWithinLowTrustBoundary 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":"server/src/services/authorization.ts"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fa01563aaff80c2fafe63981e2b9318e092fe24b623d31f8bef1fed92b9fb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entry (cyclomatic 16, cognitive 13): entry 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":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"00737059a870a8cdef85974eb30d7ff5635c09651dd5fbd4371df42e9e6814ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubTaskRetryRuntimeFence (cyclomatic 16, cognitive 13): githubTaskRetryRuntimeFence 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":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf9e2aeaa8a830f7cabd54296443ce1debe6995586ae2ac5235be17d6388a85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleReaction (cyclomatic 16, cognitive 13): handleReaction 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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaa21f0748a93c10caa348d5ab86c780fbc9aa51202ada56b48d19d2a5703e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveManifestSkillKey (cyclomatic 16, cognitive 13): deriveManifestSkillKey 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":"server/src/services/company-portability.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c25088f989ced732b42b25b478c55c15bedfbec035c1a7a9166f8861f9479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withRuntimeSkillEntries (cyclomatic 16, cognitive 13): withRuntimeSkillEntries 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":"server/src/services/company-skills.ts"},"region":{"startLine":6110}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb5c1ee9540eb564271f6a571c10775e5b74c0ed35b69c8f8574bafbe8f3c87"}},{"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":"server/src/services/environment-teardown-claim-settlement.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a07fdb682067d18e270d7d7050fb79ca9d5cf28937de32d52b5ab12d2982e01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeHeartbeatRunStopMetadata (cyclomatic 16, cognitive 13): mergeHeartbeatRunStopMetadata 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":"server/src/services/heartbeat-stop-metadata.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"336cc26c589576435d2d91a305bd0903142de9e9d44b215246727031e59ef666"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unsealEvents (cyclomatic 16, cognitive 13): unsealEvents 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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c21ffdfe37ab26a8665aee57f57e02c95df057f9a87bad0d55984bb4b906068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removePluginWorkspace (cyclomatic 16, cognitive 13): removePluginWorkspace 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b07bf16e7baddbeed63f70d2fba989cbe5a4007d813004548575e872e14a1d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureSandboxWorkspaceArchive (cyclomatic 16, cognitive 13): captureSandboxWorkspaceArchive 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b5582297cfa68ec377190de141e87964e0182e5f849f7050ffb34338e83c13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveConfiguration (cyclomatic 16, cognitive 13): saveConfiguration 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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3159c4b7bfb91ca29ef86bcf105e860240f2ebe4b4211e6173d80f06b29ec30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceRequiresCopyOnlyProvisioning (cyclomatic 16, cognitive 13): workspaceRequiresCopyOnlyProvisioning 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":"server/src/services/workspace-host-provision.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"86367fd6805d953b57372677e57967f27a785199c7017f63d7daef081770344e"}},{"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":"tests/runner-e2e/case-handoffs-scoring.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdf7b6364ebb0e5592d4092dbdd1d91b941dae762a8be95ebb159d6d098f01f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeOutboundEmail (cyclomatic 16, cognitive 13): gradeOutboundEmail 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-outbound.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e8859d33b9ecc39cc1b8faa511cb259242e89ee0ff8fa8822c26ff0751e8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 16, cognitive 13): snapshot 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":"tests/runner-e2e/context-integrity-flow.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5028575a0513365121240ea70bbe1e701081e503429f97ed1896fe1d73397aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 16, cognitive 13): constructor 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":"tests/runner-e2e/cost-ledger.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e7e91c8262612d9e5d9b8f05a84b38c6d62b3ac1c0732f335e6b54a6fdb548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteWorkspaceStorageServerEnvironment (cyclomatic 16, cognitive 13): remoteWorkspaceStorageServerEnvironment 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":"tests/runner-e2e/remote-workspace-storage.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"412a74ac49d31295d118bd66489b5d419ceb3f1d3e84698c49308ea1c9981088"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentLifecycleStatus (cyclomatic 16, cognitive 13): AgentLifecycleStatus 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":"ui/src/components/AgentLifecycleStatus.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f349efcc9ea50a1cf31f01548c3586369aeed81ef187c8c40c8e6013cc7a65e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatSubagentCard (cyclomatic 16, cognitive 13): TaskChatSubagentCard 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":"ui/src/components/task-chat/TaskChatSubagentCard.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9b7d118196f2f51933d6a5d3d99ab95bde00b3538cbe487107e9cda91247e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeSegmentTimings (cyclomatic 16, cognitive 13): computeSegmentTimings 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed280fd41009e64c2fb8ceda0f71cb029316d10ad933c8387f2c7b51af40bbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyShellRoute (cyclomatic 16, cognitive 13): classifyShellRoute 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":"ui/src/lib/shell-navigation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3534a2efb7a05e4f5426554d13b685b29e9c96a8929f90f44efc02fb84592e82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposioAppSetup (cyclomatic 16, cognitive 13): ComposioAppSetup 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":"ui/src/pages/apps/ComposioAppSetup.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf889d665a53be525a7c62934c59fd59fddabf8e15c20c57ab52b7ac49e67d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReviewRow (cyclomatic 16, cognitive 13): ReviewRow 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":"ui/src/pages/apps/ReviewQueueCard.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a14d02242614d8ca57335057da7b302c94e72a6385738f60ef89d23ea4a7460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GatewaysTab (cyclomatic 16, cognitive 13): GatewaysTab 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":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2e692eb51eb321b368f245149ff02f85880f1518506af41d481c906d1f8f93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveBaseUrl (cyclomatic 16, cognitive 12): resolveBaseUrl 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":"cli/src/commands/auth-bootstrap-ceo.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf892d2136411e5f4529f8a14cfc55801c04fbe143045bf20cd3160bbcfdf2f"}},{"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":"packages/paperclip-runner/src/contracts/cursor-cloud.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8849d2def1e2782324aa0bcd9c8119315180e608a235af4ee88a8115363c8ba1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitDiffPath (cyclomatic 16, cognitive 12): gitDiffPath 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"132b7074abcbe839e99d76a2d3e673c9f488b7da90a885a51a1747823b240b22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitize (cyclomatic 16, cognitive 12): sanitize 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/plugins/sdk/src/environment-sync-error.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b346f104693084024397d00f7ca1839d7eeac69387f56fa3570a63bf6fa1277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grokConsumerDockerArgs (cyclomatic 16, cognitive 12): grokConsumerDockerArgs 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":"scripts/grok-public-install-sandbox.mjs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f95f5aae3eafddcd755f2bae52d7dda8602df0404407103157b4b4f158a536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireRecoverySourceMutationAuthority (cyclomatic 16, cognitive 12): requireRecoverySourceMutationAuthority 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":"server/src/routes/issues.ts"},"region":{"startLine":7452}}}],"partialFingerprints":{"codehealthFindingId/v1":"128233d5c8d03f33d1af6d6872021a6d053c39463a511ae7f1dc31173c211f1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAwsSecretsManagerConfig (cyclomatic 16, cognitive 12): loadAwsSecretsManagerConfig 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6137ae8ee2ff13e07de05be63a0caa60b71cba165b3a0479e26057cdb4e41ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 16, cognitive 12): visit 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":"server/src/services/composio-app-setup.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e2f8880bc3ea73fae6ee62727856335557185e3331d0df993e7a9aac3b9868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function continuationApiResult (cyclomatic 16, cognitive 12): continuationApiResult 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":"server/src/services/execution-continuation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea244dd287b50b6418dc39a0900a0318a2f422bc24471fa2e388a23e211f2479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gatewayAppliesToRun (cyclomatic 16, cognitive 12): gatewayAppliesToRun 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"301e2b6277ac220e0d519132ea41d9c6cb3df9805b7bdcf6a2c92980723c0adb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function from (cyclomatic 16, cognitive 12): from 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04c43890d6b2b34e1e696a68dc25633019fd150eb9c03b0a2143a750ebb62c5"}},{"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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11eda4e7bba785129b6f02d3055a5bd386d52090565f5fe93505fc62c3aa484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesLaunchPolicy (cyclomatic 16, cognitive 12): matchesLaunchPolicy 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4a1ec95c082839c9f536f62f2f40936ac6c10a4609401cb90e8c2eb1def58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordMuseCodeRejection (cyclomatic 16, cognitive 12): recordMuseCodeRejection 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":"server/src/services/public-mcp/muse-oauth-diagnostics.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"74094077ca4ed8d5ad7e8c923ee924b48fc236bc7765c285db515ce91c3ef01c"}},{"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":"server/src/services/recovery/review-path-recovery-escalation.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a639740e151c53bdc918f18dcb4d9332ff8ad2cc1b060c46f44f7da9dae112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyRepairDispatchBlock (cyclomatic 16, cognitive 12): legacyRepairDispatchBlock 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3993}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f65bd2be017aaa117e48994a504d7a81143b0f3a238f864798c3309afa3cb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixedPersonalIdentityForReconnect (cyclomatic 16, cognitive 12): fixedPersonalIdentityForReconnect 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":"server/src/services/tool-access/connections/personal-identity.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50bfc1e5804e73ba184b1c04d84555368055046cf7af323cc794f673a66ff7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadBrokerRunContext (cyclomatic 16, cognitive 12): loadBrokerRunContext 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":"server/src/services/tool-access/token-broker/admission.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2532efe88425b4417903f6a93685ced828b26b91e72445a2bbbbc687d7f39d71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNamedGateway (cyclomatic 16, cognitive 12): createNamedGateway 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10996}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cf2f7b517c49c1e0d6ab8ffba691b82129f59e228831eb64a9e6d3bb9a1e7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureAntigravityAgentDraft (cyclomatic 16, cognitive 12): captureAntigravityAgentDraft 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":"tests/runner-e2e/antigravity-journey-flow.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d53ae5d6008250be543371197332e90c3decab17b54718f265fd81c36e8c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDeviceLogin (cyclomatic 16, cognitive 12): gradeDeviceLogin 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":"tests/runner-e2e/chat-catalog-domains/external-assistant-device.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9a8261671a27982daa07b23755b229d09c0f1ac39ecbd452ef95e2761fe984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadCell (cyclomatic 16, cognitive 12): downloadCell 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":"tests/runner-e2e/manual-private-transfer.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab602bb0f4a439403ab7b02d4c4ea80b79e83127398cdf53be88c39cb0ef7004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 16, cognitive 12): save 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":"ui/src/components/observability/AgentObservabilitySettings.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dce24ecc3feb39e0951cfb39e24d906e632657ca84d76c71bbca50cc3b76fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerActivityPresentation (cyclomatic 16, cognitive 12): providerActivityPresentation 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f76cf6c8eeb17b833e77ac409dc1a401e65422bef7a5b6736c05ce8999d8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qualifyRunnerEnvironment (cyclomatic 16, cognitive 12): qualifyRunnerEnvironment 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":"ui/src/lib/qualify-claude-setup.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8cb0aa83273a3423bf5ee6f7afd8a8ec2c13abcfded3e39e8ad358fcadb418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testAgentSetup (cyclomatic 16, cognitive 12): testAgentSetup 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":"ui/src/lib/test-agent-setup.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf4c495266d505f2071e0d690bd9d0ddb48f8a4b281038369b5d344b3803b8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceMeta (cyclomatic 16, cognitive 12): sourceMeta 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e970f7578eecb25387e8078256adc4cb71edcc8c4b035aa8d1090843efd6df39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceMeta (cyclomatic 16, cognitive 12): sourceMeta 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad26e741262a2187b05618cb65ad111e825d92faea45c7ec9346de60aca49e5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionTester (cyclomatic 16, cognitive 12): ActionTester 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb684debbda85ee3f1d775d6f206477318cc01546f71dd9c85d5942a11de01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHostedIdentity (cyclomatic 16, cognitive 11): validateHostedIdentity 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/paperclip-runner/scripts/controlled-evals/manifest.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6163ce9f0c8af8d9002ba5f2207cd6e50d9da9f9b450e19e20173a50db8959f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectImageGeneration (cyclomatic 16, cognitive 11): selectImageGeneration 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":"server/src/services/ai-connections.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ee8afc7abb77476147d96118755c57595c5195b115a2c7ba62e2e02e4d56ab"}},{"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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff8d592136c9b55d63147d510714787ee50c5e9d24d3de401a8e491dee86234"}},{"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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b558c26d4654602eaadd9f6aeca6c652a68070b1a77c799fe9e67e2e669f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transferSlackFormRetirement (cyclomatic 16, cognitive 11): transferSlackFormRetirement 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":"server/src/services/chat-channels/slack/form-retirement-work.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"961e458cb83e3b6a33139d4bdd86489ba9d7bce2857b620727363e4184a63008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function complete (cyclomatic 16, cognitive 11): complete 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":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c420302dff6d101a59263fa2b3dc6fa22596d4672d7adbdc4acd9bb8864e9db8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markExecutionReconciliation (cyclomatic 16, cognitive 11): markExecutionReconciliation 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":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8078a05d46bd3e571a08ddbd18dce79c07acdb56fe9d57c79c6024a202509a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRunnerCheckpointRemoteBootstrapEvidence (cyclomatic 16, cognitive 11): nativeRunnerCheckpointRemoteBootstrapEvidence 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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7bac6e107af8f05cfc2bc80586e861d221bad1f773d7f18a09a0a6896b3822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectNativeWorkspaceMigration (cyclomatic 16, cognitive 11): inspectNativeWorkspaceMigration 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":"server/src/services/native-runtime/native-workspace-migration.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6fdc57593ee8fb01bdd4ef650da632d35ca776de36d7aed3dcbf663759129a"}},{"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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5969c3c1be5682fed42e135d7e007d76a07a100c1f049883a55b4f0f81dabc4d"}},{"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":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e5c81e69c4b009dd19167356bc8205030a0128e6264df1da600bfe78382970"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRange (cyclomatic 16, cognitive 11): readRange 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d409f46c663068ad3fe08069b77460eff32db319a97dcd15f4a1167ab9372071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSnapshotIdentity (cyclomatic 16, cognitive 11): readSnapshotIdentity 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":"server/src/services/sandbox-snapshot-qualification.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f38dcd3239dd9eba66959745a1ae89ddd008d764b875fc5c054256bfe44a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qualifiedSandboxSnapshotId (cyclomatic 16, cognitive 11): qualifiedSandboxSnapshotId 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":"server/src/services/sandbox-snapshot-qualification.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd800ec6f78a9dfb7c872ead96442127a0e7cf4a98a087a4c787b9a4ed8a7d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hostedTarget (cyclomatic 16, cognitive 11): hostedTarget 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":"tests/restart-chaos/hosted-guard.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eadb94664a03000af6562afe8f6c26cc4b0b033094cdfc7ba678d29fd7c8052"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeTeamConditions (cyclomatic 16, cognitive 11): gradeTeamConditions 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":"tests/runner-e2e/chat-catalog-domains/external-team-conditional.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7dc2472c3f2a3afb6dcd442cf89e5f14e7a5847af23d13db21243aceea0f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateClaudePrivateReceipt (cyclomatic 16, cognitive 11): validateClaudePrivateReceipt 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-private.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b65efe2d503a69ebc2f1680ea77d30102ecf15683f53f199201c5e81707c5c9"}},{"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":"tests/runner-e2e/cost-ledger.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0434b001c7d91600de5846ef85398799156d26fe8c45957b7518109f82a0d58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapMetadataRow (cyclomatic 16, cognitive 11): mapMetadataRow 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":"ui/src/lib/system-notice-comment.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d267b3b664dd356d976c25061d4d433f3a92ba43304e9c410567bad9d463d4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeAntigravityCredential (cyclomatic 16, cognitive 10): sanitizeAntigravityCredential 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"337412e40cd648cdc54d62dc84716f771b5eea50162dfcc8fec6c2d5c33659e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipRunnerSupportsPlatform (cyclomatic 16, cognitive 10): paperclipRunnerSupportsPlatform 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/shared/src/agent-runner.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf8088d715cc1c56cce8c733765d140a07482ca91fd11c2bf9e4f751bfad1db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackCallbackObservationUrl (cyclomatic 16, cognitive 10): slackCallbackObservationUrl 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ae05df93653525703b70ea555be7ca2cb6772dcb8a17f17230b2637d23aced"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackFormConnectorIdentity (cyclomatic 16, cognitive 10): slackFormConnectorIdentity 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":"server/src/services/chat-channels/slack/cloud-consumer.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e2579f5df604492dbefeea0ae13cf484e5ff565bdb58673a4883bedd24199e"}},{"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":"server/src/services/chat-channels/slack/cloud-ingress.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"818893a0d321560491a06b420025c3c579d2bb8394d18b8d3d02718e13f58e35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyCloudConnectorReceipt (cyclomatic 16, cognitive 10): verifyCloudConnectorReceipt 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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc62e9822fa49b8656f8f32312f0671de5066306a8ba6a8eaca03bbd9b05669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composeIdleDeadlineProof (cyclomatic 16, cognitive 10): composeIdleDeadlineProof 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":"server/src/services/idle-deadline-proof.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4340842b84449e24bf1a4ce72c6cda079d27f4d6cce4a196f75dda3cbeb41811"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeCursor (cyclomatic 16, cognitive 10): decodeCursor 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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaafd9419b6021e350ea5f3014dab2264c8306727fdb6becb635b26d6daeb1ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIdentity (cyclomatic 16, cognitive 10): parseIdentity 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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2acae4e1e4fad511b391fc486900518704720f583eff7dc930b50a6d72a43c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPluginLoginCredential (cyclomatic 16, cognitive 10): readPluginLoginCredential 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":"server/src/services/plugin-login-credential.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b885f2994b6f3a7692bcb0b65d4876b82f135471051850874a74b3271df04f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 16, cognitive 10): open 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":"tests/runner-e2e/chat-campaign-coordinator.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03d1fe9745789d143f5d295a9ec5b0e788f67e0762ceda7b237d4395d29da15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeGatewayCreate (cyclomatic 16, cognitive 10): gradeGatewayCreate 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":"tests/runner-e2e/chat-catalog-domains/external-gateways-profiles.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bc3970e89b39e3b44166fe425cdeb9af2212ad4b1d9a42b965583472dfebcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storedArchiveEntries (cyclomatic 16, cognitive 10): storedArchiveEntries 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":"tests/runner-e2e/chat-catalog-domains/privileged-feedback.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"665f1a8b74cca3c2b55de56b465d48b79da10f4709bb45560dd548f31e699130"}},{"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":"tests/runner-e2e/copilot-active-stop-evidence.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdac3496cbf49e717518733c22eb922483ff56c2ba5afd6929f6b678813e570f"}},{"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":"tests/runner-e2e/native-active-stop-evidence.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f70e044c1c9cc19e28b4eb339b1ab3d48a691d83042e8f495aae52616ce0d8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDocumentClick (cyclomatic 16, cognitive 10): handleDocumentClick 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c41d9cc6ad11e51d81ad5bfba721285772e2b381d97b850770a263b0c3771ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDocumentClick (cyclomatic 16, cognitive 10): handleDocumentClick 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f95983237fc3ea4888f11a256c4ac7e03345f7fe8756809836e0acdc7a4eeb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasOnlyPreparationAccountingContext (cyclomatic 16, cognitive 9): hasOnlyPreparationAccountingContext 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9347cbd440fbcfd196d32c1931cd3336a84a85d9575f6ba8560c3e7a7ca2b6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTelegramMediaLocator (cyclomatic 16, cognitive 9): validateTelegramMediaLocator 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd6f8040d4587b5e5cd0e70438b6284eb2fc510b9efbe714e74218929778fe7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPending (cyclomatic 16, cognitive 9): readPending 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ae53a62eacad4b9916fdcb76c4042770667864b304c825547387d2466583b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closedSdkAudit (cyclomatic 16, cognitive 9): closedSdkAudit 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":"tests/runner-e2e/source-sdk-evidence.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a8e62c4efb2917ac22ce911e8215c8276353cac01b00f96fba71d0c912c279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detailContent (cyclomatic 16, cognitive 9): detailContent 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":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea4e81d687d4f7a4e64c6d970b1cba5847b5e1b283fe1ecd3b5b3b60a8fb2f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAttentionQueueKeyAction (cyclomatic 16, cognitive 9): resolveAttentionQueueKeyAction 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":"ui/src/lib/keyboardShortcuts.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee878b94a2adc46e74bd941bbe8b230551874e42fa790dd6cc5fb23436218a4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordRecentTask (cyclomatic 16, cognitive 9): recordRecentTask 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":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc244934e322299f3e9fa3ecb743f4037fc455e37f851975fb51d5ab8bc9b93f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 42): (anonymous) has cyclomatic complexity 15 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":"server/src/services/native-runtime/task-document-body.integration.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2947e7ed00ac6645cb0816ac9921d6bd2c2a6c50e3f5841d617e6eca20da11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkMaps (cyclomatic 15, cognitive 32): checkMaps 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":"scripts/check-maps.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"76871fcd6536cd03de345166bc419dcc8fe8bbb76493774ade38d1b60a835307"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverNativeReplacements (cyclomatic 15, cognitive 32): discoverNativeReplacements 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf02436a47abdf816536dee706c1cd07e7c6dfab355cd71514a68c81473dd7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pull (cyclomatic 15, cognitive 30): pull 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":"tests/runner-e2e/cursor-cloud-replay-fault.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4248ce6adfeacd962adb1425d7835c86debfaf2ad4fe29dad8ce84cd3c95afa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consume (cyclomatic 15, cognitive 29): consume 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":"packages/paperclip-runner/src/live/runnerd-codex-transport-release-resume.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"01087879507ffef2ffa7e6b181b8a1ef232cbab8cae8485081a2adff714b36ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 29): (anonymous) 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":"server/src/services/tool-access/activity/review-queue.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1369c90463aecf1b5061e89c1c9f1993b3b4254e4f5620b3ff8c344b77aeb5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskChatShimmerOwner (cyclomatic 15, cognitive 29): taskChatShimmerOwner 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":"ui/src/components/task-chat/TaskChatShimmer.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab8c25135d8c73495af96e9331b11e664970d7aabfd2d7a385d199fffffb4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCaseContentsFitTask (cyclomatic 15, cognitive 28): assertCaseContentsFitTask 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d866ca2546e42429011de3f90ce87bb73c1cf05c876c4cd6352e6c9cc3af8be5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalExplicitBlockersByRoot (cyclomatic 15, cognitive 28): terminalExplicitBlockersByRoot 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":"server/src/services/issues.ts"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58b2ce804ffbbd0144d05609dcfc50fed1f185214f7efb8231efb18e946dad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitSqlStatements (cyclomatic 15, cognitive 27): splitSqlStatements 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/db/src/check-migration-safety.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d79847609579fa3a571f5c7b4db1c5e9695c9029b9002182879a47d2228f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 27): (anonymous) 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":"tests/runner-e2e/product-journeys/clarification-evidence.test.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dcb7fb133b001758d3791d6632a338a056a1def92364436ef392281cab8609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMergePlan (cyclomatic 15, cognitive 26): renderMergePlan has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5286b7d0b5ed94057a3db8968d7aff0185507a0daaab06d09876bf0baaeac29a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubReviewLineIsInPatch (cyclomatic 15, cognitive 26): githubReviewLineIsInPatch has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-review-policy.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59de965b26696ae7976facc6b2445ecbd42af75e1b185739e4f91d88afb73c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 15, cognitive 26): visit has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64d8d62d044d3be71044b27ce7f19d3217734ff49cfd33b4ec3bf7c9db8f5c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadGitHubTokenRepositories (cyclomatic 15, cognitive 26): loadGitHubTokenRepositories has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/github-access-discovery.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bee8567b968d875121b80cf64ba999d80082160e26a75ff082f6014b0fd8e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeQuestionChoices (cyclomatic 15, cognitive 26): gradeQuestionChoices has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/first-task-scoring.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2045b89aa39776478b5fd0d78ecbcadc813730693288cd89a7d219d9cb06a5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalized (cyclomatic 15, cognitive 26): normalized has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/task-reply-content.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43c500180aed43d9acad7d0cd275fc43a3f5067e14c58cf34ac777eb296afa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 15, cognitive 25): testEnvironment 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/adapters/cursor-cloud/src/server/test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9351b96f1ed75d88657924c01bb80e0e239ac3d9ce7b7f166bf4adcc0ace31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeNativeRuntimeSkills (cyclomatic 15, cognitive 25): materializeNativeRuntimeSkills 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/paperclip-runner/src/drivers/runtime-context-materializer.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"39132ead1ce39c00ea354d617270b1b39dbcf2ee51ddc617014272171db1feb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlBlock (cyclomatic 15, cognitive 25): parseYamlBlock 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/teams-catalog/src/frontmatter.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff0b7ad5f0e627f4cf7558cb1f7174a6a9527a16c42aec87d926280bae2be00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function look (cyclomatic 15, cognitive 25): look 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":"tests/restart-chaos/native-trigger.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39bf1baa8a379ec5f13104ce812daf2176ee1e7580a55dd796d30804e482099"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForStoppedRuns (cyclomatic 15, cognitive 25): waitForStoppedRuns 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":"ui/src/lib/wait-for-stopped-runs.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fd8fc75aeb016f2700c3ceafc63b457bf18a39b099220fbbba9d82fd4c7bd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateInlineEnv (cyclomatic 15, cognitive 24): migrateInlineEnv 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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"35892b4006449cb1ce8b71647966d79532d38e94161243172bb0bf7b2179a136"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSlackBotChannels (cyclomatic 15, cognitive 24): listSlackBotChannels 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":"server/src/services/chat-provider-inventory.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f372ce4f26b1cffa18c4b845c489da4307a7e5fb9e9af401611a68c701fa6ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatQuestionFormValidationResponse (cyclomatic 15, cognitive 24): chatQuestionFormValidationResponse 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":"server/src/services/chat-question-forms.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e9840aa33cbecf3639f84d9052676a2949a6ddba130fd004335a8dcfb7cdfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 15, cognitive 24): execute 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":"server/src/services/connectors/unikraft/client.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"331edc22d04813da55203416e67f18163dc3b96a4f42a5ee5912e282fc2fc9b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 15, cognitive 24): run 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":"server/src/services/heartbeat/dispatch-work.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a37ebf00249204604dcdaeb367ed0d4a128fafbfb5aa9396d43ab09746d444"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 15, cognitive 24): tick 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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8f7c10810acd796ae0569680a2ed5e6e39a0f7fb53972b11ebb2a41a74d794"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pluginAgentRuntimeState (cyclomatic 15, cognitive 24): pluginAgentRuntimeState 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":"server/src/services/plugin-agent-runtime-state.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5251621fdc4adb421cead129d5553784c03925b51da08ce940d18778bd31e16d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 15, cognitive 24): visit 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"183f4298fdca9995c850e09b86dcabead27417d1d33500d915ef7d829be91098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function protectedVersionIds (cyclomatic 15, cognitive 24): protectedVersionIds 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d491cd94f930bc9a33a13299b8408267b944bdf554346997c0313d9528b5723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerBlockerThroughUi (cyclomatic 15, cognitive 24): answerBlockerThroughUi 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":"tests/runner-e2e/blocker-input.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"407eafa621f14dff84c72e4eb95124176887f67796791e033d8d781d9dc680c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 24): main 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":"tests/speko-voice-proof/cli.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec44ea95ebe5d7e5863edfe0dc3d41024b34449aacbf1cf5ddb5b66a26b190e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addStagedFilesToIssue (cyclomatic 15, cognitive 24): addStagedFilesToIssue 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e539503b58c3b617462f560c6e29378ad0af5cc7509c416cdae092da6c20f95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 23): main 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":"scripts/check-token-gates.mjs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecb5a3538514c6db2c7985272b7978365ccbbaf3de0a55bee15ce8ad0d4a646"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 23): main 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":"scripts/codemod-extract-colors.mjs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98bbd061ba31979f71f9f739baac0c1ac14a82a7c9bf50d9271c7c999fd380e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAnnouncementPublish (cyclomatic 15, cognitive 23): prepareAnnouncementPublish 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":"scripts/publish-announcements.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76067b743676eeae0e44c4fd042dcda4e070a1b5739545096c8794f99343fbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHeaderPolicy (cyclomatic 15, cognitive 23): readHeaderPolicy 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":3839}}}],"partialFingerprints":{"codehealthFindingId/v1":"734af52cd0bacfcc431f3a22288b44a7ba44ca1aef87787926c0c7254456bf78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileFullCatalog (cyclomatic 15, cognitive 23): reconcileFullCatalog 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":"tests/runner-e2e/chat-full-catalog-testops-reconcile.mjs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e6aa26a2ce2d2fb5c4071294a7adfd283312ff81d181aff24cc12b0eff55f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sample (cyclomatic 15, cognitive 23): sample 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":"tests/runner-e2e/copilot-local-fixtures.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe24d96213870327d1d9fe4e192ac2bcea5c5525c419c4c0cd8a64bfa5f12c27"}},{"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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7efe8f6bdab6a3a18a1d07a17cdde69569519796044834694e531acece4b3dd"}},{"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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b843d4b79d800f2a22ebf5f9fe15e32328d929c27b59e138d84f7fa6c550ae"}},{"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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127db270799b084478969faca041424d9767878df59e41056626acbbe96bbce"}},{"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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f414064449dabe6073fd4e03b23c872085d9172f262907cdec0b0554bab7f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rustSerdeItems (cyclomatic 15, cognitive 22): rustSerdeItems 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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a4e0728da1e3f558f60014e1c1f5cb27e7b96f94cc501b5a779ac39f27ea1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jsonStringBytes (cyclomatic 15, cognitive 22): jsonStringBytes 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cb7d8e1e84abbc993145a5cbaffbc91c46c8784214004757c2837a6487ca66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 22): (anonymous) 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":"server/src/__tests__/heartbeat-stale-queue-invalidation.test.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"958c8823e72893f3f1ac1cad4fea8e583823f9c0d57dc9d7e8a80975671d4384"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 22): (anonymous) 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":"server/src/services/heartbeat/run-completion.test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec44b003e990b67c8de3ee3968804a2c3024bf0c99d659876edd9a7add880cd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 15, cognitive 22): prepare 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6a6bacf7c48e07cac47c9c7ddfd714e22e14f96b8ed7752ac1d2eff5947133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNoRetainedWorktree (cyclomatic 15, cognitive 22): assertNoRetainedWorktree 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a706b2cdb1c131942a6ed37eaa2279bce61fa54933affb82c0577a7a8b354809"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function regenerateCatalogOverview (cyclomatic 15, cognitive 22): regenerateCatalogOverview 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":"tests/runner-e2e/dashboard-regenerate.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7669e6beb0bf32ad281ab8091d56e391a21be2d4173d4d216e50c68a1e5f9047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 15, cognitive 22): tick 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":"ui/src/lib/browser-tracing/page-load-recorder.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b420963654cf0ddf0b68c5eaccb666f897bc9e8e8f2dde71d0aa94adafcc8498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZipArchive (cyclomatic 15, cognitive 22): readZipArchive 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":"ui/src/lib/zip.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a116a9a1c47ad800b0bd869311eb6bf10ed469475bcde57a868f8dee9d78b7f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 15, cognitive 22): fetch 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":"ui/storybook/stories/companies/decision-models/03-journey.stories.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e8887d4098da452d5427cbfc897af5451734121a10998be1d0a7b19ed22988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shutdown (cyclomatic 15, cognitive 21): shutdown 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a091fac102d9d7f5b3ab649f8051bc5415c7c9a513b4c48884172ac0fb1e41c"}},{"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":"packages/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":3647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ec3640fcb1ba216504423246388352af6dbb7f2c25ff61112e1b750909f945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inventoryRecoveryFiles (cyclomatic 15, cognitive 21): inventoryRecoveryFiles 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":"scripts/lib/recovery-cutover-inventory.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3599ca1c35d71d3b3f3ec43ce86ab64448f1f09b5a4a6f9ec4640617dc74e77d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readUsage (cyclomatic 15, cognitive 21): readUsage 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"51622afad43db33ab8bb5c632fa2ab83efa51fc929420ae67b0fd8b97a612d33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPendingDeliveries (cyclomatic 15, cognitive 21): processPendingDeliveries 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":"server/src/services/chat-channels.ts"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"89278948c773f3900c60a103702614f5e5ab368081e7a707051f79f59526d453"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 15, cognitive 21): request 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":"server/src/services/chat-github-receipt-reactions.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"43606299badfd8f97d973db8c5d31fd50c5003527dd1765a252cb4109d219813"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDecisionProvider (cyclomatic 15, cognitive 21): runDecisionProvider 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":"server/src/services/decision-model-provider.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"03261b5c4c2f3d4cc0537fcbae5bb9d7824a7973883a62eee5b5d1295f2a718a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockPaths (cyclomatic 15, cognitive 21): lockPaths 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":"server/src/services/git-workspace-expiration-locks.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd10e472b353a9fdb2f60c3a4cb44cde7829a4abcbcb9d3b77eed2c4852e62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverQuestionCancellationRequests (cyclomatic 15, cognitive 21): recoverQuestionCancellationRequests 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8b89f40129f839e00169db4ca693a9c294331fe1a7cf23d947dc59978ac086"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 15, cognitive 21): fixture 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":"server/src/services/native-runtime/native-harness-filesystem-independence.integration.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2545d05a3b7b4471a0d64e1675073a9fa83f0ebcd39f1e00b9fa67f97308e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHarness (cyclomatic 15, cognitive 21): prepareHarness 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":19153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ad8f876424294ab4e59a0ad686ad5669aa6f2c1c727f59070bebb4861581d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 15, cognitive 21): refresh 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":"server/src/services/plugin-job-scheduler.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ecaa390888e2d3ace254a4e68077b15c6cc828f45dade59f23812b793229ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 15, cognitive 21): seed 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":"server/src/services/quarantined-task-retry.test.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edbe8b82713933ab4528dc971c8bed2d1bf1dd207b268143d87b04a52bf3ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareNestedWorkspaceImports (cyclomatic 15, cognitive 21): prepareNestedWorkspaceImports 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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f786d98cf9323ebed706a53815680ec9c8c85f0e2248971c09da9aa71911cda1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findExposurePairConflict (cyclomatic 15, cognitive 21): findExposurePairConflict 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":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"9025aa44c2f1e8ce5bcb7bf5413b5e0bb131d71eb15fad14251d6f3df3aa7689"}},{"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":"server/src/services/voice/voice-inbound-service.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6873bdf50c186db3799c951aef5358be32340917a8dc646246d3efa7661ca406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchSafeQuestionValidationPattern (cyclomatic 15, cognitive 21): matchSafeQuestionValidationPattern 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":"ui/src/components/task-chat/question-validation-pattern.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf7451d23e271f76b45c37512c884c29c23b958f04477bdb39342f696bbe114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 15, cognitive 21): fetch 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":"ui/storybook/stories/agents/bulk-settings.stories.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd693ba2006f171d90fbcc699adf1c68c9f71eb2ddf30f3408e9fb84e15ccb16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommandPath (cyclomatic 15, cognitive 20): resolveCommandPath 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72e55dca8c95472a744e1d8905f3f6c0a59c1c81a8585e6c88a3426007fdf8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRun (cyclomatic 15, cognitive 20): startRun 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/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3fbd7a6964aed28eb097257b00c46c0d0e7c4fb33a429ca2d101305d98a410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function credentialForConfig (cyclomatic 15, cognitive 20): credentialForConfig 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a45c965a3ac3a5e480576126c2e22205e3f79320ad9db8dfc6aaa11e2cbc70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reporter (cyclomatic 15, cognitive 20): reporter 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":"scripts/ci-profile/node-reporter.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"631f801226f5871a4dd151702670a1803af7141cb5b5defc638901418054e732"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qcostExecute (cyclomatic 15, cognitive 20): qcostExecute 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":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"34de5b85750717c53c82c7dcdbd2a978e0b285a2c08565e3cab7bd86449a2536"}},{"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":"server/src/__tests__/environment-runtime.test.ts"},"region":{"startLine":4236}}}],"partialFingerprints":{"codehealthFindingId/v1":"586a285a4dc16115eeda7da3f92a05cae14fcd08e37374bdd22ebb16928fef68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCompanyInviteForCompany (cyclomatic 15, cognitive 20): createCompanyInviteForCompany 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":"server/src/routes/access.ts"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929f2d5fa52736bf1115b86b2c45419ef1063bdaf025faaae5b54114e9612b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileScope (cyclomatic 15, cognitive 20): reconcileScope 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":"server/src/services/budgets.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2b759ff0c595bd726b10e650521ea7466e3473bd3427e7350b56b90cd185a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function derivePrimarySkillExportDir (cyclomatic 15, cognitive 20): derivePrimarySkillExportDir 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":"server/src/services/company-portability.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b1212d4dea516bbe6f3b599456080e51680f0ea0dbf4a9c7650513ff7d47e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unfinishedRun (cyclomatic 15, cognitive 20): unfinishedRun 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":"server/src/services/fresh-continuation-fallback.test.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0cef5d901326321971e62915dd276bc55a991d482bcca45de038de6deb05c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePointHistoryDigest (cyclomatic 15, cognitive 20): restorePointHistoryDigest 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eca6b97f41d4382b507fcc281cc628da2485851ad0923a5d9878fa28b9f77af"}},{"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":"server/src/services/native-runtime/muse-native-visibility.test.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd80787b502cfc1b1f2cff51a67e1296eb97046ff49c63580ab03385014051f"}},{"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":"server/src/services/native-runtime/native-skill-library-tools.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a951a4e46e6051605d322eb7608054f63e3972f65764b6fbd4b5d7874942185b"}},{"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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"696099678523739313f94860813d7fe6199f2ffa5f05cceff26143a90d98d79d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 15, cognitive 20): reset 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":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7fba904b0ba7cff2ebb5db33b7c00e4d54e918f14778f985dd18e3cc21cce2"}},{"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":"server/src/services/provider-billing-import.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a8f51279b623ddeeaae8a88eb0f8cfebae485c53d1662fdcd4c9d4a4a82752"}},{"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":"server/src/services/remote-workspace-snapshot-archive.test.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aecf5cafd6a06d1cd6e73f64fed78195de5220ec2ddc443d68d8e66eb10208"}},{"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":"server/src/services/workspace-recovery-warm-handoff.test.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc591eac8524f4c07a225e81f18cac27564158480cee0f3378f76f603f8c9624"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JoinRequestResolver (cyclomatic 15, cognitive 20): JoinRequestResolver 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e59454bef72448632ecd027c98b4abd26a034b6b078060446f17cd8ae7ee32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseFieldValue (cyclomatic 15, cognitive 20): CaseFieldValue 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":"ui/src/components/CaseFieldsPanel.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7b99a157e49ecbcd40402ea54ddd90b6c35a8391b3077451b518fa6c460457"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findMentionMatch (cyclomatic 15, cognitive 20): findMentionMatch 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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab234c4fcffaa4875198e314bab02343e93ca3799fe719a5339a69ffd8bd213"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLaunchToDashboard (cyclomatic 15, cognitive 20): handleLaunchToDashboard 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff81053c86d3202f9df104442570fc1e7c75c20e69257dd7f8f65917e17befa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendLogContent (cyclomatic 15, cognitive 20): appendLogContent 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23158acc3c2098c2c6e662a7c26db3e657d7ab2df775fb09dfc1f7d91ddda84"}},{"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":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d323939132151fc3092956d3e5f03fe785453d286f1b12e4a59d5131b0566efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printLegacyToolEvent (cyclomatic 15, cognitive 19): printLegacyToolEvent 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a89cbebe8b3c5da7581cc47d3a0e7ddce277ef974f40630c984f32471b3e2cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sidecarToolDetail (cyclomatic 15, cognitive 19): sidecarToolDetail 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/paperclip-runner/src/cli/acpx-tool-detail-redaction.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a058d87fe4f25c348dc1f1d112d45cc0d0fd1942745412fdfbe10b6ad900df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitFilesystemRoots (cyclomatic 15, cognitive 19): gitFilesystemRoots 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0803347bdff0f357c20e63cb02e062b0f0e8d219f572e35c243a0db4bb3e513a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupClosure (cyclomatic 15, cognitive 19): setupClosure 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":"scripts/ci/vitest-selection-graph.mjs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"431fab867da67b4d03638f8cc47fa1831bf86a89c468289f79b8c95d62427da3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTaskDrainStatus (cyclomatic 15, cognitive 19): readTaskDrainStatus 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":"server/src/routes/instance-settings.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18395c203c295f0546a9af42a3aa800a92fa1ef43f354ee7b9a7b044ec83f04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectLegacyExternalRegistrations (cyclomatic 15, cognitive 19): inspectLegacyExternalRegistrations 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":"server/src/services/cloud-configuration-evidence.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"507f428c6ea7180ef566d5e32483f56d04dee46e2eba34ed32482b813b18a460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProjectSkillImportPath (cyclomatic 15, cognitive 19): validateProjectSkillImportPath 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":"server/src/services/company-skills.ts"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff028278c1f116844d99e2f797d2edc721d104abb7e2f6a3319e9c4f34d5c25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreIssueStatusesForHold (cyclomatic 15, cognitive 19): restoreIssueStatusesForHold 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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3f75dbf0a0877a93ef3dd727b2331379f43ce879b1e27d09354afb69cc9a8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeAccountingEvent (cyclomatic 15, cognitive 19): observeAccountingEvent 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":11573}}}],"partialFingerprints":{"codehealthFindingId/v1":"8160bec9a24497cc324109814f728276a04775fb5744b1e0c7e2de7f33e64da8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyIssueAttentionRetentionWork (cyclomatic 15, cognitive 19): notifyIssueAttentionRetentionWork 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":"server/src/services/retention-work-notifications.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c26b2bd2d287708f352ba35c53b2ddcd5e4c6eae2f3547589c5abef7482b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillSourceIdleSchedule (cyclomatic 15, cognitive 19): skillSourceIdleSchedule 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":"server/src/services/skill-source-idle-schedule.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9b22bbf42cec83939b1b6864290cce65f18b6c23bfe4898f77d7026fc52c3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preflightConnectionMetadata (cyclomatic 15, cognitive 19): preflightConnectionMetadata 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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dec5f5aabe1f6bcf2d4f44c77e415f8e633cdbfb7341e8f8f92a25a411ef87"}},{"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":"tests/e2e/chat-adapters-ui-messaging.spec.ts"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fd56d6b232c4d880d2cc8dea934300c18e5016f68fac49dfe7206e5f01f84f"}},{"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":"ui/src/components/DecisionResolver.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a9f75b7f7af6abd5a716f52982d585ecc8808be7908c58304b7f55e964c09a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteMarkdownTree (cyclomatic 15, cognitive 19): rewriteMarkdownTree 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":"ui/src/lib/remark-workspace-file-refs.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b2d59896568d5456758c8794dfbe8a644a0ffbdc7a25fab82fed6b9b932a07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 15, cognitive 19): fetch 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":"ui/storybook/stories/tasks/new-task-composer.stories.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"956781fb31d5bf202c2acd9809ce092114c79ebf0f536be1dd8ced8220bacd8a"}},{"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/adapters/codex-local/src/server/execute.ssh-host-auth.test.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d7e7f072158338c7b37ce39ae1ac27eaf7524c0caa207f04f3124416ee7b8e"}},{"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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd31449cca296c0a8d8c72be045b4ac4a579da8acf34f08239f6134a6e865920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLineInternal (cyclomatic 15, cognitive 18): parseLineInternal 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/adapters/grok-local/src/ui/parse-stdout.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6b45b8d11181e96b96bc85daaa5570fbca9545cb23add31275b755c5c6eb79"}},{"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/paperclip-runner/src/live/runnerd-codex-transport-warm-attachment.test.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d44685834f361adc5f4889357cb9a6f4e8add056547da6784b8219476f03d1e"}},{"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":"server/src/routes/agent-permission-grants.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4739cc068eb3974708af1f36b4a8e051cdfe5446a36838c2a0f198a031f6419f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAgentDefaultEnvironmentSelection (cyclomatic 15, cognitive 18): assertAgentDefaultEnvironmentSelection 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":"server/src/routes/agents.ts"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87948d60b0c3ce8f4989c15a15fced93bf1adeb4a0ea1666b8f0a6b48f9cdb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeSvgBuffer (cyclomatic 15, cognitive 18): sanitizeSvgBuffer 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":"server/src/routes/assets.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcafd420a2c41b75cc154a23796929f251bda222203f81e226eb3ba812b108e"}},{"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":"server/src/routes/connection-intents.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"afab2bb197759870699021dde9f80691368e5f96b6d9869afd80f27b424d77ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 15, cognitive 18): start 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"549119cdaff029e6a4520d53b5f9ad08a9d4c4837bce13456c31a96482b909f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listComments (cyclomatic 15, cognitive 18): listComments 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":"server/src/services/issues.ts"},"region":{"startLine":13365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f35075d1382897421b4af5e1af9972123e3824a6118435d28f1b1a0f0233483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireQuarantine (cyclomatic 15, cognitive 18): retireQuarantine 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ba7c2521cace416e5526a689d42f0fc15616ecd51c886a05aefe7c42cd80ce"}},{"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":"server/src/services/native-runtime/native-workspace-finalizer.test.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c3094020ceeca833ac379a8c5d2b20a5cd90d060bb05ea90b0caf89c074a03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePluginLocalFolderPath (cyclomatic 15, cognitive 18): resolvePluginLocalFolderPath 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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48089255d905223c0920f30dd2349cc5abf6e6b5f0f591be3efaf19f0fc8bc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function install (cyclomatic 15, cognitive 18): install 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":"server/src/services/plugin-registry.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac90cae491928f6c03bf1ba82e83ea92c259905a7e8ca13c1999bc7824593388"}},{"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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"190f3e4c634011db15a247345ebda8f845e7505ad790ba2a1d1b4f6691982a40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSeedManifestSummary (cyclomatic 15, cognitive 18): readSeedManifestSummary 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":"server/src/services/workspace-readiness.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac15b79f1b4d2fa6fdae0d12d7d2006c8c84bb84b023cc77fdb2602e930f883"}},{"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":"tests/aggregator-accounts/test-drive.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dfa4e6a1b39a602bb18af4bb2afa5980e2447792e1d20196009ef28fdf64dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validationReason (cyclomatic 15, cognitive 18): validationReason 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":"tests/runner-e2e/api.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab19b3b602511d5dba50fc4d7de51da8d01f0228d565cd507ef1a96bb56ab07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notionSelfWorkspaceMatches (cyclomatic 15, cognitive 18): notionSelfWorkspaceMatches 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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth-contract.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"596e2ef58e365e51fdc7385445545de7dd39b320b82d30d824c59e63631918a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupOwned (cyclomatic 15, cognitive 18): cleanupOwned 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":"tests/runner-e2e/chat-catalog-domains/external-slack-provider.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e78108b846e80c747f9a4bb035332df1ec54fa1f90aa39f955dc1f83e6b8c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishCaseBundle (cyclomatic 15, cognitive 18): publishCaseBundle 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":"tests/runner-e2e/chat-catalog-testops-streaming.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a0eda64eef4a122ade98a16c3205a34d4e2baf552059ae9c8901fdceb02005"}},{"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":"tests/runner-e2e/cursor-cloud-callback-proxy.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d637bcfea5763f147cfbb2b842b1797bc508abb3c4a86022d62de42cae39f014"}},{"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":"tests/runner-e2e/product-journeys/chat-continuity-flow.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b83b0ae7c703d5e3e7d757becd6c2055850b917fe3ff4325c97dcda46255fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 15, cognitive 18): connect 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":"tests/runner-e2e/public-mcp-client.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9ea1aebc53187e309168b894c14531dc22b54097cc9638fbec9f904f1262f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownExternalLink (cyclomatic 15, cognitive 18): MarkdownExternalLink 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d423d84de21396b522f9a7d095e7b5c16e9ea6cbd9fe8cdf92bae1d4a2b302"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queryViewKind (cyclomatic 15, cognitive 18): queryViewKind 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":"ui/src/components/QueryView.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f573527beae928adb38cbd6d5e8d76b35baea48fb4e0e8e9d1005fc13c055968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFilters (cyclomatic 15, cognitive 18): updateFilters 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":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cea70f13af3c92fb9cf455b5d61390b0fd9673b4b375ff587ddf5ee37c6cf12"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":6589}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae2e4fb7728140f1edbaaecf6751da540fa52eb5db245686dd9df9203544a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginPage (cyclomatic 15, cognitive 18): PluginPage 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":"ui/src/pages/PluginPage.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd288eb0d89bcfe79df9c60c119c4ac3a8f8e6cc3d009a4007efd3f98963146a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchTabContent (cyclomatic 15, cognitive 18): SearchTabContent 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":"ui/src/pages/Search.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"5376b99b3e6d7fa290e73d2701b979706788b542d4293baca0664cd49ea5b75b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 15, cognitive 17): request 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":"cli/src/client/http.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"677558cbcc36a1573d4684a61c2297b7594b0379f6a69ffe7daae43bf94bb4df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 17): main 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/db/scripts/create-auth-bootstrap-invite.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1036326faa822c34efde6e4de1be48d805b97db2ef1f83583ecf6b64d415e9f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasSelectiveWhere (cyclomatic 15, cognitive 17): hasSelectiveWhere 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/db/src/check-migration-safety.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"e100ff1239604cf2838b6fb18d44c03a1f8cf0c59286f5203c395ea7442e6e87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoveryPrevalidationFailure (cyclomatic 15, cognitive 17): recoveryPrevalidationFailure 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b420f5237001fe117b2d9b25579f90b7adf043056e4fadef63e791e665a86a5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pumpTurn (cyclomatic 15, cognitive 17): pumpTurn 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e87ce842e104e65f2790ede091db56b643008a09b3c073cb4c5a6335f9ac8ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexExecutableReadOnlyRoots (cyclomatic 15, cognitive 17): codexExecutableReadOnlyRoots 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3f2bf62863b2fc4cf078077996991b638b7e4990ed51d93406955bcf222064"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2df33c6a1dda468c9484bc56ccb71c345c8f979ad1d54e724ebe9b7cb12c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 15, cognitive 17): api 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b33b73c41b9a343db4583bb6ca21c72b9025c14f64a450af572dd083275a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdRecoveredTurnTerminal (cyclomatic 15, cognitive 17): runnerdRecoveredTurnTerminal 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0b334806d5c357bc65809a0fff7f25c81647529b8b4da889dd0209f3a985b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function locate (cyclomatic 15, cognitive 17): locate 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/paperclip-runner/src/live/runnerd-trace-frame-index.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de62872e5bd4b40b43a05b37ff09f857fcdac265dc19743d5518666a2e31c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLoadingAnimation (cyclomatic 15, cognitive 17): addLoadingAnimation 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/shared/src/cliplab/model.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eb55aa903af9904db85cce7b1d94f7d230e2a3df3c82a2e8ffcd29d6f0e4da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 15, cognitive 17): fetch 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":"scripts/cloud-source-verification.test.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"039b185cdae00165dea7a6c757c2147ca08e10998c68e7803c6be3ef6ad9f22c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybePreflightMigrations (cyclomatic 15, cognitive 17): maybePreflightMigrations 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":"scripts/dev-runner.mjs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc87aa9bd16ef1ea8b229efcd244cf3342c9580e7236c97e007e3ac10c550bac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybePreflightMigrations (cyclomatic 15, cognitive 17): maybePreflightMigrations 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":"scripts/dev-runner.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"550f67226e390117a25712e04fd9f688a5f0fee1457e20f5a72a16d7cfdc593c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testEnvironment (cyclomatic 15, cognitive 17): testEnvironment 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":"server/src/adapters/http/test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"28148cf50c52b575f93302467c2a67d8362b3afa3c7493bf34cab6e5f8101d87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSafeRecoveryHandBackGates (cyclomatic 15, cognitive 17): assertSafeRecoveryHandBackGates 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":"server/src/routes/issues.ts"},"region":{"startLine":7527}}}],"partialFingerprints":{"codehealthFindingId/v1":"011cafea5f4f027afc081b6c811d385cd88495bfd264311d50081c1232fe2536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteOrArchive (cyclomatic 15, cognitive 17): deleteOrArchive 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d637c1319cf04739150ab568825f6cfb20181a32596afde23e7bc90529ce493"}},{"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":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"167bbd7ed90ebf18bc5bfc2d4bfaf0c98a7623b20a7fb0ed92434e280d5ed33b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackSelectionMessage (cyclomatic 15, cognitive 17): slackSelectionMessage 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":"server/src/services/chat-channels/slack/cards.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4957ade27f2af7c37f1a235069537e1234e5bf67b8de47ee62995208b87009"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resourceMatches (cyclomatic 15, cognitive 17): resourceMatches 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":"server/src/services/company-skill-policy.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3011624236bdeaf669b8614347c8ce8cca06c93d2315650f5a69279e267df7"}},{"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":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"622c6066567842bb24338574eddaca37d635200102a4adb6ef656a28901c87a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeFreshWorkspaceSeed (cyclomatic 15, cognitive 17): materializeFreshWorkspaceSeed 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":"server/src/services/fresh-workspace-seed.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baf5e22e9a236fb267355011a1d2591baa8b9145b9d13204c365ed756e8ebd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 15, cognitive 17): inspect 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":"server/src/services/historical-cleanup-verification.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea08f2ea57b43cad664db1c59b9a9750b004e32bb4a88360c6927f0f62a3fa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function historicalProviderCredentials (cyclomatic 15, cognitive 17): historicalProviderCredentials 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":"server/src/services/historical-provider-credentials.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec0d1ba33c965d7579ced04b5d49120a1287ede8e094a202eeeaa1cce46609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLocalServicePortOwner (cyclomatic 15, cognitive 17): readLocalServicePortOwner 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7a3010b4512682dc23b2b84d0ceaf47dba640577184b2de2e87687e362da1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadVerifiedProviderPack (cyclomatic 15, cognitive 17): uploadVerifiedProviderPack 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":"server/src/services/native-runtime/provider-pack-upload.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4e840b22cd27b5567b63990c1e9df6f3beea8c2f1ac76a942d9a92df10788e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentQualityReviewTarget (cyclomatic 15, cognitive 17): currentQualityReviewTarget 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":"server/src/services/required-quality-review.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8577d1f760c5418b798fb731febe7274e4b54562b1d36dbcebec6bdf865f3c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addressMatchesEntry (cyclomatic 15, cognitive 17): addressMatchesEntry 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":"server/src/services/setup-token-session.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"effa833e95d85c27fc0f4514e82228ed0e73782e330604d1383c9a5752110607"}},{"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":"server/src/services/skill-sources.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33def7262c72787f5cb27273975727d38c77ed6c2f5ac2a6d7fb665388088d3"}},{"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":"server/src/services/task-retry.test.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e81367b0a05a5a6e64a2b696031319482e8753ef2a379d4d6c981e9e6fbe86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAuthoritativeBaseRef (cyclomatic 15, cognitive 17): resolveAuthoritativeBaseRef 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18fe45780d9fdb5bfccf909a3887bc5afbd456655c6d6765917481b0b840a07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dismissBlockingDialog (cyclomatic 15, cognitive 17): dismissBlockingDialog 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":"tests/restart-chaos/board-ui.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4065fb153f3ca127cd30d5b01b17473aad20c1f6e94e98c852f96a4cf9e64d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeEnvProviderTask (cyclomatic 15, cognitive 17): gradeEnvProviderTask 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":"tests/restart-chaos/env-provider-faults.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eafdd1fd5af9784d201e54c58fee0bb3a3075b6baf1858adc773f01240fa5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sample (cyclomatic 15, cognitive 17): sample 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":"tests/restart-chaos/env-provider-wave.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"410c8c7ead411932f0a806b091ec4b6183c3d35557f3309819e0cd20d0f0c398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeGitFinalization (cyclomatic 15, cognitive 17): gradeGitFinalization 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":"tests/runner-e2e/daytona-git-streaming.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1c6e784065b601d05eddbfd47225dffe19652023657eee7e8d9902323a1dd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 15, cognitive 17): get 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":"tests/runner-e2e/product-journeys/agent-settings-flow.test.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f91fd52109e587b0d42b5cb99605bea24223246a84094602ad25c2b4e7158ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function subjectFromWorkProduct (cyclomatic 15, cognitive 17): subjectFromWorkProduct 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":"ui/src/components/artifacts/v1/adapters.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"079885e0fb725961786879ad511c4b42f5b2b03d386421f8c92971f4b571018d"}},{"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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d062c1705521916c39e43cd192feae171edc722e704a4113fcce4fc5364df952"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteMarkdownTree (cyclomatic 15, cognitive 17): rewriteMarkdownTree 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":"ui/src/lib/case-reference.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc50c34f9b82274411a53cc988de40292b38577bad5963da4b289f53d4a796d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteMarkdownTree (cyclomatic 15, cognitive 17): rewriteMarkdownTree 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":"ui/src/lib/issue-reference.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2fc41e76cda4a41a73c73d81c6d50aaab9bbd4ce524fb1becd386152fc921b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function genericConnectPayload (cyclomatic 15, cognitive 17): genericConnectPayload 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":"ui/src/pages/apps/generic-mcp-connect.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb940bcd50d0b6bf64a86c1db0288438a8910a2b48bb68de8702c2db48ba75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixtureFetch (cyclomatic 15, cognitive 17): fixtureFetch 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":"ui/storybook/support/artifact-upload/fixtures.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08cb94183dc08b2bab95ab1a5ceeca5512a15127d9e937097c272c58fe1138"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCommand (cyclomatic 15, cognitive 16): runCommand 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":"cli/src/commands/run.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0a22c687608cdf808beb33dfa49955d7e08d3f146f80cfbd99296c5a0126f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writePaperclipClaudeSettings (cyclomatic 15, cognitive 16): writePaperclipClaudeSettings 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c88d0a32f7f33be1efa8b6160852efe978f17ee5dd4a23986c72de471406d1"}},{"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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"65612602d1ec4b0331e848241da84ecde0888958b77ce893749925e58d6e277d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGeminiLocalConfig (cyclomatic 15, cognitive 16): buildGeminiLocalConfig 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/adapters/gemini-local/src/ui/build-config.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3aad8d4e4bf8bfb1c17d245b6a07b8418180e81d8518f6fdb561043ea04ee9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOpenCodeLocalConfig (cyclomatic 15, cognitive 16): buildOpenCodeLocalConfig 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/adapters/opencode-local/src/ui/build-config.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf422308b1a6ef6de1d17893f1e915373d555b616d419d5657088c6eb44292ef"}},{"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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.claude-tool-use.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be963e7dd8f3eabcde26dfbfb28182765c2443a15f7247ee1ad3b59dbb69367a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #runTurn (cyclomatic 15, cognitive 16): #runTurn 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/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b7fcb99ec3ffced50e59fa272a549e14df395e49e00f712bffd28de165e54a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeMcpIconSrc (cyclomatic 15, cognitive 16): sanitizeMcpIconSrc 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/shared/src/mcp-apps.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e8916bec31f1172af293463de5f7ce5a1173d9aa42df35bd9e8eaa2de78c67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleJsonRpcRequest (cyclomatic 15, cognitive 16): handleJsonRpcRequest 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":"scripts/mcp-fixtures/servers/stdio-fixture.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"034ca6cbe61729533ee3f938fcb5468118f819e8a2fa1fff2d1c7155a2346a97"}},{"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":"server/src/__tests__/prompt-injection-prevention.test.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0451429108a2be172f07bb8ed8a4e01bba928ecb1ff72bd797062f58fc722b62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopRunnerGoalForOwnershipChange (cyclomatic 15, cognitive 16): stopRunnerGoalForOwnershipChange 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":"server/src/routes/issues.ts"},"region":{"startLine":3765}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5f6a0cad34a171f3dd535872eb40dfa4b8f416c8d76c482894ed06a72c6aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runsForIssue (cyclomatic 15, cognitive 16): runsForIssue 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":"server/src/services/activity.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e7b60b64304a4bdc57d850837457ebb31db1ee9948cf2f23be9d5d9c1ed5d"}},{"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":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"28427d2634353755f8837d609f7b896956fd82615298ef814abd9737a120cd21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeInboundWakePublication (cyclomatic 15, cognitive 16): authorizeInboundWakePublication 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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0269dfa1d734d848957fe9fd23937239af8ef4534ed517aff823efd529e739"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSlackCallback (cyclomatic 15, cognitive 16): inspectSlackCallback 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f97f1b48c0547b308a5e4c2dbd320c256f31387f6559d28b9a4ee386c93b6"}},{"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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eca9e5def40487154a0e8fd9dc8881ee4245c4274bc15a6d48bccb62ece84bd"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d20db745b0b80ca0fdd62d5a0f14c4c8eea948d88729f02f090fa0fffd7864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateActive (cyclomatic 15, cognitive 16): evaluateActive 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":"server/src/services/git-restore-point-ledger.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d01e97a134b195e64441621753a02378a1c86eae118b777b1175db6939dd1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundRunEventValue (cyclomatic 15, cognitive 16): boundRunEventValue 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":"server/src/services/heartbeat/run-log.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e8a058ab17cd64d394f42877c1cdee6035744881ca8cfb7ecfd7d1fe2a937b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminateLocalService (cyclomatic 15, cognitive 16): terminateLocalService 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2e731ec3171c53e1f8d8f15154d752e50f7b83fd95f23d5b288c0e953ab818"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7b6b23a58eec28e1af94ef28c6ada078a6ff5a8cb72469df23009a8dc85dd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHeartbeatRuntimeMode (cyclomatic 15, cognitive 16): resolveHeartbeatRuntimeMode 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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f21218e2c452f24a4a352a1fee09c1362520d34a1856446c10928143cfd0664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSignedToolArgumentsPayload (cyclomatic 15, cognitive 16): readSignedToolArgumentsPayload 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":"server/src/services/tool-content-guards.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b017547981416f29a88e795d91194b1be4d2edd215100ff60406481891ee873"}},{"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":"server/src/services/workspace-recovery-preparation.test.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ff51fed6792954b63d68e9ffce6e613350d103bd39fba14bc0c27d13f8aa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countCopilotEditOriginsForTarget (cyclomatic 15, cognitive 16): countCopilotEditOriginsForTarget 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":"tests/runner-e2e/copilot-protection-evidence.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8dbbe0ef4eb96731f41a115991d26911d0d72b6b58a28638446ef453879404"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectProductRegression (cyclomatic 15, cognitive 16): selectProductRegression 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":"tests/runner-e2e/product-regression-testops.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b75d17c464555461f74eb151ef685230c0e6bf27a3374b96831e1b9bef6e10c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 15, cognitive 16): publish 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":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"98acd8fabf323ee1c0af781c9b97116f53ce93f44edcd5990aadc4628ef99056"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWorkspaceFileRef (cyclomatic 15, cognitive 16): parseWorkspaceFileRef 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":"ui/src/lib/workspace-file-parser.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c7025a59358ccbc38964b0e21a7ab6812c617e01aaebf5741f82075b710279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunsTab (cyclomatic 15, cognitive 16): RunsTab 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"7276abc85b21ce01928bbbf1253f6688c44cc2624e546685620f6809540a70a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunsTab (cyclomatic 15, cognitive 16): RunsTab 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae1ea2d648a7cdb57e4613b8d613622e6cbea54df07212bb66f3787dcc00e68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitWorktreeList (cyclomatic 15, cognitive 15): parseGitWorktreeList 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2cb32c0934ed537b36dab0a598b50b68fbaa807f5ac3f165527d029fd14abb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveQuickstartServerConfig (cyclomatic 15, cognitive 15): resolveQuickstartServerConfig 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":"cli/src/config/server-bind.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b643851301a994b78dc27ea838cc3353823929f52c5620412b714cd057cc5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePaperclipRunnerTransport (cyclomatic 15, cognitive 15): resolvePaperclipRunnerTransport 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/adapter-utils/src/runner-connectivity.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"401721895f57bbcb2f1d01d2844ca87a7e59817518a5eaeec88031040f472797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDirectorySnapshot (cyclomatic 15, cognitive 15): parseDirectorySnapshot 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64aa2dc42b5d0bb25854e202c987214db55c144ebfe41e254bce3ca2aa1876e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageCodexHomeForSync (cyclomatic 15, cognitive 15): stageCodexHomeForSync 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"11efa2af4a115702dc25fa5df1376f3b8cbf0afa0954781833af17cbc672b384"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWakeEnv (cyclomatic 15, cognitive 15): buildWakeEnv 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/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cbb32d67453b26e383788386c681c839211503aa77f3dce60a53c3ced312eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatSqlValue (cyclomatic 15, cognitive 15): formatSqlValue 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/db/src/backup-lib.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe34bdda368528922734ec6c3d2c59999d1e649170e1fa9012012fe09688f0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityDistributionClosure (cyclomatic 15, cognitive 15): antigravityDistributionClosure 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/paperclip-runner/scripts/materialize-antigravity-distribution.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2254de514e11b205ee6366ea3a9d309b65746aa466543e80a3597bd122a0a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNativeRuntimeContext (cyclomatic 15, cognitive 15): parseNativeRuntimeContext 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/paperclip-runner/src/contracts/runtime-context.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c6699ba8ee715bc055afa0af6af7b81cb9ba63d15ac357408b8052497ffca9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resume (cyclomatic 15, cognitive 15): resume 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f89d84b1f23fc141b89567d8c7b509e022bd2a42fd8cd12c6a8d99b325bf5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operation (cyclomatic 15, cognitive 15): operation 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7940125b472cbf2b31bd9d915061430355769691744c1a82e19502b243c8c7a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForSandboxReady (cyclomatic 15, cognitive 15): waitForSandboxReady 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/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa70864506e3251d76b34460e976f60a4bf090a32d225c6d929646aaf19d726"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedFindingForLeaf (cyclomatic 15, cognitive 15): blockedFindingForLeaf 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":"server/src/__tests__/helpers/issue-graph-liveness-reference.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93548df4d7e93ec9c92781d7570298e7a9db33fbfc4e2f82a9bb82d90083888"}},{"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":"server/src/__tests__/helpers/slack-cloud/enabled-quiet-host.mjs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea0e5189384584dd84cd7ec64987c4b2454a6742ee52d642bc2942d7f32b482"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveActiveIssueRun (cyclomatic 15, cognitive 15): resolveActiveIssueRun 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":"server/src/routes/issues.ts"},"region":{"startLine":7648}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd459d554aec0e666b1c8ee6b72618e527fa76392c2b041ede8497faafeaaf"}},{"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":"server/src/services/browser-use-viewport.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"03015619ab64633d8ca6aba9184aae23db8a36671735a3ed80d92d0547fdb41b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listActivityPage (cyclomatic 15, cognitive 15): listActivityPage 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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86ecb259ba445064516d6386e306ad248efcfcb1c324c32c3d6b7ea35977ebc"}},{"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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c347ea1374b82af97cfe955bfba5b315c39dd334ee38b8ccafe26a5474fd4e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 15, cognitive 15): decide 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":"server/src/services/decision-models.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f7c5c083374b7f3b4bed4250720bd6c9e1fa8f5899ef5b29307076d80d894a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureTraced (cyclomatic 15, cognitive 15): measureTraced 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":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef7a75e4a027a83b8aca95194435831799762dab6a535a17ade4b06acb43521"}},{"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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f01dee95ae1c6f1a2d157db0a6f793aa83ed846c2ad28707ff77694d69975"}},{"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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aaac8f4a144c1b86da94f9a095381d4038f483a049c434b0d4ae5acc8a8854"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":9246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5368775305a29720ddeaf56c2a8fcbec7f908c52b29b5bf42af4b72939b86391"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdAuthorityLifecycle (cyclomatic 15, cognitive 15): runnerdAuthorityLifecycle 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a713cee29c1f99adaf8b33815f62f4bb7f081a27b3dac46cde3a11b35080f9f"}},{"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":"server/src/services/native-runtime/native-workspace-reconstruction.test.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b23da0d1cfd961d74011a1824145216d92028fb7c2a911bc58105a33ddd71c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #resolveReview (cyclomatic 15, cognitive 15): #resolveReview 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4fd198e04adf8adcedab324ac1c5a937c6cc98df9f7d93d7ce5ccdae11dd51"}},{"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":"server/src/services/native-runtime/remote-pi-companion.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"975d02e5b301b7200b11c1ed03517f04db3ddb688cb7d3a35d77529baf115263"}},{"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":"server/src/services/projects.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cfd8edbe4ba111842c996ffe8cd6cb242f6c5ef238f87869c0cc05aab8c5d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedFindingForLeaf (cyclomatic 15, cognitive 15): blockedFindingForLeaf 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c052abe00eadd92b5b70ddce32de4b94753b29fd6afa5d3f541f01b201193b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockArchivedGitMigrationSources (cyclomatic 15, cognitive 15): lockArchivedGitMigrationSources 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":"server/src/services/remote-workspace-migration-git.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3674db5472242a95dc067b74ac62388b233c465a4e25050054cb8b3458f45b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifySelectedSnapshot (cyclomatic 15, cognitive 15): verifySelectedSnapshot 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":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1940205b48976df9df021614f5603f4ebfc88659841ad3884ff15cba934f0919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateUserSecretDefinition (cyclomatic 15, cognitive 15): updateUserSecretDefinition 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":"server/src/services/secrets.ts"},"region":{"startLine":3997}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab5440410260984103e3b85b676b3b2a9cf2f52091d70f64e32cca15a011484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureReusableWatchdogIssue (cyclomatic 15, cognitive 15): ensureReusableWatchdogIssue 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42171f2f410ccdeedd46bb13bc83299759b98fc1955b7b25fef0fea801ed806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 15, cognitive 15): classify 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":"tests/restart-chaos/provider-shim/codex-shim.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6494d210dbcca9d4fc55efc63de44c4d029186a7e9054fc61ca72733c807c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 15, cognitive 15): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-infrastructure-retry.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"65341941dbb55efb1b75c04515def82094c9129833e9320e5884f60f246fdaee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function needsYouMentionedArtifact (cyclomatic 15, cognitive 15): needsYouMentionedArtifact 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":"ui/src/components/coordinator/CoordinatorReviewPanel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466d84a9cd4bea84013c141b3aebfc28f73f88789ac952b58156256c8f55ef9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesignSandboxTaskThread (cyclomatic 15, cognitive 15): DesignSandboxTaskThread 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":"ui/src/components/design-sandbox/DesignSandboxTaskThread.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b077611bb08a5e4a04875be8b7f8bce86f636f161484d1fe0b473b619828d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hookPresentation (cyclomatic 15, cognitive 15): hookPresentation 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":"ui/src/components/task-chat/governance-presentation.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"449f7cdc8df3a8b90c0d5590bfd6c6b5ea8c9687d179ae645f309a0762b5f254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeProviderActivityItem (cyclomatic 15, cognitive 15): mergeProviderActivityItem 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ae029cfbf72f70529daeef519556dfc52346d975477eabbaaa02da4f9c8369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSearchFiltersFromParams (cyclomatic 15, cognitive 15): readSearchFiltersFromParams 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":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"5031e123c149eeb9c07e5c181489f4cc71f09001fc3370126c16561643eb0685"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleOnboardService (cyclomatic 15, cognitive 14): handleOnboardService 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":"cli/src/onboard-service.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"de81565eba10b5bb0722e002dee9bba351b0e403954e18e3c45e9fd2dea5f545"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyError (cyclomatic 15, cognitive 14): classifyError 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ad22a147f9f31c22b3cd46bc1e69d1f12fbe13ffe8314e098d20a378f1a355"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAttempt (cyclomatic 15, cognitive 14): runAttempt 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d792c8243b8203943bf3ff19138286ceada3544ad8f5f396dd75d42313bfea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAuth (cyclomatic 15, cognitive 14): parseAuth 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/adapters/codex-local/src/server/codex-auth-merge-decision.cjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84bdad79c9020a5f2c4b572e057f35c4afab68e459107198b6f386c73cf30b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileManagedCodexHome (cyclomatic 15, cognitive 14): reconcileManagedCodexHome 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a6c82bb2f993ecc7a8205614dddd8a865eb70ab31025ee553e7c038523d2bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseToolUse (cyclomatic 15, cognitive 14): parseToolUse 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/adapters/opencode-local/src/ui/parse-stdout.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3ea9e733f4e5a3cdc0fc9ab32941b6e99dd593661ddb5277c4ed595ea71adb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #welcome (cyclomatic 15, cognitive 14): #welcome 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4077}}}],"partialFingerprints":{"codehealthFindingId/v1":"056d8b4d65c65140f6e08510fbb900a783c3ac893d7f26bbc0fe2e641be76c28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeAcpxEditTarget (cyclomatic 15, cognitive 14): safeAcpxEditTarget 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/paperclip-runner/src/drivers/acpx/acp-edit-context.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8ccd954b0e718db1dc0b1105c01c81ad2b4bcdb57cb155c53fc6a6b1efc865"}},{"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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.test.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d8bdd145c49dea18ade17f6d62278643752902be99e9aca1e72fe4d701f8fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAcpxSidecarRequest (cyclomatic 15, cognitive 14): parseAcpxSidecarRequest 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/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"879975567a099e15902a7489464b16cf0e77e4b60741a399feb444e1e78772e1"}},{"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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8513}}}],"partialFingerprints":{"codehealthFindingId/v1":"2195a48f5f018d384c441fd0ced008005b1fa8cbeacbc6b76c63269d4cd3e859"}},{"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/paperclip-runner/src/native-session-runtime.test.ts"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eafcba79c603207b64eb9964fef5930a7eeb253e251ebb997b768dbee4e084c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePaperclipEventIngestion (cyclomatic 15, cognitive 14): handlePaperclipEventIngestion 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a3f238f19245e20180ee8de04eeca9b394420dabdc488256d81b3fbcb09bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentResumeLease (cyclomatic 15, cognitive 14): onEnvironmentResumeLease 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/plugins/sandbox-providers/createos/src/plugin.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db83320b703a6bbc596041a4657b732c18a881d4dfa19691812fa130a59ba53"}},{"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":"server/src/__tests__/agent-live-run-routes.test.ts"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e8270f1e7eb67ffa2d7983d424dc9e2c77b33c91457365b25a75044242e00c"}},{"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":"server/src/modules/run-dispatch/adapters/postgres.test.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ee215f893207242628500ecb650824d926324982e22fac38997c7dac84dfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeOpenClawGatewayDefaultsForLog (cyclomatic 15, cognitive 14): summarizeOpenClawGatewayDefaultsForLog 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":"server/src/routes/access.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"de172e730bda939835dc3dff4926e55957204ddca715b1c4c5048dcb47953b8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function profileInput (cyclomatic 15, cognitive 14): profileInput 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":"server/src/routes/managed-agent-profiles.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daa5a80b57eff0b6db22e84d6f5a73b78f1cf0a0f647cf90323d6287363514c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverAwsProviderConfigCandidates (cyclomatic 15, cognitive 14): discoverAwsProviderConfigCandidates 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2521797b82db77f124434ea2a1d6a749c6b767c5ad814930ac3d3375c4b2194c"}},{"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":"server/src/services/agent-profile-avatar.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"313d1a8a365e8d8fe7d4df3180084073d0fa153406126eb516800d3a053728f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bundleResourceStates (cyclomatic 15, cognitive 14): bundleResourceStates 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"728eba960e3de2e09c9b9879fa71e40208ef7ab1db790f2043d640257c76ef8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validDraft (cyclomatic 15, cognitive 14): validDraft 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":"server/src/services/chat-discord-question-forms.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"488af50444f3a3e91168547aee8f5abe177a1dff517b4751cfb80b3a6c94b019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeIdentityLocked (cyclomatic 15, cognitive 14): completeIdentityLocked 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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4050abd7fee68eb4343f5d66a67c7ebc01e3bd346de1ab8ae1216e736d54678c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toCompanySkillTestRun (cyclomatic 15, cognitive 14): toCompanySkillTestRun 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":"server/src/services/company-skills.ts"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"977a3db511acb29521eae1860e7fbff13dae158163b55589235937cbc165c276"}},{"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":"server/src/services/documents.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d156c10eb2cf603112f63139916212018ad9beee2d1c8db82b477a59d3a32"}},{"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":"server/src/services/execution-blocker-read.test.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7694b526edc7e2570cb4de8ed3b823b3dfad8914a48244fd43ce02872a810e36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIssueExecutionWorkspaceSettings (cyclomatic 15, cognitive 14): parseIssueExecutionWorkspaceSettings 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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cdae96df6529f0ee3c3cbc44aa6a0fd2f7b5662cb525bd2e9f48f4e6224562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toExecutionWorkspace (cyclomatic 15, cognitive 14): toExecutionWorkspace 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ba7d12e2aa35f70322412ba16b6a5c7f0ed24ae1aa946e08ffaa4ae6c2dcc3"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":2848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b381a7d67e27e3c1a38ab72aaf6ce6386ce1afce7964d3d46f75db138dfa4e5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueSnapshot (cyclomatic 15, cognitive 14): issueSnapshot 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8751c38555b821eb0d26533b8d04a20d82c8d21e3da917f2b2800c35c1bde1"}},{"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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b026374e79569a7e5ae05406750000a4feccaf1858a9b30966355df7fc6814c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findAdoptableLocalService (cyclomatic 15, cognitive 14): findAdoptableLocalService 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be8d4b2068e8aa99b70d4734f4027507cca844c0b51882dd4afa8f750e1ce4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveKimiCandidateAdmission (cyclomatic 15, cognitive 14): resolveKimiCandidateAdmission 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":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3365ac7bc7904f1cf9f95f9e4aaa9174bdb0c456045127dd2405077758b4503f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptedNativeAdapterResult (cyclomatic 15, cognitive 14): acceptedNativeAdapterResult 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":"server/src/services/native-runtime/native-accepted-result-settlement.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"59920804551c1e242972d774d7588674d14b57f982ea0fd3276356315c5f59aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capture (cyclomatic 15, cognitive 14): capture 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":"server/src/services/native-runtime/native-provider-artifact-files.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce6c03296980598f6f5b71f39d5aba70d91e677a5377b4a77926d163545cae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferRemoteRetry (cyclomatic 15, cognitive 14): deferRemoteRetry 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5234cef4521c9b78f8027a4759e42219292808f3d44f3562dfa7f91c0f5ecd67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRemoteRunnerRecoveryDiagnostic (cyclomatic 15, cognitive 14): readRemoteRunnerRecoveryDiagnostic 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":"server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dc98b0be74ee8ad0012db73b1b24c82a826257c103169b1cdbad6a730c8e6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function idleMcpWorkQuery (cyclomatic 15, cognitive 14): idleMcpWorkQuery 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":"server/src/services/public-mcp/idle-work-query.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5abdbbaa3af934c0dffca3830467f3da4b2f906fe110aaad2af1540553802c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 15, cognitive 14): record 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":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ed47a0f417a0cba7e5f91ba31f1c087efcab5eab2d7b4f834a356881912d69"}},{"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":"server/src/services/remote-workspace-original-bare-source.integration.test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"748bd22778fb19af801c45cc7e6be54b4b267efeadf38c237eee112b68690db7"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac4c53cb62741cf0ba11389263ef18903a681f439bd90d87abafd1e3cd58cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storedGoal (cyclomatic 15, cognitive 14): storedGoal 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":"server/src/services/runner-goals.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a4df9970423a3000ea9d9d02d385ead75a8f286f65eb477915da104ccad0fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordAccessEvent (cyclomatic 15, cognitive 14): recordAccessEvent 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":"server/src/services/secrets.ts"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"18199b170ea592189f58d4364f54ca9cec9f118da62e08610c6ab8c6202fad65"}},{"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":"server/src/services/stalled-review-decisions.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85283e01790aadbc90b1ce2563cef3c043f188542b8412da9a226f5fd5f0b15e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectorMatches (cyclomatic 15, cognitive 14): selectorMatches 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"52072a6e6999e80300026e9d5f3a795d2e7c3d94ef0936183db300a0c53cb9e2"}},{"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":"server/src/services/tool-access.ts"},"region":{"startLine":4614}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7f7ca6387541697c0d8e6f909e206b58fed87f9a69f373fcd118637c318f32"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":8777}}}],"partialFingerprints":{"codehealthFindingId/v1":"77876946878d281587ada5b974f1a6982066dc915a04d81913dd69ecdbe4bab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toWorkspaceOperation (cyclomatic 15, cognitive 14): toWorkspaceOperation 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf6283f351e147371cff2bf6a77b4f9aa783b2bc2a5b2f2e4b7e93e9bc5e5c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quarantineRetainedRoot (cyclomatic 15, cognitive 14): quarantineRetainedRoot 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba80d225d65517fc5485547c3675dda88c2d1948397711546d50f589a3dc48d8"}},{"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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c549ea761b54da9def0c4cf0a2f013df7cab842e5723a7ff4afc5c4fec3072b"}},{"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":"server/src/services/workspace-recovery-warm-handoff.test.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e191fda53949932e25ab7580b61f1e2a85f7a52e3e91fbeed8f2c3370704acbe"}},{"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":"tests/e2e/execution-recovery/recovery.spec.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c0f64c0872881378d4a6a07aae99db361ef48d0f753bc93f3edf1888b6f38b"}},{"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":"tests/restart-chaos/journey-matrix.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8a8b1ba8e20c1d7e75a1dd0731a84e5c9e5d5079ebfedd197722bf3ce4609d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTeamRuntimeCatalog (cyclomatic 15, cognitive 14): normalizeTeamRuntimeCatalog 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":"tests/runner-e2e/chat-catalog-domains/external-team-runtime-fixture.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cd8aeaa2f215325b9ab9ebc46443599dbcf242d0dec64e64d6e3d09025d1a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 15, cognitive 14): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-validation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d5e9a30458c27ceac70df5d2c173f5e9c52b99db3012c809f2bb28866d423b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function faultNotification (cyclomatic 15, cognitive 14): faultNotification 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-fault.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e904bf3b0888b7c00236721aa37d15908ef61fb0aa369e8360be7cc535b55d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actualUncertainEmailReads (cyclomatic 15, cognitive 14): actualUncertainEmailReads 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":"tests/runner-e2e/chat-catalog-domains/runtime-email.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce349dd3f3747adb1cbc96674127e9cc49c2c457d409e6d455f4dcba782b94a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runChatCompletionUpdate (cyclomatic 15, cognitive 14): runChatCompletionUpdate 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":"tests/runner-e2e/completion-update-flow.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf7c04e0d2cc41ae9e802e3308993562147fabfceeb2e2778896b45afe756d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setup (cyclomatic 15, cognitive 14): setup 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":"tests/runner-e2e/live-fixtures.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e81f9fa37e71018ccab8f6fea2ad221c0bcbc438d707baca9e1b09c0544490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runClarificationJourney (cyclomatic 15, cognitive 14): runClarificationJourney 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":"tests/runner-e2e/product-journeys/clarification-flow.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b769bdc4f92eac84928589bebd6733a35fbe1bd1761e4241b280e879513f1edf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function state (cyclomatic 15, cognitive 14): state 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":"tests/runner-e2e/product-journeys/onboarding-first-task.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07afaa4c716b435cc45a5e0d46fc9d2bf459114251e90c6af2f7c97810240dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskEditLifecycle (cyclomatic 15, cognitive 14): taskEditLifecycle 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":"tests/runner-e2e/product-journeys/task-lifecycle.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b31534e72681efe5d7c6a67f4254309883fccd079244217de60c7c9eefd944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateProviderCost (cyclomatic 15, cognitive 14): estimateProviderCost 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":"tests/runner-e2e/provider-usage.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5467e6f74610a1075415ec780ba7a474191088bc7e90cfaff244a66bfcdd3451"}},{"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":"tests/runner-e2e/registered-artifact.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9571bf9d90c36351366cdece2b8ab9ac616c2d6bf053ba59b62d9e78b99029"}},{"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":"tests/runner-e2e/remote-workspace-storage.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2cee57720a496ee35d29756f8ed23b8b24026b1079b9731e24fa5dacc7f924"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boardRoutes (cyclomatic 15, cognitive 14): boardRoutes 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":"ui/src/App.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c88beb3d2e0891901120829dd632347c3e737c10a6e465cfe72e1f99102195c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toQuery (cyclomatic 15, cognitive 14): toQuery 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":"ui/src/api/cases.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"04891e5ede0b4a57c3dab917469a6542ac779f15cf46707f4f053e748e2440dd"}},{"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":"ui/src/components/AgentSecretAccessEditor.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"290da90394601ab63495ac7c7ceae60e58fcfc9303761f55e586255eba808bf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AllowedProjectsEditor (cyclomatic 15, cognitive 14): AllowedProjectsEditor 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":"ui/src/components/AllowedProjectsEditor.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee32d909b0d29456c6503274e0e5673e85135eab143739b00beb8b156f27f42a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReportsToPicker (cyclomatic 15, cognitive 14): ReportsToPicker 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":"ui/src/components/ReportsToPicker.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1722e12e5398366a6f725e942d25594546c6ad0dd8f063e8b7a215395e27df18"}},{"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":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9af094b5c140d246a47bf8e95e1feec13860f2f1c85cc901ef3879411af8ae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Sidebar (cyclomatic 15, cognitive 14): Sidebar 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":"ui/src/components/Sidebar.production.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881534c91cecac9121df4211eac742d49524b3ae1f6486d9270b9bc3581e2fe"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a1bbf25bc642e63dbe9f020bc46e4af7e84d00fec425a06e774d407061cd47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentBulkRoster (cyclomatic 15, cognitive 14): AgentBulkRoster 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":"ui/src/components/agents/AgentBulkRoster.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a09dd1320cae7b4f200ce4536b0334719a61bde5cb0bab9785d4c6b8217f59a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TriggersSection (cyclomatic 15, cognitive 14): TriggersSection 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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3376dbdc234132b58b0b761d2eab6330f2a633d4f1cfe69b271aaa235040d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMembershipChange (cyclomatic 15, cognitive 14): applyMembershipChange 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":"ui/src/hooks/useResourceMemberships.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1083f64f29c14474da2bff8f60807844d94f626dc51882ce52149d1b77061af3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDocumentAnnotationHash (cyclomatic 15, cognitive 14): parseDocumentAnnotationHash 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":"ui/src/lib/document-annotation-hash.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"291e56d0a3e3dc4bf072836ecb92b6f9a497e9943ac8636a9a002959fabc0927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssuePropertiesPanelKey (cyclomatic 15, cognitive 14): buildIssuePropertiesPanelKey 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":"ui/src/lib/issue-properties-panel-key.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ac32bc41a5b535d4203e4e1f69834c77772f17bd6509d4e60fa9614dba55ff"}},{"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":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d3992d6d5039513f3c917179904105caac18c4626a589850d0ddf89bbdaaa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalInboxRow (cyclomatic 15, cognitive 14): ApprovalInboxRow 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"4716a4f2f74be579181d94d6aa7c1db19c2f0b24d8b18afbbbc74abe5a3d6f6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalInboxRow (cyclomatic 15, cognitive 14): ApprovalInboxRow 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b4f01f4618aad68c7ed095395294b5e4e49538f3cc7491bd06f98785eefce1"}},{"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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47034520c6d0b1a0b7bc1f552df6f14c335862483df5217f8231af2ca190e87"}},{"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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34b07a46627cb7d2ab45047bc103ec7afee71e0bdbbf31e03b01a98690720bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwsProviderVaultDiscoveryError (cyclomatic 15, cognitive 14): AwsProviderVaultDiscoveryError 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc46ceb4cbe7db47d6e4bc18d84e25b46506dc117fc8582f50ae60ec2ce3e305"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QueuedComposer (cyclomatic 15, cognitive 14): QueuedComposer 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":"ui/storybook/stories/steering/composer-queued-messages.stories.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c6302218c4903831c887e0098f2ac69e14966fff5672634c211ef813e88de0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClaudeResetClockTime (cyclomatic 15, cognitive 13): parseClaudeResetClockTime 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bfde5b3b4be25e3b2673a85f198e2123d22d25d6426bf20c00f73081c87e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 15, cognitive 13): deserialize 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/adapters/codex-local/src/server/index.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a7a9496ca9d351921de41fe04fe332fa439868404a567f759df619aaf10b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCursorAuthInfo (cyclomatic 15, cognitive 13): readCursorAuthInfo 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/adapters/cursor-local/src/server/test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2071bc08002e45761b6feb5cb87f1c06bebc292a13230d0954293a42372d7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolsBrowser (cyclomatic 15, cognitive 13): ToolsBrowser 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/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57d1891cab9c5e162eeb97757bd1a27f0802b19fd0ae17a31ba17b0fcfb161f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 15, cognitive 13): flush 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/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b189eb820186f5d18534ede3730527799d9b060f2182a2d25f290cbb58333bbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #settledOnlyCarriedSuspend (cyclomatic 15, cognitive 13): #settledOnlyCarriedSuspend 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf1e160c36eae97b3a89b08d0f4ba283c880c103658af2723d60d0eb5ce4076"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCatalogTeam (cyclomatic 15, cognitive 13): buildCatalogTeam 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/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e6d4f37f6a8dd3702675d55150bdb368aa288c872d2f8043dc5db2822b84fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JSXOpeningElement (cyclomatic 15, cognitive 13): JSXOpeningElement 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":"scripts/storybook-button-usage.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"628afad3d26c06a3007395dc48fcda3cbcf1d4bf5aa415f888fc0ea51f8b83d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilities (cyclomatic 15, cognitive 13): capabilities 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f51cd1558ecafdc813acacc5dfec27c260e45449753a0945a6b46adf7078303"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proxyPluginApiWebSocket (cyclomatic 15, cognitive 13): proxyPluginApiWebSocket 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":"server/src/realtime/plugin-api-ws.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c3e13affe7a70233075dee13244b5e376c87461cbf61842bee0885caaf6e47"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":21262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b783957e091648ada4bb2229a67a792d4febe9a4009c616604213df88aacb5eb"}},{"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":"server/src/routes/sidebar-badges.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f80d523acd3e1a87378baeb14850e52eaa4378150ba637b265cd26637a8de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainSlackFormOpeningProof (cyclomatic 15, cognitive 13): retainSlackFormOpeningProof 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":"server/src/services/chat-channels/slack/form-opening-proof.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e71f35daab0337ef30b5b832ae2024a7bb7b96cb9de0c9dbf86a8feae83c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramLifecycleActor (cyclomatic 15, cognitive 13): telegramLifecycleActor 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":"server/src/services/chat-channels/telegram/messages.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a6211807070f672f5cf6573d4042419dfa862840f30e4bd11ad183091156c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function itemVerdictsHistoryLabel (cyclomatic 15, cognitive 13): itemVerdictsHistoryLabel 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":"server/src/services/decision-history.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b442b563c8ac0b4f7aa47596e9c2b22bbc9ff1e38031c0fd4fde66940e11ade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usesServerRestartLane (cyclomatic 15, cognitive 13): usesServerRestartLane 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5888ca84abbed5724ceb914faa9339e90a89fe8285feb86587f86d2024cdade3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleIssueReviewPathDisposition (cyclomatic 15, cognitive 13): handleIssueReviewPathDisposition 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6105834d9f8ca57acfdff87f8ab8af40962d0133a7db8372773b781d8399969c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunLivenessInput (cyclomatic 15, cognitive 13): buildRunLivenessInput 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"916a3a3489990e828601072d8cd91eea69d1a5f661a30b888d9cebb7143506d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMergeConfirmationPullRequestReferences (cyclomatic 15, cognitive 13): getMergeConfirmationPullRequestReferences 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5362ffd57d413ed0cac74d0c9254f88e84e716e487b229bd0a78428b176233c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proveNativeLocalRunnerStopped (cyclomatic 15, cognitive 13): proveNativeLocalRunnerStopped 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ff9c958bd936904099d55dda646bae4170dbf21678d6b28828136acf7b381c"}},{"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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"679bf47621feffe1820fa79082393b5f17e4c7c7036881ea840ebca5156daec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishPendingRemoval (cyclomatic 15, cognitive 13): finishPendingRemoval 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05e686bc652affa37f0de69736a4b8324ffeec8e0b0fa0668a11607ac0be8c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyAutomaticRunOutcome (cyclomatic 15, cognitive 13): classifyAutomaticRunOutcome 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1048327e29f7f09aec58b7f11a495353e1f032638b58d952954b75e574a1cee3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyBlockerStallWake (cyclomatic 15, cognitive 13): verifyBlockerStallWake 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":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9256406d4bef7aee18dc27de69340013b27845460b467160889d41556f9556d9"}},{"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":"server/src/services/sentry-run-links.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"81253393372941624e8c6895c8ea703030c7dd8478a249cc7827931e2b529cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBaselineEnvironment (cyclomatic 15, cognitive 13): parseBaselineEnvironment 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":"tests/restart-chaos/ttft-baseline-stats.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"271391699395666add73b5f2eadcbf4ac79dcc383bffb902c470d4088ce7241b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedResult (cyclomatic 15, cognitive 13): normalizedResult 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":"tests/runner-acceptance/report.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73dc31db93dd745019e0b1f4c95325430386dc01d11315306746c3c4a726a85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAntigravityJourneyConfig (cyclomatic 15, cognitive 13): parseAntigravityJourneyConfig 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":"tests/runner-e2e/antigravity-journey-config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2303307462328275bf70661763e7cb21b7ddf8a12ced079b263899b8f9c7195f"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-menu.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b374a4cf319e1cd3e530ee88f2d4337e3232f93c2bfdb8b7c1ba0713414a7ab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 15, cognitive 13): act 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":"tests/runner-e2e/chat-catalog-domains/external-slack-identity.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6d25aefd1115bc72e7c45fceae0a509af7e28d2eba9e127c49d7256aff41dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrappedEmit (cyclomatic 15, cognitive 13): wrappedEmit 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-fault.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"55df387d7f985b4696071648d745b5ba8e4d039df13ceabc019221387ce626ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evalOtlpRejected (cyclomatic 15, cognitive 13): evalOtlpRejected 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":"tests/runner-e2e/eval-otlp-payload.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f55a955a05adb919bc266f4edf5883eb641dac9703644925521442fd67b826"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentCapsule (cyclomatic 15, cognitive 13): AgentCapsule 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":"ui/src/components/AgentCapsule.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6214f8ed74a2baa2e13e6b9fbe6af4e398d277ea26919e0575626974b4c35e"}},{"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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a127efd20c2f8f5dc1036548ac1d844c3f3b1035e7811ffebee49c765b3e414"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NeedsYouAudience (cyclomatic 15, cognitive 13): NeedsYouAudience 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":"ui/src/components/coordinator/NeedsYouCardParts.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0684828dbc667960f58f06bea2ebc3033d49671c54990c9c05015a35f8b24d54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MoveToFolderDialog (cyclomatic 15, cognitive 13): MoveToFolderDialog 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc9e5000505f2f340e428960cc5bfcc101fef224e0b907c58b11ee3ff7bb61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OverviewSection (cyclomatic 15, cognitive 13): OverviewSection 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":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd08b55d16764a986e02cf045f4d7ba98aabdd93b38426306a56ab1bab4130c"}},{"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":"ui/src/components/task-chat/status-relevance.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daba24582a10c22a2748a455ecfe95a80ba03a6bb4958dea8f54e728f49224f"}},{"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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"258635538071ef71fbaa93aabf6de54c4da74537272b7f928d60ec0457c2749c"}},{"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":"ui/src/lib/assignees.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d7608892eddb4b3fb157e0e8831de2602e5fbe34d6ba9b863e0fd8b0df9dee"}},{"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":"ui/src/lib/equals-markdown.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2575b01b713b71063005b0cabc1508149ed34cb8c82ef738defeb619d4dacbd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSshConfig (cyclomatic 15, cognitive 13): readSshConfig 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a8814c490e4cd6380e8b4392a7a118265224ccf1c26fa4559098fbd956e7f9"}},{"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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf8e3cd6fcb7311673f38327e8094e0f130534116ade8327664acf1643a54fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwsProviderVaultDiscoveryPanel (cyclomatic 15, cognitive 13): AwsProviderVaultDiscoveryPanel 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4089}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cab35882bcb329b0b1b12944a38f9922d4c1c38f57a41deaf17fb8e5a45bd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserSecretDefinitionsTab (cyclomatic 15, cognitive 13): UserSecretDefinitionsTab 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":"ui/src/pages/secrets/UserSecretDefinitionsTab.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e598298b587ef4cc4f5921549028e8031911f2ba76beebebb098f0be22e9ce6"}},{"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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"13027d8b872402440645264f46c89365867f76ae7734748e8b22131335fc03fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PoolSurfaces (cyclomatic 15, cognitive 13): PoolSurfaces 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":"ui/storybook/stories/runs-adapters/connection-pools.stories.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7f02946e0bce04c519969db5668e18a6771426ca08454c75a1663ae0d8b811"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkProviderConsistency (cyclomatic 15, cognitive 12): checkProviderConsistency 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/adapters/hermes/src/server/test.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a199dd384ea58b7f91b48e43fc0723f8da00c4847f2a6d9afac316ef2c0eec31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateObservability (cyclomatic 15, cognitive 12): validateObservability 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/paperclip-runner/scripts/controlled-evals/manifest.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3760dfa60ddd6ac03f2cd0c7d7d4a63bdc5b8549b4f9aaeda7abfeb9f8b0962c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpxGoalProjection (cyclomatic 15, cognitive 12): acpxGoalProjection 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/paperclip-runner/src/drivers/acpx/session-goals.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"802c874c0d43e9e3430106ff3b965a64406abaadeae91aaf37f4d1a6606b0787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strictJsonValue (cyclomatic 15, cognitive 12): strictJsonValue 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b05fc3ca1059271007a4722ff9d4c85e50a1ca4516c47780851aa1828978c73"}},{"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/paperclip-runner/src/protocol/result-normalization.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"352005b8dcbe97b1d1e44bdf5f98f29ed28b159c9a210ef662569ddc8a565022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyNativeAcpxApiKey (cyclomatic 15, cognitive 12): verifyNativeAcpxApiKey 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":"server/src/adapters/registry.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"db13970235f04108e62ef16237d74d05422dc32da099746723817d05df45ab81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProviderVaultConfig (cyclomatic 15, cognitive 12): readProviderVaultConfig 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3b502171c1846079370b78bdb41b082c89bbbd415ef30f2396562d42c023c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferLanguage (cyclomatic 15, cognitive 12): inferLanguage 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48f2528ceb4f9e5478f20ae0976693029e0d946ed9531a38ec2065679618e04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAgentAvatar (cyclomatic 15, cognitive 12): normalizeAgentAvatar 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":"server/src/services/agent-profile-avatar.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ba98e95aac16f22923d803958767a44f48197bd80abecc2cddb3da9cca2ca1"}},{"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":"server/src/services/ai-connections.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"b490d4e0b821f4ac4e95150cda9d14e51fcf9b3633da1232cd8b7b9d26534e98"}},{"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":"server/src/services/ai-connections.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e09ba02fbc4482973059914a2e89659c479d2c0224c8647041aad9afca4b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testAntigravityConnection (cyclomatic 15, cognitive 12): testAntigravityConnection 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":"server/src/services/antigravity-connection-probe.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8901162f6d9d32b6fbfb62b36adc5713be39f96aeb75c15d5fa216cf80dfe88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 15, cognitive 12): authorize 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":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0024598d6d9969304f23b9f745432568e4bcd1da0e023931242f6a7bb3bb6536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSandboxPlatformQualification (cyclomatic 15, cognitive 12): readSandboxPlatformQualification 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":"server/src/services/environment-probe.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8652ad28ce15098384c7348c143e2d3278a85862b20ee3b17dcc6da6711ac850"}},{"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":"server/src/services/file-manifest-cache.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad09d9bdf9397421a5fcfcb4f6d3af154ae23d89d2a909309eeb80a3de1d39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubCanonicalUrl (cyclomatic 15, cognitive 12): parseGitHubCanonicalUrl 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":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e4f8e4604068bceb0f299875d452b55a1cffe3702890aa47203b98b38b6362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureManagedRepositoriesIgnored (cyclomatic 15, cognitive 12): ensureManagedRepositoriesIgnored 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":"server/src/services/managed-repository-checkout.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b6093d303b31c3bbc11ce527f434824391b40797450a94a30e9bb6d414b459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupStage (cyclomatic 15, cognitive 12): cleanupStage 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":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ed150c80169e754e81a9c770f0113ae6d4a4eaf398ca0455e677f01fa38394"}},{"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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c373de902923c569a693c9a4603537a0c56cf87b71769f44567ff56a96d3ad"}},{"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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"92717067b4610fdd5bbfeb4838ca60b85479578f49ba94a338b9d4bf191ad476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactParsed (cyclomatic 15, cognitive 12): redactParsed 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3d0ef389f2b2b7c0f971f15cd61d682e98bf6d622e73bd919ec5bd5de8376a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideLegacyContinuation (cyclomatic 15, cognitive 12): decideLegacyContinuation 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":"server/src/services/recovery/legacy-continuation.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f0f059c9a6786bd374520a08d09f05620e2459a76dbeb5b768b84cbbff0d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestCompile (cyclomatic 15, cognitive 12): requestCompile 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":"server/src/services/status-cards.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfe7c0e19e9d070b0dd51b2e307e34f124843444e75d52e66b155cebe443cce"}},{"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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9f18149c1771a753aca1069e11db20d7382a66e52eca76deffa89d9795c871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerOAuthClient (cyclomatic 15, cognitive 12): registerOAuthClient 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28aeafe53958430c1852922a90e19b333c76e2f68a8c8fc1361e333e450724c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareExecution (cyclomatic 15, cognitive 12): prepareExecution 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a3afa26caf2f1cf5408b3addfe1ce1f9c8d6ca33ca9eefef5e829cb7eb518b"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-team-install.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b8b3f5ea433c1077e822d064fe246903770bd5b944f38681caa3c2b621e86e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installCommentaryReader (cyclomatic 15, cognitive 12): installCommentaryReader 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":"tests/runner-e2e/chat-catalog-domains/internal-commentary-reader.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"33781f702edaef432c364a4de056fa9773aa5f6b8fe6daffb2b63ec708fadd67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savedValidationReceipts (cyclomatic 15, cognitive 12): savedValidationReceipts 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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-validation.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"094507ae56afa7f7f0ba1553989b1071ef425bb53af704a197facc9d8d3c324f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentDockerEngine (cyclomatic 15, cognitive 12): currentDockerEngine 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":"tests/runner-e2e/docker-postgres.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e11401192e68cccde36ff167a6d7bdac9667d6af3d09a6920cd43478016fe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailConnectionAccess (cyclomatic 15, cognitive 12): EmailConnectionAccess 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":"ui/src/components/EmailConnectionAccess.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae1eb3ecf2f989e1233ac9c6ff2863186ea1c71472ca5416ef68805861e160d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OnboardingChat (cyclomatic 15, cognitive 12): OnboardingChat 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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7a544c3c5194456335af9e19398d418df00c9e7ab3a8909f101434eedf1aa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrganizationSwitcher (cyclomatic 15, cognitive 12): OrganizationSwitcher 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":"ui/src/components/PluginOrganizationSwitcher.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d888d3c95dc9f9bc711f1ed8c495c20e584187ba94c682e03d358e11b54dd54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiConnectionAccountDetails (cyclomatic 15, cognitive 12): AiConnectionAccountDetails 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":"ui/src/components/ai-connections/AiConnectionAccountDetails.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"115e8b7e99c60b48b75119d70d10d1155eb6344298adb06be96a74f7da7fee36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderNode (cyclomatic 15, cognitive 12): renderNode 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9f64d538f67135b907aaae7509ec5520e63dc8cc20309589a7d75e59b2709e"}},{"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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc69c373cff7674a792f0131961aceba08b9ecdcef95178819fc40e7e84c26c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProposalsTab (cyclomatic 15, cognitive 12): ProposalsTab 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":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d7c57b70181806f3784b82b4304949fd820f24c76a643c483b401b146a9cf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakeAnnotationDelta (cyclomatic 15, cognitive 11): normalizePaperclipWakeAnnotationDelta 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bfa5617c161f346b4cc99ea16d432470e3c79d2ac1dae3e6556e990b8f0743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 15, cognitive 11): decide 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/adapters/codex-local/src/server/codex-auth-merge-decision.cjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be01c0b05fa8c8a92f62249b503110011a7cdfcd33ae33e02e2fa92b98ea3b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trustedViewerFiles (cyclomatic 15, cognitive 11): trustedViewerFiles 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4925c0802fde880c015063b317e44a154ce020562a40d0aa3ec03cae2363372"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeBind (cyclomatic 15, cognitive 11): resolveRuntimeBind 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/shared/src/network-bind.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02f25880b2590ee2137dcc3680015fa450708d61623d61251fcf8e5787f03fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateArtwork (cyclomatic 15, cognitive 11): validateArtwork 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":"scripts/app-brand-validation.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7022b2df4c8dac291d57ef43e68cb578dd015869d1c1657ccc6de579f48c889"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMuseVerificationHint (cyclomatic 15, cognitive 11): parseMuseVerificationHint 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":"server/src/modules/external-agents/muse-verification-work.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef03dc98db0fc85fc2dea25f2d227a21b11afa7c7987d87034de256b8cffd3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelStaleRunInTx (cyclomatic 15, cognitive 11): cancelStaleRunInTx 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d0b5f003577fe69ebb36ace19c739a314010255c7ad79594b671353c1c0e3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 15, cognitive 11): observe 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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ba89c495fd2a90c02f432cacea620889c1734a17af8bdc8db50c9114a77ea0"}},{"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":"server/src/services/ai-connections.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dfe317e3db867ad99704db47efc15eaafa0d534e675e2b74acacbb202c6c4e"}},{"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":"server/src/services/browser-use.ts"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"067362257ca77da3c00b491c83c14f5622b887b8c71571b6f0e0b42051a4ed1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPull (cyclomatic 15, cognitive 11): checkPull 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11549b55a638c0f335de4fa17f1c5d31696a6c50dc1e73dcb2c6c1704b1a193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setRunStatus (cyclomatic 15, cognitive 11): setRunStatus 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9972ee43b00f1ee7abc9d8d3ecf55c0502978999fdb3a6ff73fc6523f1ad23"}},{"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":"server/src/services/native-runtime/artifact-transfer.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5864c574f65cfd0e4b63b7cb938c8a9163c953c0103a7e15692b9bf4268eab"}},{"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":"server/src/services/native-runtime/native-deliverable-text.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"01861c259549fccb6020750ed6cdfb8c64b3c1f016ae0619e42944a1b9d5e43a"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":3044}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd33576f707fd415c7478b1b9fd763c468c2d73ea025783df9c39fb2a23958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWorkspaceWorkerStopProof (cyclomatic 15, cognitive 11): requestWorkspaceWorkerStopProof 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":"server/src/services/native-runtime/native-workspace-platform-proof.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecea78574a2bf5a379033253565b1bfe07fd183f23fff7358af6911ec6619b25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grade (cyclomatic 15, cognitive 11): grade 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":"tests/restart-chaos/workloads.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f136674a5220923eb9529ee68d1a0ce5aae7aa240f80f68e132d4860f7c74d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appReviewProposal (cyclomatic 15, cognitive 11): appReviewProposal 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":"tests/runner-e2e/chat-catalog-domains/external-app-review.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a02e053a68b43f10f7034f72be4e6ef7b71bfd5897a26d8739b0ed6d52e2e8"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"27163366648eb2e5980a77035a58c9144199628353e38fc54a6257542818a860"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-secret-setup-link.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"359ab823fe6bb0edea3f4bafcb153eca8e410d9d684aef870be49d468b9675bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function accept (cyclomatic 15, cognitive 11): accept 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":"tests/runner-e2e/everyday-flow.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5bff5a265150d863c82a5f05d94f29a9d5e7d6789cd19dc4e737e5833c5b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGitHubOperatingUsage (cyclomatic 15, cognitive 11): readGitHubOperatingUsage 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":"tests/runner-e2e/github-operating-usage.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf1366ec0cc00c240b5be05b5e6419fd8765b29ed53ee3212080d034b78554d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CellMarquee (cyclomatic 15, cognitive 11): CellMarquee 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":"ui/src/components/CellMarquee.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2eac1f5bdf331e8bc830ccccf6eb9ff9dcb64210c27f68ad61e104889253b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderActivityCard (cyclomatic 15, cognitive 11): ProviderActivityCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10bb6611daa858d9027bb2fb9d1a980e1db65d958d3eb39aa3ae161a5a4d2e"}},{"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":"ui/src/pages/DesignSandboxTasks.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd322adebc2f4beec655fd2c96c5b1b6e0618d260b07490ae8ee957f085a98b"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8f1f02dbbf7d9911e5c380a9cc54b58900ce8711e3bc6d5eb0f7ad27138c3d"}},{"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":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"956a6896665a9befac48e2276cbbe80efa3c0cef1d3decb4ade2f95612826f24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeKimiMetadata (cyclomatic 15, cognitive 10): probeKimiMetadata 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/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3a9fbd29364980e0194d2e32aaad3be102fc4aab76df1535f0b1c9fdba71ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 15, cognitive 10): constructor 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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7db186afe4955b4a1055cedbdfba0f4de05cb6f9b45ab8ed96a0c7144195ca7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScenarioChatProxyConfig (cyclomatic 15, cognitive 10): resolveScenarioChatProxyConfig 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/paperclip-runner/src/live/scenario-chat-proxy-config.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d23b31888b4228d643036220712b4df6cfdfb5911b55f581bdba47549200a35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMigratorPublication (cyclomatic 15, cognitive 10): readMigratorPublication 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":"scripts/cloud-release-admission.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d534a0c600a967d86a92ff9a340a89a848e4c54f1221d106328b49c1483671fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeContributor (cyclomatic 15, cognitive 10): normalizeContributor 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":"scripts/paperclip-commit-metrics.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"77930d3e4ab769a031afaf6622cbd53c0ddb4082cd46ff7c44870d3a86de1a11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOnboardingDiscoveryDiagnostics (cyclomatic 15, cognitive 10): buildOnboardingDiscoveryDiagnostics 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":"server/src/routes/access.ts"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27743ce4a7a963f6de89249f6f9fe60fc333d11c851ef5fa66ddcdf9e605871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestLoopbackBaseUrl (cyclomatic 15, cognitive 10): requestLoopbackBaseUrl 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":"server/src/routes/tool-access.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a5fe1f61157f0725b89b9192d98292f540bd71b4839e24f0bfe45b3cd5de01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubRecoveryWindow (cyclomatic 15, cognitive 10): githubRecoveryWindow 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":"server/src/services/chat-channels/github/webhook-recovery-state.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ffa65d358d7024f379dd6465f7c69da9935704b68cfe5a1570c92c0d73d4ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileStoredDiscordCommandRegistration (cyclomatic 15, cognitive 10): reconcileStoredDiscordCommandRegistration 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":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93cadbe439e8ab840363afe0af944be1cbf4c2bec85f83021eccbd87a4c40f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiptReactionPayload (cyclomatic 15, cognitive 10): receiptReactionPayload 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":"server/src/services/chat-receipt-reactions.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3294313d5cc58102aef91a56a3e917d10ca5b8f46fac84d7a94694774972a12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function developmentSlackManager (cyclomatic 15, cognitive 10): developmentSlackManager 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":"server/src/services/connectors/slack/setup/development-manager.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"647e93e1026e6f8ec658c1a8fc443dfcd47f85b95a04d11e6a2bea8988fb5cfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 10): (anonymous) 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"84db29f207a833bd210991cc07447dfd3b50ba0a98ad6f426874bb27e5f6eb8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeListCursor (cyclomatic 15, cognitive 10): decodeListCursor 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"77899b3a4625ab0309a1d395f8232d2404fddb8003c0b544d9755ff13007e044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerUsageReceipt (cyclomatic 15, cognitive 10): providerUsageReceipt 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":"server/src/services/provider-usage.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef24850a2625c9ce8f2c1712b1c4cd322faad0b1360d74de1af9c4e7a213a0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeCloud (cyclomatic 15, cognitive 10): authorizeCloud 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5b4c7fa4a0e1b09c195806a15f218b0ba4ade1a4ab8ec02eefac87becd06fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isGitConnectionFailure (cyclomatic 15, cognitive 10): isGitConnectionFailure 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54c3401d46611949e7731c7d7d46c34589ce7fd408e9029b3b892b78b35b83c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestReceipt (cyclomatic 15, cognitive 10): requestReceipt 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":"server/src/services/sandbox-absence-proof.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b14592952120c2168ad248e2443b29574cdb4fc6a19928d768f5fc563396f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeReplyEmail (cyclomatic 15, cognitive 10): gradeReplyEmail 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":"tests/runner-e2e/chat-catalog-domains/runtime-email-reply.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd59ed6cceea84dacb05a7ee8328aaf49ffa4abb59fc5c9129f96513684a8507"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launchPilotPlan (cyclomatic 15, cognitive 10): launchPilotPlan 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6af7f0ed7d611e44f939230e4c9d80dab7205c6fb28621981c491523f31a67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectedCases (cyclomatic 15, cognitive 10): selectedCases 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":"tests/runner-e2e/chat-completion-testops-contract.mjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979a4c989690f6fc9d8efb4e3bf508e2870f9d7c390c9da7958fb45c7b537ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchDeniedTarget (cyclomatic 15, cognitive 10): watchDeniedTarget 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":"tests/runner-e2e/copilot-local-fixtures.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e777bb28fd03acfc78a6094124e91e170e54f0fffde2b3d056fcb95b4c5789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchDeniedTarget (cyclomatic 15, cognitive 10): watchDeniedTarget 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":"tests/runner-e2e/native-local-fixtures.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1190b640f2f6a5d3171bba60f134c2a56fe1a607ef3dfe4d00f8c23b90f0526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakeTaskWatchdog (cyclomatic 15, cognitive 9): normalizePaperclipWakeTaskWatchdog 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f4d2aa85a03691960eb0af85f30cf2db7383b95c0bba2e34fdfe5bb0bbc885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #reauthorizePendingChallenge (cyclomatic 15, cognitive 9): #reauthorizePendingChallenge 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3732}}}],"partialFingerprints":{"codehealthFindingId/v1":"12022805cf165af63c8a23c5fc423ba3202db3c3fde6f450b271b39dc25be3d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgent (cyclomatic 15, cognitive 9): parseAgent 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccda78cca88bf08882b54a9da5104d5212270165063222d919523b78d31f57d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunnerdSessionIdentity (cyclomatic 15, cognitive 9): resolveRunnerdSessionIdentity 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ae3379b7afd28ff06e77a53f35fe6b496bc43578bcdcbfe9728f73c6b5bd68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentTenant (cyclomatic 15, cognitive 9): currentTenant 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":"server/src/__tests__/cloud-principal-normal-app.postgres.test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e832600cc5810cadf357222483a6fc09bc17791585d8df6d66ddd7d6a196d8e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeInviteResolutionTarget (cyclomatic 15, cognitive 9): probeInviteResolutionTarget 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":"server/src/routes/access.ts"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d93a873a52079b19ab0008143c446a8fc1facfff4b73a0966895a7714ddac10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateContext (cyclomatic 15, cognitive 9): validateContext 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":"server/src/services/agent-chat-messages.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"459938c6f2f022317da04eaf1b15dccccffcc28eef7e1f2bb5a7a507b9198dd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testManagedEnvironment (cyclomatic 15, cognitive 9): testManagedEnvironment 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":"server/src/services/agent-environment-test.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f2d7e61ea9dca9371f8830acf921c1bb5b38aa3d42ea43fc91ffb6829c1af3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPlugin (cyclomatic 15, cognitive 9): runPlugin 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":"server/src/services/agent-lifecycle-driver.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"879125fd266b891d9aac9b17bbf7f9f975b2174f1480c668ee31b1d53469b49f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function append (cyclomatic 15, cognitive 9): append 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb360040c458a8d7eef68351325a12da27f543d5ef84d6cdcb84b52785480072"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sharePointUrl (cyclomatic 15, cognitive 9): sharePointUrl 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4a35b202ab0f2447eb9a77468f4a0954ee6b16517cbe6f3572904e66f64c81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function identityIsComplete (cyclomatic 15, cognitive 9): identityIsComplete 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":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b2a01348522dd2b7cef9dfd8bd96fa5d82bda9d868e29115f00b244279237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPluginTaskReattachmentBinding (cyclomatic 15, cognitive 9): assertPluginTaskReattachmentBinding 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6321}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e2a4921f8b60a9e22abd39d1b407e08891241dfcfcdd3df75d88471c45b791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function write (cyclomatic 15, cognitive 9): write 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":"server/src/services/native-runtime/remote-attachment-staging.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5af95b78f38805633d643ddc109e40d52017dc2fed980da9eb0ff97e81ce7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installMcpDeviceCutover (cyclomatic 15, cognitive 9): installMcpDeviceCutover 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":"server/src/services/public-mcp/device-cutover.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1959a09d714a4245dc0f50230b49fbcf3f21848b0b45756e82a3d9babd73f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 9): (anonymous) 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret-confirmation.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b809ab3e3008f06f43d677ddb14174852a68d439bcd9afd61351e4af0c52e33b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 9): (anonymous) 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-menu.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda702e6205274798d94419b0df66b99ccd281c4c5560548f0874c8368db1623"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInstalledUpdate (cyclomatic 15, cognitive 9): gradeInstalledUpdate 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":"tests/runner-e2e/chat-catalog-domains/privileged-update.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c8ced8b6a211552c447c27c581f2cd883f1bd853bcd7fbab18f33f0ca90fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRetirement (cyclomatic 15, cognitive 9): gradeRetirement 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":"tests/runner-e2e/chat-catalog-domains/runtime-retirement.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"071b663d3ef8a54a8dc0b966a4e8454663dcd81b34b8e2417784abcc6291e98d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectCheckout (cyclomatic 15, cognitive 9): inspectCheckout 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repositories-support.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff802215c5f6b14cd2b33119f738a156ca2398cd81508a1e410cf4270c3c0b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCopilotRemoteAction (cyclomatic 15, cognitive 9): prepareCopilotRemoteAction 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":"tests/runner-e2e/copilot-protection-evidence.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5835521f6ab0c3ebf458b3344d500bf0ed14452b6f37579e6cc6ab584471a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseJourneyCredentialBinding (cyclomatic 15, cognitive 9): parseJourneyCredentialBinding 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":"tests/runner-e2e/journey-dependencies.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f48731e90813faf71210539a9042bf3299439d4be2285d458d0c008aefcf364"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareNativeRemoteAction (cyclomatic 15, cognitive 9): prepareNativeRemoteAction 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":"tests/runner-e2e/native-remote-evidence.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1320e56d496a0fb48be9e66a8a13a1d73706188c1fed318d27199d040de9e3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planExposure (cyclomatic 15, cognitive 9): planExposure 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":"tests/runner-e2e/plan-task-exposure.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26e9380b9cd32560cfae728f43b3369d7cd48635454734989a9488cfbb5193f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasActivityDetails (cyclomatic 15, cognitive 9): hasActivityDetails 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"61843b8a7ed8efe3d15b9d9adb8a2646c9f5eccbca842437f354f60ef0602b5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refineTestPlan (cyclomatic 14, cognitive 46): refineTestPlan has cyclomatic complexity 14 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/test-selection-plan.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05b583afe9c85ea7e4dded5bcc77d8f24a75b2564af3f0300e8d2e332df63ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasLocalRuntimeSkillObligations (cyclomatic 14, cognitive 35): hasLocalRuntimeSkillObligations has cyclomatic complexity 14 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":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3728641c64ec60ab491489838e02590188b18774496f870821840fc1156f5dc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAgentSafeImportPolicyErrors (cyclomatic 14, cognitive 34): collectAgentSafeImportPolicyErrors 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":"server/src/services/company-portability.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cc00d60d753ec8333b63a8144f2419ad8f44d7c16b058168f3a0372896686e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForAgentsReady (cyclomatic 14, cognitive 32): waitForAgentsReady has cyclomatic complexity 14 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":"tests/restart-chaos/seed.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5363769c13acc776f7945d3898c0c3bacceefd6b02a5e814cf525b7a937e003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packControlledAttempt (cyclomatic 14, cognitive 31): packControlledAttempt has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad03026fe29267453c873dc3d14311be4314f0e308bc11c29ed393b3b0c60acb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 31): main has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/migrate-inline-env-secrets.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d5e3c58a6ce93782917e4291d74baa33da8458703f40ad7eac80766facc973"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 31): (anonymous) has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/heartbeat-run-event-atomic-append.test.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05379c147638a03dd0821e60dd5acbf92c97499356e8e5fba76bd73688439bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 14, cognitive 30): run has cyclomatic complexity 14 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":"server/src/services/native-runtime/native-runtime-response-delivery.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf61168815eb6116f95ac916b21c128ff107905c6539f48a9db4cd3bfdd5aa84"}},{"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/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0b6d62688ae37afb608427ca98e14834d8d25b5ef5a2749ae1b72622282714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 27): walk 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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9bae18327e192b03c9e9fa3bf9bab038d8f968e95054d59ca3a7addc3a9f0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPiNodeSystemDependencies (cyclomatic 14, cognitive 27): assertPiNodeSystemDependencies 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6411ff9baf43f252a3f68eb9c23e728cdebbf5b71fb26af5a03ba82c6c2b966e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findPeerPids (cyclomatic 14, cognitive 26): findPeerPids 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":"server/src/middleware/local-agent-process-boundary.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c0c76a2ddbda11557ba6476130c557f936e8195f9c19ba0863e036e6548a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveImportPayload (cyclomatic 14, cognitive 26): resolveImportPayload 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":"server/src/routes/companies.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a3c3825bd53952d2a070219c79e59a38008904c919bee4b5fef2c263fdb9f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityConnectionModels (cyclomatic 14, cognitive 26): antigravityConnectionModels 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":"server/src/services/antigravity-connection-models.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"02256cd4ac8e82818e2767925cb653fc3bd57bff643603395cd542add87ab593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 26): walk 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":"server/src/services/cloud-bundled-package-digest.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"188886cd1afcf9b5cc5b5bbdf6cb294264ba88ae4a25126d08b2f3d52b724abd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectInternalDependencyProblemEntries (cyclomatic 14, cognitive 25): collectInternalDependencyProblemEntries has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-release-registry-state.mjs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8704c1f8a9ae9cd73a850156309585754eb20db7fb282c5e7caf06982fbd9ee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":26045}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed25cb65a6f6be54b16b57c4476331039a3dccfdd1c2b6de93b60d99c670fbe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function escapedQuotedValueEnd (cyclomatic 14, cognitive 25): escapedQuotedValueEnd has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d983913433cdc824e0d5e3285748079d19e0d413e41127bda4e94551c9cb226"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRequestedSkillEntriesOrThrow (cyclomatic 14, cognitive 25): resolveRequestedSkillEntriesOrThrow has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fff839ed6e741afa9318ffe881875fb88153a4d1e3131893c944c26c9bf40f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionRunDiagnostic (cyclomatic 14, cognitive 25): connectionRunDiagnostic has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/connection-evidence.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341d84b3789f94e6355fb52aaf319b0c77a6d2c65d228ca35620257fba3367d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-regression-testops-catalog.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"544d17f3ecba0f5f9c16f1376debf11516726caad59d17e9b771bb543483e90d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 24): (anonymous) 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/adapter-utils/src/workspace-checkpoint.test.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce8ac2eaffd5a4126658d8ed00d18c065107dcf89b996b708eff92348a6a6b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpContent (cyclomatic 14, cognitive 24): acpContent 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/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"99093567b78ec1cc2b9a6b84d74ee62e2c4be5c469b6c0b05a00d41b50c1fa38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 14, cognitive 24): scan 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":"scripts/lib/recovery-cutover-inventory.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e4ecc1940d39325088360b26ead91e937c7e5db7fdc414239d46c3c8ecaae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 24): (anonymous) 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":"server/src/__tests__/helpers/sidebar-badges-fixture.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd484d1fe26f4ba4a234605f23880d47d8450007bddeed87e04a2ca4f55172f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractHeaderEntries (cyclomatic 14, cognitive 24): extractHeaderEntries 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":"server/src/routes/access.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97000a6a6db34ad2d3a846e9f579ce5b4ad173fdc91f952327732551343f2e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 24): (anonymous) 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":"server/src/services/routines.ts"},"region":{"startLine":2612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b038112f591dc4d92ecd61600fc0b90c996699a6af1be83330f4aa72e85fc4fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 14, cognitive 24): start 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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"94881b5c238653dcd6724e4a88439d187e2671b944a838ef183bcf096bb422b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 24): (anonymous) 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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8ec59d4ab6a955c02fe6712c7dedbe4985f034cb128eabf91adc2bdf5e6ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 24): (anonymous) 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":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6995c70fa963076f96e32958e42b0712d4882ffec1ae2b8682ede87bfa3d2cca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function awaitProviderDrainBarrier (cyclomatic 14, cognitive 23): awaitProviderDrainBarrier 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0120a0c9eb40164c3ccd14e40035bde32c037772e99e9d8b8fa05050612455"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWikiFrontmatterBlock (cyclomatic 14, cognitive 23): parseWikiFrontmatterBlock 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef65e3564729f8a484534b31cb24768ff53797f9315572306c0425135af931"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 23): (anonymous) 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":"server/src/__tests__/environment-task-runtime.test.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"115103f5f0fc3f2517a4530ff500dc8aeaaa8dfb9b81354327388343a4560241"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideReadsForActors (cyclomatic 14, cognitive 23): decideReadsForActors 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":"server/src/services/authorization.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348565c8380eb078876df8be363949a6829853e85b849d6cf37ea2901728c58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSelection (cyclomatic 14, cognitive 23): validateSelection 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c76e926c054945b0e31fdc4ebe7a5ae4783cb11108ca01b713cc0d818fa2152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteRecoveryProbeReason (cyclomatic 14, cognitive 23): remoteRecoveryProbeReason 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":"server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"483f3373ba5f444555c08dc98bf14859bdd8a76a46993ddd097bc188f372f421"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverAggregatorInventory (cyclomatic 14, cognitive 23): discoverAggregatorInventory 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"789fe0f1de5f1c26f534613c459af1aca7393cc083e85e2ee0850cbd6b8c2e87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAvailabilityTargets (cyclomatic 14, cognitive 23): loadAvailabilityTargets 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7000571405cb508da4c15a88a8e4b96f52d80a5be950f61987e2689ba18655"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 23): (anonymous) 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f87bc4ac5702cd64e08251190ca8057ca30df69e2ae9fc605fc4ed9b053907"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 14, cognitive 23): scan 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":"tests/runner-e2e/source-sdk-public-type.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f83ffe9dd961997b0119de43de5d786c11cb7c8377739fc402c28d75209ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directoryMergeConflicts (cyclomatic 14, cognitive 22): directoryMergeConflicts 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"45596414c1601f9324f4c843de27fd55d502c8a3ec6986a80452fd1a6f0acc6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #finishClose (cyclomatic 14, cognitive 22): #finishClose 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cca5250940c759fcb4f0c925fde73adb0859bd6cd07d0ab8e8c37daef62240"}},{"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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d323822ffbda53fe162f02b2f883b60f87d0aecf3c17bba6c054525ef4d769c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unstartedUserTurnOrigin (cyclomatic 14, cognitive 22): unstartedUserTurnOrigin 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6280f92a4d1752bd22ba954dccd88d8f4a32c23e2af352e139bf4c0f96121fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshots (cyclomatic 14, cognitive 22): snapshots 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":"server/src/services/decisions.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"06be254662c7f712e47f6d9e2af995bcbfa9aac11a2265c1fede3262aad58c22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimVolumeFreeControllerState (cyclomatic 14, cognitive 22): claimVolumeFreeControllerState 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":"server/src/services/native-runtime/volume-free-controller-state.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1fe6f8214873b8fe107fc889e290ea3751e90cdd1bfac991f247d1fde029e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remove (cyclomatic 14, cognitive 22): remove 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53b7b1a665f59c1d1ef044bcce9ed48c734f6551d1ae69c7116cd8bb3034202"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectPilotCaseUpload (cyclomatic 14, cognitive 22): inspectPilotCaseUpload 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa89d0f0ea3d41939d2d02e5358e92a8e15c4403ff333b5c4549de06f06dd31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sample (cyclomatic 14, cognitive 22): sample 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":"tests/runner-e2e/native-local-fixtures.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7d03090638154ea042a1cd95ed8a34f8647d83c1864cf681f7a67a0d0a7cdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCreateVaultOptions (cyclomatic 14, cognitive 22): buildCreateVaultOptions 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caacb38151f48be7e544a70e3dac452af3ec0e21cbde4b5534f858bf4818339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDatabaseUnreachableError (cyclomatic 14, cognitive 21): isDatabaseUnreachableError 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":"cli/src/commands/update.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdbc9723c570713bb2f168cc9432db337f6ec8ad1aec10345aefac9f4cb9ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evictSeedGenerations (cyclomatic 14, cognitive 21): evictSeedGenerations 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a23b5814b5a4ce1fe7500dafd19672976e2cdcbf9a4ffe2269a52fe44bd0139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactObservabilityDiagnostic (cyclomatic 14, cognitive 21): redactObservabilityDiagnostic 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/paperclip-runner/src/drivers/agent-observability.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9ffe44c613cebe0d5bde513ecbc57572895c5977cb78754a9964c489d8a66f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalElicitationContent (cyclomatic 14, cognitive 21): canonicalElicitationContent 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e00a11540cf5a0059e039d92c8905e142f3ab68d617b2510363cf3a7a2981c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #completeExtensionExecution (cyclomatic 14, cognitive 21): #completeExtensionExecution 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e8b670e72ab0186a60cafbdb04e2b1d892fc6ffe471c96ff7bf7cf149e6675"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runGeneralGroup (cyclomatic 14, cognitive 21): runGeneralGroup 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":"scripts/run-vitest-stable.mjs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d85fc8e2c902b9a1111bfff9bde5d68e05c9b92e439f056a319ac3e18231379"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripSecretRefValuesFromPluginLeaseMetadata (cyclomatic 14, cognitive 21): stripSecretRefValuesFromPluginLeaseMetadata 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc27d266fda9a050fed52b3cce28aab30be01a60f4fbb139ebc397249b722bcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function continueHeldExecutions (cyclomatic 14, cognitive 21): continueHeldExecutions 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3530791ccc32c6550be47f5ff25a419c751680262c048db79c42348f42e8492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyWakeQueuePostCommitEffects (cyclomatic 14, cognitive 21): applyWakeQueuePostCommitEffects 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":"server/src/services/heartbeat.ts"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"382a689fc4ad0df0b1fe0b3b7cebf5b3e55d971903728c7f09ba5da409ca4c9b"}},{"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":"server/src/services/native-runtime/preserved-native-response-wait.integration.test.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feac246a3c252378848d4689e9159068905eb3eda79680d2c249caeb0acaca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importFromUrl (cyclomatic 14, cognitive 21): importFromUrl 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":"server/src/services/skill-sources.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"faed1225af9bfe5355b8ea4214c7e45277aa6e3454954036733587cedcfd2f73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateToolContent (cyclomatic 14, cognitive 21): validateToolContent 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":"server/src/services/tool-content-guards.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee6d1fe1628d02e76af9fce81c5838868200c5cfc2a0689d9caebf75f9a137d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 14, cognitive 21): check 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":"server/src/services/voice/voice-session-recovery.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1965157d7e5dfe6cf850b6692ec54558811349d72e3c1e8d915dd5a66082c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformInlineChunk (cyclomatic 14, cognitive 21): transformInlineChunk 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":"ui/src/lib/angle-bracket-markdown.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1f90e50d11c0174a2c02ba68e2428653840eed0b4a85680d6636674acb6db1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"cli/src/commands/mcp.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d263225c77b50518fed8c0cdc3a4b3c0dae12b6276d935cc88064ec5342d1f0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #retryRetained (cyclomatic 14, cognitive 20): #retryRetained 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"2469cac725bc678472db029b7481b6c5efb2d74cfd5914af709045df9c771711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8c1e445e5aee852dae15c962cea180e814650637128d7dd95b4f5d59a009f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retargetRunAttachPayload (cyclomatic 14, cognitive 20): retargetRunAttachPayload 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7ee38d4ec87f56d9921014a4239ff2a9eea7ee43ae3fc3823f851b65b6f1f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doRemove (cyclomatic 14, cognitive 20): doRemove 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89d6d68c5dfe648069638750ebda769f12fb9a1b8d4189e82961cf7f592a252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPackageRegistryProblems (cyclomatic 14, cognitive 20): verifyPackageRegistryProblems 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":"scripts/verify-release-registry-state.mjs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff2e681436ab077b33d5346efa62c3264e7347123237b7a80969e32eb230532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/__tests__/heartbeat-issue-liveness-escalation.test.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c9fa717e38365d760ea8ae71133bd2563063ebb081e6d3a50a90228be8a1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/__tests__/sandbox-creation-operations.test.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d851506b8f65121f4ec5efc605ff81ad59fe472983fdeeb00777e373ae918387"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isInviteTokenHashCollisionError (cyclomatic 14, cognitive 20): isInviteTokenHashCollisionError 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":"server/src/routes/access.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e17ad28a6177cf0a40ac8a3b740438f9e1941814a8f20272c5e9870f8b25b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/routes/issues.ts"},"region":{"startLine":14619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf1543636ec85b13608d738995ba02ac28fbf8901a579962a2a0d4bf0b2cf81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStringChecks (cyclomatic 14, cognitive 20): applyStringChecks 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":"server/src/routes/openapi.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf623e3c0a0a12f81b1869a8ba3f4ad7021a0fa2f92bf9ae1ba8030a21e72053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queuedRunDispatchLine (cyclomatic 14, cognitive 20): queuedRunDispatchLine 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":"server/src/services/heartbeat/queued-run-dispatch-order.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5907bb7917c924d1853744f1e89f259557fb0da9b141faf2ba7051ea9923a2b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 20): walk 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":"server/src/services/json-schema-secret-refs.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e49a09ab7db15fd4cf75b699dbb94a48de8f6a9d16003c6eb2b50edb0b4e789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/services/native-runtime/native-runner-execution-driver.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e84e0bd7ff060fc4eed1719f1e6cc9e6742dbf088a0ed61fe6bc977515cfd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeWarmNativeSession (cyclomatic 14, cognitive 20): closeWarmNativeSession 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcaba8215d5ca5e9d4c1fad352cada529523266d940aadcf4333b3a343da9ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isInviteTokenHashCollisionError (cyclomatic 14, cognitive 20): isInviteTokenHashCollisionError 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04dda67847ea35b247a109317db171017909829190947f229bd7da04fb90004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/services/projects.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"18030aa58d53b587e85a6a1b4308ed0237b172978b745dea7054a6d797823950"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/services/secrets.ts"},"region":{"startLine":5386}}}],"partialFingerprints":{"codehealthFindingId/v1":"33731e7d97dd2c7de97583645fa631b657188d666450e05995a84b9cc65151e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c873d95cab24603562d43dfbf540b4db7661a60fe7399f55a2fee3d1c13c35c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireOAuthRefreshLease (cyclomatic 14, cognitive 20): acquireOAuthRefreshLease 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":"server/src/services/tool-access/oauth/refresh-leases.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"239c52ec57f6ed108cfe3eac9a99f7de1a4e8c007e4dd390c0cc21097f772d75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"tests/restart-chaos/daytona-runner-logs.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"de992cfe25755051e198df92e10b8365ddde8c1955259cc87adcac0746794819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resendUncertainSubmission (cyclomatic 14, cognitive 20): resendUncertainSubmission 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad515edd0b1cf7ef5585d8159383da560919eeacf406a663576565654ee86d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0752547fe25a2b8c59f6878a5361fd364419d6eaffcbec1e0ef0dfc00a4b1682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) 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":"ui/src/lib/issue-comment-window-query.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d5174ff523cf16ca2e8294c1c9c979664809a2e468ca18d788d35dec0f5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchImportJob (cyclomatic 14, cognitive 20): watchImportJob 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d7f538e63a4704f28002f737f8a370d69b22229749f7bd909c5c6eb68b7247"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capture (cyclomatic 14, cognitive 19): capture 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/adapter-utils/src/workspace-checkpoint.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9267ddf406da1f5de17b6f6ecaad3fe8a4a75306d13be28985e69bae5611c879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureCursorSkillsInjected (cyclomatic 14, cognitive 19): ensureCursorSkillsInjected 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e84a1023efc8b5ca81f3113a9f5c24242c9cc9cfa1f742c0fe509d2dc3a68b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactForLog (cyclomatic 14, cognitive 19): redactForLog 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ab7d4b3ed2f18517b43b9090418eafeb09e72ff205dcc97779c48e1eeb6600"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 14, cognitive 19): inspect 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/paperclip-runner/scripts/controlled-evals/verify-runtime.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2ca7a30a1ab1b1d488d6d11f7c80e7e439360ed681086b104a6a316a9dde66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamRun (cyclomatic 14, cognitive 19): streamRun 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3de9689d901567598656e9094e95c1351fae3d769cd49cdcc8e025f03fceff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlInlineArray (cyclomatic 14, cognitive 19): parseYamlInlineArray 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17678429d2f2c2a1f0d78400d01cf491cc97219e4bcf87972287d332a7035d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeInSandbox (cyclomatic 14, cognitive 19): executeInSandbox 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/plugins/sandbox-providers/cloudflare/bridge-template/src/exec.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c536536216649a32d96d045981de3b6e3e3d19e551a96333db45f6afc304c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentExecute (cyclomatic 14, cognitive 19): onEnvironmentExecute 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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af465ca0e8e4b805ad4cd8ec8d21df1cf09f5eda11f6484d3604981dd41c844"}},{"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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"636ef013753befaa7db66a56c141aea5c0a270806942277005dc33023c988cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findNextDeferredWake (cyclomatic 14, cognitive 19): findNextDeferredWake 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40045f07437523789a96d95d64f41d0d93d9b22e022f4504705d6a2d119e910"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":10364}}}],"partialFingerprints":{"codehealthFindingId/v1":"459e79bd18acf12641ca8bd0231541cbc024304e92d4a5862d1932a51869b37b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleDeltas (cyclomatic 14, cognitive 19): settleDeltas 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":"server/src/services/agent-identity-redaction.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c8c26a494dac785819a6001ecaaae2d0909a1059c1c3957509e982669a9f29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertInstructionPathSafe (cyclomatic 14, cognitive 19): assertInstructionPathSafe 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":"server/src/services/agent-instruction-files.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c415562ca1deee9c15487d09379ad38ec361a835ad0bce536ba80972c04151d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainAllowedMessages (cyclomatic 14, cognitive 19): retainAllowedMessages 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6303352b6e92450ba7d0c8ee452ed2153a1d3b2bf80aa38da89027788b179d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyProviderLifecycleEffect (cyclomatic 14, cognitive 19): applyProviderLifecycleEffect 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":"server/src/services/chat-channels.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba6d289853eeba4ea3baddcf71c78969000bead0e605436093eaad4118f8001"}},{"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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a079854d711f18b327a7ebe057c828e60ad20322ca9b14026bfb59f99396d84a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function head (cyclomatic 14, cognitive 19): head 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":"server/src/services/object-byte-journal.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da01fef973b6a40e7d7f94066a56102d04fd6720aa3e560b169c8374840b4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDocumentReviewContext (cyclomatic 14, cognitive 19): buildDocumentReviewContext 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":"server/src/services/plan-review-context.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"878c6fd19b4f8cadad87065c6630bde366977a71b5b5499d2c959303003c951f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pendingNewToolsForProfile (cyclomatic 14, cognitive 19): pendingNewToolsForProfile 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":"server/src/services/tool-access/profiles/projection.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a65f56a1236f618651538f68009d0fdc05e64d140db80ae2d37d1db2b596b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSensitiveJsonValue (cyclomatic 14, cognitive 19): findSensitiveJsonValue 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":"tests/runner-acceptance/redaction.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"908e08bf30f95f913316262e202a47a9e7c69a31637ef0bda71915c34e701998"}},{"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":"tests/runner-e2e/chat-catalog-domains/privileged-owned-dev.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8767201e8b020da70e5e7760c3a16f811d5bf7689fd806bda4f3bc0d555f1ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inventory (cyclomatic 14, cognitive 19): inventory 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":"tests/runner-e2e/chat-feature-testops-results.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f8a27b0278fa1ffc5666386e1a3523b853ec674688273e440998608087c0cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventReceiver (cyclomatic 14, cognitive 19): eventReceiver 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":"tests/runner-e2e/public-mcp-client.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c6add1543ed1c2542ab645e9e4d6aaaa50d2e335e51736e66f6251e70b9a39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupAttentionItems (cyclomatic 14, cognitive 19): groupAttentionItems 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":"ui/src/lib/attention.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"d271d8eedd37af3028d507813eaf1fabc65dd27c2c0186b993538b74343e08c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeLiveRuns (cyclomatic 14, cognitive 19): normalizeLiveRuns 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdf9952d8e0c85afefc778f8e7db61ddc6f9c88b3fc9f4015af1e700d08e614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureClaudeCliUsageText (cyclomatic 14, cognitive 18): captureClaudeCliUsageText 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/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"96903382dd3263a1d61572900c16e4dbfef4df1b579e8334f499aafd1039b639"}},{"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":"packages/kv-demo-mcp-server/src/http.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ec75cdae423c90f14554ba9da97bf3e828ff19bd41bc44db4adfe0e482e206"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPiNodeArchive (cyclomatic 14, cognitive 18): readPiNodeArchive 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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbe65f3ed8df9fe2060f264f9808e8765f49427d40053961b3b055c231d739b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #asyncTask (cyclomatic 14, cognitive 18): #asyncTask 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/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2490a0e626d00bc836b9c00c45f1eb5c74d9ff375033ddad08c016918aff5c67"}},{"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":"server/src/__tests__/braintrust-connection.test.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adce86e77d0b0f0a07c9b7e76503f98d2e40d9c783778d3a94e1d0dce8cd950"}},{"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":"server/src/__tests__/helpers/slack-cloud-connector-fixture.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0efca4ce4e6507b626db48c56d206a3b7848f916675ea5e6ec8b53e8b5ff2a"}},{"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":"server/src/__tests__/plugin-workspaces.integration.test.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eedf1108050c88ed78227b5537d017ccb0cfadc6004054ed04fc8196cf9c63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCursorModelsOutput (cyclomatic 14, cognitive 18): parseCursorModelsOutput 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":"server/src/adapters/cursor-models.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"580682cb3114f4666764ec4b53277950549216e4a4798316c374fe02f4853404"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forward (cyclomatic 14, cognitive 18): forward 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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfb3a601ef4273ae2d05635b1fefd2385fd58edf49d7064b556ca1510fbb898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyTargetKeysFor (cyclomatic 14, cognitive 18): legacyTargetKeysFor 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":"server/src/services/change-consent-gate.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"945bc83583f7c3de24d5b2a734821af83a83fdb2583a174b673bf8c8f654cde5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyReusableSandboxLeases (cyclomatic 14, cognitive 18): destroyReusableSandboxLeases 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":4475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1e2ccf252bba1fd6aec9f3f1459aa669c4e33f61a6b20a51be4501fb5c0e99"}},{"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":"server/src/services/feedback.ts"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"9235443c655294fc19fae664a32138824012e44c38ccaa4b844ed22f49cf461b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getIssueRelationSummaryMap (cyclomatic 14, cognitive 18): getIssueRelationSummaryMap 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":"server/src/services/issues.ts"},"region":{"startLine":7753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b346e9d55732f3a9542d0466717130b730f94fc73b2c5b3bb233d29618b66757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireSupersededTask (cyclomatic 14, cognitive 18): retireSupersededTask 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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"52eafba7546566112063d74325d3e6fec9cc9bad235147bb4a77fa6a72b10b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureReadOnlyWorkspaceArchive (cyclomatic 14, cognitive 18): captureReadOnlyWorkspaceArchive 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f087d843f29b9aed06e1c05516365397cf0b12b332d6f6b397efe4db5627c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureTerminalRunFailure (cyclomatic 14, cognitive 18): captureTerminalRunFailure 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":"server/src/services/run-failure-report.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"737a7b724161e715c73b5ebdacf8134bd466efb2369850c5f0175803af37e746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeRemoteProviderErrorDetails (cyclomatic 14, cognitive 18): safeRemoteProviderErrorDetails 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":"server/src/services/secrets.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cc6610a4915319e11cebed2df83282bfde6944de884463c1b29a465f20e885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectExecutionWorkspaceBaseDrift (cyclomatic 14, cognitive 18): inspectExecutionWorkspaceBaseDrift 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"549c6ca8f674be7a1e6ee888c64532a2252330ab58efb02fde23cdc8943bd028"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preflight (cyclomatic 14, cognitive 18): preflight 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":"tests/restart-chaos/main.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"08708ebf89ae85339bca740334fe7e8d83e68c915e71b19c2f2b97f73f6cd595"}},{"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":"tests/runner-e2e/manual-private-cell-report-assets.test.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"be17f2af208c4107bb3d9716ea9585a2c499dfda3afe06a7554b2911147c6614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFolderGroup (cyclomatic 14, cognitive 18): buildFolderGroup 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":"ui/src/components/environment-variables-editor/SecretPicker.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b1f18d37ef83f5c78ef391c7c0ee109112bee1462c67ed2425b7b85df00b9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suggestedCommentAssigneeValue (cyclomatic 14, cognitive 18): suggestedCommentAssigneeValue 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":"ui/src/lib/assignees.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6357ab8b8fb22395f880d5dbf9551454c4d157205b8bfc66d4458f7f971186f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateDraftRow (cyclomatic 14, cognitive 18): validateDraftRow 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3428c180e3776597402ba640966c738baf6c9f3d6220e54d8e02f0bbb46b7e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectItemFacts (cyclomatic 14, cognitive 17): collectItemFacts 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f788f6bb1f56b67168bc3879cc87b40462023c06e30d69e545b72714ab09bd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 14, cognitive 17): start 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":"server/src/__tests__/helpers/maintenance/idle-work-capture.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c6aded708f492b077e4851ae315cea9f5a95cf53e0cadeefba80dd207d2b30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grantsFromDefaults (cyclomatic 14, cognitive 17): grantsFromDefaults 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":"server/src/routes/access.ts"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c222be3678e1349370f83fa4fde483c74d091d178621ed82db424344b897a5"}},{"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":"server/src/routes/assets.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef3c36d8da2002c3b333d95026327c0ec7da2bbebc06a164d63287537694d11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveImportTransferBody (cyclomatic 14, cognitive 17): resolveImportTransferBody 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":"server/src/routes/companies.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be05740b49355fad75ae30b7b3e883f616c5d7e852394028a4b820adc913b7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 14, cognitive 17): request 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":"server/src/services/agentmail-api.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"61738ea30e901748dce1a2660f3d21cfa2d737083324c2746183e9344b1ed5cd"}},{"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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da2e7f947b9223b021670c697f669b67768b15cfa49a82a8e50207d9c80b221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 14, cognitive 17): configure 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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8f10ae67aca06915840c1956fba035fbcad1326797ced3b6c4f31d3fb40e42"}},{"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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e437b3e9feb0deacd90c90f7e2d5cf307a266e67fe0fe38afceff8825529edb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePrincipal (cyclomatic 14, cognitive 17): ensurePrincipal 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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"12de20e75984eb88be56601baf9c91a1d5148d9fb0dd5762ff46484c31b3c590"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function existingChatCompletionReply (cyclomatic 14, cognitive 17): existingChatCompletionReply 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":"server/src/services/chat-completion-delivery.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"773faccd85e44d357e4c75728f782c02e92fd5ef024b4ebbc82990741657d165"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyCloudOfPrimaryCompanyLifecycleChange (cyclomatic 14, cognitive 17): notifyCloudOfPrimaryCompanyLifecycleChange 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":"server/src/services/cloud-lifecycle-sync.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee20868569260c864205b3225fb39f92d71cf04028a15e5f0edaf840a0b18fad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweep (cyclomatic 14, cognitive 17): sweep 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":"server/src/services/decision-effect-recovery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e2c1bc57defc9fc73591bc913a95f164099c5d80df3c6c94c4e4f0f75c588f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIdleExternalObjectSchedule (cyclomatic 14, cognitive 17): projectIdleExternalObjectSchedule 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":"server/src/services/external-object-idle-schedule.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b310afa41e9c71db4519e6596e41bcce63ccbccb3c9f4b0ae036558dbde947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveItem (cyclomatic 14, cognitive 17): moveItem 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":"server/src/services/folders.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dab7dda4b28289b99a4073bee6ef817c68efdc78fbd6823a2322ed0b8db27f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grantsFromDefaults (cyclomatic 14, cognitive 17): grantsFromDefaults 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":"server/src/services/invite-grants.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0665a7488b12a775f1b79d16f31fc4292e8797403d9b4d2dc901ad42bad05ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordAdmittedProviderPack (cyclomatic 14, cognitive 17): recordAdmittedProviderPack 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18772}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cf05b3417ab88ab8572cd02401c65f82f57838131cad863301893923f533b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeSkillLibraryTool (cyclomatic 14, cognitive 17): executeSkillLibraryTool 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":"server/src/services/native-runtime/native-skill-library-tools.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"97371a466ead1cc8360118cfdef46594331545c5d5807428a337e23e172f0dcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageNativeRuntimeSkillAssets (cyclomatic 14, cognitive 17): stageNativeRuntimeSkillAssets 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":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec6bb547a6cf489143001b4e01edd3d4ffef43ebf09bd612ae798f500b00325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function query (cyclomatic 14, cognitive 17): query 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":"server/src/services/railway.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad63735661d69f42dde2e176486ba8572aac8d4083789ea04c01168f928aa2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 14, cognitive 17): run 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":"server/src/services/run-evidence-migration-work.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"086a58a5c31eca6b8572aabf39853b08c500fa0d819f4cd1829544fd82f04ef3"}},{"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":"server/src/services/runtime-exposure/broker-client.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdd02963b618b2ccf76deb6ffd804ef94f9559fc5a59b6bfc15fb262c83eca1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSkillPackageArchive (cyclomatic 14, cognitive 17): extractSkillPackageArchive 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":"server/src/services/skill-package-files.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c58aba3bd5db336a3a08f8ce26a5e13c10066b011292d68a5ef915794ea1532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasRestorableSnapshot (cyclomatic 14, cognitive 17): hasRestorableSnapshot 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":"server/src/services/skill-version-cache.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a3c26e72a269760360f1f2366941096bc5dd1f86576e81298b6ed9e24ba72f"}},{"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":"server/src/services/workspace-recovery-admission.test.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"592f635fbbe9f7eef2b640502880e4be719687129603a2d9846df01ec9192787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSetupCommandFailure (cyclomatic 14, cognitive 17): readSetupCommandFailure 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":"server/src/services/workspace-setup-command-failure.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d3a13c39dddf807a91287edf7da4102c1ee3cccd58ab4d0e6d7f10461f6fc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWaveSpeed (cyclomatic 14, cognitive 17): gradeWaveSpeed 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":"tests/restart-chaos/wave-speed.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4d186062b8cb428aa9f12a1faa74824d75bca194cd2a8b7fac6345917b20f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 14, cognitive 17): api 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":"tests/runner-e2e/chat-completion-testops-api.test.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87bf92952434fd0b306e34959eea0d175668d47fae6a7ccf40ac0959652f669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseConnectionConfig (cyclomatic 14, cognitive 17): parseConnectionConfig 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":"tests/runner-e2e/connection-config.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43ea8d5ae63fcf7ddffa5c8b18b2bb9c15ad3d2ecce9a7ac15f0e8e47dd57d2"}},{"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":"tests/runner-e2e/feedback-shutdown-process.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3253a157ec7239c6d7741cd3f7ee26cec576459d7f21207e05609dfc8bcf83c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postgresRunning (cyclomatic 14, cognitive 17): postgresRunning 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":"tests/runner-e2e/instance-retention.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dba0d0c422588b6565a89ce56d346e508fc9784003c169c19a2e0e2c4af0444"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 14, cognitive 17): get 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":"tests/runner-e2e/product-journeys/company-access-flow.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c9a652a4d45f17319ba37d7fbddb3b78ecc0a1011089113886172b00fd1c31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderItem (cyclomatic 14, cognitive 17): renderItem 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":"ui/src/components/ActivityFeed.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7afffaf1b825973d2c975711c1d66aca5139bdbe7b4fccecd9b5c2cb8dfa448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactIssueChatTranscript (cyclomatic 14, cognitive 17): compactIssueChatTranscript 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8cfaa3184d3dfe7675e9f7ba8fa452e246cc0968195918c1a10fb0d2893ed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 14, cognitive 17): handleKeyDown 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":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fe1e6510cacd7918c1ead50bc704adae8e36e0b7266ebd2280b97bebc89559"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamPluginBridge (cyclomatic 14, cognitive 16): streamPluginBridge 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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d0ebd4338cab911f9e265199e3fd01c6e00a781cdf48a888dc7aca0e36781b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchClaudeQuota (cyclomatic 14, cognitive 16): fetchClaudeQuota 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/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeb9ce206b267f2619f14c659950c507096f1e2a34c40a59d4e5aafebc49eec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgentEventLine (cyclomatic 14, cognitive 16): parseAgentEventLine 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/adapters/openclaw-gateway/src/ui/parse-stdout.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3d0fc97bf9a98859566cac97cd27993312ee6d9c645952ca9fe484a2c283ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitTurnTerminal (cyclomatic 14, cognitive 16): emitTurnTerminal 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c8a7dcd6ebf6b397e2fcb14619affaa3bee6f548c485dbbaf202b46ce41d22"}},{"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/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f1f46cec0256b422d3faeebcdb524786f5ef2f8968959743203b9b518735b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncDirectory (cyclomatic 14, cognitive 16): syncDirectory 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad862c2da8adf3fceda9944d7492a1dcf669ec086892f8b94c9646be8f5d1ac7"}},{"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/paperclip-runner/src/native-session-runtime.test.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0a0349605d707d54bd8808011685b2821a34791750ddbb1b85e7c62f244225"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTarListingLineConfined (cyclomatic 14, cognitive 16): assertTarListingLineConfined 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e593dd8b84a798f669659e3c62e0a21f150a974b1f65addc4a0bf5a96826a0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureBundledProviderOverrides (cyclomatic 14, cognitive 16): configureBundledProviderOverrides 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":"scripts/prepare-bundled-package.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f505775d695423d5ee0b02cc575fd86f6b3f72712071139f555665b6b11e1edc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _prepare (cyclomatic 14, cognitive 16): _prepare 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":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f00146b9cf8a5e81d927e4b21c8053113a494f56381ec4d69e18bb22a5fc61"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":85680}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa1ed62bcf2854aa0786e770104085fe302083c09b058f4f8facd2823da6304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyThroughProductionRoutes (cyclomatic 14, cognitive 16): applyThroughProductionRoutes 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":"server/src/__tests__/helpers/paperclip-semantic-conformance.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a422c94081ee4a1f034e1bd6838f5c2e7aa84736da2b4ed71e02be52ff4b26ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectLocalEncryptedHealth (cyclomatic 14, cognitive 16): inspectLocalEncryptedHealth 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":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17c58a0a431ca4071c447f868c5c8b546bdc6711b9bd269e338a0ec9c5c77ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureException (cyclomatic 14, cognitive 16): captureException 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":"server/src/sentry.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8e895be8af1ee364a7cb440c2191e79bac9c39f7928b7159b76f5fb11a2103"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function defaultAiConnectionForHire (cyclomatic 14, cognitive 16): defaultAiConnectionForHire 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":"server/src/services/agent-ai-connection-default.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f251c274a9b9491190ad71e2172254f155b29efa338e54c98285479dc1b23a83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensure (cyclomatic 14, cognitive 16): ensure 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":"server/src/services/agent-avatars.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0802ace4b1cd19781aacdad809ed3aa4491bf0bc923245509404591ec25b51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitCandidate (cyclomatic 14, cognitive 16): commitCandidate 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a030fa37214f93ef82e45869970e6780379204ffc2815fd45abb3903d99c3cdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeTask (cyclomatic 14, cognitive 16): authorizeTask 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e589ccaa9fba4d6af2e987e33cbfa53ace2bbd753efab5415625cb594f75b4"}},{"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":"server/src/services/heartbeat/runtime-execution.test.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5cadbdb779bbbaba446cd7de01abb4328d61e1e7a40c39e4bb11b53f4149b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listBlockedInboxIssues (cyclomatic 14, cognitive 16): listBlockedInboxIssues 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":"server/src/services/issues.ts"},"region":{"startLine":6795}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0fcd8bb73e18747da076c3ba2c561db5cc4b0e5bc9b60bba91344307e6c2c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveOrphanedNativeWorkspace (cyclomatic 14, cognitive 16): preserveOrphanedNativeWorkspace 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91d88ad31b1616f172b18b969ca21d5e178a00c2cab26e77163e9a3b362ce19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverReferences (cyclomatic 14, cognitive 16): discoverReferences 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21562cdc8bb03ae7a371b38b82b082174658005718427260400783cc94efe40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 14, cognitive 16): load 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1784e248eb00bf8a6545402200c7b5f1ae9d2808fdd71cdaadc1f7197b7721"}},{"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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3266fdbb3c7710c6d0548d127aa8d6cf4cafee0aa0c98cd5d3077e437a1b37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sandboxProviderFailureLabel (cyclomatic 14, cognitive 16): sandboxProviderFailureLabel 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"982aa28c07bfd1654dcc774da97d93c1e3877e45429afa85bc8a7d1c629712fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewRemoteImport (cyclomatic 14, cognitive 16): previewRemoteImport 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":"server/src/services/secrets.ts"},"region":{"startLine":4396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4aa222093e08288c87edfe8b85eb9ea5dc5a746cc529108dad8446ef12c400"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retire (cyclomatic 14, cognitive 16): retire 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":"server/src/services/skill-package-work.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"197ef5fc09d56a9ea8ac7cb10789e2c2f064a4c4eb1e86e1615593be760b6ff3"}},{"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":"server/src/services/tool-access.ts"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8841d9f5349533af405e775b872e919880de927cd141675e33f78cea390dcd1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProviderFaultRestart (cyclomatic 14, cognitive 16): parseProviderFaultRestart 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":"tests/restart-chaos/acpx-provider-faults.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7e5564520945001e0c8da1778a9a1ec31718413dfd174e5994b58925292f50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 14, cognitive 16): act 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":"tests/runner-e2e/chat-catalog-domains/identity-company-models.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b863b03f0fa0560d77f2a9081e455f904f69bea0e823eb43be7c6a9a9b751ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRunLiveStatusPatchFromPayload (cyclomatic 14, cognitive 16): readRunLiveStatusPatchFromPayload 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b0a31f8a044dce9ce22b020aa817bee964ad670f7fa367af56414def595c04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveIssueWorkspaceGroup (cyclomatic 14, cognitive 16): resolveIssueWorkspaceGroup 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":"ui/src/lib/inbox.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5cb1e7df779f22e5a8d9571ff4c8c06cb0bcbce42c9b97a2e043b158485d6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureServiceShim (cyclomatic 14, cognitive 15): ensureServiceShim 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":"cli/src/onboard-service.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"80615109c4cc593f7ad08a957f82ab30cc21db86f960f594ab19cbc4e0f1b70e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directoryMergeLockDiagnostics (cyclomatic 14, cognitive 15): directoryMergeLockDiagnostics 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f0c0db83adab4f286a8205677ecbddc0f4fa351f932034f723028e27e11106"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSetupTokenLogin (cyclomatic 14, cognitive 15): runSetupTokenLogin 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/adapters/claude-local/src/server/setup-token-runner.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4205cd81422e47a9ab1ddf222fca89cd7115debb17915149d87eef4d66e2cd01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureRemoteOpenCodeModelConfiguredAndAvailable (cyclomatic 14, cognitive 15): ensureRemoteOpenCodeModelConfiguredAndAvailable 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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d31bfcd9716adb4e61fab5744a93ab1e4130b14a1b330806f78ab2ff34bd35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/test-postgres-owner-process.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1d0b68687b4deb38248173fa8b0e033f62bab4ce10f1c809a4c6ad98983f39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestCard (cyclomatic 14, cognitive 15): RequestCard 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/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1fe811649de0302a8f09110285814aa219f98dd29332c5ab91b50031d8b919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readHarnessConfiguration (cyclomatic 14, cognitive 15): readHarnessConfiguration 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"624fda47e17715a86a76ce4590a9d2869fadf1968f2e21a931406e3009756cce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startTurn (cyclomatic 14, cognitive 15): startTurn 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"90094b099d276074a4c5c447c8fab2ee260fffae061a5cc6d8fb1dc6e1171128"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #open (cyclomatic 14, cognitive 15): #open 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c5701b5fd14c2aef3bddb31d7b59f874e45f62dd65f7c74880bc67d328b4c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 14, cognitive 15): fetch 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/paperclip-runner/src/drivers/opencode/interrupt-empty-response.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"233c1e65ad0e47d436714e4b89aa191c1f4e19c08aed58c667b21cc892c6c347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #recoverEmptyResponse (cyclomatic 14, cognitive 15): #recoverEmptyResponse 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"83232e174d214258eb85146972d4affe3ba161f512f594df795100f8ccbd6b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoveryEndedWhileAdoptedRunnerHangs (cyclomatic 14, cognitive 15): recoveryEndedWhileAdoptedRunnerHangs 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/paperclip-runner/src/live/runnerd-codex-transport-remote-retention.test.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fa9d652361c2a58f0c3aac8de45a97c123909390153a5ec903dea16dffd919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #releaseSettledRunner (cyclomatic 14, cognitive 15): #releaseSettledRunner 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4901}}}],"partialFingerprints":{"codehealthFindingId/v1":"26599bc2910df421767c8b3975fdb98aeb1c14374e4d0dd5f79502c9eba31a8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseAdmitted (cyclomatic 14, cognitive 15): releaseAdmitted 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":"scripts/cloud-release-admission.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2338f1b02d0ea45b8c52703c2037292d205e2e32eb314adfffc57f1eece094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function imageExists (cyclomatic 14, cognitive 15): imageExists 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":"scripts/preview-artifacts.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"23efe304991e60dfeb6c70bef5194acb45aa3e637893af310965fea7d222651a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function comparisonFailures (cyclomatic 14, cognitive 15): comparisonFailures 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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"37298c2d121bb68c583e590554217732322a3f7975cc5fc3352af44647987a7b"}},{"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":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1820cdc8a9bdc36998b228bd3abaeac89def2351afb9967ba4bd55247d506704"}},{"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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e13a172e5decd601f8290da6610e7261597b9d8b68a2f933c533819dce2c68"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":17991}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e656c8cd0478503d371314177d30344c31f94ccc9c618cfeaeda3e7ef59eb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreDurableAgentFiles (cyclomatic 14, cognitive 15): restoreDurableAgentFiles 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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a0f2760c1462fc428b1584f4b8a30e6aa7b4a678e0b2a6346e1005dc1f58ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectStoppedOnce (cyclomatic 14, cognitive 15): collectStoppedOnce 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f97c8d4e0c9cfbb68ccff1c666851074f2a5ed0ef46bddc2c66d98f65b0347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 14, cognitive 15): list 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":"server/src/services/browser-use.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce287bd7485e8ca137eaeb0cb6a5b0e7288366f180423e4d019a83167ee8120"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPortableCatalogProvenance (cyclomatic 14, cognitive 15): readPortableCatalogProvenance 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":"server/src/services/catalog-provenance.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e83c04fdcde50cd13f0c34ea6f2533667d95f9f442b0322db5940bac943cbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireDiscordGatewayOwnership (cyclomatic 14, cognitive 15): acquireDiscordGatewayOwnership 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":"server/src/services/chat-channels/runtime/ownership.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf02c200f9cf13afd8662451be2bbdff5832bbdea581c1beed30c1a0d111df5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSlackFormNormalAck (cyclomatic 14, cognitive 15): reconcileSlackFormNormalAck 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6da4ae1d7918faa046061403c5a0f2e57779e253e7853b01411e353c4df13a"}},{"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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9267f12d01b0058427fa05f7bcb2560a64fa27bea33b9a39fad85ea8d70651de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readEphemeralServerDataEligibility (cyclomatic 14, cognitive 15): readEphemeralServerDataEligibility 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":"server/src/services/ephemeral-server-contract.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"490205de0aa020c6e44a9c4ca8c0f5f3eae0ffb06fa9669362fe946365793c9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGitHubOperationCredentials (cyclomatic 14, cognitive 15): resolveGitHubOperationCredentials 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":"server/src/services/github-operation-credentials.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb2bb01653d0cbf5e809c409cffc1507960e4cd5afa50eefbae8f38f788fa16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferHeartbeatRunStopReason (cyclomatic 14, cognitive 15): inferHeartbeatRunStopReason 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":"server/src/services/heartbeat-stop-metadata.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd88dd8ade812d49428851f3a05a086dd1a1be401044d53c7e3d25f8f50304f"}},{"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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":5357}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d52f646761907900dafb4ee7cad19339bb6cd18e204c01fd5fe95cab1c425c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWarnings (cyclomatic 14, cognitive 15): buildWarnings 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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfb3a71cacd217066c1eda4b215f7807269c4f73bbd85cd27b2a5cc29047dfe"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":10294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d177d9ca20fcbaa9800a7c47c543c005bbfb5cc4b7dde0a6d63f93037b45a486"}},{"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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3cb78706f60a1a8d91cc35fab596448c6dff0b0342a82fe32ef23dfaada513"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireObsoleteNativeHarnessBackup (cyclomatic 14, cognitive 15): retireObsoleteNativeHarnessBackup 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":"server/src/services/native-runtime/native-harness-backup-retention.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e9e9ccf139fb8badc8943fc35ee0c14eb95c0ca52ab748104f643d96d6563"}},{"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":"server/src/services/native-runtime/native-response-publication-receipt.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff41d3ae28a7f119d17a71ffc38b39412dba9179dea6fb2c12c3c2be5b938b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreRemoteBootstrapCheckpointForRecovery (cyclomatic 14, cognitive 15): restoreRemoteBootstrapCheckpointForRecovery 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6934}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa863984a357d1815f44326a0d10c8b224793e38682cd862c8ed0de2184e85bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePluginSandboxProviderConfigSchema (cyclomatic 14, cognitive 15): resolvePluginSandboxProviderConfigSchema 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":"server/src/services/plugin-environment-driver.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eac19a97d19a87c343e7f9e9797c2c076faaed367daf8f40f918ac4f625a5c1"}},{"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":"server/src/services/remote-workspace-migration.test.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24d35c195b8b6a1168ab7e6ce651721bcf5070b74ab30bb165ce91a77a9b6a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDocument (cyclomatic 14, cognitive 15): updateDocument 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":"server/src/services/resource-memberships.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b647f77a7cd94bf6fe55486cdcdd7b7ceb1c03bf04aeb5bda3749b51cccf259d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillSourceSetupContext (cyclomatic 14, cognitive 15): skillSourceSetupContext 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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb569b1243f9c7b267fb399622ce373d7e9a489059bf83843c70e5b97887a61"}},{"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":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafbfd33994442587313e0fa33e103d5877d9a73f719130448e7a3b71051c422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateReusableWorktree (cyclomatic 14, cognitive 15): validateReusableWorktree 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca44040dfef763a347d606f26ff6c70b22f0a8639265a5668760a1b8590f9bc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deadRunningRun (cyclomatic 14, cognitive 15): deadRunningRun 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":"tests/restart-chaos/grader.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb5b26503a5a2d0c68553d6aeae57c3d1a0718bc9305b3846f234077b6463bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeAgent (cyclomatic 14, cognitive 15): removeAgent 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":"tests/restart-chaos/hosted-setup.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7df1f28560c093c2421ff96f74d40fac328f5ffc8aab29fbdf151309425eed3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmTrigger (cyclomatic 14, cognitive 15): confirmTrigger 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e1f4d2f4ae3d2acf6fc1ef55d4f0eaffa426f7c3a9c2c60eb99fd2c7621927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approvalStep (cyclomatic 14, cognitive 15): approvalStep 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e35522a561534819d70d6a661e66ec078c44f3029f1a238851d3bd31cee60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeGrades (cyclomatic 14, cognitive 15): summarizeGrades 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":"tests/restart-chaos/release-swap-grade.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d754b792bd3ac6c101260fbd7a149a9044b4144ff83502c0563314f3fd84453"}},{"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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe9518b7734a95ea96b0bae24e3020fd65457e30ec6079353b0058096d7a5f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPrivateGrokOperator (cyclomatic 14, cognitive 15): runPrivateGrokOperator 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":"tests/runner-e2e/chat-catalog-domains/runtime-grok-operator.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b01dab91fff6108e4f1aa99d8f4acd4062f7ffd84acef5f6677e28dec06914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isolationAgentRunSnapshot (cyclomatic 14, cognitive 15): isolationAgentRunSnapshot 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":"tests/runner-e2e/product-journeys/company-access-contract.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d985ae674e58ecb592938c8d4efc6be2a31155af03a0f8d0e55aa22ad60a7a95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureApiState (cyclomatic 14, cognitive 15): captureApiState 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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"de23433a65b73b13143af0124456e1527f9757c03ba772d817b4418f68ff7f3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function metaParts (cyclomatic 14, cognitive 15): metaParts 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":"ui/src/artifact-directions/directions/d4-hybrid/kinds.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aa14a8ea70d1c52c175ce8859b1441b79dc462811226fca62932a5d2da1209"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectManagedSubscription (cyclomatic 14, cognitive 15): selectManagedSubscription 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e065b79078954a3f1b72c2f3c27e82e8fd77fd47ad12a7f6fb79117645e604e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineTriggers (cyclomatic 14, cognitive 15): RoutineTriggers 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":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"13595bf806b01ed85145a34d57b3351f81918b6a323657b303841f47a0bdf156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTurnSummary (cyclomatic 14, cognitive 15): buildTurnSummary 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6336256c5726b9559d3a306c178251175d4d88c91a909cb4cb535e8fd86d8622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectLauncherItem (cyclomatic 14, cognitive 15): selectLauncherItem 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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9f37cc890c43364bbacc1304d760266a065dd5d1a7feaecb7e077be5a0f640"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskVoiceLauncher (cyclomatic 14, cognitive 15): TaskVoiceLauncher 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":"ui/src/components/voice/TaskVoiceLauncher.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0920107ed450e9f3eeffeeca4f86feb710f1545df77764baf052cdf293cdfa26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyOptimisticIssueFieldUpdate (cyclomatic 14, cognitive 15): applyOptimisticIssueFieldUpdate 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":"ui/src/lib/optimistic-issue-comments.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e136c15002fd6d11cfbbdb673a1cd55cce15b952019a7a87dcf69ce094eb2fd"}},{"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":"ui/src/lib/qualify-claude-setup.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9694899b26cacff210d71d7b1229cb524045a5812e0160a476d0fb21a8d2fd37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 14, cognitive 15): onSuccess 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4688}}}],"partialFingerprints":{"codehealthFindingId/v1":"347f06bbb54f85e949bbefd5386376d4700a59c7502a1cd670caf7a9ec1a2ed7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 14, cognitive 15): onSuccess 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":4652}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ce07d2b8cfa144041655dbb86ca8c59830422d1dc7c26c118149bc294a5fa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startSandboxCallbackBridgeServer (cyclomatic 14, cognitive 14): startSandboxCallbackBridgeServer 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05303760b28fa0d644d1937bc6ff00f6869ccb8c9f3de387f6a62f0cb20c13a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCodeEventStreamFailure (cyclomatic 14, cognitive 14): openCodeEventStreamFailure 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1e5602a0f52ab77ea392c07f4bddfd2ec00663b408afb0c7ee9d8156e4ed8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestCard (cyclomatic 14, cognitive 14): RequestCard 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/paperclip-runner/src/react/request-card.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5c23b37d03fcdd312dc32bda733bbf71a9817359eb2050e839086fb7d833f3"}},{"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":"server/src/__tests__/agent-observability-test.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf5c93e5b8cac99c15f5842f82fd2f50ddee868e71bfdca7b48a947266358f8"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":41975}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c827ffcdba5e0a7bc2b6b2b3c65b53f43e0c9e3cabe6d5cdaf67f3b1c9c254"}},{"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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bae1746f5ea8791bd33237dd852ff8ee1b66f64c5be2e8a18caad738dfe850"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 14, cognitive 14): seed 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":"server/src/__tests__/question-response-delivery.test.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f33e6c8e1e2fd7b6e0cc8274052bfc5eafc17bc483a5af166ed03c65eacd696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 14, cognitive 14): act 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c6f29095b74dc630fed44eaff41a5575f1a6322d73b5337f011e6685d028f9"}},{"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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf46a39561ee96842f4a481f62fee8112ad5950595ffa22b57911a8db82a7cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePaperclipRunnerAdapterTransition (cyclomatic 14, cognitive 14): resolvePaperclipRunnerAdapterTransition 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":"server/src/routes/agents.ts"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"1622929b78947301aa4e5ab3cde7dc1f376d56fca9a587c3a9a806eea7e1233f"}},{"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":"server/src/routes/company-skills.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9591d2114be56b9d401d99035310e865c542f9b8299d6b2108ef213486aa1e"}},{"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":"server/src/routes/file-resources.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2787f979978454832c38e8be7df830adac28dc6885f21d4fa4e70682d1d385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertExplicitResumeIntentAllowed (cyclomatic 14, cognitive 14): assertExplicitResumeIntentAllowed 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":"server/src/routes/issues.ts"},"region":{"startLine":7282}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3765973c31c814a0a846cdb0dfcf86fc9b1e6b4f82e5bc29350fdf8fd20a14"}},{"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":"server/src/routes/tool-access.ts"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e88edfea69b597a26ebda43642fdd9a851600061e837123deb2e967d0f18193"}},{"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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3d99d06e075beb4cab09945f1dca8fa3bf0d4a308371f994b8e390e8510422"}},{"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":"server/src/services/chat-discord-adapter-patch.test.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aebc5f41f0ea7bc8bc979f0e4d1763bc971f3ed612d7b51f9e6e19c847473a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLegacyCloudRuntimeConfig (cyclomatic 14, cognitive 14): readLegacyCloudRuntimeConfig 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":"server/src/services/cloud-runtime-config.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bface718a2ba45e7f65809ba2c4d725d2b579e65447003e6970f0eadfa372bdd"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":4887}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca323bef8aa4fc4a257390297c7da5a29ed6e1c6c1f9c78cfb1691eaad88964d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyEnvironmentCustomImageBootRelevantDrift (cyclomatic 14, cognitive 14): classifyEnvironmentCustomImageBootRelevantDrift 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":"server/src/services/environment-custom-image-runtime.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2083cc5e1fb9f88e67f5ade238dbddc180f1024532b905db8f9bd94acac28be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseRunLease (cyclomatic 14, cognitive 14): releaseRunLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5b866b53dcf37eee7402e0f3fbe4a47d8131204a6f3a916794a55c1e3d1bab"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ce7985b64fb4dcd1fe84d65cc6f799ee9b953d58aab771721d293e1ca802af"}},{"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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c7e096f77587afdbad24c0864a5e37c7f44f48b9c17dcb00cf56fb502dc05f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNativeAttentionStatus (cyclomatic 14, cognitive 14): resolveNativeAttentionStatus 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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b163877486290322cd04c5c475ba9a6624acd443c0050a95b9033d404b26989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedRecoveredPriorRun (cyclomatic 14, cognitive 14): seedRecoveredPriorRun 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":"server/src/services/native-runtime/native-recovered-owner-followup.test.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86aff4dd26645cf46b174f4cadd612f87569151aaee100628968fc52abd3be"}},{"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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9071849182ef5b8f2f08ee0930f0e244425ee192ad5345c81f1dfe5cd5e60c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePluginMigrationStatement (cyclomatic 14, cognitive 14): validatePluginMigrationStatement 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":"server/src/services/plugin-database.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f37d84158f1a24960ebfa7f44f74be8103d0fc73238e7f711d3625d48a2392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertBinding (cyclomatic 14, cognitive 14): upsertBinding 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":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1acf4bfef029b2666d44a3c08b633fd09f31a4c6ac8d130ba138874985677b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSkillSetupIdentity (cyclomatic 14, cognitive 14): projectSkillSetupIdentity 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":"server/src/services/project-skill-source-bindings.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"33baa1657e81562cda681ff4de1366c21f446ee2c7898545b29838ccd93b3cd5"}},{"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":"server/src/services/run-identity.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d08c424cabf2e320a8e5532c9f4bd2c4bca8c1930fa74ef2714db1f3154f88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUserSecretDefinition (cyclomatic 14, cognitive 14): createUserSecretDefinition 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":"server/src/services/secrets.ts"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa50823507f17d33895d7b19c66d7ef579d0ed4313b8bc72811045cbcfef226"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateStatusCardPolicy (cyclomatic 14, cognitive 14): evaluateStatusCardPolicy 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":"server/src/services/status-card-update-engine.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ae8eb075f19f7ead203070af8444ccd43466e832626f0303bc98bf52064aa9"}},{"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":"server/src/services/workspace-recovery-admission.test.ts"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc91f240100a467faba0baf11cd81d34294ca2f37d2180f6665f1380a886851"}},{"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":"server/src/services/workspace-recovery-retry-copyback.test.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e5c89bac19778c387060ae8b16d37ed1d963978da2ab36388c0bbcf1a1e856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withWorkspaceSourceLocks (cyclomatic 14, cognitive 14): withWorkspaceSourceLocks 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":"server/src/services/workspace-source-lock.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc6d8a23387adeb8b92e502d09ab6316baf69f8436ed8156aa4d4bb350da866"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPluginStall (cyclomatic 14, cognitive 14): runPluginStall 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":"tests/restart-chaos/class-r.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da9ef8ccc183cab4b02093eb6b5858c1b5a7ff6175ce19868180755b61b6df9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 14, cognitive 14): refresh 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":"tests/runner-e2e/automatic-repository-flow.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ac36d25733d3ee2bb0d203033e3126e7d6913303602ed6a0d72a4700f6921e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectRepositoryFixture (cyclomatic 14, cognitive 14): connectRepositoryFixture 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":"tests/runner-e2e/chat-catalog-domains/internal-repositories.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a58774b8b8439a82112ae9cd3ecf4947b849a4e9eb86678fdb78482cdd95a9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 14, cognitive 14): cleanup 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":"tests/runner-e2e/copilot-active-stop-flow.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5fe8b11016c2e5db9f1432098cdd199d65624289a167986c847d276c7286b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePresentation (cyclomatic 14, cognitive 14): validatePresentation 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":"tests/runner-e2e/dashboard-regenerate.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"96755decc824660fd8df0a184dd5e35dad30833eede1f0baf2a1760231c79b97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRunnerE2EServerConfig (cyclomatic 14, cognitive 14): prepareRunnerE2EServerConfig 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":"tests/runner-e2e/server-config.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd83d8621b543fbf0319ec09a510a19ce83d5f911ccb68a44f67feca59e961a"}},{"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":"ui/src/components/DispositionRecoveryNotice.test.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d160ad870be7ddd0476ac50c70717bc3e70107ea04e9a59407feabd78f3c8520"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 14, cognitive 14): tick 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":6530}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c899e608274ddbc92b141b4335a345a6a1464e9d6c77976445bae38ba82bdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskAttachmentPanel (cyclomatic 14, cognitive 14): TaskAttachmentPanel 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":"ui/src/components/task-side-panel/TaskAttachmentPanel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e50ee6c01a887082304c945e067540c21aa978c448c6787957ae47742a38d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useTaskListCollection (cyclomatic 14, cognitive 14): useTaskListCollection 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":"ui/src/hooks/useTaskListCollection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8fa148f9b0060807c323c5db9e1bbea68cde7f45ad670eda917ca5ad65c6d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSubtreeLiveCounts (cyclomatic 14, cognitive 14): collectSubtreeLiveCounts 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":"ui/src/lib/liveIssueIds.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4c68216371dd0a184f51452ba7f8d6850170b8c200ac9d561bd8cafaca295"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditEntityNode (cyclomatic 14, cognitive 14): AuditEntityNode 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce873940f46f3694dbed4302647dd60e434d6fab5ea765c5fd1569ec7d7d35"}},{"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":"ui/src/pages/skills/SkillSourceTree.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ba9b5fc038bbeaef6489713159d62f77d7d91e3d7cf90a5e9ee92631252db2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureStartupStep (cyclomatic 14, cognitive 13): measureStartupStep 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac53d6d6b3deda5dead1b95efeb92d067edd61f87482c65d6c58970fd9b9cfc"}},{"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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4876}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade12a7eec48169713e36178c5dbc92f3ba843c672996d29bda9c04e91485556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSubscriptionAccountId (cyclomatic 14, cognitive 13): readSubscriptionAccountId 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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bde1837a3d15ac7d0e6087345703d0375f932072a1ae15d5e43053735834be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findExactDeviceUrl (cyclomatic 14, cognitive 13): findExactDeviceUrl 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/adapters/grok-local/src/server/device-login-parse.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50e599511fff2d68de6982491c9acce2d6a8eb5a176f24a9ebc9c90ad678492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueSummary (cyclomatic 14, cognitive 13): issueSummary 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/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cef03b66ab0768790f571e6d5045e4cf20a9984f386dc2079b07f97e6b538a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWakeText (cyclomatic 14, cognitive 13): buildWakeText 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce305676a7346be0141ce77729eb41cd52b534c798db89c57d8c54b28e71892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Composer (cyclomatic 14, cognitive 13): Composer 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/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac877c6734d85dee6b5da081909e13e0fe4f5c1843e2be110a85c6d707e5cda0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicArtifact (cyclomatic 14, cognitive 13): publicArtifact 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88375385e350a168b504a2ed8691d63609f4f972ddfa7ce38c53086fc99b6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 14, cognitive 13): constructor 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"987c104ec72f758613eb4c6b59e64344419771e30224096343ee129df29b9221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageClaimedManagedCodexCredential (cyclomatic 14, cognitive 13): stageClaimedManagedCodexCredential 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c693dd80922154c94ca93716de20e0380c412a7ec2ab5a50f762dd435a9b35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kimiReadOnlyPermissionAllowed (cyclomatic 14, cognitive 13): kimiReadOnlyPermissionAllowed 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/paperclip-runner/src/drivers/acpx/kimi-config.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9f1ca9a312359e984797c06002a75b018c8d17e0021a4eb884d129e75de8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startTurn (cyclomatic 14, cognitive 13): startTurn 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccfc34110c15f78a36d277a4e356ffa4994e3c546fdee252cfb78c94b0740d7"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.test.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"193984efb223e3baa2ddab3f0802c521083417f1f65694f4497ec2101a88575a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLinuxProcessStartedAt (cyclomatic 14, cognitive 13): readLinuxProcessStartedAt 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/paperclip-runner/src/live/linux-process-start.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec185613f1db3ce1e8c57f062aa2d3c378c495fd2c3a6ec715e7ec23908f85b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerDrainStateFromSnapshot (cyclomatic 14, cognitive 13): providerDrainStateFromSnapshot 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6ec5cdcf237874ba9107167a6c5a005c0eab61677e34f20f6dc061172d1ea8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehydrateRunnerdTurnNotification (cyclomatic 14, cognitive 13): rehydrateRunnerdTurnNotification 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a07a8eaa7d8f3d96f0c3ab0da8d7ac825255ca402c6fcad5789781d19351034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IngestTab (cyclomatic 14, cognitive 13): IngestTab 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3978}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae9cc95d91bb8a793aa903bef92674b574ca7640126f695e1ad55af50b9f48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withManagedRoutineDefaultDrift (cyclomatic 14, cognitive 13): withManagedRoutineDefaultDrift 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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21b008bf321026cf0b0d1a846f08fbad1b9443a6aa7b25117f3051a60d5a6db"}},{"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/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"607f87825bce31aeba3e32c7ebe1c73acfeb82951203a401a3e69ec0ef508124"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 14, cognitive 13): reset 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b5e0fc24e75d22f784197f1a6362f509a8e75bd57782be73913d9a3b44910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUrl (cyclomatic 14, cognitive 13): parseUrl 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/smoke/chat-webhook-ingress.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbffc1f994a89f7ecce5fc30ff18d82712c5f6ee03f72ec5739c07124725b514"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSanitizedAgentProof (cyclomatic 14, cognitive 13): parseSanitizedAgentProof 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/smoke/posthog-live-lib.mjs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"050f67d79986f75ccfee29e4230c5ceedce78590fa2d3233cd2b6e20e93269e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeConnectionConfig (cyclomatic 14, cognitive 13): safeConnectionConfig 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/smoke/posthog-live.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0d4b304d69d848e99ee9e4a0d1a0e8de7b024134a0f4b1b20ebb4df5c13e4"}},{"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":"server/src/__tests__/activity-service.test.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e952973edd422be6988da99c2a07b580c9130ea1800fcf4901c8c9c8cc2e62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertIssue (cyclomatic 14, cognitive 13): insertIssue 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":"server/src/__tests__/attention-audience-service.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74236d7884de2df30f258f5d41481253ee3b9fc597eaea729b9dddb25e4e721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createIssue (cyclomatic 14, cognitive 13): createIssue 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":"server/src/__tests__/authorization-service.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3166e2ee88b43face4127c32fd278ce80d14d4860ce3e7a054c75f7e940345a6"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":51608}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc155d29b84d17e8e226fd8dc7d0a032053618c2e41dc98df9c93f38ea55ead"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":70431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f9344c34437967aee5c38adc65097bad3bc3c9dce542e6d544ca2a93b1eb60"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":76464}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e9335aa57bff5e1aeee77c55b2dc801bea66c13d6ccc6f857a1dd8bbac2337"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replay (cyclomatic 14, cognitive 13): replay 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":"server/src/__tests__/native-observer-replay.test.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc97882dcb990935bc65c63a0f53113cdd6b17fa641bf96ba3d4f0276218080c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedFixture (cyclomatic 14, cognitive 13): seedFixture 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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2977aacd0a81dd9a966d8cf3e4d6d676c0d169c458b57db752e760873b6922c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordProviderPluginSpan (cyclomatic 14, cognitive 13): recordProviderPluginSpan 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":"server/src/instrumentation.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3d3eb385b932ea11d73c940d8cd4b2ed9295ced157bd05d2a1409162eef97c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManagedCloudStoragePrerequisites (cyclomatic 14, cognitive 13): validateManagedCloudStoragePrerequisites 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":"server/src/managed-cloud-prerequisites.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aab1b460f197f526f0d6d132f493477797ebd2495e16cf80026c5daa59676df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCloudTenantActorOnce (cyclomatic 14, cognitive 13): resolveCloudTenantActorOnce 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":"server/src/middleware/auth.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e817e9c63355d6e9c21cafbf1a61c474be4e21bb8abd5f217e7041433c0417"}},{"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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e71aa18068210ae95cc5180aa249b33be1bd0be44175d89c50a59cc029e5b"}},{"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":"server/src/services/activity.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6dc63dfdcf9a4dac8fa078a8a2567cf11b25373aa4c7933092f080b5f250d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAgentHireApproval (cyclomatic 14, cognitive 13): prepareAgentHireApproval 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":"server/src/services/agent-hiring.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"831a7209f8e9b813e1370d71a6579fb9421437e05a3dd174505e2a3d68d434aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function humanGrant (cyclomatic 14, cognitive 13): humanGrant 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":"server/src/services/browser-use.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd60bfcf6c596c5339347bd520b7d89ff5baf196ed1c83ab8001f203f1d569a"}},{"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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab815fcedf81e72fdee76dcb249476edd4ea4b81dd796ec60664fa30f568d62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 14, cognitive 13): matches 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":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15da7e7c0a290ac729a8de55b30a28d1eadd6daadea1a4ecd4132f3a47fca35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 14, cognitive 13): matches 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":"server/src/services/chat-channels/github/terminal-response-work.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c22b31b66647a8716f7f0e6ee2cd33feb6713cdae15870f1b7945d5db026604"}},{"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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7b4f9dee3d9358d7527522116a56367f336c79d7c5200509b13f87d4bee7ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchSlackConfiguredCoverage (cyclomatic 14, cognitive 13): matchSlackConfiguredCoverage 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":"server/src/services/chat-channels/slack/configured-coverage.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"56506866722d382909fbcd251b6b84b09cd45392179b14456c7ba202bbdbe62c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 14, cognitive 13): start 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":"server/src/services/chat-github-registration.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1b9e78a0590c71d2245d94d7565b17c38ce6f17a96548ee3e0d4f806153d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferLanguageFromPath (cyclomatic 14, cognitive 13): inferLanguageFromPath 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":"server/src/services/company-skills.ts"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8d90dd3bb031f2fe79d268edd845630fe88c54a361bcde583d8ff3c3cf96e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSkill (cyclomatic 14, cognitive 13): updateSkill 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":"server/src/services/company-skills.ts"},"region":{"startLine":4554}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba5e1d5a8d19071ef7e91c15523db868e5356f165e62e860002f10fd90cb8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savedChatSetupPath (cyclomatic 14, cognitive 13): savedChatSetupPath 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":"server/src/services/connection-intents.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"da953658d6264138361f41d1fc2ec163d603459084d2a77f28dcf4fa049651d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeTestMessage (cyclomatic 14, cognitive 13): authorizeTestMessage 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":"server/src/services/connectors/slack/test-message.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebacf19104a73bf23b0cd6df659bd9a7ae719d038526d9f9e729fa46d8f5d38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toSession (cyclomatic 14, cognitive 13): toSession 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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea98353361c41ab696f4a2fba2fcf19d5e239ffe8478af75b21706c50e13b35"}},{"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":"server/src/services/environment-custom-images.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc23de628dc68b45f275a8012b3044e6fe32a4382475e2abd4ad89369b355bf7"}},{"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":"server/src/services/environment-run-lease-settlement.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3700272a90ddd9a775996c87b72e1663040c5835c55e09d04fc67f81e1ece64"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f36c20031cafbb63a5f50cdfd15402665d914fdbd55716bf4ca0c884e3fc3a7"}},{"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":"server/src/services/fast-responses.ts"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29f7d9f7553dbdf3a5d421722f84367377ed1681e1d68bd74ee48d18324f963"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summary (cyclomatic 14, cognitive 13): summary 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":"server/src/services/finance.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"277f308179a1f40b4c4288619c81123457e5f51c2f43aa97d114cd9330ce93b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureRestorePoint (cyclomatic 14, cognitive 13): captureRestorePoint 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"090fcedf3bae0ea414bad1aacf2319d1f8d5707d9e64206d8a76ca8de41be25a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 14, cognitive 13): resolve 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":"server/src/services/github-link-preview.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad92b982a8e51e76a2660e36b18897b8719aa754f4568f21d1042103c8c6c2b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferBlockedExecution (cyclomatic 14, cognitive 13): deferBlockedExecution 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":4003}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7375556f6248119b772fea6f6b5a477ff7f3f0485d45785de23b92a24d3706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordWorkspaceFinalize (cyclomatic 14, cognitive 13): recordWorkspaceFinalize 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":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef5129c8c935c07442f384187ac1b3d11b8395e640aaa480c07d2893e53d130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function heartbeatTimerPolicyIsWellFormed (cyclomatic 14, cognitive 13): heartbeatTimerPolicyIsWellFormed 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":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc56462fd17b6a050511fcaec0c0e5d856fe415da6f12661e47466f31a995212"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueIssueAssignmentWakeup (cyclomatic 14, cognitive 13): queueIssueAssignmentWakeup 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":"server/src/services/issue-assignment-wakeup.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2530168eec493e89383a4afb44fae63bd9bb72845dcdfa4ab4d7f46eb4ebdc0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInsertValues (cyclomatic 14, cognitive 13): buildInsertValues 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c92c00dc6906eab44ec8f3773800b063de942da6e61f526a4e2d2874934ac93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createIssueBlockerAttention (cyclomatic 14, cognitive 13): createIssueBlockerAttention 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":"server/src/services/issues.ts"},"region":{"startLine":3691}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38773da049d8fc926d7b02ed5e5653fc2d8dfd6c8fdf02ddcdfe1670b04aa77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsert (cyclomatic 14, cognitive 13): upsert 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":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c0671af8d729bd37d1b43eac4e0aa0578ff504f0cae86dcfa89de487b9b7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeLegacyMcpHttpSession (cyclomatic 14, cognitive 13): initializeLegacyMcpHttpSession 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":"server/src/services/mcp-http.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64a5d7f2b4a91ec741ce37da4cb4ecb1f8e283858a9e4928593b00e435012c4"}},{"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":"server/src/services/native-runtime/historical-task-questions.test.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7447db0de3af74723c2708a40718e63e15b26a7b1fecdd4acefaa1ebcdd0240f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeNativeCaseTool (cyclomatic 14, cognitive 13): executeNativeCaseTool 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":"server/src/services/native-runtime/native-case-tools.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf9ff046cf3222d3b19f59646b7b6a0f9bc3508be11babbd6c813fee49297a6"}},{"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":"server/src/services/native-runtime/native-permission-decline.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db91ea5f10a85f2a4d2e045a556721b9421bb47d4c980749cc768af879ad922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function historyEntry (cyclomatic 14, cognitive 13): historyEntry 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb050d3e2fe0fe09eed0e08e02c03ea2449ad5617cc11b9ebba6f25355bf187"}},{"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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8e66480731a4bc8583470f9e53395ca374cd774c52a9975aae68b1868b0eaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSafeRemoteCheckpointArchive (cyclomatic 14, cognitive 13): assertSafeRemoteCheckpointArchive 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":14719}}}],"partialFingerprints":{"codehealthFindingId/v1":"db877b8a529d024f0d0db5f90cc22de8567caa1af594a48f73923bc08d06eca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRunnerdBackend (cyclomatic 14, cognitive 13): createRunnerdBackend 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16057}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181c35d78201de098e500d76aaa8e7d2cedba1ee5ef522bcad36ff5f6b12468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageProviderPackLayers (cyclomatic 14, cognitive 13): stageProviderPackLayers 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":"server/src/services/native-runtime/provider-pack-layers.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"15caded676c824f558efd6bbe5b6c2806c7d4d3a7b59a4ff494563e73b8dc9ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectPaperclipRunnerTaskConfig (cyclomatic 14, cognitive 13): projectPaperclipRunnerTaskConfig 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"10575ccefa57f13b0ce8a1d6cc3652eb3b8e69d90a8e07f217c4232b103c5ff7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeRunnerUnsupportedSettings (cyclomatic 14, cognitive 13): claudeRunnerUnsupportedSettings 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa830f3d4a6218cd77130a3bf256b964ed27cc5935074555320848b24ecd140b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProviderPackUploadSource (cyclomatic 14, cognitive 13): resolveProviderPackUploadSource 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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff00dd1a432d26832aa26e5edd19460bfdc7a1a93ebcaa294ecf25b7ce39e72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerApiPagination (cyclomatic 14, cognitive 13): runnerApiPagination 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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec05add9c44d6548764ce72791fabcc4aff288d84aa94bbb5e241385faadaf0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSubtree (cyclomatic 14, cognitive 13): getSubtree 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"044236246d5383b513b4332e4c64cfc3e60ac6df5972b44cd836f350e383ee4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRoutineDefaults (cyclomatic 14, cognitive 13): buildRoutineDefaults 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":"server/src/services/plugin-managed-routines.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c475ad48c9eb351e058229448fc4ec9e0d43619cc54e0411c1e550addc898bc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 14, cognitive 13): reset 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":"server/src/services/plugin-managed-routines.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dba7af94b1fca3ed7373070aa6ad75f4969dafe0b54efdfde9c2780ef80b159"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 14, cognitive 13): transition 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f46bb8927eb818765d4cf54bd73731bcd92dfad8525bced5e74db65805b734f"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c83eab926d7fcc08663e570db562908b3505af5e94813e2f1ee5b9249cbd43f"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"170cce0b1abe0a759b4429b87223d5c80fd8caa777c1235a56c4acb794deacd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAgentSecretAccess (cyclomatic 14, cognitive 13): listAgentSecretAccess 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":"server/src/services/secrets.ts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2787759f1b7c80a52947bd7990b89a9691992a0b192b006525853dc7c56cedc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferLanguageFromPath (cyclomatic 14, cognitive 13): inferLanguageFromPath 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":"server/src/services/skills-catalog.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebeab23d3ef7256f4ce3d62580a5126a0ed984c161b18e86925f6ec55d2b108"}},{"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":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9275dc524428ac53ca4d20df399c73737289e5bad69d3951205bf67866b79845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isConnectionAccessProfile (cyclomatic 14, cognitive 13): isConnectionAccessProfile 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":"server/src/services/tool-profile-binding-precedence.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2407c0fb75976efdd1faf3bc93d6acb737dc31c289967b0d32f590754af08c"}},{"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":"server/src/services/workspace-recovery-backfill.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ef7b1d98ed1170e3c7fdbd35f58a3f1c877fe48429edeee6e5d39d1abf2104"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function personReason (cyclomatic 14, cognitive 13): personReason 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":"tests/restart-chaos/release-swap-grade.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141592aa618af73f68f2d4d24c598d95a7cb90151f97107f196030ebb2b89fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedCalls (cyclomatic 14, cognitive 13): completedCalls 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":"tests/runner-e2e/api-artifact-transfer.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29ac1e4a1a13ad2ac8cb02b586a8ac94298e56dc7f4336f41e0c3ebf2cef1e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usageCostUsd (cyclomatic 14, cognitive 13): usageCostUsd 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":"tests/runner-e2e/billing.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa740cff3226513be87e8c9ea9c3b700309a52e4ae1e3b92ca02480aa9cd431"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-receipt.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6ff36391d1b4564d8254ea32c81fb067375f8aa3e3b22cf5eefb39dadc3e33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeProviderChoice (cyclomatic 14, cognitive 13): gradeProviderChoice 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":"tests/runner-e2e/chat-catalog-domains/external-provider-choice.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f537d07f37d5f986ca8aa3e24c5b8488a9a1920652541d3d8564198f3fc5f566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function phase (cyclomatic 14, cognitive 13): phase 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":"tests/runner-e2e/chat-catalog-domains/integrator-routine-history.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d71f891c8b42864485f2598ede900a4051d701ac669100d2fe7dd98e3a50f2"}},{"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":"tests/runner-e2e/copilot-protection-settlement.test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"907307c7d56d9069d9dda6eb9fe5a2d60814d6a333c9f0e6cb7b6bf86000c1cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 14, cognitive 13): observe 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":"tests/runner-e2e/everyday-reliability-flow.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1b8355b53ae69725d14b659d4e3364b38d21d52a628cc26d47c3eae90d5f1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHiringTemplateFlow (cyclomatic 14, cognitive 13): runHiringTemplateFlow 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":"tests/runner-e2e/hiring-template-flow.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b24e88d171d7a749fe32573b4c0330f3213775a048dcb2f780c8bac43186439"}},{"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":"tests/runner-e2e/question-resume.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5d8989a7b9b7d1f75dadc02ac79b73deffac68cddb2e1b5a7fe2a1a4090a63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PanelCard (cyclomatic 14, cognitive 13): PanelCard 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":"ui/src/artifact-directions/directions/d2-tint/PanelCard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c76d0c5f3a0ad371e6f2f761ebe653aee81b24d1f13ec6132f286812797929"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseDocumentDiffModal (cyclomatic 14, cognitive 13): CaseDocumentDiffModal 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":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a80f3c97953f8cda15d79d2ac384b0962debf4cf7edc88876e4b709ad603be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CaseRevisionRail (cyclomatic 14, cognitive 13): CaseRevisionRail 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":"ui/src/components/CaseRevisionRail.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c352bca0dc1d37129d90c461426e8bef17167231a31b585760e09ba2523404"}},{"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":"ui/src/components/IssuePullRequestLinks.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607984ed86ffaad2efa58717c0a4304ee3a940296a693d12b2d84f698c5438a"}},{"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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c16c69866afee3ebef3d47aac18851e82b69e8f1a8769cf87752af3c53306a"}},{"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":"ui/src/components/RoutineVariablesEditor.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f354323157a54cb463dec05d278333af89c2d74d8e11cce4794bd5d09b4de1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionCard (cyclomatic 14, cognitive 13): ActionCard 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":"ui/src/components/actions/ActionCard.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b025c600c045e929770faaa2ff6a0ea7a0f9c3b8abb87d60b8ae226eb38e6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overageSummary (cyclomatic 14, cognitive 13): overageSummary 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":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad170f3da641a69292a42776f91ac4f9fb9c134c5e9edc7d12e519b6607978d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MuseConnectionChecks (cyclomatic 14, cognitive 13): MuseConnectionChecks 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":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4361af8ee47727a63db3d4c71952ea1465b9e65129934cafb5f742d5b727040e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectSkillRepositoryRow (cyclomatic 14, cognitive 13): ProjectSkillRepositoryRow 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":"ui/src/components/skill-studio/ProjectSkillRepositoryRow.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4af474d80246e9ade0d0b635a1ee01740117ab90fbe77ce8757cb1cb6dcc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectedAppSkills (cyclomatic 14, cognitive 13): ConnectedAppSkills 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":"ui/src/components/skills/ConnectedAppSkills.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7b134564fa4dc4ebb070b9afe0e3524f3418d8cb37026e399a7ff675b9ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatDescriptionBubble (cyclomatic 14, cognitive 13): TaskChatDescriptionBubble 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":"ui/src/components/task-chat/TaskChatDescriptionBubble.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6dc164d8746bfc3064f3fb645f1b05afb29a3ba92aa21882f447c55c543999"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunnerTurnStatus (cyclomatic 14, cognitive 13): RunnerTurnStatus 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":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a82ef8e40772b2c8495646771cd92886bfee19954767f31776c49e8368ef66b"}},{"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":"ui/src/components/transcript/useNativeRunTranscripts.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ee4d544e5a934fe532cc024977b4ce85a741329fcaf16cf05671d48e9356a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpekoIncomingCallCard (cyclomatic 14, cognitive 13): SpekoIncomingCallCard 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":"ui/src/components/voice/SpekoIncomingCalls.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fbe8f1946286aaefbf8ee6c49d4901259e8d4ef3fe018c1ad040bd69870075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeIssueQueuedCommentQueue (cyclomatic 14, cognitive 13): normalizeIssueQueuedCommentQueue 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":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c738bb9a17a668357a1b1544bbef413476ca7b5ebbadce0afa104aecb552b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentCostsPanel (cyclomatic 14, cognitive 13): AgentCostsPanel 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":"ui/src/pages/AgentCostsPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b581934db62dacd07211aa51bb260cba79b07e2bc140142ebd10db586ab26fcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentOverview (cyclomatic 14, cognitive 13): AgentOverview 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1a0e6956c09f7d6405017a066fb683a2bc637c61cf3d3aa78cd607c38a6a2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Approvals (cyclomatic 14, cognitive 13): Approvals 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":"ui/src/pages/Approvals.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ea041bc639d446e9c6f0692cd511b2ca7d3f8d968167264ce947fe520511c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BoardClaimPage (cyclomatic 14, cognitive 13): BoardClaimPage 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":"ui/src/pages/BoardClaim.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0676cc3a33df36bb489ab558fccf7e4da0466b51cf2556292e61043f998103e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExportPreviewPane (cyclomatic 14, cognitive 13): ExportPreviewPane 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b467775f1bf747200516d02d8203ad2b75df1535badad8723d7dc050c6e819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueDetailLoadingState (cyclomatic 14, cognitive 13): IssueDetailLoadingState 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"1530b3b706ba7f7fef61decd3297754fb43e99d45007d06a37f74996115ca3d4"}},{"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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b70df5d7d984601f637add7d3afe1fd132c456e588ce9016c4f771efd98de1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentSkillRow (cyclomatic 14, cognitive 13): AgentSkillRow 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":"ui/src/pages/agent-skills/AgentSkillRow.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"176085f24372a09a439d0b30926f0abb0a801a5f4fa7680b9d9ad88068683954"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReconnectForm (cyclomatic 14, cognitive 13): ReconnectForm 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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d7001a13df06c0e36c639594b21582dc9b73137e3df2c3f15d9ec124ddb484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GatewaysList (cyclomatic 14, cognitive 13): GatewaysList 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":"ui/src/pages/apps/gateways/GatewaysList.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"be41052933437765bd33aa303c69250179f6a3147c67c4b5efc544434acac7d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TokensPanel (cyclomatic 14, cognitive 13): TokensPanel 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":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7d695338f1ae905ce5c3d95541ae4ad848a48ece7b74a470b9dcbbb977c86a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function effortChoices (cyclomatic 14, cognitive 13): effortChoices 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":"ui/storybook/prototypes/composer-model-picker/fixtures.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e8a7024ac1836651c818893a3bfb7a7597d9f26951e0e8b4202673cbcb644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MailEvent (cyclomatic 14, cognitive 13): MailEvent 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":"ui/storybook/stories/chat-channels/agentmail.stories.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbed81e19668e6f0c10ef58f76f2e8e5075e22cdad6ba05e0bd70a4d9ab4781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summary (cyclomatic 14, cognitive 13): summary 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":"ui/storybook/stories/tasks/external-objects.stories.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"50323e83cf7795c8e17d3a0fa2e3df177bf5e98a34ea42c3dc29075536c88092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Proposal (cyclomatic 14, cognitive 13): Proposal 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":"ui/storybook/support/design-proposals/BulkAgentSettingsProposal.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e246db5a7c197f98fb19f48327e291aba6fbfde705d99bbfda14a3a469dc092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeState (cyclomatic 14, cognitive 13): makeState 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":"ui/storybook/support/primary-agent/PrimaryAgentStory.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a7ac1489c0625c8bcd23cd1b84baa705413019236d6ce54dcd15813042ddae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAttempt (cyclomatic 14, cognitive 12): runAttempt 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/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f2b3c325fa634e822fa83453fee7ecf563e3009975548f1f4e31f62465ef15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preferRuntimeAdmissionCleanupHandle (cyclomatic 14, cognitive 12): preferRuntimeAdmissionCleanupHandle 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b448175261c70c938797209929570d646cd32233d76da4ec77ae539e3b6a223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistedRuntimeStatus (cyclomatic 14, cognitive 12): persistedRuntimeStatus 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7bcba1d07d0369fac70490cca174ea46f58ec2199966def92ea359842ace83"}},{"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":"packages/paperclip-runner/src/drivers/codex/codex-session-workspace.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09b1ec2afe8dacc232f7dba0150ef90bab575d52e15dfe6a0b75dd15e125c6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexRateLimitSnapshot (cyclomatic 14, cognitive 12): codexRateLimitSnapshot 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/paperclip-runner/src/drivers/provider-rate-limits.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cd784222db1ae8697a27bfbb943d96c2b866f98bfc3f8c3063a56d506ea8ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validGoalParams (cyclomatic 14, cognitive 12): validGoalParams 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/paperclip-runner/src/protocol/live-console-fixture.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509385557e960faf10003662b02bca8cdb3f45289aad6fb4fee112582b071e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function track (cyclomatic 14, cognitive 12): track 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/plugins/sandbox-providers/createos/src/plugin.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de8453b1ea2647c372ecf36f8c0f36ce8e01f42038303bb57ac04d4aa524016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyWorkspaceSentinel (cyclomatic 14, cognitive 12): verifyWorkspaceSentinel 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd453c96bf799fcf1f42f67c5942d897d95c681aa259f0b5b2471e2406de8aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leaseMetadata (cyclomatic 14, cognitive 12): leaseMetadata 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92cf1a5c62bb2fcfe5ac398976a52fb65f1e97b75fddb0a09cb6377287ade98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareObserverReplays (cyclomatic 14, cognitive 12): compareObserverReplays 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":"server/src/__tests__/helpers/observer-replay-report.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8028fb0eb4ddc7dc8613c021e55e2eae69a5ce2d390370a4fbab1921e80e6edc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 12): walk 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":"server/src/__tests__/helpers/privacy-query-fixture.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d997672d9862fd203ef5568cf47c3fa3784c11fd114ecc53bfb5fb1f764487"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":4375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a2fc9ed9a1926920e2f5806ead4b144239af4f77d6a541aef97c327467eab3"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":7608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c20cecbf93e8f90badbff3e6532bf84e05dd98921267a9d8c782c275a21698b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getActorInfo (cyclomatic 14, cognitive 12): getActorInfo 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":"server/src/routes/authz.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"51161f0e743501d4a7b739b190819fea94700b75b187333244ef1146f7d4df5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentTrustForIssue (cyclomatic 14, cognitive 12): resolveAgentTrustForIssue 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":"server/src/routes/issues.ts"},"region":{"startLine":4196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c92858ef52ba56b529de58e1fc14af538e446220039ae1a4746eff9126d65a"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":17715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98f92d5f4065ec12a139582fbe7a3c61c94eb368bdc5ecba7baffd13b781635"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeRoutine (cyclomatic 14, cognitive 12): materializeRoutine 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":"server/src/services/built-in-agents.ts"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f61514c3220f656c5fd3d40a00838344cf5aa1ffa5caadc04accea3913a6c0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isInterruptedNativePreparation (cyclomatic 14, cognitive 12): isInterruptedNativePreparation 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":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3738b8a3f93d177c00814baee3abd2b754809261f2d30655db6263ffc904a96"}},{"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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"35abded50d44b5f6f5ee3be0e650bad8ee3b45b55751f07748083ba7c40447c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureDurablePublicationTransport (cyclomatic 14, cognitive 12): ensureDurablePublicationTransport 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":"server/src/services/chat-channels/publications/preparation.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dd48c117d71e23c391426d58314593a5de7699d5379fb4dead871c0c932163"}},{"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":"server/src/services/cross-issue-influence-limit.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c806cf312e10d3bf7697b832eff15b1fcf0d5cd4724e2f2fad76281c02c8dd"}},{"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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"972ce55764a6c0d784292f5ce49d7c49c6ccfe3941510d69167b9b53a0c4893f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacySourceProcessSettled (cyclomatic 14, cognitive 12): legacySourceProcessSettled 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":"server/src/services/heartbeat/legacy-process-settlement.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2ba98df2443bdf06b80bbce403c7de9d9dc5347241edc65712ab882b188b8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markNativeOwnershipUnverified (cyclomatic 14, cognitive 12): markNativeOwnershipUnverified 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37b97f4fab79716e824b9332f2b7c11fda370cc38c4a8dc35329b97d31585d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireTaskLease (cyclomatic 14, cognitive 12): acquireTaskLease 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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"852d6b3d38cfc6c8ccef9eb79799b8f01df2e6e0c17a807166e1c0bfd6d2c48d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeSessionParamsForWorkspace (cyclomatic 14, cognitive 12): resolveRuntimeSessionParamsForWorkspace 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e0ed3b076a3ccd10365b5648ba9ece04deba7da5d5e37299505914bb378593"}},{"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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de1436642455c4dc03e752cebd02ba3cc30712fdc1b2048e6bb5359ed5a790e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireStaleRequestConfirmationTarget (cyclomatic 14, cognitive 12): expireStaleRequestConfirmationTarget 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e5ef95623b9572841c61887a3b7879dc11f5b5c4175f95397f84733aa7eb47"}},{"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":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb59718fa3eafec7544a99c049697fb6f4c80f5aa4a9755baacf2a183fc3d26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNativeHarnessFilesystemArchiveSource (cyclomatic 14, cognitive 12): assertNativeHarnessFilesystemArchiveSource 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"624965236f28370f2dd45cea2280337edd8e0c49c602e3a6e691f96f3cfd9032"}},{"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":"server/src/services/native-runtime/native-recovery-notices.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a35866ab34d7f2c16766d9f43129ba65a220c30380a9ad0695c71d0e483efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interruptedAttemptOutcome (cyclomatic 14, cognitive 12): interruptedAttemptOutcome 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf0d082c5bc6571f58a45218e2736567b80862923df08aaad9d6b2ee34093c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function from (cyclomatic 14, cognitive 12): from 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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":6220}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c7f09cb2f99cac403e8ebb0f0331685f84a7c5d6bfd4a7cd9f9c28552b835"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18733}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb657aebdd7fad1f9f10863ee965cfbb8c63ee5279c1e0655530e3819022a87e"}},{"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":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4344d8fa82bb1c5550bc06dccc0b259431f44267d27cba6a57ffe470177d90"}},{"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":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee125640224272517f4ad079ccf6c981b39322108d115dc41460083c3b5dc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projection (cyclomatic 14, cognitive 12): projection 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":"server/src/services/runner-goals.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc558b9f8f2afb9fb6aeeb0641be875658e84788b8e802579cf6a6c53ba998c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failSystemRecovery (cyclomatic 14, cognitive 12): failSystemRecovery 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":"server/src/services/system-recovery-state.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54df6818cfc67e57a0939ae2e9e6a818629ad8288120a6139814ee2584c96c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestOAuthClientRegistration (cyclomatic 14, cognitive 12): requestOAuthClientRegistration 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":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"630152c88f989d66a9e46e14681c177041320a0113ab9656a9ce82758be5baee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshUnstartedWorktreeToBase (cyclomatic 14, cognitive 12): refreshUnstartedWorktreeToBase 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dad1627a6dde6f006e4591209a607c4745cd85d5dca4635d4039dd1e6d18ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRuntimeServiceUrlHealthy (cyclomatic 14, cognitive 12): isRuntimeServiceUrlHealthy 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5846}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aecd4159c7651177e7fb8f8de184ea348bbc8bd67c7323639acc954c01ca377"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveServerVersion (cyclomatic 14, cognitive 12): resolveServerVersion 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":"server/src/version.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b831c692c0d8c12972600875714b84104c85f8a6a3b1360908b644a627816d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeBlockedQuestionJourney (cyclomatic 14, cognitive 12): gradeBlockedQuestionJourney 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":"tests/restart-chaos/journeys.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfd15405ca7a75fede5737944f93527e9ad3baec932184e50426d7a98f1c3de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function liveOwner (cyclomatic 14, cognitive 12): liveOwner 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":"tests/restart-chaos/release-swap-grade.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2351fde345d2538aeda6ca0e0639f5d84e422127c4921424b8250d508301ae9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeCards (cyclomatic 14, cognitive 12): observeCards 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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce8cadcba74cd57a3db46bc8cd8e861a3eecc31adf010d3096fb0a0c7bb0885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerIdentity (cyclomatic 14, cognitive 12): providerIdentity 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":"tests/runner-e2e/chat-catalog-domains/runtime-provider-cleanup.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"11572cb6d5266dcb0e3049cc4a15ba967991f5c8336189f52924f3669acd17c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPublicProxyIdentity (cyclomatic 14, cognitive 12): readPublicProxyIdentity 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":"tests/runner-e2e/chat-public-origin.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c831d131a72d64dbd16f1d99163c7a558246e4efafb1f04b9f48b63d19431d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reject (cyclomatic 14, cognitive 12): reject 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":"tests/runner-e2e/everyday-flow.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8734b5aace0791fb8ec64d5e8211f659fccf622ef457bb7eb23a7a6ba1173fb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduledOperatingOverhead (cyclomatic 14, cognitive 12): scheduledOperatingOverhead 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":"tests/runner-e2e/operating-overhead.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa17443f3c016d1b038007356f2096f0983b753ab3755c17575a81b3ff163f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureSdkCanaryBuild (cyclomatic 14, cognitive 12): captureSdkCanaryBuild 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":"tests/runner-e2e/sdk-canary-prefixture.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fdd43dfeac01c4428dc5529559b50c40dd883b4f934fdfb9d69b27c88a2ff0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactObject (cyclomatic 14, cognitive 12): ArtifactObject 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":"ui/src/artifact-directions/directions/d3-tactile/objects/ArtifactObject.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feb5cc02c0bf042e798cf0c6ffdea51f26d410193312cd4d45fbd691e60fbfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommentThread (cyclomatic 14, cognitive 12): CommentThread 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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddef613df8ea89633b1c89fef797161f8f37df90fc69f562fe6017fb9bb7a78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocumentFrameHeader (cyclomatic 14, cognitive 12): DocumentFrameHeader 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":"ui/src/components/DocumentFrameHeader.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa54150fa0a99ff53af4bd5706ad45c1ebb899ff7188fcd03f0d4779d5c1543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExecutionParticipantPicker (cyclomatic 14, cognitive 12): ExecutionParticipantPicker 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":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e43b00460648ceb80ee5d546a61f057ef25389d8b7e98958c3861590c4f9d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeDenial (cyclomatic 14, cognitive 12): describeDenial 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":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d238c90b6caa2777d8422985f6660b036467a8f88cfd3792aac497be5f266e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueMonitorComposerStrip (cyclomatic 14, cognitive 12): IssueMonitorComposerStrip 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":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e261ba081dfabecfe25270a2a844d743c0479e87d6835cee6ebe0c212028a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarAgents (cyclomatic 14, cognitive 12): SidebarAgents 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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1035a5796b06ca2c2b8406a5b3634797d0619a210cd5455ac3c1bf417723519a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarAgents (cyclomatic 14, cognitive 12): SidebarAgents 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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"082bbbddd8d521d823ed26825d99690b27fdd920070dd747dee12ab5a25cb6e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoordinatorInteractionReceipt (cyclomatic 14, cognitive 12): CoordinatorInteractionReceipt 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":"ui/src/components/coordinator/CoordinatorInteractionReceipt.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf18c5b6483494bfa8bdc81f49adede2ee8d090a25bafe49b409397815965b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ForkSkillDialog (cyclomatic 14, cognitive 12): ForkSkillDialog 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":"ui/src/components/skill-studio/ForkSkillDialog.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99b682bd9130da2facdbe42b7ac588c40a10a76ac2c24eab258dbe5b23c6a55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOutdatedPlanConfirmation (cyclomatic 14, cognitive 12): isOutdatedPlanConfirmation 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":"ui/src/components/task-chat/interaction-thread-order.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6666c91d137a134155dd97c5446912c7ee7759e891880a3f490370a890899262"}},{"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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"658e21fdc2b509fee71fc61560532192f56614ffbbe262b926772f6981b5cc1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runResultEntry (cyclomatic 14, cognitive 12): runResultEntry 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3997b229a58f00501d476b16c1539928fae36ce8613936fd2606d2963d1b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolPresentation (cyclomatic 14, cognitive 12): toolPresentation 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aecdc165050564653ace5c68b87c6006a48fa2746f07166ab1bf2200a980679"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginConfigForm (cyclomatic 14, cognitive 12): PluginConfigForm 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":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"6407dd6613615f834389f7fb4a920784659b511fdefc851fdad82dbe0f235916"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DisconnectSourceDialog (cyclomatic 14, cognitive 12): DisconnectSourceDialog 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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1827cfb4296bcc1d7c3284595b5f78d12884adb89ce5de4322e3f0b3eb1d95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailAccess (cyclomatic 14, cognitive 12): EmailAccess 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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf6a8bb30a35794678ddc7f51f39ffe24db75105abb8b0f61fed0e8d9d6788d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubConnectionComplete (cyclomatic 14, cognitive 12): GitHubConnectionComplete 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":"ui/src/pages/apps/chat/GitHubConnectionComplete.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4742fdf32fe5f5d4972b41b38033065f5d78b30a6b606f5d80efdb7c78b73693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditRow (cyclomatic 14, cognitive 12): AuditRow 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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e904d0c5a41ef6fc819e1d9b7a5af596b0d1419240bac9bbd19d5d52ac6db60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupManagedAgent (cyclomatic 14, cognitive 11): setupManagedAgent 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":"cli/src/commands/managed-agent.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43837370a98ed784026593723b359ecea92d8e5dd943c89ee8df40b8f28ac56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoolean (cyclomatic 14, cognitive 11): readBoolean 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/adapter-utils/src/session-compaction.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e9982e37e36347d5cc63f934cd822097a67a205edb726b8e13887c733029c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSnapshotThread (cyclomatic 14, cognitive 11): runSnapshotThread 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/adapter-utils/src/workspace-snapshot-thread.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4600220cc1c5842f1c82d975798fe346db9621f825c48acdace31be9a48c1b6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 14, cognitive 11): serialize 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/adapters/cursor-local/src/server/index.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbc0833f1d5097a9d979c73acbc6fdc9b3fa5e2b52371aabe39445c153feeba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 14, cognitive 11): serialize 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/adapters/gemini-local/src/server/index.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ce6929577aa1207b327209a4437abd492520915d02c84995aecd7b69deb9fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 14, cognitive 11): serialize 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/adapters/grok-local/src/server/index.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b4f7bcda0c32f0ba2af4327fd6287f9e511176f3f0cb3215e436cfaa9eeeac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 14, cognitive 11): serialize 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/adapters/kimi-local/src/server/index.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d625b3cf5394c78664838ac03c7c6d6e4862f3b9327ef6620c9b0735bdcec05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 14, cognitive 11): serialize 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/adapters/opencode-local/src/server/index.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1d71da567fe3acf9b637b2ab6ab8dab9ff27ee6a1ff8546a731d1f53d37893"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRetainedRunInstructions (cyclomatic 14, cognitive 11): inspectRetainedRunInstructions 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"218925477b2c0b0a27d988586e43d63f2d9eeef9d9a8e221e2e29373a3a5c781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traceLineageScore (cyclomatic 14, cognitive 11): traceLineageScore 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/paperclip-runner/src/eval/workflow-scoring.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e5d0ad06bb8ce698ad0a3f74f537a0a5440fcf3699e1ddaf32934ec2ced474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Message (cyclomatic 14, cognitive 11): Message 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/paperclip-runner/src/react/components/message.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12927936926f4eb8c115bcf38a090468b793f3b8bbbb8853c185f7667ed8a94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #resolveExpiredExtension (cyclomatic 14, cognitive 11): #resolveExpiredExtension 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31f7f26f162e410ef847bcbedfcee4d26476b80b7b9eaae704f51e456299abe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMicrosoftTeamsMessage (cyclomatic 14, cognitive 11): parseMicrosoftTeamsMessage 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd4249a73fe0cee817ecf82f0c79f70d2c50ea0063c3d462b8358102cbe1efb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBooleanLike (cyclomatic 14, cognitive 11): parseBooleanLike 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":"server/src/routes/agents.ts"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d0d81c7466c14a821250850b77c2203e57e244513af281e7404d8ff5f3f3e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeDefaultInstructionsBundleForNewAgent (cyclomatic 14, cognitive 11): materializeDefaultInstructionsBundleForNewAgent 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":"server/src/routes/agents.ts"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ed2009747b7ae7d6603a285b073b82a50d79be5e5dbefdbf9459071a074239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 14, cognitive 11): constructor 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":"server/src/services/adapter-stop-timeout.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52c83e90e79a037cc38d626a2256b79a14aaf822eb7d398cdad442006c1e9b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTeamsFilePublication (cyclomatic 14, cognitive 11): resolveTeamsFilePublication 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":"server/src/services/chat-channels/microsoft-teams/file-resolution.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fe4034e48328dd8146b9a9c0c2fc2922d5b6293a031b76d10d1a95bdb90a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptSlackFormTerminalProof (cyclomatic 14, cognitive 11): acceptSlackFormTerminalProof 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8bc9aaf78a893b721c7df4c38e2b965364d65cd4a86d111f53bbd2fa005d74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairTelegramStopSubscription (cyclomatic 14, cognitive 11): repairTelegramStopSubscription 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e385196d0e0de5167fdb6adefcad45a1be4d829b77c71b29b3621bbfb4e90b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramWebhookSettings (cyclomatic 14, cognitive 11): telegramWebhookSettings 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":"server/src/services/chat-telegram-stop-subscription.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5523e33392f61e3b8560c7cab7bce6c6d04774be5ff0567e273b03d781ce2335"}},{"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":"server/src/services/cloud-configuration-migration.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85cfde344cb718667fc9e547b5ca78f9bfaed3e30e080edd0f514cfbcf7e755"}},{"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":"server/src/services/deferred-execution-wait.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2817bc542429d1cdbdb84272c9bb5f61ff3280fc4ac4e9359dfe19f7c9d440a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareTaskWorkspaceUpdate (cyclomatic 14, cognitive 11): prepareTaskWorkspaceUpdate 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb65bda9228e1381beaea903ff2e7a1e3b1a1870631b414268d54107966d636"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTerminalCleanupGitStateUnchanged (cyclomatic 14, cognitive 11): assertTerminalCleanupGitStateUnchanged 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f05d7d3835618454f293e7e10882e36a38f771ff71b5c1c22ce6df4985f3906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactTerminalWorkspace (cyclomatic 14, cognitive 11): compactTerminalWorkspace 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f71f1d8056dd5533df9713d12c712384c32adebdbcec1107dc305cc3523c8d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueFastResponse (cyclomatic 14, cognitive 11): enqueueFastResponse 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":"server/src/services/fast-responses.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"201ec3601a049db6bbdbf743547f880da939a351347f1672deacfedb95c1d2c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSettings (cyclomatic 14, cognitive 11): readSettings 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcabf108a4a983bec0bf5ca59bd9fd35083e6dbdfb3744a63daec3dc4e611c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareReusedChatAttachment (cyclomatic 14, cognitive 11): prepareReusedChatAttachment 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"536588535d807a545924f8a5d5ac2956985f59c4fa260ab69ae571068e34f796"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFailedBeforeProviderTurnRecord (cyclomatic 14, cognitive 11): readFailedBeforeProviderTurnRecord 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":"server/src/services/native-runtime/failed-before-provider-turn.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0109500bc008682c2e0650c95e8534164cdfe06ee88783a6432f2327441175"}},{"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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"104652fa40cdad67ca67982f84fa06386bbe500e7554a99934905d108fe605f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchPublishedImageOmissions (cyclomatic 14, cognitive 11): matchPublishedImageOmissions 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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"56db64a2907ea49c97cebdc93663c36727d9bf11a09da65c429e1563d0672a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRetainedNativeSourceArchiveSettled (cyclomatic 14, cognitive 11): assertRetainedNativeSourceArchiveSettled 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4922}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f5beb012dbf31d69dfa5622e537f237eba8d230a174d75cef6b92211a6e33e"}},{"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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7006c471cf97e72b16eee092f729a24e1ed10ac02b32eb68c9c9886a6cda7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySecretApproval (cyclomatic 14, cognitive 11): applySecretApproval 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":"server/src/services/secret-proposals.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a3ac797ca90e8570c7db16a6099ec8f52a364abcb1c88fed567b201f6da0b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFrozenCampaign (cyclomatic 14, cognitive 11): validateFrozenCampaign 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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca1d6ecefc25ddaa0f0918ce5955c15c9ebb4cb653fed42e3f7316789c8448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareFailedWebsiteExport (cyclomatic 14, cognitive 11): prepareFailedWebsiteExport 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repair.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"343561feb556ab276a54420f035172ded5b6a54be74ed937192d458e1a7d7048"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 11): main 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":"tests/runner-e2e/dashboard-regenerate.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b0e85a212b0bfab9aa9f119c382baf192fbf62a12a1e911ea2085667454fc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSuiteResults (cyclomatic 14, cognitive 11): renderSuiteResults 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":"tests/runner-e2e/dashboard.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2b004bec76d47a62156065a8f443938902646891cf8ffaf2e020670d9b4cd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 14, cognitive 11): call 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":"tests/runner-e2e/public-mcp-flow.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8ba2d9f852e495e689aecbe9ba832f884cb82d93c601ea8abfd17bbfe1ca37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Named (cyclomatic 14, cognitive 11): Named 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":"ui/src/artifact-directions/directions/d2-tint/GalleryPreview.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"19de5b47e407d8dfdc6e240ccbfd80eb304600b00115e7bfc13f6ba38326085e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Print (cyclomatic 14, cognitive 11): Print 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":"ui/src/artifact-directions/directions/d3-tactile/objects/Print.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe245af9af51d476b123d582ed9771c95a6307a5a1721172f2940896168f8e8"}},{"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":"ui/src/components/FinanceTimelineCard.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc987761951b7affdead15ffdc2fc0a119003f79d814bfb44d71eab086b0ff0"}},{"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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a60ffe1ffb08f041f5ddca0f11521f677a45778452059e35ad4a05311b41704"}},{"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":"ui/src/components/task-chat/status-relevance.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d4fd39adb1d5691bafaa351fbaa1e2c973036c4ead0f0b10264b4e8c4d3ad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readToolCallProgressEvent (cyclomatic 14, cognitive 11): readToolCallProgressEvent 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":"ui/src/components/task-chat/tool-call-progress.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22ec3c88b3a74ad603cbd93583ffc81c8a053db000cc4e28c7f0cf30fcbb9b"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ec6668580073402e1137a6ef77faf3a5d866eeecf56c94857d5b7cfd88b2d3"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b44594018e7222549cf94d1a8b8f1887dabb9012f3f4cad5a3018f4ab9e185"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRecentTaskEntry (cyclomatic 14, cognitive 11): isRecentTaskEntry 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":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"037fa3a8860727a0fd8904bf40b1ca402d332307e3acf9a2770f3ccc127c802f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ipv4Warning (cyclomatic 14, cognitive 11): ipv4Warning 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":"ui/src/lib/webhook-url-warning.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf6a23799b32ab870952adee7c4b3c15117544a40e8148e2fb16bcb116f5bab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KeysTab (cyclomatic 14, cognitive 11): KeysTab 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd2a678fbad270f0fdea00a43ae295c16be8373f4a4a5149d4e25ff6111e11e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KeysTab (cyclomatic 14, cognitive 11): KeysTab 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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":3576}}}],"partialFingerprints":{"codehealthFindingId/v1":"2762693cefb444890e0358adfd496c3a708429cf903854e2c6803256107828c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 14, cognitive 11): renderRow 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":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9718b0f9b224f1b6edffc26500849007a42b2bfbcb0d865e72ffca4b5f6f26da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openVerifiedCommandDirectory (cyclomatic 14, cognitive 10): openVerifiedCommandDirectory 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"82438f2f8d854ce71b7bdd9e5ba98936194db12b66a3f1a59d67abbe8bfd0cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishClose (cyclomatic 14, cognitive 10): finishClose 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5995}}}],"partialFingerprints":{"codehealthFindingId/v1":"657fa552d283ac683ae1b9eaae75185281f1a0fec0722c2cfd8cb4b60d49ebc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeCallbackEndpoint (cyclomatic 14, cognitive 10): runtimeCallbackEndpoint 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":"server/src/services/chat-channels.ts"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"836f1bc2ee43e994b7d55782b6f406fd80a4553186563fd62fd92c57978903aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeSlackFormSession (cyclomatic 14, cognitive 10): closeSlackFormSession 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac749553542a06555f2f0dd10cec5070dffbd3c1bd3e6037d10078b2a9bc7a7"}},{"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":"server/src/services/grok-bot/routine.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7138954484cefa5d54f4b50573150f8b0388e9ca81211c9480e5f696ab73c0c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExternalChatWakeProvider (cyclomatic 14, cognitive 10): resolveExternalChatWakeProvider 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d5a8b922f2ed6b16a1c0fc10b82aec734a1c8948541d9a420d59facdea4aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRoutineEnvForExecutionIssue (cyclomatic 14, cognitive 10): getRoutineEnvForExecutionIssue 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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b375a0778f31aa51c118f5101dda1b6af01cbfc019af81cb49187e347154e0"}},{"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":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb08930caa62375b7644e6e012185c684f807516894aa3508ffa2c31e9f52a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findOwedPauseResume (cyclomatic 14, cognitive 10): findOwedPauseResume 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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edeec21621a739fbd2a56b7441db65b515e990e8f9aa0fd85b7407ccf5766d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isConfirmedCursorCloudTerminalObservation (cyclomatic 14, cognitive 10): isConfirmedCursorCloudTerminalObservation 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":"server/src/services/native-runtime/cursor-cloud-runtime.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"316e93e96e5d098c25f70a56d6da5b5acd984bb14d5015b333f39bbcd13a1340"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function localPaths (cyclomatic 14, cognitive 10): localPaths 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a4fb78d4dfa0ee7a1c187444d186fc0cd2ae4ef1d168843d192e4533e042e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compatibleNativeHarnessBackupManifests (cyclomatic 14, cognitive 10): compatibleNativeHarnessBackupManifests 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36447284b8cd43ea48938546f040168e7a1fc065a9e84fa451673e6e1b01520"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proveLocalOwnerGone (cyclomatic 14, cognitive 10): proveLocalOwnerGone 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":"server/src/services/owner-proof.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"094880a50e39937e0dc2593fc799b200a57910c0e74b297986a65b4baf4d5dfc"}},{"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":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8224d47852734aff8b5636f85e9d5814a055e008122bbfcd3099ec53225c29f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGitHubRepositoryCatalogFailure (cyclomatic 14, cognitive 10): readGitHubRepositoryCatalogFailure 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":"server/src/services/tool-access/github-repository-catalog-failure.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"90559dddfdfe1501fcf1027861916cd63d8d26ce5f606076ce7ad97050171b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDebtState (cyclomatic 14, cognitive 10): updateDebtState 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":"server/src/services/usage-receipts.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"846959e79e188b813c1ae6881f6bcd89b6a6718118f27f3d6812d2c774ec1b1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskFaultSchedule (cyclomatic 14, cognitive 10): taskFaultSchedule 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":"tests/restart-chaos/scheduler.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7987000c25977bccdb1200f071241cd14b6c8feedda077c25fbe43081eb356b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishPrivateWebhook (cyclomatic 14, cognitive 10): finishPrivateWebhook 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":"tests/runner-e2e/chat-catalog-domains/integrator-webhook-private.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3edf539c9270d9e954984e239e9e9496f9438821961816dfa2dec16d777589"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCaseBundle (cyclomatic 14, cognitive 10): readCaseBundle 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":"tests/runner-e2e/chat-catalog-testops-streaming.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"72822a8e03ce2511535879faa07daf220bfb820ba6c055d4bb8c772035d3032a"}},{"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":"tests/runner-e2e/connection-launch.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"230edbe5b19bbd94ee95e050b5e9ac09a4cc99f119a17ce1c3afe50770cb9bb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasHealthyWait (cyclomatic 14, cognitive 10): hasHealthyWait 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":"tests/runner-e2e/lifecycle-baseline.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e3e58a298fce0484733147b35fa1e11b077f68563b59a4f970ee9db6e26dd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachSettledTurns (cyclomatic 14, cognitive 10): attachSettledTurns 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf8486a55164190105ded3e717a0433a95fd190bd88f0f303a8c3ecc94b6bb7"}},{"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":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f78be24e7be508ede7ff41c358213e2d5c8af07c30936ba82eb809c8e52cd4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionPolicy (cyclomatic 14, cognitive 10): buildExecutionPolicy 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":"ui/src/lib/issue-execution-policy.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff9b396a5e94f03f8f082b06b6c6b4ab2fcfa3de90237eafa0298e977c8c091"}},{"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":"ui/src/pages/CoordinatorTasks.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"724b246d8aac058993c254e6b5be4f1e1792742e7bcc90f9ffeff062c1f59335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorHints (cyclomatic 14, cognitive 10): errorHints 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed56b3e8657b76e0ecc71997e8b5cbe154f06fb65e45091c13c95b41c21140f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakePlanReviewInteraction (cyclomatic 14, cognitive 9): normalizePaperclipWakePlanReviewInteraction 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ae601be92b1e6bc57df37ba32492015922ce2727b22747df28473e935c079f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 9): parseArgs 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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42a3dda9161134649e5a626c4eff2f490ad6d862c423e585f02e82d98401f11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function credentialFile (cyclomatic 14, cognitive 9): credentialFile 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d7d7ab57f14ef651a7fd25547e5896cf956ceefcd0141e0f96d3332f458f12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 14, cognitive 9): read 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/paperclip-runner/src/executable-digest-cache.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6d970855a048844102ecc2e72931c9d4a0df4250d4ee3759d2b7d4173841ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRunnerLineageReapReport (cyclomatic 14, cognitive 9): parseRunnerLineageReapReport 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/paperclip-runner/src/live/runner-lineage-reap.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"af341d4aea6a446c4467c14160131329f02bf95729a9309b07526603104aac66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidExistingBranchName (cyclomatic 14, cognitive 9): isValidExistingBranchName 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/shared/src/validators/issue.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a43cdad9fa34968201097d68e503d086bf24d9a85f22f6416a12822eec003d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAgentProjectAccess (cyclomatic 14, cognitive 9): readAgentProjectAccess 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":"server/src/services/agent-project-access.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e38d4d3437f6f2e45a7042fb736335fb48ffcb22abfe22d15266a69b738c35b"}},{"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":"server/src/services/browser-use.ts"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c47b5132f0cc018ece84d016ce481df3bec7f2c8eb3ae2f33b138a652629927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubWebhookIngressPayload (cyclomatic 14, cognitive 9): githubWebhookIngressPayload 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":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"998979c5d05861a9d2f6b7ed6d6a2a6993f1fdd3390da3ba7500b5c23b967b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloudRuntimePublicKeyForKid (cyclomatic 14, cognitive 9): cloudRuntimePublicKeyForKid 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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4350a2a5f2da00b231307de9a8bb88d8d69f780278449b934578a0f2b4d760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePortableConfig (cyclomatic 14, cognitive 9): normalizePortableConfig 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":"server/src/services/company-portability.ts"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cce2c3f5054524208bc564efd6497d775239859a712b90b4839d907d784fa03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreInterruptedWork (cyclomatic 14, cognitive 9): restoreInterruptedWork 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b505cf380ae5235c5e4e5f5f5679938a9b1a9b280614ed3d04d4d4ae6e750d1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRemoteTerminationLease (cyclomatic 14, cognitive 9): resolveRemoteTerminationLease 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":"server/src/services/remote-execution-termination.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da18ea0dfb29bde03abddc19215e365dfba3ece5fc7906ae775dca25ecd00dd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRetiredOwnAllocation (cyclomatic 14, cognitive 9): isRetiredOwnAllocation 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac1a84a54cae4598c42aa126a249a75fecc50ccc0fa371cd483f7c1c7d13016"}},{"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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2272832744e3edd60b5cde28d3bd5ad6de105903bb3b14509ad21fef74cc0b44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function personalSecretQuestionHandoff (cyclomatic 14, cognitive 9): personalSecretQuestionHandoff 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cee1341ea1f5e2ace19468a0125159c2d830de06c777bfdf653ddb162fef4e"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-slack-render.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"359635f11e48ea5fc59470cd6b5ab40b64a5475cd982417cc18260403db87ac7"}},{"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":"tests/runner-e2e/chat-linked-question.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf13ff8a77effc510c4046ba3311530df2a5b41c44b662afd2698e85c13eaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readActiveStopRemoteRetirement (cyclomatic 14, cognitive 9): readActiveStopRemoteRetirement 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":"tests/runner-e2e/copilot-active-stop-evidence.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b976b147f0653d0357c6dcebca76377d52771afec917c94cfcb019f63c431407"}},{"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":"tests/runner-e2e/copilot-local-fixtures.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7a7d2e17c5f780217172e958ee9a0d2dba6fc8574f7eaf231197ba05ebadd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startEvalRemoteBridge (cyclomatic 14, cognitive 9): startEvalRemoteBridge 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":"tests/runner-e2e/eval-remote-gateway.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4849dd9b909319b98bdb7d0239db8fb3422b6302c8991f39da3d6a00bb6c9da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readActiveStopRemoteRetirement (cyclomatic 14, cognitive 9): readActiveStopRemoteRetirement 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":"tests/runner-e2e/native-active-stop-evidence.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c247aafee89ad6b5c99f8861fdc2be5713ab3e301d1877c9592b4412ef7d7470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function regular (cyclomatic 14, cognitive 9): regular 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":"tests/runner-e2e/private-framework-report.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b868de351aa7a6e0107786dbdf0698d969c0dec8fa3ee083e2e357665c0757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entryLabel (cyclomatic 14, cognitive 9): entryLabel 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c880f4870e4429612b11dff43dfb651dfb2954b4037c69d4a56bb96d9adeb5c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 36): (anonymous) has cyclomatic complexity 13 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":"server/src/services/agent-interaction-delivery.test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b53b0af81bae87e9dd359c67a2f081a9254a2bba4ca91cd324dbd8b40eb7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAgentFileObjects (cyclomatic 13, cognitive 35): verifyAgentFileObjects has cyclomatic complexity 13 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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffffed69e6d112643a443349a820c33c224e012bbc5f6d451760f8a2b6f1afc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 33): (anonymous) 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":"server/src/services/native-runtime/native-harness-filesystem-independence-continuation.integration.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e539c8100e453fcab85b6dad070017c7e2cad92cf500c065722db53abae51ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function largestCycle (cyclomatic 13, cognitive 32): largestCycle has cyclomatic complexity 13 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":"server/scripts/typecheck-layers.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e020cee7de25f96ed0d3c2bdbd25a76855cac813b9393f9a98a73ee455e143"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 30): (anonymous) has cyclomatic complexity 13 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/paperclip-runner/src/control-plane/durable-prp-control-plane.test.ts"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba5ae22e75b49660e33147d5af4d956ead32e6833ca36bfd26200edd86ab615"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverSkillCandidates (cyclomatic 13, cognitive 30): discoverSkillCandidates has cyclomatic complexity 13 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae3587d5707dbcbac0dff428343c5beb81488df0f3ec4662117bb97f79c792a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHeartbeatRunReadDecisions (cyclomatic 13, cognitive 29): getHeartbeatRunReadDecisions has cyclomatic complexity 13 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":"server/src/services/heartbeat-run-privacy.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64fe8b0a024ab0237a22fc9becf70e749feadf53ce9846419d3b107feb4fdfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProtocolManifest (cyclomatic 13, cognitive 28): buildProtocolManifest has cyclomatic complexity 13 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/paperclip-runner/scripts/generate-protocol-manifest.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc965c7542182c02344b796fbcbd21acc2d25b2606f53e9e71a78381d30a870d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMergedPrSamples (cyclomatic 13, cognitive 27): collectMergedPrSamples has cyclomatic complexity 13 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/pr-run-durations.mjs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"942ef24011e5227599ae12a1447c1e0abd517b2f65139334eed896d1b0cffc18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 13, cognitive 27): tick has cyclomatic complexity 13 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":"server/src/services/skill-package-work.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c89e4d2c95c8395503e48cff5628beb307facae711105210fdd833fe60e40d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 13, cognitive 25): walk 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":"server/src/__tests__/cli-invocation-safety.test.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"864fef74788e25e7ce04c7d1814d52b66438a0e70c8b163df5afe238b3a2f150"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function atomicWriteFile (cyclomatic 13, cognitive 25): atomicWriteFile 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":"server/src/worktree-config.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca5abe5a061e0c4ad57e463a8ed3dde4c508325a60f47584c362e1f21a9ff08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recording (cyclomatic 13, cognitive 25): recording 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":"tests/runner-e2e/product-journeys/clarification-evidence.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cde209690d93cd6a997a8398a3154ebb97df80efd60c59a29ecf1809d9dd793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 24): (anonymous) has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f52d3d20497d5fca6bd29dae7691807052b5a77d29e13be5ca9aca31732517"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdPendingTurnStartFailure (cyclomatic 13, cognitive 24): runnerdPendingTurnStartFailure 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05245f70d08c275340001bc599b8afa1e9aada3103e7063b8affd23e1e538ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterConnectionManagementPolicies (cyclomatic 13, cognitive 24): filterConnectionManagementPolicies 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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de8286e9871b78957e23c81fa2bddb472eb689b663aae9d46f285aff9c7114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recording (cyclomatic 13, cognitive 24): recording 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":"tests/runner-e2e/question-resume.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a52c3482091a87cecb18baa227116246e3eac3aa03c176bb00458aa5e8425b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneOldBackups (cyclomatic 13, cognitive 23): pruneOldBackups 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":"packages/db/src/backup-lib.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d0c5e47d394e2adaf1aad8ebe75f9ae560e792caaa7a296c479b39c8facfc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSchemaCatalog (cyclomatic 13, cognitive 23): loadSchemaCatalog 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":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b30f60289d94d2b3604cb031867d342d5c120d8b2bb1abbf3f4483f5e1d5ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pages (cyclomatic 13, cognitive 23): pages 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":"packages/paperclip-runner/src/drivers/codex/codex-history.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a266aa5f8c8a0ccf0b7db4ed9132fee9890626e225864c24ddb636cf213260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 23): (anonymous) has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2363d664ff7489684c1894315d65a39139500b42159cd19f97b095725059abef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareBinding (cyclomatic 13, cognitive 23): prepareBinding 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":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5fbb1e14cf5e4a4f7b8b870ca7aa46e618823878014aaf6eb89230d4cf511e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireWorktreeSeedLock (cyclomatic 13, cognitive 22): acquireWorktreeSeedLock 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":"cli/src/commands/worktree.ts"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d9f4cddd870fc45ff1061c4574f5bd8629b6cc95136b40c3c9fe9c44525c3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCodexRuntimeConfig (cyclomatic 13, cognitive 22): prepareCodexRuntimeConfig 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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e862070b789634d8030d63536ac0129d6d79c0483d83e6f7fff874d37b561"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #retryQuarantinedHostCleanups (cyclomatic 13, cognitive 22): #retryQuarantinedHostCleanups 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7853820eafe851e47649d3648a6aae939f7045e656729ed0369204a6096454"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactStandaloneBearerCredentials (cyclomatic 13, cognitive 22): redactStandaloneBearerCredentials 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":"server/src/redaction.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b02d457652aab48599362e5b92d9b2636c848dd4cf878351c9cd1767613a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readObservedSpends (cyclomatic 13, cognitive 22): readObservedSpends 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":"server/src/services/budget-exposure.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c78487a9e2a4f818e9d220f92c2782b7e60181feda9d261dd2c16d1651d044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 22): (anonymous) 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":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de5b6c5f315e0de0015fbed36af84cb03553947536eed0620af3127204178d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireAbandonedWorkspaceFileHolds (cyclomatic 13, cognitive 22): expireAbandonedWorkspaceFileHolds 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":"server/src/services/remote-workspace-abandoned-files-hold.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c6c222abdbd12fb5b275c93949639e6efa3e0e5d28a10ea15171f3d021043"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerDeliverables (cyclomatic 13, cognitive 22): answerDeliverables 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":"tests/runner-e2e/chat-catalog-domains/identity-questions-and-approvals.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9e85f67c1ca8c031dc6921f312285fb6274e52758f2b69734107cd4930865e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function soleProviderDescendant (cyclomatic 13, cognitive 22): soleProviderDescendant 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":"tests/runner-e2e/chat-catalog-domains/runtime-provider-cleanup.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71e37ca3de07ac1d7fab24f918ee4793845910485d9b7e9a3f7d7137c718a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function omitProgressComposingResponse (cyclomatic 13, cognitive 22): omitProgressComposingResponse 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ea4afc9873ac6882fa94b14ff6ad75b5a69aab227e44bfa731ff364557ab78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readManagedWorkspaceRepositories (cyclomatic 13, cognitive 21): readManagedWorkspaceRepositories 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbac71fe9746e1257298053eb1248bd20cff609288cb608220f2763f174386b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) 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/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"094367e3db456e861c7ce8ffe83e165832ed1e3388bfda7274132b29e96708c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 21): main has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-release-registry-state.mjs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6eb6596eecb2e72380d38317a317fbbbe433478c5ed2e45c972c560d7a34ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 13, cognitive 21): apply 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94217701192e5ea62920bcec497f4e348eff07839343e984cac22a2f8ebc0fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readActivity (cyclomatic 13, cognitive 21): readActivity 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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"299b4dea3f43ab7251fe364ace0ed0651ccb590defd3307ac3f7f49bd494c458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileGitHubRepositoryCoordinates (cyclomatic 13, cognitive 21): reconcileGitHubRepositoryCoordinates 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":"server/src/services/chat-channels/github/resources.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bec9e4287de1b71b80e8ee725b75c031ea0f6521f89a2cfe363cc27574555e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listGitHubInstallationRepositories (cyclomatic 13, cognitive 21): listGitHubInstallationRepositories 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":"server/src/services/chat-provider-inventory.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e006241c89bab639adfecfca28c4c02e12959298ca441ab50f7836b30a7e55a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPersistedExecutionWorkspaceConfig (cyclomatic 13, cognitive 21): applyPersistedExecutionWorkspaceConfig 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"20692bd0dc5b1d2149647b2d3eae9fedced4621a374b45a7110bb6e787b40699"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 13, cognitive 21): visit 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":"server/src/services/isolated-task-directory-snapshot.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac480f3522cb920d643827c4287852c722e34484d1de3cc82bf60b69b21bf24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) 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":"server/src/services/native-runtime/native-controller-migration.integration.test.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c826408f3101c09f0470abe8b9b496197a2989f7263f89904c1fc2cdda69f29b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehydratePinnedInstructionAsset (cyclomatic 13, cognitive 21): rehydratePinnedInstructionAsset 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":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c907ae46c7bacaa15232e6e009200f1cd27ed14a57ae62a174ffee85c87edae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateSnapshots (cyclomatic 13, cognitive 21): migrateSnapshots 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732b49bfecf7db23380c140bb9bb961d4fa36174593388859e91d1dd8f8de8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function abortIncompleteUploads (cyclomatic 13, cognitive 21): abortIncompleteUploads 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e773417339273d27c1eac5564ceb680c244f111489c911e54032cca658b226"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectQuestionArtifacts (cyclomatic 13, cognitive 21): collectQuestionArtifacts 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":"tests/restart-chaos/question-handoff.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9529223a7cf71ac216734cbb302c563a3ac0b0bfae525c97c4fd405c7ddb26e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRepeatedRestarts (cyclomatic 13, cognitive 21): runRepeatedRestarts 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":"tests/restart-chaos/repeated-restarts.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc15745d3cbda1f4610e2c6370c0386d024acbd26c842134c6237aed3e7a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 20): main 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/db/scripts/migration-compatibility.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a87871e91e23fb709026fffb84bfc25bf1aa48321a3d7b2df50ce10d3a24c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 13, cognitive 20): request 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/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c96eabec36064a000a00c63ee12382581b0606a3ee537311cfd10349ad4bb25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreConnectionSearch (cyclomatic 13, cognitive 20): scoreConnectionSearch 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/shared/src/connection-search.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7806f722d07731293f282059d830de4653918493c229840e77513ce9e221b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trailingEnvCommentStart (cyclomatic 13, cognitive 20): trailingEnvCommentStart 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/shared/src/env-file.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd112301c336e78bc303186c0f8c8b33c1717022d7e8583c92025281240fcc55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEnvFileContents (cyclomatic 13, cognitive 20): updateEnvFileContents 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/shared/src/env-file.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"562e7f78c240f5417b25b48aa7e5320cd34771df733ea0a0b5d7d91f4994ffe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAnnouncementPublishArgs (cyclomatic 13, cognitive 20): parseAnnouncementPublishArgs 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":"scripts/publish-announcements.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b557aac771acd92c95998f617ca432dd2ef99601954036154019cf1fdf5e248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 13, cognitive 20): (top-level) 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":"scripts/recovery-cutover.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b52389a0937c86521a7a064d784973e0005eda6930b08cf716b53342bdc8acf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderIndex (cyclomatic 13, cognitive 20): renderIndex 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":"scripts/storybook-catalog.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e649405042ef5e5d6f60218ec68e45d40ee285f459e7fb58dd763e9b9d0dab1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rawIgnoredTree (cyclomatic 13, cognitive 20): rawIgnoredTree 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"79be18b96462f2c46ab884527f27930134a4a91e3eabd2934d08f596e027435e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyOwnershipReportBackstops (cyclomatic 13, cognitive 20): applyOwnershipReportBackstops 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef39b1ec109d478fb84cbaae877fb25b3983f3cf58a47684bdaf398d9bfb2058"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 13, cognitive 20): visit 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":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f037fbd13b528f98f73b78d2ac85c91528e023d5c1edff7894c385600badbd9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeWorkspaceToolInLane (cyclomatic 13, cognitive 20): executeWorkspaceToolInLane 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":"server/src/services/native-runtime/runner-bridge-tools.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5bfc37f0eb12e263c72d144bd8e2bd4f18d5db6051f72f6a38bb837b510d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkAdmissionIndependence (cyclomatic 13, cognitive 20): checkAdmissionIndependence 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":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd144953b0008134c5ee4699473abf6e03477618ca7019f8ba7980fcc7001c67"}},{"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":"server/src/services/run-evidence-migration.integration.test.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0cdf6ce58eea91ad6c5dc2c2065a9cb96927d884104ac79490289ea4971bcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isChatClarificationReply (cyclomatic 13, cognitive 20): isChatClarificationReply 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":"tests/runner-e2e/chat-flow.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3181916ee9327b8f6ec8761d76ffa7f5a7d0121b2756d7e479ed9c822c7ade9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolResult (cyclomatic 13, cognitive 20): summarizeToolResult 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab31feb21700be09b2eabbeddffdc4ab8976799db5886baa4bb8fde20bdc6434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolResult (cyclomatic 13, cognitive 20): summarizeToolResult 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":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deea7c9553cd1d467f890c0ba5124d26410af14f390c48ab04dde1990817eb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileHermesPaperclipSkills (cyclomatic 13, cognitive 19): reconcileHermesPaperclipSkills 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/adapters/hermes/src/server/skills.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"869842df065803b7bd76f17281614fab7792f427287dc7047b076285df905b5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tarManifest (cyclomatic 13, cognitive 19): tarManifest 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":"scripts/preview-artifacts.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae41d38d2d179971736c1e0cfb6628180d6153edc947a45aca4a40d0decb5e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstBlockedChainFinding (cyclomatic 13, cognitive 19): firstBlockedChainFinding 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":"server/src/__tests__/helpers/issue-graph-liveness-reference.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b075e8783e384c1bdaea610befa3e0410f605a6161ca66c900f1bb914a23bf87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function change (cyclomatic 13, cognitive 19): change 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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aac44aadb6bea4ad5ab71c06baa0cb46f6bd8fc57bd96949bed183df590deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f66ac8270492df0fb32b4087462c5b90d2249b6e8e2c2cdbad9dbe4c9e2db5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPendingSlackSessionSyncs (cyclomatic 13, cognitive 19): processPendingSlackSessionSyncs 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":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b271d68732d78e71ee81880c3f868f388b0617f1b2dc8ef3ff39738393b5c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSandboxProviderPlugin (cyclomatic 13, cognitive 19): resolveSandboxProviderPlugin 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac1f0b609ea491293ba70c6050ccac603a63e5f8cec93b9f770588615e142b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) 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":"server/src/services/heartbeat/recovery.test.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d59940d097428a35ca95043b44c1239aa6f61c8292d5027cc83a7fdf4951aea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) 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":"server/src/services/heartbeat/workspace-preparation.test.ts"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fddd96b2ce2a073583a2637a381bb08d47abd17a8ae5d29f8f3f404e03ffdf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireStoppedSessionCleanupGates (cyclomatic 13, cognitive 19): retireStoppedSessionCleanupGates 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3899}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f71d8808f361b0071787c92c8a2312a7d095049c01935ae24011511fde9dea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstBlockedChainFinding (cyclomatic 13, cognitive 19): firstBlockedChainFinding 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10efb8133975a2a24bbc0e8a77aabe029477a6fe97207aa4ebf14d0fd636300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) 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":"server/src/services/secrets.ts"},"region":{"startLine":5546}}}],"partialFingerprints":{"codehealthFindingId/v1":"036434fc2e01c7f58af66e751a9913e49e35104b3cde8aa02bb13f67b3c36396"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) 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":"server/src/worktree-config.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe3a4b0bf74987447814a6dd85673078382e983cd427856a0899041c2bcdd32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAccountingFlow (cyclomatic 13, cognitive 19): runAccountingFlow 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":"tests/runner-e2e/accounting-flow.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b4ca8db7b97e9181ea135be51cafc685bfbe4600d4c22082bece8d0282070d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepExpiredKeptInstances (cyclomatic 13, cognitive 19): sweepExpiredKeptInstances 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":"tests/runner-e2e/instance-retention.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"001e809e1e0dc71671c1410cc44533b1d42e15082449a53aed56d2e8b28286f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planSecrets (cyclomatic 13, cognitive 19): planSecrets 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":"ui/src/lib/agent-configuration/save.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73b92017a0b7ff02982a13156b5ac30032fef355e76ca6dff5036da95a459c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 13, cognitive 19): start 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":"ui/src/lib/voice-call-attempt.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1620925d5d71fe657fd06a2c7c2517e2270c0fc79bb5791d7cde023e3cf5c5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGeminiErrorMessages (cyclomatic 13, cognitive 18): extractGeminiErrorMessages 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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"714e9dba7b86c1ba43f91d582a93c396f72d733d86bf01a32c03a47ccd2ab149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverOpenCodeModels (cyclomatic 13, cognitive 18): discoverOpenCodeModels 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"de086ceb57c19d286b19d060ec4304ccbbd3c090c7decdec866aa6e8429a6871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyJsonlText (cyclomatic 13, cognitive 18): classifyJsonlText 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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7652a4f53d0cedd14c0d589f1bff1df4dac01654b4b9266a5e2748707b2055d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodeDistribution (cyclomatic 13, cognitive 18): nodeDistribution 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d7122e7a606e398eb158b082594a2bde0d50630bde8bc9f061dc00b6137c61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectAcpxProperty (cyclomatic 13, cognitive 18): projectAcpxProperty 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"121c57a3b97111c68812da4e2a5f97af8ac2d4e31373d448203e3cfdf946ce85"}},{"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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.test.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da81f006276f14ca44fef1ba1296d0c3be8f6661bbeaf93ae307b6238ad49d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suspend (cyclomatic 13, cognitive 18): suspend 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c964acaa25dec34af7e93bb1de86c8d5b7da761ef2dcd98b2d098dbb6f74de92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openedThreadModelProvider (cyclomatic 13, cognitive 18): openedThreadModelProvider 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0743ffccc096eec7d054c8c5bfa264b7e779b0e14135549684def7e9f02bf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHiddenSettingsList (cyclomatic 13, cognitive 18): parseHiddenSettingsList 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/shared/src/settings-visibility.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"16304013f7cd7f0c59832692e12867c58bb88cc09fa58dcedf459cd8aa25c95a"}},{"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/shared/src/validators/issue.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e05fe5bde55615a2830af88b79d6f1fa48ad8bcc9bb6a198c86501a12fd1337"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":61601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8328560600ec768f958e41c821b27aa44360f4b450dd3f9701f1236d5800e1b"}},{"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":"server/src/__tests__/github-connection-work.test.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff5a692c58217d67187d81c6115ace149ba2f9eedd36f61639503858299f92c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWork (cyclomatic 13, cognitive 18): requestWork 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2b95dbb5a0b53ab7516f36c2dc6d8a32535ed24759e7e5cc946dd51e5fbecf"}},{"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":"server/src/routes/attention.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20a1dfc3e0d1319bd21b69ac1122326b0351b93ac09d42287021dddabd3d910"}},{"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":"server/src/services/agent-conversations.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"7880d22c9e9a3c15da41da06cf48ea177ede0abbc5d261e7917d71cc31e775c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 13, cognitive 18): inspect 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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a357d4f09b9568cd402b6d0f961dd6f5f2f4825a1b1e42740abb25551e6f5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEnvironmentSecretMetadataForLeaseFingerprint (cyclomatic 13, cognitive 18): buildEnvironmentSecretMetadataForLeaseFingerprint 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d9d57fa63d0fac827e36af1f8b36bacde3af8743fde0294d6d84e39d883e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileStrandedAgentStatuses (cyclomatic 13, cognitive 18): reconcileStrandedAgentStatuses 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":"server/src/services/heartbeat/agent-status.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b258fd046a988c776a56d8fa02414b63e184b11ed2970b9d2b25a25d84130b0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unidentifiedLocalRunnerProvenAbsent (cyclomatic 13, cognitive 18): unidentifiedLocalRunnerProvenAbsent 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57baa1ddbae621ac9950738603a9ee1d3e7c08b7bd87aa0403bd63086990fbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitNext (cyclomatic 13, cognitive 18): admitNext 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":"server/src/services/native-runtime/plugin-runner-eviction.integration.test.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9953e448d6b2186de22a2a64b293159f6dee5f2e6aa7d9dec309ebceb7f67425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manage (cyclomatic 13, cognitive 18): manage 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a307e28dd2d6bb361ceed3a324962b0ed76a90ca98a7812949395879abf32cc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTargetExists (cyclomatic 13, cognitive 18): assertTargetExists 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":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade7f228859e3417bcc9697b52f065e15c3c36abcb777431f9957020ce26a874"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchIncoming (cyclomatic 13, cognitive 18): watchIncoming 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":"tests/restart-chaos/release-swap-driver.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0276a064c66617af53e1d53ac3b7c63df89741e1571ab255cbcf94f5a786d23b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 13, cognitive 18): api 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":"tests/runner-e2e/chat-catalog-testops-streaming.test.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b400cc0067b111b4896e26e97339509bd1ffc1cda3e401e16724a1bb6d6368e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inventory (cyclomatic 13, cognitive 18): inventory 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":"tests/runner-e2e/chat-completion-testops-results.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"199389db20d57f5f3f2bebc999c35e4aa819ae778e1a72ff3ee1e0be43c105b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runChatInterruption (cyclomatic 13, cognitive 18): runChatInterruption 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":"tests/runner-e2e/chat-stories.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5082757f04841148ba2816d458e328aa940bbec4252069eb24cdf40c2f54a99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestCheckboxConfirmationResolution (cyclomatic 13, cognitive 18): RequestCheckboxConfirmationResolution 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca1b402fd46b2548d0e5f9d1abe5ed4c41e403532110dadbd7ff278577138f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderNode (cyclomatic 13, cognitive 18): renderNode 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":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d1de1ec8c14a8a940f56fea4cdf8945f347f341d3f0d099c9c4ab58b67fd48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookup (cyclomatic 13, cognitive 18): lookup 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":"ui/src/lib/account-scope.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c809e7a36631c83ab4eeb6243ada58eb2f9386f68be3dba1bb16206a73b19f"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":2532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f74ead995f2cce5c4ce0f55d9490e5785d240f31b822822727ff7af8a0d1521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 13, cognitive 17): (top-level) 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":"cli/esbuild.config.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8def2ce157ed26013b9c890faeae70085d8eeb0d9db0223a040f94b82983464"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactForLog (cyclomatic 13, cognitive 17): redactForLog 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94b985c3990c66983961aa48985e035b17dbc19f88fe126dcce837e04b922b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHermesOutput (cyclomatic 13, cognitive 17): parseHermesOutput 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2677ce4171bbbd0e16a0aba9db9afd3adea7cd78415b5af846eda3bf9c16bdfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEvent (cyclomatic 13, cognitive 17): onEvent 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3906}}}],"partialFingerprints":{"codehealthFindingId/v1":"029066d7401f74d9e500d6b415f305cbe442e78541c213ec6a3fd9bc6d7c023d"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":75840}}}],"partialFingerprints":{"codehealthFindingId/v1":"d022d463b5a2a9ff3d7c94093aa46f28e71c811eed46ffd7c4b50cda10dbcaba"}},{"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":"server/src/__tests__/email-channels.integration.test.ts"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe233a25e00772ab34dc0f1db27e158be97ca4da6059b3ee0948c0d7d204e52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function req (cyclomatic 13, cognitive 17): req 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":"server/src/middleware/logger.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a93d017f1083e82f7cad52e2ba48d3c4ebf58f7168f9a1ad213603c3e3d0fd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertLocalImportSourceAllowed (cyclomatic 13, cognitive 17): assertLocalImportSourceAllowed 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":"server/src/services/company-skills.ts"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"10500684db7485bddae47c7ebf20bad5fa804fea7166439f9676a1b1a16b961d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePhase (cyclomatic 13, cognitive 17): updatePhase 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":"server/src/services/connection-intents.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"e434d188ff9a7459e1c110f9380a76f46907c5b0272304fabf9922730c2b4d9b"}},{"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":"server/src/services/environments.ts"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcd101203cd9216de13fca1c52a6f23cd92bbbe04216f860ed57ca2e9f55bcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMcpTaskRequest (cyclomatic 13, cognitive 17): sendMcpTaskRequest 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":"server/src/services/mcp-tasks.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e434570f0d636c213979bf8432f406ec363680acc70075c33ed297348630f08b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unidentifiedLocalLaunchRefusals (cyclomatic 13, cognitive 17): unidentifiedLocalLaunchRefusals 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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eaa22ed0064b72f43d10c34e07df294afce0416556fdc7a7964f457adb62cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settle (cyclomatic 13, cognitive 17): settle 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ba8727e93f19f1c401db46beb148ced065111c34ee78f2fe0aefba3543a8f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWakeups (cyclomatic 13, cognitive 17): requestWakeups 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67f5ebbbd9f9f50a0b0f6659ed009ca49982924b79ea2e873413cf81c7f4e1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSaved (cyclomatic 13, cognitive 17): loadSaved 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d84e132d905bd4fad97ede7197fe7f276b9157950793b44af9d83187f2809b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eligible (cyclomatic 13, cognitive 17): eligible 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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"28513b411d1e9ecaf8252fba0cdf283013be353f0a5449ecbe2dd10484788090"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enumerateWorkspaceDirectoryChildren (cyclomatic 13, cognitive 17): enumerateWorkspaceDirectoryChildren 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f1e2981d433caedcc08efbb05cb6b9b56f126f821433cb95e07e9bef923672"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRunnerCatalog (cyclomatic 13, cognitive 17): validateRunnerCatalog 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":"tests/runner-e2e/catalog.ts"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb526fed9cd8e237498431b6218563fea489da668744ff754061558bc558ec6"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":5604}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd703ad0cc6ede12faeef7c746c9d33edfb033a43d1da57d018191a58b0ac1d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deploymentAuthCheck (cyclomatic 13, cognitive 16): deploymentAuthCheck 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":"cli/src/checks/deployment-auth-check.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd8039222f2318a3fbac1aaf41f0a31657a15261426ac11b796a0196dcdce5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withMcpOsLock (cyclomatic 13, cognitive 16): withMcpOsLock 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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03f404ec3af0069e89573de877a43f6dc92edd9efa99d5f63e84a5ab8a77b52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeConfiguredPaperclipRuntimeSkills (cyclomatic 13, cognitive 16): normalizeConfiguredPaperclipRuntimeSkills 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4174}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f24b8432309a024e4a500824a6ec84f0c7af4ee9e33afdceb9547d3ab87eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchCodexQuota (cyclomatic 13, cognitive 16): fetchCodexQuota 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0368ecc4bc3475dfc9d13ce849c4de5ec7fa98114e312950fa428e7817d9002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 13, cognitive 16): inspect 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/adapters/grok-local/src/server/grok-home.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b062cba5d256fb6228c3a8493f13b087cbe84e31d7ffa1b7893480245cc0ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHermesGatewayStdoutLine (cyclomatic 13, cognitive 16): parseHermesGatewayStdoutLine 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/adapters/hermes/src/gateway/ui/parse-stdout.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a0682c224bd9e91a4d6c75d218f843406dae92187d5ee41c055d4d56195562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityRouteHref (cyclomatic 13, cognitive 16): capabilityRouteHref 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/paperclip-runner/devtools/issue-thread/src/route.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c53d44ef1ab06ddcb43233a48c8bb4b6506dc812d24845042e7613910a765"}},{"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/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6de9dc256ca7415f496ade6db19c341618297e9c2649e31543bdef5f25b151"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allowsEvent (cyclomatic 13, cognitive 16): allowsEvent 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"5886353c3dee9f06ea6ca74c428453d249c699616a784d2c02191f0d27ed8bb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scope (cyclomatic 13, cognitive 16): scope 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":"server/src/routes/muse.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59d77e270ba52883c0ecfa34fda9c567206b2e2f3241882fd17b2cb3445072b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inventoryPayload (cyclomatic 13, cognitive 16): inventoryPayload 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":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7af6b04b996643b94d4679816eb383fb9d17e22b1a52437a71671b1a2be83d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAppWebhook (cyclomatic 13, cognitive 16): verifyAppWebhook 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":"server/src/services/app-webhook.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b058f1d176de76e57fa6f9e8c46ec4c10d650f1dd8ba887a1536702da3ec29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundedMarkdownBlocks (cyclomatic 13, cognitive 16): boundedMarkdownBlocks 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"912a85dd2d27f700a9a948aeb295c948bac1cca853a1ab1b5b797ef6c48eb4c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePortableIssueAttachments (cyclomatic 13, cognitive 16): normalizePortableIssueAttachments 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":"server/src/services/company-portability.ts"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f43a6cdc35b54123d993dceff78f3858f00de05471ebde09e2813b1dd0701ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripEmptyValues (cyclomatic 13, cognitive 16): stripEmptyValues 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":"server/src/services/company-portability.ts"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"222ad69200326ff85c3f2e23ee10040924417bffb21389c0d5f51451385784bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stats (cyclomatic 13, cognitive 16): stats 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":"server/src/services/decisions.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"971d7ae77ffa3cdcd4807b62515516db97019eade28a3ea061dd42071e92be56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveResponsibleUserIdForIssueCreate (cyclomatic 13, cognitive 16): resolveResponsibleUserIdForIssueCreate 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":"server/src/services/issues.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07030accc6661ed3daa43e468ecd5026e30aaa46e50c0c9b8061a1edfaba47e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireContinuityBreaks (cyclomatic 13, cognitive 16): retireContinuityBreaks 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4e0e66b09c7d266f8b7c382be8d7b239ebb14f08058c1028e477bb44b4b6fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveWebEvidence (cyclomatic 13, cognitive 16): preserveWebEvidence 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cb1ada0487cba07c8b825368fce952b9e8d8ffe56d79a3a77faca4f88f540a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateNativeProviderProcesses (cyclomatic 13, cognitive 16): evaluateNativeProviderProcesses 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d452e769d01fb2f8703b555c7a6033a1cae1f2e33e4ab2f16b86724478570fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importSource (cyclomatic 13, cognitive 16): importSource 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":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77422e5d6ed43ed0ac134ecda3c2130fa76e3c097401243a0db32ef636597d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openLegacyRunLogForMigration (cyclomatic 13, cognitive 16): openLegacyRunLogForMigration 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":"server/src/services/run-log-store.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34d03d3cec0e59e1a73d6b9de5887771e956be12b60e39f10d991b2fc4dcad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectedCredentialVersionSnapshots (cyclomatic 13, cognitive 16): connectedCredentialVersionSnapshots 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4725}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e1061fe9bc24145d6ae9330179e44b4be8a1057fd0f7628a204fd8c0f3b4fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function availability (cyclomatic 13, cognitive 16): availability 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3724134e0cb989f3220859dae90a5da58760740d96074572ce6d2c4a63bee849"}},{"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":"tests/restart-chaos/main.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"623b2c3897ff3588c75e72471b34bd8e93baf6f22f54efcde61fcaed89b77376"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function faultDue (cyclomatic 13, cognitive 16): faultDue 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa7d40cdd4bf7508f8aeaa6bc0933a8c40eb80b49ea73cbe1d944c793098e38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseK15DeployShape (cyclomatic 13, cognitive 16): parseK15DeployShape 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":"tests/restart-chaos/redeploy.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39e1c5e8a242d2fe742729a5582b5357fc3188f83cf838f52f72ada91d9b8f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 13, cognitive 16): observe 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":"tests/runner-e2e/chat-catalog-domains/external-secure-key.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f5a76a36f0cc91e5f32ceabb9fc8321eaa9b2f3e2221aedc1de66f12d9f825"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyResult (cyclomatic 13, cognitive 16): verifyResult 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":"tests/runner-e2e/chat-catalog-domains/external-slack-thread.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b8d6ddad79dcbce0f385d1f363d99a24a1076d037df87a0a252a164ebaa5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyResult (cyclomatic 13, cognitive 16): verifyResult 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":"tests/runner-e2e/chat-catalog-domains/internal-inbox-search.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22e62a944cb0cadf93988a5ca82fe6285e7c72f47744d136950cd5a5cb69b20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 13, cognitive 16): api 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":"tests/runner-e2e/chat-feature-testops-api.test.mjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a653e67854a50f93862644a8cdf493f0cbc8c5f2d445f51ce559f998cfe093bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function largeJournalEvidence (cyclomatic 13, cognitive 16): largeJournalEvidence 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":"tests/runner-e2e/journal-evidence.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"612c08a1bd6d36e709ae35436f81fc0ef93adb779b7727e9edaae97e1b159cc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 13, cognitive 16): get 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":"tests/runner-e2e/pi-native-remote-flow.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"52efcaa58e3a49898b9c5cf5f2b27403c71daac65056e09e90514f19931820e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeApiKeyUserSecret (cyclomatic 13, cognitive 16): storeApiKeyUserSecret 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a9f84beb8e3eb3b3da5100e022c2dc7757789095c28a69c2b08fdc3f783891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatVisibleDurationMinutes (cyclomatic 13, cognitive 16): formatVisibleDurationMinutes 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":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae5ba5cf75c69d76dc316457622a89a5101736b67376a3d39fbdd32ad53b99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAllowList (cyclomatic 13, cognitive 16): resolveAllowList 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e911b80b10557dbb8bb62be3ebc85ec53c2c95f3e4af3e797e52e1320932f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureAdapterExecutionTargetDirectory (cyclomatic 13, cognitive 15): ensureAdapterExecutionTargetDirectory 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f2371e01b474c4bb68ead9ff7c886ba1aafaa6e5e87468d7fe4013a640170"}},{"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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3450}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bee9d67ef081517a5174605e0b9fd2b304ead3aa89a20801d09a21a649949f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTrustedExecutable (cyclomatic 13, cognitive 15): resolveTrustedExecutable 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/adapters/claude-local/src/server/probe-env.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4767a824beee0d7d1c22f8892d85a63a535c1b7e7d4a4041309f6553698331f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectTextEntries (cyclomatic 13, cognitive 15): collectTextEntries 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd50ee1946bbd200b59137bcd798b287189d1c1d12ff7a78924d9749be7eeb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenCodeStdoutLine (cyclomatic 13, cognitive 15): parseOpenCodeStdoutLine 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/adapters/opencode-local/src/ui/parse-stdout.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b6752ad326044fdd111909415fa0aad2d87034ad2de38493572801680aa2fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverAntigravityModels (cyclomatic 13, cognitive 15): discoverAntigravityModels 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/paperclip-runner/src/drivers/acpx/antigravity-models.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b82aa7e5c87d029b30261f4eaa5ac41de283bb3a5cc5d864bf5edaee4823fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeNativeSkillPrompt (cyclomatic 13, cognitive 15): claudeNativeSkillPrompt 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/paperclip-runner/src/drivers/acpx/native-skill-prompt.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0997c0d830ac556dea6511627bdaaeb2d6164abb8e12a39d0c8bf3b7c4212187"}},{"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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd380a441ca658efc97ac5c8ceee0578a9c990ec5d6487dfca690c2bad6ba534"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 13, cognitive 15): run 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/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":6834}}}],"partialFingerprints":{"codehealthFindingId/v1":"872109ec4c458f868f7b349360e5ac739ba9d6f8c971b07d27ad4dfd6eb8caba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upgradeStudioDefaults (cyclomatic 13, cognitive 15): upgradeStudioDefaults 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/shared/src/cliplab/model.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd09d645d02b47e0bed580aa657dc96f84eb44d90fa925588b65a12bdfc3d44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reach (cyclomatic 13, cognitive 15): reach 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/shared/src/crash-points.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e168a38a01d73ac3272269be45cd6e787b21dc776fd4369f894df3cdcf6a399e"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":70809}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76be3f5254b1fe73689fcdb097b214dd01d457ae2d2b15de2cefa9bc2b670f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 13, cognitive 15): request 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":"server/src/__tests__/idle-completed-history.test.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e773d160199e59baf0b2aabeb24fc6e2941dcfa286835757c75cef1113bc12e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 13, cognitive 15): seed 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":"server/src/__tests__/settled-native-process-rechecks.test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7075e2d8cdac676cf3e6e8ac02770bd211d6fda8bf50aaaf8cf78c1b6aab80fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSocketInProcNet (cyclomatic 13, cognitive 15): findSocketInProcNet 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":"server/src/middleware/local-agent-process-boundary.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da417e1ff964bafea799ff6d038b67877b00bb7df28879fe50c369776cdd09f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHeaderValue (cyclomatic 13, cognitive 15): normalizeHeaderValue 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":"server/src/routes/access.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca68f9b7c1bba9549e926273d3d903e674db5642066ac59c1a6aef16a3e6fac3"}},{"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":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bba86d0de8c9d03318e13a80cb611bec7734ba8113e95d9632fb7cdc11bb651"}},{"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":"server/src/services/heartbeat/runtime-execution.test.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebc96164f3671bf18e6d692f09af3f426662275e6050f67eddbbe7838449b60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareNativeRunnerFileHandoff (cyclomatic 13, cognitive 15): prepareNativeRunnerFileHandoff 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b6d7a024cae7cba8b95c8eb72013dc3138e77c07913854fc476866dece1d6"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":6786}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b269af5fdc760d71a8e34873759cb2509b12e760138df99cff86bfb78040f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePluginRunnerCredentials (cyclomatic 13, cognitive 15): preparePluginRunnerCredentials 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":"server/src/services/native-runtime/plugin-runner-credentials.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0321a30d61987cc0d8c307147071384109c7dab7f9f324a86403732815863c7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listNestedCloneMigrationNames (cyclomatic 13, cognitive 15): listNestedCloneMigrationNames 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0960cc94d60afab50b61e439cb09df07151fa21377af35eafdb965344f6a5056"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createComment (cyclomatic 13, cognitive 15): createComment 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30b057e55c57c49eb466125658c4cdcebeff50521e47d74441ad03315e8eaea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 13, cognitive 15): decide 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"99123a5c7edbb90f9a4889ed9f953d96b876ce04d2881d61b92545cbb23afa57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncSpekoVoiceTools (cyclomatic 13, cognitive 15): syncSpekoVoiceTools 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":"server/src/services/voice/speko-agent-tools.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e99631a026e42b384ae9650945c0e445313396eec1f8c3d32028cc8140444ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskLevelTexts (cyclomatic 13, cognitive 15): taskLevelTexts 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":"tests/restart-chaos/config-faults.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a5dd4ba94d1dd5c84eb3592def0b9a93a5f40b765a69b56956b375800822f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPlanInvariants (cyclomatic 13, cognitive 15): checkPlanInvariants 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":"tests/restart-chaos/invariants.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9adeb446812b271a43d3f945266de36a3147aa62d9c3358aaebe45bb80cdbd"}},{"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":"tests/runner-e2e/antigravity-journey-config.test.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3231b7f38b30d32357dda4ac9e057958f9d5c493e5baa90fe71c6241f20755f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function monthlyTeamPricing (cyclomatic 13, cognitive 15): monthlyTeamPricing 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":"tests/runner-e2e/chat-catalog-domains/internal-documents-artifacts.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"669495bc7b5a141a34b8a9c78faa8ffe3de56778962ca670dc326768d146fb91"}},{"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":"tests/runner-e2e/eval-otlp-payload.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"81163a6798f3c94ffd9f65212652d993cbe63f524178873d3b88b21a61825b01"}},{"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":"tests/runner-e2e/server.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ab1b2477e31c1221eac2dde3ce73ab7cf508cef2e7ed32ef96e4ac5f357756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 13, cognitive 15): visit 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":"tests/runner-e2e/upgrade-artifacts.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df72dfe1031ac1334b0b496e5d5e402b8a871fb693b5e99c66b46f2eda4bc44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecretProposalResolution (cyclomatic 13, cognitive 15): SecretProposalResolution 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e4738e4f6c2386140ac9c1b09fcc2c5147ac4b3e6456c10ddccd5db836adc7"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2c6216e51218127a31aaf1844694ea82516e7b3f7d49da62664dd0dc09a4fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlanRow (cyclomatic 13, cognitive 15): PlanRow 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":"ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e58a764baddaa155b8251034904fd222d74c2494a5d0476f357622cbd4f344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveIssueWorkspaceName (cyclomatic 13, cognitive 15): resolveIssueWorkspaceName 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":"ui/src/lib/inbox.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e347495fa05f5bae43092f4bcfb7103e9b462b83b7dbd164fe8aaefe52271630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCreateProviderBlockReason (cyclomatic 13, cognitive 15): getCreateProviderBlockReason 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3709bd8d060474b737c2dd51f59fb98b8ac87711c114d91335830d1afad0e7e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uninstallCommand (cyclomatic 13, cognitive 14): uninstallCommand 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":"cli/src/commands/uninstall.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f7a68ebd076e3a93341100eb9740c6f244ab1ec100b9f00973737bf01010f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyConfig (cyclomatic 13, cognitive 14): migrateLegacyConfig 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":"cli/src/config/store.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"da95c3d7468eea4d0c8b2e631dd4265b9f9eb9baa2d5440ffd3018c7fa970405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyConfig (cyclomatic 13, cognitive 14): migrateLegacyConfig 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/db/src/runtime-config.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b7102bfe700d4207bc59edbefa0e55e0fe29fbf7224e16dc62d330ba5390e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReplayFixtureCompatibility (cyclomatic 13, cognitive 14): assertReplayFixtureCompatibility 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae1ebb6eb008677ad3430232b33dad62aef7899b2e59fbabe29fd94e0fd4160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveLine (cyclomatic 13, cognitive 14): receiveLine 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1098a036a301278ae78cfc207d78ee8e9909ace2ef261f0995aa2e40df97c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function piMcpRequest (cyclomatic 13, cognitive 14): piMcpRequest 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd8e744ebe800ff2de3a6c3a4648cf6af9c2c030da1ab5cecbe5a1ae47d43c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composerModel (cyclomatic 13, cognitive 14): composerModel 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"af404e6c0fb90b5eedf6016be09d91c401c96b3a54b839bdf63b8cec79fbcb6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #completeInterruptedAdmission (cyclomatic 13, cognitive 14): #completeInterruptedAdmission 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f74ccc462842ab0ff9c1b67471d01409f6f80c057922eb8a0af826bd804ea3"}},{"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/paperclip-runner/src/live/runnerd-codex-transport-remote-retention.test.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eccb49d3c79fa01e77a942570ef1964306abfc8278e6cd0de999a62ef22d504"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceJsonPath (cyclomatic 13, cognitive 14): replaceJsonPath 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e07013bf155f694d56e56324f9b8fa97e9498bdc42374dc74537814b25d95e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onReadEntry (cyclomatic 13, cognitive 14): onReadEntry 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/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbca741e7242124d19e57dfa8a2414faa86442f87d5c653111102a012ac926c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregatorManagementUrl (cyclomatic 13, cognitive 14): aggregatorManagementUrl 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/shared/src/aggregator-apps.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"28454bce3e187332334ef7be9c0b700dcb06bbf3981e9e071e38e01cf4f782a5"}},{"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/shared/src/validators/routine.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1433e1b31057b6617f54ffec2a339a0b238acac6376d907728cb50f4166aa4ce"}},{"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/shared/src/validators/secret.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ae27d29c66f0c72d679a40caaad5823e479de8f8e9e07d1cd0105619da28ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function literal (cyclomatic 13, cognitive 14): literal 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":"scripts/storybook-catalog.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"941fd8724f4c0947536dbfd18821c6cd65bf510b2fab303bae13c52666a3e610"}},{"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":"server/src/__tests__/durable-chat-wakeup.test.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3452a2bc876f364930e94150d78f22e3e8c12080e1e80d1e0e580034c93d56c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyReviewWaitChange (cyclomatic 13, cognitive 14): applyReviewWaitChange 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":"server/src/__tests__/github-review-wait.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99c996791e208547f50fb989ca4d2e128840d03babef1b994b5b45e1095c337"}},{"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":"server/src/__tests__/tool-access-service.test.ts"},"region":{"startLine":11254}}}],"partialFingerprints":{"codehealthFindingId/v1":"401c2492a06b16e1d1a9aa1aa261a8425f728421d2eaf6eaea58e270dffa4689"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractUiParserSource (cyclomatic 13, cognitive 14): extractUiParserSource 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":"server/src/adapters/plugin-loader.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba24cfbf9837222fd331ebeabda58db86a5e58f2691f3c22ce2659a2028589a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelSuppressedRetryInTx (cyclomatic 13, cognitive 14): cancelSuppressedRetryInTx 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d05141f6c1dde099c349cef619eaf234430668d749bc50d9dbafc5635bdaa1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProtectedMemberReason (cyclomatic 13, cognitive 14): getProtectedMemberReason 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":"server/src/routes/access.ts"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20d065292cc440c28cef8b8ea66df3525a0179a3f7809a3963e0074cca22108"}},{"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":"server/src/routes/companies.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d4a32630bc2682811b4d83cee329ab5e418e2526820be5b7516a0e872f0eb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeEnvironmentUpdate (cyclomatic 13, cognitive 14): summarizeEnvironmentUpdate 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":"server/src/routes/environments.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108b3aa2c49d9cf6d79bb6d40e882b2a7a1795d98421e8d7a113adfecc45eaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function channelPermissions (cyclomatic 13, cognitive 14): channelPermissions 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":"server/src/services/chat-discord.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f7c7f406998d269b7f07bad473a756e9c88b950509823b5904320deff07132"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireAndRecover (cyclomatic 13, cognitive 14): expireAndRecover 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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"608b18cf4210e9e8cc89ba6e6850ba4de5947a3d68fa3f3a15685fc43eb61974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resume (cyclomatic 13, cognitive 14): resume 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":"server/src/services/connectors/tailscale/device-login.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"426cbd668006a72caeade03c91fa922b802f3c5f72b00b92a807422632a7c4fd"}},{"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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fc5fcd566603e2b9d3cf8c8500f80b3419a01848c8c79e3f2e475756fa1a1"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd3e57725e0cb58c0cd15ed1a8f1abfc9f6382564eeac9b2f404d0ad7edf32e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveFolder (cyclomatic 13, cognitive 14): moveFolder 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":"server/src/services/folders.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b7114374c8ca23c3c264edf385c83be91badec4dce14432305f5400d9cb47a"}},{"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":"server/src/services/heartbeat/run-completion.test.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"80430bc6ba0f597b12cc78849543a5699011a170b0699895aaa896d83b69fc6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listIssueDependencyReadinessMap (cyclomatic 13, cognitive 14): listIssueDependencyReadinessMap 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":"server/src/services/issues.ts"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0245cda53e978a527ec36c5533d1bf0f74068abccd451cba05debf1390c46878"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":8262}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b9ce5f6ba9e48badacedd2936d7e943f9b614e581b5176c578a7d446a9dfdd"}},{"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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a17a0a910cf7db7203a1d363b6c9270ea4f7b0b8603144187b76c96eec0b45f"}},{"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":"server/src/services/native-runtime/native-runner-restart-recovery.integration.test.ts"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d82d646e52af79a1b5326f644dd80c4a50cc1fc906606b42d9047c52000718"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveRuntimeSkillAssets (cyclomatic 13, cognitive 14): preserveRuntimeSkillAssets 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":"server/src/services/native-runtime/runtime-skill-preservation.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f982c6b10dd5c7aaea7faa330dc0f2b2dc32eae026e43eb55bf39fceef7e407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePluginSandboxProviderConfig (cyclomatic 13, cognitive 14): validatePluginSandboxProviderConfig 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":"server/src/services/plugin-environment-driver.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcfaf334d267b441fa8e20489c935e041197556c9654c58b811e4ea149fa36a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAttachmentContent (cyclomatic 13, cognitive 14): getAttachmentContent 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2873}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f38e64368b7f1ff3667aaa0832ba581963edabcd99ddfbbc88058e18f7834f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 13, cognitive 14): classify 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":"server/src/services/prompt-injection-prevention.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49e60b8bdfa6a0a350dbb881ec15a024f8552a5d4229439ddb04afeb4ce81bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskAccess (cyclomatic 13, cognitive 14): taskAccess 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":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c28548b07859e65d823a210d978f1e191d914dc920af36a23feaf16a637dcfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function questionAnswerLines (cyclomatic 13, cognitive 14): questionAnswerLines 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":"server/src/services/question-response-delivery.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c2443b67b6642173008817f269937e465c46f0a37c90758f060049b01c1433"}},{"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":"server/src/services/skill-package-store.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"acac44383b28fa5792997755c5511b6e5d4a8428361bc62031777c5053337041"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileTaskWatchdogs (cyclomatic 13, cognitive 14): reconcileTaskWatchdogs 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"9688ec54648f1c33b4f94d972c5288908bd156ff34129377d3f4c61aaeea82ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSupportedGenericPolicyShape (cyclomatic 13, cognitive 14): assertSupportedGenericPolicyShape 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d5b6def4ebc280a929979a61c996cc95ee2127f5efc9b0d2733f459647cc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishGalleryAppConnection (cyclomatic 13, cognitive 14): finishGalleryAppConnection 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":"server/src/services/tool-access.ts"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cca15aa27fdf3bc0d80943e64d4ce796c9a39d83be77d43284130ec4ac6086"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAppsNeedingAttention (cyclomatic 13, cognitive 14): listAppsNeedingAttention 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":"server/src/services/tool-access/catalog/attention.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f00b19fe9490bdb813867289715e5ff4d08debe43e5f038abefbc9df708d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubDefaultOrganization (cyclomatic 13, cognitive 14): githubDefaultOrganization 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":"server/src/services/tool-access/github-default-owner.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"972157a6663aabf2a767601e955d13af731235fa0d1c3eead05ecad3a7aaba03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uncertainExternalAction (cyclomatic 13, cognitive 14): uncertainExternalAction 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"202775b888b1fc1384a4e4cf1700968a9e1da2b8b014ead9aeae2bae7130925b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 13, cognitive 14): get 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":"tests/runner-e2e/product-journeys/task-search-filter.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686de76d38c2c6eae4b13d0375c0761880ff86f57e53ff4d5e2e881fbd9369d"}},{"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":"tests/runner-e2e/task-chat.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab651ce7b7b3a7c62612730abd790469f1979a7976e80df53a4339d5f559c17"}},{"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":"tests/runner-e2e/worker-timing.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cb9c940c813df5b6ded27bd68c08227a39d6f6462b1570640b034378db15fe"}},{"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":"ui/src/components/IssueChatThread.test.tsx"},"region":{"startLine":3143}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4bdccadb0218bdca36151321aad1f86c7a6cb3e4ce4646f0c8534c075065d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 13, cognitive 14): onSuccess 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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daee6b9627fc934fff3ebc1f564e86e9d7303051cf15b02cb69ff70d464bf49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteTrace (cyclomatic 13, cognitive 14): deleteTrace 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":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"127b859d5e6291260d003dbc7f7ddf73d3a3202b38943f887abb7d90a997023f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillFolderTree (cyclomatic 13, cognitive 14): buildSkillFolderTree 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":"ui/src/components/folders/skill-folder-tree.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20fd86f4a1c2f516f677e9899c9c46b028a0442989734a619ba20ac1d26b258"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initialPosition (cyclomatic 13, cognitive 14): initialPosition 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":"ui/src/components/task-chat/scroll-navigation.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffafde47144863b73a637810b79200106ffee3cafb63e64524dd77ece621b7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rawEntryContent (cyclomatic 13, cognitive 14): rawEntryContent 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d551f34161035401b291fb794d792c6ffd65feb1e6e72feb70d92c1339b70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshMentionPoolForActivity (cyclomatic 13, cognitive 14): refreshMentionPoolForActivity 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482d22935b779c5d5788450143328f3797be85294f68e133a295832218897c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 13, cognitive 14): mutationFn 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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd1bda910f96bf6599a04911ede831fac3a1554250f8fe3f7ba2bfe3a1f755a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchFilterPills (cyclomatic 13, cognitive 14): searchFilterPills 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":"ui/src/lib/search-query-parser.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"161999d4bab7d901bf8454b673f9c52f49f4e78207919be60b583d83aaa647fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateWorkspaceForm (cyclomatic 13, cognitive 14): validateWorkspaceForm 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":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5e10d05d5cff7a34f9fb85132db3886a5fc4216660ba3ada7050f04d3b4c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getQuotaWindows (cyclomatic 13, cognitive 13): getQuotaWindows 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/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ca9e05162c6ae5e70ad197f6491319c5c57c6374a45c58f2ccc0b5d9fdf038"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexAcpConfig (cyclomatic 13, cognitive 13): buildCodexAcpConfig 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d041359bbbfb78282ea69cbf2d5d5bdf5f52734c8cf478735334cadc0ec98ce4"}},{"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/db/src/agent-config-read-grants-migration.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cd2f02e16d024c74820f8f8e680f46827ad7040a8f435fe918ff1d0a1af493"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callDemoTool (cyclomatic 13, cognitive 13): callDemoTool 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/kv-demo-mcp-server/src/tasks/tools.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bbebdbaedb679eedf956002599dcaed005345c8f548ce65547060e135c1bcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchAntigravityRuntime (cyclomatic 13, cognitive 13): patchAntigravityRuntime 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/paperclip-runner/scripts/patch-antigravity-runtime.mjs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0618c265bfadafe40bc95f275f6f937b60bcabc22e8e34e7467642df53dee9"}},{"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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.claude-provider-turn.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9285b2318dfa7f8fb0454fb5d5d96b2b432d3728dc62068999b5ceeaa14027a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 13, cognitive 13): observe 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/paperclip-runner/src/drivers/acpx/prompt-receipts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d95272f3978134a9f2a8323abfbfa2b209995ccc5e7fe50922458248aac288"}},{"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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04ec84448e0e3e8ed5104cfe30a4a94fbcbc644ddf495267d9c1818f55d8248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentExecute (cyclomatic 13, cognitive 13): onEnvironmentExecute 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/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"309d64b12659a23d5a65c19ffc554d9f0b321f4c4d27078dd35db83a7ab1558a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createInteraction (cyclomatic 13, cognitive 13): createInteraction 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8c5306c18787b33c4b5086987354e61caaad331feab58f0dc2a5261d25bc67"}},{"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/shared/src/validators/email.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b3f7e8d297d5bbfe2945dc3adabe64c1595e635f3b14b8fe4f5c660584a2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectionEligibility (cyclomatic 13, cognitive 13): selectionEligibility 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/ci/select-tests.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98eb2f893ee5a9cb3c724e471700ace848fb60be9b5f666347532f4abc57fda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkArchives (cyclomatic 13, cognitive 13): checkArchives 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/runner-image-layout.mjs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ecf34df1c4725133b506b4ff7da90633b8dee2accbc68f04aa5dbc16f3974b"}},{"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":"server/src/__tests__/cases-routes.test.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d470d617cf98a82edae955f942756523dec333309b94566b2bcfc2373bac99"}},{"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":"server/src/__tests__/heartbeat-comment-wake-batching.test.ts"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894d780b15d5e2544df16b0df93a47bd1691c23c3fa0c9217039b6926214e84"}},{"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":"server/src/__tests__/muse-control.test.ts"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd1d6e7b1faedd68cf3f4a0a4d641cbd556e596d8a74c31607be727544fca7"}},{"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":"server/src/__tests__/task-workspace-binding.test.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dbb95627e9248fe362d3ca99e1180cd73cc0ad5675d9fb1005194aa5cdc4af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activityToastIdentity (cyclomatic 13, cognitive 13): activityToastIdentity 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":"server/src/realtime/activity-toast-identity.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9a72192a5bddfc5b00fc24fd4ad8c24f550f714596532a6f3ba98d0541a51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCreateDefaultsByAdapterType (cyclomatic 13, cognitive 13): applyCreateDefaultsByAdapterType 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":"server/src/routes/agents.ts"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692cf9a46e59033a78c25dd936cd94d4e83d433c7765b0ef1e9dd42f041d0cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reopenClosedIssueExecutionWorkspaceOrRespond (cyclomatic 13, cognitive 13): reopenClosedIssueExecutionWorkspaceOrRespond 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":"server/src/routes/issues.ts"},"region":{"startLine":8250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79eec1e6f42672585f8ad3b3843c57e5cce7c272a6934a1182e74b46761723b"}},{"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":"server/src/routes/tool-access.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f733eed0e726c92fb15a0efaa2ed8ee79802e528bf2487518ff1abd0f50a4b"}},{"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":"server/src/services/agent-observability.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"176c936dae40f2fd7183ded1f7d2bf05f58ee0391f26a511a039a4c063644522"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decidePrincipalGrant (cyclomatic 13, cognitive 13): decidePrincipalGrant 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":"server/src/services/authorization.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d606a62b58a002e884b11156a0e163d5c19d58b999a4e2b9f78227c4e77a61f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 13, cognitive 13): run 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":"server/src/services/budget-enforcement-worker.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6e76802c450c3d77f8ee129e19d81e5e2753d73792c35660caedf952b37926"}},{"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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c1b5744ecb3f16297ca71046b9e405d0974e658cc1fe60aa52d7e04be102ae"}},{"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":"server/src/services/chat-channels/slack/cloud-enrollment.postgres.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c48adc59d9ee503c46c78415246a8b93d4ee33dcccab9f503dd5c24f833b5b"}},{"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":"server/src/services/chat-channels/slack/form-retirement-work.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a8b7ace5f4e87303c68c14a6b8c5404c3a82bea2687b156b95931baa58cef5"}},{"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":"server/src/services/chat-github-management.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f5e94ce0657117ebde076a9440f879941c849a904a73c7d9512f430b7ef6ce"}},{"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":"server/src/services/decisions.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8a317670a396080b71db6d8fc4d9e9fdd4c9422ee64374a2f4bf34cf5ce72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueSend (cyclomatic 13, cognitive 13): queueSend 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":"server/src/services/email-channels.ts"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"942429e4dc17ce22980c8c5cbf5f9736116e99c9d1a926f13eb0290be667619f"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92b60c514c97e9ee15c2579eab50e1812432a2083843c22e1bcb2992ebf0147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 13, cognitive 13): request 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d135cf4a2d17b46ed9dc613877e8d8d0161fdb72d58d51862e7a64735d3d8771"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeHotRestartIntent (cyclomatic 13, cognitive 13): writeHotRestartIntent 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":"server/src/services/hot-restart.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e03e74bb7a630f55206cf6717716eabece341ebe007ace2b69fd186aae6424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedRepositoryPreparationError (cyclomatic 13, cognitive 13): managedRepositoryPreparationError 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":"server/src/services/managed-repository-checkout.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"625b7fdf4953597e240b824a5029568ee54c6cfa86e2a3f31a7d97fd3d8f6cde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 13, cognitive 13): execute 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0aaaa220fe34639d950a67de201c027a1b8a26e15e5ab8d2d7c2ab193b53d8"}},{"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":"server/src/services/native-runtime/native-preserved-monitor-wait.test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"768f8f26e08eb79a52c2f9ad917d132d9638cdd4f9406c87f77fc568e7dbc3a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveNativeReconciliationStatus (cyclomatic 13, cognitive 13): resolveNativeReconciliationStatus 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":"server/src/services/native-runtime/native-reconciliation-status.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f452a6ae205f491fc86395bea816fee43f0599aeb33bbf7d375cec68fa3cf849"}},{"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":"server/src/services/plugin-lifecycle-inbox.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbfacac0228a7333b7a0ec5f82f2f7a67174ae4383c1737ef7d7e494adfe0dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function triggerInput (cyclomatic 13, cognitive 13): triggerInput 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":"server/src/services/plugin-managed-routines.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"710cc71bec5252f95e4510e81771691c5133d6feb6c3036b6286bfba5ffbcebb"}},{"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":"server/src/services/remote-workspaces.integration.test.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"706c7790919f5e47a5cb6673ab968ec52c56070fbd461be3b78fa8cda970e470"}},{"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":"server/src/services/run-start-handover.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb4c56f2518ea4903399de520b2fdb095d15ebcfb4978e4e39e7ccbcc93de31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvedRemoteEndpoint (cyclomatic 13, cognitive 13): resolvedRemoteEndpoint 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":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2ad0d4815279c1afb5fe93a9b07863ef883a9322ac8dc86ae98b044f87565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayMatchingAgentAction (cyclomatic 13, cognitive 13): replayMatchingAgentAction 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10739}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36ff2453097b78ef506cb7ce2c02a986e5acc6902c5204bea99ad15ad8d2d12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopEmbeddedPostgresIfRunning (cyclomatic 13, cognitive 13): stopEmbeddedPostgresIfRunning 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":"server/src/services/workspace-instance-cleanup.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3f1cce916f09eda356064789c7db3038846c5ee3117a38df5095c6c0e25203"}},{"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":"server/src/services/workspace-recovery-preparation-gates.test.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62fc4b68b40e7f11e979ecd1c13a50b45fc0fbf2cd67bb312bb5792833cdcef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorkspaceRuntimeDesiredStatePatch (cyclomatic 13, cognitive 13): buildWorkspaceRuntimeDesiredStatePatch 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":7624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe9793079e88fd460aa7bb74cfc94cf2b50a24653022c42d5e5752288c3cfd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyPoint (cyclomatic 13, cognitive 13): classifyPoint 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":"tests/restart-chaos/crash-points.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"586d82f994636857975f8f601657ff870dd5c0274347a438c7115e0252fd368c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDiskFullRetry (cyclomatic 13, cognitive 13): gradeDiskFullRetry 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":"tests/restart-chaos/disk-full-faults.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d73815821868cb9e2bc8968efb4600777fbd23fa81db4c89bd8e2c53cf814e1"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-plan-decision-observer.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d38a2d1c90e5d62bd46e39eee2c7d0cf40499e4c3d275842a6ec9caa2f8f93"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-agent-feedback.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5732f858df03fd85b08a118f10ec4a3b51c18493e958137968ca9085bd3bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmation (cyclomatic 13, cognitive 13): confirmation 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":"tests/runner-e2e/interaction-report.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"86efebaa99c341f377d77c6416e2ba794f5e756b9ba2cda7729b1c67611b463a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runProcess (cyclomatic 13, cognitive 13): runProcess 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":"tests/runner-e2e/launch.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2b4961bc09af7e865433fe0343be48891f5a9011a3ec68c4877b607230bbe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 13, cognitive 13): cleanup 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":"tests/runner-e2e/native-active-stop-flow.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a57d6c3838b9b95906d90bf50fdedf25388cf82c337be84b2ec47f0a28c8421"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upgradeRunner (cyclomatic 13, cognitive 13): upgradeRunner 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"5525942fd7a4c8b3fb3faf0a248cbcd2c01abacfc9cdebd6f2eecfdeff4d22ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureElement (cyclomatic 13, cognitive 13): measureElement 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4289}}}],"partialFingerprints":{"codehealthFindingId/v1":"934c4930ac62611b610c274e535a0da2977aa9dbdd1c9b21150ae2b5238ff867"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InvitesSection (cyclomatic 13, cognitive 13): InvitesSection 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":"ui/src/components/access/InvitesSection.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edff9553dfe76d759103ba523a8f3143fec9fa4d0518f524f1c6efe939015cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeIssueUpdate (cyclomatic 13, cognitive 13): describeIssueUpdate 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ff9c21f898816c829ffd5e28eb36d218dd2267e94e1a969924e24420d5e61c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attentionResponderText (cyclomatic 13, cognitive 13): attentionResponderText 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":"ui/src/lib/attention-views.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eabfda366b8f94639abdbc22167fc78a7f8b8cefb5259063b4f004296f08a02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeInteractionResolutionFailure (cyclomatic 13, cognitive 13): describeInteractionResolutionFailure 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":"ui/src/lib/interaction-resolution-error.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4ba57b64471ef63b150053dc51b2038456c9a12f06fb136a56258314a0595f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAssigneeAdapterOverrides (cyclomatic 13, cognitive 13): buildAssigneeAdapterOverrides 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":"ui/src/lib/issue-assignee-overrides.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08436ee82c798c80dd8a3c251db8aeacd9353c9fe8d3b00a50e14fc4b94b523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 13, cognitive 13): start 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":"ui/src/lib/voice-session-controller.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6fa86dd9ea327e99fc2bec4f54f3087093d044503acc13222c369c1bd15a36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConfiguredRuntimeServicePort (cyclomatic 13, cognitive 13): updateConfiguredRuntimeServicePort 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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"76865d290ce1b2a799c86f1863b0dfbaf3f601cb7573f0f1c72e8177c29e29e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeIfChanged (cyclomatic 13, cognitive 12): writeIfChanged 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":"cli/src/services/service-manager.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21ec2c5d17e9655b601011d9519856318498fa30f6850cb788a0b66494f35eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOrdinaryDiagnosticEnvSetting (cyclomatic 13, cognitive 12): isOrdinaryDiagnosticEnvSetting 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/adapter-utils/src/command-redaction.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ae8de9bd4ab5f6172b9562908549ad57c44484bf587ddb75ac9dfb5654bed3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHttp2BridgeServer (cyclomatic 13, cognitive 12): createHttp2BridgeServer 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"630a2d8dab019145a28238863eca81940cc3e9d9c2ad1fadc6b28bb55c6bcfc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertValidAdapterLoginCapability (cyclomatic 13, cognitive 12): assertValidAdapterLoginCapability 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/adapter-utils/src/login-capability.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd945c3ff1c887e35298db10be7696232ec5f1cbc0199a94e0a06c6189570f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeSandboxBridgeBody (cyclomatic 13, cognitive 12): decodeSandboxBridgeBody 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/adapter-utils/src/sandbox-callback-bridge-body.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f2be39ead13d034db5fdd53a0158a12e5626f732bddcd57ac957b5c0f3b82d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertIncomingChange (cyclomatic 13, cognitive 12): assertIncomingChange 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/adapter-utils/src/workspace-restore-unchanged.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3834bb6ffbea943e8f8e51723a3d1a01b52a428105260b61c3cd49b0815ff0d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function asErrorText (cyclomatic 13, cognitive 12): asErrorText 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/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9c048b1cd02f8b8c4f35f941b5a1875ee7a6b8b6ec570c0ee0f7c947a21b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorResult (cyclomatic 13, cognitive 12): errorResult 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21cded9bb239a8feedd1ed48ecf3d366040cb686f6d5c19ec9c83432baf7810"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAcpxPropertyValue (cyclomatic 13, cognitive 12): assertAcpxPropertyValue 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"20779ccc7bf91e5c13d1c18344af796b981dd1a7b68de08b6fa2cbd412c6678a"}},{"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/paperclip-runner/src/cli/acpx-runtime-sidecar.test.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"88180fdd536a037670ef0db75bb924c3953625aa37784d3fb2739020547aae7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCapabilitySemanticObservation (cyclomatic 13, cognitive 12): normalizeCapabilitySemanticObservation 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/paperclip-runner/src/conformance/capability-semantic-conformance.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f429d01f266306545f444485c8abc2a0a961260c0644b367ba1523dd9e78b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 13, cognitive 12): fixture 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/paperclip-runner/src/control-plane/acpx-controller-recovery.test.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d6872b91a2d32e44d58a61c1da44d03940e6e2a8fb696c3089f212af95446"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCursorSubagentUpdate (cyclomatic 13, cognitive 12): normalizeCursorSubagentUpdate 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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea12f2324fe7403cdcaee5059003ae2d1e03773ca3dd39d8435c1ac9e7995b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectedModel (cyclomatic 13, cognitive 12): selectedModel 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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"38450d323829e8ec4534c83acaaa6217747049d4d12401a1e548716553cb43c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachRun (cyclomatic 13, cognitive 12): attachRun 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/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2d98b930f38cfd3d66973da1627bdbd61609d20034e7eb82b41a01e4ed0563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isBoundCodexNotification (cyclomatic 13, cognitive 12): isBoundCodexNotification 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/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c9c9a8f93e5d2bc455fa430134f6bc2a18dc961b6b257e809c5208d0c27430"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acpxToolOperation (cyclomatic 13, cognitive 12): acpxToolOperation 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da806a965f8917c385fb963a96ea112bea2adeeaa2a282e1ba5f6a85c507b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSpace (cyclomatic 13, cognitive 12): updateSpace 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e36e3c40fee745ca1a1e4b8da585e51bc290efa1090f9b3c759a5796ffbfa8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSshConnection (cyclomatic 13, cognitive 12): createSshConnection 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d19bd3989be558ea2288286a45a2c40a33b5ac1d623d94c90e6805fb9f6226c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 13, cognitive 12): reconcile 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/plugins/sdk/src/testing.ts"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"245085be0186d9a52a82903ca5f35a523fd701b07013c3506c57ee3b033f1ae2"}},{"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/shared/src/question-set.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e1bc07aa44190afcebaf9a3bd5016a8940e494850b3829a4221d502c19bef7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlScalar (cyclomatic 13, cognitive 12): parseYamlScalar 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/teams-catalog/src/frontmatter.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0671dc50f7059143915c960f7dbee1ad82269a580d8c19ce217db5e5ad4073aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferRole (cyclomatic 13, cognitive 12): inferRole has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-company-assets.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3959d18fdd578f0eb101401b56c6237aeb6a2d20e6d51bc518bce909ce40bf73"}},{"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":"server/src/__tests__/agent-chat-messages.test.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f17103eb37da22197e1f70849484dc5c2e46f9fa188f673bf5885a2613f5e77"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":10331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c08acf82ac76839d0a9ec37b9d4a8595a5055ad4aeff9968ba4a863f4b00a45"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":35941}}}],"partialFingerprints":{"codehealthFindingId/v1":"66430d390135f087d15518a1a88738cb41e989b3490c15a2816d44d8e6d278e5"}},{"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":"server/src/__tests__/chat-run-milestone-governed-work.test.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba380c11004c71e3006de220b606d13a7f564c1ea28506ed8c176507993e83b6"}},{"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":"server/src/__tests__/confirmation-comment-resolution.test.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"237a843694891f8c47eec6281acfd2b3d8aa95c1bc3877c2f21d06f5efd46369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 13, cognitive 12): seed 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":"server/src/__tests__/device-login-reaper.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ce10be40f84bbd57c1b81a01a9bc43fa9aae21b099439fe92d6c3d24fa2f76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedInterruptibleRun (cyclomatic 13, cognitive 12): seedInterruptibleRun 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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":3740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec65fbe6f0d170926eb2dab7399b4834ec7a94c398fb7bdf4e82464702284de"}},{"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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":9407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25a85889ffb0da394db2d183b0831da5d747c0a7970171cec919dfdcfe2902a"}},{"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":"server/src/__tests__/issue-agent-mutation-ownership-routes.test.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ce72620032f921982f9498d3e6c6fa746fb8d35aa6081a58d15b44d8bb0d6b"}},{"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":"server/src/modules/active-run-watchdog/application/use-cases.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c157ba0535138ffe8195095543cee4d62a66e739921314a26c5f54df35343f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestAgentLifecycleRecheckInTransaction (cyclomatic 13, cognitive 12): requestAgentLifecycleRecheckInTransaction 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":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"569f7d724c7e445d0caaa7fc833b7b1c52a2011d993dc21bd2bd3c168db3a889"}},{"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":"server/src/routes/company-skills.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d7d3d20a7eded0904453c029609d3cd969cad8a5e2a9d9dde2f9aabe8b0c72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function profileInput (cyclomatic 13, cognitive 12): profileInput 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":"server/src/routes/remote-agent-profiles.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac9d3427e0161be6dce4c29c66d05ea1252bf8cf98824dd6eef6ca3b427e1d"}},{"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":"server/src/routes/routines.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d0997a08b6f08841cadfc1bffafe7029bc92c8290a00b5f6891cf5482f2b70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverManagedBundleState (cyclomatic 13, cognitive 12): recoverManagedBundleState 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5932ef8d25567cc460fd86c2d54ef878ca32d10064c75c87222eb346fc6f75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHandoffTaskParent (cyclomatic 13, cognitive 12): resolveHandoffTaskParent 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":"server/src/services/case-handoffs.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76223597ee07ec762d010538764e55b598efb6e804b7732a31c3a3d72a6a1fd"}},{"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":"server/src/services/case-handoffs.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64e52d0b2b42c238361b31a544f4abae687a34db50690265a41a6a3825c4ed2"}},{"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":"server/src/services/case-work-summary.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6475bec1048accfc6369656562790df902cbf0d9cbae7323007e471ddeef2565"}},{"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":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"103cc98a92bd6b5206cd398f3ececf463227a65d3a9264b247a780d880af84c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 13, cognitive 12): create 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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b048f08aab852f195f39e46a787013d58478c01269f619357040a0ab58ad291d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewForHead (cyclomatic 13, cognitive 12): reviewForHead 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":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a71bd4b15aa21c555ff85a77fab6641e7620d0a44948b03e377ed23e94f82e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativePublicationTextSize (cyclomatic 13, cognitive 12): nativePublicationTextSize 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":"server/src/services/chat-publication-text-parts.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89b85a64c0724802653c5f48a3a951de0db698e10d4e8ad1db8d9e8c9cc7c73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlScalar (cyclomatic 13, cognitive 12): parseYamlScalar 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":"server/src/services/company-portability.ts"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d630c4a680c639c6a9243346291a0738f325221eafe22f00e9956923e0e2a262"}},{"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":"server/src/services/company-portability.ts"},"region":{"startLine":4646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09c728d2875cb82a352d3fb02f5fb084f61e0ebd3381fdc381d310bc4b32eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rememberVerifiedSlackSearchEvent (cyclomatic 13, cognitive 12): rememberVerifiedSlackSearchEvent 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":"server/src/services/connectors/slack-search-context.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"586cd78fc3692c220b9a406e17a7b6bfbba8d745ce25146c7c5344c4b8118a13"}},{"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":"server/src/services/covered-historical-workspace-source.integration.test.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be558b5eb7ee9d7fc162ed2c860fa6d3b82c8c274c93330b12de2e9c4654994"}},{"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":"server/src/services/documents.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d44eefc34a7c3fcd7a64c6874cb861d7abac012a6d4af69d2b4d4b83b178df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 12): constructor 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":"server/src/services/environment-provider-unavailable-error.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f6f01e98976a4f3fa2d1742b175e691c3a15476d5203e1b77db8476f1e55b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPendingCleanupWorkerReady (cyclomatic 13, cognitive 12): isPendingCleanupWorkerReady 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba76b7c1fd68d934f5d43d369a057077da66c5b66292ba0f433140daaf933db"}},{"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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed341607155fb830073fed26eaba32b2a7857d170ca4f6db9c214ab1f5a6750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTaskWorkspaceUpdateAccess (cyclomatic 13, cognitive 12): assertTaskWorkspaceUpdateAccess 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"3471434e006687a12d61a104e60a0e99614cad4a29c867f67cf85987177910fb"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b83079e5307ba01ce64a070d8f42b5deebd3482db7bdd2df17b0f21ebd8f2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beforePublish (cyclomatic 13, cognitive 12): beforePublish 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":"server/src/services/git-workspace-contents.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4186670858605d077155cdcf38865fd9ee65fc192f714215294e23002393a4fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provenManagedCheckoutHistory (cyclomatic 13, cognitive 12): provenManagedCheckoutHistory 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2aae896131772eee6a5c97d5332fc1876184e32a5467db388e6c35a39e7135"}},{"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":"server/src/services/heartbeat/run-control.test.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccfc0c926cdf43706eca49648c0be4a53f3d62ebae60cc191912834338733ac"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":8839}}}],"partialFingerprints":{"codehealthFindingId/v1":"5def7321ac4196ed8997ece00f2073191cc18624de14f55886add7af59f447bc"}},{"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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":5519}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7715a9fdb557ab699f22524b4a0b6a606462798df105f5bb9e102a5004f509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMigrationMaterial (cyclomatic 13, cognitive 12): readMigrationMaterial 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d326303c47d322f01938babcbce9066574d425990f7eb0e7fef05dccf18f1def"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishVerifiedDone (cyclomatic 13, cognitive 12): finishVerifiedDone 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":"server/src/services/native-runtime/native-execution-policy-review-stage.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaee65a8ed41073136f7c81b447145a576a20eb50ed8168dc93b5775dc50a64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideNativeReplacement (cyclomatic 13, cognitive 12): decideNativeReplacement 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":"server/src/services/native-runtime/native-replacement-evidence.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5364a73877e4380ed88b1a0f4ee99369459e14ffd6f3efbd0d9312072477513"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNativeReviewAssignment (cyclomatic 13, cognitive 12): getNativeReviewAssignment 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":"server/src/services/native-runtime/native-review-participant.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8b9d7c303f43bbbc1332e842e5099fe764e254a19a29de235afe6bf324e3a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPriorRunnerdStateForSessionScope (cyclomatic 13, cognitive 12): verifyPriorRunnerdStateForSessionScope 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5340}}}],"partialFingerprints":{"codehealthFindingId/v1":"188d146fc3a62b0298c94285afa61f250fc48725f42655f506207d843d9ade40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkpointSession (cyclomatic 13, cognitive 12): checkpointSession 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"46787bec3796b2a868845ae77cfad6dd4fec891b3d39c2fa0bf5b74c4b8b78ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settlePluginTaskCredentialHandoff (cyclomatic 13, cognitive 12): settlePluginTaskCredentialHandoff 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":"server/src/services/plugin-task-credential-writeback.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2b95d956604437a935c70a0af0ece32b239069513d629a77d6e68095187973"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeDuplexChannelData (cyclomatic 13, cognitive 12): routeDuplexChannelData 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"37345f7e5e474fb00ca3de19609eeea504aa37786be7a04a60390cd7fe403244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPublicMcpOAuth (cyclomatic 13, cognitive 12): createPublicMcpOAuth 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":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ac4666e5b60b3e2d04b6e96c07350755b11308df0f1e21a9e1032e4d1012cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewPaths (cyclomatic 13, cognitive 12): reviewPaths 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"40696d708d319c7fb4da4b53c627621c2bfa3d8783dd3cf708bdefe55396d57b"}},{"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":"server/src/services/recovery/service.ts"},"region":{"startLine":6521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a28790aa677ec3b5c9440aeedefec49a4b6b02c2cd66b046fe6c28075a7059a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsert (cyclomatic 13, cognitive 12): upsert 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":"server/src/services/remote-agent-profiles.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3919640a5cfce7532bb8667b5f66c9102debcfdc4a19bd6fc67428fc20f10b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStableFile (cyclomatic 13, cognitive 12): readStableFile 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdff7931de899e107ff77956df95c77b94b9fec4ebcf8b37d0c44c394dd583f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteWorkspaceCaptureFailureMessage (cyclomatic 13, cognitive 12): remoteWorkspaceCaptureFailureMessage 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e3b9dc92cef312e4170544670420af918fd4829234299dbb3cfa41e8039cec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSecretValueForEphemeralAccess (cyclomatic 13, cognitive 12): resolveSecretValueForEphemeralAccess 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":"server/src/services/secrets.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8badc6907c51791eb7fe8734735390fe082206ef0f33699494bed85d61d7667e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isServerReplacementInterruption (cyclomatic 13, cognitive 12): isServerReplacementInterruption 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":"server/src/services/server-replacement-interruption.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa40a28ca255adb61b4d70a2394b0efdeb3b38ca984adba8348a3eccb0439ce"}},{"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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbdadbaaf8412dc737313bb6ce5e2ffe635aff72e15edf9b6f55f92f666f3e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callMcpAppViewTool (cyclomatic 13, cognitive 12): callMcpAppViewTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":12121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc04e0e8e56a6a72bee85ecd034953b47a122f72b442c0a018cf32b679d02c9"}},{"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":"server/src/services/work-products.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"92676f1599caf77310cc599eb547291043612a3c8c1e0e34e914e7807d47847e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function targetProjectWorkspaceCandidate (cyclomatic 13, cognitive 12): targetProjectWorkspaceCandidate 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8be523eb72f3915a0f80e94c85bc5e0f1991cc466cdf49b6fb7e0a90b8ed8c7"}},{"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":"server/src/services/workspace-recovery-preparation-gates.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8d67eb45c96f98b9b27eb311f7885487484221d2286569dba7d6a54b322afb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printStartupBanner (cyclomatic 13, cognitive 12): printStartupBanner 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":"server/src/startup-banner.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d365c5efa723a3b78c1df96a76d70ea2df5f02ec1e95d0ade27f59ab05492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeRepairLegacyWorktreeConfigAndEnvFiles (cyclomatic 13, cognitive 12): maybeRepairLegacyWorktreeConfigAndEnvFiles 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":"server/src/worktree-config.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d9c7ea931ef7173916ad48e106bdd15ece593302aeb8472880db1edc6790a8"}},{"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":"tests/e2e/apps-prosumer-mcp-flow.spec.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782a230f1e27081ceb30eb9f7175259d197298148a87d441c92679a76d14335"}},{"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":"tests/e2e/mcp-user-stories.spec.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"571979d86674f3bff04bd87c82b956d9b71b889b71e0fbb4d023fc138734474d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOracleCommand (cyclomatic 13, cognitive 12): runOracleCommand 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":"tests/restart-chaos/oracle-sandbox.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"467aa92015ecd1e4bcb7c573f0c461de39e7402bd9f8b54493fc3abe66d3aca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 13, cognitive 12): matches 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":"tests/restart-chaos/storage-proxy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8237f1bd7f83f87d83db9f7de3827a2a6789bbb9902397a00a33ebcb96a816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approvalChecks (cyclomatic 13, cognitive 12): approvalChecks 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":"tests/restart-chaos/workloads.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b4916fbee50b2563756bfa4f91e4360dae9317b8f64476dcfdc5e8061b8e12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRunnerAcceptanceCatalog (cyclomatic 13, cognitive 12): validateRunnerAcceptanceCatalog 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":"tests/runner-acceptance/catalog.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04565a4662de8a0bf87c42b5bc8ba2c109adc99d900eb12766d6ac23521980d"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.test.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8776a3f2675d3d238e5f0a01b17ee0aa84d432285e55df3a4370d7283c7583ad"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a66ff1b50ecb2e2ac6f3b9bd32388b957a1ca65a37833ef990dd6500e3abdd"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-secret-route.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd30b2290e21f0711aa8e1c5d6f76a915444c7afdfb168ed333d730d06684df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSlackCall (cyclomatic 13, cognitive 12): assertSlackCall 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":"tests/runner-e2e/chat-catalog-domains/external-slack-provider.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"717134e69b7edaf54ac5d2cb71ff953d341eb449146aa0836a700fdd0e46f5f1"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-team-configure.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd31b71e880e6f2667cb7b4878a4bbf30a98359042b52285ea5cb9477b315bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 13, cognitive 12): act 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":"tests/runner-e2e/chat-catalog-domains/identity-cli-authorization.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a278a9acf146b672908463c3824568fa80f39e9834a36ae8870563cf1c550f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openConnectionBrowser (cyclomatic 13, cognitive 12): openConnectionBrowser 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":"tests/runner-e2e/connection-launch.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf49b422a97564b2a7fc9c1efe8b6da952fa092dd7c925ec6a3bbb5043b78ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function response (cyclomatic 13, cognitive 12): response 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":"tests/runner-e2e/connection-target.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc65f80d9410851a97271c618f1c4920d241befe22ac46072d76b6464cbee2fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postSensitive (cyclomatic 13, cognitive 12): postSensitive 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":"tests/runner-e2e/connection-target.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a610bfcf66ff5918ca94a26d5aa3e1b9b122feeb33891512cbaf9ab224d3b5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 12): main has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/first-task-judge.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc7bf1eb65477ac6460d3873d0b6623f7209ff4920795a39586174f30e04916"}},{"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":"tests/runner-e2e/kimi-context-rendezvous.test.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7f3239aab79c1814bdeb561965212cdc6be8f012d6a2babad60c85260cd540"}},{"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":"tests/runner-e2e/operations.test.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaf031665cac887c91c441ac2984fb6a19e4889c1ee0c42961b353d9a989048"}},{"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":"tests/runner-e2e/product-journeys/task-search-filter.test.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba82bfb14acfb9f44c103a28b012e9b242661803ee5d0e4e05c5c2cd6387c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admissionReadError (cyclomatic 13, cognitive 12): admissionReadError 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":"tests/runner-e2e/remote-native-bootstrap.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bfb1701317c77b3b865ace3df4bb7250441db7aef048fe1ada774ae6c181df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchImpl (cyclomatic 13, cognitive 12): fetchImpl 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":"tests/runner-e2e/testops-chat-reporter.test.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f0ee4cc48299d4cc39f928b59fb79b651f53c4d2de34a8adfbef7582021b06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAuditQuery (cyclomatic 13, cognitive 12): buildAuditQuery 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":"ui/src/api/audit.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c6746b1882e1580d7eb8ee5b3d295f7805067543ad16c55ee4b0603968fb69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 13, cognitive 12): search 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":"ui/src/api/search.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6f814594a57523f82a9de7d77864d25d7aee329d3dcd84958c688b29becd27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function panelSecondary (cyclomatic 13, cognitive 12): panelSecondary 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":"ui/src/artifact-directions/directions/d2-tint/actions.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d2ac96b5a7ba15748abe6322524e58739acae03d9f260d464fb1455da90910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocumentSheet (cyclomatic 13, cognitive 12): DocumentSheet 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":"ui/src/artifact-directions/directions/d3-tactile/objects/Sheets.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"604272be09f1642e81e9d69aee7db99c25048f1fa7cb7f51b90c5d728231b50c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function panelSecondary (cyclomatic 13, cognitive 12): panelSecondary 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":"ui/src/artifact-directions/directions/d4-hybrid/actions.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cff8b7f20f21a0b345f1d8bacc9a61abc9c32bdcd923a7e7396ea8a8b439dde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toWorkProduct (cyclomatic 13, cognitive 12): toWorkProduct 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":"ui/src/artifact-directions/directions/today/adapters.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbefe0c880943374dfd7800a48f79e4bfdbea1eccbfa597973421b451a419907"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRateLimitPropertyValue (cyclomatic 13, cognitive 12): AgentRateLimitPropertyValue 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":"ui/src/components/AgentRateLimitGauge.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a85e249bf6fe54f34859e05e9ab9c5afcef85e9048050cb16d983c480dea27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DevRestartBanner (cyclomatic 13, cognitive 12): DevRestartBanner 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":"ui/src/components/DevRestartBanner.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb657ed32310238cfc4d392f0b274e75bde08ce9c1482244ff49dfa65bf1250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SuccessfulRunRetryNowControl (cyclomatic 13, cognitive 12): SuccessfulRunRetryNowControl 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"493b414273516bbaf33fa1e4437e004188d1dfdb133c4e1e900b05dd9944f8dd"}},{"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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5632}}}],"partialFingerprints":{"codehealthFindingId/v1":"f376813da298b5a500f640f1298f1c2ee60d9b14cab112b688937974e172c125"}},{"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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c1d463eda7d1010dfc375b3fd70c1a8a5fc7b1552a80e6eca2799474a4b132"}},{"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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f42e6d4fd1913e3f0bad973846282a8b76377fcb2b990c81b31d91b9b6859a"}},{"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":"ui/src/components/Layout.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a880e26a019b80a42eb9bdba15296b07e83d55c217a29ca50d3fe4c944d171"}},{"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":"ui/src/components/OnboardingWizard.test.tsx"},"region":{"startLine":4080}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d76aebc1d5ac0f84ce5ba383f4164b582faa32cd2945343f44e1f3d03ba42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineSaveBar (cyclomatic 13, cognitive 12): RoutineSaveBar 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":"ui/src/components/RoutineSaveBar.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36b7473757d39d8fab57b7d26653e60423876c16560ea39373990c1f2bf8f9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchableSelect (cyclomatic 13, cognitive 12): SearchableSelect 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":"ui/src/components/SearchableSelect.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"809cccbe49bd69bef4d562dc597851371f136e267ffff5097396dc875ac2bbdf"}},{"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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5931151c2b2667efe2398f41be6e7618c15fca54f80a8d3be37f986c54be85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ServicePopoverRow (cyclomatic 13, cognitive 12): ServicePopoverRow 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":"ui/src/components/WorkspaceServiceControlBar.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"80454ae962aa8821477df47cae0f23182d2e99354862fd926cd45c6a1d62ba66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DotConnectionChecks (cyclomatic 13, cognitive 12): DotConnectionChecks 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":"ui/src/components/new-agent/ExternalAgentInviteContent.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf238193836805a00e830ed4a67f43769a5a409bc60209624f288d6ce901e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceChangeCard (cyclomatic 13, cognitive 12): WorkspaceChangeCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"241f431cb32fd8ff03aaf48cb738cfe24699fde860c0d578c883370652050ce1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityDetailsBody (cyclomatic 13, cognitive 12): ActivityDetailsBody 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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdece9fbfc406cba39a5b6a3008cb3ed9013b85914b68423f734093a70201442"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatUsageReadout (cyclomatic 13, cognitive 12): TaskChatUsageReadout 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":"ui/src/components/task-chat/TaskChatUsageReadout.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e92e466682c0cdbe02458a3bab042b723e39073a2a2070e86a698d3b6255d82"}},{"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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e3ae24f0f8ad22f454357c16c4340310c8bde85147217349143532ce64fe98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFileViewerStateFromSearch (cyclomatic 13, cognitive 12): readFileViewerStateFromSearch 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":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacd39434cc2179dbcb3996e3aa49eceb2e67582313cea2e80fd8c4d56c3efe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MethodConfigField (cyclomatic 13, cognitive 12): MethodConfigField 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":3941}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4b71dd2f3880e1a9b4f2a5aab563b7abd4daa36f4e4750915303b277a4e709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useStandardMarkdownMentionOptions (cyclomatic 13, cognitive 12): useStandardMarkdownMentionOptions 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":"ui/src/hooks/useStandardMarkdownMentionOptions.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b1db497a358a33bd9be6e0ecdc8db980510f59b0be42a2fea668743d1973a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatAcceptedPlanDecompositionDetail (cyclomatic 13, cognitive 12): formatAcceptedPlanDecompositionDetail 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":"ui/src/lib/activity-format.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35a7df9f8e118db30b5b080573d409e048035565395bff8c82684a6d5b88f89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function credentialAccessNotice (cyclomatic 13, cognitive 12): credentialAccessNotice 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":"ui/src/lib/credential-access-notice.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e593978795a3bf2b0e0ceeb90e3ac5fe14ff83f24c56d2e86fb492c5bbbb147e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countActiveIssueFilters (cyclomatic 13, cognitive 12): countActiveIssueFilters 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":"ui/src/lib/issue-filters.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0da5e7da4406a07e5410bff09459475c355ba24317dd1d4d9020f824476a10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onStorage (cyclomatic 13, cognitive 12): onStorage 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95b5e6415cb937127221426c24c669d1fe5d3bdfeb1649ad4c9bf885bf1dd85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTab (cyclomatic 13, cognitive 12): parseTab 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":"ui/src/lib/task-side-panel-state.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae38098150c17b9e6c21b1c1974cd49ebff4c26fa292926fb5f6458dd334bce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEnvironmentPayload (cyclomatic 13, cognitive 12): buildEnvironmentPayload 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"088b3915e2721d4b17511340822c6c8110714e68ccd8738a47aff22910030123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySource (cyclomatic 13, cognitive 12): classifySource 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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f3b8818256665dbfe2b08c3e56d99547a4876dbdea1dd60f401f44b76902aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySource (cyclomatic 13, cognitive 12): classifySource 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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf144a1b49f25a60c986d5d3f68c61e8279da51540b0627d90c02f419b116ffd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecretDetailsTab (cyclomatic 13, cognitive 12): SecretDetailsTab 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf3f8a0b960fc2edb07ce58db12f071d6596a7404dadeb60a491f5946381594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepPreview (cyclomatic 13, cognitive 12): StepPreview 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"30be9d4f3ceb21a454a6f4bab63f5b781f76b400999f65bb0c27c1a6bf051901"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 13, cognitive 12): refresh 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":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"83500ad2afcbeaade4937005b37a935eef5ca50efa6462620c915b5816099dcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MyUserSecretRow (cyclomatic 13, cognitive 12): MyUserSecretRow 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":"ui/src/pages/secrets/MyUserSecretsTab.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"647001d9d2a657b601fd65e6f1f2fa3a0a5a3c840c0f40713e3d93bed80914ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EffectiveAgentPanel (cyclomatic 13, cognitive 12): EffectiveAgentPanel 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb7203817c62c86af4d3d80cc6080204ae25017906e69e9bb5d7f5d1ca192eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReviewCard (cyclomatic 13, cognitive 12): ReviewCard 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":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"6621e105406a6a172d53d5b326fc5892a6e42f4e034e22d1d2a47dc4f77956ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Row (cyclomatic 13, cognitive 12): Row 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":"ui/storybook/stories/design-proposals/task-row-design.stories.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55f016942987c12d6eac89ad7ee0004c11123cea1a05870ed19fc65393b4abf"}},{"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":"ui/storybook/stories/tasks/issue-management.stories.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e207c4a7ca7c9616bea608d39b15870fd9e0e7a6194f13804f6005b33ae4d359"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolbarsPreview (cyclomatic 13, cognitive 12): ToolbarsPreview 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":"ui/storybook/support/design-proposals/ToolbarsPreview.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a4b0ab7c17c75eccfa5a5168badc13c01886496514c933f9bcaaa5140af51d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertManagedInstallStore (cyclomatic 13, cognitive 11): assertManagedInstallStore 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":"cli/src/install-store.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"218b786085367c94fb540a4c646ff06bbdb4c208b15fe848638511f736d81ac2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePaperclipSkillCopy (cyclomatic 13, cognitive 11): materializePaperclipSkillCopy 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4626}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebb32d4cf36d40ab58ac5fc7105b785d2fb4a154fd8a26048f9245fb3765e8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 13, cognitive 11): serialize 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/adapters/codex-local/src/server/index.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba93e747c8e12c2eec61a3e0d9b0e281af563844141723607f065fe0c3dfd403"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAuthValue (cyclomatic 13, cognitive 11): parseAuthValue 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/adapters/grok-local/src/server/grok-auth-merge-decision.cjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e2c18bb5ecbd9cd8a6c813606b3a787fec6a647e9d6844ab253ea6aa64b6ac"}},{"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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"377bff0c8965534ef7e47db5c160b64a153dde3e883d5730f7857354b6831e9d"}},{"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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"94022e5c3e60d94273dc8284c9be4e12efa1f3451fd28459d505997d6bed6c4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function release (cyclomatic 13, cognitive 11): release 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e2c45a7069e7d1b1e4d9b1b7036a64764d2d1b4ce9a857d866a5a84c68c1af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #emit (cyclomatic 13, cognitive 11): #emit 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc900cfcc918781b165c7fc100d5a503db733f63262a085e6f53c9da31be145"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCodeProviderFailure (cyclomatic 13, cognitive 11): openCodeProviderFailure 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/paperclip-runner/src/drivers/opencode/provider-failure.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f792f9234bc004dc7e5581615ba6b1c3d6e8cffdbcbae08450c5d8d609a2c142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function semanticAuthorizationBoundaryForCode (cyclomatic 13, cognitive 11): semanticAuthorizationBoundaryForCode 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/paperclip-runner/src/protocol/semantic-tool-receipts.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79685682cdeb4967e88a7b60bd9161c387c36b93606fb55f1ac54351245790c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipSemanticAuthorizationBoundary (cyclomatic 13, cognitive 11): paperclipSemanticAuthorizationBoundary 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/paperclip-runner/src/semantic-tools/receipts.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cb88a0f234e2e5c5ed30a2b763b0798392bca26875bb57d4a084b48106bd52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relativeWorkspacePath (cyclomatic 13, cognitive 11): relativeWorkspacePath 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/paperclip-runner/src/tool-file-changes.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed94eab61b17551fc2f7fe124ab0685e9eee0dbc742a2ed6294c36f9a8b7c087"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetManagedRoutineToDefaults (cyclomatic 13, cognitive 11): resetManagedRoutineToDefaults 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":6127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d041a3606d1fe53cf88f32612f2c9d2b546fb903d402bc351596ce8d9c3b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureDiagnostic (cyclomatic 13, cognitive 11): captureDiagnostic 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/plugins/sdk/src/environment-sync-error.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f8b4d48429aad2ed15a04bdc4751f41c63254f75e56ef42cb8c9373f2ab0cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trimTrailingPunctuation (cyclomatic 13, cognitive 11): trimTrailingPunctuation 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/shared/src/external-objects-server.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd82b5e3b2040abe684ab1f6b4a575465dcc975652de96dec2eb68d6e7564540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trimTrailingPunctuation (cyclomatic 13, cognitive 11): trimTrailingPunctuation 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/shared/src/issue-references.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1896f584ac76692afa5a7fae15a725ecd0a74d638f846aaefe8960bad9213eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeAutoRestartChild (cyclomatic 13, cognitive 11): maybeAutoRestartChild 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":"scripts/dev-runner.mjs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a758e75657279606a282330dd69b3ea3e44158b9f06bc2b2bf35114a0d859339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublishHelper (cyclomatic 13, cognitive 11): runPublishHelper 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":"scripts/release-lib.test.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fedda8efacf24f1c6e71d21ec5ac9828451a9f0023f510cfeea57e0731af48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectAuthorizationUrl (cyclomatic 13, cognitive 11): inspectAuthorizationUrl 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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2253c3b46c060ee03be69aa686206b384d54528aef45d23747bdaebcf887f8ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 13, cognitive 11): snapshot 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7242d99e301af2d0d130e0a66b4d757bc07da03c58f54e448a8a8da780b853"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":3277}}}],"partialFingerprints":{"codehealthFindingId/v1":"454bf0a929f7f3f5ff9dad7a7b6e53fcf81e09a360bdf88279810a52aa62c11f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunIssueWorkspaceInheritanceSource (cyclomatic 13, cognitive 11): resolveRunIssueWorkspaceInheritanceSource 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":"server/src/routes/issues.ts"},"region":{"startLine":3994}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c70886cbbb5fb7a1685eb69fda164e31287abcb3449917f26913a4e9f4b01b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCanManageIssuePrivacy (cyclomatic 13, cognitive 11): assertCanManageIssuePrivacy 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":"server/src/routes/issues.ts"},"region":{"startLine":5497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa17b5d289a4689b7087d3fcd87acaf8663e746b2cd304686b52767fe4e82f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparedRunInteractionDeliveryDenied (cyclomatic 13, cognitive 11): preparedRunInteractionDeliveryDenied 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6ffc6108aaae9b75961323553e1b2c6f36673b3ed2e07dae7f2c97f96e6bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDiscordNativeCommand (cyclomatic 13, cognitive 11): handleDiscordNativeCommand 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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4b2da2821a8d2a70ead17bcf9b9f5193988fc4c7b291c0d62748e78a81531a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireCurrentExternalActionAuthorization (cyclomatic 13, cognitive 11): requireCurrentExternalActionAuthorization 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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"db34f51d80dc059f4afd7c4ed039d18b23c4092739ad7b5d1bc503015945b2b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lifecycleMessageFromDelivery (cyclomatic 13, cognitive 11): lifecycleMessageFromDelivery 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3eef0aebeb1e10c566546d268caeb3eafc47ec2e277ed7208ad65db8cd6fd0"}},{"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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fac22b04d1a5d6b45b91426a2df571a29c70c30b44f7a636b171c74792fd88e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueResult (cyclomatic 13, cognitive 11): issueResult 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":"server/src/services/company-search.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c4b9cbdd929c6095615b72ada21f222c807cf6fdea2dc838c76c74b7dd9a1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopsASandbox (cyclomatic 13, cognitive 11): stopsASandbox 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":"server/src/services/environment-run-lease-settlement.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4899fb3598b310eade94b9c520cca5322a48a17f1ee0fec3f00cba0d8488092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupPluginRunLease (cyclomatic 13, cognitive 11): cleanupPluginRunLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3515}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc51835fb20d5e808101d13b702c10824c01fe2263b7a6befe9fa3687880882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeRestorePointPayload (cyclomatic 13, cognitive 11): decodeRestorePointPayload 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":"server/src/services/git-restore-point.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a2b07f51f891c66c662e12ed380e4e4a7ab75861753e942fa8fb79aab81434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeOwnedFile (cyclomatic 13, cognitive 11): removeOwnedFile 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":"server/src/services/git-workspace-expiration-locks.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9252cf19d31a6c94b2e4724178958810576958956b2a6c2ff884f1fb0ea538ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordInstructionSave (cyclomatic 13, cognitive 11): recordInstructionSave 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":"server/src/services/heartbeat/instruction-working-copy.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e126fcf90cd2c2aecd26b88c8fe271ee7e786fef63c332876f13d5a3b6a15ae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInstructionsConfigFingerprintMetadata (cyclomatic 13, cognitive 11): resolveInstructionsConfigFingerprintMetadata 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3048149a5d9d1dfc8f61545bcadeff421946f5adc6ca8656c29ff67606adfcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activeRun (cyclomatic 13, cognitive 11): activeRun 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":"server/src/services/issue-run-presence.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4047546bfa0b5f7b4c7f8fc2286143b3ca916dcb19cbbf5b846b84cf04ff2c16"}},{"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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":5280}}}],"partialFingerprints":{"codehealthFindingId/v1":"57794cd0a7fd922c09df4a149871a8ae42d439d2165d4ff0fbb484793578896c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSecretRefBindingObject (cyclomatic 13, cognitive 11): parseSecretRefBindingObject 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":"server/src/services/json-schema-secret-refs.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4309297957b80ac035f8bc4a52623e8b872b6205e9e28f096c2b100556bf16dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordUnidentifiedLocalRunnerStop (cyclomatic 13, cognitive 11): recordUnidentifiedLocalRunnerStop 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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29b5013c3adaffa9216335509fafe98a5105d926b872bf8a56ec34bdd0ec6f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSource (cyclomatic 13, cognitive 11): loadSource 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bfb5ad44beb056151d3834bf57e06fcda6f6951f0b50f511c079ee60c02c41"}},{"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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838adf4d981b52b710a2c169761fe370b7a23602af49821be8fd224d175e18f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateReleasedWarmRunner (cyclomatic 13, cognitive 11): updateReleasedWarmRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8593}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c773ac04fa43f57499e5d8875d488daf5589f77eab10ce706af3e333fa252b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectorEnvironment (cyclomatic 13, cognitive 11): connectorEnvironment 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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc135a4361074dd8706852b269a0b2cdb2c124ce38e2fa9a9449aca236bbc376"}},{"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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab9425984d6ca9d125f025f57feeee6e0eeae3c72b90e8d479b4ea512a81593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveStart (cyclomatic 13, cognitive 11): reserveStart 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aa54675de244b1e5f5a153d11c0b8c89741eebd6be3a566ef9c53ebff50a8a"}},{"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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c84822ea340227e93db1081552916f678f4ca7a23381b193d2f19b47e718fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRemoteWorkspaceRepository (cyclomatic 13, cognitive 11): prepareRemoteWorkspaceRepository 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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f92adb38b15d9f0c54962920323f7679620ef2da89e393c9152c379176ab95f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 13, cognitive 11): add 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":"server/src/services/skill-repository-dependencies.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f9742aca7a13c7df1268ae08fa8e60c809d311f9efefd2947d0bb0b696317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detail (cyclomatic 13, cognitive 11): detail 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":"server/src/services/skill-sources.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2310c121f38d4481cfd5caa4027c8f92efb156ec58bb517a2bf40193a47f841"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertOAuthClientBindingUnchanged (cyclomatic 13, cognitive 11): assertOAuthClientBindingUnchanged 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4606e281773c3527d03ecffe96c6d73a815c99c41128bf92cac41d885a3fb40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureOAuthClient (cyclomatic 13, cognitive 11): ensureOAuthClient 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"26475f56daa21399d9ea58fd23e5f7f412d24766f4f9594ea5a41346416f8d30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeWorkspaceRelativePath (cyclomatic 13, cognitive 11): normalizeWorkspaceRelativePath 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbe531c30f5fc26f73ea523e80590088b0cd299207197518c38e0b18c10a6e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExecutionWorkspaceCleanupEnv (cyclomatic 13, cognitive 11): buildExecutionWorkspaceCleanupEnv 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3256d446e661ade0baf3e3aefc68c118ac5847269a5e8a5b12a25458471981ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isResting (cyclomatic 13, cognitive 11): isResting 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84b484b6d72d6cec523075d23f8aaafd9617847a6371da561d3797530e8ebc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function awaitingBoard (cyclomatic 13, cognitive 11): awaitingBoard 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3802cd0308843788b0e1c7fc7ea8ae9f20393f1a4d60fade66d9ac60e3e202e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeNavigation (cyclomatic 13, cognitive 11): gradeNavigation 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":"tests/runner-e2e/chat-catalog-domains/identity-navigation-preferences.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba6da52446388fb5ff13f884d4b8b2b4481ef7ffb23624fa8a09ffdf641bfbb"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7046e4c326a677622a90f561c72bb3f2ad19ae3945cf705996de54725ae0b338"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unavailableNativeModelFailure (cyclomatic 13, cognitive 11): unavailableNativeModelFailure 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":"tests/runner-e2e/chat-catalog-domains/runtime-native-failure.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"58280c009370ab9984cfede61602f07d234e1fe5752ba7ca88b877def3b8c129"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageCodexSubscriptionFixture (cyclomatic 13, cognitive 11): stageCodexSubscriptionFixture 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":"tests/runner-e2e/codex-subscription-fixture.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df9803f931469a1eea5782dabe15e788a7afb925044cc7db049f60f68803b94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeGitHubHead (cyclomatic 13, cognitive 11): observeGitHubHead 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":"tests/runner-e2e/github-review-browser.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b97f40525634443e3fa1bf0be7c12deaa824d3e07b2e9a329ab396ab35bd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskDocumentPersistence (cyclomatic 13, cognitive 11): taskDocumentPersistence 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":"tests/runner-e2e/product-journeys/task-document-flow.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8874179c3cbd35414e46aa78cecae24aa7093d2c601b67921f2edc1ab8bf64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OnboardingRoutePage (cyclomatic 13, cognitive 11): OnboardingRoutePage 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":"ui/src/App.tsx"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59a969d3da598f3f5a356d438dcd6ca3cd3fdd93e3574b82941ddfe30f62bc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectAccessNotice (cyclomatic 13, cognitive 11): ProjectAccessNotice 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":"ui/src/components/ProjectAccessNotice.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29404b2a6d77fb56253647df2c5548f2308784a837deae13e323f345fa015e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceValidationRecoverySurface (cyclomatic 13, cognitive 11): WorkspaceValidationRecoverySurface 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":"ui/src/components/RunWorkspaceRecoverySurface.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b6c5c12a125b98eb06148a389292ed0f055ab2133fbf4ad5cb5dfa615139e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarShell (cyclomatic 13, cognitive 11): SidebarShell 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":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f14e9379bdf56e621855d3d2fb9d390383b9376e2e43341e0064fc965803878"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AiConnectionPicker (cyclomatic 13, cognitive 11): AiConnectionPicker 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":"ui/src/components/ai-connections/AiConnectionPicker.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc0adfd90ca463bd35b9b445d9ee8b1fe89c22f612ebae06da071bc28bda262"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PrimaryAgentCrownButton (cyclomatic 13, cognitive 11): PrimaryAgentCrownButton 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":"ui/src/components/primary-agent/PrimaryAgentPresentation.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a414593cc4435c65fdc816001a4d315cae8462363443fb7732106e8b336fd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskChatScrollEntry (cyclomatic 13, cognitive 11): taskChatScrollEntry 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":"ui/src/components/task-chat/scroll-navigation.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef18236795723b2df9f8b38eb5435047b101b333f0ec6d81f0c9b0b55fed02c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useIssueExternalObjectSummaries (cyclomatic 13, cognitive 11): useIssueExternalObjectSummaries 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":"ui/src/hooks/useIssueExternalObjects.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8877d34fd06d2d60123b693088372277e35e0bfcd03e5d864e16b761c2e0e68f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSubIssueProgressSummary (cyclomatic 13, cognitive 11): buildSubIssueProgressSummary 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":"ui/src/lib/issue-detail-subissues.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e10a6df5b10d307b8af40456bf9eec04d8fec448ed52e51ce649e94295bc405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReviewStep (cyclomatic 13, cognitive 11): ReviewStep 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"06034cd48f6f7b99e9aa3ee8f55828549244aea0eec214c7ae988cbc39578361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ButtonSamples (cyclomatic 13, cognitive 11): ButtonSamples 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":"ui/storybook/support/design-proposals/ButtonSamples.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b340be371a7f30ec0c02494816a3aaf64a6634c5dc1c4222ca1350a255fd08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommandContext (cyclomatic 13, cognitive 10): resolveCommandContext 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":"cli/src/commands/client/common.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"75110536376961c7345b84e165fcd59248583363d60db2ae80a3a9bd38ca19c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAdapterExecutionTargetSessionIdentity (cyclomatic 13, cognitive 10): normalizeAdapterExecutionTargetSessionIdentity 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e8cbdcf41cd6a63530402b217644d73e56b68b9e56cce5af58a51b46865548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSnapshotEntry (cyclomatic 13, cognitive 10): parseSnapshotEntry 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ecc403f9de74c721dbc2ee4686e21ee7da771f6c931f80d91c13985d0b9823"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCompatibleClaudeCommand (cyclomatic 13, cognitive 10): prepareCompatibleClaudeCommand 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/adapters/claude-local/src/server/sandbox-cli-version.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"554834e29ca434620bbff83c450cdaae0a6257b0f6ff7824252ce129d7f00085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePrivateDirectory (cyclomatic 13, cognitive 10): ensurePrivateDirectory 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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"095e24180a3d4b4e1c26e8fb358338b3da40bdfbd2c0cd35cd2d3388d8a4a5bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function standupPageContents (cyclomatic 13, cognitive 10): standupPageContents 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4729d92d4a773d413cacc172273cfdb0fd7b0276aa51fbf2be3ac81c05f0f7e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTaskExecutionPolicyPatch (cyclomatic 13, cognitive 10): parseTaskExecutionPolicyPatch 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":"server/src/modules/execution-admission/domain/policy.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1d736dc463cd58b791f36709795e394844b6d844d5fb46cc7fdace0d6be644"}},{"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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b6d52aa139f0e028754b544f8cedb6de62010d691ddc5c9e176c7ab21580c1"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":4924}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9fa344f6a0ba37072ba29183f550b17f29564418740b1d1afb0f544a075f68"}},{"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":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3894e419b4b47490a2950a6d497b4b18fdf0edd6368c3e18d042e13bc9b6f2eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmSlackFormSessionUpdate (cyclomatic 13, cognitive 10): confirmSlackFormSessionUpdate 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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c288f55c5538fbdcab372ce85406eac835333e523d9087e293463b379b5f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChatControlNativeParent (cyclomatic 13, cognitive 10): readChatControlNativeParent 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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c31e41e2f8a5a89861c5181b6662eac1823431bf8e47a9aa53451c34f4d3b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyDiscordBot (cyclomatic 13, cognitive 10): verifyDiscordBot 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":"server/src/services/chat-discord.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe34218a394415a3a52e2b4d4aa4b1e67d95553ed3ea6ce9f9e5d5306aacbcab"}},{"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":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a361ae8ddfc485af2a06454e31a2d4b9100c3070184daee8f14937efe03469b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 10): constructor 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":"server/src/services/cloud-portfolio-error.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c99e3e5bab1b7220883562284c134269a84310240d49074764a1988d7962fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldAutoCheckoutIssueForWake (cyclomatic 13, cognitive 10): shouldAutoCheckoutIssueForWake 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":"server/src/services/heartbeat.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"b971e51feefc4fd9143a8bfca1b8ac5ac275b74f05f7987f034b8f7b4a0bc6a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isUniqueRecoveryActionConflict (cyclomatic 13, cognitive 10): isUniqueRecoveryActionConflict 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":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee517409f5b4bc0c0228b18bb2f06d51712fac28499e6939b7702f9d2b8ece87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #read (cyclomatic 13, cognitive 10): #read 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":"server/src/services/native-runtime/chat-attachment-read.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"82690a4e6aa725781617ff4c66a553cb18603ca322111cd4023c48338f956d5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRemoteCodexModelCliVersion (cyclomatic 13, cognitive 10): readRemoteCodexModelCliVersion 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":"server/src/services/native-runtime/codex-model-fallback.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77d71e45ce7e766dbc3fcbedba82988261e9badff460668d244792b9a4e7f08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstMeaningfulAgentEventKind (cyclomatic 13, cognitive 10): firstMeaningfulAgentEventKind 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9434}}}],"partialFingerprints":{"codehealthFindingId/v1":"50820ecc26dbb623afef13a6e32267a84ea600761f5185e259fb78b6c7f9b732"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePaperclipRunnerGrokConfig (cyclomatic 13, cognitive 10): validatePaperclipRunnerGrokConfig 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e73c31ceaa25bfb52f4bafc5f64085af48f45029b7c5366bd87b06cb2fb585"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProcessLossDiagnostic (cyclomatic 13, cognitive 10): buildProcessLossDiagnostic 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":"server/src/services/process-loss-diagnostics.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"510f2eede3245d2bcf256e0e4e971ed60a0957976f5180e1da9255eeca6bed8e"}},{"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":"server/src/services/public-mcp/muse-oauth-diagnostics.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1c1ad4cbbbd82aee6f969f8d369822e19d2e6a6f67937616638c869677e380"}},{"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":"server/src/services/tool-access/activity/review-queue.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"243b262ca0e7ecbdb2f29ffe32686da954e11484a176f56291fb2be47876de55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adoptClientIdMetadataDocument (cyclomatic 13, cognitive 10): adoptClientIdMetadataDocument 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":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"667c2fd7f4180be4c022335f9d97de1b7838fde81411fec789db83f2242bcaf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSource (cyclomatic 13, cognitive 10): parseSource 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":"server/src/services/trust-preset-resolver.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1f2c33dc378e7291d4ed587ff785162e1cd8c84dc1aa209bbdd521d9286326"}},{"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":"tests/runner-e2e/chat-campaign-coordinator.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77f47a49b21d063f6a7ba087076abe7c94023ec72631393d1dd54b43511d08c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 13, cognitive 10): act 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":"tests/runner-e2e/chat-catalog-domains/external-secret-proposal.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed13e59a0c1a828e1b4f2997c7a39e7f6a3d25dea59e7e2640926b37f69f2cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSlackFixture (cyclomatic 13, cognitive 10): assertSlackFixture 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":"tests/runner-e2e/chat-catalog-domains/external-slack-provider.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b834de656713a4175e6add388b9f047d71f1efeec43d4349ef2d7f3397b0f9f"}},{"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":"tests/runner-e2e/chat-catalog-domains/integrator-skill-update.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0e641f31f5c17fc4dc5745839cc01113e5d3e978419a2215b17c79cec7227b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 13, cognitive 10): act 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":"tests/runner-e2e/chat-catalog-domains/runtime-post-stop.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91a86d75f5e99ffb9f988fa3de0a6efe1890fc1ce42a5d255874ee218d1a1f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyResult (cyclomatic 13, cognitive 10): verifyResult 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":"tests/runner-e2e/chat-completion-testops-api.mjs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1657cf88e5f4a27c12a2c78ea2aaae025d4845c32b64a2f157702e7635d70d7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paidWorker (cyclomatic 13, cognitive 10): paidWorker 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":"tests/runner-e2e/chat-completion-testops-host-control.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bd09b54c8ed62e394cf725bb12e7ff373eba919276646b7b94ef5b550d5858"}},{"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":"tests/runner-e2e/everyday-observations.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6758af0e7e51a5a2cf998325dbbf89a9d15b1387c9d71cb9b7f35228a30dafe"}},{"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":"tests/runner-e2e/kimi-lifecycle-evidence.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b9ec887bd4ace1c81a61ea546e465c59e1ad909bd7638987b8359330df1b25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readKimiFaultDiagnostic (cyclomatic 13, cognitive 10): readKimiFaultDiagnostic 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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0340040f0889fe7c8861f380e0895bb8ea62281d730bb08d428b8c3c4e10b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mediaKindOf (cyclomatic 13, cognitive 10): mediaKindOf 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":"ui/src/artifact-directions/directions/d5-v1-mvp/kinds.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6a3afbe5eafbcdde52b55328a8b4752a6ede3fb4ec3774b12b27b53701a85b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocumentAnnotationPopover (cyclomatic 13, cognitive 10): DocumentAnnotationPopover 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":"ui/src/components/DocumentAnnotationPopover.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"766d075e90190857738b2d2ac203f98caf6c48c58a090ab0052137ee8f62d417"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InboxIssueMetaLeading (cyclomatic 13, cognitive 10): InboxIssueMetaLeading 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":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b726e92588166090458de0f3ef5cbdf97e358749e06493f5dc1efc45ead8c49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mediaKindOf (cyclomatic 13, cognitive 10): mediaKindOf 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":"ui/src/components/artifacts/v1/kinds.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"16206e405f618724c767174cb0d94e96b93b8cf09c22ef184c020d587bfc9893"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kindFor (cyclomatic 13, cognitive 10): kindFor 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":"ui/src/components/artifacts/v1/kinds.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6367d9c3200a9d97ebe4f2ba06cba599b7213c9070b895a6eedac0af91577bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceOperationLogViewer (cyclomatic 13, cognitive 10): WorkspaceOperationLogViewer 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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cbfacd3bbad04c6832e3a4fa9d3cb6cff8373ebdb8bcf686647ba30d3a8305"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useSummaryDraftStream (cyclomatic 13, cognitive 10): useSummaryDraftStream 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":"ui/src/components/useSummaryDraftStream.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af98127092c7bc1bbf2cccac4e608d709a962eda1f9d447ac323e09966d1054"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConfigSaveBar (cyclomatic 13, cognitive 10): AgentConfigSaveBar 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":"ui/src/pages/agent-detail/AgentConfigSaveBar.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c0590b2ce4a87e63c9f811467cd966b1c8db9fb1d59d5286cb346fff0cfb9"}},{"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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"74975b78835e48306979fdf07a45892d00ce469e2235546c9307826df505b2b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mcpToolError (cyclomatic 13, cognitive 10): mcpToolError 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":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"469be7a91800ebea07557570af24ec36850703838eb6b84874ee74c052cd5ac0"}},{"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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"636b7cb9a1d4e4e285d125a4464f90f7c081b6e8910b618ad8966688898686a1"}},{"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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c8f62f59e8214de44d9b214c2dca5d193fb867ca3cab823e9227bef2bbf83f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakeTaskWatchdogLeaf (cyclomatic 13, cognitive 9): normalizePaperclipWakeTaskWatchdogLeaf 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d891b0f2e7a279a5ea67fc493fb898a1d928aef1e131c665072e5b7259b112d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeTaskConstraints (cyclomatic 13, cognitive 9): nativeTaskConstraints 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/paperclip-runner/src/backends/runtime-context.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec314a3f3184706e29859627ba6c0b03e97ccbd48d58dc604d934eda483594"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageManagedAntigravityCredential (cyclomatic 13, cognitive 9): stageManagedAntigravityCredential 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/paperclip-runner/src/drivers/acpx/antigravity-credentials.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f33512edb11aba92ff12f5fa352935e280bdf998c125d8f741c46759a7efe31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseCursorCloudStaleSocket (cyclomatic 13, cognitive 9): releaseCursorCloudStaleSocket 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/paperclip-runner/src/drivers/cursor-cloud/stale-socket.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"871f95d010a51b9c545907056cd2fc9d3614b1b2c1a54f4a5d1446bee482cffd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function opencodeRunnerLaunchProfile (cyclomatic 13, cognitive 9): opencodeRunnerLaunchProfile 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3744}}}],"partialFingerprints":{"codehealthFindingId/v1":"969ebf405b077ad2e0d4e174f092b7097b77c08979ff0fccc11679b389b2adf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSemanticToolRuntimeSnapshot (cyclomatic 13, cognitive 9): isSemanticToolRuntimeSnapshot 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/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"f685a7e547c65489e5bf75d6e7f0bb38858178f24dfe1badbf5d2e8ba6736d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #snapshotProjection (cyclomatic 13, cognitive 9): #snapshotProjection 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3385efaec6ac3950b2d62a59782ded16862ec870a9788d1cf925fb679ef06fef"}},{"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/shared/src/validators/tool-access.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf01e44030097bbd526c24f62d9823aa0d17e98c525e68c8ce5270d098fadf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehydrateAttachment (cyclomatic 13, cognitive 9): rehydrateAttachment 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a3f654f58f12b0ad51f717ad4c4af7f59b10e47d9a6cd4efb870e04fba3ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDirectLocalApiRequest (cyclomatic 13, cognitive 9): isDirectLocalApiRequest 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":"server/src/middleware/private-hostname-guard.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d490ee314af4d776b7a6d850a65fdde77037d2713da58b66ec956594467fa1d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTerminalUpgrade (cyclomatic 13, cognitive 9): validateTerminalUpgrade 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":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c048595c8cb954d986f207ddb1981c7d43e1f62002b167eb7d150c92792ea11b"}},{"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":"server/src/services/chat-channels/identity-links.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfae9a91e83834e477d3e80744184457ed35e2805cd481f3e27c7620306957c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramMaintenancePayload (cyclomatic 13, cognitive 9): telegramMaintenancePayload 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":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43b1548b3e6a5774316248495e637454d65518e5f0758c40225fe7b547de72e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRun (cyclomatic 13, cognitive 9): assertRun 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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde3f04a8f41f6752aced8ace50317c69dc4de5977902a3976b91ad32d9787b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyCloudRuntimeIdentityAssertion (cyclomatic 13, cognitive 9): verifyCloudRuntimeIdentityAssertion 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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91a118a01b4545eca1e25d980127f608b0821598850fa9be6d94d01ae6b6f48"}},{"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":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"421b5d2e0741a954bc0ad1e36bab967a02475deb3710d0b6ef2a05e92778faf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeOnePasswordSdk (cyclomatic 13, cognitive 9): executeOnePasswordSdk 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":"server/src/services/connectors/onepassword/sdk.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"722bf114ac9608d7c5c390f00887fcab63fe2b72fbcb501a9c51e95631546733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failedPreparationOwnsBoundedRetry (cyclomatic 13, cognitive 9): failedPreparationOwnsBoundedRetry 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"de435fff9de53746bb712408a0eb509b3b88b2cad3d1c83fcbfcf9b8fa54b62f"}},{"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":"server/src/services/local-ai-login.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b98388132a4ab1f9bc1100a3967839c0e7d2659568221f1939212c8814062b"}},{"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":"server/src/services/native-runtime/first-turn-queued-input.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d84599515f814e931d70c8022a6e20f09837ffde3fc6f25fe78ef52e67c8499"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordRunnerTimingReceipt (cyclomatic 13, cognitive 9): recordRunnerTimingReceipt 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":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd75224c5aacc07ce0fb66b14c84adc2306ef714ec10be513a64fc7503ff515"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settledRun (cyclomatic 13, cognitive 9): settledRun 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":"server/src/services/online-legacy-workspace-recovery.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d4b29055f3c86a1a59238ce1ca74b5b23147322e676ec4fa647471ffb4b4ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeMcpWakeAdmission (cyclomatic 13, cognitive 9): authorizeMcpWakeAdmission 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":"server/src/services/public-mcp/wake-admission.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"170809a6568b4c71e3aff18d44daf7f4504ee9d8e71a2ba9ed6922dfffd4127c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wakeAgentForMcpTask (cyclomatic 13, cognitive 9): wakeAgentForMcpTask 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63e8453cd28488d52be9b0973550bbf53feb51ad1459d02f72f751bb39fbe41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extraTurnLine (cyclomatic 13, cognitive 9): extraTurnLine 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":"tests/restart-chaos/staging-mix-retry.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c10fcfcebd268ccdbb844ab2a76ab5278b956ea1623055c5398ddccb662e65"}},{"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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"174b74ee6eb192b773650fde5767cff77ce132bc30bd2edc02040e5f99b33644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInstanceSettings (cyclomatic 13, cognitive 9): gradeInstanceSettings 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":"tests/runner-e2e/chat-catalog-domains/privileged-configuration.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1460867ba548d9fff126705ea79161a5b40578acfd15f7deb4d133fab3fce42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChatFeatureScenarios (cyclomatic 13, cognitive 9): readChatFeatureScenarios 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":"tests/runner-e2e/chat-feature-cases.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc71f410dc23c4adbbeb8b75aef4491bffcd7783c1a8b89688a657a864a0d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopSetupHealthIfRequested (cyclomatic 13, cognitive 9): stopSetupHealthIfRequested 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":"tests/runner-e2e/chat-setup-health.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38aee00639f936e3927cf7b4058b414b1f1320df34986baa4f3efe59844c05c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPublicRunnerScreenshotRoute (cyclomatic 13, cognitive 9): isPublicRunnerScreenshotRoute 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":"tests/runner-e2e/screenshot-policy.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3fab4071e73099a8efa8ebda89b1a46fe1030baec6dd984caeeb4121738f52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnforcementBanner (cyclomatic 13, cognitive 9): EnforcementBanner 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":"ui/src/components/EnforcementBanner.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca0b5c34d0d94f7a41f786e18fd6ac8785ebd0254b18c7fbf4ef009af7d99a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 13, cognitive 9): onSuccess 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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a321a39f2b6b7f028b67fb5177960e9e78e6bac8e5c046e20bf3be8e262c8b"}},{"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":"ui/src/components/task-chat/TaskChatActivityPhase.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"168da35bf85f5188df69e6bfcc014a3cff62fafc188abb0a337f41b8ea204fbc"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae6a5da262a6f646f9138b8faef1a3815acf47c97d5c2910893014f6175b5ef"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"0716d73e3edc5635142bb930504dd82a3b07ff989fdd8a91295c77c523ba4912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceFromEntry (cyclomatic 13, cognitive 9): sourceFromEntry 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e99390133d9df242119840f7753740ffc6371d8a7a24677cb74ae0698a1997"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectWaveSpeed (cyclomatic 12, cognitive 30): collectWaveSpeed has cyclomatic complexity 12 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":"tests/restart-chaos/wave-speed.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"118a0b666e4f4e29d58a3abb8b8128a67c13c7aeaa909f06529fb5b68c65b880"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 27): (anonymous) has cyclomatic complexity 12 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/paperclip-runner/src/drivers/acpx/credential-refresh.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"636fbce4a0f881a99f72f13b3f4f058913f82d7f62c20c36513f4f1e9f5b3368"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 27): (anonymous) has cyclomatic complexity 12 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5583}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcc427f5128cc8c22e922f7d4a8f1c4c73c5e40305074523142bdb2ea294891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendEvents (cyclomatic 12, cognitive 26): sendEvents has cyclomatic complexity 12 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci-profile/export.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f51180ff751b45a057f125dda8d61b781204d5aa9284c2342f9fefc3c59994"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withNativePreparationFixture (cyclomatic 12, cognitive 25): withNativePreparationFixture 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":"scripts/__tests__/release-verify-workflow.test.mjs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1570dc75957553356a996ac284b57419eddd27b2ebffe9c90cd8c38fcc42f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripSqlComments (cyclomatic 12, cognitive 23): stripSqlComments 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/db/src/check-migration-safety.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"210bb50b874bab625dfa730e37e76012c986dbd94fa125d030779a30088a118c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundaryContours (cyclomatic 12, cognitive 23): boundaryContours 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/shared/src/cliplab/svg-path.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5942120e2c685293aa2a648dc82389aa1357319221d8e31b3db668f2f85af029"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubSeed (cyclomatic 12, cognitive 22): scrubSeed 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":"scripts/agent-build-cache.mjs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09a80a77672a280482cdd264a7dd997606efddb8512d06a030f43eed1b094fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteWaveSandboxes (cyclomatic 12, cognitive 22): deleteWaveSandboxes 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":"tests/restart-chaos/daytona-sweep.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bf9764dbc32097b8dd57583e24b68f28af84a8dbe0a47fd52d2513e2d19548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 22): (anonymous) 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":"ui/src/api/skillSources.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f21309c750e88e3c51364d1da31169e9e347b3aa3a7885ad87c8306a7283935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 12, cognitive 21): transition 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/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8bb9c8d03c4a8235eca67029f79dc7973e1cef8f8d845842b3540ff6b3f580"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteObjects (cyclomatic 12, cognitive 21): deleteObjects 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":"server/src/services/skill-package-maintenance.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4039dae56204944b766ee4fa206662921545695424b844bddd99c715140bdb93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planVoiceReply (cyclomatic 12, cognitive 21): planVoiceReply 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":"server/src/services/voice/voice-reply-policy.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e00d64d57b84334ceac2e39ec43cf25e0ac642d4e76443a3b2628775b730e94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitTextByWikiLinks (cyclomatic 12, cognitive 21): splitTextByWikiLinks 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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf5736d71fb9d07ac32fb73a27331a335c2b209a756c22e09767ef02599f566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receiveOAuthOutcome (cyclomatic 12, cognitive 21): receiveOAuthOutcome 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"056399a44db50983f9b235faca90bdaa0bcdd56f351f7ca1050b2623e6ac73b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreWorkspaceRootFromSsh (cyclomatic 12, cognitive 20): restoreWorkspaceRootFromSsh 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38b96c5dcd066f53c535a99770776bcb1c259ff795167db3e8d3abf48304c95"}},{"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":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"62697113c0f5661507f606df18767925fc1bfd6538c560c6dc2586eca9583474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteHttpRequest (cyclomatic 12, cognitive 20): remoteHttpRequest 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":"server/src/__tests__/composio-app-setup.test.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56bb08e1fc81b81019c7843e6570fc93fd2151a4fa586882eb6ef97076f7fc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detect (cyclomatic 12, cognitive 20): detect 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":"server/src/services/external-objects.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f35425d080686a6db1342e283d926970b21d17ddbc540dacf33c454db946bb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumePauseInterruptedWork (cyclomatic 12, cognitive 20): resumePauseInterruptedWork 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":"server/src/services/issue-tree-resume.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b365f124e20811dcb3f6be61c8b6c88a4c9a809c8d954ee247414f9836befe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prestageNativeControllers (cyclomatic 12, cognitive 20): prestageNativeControllers 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":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"69688790e30c366dd3c68043effd29e49e81d7e7390a044e6e89338948832e90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveEntry (cyclomatic 12, cognitive 20): archiveEntry 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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"154bdb83a896c0081d4d03241e0a75148c541fcea20d3ba3ccadcdc71223f3a4"}},{"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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e305385d9d6e7dcc22a87170a522ce3c2a3fe4634ffcccab8ab942d54cb56a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeProfile (cyclomatic 12, cognitive 20): summarizeProfile 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":"server/src/services/tool-access/profiles/projection.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"311a34d87667b3ec9661c9b5be83638e05bbc289f63afe633ea0d6553da2c50b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryWithin (cyclomatic 12, cognitive 20): retryWithin 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":"server/src/storage/storage-unavailable.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"804b287a572a826139f4c5200c96985d32bf71a8ca3a5e439b38c7b157ece12f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workerReads (cyclomatic 12, cognitive 20): workerReads 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":"tests/runner-e2e/chat-catalog-domains/internal-task-attachment.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce37c58374ec3769cadb9b9d754a179afcb4c8eaedbcdde660921862fb9e7e05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileChangeDiffEntries (cyclomatic 12, cognitive 20): fileChangeDiffEntries 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cc619e24bb15a16debee3a257d9d50fde0e1d148a3083048621cc938a59356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sampleExpression (cyclomatic 12, cognitive 19): sampleExpression 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/shared/src/cliplab/model.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d7b7b9e1aa0244b9231d78bd2b39a5baf6b1e4e0652ac17e5d0072f907a5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typecheckTestProjects (cyclomatic 12, cognitive 19): typecheckTestProjects 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":"scripts/typecheck-test-projects.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04c606be085ebf0e53834160f96c0ce80f6d8827faabcca605c305c8e33e90d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageEvidence (cyclomatic 12, cognitive 19): pageEvidence 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":"server/src/services/attention-retention.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbd21b1e0386d86038b6849b60f11eb19ad3958330616b6dceec5b581156fde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreIsolatedTaskDirectory (cyclomatic 12, cognitive 19): restoreIsolatedTaskDirectory 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b5dfd91882a68b945d3c1e322c7715d7584b34e1d34a16beffdde64d15fea0"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":9146}}}],"partialFingerprints":{"codehealthFindingId/v1":"635fc1f6a80c096315c5e7b0c0e15b8c17891a5a9b691ced6aad233de0b2a074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkpointRemoteRunner (cyclomatic 12, cognitive 19): checkpointRemoteRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":17855}}}],"partialFingerprints":{"codehealthFindingId/v1":"115733594d05d1c8ab6e1ea625c4c552c240fad69079b56e6be67700c8b2c5ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stampClip (cyclomatic 12, cognitive 19): stampClip 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":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"201553e80daca18f385dfd69c3d3f02c5e41277eeac65257b1330cc7e1c5ef1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fallbackTextParts (cyclomatic 12, cognitive 19): fallbackTextParts 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f0e8eedc7877e9bffdb27a695db5e58e5b6544c9de5bbce2d22e630e3b6dac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeBrowseStateToSearch (cyclomatic 12, cognitive 19): writeBrowseStateToSearch 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":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f1265e9d4da4fdc043d04b634eeff34acb36045faee29959f62e9bb8989bc3"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5096}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfd894448c9220ff539a9bcc00d485004c8ab1028bbb714b1b2b5829636592b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitWindowsAgentCommand (cyclomatic 12, cognitive 18): splitWindowsAgentCommand 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/adapter-utils/src/acpx-engine/stock-runtime-options.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6118a3d16afd591a5a5c0ee91a7f109d74da24540501da477cc785b3edf7933c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureOpenCodeModelConfiguredAndAvailable (cyclomatic 12, cognitive 18): ensureOpenCodeModelConfiguredAndAvailable 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cac751bd0906debce06fb5ee6e873f65b3a712850d030020fd143bd7968cd86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForHealth (cyclomatic 12, cognitive 18): waitForHealth 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3260}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d733bb68e6911c81a44ed162a3d46caccdf4010cd273192390eb4024c8c21f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addInlineMarkdownText (cyclomatic 12, cognitive 18): addInlineMarkdownText 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/shared/src/document-anchors.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1980dcbe819e49552d8532d71a5ab0bb1f667bad3a302ff6d6d70f9f87a676"}},{"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/shared/src/validators/issue.ts"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca047ac990a0a9a64d49c44f2e97982d12d22ad404f3108389a3c9e5f22b3c88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectReferencedSkillFiles (cyclomatic 12, cognitive 18): collectReferencedSkillFiles 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fb927f7cd39d7ea1016f6028ef43faac628dd7a08d44461a09d94cfc38bb99"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":45015}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0043d3e365f4caaaf04b0512a9e8e31ee284e0a0633d1b5aa2c7e8c0e3ed35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectReachableInterfaceHosts (cyclomatic 12, cognitive 18): collectReachableInterfaceHosts 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":"server/src/runtime-api.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7287b9a07b7057ce9607205615aef28247f12d604b3847c043eeec4c45adcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadOrCreateMasterKey (cyclomatic 12, cognitive 18): loadOrCreateMasterKey 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":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a058b34caa9bfcbab86d17ce0900f76bc0d0afe512f57d1ef2d7bff377294a8c"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89fa5d820614f4e9572db709943984013bfb3c0c38770527ffae3184cab8c2e"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ca54fc5a0cebfcca1c0f73f0aeffb29863fd4f177fbaf571a1203739066609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyNativeHarnessBackupStampAsync (cyclomatic 12, cognitive 18): verifyNativeHarnessBackupStampAsync 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":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd23525c399af7c9021d3aa337b531c2108032ea05428e75e09c1136f486bd65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageRemoteLaunchAssets (cyclomatic 12, cognitive 18): stageRemoteLaunchAssets 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":"server/src/services/native-runtime/remote-launch-assets.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2284933f53348331a8f3fb444fe9e59f56a1ba97321db3e38cd21e6067e45cd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function passesFilter (cyclomatic 12, cognitive 18): passesFilter 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":"server/src/services/plugin-event-bus.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"627e63905238c971e1cca487a9882c83543fcf6dd05927f88e4d803b7facd371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 12, cognitive 18): send 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":3650}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d0107e21117954068e562e70d2e5c1f3c3c195b529b3871b851e3b6be2099"}},{"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":"server/src/services/saved-workspace-archive.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7022f18931b1203f1c5ede47b27407e4b8a0ee92dd8249f3a1e79bf227cf1c54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEnvConfig (cyclomatic 12, cognitive 18): normalizeEnvConfig 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":"server/src/services/secrets.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb13f93c36b4f9e0f8e53839313260d412467b4f8c8f03fd6ad4cdafa7120df"}},{"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":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ba98b33ff40aebad2a1d454e2722df85f9128a093669c68c53abfeacc6ae4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveWorkspaceSnapshot (cyclomatic 12, cognitive 18): preserveWorkspaceSnapshot 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":"server/src/services/workspace-recovery-snapshot.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1879b73c5ca3d74d78dbe0069bd0ac680901d9e0e0b8ae9f844e34af9abee36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupCommandFailureResultJson (cyclomatic 12, cognitive 18): setupCommandFailureResultJson 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":"server/src/services/workspace-setup-command-failure.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6245f8eb46710cbbec6f2988cf92ae729c3225cc1fdb09303305b83946c8bc2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pump (cyclomatic 12, cognitive 18): pump 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":"server/src/storage/file-crypto-pool.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b087146581e6e3069cf39e1168c350ec0a2d5a7c11792d84a64043a018e5f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWave (cyclomatic 12, cognitive 18): runWave 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":"tests/restart-chaos/env-provider-wave.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2e86a164bed893c0b9f6768f8bb895efeb9e9f015a0e3d5cb64eb7835bdeb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resendUncertainSubmission (cyclomatic 12, cognitive 18): resendUncertainSubmission 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4976}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6319ea79ea54bdc1eb64ba6359d8ebf8559feecbe54ca62fdc000fa6f3681d"}},{"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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"be387abaae1d42023e29b4cc322deb83524b15aa3e0270d31fb1e353ebf08d66"}},{"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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"33450ef598a889787353c5d2d349ecebed25582928e189a3859d0154f6ea5ddc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadIssueChatBootstraps (cyclomatic 12, cognitive 18): loadIssueChatBootstraps 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":"ui/src/lib/issue-chat-bootstrap.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"437934b63ade8eebf9e94aaa0a993989eef53d187d1278200b16ec1c2be03a9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitTrailingPunctuation (cyclomatic 12, cognitive 18): splitTrailingPunctuation 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":"ui/src/lib/issue-reference.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"07412f15aa4c0589d61e02c303972c7540925b6500b6b8e6c883f3939e762ab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActionMap (cyclomatic 12, cognitive 18): buildActionMap 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d6eb2baba0e73b36db7a5abdd52e80a071514ce25a9e1ecd74e9478fa0b152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printProviderHealth (cyclomatic 12, cognitive 17): printProviderHealth 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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c91ea5dccc01d3292487ac07db8d22953818aff343b1f86d55b2db5a23e377b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareWorkspaceForSshExecution (cyclomatic 12, cognitive 17): prepareWorkspaceForSshExecution 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7e628070cabc05f7d8af86408eef291d9561b7b944ee2850127b8fde363d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printToolResult (cyclomatic 12, cognitive 17): printToolResult 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/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6601bd0b874d30d0b2dfd849ca53b1b2bda072842aecfe640375205ca323ca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractClaudeErrorMessages (cyclomatic 12, cognitive 17): extractClaudeErrorMessages 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"574dfe5a09b5340b0308c3b9b74d9155c55f8875babaa57981a3f52ad5aa06fb"}},{"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/paperclip-runner/src/drivers/acpx/cursor-instructions.test.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78c0ccd86c2e462ac4e05a25c732d0a2c99bbebaf3fc27adae2afceac229d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentReleaseLease (cyclomatic 12, cognitive 17): onEnvironmentReleaseLease 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":3307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b48eeb5573c06eab5484b7c9dfbdf67e4a485ba6a05fe3f7ea7bf8a551247d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleOnEvent (cyclomatic 12, cognitive 17): handleOnEvent 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"653012d6a7540fad6bf526fa8d542332a2797ab705f1ef735d7c31006eaae585"}},{"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":"server/src/__tests__/file-resources.test.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3ce21eb0ae592d9cfcf8f4d860765d518cc2f634d58aff2bbe52647d6b6baa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSilentActiveRun (cyclomatic 12, cognitive 17): inspectSilentActiveRun 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":"server/src/modules/active-run-watchdog/application/use-cases.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7fab17ccb22915ccdd5a38dd313bab0b8958cd77577aba27ca7e8c923f7c44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function healthCheck (cyclomatic 12, cognitive 17): healthCheck 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a342241c93171db5064219f2015c72366279860fbd9f4084eed7b8129b1638"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAgentCaseDocument (cyclomatic 12, cognitive 17): loadAgentCaseDocument 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":"server/src/services/case-agent-read.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad062d21aa826785dedf11f5155a05ee1e6bdba77abd5d85a78b8358284323c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveSkillExportDirCandidates (cyclomatic 12, cognitive 17): deriveSkillExportDirCandidates 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":"server/src/services/company-portability.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb38c23f7762fa0e77bc41dadf7a98f83f3210c943303171184d7eef2f7098e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitCacheExpirationLockLocations (cyclomatic 12, cognitive 17): gitCacheExpirationLockLocations 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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"572758487d887b0d509e85fc7084bbee9ceb81d5f22a7c5564305a418885c6f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAdditionalRunWorkspaces (cyclomatic 12, cognitive 17): resolveAdditionalRunWorkspaces 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4701fdde105a6be29b98047a353bc7620afa38f9c9248f0661619146fd56196c"}},{"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":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e53ab09c8d32f0687c6b9c1c09f4fdfe949ff26492cb766cd65abf47a562472"}},{"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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fa76f29346e95330ad17de0e6ef9cd4a31f9e66b15a4c5f2650bcdedc72513"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalize (cyclomatic 12, cognitive 17): finalize 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e40f52cb5c50320ff9202fcf5719cc9f9bdd08f9b0137e0ad43835a6598a87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEvents (cyclomatic 12, cognitive 17): runEvents 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":"tests/restart-chaos/evidence.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"140a6c76904277a87e0fed4992f1d62cc9674506e3c8b27dda4b61676c8d7b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVisiblePersonalSecretConfirmation (cyclomatic 12, cognitive 17): readVisiblePersonalSecretConfirmation 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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret-confirmation.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"323fd680fe04d1e5c7a4083f2089585bf42e3037f6ca0b743d4430ea00ecbf8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queryToolReads (cyclomatic 12, cognitive 17): queryToolReads 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":"tests/runner-e2e/chat-catalog-domains/runtime-handoffs.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfe3b732c93a34a0bc104e58e4f43206717071c3393e69184d95b5e539ac09c"}},{"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":"tests/runner-e2e/prepare-report-lock.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b716bd03452dec06d122ba59da5f49260c89b5fabdc74d55a01654d8ea16f7da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindAndRelease (cyclomatic 12, cognitive 17): bindAndRelease 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":"tests/runner-e2e/remote-native-bootstrap.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27b4f00012709470d08bd10e13456402d92eba38ac298e974aadb843de2dc0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postCloudHandoff (cyclomatic 12, cognitive 17): postCloudHandoff 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":"ui/src/lib/oauthHandoff.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d06b4cb84bbcdaf10cbdd08090d89dbc64f0e8fac328683384377b8b2d2d2f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePersistedLogContent (cyclomatic 12, cognitive 17): parsePersistedLogContent 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":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a88105de24a151e6c026d5739078154638919c0c0773a46734c5904147435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printOutput (cyclomatic 12, cognitive 16): printOutput 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":"cli/src/commands/client/common.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae30529d934443718eeb4fd5c4dcf4c0c67fc5401d6e6cfad24537a4f10475f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSshAuthArgs (cyclomatic 12, cognitive 16): createSshAuthArgs 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/adapter-utils/src/ssh.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f845d5da737424e39dca32d6334f3eecca7a4e41df9d02a8af2623c026bd9cb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichProtocolEvalHistory (cyclomatic 12, cognitive 16): enrichProtocolEvalHistory 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/paperclip-runner/scripts/runner-protocol-eval-metrics.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3985f30795c3a6a8c702f9de8919cc5b959b85d50c8b2fcd6475e5863b3cac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNativeSessionBackend (cyclomatic 12, cognitive 16): createNativeSessionBackend 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/paperclip-runner/src/backends/native-backend-factory.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f48a6e8a81f2f68ea86a62c7542b4bfd50f01f288319813ad6a094cf70d9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reclaimConfirmedExitedDirectorySyncHelpers (cyclomatic 12, cognitive 16): reclaimConfirmedExitedDirectorySyncHelpers 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"180d7102deb845f60acbf4b195a3fd54e9a97414b3f4d999ef5979c222cb813d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cursorChildActivitySummary (cyclomatic 12, cognitive 16): cursorChildActivitySummary 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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d26cccfe0762045a28db69658714bc726b53455167c43624a26cdd2b974b244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNameStatus (cyclomatic 12, cognitive 16): parseNameStatus 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/plugins/plugin-workspace-diff/src/workspace-diff.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"215dc3e151e04c52bf24923da703aab04347061f3785377adc9c161cb2389411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProcessIdentity (cyclomatic 12, cognitive 16): readProcessIdentity 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/shared/src/worktree-port-registry.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5e0986b2645be46ab8ed615155965c675eedfa39414c45acc0a7620f3a5c57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectBundledDependencyPatches (cyclomatic 12, cognitive 16): selectBundledDependencyPatches 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":"scripts/prepare-bundled-package.mjs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e206ba53aeb8703726a881fd884ba34b63aa27f01e1d4229e7c8591987529c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureMigrations (cyclomatic 12, cognitive 16): ensureMigrations 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":"server/src/index.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"20151097e370d0555915d87ed08882f446453459f394bc9df79f42505ae6cc34"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":9720}}}],"partialFingerprints":{"codehealthFindingId/v1":"455ceecdf6b26dd21452b9da9e16bd3d8eeaa29f2f51cf1b0f2008a0fbc0fd5e"}},{"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":"server/src/routes/voice-sessions.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac5e2b29452bd3ccfbb1a02b1225e011ea54664ad459c3dac2ac3ddfb6c633e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveSettings (cyclomatic 12, cognitive 16): saveSettings 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":"server/src/services/browser-use.ts"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf58adf6f35b467e8bf1ed2cfa15f826dedddfd84585cce0f6aa61a40968485"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processUpdate (cyclomatic 12, cognitive 16): processUpdate 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74c2669a28764c963764902adce78a7a710c717bcced339033b3be0f8ca0ea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 12, cognitive 16): visit 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":"server/src/services/company-skills.ts"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5b180e70bd44466811fb498b756e640f655499e1b8665c49ca3683a0010164"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLogin (cyclomatic 12, cognitive 16): runLogin 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":"server/src/services/device-login-service.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d166f1b24b61372039674dadc5ceffbbf70fa434d10120b2c1687c270c938c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 12, cognitive 16): fixture 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":"server/src/services/execution-projection-external-provider.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"da014b5ac3c62bed2974dea0b03781d19b14826ec9a070fdc2201fe84d144a2e"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af1f820941dfa403d1b33de1ff004b061de28906681a493ad111ea5a01ff77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireIsolatedTaskDirectory (cyclomatic 12, cognitive 16): expireIsolatedTaskDirectory 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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79efc7c3166456b08d48cf2f67865ea028eb55c6f4f155f756529416ea8e600"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLinuxProcessGroupActivity (cyclomatic 12, cognitive 16): readLinuxProcessGroupActivity 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a146cef1498a28337cc6f1fc083074ac77e54356272fad8fb5670a0a244516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRecordedProcessIds (cyclomatic 12, cognitive 16): collectRecordedProcessIds 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":"server/src/services/native-runtime/native-bootstrap-proof.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3410d24f8cb4f423939481864a16604f968b2f0290acdc529c22316c06eab25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimNativeSessionResumptions (cyclomatic 12, cognitive 16): claimNativeSessionResumptions 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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ec70f6a51172b5c7646684a5b9edec5274df97aa2cc41bfc300bd206f6837d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 12, cognitive 16): authorize 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3551bb550518dfdfb3e2bf161dec938b6e5b218e5c4bde3941306a785a22f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextAdmission (cyclomatic 12, cognitive 16): nextAdmission 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":"server/src/services/scoped-deadline-work.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fadcd5de5b1c313f03b0f174abfee4bf9eaf4619d4bf97b042784879dfece3b"}},{"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":"server/src/services/secret-proposals.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ab68260fc83d8c1b248a8d98fa23f2a9d4d75a11b41ffb05890a2f28e73722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installations (cyclomatic 12, cognitive 16): installations 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":"server/src/services/skill-installation-maintenance.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef71bdc407530b3cc0ae7397d91733ec00ec6301ac4efb3cd80ab14208c0d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isUniqueConstraintConflict (cyclomatic 12, cognitive 16): isUniqueConstraintConflict 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ba5f3b60c0104f84fa8de5a7984407889df3fb23e93c4d9190b71b4f2b69c2"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c99e7399e4d01011817c32f17692af0906d67cac894a7ce1a4b7dcb15df0a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkCommittedSnapshots (cyclomatic 12, cognitive 16): checkCommittedSnapshots 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":"tests/restart-chaos/storage-audit.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e84515c4a617bdf85fd324e58159b5045c49ae5283fcd397bd763dfaae512"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveAgentInstructions (cyclomatic 12, cognitive 16): saveAgentInstructions 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":"tests/runner-e2e/api.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea51731ecc2b871cddcca7f848a5f73622d1332dad3ef680607d4558d44156e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function orderedSecureSaveAcknowledgment (cyclomatic 12, cognitive 16): orderedSecureSaveAcknowledgment 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret-confirmation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"334cb1e6f33b429545edbee2375567d07e4da365e52ce8dfb91fb5d631dce236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyResult (cyclomatic 12, cognitive 16): verifyResult 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":"tests/runner-e2e/chat-catalog-domains/internal-website-delivery.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb37db9610fd93fa96282c0deab0f411b43d9e05310141deacda8fd35d842a60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleCopilotDeniedRun (cyclomatic 12, cognitive 16): settleCopilotDeniedRun 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":"tests/runner-e2e/copilot-protection-flow.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"84117bdfca335b006066271bc7f3281f75d7ddc3976be227329d1d048a208f3a"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0976bca4ec2edeeafebed8877ccb8c64831750d610cc4160801c4dcbb8e383"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachFile (cyclomatic 12, cognitive 16): attachFile 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5251}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bc8f390231ab95497785e457c6cf51355dce72f6a5607e82f50b8e944cb455"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 12, cognitive 16): mutationFn 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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dca13f5d83f20931f99c5b733f894bbbc1f3d053bf333a34874b8cc354406b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 12, cognitive 16): fetch 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":"ui/storybook/prototypes/AiTaskConnectionReview.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d002203c8c0a16ba5268b763944b1e2bcbc75209f2c93c0824004ef77c4609a"}},{"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":"cli/src/commands/client/agent.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0fa9c000efe14af226528cd7720ec368375fe349dcae7c712a313219082886"}},{"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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b8016a746045c68c3e92ac8f59abd330ec460cb981b6935aed77e05f7d0d9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAnthropicModels (cyclomatic 12, cognitive 15): fetchAnthropicModels 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/adapters/claude-local/src/server/models.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8889214b7c8b8d0dd6f12a5cc7d44593a36ca4e2b3f61225d2c76a9eab0a266"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 12, cognitive 15): normalize 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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac74405af8ddafdf5ba7f387ba3b180c64008cdab6902c0ab22547c071f029f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 12, cognitive 15): inspect 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/paperclip-runner/src/drivers/opencode/upstream-served.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"48764edcdb72fefd36496aab8bc39be2cae305046503d20a91d118f29f6944bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function location (cyclomatic 12, cognitive 15): location 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/paperclip-runner/src/executable-digest-cache.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c632037d6328cd06f5df9346e82011bc51c043d3ed2a2e69c4803c2d6bea85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripYamlInlineComment (cyclomatic 12, cognitive 15): stripYamlInlineComment 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a6d4602637ae3a01cd0210fd6103e7a7e03868c3f5c2964f179d82da142a41"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":6502}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b41de8736e1af8f8b797f4514393fb10817ae73fa052e76294496c4641924ac"}},{"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":"server/src/__tests__/environment-runtime.test.ts"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73a17bd3f6d38246cb925b49d7e0fb81d25e1eb23b262377d07f7a02c6d6bcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function task (cyclomatic 12, cognitive 15): task 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":"server/src/__tests__/ownership-reconciliation-report.test.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9790cc73b059c91dfb776c7051d1adbda9d21b8d1cb9a1e76b0d8d9e9a9d0f9"}},{"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":"server/src/__tests__/task-creation-recovery.integration.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa5f2571fba57d44809309793738f87ab62aa91ca5fb9f6da13efacb1d9953"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"69533de7515860d280724b98dafa919fb037cacdf222233330d64559e88edb64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueWriteDenialLabels (cyclomatic 12, cognitive 15): issueWriteDenialLabels 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":"server/src/routes/issues.ts"},"region":{"startLine":5430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a32a0cd3fb2f351611ad5adb1806372c6d6603294983ed6f590d1cce7c86b"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":18281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46b5b596ca0ad3cda763a0fdffce9fd4abb29f541fc2b11bd4e92423d70327d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalizePlainEnvValueForHash (cyclomatic 12, cognitive 15): canonicalizePlainEnvValueForHash 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":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5b9500213826aebef8ecf71620c8ea1e57354ddb6ba8dfbf633d9c5541066b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canActorReadWorkspaceOperation (cyclomatic 12, cognitive 15): canActorReadWorkspaceOperation 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":"server/src/services/heartbeat-run-privacy.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d910cce950ab2f9797925468a9f86e0b28299b5651e049fb7ce02212ac53b74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function begin (cyclomatic 12, cognitive 15): begin 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":"server/src/services/heartbeat/run-output.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b844dbb002d25ddd784a7c23c9b199b2c4d418941474c18bad608ae9a2455c5"}},{"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":"server/src/services/instance-settings.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"133acb475411ba447c681b5fa984c96e9e98be37738caa782f2bc06ad90c0e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueSkipReason (cyclomatic 12, cognitive 15): issueSkipReason 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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"952529691d945ce14a7054bf62572e0e99f916c324db6fa193ca2077f8519564"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 12, cognitive 15): check 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":"server/src/services/native-runtime/native-cancellation-delivery.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf4b1e89e6dcb789da7049bb776351a65d8727c8a01c04e16162be01e5d847b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimNativeRestartRecoveries (cyclomatic 12, cognitive 15): claimNativeRestartRecoveries 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":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"82620c6f153ec1a88c3ac4385478c42a616c31d762dddaecff096239ff83c4b9"}},{"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":"server/src/services/native-runtime/native-runner-restart-recovery.integration.test.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9406941489f675a3b4a95812e35a57786fcc9deb94346784889b3a9e7de5f755"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22019}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa64dd3400d7ff13e39fc37bad23d8ab2cd4bcaf5185143e9f4183f93e4cc6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChunks (cyclomatic 12, cognitive 15): readChunks 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":"server/src/services/provider-trace-object-store.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9290ae7b8295c1db29233a010ced25e5920a3375ae5fad74ab2fd08eff783267"}},{"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":"server/src/services/public-mcp/capabilities.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"677b71c8acc92828427dffd7824ab9c5edf8c31d659139def334935a82bdd50e"}},{"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":"server/src/services/remote-workspace-transport.test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d86254defcc973172c2e532d747d8369baf9ae24832f5b2b2453de634fca2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureWaveRunnerLogs (cyclomatic 12, cognitive 15): captureWaveRunnerLogs 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":"tests/restart-chaos/daytona-runner-logs.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c8aebd2e514d1a058cb107d69d81da02423afad66ef391121f0acf0cdf8a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 12, cognitive 15): request 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":"tests/restart-chaos/hosted-api.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f6c1992b7965be76ff8d7f5ab4a6ba02c16bb272bdcd1d73da19840dc43b8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runBlockerFlow (cyclomatic 12, cognitive 15): runBlockerFlow 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":"tests/runner-e2e/blocker-flow.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d26c99b60959b95a414c01b701ba76c8534dddd273a7f54977da00923ffe85"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-company-secret-create-dialog.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df85ea3345ac6ec65b4a3025d9640eb32010217bc1e9a0668ef94550d6941d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNotionFixturePages (cyclomatic 12, cognitive 15): readNotionFixturePages 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":"tests/runner-e2e/chat-catalog-domains/external-notion-provider.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"40860bff73257cba1afd0ef4e79df0898ef5c8ec78032f78e9bd6eb201c2bfb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadLocalEnvironment (cyclomatic 12, cognitive 15): loadLocalEnvironment 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":"tests/runner-e2e/launch.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b15d68044ac6c34309583867391e574524cb9a17cc65eceb89afb88418c5fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewScheduledFeedback (cyclomatic 12, cognitive 15): reviewScheduledFeedback 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":"tests/runner-e2e/scheduled-finalization.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"91911379218f510d824abec8d981952c8b20b9fd584f4ae3ba461076337acb9d"}},{"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":"tests/runner-e2e/workflow-image-only.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b13de59db64c934e8d32ddd1806c67497af07f56fc11222ad2a86fef9fe5c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRenderState (cyclomatic 12, cognitive 15): assertRenderState 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":"tests/storybook-visual/feature-gap-render-states.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf05f29370e9e44b57a57680eeb94bca26c3e8e3cd68e99dc8801c21c529de7"}},{"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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e205bd157e32d68c17eee7bea3342ba63473ae9d253c106c08eff19df36659"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classMatcher (cyclomatic 12, cognitive 15): classMatcher 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":"ui/src/components/task-chat/question-validation-pattern.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0fdf493a6cf2b849bad64cd9055fbf8b0883bc738ab7e6f34d23b60756b5cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function turnChangesFromEditRows (cyclomatic 12, cognitive 15): turnChangesFromEditRows 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":"ui/src/components/task-chat/turn-file-changes.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669779d0ca9996fc2aec114be698e3d830a4a02e75f0eca63843c5b2c1abd03"}},{"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":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"347c542604c70ca36794c1cbff037487b7013ee31825cd8c967fd869a65e6194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findMentionLinkNodeAtPoint (cyclomatic 12, cognitive 15): findMentionLinkNodeAtPoint 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":"ui/src/lib/mention-deletion.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f5dc7400759f2452478d8f39a4d301c9ed1aa1d8ff1ada15b35c9e8a77a10"}},{"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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"122c4d620bfdc6b8f3602d8f69b7077655687ab4f18bb1f63e834a61ca31a8e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forcedRule (cyclomatic 12, cognitive 15): forcedRule 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":"ui/storybook/support/design-proposals/useButtonPreviewStates.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ca6f8ef8323d3a843d62a0908a4be9fb0bb71e810dd0a079b900cc002626a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeContext (cyclomatic 12, cognitive 14): normalizeContext 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":"cli/src/client/context.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8963d05d3ee7614982cee1257128a8b8bcd7f3876bf7d2183b7256adc76220d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSpawnTarget (cyclomatic 12, cognitive 14): resolveSpawnTarget 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3728}}}],"partialFingerprints":{"codehealthFindingId/v1":"93616145191fdcea65d08145b18ccfd43ef74f626cf22b69247db94146102e2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPendingMigrationsManually (cyclomatic 12, cognitive 14): applyPendingMigrationsManually 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/db/src/client.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f614198d8dc9266edb0143b82e353b0438c2d6fd63669e6bbffccb531c4e23a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkNewMigrationCompatibility (cyclomatic 12, cognitive 14): checkNewMigrationCompatibility 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/db/src/migration-compatibility.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ab0efcd473d9933aeb26c3422edf9fc998f2d235215b63f2d892b84945bd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureEmbeddedPostgresConnection (cyclomatic 12, cognitive 14): ensureEmbeddedPostgresConnection 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/db/src/migration-runtime.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a3db8b55e320bef591d5a54541e70c1fd4ae5e4c3bdad0b5dcc941e345848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 14): run 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/paperclip-runner/scripts/check-clean-consumers.mjs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e3137971817bffc44c786d6ee4957a5ada1e1f7202fbc72b23e8abeb3e1f4"}},{"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/paperclip-runner/scripts/kimi-metadata-probe.test.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c182d456e9c92c15f152ee9a282c41ffc9c3f2c2a42b5790e9d662df41d8f70b"}},{"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/paperclip-runner/scripts/qualify-opencode-runtime.test.mjs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3617e3a09cc1c1941c54ec16ad0756b73946bd18979922d88ed60bcb8c71280"}},{"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/paperclip-runner/src/react/components/conversation.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"464a9d2366896f0b2362c269a8ea328bed6efa5db3bedfeb985a21b2d9e859b0"}},{"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/tailscale-https-broker/src/broker-core.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d6fda466c95c851a754b7d9df21b52c4b59b8517b0d3b55c5af6d7dc47a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 12, cognitive 14): visit 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":"scripts/generate-daytona-tools.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e86914622abc914c1c731bf77df673f9d239ef0fe3453a6d6d3451d3d98ce99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 12, cognitive 14): send 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":"scripts/smoke/chat-webhook-ingress.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dde9462747a3fc419fea1f42f759fabd2dd752ea538fc7b26b7692cbe9b7967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typecheckTestPrograms (cyclomatic 12, cognitive 14): typecheckTestPrograms 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":"scripts/typecheck-test-programs.mjs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e9bc424ea076031d62d1a5166bb80bc321078837a89798087a263becb35004"}},{"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":"server/src/__tests__/agent-runtime-assignments.test.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d678703152055d600c4e3f31a62bce2940c673539e75a02e54cb2764f249813"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":82941}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263d80627c14a72a805ae3bbedfede78fd40fc32cbfd3d761e83761f690f450"}},{"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":"server/src/__tests__/heartbeat-native-restart-suspension.test.ts"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"b527271eae4b97d844d616b258da4d348e8a6d006545a04ef33cc9c5de6a2cf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expectSourceScopedStrandedRecoveryAction (cyclomatic 12, cognitive 14): expectSourceScopedStrandedRecoveryAction 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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f81c31a343f941f6c641f91835f0ad3fbb231cfa90b434f41caab5cbb2a523"}},{"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":"server/src/__tests__/idle-completed-history.test.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c443d5b1565929e32af2d6613ded300e956073335f1eda94068d8815f39a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 12, cognitive 14): call 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":"server/src/__tests__/plugin-workspace-terminal-retry.integration.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5532c4aea5207e0e561b0588393315b9c5cab43abc7f63e47e92174edc11c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordAdmission (cyclomatic 12, cognitive 14): recordAdmission 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":"server/src/modules/execution-admission/adapters/postgres.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe2bab4cf9a3c12f399f2295816534ad970fff7c84e92804aee39060ccb8a94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function defaultRenderCard (cyclomatic 12, cognitive 14): defaultRenderCard 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":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"30965235645de20f711114cdb7c1a028e17cdc354ea3fc9289a37d8fe747bdfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignAttentionObligations (cyclomatic 12, cognitive 14): assignAttentionObligations 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":"server/src/services/attention.ts"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fe971cebfa1d37c09681aa492f3639de96db0fa26bf880ad8f46ab96128dce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachTransferredBy (cyclomatic 12, cognitive 14): attachTransferredBy 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":"server/src/services/attention.ts"},"region":{"startLine":3186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fea1d54231d265f72cc2246ef1f844f6da193010e4b4e3a61e9d8391228a884"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizedCredentials (cyclomatic 12, cognitive 14): normalizedCredentials 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":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0a1ca86d324b42e5e19c82dbdfb6cf64989aefafd1641352deb8549b5d733f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileCodexLocalManagedHomesOnStartup (cyclomatic 12, cognitive 14): reconcileCodexLocalManagedHomesOnStartup 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":"server/src/services/codex-auth-reconciliation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cdbdcdf4e9073c407746cef970395f0f87cf2825a5cab6d2cdf44263bcf650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePortableEmbeddedAssets (cyclomatic 12, cognitive 14): normalizePortableEmbeddedAssets 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":"server/src/services/company-portability.ts"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fa64df53068b7f8f8424600baca6163fb8b9c02359d01b25001d5e9b40fdeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectVersionFileInventory (cyclomatic 12, cognitive 14): collectVersionFileInventory 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":"server/src/services/company-skills.ts"},"region":{"startLine":3717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9eeb48e269fcd55b4c4e781bd87ca6d11c6af1648020db1e255de4ddf59ba9"}},{"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":"server/src/services/connectors/slack/setup/registration.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a580cd53214131af0fa7ad78693d22b3de432f9b1533c9c8afb03c025f889ffd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transientDatabaseFailure (cyclomatic 12, cognitive 14): transientDatabaseFailure 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":"server/src/services/environment-provider-unavailable-error.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2247eefd9084279f9746d5b460bf1631344a86b00bdacad5eba99f3ce0004fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeObjects (cyclomatic 12, cognitive 14): summarizeObjects 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":"server/src/services/external-objects.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e86945abdc58ce1a2f4e0e826fca54bb9da97e1196eca2235abf47233493f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGitHubApiCredential (cyclomatic 12, cognitive 14): resolveGitHubApiCredential 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":"server/src/services/git-credentials.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a25ede675287504fe6d16caf2716e3574f48f0b25d26ccaf8461e80cc3d43a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripCloudCatalogDefaultEchoes (cyclomatic 12, cognitive 14): stripCloudCatalogDefaultEchoes 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":"server/src/services/instance-settings.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba849997a4c36c55af29a7abc18de66dfb6a12cf92efa7aad405d9826f79d7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listIssueStatusBlockerAttention (cyclomatic 12, cognitive 14): listIssueStatusBlockerAttention 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":"server/src/services/issue-status-presentation.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6942fcce6b8cfc7d01c190eb00ecc105e6f93047ee3638cf78bad38b54cf2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 12, cognitive 14): finish 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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d7a2409445bd12635aaeb89b1a6b0a0bf0622960d25ca53607d4b102451284"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoundedStorageObject (cyclomatic 12, cognitive 14): readBoundedStorageObject 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":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"df16bce1cfce2011e7eca6a06d4179c330b2cc4e336418ecf9e7233a462f27ff"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bda90c23eb607528d331bc4ec60bdfea30dcdc41290d733df8b97f58611ec2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectNativeSessionResumeRun (cyclomatic 12, cognitive 14): selectNativeSessionResumeRun 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":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b01c26b62a8e8062e4c0f8857c629664fa3fb745675aa19a4a509a592a6a27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createInvite (cyclomatic 12, cognitive 14): createInvite 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"421a1fa48d6e2ef129768a60ca26bb0f01e65fd1627525d67cf0c8e3c6b4ffba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareSemver (cyclomatic 12, cognitive 14): compareSemver 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"404a02149b5070a0c6d60e3d065e41ac99641dbbca9e4b4e06f66cd0cba7cf64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queuedInteractionSummary (cyclomatic 12, cognitive 14): queuedInteractionSummary 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":"server/src/services/queued-interaction-response.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2dc0d791854f1d2075d22a479e625f1b25c3e41c769187c8c10ebd926effcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isUnmaterializedRepositoryRequest (cyclomatic 12, cognitive 14): isUnmaterializedRepositoryRequest 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":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"053f4d2783a26a0764862fceef1f0bd2bfab9b077ef9552392eba7f96cbefcd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionContinuationPendingResponse (cyclomatic 12, cognitive 14): connectionContinuationPendingResponse 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":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd885a581b72a09b57c16a0bfdc8b544fb1057df52e8c04cb955e206733b4dfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 12, cognitive 14): matches 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":"server/src/services/tool-access/policy-selector-index.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"432b6bc0494110cf1a66241fc56a1b96d42592b01c793fcfce9168485a22ed70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHumanizedActionPreview (cyclomatic 12, cognitive 14): buildHumanizedActionPreview 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e940d1275c50e8c351a58f5f97986011022bd92d4caf6466b841e1214bf7f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshRemoteTrackingBaseRefWithDiagnostic (cyclomatic 12, cognitive 14): refreshRemoteTrackingBaseRefWithDiagnostic 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc3d3c5f7596c59322b7ccafeb338f99c5fa81f8cfc7a9deeecf1a150df7698"}},{"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":"tests/restart-chaos/wave-speed.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9601aaef837ce6277af6f03a5107624d830ba8f09737de13966361ca4eb83255"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leadApiCalls (cyclomatic 12, cognitive 14): leadApiCalls 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":"tests/runner-e2e/chat-catalog-domains/identity-accounting.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4898f2b20279063c92d7d92f0622a535402c1de1c5c57b0ac6ae6647a70f86b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runChatFeatureFlow (cyclomatic 12, cognitive 14): runChatFeatureFlow 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":"tests/runner-e2e/chat-feature-flow.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b71750413deab97e624a379f8384c6606f447b02668ae8d538f127c01fb1040"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPlanTaskFlow (cyclomatic 12, cognitive 14): runPlanTaskFlow 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":"tests/runner-e2e/plan-task-flow.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b3c562f5cb62279f28eb40bc3cc4de669727ec670bcdaae8c1d568ca942e10"}},{"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":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4cac789fc533b7a3d0f63e20906a5f7b84e29a16431e2b8c6c9728d2510bd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeEvent (cyclomatic 12, cognitive 14): summarizeEvent 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":"ui/src/components/RoutineActivityRow.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c868d08293454a7bb4ea0c66338871639f9ddfc1d38a037f38aa5a3ef310196"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efddf39a072edb3a2d32df521817d378e82b1dd3f29b215f0dbe0011ba56ee0"}},{"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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d18f03b240070cbea9761e499d34208a0dbc5275966b4f252ff2772d25752c"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"0385c5fb50374384787f4eaec48e3389909391977171dc34040600d027faa759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 12, cognitive 14): finish 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":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1621f097d724d668ffe3ddb92d0b5673e172424638d27654dfd5041b4984747b"}},{"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":"ui/src/hooks/useAttentionViews.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b01cd336f517240001de1e8375651ab54cfc1cee3869afda4ec47a35c064e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertJson (cyclomatic 12, cognitive 14): assertJson 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":"ui/src/lib/agent-configuration-yaml.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d0b9a0fe619df9dc5d5bd24655d9718e9c0c1c2afcadc8c2f7ac6d6a0655c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeStorage (cyclomatic 12, cognitive 14): observeStorage 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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2725852f4988c94d3e1b657e9406323658690e7ec869d2373046814e5391e0ca"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":6238}}}],"partialFingerprints":{"codehealthFindingId/v1":"69204d5d876664717e96e5d149d0774c02516197aebc265c81133761eb5b1f91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 12, cognitive 14): fetch 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":"ui/storybook/stories/companies/observability/03-journey.stories.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"adccd0e4aa8b3fc5a584668abe3e77628456b477187dad4e968cdb019a266a40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteWorkspaceCwdEnvVarsForExecution (cyclomatic 12, cognitive 13): rewriteWorkspaceCwdEnvVarsForExecution 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3495}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b54d66cc2bf06a58dcad8df3f69a30dbffd14752baa0d593e1238dbd4df7e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireDirectoryMergeLock (cyclomatic 12, cognitive 13): acquireDirectoryMergeLock 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2021b960c1a500e5b0d822444d3718997589f99c55053e8ac3498231d0906f46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function crashPoint (cyclomatic 12, cognitive 13): crashPoint 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/paperclip-runner/src/crash-point.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7492b1f0d3e7877e102f31f0571a8c8cb5a34ba4847f4216e70c769c4e207b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #transport (cyclomatic 12, cognitive 13): #transport 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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4285637811ee5ff11975b7dd8f76ac63221e90f003f33ec828c9e5f17f722bb"}},{"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/paperclip-runner/src/drivers/runner-tool-bridge.claude-tool-use.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc053f8ce0b4b1b1e66b4c06ce7376e3d04c25c2fbb0ee77c5d23349ea3ee77f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectRunnerLiveEvalSchedule (cyclomatic 12, cognitive 13): selectRunnerLiveEvalSchedule 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/paperclip-runner/src/eval/live-workflow-matrix.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd32b3bb92560ae52c9cbcb6b09cc1a98b0a1ff6dc2c2a41065a0cd24943000a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trustedRuntimeReadOnlyRoots (cyclomatic 12, cognitive 13): trustedRuntimeReadOnlyRoots 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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"59360e7c8c3e0e0f667c86f3c2399fa838dd227e8c0a00a3dbf96820f9a1dac6"}},{"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/paperclip-runner/src/live/runnerd-restart-continuation.test.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9918b480524da2db1c4a1d8db9d80e7233cd682dc8ef72b22c7386f8b4e86c"}},{"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/paperclip-runner/src/live/runnerd-warm-idle-orphan.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7ce18f510afb839d048565b530d64cb1fbe2377b7eb0dcf753d66945093d69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readJsonBody (cyclomatic 12, cognitive 13): readJsonBody 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/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cbd7aefd3dcc321458afc9ac9f5bd90f06cfb0cc4fd4504ac704ffb3b045a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnvironmentAcquireLease (cyclomatic 12, cognitive 13): onEnvironmentAcquireLease 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/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6bfa644a8ad49dc732b2ad5f62bba625dd6743bce8937d9ba8ba92c144f9a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRunnerImageManifest (cyclomatic 12, cognitive 13): readRunnerImageManifest has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-image-publish.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea9c3aa654b848c95b3cdf674715c49ae51f29b0017abb576a6acbc1522c70e"}},{"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":"server/scripts/workspace-recovery-provider.test.mjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"72884f9ace420a133d79f2533c08909b19f7f5fd32d921361c17fd92ed7ac7a3"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":62231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8b3dba3162bc70188c114bf7f75c26febf0d70529728775e3fa82c6c8cf04a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewFinding (cyclomatic 12, cognitive 13): reviewFinding 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":"server/src/__tests__/helpers/issue-graph-liveness-reference.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5a488607cff9ad672f9a9e0d7b255130ecdb4e6838b9079a12129bdb343f89"}},{"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":"server/src/__tests__/muse-contact-normal-app.postgres.test.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1db21e2da482e936ce256f87fc196aa66f28c44b1feac240d1beb2a1702a3f"}},{"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":"server/src/__tests__/muse-contact-restoration-app.postgres.test.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd6b80c63de30dab63155faf4502027bae5e243d8f5ad0707666dbdd20fb4a8"}},{"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":"server/src/__tests__/native-status-reassessment-work.test.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"371ecd50c8261fb7cc8ec6db4cec1ada7032a4f89f1b7e7eb0c678873414d17c"}},{"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":"server/src/__tests__/tool-gateway.test.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"9407051c7a27e97c72330810fb0e9cddf548de3f32d0f672f04f02283c25954e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSensitiveStringValuesInto (cyclomatic 12, cognitive 13): collectSensitiveStringValuesInto 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":"server/src/middleware/redact-sensitive.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9231adeed819a95b28ec5ff61623df75103bd28935989953aa3206d9b4e651b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAgentPolicyHoldsInTransaction (cyclomatic 12, cognitive 13): applyAgentPolicyHoldsInTransaction 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":"server/src/modules/agent-lifecycle/adapters/postgres.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c84b0438d092e11209792ba8483833ddc1c0e94adabb4e463cce0e3cca88e"}},{"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":"server/src/routes/companies.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"58224dd5a42ff89c6e59f7d5f6aa5d5fa32df0b15ffe8bf0659c636c20b3f196"}},{"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":"server/src/routes/decisions.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1160c64ca9d170898cbe22249e371fa9a67a9eaf33ec06cb70c78a62c6fecde3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverBundledPlugins (cyclomatic 12, cognitive 13): discoverBundledPlugins 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":"server/src/routes/plugins.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"954e9b7ed1aee427d8364cf6757793f487ba2c3393f29836a559faa665b49919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTool (cyclomatic 12, cognitive 13): callTool 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":"server/src/routes/public-mcp.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4b57971d89f1898b313183a72bc8212f6f1d3e7b02c2f1f134a75fd8da5828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function knownRunCostCents (cyclomatic 12, cognitive 13): knownRunCostCents 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":"server/src/services/budget-exposure.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b50507c4c932a1af6ef334bb01b16a935b5911ceeb42f435e6173582f7a43ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function identifyTelegramMedia (cyclomatic 12, cognitive 13): identifyTelegramMedia 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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ece18db694ffde24315cdeb57af120081477d81aa1d340a96ce63fb9125348f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePortableIssueWorkProducts (cyclomatic 12, cognitive 13): normalizePortableIssueWorkProducts 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":"server/src/services/company-portability.ts"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd303e9f0f80494451c5f3e12d20dc1eaf5281c9beffcb6d1e81b91f45d15b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackRunOrigin (cyclomatic 12, cognitive 13): slackRunOrigin 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":"server/src/services/connectors/slack-authority.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"710051dfc4161b61a4eb7aeafabc23e1c19c99b439371363f9ff8935abb8f9a4"}},{"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":"server/src/services/connectors/tailscale/network.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df2faa3ad1a97d3b09857de048085796b248948084b546dd7870b3c8f5a0c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 12, cognitive 13): read 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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"77725f5abc518c595ed82dc4a43cc97a7deb32545ecc45f4d700687272397fb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOwnership (cyclomatic 12, cognitive 13): resolveOwnership 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":"server/src/services/issues.ts"},"region":{"startLine":13088}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82fa259c29567936d415929eaab89bab82ef851f7241460c85c31aa05e52194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 12, cognitive 13): prepare 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":"server/src/services/managed-skill-content.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"945aec1165b6fef239edb6b9b65c0fd083f6b670a25d27603229ed9ef366880f"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dd546e7a9fe3826817bb1d1a2f98857a12bad9df77161c0c158786c25c0f2b"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dc81c38c685e3140a707f741eafa6f3b57ebbc1272d6c1d2b7cae858459d40"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d634df1c15f1ca04e8ca9009c20c2f6308cb5ca95a9f7518d732309de16bbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withNativeWorkspaceFinalizationOwnership (cyclomatic 12, cognitive 13): withNativeWorkspaceFinalizationOwnership 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":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b19a6ed84be53ff9058bb2d738fff735bc726c0deb52e326d9ecabfc928272"}},{"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":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"407dfdf25b73d335520f86024144f17fe9245d58286e8e1ed7a6fadebd71b5e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requiresOnlineWorkspaceSource (cyclomatic 12, cognitive 13): requiresOnlineWorkspaceSource 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":"server/src/services/online-workspace-source.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73c75ee83d11396dd1ded9cd49d45bcdab3fd3f5a022da9910409e10768b3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bufferPreBindDuplexFrame (cyclomatic 12, cognitive 13): bufferPreBindDuplexFrame 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"84010e735b04d3f14e2af6c46835b8244ce5a3c9f033bb6759ebfbeaf0a97583"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWorkerRequest (cyclomatic 12, cognitive 13): handleWorkerRequest 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"20abc88f9c0bbd17fc403851cf63bce757aa969f378902afb8f03b3ba49af4ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeProjectWorkspaceRuntimeConfig (cyclomatic 12, cognitive 13): mergeProjectWorkspaceRuntimeConfig 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":"server/src/services/project-workspace-runtime-config.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1721c53542679636ccd8a8e9b47b3c0a71f7d670dd41b7e8100db23a66f31b"}},{"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":"server/src/services/quarantined-task-retry.test.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8149b8f7b6448ded22834fb64409dd26495e917d1c20cf5c493fff9b0a778de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewFinding (cyclomatic 12, cognitive 13): reviewFinding 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e1ded6bafb09a085db4605395a758237d92d34bcf6cbca56dd3a08317fcb57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConfigurationIncompleteRecoveryNoticeSeed (cyclomatic 12, cognitive 13): buildConfigurationIncompleteRecoveryNoticeSeed 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":"server/src/services/recovery/stranded-notice.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eac981cd6a591797d624766e23a72f015866de6f88c286ac05221e8bb81702"}},{"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":"server/src/services/remote-workspace-snapshot-archive.test.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea85fdc2a988e1ae68cc4360aeb388936378821519143bf316c8eb4cace2b048"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function portableRemoteUrl (cyclomatic 12, cognitive 13): portableRemoteUrl 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":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1404a384a48f488824e92a498405cc10a1de3b45156c2cb9b6ccd202c9d87ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRepositoryObjectCache (cyclomatic 12, cognitive 13): resolveRepositoryObjectCache 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":"server/src/services/repository-object-cache.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29547dd6e3d786bd8f9349dd8af9b7a68d5bfc7ce0b8db097d41d7dba23ca28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disconnect (cyclomatic 12, cognitive 13): disconnect 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":"server/src/services/skill-sources.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"21553b2e768423c8bfab03ad396ea6af41cdf83e3fce56ee39a0948ee5855a1a"}},{"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":"tests/e2e/composer-stop.spec.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6661e0f6ef4ff3363fbbf7cf031b7ab3a94189edf78d29ddd7910752545d3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke (cyclomatic 12, cognitive 13): invoke 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":"tests/runner-e2e/chat-catalog-domains/external-slack-provider.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e15695ac6364af16c3498d02d47e8316a4a8304a4765bc557928b337b7b763"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-website-delivery.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a631a36362a3b7b3ea685cedb91a0f643e6361e3ff68deaf1f46e3f552e6cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDocker (cyclomatic 12, cognitive 13): runDocker 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":"tests/runner-e2e/docker-postgres.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0bbba15561dee95a9e8db105a6f7f6370bb2001050cc8d76b9f65e5a62e43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settle (cyclomatic 12, cognitive 13): settle 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":"tests/runner-e2e/product-journeys/clarification-flow.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4f927397ecdfeebaea5c4159ddcf35712f5560ad88665cd8af92a731226787"}},{"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":"tests/speko-voice-proof/proof.mjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"178e85b8841823850a4108bce46948e6416aa6c64c90632e6df7ffd43feb1d26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activeSimulatedOutage (cyclomatic 12, cognitive 13): activeSimulatedOutage 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":"ui/src/api/client.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed13848b6cbc514c4c8005ee707dd5570d3743f486faa66471c98ce10b4224bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function metaParts (cyclomatic 12, cognitive 13): metaParts 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":"ui/src/artifact-directions/directions/d2-tint/kinds.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5aee432deb039942618a07d95c02957b972d0c88e995faa6db49885799a090"}},{"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":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6271aac8418d41000e7b33135c22f64ce3bbdec1978ed886f2a50cecdbfcd2"}},{"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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5c475de66cd29b37f89a3bc1ac795eac086b1d4db5421c1100282d591f83e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PropertiesPanel (cyclomatic 12, cognitive 13): PropertiesPanel 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":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7774ce9a554326295930841d8efbe5843a3064864e819bfa1df2e876ebb3a3b9"}},{"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":"ui/src/components/SystemNotice.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62bbd713ebd757556e07791f32170a661aa580096e661b3575a73301f4ac3d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptedSemanticResult (cyclomatic 12, cognitive 13): acceptedSemanticResult 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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e246bf1c6f7eba3c6ea395e1328cef825e2b6bc0ee84fb8e912a6c704844bf0"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d4e1fbc55c70eee5a359c5a86d931e5b89f7999c137925adedb2821425d475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function limitDetails (cyclomatic 12, cognitive 13): limitDetails 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":"ui/src/components/ai-connections/AiConnectionUsagePanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1c7838f6ea94e8ddf5bc077d275322edb5999b5ac50bff4dc60fca690129d9"}},{"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":"ui/src/components/environment-variables-editor/SecretPicker.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf7102e519765fafa97f40b4f1730d35b0c6c5f350fbd0245a72a4d47b55258"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDocumentPanel (cyclomatic 12, cognitive 13): TaskDocumentPanel 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":"ui/src/components/task-side-panel/TaskDocumentPanel.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"588010570c897adb054da1284c638e6bdded63881041c20a6492b05db75ff7ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatDurationWords (cyclomatic 12, cognitive 13): formatDurationWords 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cdc15bab881bbc51027d455196ed9b173780c626dadf38cdc7d216a028f212"}},{"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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e75feb96748423fd0eb0f5cffbf908efbe7701f64f77a35915052d1af598ca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatScope (cyclomatic 12, cognitive 13): formatScope 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":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"217ce8acb8d5642eae20edfb128179c910dedb2a562bad9eb0a298a0b6f6c1c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chooseCompany (cyclomatic 12, cognitive 12): chooseCompany 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":"cli/src/commands/client/connect.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ec263e0216251b89cbf36dfcfee52dea987bc595537444c82fe0c47321530d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipChatFilePreparationDelivery (cyclomatic 12, cognitive 12): paperclipChatFilePreparationDelivery 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/adapter-utils/src/chat-file-delivery.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a18024158267ee490bb6ae8f7dfb919d5ad07c4d0d53086a355cc57ee784842"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startWrapperProcess (cyclomatic 12, cognitive 12): startWrapperProcess 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/adapter-utils/src/execution-target-stdin-race.test.ts"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5bf50bfedf0c70533612fdd2e3d084893cf016a9b97345a7320a9ebc818449"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreWorkspaceFromSshExecution (cyclomatic 12, cognitive 12): restoreWorkspaceFromSshExecution 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"609602bacde1b44ff7ec6f26b74d9a1ead6db6ab94d4e1a4c123072c31dad959"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasUsableAuthPayload (cyclomatic 12, cognitive 12): hasUsableAuthPayload 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8eeeefd8fb9c8f275878481a64ee3fe5540d7004882492bab4aa434fa94145"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateCodexCredentialReadiness (cyclomatic 12, cognitive 12): evaluateCodexCredentialReadiness 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ef660e46595f0ea8382f492725de4593698b15d6c37ce149c087ceadc7fa40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTask (cyclomatic 12, cognitive 12): createTask 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/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd5ea9105ee03a6938a562e8680495e1b1e1c496f59e7706fea357c26a374bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectLocalKimiAuth (cyclomatic 12, cognitive 12): detectLocalKimiAuth 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/adapters/kimi-local/src/server/test.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32ad64d09839b3ecded857630a09615d61089e4649b152b68ad6d6687fa3ac2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function steer (cyclomatic 12, cognitive 12): steer 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd2adbde576f617168700474b8434478d258a5589f5ee12493549485d7c7b74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coerceValue (cyclomatic 12, cognitive 12): coerceValue 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/paperclip-runner/src/drivers/tool-input-coercion.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d53fdca317db4e791728dade4f42853de013334be292afeb3e05dd6dd71422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runBehaviorCase (cyclomatic 12, cognitive 12): runBehaviorCase 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/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11bc42a19e092f4441b1cb3665721dffe0ef3c1a08d4a8c8f3ea5a3ba8ac1c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interactionPayload (cyclomatic 12, cognitive 12): interactionPayload 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ffd5990f61a21050e9f7dbc145adc04206d5dcb07185469e88c0cfbc73b4f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #indexLine (cyclomatic 12, cognitive 12): #indexLine 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/paperclip-runner/src/live/runnerd-trace-frame-index.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad41d98d585573274a0f2d4fa9e182a9c421290c385cc8436b11126872c3b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCrashPointControl (cyclomatic 12, cognitive 12): parseCrashPointControl 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/shared/src/crash-points.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d234060d1756b0ba22f6f2184d0d6207a28458dd59d1bb51ca328518a3ec04b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRequest (cyclomatic 12, cognitive 12): handleRequest 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/mcp-fixtures/servers/acp-isolation-agent.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef9176d105f3f0db016b5b89e71c0b8afd9ea3dc15c3bf92b671192c8b28e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerPublicationState (cyclomatic 12, cognitive 12): runnerPublicationState 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/runner-image-publish.mjs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93a5386c8c86814e22cfe0a39bd4cc7e0de6a55333359565d3fd75c078f637c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 12): main 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/smoke/chat-webhook-ingress.mjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"836fbab796e87dcb1cdf8ffa676b4e1c9e799b7feac508df676c9c2aba195663"}},{"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":"server/src/__tests__/confirmation-comment-resolution.test.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0215451b1f6717529d5068fd3f8fb762848c90c5d563c7bcc574ae3b060db3"}},{"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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b642a8c46825be094103697e173a7fe88f84f1fe76203efe42615dbbe956e6e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertEarlySleepDiagnostics (cyclomatic 12, cognitive 12): assertEarlySleepDiagnostics 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":"server/src/__tests__/helpers/maintenance/early-sleep-diagnostics.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10511e4c15db6ff201943f3898dbc3928f81313570666dc2a3c67a3a5bbb95f"}},{"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":"server/src/__tests__/http-log-redaction.test.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08aec16f166356fec4c1e210a07368f6021f0e5f30ee09e78a808310fe474a3"}},{"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":"server/src/__tests__/mcp-elicitation.test.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc30e928909d408e61772d3aae665b521ee9aed003ff1f80537c4778f7b6eeb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callOnePassword (cyclomatic 12, cognitive 12): callOnePassword 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":"server/src/__tests__/onepassword-connection.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e115262c153fcc8993dd433e924768d828f769d032d739a2cdd6d01b9704b5d"}},{"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":"server/src/__tests__/remote-pi-companion.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b1d48f912d8ab8ffff4a8f2310771b8bd2a2b32c7768d9c6a580e15231e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 12, cognitive 12): execute 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":"server/src/adapters/http/execute.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"215881636e0cee5a918dd558315bc0b82a51ae7dff87c5e2a8f8016b16659e52"}},{"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":"server/src/maintenance/ephemeral-migration-service.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d30f423a3e94e8944c471d2686b3aa364fbcfbc3f266c885ada4cdd13801cdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueBlockerDiagnosis (cyclomatic 12, cognitive 12): buildIssueBlockerDiagnosis 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":"server/src/routes/issues.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f52e1849845fdf3fe37aacf617c36da144ab68c3763f1c1a74c73888203f18a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withdrawIssueThreadInteractionAndNotify (cyclomatic 12, cognitive 12): withdrawIssueThreadInteractionAndNotify 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":"server/src/routes/issues.ts"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc98c7a73a29edb48da313f51176dbc023c30e42be7f7a1ef5c6f76370dfaa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enforceScopedApiCheckout (cyclomatic 12, cognitive 12): enforceScopedApiCheckout 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":"server/src/routes/plugins.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a50a4d6965795e467b2ac9412758333e6d96027b99553d6653f56deb8dc510"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qualifyAgentRunner (cyclomatic 12, cognitive 12): qualifyAgentRunner 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":"server/src/services/agent-runner-qualification.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6035b8c0ff3d762e83442d15f0c0bd0be94bc0b075bfe6915b5cb1262ca8bf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeAiConnectionUsage (cyclomatic 12, cognitive 12): probeAiConnectionUsage 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":"server/src/services/ai-connection-usage.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"174d37c6e303405d7753ac4a1734c2368ad4b54fcd99014394d4eaeb42a6620f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAttentionAudience (cyclomatic 12, cognitive 12): resolveAttentionAudience 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":"server/src/services/attention.ts"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2405590ababc5f7d00f75816a95a6745b9f2ea4ff5bf3ad410f71b285e582a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hideForUser (cyclomatic 12, cognitive 12): hideForUser 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":"server/src/services/attention.ts"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"07adda50e7e252038aed998a88a1b628101ff9f62180d8ab7ffe27455890fac8"}},{"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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46a6b2541143c481a26dc44744d9505cea5c9dfdc9443c602f2a77ef638202c"}},{"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":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca5b8c54fdcfcf5330483fac0b25ca69f9d5d91c1b5d07bc83f69ffd1b5be52"}},{"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":"server/src/services/environment-retained-orphan-settlement.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfafe334c407a61b515a6313ff370246e0c1a691562b4149332026ecaa8eaa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyClaimedSandboxLease (cyclomatic 12, cognitive 12): destroyClaimedSandboxLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"655d352b41a41a45732245b996806b7ceb19a700a154e2f347d251a84570bf32"}},{"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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":3027}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22dfb4083fa7bc90fb7ec065edb4372d1826c79c60ed687c6b1d2bb6fd8dbc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeMcpHttpSession (cyclomatic 12, cognitive 12): initializeMcpHttpSession 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":"server/src/services/mcp-http.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04b8c308dcff1872e1c19b8150e5052d5352bfb6d2b81603c91bd81932b6be0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkWithinTrace (cyclomatic 12, cognitive 12): checkWithinTrace 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":"server/src/services/native-runtime/native-response-presentation-work.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"10467d907b88a2b8a3e28446994f6094a6ee68589b40080c2b13c7baeaeeea81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProviderSessionId (cyclomatic 12, cognitive 12): readProviderSessionId 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":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"19deaf47d5c9ca5cabad3ce62baf830679a8d04f6a57864d0915dc11271ffc09"}},{"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":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95805ecc1a3608fd1c7e5ba86efa13f0fa08ce666dfa4a4eb87c14ba2024706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeNativeWorkspaceSync (cyclomatic 12, cognitive 12): resumeNativeWorkspaceSync 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":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f44821d9919a75bb439b42836190be1e59d9307faeeb3e5ccc10becbe27f5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeRun (cyclomatic 12, cognitive 12): completeRun 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e68f6f5123275cf6fa9bd4c77b7202d3e64b976b6b63b26707383c02f9cc0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #downloadArtifact (cyclomatic 12, cognitive 12): #downloadArtifact 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95fbbdd96c405a335768fb1f8ca7241818bbf27b36bb85f418fef3fcc35d31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function respondInteraction (cyclomatic 12, cognitive 12): respondInteraction 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ee12e60caa7d93a8431fae849e56fe67e7171bd5fdbee460e01c0a3c1a41fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMcpReasoningEffort (cyclomatic 12, cognitive 12): applyMcpReasoningEffort 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":"server/src/services/public-mcp/agent-config.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d90a58cbc68359ae1134532a487ef1ee686d46bfb4108ae32233d202ceb4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 12, cognitive 12): load 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":"server/src/services/recovery/work.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d6d6d5229c391f712328facb67333b7284c5d7e0de29cf2b474db2710c6192"}},{"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":"server/src/services/remote-workspace-recovery-receipt-fallback.test.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e9838e40e8e69755c05fda7558a733a7091259019fade40b076fab2a3cb3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 12): run 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":"server/src/services/status-card-evaluation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a709c3db8fc31d222928ee45e5554e81b1d70d62de596598a14c31cbb640342c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskWorkspaceProjectRequirements (cyclomatic 12, cognitive 12): taskWorkspaceProjectRequirements 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":"server/src/services/task-workspace-access.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be9908b9e7d96a43b3a63b689cd419148b12bb92bca7e6037b3de8d21f3a81b"}},{"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":"server/src/services/tool-access.ts"},"region":{"startLine":4205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a33e2e1e7a5f05c6b1631a5a9a69b3606323f220694c05345d1e4ab5d00e0bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectIssueIds (cyclomatic 12, cognitive 12): collectIssueIds 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":"server/src/services/work-timeline.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e733c8fe77ff018ab693b25e580db1b7899d441bfa0cedad6cc2ab98b8d21"}},{"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":"server/src/services/workspace-recovery-retry-copyback.test.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"994f064531be9411fec28c717969c924ff953e332eb957195b6f7b75445264ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trustedRuntimeHostnameBoundary (cyclomatic 12, cognitive 12): trustedRuntimeHostnameBoundary 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":5646}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4951cb88568d32f87e52f7ac10e53567147297b3a217e4561ffb6685f7203b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScenario (cyclomatic 12, cognitive 12): runScenario 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":"tests/perf/issue-detail/issue-detail.perf.spec.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a95c38caa4c314bd645b086008106098033d92c175bca025497e3dc56473cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 12): main 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":"tests/restart-chaos/config-wave.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a9c30b876bc3b27f2d23eaed42365928120cf1b57576e40eaeba7222801ecc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function antigravityTurnFixture (cyclomatic 12, cognitive 12): antigravityTurnFixture 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":"tests/runner-e2e/antigravity-journey-test-fixtures.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a6ebc7252b7952fdf3aaf8e91094e76df9d6c1606915f997a5b81b0a9e6b31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 12, cognitive 12): call 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":"tests/runner-e2e/chat-catalog-domains/external-slack-provider.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2000cbe742b33aaa4b6e38530ef34d78b290a18a63a159cd97ae3f190b833a59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 12, cognitive 12): cleanup 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":"tests/runner-e2e/chat-catalog-domains/identity-cli-authorization.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c41d6d1c11c1275b14f44f02c483cee364a09c195917e5b2ad7853583cd3c87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 12): run 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":"tests/runner-e2e/chat-catalog-domains/privileged-docker-database.test.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5544d468664f6c799775409f369579cd8627af1e289835fe6cf4e2d3a60b5a4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 12, cognitive 12): close 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":"tests/runner-e2e/chat-public-origin.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2258767dedded49de28d48df1c5c39a34bcf5c3fb5f68dcc31e93137ffc9e6d8"}},{"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":"tests/runner-e2e/copilot-provider-death.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3fff59786c079de14814449ff13e69a1732ae89f10a46fb615ccd101051a1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restartIsolatedPaperclipServer (cyclomatic 12, cognitive 12): restartIsolatedPaperclipServer 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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4944184694fcaa04eb9dabb06fe154d343631590668057d0b6ded604d4bb47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleClick (cyclomatic 12, cognitive 12): handleClick 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":"ui/src/components/ArtifactFileChip.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc135aba39edd3eb8e4a92b9c24d2c05841d1cd4e6e576e6a921154ad60564b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateJsonSchemaForm (cyclomatic 12, cognitive 12): validateJsonSchemaForm 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":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dcdf97d61d9d99cc406ad80818b4ad3f2481d98464057df47727347ff54cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAdapterEnvironmentTest (cyclomatic 12, cognitive 12): runAdapterEnvironmentTest 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca956f29127a278951a33ffdc024aa05628dc30fecf8d5a2c492073a5d4cb003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTaskChatBlockers (cyclomatic 12, cognitive 12): resolveTaskChatBlockers 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":"ui/src/components/task-chat/TaskChatBlockerLinks.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0141828aca158baba10bb164f6d89fa083964f6ebb3392a634020f7d9dde77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompactTarget (cyclomatic 12, cognitive 12): CompactTarget 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb950e54ae46d26c63234c726536b81987f87a9e67eb10fd5362c3a180da7422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRunLiveStatusPatchToCaches (cyclomatic 12, cognitive 12): applyRunLiveStatusPatchToCaches 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"610d31f653653a5142e05d51ecc3901dc8f3a71b48ea9e5b91e52710e909a25c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reloadForChunkLoadError (cyclomatic 12, cognitive 12): reloadForChunkLoadError 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":"ui/src/lib/chunk-load-recovery.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"43828d0e4e88cd77854ca098e95298d854ecf15d87686a3bb455c979740eb1af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveReadableStreamingRetraction (cyclomatic 12, cognitive 12): preserveReadableStreamingRetraction 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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d8f40ef30f6ae727297dcaf094fc84f9542109c1980d6ee6cc0cd96c26a7e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveIssueFilterWorkspaceId (cyclomatic 12, cognitive 12): resolveIssueFilterWorkspaceId 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":"ui/src/lib/issue-filters.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae51d974c36781c320a6cc6830a2bcd0939b6c62be5907331e30f7f8a922750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function githubRepoLabel (cyclomatic 12, cognitive 12): githubRepoLabel 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":"ui/src/pages/agent-skills/agent-skill-source.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27c082bd801fb4421274c9d3a993910e9d1f26f86263614204f8a39533a4dae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfileDialogs (cyclomatic 12, cognitive 12): ProfileDialogs 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":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d8c758319bd48697eb45c9fc77a89348f703ef82e41f2981de4782f826458e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCredential (cyclomatic 12, cognitive 11): readCredential 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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16967de0e70ec037e97d8c8cee11e29f112aa6118a3f571729af80dcc127a66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitAcpxFailure (cyclomatic 12, cognitive 11): emitAcpxFailure 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3691}}}],"partialFingerprints":{"codehealthFindingId/v1":"37510d83c397c038719b79581474eb4814a84fb4f25725bd3ad02502abdb229f"}},{"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/adapter-utils/src/execution-target-stdin-race.test.ts"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c1b39afb9f60ede32037b0feccc83a811a6b4cc10d6ece5ef2f909d8ea5781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakeRecovery (cyclomatic 12, cognitive 11): normalizePaperclipWakeRecovery 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"08875a647ae6be024fa04263e3be5006ad8fdff9ba825c31e5645c886939fcac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shapePaperclipWorkspaceEnvForExecution (cyclomatic 12, cognitive 11): shapePaperclipWorkspaceEnvForExecution 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3387}}}],"partialFingerprints":{"codehealthFindingId/v1":"462584e923783055674ec8fe7733eecc4d265dd28b5661992e896650c14b2628"}},{"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/adapter-utils/src/workspace-seed-reuse.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2400121d0997a17dac3b7d88c002b55f11ca62a885d2997dc9a14db2bce968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildClaudeArgs (cyclomatic 12, cognitive 11): buildClaudeArgs 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"1886335de905134508d8fe082a47d79a11a42fe921d2e0470c8b764cc48167db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAuthUrl (cyclomatic 12, cognitive 11): validateAuthUrl 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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4b6d2d4ad83f2795d88699c8a898827b55be3228cf7cfc6ae769db8c3c504d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDeviceLogin (cyclomatic 12, cognitive 11): runDeviceLogin 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/adapters/codex-local/src/server/device-login-runner.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e3d6db949980ff6ffcfe8b2423ed595205a926f06ed2ad93bddb1f0fa6f6e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrationStatementAlreadyApplied (cyclomatic 12, cognitive 11): migrationStatementAlreadyApplied 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/db/src/client.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"56308898543b46be29e9b070a22c9971c5a7279844300075d1c29a61a165c3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 12, cognitive 11): finish 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/db/src/response-capture.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a63a69cce24656c70c33a40707f65401b9067b7f221639362a781702683a39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerDemoTask (cyclomatic 12, cognitive 11): answerDemoTask 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/kv-demo-mcp-server/src/tasks/tools.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca920647695a053295bc256632d2d2cf23bdae3f0c42a0df9adcb9522e2856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceChanges (cyclomatic 12, cognitive 11): WorkspaceChanges 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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e4c75f3c1b6b81e668a95a2890e047b83223868d7a23bf41dc948b413684a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function semanticOperation (cyclomatic 12, cognitive 11): semanticOperation 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/paperclip-runner/scripts/generate-capability-contract.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"223363b2e29968fbbe6a4054657d5c0828ef01fe79008d10b49df641d44cc454"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertConformanceFixturePair (cyclomatic 12, cognitive 11): assertConformanceFixturePair 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe39d583eb298434d6265b338d86a190c173fc7f4ddb8898fba12fde11e74b34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionKimi (cyclomatic 12, cognitive 11): provisionKimi 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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa11dda216327e9fa03f62600a5745bacf00a8f4a920433d26762a3b8f257086"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionPi (cyclomatic 12, cognitive 11): provisionPi 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/paperclip-runner/scripts/provision-pi.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeecc26fcf920381e9b15e3663a3a9de467beabb11cd622d554c896d26be965"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 11): main 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/paperclip-runner/src/cli/codex.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a8719e2a56ffa0c57d322d637343357ef98dcef21ce55f949dbe93c8d35613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectCapabilityDevtools (cyclomatic 12, cognitive 11): projectCapabilityDevtools 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/paperclip-runner/src/devtools/index.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"663ac714ab2b98f26079dfc0633d19d625c8dfb4287bec9fed7990049d266ec7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeExitPlanModeProposal (cyclomatic 12, cognitive 11): claudeExitPlanModeProposal 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4433d72405924f261b16bcdf560be1830002ffdf9b3b2cc773b17b867ccc4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePiRuntimeManifest (cyclomatic 12, cognitive 11): validatePiRuntimeManifest 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/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91c0d65dbfe723850a2b16b341d729bd70664df15efbea33b10c11d6780847b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexThreadLineage (cyclomatic 12, cognitive 11): codexThreadLineage 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/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"28307c3b51cb6242b49c08b0d1d0827638cadbdf2c133c13bb70352009e20153"}},{"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/paperclip-runner/src/drivers/cursor-cloud/checkpoint-archive.test.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d428277763f8f6692176e3e7254a44d3c8c17b986aa637a008468cfdd9f571b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #finish (cyclomatic 12, cognitive 11): #finish 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69b8b7abecedc1dcbe11228a51a5a2bec6964a467452f5e321afc51151e8398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexWindow (cyclomatic 12, cognitive 11): codexWindow 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/paperclip-runner/src/drivers/provider-rate-limits.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5984e233a9a7d88c17d45e9da5ae786b7ada8579d8130da2586860913d80bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeRateLimitSnapshot (cyclomatic 12, cognitive 11): claudeRateLimitSnapshot 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/paperclip-runner/src/drivers/provider-rate-limits.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c169a95bc42f9752d2d07fafb7539f8238cffdbe99a6c0d23e970578cedeb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehydrateRunnerdItemNotification (cyclomatic 12, cognitive 11): rehydrateRunnerdItemNotification 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf761b87797ee8704a53dccde828df4f2d2e3e22a532734dc1b050e800733b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #confirmCheckpointProviderIdentity (cyclomatic 12, cognitive 11): #confirmCheckpointProviderIdentity 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8827}}}],"partialFingerprints":{"codehealthFindingId/v1":"230dc8df0c4a9c1ef8a1a9c463759f0530f38cde1baad48524d4bd16cf3b2e2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sessionGoalResult (cyclomatic 12, cognitive 11): sessionGoalResult 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8b570794c5f911d255cd95e11aa808cf84423383ff928f404b34572a55fccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolItem (cyclomatic 12, cognitive 11): ToolItem 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/paperclip-runner/src/react/components/tool-item.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab16e3262622490dbf16a53f2e8d97661fa9ed8709f9dd8b06f3f1b79ab0115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatSourceRef (cyclomatic 12, cognitive 11): formatSourceRef 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8b18f30df09efcbf12c3466263008a8502d22344607cc5a467ccc3fc7b61ba"}},{"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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb50630e0960b646674929126f0b5e811b911471de98475c14651fe8ad94a89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LintPanelContent (cyclomatic 12, cognitive 11): LintPanelContent 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4589}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d493549c92ea3cc9ffbfb67b926bb69d8f2d1c80e1a90dffbc889bdfa3a3d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runBackfill (cyclomatic 12, cognitive 11): runBackfill 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5503}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d74e572cf5eef0c2dc21dd5aa5cd632d03290d0d414ef5a6ada0eb8f91fb964"}},{"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/plugins/plugin-llm-wiki/tests/screenshots/harness.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99156fccf44e934d8f6d4fbaa2b6c2aa28a6175386033770a9d7315b36dd074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJobStatus (cyclomatic 12, cognitive 11): getJobStatus 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/plugins/sandbox-providers/kubernetes/src/job-orchestrator.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9bee95a1e5760ff51051cd1b327da846cb428fb9eeca60a1bb6895a105598f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkOAuthEndpointUrl (cyclomatic 12, cognitive 11): checkOAuthEndpointUrl 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/shared/src/oauth-endpoint-url.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18c55d0601b8688348dc357656051d4dae29191a6161e2132aa9aae7672e0c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trackInteractionResolved (cyclomatic 12, cognitive 11): trackInteractionResolved 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/shared/src/telemetry/events.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa8177a32cc9ebc018feb2832e314d1667f88e91b9f4d24009fe81c6bb19bac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCatalogSkill (cyclomatic 12, cognitive 11): buildCatalogSkill 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef1343feb29c172209049d264b46b3c37556c9f085c258cb17b80583556777f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSanitizedAgentProof (cyclomatic 12, cognitive 11): parseSanitizedAgentProof has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e99d556c854e26bad296daeb3f85644f68d23de88f82d38385f605782d9a2b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oauthEndpointProof (cyclomatic 12, cognitive 11): oauthEndpointProof has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13672913b3477d23214d14727c535bcd926883631d8d47cf8f584696d781535"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8751a45eeb4e2978e661583536c3a711d0f8b4cd87c2276421a2bd0c6d0c4f8c"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":40933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80f102e70cb33b7ca387b0d121a3dfaca542d60e0c7552d60e567d905920216"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":56838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e7af0437c893966a9a3bc16b323c5b06a538818fc5409ae3106429f0add63"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":73420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcab3c1c2d7af8bc055ab39c560a17721e57e35851b6ae1593794e192dbe6d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function longFixture (cyclomatic 12, cognitive 11): longFixture 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":84440}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6a269c3cf78540beae785800b9ac808e7c631777d0bbf775e71e7cd876daf2"}},{"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":"server/src/__tests__/chat-run-milestone-governed-work.test.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a186b3c93e897d5da3ca32cbc6ba46d4afdbb4e0e487d9e141174ddd68868b"}},{"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":"server/src/__tests__/chat-run-milestone-resource-work.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ef3bbcc4af2f239f32c4b9e2da743155afeba1eecf80fd1e97de1a87064094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 12, cognitive 11): seed 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":"server/src/__tests__/git-restore-point-ledger.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5245c010cb365f99a3293cdc232c4b2174a74cf4f52fa7838aa4e13aece7e74f"}},{"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":"server/src/__tests__/git-workspace-activity.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"98633a39bac6d84ef37fdac74d5dc7395f4a318e95bff3c92cff51810d7534b6"}},{"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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":15977}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5de8a89633622664868e616edcec5c71254c4e962aaee2a26c5abb37332f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasUnconsumedIssueMonitorPath (cyclomatic 12, cognitive 11): hasUnconsumedIssueMonitorPath 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":"server/src/__tests__/helpers/issue-graph-liveness-reference.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a6830937a90509a50399f3c7148d81141c017aa7c4ecf025f7ef4b6dc39edc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usefulReplyWitness (cyclomatic 12, cognitive 11): usefulReplyWitness 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":"server/src/__tests__/helpers/slack-cloud/enabled-quiet-host.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0174babba94214f14038fafd70a9bab0375132653d03e14446fc132a7bb2dd0e"}},{"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":"server/src/__tests__/unikraft-connection.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"851acf04d8d838a62f193e59f0da999272f2711aca7f2c44e31246434c7ef757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordOperation (cyclomatic 12, cognitive 11): recordOperation 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":"server/src/__tests__/workspace-runtime.test.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d3f23326bfb41afc7dc97ea55fef695033bd97b24317c654e55e1ce0b9a13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOnlineWorkspaceMigrationEntry (cyclomatic 12, cognitive 11): runOnlineWorkspaceMigrationEntry 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":"server/src/maintenance/online-workspace-migration.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a9d77287f44f9d77923045721530b278348f29259f697373403fb802c3bd66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decidePreDrain (cyclomatic 12, cognitive 11): decidePreDrain 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":"server/src/modules/wake-queue/domain/policy.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2625ef60aea510bd55724d70767b16931730d66cb7154bea80a0cd4748e9a382"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkippedWakeupResponse (cyclomatic 12, cognitive 11): buildSkippedWakeupResponse 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":"server/src/routes/agents.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"949128eac2fdc61a908323d8601b34a3444493d8e608d4e5bc79a0f100b8b65c"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":5535}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c233fbb466d7c91c06bea1ae9f3e683904a3b5a9caf110a11ae366b551086f"}},{"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":"server/src/routes/chat-channels.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7977742940420a16ba5efe7c72a1a0c2400216600170c77e70954f9dc8c3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueRoutes (cyclomatic 12, cognitive 11): issueRoutes 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":"server/src/routes/issues.ts"},"region":{"startLine":3633}}}],"partialFingerprints":{"codehealthFindingId/v1":"73180276cb11a53d022e54bbcc7f311c75e22eb34f065c9dcb940fe83005bdb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueGrantAgentVisibility (cyclomatic 12, cognitive 11): issueGrantAgentVisibility 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":"server/src/routes/issues.ts"},"region":{"startLine":5562}}}],"partialFingerprints":{"codehealthFindingId/v1":"450e948f5ee1adb0f4ca5fa403c376ec8ea2864db24b18f3ad150f96f3be4d6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeIssueAssigneeAgentReference (cyclomatic 12, cognitive 11): normalizeIssueAssigneeAgentReference 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":"server/src/routes/issues.ts"},"region":{"startLine":8143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a0bcd3a1afbea76bd32433b8671d84227ceaf63af8f36763686110d0848bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function customProps (cyclomatic 12, cognitive 11): customProps 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":"server/src/routes/setup-token-route.test.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2552781b170dee2d7c92b50f757d002c6b225955ff8d20b5a1329475e2fefab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrolledConnectorBaseUrl (cyclomatic 12, cognitive 11): enrolledConnectorBaseUrl 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":"server/src/routes/tool-access.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a1472bc8baa49b81720d5a8521a21bce98d1e5f5464c15181f40b4483e973"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockCostCorrectionOwner (cyclomatic 12, cognitive 11): lockCostCorrectionOwner 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":"server/src/services/accounting-corrections.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2eb5b27af922f4e8d0699560e9899c79384a33f065dc6751eef387b31c2434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistActivity (cyclomatic 12, cognitive 11): persistActivity 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":"server/src/services/activity-log.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf0cb5dbeaf61eae05414b69ddb49c68c4cd8883fae902c12b27e1164c780b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAssignableAgent (cyclomatic 12, cognitive 11): assertAssignableAgent 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":"server/src/services/agent-assignability.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41f99419eced6ecafd28af28b35e3f55e2c5b12630a3b68c1b5daaf2620210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenCodeRunnerConfig (cyclomatic 12, cognitive 11): resolveOpenCodeRunnerConfig 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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a642171aef23ea72c943fd16e0dc26f2f1925f37731f52ae01b1457bbbf2965"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 12, cognitive 11): read 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":"server/src/services/bundled-plugin-package.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5673d9a1046d7a194bb59bf903095c15ea0faae315d28b3500bbc0c99a28996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function caseHandoffActorContext (cyclomatic 12, cognitive 11): caseHandoffActorContext 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":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ecbd32a567a2a5f1ad2b5249d1dae0e1788eecdc285213a5227e156ba20ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function teamsActivitySentAt (cyclomatic 12, cognitive 11): teamsActivitySentAt 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":"server/src/services/chat-channels/microsoft-teams/messages.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea9a652b1e6041631c61d24044564d716679c8d4c4ad158842d6c1403d9ae09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertProviderResourceRow (cyclomatic 12, cognitive 11): upsertProviderResourceRow 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":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea367538c469a9bd1b0af4f2fdafd9e56013ff9d3a90c88efe5e7d48f00256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureDiscordGatewayRuntimeIsCurrent (cyclomatic 12, cognitive 11): ensureDiscordGatewayRuntimeIsCurrent 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":"server/src/services/chat-channels/runtime/ownership.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25eafa6dc997ca4c73aa765e69566528ec2e385400c37d3b3f3822cab5be323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptSlackFormAckReceipt (cyclomatic 12, cognitive 11): acceptSlackFormAckReceipt 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":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9960d25344f83c03868e9eeebe466005aed49ebfc93300c48f048110b506f5b"}},{"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":"server/src/services/chat-discord-native-modal.test.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ecfa5dcca80e9dc631288d45f1d198c86f0378e949f462c50e100721ae147b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptsProviderScope (cyclomatic 12, cognitive 11): acceptsProviderScope 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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2725}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c99f8e5bfc438b3105497ea7941c22f73abdefffb3c1dcba06d43ce60ab48f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function follow (cyclomatic 12, cognitive 11): follow 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":"server/src/services/cloud-bundled-package-digest.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ee7e6dc9e3f77e133be177615bdd556aa2de25dc7c3b0c6cbcfd9d25a836e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRenamedIssuePrefix (cyclomatic 12, cognitive 11): resolveRenamedIssuePrefix 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":"server/src/services/companies.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f9e3271e473faa1c383dd2aeef812118e82b64ff615664ce107301294d97f4"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":3411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d557e734671ac365010a97eef9cbde6b79a2748c7067de741425a5719f6db64f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTestRunTemplate (cyclomatic 12, cognitive 11): updateTestRunTemplate 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":"server/src/services/company-skills.ts"},"region":{"startLine":6716}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b9df3d513b3b0011b8f9d65c45860d06de71bda9a4160bf74fd255abfc2b7e"}},{"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":"server/src/services/connection-intents.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a014b03b04e2f3fdcf2c503819bff3432d2b1ef042086b9932d5741c783aff3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitConnectionInvoked (cyclomatic 12, cognitive 11): emitConnectionInvoked 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":"server/src/services/connector-telemetry.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddc4374d49728a1b19d115854f9052db7805d0b6b6766a18e87bfd76bfb7e31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proveControllerInstance (cyclomatic 12, cognitive 11): proveControllerInstance 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":"server/src/services/controller-instance-lease.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"416d1bf6adf8da47082f24c4d07587fc62c476ebe5b897a6d906198b46c8107d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueTreeSummary (cyclomatic 12, cognitive 11): issueTreeSummary 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":"server/src/services/costs.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eed7b835885848c8410bc79d67ae0dc67b922dcc2fac50265cb718aba772d45"}},{"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":"server/src/services/document-annotations.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"484caa2bf764057b97885d679b8e8de67617f4cd360d8263a7b36c798c3a3c98"}},{"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":"server/src/services/dot-invitations.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b605be765f93e9feb7053df66b4f26ab2e762664de533b5f4aee02c08b984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transientSandboxResumeFailure (cyclomatic 12, cognitive 11): transientSandboxResumeFailure 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"79228e045fde63c93672a29049a9f7ec2538fc104583ce939e9f769d9fe8a044"}},{"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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe3d697d057a886194fd7d04cfa2534d9b92a4691249a9836201d94420450a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 12, cognitive 11): resolve 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":"server/src/services/folders.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbdb6ea24b6c7cd5e84f1e4d391f87556966dd55648400b1868659f31539878"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCompletedAssistantMessageCandidate (cyclomatic 12, cognitive 11): readCompletedAssistantMessageCandidate 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21956bfbc504d67a263b11fb1bd565ccddbcb079a68703b90342462477c8d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorktreeRunExecutionOverride (cyclomatic 12, cognitive 11): resolveWorktreeRunExecutionOverride 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":"server/src/services/heartbeat.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ef436a5c87af62e01d2fc27d74e342471ccda48d8bc87585a855c31dfc7268"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectVersions (cyclomatic 12, cognitive 11): selectVersions 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":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c082df27512b2d49bd3da4076b24e8cfcafac9e1f88fdb00c6488a46f54a82d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareHotRestartShutdown (cyclomatic 12, cognitive 11): prepareHotRestartShutdown 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa301bcba7023a3e7187990c56608cd889e1804854e02a3e3a2cb7b003d9a26a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suspendNativeRunForShutdown (cyclomatic 12, cognitive 11): suspendNativeRunForShutdown 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":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31c55e96c8b39c51b1172e38b8e7930f5fcc8c3aae8bbad7a8a7eca85a4546e"}},{"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":"server/src/services/instance-settings.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bf756e60dc730b1e28c7271c7b4ff88b78e1f28a3176a7b58aa4d76f8f7552"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRequestConfirmationResolutionAllowedUnderLock (cyclomatic 12, cognitive 11): assertRequestConfirmationResolutionAllowedUnderLock 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8681cf0fc3e80a8a353861b9a101b657a7ecd6f5a089af0455b7ca6523a3cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptSuggestedTasks (cyclomatic 12, cognitive 11): acceptSuggestedTasks 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":4431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb8b2a5405cbdb36fc85ce7139606e7d3b687f43575b5a2c2a763be424eab86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertMuseSubjectCredential (cyclomatic 12, cognitive 11): assertMuseSubjectCredential 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":"server/src/services/muse-identity.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61caedc3de285c03b5976498b8343eb13fb4050c51bb727ad3a2742bddfc632"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function context (cyclomatic 12, cognitive 11): context 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":"server/src/services/native-runtime/case-context-projection.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e3fde3160c3a8c2cc52e7571455fbc24b2e8618b53271802b3ffe1628a5b2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedAnsweredChatTurn (cyclomatic 12, cognitive 11): seedAnsweredChatTurn 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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f302b218d7ebf0a4d38fd633ef3b12b811b3dc2ebfc606f922614ec8c29644"}},{"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":"server/src/services/native-runtime/external-chat-wait.integration.test.ts"},"region":{"startLine":5613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab558c2dd89f9da335f8693702584dcfba674c7d8484d154462c9bc594684e9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestOpenAiImage (cyclomatic 12, cognitive 11): requestOpenAiImage 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":"server/src/services/native-runtime/generate-image-tool.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"78be989587f047c27a0018042ae924589dbc7e01e172de5cca253eb6d8552ce9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 12, cognitive 11): check 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1cdcfaf70badc93374b0f7c896e0d972d3cc6c6fa1475978063ede7e666c90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPlanWaitProof (cyclomatic 12, cognitive 11): readPlanWaitProof 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":"server/src/services/native-runtime/native-plan-wait.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf65a92deaecd66ef9ed3472328f567128b9360a273b74e5f3a2fc8512cb0"}},{"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":"server/src/services/native-runtime/native-runtime-response-delivery.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"981bf9b11b890588c227d74d73128e7cf5dcdfe5479c20abd35d248509582b2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeOnce (cyclomatic 12, cognitive 11): resumeOnce 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":"server/src/services/native-runtime/native-scheduled-resume-continuation.integration.test.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb7eaa2acbe9d3d6d8c10bb5d38607e67eedc5317b0d52d6baa0143a5416e97"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18890}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dbab493035f5f0990ff7b741d8fe51f5337bba5271b89794072b868b5cf220"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAttachments (cyclomatic 12, cognitive 11): prepareAttachments 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10573}}}],"partialFingerprints":{"codehealthFindingId/v1":"589543c7d2b7fef6dab7f89522aa49174eb3217c07504714adbb9205771b5297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onCheckpoint (cyclomatic 12, cognitive 11): onCheckpoint 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12516}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0700d83f9b6485b50a8e2550b36e92243fd793cd572a107f18c2d7556a8b69"}},{"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":"server/src/services/native-runtime/native-staged-attachment-recovery.test.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda9dc8c4d251faea1c8bc11d908a98e8878641cdad0bc0367c92aa25bdb8963"}},{"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":"server/src/services/native-runtime/native-token-lease-settlement.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6481d7c49b5e316b1fcef6fedb4589337a46cf6fe00bb4c74c30883332324d"}},{"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":"server/src/services/native-runtime/plugin-task-source-recovery.integration.test.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c1f1b17a0bdf6de93db0221be16dbcf99c6e7411889235a4f7a153ef2df245"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAndResolveFetchUrl (cyclomatic 12, cognitive 11): validateAndResolveFetchUrl 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa586d76a606a6a04387b14ce8683a76d5e1a95b2ef125b3466e150cf6f66d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestWakeup (cyclomatic 12, cognitive 11): requestWakeup 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75aa26269b7f9d2748a2db555773f0ac98c54c79c3e272efcaecc2a34eea27b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createManagedRoutine (cyclomatic 12, cognitive 11): createManagedRoutine 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":"server/src/services/plugin-managed-routines.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6003e4bd247d35fc55ce6aaf33386e5986617cf97fc8474fddc1fe4128008fa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPortableTaskReseed (cyclomatic 12, cognitive 11): readPortableTaskReseed 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":"server/src/services/plugin-task-ownership.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cfab9ecc0ef4633855c266ae75e55d0b02ce321b6cd5a7796e01fabfc78a08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeLoginPtyOutput (cyclomatic 12, cognitive 11): routeLoginPtyOutput 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e5d9e3b538fa4939532ab7fc0dee60ceae79d6737dea4220195d4043e043fb"}},{"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":"server/src/services/presentation-ownership-read.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"98030c151f811fb563e6b2cdbb5424a0bdf450abcce849069b7e9d249c651f05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProcessLossDiagnostic (cyclomatic 12, cognitive 11): readProcessLossDiagnostic 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":"server/src/services/process-loss-diagnostics.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1747b2f2a5eada144d6d7be815e5d8caf244e92c905a8674502d331b71f09ab2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasUnconsumedIssueMonitorPath (cyclomatic 12, cognitive 11): hasUnconsumedIssueMonitorPath 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":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"670cbafed128de2eaaf1e94a4ed3d66719677f26ec8fadc9d0ec07731727684b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyDispositionEpisode (cyclomatic 12, cognitive 11): legacyDispositionEpisode 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":"server/src/services/recovery/legacy-continuation.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cac89d1690385c888a82c1bb0b8ce580ec264d015305b13a1ee2c1e7dba7e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStrandedRecoveryActionEvidence (cyclomatic 12, cognitive 11): buildStrandedRecoveryActionEvidence 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":"server/src/services/recovery/service.ts"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f33d91d310ad1303e30876f949c807c0f91e2f8528d1a9a774b82545cef29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureDispositionRepairAction (cyclomatic 12, cognitive 11): ensureDispositionRepairAction 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb04b0cf04c0a1b3bf68e729ce72c7994711d80754afd322abcbcd16569e3ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function escalateDispositionRepair (cyclomatic 12, cognitive 11): escalateDispositionRepair 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":"server/src/services/recovery/service.ts"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f646fac2db86ce62bfdb9125463074dc1d52b97ce27268b7881b6896ace0897"}},{"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":"server/src/services/recovery/service.ts"},"region":{"startLine":6827}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d8cc40d0e091a330b0acf40ab980df5c20c028e0bdb1a2c008893cfa52c031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firePublicTrigger (cyclomatic 12, cognitive 11): firePublicTrigger 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":"server/src/services/routines.ts"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7037c66a3392f0bf1afba9cf74551e142049e9274dd1976c7cd20264859c46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMarker (cyclomatic 12, cognitive 11): readMarker 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":"server/src/services/run-scratch.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc9e6a66aa6cbd03dcc23e966986f081e6290c43c7a0ae9cc3c7bfa6e1d9793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 12, cognitive 11): read 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":"server/src/services/run-start-handover.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba38bacf94ae6966e9cbfd4349f3c226d2242faf4ab554697b407b415089810"}},{"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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e2eb60fbc336a8f0d2e6d1a8da71544d858ee1f043a312459b98d0668f0fd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTaskWatchdogMutationScope (cyclomatic 12, cognitive 11): resolveTaskWatchdogMutationScope 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":"server/src/services/task-watchdog-scope.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de84e3a25684e210a72eddf2bb23eeff241589d15fc82f07b25e54b8c79c24b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markTerminalWatchdogIssueReviewed (cyclomatic 12, cognitive 11): markTerminalWatchdogIssueReviewed 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":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4092618886d18db662355b76b16a4b9f750e30de56607b1ec3af57de5795f471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composioAppsResponse (cyclomatic 12, cognitive 11): composioAppsResponse 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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f337ed746a774a7e5af30a5a4e710e89994a042933afc8c8d4e858d53b7c47ba"}},{"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":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"78adbb644ef512079e79a5b373e4eff4c52cb6a3c3b09dd8c3533e65779bb2f4"}},{"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":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a3dec00328659de1a1014aca138d128a78629de700334daf0617fa31d7d181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endpointContext (cyclomatic 12, cognitive 11): endpointContext 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8cdbcd147e5d01562cfbb6209fb43bbd0c8a36f6b3a81e7ce061444a519f15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workStatus (cyclomatic 12, cognitive 11): workStatus 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"df50a807be6e1d8242ea4aaa5caee95c34bb00a84ef6d8cdff28aad2cc54b8ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteEntryResource (cyclomatic 12, cognitive 11): remoteEntryResource 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7ce6bfb4a0d6bf227c76c713588e7eebe888e09babe16d9d7094a4c04063ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRuntimeControlOwner (cyclomatic 12, cognitive 11): readRuntimeControlOwner 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":"server/src/services/workspace-operations.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4706aba67bf4b260c0cc6c8fe2b843c8e856731412bd06cd5c30555e5180ca8e"}},{"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":"server/src/services/workspace-recovery-admission.test.ts"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"143c8616f769f7e44930004196893e13b2e5e78ac696e5305179710f1d001273"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduleRecoveredWorkspaceCleanup (cyclomatic 12, cognitive 11): scheduleRecoveredWorkspaceCleanup 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":"server/src/services/workspace-recovery.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0096d6d355e10d689142ad4e89d1c36cef768b20d552f79f70e98063d95d081"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actionableItem (cyclomatic 12, cognitive 11): actionableItem 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"477424b660ab083b1d2104e3499ada64eddbdf2d89e454eaa14e761f403944eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeWarmShutdown (cyclomatic 12, cognitive 11): gradeWarmShutdown 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":"tests/restart-chaos/warm-shutdown.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efa63e0c5fcd9a8fcbc3d225ea11399bc2a2e706444bfe556ffa9a99d45bf39"}},{"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":"tests/runner-e2e/accounting.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"225db3ba248281bd20ce5e9e2b190ed5de827bb02f3cdd4b22fb96232af8f7f6"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-confirmation-workflows.test.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68649c72b4b43e58770e0f4d9b10858e33b553c3112dc39b7bfbf41ec2be675"}},{"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":"tests/runner-e2e/chat-catalog-domains/integrator-skill-authoring-v2.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c6540dcee6c6158d11c59ac61f9ae21f47a8b3e636ad3d93de2990f92be1fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valid (cyclomatic 12, cognitive 11): valid 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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6527ff7115e8f844e98d4c811b57f1e8470304cb5fd67de123f3e4113dea044"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-timeline-native-milestone.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a8efa9a088e175ba8a5d64effe4a32ae75532d65ea7ecb25b916748604f965"}},{"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":"tests/runner-e2e/chat-catalog-domains/task-prerequisite-contracts.test.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b6ced1ca6636db5c07e49ceb59433b082d153bbd65321b49527f368c6ef7e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatCatalogCaseFingerprint (cyclomatic 12, cognitive 11): chatCatalogCaseFingerprint 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":"tests/runner-e2e/chat-catalog-fingerprint.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0952e567dd6feff5ab90eb47eda18aceed6ad08576238d9b7aebce3ba868f52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 12, cognitive 11): get 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":"tests/runner-e2e/chat-full-catalog-testops-adapter.test.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"280109cfc28fe5dac1ca4bb6b7b2a973b02642a3f91c8952ac7a0cd9317a5363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 11): main 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":"tests/runner-e2e/completion-judge.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e674b42de904a97bfbf027fbf5fe8e929b85c7c4ea94f494b3ef74ee587b939"}},{"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":"tests/runner-e2e/confirmation-replies.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fe6137e6953ba06caca8b7c2c303ec2074a683a5210f35ce62630c07b9fe67"}},{"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":"tests/runner-e2e/cursor-cloud-replay-fault.test.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2928c6d28aae64c041cf682f283b1f9597935342d46918e8679a7433d814a05b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstTaskScenario (cyclomatic 12, cognitive 11): firstTaskScenario 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":"tests/runner-e2e/first-task-cases.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fcbd081cea6db872dd0cd4d7c282c5b8d7444ce3499f36bead7893a1220509"}},{"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":"tests/runner-e2e/first-task-flow.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0d02cd94576afdca93671a24226318341c9cbba5081b5c0419fdee43ef5c3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sealStandardOriginalEvidence (cyclomatic 12, cognitive 11): sealStandardOriginalEvidence 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":"tests/runner-e2e/manual-private-handoff.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d8d1b057d16fa560bcd72e4e6fbf94a9bf1b6e98429f0c85b7cd0cd906397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function answerResumeQuestionThroughUi (cyclomatic 12, cognitive 11): answerResumeQuestionThroughUi 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":"tests/runner-e2e/question-resume-ui.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b35f6e5f89f9368f2d91dd505bab13b0f735848429ac1536a7010be7f9f7f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRunnerE2EResultsPath (cyclomatic 12, cognitive 11): assertRunnerE2EResultsPath 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":"tests/runner-e2e/results-root.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3dcdd93ffffe6b0de5847751e99232acee9e000ffa1ff025e1cec5a852ee9f"}},{"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":"tests/runner-e2e/run-delivery.test.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5059b9cdb425c9defe9bf9bc0167f35b9386f48048460b417f9f287bb7472068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fieldMatchesVisibleWhen (cyclomatic 12, cognitive 11): fieldMatchesVisibleWhen 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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a4ec988b1fa8b4b77c832b0ebb014202e7686cf15f545429d9b9417691d815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildArtifactsQuery (cyclomatic 12, cognitive 11): buildArtifactsQuery 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":"ui/src/api/artifacts.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e589c65c86a065931682cf6057f6eb8bf70d5e5eba774421e73298477ac0be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 12, cognitive 11): list 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":"ui/src/api/attention.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a6ecc36cea77dcd66ad8eb2cfc5e2506737b48df762dc397652500b02850ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PanelCard (cyclomatic 12, cognitive 11): PanelCard 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":"ui/src/artifact-directions/directions/d4-hybrid/PanelCard.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a402cbe0b834f98f74fef0e962b67f0f3a6fdf73034f63cf289d5c6174f82955"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityFeed (cyclomatic 12, cognitive 11): ActivityFeed 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":"ui/src/components/ActivityFeed.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9791ea5d16c67310d63a4576fb9744d51b45e2f96fd2907626617067658e930c"}},{"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":"ui/src/components/AgentChatPicker.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ab5dd7f085b636960f62bbb8e5efa039dab00df5f9e71d1864cdc0ba59d7dd"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"228a4ede3373bcaa31fef9c2b38ce48d55b12a07155a216301fe4b8d887fb31f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactsPanel (cyclomatic 12, cognitive 11): ArtifactsPanel 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":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71ec05c22e42ab0dfe7fa216a1701a9478ad291352d1988405187f4baee8159"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThreadCard (cyclomatic 12, cognitive 11): ThreadCard 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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9c23e39262b6bd9c16323fe815818787076aaf631239115120bdb8f5caa0e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FoldCurtain (cyclomatic 12, cognitive 11): FoldCurtain 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":"ui/src/components/FoldCurtain.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"934a59b70eb64f99a40957e03b85009d7771efeb65c90af4cb1dba46cdda1b6a"}},{"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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3597}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4accbaba8a8f4706113c4d0f9fa6dd106970862ee65e1a7c77c03599b50b61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrollToThreadAnchor (cyclomatic 12, cognitive 11): scrollToThreadAnchor 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":6171}}}],"partialFingerprints":{"codehealthFindingId/v1":"505c711f1003c927623a451273296fbb751f12a47b3deb9a59e15b61a2fc7a03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SiblingLink (cyclomatic 12, cognitive 11): SiblingLink 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":"ui/src/components/IssueSiblingNavigation.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f11331755d3da494f21d0030ca40f04e1f246ad3f7fe651802e78e46fe22830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolActionCardState (cyclomatic 12, cognitive 11): toolActionCardState 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef8a7a9038cd9703f89a89d12cdd5ae806f4f01f352a1edd2e0afa976345441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RoutineResponsibleUser (cyclomatic 12, cognitive 11): RoutineResponsibleUser 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":"ui/src/components/RoutineResponsibleUser.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"687ecd0968dcda342a3a32ba6740624c2ebc287fbb34a77c310c67d9f07a618e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunWorkspaceSourceInspection (cyclomatic 12, cognitive 11): RunWorkspaceSourceInspection 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":"ui/src/components/RunWorkspaceSourceInspection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b198eaaae66ac742de52310c6a232325d850eee0c086918266027b64073b710"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd8933b0c5884a903e697d18df34048f0f8a518c3e6b18ebc14e1ce040f58c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDecisionRecord (cyclomatic 12, cognitive 11): TaskDecisionRecord 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":"ui/src/components/TaskDecisionRecord.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb8a0bdcbb26010c506d202ee565ce7ba2d19f5dc90561efa72d7570657035a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildServiceItem (cyclomatic 12, cognitive 11): buildServiceItem 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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6727d49b2846d0456c22540b72e8e5dd9985603ce86567d015aac013676617a5"}},{"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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1680c558ab444091a21590fb105ef88f818b8f6bcfe31c4bd26e805c2c0dc2e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionModelSettingsSection (cyclomatic 12, cognitive 11): DecisionModelSettingsSection 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":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd2eb6233d4e9c1df1076e90f799cc6bdf11d44541cbada50850f5ab1592cd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillFolderRail (cyclomatic 12, cognitive 11): SkillFolderRail 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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d09e26e57242885ccb233078410f0f131599a3bce9a518a0b239bc8d0e38f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectOption (cyclomatic 12, cognitive 11): SelectOption 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":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37451412686472c0227d3632ed32e52e9200267e4d91e6048025694ad77d8c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlanReviewPreview (cyclomatic 12, cognitive 11): PlanReviewPreview 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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a81347b8f53bb898f93e45b5803e3ed2c6d746995623c5732ef49fff69452c6"}},{"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":"ui/src/components/task-chat/TaskChatDiffView.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce05e0003810c7b4f9d90fce7b0b8f832d760d3e3d4a812235c01f6b0fcb8da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeComposerRunSettings (cyclomatic 12, cognitive 11): mergeComposerRunSettings 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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a4d03cf2723950ea4d862651f2be5bd027d9c9d6ad1b46f5b09684aea3094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileKindForAttachment (cyclomatic 12, cognitive 11): fileKindForAttachment 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":"ui/src/components/task-chat/task-chat-attachments.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"99717dd696805b9a6cad4e00b827b4592fb8d2503e3676a7ea47a14f81e86ada"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actionFamily (cyclomatic 12, cognitive 11): actionFamily 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":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a0346ead4c27c6bf2dd51fc2f1aaf1fcd9f5c5c72f2e20a1eddd309e5173b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskDetailSubtasksPanel (cyclomatic 12, cognitive 11): TaskDetailSubtasksPanel 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":"ui/src/components/task-detail/TaskDetailRelationsPanel.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"69be40a900845141e18a4cebd7f37445b4747b9df7af89f8903667c6c66d437e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TranscriptEventRow (cyclomatic 12, cognitive 11): TranscriptEventRow 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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56732a960089e9388377df901377502a7d9084585fd314768f20753bd248fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpekoPhoneCallbackForm (cyclomatic 12, cognitive 11): SpekoPhoneCallbackForm 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":"ui/src/components/voice/SpekoPhoneCallback.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5354e21d020ff7aaac7741a0109a3f34baa55a5624884ea5f880fd6b345591fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyTextToClipboard (cyclomatic 12, cognitive 11): copyTextToClipboard 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":"ui/src/lib/clipboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9b239c73027c5221ef40b6581945ab5ebce767058d91cf320c3adb551acc54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInboxIssueBlockerAttention (cyclomatic 12, cognitive 11): resolveInboxIssueBlockerAttention 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":"ui/src/lib/inbox-live-descendants.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2ab4c8d6103d0ccff6b02637093a22dbf7ac8034a25f8f79f9364cc19909dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentVisibilityFromPermissions (cyclomatic 12, cognitive 11): agentVisibilityFromPermissions 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":"ui/src/lib/issuePrivacy.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b631d2cee40cc8e169f022c9a3e6a132ad74136c66120d6f2fc3eb6c45a4f72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFilterChips (cyclomatic 12, cognitive 11): buildFilterChips 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":"ui/src/lib/search-filters.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4293fcd2cc025933c98b30fc44aa13788f5e3f5475aeeddb568390b2f8c6fd06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgentDetailView (cyclomatic 12, cognitive 11): parseAgentDetailView 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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"275e630e3cd219212617aaff4ed337b7bb8e63d91a3206be88627540f41a26b6"}},{"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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03dbdca7412ec09af1cb9309a6e30c3fbcf032cedaf01e514095bc87990221a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecisionOwnerField (cyclomatic 12, cognitive 11): DecisionOwnerField 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":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5c6130ea2cabbc32b9fcf6dc32aba6dc72507dc46bcc7f6c7d0ac60e990fb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesignGuide (cyclomatic 12, cognitive 11): DesignGuide 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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"522d8e561cb7f9fa3dbef759c0a1e04e2a65ea448d00a7c2363e1dfa65ac760f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRowActions (cyclomatic 12, cognitive 11): renderRowActions 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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6fee06c10d9dcdbcfb4ccab9fcab7b1e5684e522e5634c4f14bfdbb8ed1a5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function yieldsToAggregators (cyclomatic 12, cognitive 11): yieldsToAggregators 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5778c0aa50ff5256a3a6a06619e9c64210dd4d09e147b6f61a474926c7c68a1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionsSection (cyclomatic 12, cognitive 11): ActionsSection 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":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7447fe186788b88afbccfbb7d5a85b95773ca73364f6523ef0d6710341b73ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditActor (cyclomatic 12, cognitive 11): AuditActor 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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad4c84b00079baac00ba681c4225a6ef48bf03e30c9702f38da8623c05184b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditActor (cyclomatic 12, cognitive 11): AuditActor 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":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09e78b11f9adbde2ca2efa06f9e7ffffb5cf60044bb37551b535040c0c809ee"}},{"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":"ui/storybook/prototypes/ConnectorCatalogNavigation.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a14d2fca5b8dc56b69f8b4fe97fae3de5ce43175990ded6dd8c3bce97cebdfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccessEditor (cyclomatic 12, cognitive 11): AccessEditor 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":"ui/storybook/prototypes/github-chat/AccessEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2268bc9685fb3cf5763c019e6dc16e03a1df8f3cd61e450e8fc4932f0c3cc557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 12, cognitive 11): apply 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":"ui/storybook/stories/steering/task-execution-controls.stories.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"060fe7ebc6e5829c8f9359261202898c6b4ed8b57086add567d02f99b6267850"}},{"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":"ui/storybook/support/cases-read-only-api.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6a48a319e4a2f40470653c659b0f11f8b457e91752b9044952ee4f89b65a2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCodexStartupConfig (cyclomatic 12, cognitive 10): buildCodexStartupConfig 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d03f976ddf121b118316ce05511004b737fbec3b890b0c3ff99ff1f4f882723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clampSpanLabel (cyclomatic 12, cognitive 10): clampSpanLabel 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c3847704c9c8b994021069a1dba4aa304d4f6ae8bcf6d1f1dde751e85e7f38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipWakeIssue (cyclomatic 12, cognitive 10): normalizePaperclipWakeIssue 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"283b1b4e9f82ed09f3dd43ca95c246ff82b7ed82dc9e6f0402b94f76f3653393"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeFinish (cyclomatic 12, cognitive 10): maybeFinish 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b969bf004179cc55bb17dcf5ce3306c2f8244415b04219a30efb6861757f88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeFinish (cyclomatic 12, cognitive 10): maybeFinish 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8978dd3fe1c86cf09a587317ee025ea759bd2d6030f5e01214a7d5f60f48e756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 12, cognitive 10): publish 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/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32d56b095f38c1340e28e09a45e280eb62f896930e1b72e7478044069a5676a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeAcpUnavailableReason (cyclomatic 12, cognitive 10): claudeAcpUnavailableReason 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7041f8efda70cb63d322ce2566f6dbc0d5e70fbff58ba11aa2d45fd10c7aee97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cacheKeyForTarget (cyclomatic 12, cognitive 10): cacheKeyForTarget 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/adapters/claude-local/src/server/cli-capabilities.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe0c0c8f2a007808ce36ad401106c0d39ee2540b2b91fb2cc42c1359f5b70a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCodexRemoteManagedHome (cyclomatic 12, cognitive 10): prepareCodexRemoteManagedHome 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"550b2904dc238cdae3f93467bfab96c5d44b5fda53ec1bc683c5807ce2ae0987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexAcpUnavailableReason (cyclomatic 12, cognitive 10): codexAcpUnavailableReason 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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"7146b0758b2dda7446ed0b560d6cb41d9b55c143477f663c2b215ccb7551c1d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGeminiAcpConfig (cyclomatic 12, cognitive 10): buildGeminiAcpConfig 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"32606ee9cef307d648333c6bada2b108a8928a539521edc8c959e8f2593623ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printHermesStreamEvent (cyclomatic 12, cognitive 10): printHermesStreamEvent 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/adapters/hermes/src/cli/format-event.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ef7b900cd03741c7c566880e2ec5529b7e4491d4f9312bf8ffbbe90f2f7a46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserialize (cyclomatic 12, cognitive 10): deserialize 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/adapters/hermes/src/gateway/server/index.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a816fcd121b34b7cce106d308c637e23e6f6475c5272b34a306d6b716d6e03f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildKimiAcpConfig (cyclomatic 12, cognitive 10): buildKimiAcpConfig 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/adapters/kimi-local/src/server/acp.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b5b5a9180332f0eb187b28d259416524b113cd87a58d27ea4e14e8a6faffa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claudeStatusBannerNotice (cyclomatic 12, cognitive 10): claudeStatusBannerNotice 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"99396dc820bd01ede16ba98f0c7fac6cc9e846aeea2a6f385a7c03779775f8d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onAcpMessage (cyclomatic 12, cognitive 10): onAcpMessage 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6768aace9ebb984ae404d94edc081dc4695bb3273654ff08bbfe1e3a4357660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #publishTerminal (cyclomatic 12, cognitive 10): #publishTerminal 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1dc4874f94984ecf0b541d19fcc241978238ca9912e55aef9c3d6ea40b874b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityTailnetAdmissionFailure (cyclomatic 12, cognitive 10): capabilityTailnetAdmissionFailure 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/paperclip-runner/src/live/tailnet-gateway.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1e5611366349f9d8f98af34cdb9aac7205f6889996bfc751f096e17b607e3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalStatus (cyclomatic 12, cognitive 10): canonicalStatus 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b31223fb3929550349325de72d37ce1be2ab9ba4b422993434822526cf5ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsert (cyclomatic 12, cognitive 10): upsert 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222ef4769e6d40c62eb26afaaf89eeb8328563ba40ca79b9da8a69d49a75ec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateConfiguredBindMode (cyclomatic 12, cognitive 10): validateConfiguredBindMode 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/shared/src/network-bind.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30f9651906e74edbcd076e808176a8702a71258268b590b49789a9b89aac270"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceDependencies (cyclomatic 12, cognitive 10): sourceDependencies 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/ci/vitest-selection-graph.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9377ce8abb647cfd292473e9712475fc2a14c1dc0bcea6c0552be2354a17a51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectRestoredFixture (cyclomatic 12, cognitive 10): inspectRestoredFixture 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":"server/scripts/lib/backup-qualification.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"762a42ac5e0eadb7365f464c98dc4fb1121f9f06b138bc80474bf8a5b9140098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installStubs (cyclomatic 12, cognitive 10): installStubs 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":"server/src/__tests__/docker-entrypoint.test.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d7c12c9afb6cad13fbc6262bbe40544372e1cda4d8233b3b84b7a5d4cab0b"}},{"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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ec30fbf23533876e77a26298eec1f1642c25270bd2b6731b193ae92e131b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindingForAgent (cyclomatic 12, cognitive 10): bindingForAgent 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f65d2efba5ebe09df7ab11b06ea3ae0bc1164a3487f3fce0665c69eea79e30"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0cbe3a63dc47d23cdd2ca6d2d38c71d5d588f4df1c70b6f26fc9292c949c94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMediatedAdapterConfigForPersistence (cyclomatic 12, cognitive 10): normalizeMediatedAdapterConfigForPersistence 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":"server/src/routes/agents.ts"},"region":{"startLine":2219}}}],"partialFingerprints":{"codehealthFindingId/v1":"30621557e21546c0ba149b57c1a6b7d0637c45035cd53eb2336b06adff05411c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canInstallSharedAiConnectionForNewAgent (cyclomatic 12, cognitive 10): canInstallSharedAiConnectionForNewAgent 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":"server/src/routes/ai-connections.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0648598c74226d4328a4813e5e336ed6edee319501141b6f2ef4b95ab549e9f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillPolicyResource (cyclomatic 12, cognitive 10): skillPolicyResource 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":"server/src/routes/company-skills.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5da0a4f73de661bc0260f5dd21ea0963dcc65d68c608a2931b4c85ff3980892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectIssueWakeActivityRecord (cyclomatic 12, cognitive 10): projectIssueWakeActivityRecord 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":"server/src/routes/issues.ts"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96b348e812d896e2fcfc213ec74f226e397a4f795c71824c5bfb0ea9a3bf069"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveVisibleIssueCreationSource (cyclomatic 12, cognitive 10): resolveVisibleIssueCreationSource 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":"server/src/routes/issues.ts"},"region":{"startLine":4166}}}],"partialFingerprints":{"codehealthFindingId/v1":"101c6a98e1fbe3074e28f324f0b925409a64dec7ad29212d88dc3188eda26780"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertLockedReviewPolicyAllowsMutation (cyclomatic 12, cognitive 10): assertLockedReviewPolicyAllowsMutation 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":"server/src/routes/issues.ts"},"region":{"startLine":15964}}}],"partialFingerprints":{"codehealthFindingId/v1":"432d9ad1d66c5bb254c4cf80261bd95a10ed44d93b084643a8b21101fc7e48b8"}},{"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":"server/src/routes/routines.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8dad0f71d58cc404873725baec1b7a5c7d8bc59d35673c9761a58f7ad4452f"}},{"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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"565d9830414ad7cb1af22e92cb3d0129df1f88aef2e17588f9bce114b445b647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireAgentDirectoryTransferScratch (cyclomatic 12, cognitive 10): retireAgentDirectoryTransferScratch 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":"server/src/services/agent-directory-probe.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dcee3f04c03e49568281d5fe768d5e642261e6a995a584ea59addbb9b4f6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportUnavailable (cyclomatic 12, cognitive 10): reportUnavailable 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"4640c58c616c98a51bdf016c177dad000b944275476fb1a9ba54c1adcb87b55e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPersistedBundleConfig (cyclomatic 12, cognitive 10): buildPersistedBundleConfig 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":"server/src/services/agent-instructions.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81d6f603125c315d4d7195e3df70925d9c170479ac8d0115d65b4f31c3abc47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interactionDetail (cyclomatic 12, cognitive 10): interactionDetail 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":"server/src/services/attention.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"833168d609259894f65241522b44083b4a841cca9552885dfb394cd6799b95bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCliAuthChallenge (cyclomatic 12, cognitive 10): describeCliAuthChallenge 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":"server/src/services/board-auth.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ec81af12f1c037c6388815f4b6255e4f616cd954bba3de966ccb5788e4a07b"}},{"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":"server/src/services/browser-use.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eaf93dd72673352ab15cd57f71381fca1835d76ffe1e731adcc9f559753b1a"}},{"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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb5b67c9720a32767d94eb0e3d053d691efdf1e2222b011af077cde0d3edf3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeSlackTaskStartFailure (cyclomatic 12, cognitive 10): finalizeSlackTaskStartFailure 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3152dbc0c64e7995e302e491b0afd44f14fa27b581dc8ff26c558929b4a666"}},{"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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7ce8f9aabf3d9fb53a8909024431e311aa634898f8b54884b811f95cba49e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramMessageId (cyclomatic 12, cognitive 10): telegramMessageId 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":"server/src/services/chat-channels/telegram/messages.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c3fbd23da0b3eff9299217056251ac7339e47060504d85404121584deef13c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDiscordCommandRegistration (cyclomatic 12, cognitive 10): parseDiscordCommandRegistration 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":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"29647c535c485be673378329edcc1d4deb7f8ba021f8a0d54985d2499c47fb28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageReceiptReactionRemovals (cyclomatic 12, cognitive 10): stageReceiptReactionRemovals 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":"server/src/services/chat-receipt-reactions.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd10ec4d6b4dbb5bf9e04c8f819a9c7456902ba65a515cfecaa71935daad28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasTelegramEphemeralInput (cyclomatic 12, cognitive 10): hasTelegramEphemeralInput 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":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ce15ffe1c4d5884426f822732cacc76ddc1000acdb5fa7a5c584d9a99d21d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubSourceUrl (cyclomatic 12, cognitive 10): parseGitHubSourceUrl 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":"server/src/services/company-skills.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f75d36db233373242a278d726f2c7ff3a061b50215c9b3fc21f6d021ef88df7"}},{"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":"server/src/services/environment-runtime.ts"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"820f00a052c4957de86d478d731ac62a4b13b705b964833df2f3d32fea44f36a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareOnlineEphemeralEnrollment (cyclomatic 12, cognitive 10): prepareOnlineEphemeralEnrollment 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":"server/src/services/ephemeral-enrollment.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf187d561f06e1af1d6f161e425325422828f990538be07b870a6bf4d6a267b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectHumanInteractionResponse (cyclomatic 12, cognitive 10): projectHumanInteractionResponse 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":"server/src/services/execution-continuation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0af43e58541679a3795d76a767107caf68ba350182fe1ec77eaf9f942bafbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function freshContinuationNote (cyclomatic 12, cognitive 10): freshContinuationNote 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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf1dce7273b8c788e848dbb383d19475e00c64bd133e2be1eac9a4b2182816b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendNewNativeSourceEvents (cyclomatic 12, cognitive 10): appendNewNativeSourceEvents 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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"53310cfb885935cfcf61704a4eda34864a3d64930bf4da543245065b5f91d1d1"}},{"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":"server/src/services/heartbeat/predecessor-retirement-fallback.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ff9750299273dbd4b2018d3b9dc19ebfea2d6198b0a498dac46a139ce916d"}},{"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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"98006edff8e269e73d0755ef8fd24758ed370f058be2d7784ea347f688764710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferUndeliveredCommentsOfStaleRun (cyclomatic 12, cognitive 10): deferUndeliveredCommentsOfStaleRun 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":"server/src/services/heartbeat/stale-comment-continuation.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"59190bcd7af98a96550d65e21af25e3a88d03fd99f45ff66203a3ade5492494a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function liftInterruptionBlock (cyclomatic 12, cognitive 10): liftInterruptionBlock 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":"server/src/services/interruption-block-release.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"45843c89e717c30ade74caee2ccaf15f620d7e1e9cd66e39ef7d32493067dcab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAcceptedPlanConfirmationTarget (cyclomatic 12, cognitive 10): readAcceptedPlanConfirmationTarget 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":"server/src/services/issues.ts"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8392022d958d68330a2887f5f0691ecc30aa276974c5e2c13628a51fefa44f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getWakeableParentAfterChildCompletion (cyclomatic 12, cognitive 10): getWakeableParentAfterChildCompletion 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":"server/src/services/issues.ts"},"region":{"startLine":9883}}}],"partialFingerprints":{"codehealthFindingId/v1":"197a44e300c50def1cdc57e5bf0fa7f189d51102238ea8a67781e42dd4fee401"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPublishedGitHubReviewCompletionContinuationInTransaction (cyclomatic 12, cognitive 10): readPublishedGitHubReviewCompletionContinuationInTransaction 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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabafabdf8dda9a96a373dbfdd664d2323b0d9f268d0bedce146aad16f6f7301"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 12, cognitive 10): close 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":"server/src/services/native-runtime/managed-native-credentials.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2528826ae73cb70fb0ab2d134b69b6d41054b6d9c7b323cbb34fe6fc3093af92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeHarnessBackupSource (cyclomatic 12, cognitive 10): readNativeHarnessBackupSource 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":"server/src/services/native-runtime/native-harness-backup-source.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698f4a9b83ddd784d58e71d54480fd612ea2bd35f536f47659e013479b0ef13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordNativeFinalizationFailure (cyclomatic 12, cognitive 10): recordNativeFinalizationFailure 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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"3384b8bed17d23353b68b25d93528de4f7adbe6ea5f2690cf8d9dbcb905ab5f8"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18806}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef088b587480b7abcc20aac4f965fdd687172b3c4d933a370f696a3c78bf2aa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureLateUsageForOwner (cyclomatic 12, cognitive 10): captureLateUsageForOwner 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":"server/src/services/native-runtime/native-usage-delivery.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faf1836c04d2d4baa9a5eb64ffcb74c3192251b6079c2d56ea382e4b0497f42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPluginTaskSourceRecovery (cyclomatic 12, cognitive 10): assertPluginTaskSourceRecovery 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":"server/src/services/native-runtime/plugin-task-source-recovery.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb80023c2e94e39549d1cb0ef88814624a29b9e277641dc319eea92631a09ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProviderPackArchive (cyclomatic 12, cognitive 10): readProviderPackArchive 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":"server/src/services/native-runtime/provider-pack-archive.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac8d036d05b942fc2a6e3d7fd54fbfa4c210526543f35447984c708c7037f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admits (cyclomatic 12, cognitive 10): admits 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":"server/src/services/native-runtime/providers/cursor-lifecycle.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"49183b93fdf20486019b40195cfc5d27180d5d342f27e54bbbb79c7b5d90d75a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPinnedRequestOptions (cyclomatic 12, cognitive 10): buildPinnedRequestOptions 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1661d71f78233040e8fe6bc51433b566d2c05a0a46c501ec2c95ea71d377e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toWorkspace (cyclomatic 12, cognitive 10): toWorkspace 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":"server/src/services/projects.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce39c76bf90e18418dcf77d94c73826ef5da7a2716462cebb278339ab1d9198d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveSystemRecoveryAttempt (cyclomatic 12, cognitive 10): reserveSystemRecoveryAttempt 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":"server/src/services/system-recovery-state.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d4e3e0d6f292b1af18db2eea57fe82bf4ec946131c5c10d4503a5c046c20d"}},{"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":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc846e181edb7b39e2167dd2db584d940ab0db95a0c88e172c89112bebc6c982"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mcpTaskForKeyedRetry (cyclomatic 12, cognitive 10): mcpTaskForKeyedRetry 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":7323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba940476971e025bb009acd20f7fb9700ecd3c06dbb12723408fa31ef9b863ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSpekoDeliveryDiagnostics (cyclomatic 12, cognitive 10): parseSpekoDeliveryDiagnostics 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":"server/src/services/voice/speko-delivery-diagnostics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e597f47dfbfb3355ba61ba5bfe9b7937577e5467cc064ec8afa1cb6924b6d580"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteDeferredWorkIntents (cyclomatic 12, cognitive 10): promoteDeferredWorkIntents 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":"server/src/services/work-intent-outbox.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf4c23296f1d314556ac8350a9ab7a7cb2e4c18232e2ca1bbc410c5b8a8566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endpointFixture (cyclomatic 12, cognitive 10): endpointFixture 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":"tests/e2e/chat-adapters-ui.shared.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c7589ca3e82eb55e5679b07990d91ba98dfcce765e7e521b7b1e632a81d5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withChildWaits (cyclomatic 12, cognitive 10): withChildWaits 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":"tests/restart-chaos/child-wait.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b07b08f09c36ac33b8bfb6f3b68865c269092e7e1bb88fd6dd4f69ace2bb67f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNativeTrigger (cyclomatic 12, cognitive 10): parseNativeTrigger 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":"tests/restart-chaos/native-trigger.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d853b85d914245540e0e44f5a63c84eecf9ba9c98558449bcfa04e3e3b86b2c6"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-company-models.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"775d86a65f72a5fb52cf3303eda5bd1e6c672a1e167f84b03fb4085e9f03a398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyInvitationSourceProof (cyclomatic 12, cognitive 10): verifyInvitationSourceProof 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":"tests/runner-e2e/chat-catalog-domains/identity-invite-source-proof.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f586b80691adc2f23b299a1781b256d02e1a6c044486c9aa635b0314cf65231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeExportDocumentCli (cyclomatic 12, cognitive 10): gradeExportDocumentCli 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":"tests/runner-e2e/chat-catalog-domains/privileged-document-cli.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ba1e954d8c816ccf2c6866132e042a9c972da3eb6d9e85fb2f1f280569244d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 12, cognitive 10): prepare 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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-ssh.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"be244051db7164720b9bf28309a718833073ebee42d0c0bc77ffe246ad8910ba"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-email-duplicate.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ebc8928ede6e2d8b9b137485ad4f170f3eeaf36f3678afef996fdfe124816b"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-email-fault.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"417f291827ebf776bb3e13009f2ac5862b4115d42a926a31350b742fff1d95e3"}},{"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":"tests/runner-e2e/chat-catalog-domains/runtime-runs-adapters.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"82636499ed5b789619c606f397dcdaeb15463a65708d7097de75652cdec44e6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readChatPrivateInputs (cyclomatic 12, cognitive 10): readChatPrivateInputs 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":"tests/runner-e2e/chat-private-inputs.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ddaf9993945c6154b26e910380def1821216b3ad28716f1f3146989fb96ee6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runChatSetupHealth (cyclomatic 12, cognitive 10): runChatSetupHealth 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":"tests/runner-e2e/chat-setup-health.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7548f4c5c0c73f5aac161c757f3a957a09c5fec4b1b252d7ae79e39da00054a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPendingBoundary (cyclomatic 12, cognitive 10): readPendingBoundary 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":"tests/runner-e2e/cursor-cloud-stop-flow.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d4abb24d29403c7004cb0778a0dd21b60368249cb28b2f37ef1e1947320cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunnerCampaign (cyclomatic 12, cognitive 10): buildRunnerCampaign 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":"tests/runner-e2e/history.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f9f596f8882dda53eabdb593b162394bfe5fe66fbe2f892f4e7762dbd9279a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAssigneeChangedUnstartedRun (cyclomatic 12, cognitive 10): isAssigneeChangedUnstartedRun 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":"tests/runner-e2e/non-execution-wake.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3ee76e054926dbfb4e295df80d01af232e55877ecb4e7f7084204385cba94e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receipt (cyclomatic 12, cognitive 10): receipt 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":"tests/runner-e2e/provider-usage.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dead96a87c878dbce21e22c5a006e06eb93b9209b3beb991bcf302f92e6581"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelActiveRunsForCleanup (cyclomatic 12, cognitive 10): cancelActiveRunsForCleanup 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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3ddffa328f6c5b0883af2b2b28b5de180c3a4f07b2fc4b508b13d1a67ff6d5"}},{"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":"tests/runner-e2e/runner.spec.ts"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcc1fea73b29352cd40a5cdd68e6a247174f88a5c8933530a6f5f7ce7bae84c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatFeedbackButtons (cyclomatic 12, cognitive 10): IssueChatFeedbackButtons 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":"ui/src/components/AgentBubbleActionRow.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb135f8de3d1201ec9b0e313e73e6ac5b066cb1158db4e1cc65153892355541"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overlayValuesEqual (cyclomatic 12, cognitive 10): overlayValuesEqual 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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7281483481b302c2cd829551da6b6e04af76e93a23773d6a42f2395a5bc20637"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BillerSpendCard (cyclomatic 12, cognitive 10): BillerSpendCard 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":"ui/src/components/BillerSpendCard.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1dc4d96b2d612af9b3a749a1d25f8d4eaac7dda20e980a88c1db9bca913a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalObjectStatusSummary (cyclomatic 12, cognitive 10): ExternalObjectStatusSummary 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":"ui/src/components/ExternalObjectStatusSummary.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bf3e8d4ff42398416827a1b5c72372627f422b5f4a8e56ee40169ef1bac5e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueAttachmentsSection (cyclomatic 12, cognitive 10): IssueAttachmentsSection 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":"ui/src/components/IssueAttachmentsSection.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28e46ecc7033871b2094979c56bfa4638a65d36c5eb3c666e397983f47d31ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueChatFeedbackButtons (cyclomatic 12, cognitive 10): IssueChatFeedbackButtons 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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac4dd0933b269e2235e96348de699f2f5f04fd2df4d4b0f1e6bbeeb51ab12e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beginEdit (cyclomatic 12, cognitive 10): beginEdit 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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"558030e2296ff0dfc9f1ca821274b766885da70aa43d80698dbd8496d6220579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectAccessMembers (cyclomatic 12, cognitive 10): ProjectAccessMembers 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":"ui/src/components/ProjectAccessMembers.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ed1a40faa948ed248a193e67d905d9251ae17eb72c393dd5fef91e5ed0e35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SidebarServerInfo (cyclomatic 12, cognitive 10): SidebarServerInfo 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":"ui/src/components/SidebarServerInfo.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1bf6d6186f3f237c29f6f26af297542080617136618f3490191579f941e066"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindingProblem (cyclomatic 12, cognitive 10): bindingProblem 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":"ui/src/components/ai-connections/model.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1a35d01a4e728bb0ab6a0022971f764b8702a4bd58330cc68f4106f3291a7c"}},{"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":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4e3621a1f6f6c13129be3058b3426cd678e5de7e55388fad398ecb947177ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CoordinatorReviewPanel (cyclomatic 12, cognitive 10): CoordinatorReviewPanel 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":"ui/src/components/coordinator/CoordinatorReviewPanel.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a517eeeecd6dc5304732d7a7a5b43566830bc1747234db93a73d509f783073ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EnvironmentVariablesEditor (cyclomatic 12, cognitive 10): EnvironmentVariablesEditor 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":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f9e1153ff7be62c737b785061c43ae4f77dc1a91049da3be0904454bc443bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactEnvValue (cyclomatic 12, cognitive 10): redactEnvValue 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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d427c5af082a347c26da590606f2561214972401cfe566c5facbf159cccb23dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatTurnHandoff (cyclomatic 12, cognitive 10): TaskChatTurnHandoff 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":"ui/src/components/task-chat/TaskChatTurnHandoff.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e605d3f2bcc3622d25a173510edfae341eb15592364e7c72212028e852476d0"}},{"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":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fecf02e3c462b8ceaaf0f72a00af2a5608a7274f09689b49874c8d0bef48263"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyToolDetail (cyclomatic 12, cognitive 10): applyToolDetail 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cec94d43a71d14403334726516b22979e4903bc84a7efe2b4582110289161d"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d48023ca11231acb8c80833cff5bf53c5ce33abf803c1c29e311de472c7c4bd"}},{"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":"ui/src/lib/agent-configuration/resolve.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29b2bb0f7e9ab5cdf568045b361b44d65d725cdb290e1aaa540565d632f076c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOAuthWindowOutcome (cyclomatic 12, cognitive 10): readOAuthWindowOutcome 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":"ui/src/lib/oauthWindowOutcome.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90b50740b1a03be00219d65523cadb128f2e13911af4e47fccf3bde79c3997c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 12, cognitive 10): onSuccess 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":5320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f177f59801fa5a865bdb8172992f5ecdd38be5ac25bd25d92069b1443c52dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 12, cognitive 10): mutationFn 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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":5511}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cb14017bda80b84c665a79d1318212fcb7c39eedef0651b256d05e1dc1f08a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionState (cyclomatic 12, cognitive 10): connectionState 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdc38051135d0f5db9d578fb1e6f1a255e141fad4a7ee19d9b3ed9c117fa456"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CredentialSettings (cyclomatic 12, cognitive 10): CredentialSettings 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":"ui/src/pages/apps/app-detail/BrowserUseSettingsPanel.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d68d6e7cbe8967f34911cc4c6f3d9853ab0aa8b5971556e4e7d397ce564a96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ButtonSpecimen (cyclomatic 12, cognitive 10): ButtonSpecimen 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":"ui/storybook/support/design-proposals/ButtonSpecimen.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a218eb0e66990553dd1b317e4337108ae197b880ece441dd8a5f95c8c61b7ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManagedAgentSetup (cyclomatic 12, cognitive 9): validateManagedAgentSetup 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":"cli/src/commands/managed-agent.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5344dc8061a7f04cd880ca9353da9439350fa549b2792d930cc3ab758432384a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSessionCompactionOverride (cyclomatic 12, cognitive 9): readSessionCompactionOverride 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/adapter-utils/src/session-compaction.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8852c3e1a0a3f9b6ab85c59a38d69a6274ea6a521d8451002d1a893b5790bef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyWorkspaceRestoreFailure (cyclomatic 12, cognitive 9): classifyWorkspaceRestoreFailure 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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"788d74baf18cc13c23c20f68d77ae9586845dd9c53d5dc24b0aea4484edbff9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isClaudeTransientUpstreamError (cyclomatic 12, cognitive 9): isClaudeTransientUpstreamError 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b74e41bbc2da3e4a9050e77939d0f385f1e2322cbdf22314c211218eba73df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSession (cyclomatic 12, cognitive 9): readSession 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/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6121c46adff6194cf1ebada72055d9d12cb76f3b059a2082337fcf63cd26b54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerWorkflowEvalbookAttempt (cyclomatic 12, cognitive 9): runnerWorkflowEvalbookAttempt 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/paperclip-runner/scripts/render-runner-workflow-evalbook.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"181b9d7b5c42bb66fbb6aadfc22766c475bfaec1b8f56815938c583bac16195e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAcpxRichEvent (cyclomatic 12, cognitive 9): validateAcpxRichEvent 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/paperclip-runner/src/drivers/acpx/profile-extensions.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e343535f48bf20d3d862b4682169498b2aa5f0f004b875563d902716fa6816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 12, cognitive 9): get 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/paperclip-runner/src/drivers/cursor-cloud/artifact-staging-budget.test.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b81fc024ba5a2bd2565389c01f2605e113deb7601028f0ddb5fc1b1855de08b"}},{"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/paperclip-runner/src/live/runnerd-codex-transport-release-resume.test.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd82e6ca5ce10f6ed6e98d5c687a7c4bc064ad7344e594473966af5ee67565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrame (cyclomatic 12, cognitive 9): parseFrame 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/paperclip-runner/src/live/turn-stream.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cfa16e38ed9749c1d42d2562ad44a5b6263359f0c2b9b40c3c52647f038434"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectPageContents (cyclomatic 12, cognitive 9): projectPageContents 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"a058ee4130beb7ade61c1be74c17be0b89180244cc1eb0d8a2154ec4770e06a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileQueryAnswerAsPage (cyclomatic 12, cognitive 9): fileQueryAnswerAsPage 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a1386d22b493f326c8d4280ccb24dd01f98ab5a3c3fa798415878509e0db17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPlainYamlScalar (cyclomatic 12, cognitive 9): isPlainYamlScalar 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/shared/src/frontmatter.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"48665d10611881179041e037f78ce486ba357e0e3ed88b5be956e0c68b4bdab1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 12, cognitive 9): execute 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":"server/src/__tests__/agent-harness-verification-remote.test.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33b233d9c389b87c5dd88641662b311adac113e31fd3b4c7f6102b605e95e50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 12, cognitive 9): refresh 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":"server/src/__tests__/helpers/paperclip-semantic-conformance.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"875f01dab606d029a812dffc8d183d9ad05f99146e356222e935043b4f9dcd5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideQueuedCommentWakeLookup (cyclomatic 12, cognitive 9): decideQueuedCommentWakeLookup 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":"server/src/modules/wake-queue/domain/policy.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a474fc3d74103eb411f07620cc1f874c09d6d9dbc6344793c81a8153fe98bdd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameJsonValue (cyclomatic 12, cognitive 9): sameJsonValue 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":"server/src/routes/instance-settings.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fa99d69bc995543b602b7de1cd36c75ae1d5d6fa0bc10bd91d81febc8cb8f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferPathSignals (cyclomatic 12, cognitive 9): inferPathSignals 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":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa3edb10bccbae07f097c8dd967f619f3b4a42fe769cc8d3605a64f57948d5f"}},{"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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f2217a6c55b99064ac11b0f6f3b50021d25add4c53174e86832277ddc75342"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCaseProjectionMarker (cyclomatic 12, cognitive 9): readCaseProjectionMarker 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":"server/src/services/case-context.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"519b9a86f5f6cd21cf7919bb5a08688f9c32c864172d854be3b3d6f4e76a003d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackRequestWorkspaceId (cyclomatic 12, cognitive 9): slackRequestWorkspaceId 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":"server/src/services/chat-channels/slack/callback-verification.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b8335121f0af5294b4779afe4dd6a2f9501eff39cebace4c3642604a862115"}},{"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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"182a63f6561c3d0c187fbef48b814ae9f96805227a8d164acd1f41c5a5bd4c2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function conversationFromThread (cyclomatic 12, cognitive 9): conversationFromThread 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":"server/src/services/chat-teams-personal-recipient.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20b2155c78256accbbb2b1eaf4722e2f9613c5e475327e93d4166f68ef9451f"}},{"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":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"995a4f52e8b5cd0533c362e88400d0db26d1f62cb287ac25ee156f446c085358"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminateHeartbeatRunProcess (cyclomatic 12, cognitive 9): terminateHeartbeatRunProcess 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":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b66b0c2f74b09c77e6b309d31c2555f28c06398c9a26ce1128a82c4332d5c09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkspaceForRun (cyclomatic 12, cognitive 9): resolveWorkspaceForRun 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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"116760e9f7811f1510c1871caa66c8c88da70e4d42a57bdce189423986d56da4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAntigravityCandidateAdmission (cyclomatic 12, cognitive 9): resolveAntigravityCandidateAdmission 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":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b0d17fb0cb46ca0b3aa1bcff3e9264e44ed69d8397f7bbae03d494613ca6d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDestination (cyclomatic 12, cognitive 9): readDestination 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":"server/src/services/native-runtime/antigravity-runner-credentials.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dde3110207b93f27539bb1560be2347511ee57df243ed65ad61accb12734f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstTurnQueuedCommentIds (cyclomatic 12, cognitive 9): firstTurnQueuedCommentIds 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":"server/src/services/native-runtime/first-turn-queued-input.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4996f28dcbc17494929477b6b1d5b9756a168e3d65b88feab12b7bfe9bb412f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveTaskRemoteWorkspaceWriter (cyclomatic 12, cognitive 9): preserveTaskRemoteWorkspaceWriter 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":"server/src/services/native-runtime/native-failed-workspace-recovery.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"613f3305ec541cda8eb215e64ad328e2bd2aa6e6ace3a9bb84ea43a1fbf13aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCodeStreamFailureFields (cyclomatic 12, cognitive 9): openCodeStreamFailureFields 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":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70dbd13130ae6f6a9b2d35ed89b82ce7f1cfb663ae2e72621069044f06b7ff3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPreDispatchReviewWaitVerified (cyclomatic 12, cognitive 9): isPreDispatchReviewWaitVerified 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":"server/src/services/pre-dispatch-review-wait.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"141a07cc118eacf1b1fff3780eb170231c4343a28813ca37f0ae32631ca8ff9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearRemoteWorkspaceLocationForReleasedLease (cyclomatic 12, cognitive 9): clearRemoteWorkspaceLocationForReleasedLease 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":"server/src/services/remote-workspace-snapshot-retention.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44b857598d10e7813a51ebd0efe5252facff2c7b70ab550629f8e0c47724eb5"}},{"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":"server/src/services/setup-token-transport-binding.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"38993ddf2265855686fe2b0b6d7a82d2bf8015c892f6f498aa55716a1e8b7eae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyPersonalGitHubIdentity (cyclomatic 12, cognitive 9): verifyPersonalGitHubIdentity 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":"server/src/services/tool-access.ts"},"region":{"startLine":3810}}}],"partialFingerprints":{"codehealthFindingId/v1":"523baf291488b61fa53c09ea39e096ad009c0ad63e6d1979411162fbe075f216"}},{"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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabbbe6250e769bd91832f24e26e181c886ccbe73a6753cbcbfb6e9a5c7fac19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConnectedLocalStdioTool (cyclomatic 12, cognitive 9): resolveConnectedLocalStdioTool 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"604a9783618b86daaee9cc924f2f8825037b8743596839fcbad9ce93b0fbd189"}},{"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":"server/src/services/usage-receipts.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"a334de5ebf325508408aca20428f0a27817c97efb743d786f98c7fd5a74a877a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 12, cognitive 9): act 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":"tests/runner-e2e/chat-catalog-domains/external-notion-setup.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff1945d93018bc5eb04728138e248882605138582bbd94c78380262fe0a3e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supportedSecretSettingsLink (cyclomatic 12, cognitive 9): supportedSecretSettingsLink 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":"tests/runner-e2e/chat-catalog-domains/external-secret-setup-link.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bbf5f0421f344dce9fb76aeccca5d2447a9fcb7dd9ddfb5c5012eac5a77d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validSlackHumanReceipt (cyclomatic 12, cognitive 9): validSlackHumanReceipt 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":"tests/runner-e2e/chat-catalog-domains/external-slack-human-contract.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cbc3f3676058339b4722c4de97079c7a53d9984cb09b2dff1d93f2aa457e97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeRestartService (cyclomatic 12, cognitive 9): gradeRestartService 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":"tests/runner-e2e/chat-catalog-domains/privileged-instance.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"21207751e6dbad266bd717f8187bceafc184aca79cb116f1e80c82c3ed557c7a"}},{"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":"tests/runner-e2e/codex-planning-read-only.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"147ecee943e76533d6afa9f61037ba8878c6a7d83b12ea4bda6cfa9f8af1af87"}},{"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":"tests/runner-e2e/history-browser.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dc1460a68c53731f8778f2bcd66951da0a8fc445f4e8bd7468eac27980e037"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalGeneratedReportAsset (cyclomatic 12, cognitive 9): canonicalGeneratedReportAsset 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":"tests/runner-e2e/manual-private-report-assets.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c281a594e211fca6f1c3f0e102c1879f451e8b6dfa5e2adff05394f21ff467"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactDecisionAction (cyclomatic 12, cognitive 9): compactDecisionAction 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee266389ceeb3a3d9934f1d6058f7cb42a553166e286aa1036282f4cce44a2f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnnotationPanelBody (cyclomatic 12, cognitive 9): AnnotationPanelBody 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":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8b8f6b735561da6a95e91ff58869a8e59f4154a6790e003008d69c0de29e15"}},{"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":"ui/src/components/IssueRelatedWorkPanel.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fe2ab43b36a82a57b6c7b0c600d92543dd6d62a148943442ff1e2e39011059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function secretProposalCardState (cyclomatic 12, cognitive 9): secretProposalCardState 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69c995f8b5797d745fe1612a934e17ae8537dd7b10404b34e1c77b5407f9d60"}},{"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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7b86987dbc4b363d63c2d6e0e273ab54fba6b51b013b691817adf705237998"}},{"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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"894ac3d3bf8c206fde041c3a2437e7af9a6fe5fda8600be963bf91eef05852f8"}},{"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":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e64e69b887fcb22864ab548979070cca27918039c7ef43441623026f21b849"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerAddMenu (cyclomatic 12, cognitive 9): ComposerAddMenu 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":"ui/src/components/task-chat/ComposerAddMenu.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"411dd6b3431c8d6390d623ebd6070d05008ac0f3969ac1e7bf8be514ed0e4948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolExecutionDetail (cyclomatic 12, cognitive 9): toolExecutionDetail 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fa5e992dbac4b2737b266b8fa01fa86677a40bf99226eb9f4e63c7a2ee552f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useMatchedGalleryEntry (cyclomatic 12, cognitive 9): useMatchedGalleryEntry 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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f87dcb67a083aa2e394b9816bd045129a6fe94f6cfe93436afde7227e3def"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HonchoWorkspaceSettings (cyclomatic 12, cognitive 9): HonchoWorkspaceSettings 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":"ui/src/features/connections/HonchoWorkspaceSettings.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"868edf11aa93cb1d9c78012330854539820d69205c3af179b5a555b2ac1f9e70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coordinatorCardTitle (cyclomatic 12, cognitive 9): coordinatorCardTitle 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":"ui/src/lib/coordinator-attention.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a3b4dbd9e504aad32ff03c55104a676dc389a407c454641e5b907a724856f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameIssueDocumentHash (cyclomatic 12, cognitive 9): sameIssueDocumentHash 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":"ui/src/lib/issue-document-deep-link.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"065a4bcca9499091183038881b9a8f9d72e00f278101b4f9e0148bbfd0946503"}},{"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":"ui/src/lib/task-list.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4238e42b203b879b216840a418c3b39280acaf3b562c63e432e7bfb67ff5938b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentPluginDetail (cyclomatic 12, cognitive 9): AgentPluginDetail 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":"ui/src/pages/AgentDetailPage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b1d619b80483a406ccbe2624a37908d80266ffbd896e8c7d3ce63c02b1e29a"}},{"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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd6363b0c8023a2982cb91b263aefe58272f90cd0b1a0fe2ceb714fbec3142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function humanizeEvent (cyclomatic 12, cognitive 9): humanizeEvent 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":"ui/src/pages/apps/app-detail/ActivityPanel.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3747850b50ca0cb2411143a490906529653a07b973d2b323ceb37019c5d9411"}},{"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":"ui/src/pages/apps/app-detail/ConnectedAggregatorApps.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acf218a0de9cb79e14790943659e6ed986f3621cd8f442389e4b159588ea15d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySecretOrigin (cyclomatic 12, cognitive 9): classifySecretOrigin 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":"ui/src/pages/secrets/secret-origin.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ed657f0b54f56c99b75360174d1c06a92992dec42716cf8b374ba5c9276b42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entryMatchesTool (cyclomatic 12, cognitive 9): entryMatchesTool 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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adee7e72e390fcb0779f4bec130bdf7c815e4c254016fb859b04e25bb7da244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionEndpoint (cyclomatic 12, cognitive 9): connectionEndpoint 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":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"592ebc12bce543b539c0ea2881d3737aa1965d7ef4375a01f2d760dd0a5d30d8"}},{"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":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae42343f1f42d39d6d25f3daa70d3d9d65933de1b02af8fdf7d2bf4611e9e5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Queue (cyclomatic 12, cognitive 9): Queue 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":"ui/storybook/stories/inbox-search/what-needs-me.stories.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e971d4ec5a6be934f9af0a2d5a9b2bf69a0d1f1563b51344f27954de1021f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 33): (anonymous) has cyclomatic complexity 11 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":"server/src/__tests__/adapter-cost-failure-paths.test.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"81daebc3ed55f70a831a43b9d9d32525275d8e85462ff76c8271ee599c90e75f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderYamlBlock (cyclomatic 11, cognitive 27): renderYamlBlock has cyclomatic complexity 11 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":"server/src/services/company-portability.ts"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d54a0d3e4102086ce88ca4feb9ade6c879bf66936bb21f7b17ec697e7631b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentLifecycleWriteViolations (cyclomatic 11, cognitive 26): agentLifecycleWriteViolations has cyclomatic complexity 11 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":"scripts/check-agent-lifecycle-boundaries.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4c37e98480115df6e885767c738ddce0c986aed7f41b2e81dcd717948f2b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function next (cyclomatic 11, cognitive 24): next 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/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca965d387d4c5218b7dbcb74f6cefbfeb36e003329a1c2a6b4ed972d555cc21b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendPart (cyclomatic 11, cognitive 24): sendPart 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":"server/src/storage/s3-multipart.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22baf709a9416d619b44c3c6b8cd0fdc2c3f67127e86ed8e162961154130301"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reachableCopies (cyclomatic 11, cognitive 24): reachableCopies 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":"ui/src/lib/codemirror-single-instance.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57ad6ce76b1aff4b8a4f31de23813ddc297b5568ed6a66146930f73276278b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanHermesSkills (cyclomatic 11, cognitive 23): scanHermesSkills has cyclomatic complexity 11 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/server/skills.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb41ae9b9a605e629b0dbf02e134787a660bfff780bebb0f3b319045c965c1af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNoBlockingCycles (cyclomatic 11, cognitive 23): assertNoBlockingCycles has cyclomatic complexity 11 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":7878}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ee6ce8bd0b66ebc21af3a0d9b1be1d0e1cb0eec5a20ffe9bfb9ab26c722bff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promptForImportSelection (cyclomatic 11, cognitive 21): promptForImportSelection has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae431b461684cd336806c4f2a84c91de2c13f2f3bfbdd2de0dd4f829102100d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareGeminiSkillRuntime (cyclomatic 11, cognitive 21): prepareGeminiSkillRuntime has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"39809a4b575bbf5e3a3c3cb3cfbe9702defe651dd7860c44b6b8231f0467005a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 11, cognitive 21): fetch has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fac97679919a6f0a2927a5aefdea9b6b6380cc9093c34b7edc0b281039af94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 21): visit has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9dc58215f0a1a0a0a73ce69e90078967212bfc937adabd36550869e388fec1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 21): visit has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"23440dbec3a31ab2a766e2bb269afb0bc4603d62ce8ad4873b9eefe681a02660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 11, cognitive 21): walk has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/refresh-chat-shard-durations.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d888aca4602a796f53a461617caf5972221f3d48d65d189e454d51623ab1f97c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":37432}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c6830fcf12c7fd4a72dd3d64d807bafe99de5266b58c1e74d75bcd143f2e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 21): load has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-environment-settlement-work.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbd4973b8be4e4bba60d88c57203cbf2650982a465c132f24c5ce54c9044a58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rehomeStrandedLegacyWorkspaceTasks (cyclomatic 11, cognitive 21): rehomeStrandedLegacyWorkspaceTasks has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaf799e63a926179102ac04a2de6e97292652c66c8158156c19535f401acfe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function continueTasksAfterWorkspaceWriterReleased (cyclomatic 11, cognitive 21): continueTasksAfterWorkspaceWriterReleased has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/released-writer-escalation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f905bff025fe9ed607d8e5a89bf8906999fbc59032d3c0489c597ed91e0fff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createObservedReader (cyclomatic 11, cognitive 21): createObservedReader has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/product-journeys/observation-read.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49daa340f50f97e96586f102b68ae7016407d030a059d392942cf38d663aa9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 11, cognitive 21): receive has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2045737f140e2e3132b65b31d1ed17d572db1d5ebd8b74fb8f6a27359ef83d81"}},{"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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d396fa0d6d7a9c80735bb754fd08839fdd93e85e31630526b8953da9985e6848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageContainedSubtree (cyclomatic 11, cognitive 20): stageContainedSubtree 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97d042ee1a98aa14096246346ee5487e22596d8f55bbea13c49732bd0bd6f0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexNetworkReadOnlyRoots (cyclomatic 11, cognitive 20): codexNetworkReadOnlyRoots 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf7917502bfc81f6bc65723a8afc6d3f7bbe45e1b4d8c5611c68155d95b3314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundedToolDetail (cyclomatic 11, cognitive 20): boundedToolDetail 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ffe40eaf4fb1a60fb8c4f817e17bba83fb14184f42075fda5a6c656444f17b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function events (cyclomatic 11, cognitive 20): events 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/plugins/sandbox-providers/createos/src/execute.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"91745a8506e3be118cbba66acdea53d9e3a5115e4d2015db2a94bfe6dbf072ce"}},{"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":"server/src/__tests__/chat-project-tools.test.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a507d17f1133b7e57d4fe83bde5eb28db52261b9a9470389925a42d6738f541"}},{"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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a81a4bc3a321d6ebb8c96aa4596c98e03379b825d4b1c4736efa74d4f5e8b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rawQuotedValueEnd (cyclomatic 11, cognitive 20): rawQuotedValueEnd 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":"server/src/redaction.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc9c1dc35f7fb7f9a46827128c22c3b60b3ee66e56e464715500f68dfb2fba2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 20): load 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":"server/src/services/chat-channels/discord/command-schedule.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448f56cc629469856e27f49ad6d461f0fb08926d047b00a3265ac6239c5ca30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renew (cyclomatic 11, cognitive 20): renew 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":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"87de7c942681159d1299c9599ad24ae43e121e018f4d17e6ba09cf024fc62b63"}},{"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":"server/src/services/native-runtime/native-remote-retry-admission.test.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"20867f51e100abd5823ceaafa7eee291a6c9baef82c0fecf1fd8bcf76753ff9b"}},{"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":"server/src/services/secrets.ts"},"region":{"startLine":5318}}}],"partialFingerprints":{"codehealthFindingId/v1":"058f94c08c69dae53cadacf297ef2e78a42735c4e892eba2d5f7cf19cec60422"}},{"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":"tests/runner-e2e/server-stop.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0092c9b7c4b165cb7dcc0c8f32cf3f238c9cca6c0cc1fe153a135a9e7c581fde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConflictList (cyclomatic 11, cognitive 20): buildConflictList 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b92b6ebe25bb6e1b0732d42bbb628e2efc7a6e694598e5b15cd3e678183af7c"}},{"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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ca5e65b2d3a3adbbf01331e1d36108a01d87094353aa2109f0b1b973d6fd46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAppliedMigrations (cyclomatic 11, cognitive 19): loadAppliedMigrations 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/db/src/client.ts"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8459e26c56d9e1eebc7406f6f5974962f78bbaf562fafcd8e6b1252128a3d737"}},{"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/paperclip-runner/src/live/live-session.test.ts"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"59370a4224b32f2444c9b429c3b3f53db4e57a10f3d524cfe50cc8cdae8b67c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withSandboxActivityGate (cyclomatic 11, cognitive 19): withSandboxActivityGate 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd2443f2f85c9804bff83d72bdd6be5db2d27c43681d41aec0abae8745aea5e"}},{"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":"scripts/github-actions-reader.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4641c834edb11e74babd308a03ca167d51442e2fea8e2c391bbac0b8f8bd54e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextInboundDeliveryAt (cyclomatic 11, cognitive 19): nextInboundDeliveryAt 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":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"664179d4cf968f8ba84f2cae9749584a0b18d6aad50f5b51a3998769112470ea"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":11857}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654b63a48fefc7223ec1b19aa4f62635985e015a666be7a9a47c4476bd1b592"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareProbeCodexSource (cyclomatic 11, cognitive 19): prepareProbeCodexSource 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":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83c248e1d1be502552a642bf520e0976354cd06a6b2ca8408c7f7b0a5deb636"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listIncompleteUploads (cyclomatic 11, cognitive 19): listIncompleteUploads 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":"tests/restart-chaos/storage-audit.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc74544388867ed530ab4348719f761b3cddb269951e063c6db011eb47ef1e62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function freezeChatCampaign (cyclomatic 11, cognitive 19): freezeChatCampaign 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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fb6a7133534e7f0dc7bc38ca5313cec4962340039f4bac3240b7c3b2b64684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyboardMoveQueuedMessageUp (cyclomatic 11, cognitive 19): keyboardMoveQueuedMessageUp 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":"tests/runner-e2e/chat-catalog-domains/runtime-queue.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4382b855fa6f7c30baf1ec45fdf70be755d95ea8b67ce06996bf3a1919150656"}},{"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":"tests/runner-e2e/copilot-context-permission.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c623e5ed244e0b21ed78341b8bc5c5652f4798eed27f66665eee328f9ca18e06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageGrokProjectAssets (cyclomatic 11, cognitive 18): stageGrokProjectAssets 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed336dfc3c609185dc5176373c8b7ec9528f2b6e3372ff582f398fa2fd16c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editTrust (cyclomatic 11, cognitive 18): editTrust 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/paperclip-runner/src/drivers/codex/codex-startup-trust.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d0df3943d1877e3231057afaadf1f98d261e9cb7f9a5aac1137042186b943e"}},{"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":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.test.ts"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c853915e14b79cd161d388532a61249d2ff66ea55d7d34f7bff7a6c4071b252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertEvalBehaviorFaultMatrix (cyclomatic 11, cognitive 18): assertEvalBehaviorFaultMatrix 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/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"be10f801a28d72739da395c3b2644e4bc744e65b6c2f70b364d9cc5d25cf5d20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveBundledPluginInstalls (cyclomatic 11, cognitive 18): resolveBundledPluginInstalls 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":"server/src/services/bundled-plugins.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c4ce162ccbb84091c69d5ae7837bed311f18b392df6ec7405324c749ff38e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dequeue (cyclomatic 11, cognitive 18): dequeue 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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf444870638eebada8101937618573fd2fa9d38ae717ebb789a8777a2ba31755"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweep (cyclomatic 11, cognitive 18): sweep 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":"server/src/services/decision-continuations.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bebb09176844538388f9f5ecc28d729a71096d356d27ccc812dca93208f6d4"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":3405}}}],"partialFingerprints":{"codehealthFindingId/v1":"504842460a67521e6991c315065567c9900ab77fc75820eb8d65903cfd27c1de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCatalogAccess (cyclomatic 11, cognitive 18): resolveCatalogAccess 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":"server/src/services/tool-access/profiles/resolution.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3043c86e8cc77e5f05699275506b7942d3845cbaae45836688cb919795ef9ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chunks (cyclomatic 11, cognitive 18): chunks 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":"server/src/storage/s3-provider.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff189605343d1eb3e869331b20eeaeae85c979e5d39ea0b6fd10a39bd3e1ad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectChildren (cyclomatic 11, cognitive 18): collectChildren 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7e3603b4fbd34b99fca9364291dbaa9f4b7ea77933073aec5ea19bf4111651"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolCountSummaryFromEntries (cyclomatic 11, cognitive 18): toolCountSummaryFromEntries 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":"ui/src/components/task-chat/TaskChatLiveRunPill.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2663beb3cc7174039c3e7fd527400ac5486845636b162cdbda8673520bb8c5c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSecretAgentUsage (cyclomatic 11, cognitive 18): buildSecretAgentUsage 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":"ui/src/pages/secrets/agent-secret-access.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4d99f4bb8066d4fde77c61480a5377533b8f7b82349292ead5aeec0708a02f"}},{"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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b6a5a094031a188e52656cbcfbe4f102f7bf2399fc1b611fb631d5cd80a39e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeMaintainerOnlySkillSymlinks (cyclomatic 11, cognitive 17): removeMaintainerOnlySkillSymlinks 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4741}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac9b718afb94695f426f8f4bc8060f28dae636826b9b0030fe609a65a24ba4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 17): visit 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/paperclip-runner/scripts/public-eval-viewer.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fb86dd0654689aa4698019c033a87716bcdf0af555877371802abd83a862d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateProbe (cyclomatic 11, cognitive 17): evaluateProbe 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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fc6c6ecfcce8bee767929277e3a127b48d10a1417cd6bbac4c72bb0e5a92dc"}},{"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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc2ee4e4d43fcbefcb2ed025ae31b7acbb472d338a46828f84574a811a12fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitProposedPlanBlock (cyclomatic 11, cognitive 17): splitProposedPlanBlock 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a474fc4042a715c79b872eb7550e2e82e296770f9e81067655b5524c16a65cb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveIncludeArgument (cyclomatic 11, cognitive 17): resolveIncludeArgument 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":"scripts/__tests__/runner-release-crate-cache.test.mjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e736ea197edf9694b29b651bd518f53eae308e354cd6dd5e44db9a4525c95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLane (cyclomatic 11, cognitive 17): runLane 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":"scripts/ci-typecheck-lane.mjs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"068005c1edc70be0da503c23964e76df0d4e8f25b7d7b53be57e7b1af62e3e10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectInternalDependencyVersions (cyclomatic 11, cognitive 17): collectInternalDependencyVersions 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":"scripts/verify-release-registry-state.mjs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47f0f2d2c87348afcf0980cc44dab2b4272daf8f10e5fdab3f402a9b0a35690"}},{"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":"server/src/__tests__/workspace-runtime.test.ts"},"region":{"startLine":8341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3528ddaca8c5faa5bd3f6aeca525f71927d53eb861cdaa7d3dbc8182efb2d9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertImportAdapterConfigConstraints (cyclomatic 11, cognitive 17): assertImportAdapterConfigConstraints 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":"server/src/services/company-portability.ts"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d372bd7febec436a6e91254c4d5bfb8dc4be73539deeada6028d1843ee8cff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitProposedPlanBlock (cyclomatic 11, cognitive 17): splitProposedPlanBlock 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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"130b724e2063955605b0940eb2b2920a355ae7bdb73be531d692ca7415dbce51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAffectedAgents (cyclomatic 11, cognitive 17): buildAffectedAgents 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":"server/src/services/issue-tree-control.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b201f686348632a1157edffc538f09b2aaa69824c3171cd89395b023e7b0ee8f"}},{"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":"server/src/services/native-runtime/native-harness-backup-throttle.integration.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"151186191c08c57d1d81bcd08cdd5d424934e173adc004126727edcd890986ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRemoteProviderVerification (cyclomatic 11, cognitive 17): runRemoteProviderVerification 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":"server/src/services/native-runtime/remote-provider-pack.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced847aaeca89872af8018731e1d6fe81593adf51fc839ddf09ccdeadf3dc03"}},{"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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8d7eb96d92c5bf0d4eefabbf320930565780d4a6f990e9b21b22833709c48c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollUntil (cyclomatic 11, cognitive 17): pollUntil 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":"tests/runner-e2e/api.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df0eeb5e9485315b72ad016c1b22f42026dea3097a7f03ac1e70e647d3303c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceMembershipChanges (cyclomatic 11, cognitive 17): sourceMembershipChanges 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":"tests/runner-e2e/chat-catalog-domains/identity-new-company.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ef33f282df4c5c828cc5d0a8db6006ed6ebf028debbc898d06427e4a9b34b"}},{"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":"tests/runner-e2e/manual-private-cell-report-assets.test.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a000ee234fca80cfa94e1135a2e74559e3cfa14a6d3ab172e8aa2c818e3699"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncLoop (cyclomatic 11, cognitive 17): syncLoop 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":"ui/src/components/AsciiArtAnimation.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"84910e8c9e6fc7fdcd2eb8e67dbb2e753d6d6f24cd96966cdbf3785aec2fa764"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleTaskPause (cyclomatic 11, cognitive 17): toggleTaskPause 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":"ui/src/components/SidebarRecentTasks.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1640e91e4638f05623b18c63d821e6129d2b051aa59fe3cc298df54c1478b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitProposedPlanBlock (cyclomatic 11, cognitive 17): splitProposedPlanBlock 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":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c40dee80fe22d246d6ab0ff057d8a75514cc12d9014c4e4a5c3b3d5a153d12e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nearestSourceBar (cyclomatic 11, cognitive 17): nearestSourceBar 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":"ui/src/lib/timeline/layout.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b181c99bcd8621bf802241e2483fb8fbf4ea51f41496a30e6f0b556a3d3703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareClaudeSkillRuntime (cyclomatic 11, cognitive 16): prepareClaudeSkillRuntime 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ead04ae61526a43de60bf4b20c6f3ace61c0e91a365ec08f04206531c07919"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readResponseTextPrefix (cyclomatic 11, cognitive 16): readResponseTextPrefix 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd643f2044bac774e1424ebb13c975a173480ef612b4a34965c5bac969b9f82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tomlValue (cyclomatic 11, cognitive 16): tomlValue 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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f14176c613e70e4083a75188ad759ca90584235ec82a420350531b4421f62b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureGeminiSkillsInjected (cyclomatic 11, cognitive 16): ensureGeminiSkillsInjected 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"995c87d9a79ce04a6ffb2efeaae6c9b3f624b6d26a012c2317f4c7fc37562913"}},{"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":"packages/db/src/postgres-queue.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"df808c5a4ba56a3d40b4851010b0582a0a417a24e1e67bf0f3a9d69fd066d9c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packRunnerRuntimeDependencies (cyclomatic 11, cognitive 16): packRunnerRuntimeDependencies 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/paperclip-runner/scripts/check-clean-consumers.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4144c5a41aa978ab4a4f8074f4dd4bd42e4b789a76baef095f752d15dd0695"}},{"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":"packages/paperclip-runner/src/drivers/acpx/pi-provider-config.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c716c06d9e4a5acf0a82b4f5f88ab5fa2b190dace44fa52e37aa2ef5635655f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLocalProcessStartedAt (cyclomatic 11, cognitive 16): readLocalProcessStartedAt 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92d7efb7191be5a6e80718f1a5f000c793e13503cd166a474d348df34ef1f5d"}},{"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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ebb24f005ddddbce3c01a4bedb54c07c973c733d9b94866463ea36c6367cc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handleLine (cyclomatic 11, cognitive 16): #handleLine 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/paperclip-runner/src/mock-core/local-runner.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee1b628a5bab7b084b4ddd0262d517a8c71abaf1bfca5a066c707f8c3bf4dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirm (cyclomatic 11, cognitive 16): confirm 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/plugins/sandbox-providers/daytona/src/idle-activity.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f28bb5e8851c3de898f8e35e91ceeda87389dd308d3b66625f161411b097222"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseE2eLog (cyclomatic 11, cognitive 16): parseE2eLog 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":"scripts/ci/pr-run-durations.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed74b60135197a5e379a6b6c5e060107e3ac52f1f9a46a060e298f34ae1212f"}},{"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":"server/src/__tests__/agent-interaction-acceptance.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b02ac96c92821fda829a3b19a5646dcc720d8c616c4ef6c9c12dc9330a2727"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":65852}}}],"partialFingerprints":{"codehealthFindingId/v1":"390c5f1d4260f73c3c75d58b6cc9f099323200b54b73b8ad227428f892fd4684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteFixture (cyclomatic 11, cognitive 16): remoteFixture 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":"server/src/__tests__/closed-native-receipt-accounting.test.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1cca90274d12c18a967d6f7996090c55f2b46fec7d2fa945260512b826904e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 11, cognitive 16): fetch 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":"server/src/__tests__/idle-completed-history.test.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"055862846cd2a8588909c1a3ded9ac5432ad280814db1cf033854f606a95a25a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileReattachWatch (cyclomatic 11, cognitive 16): reconcileReattachWatch 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":"server/src/services/heartbeat/reattach-phase.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed89fcc3953e9bbb7ca9097683d9bef6104c545908af64e66fa9b7b8b66e6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertTransferredItems (cyclomatic 11, cognitive 16): assertTransferredItems 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1148f2e9266e3d0b814a1edf3fdb5fb7de7f0d5473e55d9906c8e33dd0170b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function undoMove (cyclomatic 11, cognitive 16): undoMove 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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"74323410f0aea8641ee90b2d01affba988dd078d7f3d2c3810f5d1088c0d54e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issueListOrderBy (cyclomatic 11, cognitive 16): issueListOrderBy 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":"server/src/services/issues.ts"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e44be1b21a0f9ebb4462f4f6e4e271e43e6a5502a9feb31ae15e053d43fffa"}},{"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":"server/src/services/native-runtime/native-runner-restart-recovery.integration.test.ts"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dad193e4add951b2805a77cb219bf6e4a76f77b1e8f9bc0e79a3f2c187862af"}},{"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":"server/src/services/run-evidence-migration.integration.test.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"65131c889b0a3aa5e4ed8004a8041702dffe5276d51295984f63662f433b039b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseExitedRuntimeSkillCacheLock (cyclomatic 11, cognitive 16): releaseExitedRuntimeSkillCacheLock 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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e01d338928721c5928dd8c2dfe318a43e5bf901163e1bbe395f9be0ed2894eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectElicitationRound (cyclomatic 11, cognitive 16): collectElicitationRound 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":6901}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8f9ba9153e18b0389b7eed5e0fae97bd4f5c0c245c50307cb1088cf5924d34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function release (cyclomatic 11, cognitive 16): release 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0235848d42c82b706b5ec5ca9c01021678eeeddf96d1624b7def9d0063233001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readyAdapters (cyclomatic 11, cognitive 16): readyAdapters 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":"tests/restart-chaos/ttft-baseline.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3422bd8c5814335ea18c89beee86bfbc3115e831bbab8669d13666bf4b02d2a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalRuns (cyclomatic 11, cognitive 16): finalRuns 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca566fbbd73082b6f0116270218987cda9e8176d5268650df363f8681af3b8a"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.test.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba63044740c64d7c473ef9b08d77aa995d2f8bdf72f0fc488885f0abf36c2ad"}},{"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":"tests/runner-e2e/chat-catalog-domains/integrator-case-related.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9972676e644ad3b0d2dbb390d765f3475fe1befab73a5d0c02fefa2a968be3e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workloadBoundaryReceipts (cyclomatic 11, cognitive 16): workloadBoundaryReceipts 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":"tests/runner-e2e/chat-catalog-domains/runtime-workspace-repositories-support.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d9fad30cb9a7db1ddaf57bd806505a1bda09b3d8498699d0770e87cc66027c"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf42fc4ba59b5a6cc2c1b8b2ce4a100cba4249887b52bee2b8871ec2c3508d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeComposerHandoffPreview (cyclomatic 11, cognitive 16): computeComposerHandoffPreview 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":"ui/src/lib/interrupt-handoff.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6994f9aafa9f0f9968a83ca8e2f6616150c9fdae96efdb5576792f61ec5b7c61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveSourcePrefix (cyclomatic 11, cognitive 16): deriveSourcePrefix 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc18a5de4ae06fbf1908a3fe04417f1b4f0aa424c65d322a5b93c6a466c57a28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInstallOptions (cyclomatic 11, cognitive 16): buildInstallOptions 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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3d717be7be0c31fd7143c804c3a848e5e520e124f59207f3587d4e4cf31b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleTool (cyclomatic 11, cognitive 16): toggleTool 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":"ui/src/pages/tools/profiles/profile-model.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"071b728fd4885be21b7f8ceaae9de5fce09a9102b1a31e808723d11b2db86f8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 11, cognitive 16): tick 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":"ui/storybook/stories/app-permissions/action-permissions-test.stories.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ca4f70b51f9fe09190a09dddfeb6154cfdacc563896640a0431ad6ad7d705c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAdapterExecutionTarget (cyclomatic 11, cognitive 15): parseAdapterExecutionTarget 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc50c309bb3dcea2e80f69364d6e4864d2d8af1702c24f516a3f0f444b03a28e"}},{"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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e219ebccdc7e436ac4b140ee56b6be14cb3f36662f58f09acfa5449e1ef99ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 15): parseArgs 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/paperclip-runner/src/cli/codex.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90bc3b3d13e4e3c6d9c7435a2c2e6f8494c3695b69a9a87cf17a5d5d7ec200f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #runTurn (cyclomatic 11, cognitive 15): #runTurn 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/paperclip-runner/src/live/live-session.test.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2e476425c8fe1d6981e6a289f8291bd759a93cb521704f9393b816bf59993e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function localTarget (cyclomatic 11, cognitive 15): localTarget 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/paperclip-runner/src/live/workspace-file-reference.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84b8fc7518262803874104e17bba7d3378dbce9c28d65dda4b4a7065a8497a1"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":62096}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6e8fdb855ec2da2dbae34b6f8d117feb2bafc664f8fd384906fa93d9c41243"}},{"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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":13872}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0331b543d62d42d740762e29f89f1e1012c0392973e0ffe1b3851af91c64ec"}},{"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":"server/src/__tests__/muse-control.test.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f4026c684fe3129b4e33555cf44f092fcad63722352e1ef55bf764a73cab51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEnvFile (cyclomatic 11, cognitive 15): parseEnvFile 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":"server/src/dev-runner-worktree.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab9b227b821fd6ca67cca1155ae8c01da0a9e9088ae81a50efe665e4a795e44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleClientFrame (cyclomatic 11, cognitive 15): handleClientFrame 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":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7a2402b090bf8dad59052c71eac2def20ce2ed2709ec1b4d4042b488623000"}},{"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":"server/src/services/budgets.ts"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a59d562d451adeff188ec05b0feebd650d2b9d65c8872abb017e663736f184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function project (cyclomatic 11, cognitive 15): project 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":"server/src/services/chat-channels/failed-retry-notices.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c70f277d7f39dc3aacacb33ac05dd6c95245630162ca6c3316ab67a9b6196a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discordJson (cyclomatic 11, cognitive 15): discordJson 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":"server/src/services/chat-discord.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d0ab2d82552eca50871f224110a646fb05b8755e5700d0b893a451ce196447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeSlackDocument (cyclomatic 11, cognitive 15): authorizeSlackDocument 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":"server/src/services/connectors/slack-document.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5eaa27f95af380b18e149d5e7a7ee01de408577fd6e7c5a296b65d819e1544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCommitSha (cyclomatic 11, cognitive 15): findCommitSha 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":"server/src/services/decision-training.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52fd0c15aa60e1d0e8e7810acd48e27bf4857d0c543303b86093822efdcf208"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyReusableSandboxLeasesForEnvironment (cyclomatic 11, cognitive 15): destroyReusableSandboxLeasesForEnvironment 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":4579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e534b11925623469a4c9a65352babd778a4b921c7b99f1d52e7ce9fc4a195603"}},{"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":"server/src/services/heartbeat/budget-cancellation.test.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"414448ae12e3033a58a6b36c9a19858b35d4aefde0e294b89420c722468ca15f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 11, cognitive 15): start has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-ai-browser-login.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f899bfbdc29d72052a8bbc59eaf0f7bb8eb9b719d6923741d2c2c24de8af041"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncManagedAiCredentials (cyclomatic 11, cognitive 15): syncManagedAiCredentials 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":"server/src/services/managed-ai-credential-writeback.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aed487aee1dfd68dc991fac4240e2e15f92c5066450d1a876fadaca4c934fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapSources (cyclomatic 11, cognitive 15): mapSources 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":"server/src/services/native-runtime/native-harness-backup-migration.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a0a112ac295198e3e1b0c4e34b439b61734a0c17e381500d0c8fc9adf0177"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRemoteRunnerRecoveryProbe (cyclomatic 11, cognitive 15): readRemoteRunnerRecoveryProbe 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":"server/src/services/native-runtime/remote-runner-recovery-probe.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c872d30812801da617df93eb26c9aac86b910925fac0734407b4c984bc475397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 11, cognitive 15): receive 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":"server/src/services/photon/recovery-transport.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f243be87fd1f0a4ff8254b98cdea326f8f4dce4c634349a858a3f2ff9d8a5079"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePolicy (cyclomatic 11, cognitive 15): updatePolicy 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":3405}}}],"partialFingerprints":{"codehealthFindingId/v1":"df53e9af8af3af2546df92d09d28bc2afe59ee8f8a02358dbf6a6a5f52659b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareWorkspaceWithPolling (cyclomatic 11, cognitive 15): prepareWorkspaceWithPolling 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":"server/src/services/plugin-workspace-preparation.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f23c7a5f2cb469ad5cbba66e9f89713865d627d74e1c5098a3e70a463ede3ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRoutineVariableValues (cyclomatic 11, cognitive 15): resolveRoutineVariableValues 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":"server/src/services/routines.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"982bc11fa0fec2592356b91cd56dbcfa18b85d225138d0b1c3d6ebd077ab0ce2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revokeConnectionGrant (cyclomatic 11, cognitive 15): revokeConnectionGrant 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":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1e64b855d9c2f2ff431c409e69a18be99267029867b47baa9d2f46bc3cf882"}},{"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":"tests/restart-chaos/remote-oracle.test.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc481109fe62e05550ed7e1f00d43d91bd575c3aa5b7010e4668b1d7319224b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFreezeFault (cyclomatic 11, cognitive 15): runFreezeFault 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":"tests/restart-chaos/time-faults.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d5f7b505480e61759f9bb3ebfa452d8a8a7c91de0d665d41cc4f51c507576"}},{"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":"tests/runner-e2e/antigravity-journey-config.test.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c0a7abf48b38ac291c232420345f6513c16f3a3d2387fa55d48b9a4aaef47e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForLatestConversationReplyRender (cyclomatic 11, cognitive 15): waitForLatestConversationReplyRender 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":"tests/runner-e2e/chat-rendered-links.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e8b9b90af7a187de78eb877078e3abde093e04fd6daf9e0dec30b205ad6e09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEvalCostLedger (cyclomatic 11, cognitive 15): parseEvalCostLedger 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":"tests/runner-e2e/cost-ledger.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfb1d415736b41d82f1cae1a8928bd870db1ec42b6ab4bd0830c4a9236967ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicScreenshotPaths (cyclomatic 11, cognitive 15): publicScreenshotPaths 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":"tests/runner-e2e/history-publish.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e8365ee75249f4d75c49fa0fa67447a9733936dd7deb9935e44e756a5ead61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendIssueRow (cyclomatic 11, cognitive 15): appendIssueRow 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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a033cf92f75a573ae1de162f5b40e501a713349b534948dab66518da0312af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssigneeIdentityAvatar (cyclomatic 11, cognitive 15): AssigneeIdentityAvatar 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":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7949b037fc94fed39bdedbb432d42fe83a118ad5732a1f7e851a55d399300a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printUserMessage (cyclomatic 11, cognitive 14): printUserMessage 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7532cbcdfdd1c86e07f3b60df73bfb7c8e3a56456a8a32953681254fc2e5c50d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUserMessage (cyclomatic 11, cognitive 14): parseUserMessage 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eacc3c474dc4dcc80466725207b6d3588dd53dc0302ffb4dd707e307a416e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseModelsOutput (cyclomatic 11, cognitive 14): parseModelsOutput 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/adapters/pi-local/src/server/models.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"38edb3327f736634477246def1407b9a4929d69962a3a716788d762ef15939c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeRestoreErrorMessage (cyclomatic 11, cognitive 14): sanitizeRestoreErrorMessage 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/db/src/backup-lib.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb24e55292fd22e66fe1395725b8234bff0dc2341db1779bfa38319203a7f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDatabaseRestore (cyclomatic 11, cognitive 14): runDatabaseRestore 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/db/src/backup-lib.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d99abe458371c64dcd79694ddc98357328bc865c916a60fa7f1dd32ee2ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rustScopes (cyclomatic 11, cognitive 14): rustScopes 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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d6142a4d2571de2c514ac8f02bb497c364dfdef1b6c766e74cafbbc3bb988"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.test.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a041cfce7aa9ec35fcd6f5a80aa9980ac4ed9f3c4d0ec7e2355bbc728c59a9f"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.test.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eace186224c034bd600f6f1ee0b17583cab5d604475030fdef354629f597ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traceMetadata (cyclomatic 11, cognitive 14): traceMetadata 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/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9249a5dc3ce250607ab4086d291abcbeb6f23ad3c7992c930d4c86f55a5d72"}},{"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/paperclip-runner/src/live/runnerd-acpx-source-reconciliation.test.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b2ef240115794379aa448c12ebcfd7802aaa37c50272672bae72f4e7abcc16"}},{"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/paperclip-runner/src/live/runnerd-codex-transport-attachment-recovery.test.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b6e7c14f062103933c7fbcb35c563fb7fa3af5052fa19856b60188d31ba731"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #waitForProviderIdentityWork (cyclomatic 11, cognitive 14): #waitForProviderIdentityWork 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":8218}}}],"partialFingerprints":{"codehealthFindingId/v1":"17978b770751d8281ac2f329bfa99dd35f04d190a6c8719b4a732c0472fd5fba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listenerFactsForPort (cyclomatic 11, cognitive 14): listenerFactsForPort 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/tailscale-https-broker/src/proc-listener.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fd1c31bd71794393e94ac4acac7004ee883538922f4602ace11accde449bbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTimings (cyclomatic 11, cognitive 14): parseTimings 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":"scripts/ci/refresh-test-durations.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a309d381a07db6df569c322a57904c0d696171ff9cbeaed73297d9169843c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverAbandonedLock (cyclomatic 11, cognitive 14): recoverAbandonedLock 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":"scripts/ensure-plugin-build-deps.mjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e5fa98f3dcdd738a1cdb84607ec0b3cbed04745edc3d4ce9a419eeafac98ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 14): parseArgs 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":"scripts/extract-proposed-events.mjs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"256f58c56a45c5812f4da8fe6cf54180a6ee97acea0521c96d1bafc72c1988ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 14): main 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":"scripts/merge-group-image.mjs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb24378bf65d760228316795af94c73a88fdad93f695f5fcad21d5dee5c2fe73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callers (cyclomatic 11, cognitive 14): callers 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":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2945881ad5af994058558696787a4733f2ae682ab7b5b9e90aa1313432b4422"}},{"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":"server/src/__tests__/codex-local-execute.test.ts"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ec6d505badcc56e2a3c0bcbd797da417efae374548671ab4a436c427f916b9"}},{"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":"server/src/__tests__/helpers/maintenance/default-cadence-bridge.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3e43d4c829723a65fda97792f89646d5b628543e0d406076313282c38ba750"}},{"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":"server/src/auth/workspace-login-handoff-plugin.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f6465519a780df93209005983c24aa7e29c4eab3b9980b88603c0f4b30ebb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInviteOnboardingTextDocument (cyclomatic 11, cognitive 14): buildInviteOnboardingTextDocument 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":"server/src/routes/access.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"764716f3bb3203d59a83577025a4b779f73857acd7613e362612db44b95156a2"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ea135c2e0e9675271c684c1538aae4b8740889b28fcf4875af44995a1c1915"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":9666}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bdfa1ac1936ff98b56b57b5afdb5ba97cd8ace1425a93f120ac96ccf32afb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCanManageProjectPrivacy (cyclomatic 11, cognitive 14): assertCanManageProjectPrivacy 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":"server/src/routes/projects.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2111fb4233e174f13c362d30bea6e9b519ec21d390c7f4500a53d336a945f7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitLocalChanges (cyclomatic 11, cognitive 14): parseGitLocalChanges 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":"server/src/server-info.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85828982f665e70a6962d384b83ef50ce3ed53d779207fce22cf77be059a664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceCloseState (cyclomatic 11, cognitive 14): sourceCloseState 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":"server/src/services/attention.ts"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d47baece9825d0e269ce7d82feab6d0b0ac7f1cab99557e4a746dd332e6029e"}},{"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":"server/src/services/authorization.ts"},"region":{"startLine":2990}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcbb4dfdd5df7be0a5db1153c7409ae1d7d61a5c1c7d0f66ab4e8531eee1bff"}},{"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":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d323bd262a9d5b11a07998a21ed45cc40c5b10ef8fa90473d7387535c4f772"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLosslessJson (cyclomatic 11, cognitive 14): readLosslessJson 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5611832a8196579fbb9f13d37babc93e9123a1c1023e31248e915b8cdea2ab4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSandboxCapabilitiesForLease (cyclomatic 11, cognitive 14): resolveSandboxCapabilitiesForLease 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fbce835df8b900e305cb62d4fcff6721843a17db784c8f138d153004bf5681"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFullRunLog (cyclomatic 11, cognitive 14): readFullRunLog 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":"server/src/services/feedback.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8b8866d3f1168f220e4f9b342504e5cb17f002d6c5bf9d799c00d3fca844ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorkerEntrypoint (cyclomatic 11, cognitive 14): resolveWorkerEntrypoint 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":"server/src/services/plugin-loader.ts"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e4550871b1baa21f053ed72650c46265b570074233db6d0775667bcdfb4ccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCapture (cyclomatic 11, cognitive 14): openCapture 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":"server/src/services/provider-trace-object-store.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1af279704ab6b245bc7228b4e5b3b2904fc55712902e7cc9a06082a6c9c3e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureClaudeOAuthUserSecretDefinitionInternal (cyclomatic 11, cognitive 14): ensureClaudeOAuthUserSecretDefinitionInternal 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":"server/src/services/secrets.ts"},"region":{"startLine":3289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d18e7f1a82f1b1bac20ceeae74d4bf20673167d66efeaf08d9e5905dbfdaeec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeU2 (cyclomatic 11, cognitive 14): gradeU2 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":"tests/restart-chaos/universal.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aba4371da2b5dc52928e0e4893ab29da6ee15cd9f8d8b96489520637451d77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 11, cognitive 14): act 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":"tests/runner-e2e/chat-catalog-domains/external-plugins.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb43ce0b5e454dff0e5f55191836741d31964d45292e35c142d5f9886fac60b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function historyReadRevisions (cyclomatic 11, cognitive 14): historyReadRevisions 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":"tests/runner-e2e/chat-catalog-domains/runtime-queue.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"31091e005891b446455c45952f6d8d98a955e2dece201dc8360ecea1404a3b49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 14): visit 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":"tests/runner-e2e/chat-catalog-fingerprint.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac80327c7d98310c2b0560c0771b1207b4aebc8a1d5538b3a3b6157a675c3b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 11, cognitive 14): apply 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":"tests/runner-e2e/cost-ledger.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cd050e86b6ce2cfefcf85f17856b91384e951492596260344f9f60f59ef593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signalSnapshot (cyclomatic 11, cognitive 14): signalSnapshot 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":"tests/runner-e2e/process-tree-owner.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"96630bdcad9c4137f198b1c1f20c45832d3ab9f5089b7a91706344f750799584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareBlockedRows (cyclomatic 11, cognitive 14): compareBlockedRows 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":"ui/src/lib/blockedInbox.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4e7dd0b1d86590003272394dd44aea3284853b0e088e07d4da7d30bc71bcd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBrowserErrorState (cyclomatic 11, cognitive 14): readBrowserErrorState 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":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ee3464843bfdcae4823055c1c83a690f28131bc71f4666b5b4c1ab9e7b12f3"}},{"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":"ui/src/lib/connectivity.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b0bbfb70b6b46b46d00f6cbc58a616c1815f1c19b53e8032273adf3e42b2f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveKickoff (cyclomatic 11, cognitive 14): resolveKickoff 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":"ui/src/lib/timeline/layout.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"947cacd64db69fd5128a1f66c26958552b2ad75aa3fccfc983d9441a60fbfe75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 11, cognitive 14): mutationFn 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e0eca318585f9ffd2dd8420f9e284e33065862cbca3c41c3f77ee4747b850b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleActivateSelected (cyclomatic 11, cognitive 14): handleActivateSelected 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":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"5929988c8758a6b94f00f1dcde83ba7e17f5820084a959cbbf8cc407f314a107"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertManagedShimWritable (cyclomatic 11, cognitive 13): assertManagedShimWritable 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":"cli/src/install-store.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3431b074d5f161b199ad4bce4abf1805f0f631d96fa2d8febf7c9cad7be9a9e7"}},{"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/adapter-utils/src/acpx-engine/ui.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a0db5ed6aa8e93de14ced148bd594a249d508ff35361725efa6ce66f631e69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restore (cyclomatic 11, cognitive 13): restore 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/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bd981e74a73573b3f720a6fd52e54f8bfae3b5810886bd9cb1ae87ec0e5906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInvocationEnvForLogs (cyclomatic 11, cognitive 13): buildInvocationEnvForLogs 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3277}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a5ceb278dcd43047393d4fdb9ac9139d77b10c930da688af86edecdabb659"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listLocalProjectRepositories (cyclomatic 11, cognitive 13): listLocalProjectRepositories 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/adapter-utils/src/ssh.ts"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"966e0d943acc616433e8f30f451a763783b4c57417e3d1f7201b7ea14791d22a"}},{"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/adapters/codex-local/src/server/test.remote.test.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29d549aec97d7d6aca9f56f334473ad3864ada26fa221239841d93d3af20d7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMessageText (cyclomatic 11, cognitive 13): collectMessageText 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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c199d7bc712cde7f5043d2491f079a8ef2fd44396256d000585e43bd20203c8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 11, cognitive 13): fixture 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/paperclip-runner/scripts/controlled-evals/controller-fixture.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3478b5a4468d49acf16b5b3bc9fb8163c72051229f92f9fb187b68d4718f6e8"}},{"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/paperclip-runner/src/control-plane/durable-prp-control-plane.test.ts"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb4b939a2122cd113bc34e55b08d5bed6e7595aad2759a0847c27c9eaf29cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyClaudeStatusBanner (cyclomatic 11, cognitive 13): classifyClaudeStatusBanner 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/paperclip-runner/src/drivers/acpx/claude-status-banners.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76e5c837a3387a353db334af410cae808d12377321f45056a1468f8abd03bd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCopilotConfigPolicy (cyclomatic 11, cognitive 13): assertCopilotConfigPolicy 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/paperclip-runner/src/drivers/acpx/copilot-policy.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d593c0d8e29bb86184b569a0e3c0e113b2c579d0f80b59ebc95342213f06e4"}},{"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/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.test.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4649ba2c7b67cd04b05eedf9bfed55367026738a653ca2e0c0867ab52e57cb37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #json (cyclomatic 11, cognitive 13): #json 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eea5fa6bf5b49b84cd0ea98a06d78221a3ff8a95f7137b5874fb2d248630560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePaperclipRunnerdArtifact (cyclomatic 11, cognitive 13): resolvePaperclipRunnerdArtifact 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/paperclip-runner/src/evals/runnerd-artifact.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2dba6ff3d4e832bfd9fd7c430d5f72c679135c25c8e64b0e5e6e6993e952a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 11, cognitive 13): request 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/paperclip-runner/src/live/live-session.test.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e02d1f892f8f5e9cfc6b3792df6f198ef5c48339ee160d57151ffe72215f5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePlanRefs (cyclomatic 11, cognitive 13): resolvePlanRefs 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/paperclip-runner/src/scenarios/scenario-execution.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81da0d210a976075461236caa0063b8b1baa20f9b5ab2323da79d41f4d4677"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureSandboxStarted (cyclomatic 11, cognitive 13): ensureSandboxStarted 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afd2f9c625ab88653bf373227ae84940c2083ae99fece1db5d52c943ba81dad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isGitNetworkCommand (cyclomatic 11, cognitive 13): isGitNetworkCommand 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb2ac072f89be227bccf2d93c1ebc2f8f880f5eb6ffca00bcc34abb101e6805"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopLease (cyclomatic 11, cognitive 13): stopLease 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cf37f9b1c46dc3f544003a09f555205278cede277856ea7ddb1fd4c34bf5a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remapDocumentAnchor (cyclomatic 11, cognitive 13): remapDocumentAnchor 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/shared/src/document-anchors.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"560fa69c02540c73f1b47cc649ada42e70f0a609966af7cee44a1078dcb3b303"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSettingDefaults (cyclomatic 11, cognitive 13): parseSettingDefaults 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/shared/src/setting-defaults.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c3e7c8fd3f2243cb5fcc06b7b7dce71cf8fe32e2801f278072b7b9dc3d6789"}},{"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":"scripts/ci-profile/reporters.test.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e43e6498b940ac1daa23ed2169e1ad254956d1f0e95027a7bdaa577c85e8b"}},{"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":"server/src/__tests__/browser-use-connection.test.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb58f64f3e25be45616be518ab843b34bc41652cb28f7c2d5edfd331a9352cf0"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":35290}}}],"partialFingerprints":{"codehealthFindingId/v1":"145f66337cf5db448dac8684438f3e904d51ee48b2592e17650d40cd4ec975d8"}},{"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":"server/src/__tests__/helpers/ephemeral-skills-server.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa558283cd08c8b547d7a10748b41785a28e17b41baacaa62c8b0f2b0eb9a20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readConfigFile (cyclomatic 11, cognitive 13): readConfigFile 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":"server/src/config-file.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bb77553a4230775715feb90f6096538ef378423d42ce4508dc61b0964e9441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCanApplyProtectedAgentChange (cyclomatic 11, cognitive 13): assertCanApplyProtectedAgentChange 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":"server/src/routes/agents.ts"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"903b8ccee6a86696e172ce206891f3d1ded21213f7a32799e3cb4c0169578946"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":5306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2874e0fdae76238353e56fd00fa618415a30152a3d07d10bbe7c9d0b9e714053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentEnvironmentForRead (cyclomatic 11, cognitive 13): presentEnvironmentForRead 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":"server/src/routes/environments.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94b79b5e26deb0b3c46d10eb900582fe4dd285a0e05fb1049703c7da6b643b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readListQuery (cyclomatic 11, cognitive 13): readListQuery 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":"server/src/routes/file-resources.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3fb89e39a5a6269c63d9d6db8cb5ebb8808d4d257a683522aab889a6f7ff32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recheckAssignmentWakes (cyclomatic 11, cognitive 13): recheckAssignmentWakes 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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b920de06f4ac6ff0853f4eeeb4d3a62cd4dee0559eef471dbb400f121df952"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function interactionEligibility (cyclomatic 11, cognitive 13): interactionEligibility 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":"server/src/services/attention-retention.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bd2edbeb5b910bcf032724378f0111c77d53e798971d2d5d03eff8ac89558e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayPublication (cyclomatic 11, cognitive 13): replayPublication 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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e823e74f91cec30163a1336d8adb0fae97578f616d4306a572edf239a84cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendToList (cyclomatic 11, cognitive 13): appendToList 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":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3973030ed018d62b6e3ed9582f2066ea241d471500006e245f644eb9653eb8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sortAgentsBySidebarOrder (cyclomatic 11, cognitive 13): sortAgentsBySidebarOrder 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":"server/src/services/company-portability.ts"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"75455b448720bb11aadb3ec0ad6ca1fe6abed7dea4691d791cd7a07a7d661387"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneDefaultLikeValue (cyclomatic 11, cognitive 13): pruneDefaultLikeValue 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":"server/src/services/company-portability.ts"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"61578afa5f09b404b6c266a98bc2bd14d8f5df2563b5f971545838f867bedb12"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"873314a0218bbac05eae965e994f77ddba394e81af25321883f3fcdd6dcc18a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 11, cognitive 13): get 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":"server/src/services/email-connections.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6f6ed9fcedc16bae5c06f38317c3274d4ad4d0948dab10d9c3bb04fa42b5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCustomImageSetupSshCommand (cyclomatic 11, cognitive 13): parseCustomImageSetupSshCommand 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":"server/src/services/environment-custom-image-terminal-sessions.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3a6b5fdb6a76f0e6fb286f457085ad8333b8aa5f19337f24884fd9bd8f38f"}},{"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":"server/src/services/environments.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2d32af63c30471c59a502c262d815a67ad66257c909e71ac9b54668a51b61e"}},{"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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4431}}}],"partialFingerprints":{"codehealthFindingId/v1":"350f65a25857db4244abf60376bd65af45471be0add0ac6204febdd6e6ab277a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildIssueChanges (cyclomatic 11, cognitive 13): buildIssueChanges 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":"server/src/services/issue-change-receipt.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37ba2f04af203265f809a07ce5955ec53122a1ba90b6ab52a79ca93023bdc63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findLocalServiceRegistryRecordByRuntimeServiceId (cyclomatic 11, cognitive 13): findLocalServiceRegistryRecordByRuntimeServiceId 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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"330f4ecf70062cea507bd417f7c1c4cc8147d10068ceca698fb9224301e76e49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAssignedCatalog (cyclomatic 11, cognitive 13): resolveAssignedCatalog 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":"server/src/services/native-runtime/assigned-mcp-tools.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da69bd599d7291c75c7c55aeeb7e597c03dde4cb79622510c66c5f190e7ca8"}},{"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":"server/src/services/native-runtime/muse-native-visibility.test.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced96d7ec259307370102b98a8e8dfce0ef4381ed5aca9f4ec62c3e09d4d044a"}},{"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":"server/src/services/native-runtime/native-workspace-export-retry.test.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4966174720ed26e68646de0f482ac51088e9c73534e5dfe4cb728360fb84f229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePluginWatchTargets (cyclomatic 11, cognitive 13): resolvePluginWatchTargets 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":"server/src/services/plugin-dev-watcher.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"023173668a0818f8fb27deff97223355277cc94238ea96a1972e4414849e99cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeCapture (cyclomatic 11, cognitive 13): finalizeCapture 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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"5050367231be6d014dfc699b6f3f331e1d5b88eb700926d7cd9d7e8b35f36f23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workSession (cyclomatic 11, cognitive 13): workSession 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":"server/src/services/public-mcp/file-transfers.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76eb80e4b9b8a0bb4699d71991dcff4504a80701dd726d224bdbebf363f5fe2"}},{"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":"server/src/services/tool-approval-execution.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9366e69dabfecec440550796f6f2e28f94b3b6070c5bf5a889fdc8a1794d5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getActiveSession (cyclomatic 11, cognitive 13): getActiveSession 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d121c6dbd0327a7fd692408f14eccab63fc5630d18999f0d5cc5db70b604222a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertGatewayContext (cyclomatic 11, cognitive 13): assertGatewayContext 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":8895}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb3673f2e3bd4f8fa31556f2ba1df6eba210d6f2eb127fc33c9b03db0dc974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordNamedGatewayAuthFailure (cyclomatic 11, cognitive 13): recordNamedGatewayAuthFailure 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdd2924953ce1d0af1933a9c0a3912766acfdb2a1faace83b7d6a95a3096cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeTask (cyclomatic 11, cognitive 13): authorizeTask 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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4292726679ad3b7fe8eb6a8140f83f35606c2a65608b0d273c3d8c51bdde3f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyUserLens (cyclomatic 11, cognitive 13): applyUserLens 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":"server/src/services/work-timeline.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a71f135b2376b463e331259defe35d341bcecd362c55e1c9000cf3be340a80e"}},{"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":"server/src/services/workspace-recovery-scheduled-preparation.test.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8a0d17508f44a4dbe5359e1e4a739d527fb5e281c8470d002ba4fa1aae7f3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseRuntimeServicesForRun (cyclomatic 11, cognitive 13): releaseRuntimeServicesForRun 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":8437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b58cc31aef02f77f7c2c3fc0e48102376e65a0da6fb63c681c3d03155c4c312"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function richLoadingFixture (cyclomatic 11, cognitive 13): richLoadingFixture 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":"tests/perf/issue-detail/rich-loading-fixture.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07fe91d9b09f7cf933b2ba7f7386f960a77d14fceb3500901dfe9641c12511a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainHosted (cyclomatic 11, cognitive 13): drainHosted 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":"tests/restart-chaos/hosted-grade.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d0eaef7f9313dec2da19669fb723e71b3d2f3b573245edd87ce5583f4d6bb3"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-run-brief.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6f8e0fcb951ebc6ed4f61a498eb42d19d94c4bcd2f3f1c5104364666035e0d"}},{"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":"tests/runner-e2e/pi-controls-flow.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"105106d666a599d527495d055a6a777e6260c24c18c2fc2b40ee5ba85090f523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copySharedEvidence (cyclomatic 11, cognitive 13): copySharedEvidence 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":"tests/runner-e2e/shared-evidence.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ff02392bddc850f41ec976a52d42b908106eb984889232004e0980e8334418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeForm (cyclomatic 11, cognitive 13): serializeForm 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":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"49563d249c393385c1ab7f51a3e6b1535488ec25edf224687aef0fd4e3f5c7e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function embedPlanDocumentAtWriteBoundary (cyclomatic 11, cognitive 13): embedPlanDocumentAtWriteBoundary 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b49e6fa3fe757ba25f3f5be2f14d4b7bfb339ed9bad5d287994a2a191cc1d7"}},{"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":"ui/src/components/ui/radio-card.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fbd9985dd1e23d8018e48f1b479a28c3b8fdcf95f5f5cae055857f062d2537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sortAgentsByDefaultSidebarOrder (cyclomatic 11, cognitive 13): sortAgentsByDefaultSidebarOrder 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":"ui/src/lib/agent-order.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb800fd3ff55a1286711ad8d6e0b3082e931bea4f8f087f6a475c740ac43b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubReviews (cyclomatic 11, cognitive 13): GitHubReviews 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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"697aefdd6cce644d6657c050e9e682aae7e2cdcfc3304e94a463fac0301ca921"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectStep (cyclomatic 11, cognitive 13): SelectStep 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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b8a8d55102c4a682c3c7c9cdb6fc99b589e25f7059d70061718e71e0771436"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aiReviewContext (cyclomatic 11, cognitive 13): aiReviewContext 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":"ui/storybook/prototypes/AiReviewFrame.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb25c3af50adc4c13765d16f5cab8f094471a01c289cf05807fb485abdec355"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disableAllRoutinesInConfig (cyclomatic 11, cognitive 12): disableAllRoutinesInConfig 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":"cli/src/commands/routines.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ef30e3483bb7211c0c7c7533224a08d03ab988ef895a323af8bce00f815d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorktreeEndpointFromSelector (cyclomatic 11, cognitive 12): resolveWorktreeEndpointFromSelector 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":"cli/src/commands/worktree.ts"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef105d5530e39020a632d7fdaf1b26b7bb804d6a0d28d21c5a37080fdb3a8425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commandIsResolvable (cyclomatic 11, cognitive 12): commandIsResolvable 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed39336a704098e7e0c3280fb1839d0f06da1ed4e8250ce285acf92c03f26be5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 11, cognitive 12): execute 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/adapters/claude-local/src/server/sandbox-cli-version.test.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c414ffb0e727d8ab42ab40a53ba4cdce907ab75738d8dc4136c3f33596fe916"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSetupTokenCredential (cyclomatic 11, cognitive 12): parseSetupTokenCredential 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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb9689adfdd3c193e981c593611c6018bba97d1e20a3c4debb07c149c9b089e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPendingMigrations (cyclomatic 11, cognitive 12): applyPendingMigrations 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/db/src/client.ts"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b61d7ff5b27bb46717fdc82d2c32036565d39890ebf256a14410320ce658322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function starterInput (cyclomatic 11, cognitive 12): starterInput 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/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b486a8b0e9d21edd141766b7a88529cd571a32804784cd6d5cd833dea8aac1b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeKimiDistribution (cyclomatic 11, cognitive 12): materializeKimiDistribution 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/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2915dd33a958dba7fbe4e4b63db01f1c1f52f6fa01db9dcd6c1948d18d76e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeRequest (cyclomatic 11, cognitive 12): resolveRuntimeRequest 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0af05703bc4c8b043e1f724b32122ef57ccb7e4d5dcee1cac96e0eeb49f797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inputFields (cyclomatic 11, cognitive 12): inputFields 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5006a15a133b779bded0bedbf8d2d16dcc3e9678b4bee5f284391df63185adc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePackageJsonFromIssuer (cyclomatic 11, cognitive 12): resolvePackageJsonFromIssuer 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6cf72596ecbcac989cec51dad4b4711bcdf56d9854fc933afb06f6510c765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAcpxProfileInstallation (cyclomatic 11, cognitive 12): verifyAcpxProfileInstallation 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/paperclip-runner/src/drivers/acpx/profile-installation.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b42b2156c3c4d50a51038c17d210352510a7c53950e9c698183118224efae76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 11, cognitive 12): request 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/paperclip-runner/src/live/clean-room-server.test.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a3f7378c5eaba69907f1b24bfef28c6c91f6196711ecfa10082e2d25d56f78"}},{"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/paperclip-runner/src/live/runnerd-codex-transport.test.ts"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4451d55177c94a0cebc1228bae60a16f7a48144e492d779c441aef86ee48e7"}},{"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/paperclip-runner/src/live/runnerd-controller-outage.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1822eac1f83b4261f633485ab4a6c9901c7b57c2fb33af0da2b907b482118d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyNativeSessionGoalControl (cyclomatic 11, cognitive 12): applyNativeSessionGoalControl 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fafdbf487fb63547f8ba168c5db361e4caf39aace5c1e35a87871d269bf833d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 11, cognitive 12): submit has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f04d99f71df0be2646294bfacbe94df7404be26ed3728bd00bd5ac4ba7cdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipIngestionSourceScope (cyclomatic 11, cognitive 12): normalizePaperclipIngestionSourceScope 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"d351edd5c4a0fe89f9a62a18294972fd4fb65dfe6769201c4f1546d53f134864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWikiAgentResource (cyclomatic 11, cognitive 12): resolveWikiAgentResource 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0af3ca83b8c24a3ecc37d3ade17a89084887c41c3d8aafb5c60e7a0afa8f0c"}},{"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/shared/src/cliplab/svg-snapshot.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d757804468a7fb2e6a460ac6ae1dd7ed23490e64ebc520bd15dd1a0b58c26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCentralDirectory (cyclomatic 11, cognitive 12): validateCentralDirectory 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/shared/src/portability-zip.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"acabd4c89cf284e88535f68b524e1a6714867b0c4f5463832ffcd5eb787c87d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublishCommand (cyclomatic 11, cognitive 12): runPublishCommand 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/runner-image-publish.mjs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d07bd954a8a4cb35a75e8327557b1670aa6d9d23b80c6cda2fd2924a09b840"}},{"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":"server/src/__tests__/agent-conversations.test.ts"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"b668137178125063c21a647b7dff7166eb1d7ead4fa5face3ff656158bd74f3d"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":43995}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51878eac9370dbf839842bef796710a2672a1dcdcfd2794f50d4dbe6cbd014b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreAgentConfigurationRedactions (cyclomatic 11, cognitive 12): restoreAgentConfigurationRedactions 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":"server/src/lib/agent-configuration-revision.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf2024431b80d1fb02e27e4c0f9f792a38076274bc6e9221a7d61d1afbddf6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOnlineWorkspaceMigration (cyclomatic 11, cognitive 12): runOnlineWorkspaceMigration 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":"server/src/maintenance/online-workspace-migration.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a878ba5a653cafe2c148709ae55f1e3b9c28c8bf844a6977fe055025b1fa177"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settle (cyclomatic 11, cognitive 12): settle 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":"server/src/middleware/idle-admission.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1b2e5d34d54c8d3d1ddf767664d950f00c863ca6c8ba92c27b74495a06a029"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelLockedRun (cyclomatic 11, cognitive 12): cancelLockedRun 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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5187983924b0a030c8fd0284026ec13e2f08a1b1923c3a73dc388454f2b7506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serve (cyclomatic 11, cognitive 12): serve 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":"server/src/retained-ui-assets.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cd0ac8b11ca1ed1c5de15dffc6fd703361140501cd9eb66f4b4ea22e976db5"}},{"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":"server/src/routes/activity.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8458196cf1e2f74d392ea7534f1c7e27d9c8e1b90c7d5093e37b5dd6c58328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProviderSupportsLoginPty (cyclomatic 11, cognitive 12): resolveProviderSupportsLoginPty 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":"server/src/routes/agents.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"899a65c80c1cd2ba5c6ace7efaf47ab8dfdbe77bc586211b005e135c2566a84c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverDirectoryRelease (cyclomatic 11, cognitive 12): recoverDirectoryRelease 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ab6e00d3db4d59e0c2283bbec9b812164aea1a7696070f5803cd15d22912cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listInvalidOrgChainDescendantIds (cyclomatic 11, cognitive 12): listInvalidOrgChainDescendantIds 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":"server/src/services/agent-invokability.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca90972f4d0d8698184c76e56dc530255d5ed1e701d6a5810efc9661c9b9bf"}},{"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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c2a3e8dad2b2f2340c11f7b0c847c52e9df68a11b4c0c9442918715f777599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 11, cognitive 12): list 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":"server/src/services/company-skills.ts"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e8ed679247cadcb71f0556c58ff2c57b16b8eac3b22f8e9a32dd82a0b62a36"}},{"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":"server/src/services/database-backup-owner.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ee15e7b5293b5cbeaf5bcb83f973879af8d0bc71e7748ef7172ce80995bebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindSentThread (cyclomatic 11, cognitive 12): bindSentThread 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":"server/src/services/email-channels.ts"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"35941b4dba7ddf71781963cec7aff32b2fe864eb2d6158c40c5fc034c260022a"}},{"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":"server/src/services/explicit-native-continuation.test.ts"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"242039f53dd30ace6c7b91b54423f03ce196aea39ff1999736806789f45da7cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceSourceMentions (cyclomatic 11, cognitive 12): replaceSourceMentions 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":"server/src/services/external-objects.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3201c7220a6f8ec154f0fa8b636ff42f77ccedce63d9299055ee926a2857e725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function schedulePredecessorRetirementContinuation (cyclomatic 11, cognitive 12): schedulePredecessorRetirementContinuation 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":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceed6e0f1d94b0fbd94dcf47ee6e8b8563c5e9e8d32de601e013c646f3521cb5"}},{"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":"server/src/services/local-ai-browser-login.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a464a6dc6c0fc94a56c505d2eeb4b840d20fdeba138b2f59db56ea8d31562a48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 11, cognitive 12): check 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":"server/src/services/native-runtime/native-run-projection-work.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ce63cf9147eb1437a6faaa29e64eab305a07805c52125469edac1691c5ae33"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":18694}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fb6c891b8dc7ea7fee57652117ed7470ee3284c660f1d4acbb1a751f6e5b14"}},{"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":"server/src/services/native-runtime/native-workspace-export-retry.test.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e1a1eb86a6fa7a766eca9ab8e0170f9e6c92e94c54df56cdae90b018cc142"}},{"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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a852f4fb016e9bff5667e373f64ec604b0f0bfa10add00ce7410855cbf0c9d30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 11, cognitive 12): check 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":"server/src/services/native-runtime/retained-native-session-cleanup-work.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"41914f07fdf04244c1b7921c98703ea846a186073355a587d05af9dfe2e7dacb"}},{"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":"server/src/services/native-runtime/setup-readiness.test.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64b629d6c7464b0d54e1d98bf3179125b16301bae0c3360bb82938f83fab041"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canMaterializeManagedCandidate (cyclomatic 11, cognitive 12): canMaterializeManagedCandidate 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":"server/src/services/persisted-workspace-source.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"341fba695e1171c740ded3f5544bc1e64dee2aa4bb74d780b2a74f201124fa8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 11, cognitive 12): call 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":4269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f008f4b04edd59e9a00043f5ce29fccf0e7a6ef48bd79ae51c801c8a503837a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function held (cyclomatic 11, cognitive 12): held 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5156bdbae51ff0fd017faa5020cd0ce7b13ba4942151414f17cd8724bef2091"}},{"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":"server/src/services/remote-workspace-snapshot-storage.test.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff085108bba03cbb75e07f8b5f87f70af282653e760fc54dcef2a41d8d92fc3"}},{"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":"server/src/services/remote-workspaces.ts"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d3c82d20c0498d0083d004732241c31ac1a4c025564f6e61734590690f44b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readS3Range (cyclomatic 11, cognitive 12): readS3Range 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":"server/src/services/run-log-store.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba01313ddd4ceef7bd127ca5d1be1bfc42c31a6b614dc3bebf71dfb771f789a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceSecretRefsForInstanceTarget (cyclomatic 11, cognitive 12): replaceSecretRefsForInstanceTarget 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":"server/src/services/secrets.ts"},"region":{"startLine":4990}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6013e1ad343e699f6523720b44080704b7c2f81116bad9a664a047b23f225b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tool (cyclomatic 11, cognitive 12): tool 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":"server/src/services/voice/voice-session-service.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea00eeb627750d312087f67c44f4d07065d5ef7690c641ef15a853bbddc31c65"}},{"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":"server/src/services/workspace-recovery-admission.test.ts"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"6305d543a4d488cab5418a90f458abb656d7c9ed768cb6f261d82f64c1014139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectPersistedExposureReservationDrift (cyclomatic 11, cognitive 12): detectPersistedExposureReservationDrift 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef59925c7557c61605969caf296ab7fc062b965da1886c8f5e13735db7e3cc92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function governanceStep (cyclomatic 11, cognitive 12): governanceStep 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae0e9f516ee5f09e3fcde12547fd82cc30493ead8512fb0d6a001157fd46b56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyLedger (cyclomatic 11, cognitive 12): verifyLedger 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":"tests/restart-chaos/staging-mix.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"6707c85dbfa7a979307cbf906c7e870341984443bc0f0b59207314529a2adc1b"}},{"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":"tests/runner-e2e/chat-catalog-domains/privileged-production-ui.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1210baf049caba105a5c22cf0999889e1257bdc127c626521de42e408967de89"}},{"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":"tests/runner-e2e/chat-completion-testops-api.test.mjs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"339a1567e3f15f062b0c705cfedae9bec56fc998191ba1aae8803a68aef717ad"}},{"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":"tests/runner-e2e/connection-launch.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d1c3b0f8337cd73085ae835ddbb99f837a1a37e28c780e305c96bcf7d53dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareControllerDatabase (cyclomatic 11, cognitive 12): prepareControllerDatabase 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":"tests/runner-e2e/controller-database.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dc0f721b23f40c1161b727c40bccab7c0105a9dac93bbfdd2704f494ae3e25"}},{"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":"tests/runner-e2e/dependable-qualification.test.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"223db83faef75a93884f4bf7c939e3399a6e40c4123a7a90fcb2c46d1c7169ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeRunnerHistory (cyclomatic 11, cognitive 12): mergeRunnerHistory 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":"tests/runner-e2e/history.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"913992b71ce120834d26caf209d849ff382d6b30c4fbfd50a653a9f8a6aa5854"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeCompletionSourceFingerprint (cyclomatic 11, cognitive 12): nativeCompletionSourceFingerprint 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":"tests/runner-e2e/native-completion-source-contract.mjs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7a83a4807a843b8ffd9199c87e39aab44eb03ff5ba2fc9b136baed2090db0"}},{"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":"tests/runner-e2e/web-server-shutdown.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9fca95c9f4d1d200b208783d0dbe56aeb6a89c7308db9141735cc755d01e5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestSecretProposalCard (cyclomatic 11, cognitive 12): RequestSecretProposalCard 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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57d7d75be15cadc5f70c9ac55bd1d3ff8dbf5ba00e4c4bee7a5dabc5ea86d04"}},{"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":"ui/src/components/OnboardingWizard.test.tsx"},"region":{"startLine":4019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc8026e9813a5cf01371f525833e4e4f1547aabcea93dcad392eb4f5803ad6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupImageResources (cyclomatic 11, cognitive 12): groupImageResources 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":"ui/src/components/task-chat/image-resources.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5532fad5a98416af7a5e137d615b9b1811cd7528d7576bfdf0f677a23d76976e"}},{"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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad31e40ddb20bd421b61808a778ac5ee2bd7aff3bd75d396933e418a2af782d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attentionItemMatchesFilters (cyclomatic 11, cognitive 12): attentionItemMatchesFilters 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":"ui/src/lib/attention.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf0d223ca949a1b73f655d1d5d769d2899890653ac8e55424bd508844a694a"}},{"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":"ui/src/lib/query-invalidation-batcher.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"447d5a19ae78f185c958e32dfacb3c180242e6f50e05896205ec732dd7ad19b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRowSubtitle (cyclomatic 11, cognitive 12): runRowSubtitle 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":"ui/src/lib/routine-run-display.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e40d63e6db173694ea0102924f4a24ebbc0de7ae43ab8cbfa0fe5d6533ced"}},{"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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fd8ef8e364be35fa101e7c75553da430c7214751edf4eccff46e903b1c58af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEnvironmentFormFromEnvironment (cyclomatic 11, cognitive 12): createEnvironmentFormFromEnvironment 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b959e07b35474b294ace8fddc0b0ebfb872757b7b26ef5829c1dad2655c19749"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5a010c6238869de9e5e481d7bfe82c96c7fc47ebaf4089e9553eb0d94e98b7"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9fb3bdd01ccd6639ff7fa7552914aafe799955ce340337b055ba7a5508c89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatScope (cyclomatic 11, cognitive 12): formatScope 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":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"88170a99d0b1ddf7f324f8c04376cf3ee551db819624a07a057323e63660addd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCompanyForDeletion (cyclomatic 11, cognitive 11): resolveCompanyForDeletion 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":"cli/src/commands/client/company.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9151a3d1dbd654e53881d75252cddb8869f41179a7ddd8ed19f5a6d5bb7814"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copySeededSecretsKey (cyclomatic 11, cognitive 11): copySeededSecretsKey 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e03b1edab16c1fc52ba04f524a20eb965b8f37d4db08c1a1f0411c2ad9a78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePathValue (cyclomatic 11, cognitive 11): resolvePathValue 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3793b72664d475d4d9e95ed4b6ed2f5d60a664a69605c99e648aada0bc221b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeArmTerminalResultCleanup (cyclomatic 11, cognitive 11): maybeArmTerminalResultCleanup 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4931}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb759311327a90592370e29b4633e3930e37426ebd4372c78a111a60a2a2dfe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatShellToolResultForLog (cyclomatic 11, cognitive 11): formatShellToolResultForLog 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8abb61acb17db5f94e25cf176383ca1510523e4757e0d680f4aef39b3dcca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchFailureMessage (cyclomatic 11, cognitive 11): fetchFailureMessage 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d254ed15df05df2cebe710048aba8e82e21fe4f2b1f5344247667be7a7488976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorDetail (cyclomatic 11, cognitive 11): errorDetail 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/adapters/hermes/src/gateway/server/test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7044b0184b94004e6bd3fc67bcd90d1cad729c2a06d87bacf75994bbdcaadc74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeRegisteredClients (cyclomatic 11, cognitive 11): closeRegisteredClients 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/db/src/client.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf5f5fe7d67bca59c08f37d39adca38ee098c732067a5bcc8ca89c7cec4115d"}},{"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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc482e08ca82667069b494db0a865a1329811513644f7820270fa29c4ed924a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAcpxNativeSessionBackend (cyclomatic 11, cognitive 11): createAcpxNativeSessionBackend 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/paperclip-runner/src/backends/codex-acpx-native-backend.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"341ff0fe10e820f5b74adadb01b5f078a49d4876dff05b0ddcced2de7c56d0f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failureClass (cyclomatic 11, cognitive 11): failureClass 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"89300b55bfe25a091c7133cb82009cf947af7893381912a15fd6984acb8ac6b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #pendingCommandsAtAttach (cyclomatic 11, cognitive 11): #pendingCommandsAtAttach 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979572d1d60e7409da58ace663db27607395c27b2cb3e562c71daeae6a0b2fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalReplayConflict (cyclomatic 11, cognitive 11): terminalReplayConflict 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/paperclip-runner/src/drivers/codex/codex-session-terminal.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"380ddf8152ac74a9bc4aaa3967a846f3900126c3af4d9f0ec2fd86f91cd3182e"}},{"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/paperclip-runner/src/drivers/opencode/interrupt-empty-response.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c915e3c6ed638086b00e95fb10f2720b82f4a17b7c6638ef109ffdf44622b5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #providerDrainState (cyclomatic 11, cognitive 11): #providerDrainState 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5397}}}],"partialFingerprints":{"codehealthFindingId/v1":"558fbd3edcebf0cf1124ab71b2c03c2b5eee43a8c0da83ede830480e99557420"}},{"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/paperclip-runner/src/live/tailnet-gateway.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bb39478257b31549f947118b3fce8ea8aa86a2d5e0dbeea99f0d0b0e50ce45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedSemanticResultTurnId (cyclomatic 11, cognitive 11): completedSemanticResultTurnId 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":3821}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b099584790b87decf52dadef08c0782b22698b858959888ad58f77366c06c90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function versionIssues (cyclomatic 11, cognitive 11): versionIssues 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/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"568b74036873dacb6a138bc1f04422fb65db1f6889973617c58f0278917695f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capabilityTurnParity (cyclomatic 11, cognitive 11): capabilityTurnParity 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/paperclip-runner/src/scenarios/scenario-parity.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"113181a82d0f100ded23e85158d1a9b3abb3a3284199076e741d70926b44b7ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureSandboxExpiry (cyclomatic 11, cognitive 11): configureSandboxExpiry 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"9308069b95d8e6e6e8a86becdf2b3ad03d7d791f914344d12f32c7807d911922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emit (cyclomatic 11, cognitive 11): emit 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/plugins/sdk/src/testing.ts"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67fd6575085b65eac48dd06b526f35b7906b0cd958a6818ad8020862dc9a3c3"}},{"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/shared/src/config-schema.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af4f3c629248ac4e11618175067a963c0a82517dee2f3fd334f7cdde814171"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalizeExternalObjectUrl (cyclomatic 11, cognitive 11): canonicalizeExternalObjectUrl 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/shared/src/external-objects-server.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f160433f478e2aa698a16eb77a8987054b53c9f0cd21436164df7e9a96e2ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function humanizeConnectionDisplayName (cyclomatic 11, cognitive 11): humanizeConnectionDisplayName 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/shared/src/humanize-connection.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"da673dc858e31b71eb3c3b8468f1c2d0668775d47647cef9edc35a1ee7bcfc67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 11, cognitive 11): inspect 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/ci/reviewed-test-dependencies.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05f8e30f3529726027452b12a61f2f3201c6fef25162f313e8271d1853a18c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provider (cyclomatic 11, cognitive 11): provider 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":3024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149d1f4ea49fb7683b6d5b1a4ace7dc5d824c377df7cc1a91d01958f3d0ed20"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":28549}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf3c3ce6dff9df3ef047c0c11b700c42ee6e872842eb7f37a26f2d821e84386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provider (cyclomatic 11, cognitive 11): provider 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":"server/src/__tests__/connection-management.integration.test.ts"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ccb5795bfaca6f0afd601789cab8e170a796115d0f448a0c4a320cfa6db03"}},{"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":"server/src/__tests__/daytona-connection.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"240c5e34f51dcf42cf25ecefab0e9f9d4a6bc59b837337cb333198e84410b4d0"}},{"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":"server/src/__tests__/environment-runtime.test.ts"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdfec77952c81453db18418ff96658f65b1969cc2b762f8a3e14004becc2b14"}},{"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":"server/src/__tests__/heartbeat-session-preparation.test.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"31639aaaccc6e1a6f7bd8b5861a238c2ca0bc78a2ede76db8ff45396ec4dcb81"}},{"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":"server/src/__tests__/maintenance-server-routes.test.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4182868258df896d38577f983ed28a886274d7e627664f26454fb53f1fb11951"}},{"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":"server/src/__tests__/native-status-reassessment-work.test.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"90012425ca33c3c6eafbca979e4ce27019c96b2c3c895ae68704142da92c07cc"}},{"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":"server/src/__tests__/task-workspace-repositories-trust.test.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"728db8a8ca505b83b9d00721b332a3ba853a93f7facf6a1b2d78241a6379aa26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeCreatedAgentRuntimeConfig (cyclomatic 11, cognitive 11): normalizeCreatedAgentRuntimeConfig 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":"server/src/routes/agents.ts"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"31afdacfd2e57da6d4b96f14ac1f0eff8b7906878240d381e52d557ab51276c1"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":7358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f201352ad2a65ed7e0ba5d8dcd41c3d3b5a0ddc03eb019911db5b7a9ecaee3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function standardRequest (cyclomatic 11, cognitive 11): standardRequest 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":"server/src/routes/chat-channels.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7be1ccf6f465465ebef576d0d7da7bea8957e45515c862e678fe5026295108"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":19389}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cd72681af1194d3ab99af588175399a5c740b30c66581acc0bb44a3ba8bca3"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":19860}}}],"partialFingerprints":{"codehealthFindingId/v1":"2798ed2567a41484a8c6a0fb9f2151df3d64de047074310e8a8755b67d905d1a"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":20356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b067ca8ff3f9c2a04e96e5e43d0a385ead1247082d58b448ca387caa337a4538"}},{"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":"server/src/routes/project-tools.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018aac80c8e9f149e066f031d7c99edb9ea809339f7825e9581e1cf6213487a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seed (cyclomatic 11, cognitive 11): seed 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":"server/src/services/__tests__/workspace-recovery-fixture.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aed3ebe9286c8d2837d5442ee56d7338f2c8b5279461be00ebb72edf6cfdfa6"}},{"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":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4942f80828c86fc8eb6dd9ece0d8291d20d7497586030d402adc5b6122d746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adoptAgentFiles (cyclomatic 11, cognitive 11): adoptAgentFiles 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":"server/src/services/agent-file-store.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f5b746a4604d9d7bf953746357702ad7c58cb4baded7a82b5d93ebb7ae464c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeAiAccountIdentity (cyclomatic 11, cognitive 11): probeAiAccountIdentity 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":"server/src/services/ai-account-identity.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"70577a33b62a4837c1bb7aca7af4edeab069a40e00045538a6ef0ba3aef81017"}},{"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":"server/src/services/authorization.ts"},"region":{"startLine":3031}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307be15101a36a49215e8a3bf4eb19c74bb76f44e46dad9ee4defe6c5c54bc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireLegacyResponsePlaceholder (cyclomatic 11, cognitive 11): retireLegacyResponsePlaceholder 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":"server/src/services/chat-channels/github/response-target.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d033b1153481c92c3600a117b2dd2034dc65e2728d0d0e9de17788c349d2f5c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryProcessTeamsFilePublication (cyclomatic 11, cognitive 11): tryProcessTeamsFilePublication 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":"server/src/services/chat-channels/microsoft-teams/file-delivery.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"228139490a67f02a2edce7752d0ae4ec6d546e854dbde1aacb502b2a41c3d405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function providerEffectThreadResourceId (cyclomatic 11, cognitive 11): providerEffectThreadResourceId 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":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e8ef0bdf6de22774f8405e4c2fb7a2f6cd33f0cc2e5c82a8bf33ea411d4822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectSlackFormRetainedConsumer (cyclomatic 11, cognitive 11): selectSlackFormRetainedConsumer 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":"server/src/services/chat-channels/slack/cloud-consumer.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f8f289d35291869e4c8d474702d94707f5272586f85c8372a22acfb3031419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function write (cyclomatic 11, cognitive 11): write 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":"server/src/services/chat-channels/slack/cloud-enrollment.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b300795fa101f999b41f9f5a11760478c5c1ac933d436eac6d7fe98a1af10c"}},{"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":"server/src/services/chat-discord-command-registration-store.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8082f0003e6bfe4099af2e579e87f57d0135fb9ec0987bce6717dbb729e59a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverDedicatedGitHubAppInstallation (cyclomatic 11, cognitive 11): discoverDedicatedGitHubAppInstallation 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":"server/src/services/chat-provider-inventory.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc171b46602baec9a1677c1597166cedb61b5d12540e3f719e0e66ae388736c"}},{"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":"server/src/services/chat-sdk-runtime.adapters.test.ts"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a0fd7ca85133bade97a0e744154e0fa3dc11949da7a94f3dfc447a7f18bab4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectPrimarySnippets (cyclomatic 11, cognitive 11): selectPrimarySnippets 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":"server/src/services/company-search.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a2a601cb7f57cdab5a72df0a5fa0911ec25684c2c5240ca7b7ade3005ac1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processDelivery (cyclomatic 11, cognitive 11): processDelivery 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":"server/src/services/email-channels.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbe1c486d01e9c2f6f208f66ad6c3fdd6a6d09c14c6942f67853d40dcd5df18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionRetryAttemptCount (cyclomatic 11, cognitive 11): executionRetryAttemptCount 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":"server/src/services/execution-recovery-attempt.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"431dfe1f11e3ef7a8cb6a27f2c367b3d5b6b26f83f4a2431029611e1f78b7f00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildListConditions (cyclomatic 11, cognitive 11): buildListConditions 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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86fe8cdac9d4ec949af9b60977d3308f1a91766c7c25db22f009f34d8b11c5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 11, cognitive 11): create 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":"server/src/services/folders.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"17766e0cef8d97960446dc568f33327df39a20b665a2667e028721f16be92c3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 11, cognitive 11): update 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":"server/src/services/folders.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb78f90bc0dee17f6d1a1052c5900d743a38d6b6ca5b0ee79716a5bcbe48de2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touchHeartbeatRunRuntimeStatus (cyclomatic 11, cognitive 11): touchHeartbeatRunRuntimeStatus 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":"server/src/services/heartbeat-run-runtime-status.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc1ca3f7eb9a13440b73238b8ca96d283652204df68e94bfa5cb0de616f0cca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 11): load has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/deferred-receipt-work.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafddba25e75c2d13a940e0f44fa90dc3dc820eeb9b7b028a89897673cf038cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeAgentDirectoryBusyDeferral (cyclomatic 11, cognitive 11): finalizeAgentDirectoryBusyDeferral 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":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"18186e52d7e0179b26d97194f07ffac31adc44bd213e41279915cc5f44a7bb59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyHireApproved (cyclomatic 11, cognitive 11): notifyHireApproved 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":"server/src/services/hire-hook.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10600dbdf27f7f27c23f48b5627f21a227660424418588a518909ad8ced474a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareIssueMonitorUpdate (cyclomatic 11, cognitive 11): prepareIssueMonitorUpdate 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":"server/src/services/issue-monitors.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c6bce58b798ddb493b61b249e321a38ca677f44ca3676d982098f80e2856a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inheritNativeRunnerAdapterConfig (cyclomatic 11, cognitive 11): inheritNativeRunnerAdapterConfig 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":"server/src/services/native-runtime/native-agent-runtime-inheritance.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a665a2b8b3b456b864f76d11a0f8b50d092412a589f046e246346e8ca00685bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireSession (cyclomatic 11, cognitive 11): expireSession 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":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a02bd56dca8e670cfa62307fb653df4fe1061cf1faca7149527d0f4bbd2dd9a"}},{"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":"server/src/services/native-runtime/native-run-log-recovery.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5ed64148b591096282adf2100360654ea4a5c79c95445f4ff54e98ecb77bd2"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71828208165e5f10618f2f1c1b59fbd18f9916d7895ab486be9d92eee6fe5d4"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":22671}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc11692082832182a60cf608e17191ad63905686769219f9e185f6ee6e3137"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kill (cyclomatic 11, cognitive 11): kill 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87d8b97affc8c20a7b6c5e1548958ceff0142e2160bffa9d5d3d7f335d7b9c6"}},{"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":"server/src/services/native-runtime/native-workspace-reconstruction.test.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3105a3bdbcc4cf0ff441a7ebcd9259d41913deacfb937e41bd76997750bcae"}},{"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":"server/src/services/native-runtime/preserved-native-response-wait.integration.test.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b306d6e462356ea211fec31ced9695d6cb4db6d74a98bc966940a379ffdde6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nestedCloneSource (cyclomatic 11, cognitive 11): nestedCloneSource 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":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8992aac6bb4862680699d3aff1c7f570c495bfe5741b1092ba4bb6e7598cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paperclipCloudConnectorEnrollmentStatus (cyclomatic 11, cognitive 11): paperclipCloudConnectorEnrollmentStatus 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":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb57074f03013d3b38cc12d8a5b399374f7d63e4a581a9d6682688cc030051"}},{"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":"server/src/services/recovery/wake-request-claimed-settlement.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d647f711397fe4dcab693a3ac7002efd38c0d14bf6de52d86e980d6fe83a1e8"}},{"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":"server/src/services/remote-workspace-migration.test.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fba6a34a7349737b0ea6b2144d41298212f0c4234377e5b88488dc62b15cd2"}},{"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":"server/src/services/remote-workspace-snapshot-archive.test.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a640b1ca199a19edd75d9cab770a0f405b06a1c13247ffb6dfa9cc4cd9f1d7"}},{"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":"server/src/services/remote-workspace-transport.test.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccab187ff506c98a00263b312f2195ba27cec83a876e50f118fee355c236c694"}},{"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":"server/src/services/repository-object-cache.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"26933d36307cc526fb21908222cf6af45111c46822352db3258d12ef27468907"}},{"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":"server/src/services/retry-workspace-continuity.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faabce12120aaf12f33b157151e57596628cb69fca812b38368eedefcc537eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 11, cognitive 11): read 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":"server/src/services/run-log-store.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"327bfb70c4e49fbcb6b4bffaaaae24a0ae15765a1ace380133f2afc7ca44ba53"}},{"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":"server/src/services/satisfied-connection-intents.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df39ca52e3931063d3efe527ea009f2cacfc1dda107e2e5c5f438fea1bcab6e"}},{"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":"server/src/services/task-retry.test.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e27f3f1ea95bfe5eb1b042fb545837dfaa16692dc1f04a7a9acc3ad01a3bff9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function duplicatePolicy (cyclomatic 11, cognitive 11): duplicatePolicy 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b3632fa10ecec1c0448db3adb3b551eda2ff9cc30e7effa43be9b9f96ca52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expectedAvailabilityReason (cyclomatic 11, cognitive 11): expectedAvailabilityReason 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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"124a027a5f3e361105723e9ec72271f0f859b406394ae71524af6deb92b1087b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleExhaustedRetainedHold (cyclomatic 11, cognitive 11): settleExhaustedRetainedHold 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4577c1a9f36cc332b2a95d7824755e80f54fe08d5d5b8690362f4f5a660530"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function crossingFaults (cyclomatic 11, cognitive 11): crossingFaults 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":"tests/restart-chaos/grader.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"62973503b0133c91cfa955742535f54c40cda9614955f0e67190ffeae89370d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAssignedWorkInvariant (cyclomatic 11, cognitive 11): readAssignedWorkInvariant 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":"tests/restart-chaos/hosted-handsoff.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f015c709e7e52303acd3a7ab9caf9555a5b96ad110f6791f4eb590ab480afb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupHosted (cyclomatic 11, cognitive 11): setupHosted 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":"tests/restart-chaos/hosted-setup.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4210e192e13f9cf4eb008f39b9fc5732c436a11bb08ca2d73e0025596752c00d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launch (cyclomatic 11, cognitive 11): launch 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"224edfadf264adcc2aa8a98b666d786c35c306aa2e57ec26b46ea8028cbeabf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function followSecretSetupLink (cyclomatic 11, cognitive 11): followSecretSetupLink 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":"tests/runner-e2e/chat-catalog-domains/external-secret-setup-link.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dec8f1fe3f9348183ca9408a9fd23b014182ea6f58d20a6ebc3a5bf5782627f"}},{"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":"tests/runner-e2e/chat-catalog-domains/identity-observability.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fc8a5e4622b3125e9f11e38811bf431de2078b377e4d65c572236cdf6a9031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeInternal (cyclomatic 11, cognitive 11): observeInternal 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":"tests/runner-e2e/chat-catalog-domains/internal-support.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3630942b299b22b921ff65b5428a88aaa250a26cd0f4fcc0290f75950e3d977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recovered (cyclomatic 11, cognitive 11): recovered 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":"tests/runner-e2e/controller-recovery-observer.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d3571925f7b15db41be4e428a530a7905d84cb06b356c53956baf0a572d442"}},{"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":"tests/runner-e2e/copilot-permission-target-origin.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"818c180920a08f66dbb2dbfad6c7b2a6c2e445e36801ed7e2f90ec347486d523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hashEntry (cyclomatic 11, cognitive 11): hashEntry 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":"tests/runner-e2e/daytona-image-content.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fc03691cf5c5b6322260b256df47131606daa3cb58673f31307777f353427e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sealManualResultEvidence (cyclomatic 11, cognitive 11): sealManualResultEvidence 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":"tests/runner-e2e/manual-private-handoff.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"587b87340236e40f1153e983540891262aeca964fca4ed7e9ae1d6b4664e31cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manualEvidenceRouting (cyclomatic 11, cognitive 11): manualEvidenceRouting 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":"tests/runner-e2e/manual-private-policy.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a08ac4694100beee8cdc76a9f1725fd694169db5fd0ea1b3b840558e30644c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recording (cyclomatic 11, cognitive 11): recording 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":"tests/runner-e2e/necessary-question.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a933b74c6a256f490ae4b8fa393888c248c04de71132e6607da1d0dd3e3b30b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function end (cyclomatic 11, cognitive 11): end 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":"tests/runner-e2e/server-entry.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"48122804dbe986fafda65298e75b88eeafb82067711c7bcc80d1369ff0834f4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeStockHarness (cyclomatic 11, cognitive 11): gradeStockHarness 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":"tests/runner-e2e/stock-harness.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdfe7fa80bcc5f0aec1ec0d0c97748f75f74408e8ea5ca76cbadd3dfc577f1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 11, cognitive 11): handle 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":"tests/speko-voice-proof/proof.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca33b0d53eb83e40e5615eb3d29d320455307385f0feb7b89587af6f3a82fc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConversationsSidebar (cyclomatic 11, cognitive 11): AgentConversationsSidebar 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":"ui/src/components/AgentConversationsSidebar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50125aebe1948e6a7aa34588796d50d77c5f981e480f26fd5f7c90d6748390e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InlineResolver (cyclomatic 11, cognitive 11): InlineResolver 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":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b0bedc83c3183b72f949d09456acb7fafbf50ca354269237c3e3cbaa402091"}},{"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":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9b97777e75e02b4704fb4a9c733dbb11997de214159a4ac934a0caaf487365"}},{"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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a13c3ba9cefc6ba25c90c40fd996de790d4cc664a228d718e2d287a25dcf3"}},{"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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3afa4c223ed95da31f2770b961b2cb49588faf37c89ff51a78847e66c6b350"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWakePolicySummary (cyclomatic 11, cognitive 11): readWakePolicySummary 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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d346549cd2b6edda69abc564aaa5889788d1e12ecd3921fe63a77f0e3f4a461"}},{"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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"42976c14056eb58149e33ba03e1deb755901712dcb49c64c4ba1281d9126cbe7"}},{"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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33e4b5f5c74a9131c2fd53a44e6478b854dd0e796525a617602812b9cfd86c4"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ee3bd5a2430a43ef4808a0679d31b9667688a155bb429c5d656bd7b36271fd"}},{"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":"ui/src/components/agents/AgentBulkSettingsSheet.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2cf20d87ff74d8c52105406dca63d03f74aa09f7e23ab3ee2111c57055928e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMainIssueWorkspace (cyclomatic 11, cognitive 11): isMainIssueWorkspace 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":"ui/src/components/issue-properties/helpers.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9852f9292469c85ce6009e9200085ced6c8c617f066c341e5146ce3433f56b6"}},{"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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54191c8cede8432a36a17071c0efb6739e35e572786f669c2302a879662fcf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolInput (cyclomatic 11, cognitive 11): summarizeToolInput 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":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f435bb20c084b0a3b1aba93b92988ceeafab3bdf962a469ef16fddc29abf3d57"}},{"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":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"355e3bf8e933cd2d3bc9a5504585b2b6dc990a96419c1a39296b8473bf8a0505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveActorLabel (cyclomatic 11, cognitive 11): resolveActorLabel 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":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49da120c21e96ab6d098fd3bc6e5cc5fe4d1af2619b63c0cd7f532a82c53909"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveSelection (cyclomatic 11, cognitive 11): moveSelection 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":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"232b6f4c5a1d8b051162dc7c8b0185ce5a256bd0329e6c6e349bbb2bfcf2b8c4"}},{"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":"ui/src/hooks/useTaskRetry.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"af09594efd7377b1d10667a682565adb276584e38ac8ae0a4783893b8aa1944d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAttentionDateRange (cyclomatic 11, cognitive 11): resolveAttentionDateRange 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":"ui/src/lib/attention.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"92877aa639a4b92fa6b44a8c9956085a774f045463b9dbb9e7e0e39203279b0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIssueReferenceFromHref (cyclomatic 11, cognitive 11): parseIssueReferenceFromHref 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":"ui/src/lib/issue-reference.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c55fcf4e0648874095b163b963b7f09a1594502112db86011d1f78be63dda0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 11, cognitive 11): onmessage 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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"834bc840d6acbd9ef3d41120e2d4874e7d27ede0d422dc851f4e97485eb6a8e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeProvisionStatus (cyclomatic 11, cognitive 11): resolveRuntimeProvisionStatus 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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb7208c69976f410b0f8d5073683fac7b56155481ab5cb3bdfa11032ab82fd8"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":6181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3342c17bc2ab4c9ff789b6fe37bf7d66d2d43252bdb851ce557adbb22b86aaa6"}},{"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":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"304c1fd2bbc6826adb7b99c44d2943fd72147eddc8529e3e32a617252e6b3fda"}},{"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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"91801e16f05662174f6125480057833176e234607358cc173bc9aa28726acc3d"}},{"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":"ui/src/pages/Routines.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"017d90758493657941bdea9fb671b684c77c14fecc0ae7e03ce1439a06b3c0ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoardAuthStore (cyclomatic 11, cognitive 10): readBoardAuthStore 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":"cli/src/client/board-auth.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a4a718b027b15ad1ec0703c978233ff3e0287d6e957f1ac234eb5e166a3dd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFeedbackTraceQuery (cyclomatic 11, cognitive 10): buildFeedbackTraceQuery 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":"cli/src/commands/client/feedback.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f3a081299298541f142f553bf2511fe5e04cc0e7a86f45b68164ab911d401e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function asErrorText (cyclomatic 11, cognitive 10): asErrorText 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":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"56acef6afd94bdc3a2a2dc2fbf207b5ffb76bd3dd55a66f191fb120a03a74581"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateWorktreeSeedManifest (cyclomatic 11, cognitive 10): updateWorktreeSeedManifest 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":"cli/src/commands/worktree.ts"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7b510c3fb3dcf2bc536d7c1e3afc7cb710c50e6e2cd623f997aca386a1a344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directoryMergeLockTimeoutDiagnosticsFor (cyclomatic 11, cognitive 10): directoryMergeLockTimeoutDiagnosticsFor 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/adapter-utils/src/directory-merge-lock-diagnostics.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8e4bf8fe0776514b8978f8100c3dbd599649766e3ce4f0d5e9ec9da28e5179"}},{"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/adapter-utils/src/sandbox-managed-runtime.test.ts"},"region":{"startLine":4101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be7958e4815b1d3e2997e612a9df8ff1d7ebb21229a4fe88e78c4490c22e0c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePaperclipRunnerAdapterConfig (cyclomatic 11, cognitive 10): normalizePaperclipRunnerAdapterConfig 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4371}}}],"partialFingerprints":{"codehealthFindingId/v1":"289ff165c467a4d6e81e47abdad21c6c60e04d4131eee496e929a6ff9a1d95bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorText (cyclomatic 11, cognitive 10): errorText 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/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"47214caec993f2cb3729151eeec22787de817f9e210a94264eed278a8f02884c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorText (cyclomatic 11, cognitive 10): errorText 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35b901e02f9bb91cd84c7e7b7e32b3985b1523376736ca1cb437a7756ffd721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorText (cyclomatic 11, cognitive 10): errorText 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/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e913cfb2caa3d38a7a568b8e06c44438348de0a6c365e21e33245ab4fbb1b0a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMockRun (cyclomatic 11, cognitive 10): createMockRun 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/adapters/cursor-cloud/src/server/execute.test.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d247dba7c02dd9b1aba8143643170b971b85ce2751335587e523e373568dba89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 11, cognitive 10): execute 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/adapters/cursor-local/src/server/execute.test.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32d415dffa15c70f5a32ab3d6837e0268ed88bfd45fb28f61f93b7806a40168"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSandboxCursorRuntimeInfo (cyclomatic 11, cognitive 10): readSandboxCursorRuntimeInfo 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/adapters/cursor-local/src/server/remote-command.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328e7fcc012621a4deb239646c5df15b1f04b3ad52df504ee4f0a0cb65bd05e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorText (cyclomatic 11, cognitive 10): errorText 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"488c3d5169c4699161fcddc03d0a6ddea7486810bb623e74cfe4e99ad0be7c93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorText (cyclomatic 11, cognitive 10): errorText 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/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6de9ffc705eda8cba20cceb604bfc23266cdb957bde4998e35dff5fa68b7e6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildArgs (cyclomatic 11, cognitive 10): buildArgs 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe56411edb9a4618bf9f76d48a3bcd49599205f736cc7f3f304822a63675b7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInput (cyclomatic 11, cognitive 10): buildInput 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d1b5bd85391cba3bf586c358d09aa44d047355fb40e1fa930a0baee132690a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEvent (cyclomatic 11, cognitive 10): handleEvent 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ae05ae61fd9543d7f6107191f0e779a6914d804fe685254a095aacb76c181d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMutations (cyclomatic 11, cognitive 10): parseMutations 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/db/src/check-migration-safety.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1b171d52c9a2fb48f101adb0051fedc367c3dfbd8218b18f2345428d6023c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchCursorRuntimeSource (cyclomatic 11, cognitive 10): patchCursorRuntimeSource 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/paperclip-runner/scripts/cursor-runtime-patch.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"08737d2e5f4cebc09de61717420707a34128a25f90b0458b2760db4ae420f02d"}},{"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/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1afc164f3bfdf35e0d3e55f7bfdd1d7a568015b3936383a93a979f98f7c0d05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 10): visit 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/paperclip-runner/scripts/lib/forbidden-imports.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6281038e86bb8e688566641d0f4c551e8332a7b4495e398df7450553eaa0155"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function armFromEnvironment (cyclomatic 11, cognitive 10): armFromEnvironment 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/paperclip-runner/src/crash-point.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be25448f3a4215387d0b10774a8998a8cf523575b8251723c8c63121716f980"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePlanEntries (cyclomatic 11, cognitive 10): normalizePlanEntries 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/paperclip-runner/src/drivers/acpx/acp-session-update-event.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe25da3b2705d88f6e6f386b3dbd149b66ca7660d24935374e1a63e5039513c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindAcpxAgentFiles (cyclomatic 11, cognitive 10): bindAcpxAgentFiles 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/paperclip-runner/src/drivers/acpx/agent-files-binding.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"003134365e9d82577667046c8ab91ba5161206216624cd77bebc7a41df3367ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cycleUsage (cyclomatic 11, cognitive 10): cycleUsage 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/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1252e5469e19a1336c3fcb3c4c5d03d7644d456af7a922ba3e4f98304b1fdfea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 10): constructor 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfef2f9802d7c96bdfe3a52163d0c2f3771bbb24193d5722b5b5fc8e6e6ed32c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPiRuntimeConfiguration (cyclomatic 11, cognitive 10): readPiRuntimeConfiguration 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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75b3587cceb29e7af72de09dd9c5e62ebc7f18a49c38234fda7e84122e187c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquire (cyclomatic 11, cognitive 10): acquire 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8009a9aa843d698e27eab9ab967c30f8b1ef45dd355b3e1dcbfbe7692a69bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeRequest (cyclomatic 11, cognitive 10): resolveRuntimeRequest 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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"844531e44c1dd180c65fcae047b0f9aefa84a3e079154319e34b2155d74c8c08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appServerThreadGoal (cyclomatic 11, cognitive 10): appServerThreadGoal 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6a8a925b6dbc8da1782d2f035b99b5bcf1b27e2d3da0cc9dff907d9ed3a47e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAcpxTurnControlCapabilities (cyclomatic 11, cognitive 10): parseAcpxTurnControlCapabilities 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4054}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba80a5fcf4cd5e9423480ed1a7af6c09c8cbd720648643899c526763607e622"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleCancelledTurn (cyclomatic 11, cognitive 10): settleCancelledTurn 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5563}}}],"partialFingerprints":{"codehealthFindingId/v1":"55556b88bf47ab21ff22789747098d53b6bcfa1550757f41ddd82090760853c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executionPayload (cyclomatic 11, cognitive 10): executionPayload 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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ec9498122b53a1499b69e5ddd9c37f793b7706dda7d06885424091f6b32cce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SpaceRow (cyclomatic 11, cognitive 10): SpaceRow 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39a8b81268e71f2702a6c560346f05bfddf0aa5fa3b77d771fa7551297eb3d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UnconfiguredFolder (cyclomatic 11, cognitive 10): UnconfiguredFolder 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ddd864e9bf043126a8d418ba93f86a6e1f8437c0c8f79d8338bf65e30dc91a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerWikiTools (cyclomatic 11, cognitive 10): registerWikiTools 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d97be0241048038a723b4bd42338590050a62cf27016d7d2ec5e56f5e0e4ee3"}},{"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/plugins/sandbox-providers/daytona/src/plugin.test.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb35ce2e78c80a9a9773e3a6e7afbd936c8b1fda7d1f5ed344d3ad7380f163a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findPodForSandbox (cyclomatic 11, cognitive 10): findPodForSandbox 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/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef60b6d4ad40b8024933e6eba453e3ff0a0743e7eef5723afb5e6f85abebb8ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allowsEvent (cyclomatic 11, cognitive 10): allowsEvent 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/plugins/sdk/src/testing.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c6b8e661a546bdfaf7157b07f6719811cdbf9b0182b0f3667fa27584b0ef9f"}},{"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/shared/src/cliplab/particles.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d77e2df5617ea3735ba8c08255caffe8ae49eb445b5b49e41cb5dd31e5fe748"}},{"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/shared/src/runner-goal.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3456686eec611066d7691555a5e31cc3864054abc88ffaf24eb2904dc660d358"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIntegerQuery (cyclomatic 11, cognitive 10): parseIntegerQuery 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/shared/src/validators/search.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd3f71474cca16820daec3cd6e00322ffc207ce1c2bcbde37617d2be0d2a5dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 11, cognitive 10): api has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-readiness-runner-loss.test.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b06513b333ed9ea28df948aca2497e7dd476cb7daae2c86d7ad92c42fec7b19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function api (cyclomatic 11, cognitive 10): api has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/cloud-source-verification.test.mjs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c37e0abed865cfe70b0e8cfb8d59c20b9ed3f8830547870b7b638ac2ad8e99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkBuildStamp (cyclomatic 11, cognitive 10): checkBuildStamp has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-image-layout.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a79b201b7777621c6da2ad8f725f963e0c10530a9f635f733e09fbb904bdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function annotation (cyclomatic 11, cognitive 10): annotation has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/storybook-catalog.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e4083eabf316e8fbba1ad091445ba61d110b04b3df5a74ac92b2b87888207b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetMockDefaults (cyclomatic 11, cognitive 10): resetMockDefaults 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":"server/src/__tests__/agent-cross-tenant-authz-routes.test.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1582974264c97de9603d28f2216a141060f4278f3056494cd4f730704721a3c4"}},{"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":"server/src/__tests__/case-handoff-legacy.integration.test.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f74409c4e5c6223d0fdf490dcb81baed12e6285a152753bf3676699671b1190"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":11745}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0042d316a86ae88da792c9babab2aa90108d3c2c4aef9d1db3f5528aca6f0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeProgressFixture (cyclomatic 11, cognitive 10): closeProgressFixture 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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":34955}}}],"partialFingerprints":{"codehealthFindingId/v1":"08844cd63e557c28006e7be20a15d5699f9f67584a76a138466821780a6d06ba"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":55570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04108143d6843ef8b2ae1908b698445f0bc8ac4549bbfbb6e27a3d0e54f9813"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":60353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5979b13b97b680bd9749b1411bcdc3d63256a496a26aede1dcf36bfca726777"}},{"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":"server/src/__tests__/chat-channels.integration.test.ts"},"region":{"startLine":81011}}}],"partialFingerprints":{"codehealthFindingId/v1":"00702f67062fa0116f9a8c075ac295e51a23ab5186aaf5ec0cb1d86c7cb5d76b"}},{"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":"server/src/__tests__/company-portability.test.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"0557ae95252e0398c2b0c453626a99cc1ddaa6e49f14879d9ddb49012f82dc76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGatewayWakePayload (cyclomatic 11, cognitive 10): readGatewayWakePayload 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":"server/src/__tests__/heartbeat-comment-wake-batching.test.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f09b95039d0611abeb196ff8fce8ddda8ddb6e87fafec4bcb57661dbcd5328"}},{"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":"server/src/__tests__/heartbeat-process-recovery.test.ts"},"region":{"startLine":16244}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ae7229c2a2431396d075a31f18a838c50f412c00be52d6564a6fc6d7164367"}},{"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":"server/src/__tests__/idle-connection-history.test.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b0c797726fe6417c38aa8ddcd446af61f08da24e4e126e2d2a114a97dcd508"}},{"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":"server/src/__tests__/issue-agent-mutation-ownership-routes.test.ts"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4d6635a506e169d2e79172d7714288ed480fef7a9fab031cc2131e4e0a602f"}},{"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":"server/src/__tests__/issue-queued-comments-routes.test.ts"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b446293445549260c84b315ac4826ca4829a6e851b8e2911b281ee2716af78"}},{"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":"server/src/__tests__/issues-service.test.ts"},"region":{"startLine":4777}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b59afbb4efb1b96abde9d7f7c708338745cb01517212165945df5439410da0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGatewayWakePayload (cyclomatic 11, cognitive 10): readGatewayWakePayload 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":"server/src/__tests__/low-trust-red-team-routes.test.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b7d3dbd7a7126f1b0d7bc57ba3823aba53aee3168e7df1a45c002847ce6a0"}},{"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":"server/src/__tests__/muse-control.test.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d421ab15a6419d20eff32598720548a7e5940ee053cf89ae8e303a1f8bc68654"}},{"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":"server/src/__tests__/muse-control.test.ts"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde1a489cd48d430b33bf986b2dcbcb0d29df2e4dab3ff676fb9af3f104e1a74"}},{"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":"server/src/__tests__/native-status-arbiter-corpus.test.ts"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb73a3893b29bb6584533e8b9396f325729321177bc7fc07f8f6b3de21cdc1f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedCompletedOnboardingReport (cyclomatic 11, cognitive 10): seedCompletedOnboardingReport 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":"server/src/__tests__/recovery-stale-issue-lock-sweep.test.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c847b86ea3da86b1b167fad747335c7f51ed9c210ba4d863050849f1cee7921"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wakeup (cyclomatic 11, cognitive 10): wakeup 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":"server/src/__tests__/routines-service.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce0268493da1c93ec86c8362724e556293d8485e26d837af7f5c6dd91e41e7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordOperation (cyclomatic 11, cognitive 10): recordOperation 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":"server/src/__tests__/workspace-instance-cleanup.test.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"987ce5ecba432191262be04b658d685c7b257e0b4ac61d8d1119b0185acfef81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedRunningStart (cyclomatic 11, cognitive 10): seedRunningStart 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":"server/src/__tests__/workspace-runtime-control-recovery.test.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfa01dd898e1a4b413d8b4f676003bb9cb54cc7c6ed08da2b84ea6d2f0bd8c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveBetterAuthSessionFromHeaders (cyclomatic 11, cognitive 10): resolveBetterAuthSessionFromHeaders 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":"server/src/auth/better-auth.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"679b8893aab777c33dbd86a666cc5531ec4dfe2facfbc63d2d4b2f0df21c04ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConfigSnapshot (cyclomatic 11, cognitive 10): buildConfigSnapshot 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":"server/src/lib/agent-records.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2804abc4a7d278df837999e4e190723468c1891aa83bc3bb96a49113493cfec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTrustProxyEnv (cyclomatic 11, cognitive 10): parseTrustProxyEnv 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":"server/src/middleware/trust-proxy.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d607df08cb889bb330af95dcf8a37e287ee9ee25b75313869cebc7429b042290"}},{"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":"server/src/modules/agent-lifecycle/adapters/records.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"192d70d17d5353a219ae8b243725d438216fdefa851c16e847fe9ee301b1156c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lifecycleFailureMessage (cyclomatic 11, cognitive 10): lifecycleFailureMessage 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":"server/src/modules/agent-lifecycle/application/failure.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dce9fd0f64d6aa85d71c6454d1571f3692e90bb5317ad16bafaf97fe461a870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isWatcherCommentDuringFinishingRun (cyclomatic 11, cognitive 10): isWatcherCommentDuringFinishingRun 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c80ccb567ac61f78f9bf7898908a5ae590a03adff346eeaa0d077648183b9ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeJoinDefaultsPayloadForReplay (cyclomatic 11, cognitive 10): mergeJoinDefaultsPayloadForReplay 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":"server/src/routes/access.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b23ad6e6ec65d20273090fb5859ed96639a7d8126326e3c7ddb652560ee9e3b"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf041ac7146262c87ff86df1b72ecc8cd50d0ff18f6062de9866c118b1be2f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactRevisionSnapshot (cyclomatic 11, cognitive 10): redactRevisionSnapshot 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":"server/src/routes/agents.ts"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"72df5f10807405ce86845cad350c95e7dc0448e5fb04d7347dacfc05a439df7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCasePatchUpdateValues (cyclomatic 11, cognitive 10): buildCasePatchUpdateValues 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":"server/src/routes/cases.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f33204ce96d4d05c37ef985d00fe14ee8063ea76ef38fb3335e80672f80203"}},{"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":"server/src/routes/cases.ts"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f808b63e4951558a993c009da9fbd5d8073334c1c3150676fb9a903ec3ed36e"}},{"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":"server/src/routes/companies.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dba594fb6ca09c732ceef30b44aede2f0553a10a7b3f4c3ecbaca7596e53fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTaskWatchdogProductBugFollowUp (cyclomatic 11, cognitive 10): resolveTaskWatchdogProductBugFollowUp 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":"server/src/routes/issues.ts"},"region":{"startLine":6978}}}],"partialFingerprints":{"codehealthFindingId/v1":"4735ab7a6313de8b0577dee2c87d8825a07e78a3db49cd0a60f7f0fe58e46350"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveRecoveryCommentPresentation (cyclomatic 11, cognitive 10): deriveRecoveryCommentPresentation 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":"server/src/routes/issues.ts"},"region":{"startLine":7088}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d8347123d2ea316ff803a1b1eb7c0ba77f30fee9889e7a406e4908804c51f1"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":10108}}}],"partialFingerprints":{"codehealthFindingId/v1":"474eddca95fab16f59f4234b14df25fff6333de381ed1bd8bd3a749f8204873e"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":14472}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd7c20dc8167bbffb5372fd97570d2cce7f4ed947188ed417b638426a4118af"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":19141}}}],"partialFingerprints":{"codehealthFindingId/v1":"670e54535287916e968cc0ba7f7f9943e8f36964f52adcc90fa2f863e0658483"}},{"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":"server/src/routes/issues.ts"},"region":{"startLine":19309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8072de3dd2b71e0ccdefaf040a3c092cbff87b29fa2d9db6ba8be41e38e37d8"}},{"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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23fb9564d9f7e8ef7c260e64fc2a554979e2122082e0a250ef8303d3510fbbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCandidate (cyclomatic 11, cognitive 10): readCandidate 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":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abafafb34adbf7de587f3c92680f8e4f9979ff85d91c63e8948e4655bed5cd6"}},{"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":"server/src/services/agent-instructions.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53d9557de357131f558037dffb145047d85314382913663a0371f796362c65a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function asset (cyclomatic 11, cognitive 10): asset 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":"server/src/services/announcement-feed.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c801ccb75940a88d9356fe7b66c0d6d37ad502722c7c2c6502fd12f440f36bd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAttentionHandledDetails (cyclomatic 11, cognitive 10): readAttentionHandledDetails 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":"server/src/services/attention-receipts.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c0704e10b92ab0267904bab7ab4819409dd391147741143af7f347b6eff8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 11, cognitive 10): matches 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":"server/src/services/attention-retention.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bbc62dc76dacc19d2f6f13aa13f42f0bdcbb22470f7d2ff627c571a1bb2706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectDiscoveryCandidateIds (cyclomatic 11, cognitive 10): projectDiscoveryCandidateIds 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":"server/src/services/authorization.ts"},"region":{"startLine":3074}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9af11ce23ca2e79f23a91f4e146f60bd8635a442c585b66d7617f9f05a7e765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeConfig (cyclomatic 11, cognitive 10): runtimeConfig 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":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c63c2559523cbdc4a9f4bfeea4f4b7ddfd814a776ec7641b690e6d01764dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failedChatRetryReceipt (cyclomatic 11, cognitive 10): failedChatRetryReceipt 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":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb19971acfe91a74ebf4d8b519c6eb7bf10a4834756383179462acbfba104d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function denyExternalAction (cyclomatic 11, cognitive 10): denyExternalAction 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":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ff8809e2b2d03b8c6974e681a1d02b9aee09cadf5a3989fc6d6b9ec73de30"}},{"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":"server/src/services/chat-channels/slack/cloud-enrollment.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"456b200f9e82f71984f6f3c602f271d1fe5e533fd6b161f5d8d6372656529f68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeMilestoneText (cyclomatic 11, cognitive 10): safeMilestoneText 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":"server/src/services/chat-run-publications.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0614d1090171196e6c8430387b38ec20d400848e354ae92642da257e1cfdcefd"}},{"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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00b9f29664f6da34f5a77d67d7acb49831deb4654ff6bdd68a9d8207e00f60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 11, cognitive 10): update has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/companies.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b2f0231203b968a278fcd40f057771253bb6f4e1bdb407e9dfc9641c57c619"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillSourceEntry (cyclomatic 11, cognitive 10): buildSkillSourceEntry 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":"server/src/services/company-portability.ts"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab72b8feea4f97fe4525221cdaf69a200103cf74f73ef433049c95115a4a3e1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activeIssueFilters (cyclomatic 11, cognitive 10): activeIssueFilters 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":"server/src/services/company-search.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a610be6b5fcd727b0d298a85161fc27cde49abbb78e57fb07dbb794049664421"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0311603a4aa2adbeffcd7c9808edec70efea0ffd0072d9609f206daf9eb7d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTestRunTemplate (cyclomatic 11, cognitive 10): createTestRunTemplate 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":"server/src/services/company-skills.ts"},"region":{"startLine":6692}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80aded189079df79927166ab6582c4d0b28a97e5bb9ec911ec6565c398ebce7"}},{"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":"server/src/services/decisions.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"755958cec4792e3b009467a70838cdfe2da132502cb3bd19651112e6a0b9f2f2"}},{"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":"server/src/services/document-annotations.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"21101a31a7a6d9def1aa06945b92cbc3aa8a4447f70ba43d696402b5174aade5"}},{"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":"server/src/services/document-annotations.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"307563d507f9f946668f781ac919c32b43ad2a78209a3d9b4cbaa78aeec83b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReusableSandboxLeaseScope (cyclomatic 11, cognitive 10): buildReusableSandboxLeaseScope 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":"server/src/services/environment-runtime.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6943770e935520397588f81e1d32ab51ef9021c13d032b66ff854909a68b62ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toEnvironmentLease (cyclomatic 11, cognitive 10): toEnvironmentLease 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":"server/src/services/environments.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bb08981986dac88a805493f9103f6bd32722c057aa996142e3f365e6bc16c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshObject (cyclomatic 11, cognitive 10): refreshObject 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":"server/src/services/external-objects.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"d463adc482357e586cc4783a2afe79ab9187b938bc0f974c346ef935de818332"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapTraceRow (cyclomatic 11, cognitive 10): mapTraceRow 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":"server/src/services/feedback.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"6373603bfe91dd3e3e2a41b27e448c2c3b03717a9a046ae7d1fbb98f0230aec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectBase (cyclomatic 11, cognitive 10): inspectBase 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":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cf59a503748210475109ad25ab1b25cb7e9f6ed6ca6ca713dd2e0b5f046e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHeartbeatRunRuntimeStatus (cyclomatic 11, cognitive 10): getHeartbeatRunRuntimeStatus 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":"server/src/services/heartbeat-run-runtime-status.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93b2ec6ebd7feeaaba088eda909c3dd6d87111a92043ebb3a1177e2f9c7cda8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 11, cognitive 10): matches 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":"server/src/services/heartbeat/live-recovery-work.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"06de000b74072e06dd7ac2498baa9175d54caf0f1f3cc56b93e2bc27dd6b70f7"}},{"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":"server/src/services/heartbeat/predecessor-retirement-fallback.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7ec3b701fc88b132c15300f7b47e53c96e6d9eedcfba2b963d2657c8a59629"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelStaleScheduledRetry (cyclomatic 11, cognitive 10): cancelStaleScheduledRetry 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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":4160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c12358e7a4c0907ef64061918d4273fc0e9ad90208b14931f3c4c07d81f431"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteRepositorySource (cyclomatic 11, cognitive 10): remoteRepositorySource 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":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"213a20cb37c2f363cca80f6967f6bc6faaa0fd5c95a7ef683cc7b2aebc56f54f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishRunLifecyclePluginEventData (cyclomatic 11, cognitive 10): publishRunLifecyclePluginEventData 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":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b631238c6b44844bb3bb93a7dbdb6a98fc18fe891920fdf0d2a7ccd974c7eb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function heartbeatDailyCapFromTotals (cyclomatic 11, cognitive 10): heartbeatDailyCapFromTotals 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":"server/src/services/heartbeat/timer-policy.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8b9476de6bedd048da40e328866a284805459eff9a39f244c3adbe3fc88bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHotRestartIntent (cyclomatic 11, cognitive 10): parseHotRestartIntent 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":"server/src/services/hot-restart.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"122d67686b1ee4fc1f07e591cc3f86a74079996adfc4501f31558d3d7810a809"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readInboxMine (cyclomatic 11, cognitive 10): readInboxMine 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":"server/src/services/inbox-mine-read.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd919a8ab337e398cf8125cf35f8f4771e7969ef88c30b33b6ed77a7c00907"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStateWithCompletedStages (cyclomatic 11, cognitive 10): buildStateWithCompletedStages 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":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a433d2a9c3da8d1ecd4aea426e5adf37263e0a5d3ba615ddaa2218159d2d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeTaskParent (cyclomatic 11, cognitive 10): placeTaskParent 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":"server/src/services/issue-hierarchy.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4032f6f30ac0cb7284c342ce6e8c8bc2b673725a7fa17b92c74f040829ac7278"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactIssueComment (cyclomatic 11, cognitive 10): redactIssueComment 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":"server/src/services/issues.ts"},"region":{"startLine":7316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df6199d402a176a6f64f355c71966a2cae1856b5ae4dc2534a30b9e2a521d01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runArchive (cyclomatic 11, cognitive 10): runArchive 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":"server/src/services/issues.ts"},"region":{"startLine":8423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc7cb04e878aad62a64a6dae536cc8afb2ffda6f57dca4b1a666b3d53790292"}},{"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":"server/src/services/issues.ts"},"region":{"startLine":13541}}}],"partialFingerprints":{"codehealthFindingId/v1":"98528050858c12ae55d07dc031da827305cad81f7d93e0266dc694fea417fb70"}},{"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":"server/src/services/legacy-preparation-retry-hold.test.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da1d580fae5f4a2a11e712a75a8e31d4b0f26f2c7d12cc0f50df9740be158c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isWorkspaceReadinessShape (cyclomatic 11, cognitive 10): isWorkspaceReadinessShape 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":"server/src/services/managed-workspace-identity.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83f7b27512a8d466e1a3040e0f4a7e6d7e22177831eb2145197a468c3d0d492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeCompletionContract (cyclomatic 11, cognitive 10): buildNativeCompletionContract 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":"server/src/services/native-runtime/completion-contracts.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c5543c554292cc6da531209ce68d26d65b6cfefed61cb824e18e1be5b529b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishVerifiedDone (cyclomatic 11, cognitive 10): finishVerifiedDone 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":"server/src/services/native-runtime/native-execution-policy-review-stage-race.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"18abc1a3f59892801ada59eb4d67cf846dcd451f93e24c5dc4f47667b039bfe3"}},{"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":"server/src/services/native-runtime/native-failed-workspace-recovery.test.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5d3f53b7df4c3372d9c3371263de244a7960ff310297ec742b9d80f78446d2"}},{"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":"server/src/services/native-runtime/native-failed-workspace-recovery.test.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d5648f2228b689f97d90263256001f445a1fbaed622cdacca5518e0a72983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureNativeHarnessArchive (cyclomatic 11, cognitive 10): captureNativeHarnessArchive 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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a202d179ad3fea4655ebc6e9b4c19bc23e1ab3e7c745cc58d09aebaa585a205a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 11, cognitive 10): matches 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":"server/src/services/native-runtime/native-harness-backup-expiration-work.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec2bf5ea9ebf7855297756c456ae1e860de4ccb9038add83c7ac84394f3b4b"}},{"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":"server/src/services/native-runtime/native-plan-wait.test.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc45123711a8644942b59ffbcd27fe2850dd88c4b24e6f8f0ad936010d8ff9fd"}},{"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":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d5d9907abcdfc2673c317ab0f937a6e4f59063c8a95c3651149c8b677357c"}},{"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":"server/src/services/native-runtime/native-session-executor.test.ts"},"region":{"startLine":3578}}}],"partialFingerprints":{"codehealthFindingId/v1":"36706d3991d0ef57d2473bc11b57f2116bbcd9a682574c219a874811fa17aaec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeWorkspaceExportPendingForResource (cyclomatic 11, cognitive 10): nativeWorkspaceExportPendingForResource 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":"server/src/services/native-runtime/native-workspace-finalization-state.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"29882e68d8f47e106da419f5521595666a44ce3e18bbe53f6f715bdcacd52550"}},{"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":"server/src/services/native-runtime/paperclip-control-plane-port.test.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ea7c2817b38bc0afe7981f72c34a938cfbc168794298395b506fd5d90e4314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSessionCheckpoint (cyclomatic 11, cognitive 10): loadSessionCheckpoint 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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7dd4119fecdbc0796e25b3d4ac0015ed79ccf9a233be2bd4bdd1d26a417bfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #registerDeliverable (cyclomatic 11, cognitive 10): #registerDeliverable 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":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7055fff2a4fc9dd0a2cc12fa7b131d37b5363a6080ce62e0d45ac55e5b6cdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 11, cognitive 10): request 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":"server/src/services/native-runtime/retained-provider-pack-oci.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1e7e9f79da1be9552385a44755b087c76bf3988280a59b305b153c56d83348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileControllerJournalWithRunner (cyclomatic 11, cognitive 10): reconcileControllerJournalWithRunner 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":"server/src/services/native-runtime/warm-controller-journal.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"27722b55fb4a64c0077351096ae4c8702e3117f6fd066c5cdf3d4217a31b403e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getIssueCostSummary (cyclomatic 11, cognitive 10): getIssueCostSummary 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f6e075173dd8d7489b95965a1384ce641d8e96ac773f7a546544cb5b56b013"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getWorkspaceForIssue (cyclomatic 11, cognitive 10): getWorkspaceForIssue 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cb048a03de6a77e052fb3f1898ae636dec22e02e4780f962c8364adf043fda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchAudit (cyclomatic 11, cognitive 10): searchAudit 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"9980ce69a0500c7d34ab9dbb7b7d1973ee43643733fcc9ca713cacea7cc2b8ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePluginWorkspace (cyclomatic 11, cognitive 10): restorePluginWorkspace 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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"775fd0e6d05ef70d8be71405983e335a9d90a8af9094bd999d6076c4a7654d42"}},{"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":"server/src/services/projects.ts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"496e102315eddd46070517ca303cd0fac2200d1a058b450bfbb732a124e20379"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 11, cognitive 10): fixture 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":"server/src/services/public-mcp/events-work.test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a06acbadf7ec530a6e3d4fb0ac0d979980c3b2043ef42d2cb57b3ba8bdfc62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPublicMcpEvents (cyclomatic 11, cognitive 10): createPublicMcpEvents 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d3c65bd63d8efe4ebc27d29ce8c367466299150979780079041f284e6d5d78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function subscribe (cyclomatic 11, cognitive 10): subscribe 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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6d048868ac5e1dd21e808cf55158c13e6607ffbd0cb88c9b4cc76b74369acc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 10): run 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":"server/src/services/public-mcp/ingress-handoff-expiry.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65c1d41eb2b393394b7c1f14a5d88ab65bb0f51ef4b84ac7df29ef751da8f65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decideIssueReviewPathRecovery (cyclomatic 11, cognitive 10): decideIssueReviewPathRecovery 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":"server/src/services/recovery/review-path-recovery.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb6b289a9ad0ac057f04a53b60057ead1e3926871c6f63ceb534efdabbab439"}},{"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":"server/src/services/remote-workspace-snapshot-reuse.test.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2e4fe1c676e95d13ecadd3af96e5b3886641bdf91d3748dcba12d952d23b9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreRemoteWorkspaceDirectory (cyclomatic 11, cognitive 10): restoreRemoteWorkspaceDirectory 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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f6744de87f30e48bcc9baeb14ad49814de71b1930e502407b132aaa0cfae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 10): constructor 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":"server/src/services/reusable-sandbox-resume-error.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24eb8fe1132c6eee41a449626f4ea91a82aea25c8a23e105bcf097c3a90b226"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRoutineRevision (cyclomatic 11, cognitive 10): appendRoutineRevision 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":"server/src/services/routines.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44757d1c3f0075f1d7cde2ac9eb1241aab8bd6110a61fad35a2084c4f4bf688"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc633bd2a33d69f7fcc766c686372f06e4d0fd94b8b89a67a750a4b19403daa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeSkillCacheSpec (cyclomatic 11, cognitive 10): runtimeSkillCacheSpec 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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a28379199963302be9a18d455f45c6086c8ed48becf289d924215098026a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleStopOnlyCleanup (cyclomatic 11, cognitive 10): settleStopOnlyCleanup 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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae539cf1d53befc9e7857c953c907eef1c09bb6e9ef3a2e4d8a7e1b1b8a1fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifySecretProposalResolution (cyclomatic 11, cognitive 10): notifySecretProposalResolution 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":"server/src/services/secret-proposal-notifications.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9400051df69a2841f92d8d6b864ca46a7fd5e50f2dec55c4fbe5c3ec72e5d3a0"}},{"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":"server/src/services/skill-source-sync.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6dd47d50c602469288cb406f82d35f70e18d39fc7d494552fafc6f9c0dc8eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveActorSourceTrustForIssue (cyclomatic 11, cognitive 10): resolveActorSourceTrustForIssue 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":"server/src/services/source-trust.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2079389466849f89ff48304c4b147e3a3086e014e17e60bb887d8c609ef619ee"}},{"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":"server/src/services/status-card-update-engine.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"00730caa935c8b12823071ad0cc5dc64f8130a065bb9c80b6b6e506504f7f2c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferLanguageFromPath (cyclomatic 11, cognitive 10): inferLanguageFromPath 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":"server/src/services/teams-catalog.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce133bec5efb85ecc0b3f3d5fd9d2a48b069032f68d91d6e023eaaa286279f76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPolicy (cyclomatic 11, cognitive 10): createPolicy 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":"server/src/services/tool-access-policy.ts"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"576f44bed8d97841275d8bb83163a84e19ec60e62436687620147e00ba8b789a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconnectGalleryApp (cyclomatic 11, cognitive 10): reconnectGalleryApp 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":"server/src/services/tool-access.ts"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"269e41168b0c0260dd26877014ae267954adedbc509e0eccf875b6ad1baec94b"}},{"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":"server/src/services/tool-access/activity/service.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3c2d26350cf38fc1759d96cfe1c07ae398278185cd23fa3fcd8f26ac7fc5b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverTools (cyclomatic 11, cognitive 10): discoverTools 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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbff56a4c61ceaae1d1853148737ca8c957f43125779bb237a64b079ca0dc407"}},{"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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3275254d8261adf4b698ba934e7231592299f0af6ec83530d650a8dc600bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTestOriginInvocation (cyclomatic 11, cognitive 10): isTestOriginInvocation 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a9ef18c3ca825fa872f43475431791f5363d2dee3a912a1efa0dbf627ef220"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreApprovedActionIdentity (cyclomatic 11, cognitive 10): restoreApprovedActionIdentity 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":10191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a3650dfb52a2aefdc8d0c2196306c754b83ed84313327d9d2a5fb936cb5297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertProfileEntryShape (cyclomatic 11, cognitive 10): assertProfileEntryShape 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":"server/src/services/tool-profile-entry-validation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc2d839f761fd40a651fc9d2c6185ee085c091e882f17d3f1dc33e0683b50bc"}},{"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":"server/src/services/work-products.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4000d7e8884df672d108b586a8de2cc844caa78992ed476930421dc4a7518940"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorkspaceCommandEnv (cyclomatic 11, cognitive 10): buildWorkspaceCommandEnv 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3041}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d13e2af39735d12906bf2dfef2d48ad2fbb4b0dd077ba85a653738b5bc0d5a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordGitOperation (cyclomatic 11, cognitive 10): recordGitOperation 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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a513f4f655386ec9e9be3b2d12a46c2ffb5da94bad29f7c3cd7070387fe6016f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimePortSelectionToConfig (cyclomatic 11, cognitive 10): applyRuntimePortSelectionToConfig 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":"server/src/worktree-config.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a4f5d181798257b91c73c55e958d5d7532bec30822092ff832d332e6ec1cc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeR2 (cyclomatic 11, cognitive 10): gradeR2 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":"tests/restart-chaos/grader.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0793f15d3b741db7fb9d13f1b8f1811839b0f1d0b1454aa94ba9988238ac03c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRunSample (cyclomatic 11, cognitive 10): toRunSample 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":"tests/restart-chaos/observer.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e1972372e4d2ae46bcfdabe0559d7eea1a19fd1eda43378b27c9e1be558883"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeApiArtifactTransfer (cyclomatic 11, cognitive 10): gradeApiArtifactTransfer 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":"tests/runner-e2e/api-artifact-transfer.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"18db4eaf29ff09e4a4d153a9ef591ed0aa90c0a0e0ad25e2c86dd6f01b0d294a"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt-worker.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0a85ca32e97803230208a1a4ffc122945c943e8a458571a30b3015182824f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inputFor (cyclomatic 11, cognitive 10): inputFor 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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6281820b61d896d0545ce669d6fbabb6365773eeddb658bb4d57c327569efe17"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.test.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a0edc128cf2dbf9a775d2aa4d15800b909e136268d023493e17786c9d30cae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeUnreachableMcp (cyclomatic 11, cognitive 10): gradeUnreachableMcp 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":"tests/runner-e2e/chat-catalog-domains/external-mcp-failure.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b6e594967e9d5f4e1e9c9c3ffe3a077ffae989053cdf403d2a3a4203c530e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 11, cognitive 10): act 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":"tests/runner-e2e/chat-catalog-domains/external-slack-repair.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefbae65f1ef778c53be1b60b170e73ba7d822035eb73a9fe75a72cec14dd171"}},{"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":"tests/runner-e2e/chat-catalog-domains/external-wrong-resolver.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f122f85c53077fe30c7ab2d9cf9175e920845fbfb6ca07d46ab6abddcdea3a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeUnresolvedContext (cyclomatic 11, cognitive 10): nativeUnresolvedContext 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":"tests/runner-e2e/chat-catalog-domains/identity-accounting.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666a105468b2d449dd06191c3190984fd066ffcb19d14efc0646f12b77bde70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 11, cognitive 10): fixture 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":"tests/runner-e2e/chat-catalog-domains/identity-hire-review-readiness.test.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"852c3aceae53c850215d456726b82412732f21df0e91aa2b14419293848e6871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 11, cognitive 10): act 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":"tests/runner-e2e/chat-catalog-domains/identity-subscriptions.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5271fe256bf7521eb516f6c222d86da75c5c9438b4530944b7d89c08bff07629"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceTaskReads (cyclomatic 11, cognitive 10): sourceTaskReads 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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80eb0400e0ca7efdfb547c98201b722c07833452412b3aa4b21d7ffc8ebc7c"}},{"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":"tests/runner-e2e/chat-catalog-domains/internal-decision-search.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62187fce9dad17ecdb07702778bc6eb80ff0b5b97f2035c65625fbe18f2260f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function require (cyclomatic 11, cognitive 10): require 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":"tests/runner-e2e/chat-catalog-domains/internal-restore-ui.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fb81b8349a6e287bb3d71b6f734cab4fdf24380418da6ef994ee50b2310ca8"}},{"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":"tests/runner-e2e/chat-completion-testops-export.test.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a816284e5c38c645decbbf26f5114317f8e434ad57a8f502f1a5278a3b49e51d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScreenshots (cyclomatic 11, cognitive 10): resolveScreenshots 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":"tests/runner-e2e/dashboard.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fa3a8443b8c1a2771d1c2dfd9df6bda64c1e0f23de9aab327d2dd7b2a4340e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeInterruptRedirect (cyclomatic 11, cognitive 10): gradeInterruptRedirect 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":"tests/runner-e2e/everyday-reliability.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4410147b9c47d20d2ac8f4df21ed48820648ffcb48d6ac27c86833f93e591f25"}},{"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":"tests/runner-e2e/first-task.test.ts"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e309e4a6524ef5d030cd32f2bf98e1b4ec709644f6834ec5b1fe2697684344"}},{"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":"tests/runner-e2e/hiring-template-turn-accounting.test.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"227a687c34322237609c0f5bbf7f3e8ac82aa7fb00a3b1ef8ce61f9ea1674dc9"}},{"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":"tests/runner-e2e/paperclip-document.test.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84396b087ce11dd95e8c456e7333f56be6bb6c3fde8604f8814e15af6f4973d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropDuplicatePlaywrightOutput (cyclomatic 11, cognitive 10): dropDuplicatePlaywrightOutput 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":"tests/runner-e2e/private-report-copies.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a394b9247cdaf3332c1c1f91434172d4f7f99089d28e05872dc109832c3e9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForIdle (cyclomatic 11, cognitive 10): waitForIdle 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":"tests/runner-e2e/product-journeys/hire-delegate-flow.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27fe0771ff73517a51808bf66f7554d256f07c7c99c17dbf2abce4c9a24dfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskProperties (cyclomatic 11, cognitive 10): taskProperties 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":"tests/runner-e2e/product-journeys/task-properties.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e57b3d2af09e7dcf583888b093b2c5b2bd9235ef764a5b91dc15d507172ebe"}},{"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":"tests/runner-e2e/runner-eval-observability.test.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf9ee62e37bc4948437389257a094e7f06b595e8edf5c1b1278407e3126bd40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskReplyContentMatches (cyclomatic 11, cognitive 10): taskReplyContentMatches 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":"tests/runner-e2e/task-reply-content.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80652b1c9bbbe1dca1b22916e6b4d8bb85f463ea6deaadcded88bbc6148900e"}},{"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":"ui/public/sw.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e27e65c9e15f563b7e22c5d007071e965e5a55edd13202b2782986bfadc0b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttachmentSlab (cyclomatic 11, cognitive 10): AttachmentSlab 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":"ui/src/artifact-directions/directions/d1-solid/ThreadAttachments.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"779db194c16b14c8c96525f67891ead83469608b19c1e3ac12dd3362dc36c470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThreadAttachments (cyclomatic 11, cognitive 10): ThreadAttachments 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":"ui/src/artifact-directions/directions/d3-tactile/ThreadAttachments.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"489ae6929d5c525a1d858d3a05bb8b68414e3742f8e055fe1d722e9fdb16cbf5"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"2144cebdfe2b25a904a0a4161a5c212168e55cf22e2015ac711483085e73232f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRateLimitPanel (cyclomatic 11, cognitive 10): AgentRateLimitPanel 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":"ui/src/components/AgentRateLimitGauge.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef6c40edfe126621f4a5b11429331215bee9960f2e29c221881674a1588f7b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function galleryEntryFor (cyclomatic 11, cognitive 10): galleryEntryFor 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":"ui/src/components/AppConnectionSidebar.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e096a43c046d927c84ca35198e0aea012369619a1b96fe357372b1dca47a1cbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactFileChip (cyclomatic 11, cognitive 10): ArtifactFileChip 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":"ui/src/components/ArtifactFileChip.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c4b89c0acaf7da76e16f3ac03a3f88d67554cee146d62d9911b3addd45afec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttentionStaleGroup (cyclomatic 11, cognitive 10): AttentionStaleGroup 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":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b62853fc26ae1724fdae8131797780082bf480ca6c1d5dde24c21ec4fe26c3"}},{"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":"ui/src/components/BreadcrumbBar.production.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a28c676c28252c1968748cfeffe0ee2c584712f9ff4040ea4d7d3c6ba1ba168"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DesignPageShell (cyclomatic 11, cognitive 10): DesignPageShell 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":"ui/src/components/DesignPageShell.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7956fc5be4e5ece37d969668f79172842ea5e0ea376cde07a91d34d4a07ab46"}},{"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":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23ca7dfdea093392a4fc600b8f3899444944cf25444760cf9d892aff67e41f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmailTaskActivity (cyclomatic 11, cognitive 10): EmailTaskActivity 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":"ui/src/components/EmailTaskActivity.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f794c038e940b6db219ac6640102d5ae4cbcdfc8f126b760bfa95715ee6e5c"}},{"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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c5eb9cac28c10644c487fffcb4a251dd84278c4c083d0155f60637c3abc852"}},{"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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":3824}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98e29b7e10ce4cf79ff2f74f88bd3d6fab73c94ca0d125537795d3a30dd25ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewCardContents (cyclomatic 11, cognitive 10): PreviewCardContents 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":"ui/src/components/LinkPreview.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"952240757c020fa0b28aca5b9bd36e8635d9dca08536b0bba3cf4a68ed7e03aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MembershipAction (cyclomatic 11, cognitive 10): MembershipAction 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":"ui/src/components/MembershipAction.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0606cd3863701188cf45b42bacccc6c9330b931092418f9917fe1b3fbb918f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreOnboardingAdapterType (cyclomatic 11, cognitive 10): restoreOnboardingAdapterType 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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c21dbcc507b2600bcb52da11fde2195103e2155a687c823d9575c75b3a9f3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SystemNotice (cyclomatic 11, cognitive 10): SystemNotice 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":"ui/src/components/SystemNotice.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b113fe44a8f7251e6660f63d47a8bce8339c7d7cc7b9549a6e30d0bfd694dd"}},{"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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"3715bf29bb98c40c3066ebb939a9ade7c7872dfcdd524dd9377e00175e6ca304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRosterFilters (cyclomatic 11, cognitive 10): AgentRosterFilters 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":"ui/src/components/agents/AgentRosterFilters.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dfe2076e2efab053bfcf2ac6075d87f6fda317c70589cfde7e9a0845bf0ed1"}},{"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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0fe953ae8c0853390a31580bda4a2ff407de342232626136ca5e8ad6999b35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchFilterSheet (cyclomatic 11, cognitive 10): SearchFilterSheet 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":"ui/src/components/search/SearchFilterSheet.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daaffd6e18afedf1f9335efb75df6a4700b23c853c058d84723080f7310e54a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTaskChatLiveWork (cyclomatic 11, cognitive 10): resolveTaskChatLiveWork 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":"ui/src/components/task-chat/TaskChatBlockerLinks.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b59c1916b52ee2469b9aaa4cafb2835e308086c6cbdbfac3c6e0033cc80f485"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResearchDetails (cyclomatic 11, cognitive 10): ResearchDetails 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":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"08af8166c34aa7f43624b60f8c76f556444515a74ecb6cd4afbad675cb312e38"}},{"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":"ui/src/components/task-chat/TweakPanel.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c81e3c63ea215b2af5ec89efc4d18883d509153fc35e327adc307efef19539"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safetyPresentation (cyclomatic 11, cognitive 10): safetyPresentation 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":"ui/src/components/task-chat/governance-presentation.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5d09ac6d7b62f3de39761b7191476302ec9102721f6a331c8e1bf2a4f6bca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixture (cyclomatic 11, cognitive 10): fixture 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":"ui/src/components/task-chat/transcript-adapter.test.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"603de485232589e3f1fa4fd2d9b419a60aea61f3ed5c203da0354413fac259c5"}},{"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":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eec995ebc124c07f2bbe8faf51205a8116fd64f92c29aef2dab22895dc3549"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApiKeyCredentialField (cyclomatic 11, cognitive 10): ApiKeyCredentialField 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":"ui/src/features/connections/ApiKeyCredentialField.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e0ea19670308112f7509f0d0ccd99c53fef6bd2bb08c9601835e0e3df97fd3"}},{"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":"ui/src/hooks/useDurableAutosave.test.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4228ad4a6ac1c3db2d8bd9ecef9b0ccae7daec499294fec13c898e8dbe8424d0"}},{"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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e424e0458e4876bc88290e4f12de0c7cb69aba8e52d633dadec6cbb16c70f9b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useRecentTasks (cyclomatic 11, cognitive 10): useRecentTasks 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":"ui/src/hooks/useRecentTasks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"64efc0c9c8e8c7bdb8c295aeb15ccf6a59002553a2fc0aaf0bb72e4299e7f938"}},{"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":"ui/src/lib/company-members.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52a72cdcf0fdbe514612f275badfd390580a8e1753b2947efe4ce2a73226a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDuplicateAgentPayload (cyclomatic 11, cognitive 10): buildDuplicateAgentPayload 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":"ui/src/lib/duplicate-agent-payload.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"68599c375fcfdb797b9b21c70620aef1e9a1a6f4bb118a77fc77a079ad4654cf"}},{"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":"ui/src/lib/issue-queued-comment-queue.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e2d5586a1c67ffe0ada7d1421c2e4c11c1316375ddc5195e9102b2d2cb69d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentActions (cyclomatic 11, cognitive 10): agentActions 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":"ui/src/lib/queryKeys.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2071914c1484cf3ba97e0c6073ef4e7418a8e2161576074ba0398f83308326"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeRecentTaskSnapshot (cyclomatic 11, cognitive 10): mergeRecentTaskSnapshot 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":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf420543d385c33c127d703d7d1c4528db23b8137ceaebec7aaa40d5355bc50d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSubIssueDefaultsForViewer (cyclomatic 11, cognitive 10): buildSubIssueDefaultsForViewer 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":"ui/src/lib/subIssueDefaults.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1400ffe6493acea9cdadd40278e562de1d88e4710f0e8c508b33d92c8b3653e"}},{"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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2530a3e587349be1ddf8ce8338a7c92bf9d084feceea1a6ca93ae4eef982da38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubIdentitySection (cyclomatic 11, cognitive 10): GitHubIdentitySection 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":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2abfa6d5528a6dbdd4a5e3b7c63aebcf3acaffa5e76edd840e0339d0b13200b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GoalDetail (cyclomatic 11, cognitive 10): GoalDetail 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":"ui/src/pages/GoalDetail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2734329bfa5fdf321d1935632985723f16e618a263eab2bd2be0814a14924"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InlineAuthPreview (cyclomatic 11, cognitive 10): InlineAuthPreview 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":"ui/src/pages/InviteUxLab.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea8142f82dbf5e2e2da2d8c0069b22fab2b7d509cafe084e84a138056729bb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrgChart (cyclomatic 11, cognitive 10): OrgChart 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":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99539c1aefa3213b546a7ca0e848f5db88705df65e7502c0903cc101822ab83"}},{"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":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb119ff43422117f0b412a4450c5df2af4e4afe6397c381aa260299de561c67d"}},{"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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e5474ba9d98cad0c18ff1e640556475e0d2feb9fd857f11a4e14b21b930226"}},{"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":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f7f73bac3ca91b3dffb912bcab2e8c9101416a2b6abfe3f05555f893194566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentAccessSection (cyclomatic 11, cognitive 10): AgentAccessSection 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":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d52fd68ac5a2acfd9935645ce98bbd1a8bc8b2228cb2ff7235945438b300a73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PostHogConfigurationSection (cyclomatic 11, cognitive 10): PostHogConfigurationSection 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":"ui/src/pages/apps/app-detail/SetupPanel.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2f7686a770132e7d878cd84fefed11c9c6189979fb0c1d8327e7026acdaf6e"}},{"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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"5293c82d94c1baa4b83ae8ffbd3bc1730768fdfb58a4f89fed5bcdd05328f381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MissingUserSecretsBanner (cyclomatic 11, cognitive 10): MissingUserSecretsBanner 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":"ui/src/pages/secrets/MissingUserSecretsBanner.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6543c64eb8502c9075d3379a205971bec330036669fbabd5b3e19378e820dec6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProfilesIndex (cyclomatic 11, cognitive 10): ProfilesIndex 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":"ui/src/pages/tools/profiles/ProfilesIndex.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ea5a987640904f1919e4325058316e4bc78724d0b7bd4a2e323eb49cebd3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RemoteMcpConnectionReview (cyclomatic 11, cognitive 10): RemoteMcpConnectionReview 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":"ui/storybook/prototypes/RemoteMcpConnectionReview.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"03159cba07ee20486c073d946dd377a3a2414c90c9913b99c91b95583ee2986b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentFilesStory (cyclomatic 11, cognitive 10): AgentFilesStory 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":"ui/storybook/stories/agents/agent-files.stories.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e38f965d124f1dfa9cab85a730a9009bbb1ebe11038076ae6e448ab9f67ecd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installUpgradeFixture (cyclomatic 11, cognitive 10): installUpgradeFixture 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":"ui/storybook/stories/agents/codex-runner/upgrade.stories.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a5a374fa0203df186a93e12b465b02aba224ea1201867ea91f7399ec4e2428"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Feed (cyclomatic 11, cognitive 10): Feed 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":"ui/storybook/stories/documents-artifacts/feed-image-grids.stories.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"657891d15140791d5c4168279c487bd00b564900a8e8cb50677d25d156eb3daa"}},{"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":"ui/storybook/support/design-proposals/ConversationTypographyPreview.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e924f3d63dd45d89567c78c47c7b2bbd79573219bea3dccca9888ec0d13c9784"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalAgentInvitePreview (cyclomatic 11, cognitive 10): ExternalAgentInvitePreview 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":"ui/storybook/support/external-agent-invite/ExternalAgentInvitePreview.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bd33ef2f0efa8a4409c67a95c90371f4b7fa94fa4c028f1f621bcc1e19cdad"}},{"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":"ui/storybook/support/projectRepositorySkills.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2531bef472b18b951566135e2e59ca0dfaccf5d698e18355bfaf9d0dce9183"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGitInstallRequest (cyclomatic 11, cognitive 9): resolveGitInstallRequest 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":"cli/src/commands/install.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db1a4ab01b2ee33f8d248858e2e798e36276043125724a14bd9e72ac2234f82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 11, cognitive 9): normalize 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/adapters/cursor-cloud/src/server/session.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a281c0c07568a5bb3bc7483e7c1f4f51c07e8121fe554a7079777598c41865f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeTurn (cyclomatic 11, cognitive 9): executeTurn 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a09a7ada1d5622ae2ea8de378938bfa05086e362abd15ef44e4f82c86c1c7a"}},{"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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f5cb4a789f2443162d3be72c195bc3a2eec585f9e9b9d0f43a32305a716e41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializePinnedCopilotBinary (cyclomatic 11, cognitive 9): materializePinnedCopilotBinary 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/paperclip-runner/scripts/materialize-copilot-binary.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c2d5fc38991f69a6ab0dfae6d560e21a53f42531c0713aec5149dc116677d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readArtifact (cyclomatic 11, cognitive 9): readArtifact 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/paperclip-runner/scripts/stage-runner-provider-node.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ea524f9142399f6b241e7104387b9ccb8b8e86ee52aef72f36902abac04119"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeRateLimit (cyclomatic 11, cognitive 9): safeRateLimit 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bd918dff6dc9744ec62db8a1fe1f575f27ba724c9fe405bb44d73f50c899fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundedOpenCodeTerminalError (cyclomatic 11, cognitive 9): boundedOpenCodeTerminalError 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/paperclip-runner/src/cli/opencode-proxy-events.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fb9c29890a7ac86be05462d027554d2059191d0553eb90e913c5fbc825f9a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeRestartContinuationInFlight (cyclomatic 11, cognitive 9): nativeRestartContinuationInFlight 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/paperclip-runner/src/contracts/native-session-backend.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb508a49fadbd55db55dbaaa92174d59232a9915dc36f63e2c114049cfa96d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #answerOnArrival (cyclomatic 11, cognitive 9): #answerOnArrival 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46d209490353375fe559cf3e82dbfd88100e9e44c685b62794447a5256106b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #handleElicitation (cyclomatic 11, cognitive 9): #handleElicitation 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"327492a038fbe8689ba9d56633ab6d8d69e53f0f2480c28617ae8b153e5643dc"}},{"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/paperclip-runner/src/drivers/codex/codex-app-server-driver.recovery.test.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4022fcb9d3b58b778cf42a434e0cb08d60576a29e127bde0ab46e45a2334b61d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codexProviderFailure (cyclomatic 11, cognitive 9): codexProviderFailure 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/paperclip-runner/src/drivers/codex/provider-failure.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae5051c4aa5d31ef315842344a6d0660f130c97ce83a0658f02829b0f78f2a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateConfig (cyclomatic 11, cognitive 9): validateConfig 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad3f46e1f2f16f56045845765a18bee74de53c1261dfff19945be2adf8e95c5"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d030b65f2c2d49708782b1e880241dde4ddcba139e7cf84eaf8de996dd94e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRunnerWorkflowEvalCase (cyclomatic 11, cognitive 9): assertRunnerWorkflowEvalCase 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/paperclip-runner/src/eval/workflow-contracts.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"65889474413142dc13354102eb75c00c6c44e46bdab299468166399abca2ca9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerdPriorTurnTerminals (cyclomatic 11, cognitive 9): runnerdPriorTurnTerminals 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"90493f08c1f4a30eb17774191ba52379ee0db0b6b8ec79faf033bdb764efd0e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runStatusTone (cyclomatic 11, cognitive 9): runStatusTone 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4732}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d658e666ac64c2f8d72a6499f6a670ffdfb00c11b65f7b27df8efc02b164569"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMcpAppToolUi (cyclomatic 11, cognitive 9): readMcpAppToolUi 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/shared/src/mcp-apps.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"be038fe26ccf994f433b8a3a7cdcaf07499a478ec17db334ddd3a606130c1773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 11, cognitive 9): record 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":"scripts/lib/chat-webhook-proxy-diagnostics.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6578961eeb670862e4b81891c19b4c3d4911eea5e52a27bff28d27c068cbdb2c"}},{"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":"server/src/__tests__/cloud-principal-normal-app.postgres.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d3d5cb9881fa835f215a32bbaf3855d979043dadadbb8e3e8ccf36c6cdbf51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBetterAuthInstance (cyclomatic 11, cognitive 9): createBetterAuthInstance 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":"server/src/auth/better-auth.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4a4edd2e009053385ccc611799e77088a7c3a331243e55e659fec85d204a1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 11, cognitive 9): snapshot 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":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b09b28983c6fcaf632c5360cf1bd7331d3b7cc2c9888f1b725622403e238359"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function carriedRetryAccounting (cyclomatic 11, cognitive 9): carriedRetryAccounting 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":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b7c97fe6becd5409245849cf578ea1b245980d77b7c270519738610e870a4"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"653331ec53ffbdd729d894093ef4de0bd5413e4e986aa08a0c109af3df2052b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOwnerLoginSession (cyclomatic 11, cognitive 9): readOwnerLoginSession 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":"server/src/routes/agents.ts"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86aafa80e9b2908748a36ca3924cc3cb194a70dd76ef0c190aabf4ee1ab33be"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":3560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a342ac9a3cae9064333eb07c15f7fac0f57ccb1c6ee3356eadb0ad1788c24a43"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":3924}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e771419edd94e565c66f916691947619eece99028bc119bca0c23c2e7d9475"}},{"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":"server/src/routes/attention.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5665448b535467f3ab9512e9b5e2b3cfe65eaa1c57ecd64bd13db7b26f22b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldImplicitlyMoveCommentedIssueToTodo (cyclomatic 11, cognitive 9): shouldImplicitlyMoveCommentedIssueToTodo 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":"server/src/routes/issues.ts"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a076f7e23a2fabf2972d4417d44a8058b22fb16ddd2836ab67d694e376413ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePendingReviewInteractionRestriction (cyclomatic 11, cognitive 9): resolvePendingReviewInteractionRestriction 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":"server/src/routes/issues.ts"},"region":{"startLine":6605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2b950bee5187d2a03383bcf2cfa380192c82d39af29772c2f8ae9e636441ee"}},{"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":"server/src/routes/mcp-skills.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e15fc072f52faca3629b2c04aca70ccf93756f6c7217f019a78efedcf51a58c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerCurrentRoute (cyclomatic 11, cognitive 9): registerCurrentRoute 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":"server/src/routes/openapi.ts"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8703982f81d958f2fc5a11ece6de7f36fcdb37cacbe85bd0ca0c34955404357"}},{"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":"server/src/routes/plugins.ts"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc30a7897b602517e7bcc97eaa6f0db576758d107d6ec9f1e42fadba8a9aed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadAgentFilesBeforeCommit (cyclomatic 11, cognitive 9): uploadAgentFilesBeforeCommit 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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7efd61fa9832bf1cd1900aa9dbe21c03b95b144db60fd46011fe0c79e10b959"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateAgentFiles (cyclomatic 11, cognitive 9): migrateAgentFiles 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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"52915f110bbc549a8a6f37a3295e0ddbf31bc0d48611fee91a4bf3af0568c624"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAgentFileObjects (cyclomatic 11, cognitive 9): collectAgentFileObjects 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":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c8fdc7f96e274549585d51e0b306cbe3a564c85942b98b33d1a01a7d4a2608"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadResourceContext (cyclomatic 11, cognitive 9): loadResourceContext 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":"server/src/services/authorization.ts"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b191ac7c9a90bb38c7b5fbf1af827ff786295a03f4b6c7c3b1e4ac88e6727a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessageUpdated (cyclomatic 11, cognitive 9): handleMessageUpdated 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":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abd9d1be275b0eeb5684b4c28a93039645a7aba4797869a4972770dd31faedf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmedSlackTaskStartResult (cyclomatic 11, cognitive 9): confirmedSlackTaskStartResult 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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce010af629e0499b8a3cf49f3f580900eb36cd4b2a3f08e7bb28f3559e37b956"}},{"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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"568187c6db956597bde3a4a90fb30b64aa334f496a9015ec16a479e65aca5fa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryDelay (cyclomatic 11, cognitive 9): retryDelay 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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4150da4ea09f5ed2aea3de88dc6bb456a71974f0bb8ce87d3a9662d33e654c0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exchangeTeamsFileUpload (cyclomatic 11, cognitive 9): exchangeTeamsFileUpload 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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d39a94ae46bcfa464d27eb35a9518a11af0ba2bfc5f32d9449c096cc7a5353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function telegramAttachmentForUpload (cyclomatic 11, cognitive 9): telegramAttachmentForUpload 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":"server/src/services/chat-telegram-photo.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1fd3ae63830ea569b54baefe3e10e5349dd1fbc39910409824615d614c747"}},{"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":"server/src/services/company-portability.ts"},"region":{"startLine":4497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dd954f3a7805eb7f5e84302be8f46aa5a4dc1d05145ee2bb325695b1ac53bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeTestRunForIssue (cyclomatic 11, cognitive 9): completeTestRunForIssue 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":"server/src/services/company-skills.ts"},"region":{"startLine":7209}}}],"partialFingerprints":{"codehealthFindingId/v1":"914d3e42dbd863bd22c5f78d2ce63e961da6d6e54f2d1790e43428c3caf06284"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readControllerProcess (cyclomatic 11, cognitive 9): readControllerProcess 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":"server/src/services/controller-process-identity.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c037308a54f93e5029c2ade4b9428745ab37dba79927f54922949006fb3c80d"}},{"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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd57cf866c25f2436621ab1d4ed7873dfed018705389f7068021b97c3d7fdbb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduleRecoveryRetry (cyclomatic 11, cognitive 9): scheduleRecoveryRetry 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":"server/src/services/heartbeat.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"956a4ce474ac65ee42695f8fd121402ad466453ee9fdb5efaf560bce7062db7b"}},{"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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4006476d7b7065df98a6765bc9c24c6438df227cfbba8f32a884911ebd90e6f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createConnectionIntent (cyclomatic 11, cognitive 9): createConnectionIntent 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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd7faa6002a9c2a03f7266a1371a6ca7cbaa72f999dfaff544737cc5e6bf017"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordMcpAppView (cyclomatic 11, cognitive 9): recordMcpAppView 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":"server/src/services/mcp-app-views.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea3d35e6ffd6c94aa221925c8310cc2072a955f07b104b16aae40721f174e9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rejectedModelRetryRefusal (cyclomatic 11, cognitive 9): rejectedModelRetryRefusal 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":"server/src/services/native-runtime/model-rejected-retry.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c9ad115473a2017d414ec504ce9a4c898c0b63be6b3833d5d0df8db404e693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releasedWarmRunner (cyclomatic 11, cognitive 9): releasedWarmRunner 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8571}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5b454f4c954e3fe4b2bcf26adc094f6d72c4e818a6091121bd707c45ce370d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function injectRunnerBindConflictForTest (cyclomatic 11, cognitive 9): injectRunnerBindConflictForTest 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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba07ee35f49e01d4fecb905988ea13f1420794e8470235487e392ba8ee2acfe8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNativeUsageLimitReset (cyclomatic 11, cognitive 9): readNativeUsageLimitReset 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":"server/src/services/native-runtime/provider-limit-resume.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d431a2f578a0ae7d18f2db36a84545d1538f726af6f8916646e2a768f50d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePaperclipRunnerMuseConfig (cyclomatic 11, cognitive 9): validatePaperclipRunnerMuseConfig 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":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6de7bd329a9a6c9fa35b45eabb6ddf1ca3fb3c459e74904640eec8611430c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnerApiSensitiveResponse (cyclomatic 11, cognitive 9): runnerApiSensitiveResponse 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":"server/src/services/native-runtime/runner-api-sensitive-response.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6650f13d7bf713e7737594bbc921a1abd327f1d4a5aeef6ad6a74a9acb308d5c"}},{"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":"server/src/services/project-skill-source-bindings.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeea3128f3d767f276f07c75ac0397cebd18f044fff38f3a66ac80b3b7ed4ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireQualified (cyclomatic 11, cognitive 9): requireQualified 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":"server/src/services/remote-agent-profiles.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2573d323112566eba6a20c2344648ca6509977dab25991196c051a70f262f860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRunCancellation (cyclomatic 11, cognitive 9): readRunCancellation 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":"server/src/services/run-cancellation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff534b7efbb0906875a0dd282459075e2cc80964d46a05c94f1ea332a21bb86f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateProviderConfig (cyclomatic 11, cognitive 9): updateProviderConfig 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":"server/src/services/secrets.ts"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"940d365cb60247ee835116fd2038a5ac119119126d0cee10d262533f0154f8e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOAuthClientIdMetadataDocumentUrl (cyclomatic 11, cognitive 9): resolveOAuthClientIdMetadataDocumentUrl 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":"server/src/services/tool-access/oauth/client-metadata.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d911adb7417af9eea00610037f5d5f0a4c33af08b590f966c7f58d0a40e9d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionLifecycleType (cyclomatic 11, cognitive 9): connectionLifecycleType 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":"server/src/services/tool-connection-activity.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e62062d3118525537c9061d0d5e98199e26b7dc57877d54d160bdecc687800b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUserAuthorizationInteraction (cyclomatic 11, cognitive 9): createUserAuthorizationInteraction 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":4786}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5e6b43694a1f208ef788267fc413fdceca41679cd87d708b33e17b7c0cd693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertNamedGatewayToken (cyclomatic 11, cognitive 9): insertNamedGatewayToken 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":"server/src/services/tool-gateway.ts"},"region":{"startLine":8748}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8fc11d999850626f7c3eb50ba91261096fdb59108a1112db2de74bb65c30e9"}},{"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":"server/src/services/tool-gateway.ts"},"region":{"startLine":9848}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4a61460b7e791ef510467f9f04a131d8bbe546af857b5e34b15a74411aa225"}},{"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":"server/src/services/tool-review-interruption.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce20811d299e495488015e29d89ac5322a55bb017e0497bdf18f10a377e1135"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmSourceAllocationStopped (cyclomatic 11, cognitive 9): confirmSourceAllocationStopped 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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc284393d60508c340ef7a5cc87bc569ee327706f67d91d4237005b80b4e36fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 11, cognitive 9): execute 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":"server/src/services/workspace-recovery-retry-copyback.test.ts"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23fbac95f8f1e15c62a9b1965a2894ee5cec6992d50974caefb9486d4df9778"}},{"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":"tests/restart-chaos/provider-faults.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0882c219ae5f0018322239e1324630db631a80c52e98cf4dbd396703da3ec5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromProvider (cyclomatic 11, cognitive 9): fromProvider 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":"tests/restart-chaos/provider-shim/acpx-fault-tap.cjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"928e708f716b366c80ee64e748d3091b1eed51a626f5b493e5dda8371cee3360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relay (cyclomatic 11, cognitive 9): relay 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":"tests/restart-chaos/provider-shim/codex-shim.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f071966aa6ec7a1fdbe4d5cb61c127215e819eb02067a4b1cac5d961a2f0254"}},{"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":"tests/restart-chaos/question-handoff.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57a0d84c9ea31d2edbaa0151b52423225c534c65602f605480e6a4033f6d9ed"}},{"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":"tests/runner-acceptance/report.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d5c240ac7a7f60cf0b9798aa03f37d14a16b79aa4320428adfe89e4ca69c2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companyRequestedEnvironmentName (cyclomatic 11, cognitive 9): companyRequestedEnvironmentName 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":"tests/runner-e2e/chat-catalog-domains/external-company-secret.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7267c06d477be96631e25c561ae1c337f95e01dcbd0463ed2b35ce9684f09e84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function desiredMetadata (cyclomatic 11, cognitive 9): desiredMetadata 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":"tests/runner-e2e/chat-full-catalog-testops-reconcile.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d66d52f46bc3a8c14b1af0817e16a03e73e6d2b10d7c5bdabe1730c844f33d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishPublicOriginRelease (cyclomatic 11, cognitive 9): publishPublicOriginRelease 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":"tests/runner-e2e/chat-public-origin.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab7481d4ad8e2b5fea833fd44615af3db74047e912cd3457f186b05482f2eb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadFactualQueryAttachment (cyclomatic 11, cognitive 9): uploadFactualQueryAttachment 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":"tests/runner-e2e/chat-query-attachments.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0a9f87f2d90f1fc8325513010effc77447e4a81b8482a8e3ff44de66339bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unservedLinkReason (cyclomatic 11, cognitive 9): unservedLinkReason 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":"tests/runner-e2e/chat-rendered-links.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84a0e6b6e49a3c74d1763f31ee7b2cbde3232c612f985d6036cbfaa9aa42961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function judgeCompletionQuality (cyclomatic 11, cognitive 9): judgeCompletionQuality 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":"tests/runner-e2e/completion-quality.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecdf3169f301cb7eaa86ffdd701aa3d3b52c9733e8bd67a4fb3984c84f154e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeLongSilentCommand (cyclomatic 11, cognitive 9): gradeLongSilentCommand 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":"tests/runner-e2e/everyday-reliability.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e36cfc8b04fa1f860c61a63a6e2c35c513bdb405bbdd003a7d88051eee2b2cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function act (cyclomatic 11, cognitive 9): act 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":"tests/runner-e2e/kimi-lifecycle.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ac6fd04704bff03780027ff99599063d8339158f9be53d46e1593506e17cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 9): visit 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":"tests/runner-e2e/manual-private-cell-report-assets.test.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d4546c8b4f543d072f61145499aab012f7f4330456b1c92c9fd107b03fcd0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openEvalOperations (cyclomatic 11, cognitive 9): openEvalOperations 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":"tests/runner-e2e/operations.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6928611a530f9d21dc7e13cddc1c912a9d4ee0d1b526e652e2355d892be5e2"}},{"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":"tests/runner-e2e/product-journeys/task-dependency-resume.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"952dbd54196aad4f5b35f8f9792fd1bbcec7d1feaf3bf6a1481b7ee63af3b37c"}},{"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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c3217050c50de33414a413b8c139f49bf9cdf90bf127f2b403a5e62ced5243"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnnouncementCard (cyclomatic 11, cognitive 9): AnnouncementCard 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":"ui/src/components/AnnouncementCard.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d15079b6338558b6dae32168c8a490a57d936253e9cf354593e8811741165a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IssueMonitorBanner (cyclomatic 11, cognitive 9): IssueMonitorBanner 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":"ui/src/components/IssueMonitorBanner.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d823e29b812e8e1ee3455d452450f9cfed1cdcf12410dc1675b32a213cde4ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectGitAuthorization (cyclomatic 11, cognitive 9): ProjectGitAuthorization 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":"ui/src/components/ProjectGitAuthorization.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ce5627a2a6db172f1daedd2b7a57e13db16cfdaa17e1f28ae6ebe8b97698b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScheduleEditor (cyclomatic 11, cognitive 9): ScheduleEditor 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":"ui/src/components/ScheduleEditor.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f96589eda351aff8845d42b8c9a2f37c5e92576461a7ea52ba78d0538279ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FastResponseSettingsSection (cyclomatic 11, cognitive 9): FastResponseSettingsSection 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cea2ec2020373ea662aa0582da761076a8afa4ec1f63644efdc4aa0424f911f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskChatComposerDock (cyclomatic 11, cognitive 9): TaskChatComposerDock 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":"ui/src/components/task-chat/TaskChatComposerDock.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5df357fbf54f77d4e6295a5978e70a535874a8e1df38c306ea57dcf11c84d9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forwardGapWheel (cyclomatic 11, cognitive 9): forwardGapWheel 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":"ui/src/components/task-chat/TaskChatComposerDock.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"854ff9d36da94b5ae3806f2a1e0a87da55695b722232e941d615e8185396bfc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceFileCard (cyclomatic 11, cognitive 9): WorkspaceFileCard 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":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"56106a782e97a9ad919b4759bf3733cb8e4bece80324dd0cd8441af711d7fae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDocumentAnnotationHash (cyclomatic 11, cognitive 9): buildDocumentAnnotationHash 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":"ui/src/lib/document-annotation-hash.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e078914d41d50f84bb8f2f6f26f3cab3fb529e2bd57673916aea283131949d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMuseInvitationDraft (cyclomatic 11, cognitive 9): readMuseInvitationDraft 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":"ui/src/lib/muse-invitation-draft.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4deab91ec8d1995524ab784767da48c4fc11646c52962e22fc3ac6e38a4582d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isQueuedIssueComment (cyclomatic 11, cognitive 9): isQueuedIssueComment 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":"ui/src/lib/optimistic-issue-comments.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"022c2e03c0bbbc0b24d68b8a87f3e64f037e6a2501dba1c5d06b342465cd8808"}},{"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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":7998}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb1047479d0b986c3a68321c9524e0cb5efba0196e9ec676777bd424caca664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentReportingManager (cyclomatic 11, cognitive 9): AgentReportingManager 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":"ui/src/pages/agent-detail/AgentReportingManager.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dfbc089c3961d971556e7335799d5e09f5029472277d90ac661b1ee98479d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlackSearchView (cyclomatic 11, cognitive 9): SlackSearchView 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":"ui/src/pages/apps/chat/SlackToolSettings.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"860fbb068a39f92eb04602f78a7b7fcc5f5169435b605ad658af595e35c1e76b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectSkillBrowser (cyclomatic 11, cognitive 9): ProjectSkillBrowser 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":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"c118ed26d6b329ed8a922727cd17d5ba05ba0da9bd29c59926b0385db16bcb5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 11, cognitive 9): mutationFn 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":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"08203cf2c9aea1ba9625693700a7a5e0d0f781e15845b74963d0c46666a581e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compatibility (cyclomatic 11, cognitive 9): compatibility 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":"ui/storybook/prototypes/provider-routing/model.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0aed884228cbb7b28716f992946a469f772e0f6fc8fbdc506a15d8c382ba88"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/issues.ts: 20558 lines of code: server/src/routes/issues.ts has 20558 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac35314b396d35120263fffa44cdd57bdd9d6707e5c85174abf774d3d1ddfcc8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-session-executor.ts: 18858 lines of code: server/src/services/native-runtime/native-session-executor.ts has 18858 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3327731c7630fa7a6ef54af26b56c4a169eaa3268c5fd17c8d4f0208885eda"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issues.ts: 14316 lines of code: server/src/services/issues.ts has 14316 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c11821d5b35861d5991e22125c222d65f9b64c09a7faccfa51f53dba88b70cb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-gateway.ts: 13869 lines of code: server/src/services/tool-gateway.ts has 13869 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5187528a20f784812644e9086b04a173affa11f55d3cce1290132e46566b957"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/openapi.ts: 12991 lines of code: server/src/routes/openapi.ts has 12991 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/openapi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16e4ce64831a0ed01c0ddd063d50b3731961d0450fc2ea604bdd2032b866231"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts: 9733 lines of code: packages/paperclip-runner/src/live/runnerd-codex-transport.ts has 9733 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e554f1939207612b76e3a79e743830841445064291572c5b56c234c502501d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/IssueDetail.tsx: 8969 lines of code: ui/src/pages/IssueDetail.tsx has 8969 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd8dde394de76df1586f3987adfa755c2d101b9212f4c97ecbe8af2bfa2a4c0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-runtime.ts: 8886 lines of code: server/src/services/workspace-runtime.ts has 8886 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c201ae156d99abd9e2eb9d7f46d8d4cbed365c230f328b79f3d6609760308ef3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/agents.ts: 7531 lines of code: server/src/routes/agents.ts has 7531 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0396aea734e11694af770c4448d54119ede42142847cc43f5675b066e58776"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/company-skills.ts: 7125 lines of code: server/src/services/company-skills.ts has 7125 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec6583bba4dc328f733b6ca7846668c8e6bc572951758ba3767a7c9c44b0bb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx: 6653 lines of code: packages/plugins/plugin-llm-wiki/src/ui/app.tsx has 6653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f617a822df4c16e2f70b35ae7e9229a3266b1971f23181444ca1371686fb6da"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueChatThread.tsx: 6640 lines of code: ui/src/components/IssueChatThread.tsx has 6640 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62ad4fd88a613fcbba9c09950d29b4ab43802360a106cc55db8ed12711d54cc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/service.ts: 6622 lines of code: server/src/services/recovery/service.ts has 6622 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e373acc26ab66cdebb57cd4c9d601d0569e64534524685eae3216cdba7f6083"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/company-portability.ts: 6216 lines of code: server/src/services/company-portability.ts has 6216 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe070a07199e0192bc6c52527c76f998c1a4b50de5aca25c4b4de90ca56d46ef"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/acpx-engine/execute.ts: 5863 lines of code: packages/adapter-utils/src/acpx-engine/execute.ts has 5863 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7024eff3967dcd9092ad106ee0966f125fa7c2d75a2c83ae78a8a18e3bfdbab"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issue-thread-interactions.ts: 5683 lines of code: server/src/services/issue-thread-interactions.ts has 5683 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f793dec64e1834ea72d2cb715f4a6e5ab4a625d651ce53178ed154bf7a8a4c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/queue.ts: 5632 lines of code: server/src/services/heartbeat/queue.ts has 5632 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fb44b5489544ed394521e413daa899c995f8ac2489e594cdb28e7ba031d25f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/secrets.ts: 5607 lines of code: server/src/services/secrets.ts has 5607 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d43297186464bf1f9f8641445c55f5632d44428cf47ee93314ae4a062e3b8dc"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanySkills.production.tsx: 5446 lines of code: ui/src/pages/CompanySkills.production.tsx has 5446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f920b8c4c4f54ec1f8044966dcd7d6be4ddd539168cc8db729555ac1fdbcec"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanySkills.tsx: 5421 lines of code: ui/src/pages/CompanySkills.tsx has 5421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d65948f0798fe2162c574dead55b01ec2402ee1e612d8a10c53f93322dc77d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-workspaces.ts: 5305 lines of code: server/src/services/execution-workspaces.ts has 5305 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca71b0cd9580d07d136c0b2508a3be1651f80a46824097876207b7481b0e1a96"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts: 5064 lines of code: packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts has 5064 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2e951f5031a0f833d30b0d480e4ed42f8dceb7ac76d71f17c8c209d5ab09d1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/server-utils.ts: 4821 lines of code: packages/adapter-utils/src/server-utils.ts has 4821 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f807447531edd5b420dec00ed9c55df652b0812eb84521f3f98a7232870e50a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access.ts: 4812 lines of code: server/src/services/tool-access.ts has 4812 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b501af5b2ce2555472b4718e56785a95de6e54284d602c32753ce8d20723c6ef"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/execution-target.ts: 4787 lines of code: packages/adapter-utils/src/execution-target.ts has 4787 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31232578377e05230ab2874a50ca60336db10cf6b5478f054e34b69ada891428"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Secrets.tsx: 4784 lines of code: ui/src/pages/Secrets.tsx has 4784 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Secrets.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3900f52c2256a200ef66195cef967a99127f2f5972ea91c26823989c6deeeb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts: 4662 lines of code: packages/plugins/plugin-llm-wiki/src/wiki/core.ts has 4662 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bcf2870aa62dcef2584ea5e05799958d8633497b716cea230772cd1f2ffd8d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat.ts: 4652 lines of code: server/src/services/heartbeat.ts has 4652 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea8754380cee9a530ae980a1e45b99ea7d18301b1b1f591cdae54bb21bf452c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-runtime.ts: 4580 lines of code: server/src/services/environment-runtime.ts has 4580 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac802be07ea43c90665e19f71a6b036f6bf07f2505d20bac2e142813cd9da047"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueThreadInteractionCard.tsx: 4571 lines of code: ui/src/components/IssueThreadInteractionCard.tsx has 4571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"754f0a2a7a6194a312dd26cc9b516fadfbb747b92640a7fc6231d0f839f97917"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/access.ts: 4392 lines of code: server/src/routes/access.ts has 4392 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd14501c20d2eeceedf4dbe08895e187c4afa818623bae2eb7820c76a01704f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/features/connections/ConnectionSetupFlow.tsx: 4344 lines of code: ui/src/features/connections/ConnectionSetupFlow.tsx has 4344 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061cc92c107ed5df20a132e0fed6835cb6065d12e848ec51bb4e5345fde7c1f0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/AgentConfigForm.tsx: 4264 lines of code: ui/src/components/AgentConfigForm.tsx has 4264 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1276aa2f6e6223c98811f8176f8a023b92ca3367a29de5bef45e5b960496370"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/worktree.ts: 4231 lines of code: cli/src/commands/worktree.ts has 4231 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"492681bb65a4645504a4eeb4ce1220a741caaf9cae8196b951c36367984bb491"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-worker-manager.ts: 4028 lines of code: server/src/services/plugin-worker-manager.ts has 4028 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7fce08eac64cdbac91d5e2421c8f767c8153bd9d28354326d2df3032345a7c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/daytona/src/plugin.ts: 3930 lines of code: packages/plugins/sandbox-providers/daytona/src/plugin.ts has 3930 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1829f8ab11f521917826f5e3e747ae6be4697d86779c52c067ab0ad97149d9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/native-session-runtime.ts: 3785 lines of code: packages/paperclip-runner/src/native-session-runtime.ts has 3785 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a23cde27fad69e472f1f0f2358716a917a53240cfc4fe9cbe4961d6d2404a3"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/TaskChatThread.tsx: 3653 lines of code: ui/src/components/TaskChatThread.tsx has 3653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4a23fd68cc7681c1bb0bfc5a26da45aba829503271e4262cbd73387fc303df"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels.ts: 3609 lines of code: server/src/services/chat-channels.ts has 3609 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53cf97f3e70dcd2659c7f41a950ae3256dddc935de0c2caeff510dc8ad41e06"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/workspaces.ts: 3583 lines of code: server/src/services/heartbeat/workspaces.ts has 3583 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8baa37bb942238f83f2b1ea0e2709148c3c013c70880d319862cf11c0749e9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-host-services.ts: 3575 lines of code: server/src/services/plugin-host-services.ts has 3575 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfb99bbbe5384d463e9079e6ed296782fefc3f597682cd84a8a795cd1fac029"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/AgentDetail.tsx: 3555 lines of code: ui/src/pages/AgentDetail.tsx has 3555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1187c25924b60b1427fe0d28f534214fd0b9a773258817524b589632025c9b80"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Inbox.tsx: 3547 lines of code: ui/src/pages/Inbox.tsx has 3547 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b5399200cf4514ac7387788add96952294bb0e4849ab4d19711ad993ad21b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/SkillStudio.tsx: 3534 lines of code: ui/src/pages/SkillStudio.tsx has 3534 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ef2eaefc6e250de980df61030027a77b377d9d31c7ef24b38f6a5c4bda1706"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts: 3528 lines of code: packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts has 3528 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20217181c480569d50a05fda5119aa0d340342c4535249faf8322543257e05e8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/OnboardingWizard.tsx: 3528 lines of code: ui/src/components/OnboardingWizard.tsx has 3528 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2afa5e35658e2efa4ce3b0c0275958d19fb1a29580e69017e841f0fc33c64fb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts: 3374 lines of code: server/src/services/native-runtime/paperclip-runner-tool-authority.ts has 3374 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5106864a7479946fe53320c833d92a1820970311b5bb35c3e970a2773770d4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/AgentDetail.production.tsx: 3251 lines of code: ui/src/pages/AgentDetail.production.tsx has 3251 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fedcec8b91ec5d1d15085cce91824457d0aa3c677ce0880eedfd456030584f9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/issue-properties/IssueProperties.tsx: 3243 lines of code: ui/src/components/issue-properties/IssueProperties.tsx has 3243 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25118b6e358058d3c062f4eb6b0c3c582f43dba84d38774d5bc63d156ba261d5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/routines.ts: 3235 lines of code: server/src/services/routines.ts has 3235 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/routines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b22dfde1e1d221b6965cf680fd8ac68bf08773848da0f9a318dc39570f575fb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/run-preparation.ts: 3227 lines of code: server/src/services/heartbeat/run-preparation.ts has 3227 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2711c2596f98f0952c17597946c175f58c0c93e13e280fa448d56af3d1f2b8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-sdk-runtime.ts: 3187 lines of code: server/src/services/chat-sdk-runtime.ts has 3187 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a928d6edd25073e227df482658298082d396abef6639041baafb8aacccd6b56"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/attention.ts: 3176 lines of code: server/src/services/attention.ts has 3176 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20b94d79cc2ff4f12a218d7831d74a64340b1f5069b3c75b2d9b6e67c11e0ca"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/recovery.ts: 3072 lines of code: server/src/services/heartbeat/recovery.ts has 3072 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"460f80b93f1742b8468fe035f19ed201d66c2a94c125f9aa630f9396a90799dd"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/LegacyInbox.tsx: 3064 lines of code: ui/src/pages/LegacyInbox.tsx has 3064 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/LegacyInbox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b9fdb9ba0b17646dbe891594e6d3b4dd62dacb55cc98bdbfee1ef5a08f0d25"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/run-lifecycle.ts: 3054 lines of code: server/src/services/heartbeat/run-lifecycle.ts has 3054 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee083e69fe23e03020179b654b6889d9a0502472aaf493221458cc298d44d342"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/live/live-session.ts: 3046 lines of code: packages/paperclip-runner/src/live/live-session.ts has 3046 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d50e640b077397625bf7b3999820a21465183c87f9c0603554f4476a681d7fc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/authorization.ts: 2973 lines of code: server/src/services/authorization.ts has 2973 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42be8619a0252ea0d7611cebfe10d4721d9d55c94b4e1c6e5ad64ff2de504e05"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/plugins.ts: 2960 lines of code: server/src/routes/plugins.ts has 2960 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c1e7448b83c6a48c5d0e28b3ce9367ff61f9acf23957f85ec507f727d36e9a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/tool-access.ts: 2866 lines of code: server/src/routes/tool-access.ts has 2866 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"307993adcf78fc21990514320bdb398bb8b401692b7930b84832f8c5a1c5eedd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/testing.ts: 2826 lines of code: packages/plugins/sdk/src/testing.ts has 2826 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b547c11e45173411c2d7d91006b5bb770a91f469c9549cc8cdc4330384d270"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/email-channels.ts: 2823 lines of code: server/src/services/email-channels.ts has 2823 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3a68a25d95051eb12c73ec1bb8ec6682f103a929ad3e9e558902f710bae088"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/sandbox-callback-bridge.ts: 2656 lines of code: packages/adapter-utils/src/sandbox-callback-bridge.ts has 2656 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061020827578607df3671effdc50f60992031c00151b50b132badf27893eca68"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/status-decision-committer.ts: 2653 lines of code: server/src/services/native-runtime/status-decision-committer.ts has 2653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-decision-committer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e2b2cd5eee2509ef76fd07f8f8d6e655b8a7030719a914232dedfbb0146727"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/protocol.ts: 2592 lines of code: packages/plugins/sdk/src/protocol.ts has 2592 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/protocol.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73fd34d31abb0e0fb951ebed693a996c5eee5ce53e0c1ca33b754a068af7aa2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanyEnvironments.tsx: 2586 lines of code: ui/src/pages/CompanyEnvironments.tsx has 2586 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fb12411adcc484df3dc02bbd3fbf5d0dc9676af44c01d211c43043803b498a"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/transcript-adapter.ts: 2583 lines of code: ui/src/components/task-chat/transcript-adapter.ts has 2583 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/transcript-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735805aff97261d19fb4bd6a0fee171ab41985de5d10b2908cac7d473a3ad96d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts: 2578 lines of code: packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts has 2578 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ce65dd21d6729d6a88f0d691df6d901b3a4e61a0f398d6a4dd42463d487dcc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts: 2536 lines of code: packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts has 2536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33c39ddfd363828915e079138d2336140952652565b3cd8cc76a1899fbd5fc1"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssuesList.tsx: 2511 lines of code: ui/src/components/IssuesList.tsx has 2511 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b76278d4c39f844577591eb9e9deb62b2a20cf129375b0944b5c2ea9949c69"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/context/LiveUpdatesProvider.tsx: 2509 lines of code: ui/src/context/LiveUpdatesProvider.tsx has 2509 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4275f0e54219206fa00f030b54cc6f8e668cdb382956a0f8fc18cfab4aa763e6"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-loader.ts: 2485 lines of code: server/src/services/plugin-loader.ts has 2485 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-loader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0171f9fb11576ab0cb35c1be0ba9ac5e2f3a542944a6b077303a8e44511d90"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/TeamCatalog.tsx: 2464 lines of code: ui/src/pages/TeamCatalog.tsx has 2464 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec90c2e18c638b2d23b723ff00f78dba2f0938180c6fa8b88f55b6cf7d94e95b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/DesignGuide.tsx: 2462 lines of code: ui/src/pages/DesignGuide.tsx 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":"ui/src/pages/DesignGuide.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbabf2c0ca727adbb47073f60d3b5bd6c6606636bc481b1cb2ede385618f5689"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/index.ts: 2378 lines of code: server/src/index.ts has 2378 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c34aa8db87ab7dc5f3b67f4f4e8752a8fa0bb83eb238cb4f36d18224fa4f3e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/LegacyIssuesList.tsx: 2307 lines of code: ui/src/components/LegacyIssuesList.tsx has 2307 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db857fb4ae58d87333c2a0e4909a56de3fc728ded5a8f4ed8252893c157aea27"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/sandbox-managed-runtime.ts: 2292 lines of code: packages/adapter-utils/src/sandbox-managed-runtime.ts has 2292 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24cd7e0bfec13a119aa64664ad11646247cc57f170fb863e948d3d1a5985caf"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/worker-rpc-host.ts: 2280 lines of code: packages/plugins/sdk/src/worker-rpc-host.ts has 2280 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c3575a46979f99cc3d493b2b3f3ad5449cdd8468424e96f04545dff62822de"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access-policy.ts: 2248 lines of code: server/src/services/tool-access-policy.ts has 2248 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3c0e2f1dfbe6fc85ef1c0cfeb68db8386084c1beec63beef11006ea8cc9cb0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/validators/issue.ts: 2245 lines of code: packages/shared/src/validators/issue.ts has 2245 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/issue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d63d0c980fe979fdbc6e0ed2c0ae2d5080e468fe991943f587dda06d484e3a3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-restart-recovery.ts: 2225 lines of code: server/src/services/native-runtime/native-restart-recovery.ts has 2225 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-restart-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f843c300a7ebeae12957c1e4c5bd73df6489fb28dc40a0aca528037c3475d048"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanyImport.tsx: 2199 lines of code: ui/src/pages/CompanyImport.tsx has 2199 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b6db8ff24c63c002d506a8271d93c54737d014198720eafa984418b0a7c98c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts: 2183 lines of code: packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts has 2183 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b427f563c50dc5c2f2cec94a2b39079dcde8d0f290c6d31682b9d7008a5dcaee"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/types.ts: 2153 lines of code: packages/plugins/sdk/src/types.ts has 2153 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"518d6be1de6b3c316d3e52c8420c7541e7910f7418bb7177fd960c1b69a5c724"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/failed-run-retry.ts: 2141 lines of code: server/src/services/chat-channels/failed-run-retry.ts has 2141 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-run-retry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee49bfba87532a361a8034ae1fad402cf08b21a99c6d973ce295108ff12ab0a8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/retries.ts: 2132 lines of code: server/src/services/heartbeat/retries.ts has 2132 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/retries.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e0ecba35933b3d4d6697d18d0f276a9e9b83bb5c958f52558d22e3ee8358ca"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-run-finalizer.ts: 2099 lines of code: server/src/services/native-runtime/native-run-finalizer.ts has 2099 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c35bc41fe5840da9e6fda36503f1282f30da33ece7a430da26be4fc38f39b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/built-in-agents.ts: 2096 lines of code: server/src/services/built-in-agents.ts has 2096 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/built-in-agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c5333d5b3fc7d6378bb3328227eb09c1b34c78c58898905dd8aff170b06c7c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/ssh.ts: 2080 lines of code: packages/adapter-utils/src/ssh.ts has 2080 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1ffc3fbc8dc20d3f654cf4b7e9fe19db90b45f553417808478c8c9c99876db"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts: 2072 lines of code: packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts has 2072 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d397a767f25927b19f3c85230d15092ec7446f2d310d355a6a0963732846f98"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts: 2053 lines of code: packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts has 2053 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aade5da81c45e309a895164b2157510601ffd484fe3be0252c30167c485d73"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx: 2040 lines of code: ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx has 2040 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec513e1e4d33c964e24247ab71c8daedac218eef5cd5611880d792c1d8a8cec"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/interactions/callbacks.ts: 2035 lines of code: server/src/services/chat-channels/interactions/callbacks.ts has 2035 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/callbacks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"746f61b7dc3833d09b218ede0f9ac443ab9784aa9530e8a714cb7568ad76f4ba"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/feedback.ts: 2026 lines of code: server/src/services/feedback.ts has 2026 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d145276649c99e129893a6ce687e5a45ef00bae6d327f1ef48c88adc8ff791"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx: 1990 lines of code: ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx has 1990 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3b90794c1287d580093a08eec6686247e687ce9b49c5f6bba124b770cd1e8f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx: 1974 lines of code: ui/src/pages/apps/chat/ChatEndpointSetup.tsx has 1974 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b8ae68478e140c9cbdc5ce80c490718415944d4dfb610cf3df47a220b1f559"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/run-state.ts: 1945 lines of code: server/src/services/heartbeat/run-state.ts has 1945 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1663b1a1d214c773f83263525130f071530f500eee92e3d127586fef8900a1"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/company.ts: 1909 lines of code: cli/src/commands/client/company.ts has 1909 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d03e3aad93130ec51a9f6ea1d8b5e132f0b28c10cebc8f02f7b88d381dc592"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/run-completion.ts: 1885 lines of code: server/src/services/heartbeat/run-completion.ts has 1885 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-completion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c624109cb50a5551b1038c00f6a3327851e173891c48704789b897d99bfe6694"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environments.ts: 1880 lines of code: server/src/services/environments.ts has 1880 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a57391ef49a5415045c2d86ea9b1b853306fb4c69e6a21c7106df7ede702c5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/task-watchdogs.ts: 1855 lines of code: server/src/services/task-watchdogs.ts has 1855 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-watchdogs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcaa34e5645cac08b91aa116f272176e3b247293a39564da8965e6850f2c189"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/run-control.ts: 1848 lines of code: server/src/services/heartbeat/run-control.ts has 1848 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddecbfc6e3041ffa6e701066557f8fcb6516c091f199691cb12f085bd0b77dc1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-file-resources.ts: 1838 lines of code: server/src/services/workspace-file-resources.ts has 1838 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bea6bfecfd497f46fa7d3a80c81fe23a2983748497a7ba053c2326613c6f772"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/transcript/RunTranscriptView.tsx: 1836 lines of code: ui/src/components/transcript/RunTranscriptView.tsx has 1836 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"808811afdb9068ca3e5e5ffe3d32be7fe0be91ca4074047ec5a1484b1379cafa"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/company-skills.ts: 1833 lines of code: server/src/routes/company-skills.ts has 1833 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7105bba0d3abd3615fc1aa55ce40603ddf0a0140283e016a131bf60d31dab39b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/provider-events.ts: 1819 lines of code: packages/paperclip-runner/src/provider-events.ts has 1819 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/provider-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c085b67c4223fe69c3b226cdb3a94f665ab51edad05a3216f0a52ba5bd9622e8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/NewIssueDialog.tsx: 1787 lines of code: ui/src/components/NewIssueDialog.tsx has 1787 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034e4da7df4e5a2799a89ca25cf2e40fabe788d55452f70a531b0fb2567591db"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/chat-attachment-reuse.ts: 1766 lines of code: server/src/services/native-runtime/chat-attachment-reuse.ts has 1766 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"955c684e6cf46c83f1a378e7d7f1fc028d0f978f3ceaa491fff44df3746d46bc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/execute.ts: 1745 lines of code: packages/adapters/codex-local/src/server/execute.ts has 1745 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fab003882c192874732208504bf5cde0292e1b783104e4af55d20633d87c7f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts: 1705 lines of code: packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts has 1705 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f516e436ce743fe39bf07599b571c673e8d76f4dc9165b8515a34dc3ff885c02"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/workspace-preparation.ts: 1700 lines of code: server/src/services/heartbeat/workspace-preparation.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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf37d4ed6149f2fd1fbacc40756d8a8263fb55e7ffcca6ce6e5476019aeb1854"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/device-login-service.ts: 1672 lines of code: server/src/services/device-login-service.ts has 1672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/device-login-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8854b94f2bed5a7aae1e61c45f6d83d1b9f24d3cd374a661455479c2660741"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/browser-use.ts: 1669 lines of code: server/src/services/browser-use.ts has 1669 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"356f9af156f34eeb3e2374a5d0bdbe024ca0495d0846319df0b9a66d034ded26"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/Browse.tsx: 1667 lines of code: ui/src/pages/apps/Browse.tsx 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":"ui/src/pages/apps/Browse.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392efbbd32eeea1fe5ca218c60e9c1f692e81937ff11d0182cf4d06e51a84607"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatComposer.tsx: 1666 lines of code: ui/src/components/task-chat/TaskChatComposer.tsx has 1666 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatComposer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3768d8b7ca22134e122216fb099d4eaf157705d472587cc91cfaa9c2351a43"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/MarkdownEditor.tsx: 1653 lines of code: ui/src/components/MarkdownEditor.tsx has 1653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c381e65888c7b1c4025560eee4fe3c889b90a277ce5d785aace1c5a2c8a7c1"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/questions-and-approvals/issue-thread-interactions.stories.tsx: 1615 lines of code: ui/storybook/stories/questions-and-approvals/issue-thread-interactions.stories.tsx has 1615 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/questions-and-approvals/issue-thread-interactions.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8606d8774f201ff18b26b23acdc756c30c974961f764d735e5f07a1f9b6ab66"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/cases.ts: 1602 lines of code: server/src/routes/cases.ts has 1602 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9507cea11db4fc7cd39c9adb654d7b5556617011d19c753eb003979ca6271855"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueDocumentsSection.tsx: 1579 lines of code: ui/src/components/IssueDocumentsSection.tsx has 1579 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fb0d2da34f506dc14022d9d6cf6ffe7b01d0b09bc78c8acec98c382771b81b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/constants.ts: 1574 lines of code: packages/shared/src/constants.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/shared/src/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5232635d1c904a3542a17af4bf36b5345360397607dead89a32438d69108ca4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/github/webhook-ingress.ts: 1571 lines of code: server/src/services/chat-channels/github/webhook-ingress.ts has 1571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81626c819caebb52ef3d805cfd52baad3540729318c03a8ba7fabbd357eb489f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-wizard.ts: 1571 lines of code: server/src/services/chat-github-wizard.ts has 1571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0685fde98a1af8cd41eb30d05a14ac0ae6072dd206f07cc589fb5f2a372e65"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/setup-token-session.ts: 1570 lines of code: server/src/services/setup-token-session.ts has 1570 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/setup-token-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b696376ec4e2038cf4f157149bb1c536e967e78de71a72738894c0659acabf"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-reviews.ts: 1569 lines of code: server/src/services/chat-github-reviews.ts has 1569 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-reviews.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ead4bec9f96bf92bda13bb82298541fa5a1cc6e1630ff058f3860c687cd5d0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/companies.ts: 1559 lines of code: server/src/routes/companies.ts has 1559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/companies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2566e0ccea545868782d32dad8223bb6cfa3e506fd0ab8ef0d16300b82d8bd7"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/new-agent/NewAgentSetup.tsx: 1551 lines of code: ui/src/components/new-agent/NewAgentSetup.tsx has 1551 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/NewAgentSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76227e61bdbed98213301e1ea64c18a5c64a277159983e040f3db5acd5d5240"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/ExecutionWorkspaceDetail.tsx: 1545 lines of code: ui/src/pages/ExecutionWorkspaceDetail.tsx has 1545 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0187c4a9afb454d1852a91b9cf85d95144b342c071bf9a15c313d84abd5b8815"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/run-dispatch/adapters/postgres.ts: 1542 lines of code: server/src/modules/run-dispatch/adapters/postgres.ts has 1542 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea622786fe380045baf06b64a8bf34440a584177fecb39a2138a9c60e85a3df"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/connection-intents.ts: 1522 lines of code: server/src/services/connection-intents.ts has 1522 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"798d0049c1ea1a34d0c5d78014df3661c2e0f5321aafa689db57486f9d86431a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/environments.ts: 1518 lines of code: server/src/routes/environments.ts has 1518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65e04f958a354b8a63e586e429b9b96411e3825798d4eca4b7dee323c424122"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueRecoveryActionCard.tsx: 1518 lines of code: ui/src/components/IssueRecoveryActionCard.tsx has 1518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f098b850255a435c1dca55783303a1c8186a151cb0a5135a33c9839e3aae470f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx: 1513 lines of code: packages/paperclip-runner/devtools/issue-thread/src/App.tsx has 1513 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d435435a3fd332842df77e36917e8ca92219be2addb62e9361acd1ab92d0fd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts: 1486 lines of code: packages/plugins/sandbox-providers/daytona/src/file-sync.ts has 1486 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3117dcbb7d62ef8d2c74c9e19b7294ce4f75ca04600fcb459b0a5e682f4a70a"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/transcript/native-run-events.ts: 1466 lines of code: ui/src/components/transcript/native-run-events.ts has 1466 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/native-run-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f1742f79fb7ea0f2588f47a47f5c5cd4f08fc5d5a9ce59daa2e68258a14de0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/wake-queue/adapters/postgres.ts: 1444 lines of code: server/src/modules/wake-queue/adapters/postgres.ts has 1444 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b071ffd7bfcb0f900d6353089c5e94141480998174919e2ee3598cc714c735"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/execute.ts: 1439 lines of code: packages/adapters/claude-local/src/server/execute.ts has 1439 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebbdf3b45b201611c872e1adddf91f2add7343b4d3d88124129edf398728f63"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/app.ts: 1436 lines of code: server/src/app.ts has 1436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11330e2ed5f08381f511db030971d78f9b09e4a0f5211f728d83345a51d7936d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx: 1413 lines of code: ui/src/pages/apps/chat/ChatEndpointDetail.tsx has 1413 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d8c5c5d18721dea970d21ff49bd7aaf45bdd53090889d63fc168919ce13470"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Routines.production.tsx: 1399 lines of code: ui/src/pages/Routines.production.tsx has 1399 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51e882af3496be9635f9a6da659c51275cbac64767fc2a04b2b7ff29de753a8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/runtime-host.ts: 1378 lines of code: packages/paperclip-runner/src/drivers/acpx/runtime-host.ts has 1378 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3182e4801978e5df00a1f8fbd9eb7e90e72ad9fd05924fdb5507846848f71f2b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/execution-workspaces.ts: 1378 lines of code: server/src/routes/execution-workspaces.ts has 1378 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6607e93e21a3b32730a09aa08da3c65f3897ff43d607d858ddbb7cd2117af2b8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/projects.ts: 1378 lines of code: server/src/services/projects.ts has 1378 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/projects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a4eb6b3633bd9dcf17a5ab39be68f8f4cb2d06644710284ab320b1abd27268"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/issue.ts: 1373 lines of code: cli/src/commands/client/issue.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":"cli/src/commands/client/issue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28feb0ac2fa90a0f5c596470a06ccc6250072e6d97511a9dc8c3327c450c2381"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/openclaw-gateway/src/server/execute.ts: 1369 lines of code: packages/adapters/openclaw-gateway/src/server/execute.ts has 1369 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e56e7299c18943409c6c0508c228db55eec2de5a01e4901e03e12f75038ae0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/client.ts: 1362 lines of code: packages/db/src/client.ts has 1362 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d393eeae3c247e6f012f5c3c1373e7ef574113ad4630dd39e0e5c3528a57eb2e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/JsonSchemaForm.tsx: 1358 lines of code: ui/src/components/JsonSchemaForm.tsx has 1358 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1cafe6bfb36b75b6a2e61321029c3122ffae27fb9bda84154dca8092d7a47b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/question-response-delivery.ts: 1342 lines of code: server/src/services/question-response-delivery.ts has 1342 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/question-response-delivery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"336fd486d65483829eb08bdb8633c7442ce1275e8abc4488fcc11b4abce6264a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-custom-images.ts: 1338 lines of code: server/src/services/environment-custom-images.ts has 1338 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81725af45f1ac651cf5e0a7c8060ca7f1be522430f89cf325249231c6e0dc776"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Routines.tsx: 1333 lines of code: ui/src/pages/Routines.tsx 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":"ui/src/pages/Routines.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"395eff02853d904b7dcbefb57c2a68ca3d538e88189fd98150ab168e01e115f5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/runtime-execution.ts: 1328 lines of code: server/src/services/heartbeat/runtime-execution.ts has 1328 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7b4e253860a6d37baecee0455fa773e7ccf96edb2137c5006f8d9309067dd4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/http2-bridge-server.ts: 1322 lines of code: packages/adapter-utils/src/http2-bridge-server.ts has 1322 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47805f3e46fa0048164d463b5f2710f6fc6362f2013540e2dc674f476a5aee6"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/ProfilesTab.tsx: 1320 lines of code: ui/src/pages/tools/ProfilesTab.tsx has 1320 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb24d1d3fe4a77344d4435ac9689ad6dd8829eeda4fbdb8c34bcbe6e319e2bc3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/budgets.ts: 1316 lines of code: server/src/services/budgets.ts has 1316 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189a0c1d28676cd3c0d5307fc99e9bbba17be63719ebc290751285cdd43b59eb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-runner-file-handoff.ts: 1316 lines of code: server/src/services/native-runtime/native-runner-file-handoff.ts has 1316 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e880270d01dd696cad646d4c5a8c4f8bf8f2c365004d22f78b54b6a00d2af8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/scheduling.ts: 1312 lines of code: server/src/services/heartbeat/scheduling.ts has 1312 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58ce4c7ee6015dcfae3105c87fdeff4e50cf621f7046e71999d8540ea2f2427"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/fast-responses.ts: 1309 lines of code: server/src/services/fast-responses.ts has 1309 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd732f6dd389b9cecde2b3dd2b21b5df85884c05ddfa8b4732c4af57e282ec94"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts: 1306 lines of code: packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts has 1306 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63e1749cdc0901c706b24e3fdce4e1088c7ba22c2212f3d22662abe371283c0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx: 1305 lines of code: ui/src/pages/apps/app-detail/ActionTestDialog.tsx has 1305 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/ActionTestDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293764ce179dd45923e93eb44d110f8cd8cc39e77a892311dec8cd4d66ec7bfc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issue-tree-control.ts: 1281 lines of code: server/src/services/issue-tree-control.ts has 1281 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b4742a0cd42dea139d59e933b5831e9feb73b64286cd13f1bfa0eaf9621b8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/secrets/aws-secrets-manager-provider.ts: 1280 lines of code: server/src/secrets/aws-secrets-manager-provider.ts has 1280 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a990dc77888a04ce86249159d6590c6815f1d948da7cf9b544ea482fba662a5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/adapters/registry.ts: 1273 lines of code: server/src/adapters/registry.ts has 1273 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"195e45e65aceefffffaa3e163e2b0a334548121d9e430dd9898f2e1677560368"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/ai-connections.ts: 1269 lines of code: server/src/services/ai-connections.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":"server/src/services/ai-connections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b3adccdd15d75e6db93fe27590a68914424d7889a665cb185d94f35525aa21"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/validators/plugin.ts: 1264 lines of code: packages/shared/src/validators/plugin.ts has 1264 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a734765d284a80d54fc8808f48d31171597e5c60d59a4f84501d6cdb8dd85"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/RoutineHistoryTab.tsx: 1237 lines of code: ui/src/components/RoutineHistoryTab.tsx has 1237 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890d63da6f3b6f33b4fd615b8ca00261f5ad0e0db10644d2484e05747952e24b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx: 1230 lines of code: ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx has 1230 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d9e7ac0264ed056b60fdcb717dbf1543d63a80a3a61ef7fdfdc0ab48a6e6c3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/schema/tool_access.ts: 1223 lines of code: packages/db/src/schema/tool_access.ts has 1223 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/tool_access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddf4035899de4746d2920b2fbb728a08893cae7965efcfeda2c3d5c111a67ed"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-workspace-sync.ts: 1223 lines of code: server/src/services/native-runtime/native-workspace-sync.ts has 1223 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030abd7a9ea99e2eab568d83c2b2769eb8f125338786ef3a93d2486f8f73eaa2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/remote-workspaces.ts: 1219 lines of code: server/src/services/remote-workspaces.ts has 1219 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4458ad070b97dd5bf424cd97b7e791c5ac9f99d555d4a2bc4b03e6ff84c6c3"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/secrets/ImportFromVaultDialog.tsx: 1215 lines of code: ui/src/pages/secrets/ImportFromVaultDialog.tsx 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":"ui/src/pages/secrets/ImportFromVaultDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a3550cabff4d88ccdbaa01afacde8a098554aeebef551aa6b6efb15f243af1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/smoke-lab.ts: 1213 lines of code: server/src/services/smoke-lab.ts has 1213 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/smoke-lab.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d83a701f6bce3345f0b239f968fd26b8ad7e1d2b054331b1e628164a026a1b4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/eval/live-workflow-executor.ts: 1212 lines of code: packages/paperclip-runner/src/eval/live-workflow-executor.ts has 1212 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc554778639a6cb20195ebf3762d677ef3e5cb7e25e62b5155a9d5ebad5cfb87"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/issue-chat-messages.ts: 1199 lines of code: ui/src/lib/issue-chat-messages.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":"ui/src/lib/issue-chat-messages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb609a2d6402fd1ac54df2e6ced2bf1f3d22a9e056da6b5391a152f85a6bbf9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanyExport.tsx: 1199 lines of code: ui/src/pages/CompanyExport.tsx 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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5204c5dce57590d4337010fb3f0092e88784eb4ae8b961fcd68b9db408cbf14d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/access.ts: 1186 lines of code: server/src/services/access.ts has 1186 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b73afb1ba4a5d9fb319626fd88862e9b199f75494ea5cb9ef7d2e95b5bb3b4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/RunnerInspector.tsx: 1182 lines of code: ui/src/components/RunnerInspector.tsx has 1182 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RunnerInspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbbb53db49eb3429f4e6418efd2b4fb10e83391e173453c23a92543e781e7f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/issue-thread/fixtures.ts: 1181 lines of code: packages/paperclip-runner/src/issue-thread/fixtures.ts has 1181 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/fixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f98b00059bd151b01b8828dfe6d477f09cbf22a2ee448e83038dc1458f8cf5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/runtime-selection.ts: 1180 lines of code: server/src/services/heartbeat/runtime-selection.ts has 1180 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/runtime-selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e14a45f7b1a1ec60f5d766ef25ba4a70c73d0a8b32d35c731a33e85ae16d3d5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issue-execution-policy.ts: 1175 lines of code: server/src/services/issue-execution-policy.ts has 1175 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-execution-policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998234579f80f3ecfdda592a61eafb436acc398d09612f75e5eaf1f5326d0322"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/PluginSettings.tsx: 1174 lines of code: ui/src/pages/PluginSettings.tsx has 1174 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/PluginSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c04d91eededd73fefcedd7cd1404f0092d02a3fd70a644f7aa640de9ef33c9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-teams-file-transfers.ts: 1164 lines of code: server/src/services/chat-teams-file-transfers.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":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0c4bae20c114749183e154fe43b1edcfe2e9ccf6254cd8568c148808db1a6d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-teams-file-consent.ts: 1161 lines of code: server/src/services/chat-teams-file-consent.ts has 1161 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40014d9247ea378a403ad2dc8eac53667071df74d5268d3c789475d61b59050"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatProtocolCard.tsx: 1161 lines of code: ui/src/components/task-chat/TaskChatProtocolCard.tsx has 1161 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"005c5b4ed99ea74ca7ae0f8a07ff67984d35aa8b3e1c714f046aa46a2e5f6d27"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/git-workspace-sync.ts: 1156 lines of code: packages/adapter-utils/src/git-workspace-sync.ts has 1156 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee650a21a8c03730e21632cd176afad52b5658963b1c890b93e43bd5d6a04ca"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/external-objects.ts: 1151 lines of code: server/src/services/external-objects.ts has 1151 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78401bd52e692ebf56932c2212368e9be76cdeb6975963ab892f00954db8f529"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/ownership-registry.ts: 1135 lines of code: server/src/services/recovery/ownership-registry.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":"server/src/services/recovery/ownership-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8a3b51f20919a3fd45aa3daa76e8f810dbcf9ce3b40cd21323120489231802"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/document-annotations.ts: 1128 lines of code: server/src/services/document-annotations.ts has 1128 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/document-annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4dc4d83bc7bec7ac6b310bfec918cc5737efeddcfcba26ad6cf0bc06820d9c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Costs.tsx: 1126 lines of code: ui/src/pages/Costs.tsx has 1126 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Costs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86510a1a7fa62dbbd940ebdb9ebd95f54e8be4838f274c298768277c92e05d4d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/inbox.ts: 1122 lines of code: ui/src/lib/inbox.ts has 1122 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d865c19a2d886611e215beb51027e143d8c3fe35d80b32ef2fde016ec0ac89"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/tool-gateway.ts: 1120 lines of code: server/src/routes/tool-gateway.ts has 1120 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a02bcf2abf686698bdc22c6347962f016991ca1e01e81a0f862f151d9cb1cd2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/company-search.ts: 1117 lines of code: server/src/services/company-search.ts has 1117 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f63f00c0409659c0c51c9feec03ee860ba6bee25018a2455342d626e7e5bea"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts: 1114 lines of code: packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts has 1114 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e11007e9203983a263c8fa3f8fa5e6c411b7b3a003f968924e57509a568e2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/WorkspaceFileBrowser.tsx: 1109 lines of code: ui/src/components/WorkspaceFileBrowser.tsx has 1109 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceFileBrowser.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a55d2ee2f73cc64c5e24fabd316d991993f349a65ecb307fbdf70f8924e2cf4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx: 1107 lines of code: ui/src/pages/apps/chat/GitHubBotConfiguration.tsx has 1107 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubBotConfiguration.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d4243de2e22390597c1bbf210821b1cd3304ecc018a9d55079f92f7a20f389"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/publications/worker.ts: 1092 lines of code: server/src/services/chat-channels/publications/worker.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":"server/src/services/chat-channels/publications/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f0a81c9dd191d6b56bd3de5fe6f13f71ad83a68ec6144d6568cd3806908f81"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/remote-workspace-migration.ts: 1080 lines of code: server/src/services/remote-workspace-migration.ts has 1080 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"327b2cef2b1dd2f4161272a13f77a1add26f6c9cced2e5a9664939c4e56a516f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/inbound/lifecycle.ts: 1060 lines of code: server/src/services/chat-channels/inbound/lifecycle.ts has 1060 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2001dda568c1eff6c34f65bfc591afa73a7781f1940c1489987b76e30e22030e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/slack/task-start.ts: 1055 lines of code: server/src/services/chat-channels/slack/task-start.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":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3fd3b19dce242721acea34c05de090706e92ae8012e4f94033a6d0039c4078"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/ProjectProperties.tsx: 1055 lines of code: ui/src/components/ProjectProperties.tsx 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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85305f03897d7093aca36b0d6bb66ec700baabf1960411e356cee198b2c9501e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/CommentThread.tsx: 1049 lines of code: ui/src/components/CommentThread.tsx has 1049 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8c7559255af4c84f1f7ae94d046d688fba01378096587a88d9243069a1338d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/secrets.ts: 1048 lines of code: server/src/routes/secrets.ts has 1048 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08affd051cdc371d6ef34164af12caf5b6edd0ef7748c9e60e1f5511addd6e9e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/host-client-factory.ts: 1039 lines of code: packages/plugins/sdk/src/host-client-factory.ts has 1039 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/host-client-factory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9380b8918a5d31e4103900a69d191795908d462943286344e0baba38a4b6232d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/backup-lib.ts: 1038 lines of code: packages/db/src/backup-lib.ts has 1038 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/backup-lib.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5a6c70a52a286ecb7bfd33e48ad73b9bf7435ae21324f0a5ec5fd80854d312"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/status-cards.ts: 1037 lines of code: server/src/services/status-cards.ts has 1037 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/status-cards.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5593810d4d39524191ffc77af940469ea693e629f554ad1c6edd96ae2b2e8050"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/projects.ts: 1036 lines of code: server/src/routes/projects.ts has 1036 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bda877fe3e950c2ffded181bcc5baad3338e0166e977cf26040dd82e8b0644"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/tasks/chat-comments.stories.tsx: 1035 lines of code: ui/storybook/stories/tasks/chat-comments.stories.tsx has 1035 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/tasks/chat-comments.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ae00cb7a39bc130b8d8e114275162b28c0f3adab8f9ecf9bbe570fb235672a"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/FileViewerSheet.tsx: 1030 lines of code: ui/src/components/FileViewerSheet.tsx has 1030 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileViewerSheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8a37f77aba5bb49b0ee9b958c0a04a6f8e5f6860372810dedb3f4a1ec12275"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-question-forms.ts: 1025 lines of code: server/src/services/chat-question-forms.ts has 1025 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-question-forms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73f584c3b6425fe862f73d0b968602891b37a650b70b6f72cc2922273d6d08f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts: 1020 lines of code: server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts has 1020 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4e7f90aa39e9022c9ddae6bc0eec3df664da1d20ba89d5c3effab18910854d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/contracts/native-execution.ts: 1014 lines of code: packages/paperclip-runner/src/contracts/native-execution.ts has 1014 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/native-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91481cab74cd33e1be441ce0395853a2fa22cbc0869a9582098b93abbc4cd7e5"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/folders/SkillFolderTree.tsx: 1012 lines of code: ui/src/components/folders/SkillFolderTree.tsx has 1012 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e682a100c82371416a5e4e3d7cdc8961d6191b76788f2cba4e221e69d9b4eb13"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/acp.ts: 1003 lines of code: packages/adapters/claude-local/src/server/acp.ts has 1003 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a07876d5937f9fc6f502eaa8b3f1c482af035716312d23c6427508b95c5b27"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/hermes/src/gateway/server/execute.ts: 1003 lines of code: packages/adapters/hermes/src/gateway/server/execute.ts has 1003 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf4ebc1c55d73ec8e5fd926768531f033353d3a801f21691991df7a76ac7234"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueRunLedger.tsx: 1002 lines of code: ui/src/components/IssueRunLedger.tsx has 1002 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3c271a292fc3eb7a6d2f29bc7e5c6aad1e8b40c404e9f1d02becc10ca4d6b7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/plugin-llm-wiki/src/worker.ts: 998 lines of code: packages/plugins/plugin-llm-wiki/src/worker.ts has 998 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2871f5456c64ec2e4d1dcefe03b2e67ba3e9ed3040883c842ee67602e06cd7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/wake-queue/application/use-cases.ts: 995 lines of code: server/src/modules/wake-queue/application/use-cases.ts has 995 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/use-cases.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fdc25e19654ae9f52109419d7e5441cf5d1d7e331bfcdf312582f3b67aace1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts: 986 lines of code: packages/paperclip-runner/src/drivers/runner-tool-bridge.ts has 986 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7c68ab50c75b7b553d2106ae1647be4cd76658c114b8cc2199da230fb55ca"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/validators/tool-access.ts: 985 lines of code: packages/shared/src/validators/tool-access.ts has 985 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/tool-access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"351cd4fabf6355600edf57794af9808ea31432650549a2ea1678f4386253d1b1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/configuration.ts: 985 lines of code: server/src/services/chat-channels/configuration.ts has 985 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/configuration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de288e59242afb3f3a3e50ff8d68fbdf4820a3b76a9228589b5ffce5f0f0eb55"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-workspaces.ts: 985 lines of code: server/src/services/plugin-workspaces.ts has 985 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411296ec3c761efc36b62c58c3e0389e598fa1e495dc248d351bb62e76d224d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/redaction.ts: 981 lines of code: server/src/redaction.ts has 981 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0565a33310ca12bdf498f65ffa433650ee19fdb840ec012a9fef7e8734c27a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-recovery-resolution.ts: 981 lines of code: server/src/services/execution-recovery-resolution.ts has 981 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-recovery-resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"715b120a14820c92973f88fa0ad54e54cd485f350dfecff911c83d3003f2651c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/MarkdownBody.tsx: 979 lines of code: ui/src/components/MarkdownBody.tsx has 979 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a378056fdf4bdff6e1813ddb7b05c3903f1c88308dba31029608e54368dcba"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/runner-goals.ts: 978 lines of code: server/src/services/runner-goals.ts has 978 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runner-goals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cae01338a209649760e07cfc961aa1fa310df6e9b2e45524bd555e96e130d6"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx: 978 lines of code: ui/src/components/chat/ExternallyConnectedTaskBanner.tsx has 978 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea48e91e6f830816085feccc845aad7d1468c621adb554795af31d9a849722cb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/slack/file-receipts.ts: 977 lines of code: server/src/services/chat-channels/slack/file-receipts.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":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae73c319f71789bdd4ed013ed7a1aa577c0333a32fb8fd0b62f32853c51290f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-finalization-reconciler.ts: 969 lines of code: server/src/services/native-runtime/native-finalization-reconciler.ts has 969 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"967dec9b7183b92147b9c327c7e604d8d101b4532a73f66d68a0e94c35faa2fd"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/explicit-native-continuation.ts: 967 lines of code: server/src/services/explicit-native-continuation.ts has 967 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cc06f2d904744936ed11bf2ad1528a315578e8534b6f154af10e80cc27d281"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-interaction-bridge.ts: 966 lines of code: server/src/services/native-runtime/native-interaction-bridge.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":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d8efe33aba7622935abe40cb37fc65dc4991e67c095e8d51ced4f9df58e9a6"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/assigned-work-sweep.ts: 964 lines of code: server/src/services/recovery/assigned-work-sweep.ts has 964 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/assigned-work-sweep.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d673dec216f3bfab1de995378e620332c02941f39107eb6f144c6d3ea89a66"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/paperclip-cloud-connector.ts: 959 lines of code: server/src/services/paperclip-cloud-connector.ts has 959 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6354a516908043c29d5f6694eba8e6d24c551c0a005bfb01040748f101ed639"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/skills.ts: 958 lines of code: cli/src/commands/client/skills.ts has 958 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0c8213c9164482046d05e2ce959d3d4ef3ad7d39a598d8fd587b467b0536ce"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/middleware/auth.ts: 958 lines of code: server/src/middleware/auth.ts has 958 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56229daadce2f594a96671bc5026ad494b3c41a0e8d7e77e0f050a342fc4d1a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/teams-catalog.ts: 958 lines of code: server/src/services/teams-catalog.ts has 958 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/teams-catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ecf4542fd418dd87c1505b240e544576bd46d9929d54552f33f954c6f30c91"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/kubernetes/src/plugin.ts: 952 lines of code: packages/plugins/sandbox-providers/kubernetes/src/plugin.ts has 952 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4aa42f38b69cd4119d08f3ba37d1e0088e9877f52eb888ed091def6f7bc8d40"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/AppDetail.tsx: 950 lines of code: ui/src/pages/apps/AppDetail.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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79c41f7670ebd96b11981c8761489ba9d3c1e72e05b7468bdef0d4956b33358"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/external-chat-question-response.ts: 946 lines of code: server/src/services/native-runtime/external-chat-question-response.ts has 946 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/external-chat-question-response.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc65b01475fa18e18cfcbafb9ff4556126a1b2b4f0011fdd91a8d4c378bf13f3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts: 945 lines of code: packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts has 945 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c3436843b022b9134955e7a0b6aefd6c9cab00145670ad4dd66cd1c5a35e8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/publication-replacement.ts: 944 lines of code: server/src/services/chat-channels/publication-replacement.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":"server/src/services/chat-channels/publication-replacement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"581c984ba53a535592bd53f26e2b55d6c9c125f1820cc9fea8b05f2f1f9e87b4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/RoutineDetail.tsx: 942 lines of code: ui/src/pages/RoutineDetail.tsx has 942 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5536a2536c317163167daf1e3a4a00545100c6d99234847cc3c86fa0a6e55004"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-provider-artifacts.ts: 938 lines of code: server/src/services/native-runtime/native-provider-artifacts.ts has 938 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8859e4df6cb516a44e799d1f1b84f908a2f9f437b2ed95b872c6797332657277"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-side-panel/TaskSidePanel.tsx: 933 lines of code: ui/src/components/task-side-panel/TaskSidePanel.tsx has 933 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-side-panel/TaskSidePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0f78b9a67ac23f2ca62fd203772ad250860361b752435b83bd40043dcc6aa5"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/timeline/WorkTimelineChart.tsx: 932 lines of code: ui/src/components/timeline/WorkTimelineChart.tsx has 932 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/timeline/WorkTimelineChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c77eea16cf69a4cf0e1b31db11bd72e91165b05a318b0e8c54413b72dcb19e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/secret-proposals.ts: 931 lines of code: server/src/services/secret-proposals.ts has 931 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secret-proposals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b827cb116846f13ec7a1ee91ee73faa1bfa625c1287ad997f7434982d964cbc0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/BoardChat.tsx: 926 lines of code: ui/src/pages/BoardChat.tsx has 926 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241b232654b4623461fb1e8c6ced6a89d0bee9e57cbddcec7b65a802d7ec2db5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/provider-effects.ts: 924 lines of code: server/src/services/chat-channels/provider-effects.ts has 924 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/provider-effects.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d336c0e6ababc2c5fcfad9e94ec7c9803b5aab00023a3a0bf5527c489091d1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/telegram/maintenance.ts: 924 lines of code: server/src/services/chat-channels/telegram/maintenance.ts has 924 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/maintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b90a5755452db566559c79ad67fb4f0fc743b249cc63c0327d06754cce595b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/backends/harness-driver-backend.ts: 920 lines of code: packages/paperclip-runner/src/backends/harness-driver-backend.ts has 920 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc66dd8282415b6246c6279cef7121a038298ac2dccf3a3a61bc8a10c42aa50"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/file-resources.ts: 920 lines of code: server/src/routes/file-resources.ts has 920 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2099d0ee6c8c191f3dedafc1148f62ad3e14db89709d3d14de056821cceee483"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/fresh-continuation-fallback.ts: 917 lines of code: server/src/services/fresh-continuation-fallback.ts has 917 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3fbcfe1f9766508b77bc27a73efe0b47be4050b9facfcf3a10c9c6088f4ac1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/check-migration-safety.ts: 916 lines of code: packages/db/src/check-migration-safety.ts has 916 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/check-migration-safety.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad2497c1befc80a86a2db78c2992070ab254e274882276ef7e960fc4ea2db1f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/issue-thread/live-projection.ts: 914 lines of code: packages/paperclip-runner/src/issue-thread/live-projection.ts has 914 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae528352e1c319f903a6e415368442c854cc7e2e0f24ffb97847ee1e623e733"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/task-interruption-presentation.ts: 913 lines of code: server/src/services/task-interruption-presentation.ts has 913 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-interruption-presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0003a5d526e4c63dec4eb30da2277a7e1df39f5f1ace3a842e94d627285db57e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/tasks/issue-management.stories.tsx: 913 lines of code: ui/storybook/stories/tasks/issue-management.stories.tsx has 913 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/tasks/issue-management.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"089fdbdb76b40a82a195a7f194566fe59ca3d854ff8850018e7c634303a98caf"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/WhatNeedsMe.tsx: 912 lines of code: ui/src/pages/WhatNeedsMe.tsx 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":"ui/src/pages/WhatNeedsMe.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fb2922d4d7162d102603d436f18daedf47dc7f18f29951d8305249577cf51a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-harness-backup-expiration.ts: 911 lines of code: server/src/services/native-runtime/native-harness-backup-expiration.ts has 911 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"989f7b6bee57a6b3c9d88835fcbd915dabd2bf601fddba35c8f47d815422036b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/AttentionQueueRow.tsx: 910 lines of code: ui/src/components/AttentionQueueRow.tsx has 910 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionQueueRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f1095c3c2d609bf1af27077f6ac45a083e5e8ef85b1da9621a56b6314452e7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/codex-home.ts: 909 lines of code: packages/adapters/codex-local/src/server/codex-home.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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0103bdca805824e54d2e7b78fe9fbc076e3183a18fcedba40b7f7f511e750e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/provider-profile.ts: 908 lines of code: server/src/services/native-runtime/provider-profile.ts has 908 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b563d2c6d79d5a613857784d43dadf0d0fb02dbbaf04c7d62ebb5c78ef39a3"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/RoutineDetail.production.tsx: 906 lines of code: ui/src/pages/RoutineDetail.production.tsx has 906 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccda3724ee23cc44d2123755126765214deb7e7f83393bbddc6f681f1909115"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/exe-dev/src/plugin.ts: 904 lines of code: packages/plugins/sandbox-providers/exe-dev/src/plugin.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/plugins/sandbox-providers/exe-dev/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e1391a573185dfee5f37103cac1111465cc043a0c39eaaf88753ddd27ccaa"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/ProjectDetail.tsx: 903 lines of code: ui/src/pages/ProjectDetail.tsx has 903 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb905a927eb1712a2a2d9926cbc3be6a0929b2dc000624289f4a511f0772f8e"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/plugin.ts: 899 lines of code: cli/src/commands/client/plugin.ts has 899 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489777086b98c007f43ac1b1910d258d154537f2b49a10fdae60da2fe8741af6"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/plugins/slots.tsx: 895 lines of code: ui/src/plugins/slots.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":"ui/src/plugins/slots.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"322d7de27e46ce56ba7ded158ebd2a13e6f5722732f3182a38ac25af52bc1804"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-run-orchestrator.ts: 894 lines of code: server/src/services/environment-run-orchestrator.ts has 894 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2dd5e5ee8f93078d50ccabe5fc8699e56bb98cdcd5aa66d8aaa91275172c52"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/InviteUxLab.tsx: 891 lines of code: ui/src/pages/InviteUxLab.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":"ui/src/pages/InviteUxLab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b7751d8022e85214b7255a99038abcd043f07cb2612a5bd0e5a851066f1a03"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/agents/agent-management.stories.tsx: 891 lines of code: ui/storybook/stories/agents/agent-management.stories.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":"ui/storybook/stories/agents/agent-management.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda91677ff36825458c3c1807790d4c70db27bc91d95c43e970e47a04d05e906"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts: 886 lines of code: packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts has 886 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b79ba85db0524315e2e43a0a9398bf77a8391f03d00722c7ba6fbc6503be4df"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/profiles/service.ts: 881 lines of code: server/src/services/tool-access/profiles/service.ts has 881 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d78f8281ff6cdb5853607cdf876a9984d3bed95584c5954fab6223a36c28f0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/adapters/codex-local/config-fields.tsx: 880 lines of code: ui/src/adapters/codex-local/config-fields.tsx has 880 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dec49431355ba60898dd50b112152b24b755ce4cc1dd2286ee2326fc106f651"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/agent.ts: 879 lines of code: cli/src/commands/client/agent.ts has 879 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65198f5498d13ecd74fa4c7bbdc3bbee9ff4ee6c2d15f2dc470a5957619a100"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/remote-workspace-snapshot-archive.ts: 879 lines of code: server/src/services/remote-workspace-snapshot-archive.ts has 879 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-snapshot-archive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"379d3ac7a0a2066049322816d4b7e736c3dbfbeb792cf3c089ecdea311da63e9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/pi-local/src/server/execute.ts: 873 lines of code: packages/adapters/pi-local/src/server/execute.ts 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":"packages/adapters/pi-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0c29a13db2b0ffa6beb31c00a9913fbad6e7c6f79092b47544ca8d5a50fcf3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-safe-replacement.ts: 873 lines of code: server/src/services/native-runtime/native-safe-replacement.ts 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":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"258b755c41794b963e3553df52f0aafd5fbcfc9342d6be983e9204e606d8b87d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/tasks/dialogs-modals.stories.tsx: 873 lines of code: ui/storybook/stories/tasks/dialogs-modals.stories.tsx 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":"ui/storybook/stories/tasks/dialogs-modals.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb806e0577c9dac10a014d34f1a0741c9db91560cc9b58cedc474189fd84dd52"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-instructions.ts: 869 lines of code: server/src/services/agent-instructions.ts has 869 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instructions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7d58827c71689fc40f004b284d42bfb9531f3d1a5a6b0ee72a35bd9cfb1e17"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Search.tsx: 867 lines of code: ui/src/pages/Search.tsx has 867 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Search.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07833c2e1b03ddc02f78baaf6f7f45a07a25b1bc90e26f4007eae1e2fa150e86"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/remote-workspace-transport.ts: 865 lines of code: server/src/services/remote-workspace-transport.ts has 865 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b70a0834639c87f79c77cd3d60a335f8f86726d484894fdc555ac73176fb4c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/reactions.ts: 861 lines of code: server/src/services/chat-channels/reactions.ts has 861 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/reactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307a26e3c8e4be47e0f718b29343cf0211090791fea4f92acc036fed721050d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-attachments.ts: 861 lines of code: server/src/services/chat-github-attachments.ts has 861 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c7f23a8cef0f96d2b90eb5b12a4355f339a4f8ec64c7a1784fffcaaf016902"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/seed-needs-you-demo.ts: 860 lines of code: scripts/seed-needs-you-demo.ts has 860 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-needs-you-demo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d54b9341590bf578361273619fbd824843783a87a0f06c1ba76a2989085a1d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/status-arbiter.ts: 860 lines of code: server/src/services/native-runtime/status-arbiter.ts has 860 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/status-arbiter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2293e5ae8c494cc25715321c8b728099cf6e0819b85e4368ec1b62829d35c1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/slack/session-stop.ts: 859 lines of code: server/src/services/chat-channels/slack/session-stop.ts has 859 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/session-stop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab930102d2d14cf20ee6686f037349da610a45298e1b9c8254537df040faa572"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/live-console-demo-server.ts: 858 lines of code: packages/paperclip-runner/src/mock-core/live-console-demo-server.ts has 858 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6f798a85f0aa2b03abb635657d7b5c3775d8e000bdefc5b4da7f2940885dbf"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/ownership-invariant-report.ts: 858 lines of code: server/src/services/recovery/ownership-invariant-report.ts has 858 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/ownership-invariant-report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1abe7bc4da2a73d0ba7632f9f60fad8dd2d76f15e71c449bc68d7f83a4664e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-runtime-supervisor.ts: 856 lines of code: server/src/services/tool-runtime-supervisor.ts has 856 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-runtime-supervisor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41068bd7a64192c5c99391abdfe1dedcc47983d30717667a33e96787f54e41b3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/imessage-photon/events.ts: 853 lines of code: server/src/services/chat-channels/imessage-photon/events.ts has 853 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"700cb9bb22831be80143993315a1388b43f5146f336662647ba2c0c0fe0f1070"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts: 849 lines of code: packages/paperclip-runner/src/semantic-tools/paperclip-dispatcher.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/paperclip-runner/src/semantic-tools/paperclip-dispatcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f7a242e7327963b749cabbec9b478f77b4e6b909317a9cc2c9826cec3e4ee4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/App.tsx: 845 lines of code: ui/src/App.tsx 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":"ui/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb70cd16e904f842b6c1be1c3c7648561a5c42c9d305865a9c7636e5c1b15d2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-operations.ts: 843 lines of code: server/src/services/workspace-operations.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":"server/src/services/workspace-operations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a00fc5f5396ee02ad68831d89f2c3487d7d8b35b853d2e9718a82baf289e8ca"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-interaction-publications.ts: 841 lines of code: server/src/services/chat-interaction-publications.ts has 841 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-interaction-publications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"001d7fdb823108ba22ac5db5e7a2ceff1a8602e047a73e4417d4056322b93fe7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts: 839 lines of code: packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts has 839 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b407dd2608dffa860569cf8ed3c6332a13c526814264623ecedd56d88b8f80b1"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/dev-runner.ts: 838 lines of code: scripts/dev-runner.ts has 838 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f371f9018fe168c19ec45f72bf2c0b7d1d366e4404577624b9d510a38fbd1"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/attention.ts: 838 lines of code: ui/src/lib/attention.ts has 838 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25736bf6a0dfdba0d2446bd95b8f391887cd04e68e4eea11c38c428adee0ec24"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/schema/chat_channels.ts: 837 lines of code: packages/db/src/schema/chat_channels.ts has 837 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/chat_channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbc813fe42f8621dae1a55b6355040b328f0afd5f5dd78d6dd864c548ab3216"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/object-byte-journal.ts: 835 lines of code: server/src/services/object-byte-journal.ts has 835 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/object-byte-journal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c492096aea79daed4036f65f1ebad981f6b69d49c0c31036fc4ec83cd422236f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/teams-catalog/src/catalog-builder.ts: 834 lines of code: packages/teams-catalog/src/catalog-builder.ts has 834 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/teams-catalog/src/catalog-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fa1a6b81ec55e9419e356ab02d6841e7718d3f21a0195514e68bcffd7a316b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-harness-filesystem-independence.ts: 827 lines of code: server/src/services/native-runtime/native-harness-filesystem-independence.ts 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":"server/src/services/native-runtime/native-harness-filesystem-independence.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"581a35608e179a225080f46faa998f09154621c73327ae9394a53865ff389cae"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/api/issues.ts: 827 lines of code: ui/src/api/issues.ts 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":"ui/src/api/issues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f6e4f9bb070f1731211271636e9f74e83578dd78db290de7755d0d8dbf0c8b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/routine-sections/editable-sections.production.tsx: 827 lines of code: ui/src/components/routine-sections/editable-sections.production.tsx 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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da66f8ad4ec6f00dc7861dfde64cd8fa3a789eaa37387e8fd403069ffef22db1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/acpx-engine/startup-timing.ts: 823 lines of code: packages/adapter-utils/src/acpx-engine/startup-timing.ts has 823 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"568d7868359cb5962e4d8835bfd3315e4b05b60cf509f1f199ecc553c78675bd"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-registry.ts: 821 lines of code: server/src/services/plugin-registry.ts has 821 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a36486afa3ede361a86a819b2a737c96ec7bedb78d1473495c92e6a316761b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/profiles/ProfileDetail.tsx: 821 lines of code: ui/src/pages/tools/profiles/ProfileDetail.tsx has 821 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c148b857f64b26dc61580dea565aa6a11e3c05c6a7de85ae83f850894d5a784"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/InviteLanding.tsx: 817 lines of code: ui/src/pages/InviteLanding.tsx has 817 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81713ee7d86ee171b0019e3cc213dcb469671bb2b2847ea3da73e17d193bcf25"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-config.ts: 816 lines of code: server/src/services/environment-config.ts has 816 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"234c989abd02b5c7b005815f2ae480ba25713c463457442af26615f5be616d46"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/documents.ts: 815 lines of code: server/src/services/documents.ts has 815 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/documents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d2e83a2edd6d8a2a506bca588501d620360214860ef8bc07ae4edafda6a7fd"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-recovery.ts: 814 lines of code: server/src/services/workspace-recovery.ts has 814 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1942d39f5cccb51667d7c746ef821258eb7a0e79b0f6ef015cfdf5a225c52685"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/current-wake-comments.ts: 804 lines of code: server/src/services/native-runtime/current-wake-comments.ts has 804 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/current-wake-comments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ba7442659d04e2af82244eed7525a6f1f7e89b3c67c4e95483716e03325443"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/git-workspace-restoration.ts: 803 lines of code: server/src/services/git-workspace-restoration.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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65115c071424d110e560a9ba55249f07e6ccbb9dc82e6d656cf265ba6e2b9ce"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/opencode-local/src/server/execute.ts: 802 lines of code: packages/adapters/opencode-local/src/server/execute.ts 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":"packages/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff655acce9499ffaabff9e2ee5b860003932f5b8a6b53447d84068de0aa22c26"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/cursor-local/src/server/execute.ts: 799 lines of code: packages/adapters/cursor-local/src/server/execute.ts has 799 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be95a1146926fba018783c9d3e35f5f75b36fad470e6fb09632f1213bd14ee5e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/adapters/paperclip-runner/index.ts: 798 lines of code: ui/src/adapters/paperclip-runner/index.ts has 798 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7641aec192b42cd76ca5486c6d3087c84f38d74f1b269f2e016f2601edb5d93d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-run-trace.ts: 794 lines of code: server/src/services/native-runtime/native-run-trace.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":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8dad6ce4c2e3cd5f1ce57cd6b25f5e0ea57ffcf7446341cd7e4b75ac379e01"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/gemini-local/src/server/execute.ts: 793 lines of code: packages/adapters/gemini-local/src/server/execute.ts has 793 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7e85db7cbda6858b68f86361d9b3c30897eee19dd8cace723dd1bfc1930724"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/plugins/launchers.tsx: 791 lines of code: ui/src/plugins/launchers.tsx has 791 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/plugins/launchers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9508f85fbd0118dbc3d0db5f66a0bcdee7ac645241b04633d1dc81226c11e501"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/chat-channels.ts: 789 lines of code: server/src/routes/chat-channels.ts has 789 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/chat-channels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d273898b4cc3d2c71cf761d8cd9a43f583a22c64bb8124bdb17ff7fed244ab59"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/InstanceExperimentalSettings.tsx: 785 lines of code: ui/src/pages/InstanceExperimentalSettings.tsx has 785 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/InstanceExperimentalSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17d390d0deca745eb7f7e207e3ab9ae0b3b4aed85a7b873fe6e0f30b843e389"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/foundations/forms-editors.stories.tsx: 783 lines of code: ui/storybook/stories/foundations/forms-editors.stories.tsx has 783 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/foundations/forms-editors.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"711759a5d5cf137980be7a0f0d3e710554898a06e5a5aca523db49bd49c4d75c"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/paperclip-commit-metrics.ts: 782 lines of code: scripts/paperclip-commit-metrics.ts has 782 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/paperclip-commit-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bb96c2e4994e4317b73099af6e6ec0e5d6375703e8cb649517ad4920da1f66"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/mcp-http.ts: 782 lines of code: server/src/services/mcp-http.ts has 782 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c29e8e34fc810fe2be6dd1d6c7e3c49ab8b94fd3c7b84bda3d842d0458a524"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts: 781 lines of code: packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts has 781 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3d08ec59dc45d2888a37e78556c02bbb433ca2dc10601186dc43017eaf20cc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/decision-queues.ts: 780 lines of code: server/src/services/decision-queues.ts has 780 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-queues.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"123dbb440d50ffa132e0785e0451fb65265a77ccaa19f276da9890083851f92b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/plugin-workspace-diff/src/workspace-diff.ts: 779 lines of code: packages/plugins/plugin-workspace-diff/src/workspace-diff.ts has 779 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/workspace-diff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"783fdff43f7a7df7891aa6d85fca43e53c974ec97193917244457712eb2939e1"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx: 778 lines of code: ui/src/components/issue-properties/IssuePropertiesArtifactsTab.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":"ui/src/components/issue-properties/IssuePropertiesArtifactsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef88f6bb2c751775cbc11a323d00ded4519cf5f61d4b2d4bcd51d06a3ab48d89"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/work-timeline.ts: 777 lines of code: server/src/services/work-timeline.ts 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":"server/src/services/work-timeline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec9b3bcf1d821420327374403345c6687bb7edce136d3aea418eecac7f78828"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/audit/AuditFeed.tsx: 776 lines of code: ui/src/pages/audit/AuditFeed.tsx has 776 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a5197b13439bf5112443fe7c41ac77b9c3481b6052b5974d0b4b9f65b91e8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/client-credentials-service.ts: 773 lines of code: server/src/services/tool-access/oauth/client-credentials-service.ts has 773 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09eee83fe49f250b8a7752a1f338705c943d937ef9f6a9e8f7b4b3c68450ebd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/tailscale-https-broker/src/broker-core.ts: 772 lines of code: packages/tailscale-https-broker/src/broker-core.ts has 772 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44f9a6371ff2daacb69d973a09e0faad4d374c21c2ab65932c657b067bc172b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/types.ts: 770 lines of code: packages/adapter-utils/src/types.ts has 770 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cca69853a5a560dcd7e13ab9c97e46b4f06f4cf3648b64b13337f9ec5f9d598"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/budgets-costs/budget-finance.stories.tsx: 769 lines of code: ui/storybook/stories/budgets-costs/budget-finance.stories.tsx has 769 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/budgets-costs/budget-finance.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5365017162dc3f1223b7fa130a05f189455541120193a017c5b30aa01c5f1b11"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/skills-catalog/src/catalog-builder.ts: 767 lines of code: packages/skills-catalog/src/catalog-builder.ts has 767 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f93ab9fa0d5d019bf83d1c7863f725893766fcb670e999c7fbae91cf1322b7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/decisions.ts: 766 lines of code: server/src/services/decisions.ts 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":"server/src/services/decisions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fee70e4b426332b767ed1b2689696ac57becaf73b6808f97ec4b38de3c009f8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/workspace-restore-merge.ts: 765 lines of code: packages/adapter-utils/src/workspace-restore-merge.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/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8c90ac8e261c411c3a215c9fc0b068a6a5966968fd9cd8f5c173a62ae16391"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/eval/eval-execution.ts: 765 lines of code: packages/paperclip-runner/src/eval/eval-execution.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/paperclip-runner/src/eval/eval-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"391ae3c00943883e008220fe084ea83a84cffc8271ac9511082a7a9e1ce9c8be"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/plugin-workspace-diff/src/ui/index.tsx: 765 lines of code: packages/plugins/plugin-workspace-diff/src/ui/index.tsx 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/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af70bacf89135cbef1bfc6fd74e3acd93e31b92028a446749a98948f0dfa5400"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/paperclip-control-plane-port.ts: 765 lines of code: server/src/services/native-runtime/paperclip-control-plane-port.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":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9ffff1bbb2c09286a25b1f1d6d4fb90a4984c81da4a5e2855f90fb9b23f629"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts: 761 lines of code: packages/paperclip-runner/src/drivers/codex/app-server-transport.ts has 761 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0951e2c63e786fb6a819ba7da3cdc1c2a5124a8a5fdd53ca2bbd725222030320"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/queryKeys.ts: 760 lines of code: ui/src/lib/queryKeys.ts has 760 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/queryKeys.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce423e113f6d744f33d73c0bce883f16f8c88a9700cb077ce2e4109e9ca59ee0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx: 758 lines of code: ui/src/pages/apps/chat/EmailEndpointSetup.tsx has 758 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a4a69e472798cba9d32ee56037ec0795fad3af5ecc900c0b369538028e1068"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/cross-tab-poll.ts: 755 lines of code: ui/src/lib/cross-tab-poll.ts has 755 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc6f6eee0299aba89a3b9e891f66f210f4b36485723be4fc63cb37e7e619fce"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/usage-receipts.ts: 753 lines of code: server/src/services/usage-receipts.ts has 753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/usage-receipts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeb056ec26562cbdc1011589431d82bfbe8af89eb1788aa4d7c89385a2d46ff"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-lifecycle.ts: 750 lines of code: server/src/services/plugin-lifecycle.ts has 750 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bab1467709e8d3f3cfced2e91076a422c45e2624d410f43b4ffe5e149b01f2d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/public-mcp/oauth.ts: 748 lines of code: server/src/services/public-mcp/oauth.ts has 748 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/oauth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"141ccb8430c72d78356375c951d381e6ed0723a871169e7a4fcf91fe1cfd853e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/kimi-local/src/server/execute.ts: 746 lines of code: packages/adapters/kimi-local/src/server/execute.ts has 746 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2bae6bab469692ef2c3772a76a30573a360dcb26c9cfc6db7caaa3337b8a56"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-webhook-config.ts: 745 lines of code: server/src/services/chat-github-webhook-config.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":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e28c0cd105588b17375869d6adf0052043dad70811c756e5fad96e9fa284dfa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/grok-local/src/server/execute.ts: 742 lines of code: packages/adapters/grok-local/src/server/execute.ts has 742 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84412da76d1a2173fae9271fda807663f6c4a579a7daeb39c0dce28b58e56d6a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/connectors/slack-search-oauth.ts: 742 lines of code: server/src/services/connectors/slack-search-oauth.ts has 742 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-search-oauth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff576545a2a75de46986b36212119b14beb14bb492707589ac60a35d1b954755"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/token-broker/service.ts: 742 lines of code: server/src/services/tool-access/token-broker/service.ts has 742 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e36d0a8f559f806397abf961059d61ea1724b0441dab9f1a824a72e7945f7d9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/folders/FolderControls.tsx: 742 lines of code: ui/src/components/folders/FolderControls.tsx has 742 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6854108b29d3565994f88dc9202d8beacb46485c38950bef421168eb581e636b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat-run-summary.ts: 741 lines of code: server/src/services/heartbeat-run-summary.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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a7b0c0b6ecf0dd71b7edc20a537db599fe97f5e18cc5f327f9286d434f97fb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/isolated-repository-rehome.ts: 741 lines of code: server/src/services/isolated-repository-rehome.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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f07064f3884a28e37ae0eb9c9e1faa0311bc86757de7dfbc0d1ecc0421057"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/AgentToolsTab.tsx: 741 lines of code: ui/src/pages/AgentToolsTab.tsx 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":"ui/src/pages/AgentToolsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c009a629b23c5bef3f77ecd0bc6ba1c2aca4d8f4eea8522fab81c064547c00e7"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/Layout.tsx: 740 lines of code: ui/src/components/Layout.tsx has 740 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9adfca0bd40aed51806a2b2b07e94dec2183a8c9869fccf94ef1471bebdf6ae"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/adapters.ts: 739 lines of code: server/src/routes/adapters.ts has 739 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"845d761788eb4895a3980b3599eeb0fe6b77ecec8205828448cc2f8fac07bff8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-environment-driver.ts: 739 lines of code: server/src/services/plugin-environment-driver.ts has 739 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-environment-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3788afa2b8bbec7c6f081b76e40ee43880f45036618cefc4f2e9fb1a90977efc"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/onboard.ts: 738 lines of code: cli/src/commands/onboard.ts has 738 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e06f5944eb794770f1969cd51b75e627dd85fa8137a6a598985a2e38c8c6f04"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-conversations.ts: 735 lines of code: server/src/services/agent-conversations.ts has 735 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-conversations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88784bc3eeebc892eeb20284323117f937856aef374971fd08e3b5b73a9b9a06"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/task-chat-model.ts: 735 lines of code: ui/src/components/task-chat/task-chat-model.ts has 735 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/task-chat-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5dfa073fc7c8544dbb0e21b6116e233207e0a382b5400aa99d879c5e7a3d7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/issue-graph-liveness.ts: 734 lines of code: server/src/services/recovery/issue-graph-liveness.ts has 734 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/issue-graph-liveness.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c6eec7967f9cc9aab367396ac77abeeab18ff3f1b14ea5689c5fa9c390b6fa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/types/attention.ts: 733 lines of code: packages/shared/src/types/attention.ts has 733 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/types/attention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82150961a9ed638287d9adc2cfb46bff68429389b3d1622f87b97d19a2193314"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/artifacts/RichArtifactCards.tsx: 732 lines of code: ui/src/components/artifacts/RichArtifactCards.tsx has 732 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/artifacts/RichArtifactCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fe0e9ef9fff61a116184b36b6d1625356be413f2bca32687864bc8ebe76f5d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/secrets/proposal-review.tsx: 732 lines of code: ui/src/pages/secrets/proposal-review.tsx has 732 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/proposal-review.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486fa909de34408d99e8f0273419e75323a8c20a627d48a0483865bb8f02cbd0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/inbound/conversation-queue.ts: 731 lines of code: server/src/services/chat-channels/inbound/conversation-queue.ts has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/conversation-queue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca02720311af8d7df733b504254efde1d2d4e2061078f325daddf5104ded5f9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/authorization-start.ts: 731 lines of code: server/src/services/tool-access/oauth/authorization-start.ts has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/authorization-start.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e40a4713a87e0366d313309b1d5a6f9d788638d6f19a55783de2e90dee1205c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-git-operation-scheduler.ts: 731 lines of code: server/src/services/workspace-git-operation-scheduler.ts has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-git-operation-scheduler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306069bfa01d47cdadf3fc775f842bc983bbc771ca67c3b34c09ac662e02894"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/company-artifacts.ts: 730 lines of code: server/src/services/company-artifacts.ts has 730 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e436acce6b80044a25daf37d9b533109166e4b02209b827e31218526d88d0ec9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/QuestionForm.tsx: 729 lines of code: ui/src/components/task-chat/QuestionForm.tsx has 729 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/QuestionForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9baefbeda731deb09895cfe9028a4995142acb9f87fb721625b5aba62692566"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-run-publications.ts: 725 lines of code: server/src/services/chat-run-publications.ts has 725 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-run-publications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c099f01fe26219cc30ba26b6b6c08c06b0622a334f1ac73b4d0d3b7a186f254"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/issue-thread/public-view.ts: 724 lines of code: packages/paperclip-runner/src/issue-thread/public-view.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/paperclip-runner/src/issue-thread/public-view.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4947292d4213bffbc23114f5205908be5151101dc76674f2a53fdacd0a954da"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts: 718 lines of code: packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts has 718 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/live-console-scripted-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64132f5b8676ce6ba4dd62bde8464c02d3871276f60fbf14cab2c8fb770ab113"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/scenarios/scenario-plan.ts: 718 lines of code: packages/paperclip-runner/src/scenarios/scenario-plan.ts has 718 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/scenarios/scenario-plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a9b490f43814dd49ff49c0f7f7472c3f2d39fafeaeb2d45ab7ad479327ff0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-management.ts: 717 lines of code: server/src/services/chat-github-management.ts has 717 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-management.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b09c5e2274a3b574d4afec5ec7ab54ee57aa9fd3973b30c0de0f697e854974"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-session-resume.ts: 716 lines of code: server/src/services/native-runtime/native-session-resume.ts has 716 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-resume.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52763ceb3388b3d12809b0ed95e293069cfaf96d6f6f8a62f836a57aea55c89"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/summary-slots.ts: 715 lines of code: server/src/services/summary-slots.ts has 715 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/summary-slots.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e9f031a8c66355949b57e1b6f004eeee442932cdde50990b1e864b60f83db7"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueBlockedNotice.tsx: 712 lines of code: ui/src/components/IssueBlockedNotice.tsx 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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe10e4a3078ae960bbd85668a414cd6ddde08bc17f0c282f08524e7afd53ad9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/ProjectWorkspaceDetail.tsx: 710 lines of code: ui/src/pages/ProjectWorkspaceDetail.tsx has 710 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d558c68630d74eebaf642e7620d12b922bac30aafd8290174e1557a7f4c5d1a2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/Layout.production.tsx: 709 lines of code: ui/src/components/Layout.production.tsx has 709 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/Layout.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cce794e313e624742ef1f8186091025c1cc6e64e0ffc045d790e7d6900f879"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/activity/data-viz-misc.stories.tsx: 708 lines of code: ui/storybook/stories/activity/data-viz-misc.stories.tsx has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/activity/data-viz-misc.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbf5b7eaaa390bc3441351bac4bffe3865db5905626675701b1d1470ad2e683"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/inbox-search/search.stories.tsx: 707 lines of code: ui/storybook/stories/inbox-search/search.stories.tsx has 707 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/inbox-search/search.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf19de89846378ad4359c031238a93f7ed50ab1df8d5bd05bf8666395788f343"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-session-state.ts: 706 lines of code: packages/paperclip-runner/src/drivers/codex/codex-session-state.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/paperclip-runner/src/drivers/codex/codex-session-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c82ea5fd982928d573b3260ee6ab6e9c95a0995c6a7cc865599a9d5fcc8996"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/managed-environments.ts: 704 lines of code: server/src/services/managed-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":"server/src/services/managed-environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31694274ffb06515e7ea5092875efcf1bbdb75097ccfda3cd0d4bc71679221d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-identity.ts: 701 lines of code: server/src/services/run-identity.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":"server/src/services/run-identity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72bcd98219706f809984a5ec6c4166fdc023b218ae3c9e9e0032118a8202753"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/direct-callback.ts: 698 lines of code: server/src/services/tool-access/oauth/direct-callback.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":"server/src/services/tool-access/oauth/direct-callback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"542ddd60c705a912714df07e9118cea74b182c0e4b2319c246adb7560b23301b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/skill-package-store.ts: 696 lines of code: server/src/services/skill-package-store.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":"server/src/services/skill-package-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d36dc411e52f732acdd9ef0e64c6307fb97e07d44e85a3e3f5df03e2cd3d49"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/task-retry.ts: 696 lines of code: server/src/services/task-retry.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":"server/src/services/task-retry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bad87ed277c01c769013d58e93d653221ef695f885adeee03907907aa177bc"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/worktree-merge-history-lib.ts: 695 lines of code: cli/src/commands/worktree-merge-history-lib.ts has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f03ef0ab9ef13f2fb4247e9a9b6ffa5dbb9357e6fd5747d09e8acd4e80e35f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/activity.ts: 695 lines of code: server/src/services/activity.ts has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8af9560a95de9f954c63fe3f1fc12b54ce82e05185b7f60c91222fd089af20a"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanyAccess.tsx: 695 lines of code: ui/src/pages/CompanyAccess.tsx has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0596f46847b323ab4cf91ed922d689447dfeca081ff227754818dc692d89c42"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/tasks/external-objects.stories.tsx: 695 lines of code: ui/storybook/stories/tasks/external-objects.stories.tsx has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/tasks/external-objects.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3996307db2f6130dfb904b13a097193ea54c4d9a903f161d87e3c3a847d350"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/org-chart-svg.ts: 694 lines of code: server/src/routes/org-chart-svg.ts has 694 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd93761cc707cc382c24f8b1b229345a4b32a68a9f62c24b5233782449ab08"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-execution-target.ts: 693 lines of code: server/src/services/environment-execution-target.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":"server/src/services/environment-execution-target.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6941dc4a4849ee3c27921bac33177981c215735ba64659b7e3dc0ea7df114ff"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/routines.ts: 691 lines of code: server/src/routes/routines.ts 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":"server/src/routes/routines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1065e6d07c2b22e4197a5f06891c0f0bd8f734dc4d470804e83f15ace4cef31"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/foundations/status-language.stories.tsx: 689 lines of code: ui/storybook/stories/foundations/status-language.stories.tsx has 689 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/foundations/status-language.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf390cb4501a8c8925f41c277eabfc954f6ca5f208feeb33ba0488d45a8e56a2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/realtime/environment-custom-image-terminal-ws.ts: 688 lines of code: server/src/realtime/environment-custom-image-terminal-ws.ts has 688 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a43e5052a227108bf6ab414fbc9bc4b3316c20ca227ffb6108c08591bfce350"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/onboarding/onboarding-agent-arc.stories.tsx: 688 lines of code: ui/storybook/stories/onboarding/onboarding-agent-arc.stories.tsx has 688 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/onboarding/onboarding-agent-arc.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ed7551aca216e87352bae84018e8705294c586dc4364d136b6ed5e663fdf95"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/interactions/confirmation-actions.ts: 686 lines of code: server/src/services/chat-channels/interactions/confirmation-actions.ts has 686 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3e74f55175d2765ed545fad9a91b2d6ca630b10b577ccee3fde4d724951ea9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/approvals.ts: 685 lines of code: server/src/routes/approvals.ts has 685 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"307451dbced6e2f0d6df616dfa7ea244644030b24fd033b28eb9eca76ff07bc0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/chat/GitHubChatSetup.tsx: 685 lines of code: ui/src/pages/apps/chat/GitHubChatSetup.tsx has 685 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubChatSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"848898dd66bf0af6b38a96cda6ac59d62cf0046f720178c34b4baa062d0bc403"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-directory-working-copies.ts: 683 lines of code: server/src/services/agent-directory-working-copies.ts has 683 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ffd7209cd7aece23516fc209b6d7f3cb4fa8570af28e7818bac7ef1fe2e48b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/catalog/semantic-action-catalog.ts: 682 lines of code: packages/paperclip-runner/src/catalog/semantic-action-catalog.ts has 682 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/catalog/semantic-action-catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0b8d63ed80a8b29ac4534061154de46d7aefe6c58ce49709a339dbc789dc23"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/command-managed-runtime.ts: 680 lines of code: packages/adapter-utils/src/command-managed-runtime.ts 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":"packages/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9e10eb4a250a193ae58560d9fd46c8931a8fc09b1a6b870319017e6060b07"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/FrontmatterPanel.tsx: 680 lines of code: ui/src/components/FrontmatterPanel.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":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc5c36c66e288d4c51aaa31c87c4c3f9b18426dd38f329ea7a84ebc5362f0c9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/OrgChart.tsx: 680 lines of code: ui/src/pages/OrgChart.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":"ui/src/pages/OrgChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39874c534769ee766755321eeb310d08022edb26041c05b65b6cf7ff102690ca"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/plugins/bridge-init.ts: 680 lines of code: ui/src/plugins/bridge-init.ts 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":"ui/src/plugins/bridge-init.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d5cb6203aead26eb1f1f37f3550d47b22558f823a0ae962dc342aa0c7d072"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-telegram-media-intake.ts: 679 lines of code: server/src/services/chat-telegram-media-intake.ts has 679 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73742e0da454cbe11394674e7df083cdf55660f52cd7d8e81e7c1979f612c01"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx: 679 lines of code: ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx has 679 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18382afc602b3619c07c355ea244aa659d3c58bb791e08b9246b33d8b905057e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/acp.ts: 677 lines of code: packages/adapters/codex-local/src/server/acp.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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7771186c627c3943ed7a5b7bfa8ef48ba2a7a0f26c1f3cd573d52863d5b5e27"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/catalog/discovery.ts: 677 lines of code: server/src/services/tool-access/catalog/discovery.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":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35d6aa3a5fc08f1fd44a498d707b14645ab95d97980a6cfac5608e0ae079610"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/Connections.tsx: 676 lines of code: ui/src/pages/apps/Connections.tsx has 676 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/Connections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea5063a9e561f280b73235a1bba3a8c6c9c1ecf43cc13c6ccc1287b189aa9f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Agents.production.tsx: 675 lines of code: ui/src/pages/Agents.production.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717a03d49050323ba09542a7173c296338358a074a9f346e833946a9e2d7ae76"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-control-recovery-stop.ts: 672 lines of code: server/src/services/chat-control-recovery-stop.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":"server/src/services/chat-control-recovery-stop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e9fc856cedfc6cf07efe1598a0c26b2a3aa6fa4e65a5afa7c6db96cf1a3885"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/boxd/src/plugin.ts: 670 lines of code: packages/plugins/sandbox-providers/boxd/src/plugin.ts has 670 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35461aef1096dd7259ace34a4254195d9df1b36111aa35d7d63d62db429244b1"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/AgentActionButtons.tsx: 670 lines of code: ui/src/components/AgentActionButtons.tsx has 670 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentActionButtons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd0b9be64db21d66824cdb53c11c9763fde0ebdec552baa79fbf3b669354792"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Agents.tsx: 670 lines of code: ui/src/pages/Agents.tsx has 670 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Agents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22852cd1e87149f4d93fde90cb69ad40b035ed88d8cfebf31ae499d122dec7e5"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/secrets.ts: 668 lines of code: cli/src/commands/client/secrets.ts has 668 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ee0b061d1121314fdb3ea8702e1bca1b8411e055c06543aa7d0da332416f4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/instance-settings.ts: 668 lines of code: server/src/services/instance-settings.ts has 668 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/instance-settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c2bbf166fb1cfc9b03eb2ff4f728973f00224a136d7b83640f90b1584e6abe"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/teams.ts: 667 lines of code: cli/src/commands/client/teams.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":"cli/src/commands/client/teams.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f8931617b31dba52822856f9bd7d1c1526d0cc15cf6e36a997fd889beeb003"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/gateways-profiles/access-profiles.stories.tsx: 667 lines of code: ui/storybook/stories/gateways-profiles/access-profiles.stories.tsx 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":"ui/storybook/stories/gateways-profiles/access-profiles.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c054428b884198b0b9c2a9d9b33eaf1c72138bf06508e58c4b2e5cd8a4a1b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-execution-lease.ts: 666 lines of code: server/src/services/native-runtime/native-execution-lease.ts has 666 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-lease.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06d8e38bacdc6c3fa7574815d159ea4e10e46fef2ac9df9d581e9133f45b65"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/grant-refresh.ts: 666 lines of code: server/src/services/tool-access/oauth/grant-refresh.ts has 666 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b242680babdef7e3df22317c25a044b99e301e82c0f0237b7a9244002e1c3aa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx: 665 lines of code: packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx has 665 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1530feac0393ef4848a4ef213dcd4b4061501739624fab739f6cd346909311"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-instruction-working-copies.ts: 662 lines of code: server/src/services/agent-instruction-working-copies.ts has 662 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb564b649ac8842ffce924654dff134dc1e90e8be1d513871290d3dd75f9ccfe"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-managed-agents.ts: 661 lines of code: server/src/services/plugin-managed-agents.ts has 661 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-managed-agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b9bee5d0fb36534c69be037dff76abee6346a73999226c09dfe311b653cb40"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp-server/src/tools.ts: 660 lines of code: packages/mcp-server/src/tools.ts has 660 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc125d9caef49e3bacfa705dfbfedfc74f18c7cc9f3db00750c71417e9daa0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/live/scenario-chat-demo-server.ts: 659 lines of code: packages/paperclip-runner/src/live/scenario-chat-demo-server.ts 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/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cb786483e6149bc00cf8f4310a034b9d219a329574b4cf77ae111fecb7855e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/profiles/ProfileWizard.tsx: 658 lines of code: ui/src/pages/tools/profiles/ProfileWizard.tsx has 658 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/ProfileWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30897eef78ea32e081103848c994c9c04963cfae6d6a45b72b26893fac06b6f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/AdapterManager.tsx: 657 lines of code: ui/src/pages/AdapterManager.tsx has 657 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c4fd4fd191f89c746eae2a9b1135ad368f12c7d757d1eef07918dfe1837ce"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/SidebarAgents.production.tsx: 655 lines of code: ui/src/components/SidebarAgents.production.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebf74b731d1e69c0815bf4a1e9052806a444ebd2cc39877bb60306776f3f211"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/SidebarAgents.tsx: 655 lines of code: ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0420d7f3d5c17d6cc1d7d487c5f79763f339fc3f9f66b17ccd82a889e19cab6"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/generate-org-chart-images.ts: 653 lines of code: scripts/generate-org-chart-images.ts has 653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-org-chart-images.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa09b98f30149b1ce24d1f08031be582d3db28511b89eb95b248e93de8efbf0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/inbound-attachments.ts: 653 lines of code: server/src/services/chat-channels/inbound-attachments.ts has 653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound-attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2075507a2ae1f3c5e8470851fcccfb09a2d1d5fbd576d85a12914070a841a016"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/github-connection-events.ts: 653 lines of code: server/src/services/github-connection-events.ts has 653 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6adcb2507b00544b20411a567529a2bb025fe3a0aaed691d81b15c40bb94972"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/case-handoffs.ts: 651 lines of code: server/src/services/case-handoffs.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":"server/src/services/case-handoffs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c7d4afdb849487cccfcdf6851e3aef85468b66385dcf27f61e4916a557310f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/ActivityFeed.tsx: 651 lines of code: ui/src/components/ActivityFeed.tsx 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":"ui/src/components/ActivityFeed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4003c0beb29761a64de151a4e957b8f0035418ae27ec71801de54fc75c486a51"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx: 651 lines of code: ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx 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":"ui/storybook/prototypes/agent-chat/AgentChatPrototype.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe6ad2818b50cbdf39a565c1cc229801bb7d47e4421a98af75a931c96df39b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/costs.ts: 649 lines of code: server/src/services/costs.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":"server/src/services/costs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6972501729ece27e6c6e2263684948e7bd011e8fdfdf2eef544a8ff0b06bbbe8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/routine-triggers/RoutineTriggers.tsx: 649 lines of code: ui/src/components/routine-triggers/RoutineTriggers.tsx has 649 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23a204c15ad7c485f43beafe6c2910c6deb552b74de5729cb78ff34f1618da4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/quota.ts: 648 lines of code: packages/adapters/codex-local/src/server/quota.ts 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":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1404b2fc436b4c17502d9dc23ed2ce56195f509364d725f1479d360360516a9e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/run-dispatch/domain/policy.ts: 645 lines of code: server/src/modules/run-dispatch/domain/policy.ts has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/domain/policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b583036580b4eda320eb640b058e29206302f5b3f459af468ad415a4c6ccf0a1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/local-service-supervisor.ts: 642 lines of code: server/src/services/local-service-supervisor.ts has 642 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab694f62c1f16f8b834fb708218c4ea397e174b3975e7062fe8c43705f711071"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/connections/removal.ts: 642 lines of code: server/src/services/tool-access/connections/removal.ts has 642 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/removal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"515770998512be24702ebc2df0c064af43a3b79410dbfb4e1c854af17564d7bd"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-task-runtime.ts: 641 lines of code: server/src/services/environment-task-runtime.ts 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":"server/src/services/environment-task-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e6e5b56b8038ee83f9655c5f795ae2d08dd971330998558e29752ea7caacfb"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/chat/GitHubBotManagement.tsx: 641 lines of code: ui/src/pages/apps/chat/GitHubBotManagement.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":"ui/src/pages/apps/chat/GitHubBotManagement.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714384cba0baed7edf3e26911da23c433e7ef018ce27b18eb7b6201b0ed67382"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-chat-review-presentation.ts: 640 lines of code: server/src/services/native-runtime/native-chat-review-presentation.ts has 640 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794cd6c6226b433efbcec7868fabb2a098f7831e739524bb10792d3dff181a1c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat-run-events.ts: 638 lines of code: server/src/services/heartbeat-run-events.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":"server/src/services/heartbeat-run-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"487b5f80b09dde2e6a9004a3d1e9df1146e83fd5343f36b413a0491001f2bc6a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-workspace-repositories.ts: 636 lines of code: server/src/services/execution-workspace-repositories.ts 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":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4de876a4cb02b8a25935a42caf81990239bab3d0010ff57c496c191633e8b08"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issue-recovery-actions.ts: 635 lines of code: server/src/services/issue-recovery-actions.ts has 635 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-recovery-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9a7c0f7b06481be1f325d88cb18e7f8c59f849af57918a957e417acdd4e34d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/documents-artifacts/artifacts.stories.tsx: 635 lines of code: ui/storybook/stories/documents-artifacts/artifacts.stories.tsx has 635 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/documents-artifacts/artifacts.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d2bbfc0657a51080ab095884d2c8a446fd7c7fe1d5ff92508acf1d4a8bb80"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/external-agents/dot.ts: 634 lines of code: server/src/modules/external-agents/dot.ts 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":"server/src/modules/external-agents/dot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e354faf44281f185748f720c7bbd924e83fbcc16db879675bd7990d4f080a4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/test-embedded-postgres.ts: 633 lines of code: packages/db/src/test-embedded-postgres.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/db/src/test-embedded-postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b350dca9ba37a40ef4237b30a2499d0eec7dd51aa466c3297d673dd65738b2c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/ai-connection-runtime.ts: 632 lines of code: server/src/services/ai-connection-runtime.ts has 632 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9851f5400378e1a07d3a7c0affa2727100ca8a1a2c64b7a2c11b4c950fe8bd"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/GatewaysTab.tsx: 632 lines of code: ui/src/pages/tools/GatewaysTab.tsx has 632 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/GatewaysTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd926d1c4c4d33121830a0bb60c02d571d345f8a5ae3f3efb263ea43e94e737a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/contracts/harness-driver.ts: 631 lines of code: packages/paperclip-runner/src/contracts/harness-driver.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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c560fbd71276de76ed8a59c428da2c52acd8f9dd92864c2fcdc135afe445954"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueRow.tsx: 631 lines of code: ui/src/components/IssueRow.tsx 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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96478a7e3c503f3b541dd5fe2b3bf6d22aa762a470120fc268c8a7b6e79f0e50"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx: 631 lines of code: ui/src/features/connections/ConnectionIntentInteractionBody.tsx 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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffceeeefc471ef493930a958a02533d6723a528b77094136af55e68f7c8324b7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-environment-test.ts: 630 lines of code: server/src/services/agent-environment-test.ts has 630 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-environment-test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0433fa941e5558d79f3754f4d51f8402e5db204f25da9cb4e99dc274f40e485"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/chat-channels/agentmail.stories.tsx: 629 lines of code: ui/storybook/stories/chat-channels/agentmail.stories.tsx has 629 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/chat-channels/agentmail.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0299627df62cf142e0ba7bd5ca38c9349a4d7ab269caa46336480963f91c50f1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/src/migration-compatibility.ts: 628 lines of code: packages/db/src/migration-compatibility.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/db/src/migration-compatibility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5bf1c90f1edda1c19e0f0d61cb345f9d4bd6136ef8007492eba39d4442875"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/provider-trace-store.ts: 627 lines of code: server/src/services/provider-trace-store.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":"server/src/services/provider-trace-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1195525de6a801452ea72aaa888477e8029293ce19738acce96fcd41458f3f9a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-log-store.ts: 625 lines of code: server/src/services/run-log-store.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":"server/src/services/run-log-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1fe0ac4196d4f1f512d0dfaccfbdf1f5d9d455454769ee9db1f9268c65da5b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/recovery/source-issue-recovery.stories.tsx: 625 lines of code: ui/storybook/stories/recovery/source-issue-recovery.stories.tsx 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":"ui/storybook/stories/recovery/source-issue-recovery.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dba882c0e6c8b6ec5d9570b360570c34e6683f5ccbaf7486691f5aad4bc31ac"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/publications/resolution.ts: 624 lines of code: server/src/services/chat-channels/publications/resolution.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":"server/src/services/chat-channels/publications/resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6861bb0ab5fd86962de17c37d08363bde1a79fa0af03bbc4e9f1e651930e785"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/git-credentials.ts: 623 lines of code: server/src/services/git-credentials.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":"server/src/services/git-credentials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"690099f5872e12919059b3b8c54c0b70e7fa4836c2a34c3b8915a1e417a8bb0a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts: 622 lines of code: packages/paperclip-runner/src/drivers/codex/codex-question-adapter.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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cddb6770eece805ef5ac4a367246a997667360d46215abcfe770600f1be035"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/discord/commands.ts: 622 lines of code: server/src/services/chat-channels/discord/commands.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":"server/src/services/chat-channels/discord/commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1def8a864c0dedc04cf78e04f0863a68742ab717d767a757511ab27e15c66f"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/feedback.ts: 621 lines of code: cli/src/commands/client/feedback.ts has 621 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3add81e7a4582c523c146d237927e9fd7a08c0ffbd1e4641abcb9f53987b6a4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx: 621 lines of code: ui/src/pages/apps/app-detail/IdentitiesSection.tsx has 621 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/IdentitiesSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6524655fe15141b3b2781b6b32c090610d26bacd95fa998e395e31ecb448cdc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/modal/src/plugin.ts: 620 lines of code: packages/plugins/sandbox-providers/modal/src/plugin.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/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c095a4b0969b472ae993dfd1d6aaf8a87effee92d8dfc159e35f7ee4fb6b074"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/audit/AuditFeed.production.tsx: 620 lines of code: ui/src/pages/audit/AuditFeed.production.tsx has 620 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c997284dc8394bf51b5c565d37cf1fa520be5101cd8e99548d66d9a34c82904d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/cursor-cloud/src/server/execute.ts: 616 lines of code: packages/adapters/cursor-cloud/src/server/execute.ts 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":"packages/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e562832999b8453269917319ca89b209b3b4fa048107f1f84e89b293944da8ff"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/setup-token-transport-binding.ts: 616 lines of code: server/src/services/setup-token-transport-binding.ts 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":"server/src/services/setup-token-transport-binding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"016603ea2ce6cb10b9755acf058a6fd7d2adcdf57cee78448d46197ef42defe4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/WorkspaceRuntimeControls.tsx: 613 lines of code: ui/src/components/WorkspaceRuntimeControls.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":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9621ba9ee70164a4b9fceb9166954c20632c9264b0a028c44e8cad8cdba7aa2e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/routine-sections/editable-sections.tsx: 613 lines of code: ui/src/components/routine-sections/editable-sections.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":"ui/src/components/routine-sections/editable-sections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f579e5118480a09907df3797a36e1563db224445ec315c6b06f80e109e00520e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/plugins/bridge.ts: 613 lines of code: ui/src/plugins/bridge.ts 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":"ui/src/plugins/bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68df8837fce06c94035abb47b9906627767d5f33f8295442f57986bc34470f66"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-continuation.ts: 612 lines of code: server/src/services/execution-continuation.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":"server/src/services/execution-continuation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e6f6908bf495bc4e74e18fd42108757f4bcfe7dcb9a8ad29586a2c5e85c6f4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/isolated-task-directory-retention.ts: 612 lines of code: server/src/services/isolated-task-directory-retention.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":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac3c29056aaf514209532e56daeed128e8fbc14f75109afa1a0a1506c2bbfa1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts: 611 lines of code: packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts has 611 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5ba6deea82d54eda596639ec823b6863a9c4a35e6290597f8117ff48203ae"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/cli/eval-session.ts: 610 lines of code: packages/paperclip-runner/src/cli/eval-session.ts has 610 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b947e848984bf0393f1883399fcaf61481638166de1ceb3f68ea58bdce2c02"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/connections/grants.ts: 610 lines of code: server/src/services/tool-access/connections/grants.ts has 610 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72c803e1df59f8e7fafb84bed1e4541bf0f5eea96d2eda8c1545081121ae3f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/external-agents/muse.ts: 608 lines of code: server/src/modules/external-agents/muse.ts has 608 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbdacd493aac2f031f07c7889dfc0e1188c85b623aec2b86ee980928ffe0401"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/AttentionCloseMenu.tsx: 607 lines of code: ui/src/components/AttentionCloseMenu.tsx has 607 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AttentionCloseMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56881df391f2aaa7f7160db03b4800358012c2d1e3b54553ef0f12fbf5a36fb3"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx: 607 lines of code: ui/src/pages/apps/app-detail/AdvancedPanel.tsx has 607 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1af564c2e1524d279ffb348df496cae61809a9220301088eb1115e9031a62d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/receipt-reactions.ts: 606 lines of code: server/src/services/chat-channels/receipt-reactions.ts has 606 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9898f5691a880303d1ef9749317a3ab3417153c86adb6a528df8822038733941"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-projection.ts: 606 lines of code: server/src/services/execution-projection.ts has 606 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eb8a5147b2b559426322055005557438d3e6813461f794f0755a4dfa57d523"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/runs-adapters/ai-connections.stories.tsx: 606 lines of code: ui/storybook/stories/runs-adapters/ai-connections.stories.tsx has 606 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/runs-adapters/ai-connections.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25766a3310e789b8e871223beb1e0d2aa8f86c9c3253c43c4c435f9c92e5cff7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/activity.ts: 605 lines of code: server/src/services/chat-channels/activity.ts has 605 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070a79f8b16ed5baa697875561fa96ec3bb4f564753aeebe0e1cb1c1506d5c8c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/api/tools.ts: 605 lines of code: ui/src/api/tools.ts has 605 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc2ee81a93b370c21e745c1d53744eb19498d6ece4695ebec3c72908f68e2d8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx: 604 lines of code: packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx has 604 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f864a9864cf425c7ddce66a29e0483ddf33290272a7d2fa59603314f9c94d2a6"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/inbox-search/what-needs-me.stories.tsx: 604 lines of code: ui/storybook/stories/inbox-search/what-needs-me.stories.tsx has 604 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/inbox-search/what-needs-me.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c31e39ac87723be3f87a3b4c90b24235bb3e8db10dd2a16c425fe9c923831c5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/browser/src/App.tsx: 602 lines of code: packages/paperclip-runner/devtools/browser/src/App.tsx has 602 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30015b653913490340077059b7e84a9097890dd032b6bb14787193cf56825e1f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/resource-reconciliation.ts: 602 lines of code: server/src/services/chat-channels/resource-reconciliation.ts has 602 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/resource-reconciliation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5c23e7552c2e1212f41e05161383599ed17b8f6563d2e750c803f6b3d68cb8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts: 601 lines of code: packages/paperclip-runner/src/semantic-tools/dispatcher.ts has 601 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"484d9eb8b339a4a8072b10e5f4fa1d1e31fd7bfbd9d7aee48d511fb075d86ee9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/github-external-object-provider.ts: 601 lines of code: server/src/services/github-external-object-provider.ts has 601 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d1825bde3d10a5ec4418a03f4c02be2cdbca101decaf7e8eaa9ae879a5b7e3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-codex-runner.ts: 599 lines of code: server/src/services/native-runtime/native-codex-runner.ts 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":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb21dde8c38a7c85ef181cfc8e0d24ee4d1f936edf295f6c895bf01c9db037b7"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/routine-triggers/TriggerWizard.tsx: 596 lines of code: ui/src/components/routine-triggers/TriggerWizard.tsx has 596 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/TriggerWizard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db4c4ab12701d244418d3b7a1c10b176dc0eea17d0c057f379cbc1542ccc49b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/run-log/LogViewer.tsx: 596 lines of code: ui/src/components/run-log/LogViewer.tsx has 596 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87ca4ab14585940f64fa755a58d9db089f0a3308d4cd52d86dca19f33723b10"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx: 596 lines of code: ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx has 596 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f11c49f00f36c613f52cf46f0e382ca7484517d8242589fffe3541508061b7d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/create-paperclip-plugin/src/index.ts: 595 lines of code: packages/plugins/create-paperclip-plugin/src/index.ts has 595 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/create-paperclip-plugin/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdb3fd84d5732c0d4f48a4da63a77c9e5e5c9dd36e63b0cb12d8fbccde14865"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/cloud-runtime-identity.ts: 593 lines of code: server/src/services/cloud-runtime-identity.ts has 593 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f710ec53d98691f856584cd687538c72e7321eb4158f598d21a710e90b4272"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/remote-workspace-files.ts: 592 lines of code: server/src/services/remote-workspace-files.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":"server/src/services/remote-workspace-files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3350b41dc886faec778da953cbec5d77f68acb82d34da38af21a3c804fd53c46"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/capability-control-plane-types.ts: 591 lines of code: packages/paperclip-runner/src/mock-core/capability-control-plane-types.ts has 591 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-control-plane-types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ecd2dd640a28130c0c7fd13ce7c901a531dfa39d2c745dfc1a0ced4859983d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/OrgChart.production.tsx: 591 lines of code: ui/src/pages/OrgChart.production.tsx has 591 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/OrgChart.production.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0408533eba7fa8a3bad8b930e9e21bc5daa4eae6cc7719623c1e8b0620064fbc"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-discord-command-registration.ts: 587 lines of code: server/src/services/chat-discord-command-registration.ts has 587 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-command-registration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd127efb3090218ec2513f75325ea0f28851d3e63ad332d707793abc6f470d37"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx: 586 lines of code: packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx has 586 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e74a38b4e7c12f9dcade2496c3dadf15645de5a2ef1130d0b278bedb685ae3"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/DocumentAnnotationLayer.tsx: 586 lines of code: ui/src/components/DocumentAnnotationLayer.tsx has 586 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationLayer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5918b747c025785bdd806b803434553d01cbb4f26228109d264752d40287ce6f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/git-restore-point.ts: 585 lines of code: server/src/services/git-restore-point.ts has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46be31e5a967656eb993e35151acbf34b829017dd7f7e1dc6e9f0e9e6529b9b3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/hot-restart.ts: 585 lines of code: server/src/services/hot-restart.ts has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/hot-restart.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc361d8d3a0f8ccb9c385cd468afadd5d04d02e177d5111a15fde74e5f8aca92"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/environment-variables-editor/Row.tsx: 585 lines of code: ui/src/components/environment-variables-editor/Row.tsx has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/environment-variables-editor/Row.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1d5811828bdee546354724725564fdbc2cd47264764bd8065a13d6762d5e0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/agent-skills/AgentSkillsTab.tsx: 585 lines of code: ui/src/pages/agent-skills/AgentSkillsTab.tsx has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-skills/AgentSkillsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69155b1c20aececb5985a54edfd841013be40e49158229545ecd8aa90fc46c3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/catalog/operation-groups-doc.ts: 583 lines of code: packages/paperclip-runner/src/catalog/operation-groups-doc.ts 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":"packages/paperclip-runner/src/catalog/operation-groups-doc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa69524bd2f9a68ebe8b09428ba374975f029e28c385af8101fd7001de096bf"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/environment-selection.ts: 583 lines of code: server/src/services/heartbeat/environment-selection.ts 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":"server/src/services/heartbeat/environment-selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0154657c2693c1a6c8c044438e52455f59b530076507f635fa94f10f5b8bb734"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/codex-auth-cache.ts: 582 lines of code: packages/adapters/codex-local/src/server/codex-auth-cache.ts has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b59dfe8b446bc2f012a663687a1a61d117d59b11e2035ad92a2a5d70e3b53be"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/plugin-llm-wiki/src/manifest.ts: 582 lines of code: packages/plugins/plugin-llm-wiki/src/manifest.ts has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-llm-wiki/src/manifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75d9a3131a427b297cfd2c22e30e48e231ba911b130fa04bd1c4191ed740fd6"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/managed-config.ts: 582 lines of code: server/src/services/managed-config.ts has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef802fb6783e2a8f7269d9e8a3e4de24da574868b0facd3075e0b73e9dd6f548"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/DecisionCard.tsx: 582 lines of code: ui/src/components/DecisionCard.tsx 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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e4f725fef03ef5ce23fb97a229a652fccb64d4c93e210667849141e8643061"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/test.ts: 581 lines of code: packages/adapters/codex-local/src/server/test.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/adapters/codex-local/src/server/test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38184ec37963d7d666d517fea48fcae644e4c2b7e5690161a514a011e7e3c699"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/PasteConfigTab.tsx: 580 lines of code: ui/src/pages/tools/PasteConfigTab.tsx has 580 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e285ab4452527a88cdabdccbb5af88f1c08a708d0596d191d433b3f869f129"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/folders.ts: 579 lines of code: server/src/services/folders.ts has 579 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/folders.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb6d299ab68b5ef6a6d9033df0f2d3b1b3129620c7a35aca6ed796106463f14"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-run-coordinator-store.ts: 579 lines of code: server/src/services/native-runtime/native-run-coordinator-store.ts has 579 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-coordinator-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202d78faaa65556b4bbb6dc67034b76b5c79d0b06a4a910dbb431035485d4e6e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/hermes/src/server/execute.ts: 578 lines of code: packages/adapters/hermes/src/server/execute.ts 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4a1cea33da7d4d9a80e2b1ed5be18e2f92cb46d394f32771f1127b8418791f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/frontmatter.ts: 578 lines of code: packages/shared/src/frontmatter.ts 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/shared/src/frontmatter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"657d2d829d52ac5cd136a977ea5fbe27fb518b60c4b33169a208c16a038b00d5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/automatic-run-brake.ts: 578 lines of code: server/src/services/recovery/automatic-run-brake.ts 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":"server/src/services/recovery/automatic-run-brake.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d00c07ee02618c13004738d7c2619a5235e458e039095eb7d0270784391abb"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/client-registration.ts: 577 lines of code: server/src/services/tool-access/oauth/client-registration.ts has 577 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-registration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d3388d3ab101309ed773681a555cb30dbbd6c392b9732e90fcfb6d2901ccdd"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Dashboard.tsx: 577 lines of code: ui/src/pages/Dashboard.tsx has 577 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce9e8567c1f64652325c82dfba7fdbc101674fd04169efc62cd26bb9180473d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx: 575 lines of code: ui/src/components/task-chat/TaskChatQueuedMessages.tsx has 575 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatQueuedMessages.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f445e0f9571a931c0c3ea1541bf205c1ede77d993ae42183fc292a991d5c9288"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/transcript/useLiveRunTranscripts.ts: 575 lines of code: ui/src/components/transcript/useLiveRunTranscripts.ts has 575 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/useLiveRunTranscripts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47e4c3d496cac864d2d9a406357d4b0f2881e312aa3a2cfb7f3a064a8b9889c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/inbox-search/decisions-desk.stories.tsx: 575 lines of code: ui/storybook/stories/inbox-search/decisions-desk.stories.tsx has 575 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/inbox-search/decisions-desk.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"645a0dfd4191de6cad7280bd730ae5c9b64c583f61ffaedcf03e720c76559585"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/photon/adapter.ts: 573 lines of code: server/src/services/photon/adapter.ts has 573 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/photon/adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6541ee11f93e10058f2ca0806531548538a1c189dc8fed5881982bfd4b03207"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/discord/root-threads.ts: 572 lines of code: server/src/services/chat-channels/discord/root-threads.ts has 572 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/root-threads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"559a990312522eedf8d190640069259d6029b525aef76ea98aa9f535168eccbe"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/discovery.ts: 572 lines of code: server/src/services/tool-access/oauth/discovery.ts has 572 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b579cbada59ba7f8cd2d8ac215f34145284d766a29a2755371232bc74b7efa98"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-maintenance-no-launch.ts: 571 lines of code: server/src/services/native-runtime/native-maintenance-no-launch.ts has 571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-maintenance-no-launch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ff1529e27d75a5c8759ea0bcdfb27bec5f62dc62e21c9895aae81f51581ff0"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/tasks/new-task-composer.stories.tsx: 570 lines of code: ui/storybook/stories/tasks/new-task-composer.stories.tsx has 570 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/tasks/new-task-composer.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e9a17465332ac161d9d77f971d563b8260ea66892dc8dd25c0d368fbe2bc2f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx: 568 lines of code: ui/src/pages/apps/app-detail/PermissionsPanel.tsx has 568 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/PermissionsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e9bb1f19518503b5975006f423ecc7f78adcf37c6322b8e4aafedce51f5a2c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/define-plugin.ts: 567 lines of code: packages/plugins/sdk/src/define-plugin.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/plugins/sdk/src/define-plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf27d6b62907ac425d0c4d9d55e5cd010342a58584be37865774b1a5f69ca69"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx: 567 lines of code: ui/storybook/prototypes/provider-routing/AgentSetup.tsx 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":"ui/storybook/prototypes/provider-routing/AgentSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95044e3546e6fa6012605906638a79cbf7b4c6f79e83be06ef92be56064af87b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/validators/company-skill.ts: 566 lines of code: packages/shared/src/validators/company-skill.ts has 566 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/validators/company-skill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78229d120967c4f71a46137c4d066ad768f59dbdf3a4c0d1f2d45adcef07d2c6"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-sdk-state.ts: 566 lines of code: server/src/services/chat-sdk-state.ts has 566 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d26c7b04f1e715d097aa247aecd2bc7c4c12e7807a8584b2f5213f95bb144d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/codex-runner.ts: 565 lines of code: packages/paperclip-runner/src/mock-core/codex-runner.ts has 565 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/codex-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb2c56d834bd07f8c976fb25f96cd8439c2fba20a605abe86846eae842901ad"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/RoutineRunVariablesDialog.tsx: 565 lines of code: ui/src/components/RoutineRunVariablesDialog.tsx has 565 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ba5592b07ec2e8ec7882e508c85fa1acb589a256cdf804b59e39b55cc65f4c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/environment-custom-image-runtime.ts: 563 lines of code: server/src/services/environment-custom-image-runtime.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":"server/src/services/environment-custom-image-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb56121330b2ba851669653629990d87c5ce95b67c56e8965558efc6e049099"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/issue-tree-control.ts: 562 lines of code: server/src/routes/issue-tree-control.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":"server/src/routes/issue-tree-control.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7865dde144e8c0f8c41124ded400cc059e8bcb499e5dc11cda3bba893daccd2c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-local-folders.ts: 562 lines of code: server/src/services/plugin-local-folders.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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e520395a7dd4e9ea175532861fb2f78458839088d3f90bb055618cac5d99bcc"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/PluginManager.tsx: 562 lines of code: ui/src/pages/PluginManager.tsx 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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccea8a7394838cf57f9e6e1d4e1015bb8bce86fed89841fbf60c43e0e77d3e5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/remote-workspace-snapshot-storage.ts: 560 lines of code: server/src/services/remote-workspace-snapshot-storage.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":"server/src/services/remote-workspace-snapshot-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2445c839835739447377e4e40c6b4901c2fb9288161df0af151590adfdcd42"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/fresh-workspace-continuation.ts: 559 lines of code: server/src/services/fresh-workspace-continuation.ts has 559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82859e5d2b8754ae553aace95487ce299c8cbc4daa6ae8161b4852ef9d32365"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/react/use-runner-console.ts: 556 lines of code: packages/paperclip-runner/src/react/use-runner-console.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/paperclip-runner/src/react/use-runner-console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75424b08792ec0c1c98f386badd872a6da990cc0b9e5b664eced01b2375b5536"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/runtime-mode.ts: 555 lines of code: server/src/services/native-runtime/runtime-mode.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":"server/src/services/native-runtime/runtime-mode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01230603a708105db06ed3a695caca71f949bd4418d3dc4990ba8e4a780d2057"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts: 553 lines of code: packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c3a89f0e94aab64d8c49bdbba54fd295c19b049285aef866b30916b167aca9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/eval/live-workflow-matrix.ts: 551 lines of code: packages/paperclip-runner/src/eval/live-workflow-matrix.ts has 551 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-matrix.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa02f2e95160dbe361014aa99db9e0c5e4694304167b21ccce0c6d89bbd2ff8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/successful-run-handoff.ts: 550 lines of code: server/src/services/recovery/successful-run-handoff.ts has 550 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/successful-run-handoff.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10be30799286f6f4b5d3d0dd2600e14f965de7601bceaebfd2edc0e5f98a5d9f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-cost-accounting.ts: 550 lines of code: server/src/services/run-cost-accounting.ts has 550 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d8bab61a896217b81b36b801afb0e5e792de92ea3d4ea65954fa3085492bc2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/connection-dialogs.tsx: 549 lines of code: ui/src/pages/tools/connection-dialogs.tsx has 549 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8390ef497b491705e83e7e3f0035bb72f8a762b12c04ef67e251e2651397a305"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/quota.ts: 547 lines of code: packages/adapters/claude-local/src/server/quota.ts 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":"packages/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbdfc6808d8a685dbaf86633f327e98bc20f28beeb05ee87b3b61e9d9cdef9d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/instrumentation.ts: 546 lines of code: server/src/instrumentation.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":"server/src/instrumentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828ab0474a6b35e1077609fa6480c3f4382eaf2c3df2db19f193c0c541f7fb46"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-runner-checkpoint.ts: 546 lines of code: server/src/services/native-runtime/native-runner-checkpoint.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":"server/src/services/native-runtime/native-runner-checkpoint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19422ccc8bb01432f4cd660f3a34b272be17d1581624066646264db338f1d582"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/CompanySettings.tsx: 544 lines of code: ui/src/pages/CompanySettings.tsx has 544 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanySettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2355cff2666518db07cf9304d8aa6dc39277a54e0713780584133f497da57b87"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/sentry.ts: 543 lines of code: server/src/sentry.ts has 543 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61882856316d26bc88b5b2314295bed43d7e5e75a87316df997b4f71ff4646ee"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/documents-artifacts/document-annotations.stories.tsx: 543 lines of code: ui/storybook/stories/documents-artifacts/document-annotations.stories.tsx has 543 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/documents-artifacts/document-annotations.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bce8f68cdf40fefc43787193e0d08ab892f6df29757322eecc1bb3ad2f264b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/worktree-config.ts: 542 lines of code: server/src/worktree-config.ts 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":"server/src/worktree-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2291a272a5f7f1a25a7efa5230a461d445f605106157310ebb2846233e96394c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/idle-sleep-safety.ts: 540 lines of code: server/src/services/idle-sleep-safety.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":"server/src/services/idle-sleep-safety.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66caef76eb3765320a69a5aeebcb8f8855fcf1d356a148ae9eb6e7d8dae8c032"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts: 539 lines of code: packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts has 539 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2d5db7799a59b000963ce92f44ceee384fd179ef432ee28f8ea0f8cd47e94"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/local-runner.ts: 539 lines of code: packages/paperclip-runner/src/mock-core/local-runner.ts has 539 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/local-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bab3b0b16b1b287df5ae37f85a67f74a1dfa50a21db9df78d8758b66e17aa7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/instance-settings.ts: 538 lines of code: server/src/routes/instance-settings.ts has 538 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/instance-settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907f6e2cf752e607057c9e36cf8223696e1f191468fa28d4ba0ad5d6c5930256"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/ui/components.ts: 537 lines of code: packages/plugins/sdk/src/ui/components.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/plugins/sdk/src/ui/components.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db73d09631d642563cd92deb7187ef4c46a0ca5ea82d7d2ddb7f7de307dc364"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/companies.ts: 536 lines of code: server/src/services/companies.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":"server/src/services/companies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61534b8aa47230de88609cfe11e14231a7a81f612937f11ac17660c289b9d80"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/credentials.ts: 535 lines of code: server/src/services/chat-channels/credentials.ts has 535 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be382edf6de31a926f1874a75353c6669655fcf74cd9299b41edc6a1ff2fb31f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts: 534 lines of code: packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts has 534 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e2db75a533c74c1838bee1672c5de9ad8dfee01b5b78ca62e261b96db2acdf"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plan-review-context.ts: 533 lines of code: server/src/services/plan-review-context.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":"server/src/services/plan-review-context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ea10fac4a8f1a5bc0c730934390bbe98620ac3662e3a42780a6162cbc57544"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueFiltersPopover.tsx: 532 lines of code: ui/src/components/IssueFiltersPopover.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":"ui/src/components/IssueFiltersPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb6a4cc9336d2b5ed44d81f321a129ed3bad8288e6c60dd8a000126e40d9a08"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/interactions/continuations.ts: 530 lines of code: server/src/services/chat-channels/interactions/continuations.ts has 530 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25ac07d53702f8f92b6286e1dc3d59635b28ecab4fcba9efc83fb9b04fb4bb8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/DocumentAnnotationPanel.tsx: 530 lines of code: ui/src/components/DocumentAnnotationPanel.tsx has 530 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DocumentAnnotationPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c5fdb5ce052d206df37875d25be13d3913687b2f88ea77060b07828ab0dfdb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/parse.ts: 529 lines of code: packages/adapters/claude-local/src/server/parse.ts has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b1c23e50ad542ab435e69f5d564c5be03bf55809a035819ccda526d027ea65"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/InlineEditor.tsx: 529 lines of code: ui/src/components/InlineEditor.tsx has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b820a7f3c6000249b2fd584c734ae4dd663a094e6e48a02a2bf7e8797e8d08"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/WorkspaceServiceControlBar.tsx: 528 lines of code: ui/src/components/WorkspaceServiceControlBar.tsx has 528 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceServiceControlBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d198fa552336ff985fe7491e5583b3c31b696da3eff8c07ac0625fa15997462d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/voice/voice-session-store.ts: 527 lines of code: server/src/services/voice/voice-session-store.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":"server/src/services/voice/voice-session-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cac6ed1dee8c5ac2e506470e28add9140ee0fbbb48ee2b8722a083afb21545"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/environment-variables-editor/index.tsx: 526 lines of code: ui/src/components/environment-variables-editor/index.tsx 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":"ui/src/components/environment-variables-editor/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cb5ea868fb728b3724da5655bafdf53e62621124c9b5e1eb6bfe9d15ad07b8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/activity-format.ts: 525 lines of code: ui/src/lib/activity-format.ts has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/activity-format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad09176a774fc17a12ec70cfa701f9ddfb7b866acb6c819f39e7bda3312300b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx: 525 lines of code: ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0594e9e1e55e59cde86cc0b3aec1fb519badf8fa74f743361041826ae14aecbe"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/protocol/replay-contract.ts: 524 lines of code: packages/paperclip-runner/src/protocol/replay-contract.ts has 524 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10622edb5faa188be2552b15ae7ac01a1c342d49685655cef91e7d0a366a07e4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/evals/native-execution.ts: 523 lines of code: packages/paperclip-runner/src/evals/native-execution.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/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3643b9d082a4eafb0547136cc896a8c8c383257dcc8b99e30214beff65a4b8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-database.ts: 523 lines of code: server/src/services/plugin-database.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":"server/src/services/plugin-database.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4fc9cbb3eb2a42a389c956574c4a7a0b1e6eef7ecaf460bb7e176f666bf350"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/resource-memberships.ts: 523 lines of code: server/src/services/resource-memberships.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":"server/src/services/resource-memberships.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4212a16b0f0ee6aece54794f036cdd29e65ded583f7d3424628b9f387a35d275"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/AdapterLoginChrome.tsx: 523 lines of code: ui/src/components/AdapterLoginChrome.tsx 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":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc239051a0a7895297be7a46f106e770dc84a47e29621beb236748de0e814650"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/active-run-watchdog/adapters/postgres.ts: 522 lines of code: server/src/modules/active-run-watchdog/adapters/postgres.ts has 522 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eeb047554395f3c5b3d06f5256821b21904547f2aaaebc5d6911b0bf13a1e5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/legacy-execution-recovery.ts: 520 lines of code: server/src/services/legacy-execution-recovery.ts has 520 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-execution-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a48fa2e4dc1596225c6fa875340c8be77e6d259ddcf3de519eb8f9a976e7c3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/scenarios/scenario-execution.ts: 519 lines of code: packages/paperclip-runner/src/scenarios/scenario-execution.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/paperclip-runner/src/scenarios/scenario-execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dad0c0d3031b80e5edd5bde67ceebe7c01f13c61b9836dc50202a84dcd40c84"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/secrets/ProposalsTab.tsx: 517 lines of code: ui/src/pages/secrets/ProposalsTab.tsx has 517 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/secrets/ProposalsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acba965cdfb5c78a821c181015c7225e8261bef4178e21baa85de803d650a10e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/test.ts: 514 lines of code: packages/adapters/claude-local/src/server/test.ts has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7258dbd2d7afbeb94939504eca69f35013e5d0c33cff84cb4d2961d67df91f16"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/nested-clone-migration.ts: 513 lines of code: server/src/services/nested-clone-migration.ts has 513 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d001a11d661a4fe496cecfe4858ca236f4353452c4939a83df185ddf71771"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/connectors/slack.ts: 512 lines of code: server/src/services/connectors/slack.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":"server/src/services/connectors/slack.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70ac034e8bba9f65fc4d0a8c34f35143dbc75a7da6132ee9637c532d3915496"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-local-process-stop.ts: 510 lines of code: server/src/services/native-local-process-stop.ts 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":"server/src/services/native-local-process-stop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47743bc6c7a5d352e345adbc7cb296e34cf8d9248a7fe534a952bb11dcc211a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts: 508 lines of code: packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts has 508 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e39f7b264958dba9b4273c26992817dcf35d835b5c086e58f1792aa3a05909"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/connectors/slack-writes.ts: 507 lines of code: server/src/services/connectors/slack-writes.ts 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":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d241e7ec632088512a9574eca717d013d53f6d46f5d8419e470bc67488348677"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts: 506 lines of code: packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts has 506 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076ce190fda69b68c6fe3f5acf627ec628d623c0abb19ec1081a1bc2aa22884"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/skill-sources.ts: 505 lines of code: server/src/services/skill-sources.ts has 505 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682283da564c9b16e75bc5e3c33e1478961105fdf7e20c543c04d11d6aed274"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/claude-config.ts: 504 lines of code: packages/adapters/claude-local/src/server/claude-config.ts has 504 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd9979201741d8ecf4e8590c1706da8bf33c62d31a01cedafb7487ce49b9b64"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/cloud-callback.ts: 504 lines of code: server/src/services/tool-access/oauth/cloud-callback.ts has 504 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b950fa6547e466aabddd172363638f4b87ad06cae5dde77335a2d8faedebec6"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/workspace-recovery-fallback.ts: 503 lines of code: server/src/services/workspace-recovery-fallback.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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e5e0512568218e0181614f9660a46b9ec6be7d7aa97d1f81199e7dc636ea8d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/agent-settings/fixtures.ts: 503 lines of code: ui/storybook/prototypes/agent-settings/fixtures.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":"ui/storybook/prototypes/agent-settings/fixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0103828fb5cd0c7574223f2cb7c23605cc0992212240711154483ea73a00e4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx: 502 lines of code: packages/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/InteractionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1dd26ff9c165d78dff3300ed101e84888a74bfab27d0e1ccf6d4fa6d8ef6fa"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueColumns.tsx: 502 lines of code: ui/src/components/IssueColumns.tsx has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueColumns.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f466c51a8e1a43d6eff086f4ecf93439afb04f4fec70286903866744e8c22f65"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/DecisionQueuePage.tsx: 502 lines of code: ui/src/pages/DecisionQueuePage.tsx has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9521d6a92f7e4473ac6034893f00f441276c56a2ffbb7d99bcfa3db7d187add"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/adapters/schema-config-fields.tsx: 501 lines of code: ui/src/adapters/schema-config-fields.tsx has 501 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ed57f74c5473d6bc2834c94a6e9a92ff0cc053fdf234974df2339c912e31e"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-managed-routines.ts: 500 lines of code: server/src/services/plugin-managed-routines.ts has 500 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-managed-routines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6bf5f0e333a52372ed1c67fe3564b55937316feb7e954dbb3830f6b9747ffa"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-evidence-migration.ts: 499 lines of code: server/src/services/run-evidence-migration.ts 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":"server/src/services/run-evidence-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"836e945575bbf69f7dc4cffc595c3275fec6928043ad4e2820b387154923c122"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/Timeline.tsx: 497 lines of code: ui/src/pages/Timeline.tsx 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":"ui/src/pages/Timeline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52e3c05cc12a0fd2a1e21e9fd0c8d25728117446e64107cac051ad1fe44f05e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/FileTree.tsx: 496 lines of code: ui/src/components/FileTree.tsx has 496 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileTree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71d7a4f6e8b244a0f63d1142ff9fca570c2478a38b763854a5a6bdfe2049d73"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatBubble.tsx: 496 lines of code: ui/src/components/task-chat/TaskChatBubble.tsx has 496 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82184996c5fc846fa6ac949f357cc6f858877c42da6c83127bf9988fa7881ee"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/live/evidence-redaction.ts: 495 lines of code: packages/paperclip-runner/src/live/evidence-redaction.ts 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":"packages/paperclip-runner/src/live/evidence-redaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4d0198352de121838cb406da4ef14d54a1f202bbeab89edeb14cb4d359974c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/new-agent/AgentProviderConnection.tsx: 495 lines of code: ui/src/components/new-agent/AgentProviderConnection.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":"ui/src/components/new-agent/AgentProviderConnection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acbfb99689f4a3e3fb24586b3c558db9115d49f7c368a1c37426c33de667ff8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/AuditTab.tsx: 495 lines of code: ui/src/pages/tools/AuditTab.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":"ui/src/pages/tools/AuditTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c479edf65c2d3845bf2b670a8004facd38f2d79acf30dbcffd165ad43ce7663"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/documents-artifacts/file-viewer.stories.tsx: 494 lines of code: ui/storybook/stories/documents-artifacts/file-viewer.stories.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":"ui/storybook/stories/documents-artifacts/file-viewer.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"517ea234839a30cce096b1dacac5a59c4ee4dfd78686f3a164aab707dcfdc949"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/projects/projects-goals-workspaces.stories.tsx: 494 lines of code: ui/storybook/stories/projects/projects-goals-workspaces.stories.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":"ui/storybook/stories/projects/projects-goals-workspaces.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab93aa2af18db5877a45a69392718ba90f4ae16471a3f1ceb6429866960735a"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/runtime-exposure/port-reservation.ts: 492 lines of code: server/src/services/runtime-exposure/port-reservation.ts has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/port-reservation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f17e468d333fc69a0a910ad1b9b7ae1bed3e3314077156d448d1394dbc634c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-failed-run-owner-release.ts: 491 lines of code: server/src/services/native-runtime/native-failed-run-owner-release.ts has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc21efd7181ebcd25b8faa1e8b848dc5e2e27132c2b6a732cf2d331411f976"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/realtime/runner-prp-outbound.ts: 490 lines of code: server/src/realtime/runner-prp-outbound.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":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc556c1cab9148fd6960633fcd4f928b675fb60776e7807235cff662bfdc58b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/decision-retention.ts: 490 lines of code: server/src/services/decision-retention.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":"server/src/services/decision-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a03e867b6f8a370cc7c73aad7b4dd0d99ee414ce7760d73dd99a4329bb9120"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/catalog/aggregator-accounts.ts: 490 lines of code: server/src/services/tool-access/catalog/aggregator-accounts.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":"server/src/services/tool-access/catalog/aggregator-accounts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c5d202a0a973e8aaaa3f0b94e969fec0fe65809cc7caf652d571c40e8a98c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-provider-lifecycle.ts: 489 lines of code: server/src/services/chat-provider-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":"server/src/services/chat-provider-lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c8eb0a19b15984ed1c8bbcfb79a564327e321bdcd4dfb5b9bc4bc677d30935"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueWorkspaceCard.tsx: 489 lines of code: ui/src/components/IssueWorkspaceCard.tsx has 489 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adf94f2ae2fc43e5e22277ab915e9d3e82bd187c9d3a48e7861bc9fae51fbd5"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/client/access.ts: 488 lines of code: cli/src/commands/client/access.ts has 488 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f327e672b993ddc42bff2e83a35e28a6a81d4d2ed620dbd35ef826d14d08040"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/slack-tools.ts: 487 lines of code: packages/shared/src/slack-tools.ts 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/shared/src/slack-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7140c266612ee130d441ac4eb1ae79c5036f4d460ef788c8868380c0e883442d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/skill-studio.ts: 486 lines of code: ui/src/lib/skill-studio.ts has 486 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/skill-studio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73c2e6adc27e4c71dacaafde0bbc2418a4952731f76a935d75c1ec1fbc1349c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/git-workspace-expiration.ts: 485 lines of code: server/src/services/git-workspace-expiration.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":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90dd446d63fa8263366c9a99fc5f594ac7300934947ffe5da23d8fa88fc2607"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/plugin-runner-task.ts: 485 lines of code: server/src/services/native-runtime/plugin-runner-task.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":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a288ecf9b0a26d3555082f509e08fdf4640a53505a448bc29b40c916fce3d2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-runner-selection.ts: 483 lines of code: server/src/services/agent-runner-selection.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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a018dd7ed9165b985e55b59d0cc952bcb1612285ee67675e0c33557e31a4761"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatThreadView.tsx: 483 lines of code: ui/src/components/task-chat/TaskChatThreadView.tsx 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":"ui/src/components/task-chat/TaskChatThreadView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c89630d6ad4ce2c457ca5b6db231eebe46dca97e9cb43cf6bf518162b1373bd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/live-console-demo-manifests.ts: 482 lines of code: packages/paperclip-runner/src/mock-core/live-console-demo-manifests.ts 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":"packages/paperclip-runner/src/mock-core/live-console-demo-manifests.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b7f89531396a0ff30737e40ba968b604cb3ac34f4451127c8a42103cd5c01"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/slack/task-start-resolution.ts: 482 lines of code: server/src/services/chat-channels/slack/task-start-resolution.ts 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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfc2407c159681fa5af342c977974e3bc745c4ea947d3031457bd6b26e332a8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-capability-validator.ts: 482 lines of code: server/src/services/plugin-capability-validator.ts 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":"server/src/services/plugin-capability-validator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f5c45d15dd30e501814f456823d56be55c74f9a86845cac5ebe42aef56ae0f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueShareSheet.tsx: 482 lines of code: ui/src/components/IssueShareSheet.tsx 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":"ui/src/components/IssueShareSheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"493a6d458293211e4a8b2994679fc6874c3064b24419871e45d48b520990ca2e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/api/plugins.ts: 481 lines of code: ui/src/api/plugins.ts has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/plugins.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af040ee05ad9c2b237a0b3778ba38aaca172e5fff0845a0a5587e6504a72e2f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/inbound/wakeups.ts: 480 lines of code: server/src/services/chat-channels/inbound/wakeups.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":"server/src/services/chat-channels/inbound/wakeups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac872c2fdbe3a8fca38cb4f6ca18a99d4ce20042ee8f791e6addc3775e39c34"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/connect-flow-preview-main.tsx: 479 lines of code: ui/src/connect-flow-preview-main.tsx 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":"ui/src/connect-flow-preview-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7567f1388edff808c84797b09126c8bde9baf1ff0cb494e00cf56d97da1a77e3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/modules/wake-queue/application/ports.ts: 478 lines of code: server/src/modules/wake-queue/application/ports.ts has 478 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/application/ports.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5127025474e6964cd73836c2f392306b0779bb2356d1e36b9f22666d3bcfa3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/execution-configuration.ts: 477 lines of code: server/src/services/heartbeat/execution-configuration.ts has 477 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/execution-configuration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d54fb50573ce92b2073a0a495f4a1a8d09c6108cdaeb8125e485412900501b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/persisted-query-cache.ts: 477 lines of code: ui/src/lib/persisted-query-cache.ts has 477 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdbb77cc6794150f330da9357d5d2e4a88a07b6e91e7a8e3dcf3b5daa9086ce"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/test-drive.ts: 476 lines of code: cli/src/commands/test-drive.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":"cli/src/commands/test-drive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25502ff3f073c1e7b24af75a3df936acae50c41b9d207270fe615fb67ab47d7c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/opencode-local/src/server/test.ts: 476 lines of code: packages/adapters/opencode-local/src/server/test.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/adapters/opencode-local/src/server/test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b920be92130f89518924184bf62560aa3c4b42791c0c0e0dfe591e06cb170307"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts: 476 lines of code: packages/paperclip-runner/src/drivers/acpx/cursor-extensions.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/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e64f5eb8069913c0765c7ced2e672575fbe627485005c9537880c812136c114"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/AgentSecretAccessEditor.tsx: 476 lines of code: ui/src/components/AgentSecretAccessEditor.tsx 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":"ui/src/components/AgentSecretAccessEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e367cec50f1dba0b0eb2ede5c2a507f50451f5068688a179fd3d130b81007a98"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx: 475 lines of code: ui/src/pages/apps/gateways/panels/TokensPanel.tsx 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":"ui/src/pages/apps/gateways/panels/TokensPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde7b71ecb521029b7599b2e945217b2af8060777b49caf64b61b896287c7e7b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/local-process-sandbox.ts: 474 lines of code: packages/adapter-utils/src/local-process-sandbox.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":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"227fef807c22fa396a1693e2e14aa022df2badc9742edf06ed205f3918003809"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/cliplab/renderer.ts: 474 lines of code: packages/shared/src/cliplab/renderer.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":"packages/shared/src/cliplab/renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefc7a020170c39fa0d4f948f091bca6ec17c013aa7007d607de2b0b34be6534"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/github/installation-lifecycle.ts: 474 lines of code: server/src/services/chat-channels/github/installation-lifecycle.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":"server/src/services/chat-channels/github/installation-lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dc3e413a9faea342a691c2b8b9ad45b8dc1b30fcc64fd6c65a67ed39705aa3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-blocker.ts: 474 lines of code: server/src/services/execution-blocker.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":"server/src/services/execution-blocker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05495f608ecc073f834a1689b72ba54f014f2d6d512660b4e32dbb5974fad72"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/claude-local/src/server/setup-token-parse.ts: 473 lines of code: packages/adapters/claude-local/src/server/setup-token-parse.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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7c1ef040c102fb32448b3a11038ce178e0f18ba4a99f4bb532e90bca4febad"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/conformance/capability-eval-suite.ts: 473 lines of code: packages/paperclip-runner/src/conformance/capability-eval-suite.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/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"462360a1f689b4fe58c4a7ce5b13e2b41cd6a206627d2556e05774b80ef8c780"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/live/runner-provider-launch.ts: 473 lines of code: packages/paperclip-runner/src/live/runner-provider-launch.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/paperclip-runner/src/live/runner-provider-launch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c822abb12bcd44f260a4d4a8e83535d8bd1cc7cc8939406796d0c3c8901d9f3"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/endpoints.ts: 473 lines of code: server/src/services/chat-channels/endpoints.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":"server/src/services/chat-channels/endpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd394208851b2d398c0f436c484bf8b6f7935c66d1144dc87031f74c166cd74f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/KanbanBoard.tsx: 472 lines of code: ui/src/components/KanbanBoard.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":"ui/src/components/KanbanBoard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"933b77f019917bb702f300a3a29716a512336c57db17026f5253edb0b688b1ea"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/ai-connections/AiProviderSetup.tsx: 472 lines of code: ui/src/components/ai-connections/AiProviderSetup.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":"ui/src/components/ai-connections/AiProviderSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c35deef4a57ec0d81799002671eb42d366f35d86a09697fab25d0c38770fc86"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sdk/src/ui/types.ts: 471 lines of code: packages/plugins/sdk/src/ui/types.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/plugins/sdk/src/ui/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3cf9c74fbb40c774d662c3d3a2b181535e8d376a41be46700ea400617ca2e5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/execution-workspace-policy.ts: 470 lines of code: server/src/services/execution-workspace-policy.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":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba48d0b7b1f8111a38c9b47096c95c93698bde80cdb2924cbd14a9c22f2c205"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/provider-routing/Management.tsx: 468 lines of code: ui/storybook/prototypes/provider-routing/Management.tsx has 468 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/provider-routing/Management.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d5bc58bb7591fa008df2052cacb384c35465af7f5b40d791290e7b0a72e510"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-job-store.ts: 467 lines of code: server/src/services/plugin-job-store.ts has 467 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-job-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe381efc27111b36abed66e438e639624290ce74cb220d21bedfac9c296c8251"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-controller-migration.ts: 466 lines of code: server/src/services/native-runtime/native-controller-migration.ts has 466 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d8e8cf89ab7fe0961c2db67abe67f0cc97414a56527367ff1604eab4a7403c"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/SmokeLabTab.tsx: 466 lines of code: ui/src/pages/tools/SmokeLabTab.tsx has 466 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/SmokeLabTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a995a5600316a6d55f9438147265db7b784915054a0e59b4af10dacefb759721"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/gemini-local/src/server/acp.ts: 465 lines of code: packages/adapters/gemini-local/src/server/acp.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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e01c26e7c249ba4e18fac9cce0124823f2d7e98a809734e4a01b81a87869ed"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/connection-management-authz.ts: 465 lines of code: server/src/routes/connection-management-authz.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":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95785fb8da4f4db138809468b37594e320adbcb34ce212a4599038eac9616b9"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/skill-version-retention.ts: 465 lines of code: server/src/services/skill-version-retention.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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2d2d805612c20ddc21cf62932ea07dcdb8d26551cf35d152a05205e0fab09d"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/SummarySlotCard.tsx: 465 lines of code: ui/src/components/SummarySlotCard.tsx 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":"ui/src/components/SummarySlotCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"933776d32e87be6c33b45c12f2dfb211a4362c1f37f60ecb9d344af390ccae83"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx: 464 lines of code: packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx has 464 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb820c5413b4bd9a9a596de77cf479edfa2f62f817902c4d4f79fb98c3fc59d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/bundled-plugins.ts: 463 lines of code: server/src/services/bundled-plugins.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":"server/src/services/bundled-plugins.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a671ee8f1f4cf760d0f07de916299393ee518f0a456024cc7804ba8695d9e0f4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/issue-thread/types.ts: 462 lines of code: packages/paperclip-runner/src/issue-thread/types.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/paperclip-runner/src/issue-thread/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44685fdbd4e998947094236cd7482f14c7e34d2531aa11300e64d176d6659804"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/plugin-ui-static.ts: 462 lines of code: server/src/routes/plugin-ui-static.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":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf14d20f9bbcdede6c84c8c36ff3e3f5b2282544d49f5ab8834fea9a3a98cbc1"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/board-auth.ts: 462 lines of code: server/src/services/board-auth.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":"server/src/services/board-auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda35f52df7e77873b80e3b2773e42f1dde8428130a71a41d5b52a6cffce74e2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/publications/requests.ts: 462 lines of code: server/src/services/chat-channels/publications/requests.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":"server/src/services/chat-channels/publications/requests.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6fbf83ec1d1460faa6e3125ed24d9d8b5c82eff64fa10d32d939270e36c1ec"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/connection-management.ts: 462 lines of code: server/src/services/connection-management.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":"server/src/services/connection-management.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a851b1b72dd95457e578f28b94a73773d37300b7369397d004f3b882f8171d18"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/public-mcp/events.ts: 462 lines of code: server/src/services/public-mcp/events.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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9f846b127c997a660a5d80e41ff2e6a1a3c54105bd1561c82de72c2c999611"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/acpx-engine/run-contracts.ts: 460 lines of code: packages/adapter-utils/src/acpx-engine/run-contracts.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/adapter-utils/src/acpx-engine/run-contracts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9213becd6dd3c23c9538f645065cfe9943c84d85b1cedfaea32b4e07c8efd8f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/paperclip-plugin-fake-sandbox/src/plugin.ts: 460 lines of code: packages/plugins/paperclip-plugin-fake-sandbox/src/plugin.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/plugins/paperclip-plugin-fake-sandbox/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d35a6b967568083c776f81db9cdf335f9aca92333d29129d4d1cd2cea57a39"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/install-store.ts: 458 lines of code: cli/src/install-store.ts has 458 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f65db4d96ac58e264ff8ce8df0f2bf3344592ad8d295502854f89c57f9795d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/novita/src/plugin.ts: 456 lines of code: packages/plugins/sandbox-providers/novita/src/plugin.ts has 456 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/novita/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb901efd12dc9fa165a5a95d2c9812ffa33c7fa64795d14479127fb68349bc9b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/customer-success-inspection.ts: 456 lines of code: server/src/services/customer-success-inspection.ts has 456 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/customer-success-inspection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d532db590930113e98e736271d3ef35daafa0b6a2a9fe6c590c3bd8a13dfbd95"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapter-utils/src/acpx-engine/run-site-sandbox.ts: 455 lines of code: packages/adapter-utils/src/acpx-engine/run-site-sandbox.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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853598627550bf63ac17c0a496eee32882c2fb53605103a4becf4ba9001e2357"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-board-response-wait.ts: 455 lines of code: server/src/services/native-runtime/native-board-response-wait.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":"server/src/services/native-runtime/native-board-response-wait.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"127c32308329f17c291b1e2f48b91d896ed23db9ed76e9028ba2d078fbe829d9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/questions-and-approvals/connection-reviews.stories.tsx: 455 lines of code: ui/storybook/stories/questions-and-approvals/connection-reviews.stories.tsx 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":"ui/storybook/stories/questions-and-approvals/connection-reviews.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"920784fd76099ef4bbb5f50742696bbe4d347bb0d2d661a36381b1e015424961"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/telemetry/client.ts: 454 lines of code: packages/shared/src/telemetry/client.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/shared/src/telemetry/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0792fb1ea62c8c35fec6359693879d5cdd86ad6c89fa09e65890785340638f04"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx: 454 lines of code: ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359bea782dc7ba443d6893b7e2f5dafb823c41497c80b5e5d02fc3b2a5f254be"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/effective-run-config-fingerprints.ts: 453 lines of code: server/src/services/effective-run-config-fingerprints.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":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9001cacfb9f635eb195e2c675254246b27ecbad4e8d55e697a02715063156d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/heartbeat/task-context.ts: 453 lines of code: server/src/services/heartbeat/task-context.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":"server/src/services/heartbeat/task-context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef761452028437ef52eaa7a5303a6528782a5720772ca91691380fa4fceab3d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/config.ts: 452 lines of code: server/src/config.ts has 452 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc7a0807fd284af177b204d5d3dbabc1e4745001c8f5f019fe098634920d201"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/steering/task-execution-controls.stories.tsx: 452 lines of code: ui/storybook/stories/steering/task-execution-controls.stories.tsx has 452 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/stories/steering/task-execution-controls.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0e9e2a109127def8b1d24e76e6dbb59cac05c69317bc1c0d013170cc1de571"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/mock-core/deterministic-harness-driver.ts: 451 lines of code: packages/paperclip-runner/src/mock-core/deterministic-harness-driver.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/paperclip-runner/src/mock-core/deterministic-harness-driver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b110430492265b947caac1eee75fe9ae72ba52bebb0afedd08a7de1a24fb939e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/feature-catalog.ts: 451 lines of code: packages/shared/src/feature-catalog.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/shared/src/feature-catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcc4bcb2bac092e6bdf49348516d7cc4c082fe6dc701bae83e23ad627ca1f54"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/chat-channels/github-chat.stories.tsx: 451 lines of code: ui/storybook/stories/chat-channels/github-chat.stories.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":"ui/storybook/stories/chat-channels/github-chat.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6246beff16d68a99ccdbeafcdc68fcc67f984951c0eb6c6e343a71605bb814"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/routines/routine-detail-c.stories.tsx: 451 lines of code: ui/storybook/stories/routines/routine-detail-c.stories.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":"ui/storybook/stories/routines/routine-detail-c.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c479a2e27c4cff05f363d8f9b7a9229ff3b837eeb26fa31cf112ea9346743"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-response-comments.ts: 450 lines of code: server/src/services/chat-github-response-comments.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":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"097083281bad1bf122ed8c2cec7bcab771eb6fc0e4a221f7287e4d9116d98378"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/run-log/RunDetails.tsx: 450 lines of code: ui/src/components/run-log/RunDetails.tsx 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":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7d1dcb1b30b4cb036ba72f74aa2ff2c06aecc0c6d86115e61522f1b37111f8"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/FeedCard.tsx: 449 lines of code: ui/src/components/FeedCard.tsx has 449 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FeedCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f93cd3bd23d327f95c5a7e75c066710356b765ef481ee94f22a0b35c435fa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts: 447 lines of code: packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts 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":"packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b130a2b6a10a1ef10ec4944254312d7784561883bae5e953c4883add901657"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts: 447 lines of code: packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts 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":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31385e457e561226ca6e8d289874a9c56ff6744d698d10d0b9529e2d1a99a874"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/OnboardingChat.tsx: 447 lines of code: ui/src/components/OnboardingChat.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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2450d46f08e5716b72af1fe6e280ca0ea03ee7c379e6408e61e678a3587f3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts: 446 lines of code: packages/paperclip-runner/src/drivers/acpx/recovery-identity.ts 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/paperclip-runner/src/drivers/acpx/recovery-identity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dc035be52046b069107ca567f8cb96ac6947f336c4fe7feefd36071f5ffc8d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/opencode/sse-frames.ts: 446 lines of code: packages/paperclip-runner/src/drivers/opencode/sse-frames.ts 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/paperclip-runner/src/drivers/opencode/sse-frames.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b14b5fc8d88d229e7c159bafb3cd4f8e22aff2c048a90b0d5c3918aa24e9163"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/telegram/publication-drafts.ts: 446 lines of code: server/src/services/chat-channels/telegram/publication-drafts.ts 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":"server/src/services/chat-channels/telegram/publication-drafts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f7ad5a61b786b1f73b1e1b28ff05ae6bc2036079d1b76958640a5bdccd6d88"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-native-progress.ts: 446 lines of code: server/src/services/chat-native-progress.ts 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":"server/src/services/chat-native-progress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c82c65332734ccafc1f2a9f0bc6dcde128c97500f9a3ff545da7390603f30c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/runner-prp-coordinator.ts: 446 lines of code: server/src/services/native-runtime/runner-prp-coordinator.ts 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":"server/src/services/native-runtime/runner-prp-coordinator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5aeec092bd3205aa6b3bd8cf454c8518c793bf7a61dbfa2d185b1b9164c581"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-failure-diagnostics.ts: 445 lines of code: server/src/services/run-failure-diagnostics.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":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d54ac80f0e5b1cd28579f65183df6d0fd57838191dd2760389114af9a407c8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/scripts/qualify-native-log-recovery.ts: 444 lines of code: server/scripts/qualify-native-log-recovery.ts 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":"server/scripts/qualify-native-log-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28763002503001095b47cf0f8279ac092e85dfc7c136a703608eb027f4e6ba65"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-instruction-revisions.ts: 444 lines of code: server/src/services/agent-instruction-revisions.ts 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":"server/src/services/agent-instruction-revisions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58d7df18b83a04666a7c47b9ad59e08e0582447c044679b762964823c93639d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/github-grant-continuity.ts: 444 lines of code: server/src/services/tool-access/github-grant-continuity.ts 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":"server/src/services/tool-access/github-grant-continuity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb56a44ac3f884c518ecbd553b622513e9f8e28d36a49a13744dc6ab6c58cb43"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/lib/agent-records.ts: 443 lines of code: server/src/lib/agent-records.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":"server/src/lib/agent-records.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9a84adb7b4c6d7348a669e440ec4455b0fe9f8607e7f5752f4c1f99fe99da"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/slack/form-session.ts: 443 lines of code: server/src/services/chat-channels/slack/form-session.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":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e8c2f9862e68b8f846392aeff3fed079bd2d18fde3c233e4656e3cdfdcbbed"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/DecisionTriageStrip.tsx: 443 lines of code: ui/src/components/DecisionTriageStrip.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":"ui/src/components/DecisionTriageStrip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c080e1871c8375bf3d46a7a6ea977676a924f8ac28af7c5b6faf61600486a2"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/PropertiesPanel.tsx: 442 lines of code: ui/src/components/PropertiesPanel.tsx has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b406380d3760557b5f334532ec900d5fbd969800f4a35ce87161967e85938e0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-workspace-sync-retention.ts: 441 lines of code: server/src/services/native-runtime/native-workspace-sync-retention.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":"server/src/services/native-runtime/native-workspace-sync-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99690804490ce95bc2122d1721aa0bbac4e18f94eac39e9c167ede734f6772b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/costs.ts: 440 lines of code: server/src/routes/costs.ts has 440 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ee100e32e5bb20de677feb8f606f1e861cb52c1bca3916dcc5402112a7d03"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/run-failure-report.ts: 440 lines of code: server/src/services/run-failure-report.ts has 440 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5135a778684157e10ceab66c07654a3a4b8c45a83a442aaeb37a017237f8df6e"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/lib/issue-thread-interactions.ts: 440 lines of code: ui/src/lib/issue-thread-interactions.ts has 440 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5ea7323331bf0586eb9f3255bb7519686adc08038a8728d4c1819a14fe8d9a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/conformance/capability-semantic-conformance.ts: 439 lines of code: packages/paperclip-runner/src/conformance/capability-semantic-conformance.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/paperclip-runner/src/conformance/capability-semantic-conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e725556542027504feabeb2605dcf3aa7296650b9052ef1ce2d762bc2e94b51"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/decision-history.ts: 439 lines of code: server/src/services/decision-history.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":"server/src/services/decision-history.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d6f51127dd2c1255f26f6c722fc6847c44392ac78c5737618fd488afcfd516"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatStatusPill.tsx: 439 lines of code: ui/src/components/task-chat/TaskChatStatusPill.tsx 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":"ui/src/components/task-chat/TaskChatStatusPill.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2714329e9f32a545b7029b6e29af846c31392db35bc46af94823b5bd5ff831de"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/features/connections/GenericMcpConnectStep.tsx: 439 lines of code: ui/src/features/connections/GenericMcpConnectStep.tsx 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":"ui/src/features/connections/GenericMcpConnectStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82974f819d1d2c69a3633dcd5c39cdf309c004c22007a2a6a230a8052d3098b"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx: 438 lines of code: ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx has 438 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc264ee5e1c214cb29d405922c5b665c898d3eb9dbd39f6c9ae87f0562aff12"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/agent-config-primitives.tsx: 437 lines of code: ui/src/components/agent-config-primitives.tsx has 437 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a6128a63f866b704094a56b884488d31e79f578fbc3036cfa5f76f49a51e73"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/realtime/live-events-ws.ts: 436 lines of code: server/src/realtime/live-events-ws.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":"server/src/realtime/live-events-ws.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a7fa254d1064407906cc01381a49bf7dcf05cfb071be00508000ff0aeaf251"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/legacy-controller-lease.ts: 436 lines of code: server/src/services/legacy-controller-lease.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":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f399f49d1371647b92ae6139a48ef0e7d5cacf7833dfd5207e414116b9ba0df8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-harness-backup-storage.ts: 436 lines of code: server/src/services/native-runtime/native-harness-backup-storage.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":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0340be784085c40a7e9b7e2a50bc9a8745ab514dd52e8069bb26ee344e383f"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/SidebarProjects.tsx: 436 lines of code: ui/src/components/SidebarProjects.tsx has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13052a2330bdbc0e5b4f9c09a745d4d285b5e29af4e376122199ab59c147433"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-completion-feedback.ts: 435 lines of code: server/src/services/native-runtime/native-completion-feedback.ts has 435 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-completion-feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"633e00480a8d0da38df0095c63266a6f967705be8856b973b4d6a2709765339b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/paperclip-cloud-connector-enrollment.ts: 435 lines of code: server/src/services/paperclip-cloud-connector-enrollment.ts has 435 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d823d2d9d6b6f2552a98e2d0456ec3cd6c47b838af47f029e62a1b9ee59c2939"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/recovery/blocker-stall-wakeups.ts: 435 lines of code: server/src/services/recovery/blocker-stall-wakeups.ts has 435 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/blocker-stall-wakeups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93b1f0b8aa8a6f66cbb8b722ea61dfdbd865e77bd72e0b04b35856b96c112ff"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/tasks/composer-model-picker.stories.tsx: 434 lines of code: ui/storybook/stories/tasks/composer-model-picker.stories.tsx 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":"ui/storybook/stories/tasks/composer-model-picker.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8965ccf97f51459e6c18ca99dbf1d5706ee6574ff4c1c1b208d1250621bfce0c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-github-tools.ts: 433 lines of code: server/src/services/chat-github-tools.ts has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c391aa13884e8b731cc576e56be8cf4a479b7966b4329a7dfe27665eca9cb157"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/access-finalization.ts: 433 lines of code: server/src/services/tool-access/oauth/access-finalization.ts has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7114cfb59890018d91b7d70e755aabcadd3c7e1d8f9f6efd11df1a05e43dbf"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/adapters/openclaw-gateway/config-fields.tsx: 433 lines of code: ui/src/adapters/openclaw-gateway/config-fields.tsx has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e2faef8c256cc3f29f9bdcb6f0993c143012b9cd28d60c034b6a388f3eba62"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/db/scripts/clean-poisoned-claude-sessions.ts: 432 lines of code: packages/db/scripts/clean-poisoned-claude-sessions.ts 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":"packages/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d92a476b59db761ec1065879196d714ab51894b2bb874447072cb30af6ee4e0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/ai-connections.ts: 432 lines of code: server/src/routes/ai-connections.ts 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":"server/src/routes/ai-connections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e75b221c8766165ed77b44371b1bfb1bf7a96464dc211ebf06399e7a2c9922"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/oauth/client.ts: 432 lines of code: server/src/services/tool-access/oauth/client.ts 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":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6a3ca20c1e9f2f370fe999f015c53473a2c0353b5f785bafce9bc7e2a74df9"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx: 432 lines of code: ui/src/components/coordinator/CoordinatorNeedsYou.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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f87483f4d4dbdf3aa2da8a2a07a1ddd9a39ccd48b9188f9f4bd96429e17dcb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/e2b/src/plugin.ts: 430 lines of code: packages/plugins/sandbox-providers/e2b/src/plugin.ts has 430 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e382808f5c9365acab5e6c572b3aef457d1c918b65b1971e1c8f22e0cd1eac"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/health.ts: 428 lines of code: server/src/routes/health.ts has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/health.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"149ae65fba3b1c128cedda1f558677d97340d20d452cfed05c3f8ad836ffa292"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-file-store.ts: 428 lines of code: server/src/services/agent-file-store.ts has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c175c57e47f6ce4a0c631290125f042be3545ae6cd9a60e5db548675d6932d47"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueLinkQuicklook.tsx: 428 lines of code: ui/src/components/IssueLinkQuicklook.tsx has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueLinkQuicklook.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a63cef0343b241744735d2ca81034d5319b9e7ea76edc699c1af21e8fd385e8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/routes/user-profiles.ts: 425 lines of code: server/src/routes/user-profiles.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":"server/src/routes/user-profiles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a6ab666336f50873b5e98641f30a994caf715ea8570d27b8f06aa408504286"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/chat-channels/github-bot-management/management.stories.tsx: 425 lines of code: ui/storybook/stories/chat-channels/github-bot-management/management.stories.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":"ui/storybook/stories/chat-channels/github-bot-management/management.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f45ccba767195290ac2be4787478608936de1eea55afa01a85153b310b4d76d"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-action-delivery.ts: 424 lines of code: server/src/services/tool-action-delivery.ts 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":"server/src/services/tool-action-delivery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd12023076b03cabc81d90570c8867d8971570ef4496f5286864eb945f71f85"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-app-server-driver.test-support.ts: 423 lines of code: packages/paperclip-runner/src/drivers/codex/codex-app-server-driver.test-support.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/paperclip-runner/src/drivers/codex/codex-app-server-driver.test-support.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38054ded312e8c31cd18736e950383b6c7edb6365481cc6abed492d48571b3b5"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/object-run-log-store.ts: 423 lines of code: server/src/services/object-run-log-store.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":"server/src/services/object-run-log-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8260da38f49d38eab73e4c280cf7612341e935b121e1ee08ac4372f9fed596"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/evidence-classifier.ts: 422 lines of code: server/src/services/native-runtime/evidence-classifier.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":"server/src/services/native-runtime/evidence-classifier.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e548ec1f645782f3a74bdf4efa7d4a0fcdf9b824414b0e9bd0b9596e98c5b4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx: 421 lines of code: ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/provider-routing/ConnectionSetup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5f5ba169fcd2a33cfb4faa6838604eb305d1132c49f71e3e765ff8ff53efed"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/inbound/wakeup-notices.ts: 420 lines of code: server/src/services/chat-channels/inbound/wakeup-notices.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":"server/src/services/chat-channels/inbound/wakeup-notices.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa42635b09b32f70eebe9b0984aa567684812d024dd2552d655e707262824fd"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/hooks/useDurableAutosave.ts: 420 lines of code: ui/src/hooks/useDurableAutosave.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":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b00f3465019e10603d0e420a38f11b4410dd86262aec7d1f5574c408d0094b"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/agent-interaction-delivery.ts: 419 lines of code: server/src/services/agent-interaction-delivery.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":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25219cbff408b1674b959b606414a62784ed48f6edf048e29dce0ecbb8b728"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/tool-access/runtime/health.ts: 418 lines of code: server/src/services/tool-access/runtime/health.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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fde581d6f49dd7440da6ed368806314aba5541839286011de08b013472aadf"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/work-products.ts: 418 lines of code: server/src/services/work-products.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":"server/src/services/work-products.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8ee5f491b5d72d66e06c9d1b920caf6b844a3a512e71a5e750534698eb2f0d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/semantic-tools/types.ts: 417 lines of code: packages/paperclip-runner/src/semantic-tools/types.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/paperclip-runner/src/semantic-tools/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b463913524a15b82996e8368876683ba9454f183fae107507f084b51de4e7013"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/plugins/sandbox-providers/kubernetes/src/pod-exec.ts: 417 lines of code: packages/plugins/sandbox-providers/kubernetes/src/pod-exec.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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7de87d84871e08a1e8bdbaf1d4b342fa109c78380908b081db063898cae635c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/reducer/session-reducer.ts: 416 lines of code: packages/paperclip-runner/src/reducer/session-reducer.ts has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/reducer/session-reducer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7071cc997e5297348b9000209fac7b1a2cb0f8c8ec044e76a7ff73cda287a4"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/CommandPalette.tsx: 416 lines of code: ui/src/components/CommandPalette.tsx has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f91c4a11eaf5e717de2cb66589932b08ad863276dc07b546fbff81948b519a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/adapters/codex-local/src/server/runtime-config.ts: 415 lines of code: packages/adapters/codex-local/src/server/runtime-config.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a17fe6dde428e3cd698f737d8c2a5ba6fcde42e6d6e58d9a203fe9e18e361"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/IssueDocumentAnnotations.tsx: 415 lines of code: ui/src/components/IssueDocumentAnnotations.tsx has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueDocumentAnnotations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa21dcce1d555d9e6b8bb3c9bd0d124a21d7bfcfd3d3faaa5a55842ba12dc7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/browser/transcript-model.ts: 414 lines of code: packages/paperclip-runner/src/browser/transcript-model.ts has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/browser/transcript-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4a2383e1af3fdbec290219dee07e4bf576b6f8ec93c7ba960cf6591173397"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/inbound/authorization.ts: 414 lines of code: server/src/services/chat-channels/inbound/authorization.ts has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6dfb2cb508a72e68d3cefe5c7c56e68dab94f1112a034ef517f782819da2a2"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-execution-input.ts: 414 lines of code: server/src/services/native-runtime/native-execution-input.ts has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-execution-input.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edbc68ec39d6b72abcc59b9dae942b6fdb15dbbf8bd13ec128a68dad84ad759"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-channels/publications/transport.ts: 413 lines of code: server/src/services/chat-channels/publications/transport.ts 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":"server/src/services/chat-channels/publications/transport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc24976e7adb8e8d6d8912b47923bac5a5c6ec7acfced3e1d4399c96045b7995"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/BlockedInboxView.tsx: 413 lines of code: ui/src/components/BlockedInboxView.tsx has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BlockedInboxView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ebf7a78ff0da79021e40bb5d277db5c7ed804c5c918688c728f08b41af6185"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/ProviderQuotaCard.tsx: 413 lines of code: ui/src/components/ProviderQuotaCard.tsx has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ProviderQuotaCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063aac5220e6f824049ebf71fcd2a3463fb08e83e99b01e59c23d30c89ab8db0"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/middleware/local-agent-process-boundary.ts: 412 lines of code: server/src/middleware/local-agent-process-boundary.ts 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":"server/src/middleware/local-agent-process-boundary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"479c31842c83b3a542755a40eb6cd6af26e41280ad63b8b0f81476e9097f4341"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/BuiltInBundlePanel.tsx: 412 lines of code: ui/src/components/BuiltInBundlePanel.tsx 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":"ui/src/components/BuiltInBundlePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cceeac83838937520933e45c8ed8c953f19c7831fd6ae9f2b7cd95945467f85"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/shared/src/document-anchors.ts: 411 lines of code: packages/shared/src/document-anchors.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":"packages/shared/src/document-anchors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29670b21a25363fb00d6ae9a313c0561a5cf464ef1d916dbda6f8edadc0dac04"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/fast-responses/FastResponseSettings.tsx: 411 lines of code: ui/src/components/fast-responses/FastResponseSettings.tsx 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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c933e7274aec5685077f4f8fb3cb08d36a99c8b51654948bfa76e2fef750135"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-teams-file-publication.ts: 410 lines of code: server/src/services/chat-teams-file-publication.ts has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-publication.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea1b2a1287304eb736d11ded596318e1887bd2beb91c411bf0602bd1db0ab14"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/cli/eval-session-contract.ts: 409 lines of code: packages/paperclip-runner/src/cli/eval-session-contract.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/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"005ea202b76e9347b76335514139b81356a053952faa72ea172d2da8cd647aaf"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/api/agents.ts: 409 lines of code: ui/src/api/agents.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":"ui/src/api/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4115351d2e2c8cf8e49c28e08d521c480558906b8f3cf88f39590002d7100ee6"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/side-panel/SidePanelTabs.tsx: 408 lines of code: ui/src/components/side-panel/SidePanelTabs.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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ec4a3de29e20a7caa9be52c3aff2ed572a045472b368d893f707dd00a44812"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-deliverable-feedback.ts: 407 lines of code: server/src/services/native-runtime/native-deliverable-feedback.ts has 407 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-deliverable-feedback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeb7cd3678b2ffdba323467f78bcdef8ac72e4060968781907d93661fa87bf7"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/task-chat/tool-taxonomy.ts: 407 lines of code: ui/src/components/task-chat/tool-taxonomy.ts has 407 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/tool-taxonomy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223cdb9178471eb870c166ddd900a4b8dc11c30077bd6233190988fdf2be23bc"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/pages/tools/profiles/WizardToolsStep.tsx: 407 lines of code: ui/src/pages/tools/profiles/WizardToolsStep.tsx has 407 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/profiles/WizardToolsStep.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ebc0c004e9cdf50cec55ac0e714a2d949f18befea19a2839b5d9da6dda4681"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issue-references.ts: 406 lines of code: server/src/services/issue-references.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":"server/src/services/issue-references.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adffa9e2383484c76501df1d4d18df185b92c3df932b142f5f5840fe3058447"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/plugin-tool-registry.ts: 406 lines of code: server/src/services/plugin-tool-registry.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":"server/src/services/plugin-tool-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28392addb2bd34eddd4e54e94413025713ab718add7800fbeecc4cfaac5b0760"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/agents/summary-slot-card.stories.tsx: 406 lines of code: ui/storybook/stories/agents/summary-slot-card.stories.tsx 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":"ui/storybook/stories/agents/summary-slot-card.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"125d020f694993cdbd739eaee5a731639a1a8c60ee2e3448fbfff79c756b33a7"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-run-log-export.ts: 405 lines of code: server/src/services/native-runtime/native-run-log-export.ts has 405 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c00c942794253de866dedabd51084557d3c9dca615c62a4139728f1f94c7f67"}},{"ruleId":"R3","level":"warning","message":{"text":"cli/src/commands/managed-agent.ts: 403 lines of code: cli/src/commands/managed-agent.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":"cli/src/commands/managed-agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bf2059fe65f23a08978072948dae2ef3c80f047a274a86627c23ac1c52c05f"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/issue-thread-interaction-resolution.ts: 403 lines of code: server/src/services/issue-thread-interaction-resolution.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":"server/src/services/issue-thread-interaction-resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5176a9cf0f4e3e2b17329d78e2477781fb9b70b2ea5e891520694d205abbaf"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/src/components/onboarding/onboarding-motion.ts: 402 lines of code: ui/src/components/onboarding/onboarding-motion.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":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae69ba961772acdecd9f27b2b1c0f7e746be97627576e7368c8ec0c7831604"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/paperclip-runner/src/drivers/codex/codex-security-config.ts: 401 lines of code: packages/paperclip-runner/src/drivers/codex/codex-security-config.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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee26db2b6bfc98b9c3cd69d1c5cab4575e4c30a91bbf27ccd81b14038dc0abd"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/chat-control-chronology.ts: 401 lines of code: server/src/services/chat-control-chronology.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":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadedd339110e9c3cda647f56e72c236c87bf10bb8aeff2208221626b31ddd8c"}},{"ruleId":"R3","level":"warning","message":{"text":"server/src/services/native-runtime/native-workspace-finalizer.ts: 401 lines of code: server/src/services/native-runtime/native-workspace-finalizer.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":"server/src/services/native-runtime/native-workspace-finalizer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26adfa8f76acc6483017287990c74b2104c16f71b3510cafb72db63526ce984"}},{"ruleId":"R3","level":"warning","message":{"text":"ui/storybook/stories/inbox-search/needs-you-views.stories.tsx: 401 lines of code: ui/storybook/stories/inbox-search/needs-you-views.stories.tsx 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":"ui/storybook/stories/inbox-search/needs-you-views.stories.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69f7355ff615225eb22ece93f154108c1d83be00135f207b20e8ee823de707d"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: cli/src/__tests__/worktree.test.ts:1687 imports \u0027../../../packages/db/src/migrations/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/worktree.test.ts"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb42fd303c487d61b0130e7a7d60560b484cc9b4c3178a7534a84683c6e6e4"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/db/src/adapter-auth-sessions-schema.test.ts:34 imports \u0027./migrations/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/adapter-auth-sessions-schema.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e33a349d1e7d7e6fe503bd23d451a89ac55e549169b4676880e0d9d149e859b"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/db/src/client.test.ts:463 imports \u0027./migrations\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/client.test.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"17906d143d883c427be90cab15de39c46a6d5391adbbaae7d500e2b9b44c48c5"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/db/src/migration-snapshot-drift.test.ts:15 imports \u0027./migrations\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/migration-snapshot-drift.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d841fb02253eaa311fb27c7ec8c9837f8249a559f255be739a4ef43f9c2cf8a"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/db/src/user-workspace-preferences-migration.test.ts:30 imports \u0027./migrations/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/user-workspace-preferences-migration.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbb4fc9ad7e834b3a19dac7213071e7edbe182fdaa262bc530391b1fb94ec34"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/paperclip-runner/src/drivers/acpx/profile-compatibility.test.ts:80 imports \u0027../../../test/fixtures/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/profile-compatibility.test.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"803962c8a90d7bb8d8423bcfa2292c7b7fa8366bcfa0a67399c703cbeb17d4c7"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/paperclip-runner/src/protocol/replay-contract.test.ts:15 imports \u0027../../protocol/fixtures/replay/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol/replay-contract.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfd8270f06f8cdaee868a6bfb61223dd2857112fdc426a893d77c91087666d9"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/paperclip-runner/src/reducer/session-reducer.test.ts:17 imports \u0027../../protocol/fixtures/replay/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/reducer/session-reducer.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdadb21bdea2abe7d7dbebb4d795862c1151011c77d9a3b4a93ff68b42dd3e1"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/paperclip-runner/test-fixtures/untracked-import/consumer.ts:5 imports \u0027./absent.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/test-fixtures/untracked-import/consumer.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"33707836cb1859a847a6d33de54f4e55639feab353832fa6a3cd5ca19c9b7e5c"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: scripts/__tests__/storybook-viewport-config.test.mjs:7 imports \u0027../../ui/storybook/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/__tests__/storybook-viewport-config.test.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed78d8f3b78605adbc184f8d4e33805cda4e8261adf2fac711ad34dfad0affc"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: server/src/__tests__/agent-commentary-skills.test.ts:33 imports \u0027../../../skills\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/agent-commentary-skills.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc50c143b937681384e952aa56547e567a98ac7a89511c3a0f4c2836789f2ea"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: server/src/__tests__/browser-use-connection.test.ts:373 imports \u0027../../../skills\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/browser-use-connection.test.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da2b24fdc15fbaa50a5a6afc1e5f8059d6db4fb751599547eacf1d55ac1213"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: server/src/__tests__/bundled-plugin-registration.test.ts:193 imports \u0027../../../packages/plugins\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/bundled-plugin-registration.test.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7320fbc79b5c3e13da6e941f50158414f894961f02e809cd0f122eaf1431a6ab"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: server/src/__tests__/required-quality-review.test.ts:186 imports \u0027../../../packages/db/src/migrations/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/__tests__/required-quality-review.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afdcbad821562b5b0c82ed275b1796218e2ecfeef292bd88d70196e9692343f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: server/src/services/native-runtime/native-usage-delivery.integration.test.ts:20 imports \u0027../../../../packages/paperclip-runner/runner/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-usage-delivery.integration.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50136cc074ff28dcdc29dced58ea1f1ab2b9ce296442976eaf2c4fbf8354735"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/catalog-overview.test.ts:13 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/catalog-overview.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"335a23dcb0c36205d6c749f6636faf7e64e9cc0848efa8e79da0bc755769f335"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/catalog.test.ts:336 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/catalog.test.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b616984dd177dd99ed3349cc89b57db2265f8a2841c98539ce68f6baff8e81"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/catalog.ts:1081 imports \u0027./fixtures/warm-continuity/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/catalog.ts"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"e528431f8cff1fd2cff27a62c042d5a9df8cc8e26dbf13d69d6bf314865f0dfc"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/chat-catalog-inventory.ts:7 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-inventory.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ed0bb59f42d0407878aa0f32c8e799a44da5bbe9441a212ade035dbbcc8927"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/chat-feature-cases.ts:41 imports \u0027./\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-feature-cases.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc7858865470a79a7269db2b55d3ea2803907a50294629763d56c9b7aa5c8b4"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/chat-full-catalog-testops-manifest.test.mjs:14 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-full-catalog-testops-manifest.test.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c53ffa1a249646eeb8abfd293ad831820772e6256a5feca03a1888d82423fe"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/chat-scenario-catalog.test.ts:8 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-scenario-catalog.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b02ceace06fd59567a764c5ce5d33a339b1999731f8280a696e34fe7d582f5"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/dashboard-regenerate.ts:88 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/dashboard-regenerate.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa0b890daa4ddf875a53a81230aff1b9379f9e4453e5ccb173a40f1a639c7f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runner-e2e/manual-private-policy.test.ts:56 imports \u0027./chat-scenarios/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/manual-private-policy.test.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c2b5f5473ad4f9ba6994f090dc54b47a775578841303c51934e470052e133f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: ui/src/lib/clipboard-usage.test.ts:21 imports \u0027../\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (2 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/clipboard-usage.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a338b2e474ae4a34a6a920bac797c1b0bd2d778ee501f34d4cc700a92f3c066"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb1ecf58fdae641cb2e04810bc056287d9443969a4fc850f16a57158cdce22e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/connection-dialogs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc35305ffc1a8339bdec41aa20ec12045a56c098b8c3dad43da302777d39bf5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/connect-flow-preview-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53edb33ba6e7a1f2ae0fa1d03011022e1fb1ee4f4358f39423099de8167bcb0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-clean-consumers.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c3eb6f8ecb6170840df21d8179fdb705a02b90cdb1c3785d84f6753f58b9a0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe92cb084e8fc32582ce88c34d9cbf73194e774ff53c34d358bc6647f8226ca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-native-log-recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d35ce6086aeb0aaf331067765fe89273f0038bbe32b09f716f1c0ef8cf41a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/muse-runner-smoke.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa552764ca5734065c1ca6d0dccdf40be65cac0354e0cf5f1ad34837cce84286"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d528ddfdfd91293424b527a864b37e39206ee3478ab15090554045174be6e0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/run-runner-live-eval-schedule.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"273bf96eed73cc6bb283eff1b7efd032be9276ba2f2dd38a5b82ec41a607a522"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/drive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fba7af4fd828d6a9ca0eaa40373441e52fc42e271a97c0cb01c3afe0a94c35"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/shot.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"450d5d71b5a79822ebff0cf3b36827348175fb1f578b6b1051cfb95b744235cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/wizard-preview-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa65025f01c9892229b4b798956772bb565d51ef2437217d2d5d3a18d28a80fb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-runtime-sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f356023f0327670a69d998c2555d213d2c352e1d1ae7932eb0f3963659bdb7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aaff955223faf89dad28ecd6576c8548df27fe16a8bd69725bf9b771684cc3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-object-run-logs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e589d9bb8a9e2cab50b597a5d489c17dae91d63fa01e26f9fd097d04cd716882"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3534048493d5d0e4024c7f35ea04ee2ca3ad0a290ae52610306bd0c57b21d4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/canonical-host.fixture.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a0a8aaad18724a61ed7dd79f4dc131703915c727f42f5e6942312022146fa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/run-capability-live-eval-matrix.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44fe01286eb75a3af9cbe3866475eaa7696770510d7ddc866fbe5b83c4e7ceb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-demo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d604ad4fb06ca734e83a89209092a3d962cef337c12a4292f17ea72a788581"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/devtools/issue-thread/stream-fixture-transport.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec2ada9f63e0cfa7030b06e5a2196cb971637b538f208fe9e8d2e22c532600"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-live.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9524f510cbb8cb72cd1feb84edfe365b975ccce97a9c3747e50e33c2a2153a15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/verify-agent-commentary-live.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42863c5e392d8be901ef8a1dd3f16f3d5990be1ed4770ccd0aa7407982301246"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/qualify-cursor-native-usage.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7a6d53903863118211279f3b2841cb5d08e1f8cde276f0c9f3e9628d43b494"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Org.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95577063d3dfe2e576d3d279246633d16d9102076fb7e67caa5fc363299ce82a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/specimen.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"696d921e4dce52ff64b28da9c11010bd9d37af4ce20308cae7deaa00f9980d09"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/frames/Board.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2426f2406f1133d1dc21ca96e5b34979b048826a732ebc4cfb77de66a5dc4e6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-browser-tokens.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec93d63e065895458b3c475fa796494b1c05e092597ee4cbdd74cbdc642add35"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/adapters/claude-local/src/cli/quota-probe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741e7154e2b755936cceff062ee3c1ac1dd08a92eb7d99801f3b0b4d1b7abb49"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/adapters/codex-local/src/cli/quota-probe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93165fa80d4ae2eb032b757f90cd6e196307cad1e3d134ef39edaff7f84dede4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53e42add3d3de5f32dbadcb0f7db824c390e620387851b1c0d8b2d82952aee8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/cli/live-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aaf13cbb7d507109489f866aa80a99873208c99cad836ceb14925c1d24fc4ca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/smoke-native-task-monitor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e095300819f4a18c05a7fd73842795e15d952684925cd85ca58b6b3688086e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/adapters/hermes/scripts/prepare-publish-package.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d0ca30825842bc08247f9dea3a7e23fee5d6837e024990687549e51fedc309"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/refresh-runner-protocol-eval-report.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcd56b8713e342553fcc63fde36570dde371e60d5dee80400d920bf25941fd7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/frames/LabToolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb308c4d3b717fa4a885e4c26feb4c71a181708f994805de4eb08e411d7e407"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b42a70efebe49978ae119c5dc99a05274873059eb1d0fef1a8c21a921dbec2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/StageSecretsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bc4deeb5f1498ae911b5e4021613317a928d1eedf3c97764d20540758a2bdd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/generate-protocol-coverage.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e554cfb6ca4dd9b3b202a0ceb77afe314a425a3363a58e17dedb365f3bacab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/live/cursor-usage-notice.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de00a859f1b5d7e5e13f00dec32d10a792bd1869bdc7638e2f02e6183ebc98a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/seed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552610ba172631f32e689a014041cff4f1ed31d6f21e3023219b62f53de551dc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/MyIssues.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e7c588bc397e9bbb217b2c273a308a2d36b59630457a617d1c3b068f25971e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/grok-native-smoke.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6774dc6c2644aec9c70dc1afd25124597e80f2b4a61ad15bb145d8305ffbb3ab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/tailscale-https-broker/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d929f176dfa548b6db964341755eca47cf00934d96e2e57e899295f21d29dda7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/qualify-cursor-runtime-patch.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e69115321caa749acfee8d38e0709d3bdb04e3ba91fb42fdba4e730ad6d394"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-log-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9318bd44fbade6421686bf905a045014cd65f937746f88496518402d6d70d9a0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/connect-model-preview-main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ea56dab54e4381fff3b8e881dd44e201e10375882f6305a1759a583767a85b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-stream-bus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34333395a4c52ed5471ee8f153c14d86f13b1200f29ad14a9f1f841962bde9cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/lib/codex-evidence.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2c68872d8dc984ccbdb0a5f4dd79e6a6bdae9c6cc64a6d5a22f52fc5c1d838"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/daytona/src/runner-ingress.sdk-integration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"718fa24416ed668be3668c26dd48397dbc07bb08dfed8ab1a7d83f15d7efd88c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/profile-tool-projection/responsiveness.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee25b73ac38e61255b13604e2dbd168d799d50fc23bbe4beb8cdd0b093e50039"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/dev-native-runner-status.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e9146ee97a72a5cc4fe946a464e09f78cd65bdd7ef317d62dd30b9f3766278"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/ComposioAppManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee76a89f0d849ab54b46f226f1b20e3a6a42c373dfb00f96222b4011c65ee80b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/run-runner-workflow-evals.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5373f5fadf72ecf86eb801c99f98be04e7e15ec9cc7ccaa32c56880bb57f767a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/live/scenario-chat-loopback-proxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b876082a480eae889a70c26b4eb355d3df9ea428c55c8d1b547d72d33476d8d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/qualify-cursor-mode.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e37a23e31fc9022597bee797c0c985071bdcd79886e1ba27879c6a15a7b9ab1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/generate-capability-inventory.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56171edd3b96ebca0c515a28d77bcb5fceb432a680a9db438ee3d78447baeb2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/tailscale-https-broker/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b89fa1123fe1a05291d3a98716f77dc39414623a75152c8bdd473844fb9106f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/qualify-cursor-instructions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb00a0e9bfa900a47481a92e1541e56ceb0daa66e89a9f5f62b2999bd4d54340"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-package-boundaries.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc4c02279ee5333b1627ec0d5baa094ee351042eb63830d0cd499e6155962a6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/verify-skill-package-s3.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8bb52d0a904ef2b82c882a7d494c40e3620473f8a167f23382610a44f2ff50"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/profile-tool-projection/compile.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d762b260fc4407bc4cbaae0786137c3f255dae43f96e80cf21cbd1c86949c5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/workspace-file-recovery/fixture.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60e26a79a32824cdd42ebc162f26a1a68b2ac56745bd5968ff10a5099e04568"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/live-console-demo-server.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"668027b8ba2460d46040012ee658b85c2bee5c619c6c902f7b8edb1853bfc822"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/cli/local-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cb597aa6975e60d44317e203d8752e02cc16965f16553a6a133c1324406026"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/capability-explorer-fixtures.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5c46a7998e38a09f8c6414f3b9f93ce26aa3a8ba54310b00900c8aab3e6605"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-idle-history-sql.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aef1d44ecfb2b2904938586a33ceeb5e909a8031a6c38fb7bed2ff4bd1cf40"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useStandardMarkdownMentionOptions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11ac71baef5a5de5ef87d4ec18fa1ad7c2a35c3e3e3710b93cd4095fcb8e79"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/test-slack-sync-protocol.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"589716f78586de31a8950f213aa2beb8d9ad49516be99f779e5fe96efdf752e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/ButtonUsage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82347127a10ea5959734f7f9b03109f5505ef632aa65c8593ce8c029fa869a9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/migrate-run-evidence.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2edbf86d3e4a73a29f0efbe1f82a31ce855c59840874b2b8426fa1aef158ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/maintenance/ephemeral-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9876aa2efcd876efc2be1d0d422c7a83e4c5ab9e5cb30330f444c4729e1f15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/maintenance/agent-files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebb3bd12a03da95485d511a1a150cff09c48be082a2e31da8071fd045a07ef6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/evals/run-regressions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c63be3035f9d1cab383ce25e038887f66637785b06da86010d6f25946c5dd5f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/action-permission-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f2b5ca8a546f6eadabc355207dfd5eac78a0956d7d7d0be8c40059b2b19f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/mcp-server/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d838bb1f108ae6997aa055a548aace999952c7bf5b9c4ee67d1c7e23f47f5353"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionIdentity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67ad0f774a5c15ec5aabaa2c170d7d6ccea046b8e209f8eb865338ed0ad0190"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/tailscale-https-broker/src/native-peercred.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d85ffea86f38241c233bbd58c8d238ff65b68bd5ffeb789d91aea460d80929e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/test-slack-cloud-owner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8871ddaffcead5b29c4c7b3f5296e0fe95ce007b885379f5886f4bd0c3feed"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/coordinator/CoordinatorAttentionTasks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1eb319edf53fde097e13672742485aae0adcc28b1a81ccdafed37ca025bb56"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/kv-demo-mcp-server/src/tasks/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d5176512ee636c95b7e970f98aaa05d1ab877a1bc5d6686f02efaa6e731886"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dev-watch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"617daa2295ed51de88380cf2ab7b601503dc6fe9e6223a7b12f14c5f0888cd45"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/assistant-plugins/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bc9c0fb5b4e6018fbdc44bdea4194559abeb9c93f2af5408960a24875e9621"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/mcp-server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8064edf01b6c26c252877c6a9322fe7470b1bc83ca92874df91a62302725eacf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/generate-operation-groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"027fce679ef102e58fec58dcc4e4a390b47bbdaf35b3a0b0b055cfd184244e99"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/migrate-remote-workspaces.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d3bfa4ef11005a775a1812716e81904bdda3d89dc917591700796f2d9812bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/built-in-agent-toast.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9cc33724c1ba4bf91d416c3f71bb864a397f894e6815b001c6a6bd27412e0c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-capability-csp-bundle.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb9333f9b16c37ba6526190f0622f00f902ee9d8ea7558bcf62f75a574f639d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/google-sheets-mcp-server/src/http-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b614cede78f16a1fb48e3c05f806d26f5be50a740d97dfefb0c7a5144a9c35d7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/kv-demo-mcp-server/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ae3d26f5467e035851ca819343afbbec92ce54964d23ee9dc01aa1f2529436"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/devtools/browser/src/components/ui/tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cf937c78f6417a378813f6166f78801bca66709a8f09f526656ecd5edf65f8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/cloudflare/bridge-template/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8012afd1c61f588729bfabe4fe51708d820ae05de2256a64abbbff9cadf85c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/plugin-workspace-diff/scripts/build-ui.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d7ad23909749afa9280103e09fa3da67ace53f99e4846700c58f1ff918b4da"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/generate-provider-failure-contract.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87942be632d340f7315730fd869a47628676c9fbf0c23a66cf5b2fb5c3b58ce6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-api-authority.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c0f1cf0e48d527fa2b376179d19d5e2462e41cfd97187c398645e61f0b3ae"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/qualify-idle-database-backup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"214ed06e88685a0094d7b11ff42573efcbe223093ae0b1baa3d22f1a4dfa099c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/dot-runner-live-control.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c7b606f9d6d77322e78447b81a0bebdb6a04606ed1d3e9d578505f8d7fcc35"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/profile-tool-projection/probe.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0708591e14cd8a890aa5b68b54bf75474ea1c154056702e82d1f70f5fa91fd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/install-copilot-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de418568c09f4afb154a57b2acfbf0ceca0af1bbf603a136ea3f43c93d2b6fec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/cli/replay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc29b4c802a365f0a640a942b40844618ef2bb464c040ddc838901d123b041e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-avatar-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c7893dcef3ff7d52a2d682ca7ea8c69c66bab3673b2175f3f323bd19cbd95"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-forbidden-imports.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5421e2e3ad47d3b3341e4a16b7b00481fb6960e7f6b032b6c5082cbb4836d8f8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/check-numbered-milestones.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec03d3950009f90614830f3adbc90668e07007516018eb1c775f456d7864fd4c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/cli/paperclip-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baccd511b976dc209a055329f51cda2dae0c9a703ed5f459426343ff6045aaea"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/skills-catalog/scripts/build-catalog-manifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a5fdc50d7288381d67248050ce8664294ec48ff26a59982ac9f790882813e9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/adapters/hermes/scripts/restore-dev-package.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e439ecc5d0f7bc13ae2a63d1f226e4daf72ba7aa38084efccc643fd9a0fe096b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/teams-catalog/scripts/build-catalog-manifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4e4b5f42333dee90e671e2aba003baa2ed1802717f21d13e7ee57e69cf3471"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/profile-tool-projection/register.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc01ab59580ad4e3bad9a3b49c367ed17370a2870b8f176ac65cef310a6fc15"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/probe-copilot-tool-policy.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24a00578b4c5b3ca19011b35fb3dfe74f2437e4b5df011ad2b54c08056b8a5b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/scripts/run-capability-eval-suite.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a275685a605d1f077d70b61f29dc052685f801f161bface3159922af8518510"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/google-sheets-mcp-server/src/stdio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"517219068b113d6e8f90f5fe84978e5a29e67b50b4def3dbca7fbabbcc75dab8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/mcp-server/src/stdio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3aa5dd16db567b1fa1bc7d13ee80d744694900691d9347f15a8913b2a787f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/paperclip-plugin-fake-sandbox/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"533bb51975a2b1a9f0a79c911883c563a320ae4b4e6055cac64a454a313e0641"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/boxd/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ec99e7a4b3e431f68a8543c305b60712e0e78edc64808c7ed1d3b09a3d7881"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/cloudflare/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"839ffdec247f7d9414a2a926e5dea129385f63fe667879e79697458bb86fe3a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/createos/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b84604442d0dcd2be00daf4b1d485fb4ce5b3ad940409d6d91910216764dde"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/daytona/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a60a63b0e43809a6adf37e950bd4a5c4ec7458eb9bda93e4fa3e56320252f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/e2b/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5e364505d5ba08a01795b656c813e881ff295ae0938b0501a72d50abf1761f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/exe-dev/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a327ed2fd789fa87ec3a895456f43b6fb49cd6f4945a6a9e81d0e7d3b8b0b9ca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/kubernetes/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61585936cfd73a617d021459a3dccb26157a9a42e596a6b413ee33695a1012af"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/modal/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98bb58c2a6b226eaf7a768fc3ac9daca4226f2574bee3ad3a178368f56bbcd6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/plugins/sandbox-providers/novita/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859064b4ca0a549d8bc7aff9e987d39e6d1bbfc3e16a180cb100de1b75c46bc9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that 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/paperclip-runner/src/tracer/conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe2af842b069aa72d4d596bed9f65c4545e03f0fded6ace763887592884a74"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but cli/src/__tests__/worktree.test.ts and 24 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/__tests__/worktree.test.ts"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"98966f21e70166543e061fe0dee843d0dbea0b2b3b7c7fd8ba901c8ab944ae79"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~481 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a73090929ce129218303120133f1168f0f323cd3ce42b0d144ce8b5b4631be"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~436 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-chat-native-progress.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec874525ae2842b660ead37f63f37dd869c7e84be8146258f9a262d37070409"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~338 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/components/ArtifactsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd245ba87d1f2f73ed6bed1f5c392af66c85562f3ea863f47c693d0ca6ea83aa"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~273 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3de3ff817d7dbad51b0954fe4520915f03c1f03e6b44d5591a54cbfc9ccf532"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~221 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/src/services/plugin-runtime-sandbox.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c29f3897d8d8f3d701b5487e6700a97ae527b95e6e268e0ac063e15c2260a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~216 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 test roots considered), but 2 in-repo import(s) from 1 other file(s) do name it (server/scripts/query-cost/drive.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da1925281e0c5d087deb737109b6136f5c662e5343894fa91fbd70777408a95"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~195 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/src/services/public-mcp/canonical-host.fixture.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc066234fffa6efcd4747df61a2502250b7088d8a6e975d63ae5433659b765a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~183 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-connection-install-capabilities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f676247c92c2dd2fb18f1821a9d2952acdd8e52473773c2998797186febde6d2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~172 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-github-response-run-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ccee5906103f645a9cde855bd044e96b039a3da98b40d878e1aca6c537e7eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~150 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-app-permission-save.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf514add6c398eb29d53ab9b9b055669323ff50fad8ef631eb2633252f843b4b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~141 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/pages/Org.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a82b7032f72260411bb6d3efd431a96672e1b34ee3e364a8f3839326cc146f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~121 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-chat-questions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859beb0ed95db7e7845d6178ec55a9a5e8810d0785bb18bf3692f4535fca62ad"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~120 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-runner-checkpoint-backlog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184f6c2c9ae00183d640e67dd3a51b635122b0f531fd977986ece5b8357b9b60"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~112 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-github-webhook-ingress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb53a3bb16352b49efc5fa5b38e8a32a9d51934f5c31a726926f3b678f6d37ea"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~110 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-chat-reply-lineage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8cf174d77ecc98fabdebe7cb1314124545007608e983101ca474b7102d3eaa"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~102 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/components/StageSecretsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a93adbd20916bd7580c91bfce1087dad5796aacf1189b00a9b9cd18f9a8f18f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~99 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/db/scripts/create-auth-bootstrap-invite.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c1de6c3261de0020f4466957e04ddcbde201567ce79327e58601d167c994d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~98 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/paperclip-runner/src/live/cursor-usage-notice.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dfdf8f130562825fc144e6b411615f322df35f428b38299a21d08acdc3249a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~96 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/pages/MyIssues.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e12a76b5d929ade4d261bde2465366858f830e5e07c6050ffaf4124e4c20953"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/scripts/profile-tool-projection/benchmark.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"851549623bbe8984b432de9e20fe554f4e2e91e1b0fd2a7e3b44bb595342c0fb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~94 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-task-activity-index-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b861c617970c4b45ee7adfa407b029fbb4356942fdf5e4636e1947a08fe0ee6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~89 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/paperclip-runner/scripts/qualify-cursor-runtime-patch.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986c791736b958b2b365533591fcc0b416a07e1b4c58a87a3b313f05c33c8b0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~86 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/src/services/plugin-log-retention.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56aa4e9ef7e5882b142344a10bf411971a595ad8fbaf6a436ae237878b92e39"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~80 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/paperclip-runner/scripts/lib/codex-evidence.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdb3456ed378654ef1f5bf259460923876d94427b93949b1df5e43a20b1a8e2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~76 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/test-status-object-signed-sleep.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc9fac4d7e0aa4ebacd16b6db8eb9ad6584ccbb3b0842d8bd808ea180d2cab8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~74 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/scripts/profile-tool-projection/responsiveness.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ceef780a9ba0014afb998978cf64a37d2c6c230ddb5532abf469e11a61e72a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~70 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/pages/apps/ComposioAppManager.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1214cd6e94e54d07386c6140a44ca52966a20a51f115dbf28c53c7bbcaa503"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~60 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/paperclip-runner/scripts/qualify-cursor-runtime-patch.mjs) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/qualify-cursor-instructions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66c25fb4888366d38f5ca9b1afce48c0d9943489e277f97831a8485668a89eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/benchmark-task-activity-index-writes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714882b8d30ef98ef6958bb2846d3f0cf07de372a60df4ebbbecf731d1ba9a4b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/storybook/support/workspace-file-recovery/fixture.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4897eea39401e290fd90f32534f07ec4b78a6d03f6ceb2d3d8b042c0a0fe229"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/src/services/chat-channels/slack/form-idle-history-sql.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b4e207cbcfc36e5a5560d5fc00efe9f0e60a7bec863b0fd24149282f33a297"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~45 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/hooks/useStandardMarkdownMentionOptions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a255470cc7d06e028db2ce364224bad168aeb83b03ef4ee88091c52105c6416"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~44 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/storybook/support/design-proposals/ButtonUsage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc12e1c7a466643a47d96d4790a175606ce0924271036773f88615946b2467ea"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/src/maintenance/ephemeral-migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55cb4e43e14e35e575592275cf1584d3803d5e1e84cebf67789193c87f0683"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~41 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/pages/apps/app-detail/action-permission-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15273cbb851459a6db4c4f863ef5381d382b19c6e61c7e225b8836914fb413b7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/components/ai-connections/AiConnectionIdentity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf0a9ad510eaeeac481f98f92b6da36e8c92e018eb7fd27e9badb46f3a51ece"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~36 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/components/coordinator/CoordinatorAttentionTasks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a37558f3e41b6c0e6e89a8896a4df7cbd557cf7f3b9d16be71f464aac3af6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/screenshot-pap2373.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a849f1369167fba242a16c34e48920721cf957754c2c7cfd969dba90b16392a0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/screenshot-subissues.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e885f18767aa652f5b25ac66312ab0ddecb4f3fa4b87aa284444bdc1644b33"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~30 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"integrations/assistant-plugins/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"debff99e4d936758b3f2213d4d8ddb1dbb11cf5c87e2f76d059f795f7f041f2f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~28 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/lib/built-in-agent-toast.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd841f8ba8a3a54f88766dee782b65f5206f41a5e2edbcbeed7026a56a4a38"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~26 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"server/src/services/paperclip-id-gmail-connector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ddf5eb0e64e573b259a5126b94599a3f484a4cd0c078465910789cd15c3570"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/paperclip-runner/devtools/browser/src/components/ui/tooltip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a608d0fb038367962a21ffb2a86a32fa21e645c7dfb336032afc2f95874f39"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/paperclip-runner/src/tools/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f161189b2d690cadeea4f750e62c8440302d06ce1f1da6a7e980d0e1c5829a0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/paperclip-plugin-fake-sandbox/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbdee7856167591cac456e273b5921d20c566826ff123909739afee2e64afe7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/boxd/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba97c61545fbf971728b857e1244e0cb62c15012fee097e5dbe6754cc6d69a6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/cloudflare/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc43fb55602b892637af8dc2d042999cfd64ab117670339c23b2ac869cbaddd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/createos/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4175be121a728dbb183ca788bf2d14d1f953de76e47fa0bb09922588b214e66"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/e2b/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc72c6bfe00d7f6b085383395d5ffe8ae4c7d1a3faafc29ebf7cc320141340ae"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/exe-dev/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4a6740996b9ad34ea7697857e44cb61d863b921c475af9994e40fa55d7c39f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/kubernetes/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ee5dabf430cef8d148699df766c0bfe1106d271f1ca68e925024a6e1af1d8a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/modal/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb0d79f35288c55aee8647418c4833632ed41445904efc78c69761b158c21ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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/plugins/sandbox-providers/novita/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c018b792f8be6bf77cd1511ac8b5c8aa65122e289547c90ad48d3b3cf450bbb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (2475 application, 401 tooling, 7026 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":"ui/src/components/environment-variables-editor/ConvertToSecretPopover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc5b0bacb1bbc3bc265faf1df47ceeaf3714c91c80bb2a7c79e25f72c28ee49"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027IssueMergeAction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"df36bb4d060f4154bee80fb717ac6c2a36abe5eb555edffdf9ed85aff5f01374"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CommentMergeAction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16ab59a78ba4c5c0ee47faea40a4e11a2c9e64f8af49e2a3fab23e1b0f8eab4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveQuickstartServerConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config/server-bind.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6e0373f79c1b0b9532e9fe7507a6d22501193ffbe10fccdfdeb46c26e8f9ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveCursorDesiredSkillNames\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/skills.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dacb3c48a98576592cdbf623431c20bb74e745eb28dd7bcae9da0c8003538bd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveGeminiDesiredSkillNames\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/skills.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce73365674232ad13026db770d95b6a0423f62ea27ebf61f231b064ba126117"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SESSION_ID_REGEX\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/shared/constants.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c551113cf6be3677dfb6924efffaaca849ea4b4471032119b344e23a77835429"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TOKEN_USAGE_REGEX\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/shared/constants.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ee14bc532818fb60212abc511116430e776f1993031553ff2bc7bbb56f3780"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027COST_REGEX\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/shared/constants.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8160dae685cbfdcb1d2f867c7025d125362469b6fe9d6648301fbf9831c22cb9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027THINKING_PREFIX\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/shared/constants.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cfd4a08b229fe38156273f4b69e49b60e0a162f00e662e5d259b94d4649bbf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolvePiDesiredSkillNames\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/pi-local/src/server/skills.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"036bc35ec8b4030c495a05055e6332f19f942d4fbddf0bf14cba5fbd4a294495"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DemoToolName\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/kv-demo-mcp-server/src/tasks/tools.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43e213e44c35741909cf2abb63234918ee7ebc31256e4ceaee15ae91bdca9e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LiveEventList\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/protocol.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4276a1db22fefe15c822964edf12609770122bb5a533f31bdd2dda2065647153"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GOAL_OPERATIONS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/protocol.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e27b9cf4adeb540dab6c7d43dfdc7ba7797b0f3b897a8f4a6386c336c64c9d8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CAPABILITY_EVIDENCE_SECTION_IDS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/EvidencePanel.tsx"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f97be367d7824568b62c2563dd66e1bf4059af94436204fe0d686dc2a90e0cb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027packageRelative\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/lib/capability-inventory.mjs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80ac70e20cce458e82373a395202f5cda5682bfd68fc634923711ffddb897b8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createCodexAcpxNativeSessionBackend\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/backends/codex-acpx-native-backend.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"020b52c2d533d87f220ca4e98f31debecba159e56a381455039b168cf729ddf2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVAL_SESSION_ARTIFACT_SCHEMA\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff66e6ac1c9f6621f96bd2920c9f39421a8401e493007886937c54930ec1117d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027writeCapabilityEvalParityReports\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff850fb20a40a4db36f346ca46f54e7287889766abc1f741d952c38eea0f30b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027runCapabilityLiveCodexMatrix\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/conformance/capability-eval-suite.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"653c7b72e58182f01263eaecab0f87abd4eb727e1f501a7a921190ade3819fd3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CodexAcpxRuntimeDependencies\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc297fd842102dbf4eb88e541d6d0a968719251f072dab47f37817101caf685"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027COPILOT_PERMISSION_CONTEXT_CONTRACT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-permission-context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db8240f11b2aa842cc9289c849e0b902ff095caa6a090457e1b5495be3b2dc2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027COPILOT_SYSTEM_INSTRUCTION_DELIVERY\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-profile.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"310d9ebe2f3d6302cdf9ca07ad0c23d3fc390c8de6880f75f818e7245cc772a6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027COPILOT_CREDENTIAL_ENVIRONMENT_NAME\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/copilot-profile.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0b6d7edb4b66c5bbf230b76868ee26c4cd4ccd86baa32d3d9232cb855a3cf9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CURSOR_EXTENSION_REQUEST_METHODS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec37f1deccfe30493846888dc9abc03f968ca8ba3912b651ea21baed9fd7338"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CURSOR_CREDENTIAL_ENVIRONMENT_NAMES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/cursor-launch-policy.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5776252506e25d056a312c3b8edd1c3a930fb071364caf1d6abfa22d4a33bf0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GROK_AUTH_REFRESH_FILE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/grok-credentials.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10c76ea60cab70df21502f38b185b2603c756fd9a40373bea06375baccc4ed9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RUNNER_CHAOS_SCENARIOS\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/paperclip-runner/src/eval/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 packages/paperclip-runner/src/eval/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-matrix.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce5c2003b79dac275a508a1f7778b21a759702478647ab549ee2181acb2a9c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027paperclipProtocolAction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol-actions/index.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201cb42e3a154d8d17bf4228a4a6023d8039470ec4f292ba2ba59e927509cc6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WorkspaceDiffView\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/contracts.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16e1bf87fa0244090f6af66c75693d141da38b8e0541429399ae34dddde0cdb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WorkspaceDiffStats\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/plugin-workspace-diff/src/contracts.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11e53eff7c3348fa2df54523bd05d0503cf4f2a723b7e17fc4d51fd823c1218"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SOURCE_ENV\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/lib/backup-qualification.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e48f1e41caa788f809f7e378e72f77a9e7f9741c9f4ef612f5ca4e388b277f1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RESTORE_ENV\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/lib/backup-qualification.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cc29df6e6163d80f848fd91463595f10a8b8ba9188a2efb41901d7866ae811"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ActiveRunWatchdog\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/index.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc4e48eebd3570bfbec17ef0343e6524670ab18c48c68e4485bdeb2e8ab59be"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WakeQueue\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/index.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"780401b37da7a2ffc33cea274c313f73d1edcf66ab2e44a06f62de920f8944f9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027QueuedCommentQueue\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/index.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"db949c6d6cfc8a20e25bc38a4fb830fc5d62d56283e3bc0ed8373906869c4bee"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027awsSecretsManagerProvider\u0027: Nothing imports THIS copy of \u0027awsSecretsManagerProvider\u0027 \u2014 but server/src/secrets/aws-secrets-manager-provider.ts:1380 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep server/src/secrets/aws-secrets-manager-provider.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/external-stub-providers.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1208e5e3a4c25a1ad84c02c1f95df9866b00a77dbd5d49b1153966c1faf5d706"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027retainCaseRunSource\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-access.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b563fad4048dde2a5f9e0289f681645d099c4b9e71bb5e462954e8190fd9636"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027assertSameSlackFormFinalization\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/ack-receipt.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3cb7c46e24dd1a483d801c56244abc22d5487a17d06f077153fdb3cb79016b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027completedSlackFormHistoryActionIds\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-idle-history.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8003e48e28a88e7a6042bc77d25ff25e0f823bd9da3ba71c40bc622d7e2c4d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027slackFormSessionsRequireDelivery\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5855443d4e16852acc6763a5e5a9c58161ded205ec1a43103c08d87c7892c482"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readSlackFormRetainedOwner\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-session.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bff72a3a36adca10ffd41ee16155a1cd4daa8256f2d0ada2a45174a21a28c0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027generateOrgChartMermaid\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-export-readme.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97176ff46e6d84e4e67f1b61d0691ed48f7842dc20acf163f6aa1ef740cafba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readConnectionGrantCredentialState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-credentials.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c99631a7774a1020a06b463caff2de8fb721735472bef2d2d981f60cf9254c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CONTROLLER_LEASE_SELF_FENCE_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/controller-instance-lease.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff18f8423bca7115fb823adada6e6f132d9ecae5589b7950591cb864255e7f1c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DeviceLoginReaper\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/device-login-reaper.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"97916c9c0f5f40fecaffa0f3ed78f7f7c8c576573d5022d0e4bef4bc8ef0d87d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TASK_DIRECTORY_RECHECK_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f0a5acccfcb37481649d707a6d4ea39e15e8a165f3e55d77f17022658a67e2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027visibleIssueSql\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-visibility.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"28614c9e9df3ae8d957867589918d76c238b5c04f6bfc08f4f0351ea13653146"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027notifyActiveExecutionRecovery\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/live-run-recovery-notifications.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"064bfd604138c91105cc9c98640467fde9d2a265e70cc6c51822ead942ad706a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027McpSkillsService\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-skills.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"da697167180a95e0941c25b38b4d3aa7cccfc1d5a777c3f07bfc68912746df05"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MCP_TASK_ACTIVE_STATUSES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-tasks.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd4f757a01dabab1cff0a18ec597734a131ef00ad5fc563dce3cdb234940a7c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027nativeProviderCatalogForSlug\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-provider-catalogs.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"337ca932c8e983f75da015ea9dcb45ece52c0b385517b3f684a24b490b841f21"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027REMOTE_CODEX_SUPPORTED_RANGE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/codex-runtime-compatibility.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8091cbad07cb750e417134404a91c0fea1f2801108950369b761f650dd58978f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isCompletedTurnCleanupQuarantine\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/completed-turn-cleanup.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0e4a62fccb527e2c7ca69376f167a02ca45e461601f3a058ce613f8cf13ed4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NATIVE_HARNESS_BACKUP_EXPIRATION_INTERVAL_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71134d01b590e4aa6b65240f497aa6a00aaebc0b29f8e2c3a1b74c0da7d9438"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NATIVE_HARNESS_BACKUP_EXPIRATION_STARTUP_DELAY_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"800026b5e4d708748180b40d88b7605581ed9924a13fad08f036039ae048e88f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NATIVE_RESPONSE_PUBLICATION_MAX_ATTEMPTS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-response-publication-receipt.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"58eb7e2f7ec65eb5acfb4a16df5e1dafe07a3e698a9a937fac08ec9aac1590c9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CAPTURE_EVICTION_DELETE_TIMEOUT_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-capture-retention.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8732d2e1739ba32f51095f2651421b170911c9c7d1918d6e98027b028debd37"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NESTED_CLONE_MIGRATIONS_PER_SWEEP\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ffb2ed354b216dc71e9ee7663f99826605456142fd9ae6ea67d2ee26456f3e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027migrateNestedRepositoryClones\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ba12ff649848f662c40738bc5f24b2af6341c08e8038cf736c99f79f358c89"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PluginDatabaseRuntimeResult\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-database.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ba98f835b0facfdccc3c675178852356b2a6f5d2bc1c40aa6dc1cf2ff708e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027STANDALONE_BUNDLED_PLUGIN_ROOT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-loader.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"25855b5e03325d29dd07f59ee9ec91c7329c8257648420f462e86a11c2ff95d4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027defaultLocalFolderBasePath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b76370943023371defd41214ea5f4059e7d626b2265e189e29ca5ea94d2eef9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractSecretRefsFromConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-secrets-handler.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d911601fef24ed9af3a4352bab268d05170da8c5b096a7dfc3b76d5fc1d8fe15"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractSecretRefPathsFromConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-secrets-handler.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"148900a360d22ac847878fcc4cb6500ad5e50e670a278f823e53baaf1f12e7a0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PluginStateStore\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-state-store.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d3fbbd20312e9b3abcdf9af07acb7e97683ca4605188578d49c668af6abc85"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createPluginStreamBus\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-stream-bus.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9c3baccc1e2689afcdf328fb9865786b221b0475a2871e6360d6a97762db52"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027McpMirroredClient\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/client-mirror-contract.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b36800bed7e39af681592d85a0938533496bbaa7fd00b3a4079562a930d94f4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027McpClientMirrorResponse\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/client-mirror-contract.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d50604e5dc577567c58052cb5fed1bf4fe7e6dfbd7e293c84b9655a7ca6a6b9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027mcpClientMirrorPageHash\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/client-mirror-contract.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d007d930fe78196d52ceca2c5e378f34c2693dfda2d89e57c1c1979df01a4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027McpDeviceStatusReference\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/device-status-contract.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"294836128599c73e15a8a3109353aeb79fcd46f47acfab03c6f4252c9047442e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SKILL_SOURCE_REFRESH_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-sync.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"db28753f2ca55a3d36fcb8435466b0b14367a81bc2b89f3755633f8146b23b88"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveSkillVersionSnapshotDir\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-version-retention.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b633a15a967ec7d4be262205e1e6ed00e43fc95de7952bed8d8b39711417453"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027oauthGalleryEntryForConnection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-settings.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6f563d17dafc750610f88bfe15b9216a03200c308c1bd1c7f8a4fabae73380"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ToolRuntimeSupervisor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-runtime-supervisor.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d467698fb360e0cac2eccdaa6d9c4164490db8fdad0d70f3ad88521d157cf8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SpekoDeliveryDiagnostics\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/speko-delivery-diagnostics.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b60ebc6fcb7736e7b21fa131a1373a2f10ebeae9ea22096c8fcec21c73e5c4b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SpekoBrowserSession\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/voice/speko-provider.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfe55fb33579f997a9a8e54309687ee40520e440bf7a78fcdf96d900f1cb05f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WorkIntentTerminalOutcome\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/work-intent-outbox.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8d01d04c2a19296b17860c1cb4e20ed2b6e3f0a59bc27deb6c8939b1fd7c59"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getHiddenAdapterTypes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/disabled-store.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83dc59a7adc2a811fd6267806a213c9e4db112a872623062c9ca8d39d3efca5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027listKnownAdapterTypes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/metadata.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20303b091d9b26a66a5e2a12bae8782bbaec91261bc1c3a48ce87545e0f7710"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isClientError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/errors.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ab85ff75ff0b9d032b77b1299200cd005d0d7d3037ff75bb7fb26b5fcf049"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BRAND_TOKENS_SPECIMEN\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/fixtures.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa5edcef8cfab61296fba35ca26028797dd8d63fff1f17412b8a929a20bdf06"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027findArtifact\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/fixtures.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4476393393eaa5d9cdc9059f72144bfa02f6dbe11c1a06289ccf2fcd6700cf3"}},{"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":"ui/src/components/AgentCapsule.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf683a211c51ad488f492ac82725044b6d5c2b4c225073954545d75cfa0bba1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027KANBAN_COLUMN_INITIAL_VISIBLE_LIMIT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/KanbanBoard.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74954cf6204335dcc8f480b3cb15a69d42179d8897dd613f539f647e888242af"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027KANBAN_COLUMN_REVEAL_INCREMENT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/KanbanBoard.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"388531bdf75462a7c50ac37f42895dbc8741be3ea611b365bedbc882f4afc1f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isUpdateConflictError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineHistoryTab.tsx"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"581b8d8a7374614d4612d5dafb13a445f15e41b11552d21f966e472e6150c9e3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RoutineReadOnlyStrip\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineSaveBar.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"327743481590cf42023d07892f67609a492cf4669eac9de8055fd16c27bf429c"}},{"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":"ui/src/components/RunWorkspaceRecoverySurface.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b097c1b320d81e7dadaa20f2d44dc328d299ccce1717aef0bd02ad294fb918b"}},{"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":"ui/src/components/SourceResolvedFoldBadge.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bf75afed9d16a57d346db44c3d2ac7bf78e751b642c7b0c3f983925c694b2"}},{"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":"ui/src/components/SourceResolvedFoldCallout.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c16a44aaecb27e8f8df01cea8fdb21357dd68dcc57c57c6f8a51ea3657aa872"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StatusGlyphStatus\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/StatusGlyph.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd4e43be08a9bd23f05703dafe7c1b93de9999ecb93787bf1602426adc062d"}},{"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":"ui/src/components/SystemNotice.tsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b2034e4c1f71bb3b4e390e0f6d55fe0d0b92094c2506fb991e9989fa608047"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TaskPauseNotice\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskTreeControls.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f058e59f416ce15a0fe9d2fd977513cfcd22463f1cf243d831988070184ffc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027hasRunningRuntimeServices\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceRuntimeControls.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd89cdde4ce42116d2e6c2bf2ca176254af7d2a1379b3c0a4a3a28612183506"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AutoExpandTextarea\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c23710de39e67472d3fd37cfad020e8120bfeb4bd974551b14c1ecd952f31a7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ChoosePathButton\u0027: Nothing imports THIS copy of \u0027ChoosePathButton\u0027 \u2014 but ui/src/components/PathInstructionsModal.tsx:126 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep ui/src/components/PathInstructionsModal.tsx\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a9386949369609b331d33e8d4b8bf7fccf7bc3bb4d6ee909ef61b22a36dd5b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InlineField\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-config-primitives.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7028dda358522780a53a5d480c9bb76d563bb18ae2ebb7131091d526490b0fb0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AgentTextLink\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/agent-detail/AgentPanels.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"305982aa8eb77111bc3410c188e29ffdbd9b62c366841fa3cdfc2b79c710eb8c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FolderTiles\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9a4dff364da25b2207a34f921e00a4b95566a2d94297af1639061864b0a211"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ReservedRootKey\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/skill-folder-tree.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f43d98085494a6779b4e14085ea6bcd459675a8815f813e86866806fe6e72b5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isReservedRootSystemKey\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/skill-folder-tree.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db375c22b741e60b02ced56e4a6e5b22ad7f90b6812090f83e7c3e310fa1c88"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027emptySkillFolderTree\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/skill-folder-tree.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fcd697650951c8d2ca745f771f804ff5cfc42cb3f02d983e0dafdb330d9b18"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027defaultProjectWorkspaceIdForProject\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/helpers.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f856d330ddd56fe32ab55dfa6914741f27d93bf90aa6b9ae939851526a0f36"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027defaultExecutionWorkspaceModeForProject\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/helpers.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca1625fc31670265634c1dd66bb530e8b97d72eac2de2131491874078e6fd73"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AGENT_ARC_STEP_LABELS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/Stepper.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd9d7b66289acf0e345360839c3182be6b6b4fd0d5e5eb9b2be7fb0a60230e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027capsuleMotion\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cb2650821756aa77ded6cec52f6e2ccc5df6a844f3ff7dff998daa85f6b2df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027capsuleHandoffExit\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caabfb5d968bfa9721dbdca4466bef405c4b3695fd18e1463199f4c4f8e4fbd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CANVAS_EASE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a08bd87db3b8241ecf0a182adbff4c9f203ff4f6b38bec86bdf0ad262a06f2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CANVAS_ENTER_TRAVEL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c646ea0af26670b17b3bf7bd448e1a5bf3c43bfa3164bd38e01dc1d4a20dbbce"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CANVAS_CONTENT_ENTER\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535e54de02f33aa3f2423650b51a133c928608395f1f0b725cf027e31caa811"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CANVAS_CONTENT_EXIT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcfe87410390e4ae3ca58191d110b310c43e520ac6a9fd88186517d4f0dcd36"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CANVAS_CONTENT_TRAVEL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f4a6536c9a1480f26c05e114732d8e69062239ed7907bd5c71d5a595869ee"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SOURCE_COLLAPSE_FADE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f8d3a0c02648179049c6d215657f3a1901e9f33c7a909835fd57383d66b5e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CTA_LABEL_OUT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fc5f5386f334f2d3163914065787376126a115261c30a284054ae52152e2bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FOOTER_SETTLE_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/onboarding/onboarding-motion.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f16b298c95bb81c4a1c15b45fe2f2821ee282564a8f1657c2e020a0c39772c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027machineSignInApiClient\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb8715a7cc65dc2d19ba8fff42d572ba84be9e01529664cef19dd4bb6bab54f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SupportedLocale\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/i18n/locales.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e22b537f6deb1fd4d4e1657421e6c68c82705a166524fcc4225eb82a9c878a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SUSPICION_COOLDOWN_MS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/connectivity.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00abf4932378d6c655b1304a2312584a8d486be74c39a816d62891e8b2584e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027prefersReducedMotion\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/external-objects.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a65631df8164d74a75e72a1d0f47921c3b2fc7d40577c9c29affba24dc5f847"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isVideoContentType\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-output.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aed95f872ccf5ba6746f2123ed05fe1a0e5aee7181d8e5058b4621711c6dcb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useStartupJitterMs\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/polling.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f57728a2ee39ef6c92eedafcf7aa6b85ba6cc003c2adddbed443684eca846a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getProjectOrderStorageKey\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-order.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf561a03728e366ff87cb7ac17422e01c328d5ff1fe180711bbcd1b59479d6d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readProjectOrder\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-order.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e381821b84aeead5dec2994b2a268d5107c62ba5c2bc9b2e393d13aa54ae38"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027writeProjectOrder\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-order.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"beea7c35eee681a9af56e02aba3a1a574343665476d5f2977f9c17cac977216c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027clearRecentSearches\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-searches.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9e3851e6b5bcfdf6a6e452fa66bf90a7a2f9fc55017e54f6627e171e3e208d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RECENT_SEARCHES_LIMIT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-searches.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"263fbb91888b088a8ea74236f8c97ca000e8282c0e0b458aa518187e2c354b26"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AgentPickerItem\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/skill-studio.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"08539147c63ed0f4e14c6e2a736a047b4ee8b66560dff6d48954831df78ac6a7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatTokens\u0027: Nothing imports THIS copy of \u0027formatTokens\u0027 \u2014 but ui/src/lib/utils.ts:101 in the same directory exports that same name, and it is the copy every import site resolves to. Grepping the name therefore finds live callers that do not reach this binding: it is the dead half of a duplicated pair, left behind when the API moved. Delete it here and keep ui/src/lib/utils.ts\u0027s, or, if this one is meant to be the survivor, repoint the importers before removing the other."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-card-state.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e339d2a46ac9d30b910449b90ae9c9a2d58935047ffc8150dd1f5a1003a2c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatUsdFromCents\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-card-state.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8908d1dd17d3ee5f3b401adb6bb3d68f88cdb88ef8f5f0c66dc4b0bf1363b722"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027issueStatusTextDefault\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a12e42431047efd1daebbcd415a9678343ec37d22a0230c4add8e1f925ed165"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027agentStatusColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae641c16578a99c352ba93df272634dc927a086a9461ff286ec982ec64012d14"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027agentStatusColorDefault\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da1c6ff9cf8a32c6b99a2f48c6329d137162d2a7596c63d4c29267c578b476"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027agentStatusCapsule\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4366f91455e87916f954c81ed8d9b77dc955803affe142f2fb75f60c37e215cb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027issueStatusColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d039c2d73257acdc325d14016709ec7f46f9885dd8adb30c96fe595d712a102"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027issueStatusColorDefault\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02329a3eb5b1296b34e42ffc912f24fa15e9f405c5a3da10cd7c463889bc7f8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027externalObjectStatusToneSeverity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0218385393a316325e9091f20ab7f1bc5ed7459ffa4831f8a6bfe4590f1e08a0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027externalObjectStatusToneSeverityDefault\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/status-colors.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6300991bc3e4f6dd2aaed19fe4c710c4d0a91afe23b2aee21f4b200cae46d255"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027successfulRunHandoffFromActivity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/successful-run-handoff.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"766360716a2b4a6bf998913de657bb145864e9bccb09c74bd4b6046bce2dced4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SUMMARY_DRAFT_START\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/summary-draft-stream.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d64dcc74db34bf952712b7342a4717feb55fad1423fcffd538abef0c7e9a5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SUMMARY_DRAFT_END\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/summary-draft-stream.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bccc2679335b0598d30e62515df01460e1a346efe89de10599dc68fe835feb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027parseSystemActivity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3663014a5cd98f165c71ad53b0ac733442d9442646e0cd5a395794dbc3adef"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027shouldHideNiceModeStderr\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/transcriptPresentation.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de6a405ad079b8f8e471fc8de12bbe185e712aba2386525c355f37979a36e9b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027connectionProviderName\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/app-detail/SetupPanel.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20892487eed8d82581966f1fe4185ac63c84948be41e5c330b00a4f42fe7917"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027slackBotNameForAgent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/slack-app-name.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9171ecd6f0b9d25ac539de47dd64e19e1aeba97fd9ada39ce4962f1c97b5c44"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027audienceSummary\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/connection-identity.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"af81f667c7674dd65285a787b55f00a53ea830fb1c13ba90fc1ac6786a14f5b9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027otherPersonalGrants\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/connection-identity.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8cc02beb6f46a1a8f009ac9bb6a41274ce5dded1a1f02e41adcb47c967a008"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatOwner\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803857ac6214bfd3a0b71ebf34e0401e06e51949ad5753f056ef6299a5ae9a2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatSnippetConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2bc90119a4b23b73e1ec2bd3e405d8487a85c7dc5597965a3d1e334890e625"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027gatewayTabLabel\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/gateway-tabs.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c847df2599e43509ad384c53f79a7d8586a3c9ad0a5d5c3e8a7386f7b3f206"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027chatHref\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/agent-chat/AgentChatSidebar.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff32ec592a85a0123df582c7e15f42b9e0460d77849eba2d4ad6ad050a5084e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027FeatureOverview\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/feature-map/FeatureOverview.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f826471ad2be663aca7b2d10c22b902ab793853285c548bf350ec53b5c301da7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027openConfiguredDb\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":"cli/src/commands/routines.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5428ce65dee25f273b17fdf8c91c3817a67695edf74a464f0c9a89599e5ebec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027requiredCursorMode\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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7992dcb827a5d8ea8220c2f417df0638f288e613b25ddeec58f6726c94f361"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#work\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a196b84b5a109c237705551da4c6bab3f5589bbeeda32fd7537f932f9ceffe7f"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#activeTurnId\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.test.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c050bbed203d6272142c4c4c1614f47cdc0505deaf17316d6ef01fbcc9dbfb5"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#turnStartResponseSettled\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a48aef0726f76dbb0d102bbb62dfd107748521ae7a952d388e70a94a8cc144"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027formatFileDependency\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/plugins/create-paperclip-plugin/src/index.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c2b669f14f29a85aaf3509439e7583b7166134d97388519ee75b43a991bc72"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027useTemplate\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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"c451db10e03c12da29e26b6f037315a4d159128f000152ec53a09598542f46ec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027OperationCard\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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4289}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4efca537b9f1f703e3cea1a42356a983b2bd477b29591df69d64a36b572737"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027LintTab\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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4554}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d3863080e90af864472fa10a0f2e0dbb358988cad24511465d012d8b8ee46c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027AgentOptionLabel\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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f018054ed854de572b59382c0f162dddf41ee4485d7b9c6389497cb3e7da9f65"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MaintainerAgentLink\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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":5394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020534c00ba5e084cfdc412738ca35d1a6786d3ae2925d0c42c8901608a0548"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027issueSourceRef\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9e5ebe516844d38b2e2bf27138fdc12edbc745dc7c7899bd52769a80be7f72"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027rawPathForPaperclipEvent\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6536f4603a006fe9b93bd8f3fed0b1107f5a540ec92fbe3214adacc062020e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027formatIssueEventSource\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a688b578d8ecb64b5882e68322453a4a8afb8bc4f8d82f6673359d776da6457"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027formatCommentEventSource\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3588}}}],"partialFingerprints":{"codehealthFindingId/v1":"a330c542f7c9693d9c7dfc1d454a5ef50e846cdec758f2e41571616c3baf752f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027formatDocumentEventSource\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"435be9b84604203daac16f337266f247d77643e42e7be565c09ad97d25c7a0f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027LOGIN_SESSION_HOME_ROOT\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/plugins/sandbox-providers/daytona/src/login-pty.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad24c055e3727c0b8fc8b6212cebb14a77435d27847212ed572eeea6cbce3ea"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027parseProbeInteger\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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c718e104a63289917ceae9f8cb8acb1b195e9de07e54b04cee84c3fc8f45a7b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027FakeSandbox\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/plugins/sandbox-providers/modal/src/plugin.test.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7a3af0cb0e520fd290ff2df36ebe18677f9e72b262bca23f85684c62fe692d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027baseConfigWithTokens\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/plugins/sandbox-providers/modal/src/plugin.test.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"feafc41f46b87fbc21e23dbcbefb83aed707c1e8dc47824b66c65c2962e208be"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027createDbStub\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":"server/src/__tests__/plugin-tool-dispatcher-pluginDbId.test.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"101953017cd6d214d429d94b9628e8cabbfeca0b8cf87df1162b8099d22988b9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027workspaceBranchIncoherenceFingerprintForTest\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":"server/src/__tests__/workspace-runtime.test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"401cfcde0ce8c2e6741372b2ff450d96eae840d156fd4ee130f9009d5c1551d5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027JwtHeader\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":"server/src/agent-auth-jwt.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe9c62ae7883e5ec91e8457b8013021e2cbc860ab711545850b524bf51f264e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027grantsFromDefaults\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":"server/src/routes/access.ts"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"015256420b46ae5bb11ece6989e8dab050e9ea232155094da78d4aaef8752a36"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027groupByIssueId\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":"server/src/routes/issues.ts"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b0a108fb0feb244bc16d484d8bc955b155df1f55a6eba760307d0e49090456"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027OTHER_ENVIRONMENT_ID\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":"server/src/routes/setup-token-route.test.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4f098e9ecd7f0e6b46cd3b1b4bcb5475a4a7baecea2ea178e08a9c49b48af"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SANITIZED_LOGIN_URL\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/setup-token-route.test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81f41e7a12a54ed0b84fc9652f6e825d51d86817d3fadc1a6bd6533d186b2c5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027detailString\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":"server/src/routes/tool-gateway.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dd15b047f5c5870118de993f137aee78283a354303f8e4afcd82e39296d85d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027responsibleUserSnapshotTtlMs\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":"server/src/services/authorization.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca48365db36048a7154db7cfc40a0c6f13debc73f2e09b1cac445e2a56c1c3f1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027resolveWindow\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":"server/src/services/budgets.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc62efcad64acb4b1a901fca9c7b984291d7bda86ce7d3ac369610c7217a4f6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027normalizeAdapterType\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":"server/src/services/built-in-agents.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"42daabb5b98b777240c39cc56c7b99a40a0b5f92b3f7cbc5967133385a9fcfdf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027selectPreferredAdapterType\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":"server/src/services/built-in-agents.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca9c596e72484dff0c0506b555d63e835c596459ba93f199fa176cac521c46d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ResourceRow\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":"server/src/services/chat-channels.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8bc3493aa2cbcf04661a113adccbfc3037ff6b8f17953bebbfb53d0f5b67cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ConversationRow\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":"server/src/services/chat-channels.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"723179bc6113a26043b001e6927b70b8ad3c3ea8db6ee79d6b3af1993880a395"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ResourceRow\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":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7cbc6069d5bfa32a8ae4cd8082c653f5d5c008a2f45148c29471d9ed4e92a3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027PaperclipExtensionDoc\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":"server/src/services/company-portability.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8af5fbfa7985d70699b5d5b07be3dec26ae302812d420bc10189ad72a9932b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027IssueLike\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":"server/src/services/company-portability.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3d89f4d5ee3902d8c7b2a10924a0a167f9dbfa3190c6d20ca02d514bf9106f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027AgentLike\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":"server/src/services/company-portability.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf2bf095ef8080540455a39a4a44b1d71036b7702dd4603db53c7ee48222da7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hasOwn\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":"server/src/services/company-portability.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"19550d7a33b42ce57a21b52c3cc842923441c661adbb40061aec10f0ea093c4b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027buildRoutineManifestFromLiveRoutine\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":"server/src/services/company-portability.ts"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9fa6c78967886521fb13e6374644383f75826fe5a248d209bf0e085606c8b3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027PendingFeedbackExportRow\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":"server/src/services/feedback.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e56e954476d11f6a032ed6f61537ca91953255689ef095a000a3f817b0aaed"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027holdRunId\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":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cb0728bd5bf928a8e98b0d96a6bc68de670ad34e41606023114e21f2aa5352"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027UNSUCCESSFUL_HEARTBEAT_RUN_TERMINAL_STATUSES\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":"server/src/services/heartbeat.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba27304bd4cfb29694d47007bbaafe4d0c9836c4c7d462c4304e3a719dd7a770"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isGitCheckout\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":"server/src/services/heartbeat/workspaces.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fa9affc9b480867443567d9398a6c4818e12e989005813555a988bfa5cb388"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027appendBlockerAttentionEdges\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":"server/src/services/issues.ts"},"region":{"startLine":3718}}}],"partialFingerprints":{"codehealthFindingId/v1":"d592dcfb29e73bb9064a03f05372864c79dadfa826b4e94e116786da4c4c6018"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027recoveryCauseTitle\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":"server/src/services/recovery/service.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd11947994637ff090a065439e10129e68c3ecee13a1a07e2a6c3271804f906"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027issueIdFromWakePayload\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":"server/src/services/recovery/service.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c937ad411d104095db8a9245fbd6c1565e4838d50875dffcf9ce01f687fe7d8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027agentUiLink\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":"server/src/services/recovery/service.ts"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4dd30e08573a22a8dd97f1f39765b67036aeb5f60f74603ed9f8d8503d7dcb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DEFAULT_EVIDENCE\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":"server/src/services/run-liveness.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92aa8ce5480ad6a809ffce3b25e35c24042539bbd5c160b3d03ad4d15e9119"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027gotoApps\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":"tests/e2e/apps-prosumer-mcp-flow.spec.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"234a478e4088599b44680e56f2b9d03ce054cb3388996fc61fc7c6611d194e87"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Json\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":"tests/restart-chaos/hosted-main.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"451b815713a1b0c1cbf2a0d57d75a966b4fc10e70e0405fda23455d08c4b7b8e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hash\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":"tests/runner-e2e/chat-catalog-domains/runtime-email-outbound.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e2a9dfab27ed4444b08a506a50887206444e23c8dc42bacea3eda18559736"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027wait\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":"tests/runner-e2e/launch.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd65b6c515a2853aa2fb6e5760c8fec3a49c2861c1abe57d49d49e7e396851c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027hash\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":"tests/runner-e2e/source-sdk-audit-capture.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9526a67942bd0b863c6ced386a96bc4fe2222394eeae0f75d265351973ee1f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027LoginCardRow\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":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b866c6dffd20fce032cffd1c19af8c9efee9f8f778c322f0e6aa2f4cdc685db1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027flushReact\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":"ui/src/components/BuiltInBundlePanel.test.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d3c68517f179f65a1df72957a4e31f706f9ebbb2b219ee3a332e72d9d62c5c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027waitForMicrotaskAssertion\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":"ui/src/components/IssuesList.test.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1b6ddd1e5684d6859300864d62d94135eb8b89f38e91c306ceaca4346d9d75"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027agentIcon\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":"ui/src/components/interrupt-handoff/InterruptHandoffViews.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fdbf674267e82a4bf5e65e7c763d0f88e773bcfe66036c7d943f7dd1029717"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027initialsForName\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":"ui/src/components/task-chat/TaskChatBubble.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fa94cb5a351e5dc42fcac7b78bd2b94f2af70cbc4e2719883bc8e1222e5728"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027initialsForName\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":"ui/src/components/task-chat/TaskChatDescriptionBubble.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f43620010524304c8f90d30373f24c7770212ec29a45393d692765d6869570b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Radio\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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":4445}}}],"partialFingerprints":{"codehealthFindingId/v1":"288ec0b9cdc052e8bd1fe4c2fdc1c2d58dd80e916e26927ce7333461f59212f1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027readIssueDetailSource\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":"ui/src/lib/issueDetailBreadcrumb.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0ff63f0b14dc4a64d5736d0c7a8601a492cdf233b6ef5bbe9c3012735bad7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SummaryRow\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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f54d6b04b6d938e6ca3ef4b22b5145a4b0cd72678b1f1c80e884734227e365"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027LEGACY_AGENT_DETAIL_TABS\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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"877f56a0d2e24eabbf62450dde0b7fa2a284a02e20104e310b4307e1a9e9942f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SummaryRow\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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"75309a161cde0de92b0e2692823c25a846e3c383382ddb531a994373c193cc3f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027LatestRunCard\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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efbaf0012f8ec21f1ae3f35ffb2d88c6c787acabb9e7382affde703644115cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027agentInitials\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":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f66378673af367e3477cce67aebe15c9a3938522c20b6c30d5e151a1bd4c08"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SourceFilterMenu\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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"201462522cc95ee2a6c2879d899f496841b1aa0bdcff42cdaac64ed5476b4246"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027CatalogFilterMenu\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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e6738a5cd9a2e9f2c696e024954da51846eb9de63eaef0b0a1f2b096076a1f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027CatalogList\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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a474619879a5c061a918ca2f2dff4783147be120a7515637f8c8402a19f0740"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SkillList\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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1c9704280b9d29a82702a78c1492bbe039aa171f7c570a75034e27d6d7c86"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SkillPane\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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3708}}}],"partialFingerprints":{"codehealthFindingId/v1":"24306a6b7b3239563e5c617436f8f7bc05395addd082c0327d0116e37ba876d7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SourceFilterMenu\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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd314f80cf12ac51907601895239dc9fb9aa8fa55775b87493e654a09c0f7ab1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027CatalogFilterMenu\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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"34144a8ae310a96269cd696637569d8401e4045547f797ea9685991ee6e7a64b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027CatalogList\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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3844da00f84d8a62f5291b36e0617578bb768705adc8e0ff1c817059e2ac0429"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SkillList\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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"165f6647814c3b8fa3441c11f1c11df02927e660c677b624ab6d6defe55ea508"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SkillPane\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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba29940423bcae8967fa2023e36c8ee570667e08c764095eccede6fb2df466c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027TASK_WATCHDOGS_TOGGLE_SELECTOR\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":"ui/src/pages/InstanceExperimentalSettings.test.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a35b0900a5a33664ed651be9118ab2a3a1a5aa9a55fe4399d0113875045822"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027dedupeLiveRunsById\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":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"42843610c1dae92ec04285c80f366838384d61e9a5748582d61a24bf6e3b2209"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027createIssue\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":"ui/src/pages/Routines.test.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"329ce1ba5619eea5d754cd43ee176a3793d5e39ca63fb5d1611699bdf3768414"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MetaChip\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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2933858085423daeeb4fc5aa1347382bbc710857911475fe98359d69a6f60bab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SecretProviderIndicator\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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"db21fcda509becc6a8d02ea4dc793739aea7bf25d465a6dd3eb0798971b36695"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027providerConfigStatusTone\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":"ui/src/pages/Secrets.tsx"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd12041fcc77f487e88083329ae3bfcdadc9356e7e1e44f15e42ccdf68c16e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027externalSourceCount\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":"ui/src/pages/TeamCatalog.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ab1e7c25f6549c51113c288f49b9457443f4c15cb388e1dbc25680beee4af1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027noop\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":"ui/storybook/stories/inbox-search/needs-you-views.stories.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15b64d539a3feadf6cb89e13035d47bf8f59b46cda4371d710b3af0f61a4a96"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@agentclientprotocol/codex-acp\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex-acp-network-policy.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd54be516ddc796f02595efa134a5837ee70625f56acafc5df481184755b933"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@daytonaio/sdk\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/runtime-daytona-destroy-worker.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"76adfecea5ac5f29036727f6657901a8dd536c12e8acb99c81c501b3310171a5"}},{"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":"tests/runner-e2e/cursor-cloud-mcp-sdk.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"09017f55880d241791b0cb488f8d432d0885ed0984cd0aaf566738298a6cf251"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@opentelemetry/otlp-transformer\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/braintrust.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e5fb94ba409798bd6fee1e22c70f1c7ba3f80304a91db688d2dc2801ab1ef3"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@opentelemetry/resources\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/braintrust.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff5e3d6ee112606e2c831af205d5688238e3c25fc550b2a8cb239ebd7b393af"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@vitejs/plugin-react\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/hire-delegate-composer.fixture.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ddedefbcea421598f2b123a92757c1ab4f84a098862f6b43e6055d56a0866"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027axe-core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/storybook-visual/speko-voice.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fe99bc71c0b4b2770507f708aa847e064ea440170daf10214b2217dead7f9e"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027drizzle-orm\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/count-needs-you-views.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e1b0b602afffb19dc4859663d351ee908b77dcfbc1339dea5de1910f3afbb0"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027embedded-postgres\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/controller-database.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ed3fff0a089b827eb99b88984625821ebb682a03fe16c9379b7e21551b82de"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027express\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/task-prerequisite-contracts.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f01a2d613026bc0990565c4ec3163bf2dd9390705b9b38bef6396355291ddb"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027playwright-core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/manual-private-report-assets.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdefb98ba2701f2caf025c6e4dcbef0b8bfddc4e50d1be8c658cf53da886caa"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027postgres\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/controller-database.test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec930be32730502655b27e92f15b9fb02daa59fabce04c5768f911d051e3cac"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027protobufjs\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/braintrust.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5615fa924ba0663fda091256a576203d5e7ebc30f3cd704cf1d192ff40e3b6c8"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027react\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-company-secret-confirmation-ui.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bc74396fdec26ea158c66ce9fe5a4012765ec4765297386c23fa6847f868fc"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027react-dom\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-company-secret-confirmation-ui.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d0fc6964ee636ca07a4506facd9b9fb8abb5944b39f6567024b55a8953edc6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027ws\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":"tests/runner-e2e/chat-catalog-domains/runtime-computers-privacy.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd15e1998c02da51f8f8c5205fefbd0e7c6e2d3d00e8221fe2f6fcb1d88367e"}},{"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":"tests/runner-e2e/source-sdk-public-type.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c900a679765a4bcc8e2935cb468a3b5a675937fb20f96be353df9fb6c30807c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@daytonaio/sdk\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-resume.live.test.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb1ed5bc3da35d0f5431bdc1ffaa437e262d2316c64f01ea97f89dd3e545560"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@anthropic-ai/sdk\u0027: Declared in packages/adapters/claude-local/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":"df515d5b9615de2d0ffef8d052d291011416feb95cc66856507607cdb803291b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@agentclientprotocol/sdk\u0027: Declared in packages/paperclip-runner/scripts/pi-distribution/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":"325a7b7c78068416e52b15d9b58fb36672c3646a4d847699ecd5af5e26939e2e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@agentclientprotocol/sdk\u0027: Declared in server/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":"ede65ecd91cc2bfb777396ede738932520e429d922d150f93155f3669be308e2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@discordjs/ws\u0027: Declared in server/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":"af81e0c8448d50c075bf50b67148460bcf4a0e6baaef2e0107dd87a26568f3a4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027pino-pretty\u0027: Declared in server/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":"06e04924e9c942ffa1336d8849053478b63c3cde6a943e65b22657f8ba7de37b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027smol-toml\u0027: Declared in server/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":"4d59c04201f236da158c7e0180862a623b513f75530db298cf4331f74a0f6a9e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@radix-ui/react-slot\u0027: Declared in ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"37b6459a2c9a44534a92bc7d3c5b7bf0f5dab0dd82d4714dab67899de435f143"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027yjs\u0027: Declared in ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"72c19c6b51c3559a60332d2ca5278dcb9991155deb1d9b86cc85caac09a736ed"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027json-schema-to-ts\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/protocol/replay-contract.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"228b817ba6e3877dbba76206c51bce9034a6271bc763706bb62538f8eab2484e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/db/src/schema/execution_workspaces.ts \u2192 packages/db/src/schema/issues.ts \u2192 packages/db/src/schema/execution_workspaces.ts (one verified cycle inside a mutually-dependent group of 8 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/schema/execution_workspaces.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3a6783df9694ab983339c86905376d0198a0ca5353bfef4ac8a73e185354f7"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/kv-demo-mcp-server/src/http.ts \u2192 packages/kv-demo-mcp-server/src/index.ts \u2192 packages/kv-demo-mcp-server/src/http.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/kv-demo-mcp-server/src/http.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebbdd7ecbaa06bb66037966e7e5263dfd37f367c63e655ada0dbe4b2e5be375"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/plugins/sandbox-providers/daytona/src/file-sync.ts \u2192 packages/plugins/sandbox-providers/daytona/src/plugin.ts \u2192 packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6ebcea48ae4b786e14cb3b77f913bb64d69a5d65f991877b5f5b62ddd698e8"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/shared/src/ai-connection-router.ts \u2192 packages/shared/src/ai-connections.ts \u2192 packages/shared/src/ai-connection-router.ts (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/ai-connection-router.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d4a42e0267c05d9960a873a1a6e38563af984ca6bd21e2df13755e875f82d9"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (6 files): server/src/adapters/index.ts \u2192 server/src/adapters/registry.ts \u2192 server/src/services/plugin-runner-ai-connection.ts \u2192 server/src/services/environment-config.ts \u2192 server/src/services/connectors/tailscale/connections.ts \u2192 server/src/services/secrets.ts \u2192 server/src/adapters/index.ts (one verified cycle inside a mutually-dependent group of 318 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a8591d91945f6ff94f47997c72d0c3b024684c6916f7ef280e98ccdde09eae"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): server/src/services/approval-work-notifications.ts \u2192 server/src/services/issue-review-state-notifications.ts \u2192 server/src/services/native-status-reassessment-notifications.ts \u2192 server/src/services/retention-work-notifications.ts \u2192 server/src/services/approval-work-notifications.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/approval-work-notifications.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32367020b5e58cb95f3b3e49a2705b3ddcd17aa22aa5041079b35f39f53f257"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): server/src/services/chat-channels/imessage-photon/publications.ts \u2192 server/src/services/chat-channels/publication-replacement.ts \u2192 server/src/services/chat-channels/imessage-photon/publications.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/imessage-photon/publications.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61317f26258c1d5472e1d64cc7e1941ab7e1912323aa0cde8403b0939bd6388f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): server/src/services/heartbeat/queue.ts \u2192 server/src/services/heartbeat/recovery.ts \u2192 server/src/services/heartbeat/run-lifecycle.ts \u2192 server/src/services/heartbeat/queue.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac8ecd8e167ac3fd3fa4c614de3b9cdcd25c055a21d109cf814e33ba059de12"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): server/src/services/legacy-workspace-recovery-migration.ts \u2192 server/src/services/native-runtime/native-workspace-sync.ts \u2192 server/src/services/legacy-workspace-recovery-migration.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-workspace-recovery-migration.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7913b9030d3494eb847b4f1f6bb372c4352af8e205707efd33d24dcd6599632b"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): server/src/services/native-runtime/native-controller-archive-source.ts \u2192 server/src/services/native-runtime/native-controller-migration.ts \u2192 server/src/services/native-runtime/native-controller-archive-source.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-archive-source.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1833becd78b20458547172060e9a6d20c29af278e24a3e7b180d175cc6867e7"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): server/src/services/recovery/ownership-registry.ts \u2192 server/src/services/recovery/wake-request-claimed-settlement.ts \u2192 server/src/services/recovery/ownership-registry.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/ownership-registry.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e1d2444fb426d0e59b8b84b4e327ccf264e07e4d691ae40920e0032edb7606"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (4 files): ui/src/components/AgentConfigForm.tsx \u2192 ui/src/components/ai-connections/AiConnectionField.tsx \u2192 ui/src/components/ai-connections/AiConnectionCredentialStep.tsx \u2192 ui/src/components/new-agent/AgentProviderConnection.tsx \u2192 ui/src/components/AgentConfigForm.tsx (one verified cycle inside a mutually-dependent group of 8 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"810c75158c1b111dac7d788eafd344922a662f3935ef9d8ab82f2d4b9c496cec"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ui/src/components/ai-connections/AiConnectionPoolConnector.tsx \u2192 ui/src/pages/apps/AppDetail.tsx \u2192 ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/AiConnectionPoolConnector.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a61e778a32bf7937aa9620e67a44d158b99f7dd9c0dce95b4473c8f50304181"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): ui/src/lib/issue-chat-bootstrap.ts \u2192 ui/src/lib/issueChatBootstrapCache.ts \u2192 ui/src/lib/issue-chat-history-queries.ts \u2192 ui/src/lib/issue-chat-bootstrap.ts (one verified cycle inside a mutually-dependent group of 5 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-chat-bootstrap.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ced0221b806a17fdf94f431d4924df8f648c0c9165adffba86cd6b5cf9dcd2e"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: The value is the MAC key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/auth/workspace-login-handoff.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"030915482b127b85fbb4016abc775cd5f7074320ffc8f9f48d87939cae810ea3"}},{"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/paperclip-runner/scripts/contracts/contract-fingerprints.mjs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f96237eb6ea613b1cdd38953c442271bf2f73c3824357df40fc4175810cb10"}},{"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/paperclip-runner/src/cli/codex-app-server-unix-proxy.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"851615779d8657885ba49861f5bd3065cb150f3b933506a24a9073a083c694b3"}},{"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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c522f71ecddc4f6b8e7e0b35ed8bff6e1bb27ceb4e9df4dfd7d0c95e834975f"}},{"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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"330a4bbbb54df5428dc0f04adfae4b357ede6a0ee790a87f0e53331dd0818b52"}},{"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":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c0b73a5c363624cd350f92d717397379273051c3f07e3f2213c941ee7bdbba"}},{"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":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"63329e77be30efb095ffd86da4f8b4de7d59a6b13cb90521726be877f0e4937a"}},{"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":"server/src/services/routines.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"258e127beec6432cdfa4ec54e8f00c0ed0679f49425cbe7bd1e4bce1b79002a8"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060runtime.password !== listener.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":"server/src/services/ephemeral-server-contract.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"de103f74bd1aca6c7ebcebf0c7eb8d6a1bd8a1e8f46a024f71e723e2e3b7f784"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060input.password !== SMOKE_LAB_DEMO_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":"server/src/services/smoke-lab.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ea11588ce57fa45fa5e8704a8c75c120e02ac0297eea781f35a1371e89ad64"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/openclaw-smoke/server.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d9df9ac11831dcc6769eda96dc630bd0da960a502bf4be77aff1c7aefaee3d"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b294e5ce558a9239314db14e1d12be66f234e9b38ecebca7dd39a085e647139"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"570f91924678d40ed379d7861d4e1c50195d4f1132c14c8a7856ae4078e278de"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/google-sheets-mcp-server/src/http.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcdc55285c958ad7b15a6ac663510c245fd0fc30745c22bf21f15405ffb824e"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sdk/src/dev-server.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b200e14e2eedec74d5b4d32b20a57f67fa6a5e8cefa8206535c8360dba97026"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: tests/speko-voice-proof/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/speko-voice-proof/package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ad5cbe6e598b9c8ad32f16e99f2eeb50faf155758dd5185a3a4131470b90b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!costSummary \u0026\u0026 (costSummary.runCount \u003E 0 || totalTokens \u003E 0)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c5a73dc7070b7c746cf84209a9932c8a82cecd69657e60e43cd5277e83c989"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!query.error \u0026\u0026 \u0022status\u0022 in query.error \u0026\u0026 [401, 403, 404].includes(Number(query.error.status))\u0060 appears character-identically in 3 files \u2014 ui/src/components/coordinator/CoordinatorChatDecisionReceipts.tsx, ui/src/components/coordinator/CoordinatorChatPendingQuestions.tsx, ui/src/components/coordinator/CoordinatorChatTaskHandoffs.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":"ui/src/components/coordinator/CoordinatorChatDecisionReceipts.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6af0e3521f0b0626ffad6648b65014492cb064d9b1ffef6dedaadde313c755"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!resolvedCompanyId \u0026\u0026 !!agent?.id \u0026\u0026 shouldLoadHeartbeats\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5aae31d0d7a699f25ef87e5efa5e4a5487a51091c6815b0cc3a9ed3bfaa665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!resolvedCompanyId \u0026\u0026 builtInAgentsEnabled\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a060c38c06d4731de3cf720f5a767f335bd696487b47b18aeb38724613d8fddc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 !!reviewConnectionId\u0060 appears character-identically in 2 files \u2014 ui/src/components/AppConnectionSidebar.production.tsx, ui/src/components/AppConnectionSidebar.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":"ui/src/components/AppConnectionSidebar.production.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5aff46a7dcc00b6c2bdbb9b7cc7bfd812ba2aae9f2940e8c43306cbacc62ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 !!routineId \u0026\u0026 !!routine\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f3d59d204b2b8c383d0d3c8f980581cf63a17d6a19eedde120d1df724a1d03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 builtInAgentsEnabled\u0060 appears character-identically in 4 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.tsx, ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bba27cfb9dbcf7f30a3669699f05db68d780596921648840c18404b45c00f13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 effectiveView === \u0022org\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca780d106a2e507500479aa4a9962b64b8537f98c6c97fdba0e18c3dfb217dae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 environmentsEnabled\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1562168703c6fa50cf232f172b2bed0985a73cfd2fd277aa19c48a4663ef10ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 isolatedWorkspacesEnabled\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"28974eecdc05b176f9dff6df2a120d163053d7bb91e83bb682b040b9a95ddd82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 normalizedIssueSearch.length \u003E 0 \u0026\u0026 !searchWithinLoadedIssues\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3815e06cad3fe36cf56575c5d1bb8f798b130b6897bb7f56b16ea8e5249417d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 normalizedSearchQuery.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f61a64706b78ae5b54a9b8fdfc1e5621232f406becf493c162a31adbc17846"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!selectedCompanyId \u0026\u0026 viewState.viewMode === \u0022board\u0022 \u0026\u0026 !searchWithinLoadedIssues\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc381b84efb6c36f1879722cecf8d335332f9ba3ca744bbc598af806a70f0ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!snapshotIssueId \u0026\u0026 !issuesById.has(snapshotIssueId)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faa7901cef6c36bc242a11bf2308004314ef336e84924e4d61f0b84975fa6de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!\u0022.,!?;:\u0022.includes(last) \u0026\u0026 last !== \u0022)\u0022 \u0026\u0026 last !== \u0022]\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/external-objects-server.ts, packages/shared/src/issue-references.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/external-objects-server.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"10adaa419182b9b4257e00a0b70a4070201ebc069e8fbef668ede8738380a9d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(error instanceof HttpError) || ![403, 404, 409].includes(error.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/email-channels.ts, server/src/services/task-retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-channels.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7d6bd2fa3c18cd77be7773cd0b365bd98573c8113b9246c4266790c520ae6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(error instanceof HttpError) || error.status !== 403\u0060 appears character-identically in 3 files \u2014 server/src/routes/issues.ts, server/src/services/chat-channels/github/terminal-response-work.ts, server/src/services/chat-channels/run-origin.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":6593}}}],"partialFingerprints":{"codehealthFindingId/v1":"b904940639aa67602b7a300a2ec52e283c7d4e419c7b12b1169ac4b3874e505e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(target instanceof HTMLElement) || isKeyboardShortcutTextInputTarget(target) || hasBlockingShortcutDialog(document) || e.metaKey || e.ctrlK\u2026\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9fb9f3e3dc6373db3ae345219cfe075de0df4a44086df1be8d709ca866ca92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!/^[!#$%\u0026\u0027*\u002B.^_\u0060|~0-9A-Za-z-]\u002B$/.test(header.name) || !header.value\u0060 appears character-identically in 2 files \u2014 server/src/realtime/runner-prp-outbound.ts, server/src/services/environment-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":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f65ac159aa2375a7ceac102dbf7e8b1bdd485b19f12d28a0ec431cc259e9da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(node.children) || node.children.length === 0\u0060 appears character-identically in 3 files \u2014 ui/src/lib/case-reference.ts, ui/src/lib/issue-reference.ts, ui/src/lib/remark-workspace-file-refs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/case-reference.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5016ab014594c78626813e02bf6f197502173c6ea1360c224ec65dcad3e0c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(value) \u0026\u0026 prototype !== Object.prototype \u0026\u0026 prototype !== null\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/conformance/semantic-conformance.ts, packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4a0160bcb95e9fcc2677e49ce8cfb5d509952d3173b3201436c2a8b2adb8c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(values) || values.length \u003C 1 || values.length \u003E 8 || (group \u003C details.length - 1 \u0026\u0026 values.length !== 8)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dcea8b9c8b7dfa5b024b138b838754b44d0de8bc11a88f1a430a5586d6230a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!COUNTERS.has(key) || !Number.isSafeInteger(number) || Number(number) \u003C 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"053c523481cd26e746d277064e9fa94f1001f8257407d2b3179c3325b1149b72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(input.now) || rows.length \u003E 1000\u0060 appears character-identically in 2 files \u2014 server/src/services/public-mcp/idle-subscription-proof.ts, server/src/services/public-mcp/idle-transfer-schedule.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/idle-subscription-proof.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6834a2c5e9261a73cca229c2612e2beacc6c1b491b657c768646d9f45849e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(maxSessionListCostUsd) || maxSessionListCostUsd \u003C= 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/live/live-session.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e735ce6855911df6046624483de7f39a9e3d1605c37b85bb359c9f21c822e98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(numeric) || (validation.inputType === \u0022integer\u0022 \u0026\u0026 !Number.isInteger(numeric))\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts, ui/src/components/task-chat/QuestionForm.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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e990543738b22b375e63cf75dd40ff09ac82bb05529c61346959ba8a1ccb26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(seconds) || seconds \u003C 0\u0060 appears character-identically in 2 files \u2014 packages/shared/src/telemetry/client.ts, ui/src/lib/issue-output.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/telemetry/client.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b7b418328b41b681048e8a4b360b50d7ca9462f4b938c367f50a56d64f76e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(timeoutMs) || timeoutMs \u003C= 0\u0060 appears character-identically in 3 files \u2014 packages/adapters/openclaw-gateway/src/server/execute.ts, packages/plugins/sandbox-providers/daytona/src/plugin.ts, server/src/services/plugin-environment-driver.ts. It is one line, so the duplication detector\u0027s token 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddfa24a8e234c857134736357fe550471ba35dea912b427b6a357f7f4d8e76a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(hour12) || hour12 \u003C 1 || hour12 \u003E 12\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/parse.ts, packages/adapters/codex-local/src/server/parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"78edfcf3f4562f0989d9fd70219f3ae99208d64527fdd1cd99fd70bd1c28409f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(limit) || limit \u003C 1 || limit \u003E 100\u0060 appears character-identically in 4 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/chat-channels/activity.ts, server/src/services/plugin-lifecycle-inbox.ts, server/src/services/run-evidence-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":"packages/plugins/sdk/src/testing.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"46092b2ed9290d90c8a64c2655f89d8bc7d92a3f068e031cba1ea646123d0b1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(minute) || minute \u003C 0 || minute \u003E 59\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/server/parse.ts, packages/adapters/codex-local/src/server/parse.ts, server/src/services/provider-quota-reset.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"688663e423001c51a0b94fa87794518267962b0697fbc0ce97d6f3440ed3e84d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(port) || port \u003C 0 || port \u003E 65535\u0060 appears character-identically in 2 files \u2014 packages/google-sheets-mcp-server/src/config.ts, packages/kv-demo-mcp-server/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/google-sheets-mcp-server/src/config.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6edbaa4c34db3b9cef1e54a72d8652821ccfc4e96351860e068bc4b5ef9707"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(fd) || (fd as number) \u003C 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts, packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7262b7ede36abf77a61799293d35113010472a41f0650f314f825d6de4f6001"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(generation) || generation \u003C 0\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/github/task-retry-authorization.ts, server/src/services/chat-channels/publications/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":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04eb8c84439cd73e3b2a09df30bab82b691f26af5fcb40adeaae7e097d6825"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(number) || number \u003C= 0\u0060 appears character-identically in 2 files \u2014 .github/scripts/notify-pr-merge-review.mjs, server/src/services/github-pull-request-merge.ts. It is one line, so the duplication detector\u0027s token 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/notify-pr-merge-review.mjs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"604a7f4421d8c81fc11d164f24420553fb982c718e4c559240cb737284d59229"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(port) || port \u003C 49_152 || port \u003E 65_535\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts, packages/paperclip-runner/src/drivers/acpx/recovery-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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"7308934f77b9d89340548bafe7117efd243bd97479f7dce2d965347b595ee8d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(uid) || uid \u003C= 0 || !Number.isSafeInteger(gid) || gid \u003C= 0\u0060 appears character-identically in 2 files \u2014 scripts/cursor-public-install-sandbox.mjs, scripts/grok-public-install-sandbox.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/cursor-public-install-sandbox.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6c60f33607d36a69d1b334fc0e5efcbaf73fdad9779ed42c6f293f5834805"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(value) || Number(value) \u003C= 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/eval-session-contract.ts, packages/paperclip-runner/src/contracts/native-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":"packages/paperclip-runner/src/cli/eval-session-contract.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"446148da4596103e4edc9dc145cb2f4336d2c3ef61cca597b5d12b7305ad7bb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(value) || value \u003C 0\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/workspace-seed-cache.ts, server/scripts/benchmark-workspace-admission.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bba1aed28e5de421ed701a7b58f2161a487a02d3a15494650668cf9b73426e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060![\u0022active\u0022, \u0022escalated\u0022].includes(action.status) || action.evidence.runId !== run.id || action.evidence.executionReconciliation || action.ev\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/workspace-recovery-capture-policy.ts, server/src/services/workspace-recovery-stop-proof.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-capture-policy.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c70b3b97dbbb01d08a641f8edca502c14cce7e71ee4fb41907bcce06bd1533f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060![\u0022http:\u0022, \u0022https:\u0022].includes(url.protocol) || url.username || url.password\u0060 appears character-identically in 2 files \u2014 ui/src/lib/issue-pull-requests.ts, ui/storybook/prototypes/provider-routing/ConnectionSetup.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":"ui/src/lib/issue-pull-requests.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de6f369b9cd25303e703cce4f5b518d57f463b96d7d5c7df2eb94dba1dba0fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!a.reportsToSlug || !bySlug.has(a.reportsToSlug)\u0060 appears character-identically in 2 files \u2014 scripts/generate-company-assets.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/generate-company-assets.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e775dd3a233b48c65f054bf0657c3530dc81dbaefceea31d298cefb3a36feb2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!action || [\u0022processed\u0022, \u0022cancelled\u0022].includes(action.status)\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/receipt-reactions.ts, server/src/services/chat-channels/slack/session-stop.ts, server/src/services/chat-github-checks.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/receipt-reactions.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f37a3143eed8e85a83f8b8b63058c188a33103fc8a4ee13c00305cdc96a69b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!actor.runId || !actor.agentId || actor.companyId !== companyId\u0060 appears character-identically in 2 files \u2014 server/src/services/project-skill-source-bindings.ts, server/src/services/skill-source-github-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/project-skill-source-bindings.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fdb58a8f7b469d144538af7e33f20d2e2a99ad9238e3c93b4bae6d28a27d52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!actorAgent || actorAgent.companyId !== companyId\u0060 appears character-identically in 5 files \u2014 server/src/routes/agents.ts, server/src/routes/companies.ts, server/src/routes/issues.ts, server/src/routes/teams-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"653f35056d5d15d08e0be7c59c6ac16ef6687167fc686b064a44058a0ef41fc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!adapter?.listSkills \u0026\u0026 !adapter?.syncSkills\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/onboarding-seed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aec3376d1a7a6cbffebd7a1cb43dddaa7bef105a8a4e625e0339abc0639d55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!adapterType \u0026\u0026 !displayProvider \u0026\u0026 !displayModel\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b9e1bb4c894c48ee7503d15a7480b5e571db15c9bcbd91d12c8df8c531a85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!after.reconciled || before.revision !== after.revision\u0060 appears character-identically in 3 files \u2014 server/src/services/heartbeat/idle-quota-schedule.ts, server/src/services/heartbeat/idle-retry-schedule.ts, server/src/services/task-watchdogs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/idle-quota-schedule.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"42be99e80c4d197b4b28e1f248249877c26546f5d6fe58502271fa640419b99c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agent || !hasCompanyAccess(req, agent.companyId)\u0060 appears character-identically in 4 files \u2014 server/src/routes/agent-interaction-permissions.ts, server/src/routes/agent-permission-grants.ts, server/src/routes/agent-project-access.ts, server/src/routes/plugins.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-interaction-permissions.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc41199d635ce72478feb37b809b19c1b7e560291813926606cdd8dd3926e3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agent || [\u0022paused\u0022, \u0022terminated\u0022, \u0022pending_approval\u0022].includes(agent.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-chat-review-presentation.ts, server/src/services/tool-action-delivery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-chat-review-presentation.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec85fa7b4147a3943add6bab7c03d795e4a6a3f3c62c0014f97a6375e6d3f1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agent || agent.companyId !== input.companyId\u0060 appears character-identically in 2 files \u2014 server/src/routes/dot-runner.ts, server/src/services/login-environment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/dot-runner.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2899daf88194eaa7ec4718fdf15ab1e1f423ce81f6229302cd9e1daa32b896bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agent.permissions || typeof agent.permissions !== \u0022object\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/agents.ts, server/src/routes/llms.ts, server/src/routes/teams-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf622df73d5e210f34b021ac21a1660ec740ca98ebef0d3441dcfd58fb3df90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agent?.companyId || agent.companyId === selectedCompanyId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f422461ab2c65adc0c3bdce07ea6b8ca29110bde091dd594df4f8c2b06b6268d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!agentVisibility || typeof agentVisibility !== \u0022object\u0022 || Array.isArray(agentVisibility)\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, ui/src/lib/issuePrivacy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5567}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27490592aae1d9e07d124eaa47dbeaaf283bcbf6daf73898e1144f9ae9c41ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!air || !Number.isInteger(air.version) || Number(air.version) \u003C 1\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts, packages/paperclip-runner/src/drivers/acpx/provider-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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa575e3018a63df8476432efa7ff48a1c9afd5ce3e7c717968fe36112a493676"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!allowedActions || allowedActions.includes(action)\u0060 appears character-identically in 2 files \u2014 server/src/routes/tool-gateway.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-gateway.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"892e9ec6c1cbadab7f784cc25fce6bc6387a0f78eb92e9fc13f99430f2ae0863"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!approval || approval.companyId !== companyId\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/plugin-host-services.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0756c921f0467c49f4425a0ca7b302a9fcea941c7a4e4cf1c2c6898bdfe6a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!attachment || attachment.companyId !== companyId\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/plugin-host-services.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf5c788c217b105af04d2a26cc08ce47c7b82a8abf69bc2be7828d0fa5a0c37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!authorization || !/^Bearer [^\\r\\n]\u002B$/.test(authorization)\u0060 appears character-identically in 3 files \u2014 server/src/services/connectors/unikraft/client.ts, server/src/services/connectors/vercel/index.ts, server/src/services/daytona.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/unikraft/client.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d6911ff0c4fd80cfbe76129e851900e61bce077bbfc6e57fd20c57ee34cbba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!authorizationPolicy || typeof authorizationPolicy !== \u0022object\u0022 || Array.isArray(authorizationPolicy)\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, ui/src/lib/issuePrivacy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5565}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9c37abac86a80d8d3e9ab1fab5b2342762abfcffa00782dc5515144e1cd93a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!automationEnabled \u0026\u0026 !routine.assigneeAgentId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c89dcefabe6df9afd8a28c8876309aeade7f7c358b0385f0b15b7c697fbd8f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!availablePaths.includes(selectedFile) \u0026\u0026 selectedFile !== currentEntryFile \u0026\u0026 !pendingFiles.includes(selectedFile)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f7bccd7d6d9d147ce9552f285744c996370576de720b8ac44a71d142069cc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!before.isFile() || before.nlink !== 1n || before.size \u003C 1n || before.size \u003E 64n * 1024n\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-kimi.mjs, packages/paperclip-runner/src/drivers/acpx/kimi-installation.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af11911be76ccd55a43511458a8c4d2584d8d45513cc0c166f791d18f87b0918"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!body || typeof body !== \u0022object\u0022 || Array.isArray(body)\u0060 appears character-identically in 2 files \u2014 server/src/routes/connection-management-authz.ts, server/src/services/fireflies-webhook.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/connection-management-authz.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"983fc665ec09aef99b3c0aeaf1f756cd5e297bb88f521383c83019cc43167896"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!builtInCluster \u0026\u0026 !showEnvironmentColumn \u0026\u0026 !agent.lastHeartbeatAt \u0026\u0026 \u0022sm:hidden\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"45768234c5f8c69e99af1f89b2b25b0028f1010194a7d5b3d74e6add0a8ae679"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidate || typeof candidate !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/plugin-host-services.ts, server/src/services/task-watchdogs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b2828536da2a487a0d1efd3e663705b2363089859cbfbd6096cb863197b188"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidate || typeof candidate !== \u0022object\u0022 || Array.isArray(candidate)\u0060 appears character-identically in 3 files \u2014 scripts/smoke/posthog-live-lib.mjs, server/src/services/cloud-runtime-identity.ts, ui/src/components/TaskChatThread.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":"scripts/smoke/posthog-live-lib.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1a950f373dd6f648208b6efe90073a199aafabfcc6744c9b34867e26af84bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidate || typeof candidate !== \u0022object\u0022 || seen.has(candidate)\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6416be2f875189d32128152a4747989cec3a4323dffdc08f5b070ac571ea370c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidate.startsWith(\u0022{\u0022) \u0026\u0026 !candidate.startsWith(\u0022[\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a2ca8105f97692010b441b09a1ea334e8657d2592e05c09ba807a09e7c14c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!causeMessage || causeMessage === message\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/src/gateway/server/execute.ts, packages/adapters/hermes/src/gateway/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d5f11b558f28890c7e53eb26249ff4fc2d737cd4b13fcc81b9e4232d0ea8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!changes || typeof changes !== \u0022object\u0022 || Array.isArray(changes)\u0060 appears character-identically in 3 files \u2014 server/src/services/agent-instance-secrets.ts, server/src/services/project-instance-secrets.ts, ui/src/lib/issue-change-receipt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instance-secrets.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"92be48ebf93a03b96b212f23c32ec1c98f272d03a97ce13dc6891b3dd9ed9100"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cloud || !path.isAbsolute(cloud) || !existsSync(path.join(cloud, \u0027dist/sleep/fixtures/default-cadence-bridge.js\u0027))\u0060 appears character-identically in 2 files \u2014 scripts/test-skill-default-cadence.mjs, scripts/test-status-object-signed-sleep.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/test-skill-default-cadence.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22cc39d872240f1e1e0a1f8aadb868c1eb6851731cbf90dd4a18c9effcc4bbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!companyPrefix || companiesLoading || companies.length === 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"728b40210b3a0f8f63fa1c5f3eb27b2edfe9f95cc24d4e6cbfa44eda2f84fd97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!config?.connectionId || !config.grantId\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-models.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33bd207cf58e05424058b57fa6345fc85e2131a7d18eb2a72dbc248dd1d4fab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!connection || connection.status !== \u0022active\u0022 || !connection.enabled\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/form-publication.ts, server/src/services/chat-channels/slack/setup-services.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-publication.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca28962951cb59e1a4414cb00c5cd0053c6cea96ee6b266f7e67691fce50912"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!connection || connection.status === \u0022archived\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/ai-connection-router.ts, server/src/services/chat-channels/slack/callback-verification.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-router.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f86fc8c462936923c88046f886686f3d78636910c2f28f2f6cafafd541203a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!connection.enabled || connection.status !== \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/token-broker/service.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/token-broker/service.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b7ce733ddfaee243af30baa4700d21f969f27d4b99223c2686dfc7d12f3bb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!connection?.enabled || connection.status !== \u0022active\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/github/task-retry-authorization.ts, server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts, server/src/services/git-credentials.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/task-retry-authorization.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b65731ca1d307ab2d96053ad70a32de9829b0475ce6bc06149fff401b0edd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!contextSnapshot || typeof contextSnapshot !== \u0022object\u0022 || Array.isArray(contextSnapshot)\u0060 appears character-identically in 3 files \u2014 server/src/routes/approvals.ts, server/src/routes/issues.ts, server/src/services/cross-issue-influence-limit.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9fdf98cd3419b80a3fe5356866de97bb4f575bf65f727be9207cbd2425de07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!createRoutine.isPending \u0026\u0026 draft.title.trim() \u0026\u0026 draft.projectId \u0026\u0026 draft.assigneeAgentId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8509cdaef50898830c7df12a74d034d3ae309e4fe3ec704480fc927054a72a1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!credentialSnapshot || credentialSnapshot.status !== \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-models.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e5d9ecd20c9ec0bba2dd35e4f9b2636028c3569f02fbc4e4bd2be5c27fa802"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cssOriginal.includes(marker) \u0026\u0026 anyTokens\u0060 appears character-identically in 2 files \u2014 scripts/codemod-extract-misc.mjs, scripts/codemod-extract-sizes.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/codemod-extract-misc.mjs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47222df8fc8168d73bbae71ac3e6df855c443624de05116af3d4c18688cddf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current || current.depth \u003E 4 || !current.value || typeof current.value !== \u0022object\u0022 || seen.has(current.value)\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/publications/policy.ts, server/src/services/chat-channels/slack/messages.ts, server/src/services/chat-publication-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":"server/src/services/chat-channels/publications/policy.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"532eee3f454989dc8e87ee3d08e4d3e15ddbe1c4088a6b9b876a482e65392252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current || current.dueAt \u003E Date.now() || !canRun() || signal?.aborted\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/github/acknowledgement-work.ts, server/src/services/chat-channels/github/review-check-work.ts, server/src/services/chat-channels/github/terminal-response-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c150c823e119d599a95a7d897772ea960c9e8be812dd712e5abcbe93f174c652"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current || current.status !== row.status || !isDeepStrictEqual(current.payload, row.payload) || !isDeepStrictEqual(current.result, row.resu\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/form-ack-work.ts, server/src/services/chat-channels/slack/form-retirement-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b397c677aad88cdfe04f017e1117060daee74351b73dd7f8b6e8fabd4335d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current?.goal || current.goal.status === \u0022complete\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/runner-goals.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":3781}}}],"partialFingerprints":{"codehealthFindingId/v1":"22893b1ee50ed1473c3cd3a27f2e12e4d8f2f7c19c7958daf3fe6256790d36a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!currentEndpoint || !currentAuthorization?.allowed || !currentDestinationAllowed\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/task-start-resolution.ts, server/src/services/chat-channels/slack/task-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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1ec0d3e279ca2b5c7578cf4eca1dc043202d6768b07db432d98a8a123c9e88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!currentHead || currentHead === input.importedHead\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, packages/adapter-utils/src/ssh.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc0e16a77cf21b8d186bb9de2f5d006c254d74e50d6f8a0fccd52538314b004"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!currentSecret || currentSecret.status !== \u0022active\u0022 || currentSecret.version !== credentialSnapshot.version\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-models.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed30466ed1a5e55ddca153cab2d62a20aaa447043c6a1142ba9a0297bcc2023"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data.enabled \u0026\u0026 previous?.connectionId === data.connectionId \u0026\u0026 previous?.grantId === data.grantId\u0060 appears character-identically in 3 files \u2014 server/src/services/decision-models.ts, server/src/services/fast-responses.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e10707dc0ef17a13619799eaaee06a97417fe4cb7c0db42ef559aea81a68e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!defaultsPayload || typeof defaultsPayload !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/company-member-roles.ts, server/src/services/invite-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":"server/src/services/company-member-roles.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02eea707a751c19dc177a4db2cb7684d1a46ec23c7456b64c3e9544b38ad288"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!detail || detail.storageKey !== sortModeStorageKey\u0060 appears character-identically in 3 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.tsx, ui/src/components/SidebarProjects.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"605643b5383724ae11599f44f6504506dea41c2ccce30b68f1f2387d713bba5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!detectedCliVersion || !claudeCliVersionAtLeast(detectedCliVersion, minimumCliVersion)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/claude-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"33864e399d3342c3f6eb43d90b671835ab030087102b05bb17e6c15d3ec9d282"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!directoryStat.isDirectory() || directoryStat.isSymbolicLink()\u0060 appears character-identically in 4 files \u2014 cli/src/install-store.ts, cli/src/services/service-manager.ts, packages/paperclip-runner/src/drivers/cursor-cloud/inline-assets.ts, server/src/services/native-runtime/native-harness-filesystem-independence.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install-store.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2335c1410db3506f48d7d1ad5ba99af8496af8029ca2a6a31319f39f955caf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!dirty || confirm(DISCARD_AGENT_CONFIG_CHANGES_MESSAGE)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9106c93e184f0299b03db491a314af171eaab94e677f5683b2a35b3418f1f43b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!disabling \u0026\u0026 data.connectionId \u0026\u0026 data.grantId\u0060 appears character-identically in 3 files \u2014 server/src/services/decision-models.ts, server/src/services/fast-responses.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce958c68e93d2bc6b919b2ad5c75ef8ee3ec0e375e93c1bee95081279231f83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!element || typeof window === \u0022undefined\u0022\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/WhatNeedsMe.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6334daa707c45354fb433fd6ad20b5f48576ec893e6860a6d182ff5994b1a252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!enabled || !conversationMode || accessUnavailable\u0060 appears character-identically in 2 files \u2014 ui/src/components/coordinator/CoordinatorChatDecisionReceipts.tsx, ui/src/components/coordinator/CoordinatorChatTaskHandoffs.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":"ui/src/components/coordinator/CoordinatorChatDecisionReceipts.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57f08d3416205206924ba00b372b0e417753252722632117ae66da345f155b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!endpoint || endpoint.provider !== \u0022slack\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/slack/form-delivery.ts, server/src/services/chat-channels/slack/form-owner.ts, server/src/services/chat-channels/slack/form-retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-delivery.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e34066ebd1d28664fa86f29f777296768247697b6ec3ace4b19e70ee757f9be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry || typeof entry !== \u0022object\u0022 || Array.isArray(entry)\u0060 appears character-identically in 5 files \u2014 packages/adapter-utils/src/local-process-sandbox.ts, scripts/release-package-map.mjs, server/src/services/decisions.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c62e88462db801637f1d7a0b474f5bf4044968b94dce1a5d1d46b94bc69b587"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isDirectory() || entry.isSymbolicLink()\u0060 appears character-identically in 8 files \u2014 packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs, server/src/services/git-workspace-restoration.ts, server/src/services/isolated-remote-workspace-source.ts, server/src/services/persisted-workspace-source.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b585c7cf05ac8bade56df673f3e676435a4a7d7a7a4a8a2e4065e939c6af7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isDirectory() || entry.isSymbolicLink() || await fs.realpath(parent) !== parent\u0060 appears character-identically in 2 files \u2014 server/src/services/git-workspace-restoration.ts, server/src/services/isolated-remote-workspace-source.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23857d8d0b4af3dc66b50f964b3158465e6de83c00399adb326a434fa44e0d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry?.isDirectory() || entry.isSymbolicLink()\u0060 appears character-identically in 3 files \u2014 server/src/services/nested-repository-worktrees.ts, server/src/services/online-workspace-source.ts, server/src/services/remote-workspace-migration-tree.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-repository-worktrees.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"962b76b28afe9faf39659c25fc0937c8bab5737b6c718993249bbd10284a1470"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!error || typeof error !== \u0022object\u0022 || depth \u003E 5\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/harness-driver.ts, packages/paperclip-runner/src/drivers/provider-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/paperclip-runner/src/contracts/harness-driver.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b38cdc836c7c553f23c0fae6b0870a3996dfa2e48dbfa33b172a2193f90c0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!exactMatch \u0026\u0026 !wildcardPluginAll \u0026\u0026 !wildcardPluginOne\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, packages/plugins/sdk/src/worker-rpc-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/plugins/sdk/src/testing.ts"},"region":{"startLine":2684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae41a4128893532f25285a48d040607e1ff1a7193eb69e45725daee7b31d276"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!existing || outcome.errorCode === \u0022interrupted\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/decision-models.ts, server/src/services/fast-responses.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa059a414424b5729b0ce6a711d29986c53726356bf13e015064c15a329a2e36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!experimentalSettingsLoaded || externalObjectsEnabled || issueFilters.externalObjectStatuses.length === 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aa83597efef90de505e64e68b63df6253978a3351615db2e214ee6cfc3d5cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!experimentalSettingsLoaded || externalObjectsEnabled || viewState.externalObjectStatuses.length === 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd60f1442f2a6187af0467f862c6121314c6797d55f26214ab17dc6b3a3a388"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!failure || failure.severity !== \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts, packages/paperclip-runner/src/drivers/acpx/provider-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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c312d69082ede95638584ebe715fa5d2e8abacf655080f697eeae4780a23772"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!filePath.startsWith(absStaticDir \u002B path.sep) \u0026\u0026 filePath !== absStaticDir\u0060 appears character-identically in 2 files \u2014 scripts/screenshot-blocked-inbox.mjs, scripts/screenshot-notion-connect-flow.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/screenshot-blocked-inbox.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd0eb71ee2d0a80233fdfd84d2c595136245389308caf4697e4f574bd9b6bea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!folderResult || folderSelection === \u0022all\u0022 || folderSelection === \u0022unfiled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab249a70c2325f270ad1ca3331c8cc28a5677e052d08b62c0734c233912bb80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fresh || fresh.metadata?.pendingCleanupInFlight === true\u0060 appears character-identically in 2 files \u2014 server/src/services/workspace-recovery-fallback.ts, server/src/services/workspace-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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab44cd4dd11ca5791ce3d0df4d00958482b1f7786f8e89b94eae0ee0df6ad33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!handle || (handle.status !== \u0022crashed\u0022 \u0026\u0026 handle.status !== \u0022stopped\u0022)\u0060 appears character-identically in 2 files \u2014 server/src/app.ts, server/src/services/plugin-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":"server/src/app.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b131ada21847b47c0e00ed21cc0f66fe67b29238126fde152980e9695d12535"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasNonEmptyEnvValue(env, \u0022PAPERCLIP_API_URL\u0022) || !hasNonEmptyEnvValue(env, \u0022PAPERCLIP_API_KEY\u0022)\u0060 appears character-identically in 3 files \u2014 packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/grok-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee9999a399edc5e3cf047fca8cc92fd52a4406894d6dabd249b16f2b50b1dfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!heading \u0026\u0026 !item \u0026\u0026 lines.length === 0 \u0026\u0026 isMetadataLine(line)\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/excerpt.ts, ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1acc36e2c829e16d0603da574652471c1f33429042106aaa912a3ae2752038"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!info.isDirectory() || info.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 server/src/services/distribution-plugin-catalog.ts, server/src/services/idle-local-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/distribution-plugin-catalog.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c368e7497b3f63cd8ddd0732c3312b85ba089094b7cc52d06631ca516ac4fec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input || typeof input !== \u0022object\u0022 || Array.isArray(input)\u0060 appears character-identically in 2 files \u2014 packages/shared/src/validators/issue.ts, server/src/routes/issues.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/validators/issue.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac02eaef4c8e629829ea1eaa7093d5961843b034dd88357d1fd89f57edd7fc5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input.binding.agentId || input.connection.companyId !== input.binding.companyId\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/unikraft/client.ts, server/src/services/daytona.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/unikraft/client.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32f804c17a866fe23cf5638fde91b433b66a4f707b407d66bb041c593875e23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input.expectedHeadSha || !input.actualHeadSha\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/workspace-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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef662e3ce7f50677aa454d3aa4752cf53d8f0c19063f8838016149c8be00cad5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!installPackage || installMutation.isPending\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AdapterManager.tsx, ui/src/pages/PluginManager.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":"ui/src/pages/AdapterManager.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07949c7b02db4f5caa42d6c7d8746dd3471c30469b04824be7f73e0071aae7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!installed.isDirectory() || installed.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-antigravity.mjs, packages/paperclip-runner/scripts/provision-cursor.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/paperclip-runner/scripts/provision-antigravity.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"274b987d9f5646ded9cc469d4eb57920166bb9ae0004db8bba6326d95def051b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!interactionId || !isUuidLike(interactionId)\u0060 appears character-identically in 2 files \u2014 server/src/services/issues.ts, server/src/services/unstarted-task-question-answer.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bc67ffb9d74b9045efc66e21683a20c7bed7300fd09141b92e6044041b34a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!invocation || request?.status !== \u0022approved\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-approval-execution.ts, server/src/services/tool-review-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":"server/src/services/tool-approval-execution.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2427214650fcbeaeda538666a231c376bc56511270125c6b7bbcccb753fc60fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isExperimentalToolTab(tab.key) || smokeLabEnabled\u0060 appears character-identically in 2 files \u2014 ui/src/components/AppsSidebar.production.tsx, ui/src/components/AppsSidebar.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":"ui/src/components/AppsSidebar.production.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64626750b4bdf212577d93dab50b588f703c8ebc7eec16ce9f4c69b9c353252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isLoopbackAddress(request.socket.localAddress) || !isLoopbackAddress(request.socket.remoteAddress)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/local-runner-browser-server.mjs, packages/paperclip-runner/src/mock-core/live-console-demo-server.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff17224e0f1a19627ae587b4cc6fdcb5b18fc752de816fe76d2bd43b0f0c30ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isMedia || hasSeen(meta.attachmentId, meta.contentPath)\u0060 appears character-identically in 2 files \u2014 ui/src/lib/skill-studio.ts, ui/src/pages/IssueDetail.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":"ui/src/lib/skill-studio.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a71baa2fb8d4422ebfb9bc272e139137d7371b3c981ab44261b22ba6a1acacd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isMobile \u0026\u0026 instructionPaneWidth !== null \u0026\u0026 instructionPaneWidth \u003E= filePanelWidth \u002B 520\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"745b5dd644c01e3a84b894dfeb00066526a590a2f405c4cd8ddce0ec66d20d23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isQualifiedProfileRevision(profile.qualifiedRevision) || profile.qualifiedRevision !== currentRevision\u0060 appears character-identically in 2 files \u2014 server/src/services/managed-agent-profiles.ts, server/src/services/remote-agent-profiles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7d0cda3bec92ac16fc58ef12bd3107ca617234c8d61ade4605ec9819d50892"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isRunLogStoreType(run.logStore) || !run.logRef\u0060 appears character-identically in 2 files \u2014 server/src/services/feedback.ts, server/src/services/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edf647864eb4d8e25ad2c9bc0efd2884555ba66ac61284efeb35d564df39d24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isStudioNew \u0026\u0026 !routeSkillToken \u0026\u0026 !selectedCatalogRef\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a67dbe7e1d01895fbebea09266370dfeea41ce04ff867e0a448ccdc51f6542a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!issue || issue.assigneeAgentId !== run.agentId || [\u0022done\u0022, \u0022cancelled\u0022].includes(issue.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/restart-interrupted-turn.ts, server/src/services/native-runtime/provider-limit-resume.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/restart-interrupted-turn.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e577baa10c2a7b0e1c39d2da6ea5d6d73c91f2c23b2be377c61554921054068d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!issue || issue.companyId !== input.companyId\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access-policy.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6889eb579a2d5b45db8800c40de4598df97aafd5cedc1c52c3a34566b320b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!issue.assigneeAgentId \u0026\u0026 !issue.assigneeUserId \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bdcd6c53f1dc13c5e7762744188a7a01f88b639bbfdce99a4334dfc120632a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!issueId || st.unarchivingIssueIds.has(issueId)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"081dbd903b290b5057e0c58e2a13f734487c7b64df17f536024883289ecbb22b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!item || typeof item !== \u0022object\u0022 || Array.isArray(item)\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/cli/opencode-proxy-input.ts, packages/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts, packages/shared/src/agent-configuration.ts, ui/src/lib/composer-draft.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/cli/opencode-proxy-input.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52c51e9b02856b21515c1cdef5097ef89ff95e85b48129750cd4c9ac8354d54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!item.attachmentId || !submittedIds.includes(item.attachmentId)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4938}}}],"partialFingerprints":{"codehealthFindingId/v1":"51529032586693c0f1eb72f639b4aee7d5db83efdfffe500f5e7e50b79ef84c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!item.obligationLeadId || item.obligationLeadId === item.id\u0060 appears character-identically in 2 files \u2014 scripts/count-needs-you-views.ts, scripts/verify-needs-you-checklist.ts. It is one line, so the duplication detector\u0027s token 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/count-needs-you-views.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"32273b61807d8a42c1b7782bf014063b5b1fc2c6a5a3fc9a9037a92bf861d557"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!key.startsWith(prefix) || key.includes(\u0022..\u0022) || key.includes(\u0022\\\\\u0022)\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-file-maintenance.ts, server/src/services/remote-workspace-snapshot-retention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-maintenance.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b718318541a2f0c824715473a6fb5a809c8369dee2c38129d90ed69815e31872"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!latest || candidate.getTime() \u003E latest.getTime()\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/gateways/gateway-helpers.ts, ui/src/pages/tools/GatewaysTab.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":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ec6773fa7773b780ad242e2849257b1eeb93df80fdcb318b545429e55c292d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!latest || parsed.getTime() \u003E latest.getTime()\u0060 appears character-identically in 2 files \u2014 server/src/services/activity.ts, server/src/services/heartbeat/run-lifecycle.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/activity.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7054e6fb58ac044db8e3debc69a407e97e308dfea68bc93cee292a53529a49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lease.provider || !lease.providerLeaseId\u0060 appears character-identically in 2 files \u2014 server/src/services/legacy-shutdown-workspace-settlement.ts, server/src/services/workspace-recovery-fallback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0104632bc7beecfbaacf18a971ae4bec322f7712df2f1e10a2fb1517ed9b10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lease.provider || lease.provider === \u0022local\u0022 || !lease.providerLeaseId\u0060 appears character-identically in 2 files \u2014 server/src/services/environment-run-lease-settlement.ts, server/src/services/native-runtime/native-workspace-finalization-state.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-lease-settlement.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f919c63d594074aa0ff9b4b97965f1e19a3d6271c0b5a5a0fb0d43be2372540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lease.releasedAt || lease.cleanupStatus === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/acknowledged-native-stop.ts, server/src/services/explicit-native-continuation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acknowledged-native-stop.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"272c0009befc9db8097af210e8e0ecbf12ff723958b4e3a1215db461ea9fb9ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!lease.releasedAt || lease.status === \u0022pending_cleanup\u0022 || lease.cleanupStatus === \u0022failed\u0022\u0060 appears character-identically in 4 files \u2014 server/src/services/cancelled-native-startup.ts, server/src/services/execution-recovery-resolution.ts, server/src/services/legacy-execution-recovery.ts, server/src/services/pre-dispatch-review-wait.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cancelled-native-startup.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1200bfe63c5028d92a2bb4ae8a3bf2f16b393391255e1e75baf96af156576c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!manager || manager.companyId !== companyId\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/recovery/issue-graph-liveness.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"437dd229b9782b22f1e10bb648a86085b558bab4b41e8f997040327eda0c066e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!marker || typeof marker !== \u0022object\u0022 || Array.isArray(marker)\u0060 appears character-identically in 3 files \u2014 server/src/services/issue-tree-control.ts, server/src/services/legacy-shutdown-workspace-settlement.ts, server/src/services/plugin-managed-agents.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-tree-control.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069297c14a3c979948c24b0e0d6ab717e4483ebb856b892aff5da8b964967a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!member || member.membershipRole === \u0022viewer\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-github-registration.ts, server/src/services/chat-github-wizard.ts, server/src/services/project-git-authorization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e28578fdbfb8d8b33b0191005a95aa99dfe04a3dd7d0e2db02c0e573db1b0a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!membership || membership.status !== \u0022active\u0022\u0060 appears character-identically in 5 files \u2014 server/src/routes/agent-permission-grants.ts, server/src/routes/inbox-agent-policy.ts, server/src/routes/tool-access.ts, server/src/routes/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-permission-grants.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c3170e9d562c8cf53e40edc0cea53f9a9fce6a6971c46fc327e57ea4047863"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!membership || membership.status !== \u0022active\u0022 || membership.membershipRole === \u0022viewer\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/routines.ts, server/src/services/chat-github-management.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/routines.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4c376fd131974eb56acbe772e5a79628baf8dd0d95d1ac2135aaf3912b1173"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!membership.membershipRole || membership.membershipRole === \u0022viewer\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/tool-access.ts, server/src/routes/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd5234611f9d23046dbc0874b908b09e0fafdfe7c604bc90db56123dda3904f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!membership?.membershipRole || membership.membershipRole === \u0022viewer\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/connection-intent-delivery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14647}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a549f20d67c9fe7e845314c41c21a01ec30a325bc83018bdfbd4769149837f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!message || typeof message !== \u0022object\u0022 || Array.isArray(message)\u0060 appears character-identically in 5 files \u2014 cli/src/commands/mcp.ts, packages/paperclip-runner/scripts/discover-copilot-acp.mjs, packages/paperclip-runner/scripts/qualify-copilot-acp.mjs, packages/paperclip-runner/scripts/qualify-cursor-denial.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":"cli/src/commands/mcp.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"de221e66758fc4ad171f06b4189ccf3f7efb51aaf309440484e8772a33d31f71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!message.method || message.id === undefined\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts, packages/paperclip-runner/src/cli/opencode-app-server-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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"17080307cb8772a1a619c2a965d7b957adf381c7110fe6c0aaa2de1202208f0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata || typeof metadata !== \u0022object\u0022\u0060 appears character-identically in 6 files \u2014 server/src/services/legacy-shutdown-workspace-settlement.ts, server/src/services/secrets.ts, server/src/services/workspace-operations.ts, ui/src/lib/skill-fork.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-shutdown-workspace-settlement.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"756d73c59dccceb9cdf9c9d7f18757e84ea2011a10d78a81fdb3aaa0be62fe67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata || typeof metadata !== \u0022object\u0022 || Array.isArray(metadata)\u0060 appears character-identically in 3 files \u2014 server/src/services/cleanup-verification-proof.ts, server/src/services/environment-lease-controller.ts, server/src/services/plugin-managed-agents.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cleanup-verification-proof.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dd2382d5e4b4d4dc1b0ca886cb7c2395b0cd2ee85c5f294170b60cc64deac1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata.isDirectory() || metadata.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs, packages/paperclip-runner/src/drivers/acpx/agent-files-binding.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/runner-protocol-eval-campaign.mjs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2edf192974f58e9701c9917c2ef8b7bae328c90d793376ff9ed495e7fb527a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!modelFields.has(key) \u0026\u0026 !Object.hasOwn(trusted, key)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-installation.ts, packages/paperclip-runner/src/drivers/acpx/cursor-installation.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/antigravity-installation.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c365b2cd5afcb63bc79500d95e64f8649bb6042ef3d03ed1e2acf5e1812294a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!name.includes(\u0022/__tests__/\u0022) \u0026\u0026 !/\\.test\\.[cm]?ts$/.test(name)\u0060 appears character-identically in 2 files \u2014 scripts/benchmark-app-permission-save.ts, scripts/benchmark-connection-install-capabilities.ts. It is one line, so the duplication detector\u0027s token 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/benchmark-app-permission-save.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9226ec8bcc5a862804262522a6a738c24502bddbe83b4c387dc543c8c209fe36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!next || typeof next !== \u0022object\u0022 || Array.isArray(next)\u0060 appears character-identically in 2 files \u2014 server/src/services/environment-runtime.ts, server/src/services/json-schema-secret-refs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-runtime.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10106a6bfcc7314e38306d92a61b3539b6b79e08ad3ba41c1f33c2365f1ce9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized || merged.includes(normalized)\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c4d6d1acbb88885877b0d909f172604a13db6044926d086ac17a796405b911"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized || normalized.startsWith(\u0022/\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/commands/worktree.ts, server/src/storage/local-disk-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50c53deb42b918f2aebd1fbc2fd434ee37b5080ccaefb362ac3c462c428dec7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized || typeof normalized !== \u0022object\u0022 || Array.isArray(normalized)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/inbound/delivery-ledger.ts, server/src/services/chat-channels/reactions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/delivery-ledger.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad29e8f646cead31c1c82f82e7f2235626fe4ecc915cc89df1c8be82dbf7a40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!oauth || typeof oauth !== \u0022object\u0022 || Array.isArray(oauth)\u0060 appears character-identically in 3 files \u2014 scripts/smoke/notion-generic-live.mjs, server/src/services/tool-access/connections/removal.ts, ui/src/features/connections/ConnectionSetupFlow.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":"scripts/smoke/notion-generic-live.mjs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fb9a2f91284c18996a142cc1a2b4db4714d1d99f1786cd3d3ed6b13a61f59b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!object(detail) || !exact(detail, [\u0022name\u0022, \u0022value\u0022]) || typeof detail.name !== \u0022string\u0022 || detail.name.length \u003E 64 || typeof detail.value !=\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"74885fb979efd8998604ef22642af40696de1135adc0b45101f90c78aedc0a99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!object(p) || !exact(p, [\u0022schema\u0022, \u0022noticeId\u0022, \u0022severity\u0022, \u0022category\u0022, \u0022scope\u0022, \u0022recoverable\u0022, \u0022userActionable\u0022, \u0022summary\u0022, \u0022details\u0022]) || p\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45674a2d0036c81c0f93b41907bfb8b5445ff1e369c4863d493479a398ff41d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!object(value) || !exact(value, [\u0022invocationId\u0022, \u0022role\u0022, \u0022nativeRun\u0022, \u0022sequence\u0022, \u0022counters\u0022]) || typeof value.invocationId !== \u0022string\u0022 || \u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99106a8dd3e8a147fbe0b434dadd5d9e524ff66e25bfbdde71e9da9c1d519bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!onDebouncedChange || draftValue === lastCommittedValueRef.current\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30013b3a7ae77e3a6972810730a532426efd95fcf6169bfbf8c2fcc42d3798f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!operation || operation.state !== \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/environments.ts, server/src/services/sandbox-creation-operations.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environments.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a160d485602ef96bb66e5bb1f8d0eb39a8db1abfc3da8d816543b7710ac07edb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!origin || origin.commentId !== retry.boardMessageOrigin.commentId || origin.identityContextId !== retry.boardMessageOrigin.identityContextI\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/queue.ts, server/src/services/run-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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":3526}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e1839b9203b15f3e7fe850b8a87f29959ff75b98da16d978462f53cda56114"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!owned.size \u0026\u0026 listeners.get(db) === owned\u0060 appears character-identically in 2 files \u2014 server/src/services/native-workspace-finalization-notifications.ts, server/src/services/retained-native-session-cleanup-notifications.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-workspace-finalization-notifications.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32c6d8738a359d5e860a3ad6935432f55752c4cf8ba2b6e178ec18fdac2f703"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!packageName || typeof packageName !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/adapters.ts, server/src/routes/plugins.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca23d70492b3f0978431ecf169104c7d0acf9326323ad604fd84aaac3217550"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!packet || typeof packet !== \u0022object\u0022 || Array.isArray(packet)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/form-delivery.ts, server/src/services/github-connection-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":"server/src/services/chat-channels/slack/form-delivery.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06f046e278702de49cd046a96982fff8d93d358bd896bcf22a15b080ae1a7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0022object\u0022 || Array.isArray(parsed)\u0060 appears character-identically in 12 files \u2014 packages/adapters/claude-local/src/server/claude-config.ts, scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-lib.mjs, server/src/realtime/environment-custom-image-terminal-ws.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/claude-config.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a8d4222c1ce228244c04e93fe66b5e3c24d58e60cdffba5d60213d5b47a615"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed.success || parsed.data.state !== \u0022prepared\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/fresh-continuation-fallback.ts, server/src/services/remote-workspace-abandoned-preparation.ts, server/src/services/workspace-recovery-fallback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c238263a8eac0065329ddf4205354004b28a3fd9dc9680a2258c4510538f6e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!path || path.startsWith(\u0022/\u0022) || path.split(\u0022/\u0022).includes(\u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/codex/codex-session-workspace.ts, packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/codex/codex-session-workspace.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f698c323668e2811ca9b06e71ee8ca9118b983bb9ff468431061ec809f89cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!path.posix.isAbsolute(normalized) || normalized === \u0022..\u0022 || normalized.includes(\u0022/../\u0022) || normalized.endsWith(\u0022/..\u0022)\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/sandbox-managed-runtime.ts, packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/sandbox-managed-runtime.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4171f0bbddf7365579e7103d1f4b2c0e9e96db32ff0d10aa3b84fe33f56756f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!payload || typeof payload !== \u0022object\u0022 || Array.isArray(payload)\u0060 appears character-identically in 8 files \u2014 packages/paperclip-runner/src/contracts/provider-performance.ts, server/src/services/chat-channels/github/resources.ts, server/src/services/chat-channels/microsoft-teams/messages.ts, server/src/services/chat-channels/slack/cloud-event.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/provider-performance.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a03eefbf4020b6b48525d5db68de26756781a0b5e1a659dd07eec3d4d4238c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!pending || pending.draftKey !== draftKey || loadDraftSubmission(pending.draftKey)?.attemptId !== pending.attemptId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb62d5ed7dd796c78c07df64dc444d55c284e08d850b6c8515529aa6728f9af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!permissions || typeof permissions !== \u0022object\u0022 || Array.isArray(permissions)\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, ui/src/lib/issuePrivacy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5563}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8379525db29040b0c745cd3f94db6cfa3e8739b2bf0831eae8de99c9ebd64f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!preserved || !hasRequiredWorkspaceRecovery(preserved.resultJson)\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/run-control.ts, server/src/services/native-runtime/native-superseded-retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f09ef73fbce3fcd2f6a03095f704511b8ecd908a50f50bdbecf88bd8a493f5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!principal || principal.isBot || principal.kind !== \u0022user\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/task-start-resolution.ts, server/src/services/chat-channels/slack/task-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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e8e3f2fef83c568f708a9ea395038b1f74ca46152a54349f22d9389236d07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!principalAllowed || !destinationAllowed\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/task-start-resolution.ts, server/src/services/chat-channels/slack/task-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":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bba85c849096d2f76b51c560a7f0e806e46bcef8c09b0ef4acb20ba5617b80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!process.stdin.isTTY || !process.stdout.isTTY\u0060 appears character-identically in 6 files \u2014 cli/src/commands/client/company.ts, cli/src/commands/client/connect.ts, cli/src/commands/client/skills.ts, cli/src/commands/configure.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ced3aada0ec934ad747ee6060d4991126978e1c6caa65c594a2e84aaa7394f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!profile.enabled || !profile.retentionAcknowledged || !profile.qualifiedAt\u0060 appears character-identically in 2 files \u2014 server/src/services/managed-agent-profiles.ts, server/src/services/remote-agent-profiles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6fc2f2764c7d84aaf468e9be8e2d301dc77849a0ce9822f6880cc36c054e8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!project || project.companyId !== input.companyId\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access-policy.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af602c960fc7d180eea752b5ec58d4efd20ac82b137b8fe2e4af963b8cc8a5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!query.data?.canManage || !query.data.settings\u0060 appears character-identically in 3 files \u2014 ui/src/components/decision-models/DecisionModelSettings.tsx, ui/src/components/fast-responses/FastResponseSettings.tsx, ui/src/components/prompt-injection-prevention/PromptInjectionPreventionSettings.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":"ui/src/components/decision-models/DecisionModelSettings.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c346da0819400cf05bb3d68df6f0a666a33c4dcb819e91c1de86305b6e71a2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!queued.length || remaining.length === queued.length\u0060 appears character-identically in 2 files \u2014 server/src/services/dot-assignment-follow-up.ts, server/src/services/muse-assignment-follow-up.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/dot-assignment-follow-up.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ccc4153e0dcdd1605004aebfb3cc7be485a70370f223fcba36556e9eb2aa6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rail \u0026\u0026 project.pauseReason === \u0022budget\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/SidebarProjects.tsx, ui/src/components/SidebarStarredProjects.production.tsx, ui/src/components/SidebarStarredProjects.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":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb1c3d84b414d2f5849fe8c0a2a6b6028ee804082468f21e4aa74e412e3dbcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rail \u0026\u0026 project.visibility === \u0022private\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/SidebarProjects.tsx, ui/src/components/SidebarStarredProjects.production.tsx, ui/src/components/SidebarStarredProjects.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":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"847bdb044f8c02d1ad46fca0517dee74b1428defa38cde6ce1efa20e5d0ff3e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rail || (!railStatusText \u0026\u0026 !trailingLabel)\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarNavItem.production.tsx, ui/src/components/SidebarNavItem.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":"ui/src/components/SidebarNavItem.production.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b206b0b3151f06a01e9eee9fa929947ba5d11bb3a60cf00e9989a3794d6875e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!raw || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 7 files \u2014 server/src/services/chat-channels/microsoft-teams/messages.ts, server/src/services/chat-channels/microsoft-teams/routes.ts, server/src/services/chat-channels/slack/cloud-callback.ts, server/src/services/chat-channels/slack/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":"server/src/services/chat-channels/microsoft-teams/messages.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe8ffb45c31b784d95535b40c3682b1af9c73f3c9e6a693437b706c259ce30e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rawValue || rawValue.trim().length === 0\u0060 appears character-identically in 2 files \u2014 cli/src/commands/onboard.ts, cli/src/commands/worktree-merge-history-lib.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/onboard.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60d3f1734384c690d6aa0174e8d54b649e2cbc952fd60fcd0e53f850f101846"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022commentId\u0022]) \u0026\u0026 commentIdFromPayload\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc8e8175afed85bf35bd3bc1375448008ce315e57c60bd84069ff2444927668"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022issueId\u0022]) \u0026\u0026 issueIdFromPayload\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"975d533898bfa2393103f27dd93a946fc9c9a701e087df9501e1d3441db7c2ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022taskId\u0022]) \u0026\u0026 issueIdFromPayload\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c674ca663e0cdb20cfb0ac16deea915f493af964c07fe82255e71123fe094936"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022taskKey\u0022]) \u0026\u0026 taskKey\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"515dc47a8b28437a92ea068d95cc619b5ead04dc156885ef289e6164e8e69a67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022wakeReason\u0022]) \u0026\u0026 reason\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b33798381fe7cb498048479501537c5237696847b64c2ab52327343843adb18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022wakeSource\u0022]) \u0026\u0026 source\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ad52aaf328ddf515dcad8a9c2a686067cd79c9685e199c3bcdea204eb0dccb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!readNonEmptyString(contextSnapshot[\u0022wakeTriggerDetail\u0022]) \u0026\u0026 triggerDetail\u0060 appears character-identically in 2 files \u2014 server/src/modules/wake-queue/domain/context.ts, server/src/services/heartbeat/run-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/wake-queue/domain/context.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54cd01c1fc766ce5ac929472a76349d9a64ce8c870fb2eff071b84354e57954"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!receipt || typeof receipt !== \u0022object\u0022 || Array.isArray(receipt)\u0060 appears character-identically in 4 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, server/src/services/chat-channels/slack/cloud-enrollment.ts, server/src/services/heartbeat-run-summary.ts, ui/src/components/TaskChatThread.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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae788a205d1483e79589a8aa38d983623d4bd1724fdb7332da4d6fb88875677a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!receipts || typeof receipts !== \u0022object\u0022 || Array.isArray(receipts)\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat-run-summary.ts, ui/src/components/TaskChatThread.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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b282a0db25887d5b073b36e41083f1736b6785cffc6f84ea7a694fc73fb3ad4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!record || record.endpoint.provider !== \u0022github\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/github/app-setup.ts, server/src/services/chat-channels/github/resources.ts, server/src/services/chat-channels/github/webhook-ingress.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/app-setup.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"73398207ad339adbfb0ddc2eb5cc8f692cdeebb8bfb0d2a16f667fada3a1bab8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!record || record.endpoint.provider !== \u0022slack\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/slack/session-status.ts, server/src/services/chat-channels/slack/task-start.ts, server/src/services/connectors/slack/test-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":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdabaca479438ababa0c18e77c3a0cc4069ec15a1e3676f1d862c4776d8539c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!reference || reference.state !== \u0022prepared\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-workspace-export-retry.ts, server/src/services/native-runtime/native-workspace-reconstruction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"61af00ace6d9861e8328688330a6789d1df69fcd32efc1c32007f9869a3a21d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!relative || relative.startsWith(\u0022..\u0022) || path.isAbsolute(relative)\u0060 appears character-identically in 4 files \u2014 cli/src/install-store.ts, server/src/services/cloud-bundled-package-digest.ts, server/src/services/company-skills.ts, server/src/services/skill-version-cache.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/install-store.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e015c8bf953c55c41036a5a56c1d7d2b8ad88f800948f02ea202e6e25e5ae41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!repairing \u0026\u0026 (endpoint.setup?.step === \u0022test\u0022 || endpoint.setup?.step === \u0022complete\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/chat/ChatEndpointSetup.tsx, ui/src/pages/apps/chat/slack/setup-state.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c266a96c82847c118c5e693244e541b49c18bc782518bdc41cebbabdbb841"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!req.body || typeof req.body !== \u0022object\u0022 || Array.isArray(req.body)\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/routes/routines.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff211760397c9a53ed18c846c3bdcfa14d1196d7e5fcc0c57d6c2824a80688"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!requestedParentId || policy === \u0022allow_nested\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/issue-hierarchy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":4055}}}],"partialFingerprints":{"codehealthFindingId/v1":"9187f4a5e29f6e744287ffb01fa0078099ec852f24f77ef14f19405a79772b6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resolved.startsWith(base) \u0026\u0026 resolved !== path.resolve(basePath)\u0060 appears character-identically in 2 files \u2014 server/src/services/run-log-store.ts, server/src/services/workspace-operation-log-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-log-store.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"101a3ab9c793c23dd13fb7b4179155ac614fadefe6f895b95802e4abe700b5ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resolvedAgentId || agentMembershipState !== \u0022joined\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"47890611e96ab8aa1630fb0f7565c8f3825cb4f23866f20774c7590cfaaa1f1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resource || resource.availability !== \u0022available\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/inbound/surfaces.ts, server/src/services/native-runtime/chat-attachment-reuse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/surfaces.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c157bbec258956803c49853758695d57090f669a38397f591d49280b920a300"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!response.ok || !response.headers.get(\u0022content-type\u0022)?.startsWith(\u0022image/png\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/components/AgentAvatarDownload.tsx, ui/src/pages/apps/chat/SlackAvatarStep.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":"ui/src/components/AgentAvatarDownload.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16b194d88a3fe0be431c02975f23ff5a8be4e7f6663bde64b41ec03917a561e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!result || result.completionContractId !== run.completionContractId\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-finalization-upgrade-readiness.ts, server/src/services/native-runtime/native-workspace-recovery-binding.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-finalization-upgrade-readiness.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"719b2957ffe399a157b894996f9fedb22a1b1ea8d5bd74ddb2dff7c87fe021e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!result || typeof result !== \u0022object\u0022 || Array.isArray(result)\u0060 appears character-identically in 3 files \u2014 server/src/services/heartbeat-run-summary.ts, server/src/services/native-runtime/native-case-tools.ts, ui/src/components/TaskChatThread.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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f38783fae81d3da6c572ff4f3d29b0819b06becc997a344a814be4cd43623d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resultJson || typeof resultJson !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-response-publication-receipt.ts, ui/src/lib/interrupt-handoff.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-response-publication-receipt.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb914b9ba32d7b9b303b837ecb24edf92904d36d8c43fc8ff08d42a22fa8787"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resultJson || typeof resultJson !== \u0022object\u0022 || Array.isArray(resultJson)\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat-run-summary.ts, server/src/services/issue-continuation-summary.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f789d2f5669195f0e4f587b2c0d215ab5064266441815c7eaefcecea7611c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resumeSessionId \u0026\u0026 bootstrapPromptTemplate.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c583d1f2aebad5e04c693e4f0a2e335ed3ee9713cff408b55f210410947b5c6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resumedSession \u0026\u0026 bootstrapPromptTemplate.trim().length \u003E 0\u0060 appears character-identically in 4 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"564be87724b10c0c566bd2601ce1449bf5125f074372960ba213fcf5637c74d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!revision || existing.qualifiedRevision !== revision\u0060 appears character-identically in 2 files \u2014 server/src/services/managed-agent-profiles.ts, server/src/services/remote-agent-profiles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a173e68ba95c1871465426398d4386d1a75df0851150bb68f4493252a0faf4d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!root.isDirectory() || root.isSymbolicLink()\u0060 appears character-identically in 3 files \u2014 server/src/services/git-workspace-expiration-locks.ts, server/src/services/native-runtime/native-provider-artifact-files.ts, server/src/services/native-runtime/remote-provider-pack-authority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration-locks.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a326fb722dd074c6e999ffafe8ce49dd8c25a95b7fcf118866effab743561688"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rootStat.isDirectory() || rootStat.isSymbolicLink()\u0060 appears character-identically in 6 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, packages/adapter-utils/src/ssh.ts, server/src/services/file-manifest-cache.ts, server/src/services/isolated-task-directory-snapshot.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ac984f7dbfdee802c21443c7917ac416a029a9f568e90d3c8574459a8f6462"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rootStat?.isDirectory() || rootStat.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/runtime-context.ts, server/src/services/nested-clone-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":"server/src/services/native-runtime/runtime-context.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5216fda4231f367e9948e642410a2ce00e3d64e477883807206061477b83e5b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!routeResolution.skill || !routeResolution.shouldRedirect || skillsQuery.isLoading\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd6e55a66fba7519b37bc8daa7c709cf84033a737a57889ca5fab8aaaaa56b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!row || !hasCompanyAccess(req, row.companyId)\u0060 appears character-identically in 2 files \u2014 server/src/routes/cases.ts, server/src/routes/workflows.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d1c24aa773d3a8c35ad421beebc0c989112ca72f7ca012690f3cf0126f0622"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!run || !TERMINAL_RUN_STATUSES.includes(run.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/recovery/remote-workspace-unsaved-files-settlement.ts, server/src/services/remote-workspaces.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/remote-workspace-unsaved-files-settlement.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64576862db43a9bc331c660837a4912003d71cb5f1663612c9d46765cea8491"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!run || ![\u0022queued\u0022, \u0022running\u0022].includes(run.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/session-status.ts, server/src/services/native-runtime/native-question-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":"server/src/services/chat-channels/slack/session-status.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a1e9a2752a4bdd3d6d2e356007d59c85bc293ebfd1dd527f15a63d72fddd50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!run || run.companyId !== companyId || run.agentId !== req.actor.agentId\u0060 appears character-identically in 2 files \u2014 server/src/routes/approvals.ts, server/src/routes/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3123c43f44c29535307ec47e119353d5a6083af7659a2ec4f69c2d84f991db72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!run || run.companyId !== input.companyId || run.agentId !== input.agentId\u0060 appears character-identically in 3 files \u2014 server/src/services/cross-issue-influence-limit.ts, server/src/services/heartbeat-run-events.ts, server/src/services/tool-access/token-broker/admission.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cross-issue-influence-limit.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2620b8889a16a1601aaa506df18264f9f94693dea37d9b348cfc0b9174e6a85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!saveRoutine.isPending \u0026\u0026 editDraft.title.trim()\u0060 appears character-identically in 4 files \u2014 ui/src/components/routine-sections/editable-sections.production.tsx, ui/src/components/routine-sections/editable-sections.tsx, ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"242fdcb5698a8420333bf119f46fda0fe6b052226f3ce56545f5a061d402a0af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || (entry.companyId === scope.companyId \u0026\u0026 (!scope.issueId || entry.issueId === scope.issueId))\u0060 appears character-identically in 4 files \u2014 server/src/services/chat-failed-retry-notice-work.ts, server/src/services/chat-inbound-wake-notice-work.ts, server/src/services/chat-native-progress-work.ts, server/src/services/chat-run-milestone-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-failed-retry-notice-work.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac2f71acf2fbe287d8dc2bb61ed86885aa81217c5c08c90eb132201434765c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || (value.companyId === scope.companyId \u0026\u0026 (!scope.issueId || value.issueId === scope.issueId) \u0026\u0026 (!scope.deliveryId || value.deliver\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/github/acknowledgement-work.ts, server/src/services/chat-channels/github/terminal-response-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/acknowledgement-work.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d715c55d794ae5b7c780670c82e6a1d960e4c1edd80a989a4a6cae46e91f05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || entry.companyId === scope.companyId\u0060 appears character-identically in 3 files \u2014 server/src/services/native-runtime/provider-limit-resume.ts, server/src/services/recovery/work.ts, server/src/services/task-watchdog-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-limit-resume.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4563caba4ae7b4d05dc5043dfbcb6a15e55c3a7e2df4d45592097d297dacca77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || entry.companyId === scope.companyId \u0026\u0026 (!scope.issueId || entry.issueId === scope.issueId) \u0026\u0026 (!scope.runId || entry.id === scope.\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-recovery-notice-work.ts, server/src/services/native-runtime/native-run-projection-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-recovery-notice-work.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48236bff46a165428381f34af4550ff1484df4e36a1a02dbcd43c08dcb519d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || entry.companyId === scope.companyId \u0026\u0026 (!scope.issueId || entry.issueId === scope.issueId) \u0026\u0026 (!scope.runId || entry.id === scope.\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-response-presentation-work.ts, server/src/services/native-runtime/native-review-response-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-response-presentation-work.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f30c4fc4443aee59d7dc3449d60e3199d2a39a5bc3385f1b73f68a71a0d647b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || entry.companyId === scope.companyId \u0026\u0026 (!scope.runId || entry.id === scope.runId)\u0060 appears character-identically in 3 files \u2014 server/src/services/heartbeat/scheduled-retry-cancellation.ts, server/src/services/native-runtime/native-failed-workspace-recovery.ts, server/src/services/native-runtime/native-pending-effect-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/scheduled-retry-cancellation.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"018340252e656919b4f454e451d8af2a676f96457b31c952b2fa5cbd739ad1db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || entry.companyId === scope.companyId \u0026\u0026 entry.issueId === scope.issueId\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/automatic-completion-reviews.ts, server/src/services/native-runtime/obsolete-policy-reviews.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/automatic-completion-reviews.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"244f69741d9f0795de54e630644bdc9bc27d030545f1f3dc5f0d7413f3caf134"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!scope || item.companyId === scope.companyId \u0026\u0026 (!scope.issueId || item.issueId === scope.issueId) \u0026\u0026 (!scope.runId || item.id === scope.run\u2026\u0060 appears character-identically in 3 files \u2014 server/src/services/native-runtime/native-environment-settlement-work.ts, server/src/services/native-runtime/native-result-commit-work.ts, server/src/services/native-runtime/native-workspace-finalization-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-environment-settlement-work.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8faafb7a8b567401060cf4de9e60211b78d41d8b197575d73c11122aac053d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!secret || secret.companyId !== companyId\u0060 appears character-identically in 2 files \u2014 server/src/routes/plugins.ts, server/src/services/routines.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"a343e93d09826a10787f2435d7ef7bc9baee1577553a373a3d4816add5cd1da6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!segment || segment === \u0022.\u0022 || segment === \u0022..\u0022\u0060 appears character-identically in 7 files \u2014 packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs, packages/paperclip-runner/src/drivers/runtime-context-materializer.ts, packages/plugins/plugin-llm-wiki/src/ui/app.tsx, packages/shared/src/mcp-skills.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ece2f1aaa10892ad60406d7ea91acceb058162166b768bdd5a71f72ef36b7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectedCatalogSkill || catalogSelectedPath === \u0022SKILL.md\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4657}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6390184249f1053cc08e1816c1ff598ad290af77c58f462ea2cf660385e858"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectedSkillId || selectedPath === \u0022SKILL.md\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f243de92e3d12a23fe092c8ae69fa2d9786e6fd8ad680bca017dda1643b25d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectors.length || selectors.includes(value.name)\u0060 appears character-identically in 2 files \u2014 scripts/benchmark-comment-wake-check.ts, scripts/benchmark-recovery-status-checks.ts. It is one line, so the duplication detector\u0027s token 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/benchmark-comment-wake-check.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d91d6b328f2a854d4b58e4bfa4753d2be06ed1f8500c60ababf40807dbcf099"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!session.agentId || !session.runId || !session.issueId\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack-catalog.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-catalog.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"501d22fcb50580bb19381245206ba48aab1f49999ef4e831395f43e9d683efde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings || typeof settings !== \u0022object\u0022 || Array.isArray(settings)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/kubernetes/src/scoped-network-egress.ts, server/src/services/honcho-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/plugins/sandbox-providers/kubernetes/src/scoped-network-egress.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b9d6ecb2d170e830eeb0c5f82927c881e97d05c110a7d598599b7ca54270bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sidebarOpen \u0026\u0026 startX \u003C EDGE_ZONE \u0026\u0026 dx \u003E MIN_DISTANCE\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d29907a550ffcb98eaf7c1aba7552d0335a71e4e928f27c5f35d70301eeb41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot || typeof snapshot !== \u0022object\u0022 || Array.isArray(snapshot)\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/customer-success-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":"server/src/routes/agents.ts"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"164ca136c283b6f6fe1dbfb6db671e7b6292fd1b7bbff09cb7cc639fcddcaea5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!socket.destroyed \u0026\u0026 maybeWritableState.writable !== false \u0026\u0026 !maybeWritableState.writableEnded \u0026\u0026 !maybeWritableState.writableDestroyed\u0060 appears character-identically in 2 files \u2014 server/src/realtime/environment-custom-image-terminal-ws.ts, server/src/realtime/live-events-ws.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/environment-custom-image-terminal-ws.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53ba1d2da84ecf37db5157b7a8aa661a970cf38242a67bd4b79bbc52a53d6be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sourceStat.isDirectory() || sourceStat.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 cli/src/commands/install.ts, cli/src/install-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/install.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf082b96ab74eeca916c8bc7b4440797090266e4ad744f531d67c3325ab6c8c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!st.nonInboxSearchIssueIds.has(issue.id) \u0026\u0026 !st.archivingIssueIds.has(issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e084864021776fab7f4d6c157ce91797d755dac85b4b0fc28027ce721619e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!st.nonInboxSearchIssueIds.has(item.issue.id) \u0026\u0026 !st.archivingIssueIds.has(item.issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a97aa62f74b2f7e67fd712fbe3fe6e88c1d98a6827ecabc6e2737552c0fa143"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stat.isDirectory() || stat.isSymbolicLink()\u0060 appears character-identically in 26 files \u2014 cli/src/install-store.ts, packages/adapter-utils/src/workspace-seed-cache.ts, packages/paperclip-runner/scripts/controlled-evals/archive.mjs, packages/paperclip-runner/scripts/materialize-antigravity-distribution.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":"cli/src/install-store.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"69454ce4cdf1c94e48d44ec7c781d062aaa24b4fbdc24e88121c5e90f520da86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stat.isFile() || stat.nlink !== 1 || stat.size \u003E maxBytes\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-controller-migration.ts, server/src/services/native-runtime/native-controller-source-digest.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-migration.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a43b11b1a3865b640461bf39222aa9617325ab915085bba391084a3cd25424"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stat?.isDirectory() || stat.isSymbolicLink()\u0060 appears character-identically in 3 files \u2014 server/src/services/native-runtime/native-harness-backup-expiration.ts, server/src/services/nested-clone-migration.ts, server/src/services/workspace-git-source-roots.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f7621a60a02adb48009ebb17eb2acddb4aaf5d73772d47cc1fb0b4174f5b14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.sessionId || params.sessionId !== state.sessionId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/config-admission.ts, packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fed1c6cc0979ba11fb86c99ed1785f49dcd6b047f0af8714fa31ee389226cdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.sessionId || params.sessionId !== state.sessionId || params.modeId !== expected\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/config-admission.ts, packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1957783547f34af1dc16ec4606d1a7fcee3780989dd64421134b471b82582c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.suppressed || state.reason === \u0022task_drain\u0022\u0060 appears character-identically in 2 files \u2014 server/src/app.ts, server/src/services/heartbeat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/app.ts"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c5bbcd911250faa987096f0d75967bea18eb1ff446e22b214906dd78573c98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!targetIsRemote \u0026\u0026 !config.managedAiConnection\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/claude-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"22690ae26cba82dad30817d0a769c7310ea1b5b0be27ea1ff19bbeb491b9dc77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!task || task.assigneeAgentId !== run.agentId || [\u0022done\u0022, \u0022cancelled\u0022].includes(task.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-failed-run-owner-release.ts, server/src/services/native-runtime/native-safe-replacement.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-failed-run-owner-release.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"014b6c2653bbfe915efd2c536c086096b9c151117cb51d661b38920f115c6b3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!task || task.executionRunId || task.checkoutRunId\u0060 appears character-identically in 4 files \u2014 server/src/services/native-runtime/native-controller-archive-source.ts, server/src/services/native-runtime/native-controller-migration.ts, server/src/services/native-runtime/native-harness-filesystem-independence.ts, server/src/services/native-runtime/native-harness-preservation-source.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-archive-source.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2866b8a72c43b930ae42838f92ac593015462b704ee4f7a379ccf853fcefc897"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!temporaryIdentity || named.dev !== temporaryIdentity.dev || named.ino !== temporaryIdentity.ino || named.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-kimi.mjs, packages/paperclip-runner/scripts/provision-pi.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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b84b306919ff8614365372fff3bb6bcace5d14522e6aa4ac69179ba05958694"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!trimmed || /^[a-z][a-z\\d\u002B.-]*:/i.test(trimmed) || trimmed.startsWith(\u0022//\u0022)\u0060 appears character-identically in 2 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/app.tsx, ui/src/components/MarkdownBody.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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d980bc8e4544e7bbaccc65730246819d26898a27d7f238a8317d4309a1a5a6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 97 files \u2014 cli/src/client/mcp-auth.ts, cli/src/commands/client/feedback.ts, packages/adapter-utils/src/connection-failure.ts, packages/adapter-utils/src/ssh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/mcp-auth.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32270a3e12ab7938f7bdaac6e7193dc2f0a71b8710426dc98e3ddfbdbade849"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!workspace || workspace.updatedAt.getTime() !== snapshot.updatedAt.getTime()\u0060 appears character-identically in 2 files \u2014 server/src/services/git-workspace-expiration.ts, server/src/services/isolated-task-directory-retention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff58d304676db8268d3a762c4aae3ed1256f1f6a3cd0e5498b001bb7597cb91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!workspace.projectId || !workspace.repoUrl\u0060 appears character-identically in 2 files \u2014 server/src/services/git-workspace-restoration.ts, server/src/services/isolated-repository-rehome.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e321ad4852cc3a3371ccf926824c000047ff6d4a9fafbd72d40924953ea9096c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!workspaceCommand || workspaceCommand.kind !== \u0022job\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cb4494230b1fdd86fa3e5aa819c20e3f8dd5df89301afe66768ce821596472"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022eventType\u0022 in event \u0026\u0026 event.eventType === \u0022run.terminal\u0022\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/eval/live-workflow-executor.ts, packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"450eb4176a47dbc20179e3b6325a67d55383d0cd6299aff8c4429e212413c0e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022format\u0022 in field \u0026\u0026 !/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?Z$/.test(item)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/provider-failure.generated.ts, packages/shared/src/provider-failure.generated.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fb28cb679da1719b1825b57f3241371ae625108fb755221a6b47b59c628046"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022format\u0022 in field \u0026\u0026 !Number.isFinite(Date.parse(item))\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/provider-failure.generated.ts, packages/shared/src/provider-failure.generated.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"65810534ad1c11097f83f6d78bccc9ad3fdf4d819459a97fe4ae7cdceaf48b30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022pattern\u0022 in field \u0026\u0026 !new RegExp(field.pattern).test(item)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/provider-failure.generated.ts, packages/shared/src/provider-failure.generated.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48fe82080aecec1b2eedaf96a5328c0a1906fa138fc0888525fb92254c6a254"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022sourceEventId\u0022 in candidate \u0026\u0026 candidate.sourceEventId === event.sourceEventId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4832516267cdb75a1cbcef99cde6d78991109cf7ee7bb9335fcb1cb3b296c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022sourceSeq\u0022 in candidate \u0026\u0026 candidate.sourceInstanceId === event.sourceInstanceId \u0026\u0026 candidate.sourceSeq === event.sourceSeq\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8651c8f87457da2e955274a8938f20765abd05b1c8e1b6dea1bbca8d9b6985c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022sourceSeq\u0022 in event \u0026\u0026 event.sourceInstanceId === input.sourceInstanceId \u0026\u0026 event.sourceSeq \u003E input.afterSourceSeq\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f14c9320d565c43e08bd145609ea06fcaba30c06af2e0e6717643c15c658cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022sourceSeq\u0022 in event \u0026\u0026 event.sourceInstanceId === sourceInstanceId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/paperclip-runner/src/mock-core/mock-control-plane-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"476ec50e62108f2d370db358365ec89dd9fcbd698679ee7aa035e16671c59b99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!lockedAgentId \u0026\u0026 agent !== ALL) || responsibleUser !== ALL || actionDomain !== ALL || entityType !== ALL || dateFrom || dateTo\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb85092bbfa45c318bdfdaa8b2297e45268d1040bccdccdb5c44c2d6773284c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!value.slackApp \u0026\u0026 !value.slackSetupMethod) || value.provider === \u0022slack\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/agent-configuration-resources.ts, packages/shared/src/validators/chat-channels.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/agent-configuration-resources.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ad70c1e33b11b63492c9de188907b82fd6dd92f67fd9784ea866d593c69703"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(await lstat(parent)).isSymbolicLink() || await realpath(parent) !== parent\u0060 appears character-identically in 2 files \u2014 server/src/services/remote-workspace-recovery-attachments.ts, server/src/services/workspace-recovery-snapshot.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-recovery-attachments.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"657acacf0acd79e99a9572af908244756084bd91ae397dd79a58bebaa4ac0574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(checkUpdatesPending || updateStatusLoading) \u0026\u0026 \u0022animate-spin\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1514fb673809201d71e8c4373736ea63d2419d7319057def574e977bb387f11f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(event.metaKey || event.ctrlKey) \u0026\u0026 event.key === \u0022Enter\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/issue-thread/src/Composer.tsx, ui/src/components/IssueDocumentsSection.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/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e651f06a7cb4191a0617c94217802b25ea10f7fd26b2bf8981b37fbe6e1333"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(exitCode !== null \u0026\u0026 exitCode !== 0) || status === \u0022failed\u0022 || status === \u0022errored\u0022 || status === \u0022error\u0022 || status === \u0022cancelled\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/cli/format-event.ts, packages/adapters/codex-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a989659d43faa7c72c380b202618d5a44db7ea4ba9ff3860b465ca811b85d4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(filesystemScope || networkScope) \u0026\u0026 !executionTargetIsRemote\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1376cda61bcb3fd1ade40c6f47b67cf3022fd78b6d5a9c58a92708ce15a1429b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(nodeMatches \u0026\u0026 (!matchingIds || matchingIds.has(node.id))) || filteredReports.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"376828118afa07b8b42cf906d03c0d356f69eae284c41c52232b1a2e33be3179"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(overflowY === \u0022auto\u0022 || overflowY === \u0022scroll\u0022 || overflowY === \u0022overlay\u0022) \u0026\u0026 mainContent.scrollHeight \u003E mainContent.clientHeight \u002B 1\u0060 appears character-identically in 2 files \u2014 ui/src/components/ScrollToBottom.tsx, ui/src/lib/issue-chat-scroll.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ScrollToBottom.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f62139db41a04fc4c72105ef20ef104b3139c81ca571beb63778e7c8a01ae9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(typeof context.taskId === \u0022string\u0022 \u0026\u0026 context.taskId.trim().length \u003E 0 \u0026\u0026 context.taskId.trim()) || (typeof context.issueId === \u0022string\u0022 \u0026\u0026\u2026\u0060 appears character-identically in 8 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae9b23643befbba7ee02233272e68c024e2d2bbb19d18832a3898f8425a3ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(typeof context.wakeCommentId === \u0022string\u0022 \u0026\u0026 context.wakeCommentId.trim().length \u003E 0 \u0026\u0026 context.wakeCommentId.trim()) || (typeof context.co\u2026\u0060 appears character-identically in 8 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a926f557e9b0a25fc4415c0a12b6af9b6b0ed9e112e44e533e4ec48729a1c53e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(typeof message.id !== \u0022string\u0022 \u0026\u0026 typeof message.id !== \u0022number\u0022) || pending.size !== 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-instructions.ts, packages/paperclip-runner/src/drivers/acpx/kimi-instructions.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-instructions.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baca718ad20d4d542efe1d90cda152c7d0106b5f599d3bad5e2efd9c42d29cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(typeof obj.message === \u0022string\u0022 \u0026\u0026 obj.message) || (typeof obj.error === \u0022string\u0022 \u0026\u0026 obj.error) || (typeof obj.code === \u0022string\u0022 \u0026\u0026 obj.cod\u2026\u0060 appears character-identically in 2 files \u2014 cli/src/commands/heartbeat-run.ts, packages/adapters/claude-local/src/cli/format-event.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cc80be1274d715b3c12f197caf0865c8c0b8561166e849477f8b15685c1411"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(typeof rec.message === \u0022string\u0022 \u0026\u0026 rec.message) || (typeof rec.error === \u0022string\u0022 \u0026\u0026 rec.error) || (typeof rec.code === \u0022string\u0022 \u0026\u0026 rec.cod\u2026\u0060 appears character-identically in 5 files \u2014 packages/adapters/claude-local/src/ui/parse-stdout.ts, packages/adapters/codex-local/src/cli/format-event.ts, packages/adapters/codex-local/src/ui/parse-stdout.ts, packages/adapters/gemini-local/src/cli/format-event.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"405b1be2ec7ae739415bbf3408dbbabd4c25a1ef26dbeb371c59c5d2a5f84a39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(value.startsWith(\u0022\\\u0022\u0022) \u0026\u0026 value.endsWith(\u0022\\\u0022\u0022)) || (value.startsWith(\u0022\u0027\u0022) \u0026\u0026 value.endsWith(\u0022\u0027\u0022))\u0060 appears character-identically in 3 files \u2014 packages/db/src/runtime-config.ts, server/src/dev-runner-worktree.ts, server/src/worktree-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/db/src/runtime-config.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebbc16f62a93ad14018d5ef9ae04fcad488a06fa4c689a635287c64e9353b89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/^\\d{1,3}$/.test(octet) \u0026\u0026 Number(octet) \u003C= 255\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/local-runner-browser-server.mjs, packages/paperclip-runner/src/mock-core/live-console-demo-server.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a020cdae6188d71694dc01dc7b92d3228764fe1a68afb930b69930dd553110"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(record.paths) \u0026\u0026 record.paths.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/transcript/RunTranscriptView.tsx, ui/src/lib/transcriptPresentation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea2cc141af983882f5542fc5b59d025508d3d9e91f76a27e259edf5013b061"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(value) \u0026\u0026 typeof value[0] === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/company-skills.ts, server/src/routes/teams-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a7d5d0d994bcf2a00675467af19b67bbf2ef325fff3c642979d989997b2c6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(b) \u0026\u0026 a.trim().toLowerCase() === b?.trim().toLowerCase()\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/excerpt.ts, ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"776eceabb461cfab56ed17794310465e84b8c771f4ad30e0333212fb4abf6321"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(bundle?.legacyPromptTemplateActive) || Boolean(bundle?.legacyBootstrapPromptTemplateActive)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba16a7e5e77e49d4acda99584250bafdb859200c349ce6732c120f4a14ae665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(companyId \u0026\u0026 issueId) \u0026\u0026 !issueId.startsWith(\u0022chat:\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/components/EmailTaskActivity.tsx, ui/src/hooks/useEmailThread.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/EmailTaskActivity.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d01f26bef2dd24413e2930087016f4de91a7e89309286cb1d093904d973933"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(companyPrefix) \u0026\u0026 !companiesLoading \u0026\u0026 companies.length \u003E 0 \u0026\u0026 !matchedCompany\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcb58d9d824223bcc3c107f26f862e543e1cce44bab9851bb2e3576822b726e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(config.managedAiConnection) || isNonEmpty(configApiKey)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/claude-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0cce883dd2c40afd8c3716418af84f4cc6994b841d12bc8695860be7347eff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(group.label) \u0026\u0026 viewState.collapsedGroups.includes(group.key)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c253fc0e244e021341659936318219a021289259232326cf14b361391cefb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(issueId) \u0026\u0026 !issueId?.startsWith(\u0022chat:\u0022)\u0060 appears character-identically in 3 files \u2014 ui/src/hooks/useIssueDocuments.ts, ui/src/hooks/useIssuePlanDocument.ts, ui/src/hooks/useTaskBrowsers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useIssueDocuments.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1788d37a53bd4a6e586c6bcd11834e1c6ce681a359e79da0a62309e87d0fe037"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(replayableRequest(uncertainSubmission, draftOwner)) \u0026\u0026 !submitting\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5013}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7ba48cb7c124162a04a21bbdaaeda973159e5ff16088f0a9ade6be3b33fdbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(resumeSessionId) \u0026\u0026 attemptWakePrompt.length \u003E 0 || isPaperclipRecoveryWakePayload(context.paperclipWake)\u0060 appears character-identically in 2 files \u2014 packages/adapters/grok-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/execute.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb14f1f786bc002db13ec8af2bd3955b925ed1793aa76bc3162a27418901c4a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(resumeSessionId) \u0026\u0026 wakePrompt.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"4198b40b97179906dcd6c021bef2cc4ee5358130c368d3f6f0680aa41a5b691f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(rootMessageId) \u0026\u0026 rootMessageId !== messageId\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/microsoft-teams/messages.ts, server/src/services/chat-channels/slack/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":"server/src/services/chat-channels/microsoft-teams/messages.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"763d5203d55bccc7347fdac6cbecb60708478532d3517d24c3071f01ebdd5422"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(routeCompanyPrefix) \u0026\u0026 !routeCompany\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySettingsPluginPage.tsx, ui/src/pages/PluginPage.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":"ui/src/pages/CompanySettingsPluginPage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"582ec14a77d175fa23987a7e872f8609fe734a3014ebed882d671d675357848d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(v.connectionId) === Boolean(v.grantId) \u0026\u0026 (!v.enabled || Boolean(v.connectionId))\u0060 appears character-identically in 2 files \u2014 packages/shared/src/decision-models.ts, packages/shared/src/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/decision-models.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c2ed7279560488db4b33047c4fe82afce88e26148372f065839c4daa0e1f97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(value) \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 10 files \u2014 cli/src/commands/worktree.ts, packages/plugins/sandbox-providers/daytona/src/plugin.ts, server/src/services/chat-telegram-media-intake.ts, server/src/services/chat-telegram-rich-intake.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a10681ddb8114fcfc005ac741299aa0535173ec68b5d13a71d544d9feba01e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060JSON.stringify(liveSnapshot.timeline) === JSON.stringify(state.snapshot.timeline) \u0026\u0026 liveSnapshot.integrity === state.snapshot.integrity\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts, packages/paperclip-runner/src/react/use-runner-console.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4077f28d9337cb85bf4db42c40f7d6bb8df7b62e6ff0243443ef5235c046b3fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(contentLength) \u0026\u0026 contentLength \u003E limit\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner-output.mjs, scripts/dev-runner-output.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner-output.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b249ace0f2ef7d4dddee1d99bd6aee48bd4fbdc1f852529ed7308ca4e2087896"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(expiresIn) \u0026\u0026 expiresIn \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/client.ts, server/src/services/tool-access/token-broker/exchange.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"064b34ffd91e4a1d1aefd1383483b0faca31572a02b66a8755c56c69d304272e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(timeoutMs) \u0026\u0026 timeoutMs \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/live/runnerd-codex-transport.ts, packages/plugins/sandbox-providers/cloudflare/src/bridge-client.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":9437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e56172f8c9a0e8ddae43e23815c8b424cb64556525c244ce4f020fb24a51b72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(parsed) \u0026\u0026 parsed \u003E= 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/backends/harness-driver-backend.ts, packages/paperclip-runner/src/native-session-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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd66f14e60c53276919f3b735c9bdb0a3958dbefc240e458a699216511e22b5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(samples) \u0026\u0026 samples \u003E 0 \u0026\u0026 samples \u003C= 10\u0060 appears character-identically in 2 files \u2014 scripts/benchmark-repository-object-cache.ts, scripts/benchmark-workspace-staging.ts. It is one line, so the duplication detector\u0027s token 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/benchmark-repository-object-cache.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5050e7c2d053f8eb4230ea4bbdb1ba06a1a222d3c41bd48ff7c4bf42aa0943f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 Number(value) \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6557deb8ff6cb883c7e932419b7cf010ea5d6ec395d05f6ef867434f6b676ac7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 Number(value) \u003E= 0\u0060 appears character-identically in 6 files \u2014 packages/paperclip-runner/src/cli/opencode-proxy-usage.ts, packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts, packages/paperclip-runner/src/drivers/acpx/copilot-events.ts, packages/paperclip-runner/src/drivers/acpx/grok-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":"packages/paperclip-runner/src/cli/opencode-proxy-usage.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ece35fe6a3268a61c01ff45858cb8a6691589d2caa9b3ab0f3fed0ec5027f6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 7 files \u2014 packages/paperclip-runner/scripts/runner-protocol-testops.mjs, scripts/benchmark-chat-bound-authorization.ts, scripts/eval-schedule-monitor.mjs, server/scripts/benchmark-issue-summaries-read-filter.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/runner-protocol-testops.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3435046982a5af9e705c21980995e8be4ee83fb77c68f8bdbe59da77a4fb22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/paperclip-runner/scripts/protocol-contract.mjs, scripts/smoke/muse-qualification-report.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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d74cb79bbe8306b247d1af4716eb88745ab40175705d5672efcd9d21d0bd99d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.prototype.hasOwnProperty.call(opts, \u0022tokenProvider\u0022) \u0026\u0026 opts.tokenProvider !== undefined\u0060 appears character-identically in 2 files \u2014 server/src/services/github-commit-details.ts, server/src/services/github-external-object-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-commit-details.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f13c464eda315c666f6d4f439de025b34f2e7d3e031e65f5b2050da18745468"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SHOW_TASK_PRIORITY_UI || field !== \u0022priority\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"4244a61d734a8663af2427fd5399d90a375d71bb8b5628c94e6dc392a707ec3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SHOW_TASK_PRIORITY_UI || value !== \u0022priority\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6492e8d3b38a31ab8b01d31aacd506eb4e55052ecf4ef5fea39d97e6d260aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060[\u0022127.0.0.1\u0022, \u0022localhost\u0022].includes(parsed.hostname) \u0026\u0026 parsed.pathname.startsWith(\u0022/review_wait_benchmark\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/benchmark-github-review-wait.ts, server/scripts/benchmark-prepared-github-review-wait.ts. It is one line, so the duplication detector\u0027s token 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/benchmark-github-review-wait.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea48e54e1541e27398b69ce9453c1ff7beb7e1b357134cd20bbeca8386734b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.channelData?.tenant?.id !== undefined \u0026\u0026 a.channelData.tenant.id !== tenant\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-file-consent.ts, server/src/services/chat-teams-personal-recipient.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"f538aa09fecd7d3657bc1ae1bcb17963a98d3ff0443da998e785dc48e53088f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.dev === b.dev \u0026\u0026 a.ino === b.ino \u0026\u0026 a.size === b.size \u0026\u0026 a.mtimeNs === b.mtimeNs \u0026\u0026 a.ctimeNs === b.ctimeNs\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts, packages/paperclip-runner/src/drivers/acpx/private-snapshot.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"593e22ddf61be0d6c468dd3c00e26738499581583218e5e923deed0e7d46acd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.dueAt - b.dueAt || a.id.localeCompare(b.id)\u0060 appears character-identically in 4 files \u2014 server/src/services/chat-channels/discord/command-work.ts, server/src/services/tool-connection-health-work.ts, server/src/services/voice/voice-call-reports.ts, server/src/services/voice/voice-session-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":"server/src/services/chat-channels/discord/command-work.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"623903063a8c5ec14ed284e2ca8a6217b30c6b3733ce7fb8c1f574c608d2b89c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.kind === \u0022document\u0022 \u0026\u0026 a.revision != null\u0060 appears character-identically in 5 files \u2014 ui/src/artifact-directions/directions/d1-solid/kinds.ts, ui/src/artifact-directions/directions/d2-tint/kinds.ts, ui/src/artifact-directions/directions/d3-tactile/kind.ts, ui/src/artifact-directions/directions/d4-hybrid/kinds.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/kinds.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51406e01e3c73f91598a590834206dffd2064a7fe71b5ff6bad29d30bacfe2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.kind === \u0022document\u0022 \u0026\u0026 a.revision == null\u0060 appears character-identically in 3 files \u2014 ui/src/artifact-directions/directions/d2-tint/kinds.ts, ui/src/artifact-directions/directions/d2-tint/specimen.tsx, ui/src/artifact-directions/directions/d4-hybrid/kinds.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/kinds.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"02162ad7143c06ee603d2b515a001f106691c50aec008de30f5580d9255d6174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.kind === \u0022image\u0022 || a.kind === \u0022video\u0022\u0060 appears character-identically in 6 files \u2014 ui/src/artifact-directions/directions/d1-solid/actions.ts, ui/src/artifact-directions/directions/d1-solid/kinds.ts, ui/src/artifact-directions/directions/d2-tint/actions.ts, ui/src/artifact-directions/directions/d3-tactile/gallery-model.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/actions.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca41f0254b0765d76b159e34487468d0466c76010a1ac13267ee8f3ff5fc6894"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.orgDepth - b.orgDepth || a.name.localeCompare(b.name)\u0060 appears character-identically in 2 files \u2014 server/src/routes/tool-access.ts, ui/src/pages/apps/app-detail/ActionTestDialog.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":"server/src/routes/tool-access.ts"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7898f8c395cbc129a809230b4122ccf3d642d98f6dc309e5934b006fea9510"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.reportsTo === agent?.id \u0026\u0026 a.status !== \u0022terminated\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dfa0f27cd041ef5e76de18d2658d248a49b92274e6ad763d03ae8e3632f158"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.status !== \u0022terminated\u0022 \u0026\u0026 ( !membershipsQuery.isSuccess || resourceMembershipState(membershipsQuery.data, \u0022agent\u0022, a.id) !== \u0022left\u0022 )\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1e715e71d130610abd8b16ae3e38f9b8ed433d036656449f326a3d2b99aa44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accessDecision.allowed || accessDecision.decision === \u0022require_approval\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access-policy.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access-policy.ts"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f76491989f0333ee05e6141762c9f87926983d67d027765618a59cd46d3bfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === \u0022accept\u0022 || action === \u0022submit\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx, packages/paperclip-runner/src/react/request-card.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5ccd163964f56abb1688138136992fef7ae255e015091710d20b8bf81e0594"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === \u0022start\u0022 || action === \u0022restart\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c03982e119f403727e25927298b2304639b9402da5dcbc13473dd29c48f1b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === \u0022stop\u0022 || action === \u0022restart\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17cde8130b2d9c4a812fb7416c15b95fb3e91b118bf457823f7f65a51824547"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active \u0026\u0026 shimmer \u0026\u0026 \u0022shimmer-text shimmer-text-muted\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx, ui/src/components/task-chat/TaskChatThinking.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":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fada5e6b06086f472839335be3512737d58df800693a71c89ad179a4409ae733"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active || seen.has(messageId) || seen.size \u003E= 4096\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts, packages/paperclip-runner/src/drivers/acpx/pi-message-projection.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ace0be576e019b66f7b138bdf7a7e229d55f448033922080ae47eb63f57bb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active.wireId === undefined || message.id !== active.wireId || message.method !== undefined\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/grok-usage.ts, packages/paperclip-runner/src/drivers/acpx/prompt-receipts.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/grok-usage.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e0f033ef5544e384e3fa4c86fe8bd9d1f4f70b0ead33dc8f3f4e6771667141"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeDetail \u0026\u0026 navigate(skillStudioNewRoute(activeDetail.id))\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f50fb49ae99b954f802552abb455ad93f07dedb417130e1e2433855f43bd745"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeFilterCount \u003E 0 \u0026\u0026 \u0022text-blue-600 dark:text-blue-400\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b839160609958b041c42168a8d2f810e20458a867cf543aa05feb623f9bf92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeProjectFolder?.systemKey?.slice(\u0022project:\u0022.length) || null\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2704e668b7ef276f7e36db4f77b3a0b381bf13466d8ecb2a48d126d3e392f3a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeProjectRef === routeRef || activeProjectRef === project.id\u0060 appears character-identically in 3 files \u2014 ui/src/components/SidebarProjects.tsx, ui/src/components/SidebarStarredProjects.production.tsx, ui/src/components/SidebarStarredProjects.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":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb75f80a13eaae3b253aec0d634640765c197f8b4203185ba600bf2784fb5d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeRun \u0026\u0026 isLiveIssueRun(activeRun, issueStatus)\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/TaskChatThread.tsx, ui/src/lib/issue-chat-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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b952ab9bde4680686275e7253b345e26a6bbffa8e069898d8caa320d70c141c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activeView === \u0022installed\u0022 \u0026\u0026 selectedSkillId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa83d588999267bc612a67aae7791225e22e1ce6e26be422c61ae1e172cbb54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activityView.kind === \u0022loading\u0022 || activityView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.tsx, ui/src/pages/audit/RoutineAuditActivity.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":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddb32dcf62879fe47b13e15d581ffd4d7f0c50e652152b0f3421f371f1c438f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actor.source === \u0022local_implicit\u0022 || actor.isInstanceAdmin\u0060 appears character-identically in 4 files \u2014 server/src/routes/projects.ts, server/src/services/authorization.ts, server/src/services/decisions.ts, server/src/services/resource-memberships.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/projects.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b3d5752ff5c893c83350641f57c4ab99db79b9eacd4ca8b7462ab2cbd85a9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actual.sha256 !== entry.sha256 || actual.byteSize !== entry.byteSize\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-provider-artifact-files.ts, server/src/services/native-runtime/native-provider-artifacts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifact-files.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e3b635fbc9e9cc83f564049b308c80bf3097133fef046d493405366087abd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actual.sha256 !== wrapped.plaintext?.sha256 || actual.byteSize !== wrapped.plaintext?.byteSize\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-harness-backup-storage.ts, server/src/services/native-runtime/native-provider-artifacts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe4946391e91a393ed2713731b37d041b78a971e011b405d8c9a95ecc30e127"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060adapterType !== \u0022paperclip_runner\u0022 || environment.driver !== \u0022sandbox\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/environment-run-orchestrator.ts, server/src/services/runner-environment-lifecycle.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"945b9ea1a9874e04c6273a54a56f25cbb62c84d81ab185a9710e5be7303177a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060adapterType === \u0022codex_local\u0022 || adapterType === \u0022paperclip_runner\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/composer-run-settings.ts, ui/storybook/prototypes/agent-settings/AgentSettingsPreview.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":"ui/src/components/task-chat/composer-run-settings.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24f2545248f75454665b4c27d1152efea62becd4dc1b382eb7982eab5f36c28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060address === null || typeof address === \u0022string\u0022\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts, packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, packages/paperclip-runner/src/mock-core/live-console-demo-server.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c1d063acb41349c85b575b60fb7cecb0b6073155ad9bb585c64252aa077f1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060afterId !== undefined \u0026\u0026 (typeof afterId !== \u0022string\u0022 || !/^[1-9]\\d*$/.test(afterId) || !Number.isSafeInteger(Number(afterId)))\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/plugin-lifecycle-inbox.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef13438629a001bd1480e35902f650a64349b80a266f553534dd64bec3d9d57d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent \u0026\u0026 agent.orgChainHealth?.status === \u0022invalid_org_chain\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"056433a1da15859c73c90b92520dffdbfc4e119f09051f33c8ac0c0ecace93a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.adapterType === \u0022paperclip_runner\u0022 \u0026\u0026 config.homeMode === \u0022preconfigured\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-harness-verification.ts, server/src/services/heartbeat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-harness-verification.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3250c6932d3ef6ef1d6f7d3aec5c99a2312f8e61089aacb8f3807ad2941238d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.reportsTo \u0026\u0026 byId.has(agent.reportsTo)\u0060 appears character-identically in 2 files \u2014 server/src/services/company-portability.ts, ui/src/lib/agent-order.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a54e9782a222623074b5c7c002b5bcdfafb89797e914993258fe5224f244ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.status === \u0022paused\u0022 || agent.pausedAt != null\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2be2015bc242ede51cb59d9ef2e9db909ba31d9a189b59a0069d5d54c612e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.status === \u0022paused\u0022 || builtInCluster || showEnvironmentColumn || agent.lastHeartbeatAt\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0134b7753868fdd52380dc3dc3cfca8ebd1471d42337858659dd1bd6e8a9f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.status === \u0022pending_approval\u0022 || agent.status === \u0022terminated\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/agent-permission-grants.ts, server/src/services/agent-file-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-permission-grants.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ef9483617b3a188e32c3c88c9090ac7c69905d7d1105a3c77b121897b1ee90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agentMembershipPending \u0026\u0026 membershipMutation.variables?.starred !== undefined\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5a423897640d1432c036051614bc9297e2dd9da03513fb9573f59b009ee3f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agentMembershipPending \u0026\u0026 membershipMutation.variables?.starred === undefined\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da367e5fa7076b6d7be7a3d60feb7b24683f5c369817e4f7e455c914e4e00a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agentMembershipState === \u0022left\u0022 \u0026\u0026 !dismissedLeftAgentIds.has(agent.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8c167fd0e2fc2513effe3bda0b8ffe05e8057f9fed942e11f6499f19766397"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aiConnection \u0026\u0026 aiConnection.mode !== \u0022responsible_user\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/features/connections/ConnectionIntentInteractionBody.tsx, ui/src/features/connections/ConnectionSetupFlow.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":"ui/src/features/connections/ConnectionIntentInteractionBody.tsx"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4182d50415bb7beb91e87a69a469c9d8b34e72519bfee64aafb1ba73b5d493a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allCategoryFilter === \u0022everything\u0022 || allCategoryFilter === \u0022alerts\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8043c08b4ae0a612e784136deaef175d53cd3e48df6828ef70fc94f2970ebb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allCategoryFilter === \u0022everything\u0022 || allCategoryFilter === \u0022approvals\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"752c17faa595b1a8c7033f5af8c2406053997809f3731144816fb96223d58fa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allCategoryFilter === \u0022everything\u0022 || allCategoryFilter === \u0022failed_runs\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb60764a4c3ccd9510e71ba01ca59e34927ca141cd2ebdff4dedea7b60fa98f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allCategoryFilter === \u0022everything\u0022 || allCategoryFilter === \u0022issues_i_touched\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae357de91fed65a291990a50f5f343880d731aae671355d84e5fb42866f95cfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allCategoryFilter === \u0022everything\u0022 || allCategoryFilter === \u0022join_requests\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffcadf8fe11ec20769abdb983012c2d064478d7de92c22cb79a26638d4ac4a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anchor.target \u0026\u0026 anchor.target !== \u0022_self\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.tsx, ui/src/pages/CompanyEnvironments.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52c6bb143f2118ec95e667a7900f8bfb993af4dc8e7d7d1168b135e7b9ea07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060annotations.destructiveHint === true || annotations.destructive === true || DESTRUCTIVE_TOOLS.has(tool.name)\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/braintrust/risk.ts, server/src/services/connectors/circleback/risk.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/braintrust/risk.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f14f9e130f918b1345b54e3caca37de2f5ef6dbeb4acb827ad584e84c1258e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060annotations.readOnlyHint === false || annotations.writeHint === true\u0060 appears character-identically in 3 files \u2014 server/src/services/connectors/braintrust/risk.ts, server/src/services/connectors/circleback/risk.ts, server/src/services/tool-access/catalog/descriptors.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/braintrust/risk.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3886b2823addd037ed31be1d37c746fbbe4927056232682b7e6f33fb508ffa25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.needsAttention \u0026\u0026 app.attentionReason\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/gateways/panels/AppsToolsPanel.tsx, ui/src/pages/apps/gateways/panels/OverviewPanel.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":"ui/src/pages/apps/gateways/panels/AppsToolsPanel.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52715a5f21410477fc9d45d686dc71c3a3bc64f7a40d460338fd722507d45c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060approval.status === \u0022pending\u0022 || approval.status === \u0022revision_requested\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, ui/src/pages/ApprovalDetail.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":"server/src/routes/issues.ts"},"region":{"startLine":4616}}}],"partialFingerprints":{"codehealthFindingId/v1":"0444237045ab4388b1e2bca0f6a41d314eeed141d8995085188dc1589b48c35a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060approval.type !== \u0022budget_override_required\u0022 \u0026\u0026 ACTIONABLE_APPROVAL_STATUSES.has(approval.status)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8ea01123be96cf8f2b2e3f73b1fcf1def192871aad3e15091a76ce032066c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060approveJoinMutation.isPending || rejectJoinMutation.isPending\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e13507b9ca997b9ff011b96651aa1940ac5d39574d32bd7900b25cc0f7374fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060approveMutation.isPending || rejectMutation.isPending\u0060 appears character-identically in 4 files \u2014 ui/src/pages/Approvals.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.tsx, ui/src/pages/secrets/proposal-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":"ui/src/pages/Approvals.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"537fdd7471d902df5359307f7bf1e32e479331c0da7185bfd1911e73d7c751fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.json || process.stdout.isTTY === false\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/cli/quota-probe.ts, packages/adapters/codex-local/src/cli/quota-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":"packages/adapters/claude-local/src/cli/quota-probe.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f6272baf5fe705b8b8d6b26b99c459273e0579d16b19f0f0ec4e7f892b5a4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060artifact.kind === \u0022image\u0022 || artifact.kind === \u0022video\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/artifact-directions/directions/d1-solid/ThreadAttachments.tsx, ui/src/artifact-directions/directions/d3-tactile/ThreadAttachments.tsx, ui/src/artifact-directions/directions/d5-v1-mvp/kinds.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d1-solid/ThreadAttachments.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5ee691389ae9a4b0fda84fef8d1d0125f31152df386594d0a0dd75996beaae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060artifact.kind === \u0022video\u0022 \u0026\u0026 artifact.durationLabel\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/GalleryPreview.tsx, ui/src/artifact-directions/directions/d4-hybrid/GalleryPreview.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":"ui/src/artifact-directions/directions/d2-tint/GalleryPreview.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e809063689ccdddb98e8e10710f4667607b70e13ee457f9f5e16397c3c1d9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060artifactsView.kind === \u0022loading\u0022 || artifactsView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/chat/AgentWorkPanels.tsx, ui/src/pages/Artifacts.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":"ui/src/components/chat/AgentWorkPanels.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbd56cfdcc2a2eba799a95a2d4bd2c007cab6671c608c68168acc71a2473982"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(data.reasoning).trim() || asString(data.reasoning_text).trim() || asString(data.thinking).trim() || asString(data.text).trim() || a\u2026\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/gateway-ui-parser.cjs, packages/adapters/hermes/src/gateway/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d816fe2570ebcb9978d682fa99bef200b5d357ef982b66d26e052f52f8c7f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(fn?.name, asString(call.name, \u0022tool\u0022)).trim() || \u0022tool\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/kimi-local/src/cli/format-event.ts, packages/adapters/kimi-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3bcb71819e79ee592397c0c630538a09ec7b1e1c880f1b1a629260927cda7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(obj.message, \u0022\u0022) || asString(obj.error, \u0022\u0022) || asString(obj.code, \u0022\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/parse.ts, packages/adapters/gemini-local/src/server/parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a64172303a3fb1cf5340d6bd798d5bb64f3299308caf5086c33e3392f71fe20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.acpSessionId) || asString(parsed.sessionId) || asString(parsed.runtimeSessionName)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/ui.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"203f80aeec0fc0590295d0c55f61e6e332f32e5b0b9dc32ca224f356c33f47f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.channel) || asString(parsed.stream)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/ui.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a12702acb896eaddd8bbfebec4252ad042502e347540b9c25ec15f97dda6eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.content) || asString(parsed.message) || asString(parsed.error) || \u0022Kimi error\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/kimi-local/src/cli/format-event.ts, packages/adapters/kimi-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"118df34642a9e442ab36a7a3548a1cb886df96094168ca2076fd775183723491"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.content) || stringifyUnknown(parsed.content)\u0060 appears character-identically in 2 files \u2014 packages/adapters/kimi-local/src/cli/format-event.ts, packages/adapters/kimi-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c91901887b456641e02d38b922c602bfa2fc93620a234bfa517521e2e6d54e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.session_id) || asString(parsed.sessionId) || asString(parsed.sessionID)\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/cli/format-event.ts, packages/adapters/cursor-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cab3de1fc2bae71e5e5bc7cb665af690ab2e6d0302b03b0916652342eeef2f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.text).trim() || asString(asRecord(parsed.delta)?.text).trim()\u0060 appears character-identically in 3 files \u2014 packages/adapters/cursor-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"095a2897f618e21ce3a3fa197808f0e01c5947a19e3367f2206cceda64359da0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(parsed.toolCallId) || asString(parsed.toolUseId) || asString(parsed.id)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/ui.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70334d6341d2bafb02fa97e09770ed5d942dd1a9aa7b0e400fca0029e5e7b76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(part.text).trim() || asString(part.content).trim()\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb73829dd1479b9ea315b7b804742e47f39e5abe77f6c43117b87a503e263314"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(part.tool_use_id) || asString(part.toolUseId) || asString(part.call_id) || asString(part.id) || \u0022tool_result\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/ui/parse-stdout.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/ui/parse-stdout.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f4ea2bb60feb48e1b6975d3e3379eff8a0571563dcff12a539d18700bb3158"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(rec.message) || asString(data?.message) || asString(rec.name) || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/opencode-local/src/cli/format-event.ts, packages/adapters/opencode-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/opencode-local/src/cli/format-event.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ee1a3ed8f6f9ea7e0766766b01ed8ab40118acf088c23ac302b450361e10f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(rec.message, \u0022\u0022) || asString(rec.error, \u0022\u0022) || asString(rec.code, \u0022\u0022) || asString(rec.detail, \u0022\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/server/parse.ts, packages/adapters/gemini-local/src/server/parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b61cb70eb726a9644306e6f5506ac3e5015e01f4ae841581a2832b8a66bb327"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asString(rec.message, \u0022\u0022).trim() || asString(rec.error, \u0022\u0022).trim() || asString(rec.detail, \u0022\u0022).trim() || asString(rec.code, \u0022\u0022).trim()\u0060 appears character-identically in 2 files \u2014 packages/adapters/grok-local/src/server/parse.ts, packages/adapters/kimi-local/src/server/parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/parse.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4b314bb6f19fbe337af667520462fea06b68a083eff68be7e8f3a4aa4df95d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment.filename?.trim() || \u0022attachment\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/run-preparation.ts, server/src/services/native-runtime/current-wake-comments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99f07c3375bd098db3df486d3fbae43397681c7b85549dce59de41b18ea58c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment.status === \u0022error\u0022 \u0026\u0026 attachment.file\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5670}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e30307ee0dd076351b33e167701297dc511bc8237e5fe1bd13a40e942e3ca03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt \u003C IMPORT_TRANSFER_PART_ATTEMPTS \u0026\u0026 !uploaded\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/company.ts, ui/src/pages/CompanyImport.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":"cli/src/commands/client/company.ts"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65b74b5cb377b8771fc1b60f6d183ca4cd6010e56cd0f3a394a12b1b94abc4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt \u003E= 2 || (error as NodeJS.ErrnoException)?.code !== WORKSPACE_RESTORE_LOCK_TIMEOUT_CODE\u0060 appears character-identically in 3 files \u2014 server/src/services/ai-connection-runtime.ts, server/src/services/ai-connections.ts, server/src/services/managed-ai-credential-writeback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connection-runtime.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"497d1514fb91df56e5e1d9a82c892d22621584fb289e33867563aca272aa61e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt.parsed.usageComplete || attempt.parsed.costUsd != null\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b18b4ae054498c8bfbcc21a62f197f8129e23e1bd471ca173207faad0b7984"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attemptId \u0026\u0026 request \u0026\u0026 classifySendFailure(error) === \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5228}}}],"partialFingerprints":{"codehealthFindingId/v1":"44544bb5ee6fccf933fbdcd20b99abc3a58efa490b4bd1c01d26ea85c4c2b200"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060await fs.realpath(sourceCwd) !== sourceIdentity || await canonicalRepositoryRoot(targetCwd) !== targetIdentity\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/heartbeat/workspaces.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":4540}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a3269759663f5cb22f13d4d831ea779f2e27e1c46782d30443c4d92ee0f1f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060await realpath(path) !== path || !(await lstat(path)).isDirectory() || !path.startsWith(root \u002B \u0022/\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-kimi.mjs, packages/paperclip-runner/scripts/provision-pi.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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"15460ec3d79cffc9aa117b81db759a9571e34180774ae87fad2f81839171df6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060awaitingRefreshAfterSave \u0026\u0026 agent !== lastAgentRef.current\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67343bb980da2a79d8d3bc0e89240b6c722205a93cc1dc7c32e6040e6587083"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.agentCount - a.agentCount || byName(a, b)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a910d08792b619412542c9e4286a78c1d4f62e9fefb2aeb20c5a40c7c96c06e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.count - a.count || a.slug.localeCompare(b.slug)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4623}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c29289e7421ba0b7dc1d00eaa8a0d3dcf66651eb37050a0cb9b436a7208118c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.forkCount - a.forkCount || byName(a, b)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eb959bfb601facc7d918d5e22d63134ef3bee9bae54381aaaa295dd81c0471"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.starCount - a.starCount || byName(a, b)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da27259848b0ef2343a6398a5d1ba616c44ab4231c14929e96e331b07bc3153"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.updatedAt - a.updatedAt || byName(a, b)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e29e97fb5ac777ef9c8e0a91f463c5af3ed807f63487daec51a8844c7c98303"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060banner.phase || banner.details.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0891c73cb217950a85c2c305b879a408d46a60704f34c627c98ca683a50da4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060before.size !== after.size || before.mtimeMs !== after.mtimeMs || before.ctimeMs !== after.ctimeMs\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-harness-backup-archive.ts, server/src/services/native-runtime/native-harness-backup-stamp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f29787e4bf03b2c6c79ec9019b38fb902d82478f5e8dbcd65c1c15af53c05e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding === \u0022changed\u0022 || payload.truncated === true || gap\u0060 appears character-identically in 3 files \u2014 ui/src/components/run-log/LogViewer.tsx, ui/src/components/transcript/useLiveRunTranscripts.ts, ui/src/components/useSummaryDraftStream.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"db370c05cc87d7e2bba946c7309eff92cd2a53e25543c635941c80ce4d7e93bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.endpointId === row.endpointId \u0026\u0026 binding.conversationId === row.conversationId\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-native-progress.ts, server/src/services/chat-run-publications.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-native-progress.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8056fdcd81dda511ed8d4b0b45aaf3d336e0c22fa3ce51ff283a8d129c56f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding?.status === \u0022ready\u0022 \u0026\u0026 binding.subscriptionVerified\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, ui/src/components/new-agent/ExternalAgentInviteDialog.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":"server/src/routes/agents.ts"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84e9dc3087a53816c25694797afe69076e4ce3be89ae7cdbdd28ad5d35978c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block || company.status !== \u0022active\u0022 || (current.agentId \u0026\u0026 (!agent || agent.status === \u0022paused\u0022 || agent.status === \u0022terminated\u0022))\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-models.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a8a8aa9475a8e2d65134d20ae4e783dd7d8154acbce55756853fde1731b883"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060blockedAt === undefined || !run.finishedAt || blockedAt \u003C run.finishedAt.getTime() - 1_000 || blockedAt \u003E action.updatedAt.getTime() \u002B BLOCK\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/recovery/legacy-workspace-rehome.ts, server/src/services/recovery/released-writer-escalation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/legacy-workspace-rehome.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f1e6c98fa17dd1048493ed9c82e07cbf22d5610ca557a295232c6e88cf85d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060blockedGroupBy !== \u0022none\u0022 \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a395ee8231093bb1efbfb0591a3e014d5dcb176d374a309a7d221429c15489"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060blocker.status !== \u0022done\u0022 \u0026\u0026 blocker.status !== \u0022cancelled\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/DispositionRecoveryNotice.tsx, ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatBlockerLinks.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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c1cfa571648074004f0a32f0392622064bc46532359f189a30c28fc14c682f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060blockerIssue.status !== \u0022done\u0022 \u0026\u0026 blockerIssue.status !== \u0022cancelled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3b3f832030e0bae815b13a5622f730a211aea03795422ac2954a006466777e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boardAccess.isLoading || view.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/tools/AdvancedToolsRoute.tsx, ui/src/pages/tools/profiles/ToolsAdminGate.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":"ui/src/pages/tools/AdvancedToolsRoute.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bd324753b6c15d43dd064032c0a3cecf02364adc8dda873c0d29769a5da534"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boardAccess.source === \u0022local_implicit\u0022 || boardAccess.isInstanceAdmin\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssueRunLedger.tsx, ui/src/hooks/useCompanyInviteAccess.ts, ui/src/lib/attention-views.ts, ui/src/lib/recovery-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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"84414b5acc9a7acf7db2657647a68a6cb5c25295e910cc3e9ff6fde68023a465"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boardAccess?.source === \u0022local_implicit\u0022 || boardAccess?.isInstanceAdmin === true\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueRunLedger.tsx, ui/src/pages/AgentDetail.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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d73c6015274eee918a275911a0c3924a72a9a7975eacf729bdb5af0a62e487"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boardCollapsedStatuses.length \u003E 0 \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"420408ac79aade28101c63f8ed473882ee57ae8f6e46de3edd4680fc76a01695"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body !== undefined \u0026\u0026 !headers.has(\u0022content-length\u0022) \u0026\u0026 !headers.has(\u0022transfer-encoding\u0022)\u0060 appears character-identically in 2 files \u2014 server/src/services/plugin-host-services.ts, server/src/services/remote-http-fetch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"529f63db90dcf260f21d278b135e705a61904f539aff5c9a28b7f4c29a609909"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body || skill.description || \u0022No overview yet.\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3148}}}],"partialFingerprints":{"codehealthFindingId/v1":"add9cf6b25f59bf3beb25302fbe4f7c1cd481759469863eeb38112e145215726"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.qualification \u0026\u0026 typeof body.qualification === \u0022object\u0022 \u0026\u0026 !Array.isArray(body.qualification)\u0060 appears character-identically in 2 files \u2014 server/src/routes/managed-agent-profiles.ts, server/src/routes/remote-agent-profiles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/managed-agent-profiles.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"36045010c7e2eeb769611c95b4f982c19c27281013bfdea6407c444b0b2a7fde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boundCompanyIds.length \u003E 0 \u0026\u0026 !boundCompanyIds.includes(companyId)\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-runner-selection.ts, server/src/services/copilot-connection-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":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7da81cd31446eb5c3748a650385c1769a2c261bd97f2623ac1485b70b3c946"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060boundaryProjectsLoading || boundaryIssuesLoading\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3a9a819f1b1381b0e80c8caad19d54d270f095db0b0db45b6fa06b11d68bca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060breadcrumbs[0].leading || breadcrumbs[0].identifier\u0060 appears character-identically in 2 files \u2014 ui/src/components/BreadcrumbBar.production.tsx, ui/src/components/BreadcrumbBar.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":"ui/src/components/BreadcrumbBar.production.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06f75b1b3ef7143388c7f7cc27168afd224432c89805ec04c3bdd74594e9aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060browser.status === \u0022running\u0022 || browser.status === \u0022idle\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-side-panel/TaskBrowserFooter.tsx, ui/src/components/task-side-panel/TaskSidePanel.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":"ui/src/components/task-side-panel/TaskBrowserFooter.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a969c4f9e9852fd8fe0f88eed89af9d872313ce832c70cd24c9f3eb4b633c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bufferedBytes \u003E limit \u0026\u0026 chunks.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner-output.mjs, scripts/dev-runner-output.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner-output.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc5dfa1208821fe47d4a904dbc456460c37e6ab71d8f156291edb6a9372f7b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060builtInRoutines.length \u003E 0 \u0026\u0026 groupByValue === \u0022none\u0022 \u0026\u0026 group.key === \u0022__all\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4f5c5200899c71aaea2be597954fdbc97c6d6116e344051d4efd18ebacb20a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060builtInState?.status === \u0022needs_setup\u0022 || builtInState?.status === \u0022pending_approval\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d9b146ab2e3b66b728456d26270df692b7f3c1313c9a253784d520ccfdcebf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060builtInStatus === \u0022needs_setup\u0022 || builtInStatus === \u0022pending_approval\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"47abf0567b1cc0610332c9860c342015fdbf0cac2680a8750f2d6ee47d4dec50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bundle \u0026\u0026 currentMode === persistedMode \u0026\u0026 currentEntryFile === bundle.entryFile \u0026\u0026 currentRootPath === persistedRootPath\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"97192710d69473adb1f00046a5a53c59b4c9fb043a1013f315d0c728bb079032"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bundleMatchesDraft \u0026\u0026 fileOptions.includes(selectedOrEntryFile)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae1d43866468a3075259e9f716d83f7bf7ff3bd2c9330f86a392205d604ed35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bundled.length \u003E 0 \u0026\u0026 kindFilter !== \u0022optional\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90195534fb904f709d70e049f9f53225f8c85831a1c7c0ae63ed9cfc0b340eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060buttons === undefined || buttons.length === 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/components/ui/menu.tsx, packages/paperclip-runner/src/react/components/menu.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/paperclip-runner/devtools/browser/src/components/ui/menu.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e00816ba3d2b08b415d81ed55918222ddaf95afbb682b8f3837731d1d22b059"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes === undefined || before.bytes === undefined\u0060 appears character-identically in 3 files \u2014 server/scripts/benchmark-blocker-stall-waiters.ts, server/scripts/benchmark-native-progress-page.ts, server/scripts/benchmark-run-event-append.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-blocker-stall-waiters.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b17099f54bac3413d4d6c4def6a44ba2478b3aa2203b6495f4de515bc6d3e49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length !== Number(before.size) || before.dev !== after.dev || before.ino !== after.ino || before.size !== after.size || before.mtimeNs\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts, packages/paperclip-runner/src/drivers/codex/codex-security-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/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac48296293616b29da7cff3089d719c6ba45cee83cbfc5d504bfd3a429f254e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length !== Number(before.size) || before.dev !== after.dev || before.ino !== after.ino || before.size !== after.size || before.mtimeNs\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-kimi.mjs, packages/paperclip-runner/src/drivers/acpx/kimi-installation.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb0c0a151d07a81fa3bf50d6303b202340ae8ceedcb162529bdfc3809469c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length \u003C 4 || bytes.readUInt16BE(0) !== 0xffd8 || bytes.readUInt16BE(bytes.length - 2) !== 0xffd9\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-inline-images.ts, server/src/services/chat-telegram-photo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a160e731a400425500006ac63685aa01c7e922daf8a3fac1b35b192d12e432b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes[offset] === 0xff \u0026\u0026 offset \u003C MAX_JPEG_HEADER_BYTES\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-inline-images.ts, server/src/services/chat-telegram-photo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad5a7a223f334bf5c2e06636c5a15210d7d5961354af1e563cfe4feb91fd358"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.id === binding?.connectionId \u0026\u0026 c.grantId === binding?.grantId\u0060 appears character-identically in 2 files \u2014 ui/src/components/ai-connections/useConnectionModels.ts, ui/src/lib/bulk-agent-settings.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/ai-connections/useConnectionModels.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c25b0a0eccd85971e2eb4bcc96769c180ce0f5c40484117872c42599ec9d11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060call.operationId === \u0022paperclip_finish\u0022 || call.operationId === \u0022paperclip_block\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts, packages/paperclip-runner/src/live/runnerd-codex-transport.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc816c6785c9b5de03b5269f717ebaeec37882a1368821c65b3613f9d4a8325"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060callerDecision \u0026\u0026 !callerDecision.allowed \u0026\u0026 callerDecision.decision !== \u0022require_approval\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack/test-message.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/test-message.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b535ead6c836ed624b68d855bcfefd2970875fa2e749dc65129b89dada36f241"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canArchiveFromTab \u0026\u0026 group.searchSection === \u0022none\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea7ef725f9777c73c7d6e8e53af905d0e86b3ed2f06e4bb9bafdb2c62f497b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canMove \u0026\u0026 folders \u0026\u0026 onMove \u0026\u0026 onCreateFolderAndMove\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21b9b897ac062d6c2c99702fb95876046ac982b8275e8e80ff31d680abb635e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate === null || candidate === undefined\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"0162b1b1eae2779daf8a7b94f7d3e83fe6b758c3da7e10710a2f06c693741205"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.eventType.startsWith(\u0022runtime_request.\u0022) \u0026\u0026 candidate.eventType !== \u0022runtime_request.created\u0022 \u0026\u0026 payloadRecord(candidate.payload).\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dfc7843f00647cc6b91717007734a82fb30d444ac0e415651e78479a054158"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.taskId === context.activeTask.id \u0026\u0026 candidate.key === key\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/semantic-tools/dispatcher.ts, packages/paperclip-runner/src/tools/capability-semantic-tool-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/paperclip-runner/src/semantic-tools/dispatcher.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"085470158f5489131e6f2a4951ccf1890af5f125eb9cec0e0a749eeb7cb88de4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidateKey.toUpperCase() === upper \u0026\u0026 typeof candidateValue === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/remote-execution-env.ts, packages/adapters/claude-local/src/server/probe-env.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/remote-execution-env.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64523c6870b66c0e600bb3ef4c2d60010887ba44d8240af3101f969f8fe8131d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060capability.exitCode !== 0 || capability.timedOut\u0060 appears character-identically in 3 files \u2014 server/src/services/native-runtime/provider-pack-archive.ts, server/src/services/native-runtime/provider-pack-layers.ts, server/src/services/native-runtime/provider-pack-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":"server/src/services/native-runtime/provider-pack-archive.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95649ef95a5d44371423b8981509ba9900e398c983d9207fb1c20e9aad572db1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060capture \u0026\u0026 /^\\s*(select|with)\\b/i.test(query)\u0060 appears character-identically in 2 files \u2014 scripts/benchmark-created-from-issues.ts, scripts/benchmark-inbox-mine.ts. It is one line, so the duplication detector\u0027s token 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/benchmark-created-from-issues.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dca3836fc52a7408d9d3ab269fe6c3b9208921f21d5b5eb387a50073503694"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060captured.costStatus === \u0022reported\u0022 || captured.inputTokens !== null\u0060 appears character-identically in 2 files \u2014 server/src/services/fast-response-provider.ts, server/src/services/prompt-injection-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-response-provider.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f136590fde1972e549b7dec51a5cbdc75070b8107449aef8a0c355ced5031e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060card.installed \u0026\u0026 !card.required \u0026\u0026 !(cardFolder \u0026\u0026 isBundledFolder(cardFolder))\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c8e260d3486f031d7887b73ee12930ab4c592fd33d02746e6e7a9b52f1f155"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060card.summaryBody \u0026\u0026 card.summaryBody.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx, ui/src/pages/StatusCards/StatusCardTile.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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92e07f76bfbd657d71bbd661b6b03cd4a4a5611d17b97fe5524e0da27d2e431"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060catalogListQuery.isLoading || catalogDetailQuery.isLoading || catalogListView.kind === \u0022reconnecting\u0022 || catalogDetailView.kind === \u0022reconne\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5611}}}],"partialFingerprints":{"codehealthFindingId/v1":"588cdc9f0d79721c380650a8369ef0480dfc04c3b514b935d2cee44512402fba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060catalogSource \u0026\u0026 catalogSource.type === \u0022github\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3027}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9bcf22918635f7c2fe906971aad14d53c6d4e67c42358ff48ef5ce4012ce2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060categoryFilter \u0026\u0026 skill.category !== categoryFilter\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82474f2700e40801d8d89a381a71770240af9fa2d245e323f93778059d25528"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060changedPaths.length \u003E 0 || pendingMigrations.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b234b86d330fa49e2c5fee42c03723837579f19c9c641d1e334a4e5e9eb452"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060channel === \u0022thought\u0022 || channel === \u0022thinking\u0022\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/ui.ts, ui/src/lib/summary-draft-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":"packages/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3de21585aebf847e070cb0e05ca231b3e8b6a569dd2631c4232b543c44acdb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checkUpdatesPending || updateStatusLoading\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3571}}}],"partialFingerprints":{"codehealthFindingId/v1":"597d6fd9bfe6121917d6d2d89b73bf11a751104e3122beea1e83d4b1bac53647"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checklistMeta \u0026\u0026 firstVisibleBlockerChip\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26d824958ff44d2c11a29bb08a334216fac04524f29432165cf7d055a50a6e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checklistMeta \u0026\u0026 issue.status === \u0022done\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2989ca974296628c99b98253151a3e26b136517138f421e62f2acd6b250e1f9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child \u0026\u0026 child.exitCode === null \u0026\u0026 child.signalCode === null\u0060 appears character-identically in 2 files \u2014 packages/db/src/test-postgres-owner.ts, packages/paperclip-runner/scripts/discover-copilot-acp.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/db/src/test-postgres-owner.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0521b818d612d039da0f33a76aeeaa40cf0b6b86c2caf09b9450db950d46a362"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.exitCode !== null || child.signalCode !== null\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/scripts/copilot-smoke-resources.mjs, packages/paperclip-runner/scripts/probe-antigravity-metadata.mjs, server/src/services/native-runtime/native-codex-runner.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/copilot-smoke-resources.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41c2474affc15d5269f42a4e32c67d829f377ccccd05af9791408f090677eb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.exitCode === null \u0026\u0026 child.signalCode === null\u0060 appears character-identically in 5 files \u2014 cli/src/commands/runtime.ts, packages/db/src/test-postgres-owner.ts, packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts, server/scripts/qualify-native-log-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":"cli/src/commands/runtime.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abce6d45259311d40ebd8a95a245f4ce4fbb610d3749d9e40fee14dbe7bec70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.type !== \u0022text_input\u0022 \u0026\u0026 child.type !== \u0022select\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-discord-question-forms.ts, server/src/services/chat-question-forms.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-discord-question-forms.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb18e17f638f0ba8af8669c51c2aae19007cb7ed40ea3f23894f82fae33b584"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.type === \u0022inlineCode\u0022 \u0026\u0026 typeof child.value === \u0022string\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/lib/case-reference.ts, ui/src/lib/issue-reference.ts, ui/src/lib/remark-workspace-file-refs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/case-reference.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3ae59aff949cc71c60a3cd90938e628e426760adb4b902dfdf82643eede4c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.type === \u0022text\u0022 \u0026\u0026 typeof child.value === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/lib/case-reference.ts, ui/src/lib/issue-reference.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/case-reference.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee1d33d779de64e163c1d4e8f524f7a9fec0b13e9b33e7d32753aa5b9cbd09c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060childHasChildren \u0026\u0026 !collapsedInboxParents.has(child.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf2ec6acf2791661a124441315dc812a231188ff8dfe3fb1bd51b00722bd585"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chip.status === \u0022rejected\u0022 || chip.status === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx, packages/paperclip-runner/src/react/runner-console-app.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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3096bf25ef1a27fc0e23fc6a6581e23f164b8b71e022b35d6743c10ddf8a6c6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060classicStreamlinedUiEnabled || coordinatorWorkspaceEnabled\u0060 appears character-identically in 3 files \u2014 ui/src/App.tsx, ui/src/components/Layout.tsx, ui/src/pages/IssueDetail.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":"ui/src/App.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff8481ce83a9a76703541e6c0bc4b27e9673e8388ef1322f33461254ce3620"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cleanName.length \u003E 0 \u0026\u0026 posixPathEscapes(cleanName)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd2f14a743a2938126ca068285ba6a313755de25a23ff3a19c0cf8cb78e4c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clearSessionOnMissingSession \u0026\u0026 !resolvedSessionId\u0060 appears character-identically in 3 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/grok-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdffd509ae7bf790af871021b0caf48e428aaace646b7f6f754b212a8333ca9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cleared.exitCode !== 0 || cleared.timedOut\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/provider-pack-upload.ts, server/src/services/native-runtime/remote-launch-assets.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/provider-pack-upload.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0fd66ddf96653e99c97808ae7c56628a46f70d4c412e50e8bc4d6189863fd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code.includes(\u0022actor\u0022) || code.includes(\u0022role\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/protocol/semantic-tool-receipts.ts, packages/paperclip-runner/src/semantic-tools/receipts.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/protocol/semantic-tool-receipts.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad602767cbf9bfff18c61a61d7ab40176077cb07e870610d8d63c3d927cd9718"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060collection.layout === \u0022list\u0022 \u0026\u0026 collection.visibleItems.length \u003E collection.matchingItems.length\u0060 appears character-identically in 2 files \u2014 ui/src/pages/DesignSandboxTasks.tsx, ui/storybook/support/design-proposals/TasksReproductionTrial2.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":"ui/src/pages/DesignSandboxTasks.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3ff21f9307e3cae50909334a6022fdce0ff4e96207a6843b42f030cf89ac4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060command.includes(\u0022/\u0022) || command.includes(\u0022\\\\\u0022)\u0060 appears character-identically in 5 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/codex-local/src/server/acp.ts, packages/adapters/cursor-local/src/server/remote-command.ts, packages/adapters/gemini-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"856df65baf68f7a31abc5ba1c8a8bdd00925bb33b5d9e9a73f681209ea6d7002"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060command.type === \u0022turn.start\u0022 \u0026\u0026 command.status === \u0022completed\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/live/runnerd-codex-transport.ts, server/src/services/native-runtime/remote-warm-session-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":"packages/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":4197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c713fcc591623dc4c95072ada6ec620d2a65d0a20e8c84834e19ef4142879b08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060comment.authorAgentId === agent.id || comment.derivedAuthorAgentId === agent.id\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d4f5d9ca086056e635c3fd262a7a9f4cc414a87d12f00b06d08f05d44212b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060comment.authorType === \u0022system\u0022 \u0026\u0026 comment.metadata?.recoveryResponsibility === \u0022system\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/pages/IssueDetail.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb6ca282576440510c3369732a02123d8e7b898e23acfe9acb547da403f1d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060comment.authorUserId === currentUserId \u0026\u0026 comment.clientRequestId \u0026\u0026 !(\u0022clientStatus\u0022 in comment \u0026\u0026 comment.clientStatus)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/TaskChatThread.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":6917}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1190dd187ce95c74c6ad90d600e59f604f5eb4483555d1118d064059c410c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060committed \u003E= centsToUnits(policy.amount) || committed \u002B amount \u003E centsToUnits(policy.amount)\u0060 appears character-identically in 3 files \u2014 server/src/services/decision-models.ts, server/src/services/fast-responses.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9518e9fe21a0f23c1fdaf9e7950b4861cb3d311546e1362d29d56eb55849a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060compact \u0026\u0026 \u0022px-1.5 py-0 text-(length:--text-nano)\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/BuiltInAgentBadges.tsx, ui/src/components/ResourceStatusChip.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":"ui/src/components/BuiltInAgentBadges.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be03cd4a618a7fd1e1dc53df2341a2cbc362a80109b40c2c1ee4836f17d59cf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060companiesLoading || onboardingTriggered.current\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f912eb18ab19faa85fc7bdc4fe9c9198a0efec354eb23b6271c22821d41b7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060company.id !== selectedCompany?.id \u0026\u0026 (location.pathname.startsWith(\u0022/instance/\u0022) || isCompanyRoute)\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarCompanyMenu.production.tsx, ui/src/components/SidebarCompanyMenu.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":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d369b9f3a912e4e8ee8e186bcadd47a80b430260bff532d7a1d865392ebbd8f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060companyId \u0026\u0026 isLocal \u0026\u0026 selectedFileExists\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"0315458d4dfe157188cd2aff7ebc6513ca2380cb4ddf874b13b26756c237c778"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060companyId === undefined || entry.companyId === companyId\u0060 appears character-identically in 4 files \u2014 server/src/services/secret-proposal-expiry-work.ts, server/src/services/tool-review-expiry-work.ts, server/src/services/tool-review-projection-work.ts, server/src/services/tool-review-recovery-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/secret-proposal-expiry-work.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c76a7c631498b5669ba3e192d1250a1762670f2d4882a136830bfe495d29c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.apiUrl \u0026\u0026 !isValidUrl(config.apiUrl)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/plugin.ts, packages/plugins/sandbox-providers/exe-dev/src/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":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f8df137f51bbf570f063e9a984b1c6684b36a8cda0c02b98f7f0b16f5a5ed8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.env \u0026\u0026 typeof config.env === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-ai-connection-default.ts, server/src/services/agent-runner-selection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-ai-connection-default.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"47515b781096432669892db8540a460e14fe2003b5e240e7c6dd286176fee796"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.env \u0026\u0026 typeof config.env === \u0022object\u0022 \u0026\u0026 !Array.isArray(config.env)\u0060 appears character-identically in 3 files \u2014 server/src/services/agent-runner-selection.ts, ui/src/components/task-chat/composer-run-settings.ts, ui/src/lib/agent-configuration/save.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba93e35497794c98f866214ba739aad4fadb934d390cda4d48b4eb9ebe3040e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.lifecycleMode !== undefined \u0026\u0026 config.lifecycleMode !== \u0022per_turn\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-runner-selection.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f49358e97e47c6afa6625bc95b5f74e9b1fb5f5780c291ef55fa734802a57fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.mode \u0026\u0026 config.mode !== \u0022persistent\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-runner-selection.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de0c4e45495a5fc3eff09e433b12e05cc62dd8867d3530794882c641483d33a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.nonInteractivePermissions \u0026\u0026 config.nonInteractivePermissions !== \u0022deny\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-runner-selection.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1d50ce9f114caed0e3f33bde40e81512ec60eb7d8e2a6fc038fb5080d9ebb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.provider === \u0022acpx\u0022 \u0026\u0026 config.acpxAgent === \u0022codex\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/adapters/codex-local/config-fields.tsx, ui/src/components/AgentConfigForm.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":"ui/src/adapters/codex-local/config-fields.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d83d2ef0260f468046b7272c3c26eb7e231d56b25bdffdf579bc7666b7588"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.sourceTemplateKey === \u0022github\u0022 || transportConfig.sourceTemplateKey === \u0022github\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/git-credentials.ts, server/src/services/native-runtime/runtime-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":"server/src/services/git-credentials.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc5d7a655cc6abd8cbb49a915f147b72e4ae3fe660036c2bb56a4bf96fdcab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.timeoutMs \u003C 1 || config.timeoutMs \u003E 86_400_000\u0060 appears character-identically in 5 files \u2014 packages/plugins/sandbox-providers/boxd/src/plugin.ts, packages/plugins/sandbox-providers/cloudflare/src/config.ts, packages/plugins/sandbox-providers/daytona/src/plugin.ts, packages/plugins/sandbox-providers/e2b/src/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":"packages/plugins/sandbox-providers/boxd/src/plugin.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bacac55ca76bc8d9a6ed89371ba8885b91b75687e7b401496a9d2a274bbefca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config[key] !== undefined \u0026\u0026 config[key] !== \u0022\u0022 \u0026\u0026 !(Array.isArray(config[key]) \u0026\u0026 config[key].length === 0)\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-runner-selection.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d801987f31e0ac0ffe70b32821e0d7df107f27927956a4922b05d41a0d076eb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config[key] !== undefined \u0026\u0026 config[key] !== false \u0026\u0026 config[key] !== \u0022\u0022 \u0026\u0026 config[key] !== 0 \u0026\u0026 !(Array.isArray(config[key]) \u0026\u0026 config[key]\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-runner-selection.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-runner-selection.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9442d9780f98c0d4d82963a762873fce4f9c0b512e65acdfc156ace58385ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.config \u0026\u0026 typeof connection.config === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/git-credentials.ts, server/src/services/native-runtime/runtime-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":"server/src/services/git-credentials.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ef6d758bfacef79bcb764b3d6f3351fce4e0bb4928efeaf75528ffc47d779a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.connectionPurpose === \u0022ai\u0022 \u0026\u0026 !aiConnectionRouterPluginKey(connection)\u0060 appears character-identically in 2 files \u2014 ui/src/components/ai-connections/useAiConnectionDefaults.ts, ui/src/pages/apps/Browse.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":"ui/src/components/ai-connections/useAiConnectionDefaults.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d814cc8ec2586a378588a24c4eff5f094d481cbf40c139e6bea2d28ba994aa54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.credentialSource === \u0022vercel_connect\u0022 \u0026\u0026 connection.externalCredential\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/connections/grants.ts, server/src/services/tool-access/connections/removal.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connections/grants.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd030411e489c9c50df572628506022f32679c88ee548d1d578683e96007fec5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.enabled === false || connection.status === \u0022disabled\u0022\u0060 appears character-identically in 4 files \u2014 ui/src/pages/apps/AppDetail.tsx, ui/src/pages/apps/Browse.tsx, ui/src/pages/apps/Connections.tsx, ui/src/pages/apps/app-detail/AdvancedPanel.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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bea62fef5ec440f985a10a0beb3b8ac748f748ddedbb90443a8352adc7b1f75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.provider === \u0022openrouter\u0022 || connection.routing?.kind === \u0022openrouter\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/fast-responses.ts, ui/src/components/fast-responses/FastResponseSettings.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":"server/src/routes/fast-responses.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d4f0358b356ee760b036b24d0340a626c6f52bb34def797df98c553ef03ce4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.status === \u0022active\u0022 \u0026\u0026 connection.enabled\u0060 appears character-identically in 3 files \u2014 server/src/services/tool-access/runtime/health.ts, ui/src/features/connections/ConnectionSetupFlow.tsx, ui/src/pages/apps/Connections.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":"server/src/services/tool-access/runtime/health.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d75e852d2baa9966e44a2b803c05c63719f6aca7ca848733892587d064b420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.transportConfig \u0026\u0026 typeof connection.transportConfig === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/git-credentials.ts, server/src/services/native-runtime/runtime-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":"server/src/services/git-credentials.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae56e39af4dd91d658b4b5462f803873fd98828ab018035042165001c6b6cf8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectionId \u0026\u0026 companyId \u0026\u0026 context \u0026\u0026 !cleanupComplete\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0f2e5154ca0a386e4fd7cae2e08504214a11a097bf7dfcd7da4198feb9db8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contentMode !== \u0022full-bleed\u0022 \u0026\u0026 \u0022scrollbar-while-scrolling\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/side-panel/SidePanelFrame.tsx, ui/src/components/task-side-panel/TaskSidePanel.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":"ui/src/components/side-panel/SidePanelFrame.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c31a60e8d926f4becf024ae1132e2cd6ea43f8768b85d64953db00272768340"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.recoveryIntent === \u0022status_only\u0022 \u0026\u0026 context.allowDeliverableWork === false \u0026\u0026 context.allowDocumentUpdates === false \u0026\u0026 context.resu\u2026\u0060 appears character-identically in 2 files \u2014 server/src/routes/approvals.ts, server/src/routes/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/approvals.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c42de943d3c3fc13e500d7fc8d185a59726c6281e8b0c9cb40d744f71a70b22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contractRow.risk === \u0022low\u0022 \u0026\u0026 contractRow.completionAuthority === \u0022agent_claim_policy\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-run-finalizer.ts, server/src/services/native-runtime/native-status-reassessment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-finalizer.ts"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5f831254bc7531203244cd5c8aacc97ccda318105d969899fd10e20f2522ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId \u0026\u0026 scope \u0026\u0026 /^[a-f0-9]{64}$/.test(conversationId) \u0026\u0026 /^[a-f0-9]{64}$/.test(scope)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/index.ts, packages/adapters/codex-local/src/server/index.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/index.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7426660db5e02ee11dea692c5af216d06dcba5bcb7b0b99a3896ae4301486d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060createFolder.isPending || updateFolder.isPending\u0060 appears character-identically in 4 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.tsx, ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a56d54c6370325255e99826689c3c6f19b56312e26e880fd8c1c3d2c76038e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060createRoutine.isPending || !draft.title.trim()\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"196d867ee42f998cf63e51480c373e4c336417fb3865c091fe86f9a076d14e29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.projects.length !== 1 || ctx.projects[0].name !== project\u0060 appears character-identically in 2 files \u2014 scripts/ci/vitest-impact-report.mjs, scripts/ci/vitest-selection-graph.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/ci/vitest-impact-report.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c9310daca8031663032789c2866db3a26b14b507ccd8ecc0011ffdba29180f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current \u0026\u0026 current !== document.body \u0026\u0026 current !== document.documentElement\u0060 appears character-identically in 5 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/app.tsx, ui/src/components/IssueChatThread.tsx, ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":3463}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8adb31576560258b2b29e3929e69fb3e528cc9ce713941a390989277054859b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current \u0026\u0026 current.versionHash === entry.versionHash \u0026\u0026 current.schemaHash === entry.schemaHash \u0026\u0026 current.riskLevel === entry.riskLevel\u0060 appears character-identically in 3 files \u2014 server/src/services/connectors/onepassword/catalog.ts, server/src/services/connectors/supabase/index.ts, server/src/services/native-rest-client.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/onepassword/catalog.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9859d309ec9e1318c333da34f1f7d61e75300df2291be3763afa725206e9c85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current \u0026\u0026 typeof current === \u0022object\u0022 \u0026\u0026 depth \u003C 4\u0060 appears character-identically in 3 files \u2014 server/src/retained-ui-assets.ts, server/src/services/accounting-transaction.ts, server/src/services/heartbeat/run-lifecycle.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/retained-ui-assets.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5f54ef52024c0b3537a4571ebeb0d9591b581a55277744b1890ec908284993"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current \u0026\u0026 typeof current === \u0022object\u0022 \u0026\u0026 depth \u003C 5\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/native-runtime/native-inherited-runner-retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"808e1c29574019ebba0e483d7bbbf4a5b3e9988be4a685da084d6e78c6348852"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current instanceof Error \u0026\u0026 current.cause !== undefined\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/failed-before-provider-turn.ts, server/src/services/native-runtime/predecessor-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":"server/src/services/native-runtime/failed-before-provider-turn.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c10de842217b9d2b6f7b0fd5cdf8cbd49948ff93185e811a8f80fff84f61aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.errorCode !== \u0022interrupted\u0022 \u0026\u0026 (existing.costStatus !== \u0022unpriced\u0022 || receipt.costStatus === \u0022unpriced\u0022)\u0060 appears character-identically in 3 files \u2014 server/src/services/decision-models.ts, server/src/services/fast-responses.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6b8360e71d7232dbe058cc07a28200e7365f3d3f120eb4049f5283325e5943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentPayload.transportPart || currentPayload.card || currentPayload.interactionId || currentPayload.attachmentIds?.length || ![\u0022pending\u0022, \u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/publications/preparation.ts, server/src/services/chat-channels/telegram/publication-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/preparation.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e1ecd7eb0f54e3684ac037eb25f83745dfbaccf9b8c2dc746100bdeac25fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursor \u0026\u0026 depth \u003C LOW_TRUST_ISSUE_ANCESTRY_MAX_DEPTH\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/low-trust-runtime-containment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":4416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3042d0920586108a38e208d4fbd057f3bd9a047fab3d425c24910ae0632ab63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursor === undefined || cursor === null || cursor === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/backends/harness-driver-backend.ts, packages/paperclip-runner/src/native-session-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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"75789c60d7a52f73b04882d7a2527858f1a52799eacbf8e861126628b1860583"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060customText !== undefined \u0026\u0026 question.customAnswer?.enabled !== true\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7b52eef926e211c50e7d3246b54c1f11cc2f309ff4334bea3629e10e38e80d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cutoff \u0026\u0026 !Number.isNaN(cutoff.getTime())\u0060 appears character-identically in 3 files \u2014 server/src/services/heartbeat.ts, server/src/services/heartbeat/queued-run-line.ts, server/src/services/queued-run-dispatch-liveness.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"903d5453645cc345e9e91a70f4a42ce6359edbae58af81baba885934e8b3d488"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.permissions \u0026\u0026 typeof data.permissions === \u0022object\u0022 \u0026\u0026 !Array.isArray(data.permissions)\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-configuration.ts, server/src/services/agent-hiring.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-configuration.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e3bc3af80b089a05d9a75f78cd660ba13f39d7d9ac3f7c83beb49e89185cc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data?.source === \u0022local_implicit\u0022 || Boolean(data?.isInstanceAdmin) || membership?.membershipRole === \u0022owner\u0022 || membership?.membershipRole \u2026\u0060 appears character-identically in 2 files \u2014 ui/src/pages/tools/AdvancedToolsRoute.tsx, ui/src/pages/tools/profiles/ToolsAdminGate.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":"ui/src/pages/tools/AdvancedToolsRoute.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5e2fdf7b494a6e6d652f50e3b1e23648b3b11a4af29f16333602bd080d7d4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data?.variables \u0026\u0026 Object.keys(data.variables).length \u003E 0\u0060 appears character-identically in 5 files \u2014 ui/src/pages/ExecutionWorkspaceDetail.tsx, ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.tsx, ui/src/pages/Routines.production.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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1eece52979e2ed602a7e436c4af5a84244ddd13db4adf48db41c92a7917f1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultAction === \u0022replace\u0022 || defaultForce\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b0ac9a9a9cff621fdcf132bf3c8acb2a05493233d8164f626aa8e8eb200a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultMode === \u0022isolated_workspace\u0022 || defaultMode === \u0022operator_branch\u0022 || defaultMode === \u0022adapter_default\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/RoutineRunVariablesDialog.tsx, ui/src/lib/project-workspace-defaults.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineRunVariablesDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77cfed5a5d39dabc0c6e258a2cc67488400fe0046e7bc83e16669ac64a406fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deleteSkill.isPending || !deleteTargetSkillId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0797985c0b1ef39ea9d01690370e08eed3d13db1d9ec3d894ea70c66cece15f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delivery.eventKind !== \u0022message_updated\u0022 \u0026\u0026 delivery.eventKind !== \u0022message_deleted\u0022 \u0026\u0026 delivery.eventKind !== \u0022message_restored\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/inbound/delivery-ledger.ts, server/src/services/chat-channels/inbound/lifecycle.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/delivery-ledger.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59dae14232eba9be6b98779d92b898a604a32f44df579dcd582784b538f7667"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060demoteRequired \u0026\u0026 a.required !== b.required\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"745cf2f7fdd7ac3a5a82faf91858b87d86a81788332f62f8ecba7db1f8a70596"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth \u003C 4 \u0026\u0026 candidate \u0026\u0026 typeof candidate === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts, server/src/services/run-failure-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":"server/src/services/native-runtime/remote-runner-recovery-diagnostics.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04149a5f97d507da3f86a92003c9f01321f5f8c261167e4b73ca677149d2883"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth \u003C 4 \u0026\u0026 current \u0026\u0026 typeof current === \u0022object\u0022\u0060 appears character-identically in 4 files \u2014 packages/adapter-utils/src/workspace-restore-diagnostics.ts, packages/plugins/sdk/src/environment-sync-error.ts, server/src/services/ai-connections.ts, server/src/services/native-runtime/native-failed-workspace-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":"packages/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"288b5b64390f90027a941906970b126a627cfa1bb1ef7cf0210b37c0fddd4034"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth \u003C MAX_CAUSE_DEPTH \u0026\u0026 current \u0026\u0026 typeof current === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/db-errors.ts, server/src/middleware/secret-sensitive-request-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":"server/src/db-errors.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"486e6f6309ddd9f3ff1d551692d6fa511811a7e3a986e0d339edd014db23175f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth === 0 \u0026\u0026 hasChildren \u0026\u0026 collapseParentId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ca7dd89e5f87b49076edcce4512cd10b971819fe8701d5d5614e2b620fbf23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth \u003E 12 || candidate === null || candidate === undefined\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3f18088eee94032087ae7099d3cd8a063ada1cba4d322cd8aff36d2e466129"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.starredByCurrentActor \u0026\u0026 \u0022fill-current text-yellow-400\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e433b822684f2611cce4f4291b24b00b95c3b45e879d5084ebdad5286baeaf4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060details[0]!.name !== \u0022Provenance\u0022 || details[0]!.value !== PROVENANCE || details[1]!.name !== \u0022Partial reasons\u0022 || details[2]!.name !== \u0022Col\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd8e294ecd6f2075e8a61687e2967b9a7887a1020b28a2d4645a57730033fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction === \u0022inbound\u0022 \u0026\u0026 method === \u0022session/update\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts, packages/paperclip-runner/src/drivers/acpx/copilot-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":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23186dadfb2e558f217200d8bc6726a12f6315ca1b43853394db789f326638c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction === \u0022inbound\u0022 \u0026\u0026 method === undefined \u0026\u0026 (typeof id === \u0022string\u0022 || typeof id === \u0022number\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts, packages/paperclip-runner/src/drivers/acpx/copilot-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":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"757f36a3f520c73cb69abcb34fe496a3234d7bdea5211fbf56f207b083611d5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction === \u0022outbound\u0022 \u0026\u0026 typeof method === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts, packages/paperclip-runner/src/drivers/acpx/copilot-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":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6a77f20d6f1a5fffe8fbe1b9ccf7e68e958d9946886a95759416ba9763b3dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dirty || !settings.enabled || saving || testing\u0060 appears character-identically in 2 files \u2014 ui/src/components/fast-responses/FastResponseSettings.tsx, ui/src/components/prompt-injection-prevention/PromptInjectionPreventionSettings.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":"ui/src/components/fast-responses/FastResponseSettings.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db16230e1b47aa30d0954ceaa1a012e6df983e85339defe10d27292ab60ed5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060disabled \u0026\u0026 \u0022cursor-not-allowed opacity-60\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/DecisionCard.tsx, ui/src/components/IssueThreadInteractionCard.tsx, ui/src/pages/tools/profiles/ProfileDetail.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":"ui/src/components/DecisionCard.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdb82e37a435c9970639ecd62c74e93005fe6b20c35b9acfa023e27b3d0c3a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060disabled || agent.status === \u0022pending_approval\u0022 || isBudgetPaused || (isPaused \u0026\u0026 hasInvalidOrgChain)\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd77022f89285aa1e24b2df1d77d8d082c012bdf7d1e7ee2b82d975b16c2dd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060disposition.kind === \u0022retry\u0022 || disposition.kind === \u0022delivery_unknown\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/slack/file-receipts.ts, server/src/services/chat-channels/slack/session-status.ts, server/src/services/chat-channels/telegram/maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/file-receipts.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbfe70a5d1379c9dedbedb49369923a6678f89c1944529f8d41e6028c41bf14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draft.slug.trim() || normalizeSkillDraftSlug(draft.name)\u0060 appears character-identically in 4 files \u2014 ui/src/lib/skill-create.ts, ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.tsx, ui/src/pages/SkillStudio.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":"ui/src/lib/skill-create.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5fae7ccc70dec3c48578e1ef2df18d6a8a7f48264d444653c3f39e862ce9a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draftKey \u0026\u0026 loadDraftSubmission(draftKey)?.attemptId === attemptId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071f883bccef7f79637e47f704907cf17ef6e53397ee41263c2349b63263911"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060draftKey \u0026\u0026 loadDraftSubmission(draftKey)?.attemptId === uncertainSubmission.attemptId \u0026\u0026 replayableRequest(loadDraftSubmission(draftKey), d\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":5574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbbbe7abb78be2c44b1b42df0174daf6c5852bb7e68ea3227107ee78098fb70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060editMode \u0026\u0026 Boolean(file?.editable) \u0026\u0026 draft !== savedFileContent\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ee18de97292f3ccbbc08ecd5d83b4472fdf19cf97845a09823d8b4ea12a6f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effectiveIndex \u003C 0 || effectiveIndex \u003E= navCount\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"012fd7f6b29f0076953618555689601d8ec670a50841a1c360c819536881ab9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effectivePath === path \u0026\u0026 \u0022bg-accent/50 text-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"454a26d33c62fc2b0906345e0aba9117a177d5f90cb4b8914ed9325782fa180b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effectiveSlug || draft.name || \u0022new-skill\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.tsx, ui/src/pages/SkillStudio.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04b24b66168fdf0159de4c836e819273ca627f2e6a4d682513f4567c3628f72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effectiveWorkspaceCwd || configuredCwd || process.cwd()\u0060 appears character-identically in 9 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fbfd1634e6f76be15c3fbab80598376fafc590114d89fd33e975224496b9fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enableAgentCreatedVisibilityFilter \u0026\u0026 !viewState.showAgentCreatedTasks \u0026\u0026 !viewState.routineTasksOnly \u0026\u0026 viewState.nestingEnabled \u0026\u0026 viewSta\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4d4a877dc695f7fa08e8f562f83500bc9f163b14932d6375527c338c4854d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enableLiveRunsFilter || enableAgentCreatedVisibilityFilter || enableRoutineTasksFilter\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueFilterPanel.tsx, ui/src/components/IssueFiltersPopover.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":"ui/src/components/IssueFilterPanel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329a5ee2e2392f418b1982c09f3d4d697483f6c62806130c9c7a2fe42ef777d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enableReassign \u0026\u0026 reassignTarget !== currentAssigneeValue\u0060 appears character-identically in 2 files \u2014 ui/src/components/CommentThread.tsx, ui/src/components/IssueChatThread.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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28e1a4867a7210c5952a6b297d6da5ca1c30b9186adb6f66a5646eea51544d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enabled \u0026\u0026 !!issueId \u0026\u0026 !!userId \u0026\u0026 conversationMode === true\u0060 appears character-identically in 2 files \u2014 ui/src/components/coordinator/CoordinatorChatDecisionReceipts.tsx, ui/src/components/coordinator/CoordinatorChatPendingQuestions.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":"ui/src/components/coordinator/CoordinatorChatDecisionReceipts.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a679705afcfa005dec39daef621b474e22adce2d16a3a1fe48e699ca23ffdb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enabled === null || !Number.isFinite(now) || rows.length \u003E idleDeadlineRowLimit\u0060 appears character-identically in 2 files \u2014 server/src/services/external-object-idle-schedule.ts, server/src/services/status-card-idle-schedule.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-object-idle-schedule.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4e5b7b31a7a80f1d4af97fc7e4483867c55bfb15507423264b0d3f447d5ed3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint \u0026\u0026 conversation?.resourceId \u0026\u0026 !conversation.isDirectMessage\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/publications/authorization.ts, server/src/services/chat-channels/slack/file-receipts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/authorization.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7b6ce6b934471671a3d3082329f9f4cd65da5b7bd9f71e90efe57e9bb3a7e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint.provider === \u0022microsoft-teams\u0022 \u0026\u0026 resource.type === \u0022group_chat\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/inbound/surfaces.ts, server/src/services/native-runtime/chat-attachment-reuse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/surfaces.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa13a6d29125fd27bf2f96bbe1b7caabfd33d306122516f72daade84ae010d65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint.providerAccountId || endpoint.botExternalId\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/github/setup-secret.ts, ui/src/pages/apps/chat/ChatEndpointSetup.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":"server/src/services/chat-channels/github/setup-secret.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d1a2221378c0f06a989c8e900dac91bc3a47be612641b7c138b714973b9256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry \u0026\u0026 (!entry.isDirectory() || entry.isSymbolicLink())\u0060 appears character-identically in 2 files \u2014 server/src/services/isolated-remote-workspace-source.ts, server/src/services/nested-repository-worktrees.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-remote-workspace-source.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acffa695a3c31a80f8ceec5d86630fd699d64e2847066e9f2c8cd21ba1205dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry \u0026\u0026 typeof entry === \u0022object\u0022 \u0026\u0026 !Array.isArray(entry)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts, server/src/services/chat-github-reviews.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f6597ba9f369959db82628295aa97d650f1a568d78c89c504e676c6669544"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry === null || typeof entry !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, server/src/middleware/redact-sensitive.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e136b58a879f7fc44c8a0383239ab7c99009bc5d7afa59990cf99525e15c0ee3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.companyId === companyId \u0026\u0026 entry.status === \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 scripts/verify-needs-you-checklist.ts, ui/src/lib/attention-views.ts. It is one line, so the duplication detector\u0027s token 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/verify-needs-you-checklist.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb30344d79ac5f328d655a4ffd50a2d7eefde680bc8b1ff367d649b1e904313"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.effect === \u0022include\u0022 \u0026\u0026 entry.catalogEntryId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/AppDetail.tsx, ui/src/pages/apps/Connections.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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4bc63cefe1c63d14de56f59d6cd47973cacf8fabfeced0d8aaf9b2ee718631"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.effect === \u0022include\u0022 \u0026\u0026 entry.connectionId\u0060 appears character-identically in 3 files \u2014 server/src/services/heartbeat/run-preparation.ts, server/src/services/native-runtime/runtime-context.ts, ui/src/pages/AgentToolsTab.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":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"3612f7ce8cdda20901c2b7965198dd0101370f9fa5a818f393e619b9917888bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.effect === \u0022include\u0022 \u0026\u0026 entry.selectorType === \u0022connection\u0022 \u0026\u0026 entry.connectionId\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/run-preparation.ts, ui/src/pages/tools/profiles/profile-model.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-preparation.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd27a2e3203161bbf9191864c5a88d148ed6cdbd2541b96d33538aa59523bf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.endsWith(\u0022/.paperclip.yaml\u0022) || entry.endsWith(\u0022/.paperclip.yml\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/company.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"337457c9923ec69062a6b2f8bd435ad84b09691cf0c1c8aeeba395f5bcb99081"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.id === selectedCatalogRef || entry.key === selectedCatalogRef\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d342ac6b347f5369dda121e9f97362a4dcfe8723421b5b710fdc51485fedc6d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isDirectory() \u0026\u0026 !entry.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/live/runnerd-codex-transport.ts, server/src/services/workspace-recovery-fallback.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d10481bf25a791f3ac53269a6f00a826e4dd5f87e3a1eed940e4745af0069e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isDirectory() \u0026\u0026 PROJECT_REPOSITORY_STAGING_PATTERN.test(entry.name)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, packages/adapter-utils/src/ssh.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"975c6d34a36e5d4119a1972225a7e9879380a6b60835e460833d2ba5066a0858"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0022.json\u0022)\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/sandbox-callback-bridge.ts, packages/paperclip-runner/scripts/protocol-contract.mjs, server/src/services/local-service-supervisor.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"560a6865d1fa0a9d37c8cc6a8eaded6547ccd621f7b3c451d6f1091694643101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0022.sql\u0022)\u0060 appears character-identically in 2 files \u2014 packages/db/src/client.ts, server/src/services/plugin-database.ts. It is one line, so the duplication detector\u0027s token 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/db/src/client.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"36510faf2a6019dbd68b4b8bdae6cd2b1dd9dcebfe4d534103951f659987c503"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() || entry.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner-snapshot.mjs, scripts/dev-runner.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/dev-runner-snapshot.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9fda52ca4b853d7232ea4983d964d7890f00125535dc12ec5daf1511b389bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.kind === \u0022request\u0022 \u0026\u0026 entry.status === \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx, packages/paperclip-runner/src/react/runner-console-app.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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dde6286405c2ffbc203b98333c45d4d0086c19650e5ae3c62973a68c16b100f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.name === \u0022.git\u0022 || entry.name === \u0022node_modules\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/company-skills.ts, server/src/services/skill-installation-maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f9965766d2e861cdbf8303bcfd98adc6cc5b1800e695e36ddf5b322e7f33d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.name === \u0022node_modules\u0022 || entry.name === \u0022dist\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check-module-boundaries.mjs, server/src/routes/plugins.ts. It is one line, so the duplication detector\u0027s token 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/check-module-boundaries.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aa71cf2956b01fd01e1b6818feaf72a780b2d58f8425a8231bbbf7a7eb9585"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.name === \u0022node_modules\u0022 || entry.name === \u0022dist\u0022 || entry.name === \u0022.git\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/scripts/prepare-publish-package.mjs, scripts/release-package-map.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/adapters/hermes/scripts/prepare-publish-package.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5690a5850eb6cc284a117f17e6b661f140450e8dd4cbe62f1eb810b18d7abe85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.selectorType === \u0022application\u0022 || entry.selectorType === \u0022connection\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/tools/ProfilesTab.tsx, ui/src/pages/tools/profiles/ProfileDetail.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":"ui/src/pages/tools/ProfilesTab.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"705fcce37900be731e87279cb8149c9b12abd3498383848b974bd1bec86efb59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.selectorType === \u0022catalog_entry\u0022 \u0026\u0026 entry.catalogEntryId\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/profiles/projection.ts, ui/src/pages/tools/profiles/profile-model.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/profiles/projection.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce19ed71a6a4c51a35c5c25faa582f004d828e3e49e7ee27e9f64a9c06a0da04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.selectorType === \u0022risk_level\u0022 \u0026\u0026 entry.riskLevel\u0060 appears character-identically in 3 files \u2014 server/src/services/connection-management.ts, ui/src/pages/tools/profiles/ProfileDetail.tsx, ui/src/pages/tools/profiles/profile-model.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-management.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b653784ea8f89b66560ba61abc2416f35908b5e49c3fd3993d6da39d20b279e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.selectorType === \u0022tool_name\u0022 \u0026\u0026 entry.toolName\u0060 appears character-identically in 2 files \u2014 server/src/services/connection-management.ts, ui/src/pages/tools/profiles/profile-model.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-management.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"67546ae35d1b97fa12ee39844f8144071bb95a4982b62915a5ef60b8982c933d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.startTime \u003E= start \u0026\u0026 entry.startTime \u003C= end\u0060 appears character-identically in 3 files \u2014 server/scripts/benchmark-blocker-stall-waiters.ts, server/scripts/benchmark-native-progress-page.ts, server/scripts/benchmark-run-event-append.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-blocker-stall-waiters.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed65e8aa66930e9a02d25107922a5bd163f1880909a5692cb96577dc8e19d6f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry?.isDirectory() \u0026\u0026 !entry.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 server/src/services/remote-workspace-migration-tree.ts, server/src/services/remote-workspace-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":"server/src/services/remote-workspace-migration-tree.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5036aa50a6f0932c32fd88843666720d027c39d5f3e28c57ea7faf8c4486022"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.CARGO_HOME || path.join(os.homedir(), \u0022.cargo\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/agent-build-cache.mjs, scripts/runner-debug-crate-cache.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/agent-build-cache.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b2926f004030ab56a6fb261c5df457d3a510783013c94cb611040b11932fa1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060envMasterKey \u0026\u0026 envMasterKey.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, cli/src/config/secrets-key.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fb1fb100a8d7f693d8b3200f95aa91ef249fccc5ab930b8a13dc53a69e0ce4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environment !== \u0022development\u0022 \u0026\u0026 environment !== \u0022test\u0022 \u0026\u0026 environment !== \u0022staging\u0022 \u0026\u0026 environment !== \u0022production\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/ack-retirement-receipt.ts, server/src/services/paperclip-cloud-connector.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/ack-retirement-receipt.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec7e0d77c6c64a0831ad7dfc4266b8a5a7964cc8b58a25eab41e9ca880d0f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environment \u0026\u0026 environment.driver !== \u0022local\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/agent-harness-verification.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2418c4ac0b8f24c45dbcdc46c9f30fc2c1362e3fd183b68bed8c7dddb4d7277"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environment.config \u0026\u0026 typeof environment.config === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/environment-selection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"260b10a995bcb26a1b9309cc42cac7e9024e6b623136e7bb02601bacf2022373"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environmentId === undefined || environmentId === null\u0060 appears character-identically in 3 files \u2014 server/src/routes/agents.ts, server/src/routes/issues.ts, server/src/services/environment-selection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85e8b7b2ba3a1c190a5164b977dfdf303b5331975ee8b556180c9de3cb13800"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environmentsEnabled \u0026\u0026 (environments === undefined || environments.length \u003E 1)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdba473325192f5f1fe08c49b8b51ff526d48a16eef744d71357711597eda6b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environmentsEnabled \u0026\u0026 environments === undefined\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8bb92409aa7e18c53a067beecdf8296e98602d874d739ab998bf0781b80462"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof ApiError \u0026\u0026 (err.status === 403 || err.status === 401)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c8082ffa64fd464f3eb0da415743432518c0f1207fa01833d61e35d316c1d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof ApiError \u0026\u0026 err.status === 404\u0060 appears character-identically in 2 files \u2014 ui/src/components/run-log/LogViewer.tsx, ui/src/pages/CompanyImport.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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"683fad88a13042199f0726b20ebb8b8a56c86fee6a46f067820993532e0797dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof HttpError \u0026\u0026 err.status === 403\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/heartbeat/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":"server/src/routes/agents.ts"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9be2ffa8b4d515f6cd1e4e42e52428c42836ea8294efb09b196f34138dd51f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof HttpError \u0026\u0026 err.status === 422\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/managed-environments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":16163}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fcfdb8b53b89e675bdb7fd1ad85b207868112d969d8b8fade498daa08c8939"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof HttpError \u0026\u0026 err.status \u003E= 400 \u0026\u0026 err.status \u003C 500\u0060 appears character-identically in 3 files \u2014 server/src/routes/issues.ts, server/src/services/heartbeat/queue.ts, server/src/services/heartbeat/scheduling.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":21203}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b719a1eb8db69675b691c43742439a2b160318e0cb0a00f40dbf226ee4be33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.details \u0026\u0026 typeof err.details === \u0022object\u0022 \u0026\u0026 !Array.isArray(err.details)\u0060 appears character-identically in 2 files \u2014 server/src/middleware/error-handler.ts, server/src/routes/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/error-handler.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2818c9fe74c03f48618397fbbe33365e3423a135c69802a95faf66395dec167"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0022object\u0022 \u0026\u0026 \u0022code\u0022 in error\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts, server/src/services/environment-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":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6735c9ed1cd66071116af439fa1b4912518b6c2513257686e1cb5405016970a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0022object\u0022 \u0026\u0026 \u0022status\u0022 in error \u0026\u0026 error.status === 403\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack-catalog.ts, server/src/services/connectors/slack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-catalog.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a995f8bc32b92ae9c8f0dd10867474fed06ec0b0ca2d012f02c1b18c21fb8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0022object\u0022 \u0026\u0026 \u0022stderr\u0022 in error \u0026\u0026 typeof error.stderr === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 cli/src/commands/install.ts, server/src/services/environment-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":"cli/src/commands/install.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e7011b3f439e2cb84c7db8b14769a768af373eb6795d8209633640fa4be904"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error === deadlineError || error === outputLimitError\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/supabase/index.ts, server/src/services/connectors/vercel/index.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9b620ba2dd59b206df52486a38c0bc4c30b953de6185c2b04f2153a7759b6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error === deadlineError || signal.aborted || Date.now() \u003E= deadlineAt\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/supabase/index.ts, server/src/services/connectors/vercel/index.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdbb8c2a0e28985d5b8e54724182e4676d4b727e00a3e5fcfda3f05acc478d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ApiError \u0026\u0026 (error.status === 401 || error.status === 403)\u0060 appears character-identically in 2 files \u2014 ui/src/components/CompanySettingsSidebar.production.tsx, ui/src/components/CompanySettingsSidebar.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":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e27b940937d2f9483dc40051e63193f60cd97520d965f68047e5b84ddebc49f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ApiError \u0026\u0026 error.body \u0026\u0026 typeof error.body === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/features/connections/ConnectionSetupFlow.tsx, ui/src/pages/CliAuth.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":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a36ea9d1145c5d81b1db96d46722d6e92ab9c86d195edab0f9772b497ddcef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ApiError \u0026\u0026 error.status === 404\u0060 appears character-identically in 8 files \u2014 ui/src/components/AgentConfigForm.tsx, ui/src/components/MarkdownBody.tsx, ui/src/components/mcp-app/McpAppView.tsx, ui/src/components/onboarding/SavedProviderKeySelect.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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"859befa1e47660e1ea5f5355b676f51cd84637bcefe4ba28bdc10ca9d8601aae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ApiError \u0026\u0026 error.status === 409\u0060 appears character-identically in 5 files \u2014 ui/src/components/IssueDocumentsSection.tsx, ui/src/components/RoutineHistoryTab.tsx, ui/src/pages/CompanyEnvironments.tsx, ui/src/pages/IssueDetail.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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1985fdb6081da5a2537ef0b885dd34db3d9a49ddfa062b7bb9c5fee24b0cb999"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ApiError \u0026\u0026 error.status \u003E= 400 \u0026\u0026 error.status \u003C 500\u0060 appears character-identically in 2 files \u2014 ui/src/hooks/useTaskRetry.ts, ui/src/pages/Inbox.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":"ui/src/hooks/useTaskRetry.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3045e1b40dd3050b6a378d2bee5280b860c1fa0c02a7b98f575dfc69f9a65449"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof CreateosApiError \u0026\u0026 error.status === 404\u0060 appears character-identically in 3 files \u2014 packages/plugins/sandbox-providers/createos/src/client.ts, packages/plugins/sandbox-providers/createos/src/execute.ts, packages/plugins/sandbox-providers/createos/src/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":"packages/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9260c234b759cbde889f602e8a9825b9c9fcb8f9c176871b748b56368c56c2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof CreateosApiError \u0026\u0026 error.status === 409\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/createos/src/client.ts, packages/plugins/sandbox-providers/createos/src/execute.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccecd30f2c94a361a5852e16baba641b093c221b6e3bf8bdfc1bce0375b803f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof DOMException \u0026\u0026 error.name === \u0022AbortError\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueThreadInteractionCard.tsx, ui/src/components/StandaloneBrowserControls.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":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04886d0677407901acfc44d1286ca798c90440e461c6b2ee0f0394d790f6923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0022code\u0022 in error\u0060 appears character-identically in 3 files \u2014 cli/src/config/store.ts, packages/shared/src/worktree-port-registry.ts, server/src/worktree-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":"cli/src/config/store.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7712d7b2827a74e46fde323fa62fe5232b460001c120a8680e81129d5fd07cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0022code\u0022 in error \u0026\u0026 error.code === \u0022ESRCH\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/ssh.ts, packages/shared/src/worktree-port-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":"packages/adapter-utils/src/ssh.ts"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"6503730f366976bcbe167abc5eacd8a56d564d3c22d7a8c7b85e18f143c5e216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0022code\u0022 in error \u0026\u0026 error.code === \u0022semantic_tool_outcome_unknown\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/native-session-backend.ts, packages/paperclip-runner/src/control-plane/orphaned-tool-callback.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/native-session-backend.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe789731444cdaba4e2105f8658bc61700db55f17686f5791cc9f963b8b812cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0022status\u0022 in error\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-github-client.ts, server/src/services/connectors/slack/setup/completion.ts, server/src/services/connectors/slack/setup/customer-owned.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-client.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a435a3b3fc3d307e4d2d02a5f6bf09b23a488e6f6d94793b756b18efec2215ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0022status\u0022 in error \u0026\u0026 error.status === 403\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-github-response-comments.ts, server/src/services/connection-management.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-response-comments.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb74d8a3e0b4d1c680ecd793d54f60538a8225009f0336508977765ed5200aa3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0027details\u0027 in error\u0060 appears character-identically in 2 files \u2014 server/src/services/skill-source-github-access.ts, server/src/services/skill-source-retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b71e7ccfe1495b5e3c1246b09351f212b58c18d8e6345818ff6e99b7a4dc63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0027status\u0027 in error\u0060 appears character-identically in 3 files \u2014 server/src/services/skill-source-github-access.ts, server/src/services/skill-source-sync.ts, server/src/services/skill-sources.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-github-access.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a0be85eab63992102c976f6973f22ca5729630a3606be68bca226f098a873e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 /^[a-z][a-z_]\u002B$/.test(error.message)\u0060 appears character-identically in 2 files \u2014 server/src/services/git-workspace-expiration.ts, server/src/services/isolated-task-directory-retention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-expiration.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f05eb3842266aa8204760d2e7646c31e6332d91fc1ec27afe2f1605028573b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 [ \u0022paperclip_runner_chat_attachment_binding_denied\u0022, \u0022paperclip_runner_chat_attachment_destination_denied\u0022, \u0022paper\u2026\u0060 appears character-identically in 3 files \u2014 server/src/services/native-runtime/chat-attachment-reuse.ts, server/src/services/native-runtime/native-chat-review-presentation.ts, server/src/services/recovery/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":"server/src/services/native-runtime/chat-attachment-reuse.ts"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"963438699af42e0d0795927b5f103bfa6e9742ef4449c8a133bd84c24a3bf6ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 [\u0022PAPERCLIP_CLOUD_RUNTIME_IDENTITY_JWKS is not configured\u0022, \u0022PAPERCLIP_CLOUD_RUNTIME_IDENTITY_JWKS is invalid\u0022, \u0022C\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/form-ack-work.ts, server/src/services/chat-channels/slack/form-retirement-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/form-ack-work.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0f137db138ffdc1ff650f53ba1a14fa88c46a09c3821858954d67263e0c090"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 [\u0022continuation_user_authorization_missing\u0022, \u0022continuation_source_context_missing\u0022, \u0022continuation_task_ownership_ch\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/task-retry-authority.ts, server/src/services/explicit-native-continuation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/task-retry-authority.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df442b3d8c1d2e34c3ee2a47464989c362dd6df3fd9877eb0dc3c7a7b975e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.message === \u0022remote_workspace_authority_changed\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/fresh-continuation-fallback.ts, server/src/services/recovery/remote-workspace-unsaved-files-settlement.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f636d5793e132df87da7d66d2b4b5f3b6be522bf914bf591f7057f06aa83780b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.message === REMOTE_WORKSPACE_SANDBOX_DISK_FULL\u0060 appears character-identically in 2 files \u2014 server/src/services/remote-workspace-transport.ts, server/src/services/workspace-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":"server/src/services/remote-workspace-transport.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c79df3c793b13e461a37e9e284d4fdfa8d1d10a1d284771c9f8cb0f07d9c82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.message.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueRunLedger.tsx, ui/src/components/issue-properties/IssueProperties.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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fae6c6487ff7fb2608776b3685559ebb6673396360e4ec68f140d987bbf871"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.name === \u0022AbortError\u0022\u0060 appears character-identically in 4 files \u2014 cli/src/commands/client/plugin.ts, scripts/verify-release-registry-state.mjs, server/src/services/native-runtime/remote-provider-pack.ts, ui/src/pages/CompanyExport.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":"cli/src/commands/client/plugin.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"930c808e53fd17945d0e0afb2bd77dbb69daf24aed6db76cf9a3975692ecb78c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof GitCacheRestorationFailure \u0026\u0026 error.step\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/git-workspace-restoration.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"3839ea56748078634c60e202dc7dbd633b1a7a21a26f284dfbd734e3afac20a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 [400, 401, 403, 404, 422].includes(error.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/cloud-signing-secret.ts, server/src/services/chat-channels/slack/form-owner.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-signing-secret.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f976333508acf889b169be0bf02f1d8d5fb6e8b8c96221f0e21e73d6a128c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 [403, 404, 409].includes(error.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/imessage-photon/events.ts, server/src/services/voice/speko-agent-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":"server/src/services/chat-channels/imessage-photon/events.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"e177835a650e3cfb593df5b4f3262c3a4c80cf5985b8e51cfab3e351407575e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 [403, 404].includes(error.status)\u0060 appears character-identically in 8 files \u2014 server/src/routes/cases.ts, server/src/services/chat-channels/inbound/authorization.ts, server/src/services/chat-channels/speko/runtime.ts, server/src/services/email-connections.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b46f49e6ba7b63faf129a26fe3e265d16738a5cc9e9a75c5e4499e079013256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 [403,404].includes(error.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/voice/voice-reply-push.ts, server/src/services/voice/voice-session-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":"server/src/services/voice/voice-reply-push.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c747a6cb3e1122ca4c6a3d650db839d56705745716516b3f64abafef63ae151b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 asRecord(error.details).code === \u0022github_access_changed\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/catalog/health.ts, server/src/services/tool-access/catalog/publication.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/health.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a9d0ba7adc2add5296163736324fa8f87e8be06862f1cdadf57cfae5f8deba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 error.details \u0026\u0026 typeof error.details === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/credentials.ts, server/src/services/chat-channels/github/retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"600a9909d677d8d7f8fcfe55e5f0cf6fda5954920accc2b23a32791035eda20b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 error.status \u003C 500\u0060 appears character-identically in 4 files \u2014 server/src/routes/issues.ts, server/src/services/agent-directory-working-copies.ts, server/src/services/chat-channels/github/retry.ts, server/src/services/secrets.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":9068}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d83cd064ecde59b2f8025ef28527dd0abb322caa2d7b32191fb8546f38539c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 error.status === 403\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/github/review-wait.ts, server/src/services/chat-github-reviews.ts, server/src/services/slack-board-authority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/review-wait.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c22ed6e73ba864905c444e59ced1b5c091f80aaceeba5abf3124ab5d7fb4b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 error.status === 404\u0060 appears character-identically in 2 files \u2014 server/src/services/budgets.ts, server/src/services/native-runtime/paperclip-runner-tool-authority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budgets.ts"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f93981359ce85d596bfb3abbcaf3bfda6d5b336193cb2d3b639dca8b8823a5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 error.status === 409\u0060 appears character-identically in 4 files \u2014 server/src/routes/attention.ts, server/src/services/secret-proposals.ts, server/src/services/secrets.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/attention.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9adc173f8cffb03b12525ff97f785555344f6a21441291d0c728431bcb9889"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof HttpError \u0026\u0026 error.status === 429\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack-writes.ts, server/src/services/tool-access/token-broker/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":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"094342906c20da8621e5c6ec57d1f3798c9d2e7521f295533ed4d2551829ebf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof NativeRuntimeRequestResolutionError \u0026\u0026 error.code === \u0022runtime_request_stale_turn\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/native-runtime/native-runtime-response-delivery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7557}}}],"partialFingerprints":{"codehealthFindingId/v1":"676679270f7dcf5d9816caf264b2ce1130fdf9167081d25930e24ed124d09031"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof PaperclipCloudConnectorError \u0026\u0026 error.code === \u0022REAUTHORIZATION_REQUIRED\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/grant-refresh.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/grant-refresh.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc209b1f8193714b06038ac946f404326d9fced61681d7de56e62542639e535d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof VercelConnectClientError \u0026\u0026 error.code === \u0022vercel_connect_authorization_required\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/vercel-credentials.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/vercel-credentials.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba5847a7fa48a9bb304d53f4b283629956ff0b26d4a1cb85d207bb35cdfba15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.code === \u0022ENOENT\u0022 || error.code === \u0022ENOTDIR\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, packages/adapter-utils/src/sandbox-managed-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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"219168cc344fb9e1ac0e28a69398b8aa9f02addb5e40f81bedf4862fbf0b527a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.status === 401 || error.status === 403\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-publication-errors.ts, server/src/services/vercel-connect.ts, ui/src/pages/secrets/ImportFromVaultDialog.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":"server/src/services/chat-publication-errors.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33a32231bd52ce5b7fa04970c25f75041ea26f0615077d2dee1481f2441bd3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.status === 403 || error.status === 404\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-models.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f987d051ded2ab061f536739876d27e7877b426782be737170fc35988b83d51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorCode === \u0022authentication_required\u0022 || errorCode === \u0022permission_denied\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/ai-account-identity.ts, server/src/services/ai-connection-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":"server/src/services/ai-account-identity.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"372db95f7fd644cd20c64b5cf152356100646d1c52e1ea8cc739003359fbe210"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.defaultPrevented || event.button !== 0 || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey\u0060 appears character-identically in 3 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.tsx, ui/src/pages/CompanyEnvironments.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8fc17a8888fd48086361c6b522cd506424437196f0889de2db49576fde5a4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.details \u0026\u0026 Object.keys(event.details).length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/routine-sections/editable-sections.production.tsx, ui/src/components/routine-sections/editable-sections.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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a34940c308cc5c143639cd9368068958d6816341d5b5b5fac8b5d6b2f359c61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.event === \u0027blocked\u0027 || event.unexpectedAttempts?.length\u0060 appears character-identically in 2 files \u2014 scripts/test-skill-default-cadence.mjs, scripts/test-status-object-signed-sleep.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/test-skill-default-cadence.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"383b3940a470dd52cad7b5e4f16c3efc8e69f6402d5fe03e63c0979e3e0bb66e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.eventType === \u0022item.completed\u0022 || event.eventType === \u0022item.failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8058533cce33a3621e3ca58ebf2e7bf6e0d27c59065532a8c02c2c052e5aedb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.itemId === undefined || !event.eventType.startsWith(\u0022item.\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd8cae5caac5fc074e3b705ddb43edc3a749999ad39fe678748916a529ad1d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key !== \u0022Enter\u0022 \u0026\u0026 event.key !== \u0022 \u0022\u0060 appears character-identically in 3 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/app.tsx, ui/src/components/InlineEditor.tsx, ui/src/components/IssueRow.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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7637d55edc4a86019a018abaef4274ceac94f5750af3b4734f93da082921b2d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022ArrowDown\u0022 || event.key === \u0022ArrowRight\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/ui/radio-card.tsx, ui/src/features/connections/GenericMcpConnectStep.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":"ui/src/components/ui/radio-card.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf9e42b60ec6ea5795b7b5bae6f348e485094d21e4fb323717dc03d1abc059d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022ArrowLeft\u0022 || event.key === \u0022ArrowUp\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/onboarding/ModelSourceTiles.tsx, ui/src/features/connections/MachineSignInSetup.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":"ui/src/components/onboarding/ModelSourceTiles.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"009021cf5d3ad872aad8d2d4f3a8bbad3bd74a825c8ac8c0ba3b7cdcc83bfd8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022ArrowRight\u0022 || event.key === \u0022ArrowDown\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/onboarding/ModelSourceTiles.tsx, ui/src/features/connections/MachineSignInSetup.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":"ui/src/components/onboarding/ModelSourceTiles.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7579e49db04b6e6ce308202c333c086aba3e8d1b5f31396e77e5e024385525"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022ArrowUp\u0022 || event.key === \u0022ArrowLeft\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/ui/radio-card.tsx, ui/src/features/connections/GenericMcpConnectStep.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":"ui/src/components/ui/radio-card.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3df70ca989b0a5359c958a0d5ed162ea77964ad86a64a9d6ba726fb29bcbd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 \u0026\u0026 !event.metaKey \u0026\u0026 !event.ctrlKey \u0026\u0026 !event.nativeEvent.isComposing\u0060 appears character-identically in 4 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.tsx, ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9581a50fbf9b9bbe5bb853d6d42108bcc8d2d1fd9f5f2eb8ae1eb2981cec8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 \u0026\u0026 !event.shiftKey\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/devtools/browser/src/components/ui/composer.tsx, packages/paperclip-runner/src/react/components/composer.tsx, ui/storybook/prototypes/composer-model-picker/ComposerRunSettingsLiveStory.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/paperclip-runner/devtools/browser/src/components/ui/composer.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f754992a61d3540681004d78b513aef98ec727ceb303ee8a56daec19d1cd8d5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 \u0026\u0026 (event.metaKey || event.ctrlKey)\u0060 appears character-identically in 5 files \u2014 ui/src/components/CommandPalette.tsx, ui/src/components/DocumentAnnotationPanel.tsx, ui/src/components/DocumentAnnotationPopover.tsx, ui/src/components/task-chat/RunnerGoalWidget.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":"ui/src/components/CommandPalette.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"613fe4342782cefbb48fadd0ad7fc0f98fcc96d4aa039730ebb374f91c66e2c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0022Enter\u0022 || event.key === \u0022 \u0022\u0060 appears character-identically in 7 files \u2014 ui/src/components/IssueRow.tsx, ui/src/components/task-chat/ComposerAddMenu.tsx, ui/src/components/transcript/RunTranscriptView.tsx, ui/src/pages/AgentDetail.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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa5a5a80ded0f9b26d70a7145173bf832438a89e2b59be4da76364a3b12d3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.metaKey || event.ctrlKey || event.shiftKey || event.altKey\u0060 appears character-identically in 3 files \u2014 ui/src/components/ArtifactFileChip.tsx, ui/src/components/WorkspaceFileLink.tsx, ui/src/components/WorkspaceFileMarkdownBody.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":"ui/src/components/ArtifactFileChip.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"23659ce782a5a7ba2c2a46b0620f07c452cee2005ee238b9d3ea40e86ae0259c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.payload \u0026\u0026 typeof event.payload === \u0022object\u0022 \u0026\u0026 !Array.isArray(event.payload)\u0060 appears character-identically in 2 files \u2014 packages/plugins/plugin-llm-wiki/src/wiki/core.ts, server/src/services/native-runtime/native-restart-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":"packages/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"101aa93be575b847002a47408d17187fbec77872d3f3cc0c144f56b7d807fe4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.text !== \u0022\u0022 || event.stream !== \u0022output\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts, packages/paperclip-runner/src/drivers/acpx/pi-message-projection.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/kimi-message-boundary.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadc95d63fa5206834113f63c47f261708bb6084afd95d7ba38a25b8b157e171"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type === \u0022heartbeat.run.event\u0022 || event.type === \u0022heartbeat.run.log\u0022 || event.type === \u0022heartbeat.run.tool_progress\u0022\u0060 appears character-identically in 2 files \u2014 server/src/realtime/live-event-delivery.ts, server/src/realtime/live-events-ws.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de21b3a26c994990b1f9903a06ba2e7717f6a34144c9398ba1976c813841f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type === \u0022status\u0022 \u0026\u0026 event.tag === \u0022usage_update\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5344}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b438f06f4ef8f981c3a2209415ee595fd458a51eefe637ec038ff74b649ddb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eventName === \u0022run.failed\u0022 || eventName === \u0022run.error\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/gateway-ui-parser.cjs, packages/adapters/hermes/src/gateway/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40a9a920b0f5957e5789740d76a70c6dda938bd6a7cdd407dd4ba1a02028ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evidence.promptRequestsSent === 1 \u0026\u0026 !terminalSeen\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/qualify-copilot-acp.mjs, packages/paperclip-runner/scripts/qualify-cursor-denial.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/paperclip-runner/scripts/qualify-copilot-acp.mjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bad26e62e37ba3f6472af1e39a009c2c0c69b367fafaba74ba8362c718b569d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060excerpt.length \u003E= 3 || chars \u002B line.length \u003E 280\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0fc2d82472b93f82979e2c2df49d3dfd16716da7f4820d4ce68c9a04863c4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executionTarget?.kind === \u0022remote\u0022 \u0026\u0026 executionTarget.transport === \u0022sandbox\u0022\u0060 appears character-identically in 5 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts, server/src/services/heartbeat/instruction-working-copy.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0188dcc9be422172f9999c31a2ca6fc50bf048f6aa0ddee59fbcf0351b42e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executionTarget?.kind === \u0022remote\u0022 \u0026\u0026 executionTarget.transport === \u0022ssh\u0022 \u0026\u0026 executionTarget.spec.useHostAuth === false \u0026\u0026 config.managedAiC\u2026\u0060 appears character-identically in 4 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2bdb05d427f4e1fdbf2acd712bc7b8dae1f3c38f84b2b8442f686b9fbb17c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executionTarget?.kind === \u0022remote\u0022 \u0026\u0026 executionTarget.transport === \u0022ssh\u0022 \u0026\u0026 executionTarget.spec.useHostAuth === true\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/execute.ts, packages/adapters/grok-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"38de56cac2e784b2ddd478bb36e6af962884550f14bde5c318d292e95035990c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executionTargetIsRemote \u0026\u0026 adapterExecutionTargetUsesPaperclipBridge(executionTarget)\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9248fbcbeba9d2bf4259144dc4acc1f8a6f3340912766f8c7dd2a0e462903ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executionTargetIsRemote \u0026\u0026 adapterExecutionTargetUsesPaperclipBridge(runtimeExecutionTarget)\u0060 appears character-identically in 5 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"864499c93081ab71851bcec226583c0f6c1e8b1a424acc7c2c69ac2e90191895"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executionTargetIsRemote \u0026\u0026 runtimeSessionId \u0026\u0026 !canResumeSession\u0060 appears character-identically in 6 files \u2014 packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/grok-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"99070ab8a5493d546e0e44ec128e085777e8a8aaade5cd4603bcb2e8dceda7b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing \u0026\u0026 (!existing.editable || existing.binary || existing.virtual)\u0060 appears character-identically in 2 files \u2014 ui/src/lib/agent-configuration/resolve.ts, ui/src/lib/agent-configuration/save.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-configuration/resolve.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef015c9a3f25bdc6c32fa50bad586266163207d46376ebe2c5f49f9ecb9694c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing \u0026\u0026 existing.fingerprint !== fingerprint\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, packages/paperclip-runner/src/drivers/runner-tool-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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cce936455daff0c870562680c60d3a0561f9c44fa4be7572d7ee51f2fc658c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing \u0026\u0026 sameManifestExceptGeneratedAt(existing, firstPass.manifest)\u0060 appears character-identically in 2 files \u2014 packages/skills-catalog/src/catalog-builder.ts, packages/teams-catalog/src/catalog-builder.ts. It is one line, so the duplication detector\u0027s token 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"784f4aa15b1ea29913acc157ed52d9b0ee1edefba7761ad236e128befe2bfc74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.costStatus === \u0022unpriced\u0022 \u0026\u0026 receipt.costStatus !== \u0022unpriced\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/decision-models.ts, server/src/services/fast-responses.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ac19fec0e3af2995d4365a25dbaf67207518f27fe8b3021f9a7804d6c63096"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.isSymbolicLink() || !existing.isDirectory()\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/workspace-restore-merge.ts, packages/adapters/codex-local/src/server/codex-auth-cache.ts, packages/adapters/codex-local/src/server/device-login-export.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-restore-merge.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555955368fd6f554e23ccb197c5c2227f49f6493257c2cc638aa220b31cd7f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.receiptHash !== receiptHash \u0026\u0026 existing.receiptHash !== legacyHash\u0060 appears character-identically in 2 files \u2014 server/src/services/costs.ts, server/src/services/finance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a99a9706d3a69d8f2197315db71e033703ace6a544ac439299de28e93266f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing?.qualifiedAt || (input.enabled \u0026\u0026 qualificationAttested)\u0060 appears character-identically in 2 files \u2014 server/src/services/managed-agent-profiles.ts, server/src/services/remote-agent-profiles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfe5a3d28b4294c556c913a9272da3404497ca6827b906101064af063f67c9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060experimental.enableMuse !== true || experimental.enableNativeRunner !== true\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"18159b82470c74bc07658c931ff72e0581aa1cdaa3d818f650e480d36fdd4bca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060experimentalSettings === undefined || experimentalSettings.enableManagedSandboxOnly === true\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueWorkspaceCard.tsx, ui/src/components/issue-properties/IssueProperties.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":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2d7e7730eaf24297676beae2bfeb710262f6efa944790f6296af01608cefde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060experimentalSettings === undefined || managedSandboxOnly\u0060 appears character-identically in 2 files \u2014 ui/src/components/AgentConfigForm.tsx, ui/src/components/ProjectProperties.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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbaeda5311eca537d208537012e48ee7fc1e8dd4d20c7a4533b22d5ac8204ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060explicitSlug \u0026\u0026 explicitSlug !== candidate.slug\u0060 appears character-identically in 2 files \u2014 packages/skills-catalog/src/catalog-builder.ts, packages/teams-catalog/src/catalog-builder.ts. It is one line, so the duplication detector\u0027s token 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6980ba431029cae2d863763df5c9b34a08871b4897f18d88f1b6e7b6ae711afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exporting || feed.isLoading || items.length === 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"416c637ca3423c7837186c54be74609bb253adb84586f635ac482abf83ec03f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060externalObjectSummariesReady \u0026\u0026 !externalObjectSummariesLoading\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40f48f813ceb09fb89c43c81b3e6a9dbe22d97dcf6ce36cf956d8f5f338c858"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060facet !== null \u0026\u0026 event.eventType !== facet\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/Inspector.tsx, packages/paperclip-runner/src/react/inspector.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/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a051135644f5be81b520f3f14d537020b26e8d48b58044b0951aa6285e64d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fallback \u0026\u0026 selectedCompanyId !== fallback.id\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3e81ae8b75d825b97a0d4f8619f4366231db54e72b89aba93a57f53292048f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060feed.error instanceof ApiError \u0026\u0026 feed.error.status === 403\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b124a3a94dcbd2931cf2851256a64969fd50b9e2007101af9d8bae9c6dcfc6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060feedView.kind === \u0022loading\u0022 || feedView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/coordinator/CoordinatorNeedsYou.tsx, ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8108b189e6e2b8618efa21ce8bfdfef668d4f7482d1983c24d2ad31937af03d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field === \u0022signingSecret\u0022 || field === \u0022webhookSecret\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/credentials.ts, server/src/services/satisfied-connection-intents.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/credentials.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdfc2760d2309311342734f077fe8511a73233896d268b2507edf8f8a6ce4b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.additions === null || file.deletions === null\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/drivers/codex/codex-turn-diff.ts, packages/paperclip-runner/src/live/workspace-diff.ts, server/src/services/provider-trace-workspace-diff-reprojection.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98d9f7d0524a1a0797bb54ef21808b6c26de534d24300cd56e5876fd6a2e95f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.kind === \u0022asset\u0022 || file.kind === \u0022other\u0022\u0060 appears character-identically in 2 files \u2014 packages/skills-catalog/src/catalog-builder.ts, server/src/services/skill-installation-maintenance.ts. It is one line, so the duplication detector\u0027s token 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8592bb1e6f3f4e386283a340d874298a09da6d76e767fd16bb7beee790be2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.path === \u0022SKILL.md\u0022 \u0026\u0026 file.encoding !== \u0022base64\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/managed-skill-content.ts, server/src/services/skill-installation-maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-skill-content.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a2266eea8cf05eeb7cbcb4766a8d309f9610577e63bbe1a819db8bfeb8ab5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file?.content \u0026\u0026 !file.content.endsWith(\u0022\\n\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/skills.ts, cli/src/commands/client/teams.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2b69eac4ee2c791aef8c2d26c422d25d684a0528dc6cee26d227c184799759"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileName === \u0022skill.md\u0022 || fileName.endsWith(\u0022.md\u0022)\u0060 appears character-identically in 2 files \u2014 server/src/services/company-skills.ts, server/src/services/skills-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b772316a8ab616cdc270d5ae4909f3e4c2d3164afb121addf8f73fb94136328d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileName.endsWith(\u0022.yml\u0022) || fileName.endsWith(\u0022.yaml\u0022)\u0060 appears character-identically in 3 files \u2014 server/src/services/company-skills.ts, server/src/services/skills-catalog.ts, server/src/services/teams-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3286c20bc8a6b3347df6776ceae0ec081eff1edb51cdc8ec8ffd95adc1c88bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileQuery.isLoading || fileView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e806189e927025378e68f84455740c39d169dac8d317f789c5438052c93e18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstNonEmptyLine(result.stderr) || firstNonEmptyLine(result.stdout)\u0060 appears character-identically in 2 files \u2014 packages/adapters/opencode-local/src/server/models.ts, packages/adapters/pi-local/src/server/models.ts. It is one line, so the duplication detector\u0027s token 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"625a93bc49c1391b53980b519ce68f72fc24ce5fababb1959a9a402b3c3bf741"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folder.path === \u0022bundled\u0022 || folder.path.startsWith(\u0022bundled/\u0022)\u0060 appears character-identically in 3 files \u2014 ui/src/components/folders/skill-folder-tree.ts, ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/components/folders/skill-folder-tree.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cedcffc7bacdae22ff64c9e00fcdafebcae03704d689ace524c654c6cc0d43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folder.path === \u0022projects\u0022 || folder.path.startsWith(\u0022projects/\u0022)\u0060 appears character-identically in 3 files \u2014 ui/src/components/folders/skill-folder-tree.ts, ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/components/folders/skill-folder-tree.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f507bd17f1bbbb03e915884ff33fd97cf247548414f9c57d1b1f7c7d5c7da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folderNudgeStorageKey \u0026\u0026 onCreateFolder \u0026\u0026 folderResult \u0026\u0026 folderResult.folders.length === 0 \u0026\u0026 !loading \u0026\u0026 cards.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e45b77c4805b90dedd90f94c8e307da09b0ecb46cc0b832ac3d5adfe6ec52b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folderSelection === \u0022all\u0022 || folderSelection === \u0022unfiled\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e350e328a70daed0d6de69fcfe0e938418ea1dbb281027126a63c3d7caa90427"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060folderSubtreeIds \u0026\u0026 (!card.folderId || !folderSubtreeIds.has(card.folderId))\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d3170d51597e14a347fdfb98e9c8b09838c2b352c5a36f570835f33dc59096"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060forbiddenValueKey.test(key) \u0026\u0026 child !== null \u0026\u0026 child !== \u0022\u0022\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed555da1a29e2fcbd81edbdac730964aee3f75f2e5327dd34781a36f642fc462"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frameSeen || size \u003C 8 || bytes[offset \u002B 2] !== 8\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-inline-images.ts, server/src/services/chat-telegram-photo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d346552e52de38bdee2699aaa2b4026376fd4cbb9b53c05581b4cbfca323ff33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gateway.contextScopeType !== \u0022none\u0022 \u0026\u0026 gateway.contextScopeId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/gateways/gateway-helpers.ts, ui/src/pages/tools/GatewaysTab.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":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80226469843902a3c9db22c505548281cf3d556760de49e914821769ce94cb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gatewaysQuery.isLoading || gatewaysView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/pages/apps/gateways/GatewayDetail.tsx, ui/src/pages/apps/gateways/GatewaysList.tsx, ui/src/pages/tools/GatewaysTab.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":"ui/src/pages/apps/gateways/GatewayDetail.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5279162edcdb6f5eb5610a6d1d49b799dd6d61aca8b97d95e9d32652fbf3e3de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060git(\u0022diff\u0022, \u0022--stat\u0022, \u0022HEAD\u0022, \u0022--\u0022, modulePath).trim() || \u0022none\u0022\u0060 appears character-identically in 2 files \u2014 server/scripts/benchmark-blocker-stall-waiters.ts, server/scripts/benchmark-native-progress-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":"server/scripts/benchmark-blocker-stall-waiters.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3cec52da12b6280f60c637d77be3591a4f35afeaec9d105a75c44d62aeaf6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.kind === \u0022agent\u0022 \u0026\u0026 grant.subjectAgentId\u0060 appears character-identically in 3 files \u2014 server/src/services/github-connection-events.ts, server/src/services/tool-access/oauth/grant-refresh.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"534b8e0e49bcca07d490a424ce5234de4d31fcbaad48e610d45aa06d6e41d787"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.kind === \u0022organization\u0022 \u0026\u0026 grant.isDefault\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/AppDetail.tsx, ui/src/pages/apps/connection-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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1e770628644e0fd35a2fd3f82ac107f14a44caea6d29c51b38ed14460d2efa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.kind === \u0022user\u0022 \u0026\u0026 grant.status === \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/AppDetail.tsx, ui/src/pages/apps/AppNotConnected.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":"ui/src/pages/apps/AppDetail.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff07d2dcef2b779c34346de0538344028ebd5b5e13dbc6754fe55a805882d6e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.kind === \u0022user\u0022 \u0026\u0026 grant.subjectUserId\u0060 appears character-identically in 3 files \u2014 server/src/services/git-credentials.ts, server/src/services/github-connection-events.ts, server/src/services/tool-access/oauth/grant-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":"server/src/services/git-credentials.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed656d6d7748e328b1635af9237dfd18b39d630622d316efbdf27e51ebf41cc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.kind === \u0022user\u0022 \u0026\u0026 grant.subjectUserId === userId\u0060 appears character-identically in 2 files \u2014 server/src/services/browser-use.ts, ui/src/pages/apps/connection-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":"server/src/services/browser-use.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be45130ed8d00ba1bdfd8e8a268427d64e24e975f3363a7234c29273bf50b3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grant.scope \u0026\u0026 typeof grant.scope === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/plugin-host-services.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee52c615409c8f4d9640dee8cc4e080be992ba0119544e4c4884d188bff509f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grantsQuery.isLoading || grantsView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssueShareSheet.tsx, ui/src/pages/apps/AppDetail.tsx, ui/src/pages/apps/AppNotConnected.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":"ui/src/components/IssueShareSheet.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6168e4b6e14f4cbb96f63a8a91c498525cda8ffb33c5214d8ef17b65681aa5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.searchSection !== \u0022none\u0022 \u0026\u0026 group.searchSection !== groupedSections[groupIndex - 1]?.searchSection\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e100678baf0573f1162a1afced43a6104c0f20da635d4e66fdd1a1f35151b330"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060groupLabel !== null \u0026\u0026 collapsedGroupKeys.has(group.key)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/DecisionQueuePage.tsx, ui/src/pages/WhatNeedsMe.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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65cf09524abd69f97b574e39de1bda36ff4172c8566853bcf7012b8053c1445"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060groupNavIdx \u003E= 0 \u0026\u0026 selectedIndex === groupNavIdx\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd5765420f7789e63d05a16167444c53fb19a28905c2db328661d10287e84b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060guardedArchiveIssueIds.has(issueId) || unarchivingIssueIds.has(issueId)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8656364b0cf40caaa69b1427fbef8ec7a03ab9f829a5ca58b5ebce4f74ce3cba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060h === \u0022github.com\u0022 || h === \u0022www.github.com\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/github-external-object-provider.ts, server/src/services/github-fetch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-external-object-provider.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"12270288b21224ded118015d0a7569bfd68ccbf5bcb257f220f2d6999d5f7ea1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasChildren \u0026\u0026 !collapsedInboxParents.has(issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e478ee4a08b1d7831567e7f5d0f3e43f86c5745318604e33226753c3ac9893ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasExternalObjectStatusFilters \u0026\u0026 externalObjectSummariesLoading \u0026\u0026 !externalObjectSummariesReady\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"50511dd3e4a6a8c3359dbc3fd7718e9485d964cd11643bcf37f2f8de87221a86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasLiveRuns || issueStatus === \u0022in_progress\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueRunLedger.tsx, ui/src/pages/IssueDetail.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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72a5320ef76c4ce918e4782baddd11be06938f3a80d85589f2aa69074332d10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasMixedAccessTiers \u0026\u0026 downgradeRecoveryAttempted \u0026\u0026 !feed.isFetching\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27eff58353f31675a416d527be5f5062bc19454eece23eddeef69d25ec3d523"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasMoreHierarchyRows \u0026\u0026 !hierarchy.isFetching\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0f8b4361847ca25683e4b33374126cc4829fc3561b6adacca4b650e45cf2bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasRemoteTerminationReceipt(lease) || hasRecoveredCleanupStopReceipt(lease)\u0060 appears character-identically in 5 files \u2014 server/src/services/acknowledged-native-stop.ts, server/src/services/chat-channels/task-retry-authority.ts, server/src/services/explicit-native-continuation.ts, server/src/services/remote-workspaces.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/acknowledged-native-stop.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06277cdab7d8ee7052c9c327a3b62cbb62b2491c589e41a17b15796198d29ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060headerRunId \u0026\u0026 headerRunId !== req.actor.runId\u0060 appears character-identically in 2 files \u2014 server/src/routes/mcp-skills.ts, server/src/routes/tool-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/mcp-skills.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58dd350ebe8b73849a9e9e982aebdb28063dfdabbcc933794cab98f11270c79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060heading \u0026\u0026 (opening || same(heading[1], a.summary) || same(heading[1], a.title))\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/excerpt.ts, ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"736c7e6c42a63ebeb44f60c03a7fb3f07877ce89b55262912fe10b97afb49f1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hiddenSettingsLoaded \u0026\u0026 !hidesCompanyPage(hiddenSettings, \u0022company.members\u0022) \u0026\u0026 !hidesCompanyPage(hiddenSettings, \u0022company.invites\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarCompanyMenu.production.tsx, ui/src/components/SidebarCompanyMenu.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":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd72ad676423c22f4a4bba472c9072610643d67a44ff670cbd6abc6838945577"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hiddenSettingsLoaded \u0026\u0026 inviteHref !== null \u0026\u0026 !hidesCompanyPage(hiddenSettings, \u0022company.members\u0022) \u0026\u0026 !hidesCompanyPage(hiddenSettings, \u0022co\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAccountMenu.production.tsx, ui/src/components/SidebarAccountMenu.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":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f55635d826a1afdac616f7f607ce8ed133086cd4142defba50d348e78a1dce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060highlightItemId !== null \u0026\u0026 event.itemId === highlightItemId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/Inspector.tsx, packages/paperclip-runner/src/react/inspector.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/paperclip-runner/devtools/browser/src/live/Inspector.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a645c36bb03c5f38f71544ea0d588c9709d354575c9ba9efa4ad0cb984acebb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060historyView.kind === \u0022loading\u0022 || historyView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/DecisionHistoryPanel.tsx, ui/src/components/InstructionHistory.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":"ui/src/components/DecisionHistoryPanel.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6aa071ffe93aef96664f7990a418a4ce795f0d50ac95b5330a05d0a007994b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host.includes(\u0022:\u0022) \u0026\u0026 !host.startsWith(\u0022[\u0022) \u0026\u0026 !host.endsWith(\u0022]\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/execution-target.ts, server/src/runtime-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecf77e1b314f5e0eb663dc2ed53d72dcbcf5b14805e54d607fa841661a3862f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostTarIsBsd \u0026\u0026 process.platform === \u0022darwin\u0022\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e787817b73997b8ba5fe54bc31b50ae8f510180241614b162899b25b0f37cd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname === \u0022localhost\u0022 || hostname === \u0022127.0.0.1\u0022 || hostname === \u0022::1\u0022 || hostname === \u0022[::1]\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/paperclip-cloud-connector-enrollment.ts, server/src/services/paperclip-cloud-connector.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/paperclip-cloud-connector-enrollment.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cf872ff4eebe2abf366dbc3de4d78060f30f28485b1757c91afdb34840ddaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname === \u0022localhost\u0022 || hostname.endsWith(\u0022.localhost\u0022) || hostname === \u0022::1\u0022 || /^127(?:\\.\\d{1,3}){3}$/.test(hostname)\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/authorization-constraints.ts, server/src/services/tool-access/oauth/client-metadata.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/authorization-constraints.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c735752f61f210ff7e7669cdb7671fbd72cb57522511dbf875d8598df599b4d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.title === \u0022Board Operations\u0022 \u0026\u0026 i.status !== \u0022done\u0022 \u0026\u0026 i.status !== \u0022cancelled\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/board-chat.ts, ui/src/pages/BoardChat.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":"server/src/routes/board-chat.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"596a8584ef049c82780b8b17b1e8edaf45d40d28282232c31a16af4f4f6591ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060incomingInstallationId !== undefined \u0026\u0026 String(incomingInstallationId) !== credentials.installationId \u0026\u0026 eventType !== \u0022installation\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/github/webhook-authentication.ts, server/src/services/chat-channels/github/webhook-ingress.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0565d414ad1f8ebdfbeef66e73d83b207cd51589e3f2db2c1f26d029d8d5cf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060indent \u003C= fenceCloseIndentMax \u0026\u0026 run[0] === fenceChar \u0026\u0026 run.length \u003E= fenceLen\u0060 appears character-identically in 2 files \u2014 ui/src/lib/angle-bracket-markdown.ts, ui/src/lib/blockquote-markdown.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/angle-bracket-markdown.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcb05dba7808603c690f6d602264cf563a90f5789d50f4280cdf713716a6732"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u002B tickCount \u003C markdown.length \u0026\u0026 markdown[index \u002B tickCount] === \u0022\u0060\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/external-objects-server.ts, packages/shared/src/issue-references.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/external-objects-server.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9773244b9b1ea29f64bad1fb0fdbd71a804238286b9203c94470677598e39975"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C lines.length \u0026\u0026 lines[index]!.indent \u003E indentLevel\u0060 appears character-identically in 2 files \u2014 packages/shared/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/frontmatter.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0921896297d9d92690b866bb7958c7a681efa544182cbb1c456282d9d6a986bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C markdown.length \u0026\u0026 markdown[index] !== \u0022\\n\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/external-objects-server.ts, packages/shared/src/issue-references.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/external-objects-server.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"661d9572d4b08ce3052ea27b2524b7ef94fa964cefaa884c0afa60403a347aff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index === 0 || markdown[index - 1] === \u0022\\n\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/external-objects-server.ts, packages/shared/src/issue-references.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/external-objects-server.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7d4f00940a53c2dc298a2c3572d6f0a06f621916681132336adb7f748cc036"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003E= lines.length || lines[index]!.indent \u003C indentLevel\u0060 appears character-identically in 3 files \u2014 packages/shared/src/frontmatter.ts, packages/teams-catalog/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/frontmatter.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c865efe3f917f4b165b717370146943321c65c44cf2ff9e796832baec478a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060init?.body !== undefined \u0026\u0026 !headers.has(\u0022content-type\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/client/board-auth.ts, packages/paperclip-runner/src/browser/client.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/board-auth.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4922e11a18b6bc53a1b95885e5cfd180642e3b9cb99f564020d54f2913cd45c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inlineObjectSeparator \u003E 0 \u0026\u0026 !remainder.startsWith(\u0022\\\u0022\u0022) \u0026\u0026 !remainder.startsWith(\u0022{\u0022) \u0026\u0026 !remainder.startsWith(\u0022[\u0022)\u0060 appears character-identically in 2 files \u2014 packages/shared/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/frontmatter.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"20581e73804d5caac192abc9822b144bd89ccb6b58f30ab9aa3866f63d3e2b8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.connection === \u0022disconnected\u0022 || input.connection === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35ed9f30cc0642363ab93bf4bf82b463d3de9c2df68b1740fa16719ed433b48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.connectionId !== undefined || input.trackingRef !== undefined\u0060 appears character-identically in 2 files \u2014 server/src/services/skill-sources.ts, ui/storybook/support/projectRepositorySkills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-sources.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f57a3976a87e2fcc0e15821ac2306cf34c3915a213b3344238d888618517eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.enabled \u0026\u0026 !input.retentionAcknowledged\u0060 appears character-identically in 2 files \u2014 server/src/services/managed-agent-profiles.ts, server/src/services/remote-agent-profiles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-agent-profiles.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a776b018cce97c334d2c2da1e83950609cd79f1d45b41003360b7530c5118cb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.env \u0026\u0026 Object.keys(input.env).length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"069a227c9c2f9b93abe7f0e9a859df377bfb3e8721ddb65670bdaf8fe623d06d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.idempotencyKey === undefined || input.idempotencyKey === null\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/protocol/semantic-tool-receipts.ts, packages/paperclip-runner/src/semantic-tools/receipts.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/protocol/semantic-tool-receipts.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64998ae535003f7aaaf83e25b53a27846c7165fb22bbdebe9204dd5570155c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.imagePullSecrets \u0026\u0026 input.imagePullSecrets.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/kubernetes/src/pod-spec-builder.ts, packages/plugins/sandbox-providers/kubernetes/src/sandbox-cr-builder.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sandbox-providers/kubernetes/src/pod-spec-builder.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab4b9c1e8c064c45311fb28efb7f6e2991d18d1827877502c0d5fb9c5c2cdd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.preserveSourceEntries \u0026\u0026 (await execFileAsync(\u0022tar\u0022, [\u0022--version\u0022])).stdout.includes(\u0022bsdtar\u0022)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8979654b000e756a2b9bdb8240e09d99be8442ae2f2559f1c2d3b30f16a64abe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.schema === NATIVE_EXECUTION_INPUT_SCHEMA || input.schema === NATIVE_EXECUTION_INPUT_SCHEMA_V7 || input.schema === NATIVE_EXECUTION_INP\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/backends/codex-native-backend.ts, packages/paperclip-runner/src/backends/opencode-native-backend.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/backends/codex-native-backend.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfc7bb325087fdfd3c6a4ec6da334608552178a9287f807c681d495dcea7248"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.sessionState === \u0022closed\u0022 || input.sessionState === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a29ce6f26a9d37851e89def01d2852b27fa315ede7328a27d709d4b73a94d80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.target.transport === \u0022sandbox\u0022 \u0026\u0026 input.target.effectiveCapabilities?.runnerWebSocketIngress === true\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/runner-connectivity.ts, server/src/services/native-runtime/native-runner-execution-driver.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/runner-connectivity.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"37919c8bb5d28af672340a61cd8eb32ad7870755f4b21d0955b3bc860a58ec2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.target?.kind !== \u0022remote\u0022 || input.target.transport !== \u0022sandbox\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/server/remote-command.ts, server/src/services/heartbeat/runtime-selection.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/remote-command.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b16547dca88a71ee6528c1ef7e615e61ce0c662813ce9058f492a9103f4d1dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.target?.kind === \u0022remote\u0022 \u0026\u0026 input.target.transport === \u0022sandbox\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/cli-version.ts, packages/adapters/codex-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/cli-version.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fef8500210ffe5e8c74d40b4b8446fe5f04f326c3d779fbf2773f0078fb3bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input?.deploymentMode === \u0022authenticated\u0022 \u0026\u0026 input.strictMode !== true\u0060 appears character-identically in 2 files \u2014 server/src/secrets/aws-secrets-manager-provider.ts, server/src/secrets/local-encrypted-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/aws-secrets-manager-provider.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af3d04b2abcbe858c69a95c55ac802641ff44d2cc595f8db217df9a6d5b6c18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputTokens != null || outputTokens != null\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx, ui/src/components/task-chat/TaskChatUsageReadout.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":"ui/src/components/task-chat/TaskChatRunnerActivityGroup.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7059875ce08e0acf5b428fa4c324eb94965801a0a60d6d2468d00ea19998e4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputTokens \u003C= 0 \u0026\u0026 outputTokens \u003C= 0 \u0026\u0026 cachedInputTokens \u003C= 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/src/gateway/server/execute.ts, packages/adapters/openclaw-gateway/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"5185470691a63eaddb830bee21f3d99faa49d1b734c87ef3bd3724fd53d7499f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installRows.length !== 1 || installRows[0].targetType !== \u0022agent\u0022 || installRows[0].targetId !== agent.id\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"123d664f6bf3dd929e9484a508b44e05b4d2e0dbf96ecb666514e11c0ba6717b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installedHash \u0026\u0026 installedHash !== catalogSkill.contentHash\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5055}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aaaf3e2d3833a569acb93eeb9e423ca1098934aee6c8da8a01daba9ad94d4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installedSkill \u0026\u0026 installedHash \u0026\u0026 installedHash !== skill.contentHash\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e8cf7fdfeb0a68a4fac65d75179b434c4e68e1c1309f34160609d712cc6d59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installedSkillId \u0026\u0026 onOpenInstalled(installedSkillId)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"757671d04835b7394faa9cf45ec82dcaece3dd32fd6f3f8b77bdae1af0eeb97c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.addresseeAgentId || interaction.addresseeUserId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueThreadInteractionCard.tsx, ui/src/lib/interaction-audience.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce92316bcca9369e5817bc45ec8a7eba26c71d4badafc6233ecdd1f7dcc22fdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022ask_user_questions\u0022 \u0026\u0026 interaction.status !== \u0022pending\u0022 \u0026\u0026 interaction.result?.expirationReason === \u0022superseded_by_new\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/components/task-chat/TaskChatInteractionCard.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac6321033479f725c3ea018a8118ccfb9e42ac594e6fc54f45dacfc41344b1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022ask_user_questions\u0022 \u0026\u0026 interaction.status === \u0022answered\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/issues.ts, ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx, ui/src/pages/IssueDetail.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":"server/src/services/issues.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b474b4f185e10b5c3f6db3e134a49e3b5e5b8e72f15962bfa849d6c90e0d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022request_checkbox_confirmation\u0022 \u0026\u0026 interaction.status === \u0022accepted\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/interactions/confirmation-actions.ts, server/src/services/chat-interaction-publications.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/confirmation-actions.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0ea47c9ea493a840dafc7da454c67ebb745ea28be5016dcdab50e9b19efe17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022request_confirmation\u0022 \u0026\u0026 interaction.payload.target?.type === \u0022issue_document\u0022 \u0026\u0026 interaction.payload.target.key === \u0022\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx, ui/src/pages/IssueDetail.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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be8ea2a013f4eb3af9be17dc7b81fc63a0602783660e4a4867634caf26eb7a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022request_confirmation\u0022 \u0026\u0026 interaction.payload.toolAction\u0060 appears character-identically in 3 files \u2014 server/src/services/issue-thread-interactions.ts, server/src/services/native-runtime/native-interaction-bridge.ts, ui/src/components/task-chat/TaskChatInteractionCard.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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd702113ff93c092008543f027b33d8af2c2d4419bc961ff1d227a6109341451"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022request_confirmation\u0022 \u0026\u0026 interaction.sourceRunId\u0060 appears character-identically in 2 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/lib/issue-chat-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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1142e0416ad616d6ada5f81110fe7282b94893b792bcffe74e0fcf7dc8b8f2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.kind === \u0022request_confirmation\u0022 || interaction.kind === \u0022request_checkbox_confirmation\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/issues.ts, server/src/services/issue-thread-interactions.ts, server/src/services/native-runtime/native-interaction-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":"server/src/routes/issues.ts"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64a0b92e751d09987e8b55c1c54c1dff6db36aeac003c6b170f6ffec51827b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.payload.target?.type === \u0022issue_document\u0022 \u0026\u0026 interaction.payload.target.key === \u0022plan\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/components/task-chat/TaskChatCompactInteractionCard.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50d5e881f59fa96a5932275ad303fbffe40f3670e12beb15ab31345906aeb3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.resolvedByAgentId || interaction.resolvedByUserId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/IssueThreadInteractionCard.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f498bd2f7ec26a94854fd4ea025330e0b9eb32bee15b4e3f62856ec8ef3079"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.result \u0026\u0026 \u0022outcome\u0022 in interaction.result\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueThreadInteractionCard.tsx, ui/src/lib/issue-thread-interactions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":4366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfb3b26727767d8c8aee018e9fd1fa25c92c87e85e43233b3b007599ee6bf0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.result \u0026\u0026 typeof interaction.result === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/interactions/continuations.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/interactions/continuations.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c945a39a0d9c45c20a60a30c0ed69763d94d5eab1646c5a195210d046b545deb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interaction.status !== \u0022answered\u0022 || !interaction.result || interaction.result.cancelled === true\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-interaction-bridge.ts, server/src/services/question-response-delivery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-interaction-bridge.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4f9cc19444abf30a949ca14fe0f30d64daec7aca58279d40e9da27fceb3d99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060invocation.actorType === \u0022user\u0022 \u0026\u0026 invocation.runId === null \u0026\u0026 invocation.issueId === null \u0026\u0026 invocation.gatewayId === null \u0026\u0026 invocation.c\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/connector-telemetry.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connector-telemetry.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f274138fde5d9cd0e8a2065f69df98ba6ef007c2588a0e19965db8689952c21b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAcpxCanonicalInputMethod(request.method) || request.method === \u0022session/request_permission\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts, packages/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6175fba477c9badb5e9c8ad20a446f7b83dfcd08cb5c9ca4dc8b5702fddb9a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAppsRoute \u0026\u0026 companyPathSegments[1] \u0026\u0026 !RESERVED_APP_SUBPATHS.has(companyPathSegments[1].toLowerCase())\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2751da5e6e86a54c6f4824c828ba610d9f12fbdd636c1e367fd0953913297f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAppsRoute \u0026\u0026 companyPathSegments[1]?.toLowerCase() === \u0022app\u0022 \u0026\u0026 companyPathSegments[2]\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"23353b88f394c700177dd379f11afa01848814141f47c6db4a0fbce8224d5b48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isConcurrentRefUpdateError(error) \u0026\u0026 attempt \u003C 4\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, packages/adapter-utils/src/ssh.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8c2995bb22ccaf5f78dfd827cc4e08a64f35236a2bc905dae13312177f03d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isEditingOrder || signOutMutation.isPending\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarCompanyMenu.production.tsx, ui/src/components/SidebarCompanyMenu.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":"ui/src/components/SidebarCompanyMenu.production.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"791805312fb35a55073241f5ded7b2c67a731b7699b122920f434a21bc4a6a87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isExternalChatWaitAuthorizationContention(error) || error instanceof NativeChatReviewPresentationContentionError\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/failed-retry-notices.ts, server/src/services/chat-channels/github/publication-policy.ts, server/src/services/chat-channels/inbound/wakeup-notices.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/failed-retry-notices.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec42ffa957ee85fe4d17e53936e871861aca8358fd4ce47b38f90993f4bb95f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || agentView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"d514f9123091e73dab85a21e167509042791e9e53b9bc1ba01d2fddb6db17c07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || agentsView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"41955ae935cf3f6fb35ec138b07636a362997edf7f56f457efa9d9995f954e04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || feedView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/DecisionQueuePage.tsx, ui/src/pages/WhatNeedsMe.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":"ui/src/pages/DecisionQueuePage.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3461da8405e13f283a6e80800b115addccf469b84e60b2239738b7d7bedaef1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || issuesView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/routine-sections/operate-sections.tsx, ui/src/pages/MyIssues.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":"ui/src/components/routine-sections/operate-sections.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a249fbc16d629769135c71d33119292eb36b9c00c48932beb953f7e491b3c516"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || routineView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45c313d152aa04a38113b6de76c1692821bb1cc4fd218dc514def59bf025d70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoading || routinesView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"2893bbd407616876846c34d28cc090cb11e67924caf24e1d23aadca107acb521"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLoadingMoreIssues || (hierarchyEnabled \u0026\u0026 hierarchy.isFetching)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab1562b116b250bb0bb61a45dba103544b3a85fa8c6d1c2b285c42e2d3d4f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMarkdownFile(a) \u0026\u0026 a.commentCount != null\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/actions.ts, ui/src/artifact-directions/directions/d4-hybrid/actions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/actions.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1b052371c7a2d2ff41a8100fbe11a50e09ad29e42da70e8da76735b7021e0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMobile \u0026\u0026 \u0022sticky top-0 z-20 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/85\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c6a00b0ae5c52243e3719a1f96d31e4ff2b7c72935c6e93f628cf6286febbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isNonEmpty(configApiKey) || isNonEmpty(hostApiKey)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/claude-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20f3feea626236b03c8fb47aa237da329a986405b6bd95377908e10dfb10ae2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isNonEmpty(configGeminiApiKey) || isNonEmpty(configGoogleApiKey)\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/gemini-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fca46b15f3bb5662fa56a0b5d40b9a19a0596977180acef13f3faaba69c372a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isNonEmpty(configGeminiApiKey) || isNonEmpty(hostGeminiApiKey) || isNonEmpty(configGoogleApiKey) || isNonEmpty(hostGoogleApiKey) || hasGca\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/gemini-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e67d9204280ba59d0f65eba3585a7e00794e78274dcd48c04726c98f5ede711"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isOpenRouterUrl(provider.baseUrl) || (name === \u0022openrouter\u0022 \u0026\u0026 provider.baseUrl === undefined)\u0060 appears character-identically in 2 files \u2014 packages/adapters/pi-local/src/server/runtime-config.ts, packages/paperclip-runner/src/drivers/acpx/pi-provider-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/adapters/pi-local/src/server/runtime-config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"37de753f13c745a751ae08015c798f38a3b3509516df56534074c6a053b165da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPaperclipRuntimeEnvKey(key) \u0026\u0026 key in env\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/claude-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c62fd41409c48c042fb2b8f6cabd376509714ff9fdd61b58a8d89c7e10ea709"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPaused \u0026\u0026 agent.pauseReason === \u0022budget\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b89e37663ebb7d52ecba299ef21b9642f120c5f0901bb775a18bd1fd422368f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSectionDirty(\u0022overview\u0022) || saveRoutine.isPending\u0060 appears character-identically in 2 files \u2014 ui/src/components/routine-sections/editable-sections.production.tsx, ui/src/components/routine-sections/editable-sections.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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e2f661f05cb9ba2dd83bdb24e2b1c826d6e037a2f2269003dca4c5f07e5ff3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isStarredRow || isStarred(membershipsQuery.data, \u0022agent\u0022, agent.id)\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45083f30a7296227623b578261a4054ccd8f273be464fdee0234d883b25ffcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isTaskDocument(a) || a.kind === \u0022image\u0022 || a.kind === \u0022video\u0022 || a.kind === \u0022link\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/artifact-directions/directions/d2-tint/actions.ts, ui/src/artifact-directions/directions/d3-tactile/kind.ts, ui/src/artifact-directions/directions/d4-hybrid/actions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/actions.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f18c5e46a3dd8b6d1a17ee10fd8713ec06cf360c2f003fdb919b094b939891"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue \u0026\u0026 context.projectId \u0026\u0026 context.projectId !== issue.projectId\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-models.ts, server/src/services/prompt-injection-prevention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-models.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb554d21d962a5abc2c3bc41a932dd0bd6900d3e87e098d0d030e96cd2f52a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.assigneeAgentId !== null || !issue.assigneeUserId\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-human-self-handoff.ts, server/src/services/native-runtime/status-arbiter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-human-self-handoff.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8303e7324d876b17b17c671c344b12df00a5e7ab146c00985baf54a72fe5c264"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.assigneeAgentId \u0026\u0026 agentName(issue.assigneeAgentId)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"91035181331ab62ad79b2f6f9ff7d8705408d53ec66ea49d4ab974b687fd8ad6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.assigneeAgentId === agent.id \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41e34357c1936aa49aad76c931dc42ffe8ac89663b45ecb9ec34b4068acab99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.assigneeUserId === currentUserId \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"609d6286dbfcdc2bca5c724fec8da022e1a5a0f580ff431d613733c7ccd1a607"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.checkoutRunId \u0026\u0026 issue.checkoutRunId !== run.id\u0060 appears character-identically in 2 files \u2014 server/src/services/issue-title.ts, server/src/services/native-runtime/native-session-resumption-admission.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-title.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc12e22b0525342d4663bddbf49fd0b177759b0ae39e59de42221a72989a66a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.companyId !== run.companyId || agent.companyId !== run.companyId\u0060 appears character-identically in 2 files \u2014 server/src/services/recovery/run-liveness-continuations.ts, server/src/services/recovery/successful-run-handoff.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery/run-liveness-continuations.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a775d9bb3e12bffdfb11eb4d77e92947fcf2773fc2eab8f811c4a46afd4623bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.createdByAgentId \u0026\u0026 !knownAgentIds.has(issue.createdByAgentId)\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7360c4d40fe17fd69cafba5675ed91961d2363b3004bae44a72712bfcd1f4d6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.executionRunId \u0026\u0026 issue.executionRunId !== run.id\u0060 appears character-identically in 2 files \u2014 server/src/services/issue-title.ts, server/src/services/native-runtime/native-session-resumption-admission.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-title.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50bb50846ae2466c31ee796a5d90e64748167076dc2b0f12c230441c81f69a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.executionRunId || issue.checkoutRunId\u0060 appears character-identically in 2 files \u2014 ui/src/components/DispositionRecoveryNotice.tsx, ui/src/components/WorkspaceBaseRefRecovery.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":"ui/src/components/DispositionRecoveryNotice.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3719d120e77ecbce94b82476bfbf3b7e6c5ba1b25abcb371f6e6fa9beb1f40fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.executionWorkspaceId === groupKey || issue.projectWorkspaceId === groupKey\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"d773452876cc386b6168266a69ed427ac3455b121d7e28c01e36e3b21569ba26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.isUnreadForMe \u0026\u0026 !fadingOutIssues.has(issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3112}}}],"partialFingerprints":{"codehealthFindingId/v1":"23964e8875c786c44f635403515cbb6ed276698f1c53d2b1fa29416dbd5fecbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.isUnreadForMe \u0026\u0026 !fadingOutIssues.has(issue.id) \u0026\u0026 !archivingIssueIds.has(issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0505b89df5ac27d93a96f5b581b33a9d4bae8107360dd154c2dbc5b3b619382d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.isUnreadForMe \u0026\u0026 !st.fadingOutIssues.has(issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d918ae517c75268d87f3050ac18c4f40f4be4202780a0691f5f0cac0ab9abc9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.parentId \u0026\u0026 previousSibling?.parentId === issue.parentId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18cf2155dc3143e9abb5105fbeb0dcbdf6b22e9e39f79f5bbe273a32747f8c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.status !== \u0022done\u0022 \u0026\u0026 issue.status !== \u0022cancelled\u0022\u0060 appears character-identically in 2 files \u2014 packages/plugins/plugin-llm-wiki/src/wiki/core.ts, server/src/routes/company-skills.ts. It is one line, so the duplication detector\u0027s token 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e918ef69f9a27ae627a5ba66e5d90c2731c5f88c245c4d138bc8cbd21a85d22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issue.status === \u0022done\u0022 || issue.status === \u0022cancelled\u0022\u0060 appears character-identically in 5 files \u2014 server/src/routes/issues.ts, server/src/services/context-compaction.ts, server/src/services/recovery/service.ts, ui/src/lib/issue-monitor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":4537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fbbc4a4bed60ebc373fe83e7f8e5ba6a008f751fd45d43ee30b62c418eac14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issueStatus === \u0022done\u0022 || issueStatus === \u0022cancelled\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/run-liveness.ts, ui/src/components/IssueBlockedNotice.tsx, ui/src/components/IssueChatThread.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":"server/src/services/run-liveness.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"63057e4a6ed8aacd42b0ff22f0e6d329d3e52cafca8d2f79427b3f0bdf6fe8a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issueStatus === \u0022done\u0022 || issueStatus === \u0022cancelled\u0022 || issueStatus === \u0022blocked\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/CommentThread.tsx, ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"564e6f09a3c3baf160476e8f7be8544a634f50460c3823c1c877eb8627473f02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060issuesView.kind === \u0022loading\u0022 || issuesView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Issues.tsx, ui/src/pages/ProjectDetail.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":"ui/src/pages/Issues.tsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e60bbec6ed7cce113c765c1acb37a6e156c952d803b0425cde249cecb7db9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item === undefined \u0026\u0026 ![\u0022schema\u0022,\u0022provider\u0022,\u0022phase\u0022,\u0022category\u0022,\u0022message\u0022,\u0022retryability\u0022].includes(key)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/provider-failure.generated.ts, packages/shared/src/provider-failure.generated.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"736227e48b734959ee389da8e23c66d3e22055d358e1d2410172c518ec803a6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.author !== \u0022agent\u0022 || item.optimistic\u0060 appears character-identically in 2 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/pages/TaskChatLab.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d55eb2d3e4c5933df7c824dc97a4dd899fb32abc38eba8bc4b9eeee45124d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.closeModes.includes(\u0022withdraw\u0022) \u0026\u0026 !item.required\u0060 appears character-identically in 2 files \u2014 scripts/count-needs-you-views.ts, scripts/verify-needs-you-checklist.ts. It is one line, so the duplication detector\u0027s token 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/count-needs-you-views.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7389a9da2ef2841077274cfbfd0cd03763bd634f27419ec6617a0f05ce0949a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.companyId === companyId \u0026\u0026 item.status === \u0022active\u0022\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssueRunLedger.tsx, ui/src/hooks/useCompanyInviteAccess.ts, ui/src/lib/recovery-reconcile.ts, ui/src/pages/apps/chat/GitHubSponsorSelect.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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5891a305fe361dbc20da7f70f0ed5402eca1ac462d60fbfb3fc8620a7aa343ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.decideBy \u0026\u0026 /^\\d{4}-\\d{2}-\\d{2}$/.test(item.decideBy)\u0060 appears character-identically in 2 files \u2014 server/src/services/attention.ts, ui/src/lib/attention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd090552628e2f0da54b3acb4db0d72cc2bf8b1a64b5d93b64f6d80edd0e0fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.is_error === true || asString(item.status) === \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/cli/format-event.ts, packages/adapters/codex-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b09504e95a2590cb77fa325ff0a06ea9ef6b84c66c21ec924bce90dc8dbce6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.issue.isUnreadForMe \u0026\u0026 !st.fadingOutIssues.has(item.issue.id)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d4e6f6211f61d62b31b16acb7f92b028d5464d1ccc99f4fb871fa37f0dfeb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind !== \u0022protocol\u0022 || item.surface !== \u0022runtime_request\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/task-chat-model.ts, ui/src/components/task-chat/transcript-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/task-chat-model.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"370c3d5b1e66e56a3272f941ab5d84c9d73ae5ef397f073c81b3a07bda29973e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0022message\u0022 \u0026\u0026 item.channel === \u0022final\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/design-sandbox/ConversationPlaybackTurn.tsx, ui/storybook/prototypes/runner-activity/RunnerActivityPreview.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":"ui/src/components/design-sandbox/ConversationPlaybackTurn.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f138f9ae19f8c1c91ccfa63c4875dabbce6eeaae64823a1bfe5455fe45573"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0022protocol\u0022 \u0026\u0026 item.surface === \u0022provider_activity\u0022 \u0026\u0026 item.family === \u0022tool_execution\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/fold-auto-reviews.ts, ui/src/components/task-chat/transcript-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/fold-auto-reviews.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a1a9c33416aad090aebe9c032243ab3ca633bbb1b275d9ab2aab55fa544902"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0022protocol\u0022 \u0026\u0026 item.surface === \u0022run_result\u0022 \u0026\u0026 item.disposition === \u0022yielded\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatRunnerTurn.tsx, ui/src/components/task-chat/transcript-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRunnerTurn.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086ce432944357d12aa3b078e897ffda9e99cdecfb1be2beb69019da99a5617"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0022protocol\u0022 \u0026\u0026 item.surface === \u0022runtime_request\u0022 \u0026\u0026 item.status === \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/design-sandbox/ConversationPlaybackTurn.tsx, ui/src/components/task-chat/transcript-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/design-sandbox/ConversationPlaybackTurn.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba6783e766da4507915777406c298e79266d46674e1d4852b18f0b794a62ebc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0022protocol\u0022 \u0026\u0026 item.surface === \u0022workspace_change\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx, ui/src/components/task-chat/transcript-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"484196edf634a5f8371829e9d30c11e95472baf585d7f809d6c3fc400f91526b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.kind === \u0022usage\u0022 || item.kind === \u0022status\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatShimmer.tsx, ui/src/components/task-chat/transcript-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatShimmer.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c1aeaca362ab51025c38d750c1b6bf28b116a65b545ea3fbb7a8e7d0e3488c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.obligationLeadId != null \u0026\u0026 item.obligationLeadId !== item.id\u0060 appears character-identically in 2 files \u2014 server/src/services/attention.ts, ui/src/lib/attention-obligations.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention.ts"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f482fd62e44b21bfb4e4ef7f7b18f011caf64e23b51155e1eeffc9b5469636"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.resourceKind === \u0022attachment\u0022 \u0026\u0026 item.attachment\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatProtocolCard.tsx, ui/src/components/task-chat/image-resources.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"015df82d90613089c4e4f30e12d8dfef998afa2abcfd3f793933a562183bd17c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.resourceKind === \u0022deliverable\u0022 \u0026\u0026 item.workProduct\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatProtocolCard.tsx, ui/src/components/task-chat/image-resources.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolCard.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d70b95d508a736c2b9c2a688aab268bc4841be5bb1d56c2332225bdbaef8fe7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.sourceKind === \u0022decision\u0022 \u0026\u0026 item.subject.id === deepLinkDecisionId\u0060 appears character-identically in 2 files \u2014 ui/src/components/coordinator/CoordinatorNeedsYou.tsx, ui/src/pages/WhatNeedsMe.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":"ui/src/components/coordinator/CoordinatorNeedsYou.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d07f57066b3a00c592f0529fbb55137d97f3f8f4f1f72fe2dfe41ace453e64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.status === \u0022attached\u0022 \u0026\u0026 item.attachmentId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4845}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dda32f2ee8e67763c702170ac2289ce4d478d4b7eff3fd98d341ff92e4d39af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.status === \u0022running\u0022 \u0026\u0026 itemFacts?.terminal !== true\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a950ee457a25b53759668c08f56dc909d445e74de8f874e71e937d7cb1c55d14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.summary?.trim() || detail(item, \u0022Rationale\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/fold-auto-reviews.ts, ui/src/components/task-chat/governance-presentation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/fold-auto-reviews.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ae2ca7e295f572b57ead7e26137fe33d1d39602f5adfc546a5a7c87dc0523a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.surface === \u0022provider_activity\u0022 \u0026\u0026 item.family === \u0022provider_notice\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx, ui/src/components/task-chat/completed-activity-summary.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beb7ade1b90dddd1e281c60c3bc422901fcbb7e328a393352f743e9d1c30e50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.surface === \u0022provider_activity\u0022 \u0026\u0026 item.family === \u0022verification\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx, ui/src/components/task-chat/completed-activity-summary.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a7bb1004ddbccf89d0b715b858846aa1a1ef373427a1288f0e18bf41569c71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060itemId === undefined || seenItems.has(itemId)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a2ddf51e01771465b0c213e45afebbc618b4061eca5d33cd53884b94897ac7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.run_id === run.id \u0026\u0026 job.run_attempt === run.run_attempt \u0026\u0026 job.head_sha === sha\u0060 appears character-identically in 2 files \u2014 scripts/cloud-readiness-runner-loss.mjs, scripts/cloud-release-admission.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/cloud-readiness-runner-loss.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1d0e3c7ee2f3890e9e0434699363ca3940b93d7d5218233877231c63b3a89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key !== \u0022sourceCommentId\u0022 \u0026\u0026 key !== \u0022attachmentId\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/chat-attachment-read.ts, server/src/services/native-runtime/paperclip-runner-tool-authority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/chat-attachment-read.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"961f4ecd24f4f8476b55893b68e33b81939cc67f019b706390637061a6b4bbea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.fingerprint === fingerprint \u0026\u0026 (key.expiresAt === null || Date.parse(key.expiresAt) \u003E input.now)\u0060 appears character-identically in 2 files \u2014 server/src/services/idle-api-wake-admission.ts, server/src/services/public-mcp/wake-admission.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-api-wake-admission.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a5913831e4157ae14c17b9ab857ac0382c33fceec176fb629ef1e8a4f3ecf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060keyFileOverride \u0026\u0026 keyFileOverride.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, cli/src/config/secrets-key.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c1fe818f0d38eaffd4cc397fa83deeaaa0bae89225f2f52e83299ef4b15ba6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kind === \u0022agentmessage\u0022 || kind === \u0022assistantmessage\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-deliverable-text.ts, ui/src/components/transcript/native-run-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":"server/src/services/native-runtime/native-deliverable-text.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c75c67939f47777eb8a33f540adc522aa3f2600a9a38d05c492f99e4b0636a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kind === \u0022goal\u0022 || kind === \u0022goal_cleared\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc54d84b1b0b4ec429c1a277590ad277eda1a40163fab4f85ddc460ed41d3301"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kind === \u0022script\u0022 || kind === \u0022reference\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6313610c52c26300aed92aaf57a77910f88896f1be0266f818422513377441d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kindFilter !== \u0022all\u0022 \u0026\u0026 skill.kind !== kindFilter\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcf9b35007e1d9c02287080f0b9ebd7de7b8c7c1c355633e23909a910a19c47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060l.length \u003E 0 \u0026\u0026 !l.startsWith(\u0022---\u0022) \u0026\u0026 !l.startsWith(\u0022|\u0022) \u0026\u0026 !l.startsWith(\u0022\u0060\u0060\u0060\u0022) \u0026\u0026 !/^[-*\u003E]/.test(l) \u0026\u0026 !/^\\d\u002B\\./.test(l)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37604c475192c363bdc87f504a039a04dc1bb8f7ff66b95179a72655aabee4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060labelCompare || left.localeCompare(right)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc9e595e8948e2a0b936c8d3bcc18664182be6cf4d57a66f707c049f3c73c58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060labelIsTruncated \u0026\u0026 \u0022side-panel-tab-label-fade\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/side-panel/SidePanelTab.tsx, ui/src/components/side-panel/SidePanelTabs.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":"ui/src/components/side-panel/SidePanelTab.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8198fab5b8b2a08a967cbea0a5298595701c839d86435d496a830fd8b5f2c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastSeenLiveAt !== undefined \u0026\u0026 nowForLiveLinger - lastSeenLiveAt \u003C= LIVE_AGENT_LINGER_MS\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad922ea74e7a8a8eaccf02058bfa9f5c5bd5b991b780cf11d477b7df3c0b5360"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latest.status === \u0022cancelled\u0022 \u0026\u0026 !latest.startedAt \u0026\u0026 latest.errorCode === \u0022execution_reconciliation_required\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/queue.ts, server/src/services/task-retry.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"345dec0dd65fbaf7efcc362f7f2d43934c6ba33df7499b7d93947bf7463b4661"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latestExpiresAtMs \u0026\u0026 latestExpiresAtMs \u003E Date.now() \u002B 60_000\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/connection-refresh.ts, server/src/services/tool-access/oauth/refresh-leases.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f54c8a74ac56cd1fd6f83700c359c7627b1dd208cb5f0a02e57c613d14e1e7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lease.id === id \u0026\u0026 hasRemoteTerminationReceipt(lease)\u0060 appears character-identically in 2 files \u2014 server/src/services/conversation-continuation.ts, server/src/services/execution-recovery-resolution.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/conversation-continuation.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07f7144b1160dbf9c0c6f1014107bcee4519db69f3f19843373c51b0077f764"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lease.provider \u0026\u0026 lease.provider !== \u0022local\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-execution-stop.ts, server/src/services/heartbeat/run-control.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-execution-stop.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b0d23c0fd9c2a9cc480f22101145a13f24a824805689777c36f5ef78646a8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lease?.companyId === companyId \u0026\u0026 lease.metadata?.purpose === \u0022login\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/device-login-service.ts, server/src/services/setup-token-session.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/device-login-service.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec0a6f1bd0fb9a807cf6d9f7fe1692148a3b73bfd1f5bc1ab9ad54662fd4b8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060leases.length \u003E 0 \u0026\u0026 leases.every(hasRemoteTerminationReceipt)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-safe-replacement.ts, server/src/services/remote-execution-termination.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-safe-replacement.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ce4b781332b25c0d7b8159ca0399100df8822fa629271f7ee5a28f3f0685a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left === \u0022__unfiled\u0022 || right === \u0022__unfiled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0963f2e042db46cf43323262595849227e9d5de52d5fc7376a00cb7862218f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.length === right.length \u0026\u0026 timingSafeEqual(left, right)\u0060 appears character-identically in 2 files \u2014 server/src/services/cloud-runtime-identity.ts, server/src/services/tool-content-guards.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f9f4196387a2aa27869de061b1787ed431e0876eebe1436f3c6c43985de1f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.name.localeCompare(right.name) || left.key.localeCompare(right.key)\u0060 appears character-identically in 3 files \u2014 server/src/services/company-skills.ts, server/src/services/skills-catalog.ts, server/src/services/teams-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a49958e87eef790b9dcc5a9683892fde9616e37c027c8024a820b199fa00503"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060leftQuery.isLoading || rightQuery.isLoading\u0060 appears character-identically in 3 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.tsx, ui/src/pages/SkillStudio.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63ede29a9da5ed486c4e72f86317879a442d3626e90d816f9d8bb2f52193006"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lifecycle === \u0022compiling\u0022 \u0026\u0026 Boolean(card.generatingIssueId)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx, ui/src/pages/StatusCards/StatusCardTile.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":"ui/src/pages/StatusCards/StatusCardDetailDrawer.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0377a1d04e86fbd65ed3e6b7f857b852313522700a79c18df95fb7ae7849db7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lifecycleStatus === \u0022resolved\u0022 \u0026\u0026 (resolvedAction === \u0022cancel\u0022 || resolvedAction === \u0022decline\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/adapters/paperclip-runner/index.ts, ui/src/components/transcript/native-run-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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a1ff3f9d8390742021c85bdad03fe709ac127344885287a1cbdb82ffb41247"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.content.length \u003E 0 \u0026\u0026 !line.content.startsWith(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 packages/teams-catalog/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/teams-catalog/src/frontmatter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2b91e34ecb43bbf3126c61fcbad0ec390da634feb952ee761445fe6a0c87d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.indent !== indentLevel || !line.content.startsWith(\u0022-\u0022)\u0060 appears character-identically in 3 files \u2014 packages/shared/src/frontmatter.ts, packages/teams-catalog/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/frontmatter.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc417f2d6d8e5d3d586605c421b2e7890fd54b09bbe904baadd1ad8296d28406"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.length \u003C 120 \u0026\u0026 line.split(/\\s[\u2022\u00B7|]\\s/).length \u003E= 3\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/excerpt.ts, ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"af98492f8ec137a8a50e5a087c8c1391bffad0dc4654d9b7852f6a72595a9d05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.startsWith(\u0022\u002B\u0022) \u0026\u0026 !line.startsWith(\u0022\u002B\u002B\u002B\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx, packages/paperclip-runner/src/drivers/codex/codex-session-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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a065b42c299acf62846b40c209c8b42c3c4664a04c6baf5d96d60c9dd6d730a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.startsWith(\u0022-\u0022) \u0026\u0026 !line.startsWith(\u0022---\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx, packages/paperclip-runner/src/drivers/codex/codex-session-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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8c6add4eda95f207087b4846ebf3dd626d8cdf19d9c961279f38e1e6ab2069"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lineStart \u0026\u0026 markdown.startsWith(fence, index)\u0060 appears character-identically in 2 files \u2014 packages/shared/src/external-objects-server.ts, packages/shared/src/issue-references.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/external-objects-server.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c187200dfebc8f8ceb47485fba488577a2cfb1e814002273c86178d0bcecc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lines.length \u003E 0 \u0026\u0026 lines[lines.length - 1] === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 packages/plugins/plugin-workspace-diff/src/workspace-diff.ts, ui/src/components/FileViewerSheet.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/plugins/plugin-workspace-diff/src/workspace-diff.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3cd3bda1aefb6a9a176a94c87d7fec4bbf158765c2f5134dc5d2c9699dfb3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lines.length \u003E 0 \u0026\u0026 lines[lines.length - 1].heading\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/excerpt.ts, ui/src/artifact-directions/directions/d4-hybrid/excerpt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d2-tint/excerpt.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b337768d2b7d59328873cf54b5fd844e9ca0c70ad087641213152e0d16e25ebe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lines[index]!.indent === indentLevel \u0026\u0026 lines[index]!.content.startsWith(\u0022-\u0022)\u0060 appears character-identically in 3 files \u2014 packages/shared/src/frontmatter.ts, packages/teams-catalog/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/frontmatter.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92f3002bcb921b0335aa2363ec5541340bea8c08c911f30da6acbed696ac28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060link.endpointId === endpointId \u0026\u0026 link.status === \u0022revoked\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/setup-services.ts, server/src/services/connectors/slack/test-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":"server/src/services/chat-channels/slack/setup-services.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3107222f2a2ab56017612ace098d16db8383ef7983e3273381dd551694b942"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060link.status === \u0022linked\u0022 \u0026\u0026 link.paperclipUserId !== actor.userId\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/setup-services.ts, server/src/services/connectors/slack/test-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":"server/src/services/chat-channels/slack/setup-services.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d182dbeb15928f2ba7553636f34ba60347f2663b5a9c9d74204c245c2d3f9f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060link?.status === \u0022linked\u0022 \u0026\u0026 link.paperclipUserId\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/slack/task-start-resolution.ts, server/src/services/chat-channels/slack/task-start.ts, server/src/services/chat-github-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start-resolution.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd6011ea077e5e724f39e35e9022537535445438070a87b6070a5434501cf6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localRuntimeConfigHome \u0026\u0026 preparedExecutionTargetRuntime.assetDirs.xdgConfig\u0060 appears character-identically in 2 files \u2014 packages/adapters/opencode-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7186f679d2409b57daea612a26e885f229b0272fb0201a681232d36ea95c586a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.companyId === companyId \u0026\u0026 m.status === \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/ai-connections.ts, server/src/services/external-bot-authority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/ai-connections.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae1d2d16029389825ea737e39898ffa5c59c70404c2c4142c00482300b650ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.companyId === selectedCompanyId \u0026\u0026 m.status === \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/tools/AdvancedToolsRoute.tsx, ui/src/pages/tools/profiles/ToolsAdminGate.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":"ui/src/pages/tools/AdvancedToolsRoute.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d654525d9f2df21d6b9912a772ea0233b8be707f6b73c5e3bf4cdc41835e6bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060managedHome \u0026\u0026 preparedExecutionTargetRuntime.runtimeRootDir\u0060 appears character-identically in 4 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bb3f9f68821a5b4cb40de8cd7f9cd7ff6ce5eca8bb95240847d58cdb621cfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060managedSsh \u0026\u0026 target.workspaceRealization?.mode === \u0022in_place\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/codex-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd5c7b74960a1a999a0697ce1c698d10ea2b4ac24cb804c08cc41bdaf0ae81b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060managementContext?.actor.type === \u0022board\u0022 \u0026\u0026 managementContext.actor.sessionId\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-github-registration.ts, server/src/services/chat-github-wizard.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d53c0f97eb65abbc5cef323335439f1fd1aea9799e46672bbcab24168251e94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maxBytes !== null \u0026\u0026 attachment.byteSize \u003E maxBytes\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/plugin-host-services.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5adecadc7e9140568401a0d10c4dd32112972e4edd3cc001cef1cdc57e2d8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maxSelected != null \u0026\u0026 selectedCount \u003E maxSelected\u0060 appears character-identically in 2 files \u2014 server/src/services/issue-thread-interactions.ts, ui/src/components/IssueThreadInteractionCard.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":"server/src/services/issue-thread-interactions.ts"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a76d163564f6ebebc8b5428372cdaae7b261b574dc36d9851239b547ad75e28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member.subjectType === \u0022user\u0022 \u0026\u0026 [project.personalOwnerUserId, project.privacyOwnerUserId].includes(member.subjectId)\u0060 appears character-identically in 2 files \u2014 server/src/routes/projects.ts, ui/src/components/ProjectAccessMembers.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":"server/src/routes/projects.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8964688b46a20bd80ef00a89f360e87fb9bafb21d2da1d828d05d434bbf8f9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member.user!.name || member.user!.email || member.user!.id\u0060 appears character-identically in 2 files \u2014 ui/src/components/ProjectProperties.tsx, ui/src/pages/CompanySettings.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":"ui/src/components/ProjectProperties.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f669433ea3e9ac69eabc65d6f1668fa16c9cbf329ac01044876ae44f3932f264"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membership.companyId === companyId \u0026\u0026 membership.status === \u0022active\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/primary-agent.ts, server/src/services/authorization.ts, server/src/services/decisions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/primary-agent.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5338591b517df7bcdb47ba5212e67f4d02e2765f96310f4c79380f4836c123c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membership.membershipRole !== \u0022viewer\u0022 \u0026\u0026 membership.membershipRole !== null\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueRunLedger.tsx, ui/src/lib/recovery-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":"ui/src/components/IssueRunLedger.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78d0beb01ab44c20d4745a72a3a980bd9cfd4ef339caf489c1557678acdddca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membership.membershipRole === \u0022owner\u0022 || membership.membershipRole === \u0022admin\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/authorization.ts, server/src/services/tool-access/oauth/cloud-callback.ts, server/src/services/tool-access/oauth/direct-callback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e8dd7bb2f735bff70d26c87e77751ed695f9f51481052db603c7920505f58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membership?.membershipRole === \u0022owner\u0022 || membership?.membershipRole === \u0022admin\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/authorization.ts, ui/src/lib/recovery-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":"server/src/services/authorization.ts"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0336817796ce9337e1a5094d8212986bcb153c03314c9e582e1fb42bbe6697"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membership?.status !== \u0022active\u0022 || membership.membershipRole === \u0022viewer\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/inbound/authorization.ts, server/src/services/chat-channels/slack/setup-services.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb72c73633c0602bc22ddc61bd3e9026ab297b81e1902d6f367834e80a04b7b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membership?.status === \u0022active\u0022 \u0026\u0026 membership.membershipRole !== \u0022viewer\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/inbound/authorization.ts, server/src/services/chat-channels/microsoft-teams/file-transfer-authority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/inbound/authorization.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1b1ef39d0d5ccf1be888126bb00016f9bcc00d2db6cd72ffb13ecb233c881b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membershipMutation.isPending \u0026\u0026 membershipMutation.variables?.resourceType === \u0022agent\u0022 \u0026\u0026 membershipMutation.variables.resourceId === agent.\u2026\u0060 appears character-identically in 4 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.tsx, ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c897de4545542d3aa055379cc6faabb2bbabf8f03fc08a921382fa7591eb9b4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membershipMutation.isPending \u0026\u0026 membershipMutation.variables?.resourceType === \u0022agent\u0022 \u0026\u0026 membershipMutation.variables.resourceId === agent.\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"171f64a733d9ec4b62880d49ae1c8abf66514c6f4fe041244fea4a906f642e85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060membershipMutation.isPending \u0026\u0026 membershipMutation.variables?.resourceType === \u0022project\u0022 \u0026\u0026 membershipMutation.variables.resourceId === proj\u2026\u0060 appears character-identically in 5 files \u2014 ui/src/components/SidebarProjects.tsx, ui/src/components/SidebarStarredProjects.production.tsx, ui/src/components/SidebarStarredProjects.tsx, ui/src/pages/ProjectDetail.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":"ui/src/components/SidebarProjects.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2f852bd7effb47167807a5897a17249c4fd5d42e4edb902ce4e3a0333dc363"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.includes(\u0022cannot lock ref\u0022) \u0026\u0026 message.includes(\u0022expected\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, packages/adapter-utils/src/ssh.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eef71dc4b2fb90071bd5f5c7aefbe7902e29efeb5e96a2c043bd27a2679132a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.method !== \u0022session/prompt\u0022 || record(message.params).sessionId !== active.sessionId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/grok-usage.ts, packages/paperclip-runner/src/drivers/acpx/prompt-receipts.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/grok-usage.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d13bb952d3f45d0f2bd5fee19cb08db804d6d09e02184a21bff194034bcff7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.method !== undefined || (typeof message.id !== \u0022string\u0022 \u0026\u0026 typeof message.id !== \u0022number\u0022)\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/drivers/acpx/config-admission.ts, packages/paperclip-runner/src/drivers/acpx/cursor-instructions.ts, packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts, packages/paperclip-runner/src/drivers/acpx/kimi-instructions.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78c6fe961021eda538b4a2e31a528f3dab3b91a637dba3a3642df32bf3ef2c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.method === \u0022session/update\u0022 \u0026\u0026 object(params.update).sessionUpdate === \u0022config_option_update\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/config-admission.ts, packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7353138c6e0e576463fc6a477760a510b7d4f8dfedd29ce48e2aa0dad2f9fc37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.method === undefined \u0026\u0026 message.id !== undefined\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts, packages/paperclip-runner/src/cli/opencode-app-server-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/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"863846e1351983a69f8547b079efbdc68da8cadc88d7f386ec3eef2aba034932"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata \u0026\u0026 Array.isArray(metadata.sources)\u0060 appears character-identically in 2 files \u2014 server/src/services/company-portability.ts, server/src/services/company-skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":3330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2524ef11a55a6883e98287d73258871ac3f55e2ba0ff020babedd32092e1d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.isDirectory() \u0026\u0026 !metadata.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts, server/src/services/native-runtime/native-harness-backup-stamp.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb50d344fe3a67c5ed6aeab8cbc417027c5aeb31676811f8870ef0a74683189"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.isSymbolicLink() || !metadata.isDirectory()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts, packages/paperclip-runner/src/live/runnerd-codex-transport.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"b743c7d31aeafe4daca6f8dcc9589ffbc3cddb787c7433499be957ed64e170e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.name !== distribution.packageName || metadata.version !== COPILOT_VERSION\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/build-copilot-distribution.mjs, packages/paperclip-runner/scripts/materialize-copilot-binary.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/paperclip-runner/scripts/build-copilot-distribution.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89cab24d4717a3db3764bbbe71c58a99c99b987fb1528d4de5c6a5e1f237d9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method === \u0022client_secret_basic\u0022 || method === \u0022client_secret_post\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/client-credentials-service.ts, server/src/services/tool-access/oauth/client.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials-service.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09085bd0379681ee76052b986e55465a923e6c642356efe8ce13305220c996f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method === \u0022events.subscribe\u0022 \u0026\u0026 isRecord(params.filter)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/host-client-factory.ts, server/src/services/plugin-worker-manager.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/host-client-factory.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa2394d89e7cd0e8ee106579631d0003973a8fdac03d87d291660baa147a084"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method === \u0022item/tool/requestUserInput\u0022 || method === \u0022tool/requestUserInput\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts, packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0872c84b42fbe5db699a75f78e0182ea10a5ac78b21e1791848f5a141afb457"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method === \u0022mcpServer/elicitation/request\u0022 || isAcpxCanonicalInputMethod(method)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts, packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/codex/codex-question-adapter.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"25abb0726c78eb0184306b5845d3a70ef4cc628a3c79f896e24e581331f29899"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method.key === connectionMethodKey \u0026\u0026 method.defaults?.mcpSessionRequired === true\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/catalog/discovery.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"900165995c51bc2b7525da768bfeb744bf175bdb8008385ca1413fc648837b3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method.oauthStrategy === \u0022paperclip_cloud_connector\u0022 || method.oauthStrategy === \u0022paperclip_id_connector\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/app-definitions.ts, packages/shared/src/connector-availability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/app-definitions.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b68a77b830a5f30e17314317aca79ed1fde448738469037af43641a255b995"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode !== \u0022dev\u0022 || restartInFlight || !child\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fcbc98130862e3313199ff05898a96ea321095a8dc1ac07441f3608b9bc9fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode !== \u0022dev\u0022 || scanInFlight || restartInFlight\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb90feaa7ccad416455aa0e9c1271cb07b6a4250f24fc5cec695560c126c2c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === \u0022adapter_managed\u0022 || mode === \u0022cloud_sandbox\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/execution-workspace-policy.ts, ui/src/components/RoutineRunVariablesDialog.tsx, ui/src/lib/project-workspace-defaults.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6723e7b8c751e37057e4219c2b26e4d5bff0cb8a3ea3a54556c592f708aa52b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === \u0022isolated_workspace\u0022 || mode === \u0022operator_branch\u0022 || mode === \u0022shared_workspace\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/execution-workspace-policy.ts, ui/src/components/RoutineRunVariablesDialog.tsx, ui/src/lib/project-workspace-defaults.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-policy.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead0d97e292a6b6c6041eb92c9c002bf988af9420d7d381cacd6778d0e0a6987"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === \u0022private\u0022 || mode === \u0022discoverable\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, ui/src/lib/issuePrivacy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":5569}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8e828bc30e25559931341618e1e537ba9b8cf636580b5d5cb11c5c975e88cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model \u0026\u0026 model !== DEFAULT_GEMINI_LOCAL_MODEL\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/execute.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc562a8d77e9bafc28973a2f9cbbfd44a98928677bb288befa5c39ce8e6c3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modernError.code !== MCP_ERROR_UNSUPPORTED_PROTOCOL_VERSION || !modernError.supported\u0060 appears character-identically in 2 files \u2014 server/src/services/mcp-http.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-http.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"6786de121995882c78bc4592b0188f657e6d263da13136460d1db8f4bb4d6541"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mutationError instanceof ApiError \u0026\u0026 mutationError.status === 409\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92508f576b8dbc9dd425b81995e1e7dbe4e370ab1a0994067da93829cbb3e2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name === \u0022command_execution\u0022 || name === \u0022shell\u0022 || name === \u0022shellToolCall\u0022 || name === \u0022bash\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/transcript/RunTranscriptView.tsx, ui/src/lib/transcriptPresentation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ac4ccb02ea4bf46606b714d50e88eafba7f34c7e424eba8c3b3747c45bd9cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.startsWith(EXPIRED_PREFIX) \u0026\u0026 UUID_PATTERN.test(name.slice(EXPIRED_PREFIX.length))\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-harness-backup-expiration.ts, server/src/services/native-runtime/native-workspace-sync-retention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fd3c0cc7222c972d56a3125d00014c2b26c3e330ebaaf8fe2f7cdab0ee80e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060named.dev !== lockIdentity.dev || named.ino !== lockIdentity.ino\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-kimi.mjs, packages/paperclip-runner/scripts/provision-pi.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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"87352e1865c0e88dc43db82b5554de3ab5f21277e4b8ac1461934371ff97436e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060named.dev !== published.dev || named.ino !== published.ino || named.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/provision-kimi.mjs, packages/paperclip-runner/scripts/provision-pi.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/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"724129663d75d1b5c0a42c1f9a4c0c2d14d1ceab3b137a12f56d305273220794"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime() || a.id.localeCompare(b.id)\u0060 appears character-identically in 2 files \u2014 ui/src/lib/issue-comment-window-query.ts, ui/src/lib/recent-agent-chats.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-comment-window-query.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"08407e33688c6569008391dda45b8978356e552ed6d351ede2ae8c4c5661b39b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060new Date(skill.updatedAt).getTime() || 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ed462e7d3c36644aa39c15430faa5594dc60171123b7b686358847456fa8a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060next.assigneeAgentId \u0026\u0026 next.assigneeAgentId !== current.assigneeAgentId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"707778e4beb71285608437ff070f8f8782e11ce18403451e98c6407b467a7faf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060next.projectId \u0026\u0026 next.projectId !== current.projectId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eb1e1ee4891d03146a8cb3a3baee233f8024506cc3aa35fe89b86e40ef48ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextUrl.pathname === currentUrl.pathname \u0026\u0026 nextUrl.search === currentUrl.search \u0026\u0026 nextUrl.hash === currentUrl.hash\u0060 appears character-identically in 3 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.tsx, ui/src/pages/CompanyEnvironments.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"42799df5581d3b975e288da6aa12262be7ffb1727b2512c175db1b848e699a36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.path === selectedPath \u0026\u0026 \u0022text-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bb29280ae0aa3483304fb74b16865bd369f7e2a504791f53945e947bca306a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type === \u0022link\u0022 || node.type === \u0022linkReference\u0022 || node.type === \u0022code\u0022 || node.type === \u0022definition\u0022 || node.type === \u0022html\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/lib/case-reference.ts, ui/src/lib/issue-reference.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/case-reference.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee206b196c48c7247c46c7b32ffefc81a8db05212e6183d171e89e12a54cb85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized !== normalizedRoot \u0026\u0026 !normalized.startsWith(prefix)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f1d6484775a571d8026efece16ffc19d7aeb3f446120d389fdccda5666cd3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022..\u0022 || normalized.startsWith(\u0022../\u0022) || path.posix.isAbsolute(normalized)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f81bd38e7a6c2e5cc81eb851fb3843ba52c3ac5d619ea0bd1c2e75f34e78a2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u00220.0.0.0\u0022 || normalized === \u0022::\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/network-bind.ts, server/src/runtime-api.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/network-bind.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f424ab1022cfe245f20432b19a5c0b1e7e996ea39d1cd1865ba828527a6c449"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u00221\u0022 || normalized === \u0022true\u0022 || normalized === \u0022yes\u0022 || normalized === \u0022on\u0022\u0060 appears character-identically in 2 files \u2014 server/src/agent-auth-jwt.ts, server/src/ui-branding.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/agent-auth-jwt.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d8ab1b49efbea296a13aea9b7ab64c2b806d33da712d267775ee10012a4775"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022127.0.0.1\u0022 || normalized === \u0022localhost\u0022 || normalized === \u0022::1\u0022\u0060 appears character-identically in 3 files \u2014 packages/shared/src/network-bind.ts, server/src/runtime-api.ts, server/src/url-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/shared/src/network-bind.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae3fdd1dd626a968811667816b87162af77db11874097dcb3e0c4e4de26f748"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022::1\u0022 || normalized === \u0022localhost\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/mock-core/live-console-demo-server.ts, server/src/services/setup-token-session.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/mock-core/live-console-demo-server.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"56db1e776cb76f42d8452ce57c6fe2950c32d5905fc38447c6ad96bc165ce54d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022false\u0022 || normalized === \u00220\u0022 || normalized === \u0022no\u0022 || normalized === \u0022off\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/session-compaction.ts, server/src/routes/agents.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/session-compaction.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dffc3cbe20a8128ce00ad232d57e78d0d0b4869b1bc8edcd1651cef9a46ffe7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022true\u0022 || normalized === \u00221\u0022 || normalized === \u0022yes\u0022 || normalized === \u0022on\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/session-compaction.ts, server/src/routes/agents.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/session-compaction.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5fce974697588740fa5f24c0aaebe5ba4cced27a4e4dea685a7919f044035c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedIssueSearch.length \u003E 0 \u0026\u0026 !searchWithinLoadedIssues\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c3088d0f295d037347cd1e87d731e072739c7d61f9d7bdd0d283bd5f1dd715"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedIssueSearch.length \u003E 0 \u0026\u0026 searchWithinLoadedIssues\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ee12f4f35d896368c6a8f221b142a22c8e1c999f05e42d24cddeffc9b0d29b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalizedLabel.includes(\u0022skills.sh\u0022) || normalizedLabel.includes(\u0022vercel-labs/skills\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8e70c76af557150f01fb98ec0880577e6d6a9c063f4fbda0bbfcb3b3c86c8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060npmExecPath \u0026\u0026 npmExecPath.toLowerCase().includes(\u0022pnpm\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/commands/worktree.ts, server/scripts/prepare-runner-vendor.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":"cli/src/commands/worktree.ts"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f8e7d7a19fa4f260970a85157d8c2d44590e192fd4a7838325e6795ff0252e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oauth.grantType === \u0022client_credentials\u0022 || oauth.clientCredentials === true\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/connection-refresh.ts, server/src/services/tool-access/oauth/discovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfed76d321c6e380458a698e398b394b2cbdbf796ca7dce445c8e6e24149e41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oauthAccessRef \u0026\u0026 headers.Authorization === undefined\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/credential-access.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/credential-access.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0aa418c189e0606e86a59f05b3e81abfe44c7c8020eab954a958deb8466525"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060observed \u0026\u0026 new Date(observed).getTime() !== run.processStartedAt.getTime()\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-execution-stop.ts, server/src/services/conversation-continuation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-execution-stop.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a290d2721bcf9345f310eb5dda0cd3607e945f36b66e7b133b6883bb7dcb09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offset \u003E= MAX_JPEG_HEADER_BYTES || offset \u002B 3 \u003E bytes.length\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-inline-images.ts, server/src/services/chat-telegram-photo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce407602f525bb8b1614bff881d0f0165f746b1be687df6cc498e2541314894"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offset \u003E= bytes.length || bytes[offset]! \u003C 2 || bytes[offset]! \u003E 8\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-inline-images.ts, server/src/services/chat-telegram-media-intake.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ea73c5da132244c03241cc7ff6cf81e607995aede67ab58d511e941c9846c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onChange \u0026\u0026 !showLabel \u0026\u0026 \u0022cursor-pointer\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/PriorityIcon.tsx, ui/src/components/StatusIcon.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":"ui/src/components/PriorityIcon.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a261d4b1a82a56103e93d2e33ee60625fa4a058629fe799f2187060d81f0ed7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onCreateFolderIn \u0026\u0026 onRenameFolder \u0026\u0026 onEditFolder \u0026\u0026 onMoveFolder \u0026\u0026 onDeleteFolder\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d119dd5e8f18011d8d6a0621a3980d1c230c0f2e2049855ea543a1d1661d775"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060open \u0026\u0026 allPaths.length \u003E 0 \u0026\u0026 !allPaths.includes(selectedPath)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"403d3641ad841f6040a24877a1ac99d18090c51f78d414c7e5eea1f42d9fdf73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operation === \u0022pause\u0022 \u0026\u0026 goalStatus !== \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0406d1987906bbd3769893c2281fd1bd169bbae1b65a698a3c79810e7f54d9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operation === \u0022resume\u0022 \u0026\u0026 goalStatus === \u0022active\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e22143a57f80dff5328f975ffcea256852fd160a8bb866c5b42d4aaf839d7fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operation.description || operation.summary || operation.operationId\u0060 appears character-identically in 2 files \u2014 scripts/generate-daytona-tools.mjs, scripts/generate-unikraft-tools.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/generate-daytona-tools.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567eef4496f6071ecb28b81db26c910fead778c20e6f134bc77a6afd9e8713d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060operation.summary || operation.operationId\u0060 appears character-identically in 2 files \u2014 scripts/generate-daytona-tools.mjs, scripts/generate-unikraft-tools.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/generate-daytona-tools.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e86f10e613d8499528dfbe3d7ed40a6f203c1ca35adf25ec9f1890cc328461d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060optimisticVote \u0026\u0026 activeVote === optimisticVote\u0060 appears character-identically in 3 files \u2014 ui/src/components/AgentBubbleActionRow.tsx, ui/src/components/IssueChatThread.tsx, ui/src/components/OutputFeedbackButtons.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":"ui/src/components/AgentBubbleActionRow.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cb1754388f9b22be9efe25de2cb4c5d12c56d575e17caeb94e6ec461fdb65e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060option.required || !option.supportsSkills\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"135196f6071b1a92f01b3cff657d23fd4206f7d2583b936d53b620b249b2dd5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060optional.length \u003E 0 \u0026\u0026 kindFilter !== \u0022bundled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"3485e4d6b37a5beb6fc03993d79cb1bc371fd1d8d6847d4a870e1047277d94d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.deploymentMode !== \u0022authenticated\u0022 || options.deploymentExposure !== \u0022public\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/agent-observability.ts, server/src/services/tool-access/remote-http.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-observability.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ba3c46bf05dcd1b424d3d5d832689e618d04004fc1da2445febfaccf7745d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.storageKey \u0026\u0026 owner !== undefined\u0060 appears character-identically in 2 files \u2014 ui/src/hooks/useBackgroundSubmitQueue.ts, ui/src/hooks/useDurableSubmit.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43691ac0468f14f4c2082842a2bcc4d9de27877f03ebd863a1db8ddba6f47f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options?.allowedDrivers \u0026\u0026 !options.allowedDrivers.includes(environment.driver)\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/services/environment-selection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"061c928402ea2f6951656bec46a995ef2c99539e2dc340cb3ccae57c4a71ce0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options?.knownPrefixes \u0026\u0026 options.knownPrefixes.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/lib/case-reference.ts, ui/src/lib/issue-reference.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/case-reference.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9410d89d284289fabaf916f00b6a38cf1cc8eb9bc07770403b1f03f11268806e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060originatingActor?.kind === \u0022user\u0022 \u0026\u0026 originatingActor.viaAgentId\u0060 appears character-identically in 2 files \u2014 ui/src/components/issue-properties/IssueProperties.tsx, ui/src/pages/IssueDetail.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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f001357b88660fb3397d83cded9be381a4ab112a848f6337c2b612eacac7065"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outcome.result \u0026\u0026 typeof outcome.result.message === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 server/src/realtime/runner-prp-ws.ts, server/src/services/native-runtime/runner-prp-coordinator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-ws.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb87f993e868b7f8a20d8c4edd7aaf236e902338fa3d6b1d684ca7ec91d195d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outcome.status === \u0022failed\u0022 || outcome.status === \u0022rejected\u0022\u0060 appears character-identically in 2 files \u2014 server/src/realtime/runner-prp-ws.ts, server/src/services/native-runtime/runner-prp-coordinator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-ws.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f3a3c711633322bd51e5d7badbc1bf8332bbf59e253d0a8041318de013706a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overflowY === \u0022auto\u0022 || overflowY === \u0022scroll\u0022 || overflowY === \u0022overlay\u0022\u0060 appears character-identically in 5 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/components/run-log/RunDetails.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1eb9366503e2cac277146d4d88843e7f6e00f97a77edc5b94965a5e15565a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overviewQuery.isLoading || overviewView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanyEnvironments.tsx, ui/src/pages/Workspaces.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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"649df6088e5576ffe043d3e35831fccdde5102bf0c26fb3b12e4b5918b803f15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060owner === \u0022paperclipai\u0022 \u0026\u0026 repoName === \u0022paperclip\u0022 \u0026\u0026 canonicalKey?.startsWith(\u0022paperclipai/paperclip/\u0022)\u0060 appears character-identically in 2 files \u2014 server/src/services/company-portability.ts, server/src/services/company-skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9038fa0b5885b6002efa746525fd163df64a59278ad898787376213d4ea973"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060owner.provider !== \u0022acpx\u0022 || owner.agent !== \u0022cursor\u0022 || !owner.threadId || !owner.turnId || !object(raw) || !exact(raw, [\u0022threadId\u0022, \u0022turnI\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f7efeb6cab7785a8f5e861523ce3cddb51fa0546918da74e4c74cadafbd3e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060packet.acceptedAt !== event.createdAt || !Number.isFinite(acceptedAt) || acceptedAt \u003E now \u002B 300_000 || now - acceptedAt \u003E= 30 * 24 * 60 * 60\u2026\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/slack/cloud-callback.ts, server/src/services/chat-channels/slack/cloud-event.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/cloud-callback.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd477a73cad1962c8a3b355043a2b28a3f9a85986db835872663c96d709d081"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params.requestedCwd?.trim() || config.requestedCwd\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/cloudflare/src/plugin.ts, packages/plugins/sandbox-providers/novita/src/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":"packages/plugins/sandbox-providers/cloudflare/src/plugin.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d79d3e100c4e338bf3b6e258c69ce573abd7a92b9ae6688fde773a469cd7f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed !== null \u0026\u0026 hasUsableGrokAuthValue(parsed.value)\u0060 appears character-identically in 2 files \u2014 packages/adapters/grok-local/src/server/grok-home.ts, server/src/services/managed-ai-credential-writeback.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/grok-home.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c3c0f630d6700fe4d08f0a68eb0ec42e27bb6c6240fce437df25d0b6f6688a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed !== null \u0026\u0026 typeof parsed === \u0022object\u0022 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/sandbox-runner-port-holders.ts, ui/src/components/JsonSchemaForm.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":"server/src/services/native-runtime/sandbox-runner-port-holders.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab71ff30171ac725fa4b249a4adb3115b93cff34c7988721f1dc2a0dfbbeb33d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0022object\u0022 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 6 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/plugins/plugin-llm-wiki/src/wiki/core.ts, server/src/realtime/environment-custom-image-terminal-ws.ts, server/src/services/chat-slack-receipts.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbf316447c623ebd5c4c7cdd652f5ddfa7714f588db039c86ad452d0dff139"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0022object\u0022 \u0026\u0026 \u0022error\u0022 in parsed\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/connections.ts, packages/mcp-server/src/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":"cli/src/commands/client/connections.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b285dafa67951ddb057ffa6ede224050457498ef82ffb9110a6efa8ddcdc6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed === null || typeof parsed !== \u0022object\u0022 || Array.isArray(parsed)\u0060 appears character-identically in 5 files \u2014 packages/adapters/codex-local/src/server/codex-auth-cache.ts, packages/adapters/codex-local/src/server/codex-auth-merge-decision.cjs, packages/adapters/codex-local/src/server/codex-home.ts, packages/paperclip-runner/src/cli/eval-session.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9b074dd8d79751d99f020006b5ac346463dfebcb98339098dc8bdb43d44155"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.isError === true || parsed.error !== undefined\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/ui.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9956ae8434229fd16371443092e41d617b3dc11c66fd4ebe921c8bff761ed9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.is_error === true || payload.is_error === true || payload.error !== undefined || asString(payload.status).toLowerCase() === \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f1537a5be5764acac0740d104796d0680fd2106e99886b3240f041f7d7c6d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.is_error === true || status === \u0022error\u0022 || status === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b082080a75420de8d7ce4006dd42d6069d78be4122be065cc6389b66d3b763"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.is_error === true || subtype === \u0022error\u0022 || subtype === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/cli/format-event.ts, packages/adapters/cursor-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc55052f83a356c3a1d4e97b7165c9ef1ef011d190ec4a20c82e92e221beb7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol !== \u0022http:\u0022 \u0026\u0026 parsed.protocol !== \u0022https:\u0022\u0060 appears character-identically in 6 files \u2014 packages/adapter-utils/src/local-process-sandbox.ts, packages/adapters/openclaw-gateway/src/server/execute.ts, server/src/services/remote-http-endpoint-guard.ts, server/src/services/workspace-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/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05bf8e5dcb88f26acafbabbe1dcb2c929357cbc1c18d0adbe3bf657dc199a3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol !== \u0022https:\u0022 \u0026\u0026 parsed.protocol !== \u0022http:\u0022\u0060 appears character-identically in 2 files \u2014 packages/shared/src/oauth-endpoint-url.ts, server/src/auth/workspace-login-handoff.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/oauth-endpoint-url.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22f28847e3d36059a8f5991dd04cba59bdec106f0ee6b802b03f8983cf79a19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol !== \u0022https:\u0022 || parsed.username || parsed.password || parsed.search || parsed.hash\u0060 appears character-identically in 2 files \u2014 scripts/publish-announcements.ts, server/src/services/chat-sdk-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":"scripts/publish-announcements.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd4c68e75c285ebe9ef83ae9633105c7f51fc343b9513f93b1e13e861d57348"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol === \u0022http:\u0022 || parsed.protocol === \u0022https:\u0022\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/git-workspace-sync.ts, ui/src/components/ProjectProperties.tsx, ui/src/pages/ExecutionWorkspaceDetail.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/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1ec1a064053e88f73508ce56f80a21ac0fc5d9fb99b66d57b726d2c291934c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.usageComplete || parsed.costUsd != null\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5d5c59edcbc93ccbae6ccc13a44179571c1068315641b1230f8264d9e65653"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsedError?.trim() || firstNonEmptyLine(stderr) || firstNonEmptyLine(stdout)\u0060 appears character-identically in 6 files \u2014 packages/adapters/codex-local/src/server/test.ts, packages/adapters/gemini-local/src/server/test.ts, packages/adapters/grok-local/src/server/test.ts, packages/adapters/kimi-local/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d540f01407a0b480a4be9e6b609887444a165798ec62ca00175fa659243830ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsedRemote.success \u0026\u0026 parsedRemote.data.state === \u0022saved\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/workspace-recovery-receipt.ts, server/src/services/workspace-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":"server/src/services/workspace-recovery-receipt.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d314e3655121408f1aea23c2be9fb4326a90e8560e70c506a87e38919f6cb6b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsedRoute.hasExplicitFilePath || selectedPath !== \u0022SKILL.md\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a13b5adc3478db1e0655b86a9a147aebbda958138dd3c6bede11c976200a003"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part !== \u0022\u0022 \u0026\u0026 part !== \u0022.\u0022 \u0026\u0026 part !== \u0022..\u0022\u0060 appears character-identically in 6 files \u2014 packages/paperclip-runner/src/drivers/acpx/copilot-events.ts, packages/paperclip-runner/src/drivers/acpx/kimi-runtime-files.ts, packages/paperclip-runner/src/drivers/acpx/pi-verified-runtime.ts, packages/plugins/sdk/src/environment-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/paperclip-runner/src/drivers/acpx/copilot-events.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc97902bea396792423f8515e65c9ddfa83ef8e721968ea0b0ea05b42321ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part !== \u0022..\u0022 \u0026\u0026 part !== \u0022.\u0022 \u0026\u0026 part !== \u0022\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-harness-backup-archive.ts, server/src/services/native-runtime/native-provider-artifact-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":"server/src/services/native-runtime/native-harness-backup-archive.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5761c42431019c0c8a4b443ed55ad085e37a502d6b3e5abf64b11ca79a3a22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part === \u0022\u0022 || part === \u0022.\u0022 || part === \u0022..\u0022\u0060 appears character-identically in 2 files \u2014 scripts/extract-proposed-events.mjs, scripts/runner-image-oci.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/extract-proposed-events.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a1882c1013d72a12b2e08a9142f9e3da5bc07f8f05596d976ee0b05def494a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part === \u0022..\u0022 || part === \u0022.\u0022 || part === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 scripts/ci/pr-run-durations.mjs, server/src/services/remote-workspace-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":"scripts/ci/pr-run-durations.mjs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"443eed5a4f6e2add55bd892af28e189170e7c976d60fb0421f50493096da8c56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.is_error === true || asString(part.status).toLowerCase() === \u0022error\u0022\u0060 appears character-identically in 4 files \u2014 packages/adapters/cursor-local/src/cli/format-event.ts, packages/adapters/cursor-local/src/ui/parse-stdout.ts, packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1837856a0441e44be5e26a268752a82b9ffcc3afadc8fbc40c179afdf6e79d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part.length \u003E 0 \u0026\u0026 part !== \u0022.\u0022 \u0026\u0026 part !== \u0022..\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts, server/src/services/isolated-task-directory-snapshot.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"352aed8738c63a92511cc216a3c4e99234bb7fd0ac3c966b8e08a0655ab626fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts.length \u003E 1 \u0026\u0026 parts[0] === candidate\u0060 appears character-identically in 2 files \u2014 packages/shared/src/portability-zip.ts, ui/src/lib/zip.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/portability-zip.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03df0b302b3eaee6ece0e3752c9a048d0e46bfc820024e6c8c16ea610eaf332"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts[0] !== \u0022teams\u0022 || parts.length \u003C 2 || parts.length \u003E 4\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-provider-links.ts, server/src/services/chat-teams-inline-image-intake.ts, server/src/services/chat-teams-personal-recipient.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-links.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c97f71b1baa96faabb0debe58d844dd041bcc743336ce5ff1f70601b8c68ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060patch.config !== undefined || patch.driver !== undefined\u0060 appears character-identically in 2 files \u2014 server/src/routes/environments.ts, server/src/services/environments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31df60325d7f0314b0bdc2f55da620ed5563f2051596f1a21deeb239fa90ca4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060patch.sortField !== undefined || patch.sortDir !== undefined\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"37977710be83adc91298046cff49855900766cd9508e4722e4246f74538aced9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.isAbsolute(relativePath) || relativePath.split(\u0022/\u0022).includes(\u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 packages/skills-catalog/src/catalog-builder.ts, packages/teams-catalog/src/catalog-builder.ts. It is one line, so the duplication detector\u0027s token 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b847db6dae509a60493a16e0b1e9fac409257b1ad68f4976986297063a96ab6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.isAbsolute(token) || hasPathSeparator(token)\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/kimi-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8203381816afd577f99377bd963c57ad4969a503e49b8feea8645c2baaa1a15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.isAbsolute(trimmed) || hasPathSeparator(trimmed)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/codex-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bf58de01e1debea17d947365d6df3e174143ed5aa4fbd1e506f30bf33885e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.posix.isAbsolute(linkTarget) || posixPathEscapes(resolved)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd7c2b55b391a002ac0bc7cbe5023bc906ce0abd456cfb2ffce84ebcad01c01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pathSegment === \u0022mine\u0022 || pathSegment === \u0022recent\u0022 || pathSegment === \u0022all\u0022 || pathSegment === \u0022unread\u0022 || pathSegment === \u0022blocked\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ca0f1ecd8936f38f29bfd3e379342224e6f88bf0c40f1a221c889eb18992f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.entityType === \u0022issue\u0022 \u0026\u0026 typeof payload.entityId === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 server/src/realtime/activity-toast-identity.ts, server/src/realtime/live-events-ws.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/activity-toast-identity.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"322c06c8aa4fc2dc122f8465ce5a38a7abe00c7fada5b5c62e55945b3b06854e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.interrupted === true || payload.status === \u0022interrupted\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"96208db0a68a61e457546646930b7eca7194abf6b5a13491c80fa0085a2c718d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.length \u003C PAYLOAD_MAGIC.length \u002B 4 || !payload.subarray(0, PAYLOAD_MAGIC.length).equals(PAYLOAD_MAGIC)\u0060 appears character-identically in 2 files \u2014 server/src/services/git-restore-point.ts, server/src/services/isolated-task-directory-snapshot.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a2b19f35042ba2da578642af9cc0adfd641ea06cfa226954e70c8a2487fcd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.status !== \u0022needsMigrations\u0022 || pendingMigrations.length === 0\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fffb76c2ed7b058d603d927eeec619ae2f537dd09a804afcaee887d0047899"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.status === \u0022needsMigrations\u0022 \u0026\u0026 Array.isArray(payload.pendingMigrations)\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"914e38796d3e704d9726e5775503f3e04b2fce4bd76e6100b728d8154252e1ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending \u0026\u0026 membershipMutation.variables?.starred === false\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarStarredProjects.production.tsx, ui/src/components/SidebarStarredProjects.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":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"948a2c4a08f97fcd96fcc04849edce6b42844667df805fcee0b490354c04b629"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending \u0026\u0026 membershipMutation.variables?.state === \u0022left\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarStarredProjects.production.tsx, ui/src/components/SidebarStarredProjects.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":"ui/src/components/SidebarStarredProjects.production.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a6e6d4cb0aab9b4df7a8bbd31b84dfd726f2cb4e65927ac65d5005198c705b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending \u0026\u0026 pending.draftKey === draftKey\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":4843}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ae3473ea0080e23dde592e532a27110fa892ff2f715675231cc2f4cba2dc61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending.request.turnId !== input.turnId || this.#activeTurnId !== input.turnId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts, packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffbf28b8e5d8dcedbd83ab39fdc26576214d21164535c595af44e2b484df5af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060permissionDenied \u0026\u0026 !recoveringFromAccessDowngrade \u0026\u0026 !fallingBackToAllActivity\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c53a26681c714dddf76406e0a32b71c92f47b3622338e0ffaa65a72a1539977"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060persisted.transportPart || persisted.card || persisted.interactionId || persisted.attachmentIds?.length\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-channels/publications/preparation.ts, server/src/services/chat-channels/telegram/publication-preparation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/publications/preparation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af26029394222b49d4ff7bb2be914c8e5df0c1d03d4d006a50a7c26576bd7d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phase \u003E 2 || message.jsonrpc !== \u00222.0\u0022 || message.id !== phase || \u0022method\u0022 in message || \u0022error\u0022 in message || !Object.hasOwn(message, \u0022resu\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-auth.ts, packages/paperclip-runner/src/drivers/acpx/antigravity-models.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/antigravity-auth.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9edd0f7c9e68fb52a1d4f3d2afdf88ebb3dbf081ccc7694e62cca3807b0a2d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060plan.action === \u0022insert\u0022 || plan.action === \u0022merge_existing\u0022\u0060 appears character-identically in 2 files \u2014 cli/src/commands/worktree-merge-history-lib.ts, cli/src/commands/worktree.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree-merge-history-lib.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e71efc658df7f6be1fdfd3f5b84774c517e4b2714fe122fe05219e11e64b68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060plugin.manifestJson.description || \u0022No description provided.\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/PluginManager.tsx, ui/src/pages/PluginSettings.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":"ui/src/pages/PluginManager.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"518bc2ced54edde22910dd5fe4fcad0368bed723505c3dd60e98e16cd1ef87d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pointerMovedSinceKeyNavRef.current \u0026\u0026 hoveredIndex \u003E= 0\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d5cad391a2850d69d729707dcdb7a09f492ddd824501dccc11e3f0b1cfe3fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060presentation === \u0022timeline\u0022 \u0026\u0026 \u0022rounded-md border border-border bg-card/60\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx, ui/src/components/task-chat/TaskChatProtocolCard.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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100172cfd6ae3915ae3d7e1964a64a43643bcc502f3162aacde8946a61a368a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060presentation === \u0022timeline\u0022 \u0026\u0026 interaction.status !== \u0022pending\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx, ui/src/components/task-chat/TaskChatInteractionCard.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":"ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ad6063f564bae2288fcaf2ca7ff9bf455583dee1c6eb10826013b088b326be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preserved \u0026\u0026 hasRequiredWorkspaceRecovery(preserved.resultJson)\u0060 appears character-identically in 2 files \u2014 server/src/services/explicit-native-continuation.ts, server/src/services/native-runtime/native-superseded-workspace-export.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c83011905d9221455e002f6cac6f429c41ca871f12a721aee8d8229dcd67a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previousBucket \u003C 1 \u0026\u0026 currentBucket \u003E= 1\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd6041bdb83b34491e1fdec55b571f18521c6e5843f78d1b55540418c1e4325"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previousBucket \u003C 2 \u0026\u0026 currentBucket \u003E= 2\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dea23c1a2f5584d3856d2bd121c10ffd8a42d04f8a22b27b599b162a8c2a3c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previousIssueIds.length \u003E 0 \u0026\u0026 nextIssueIds.startsWith(previousIssueIds)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5efbc83a999546665e4e97224c1b4f91e7fb6213abe1374216b385fc27e6b60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prior \u0026\u0026 (prior.role !== value.role || prior.nativeRun !== value.nativeRun || prior.sequence \u003E= value.sequence)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts, packages/paperclip-runner/src/live/cursor-usage-notice.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/cursor-usage-notice.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efed90c519c22181410ea697a6ab0817165a6de0d9188b761b84e4d3f0c488d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prior \u0026\u0026 typeof prior === \u0022object\u0022 \u0026\u0026 !Array.isArray(prior)\u0060 appears character-identically in 2 files \u2014 server/src/services/sandbox-stop-and-retain.ts, server/src/services/tool-access/oauth/authorization-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":"server/src/services/sandbox-stop-and-retain.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6237f5e0c4a0ec9d3fe618f9213946adf4e774bbb2189d213f6dafb42a0bfddf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.argv[1] \u0026\u0026 path.resolve(process.argv[1]) === scriptPath\u0060 appears character-identically in 2 files \u2014 scripts/check-maps.mjs, scripts/storybook-catalog.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/check-maps.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f6579157ec6d22abed9538d1eb584287cba93784d8ccadb07e2d2778ea126f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.AWS_ACCESS_KEY_ID?.trim() \u0026\u0026 process.env.AWS_SECRET_ACCESS_KEY?.trim()\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, server/src/secrets/aws-secrets-manager-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecff60862a4294cc19439ef11359ee4c15d7434c5ff60efad507ac6a89f62575"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.AWS_CONTAINER_CREDENTIALS_RELATIVE_URI?.trim() || process.env.AWS_CONTAINER_CREDENTIALS_FULL_URI?.trim()\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, server/src/secrets/aws-secrets-manager-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"59108a68d5c941c89994a6ce76c0fa2b65fd68752bd914beb80dc069b2384c51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.AWS_SHARED_CREDENTIALS_FILE?.trim() || process.env.AWS_CONFIG_FILE?.trim()\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, server/src/secrets/aws-secrets-manager-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c6893d523949b41dfeba8beb38c335aabfaae9af3f3075b4d362fc6a180b39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.AWS_WEB_IDENTITY_TOKEN_FILE?.trim() \u0026\u0026 process.env.AWS_ROLE_ARN?.trim()\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, server/src/secrets/aws-secrets-manager-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6147ebd115419350d4b1598acecb52b6121a5968b7bb21aad35a206bf5c4ff3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GITHUB_WORKSPACE || process.cwd()\u0060 appears character-identically in 2 files \u2014 scripts/ci-profile/record.mjs, scripts/runner-debug-crate-cache.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/ci-profile/record.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c462242ea284d9cd880b10b0503c9be0a89fb4cbb271ea0900261209b8b4829"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.OTEL_SERVICE_NAME || \u0022paperclip\u0022\u0060 appears character-identically in 2 files \u2014 server/scripts/benchmark-native-skill-preparation.ts, server/src/instrumentation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-native-skill-preparation.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d22196e1678f35d265871434694de44f6727f3dc07850666ad45b5e11101c3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_HOME?.trim() || path.join(os.homedir(), \u0022.paperclip\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, scripts/run-vitest-stable.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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d18cde56185371fe2d8d38db9b97777fb823f13deb63d61df32e405cfa449e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_MANAGED_RUNTIME_PUBLIC_URL?.trim() || undefined\u0060 appears character-identically in 2 files \u2014 server/src/auth/better-auth.ts, server/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":"server/src/auth/better-auth.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"659d565739774162521ffe690ca44a2025eea533b272e8cad03cf618daff94e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_PG_DUMP_PATH || \u0022pg_dump\u0022\u0060 appears character-identically in 2 files \u2014 packages/db/src/backup-lib.ts, server/scripts/qualify-idle-database-backup.ts. It is one line, so the duplication detector\u0027s token 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/db/src/backup-lib.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"03869cb5f071768740b5ad08a16b3059948756e70aebc05275914c5a7525595a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_PSQL_PATH || \u0022psql\u0022\u0060 appears character-identically in 2 files \u2014 packages/db/src/backup-lib.ts, server/scripts/qualify-idle-database-backup.ts. It is one line, so the duplication detector\u0027s token 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/db/src/backup-lib.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a753ac326fe4d13f0414ca74dd22391247eec9e10511729ddd94a9cb2d64d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_RUN_ID?.trim() || null\u0060 appears character-identically in 3 files \u2014 cli/src/commands/service.ts, packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs, scripts/request-hot-restart.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/service.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"976faad6ed251078b88424e9c4d59545453e2b98c11b482e30c4b69f2e05a106"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_RUN_SCRATCH_DIR || process.cwd()\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e2fb1969d7395a884ca0f855130ef76beb85419681e93d800d4d3385d87bfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_SECRETS_AWS_REGION?.trim() || process.env.AWS_REGION?.trim() || process.env.AWS_DEFAULT_REGION?.trim()\u0060 appears character-identically in 2 files \u2014 cli/src/checks/secrets-check.ts, server/src/secrets/aws-secrets-manager-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61ecd751a999f8f66c20b86e25418d5148f0520228a770f516479d18d67770f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_SKILL_DEFAULT_CADENCE_CLOUD_NODE || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/test-skill-default-cadence.mjs, scripts/test-status-object-signed-sleep.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/test-skill-default-cadence.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4251f25cafd8e20c0a32bc33a0b3f429eee41c60c35bcd2d6f7ffd54831326e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.PAPERCLIP_SKILL_DEFAULT_CADENCE_CLOUD_SHA || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 scripts/test-skill-default-cadence.mjs, scripts/test-status-object-signed-sleep.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/test-skill-default-cadence.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069bd7d1c233b1d417ac9d8047c36f63908aa1ea4bb96f84ff262b5e645279a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.getuid \u0026\u0026 stat.uid !== process.getuid()\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts, packages/paperclip-runner/src/drivers/cursor-cloud/artifact-delivery.ts, packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts, server/src/services/native-runtime/cursor-cloud-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/cli/cursor-cloud-app-server-proxy.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"545abc75eec3116642c7862af07cff84eb4855eae08b35b3a8905f6ed0150fbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0022linux\u0022 \u0026\u0026 process.platform !== \u0022darwin\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts, server/src/services/local-service-supervisor.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24af5f804e294c3d4c343949f1a3a1c1e8548d8ed86f06559ac76babc379ce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0022win32\u0022 \u0026\u0026 child.pid\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/workspace-git-stream.ts, server/src/services/native-runtime/native-codex-runner.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/workspace-git-stream.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92d0282dee013e4c2fd14b3d1ceec550e75fbca2a779375d4a8e70c898bf059"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0022win32\u0022 \u0026\u0026 child.pid !== undefined\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-process.ts, packages/paperclip-runner/src/drivers/copilot-metadata-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":"packages/paperclip-runner/src/drivers/acpx/antigravity-process.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e898f65940dcc6fa6cc923f261d834349e94f3918597805183973a932bc0cce0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0022win32\u0022 || ![\u0022EACCES\u0022, \u0022EINVAL\u0022, \u0022EISDIR\u0022, \u0022ENOTSUP\u0022, \u0022EPERM\u0022].includes(String(code))\u0060 appears character-identically in 2 files \u2014 cli/src/config/store.ts, server/src/worktree-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":"cli/src/config/store.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb48625caa41d188ddbc8395f2802b3e901bd5734c3f9972e05c7631258d137e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.stdin.isTTY \u0026\u0026 process.stdout.isTTY\u0060 appears character-identically in 3 files \u2014 cli/src/commands/client/common.ts, cli/src/commands/client/company.ts, cli/src/commands/onboard.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/common.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ae9f0e878d0d7a10a6f1453f4b1e4761ffe696b223abe7ec38938c69bc0835"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile.value === \u0022antigravity\u0022 \u0026\u0026 profile.qualified\u0060 appears character-identically in 3 files \u2014 ui/src/components/new-agent/AgentBasicsDialog.tsx, ui/src/components/new-agent/NewAgentSetup.tsx, ui/src/lib/new-agent-adapters.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/new-agent/AgentBasicsDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9baabad15485816650d9089ac8f51a354838985cd6ef4b0530b134eb7086b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profile.value === \u0022copilot\u0022 \u0026\u0026 profile.qualified\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/acpx-qualification.ts, ui/src/components/new-agent/AgentBasicsDialog.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":"server/src/services/native-runtime/acpx-qualification.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b7ee5583a666991ca5935c1684b39de54153cadebcf7b14a29a19f81932cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060profiles.isLoading || profilesView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/pages/apps/app-detail/BrowserUseSettingsPanel.tsx, ui/src/pages/tools/ProfilesTab.tsx, ui/src/pages/tools/profiles/ProfilesIndex.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":"ui/src/pages/apps/app-detail/BrowserUseSettingsPanel.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"757c72ffa8ff5ea9415b8424e364fb6955cefe8b506d23847e9e2c371dd930d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060projectId \u0026\u0026 defaults.projectId === undefined\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aae852aae9012eb30201f63b43d50127958b4c413016773def087b0cd4cfb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060projectId.length === 0 || projectId.includes(\u0022/\u0022) || projectId.includes(\u0022\\\\\u0022) || projectId.includes(\u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/remote-managed-runtime.ts, packages/adapter-utils/src/sandbox-managed-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/adapter-utils/src/remote-managed-runtime.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1dba6222f7a8fb89d93f1f2b01ed52cba54c56b4ff18caa2bbf44976bafd0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060property.type === \u0022number\u0022 || property.type === \u0022integer\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, server/src/services/mcp-elicitation.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9faf29e9878a044ad49da700e39846d951f2590bf7446944449bb1f814c28a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060props.kind === \u0022application\u0022 \u0026\u0026 !!selectedCompanyId\u0060 appears character-identically in 2 files \u2014 ui/src/components/AppConnectionSidebar.production.tsx, ui/src/components/AppConnectionSidebar.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":"ui/src/components/AppConnectionSidebar.production.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3974ec5990b0c17b2ee5291eb444490d6d37bc15ac9400cafc615f24049e48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060props.kind === \u0022connection\u0022 \u0026\u0026 !!props.connectionId\u0060 appears character-identically in 2 files \u2014 ui/src/components/AppConnectionSidebar.production.tsx, ui/src/components/AppConnectionSidebar.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":"ui/src/components/AppConnectionSidebar.production.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a14945e5c3cc98467a6a6f9cc11257c0cd2943c87ceabe86fc820c210cae25c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proto === Object.prototype || proto === null\u0060 appears character-identically in 4 files \u2014 packages/adapter-utils/src/log-redaction.ts, server/src/log-redaction.ts, server/src/redaction.ts, server/src/services/tool-content-guards.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/log-redaction.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b054db112c43978775462567f789a5217814de113ef026d6539f939e656be9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider === \u0022aws_agentcore\u0022 \u0026\u0026 model !== \u0022global.anthropic.claude-sonnet-4-6\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/capability-issue-thread-server.mjs, packages/paperclip-runner/src/cli/eval-session-contract.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdad80fdeb0e5ce0dfddf171b9097210f3ad5136423c93a47be59e965f3e6b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider === \u0022claude_managed\u0022 \u0026\u0026 model !== \u0022claude-sonnet-5\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/capability-issue-thread-server.mjs, packages/paperclip-runner/src/cli/eval-session-contract.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aae591ac1b3f94dbd0c1b5182d34ad7f25d681693df9abce76d275a78e936c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060providerQuota \u0026\u0026 transientRetryNotBefore\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd81b0b9936c68181ac99e69d9136ec818bf34cba6240301278efcf0b0abdf79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.isLoading || queryView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/AggregatorAppManager.tsx, ui/src/pages/apps/app-detail/ConnectedAggregatorApps.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":"ui/src/pages/apps/AggregatorAppManager.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e7f5e1fe5165df57c5f12c2de00cecc11097d19bc1a19ded2dff1e045b24b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.isLoading || view.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 4 files \u2014 ui/src/components/task-side-panel/TaskDocumentPanel.tsx, ui/src/components/task-side-panel/TaskSkillPanel.tsx, ui/src/features/connections/ConnectionInstructions.tsx, ui/src/pages/apps/ReviewQueueCard.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":"ui/src/components/task-side-panel/TaskDocumentPanel.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc99592babd33e8cefa9cd128543b56996574b51d34ec556e791ab00a7f81e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.isPending || view.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/chat/ChatEndpointDetail.tsx, ui/src/pages/apps/chat/GitHubBotManagement.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":"ui/src/pages/apps/chat/ChatEndpointDetail.tsx"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbfde6e87df19a2dae62c067de2128c5298d44cdbafc8b797afd61c7db3cdae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.status !== \u0022running\u0022 \u0026\u0026 r.status !== \u0022queued\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb7dcfc906d487f2d68b0ea5c68cb518f831ab8b7d1c87355e52b85cd0a1594"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.status === \u0022running\u0022 || r.status === \u0022queued\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"646b1c59fba41dc41d3b57d68ebeef4bb3883d46ad203ce8068ebb386d308241"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw \u0026\u0026 typeof raw === \u0022object\u0022 \u0026\u0026 !Array.isArray(raw)\u0060 appears character-identically in 5 files \u2014 server/src/services/chat-channels/discord/messages.ts, server/src/services/chat-channels/slack/messages.ts, server/src/services/instance-settings.ts, server/src/services/usage-receipts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/discord/messages.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3726d2277b10ed60a1981cc3e11f8c26817be9346dcc053be8e79863a571a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw === null || raw === undefined || raw === \u0022\u0022\u0060 appears character-identically in 2 files \u2014 packages/google-sheets-mcp-server/src/config.ts, packages/kv-demo-mcp-server/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/google-sheets-mcp-server/src/config.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d04a8e802a861b710fc23b454b006d259e539a43af6a7fbce42447a62bab0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw === null || typeof raw !== \u0022object\u0022 || Array.isArray(raw)\u0060 appears character-identically in 3 files \u2014 packages/adapters/grok-local/src/server/grok-auth-merge-decision.cjs, packages/adapters/grok-local/src/server/grok-home.ts, packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/grok-auth-merge-decision.cjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c786bc8de67f93b11ba2a71a0922c3072d91573844a28365cb3223f617e57761"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw.stream === \u0022stderr\u0022 || raw.stream === \u0022system\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/run-log/LogViewer.tsx, ui/src/components/run-log/RunDetails.tsx, ui/src/lib/run-log-chunks.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc0f976a20b888aa8044613cb9b3d76c387419d6447db6e6c769822bd032d13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawDisposition === \u0022blocked\u0022 || rawDisposition === \u0022needs_review\u0022 || rawDisposition === \u0022yielded\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/adapters/paperclip-runner/index.ts, ui/src/components/transcript/native-run-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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dc5d7ceb422c182bd27af63e5c8c71bb6f17824c795abb8967bbfcec3fc001"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawEngine === \u0022acp\u0022 || rawEngine === \u0022cli\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/adapters/claude-local/config-fields.tsx, ui/src/adapters/codex-local/config-fields.tsx, ui/src/adapters/gemini-local/config-fields.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":"ui/src/adapters/claude-local/config-fields.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4ed8452417149283049b1ed7f16a46a9f7a3cd7f369ff169406b84230d93ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawHovered != null \u0026\u0026 rawHovered \u003E= 0 \u0026\u0026 rawHovered \u003C navCount\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"7402df8f415a3a74a31015175c4710e30bf7c0eceb7e61d8b6bb211461cd1793"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawStatus === \u0022failed\u0022 || rawStatus === \u0022denied\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/issue-thread/live-projection.ts, ui/src/adapters/paperclip-runner/index.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe630b64d6ac3605289fb561c751ebefffd0973e40ed2febbc3824f3efe90366"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawStatus === \u0022interrupted\u0022 || rawStatus === \u0022cancelled\u0022\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/issue-thread/live-projection.ts, ui/src/adapters/paperclip-runner/index.ts, ui/src/components/transcript/native-run-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/paperclip-runner/src/issue-thread/live-projection.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a78915d638f73de90fedb1c7404ea2288e90aaf3138e6d808d47cbac7debd2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rawStatus === \u0022resolved\u0022 || rawStatus === \u0022expired\u0022 || rawStatus === \u0022cancelled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/adapters/paperclip-runner/index.ts, ui/src/components/transcript/native-run-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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3defe82b7cfa20fff36f7eb0a5031ce70cf95b81c929ab7ead6519565e069ee7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw[key] !== undefined \u0026\u0026 raw[key] !== null\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-telegram-media-intake.ts, server/src/services/chat-telegram-video-note.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"788db0d0a9b8bc624527a2c0e824f526c239189849055bb812c93c12375dc9c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reasoning || \u0022Hermes reasoning available\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/gateway-ui-parser.cjs, packages/adapters/hermes/src/gateway/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/hermes/gateway-ui-parser.cjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e95a190d6d717b8364683de1d7a13ef1d36e1312c8beef7a494bfd5fee1090c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rec.type === \u0022plain\u0022 \u0026\u0026 typeof rec.value === \u0022string\u0022\u0060 appears character-identically in 5 files \u2014 packages/adapter-utils/src/env-bindings.ts, packages/adapters/cursor-cloud/src/server/execute.ts, packages/adapters/cursor-cloud/src/server/test.ts, packages/adapters/kimi-local/src/ui/build-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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"808cdd5da518dc5971c0f7498519b0ea1422df2d77069bba44df8b41975bd1b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rec.type === \u0022secret_ref\u0022 \u0026\u0026 typeof rec.secretId === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/env-bindings.ts, packages/adapters/kimi-local/src/ui/build-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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa450336252c7dcb5fa72080fc81ded26f9fb1692169309300ba76e3c51efac1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receipt.costStatus !== \u0022reported\u0022 \u0026\u0026 typeof failure.responseBody === \u0022string\u0022 \u0026\u0026 failure.responseBody.length \u003C= 1_000_000\u0060 appears character-identically in 2 files \u2014 server/src/services/fast-response-provider.ts, server/src/services/prompt-injection-provider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-response-provider.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e7eab50bbac4d0484eaff4189db48cbf1275a8d3d79fdfb449d36448f9255c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receipt.state !== \u0022completed\u0022 || result.outcome === \u0022unknown\u0022 || result.error === \u0022api_outcome_unknown\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/recovery-effect-receipts.ts, server/src/services/workspace-recovery-fallback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery-effect-receipts.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a102bb2cc86c51cdd4c501bb474e11be555cb22acc3071215c8eebb81630c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recentRunsLoading || recentRunsView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"5556d7588b51027f973349b24ed99c066eff5f9b52b75c76ce91698ac65dd88f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reconciled !== requested || (next !== null \u0026\u0026 next \u003C= now)\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-control-work.ts, server/src/services/login-cleanup-work.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-control-work.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eb4b6827dc8c195c71f3d35386859180e97480c19735885501cb2ba62b9177"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record \u0026\u0026 (typeof record.command === \u0022string\u0022 || typeof record.cmd === \u0022string\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/components/transcript/RunTranscriptView.tsx, ui/src/lib/transcriptPresentation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"090aaec8380246ce841d243a2edc41b56bfab7672d766a27ad7de7d624abdda8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record \u0026\u0026 record.companyId === companyId\u0060 appears character-identically in 2 files \u2014 packages/plugins/sdk/src/testing.ts, server/src/services/plugin-host-services.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b05efd7d6ccbbbe548143f1516be939701c8a42ce4d85e27419bc5225f921d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.actorType === \u0022user\u0022 \u0026\u0026 record.actorId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cbfd8c3b846dc155fa1b78962401858ae5e5ba04e0ab24b299d11921077daa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.entity.issue \u0026\u0026 record.entity.document\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e2bfbb357b22c8fd3e8afaf7ee12190f1b353ed5f79d692e99a1c8cc560183"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.outcome === \u0022success\u0022 || record.outcome === \u0022failure\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/effective-run-config-fingerprints.ts, server/src/services/heartbeat/workspaces.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/effective-run-config-fingerprints.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"809847502204ff75b38e38cdc7248d2b9a55721f1adb3e642d9cfba016e6a3f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.owner.kind !== \u0022process\u0022 || !record.companyId\u0060 appears character-identically in 2 files \u2014 server/src/services/legacy-controller-lease.ts, server/src/services/recovery/copyback-owner-hold.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-controller-lease.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd02cf90e166bf81bd8b522cf7aaccff6bfd952cedeecd2af1aacb54eb0fa8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.responsibleUserId \u0026\u0026 !(record.actorType === \u0022user\u0022 \u0026\u0026 record.actorId === record.responsibleUserId)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7047462c1c05231326a43c089e608b5736c586b0be90d6f74e953ad039036c9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recoveringFromAccessDowngrade || fallingBackToAllActivity\u0060 appears character-identically in 2 files \u2014 ui/src/pages/audit/AuditFeed.production.tsx, ui/src/pages/audit/AuditFeed.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":"ui/src/pages/audit/AuditFeed.production.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"78317cd44b48c2c209520b35725e4233812638eb188c13f232a0b35ac3ed05d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.configPath !== \u0022oauth.access_token\u0022 \u0026\u0026 (!nextRefreshRef || ref.configPath !== \u0022oauth.refresh_token\u0022)\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/connection-refresh.ts, server/src/services/tool-access/oauth/grant-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":"server/src/services/tool-access/oauth/connection-refresh.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cbb5c7ddbcef3e7beebe90357b7723eda3ec05ee8658068b1f35b1cfd4b217"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.configPath !== \u0022oauth.access_token\u0022 \u0026\u0026 ref.configPath !== \u0022oauth.refresh_token\u0022\u0060 appears character-identically in 5 files \u2014 server/src/services/tool-access/oauth/access-finalization.ts, server/src/services/tool-access/oauth/cloud-callback.ts, server/src/services/tool-access/oauth/connection-refresh.ts, server/src/services/tool-access/oauth/direct-callback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5df677e637717b08b5c7565cf80f37ccf6d5dbd547b960fcb922a66c97008ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.configPath !== \u0022oauth.access_token\u0022 \u0026\u0026 ref.configPath !== \u0022oauth.refresh_token\u0022 \u0026\u0026 ref.configPath !== \u0022oauth.client_secret\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/access-finalization.ts, server/src/services/tool-access/token-broker/exchange.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/access-finalization.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"715cfa1a90932dffe2f971966f6ecce31d709667eaef61487e5c7fdf8f24da11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060refSet.has(issue.id) || (!!issue.identifier \u0026\u0026 refSet.has(issue.identifier))\u0060 appears character-identically in 2 files \u2014 ui/src/lib/issueDetailCache.ts, ui/src/lib/optimistic-issue-comments.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issueDetailCache.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8823e7706e0e87b3b56f0417d120cd94e587af699f3533c088fa20c44dae82f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rejectSpecialModes \u0026\u0026 /[sStT]/.test(line.trimStart().slice(0, 10))\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e760dd095bef640d33e52a31ffc9f7694eb0bb2947487401e2f790cd5619d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rejectSpecialModes \u0026\u0026 process.platform === \u0022darwin\u0022 \u0026\u0026 (await execFileAsync(\u0022tar\u0022, [\u0022--version\u0022])).stdout.includes(\u0022bsdtar\u0022)\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/file-sync.ts, packages/plugins/sandbox-providers/kubernetes/src/file-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd73248aa595dde1f2fbb2fa27b968d5ad58f7388094c1b50564b8dc8687e1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relative === \u0022\u0022 || (!relative.startsWith(\u0022..\u0022) \u0026\u0026 !path.isAbsolute(relative))\u0060 appears character-identically in 9 files \u2014 packages/plugins/create-paperclip-plugin/src/index.ts, packages/plugins/plugin-workspace-diff/src/workspace-diff.ts, server/src/services/cloud-bundled-package-digest.ts, server/src/services/distribution-plugin-catalog.ts. It is one line, so the duplication detector\u0027s token 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/plugins/create-paperclip-plugin/src/index.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fa8c1deb118dae4148cbe46f9d6341944e861c0a440e78d295a88f32303f42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relative.startsWith(\u0022..\u0022) || path.isAbsolute(relative)\u0060 appears character-identically in 3 files \u2014 cli/src/commands/worktree.ts, server/src/routes/plugin-ui-static.ts, server/src/services/plugin-database.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f131552cbe4ec4c5098388b1c984fe5198ff9e196f638bd04b6c354b5a534b3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relativePath === \u0022\u0022 || (!relativePath.startsWith(\u0022..\u0022) \u0026\u0026 !path.isAbsolute(relativePath))\u0060 appears character-identically in 3 files \u2014 packages/skills-catalog/src/catalog-builder.ts, packages/teams-catalog/src/catalog-builder.ts, server/src/services/plugin-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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce07cdbcaa6caa8f03851459939ec5596c84faeae71ad2570560807df0731b21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060relativePath.endsWith(\u0022.md\u0022) || relativePath.endsWith(\u0022.mdx\u0022)\u0060 appears character-identically in 2 files \u2014 packages/skills-catalog/src/catalog-builder.ts, packages/teams-catalog/src/catalog-builder.ts. It is one line, so the duplication detector\u0027s token 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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa046e7504d9d6d42dcee89bb82cee977b5c18ca04686c2dc44848ba9bdb841"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remainingIssueRowCount \u003E 0 || hasMoreHierarchyRows || hasMoreIssues || isLoadingMoreIssues\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3758475de44e81fa451d220d96f032c8fed48da41547c8c55935c3fb8b2bdf22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remoteHomeDir \u0026\u0026 preparedExecutionTargetRuntime.assetDirs.skills\u0060 appears character-identically in 3 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"841259bdc47a585b2fb1a656962a6b8b627204033db91bc3b031c799c889d462"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.keyScope?.kind === \u0022task_bridge\u0022 || req.actor.keyScope?.kind === \u0022skill_test\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/agent-profile-avatar.ts, server/src/routes/agents.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-profile-avatar.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4237da98538ced913901a21837fbb52c4ea4dafc1179cebeb30378c4360a38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.source === \u0022local_implicit\u0022 || req.actor.isInstanceAdmin\u0060 appears character-identically in 15 files \u2014 server/src/routes/activity.ts, server/src/routes/built-in-agents.ts, server/src/routes/companies.ts, server/src/routes/company-skill-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":"server/src/routes/activity.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b41f2109c878b11832662ca94f4bee280ae0985b58252b6e141a8844bb7898"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.source === \u0022local_implicit\u0022 || req.actor.isInstanceAdmin === true\u0060 appears character-identically in 3 files \u2014 server/src/routes/agents.ts, server/src/routes/connection-intents.ts, server/src/routes/tool-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbc7a20ff4254b04df3e78401a767ed2243f2aac7f1990c166d2a0a46b92b95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type !== \u0022agent\u0022 || !req.actor.agentId\u0060 appears character-identically in 4 files \u2014 server/src/routes/agents.ts, server/src/routes/llms.ts, server/src/routes/routines.ts, server/src/routes/workspace-runtime-service-authz.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4386b259fa830d4692a9dde3eec674c73f9ba85f6135eced293069832c8f0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type !== \u0022agent\u0022 || !req.actor.agentId || !req.actor.companyId\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/routes/tool-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":4181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c88b40d79b7b73540b105e3616557bf67827e578c824c31e11721a3d58288c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type !== \u0022agent\u0022 || !req.actor.agentId || !req.actor.companyId || !req.actor.runId\u0060 appears character-identically in 3 files \u2014 server/src/routes/agent-chat-messages.ts, server/src/routes/mcp-skills.ts, server/src/routes/tool-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agent-chat-messages.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0a14bf150a34be056c533c9d4f09cb74c830052a65f25c17e20c6dfa2f39fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type !== \u0022agent\u0022 || !req.actor.agentId || !req.actor.runId\u0060 appears character-identically in 3 files \u2014 server/src/routes/agent-commentary.ts, server/src/routes/decisions.ts, server/src/routes/slack-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":"server/src/routes/agent-commentary.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a23163cc5e7f7b4f1efa1855e12e613d0c4a079a21b9c9313a2113b3524a06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type !== \u0022board\u0022 || !req.actor.userId\u0060 appears character-identically in 6 files \u2014 server/src/routes/auth.ts, server/src/routes/folders.ts, server/src/routes/inbox-agent-policy.ts, server/src/routes/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/auth.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba76ffa6464851e2146c38d11ad7bc988649ed4cd7cd5c0ac95d3a671b4c9193"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 !connectionRequestContext(req)\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/routes/tool-access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":6687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10df35c6caf733d7400b00911327b04a365f2bc71b760bf16f59ff3a64f1798"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 req.actor.agentId\u0060 appears character-identically in 4 files \u2014 server/src/routes/company-skill-policy.ts, server/src/routes/company-skills.ts, server/src/routes/projects.ts, server/src/routes/sidebar-badges.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4513a6c8ffb9580aa28e857860d289ceba4d63f7fb3810bcd5932bf606a8625f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 req.actor.agentId !== req.body.agentId\u0060 appears character-identically in 2 files \u2014 server/src/routes/costs.ts, server/src/routes/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/costs.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd8c0d5ecca975fb1e676c33ba730c203ca587d6085b65a956de89850f862d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 req.actor.agentId \u0026\u0026 await access.hasPermission(companyId, \u0022agent\u0022, req.actor.agentId, \u0022users:manage_permissio\u2026\u0060 appears character-identically in 2 files \u2014 server/src/routes/company-skill-policy.ts, server/src/routes/inbox-agent-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":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ec72af1544a1980de1265520c96034af36f30836a2390b97aee2b77eb2efe3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 req.actor.companyId\u0060 appears character-identically in 5 files \u2014 server/src/routes/agents.ts, server/src/routes/environments.ts, server/src/routes/file-resources.ts, server/src/routes/plugins.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ba05ce124e488ef329fb4b711a55d811ee0de3e69dea77bddc265a3203245"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 req.actor.companyId !== companyId\u0060 appears character-identically in 2 files \u2014 server/src/routes/company-skill-policy.ts, server/src/routes/company-skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skill-policy.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e775b799dd5438ed5308564a6766d328b224db3765a396568f530c988a3298"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022agent\u0022 \u0026\u0026 req.actor.source === \u0022agent_jwt\u0022 \u0026\u0026 req.actor.runId\u0060 appears character-identically in 2 files \u2014 server/src/routes/company-skills.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/company-skills.ts"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf8ba1434a7f36456c594c1f69f7f17f4fe2bb43ed3bc6b59e9ec0b74bb2f57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.actor.type === \u0022board\u0022 \u0026\u0026 req.actor.userId\u0060 appears character-identically in 3 files \u2014 server/src/routes/issues.ts, server/src/routes/projects.ts, server/src/routes/sidebar-badges.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":10131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63a59812013cc550c519f79275b125c3f9d8a01542b72796537cbcc88f18e4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method !== \u0022GET\u0022 \u0026\u0026 req.method !== \u0022HEAD\u0022\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/live/scenario-chat-demo-server.ts, server/src/retained-ui-assets.ts, server/src/routes/tool-access.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/live/scenario-chat-demo-server.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"f038752436486b65d82337159bc899f738e7cbcf6a0da62d82b0537716cf3a42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0022GET\u0022 \u0026\u0026 (url.pathname === \u0022/\u0022 || url.pathname === \u0022/index.html\u0022)\u0060 appears character-identically in 2 files \u2014 packages/kv-demo-mcp-server/src/http.ts, packages/kv-demo-mcp-server/src/tasks/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/kv-demo-mcp-server/src/http.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc697d26c88b53033a50d9aed34653fe26af1c182564ad4a07a37f86ee90569"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.method === \u0022GET\u0022 \u0026\u0026 url.pathname === \u0022/api/state\u0022\u0060 appears character-identically in 2 files \u2014 packages/kv-demo-mcp-server/src/http.ts, packages/kv-demo-mcp-server/src/tasks/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/kv-demo-mcp-server/src/http.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61acd622e0474baf167454d4e6acc0cd2531210920e0929d15f931b477e7858"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.query.status === \u0022resolved\u0022 || req.query.status === \u0022all\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/cases.ts, server/src/routes/issues.ts, server/src/routes/routines.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c44f085295eeb4a9b29e3cd3be95732bee7e47b47ee5d2b8eea991c135d182"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request.method !== \u0022POST\u0022 || request.url !== \u0022/mcp\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, packages/paperclip-runner/src/drivers/runner-tool-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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae72e5de2867d041cb3e8e1c36b3c169af8d7bf6d588c71240c9276eb13186aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request.method === \u0022GET\u0022 \u0026\u0026 action === \u0022events\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/local-runner-browser-server.mjs, packages/paperclip-runner/src/mock-core/live-console-demo-server.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/local-runner-browser-server.mjs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9d093c0658c515899796f01200eafe46e5a6bf2324eae81e54db3666354f4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request.requesterUser?.name || request.requestEmailSnapshot || request.requestingUserId || \u0022Unknown human requester\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanyAccess.tsx, ui/src/pages/JoinRequestQueue.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":"ui/src/pages/CompanyAccess.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"877d1e6ddd6ea94a3c6440a77fb642dcff49b822ad2b26b45ed8298823c94e83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requestKind === \u0022user_input\u0022 || requestKind === \u0022elicitation\u0022 || rawType === \u0022input\u0022 || rawType.includes(\u0022input\u0022) || rawType.includes(\u0022elici\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/adapters/paperclip-runner/index.ts, ui/src/components/transcript/native-run-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":"ui/src/adapters/paperclip-runner/index.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6b28f9784f035c7923695479541a724b445b8ed1363e8f628723e141087d0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requiredToken \u0026\u0026 presentedToken(req) !== requiredToken\u0060 appears character-identically in 2 files \u2014 packages/google-sheets-mcp-server/src/http.ts, packages/kv-demo-mcp-server/src/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/google-sheets-mcp-server/src/http.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5f4dd3f3c1d39dd5a7ac03388b5aeec4d44039c6179220cc000a5af76962b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolution.action === \u0022decline\u0022 || resolution.action === \u0022cancel\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts, packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ef338d21f9966d5121c4240affecf2a06c703569625b09407ce941a4305ed8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolution.action === \u0022submit\u0022 \u0026\u0026 \u0022response\u0022 in resolution\u0060 appears character-identically in 5 files \u2014 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts, packages/paperclip-runner/src/drivers/codex/codex-harness-session.ts, packages/paperclip-runner/src/drivers/codex/codex-question-adapter.ts, packages/paperclip-runner/src/drivers/codex/codex-session-notifications.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c280aefac4e0260e831504eabe72f1341f53cba6b940af40358bca30028161"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved !== undefined \u0026\u0026 resolved.length \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/adapters/codex-local/src/server/runtime-config.ts, packages/adapters/opencode-local/src/server/runtime-config.ts, packages/adapters/pi-local/src/server/runtime-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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77e5354025fc194481c50b3e5a505510db3d318bdecd762e22c0424622244f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolving || (action === \u0022submit\u0022 \u0026\u0026 answer.trim().length === 0)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx, packages/paperclip-runner/src/react/request-card.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/live/RequestCard.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"241c94756bcee9bbaec4d712612281f247bda0dcbfbd3086b4f869f8a01dc6fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource.type === \u0022issue\u0022 \u0026\u0026 resource.issueId\u0060 appears character-identically in 2 files \u2014 server/src/services/authorization.ts, server/src/services/heartbeat-run-privacy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/authorization.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad8cf3ece87413f7778bcc593c14cd29d4d445242f3324a1b5c639c2286e2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.request().method() === \u0022POST\u0022 \u0026\u0026 new URL(response.url()).pathname === \u0022/api/auth/sign-in/email\u0022\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc133867ad15eb85713f256cacc58b428a35538563ca6d6f79df6cbf892c7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 204 || !response.body\u0060 appears character-identically in 3 files \u2014 server/src/services/connectors/supabase/index.ts, server/src/services/connectors/vercel/index.ts, server/src/services/native-rest-client.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348127750f7c07ab76aef47dc7375579d04418ecbfb12a809f9eae6216b124c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 \u0026\u0026 connection.credentialSource === \u0022vercel_connect\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/catalog/discovery.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0c8941dd5520f3d82dcf561a153f93c7e97ddbd3aa908609efd44029354a84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 401 || response.status === 403\u0060 appears character-identically in 7 files \u2014 server/src/services/browser-use-client.ts, server/src/services/mcp-http.ts, server/src/services/photon/cloud.ts, server/src/services/railway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use-client.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a954beb4b644e2b530d354ec20c604b3a870c1e3694aa8a90922c27fa3b9c7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status \u003E= 400 \u0026\u0026 response.status \u003C 500 \u0026\u0026 response.status !== 408\u0060 appears character-identically in 2 files \u2014 server/src/services/browser-use-client.ts, server/src/services/grok-bot/webhook.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use-client.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1614be97e0ab74957e571f3b5754cec65ec83a2291c16e0ebd2687c2150fb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060restartInFlight || expected || shuttingDown\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d8a1800b2577e634c86fde0fddba10b4f53979ef8ee7abe43f46b70d504f73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result \u0026\u0026 typeof result === \u0022object\u0022 \u0026\u0026 \u0022outcome\u0022 in result\u0060 appears character-identically in 2 files \u2014 server/src/services/public-mcp/dot-runner.ts, ui/src/components/IssueThreadInteractionCard.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":"server/src/services/public-mcp/dot-runner.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4d115b7ef986736e3a26ffb3dbe6a8da70dc17feb94a2a371ba0b043afa6bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.exitCode !== 0 || result.timedOut\u0060 appears character-identically in 10 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, server/src/services/agent-directory-working-copies.ts, server/src/services/agent-file-checkpoints.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f50214b3e96b9831687bd71fc947ec778b16033d6a45f1da1e9d6808a99eea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.exitCode === 0 \u0026\u0026 !result.timedOut\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/command-managed-runtime.ts, server/src/services/agent-directory-working-copies.ts, server/src/services/native-runtime/codex-model-fallback.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/command-managed-runtime.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85f0ae780ddd701de8300dc6040688ee9c0e1464e03de43a95ed281b972c0e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.ok === false \u0026\u0026 typeof result.status === \u0022number\u0022 \u0026\u0026 result.status \u003E= 400 \u0026\u0026 result.status \u003C 500 \u0026\u0026 result.status !== 408\u0060 appears character-identically in 2 files \u2014 server/src/services/recovery-effect-receipts.ts, server/src/services/workspace-recovery-fallback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/recovery-effect-receipts.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc54e04bf9c03d26a1767cf03d1f3692ddaae586116880b5623b32edf43841"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.timedOut || result.exitCode !== 0\u0060 appears character-identically in 7 files \u2014 packages/adapter-utils/src/execution-target.ts, packages/adapters/codex-local/src/server/cli-version.ts, packages/plugins/sandbox-providers/createos/src/file-sync.ts, packages/plugins/sandbox-providers/exe-dev/src/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":"packages/adapter-utils/src/execution-target.ts"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceda68943acdf33e4483a4e4d3f3b9730a6d1d823944e69e3d23efbb0b201538"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resumesToTodo \u0026\u0026 assigneeValue.startsWith(\u0022agent:\u0022)\u0060 appears character-identically in 3 files \u2014 ui/src/components/CommentThread.tsx, ui/src/components/IssueChatThread.tsx, ui/src/components/task-chat/TaskChatComposer.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":"ui/src/components/CommentThread.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ec0f4b300b013880c785e98953ac4050b7d4019dc2e1ef669c747b06fbb52a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryNow.data?.outcome === \u0022waiting\u0022 \u0026\u0026 retryNow.data.scheduledRetry?.runId === scheduledRetry.runId\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueBlockedNotice.tsx, ui/src/components/issue-properties/IssueProperties.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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e286d439c77702f7dc3958f513385942e599a6349842737ffc6620e435805f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retryNow.isSuccess \u0026\u0026 (retryNow.data?.outcome === \u0022promoted\u0022 || retryNow.data?.outcome === \u0022already_promoted\u0022)\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssueBlockedNotice.tsx, ui/src/components/IssueScheduledRetryCard.tsx, ui/src/components/issue-properties/IssueProperties.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":"ui/src/components/IssueBlockedNotice.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8063931ebe12bf737a43f471175b6c1990e3be778d490d2ae7d4c322faac0a81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060right.score - left.score || left.descriptor.operationId.localeCompare(right.descriptor.operationId)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/semantic-tools/discovery.ts, packages/paperclip-runner/src/semantic-tools/paperclip-discovery.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/semantic-tools/discovery.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a21c1b80e6d44d495f3e8bf7bfb656d2a623b5d7b024c04792a487bab45529d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role === \u0022error\u0022 || asString(parsed.type).trim().toLowerCase() === \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/kimi-local/src/cli/format-event.ts, packages/adapters/kimi-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/kimi-local/src/cli/format-event.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d063e91e7b91484019ade50a7b44559f0c29588b565554066e31f34f07d0f50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.reportsToSlug \u0026\u0026 !bySlug.has(root.reportsToSlug)\u0060 appears character-identically in 2 files \u2014 scripts/generate-company-assets.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/generate-company-assets.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"421025ba95f0126cbf262dd0a44b940d51bf5565f6e985a53816117f6cc8dfc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060routeAgentRef.length \u003E 0 \u0026\u0026 (isUuidLike(routeAgentRef) || Boolean(lookupCompanyId))\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ddaf9eec8969c7dafe779b2fc16d0ccef20bf7154fa30c42cc6e19dfeb8245"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060routeSidebarCompanyId \u0026\u0026 pluginRoutePath\u0060 appears character-identically in 2 files \u2014 ui/src/components/Layout.production.tsx, ui/src/components/Layout.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":"ui/src/components/Layout.production.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"793fe77708b40e2aa31086ad28f8543df6e7eee000bd1cc8ccdb574c2d539294"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060routineViewState.groupBy === \u0022folder\u0022 \u0026\u0026 !hasRoutineFolders\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7839ecc3e0015d52c1fe8a011b5f5909b5df4806fe09fe9233cf7631f6d457"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060routineViewState.groupBy === \u0022folder\u0022 \u0026\u0026 !hasRoutineFolders \u0026\u0026 !foldersLoading \u0026\u0026 visibleRoutines.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6930f9e3cc39d27d1c71bd7c2116df9d9267655467c2141f9f8fdbbf92d940e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060routineViewState.groupBy === \u0022folder\u0022 \u0026\u0026 hasRoutineFolders\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Routines.production.tsx, ui/src/pages/Routines.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":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7c28e14c8674f57ce2f90534f770a13afca9142d396c65b04180b9107cf414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.destinationKind !== \u0022agent\u0022 || !row.toAgentId\u0060 appears character-identically in 3 files \u2014 server/src/services/case-handoff-authority.ts, server/src/services/case-handoff-delivery.ts, server/src/services/case-handoffs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoff-authority.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d903e17182e40c46b9c55a7d092b5d41ddd3806871c976ef0b1261be7f315"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.details \u0026\u0026 typeof row.details === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/plugin-host-services.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1297f4e59f682f314dea32e7a1f05aa3836905c5bb6e1147ef13fdba8ff9b89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.localPortHex.toUpperCase() !== wantHex || row.state !== TCP_STATE_LISTEN\u0060 appears character-identically in 2 files \u2014 packages/tailscale-https-broker/src/proc-listener.ts, server/src/services/runtime-exposure/loopback-listener.ts. It is one line, so the duplication detector\u0027s token 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/tailscale-https-broker/src/proc-listener.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d690096f1044986f40299e8c6b84c63ccf91ee9985b0a72a3238b0dc3e1d50d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.mode !== \u0022shared_workspace\u0022 || !row.projectWorkspaceId\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/workspace-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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a52e35556fffd49ec5df2c2e966df8451d14512856f2926f577047f15ae4e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run \u0026\u0026 !TERMINAL_RUN_STATUSES.includes(run.status)\u0060 appears character-identically in 3 files \u2014 server/src/services/environment-retained-orphan-settlement.ts, server/src/services/environment-run-lease-settlement.ts, server/src/services/recovery/remote-snapshot-ledger-settlement.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-retained-orphan-settlement.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9161a1d08ea3405d4058697f341dfd84acd286ad10c95b22fc97cd8d3db79a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run \u0026\u0026 [\u0022queued\u0022, \u0022running\u0022, \u0022scheduled_retry\u0022].includes(run.status)\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/tool-gateway.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":7696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6623ad94e5a02c5110b4b4d3b0b70279ef9c76b0d2fa8d10e71d0ea9a1a98655"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run \u0026\u0026 [\u0022queued\u0022, \u0022running\u0022].includes(run.status)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-question-bridge.ts, server/src/services/native-runtime/provider-limit-resume.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-question-bridge.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"968cbfaeb49cbc480bfe3e31866e565280a544f6b08a4a3b512fdd9cd22a6df5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.contextSnapshot \u0026\u0026 typeof run.contextSnapshot === \u0022object\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/issues.ts, server/src/services/heartbeat/stale-comment-continuation.ts, server/src/services/issue-creation-source.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":4015}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a2387d5ee7f2e26ad02d124ad60b29dfee06e288cdbea67ada80f25f9e5831"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.controllerLeaseExpiresAt \u0026\u0026 run.controllerLeaseExpiresAt \u003E new Date()\u0060 appears character-identically in 3 files \u2014 server/src/services/agent-execution-stop.ts, server/src/services/chat-channels/failed-run-retry.ts, server/src/services/explicit-native-continuation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-execution-stop.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff86768895861d12c3650c7ae5acdaacbf25bf9c859a84f662e5466bb9be8304"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.controllerLeaseExpiresAt \u0026\u0026 run.controllerLeaseExpiresAt \u003E now\u0060 appears character-identically in 2 files \u2014 server/src/services/fresh-continuation-fallback.ts, server/src/services/native-runtime/native-failed-run-owner-release.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-continuation-fallback.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f1f0364e2bd402cb72a062b818db108973f60cb6e33426142153a38beb4322"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.errorCode === \u0022process_lost\u0022 \u0026\u0026 run.status === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8244e3dce90edf9cdcc34ee7488366ecc6b24a5d6177deb2fadb0ac1e1b256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.exitCode !== null \u0026\u0026 run.exitCode !== 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d0045a7e6aa61f6db9db6cf0af6a10b887e8856cfa5ad527472bac55a5fd3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.processPid || run.processGroupId || run.processStartedAt\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat.ts, server/src/services/heartbeat/run-control.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c835f7ccb402d9fcbf6d82ced93c9d10ad4095ef485a14ec688bb21397ecca9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.resultJson?.workspaceRestoreFailure === \u0022restore_unsafe_archive\u0022 || hasRequiredWorkspaceRecovery(run.resultJson)\u0060 appears character-identically in 2 files \u2014 server/src/services/conversation-continuation.ts, server/src/services/legacy-execution-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":"server/src/services/conversation-continuation.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00f56e805f2ca6cca78efb6c4bbe452698cd34608eef5c815e545c44732b981"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.sessionIdAfter || run.sessionIdBefore\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2922}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4aeeaa02f376877137e410c85ad384f1ad3940a1a68a5d5c1e788615f6b659"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.sessionIdBefore \u0026\u0026 run.sessionIdAfter \u0026\u0026 run.sessionIdBefore !== run.sessionIdAfter\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6813ecbd4aac3a92d4eb3523d47b00e56eabe5bafe8cea3f7e80bc3e155025"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.sessionIdBefore || run.sessionIdAfter\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7173be37a972da2f0b14cbc376adf1176ed1204dbad777db16d253cda47f8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status !== \u0022queued\u0022 \u0026\u0026 run.status !== \u0022running\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/heartbeat.ts, server/src/services/issue-tree-control.ts, ui/src/hooks/useRunnerSubmission.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d675acf967799bae61e38b132a48c14f6d63460e6c5e566c7e3ba978d5d4667"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status !== \u0022running\u0022 \u0026\u0026 run.status !== \u0022queued\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/issues.ts, server/src/services/heartbeat/run-lifecycle.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/issues.ts"},"region":{"startLine":14897}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a219e8c3d9f8a497ddb137077eb5fa83c471f3d4957b7037c89f77582bcd23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status !== \u0022succeeded\u0022 || !run.finishedAt\u0060 appears character-identically in 2 files \u2014 server/src/services/issue-rewake-throttle.ts, server/src/services/native-runtime/native-harness-backup-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":"server/src/services/issue-rewake-throttle.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"186e6490303d27e316bd2f3f052a534a45b9b005be2f89025a6c8ac0c6a67756"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022failed\u0022 || run.status === \u0022timed_out\u0022\u0060 appears character-identically in 8 files \u2014 packages/shared/src/heartbeat-inbox.ts, server/src/services/heartbeat/run-lifecycle.ts, server/src/services/issue-continuation-summary.ts, ui/src/components/ActivityCharts.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/shared/src/heartbeat-inbox.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"467722dfdca27f7122d32c5bee905ac6ea217a3a7bdfde7b0f8d6f3e931c5662"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022queued\u0022 \u0026\u0026 !run.startedAt\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-projection.ts, ui/src/lib/agent-queue-wait.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e453e3f7dea4993eb1f50e0bc8224fadc168fa5e6ca90a7e9120139f3c06ef93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022queued\u0022 || run.status === \u0022running\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/components/IssueRunLedger.tsx, ui/src/components/RunChatSurface.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":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":6042}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9b7b8d5ad5be55e5cef7ab2ae2bfa5034fa24de639c6e2662f8aef3b2df85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022running\u0022 \u0026\u0026 !!run.startedAt \u0026\u0026 !run.finishedAt\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"e580e5e296fcf4f054f6b454dda4a5116d19279854817851b5f11d3faa5bb5cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022running\u0022 \u0026\u0026 \u0022animate-spin\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc443b520d972aa3c41255157567592638da9dd1ff0431ce3843d49d11b933"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022running\u0022 || run.status === \u0022queued\u0022\u0060 appears character-identically in 5 files \u2014 ui/src/components/run-log/LogViewer.tsx, ui/src/lib/issue-chat-history-queries.ts, ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ea91a03ff98cda0c1b4f5205ec106b09ab743af29863a36a752b8c949189ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status === \u0022running\u0022 || run.status === \u0022queued\u0022 || (run.status === \u0022failed\u0022 \u0026\u0026 run.driverKind !== \u0022grok_bot_mcp\u0022 \u0026\u0026 run.execution?.canSt\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2939}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47ad09310d0708b9f5828e7a5ae43c0c13cde390b4fc29806845ee534dc89e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run?.status === \u0022cancelled\u0022 || run?.contextSnapshot?.conversationSessionGeneration !== issue.conversationSessionGeneration\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/run-state.ts, server/src/services/runner-goals.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-state.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f7ee57c17d42e056e8e15ab72b7c95b7cc7a5404b220047ed62044cedad89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runtimeEnv.PAPERCLIP_INSTANCE_ID?.trim() || null\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat.ts, server/src/services/queued-run-dispatch-liveness.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72333f2cdfaebd08602b1cd2683fc111e0d907f2cdbd78cc64ddca6d702b9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runtimeServices \u0026\u0026 Array.isArray(runtimeServices.services)\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/ui/build-config.ts, packages/adapters/codex-local/src/ui/build-config.ts, packages/adapters/openclaw-gateway/src/ui/build-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/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e380dabf55e09d71bbbeba3109145d8a47d92f91606d31a27af2e562d062a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runtimeSessionId.length \u003E 0 \u0026\u0026 (runtimeSessionCwd.length === 0 || path.resolve(runtimeSessionCwd) === path.resolve(effectiveExecutionCwd)) \u0026\u2026\u0060 appears character-identically in 4 files \u2014 packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts, packages/adapters/kimi-local/src/server/execute.ts, packages/adapters/opencode-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/execute.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f805099297617e4da256e5bf0ec203ad2d16cb66cd5ec15f67d7255c1f821af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sameResultsOrAppend \u0026\u0026 visibleListRowCount \u003E= current\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5077bde2e399f008e847e80c2eb637e1b668c36b617f1d1634b7f3f345ce8cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scan.packageMode === \u0027skills\u0027 || scan.repositorySubset\u0060 appears character-identically in 2 files \u2014 server/src/services/skill-source-sync.ts, server/src/services/skill-sources.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-sync.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"115e3200765551be9781c2a8c722903937552b2b0c04ed942a05ef7f8c387db8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060search || activeCategory || sourceFilterActive\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde75308d9f841d62f329dd85247625e9c1c4b6e55ce164bf5bd31d34cdd3ceb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchParams.get(\u0022folderId\u0022)?.trim() || null\u0060 appears character-identically in 3 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.tsx, ui/src/pages/SkillStudio.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75e17d4d6579bb851beba8df22c3cedcdc49a61fa684b003516c48fe6f5093"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchParams.get(\u0022forkFrom\u0022)?.trim() || null\u0060 appears character-identically in 3 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.tsx, ui/src/pages/SkillStudio.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86476ec952629a8c18d2e4eb622d0604449954ed09b4b61626811563b04e36d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060secretNameFromKey(query) || query.trim()\u0060 appears character-identically in 2 files \u2014 ui/src/components/AgentSecretAccessEditor.tsx, ui/src/components/environment-variables-editor/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":"ui/src/components/AgentSecretAccessEditor.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61f80d4290048eeff1b252080f4246e6a85bb681ecf8e1f52c9ab4941136b56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segment === \u0022\u0022 || segment === \u0022.\u0022 || segment === \u0022..\u0022\u0060 appears character-identically in 3 files \u2014 packages/plugins/plugin-llm-wiki/src/wiki/core.ts, server/src/services/plugin-local-folders.ts, ui/src/lib/workspace-file-parser.ts. It is one line, so the duplication detector\u0027s token 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"78af45c6643846f9b126392f626fe9bf838977a3405b0d7182ea80ada65cd6a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectMode \u0026\u0026 onMoveSelected \u0026\u0026 onCreateFolderAndMoveSelected \u0026\u0026 onClearSelected\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c9c53f09660aa22b354f9d048721227897c5d1f63157dea78e9eebda2a2ff6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCatalogRef === skill.id || selectedCatalogRef === skill.key\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"4902ce61de1d75c204337bdcbff0044ae7be69deca3dc84cf108bbdb632430f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCompanyId \u0026\u0026 isStudioNew \u0026\u0026 studioForkFromId\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e880824a22edc24f0632aff3019299ae42d17c7a7ce404cc68d78a461d63de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCompanyId \u0026\u0026 selectedCatalogRef \u0026\u0026 catalogSelectedPath\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4579}}}],"partialFingerprints":{"codehealthFindingId/v1":"254daa10de0d71846919449017e222f3869e70933698d5935c6048c363874a20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCompanyId \u0026\u0026 selectedSkillId \u0026\u0026 (detailQuery.data?.sourceType === \u0022github\u0022 || displayedDetail?.sourceType === \u0022github\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4273}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d36bbbf541c659d7c4b71bf3244b679c6b3a27b10faaa69959e31440f4dec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCompanyId \u0026\u0026 selectedSkillId \u0026\u0026 selectedPath\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed1401b6aba924088ba30ec6d501e3def83cb67af9e202376e234f8f8f07eac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFile.endsWith(\u0022.md\u0022) \u0026\u0026 textContent !== null\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanyExport.tsx, ui/src/pages/CompanyImport.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":"ui/src/pages/CompanyExport.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fd6fc5e7ab2cc537c094e6a0f7b8f6354696d558c3cf7b02beac67667de80f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFileExists \u0026\u0026 fileLoading \u0026\u0026 !selectedFileDetail\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4166fc57dad64579668e2537ec1e18e2805f733b00afed030e0b2822cf0c3ce3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFileExists \u0026\u0026 selectedFileDetail\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d4216a4e1961f8ec515c34ee34212477960922bebc677c2043e900f5969d23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedRuntimeServiceId \u0026\u0026 (selectedServiceIndex === undefined || selectedServiceIndex === null)\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74a718792729b7922065ed87004d15782145273beb37375ea6ae4a48f22cc6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedServiceIndex !== undefined \u0026\u0026 selectedServiceIndex !== null \u0026\u0026 (selectedServiceIndex \u003C 0 || selectedServiceIndex \u003E= configuredServic\u2026\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0e77d7cd0d694d4cbba8a8278b181ed12331d492cfaab9674614ca6985f946"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selection === \u0022all\u0022 || selection === \u0022unfiled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/folders/FolderControls.tsx, ui/src/components/folders/SkillFolderTree.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":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5d2e50d241cb46dabfc0d6d319cc9e2377dfe7a8483ff786e75c823aeb8016"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060service.status === \u0022provisioning\u0022 || service.status === \u0022starting\u0022 || service.status === \u0022running\u0022\u0060 appears character-identically in 3 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/issues.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d2f04a793b4d1d1ea741ed66045ce0dc9015802057b2daec4b677d5fbcf73f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060service.status === \u0022running\u0022 \u0026\u0026 service.url\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-workspaces.ts, ui/src/lib/project-workspaces-tab.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5f74797a33a45c5c9ae8d742bedfe9dde95f1af177d9804f31d8a4b30cef94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.connectionId \u0026\u0026 session.connectionGrantId\u0060 appears character-identically in 2 files \u2014 server/src/services/ai-connections.ts, server/src/services/local-ai-login.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eccb894509081c079e8387ecc6fca827bbddd5ed5510bd07729701dd9d8b19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionId === null || events.length === 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts, packages/paperclip-runner/src/react/use-runner-console.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab208c44c56a8c5aec75c7c8496088d6367e45624eea734766fb49a62889f2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionId === null || expectedTurnId === null\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/use-live-console.ts, packages/paperclip-runner/src/react/use-runner-console.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/use-live-console.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a7f9e35ffd26229be52e20532ea15001c5bd95f0b4b88f2b134426c1730a5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sessionQuery.isLoading || sessionView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanyEnvironments.tsx, ui/src/pages/ProfileSettings.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":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4402b496bb9fac723423b78193dbd678acc344315034847c4a67d05168bb715"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settingsCategoriesDirty || settingsSharingDirty\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"346385b23a2f0a17bf8361fe53bf6bf7f541934545007c4eeedebd7fa1d5bdf1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settled \u0026\u0026 hasRemoteTerminationReceipt(settled)\u0060 appears character-identically in 2 files \u2014 server/src/services/workspace-recovery-fallback.ts, server/src/services/workspace-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":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eaa558d51a16134d8516562b3f515632b620f81cae979d3790dfe1a4860dc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldHideInteractionCard(interaction) \u0026\u0026 !isSupersededQuestionReceipt\u0060 appears character-identically in 2 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/components/task-chat/TaskChatInteractionCard.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":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"56402344fdc6dab7a6ce9e485c1945e94e1daa3569856a4172b245482e0b0259"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldShowCompanyAlerts(tab) \u0026\u0026 showAlertsCategory\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c8e32448da2607d182bef0bf515fc295a496031c53f015610b9b1a3f7c74a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldUseResumeDeltaPrompt || isPaperclipRecoveryWakePayload(context.paperclipWake)\u0060 appears character-identically in 5 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0bc4eec3b2a531031d1cee8b6580ab38d8cee071bd0c48fca8431afa1ea07c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showAggregateAgentError || showBudgetAlert\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c8012b62acdca0615b0036f6cf781efdddcb48d7de19254213993fe1f4695"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showBuiltInLifecycle || hasInvalidOrgChain\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9ec6855fe358136bad9f639ba79602ea5eea9143e5074a543c45c97e98a93c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showChecklist \u0026\u0026 viewState.groupBy === \u0022none\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3f6a9dc62b8b6940ab676112902178ca7123630b7f8a6c291f692231d0b0b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showCompanyAlerts \u0026\u0026 !!dashboard \u0026\u0026 dashboard.agents.error \u003E 0 \u0026\u0026 !hasRunFailures \u0026\u0026 !dismissedAlerts.has(\u0022alert:agent-errors\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"35336211a771eeb72d0ba5dc8a72d65a81114309cbd30ab1fb680a5dfe35f7c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showCompanyAlerts \u0026\u0026 !!dashboard \u0026\u0026 dashboard.costs.monthBudgetCents \u003E 0 \u0026\u0026 dashboard.costs.monthUtilizationPercent \u003E= 80 \u0026\u0026 !dismissedAlert\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":2614}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e7b602d58d143577b0c8602a7ba25c522e8cb3c2adf0563e96460b9a37b7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showPlugins \u0026\u0026 sidebarPlugins.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/CompanySettingsSidebar.production.tsx, ui/src/components/CompanySettingsSidebar.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":"ui/src/components/CompanySettingsSidebar.production.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de4a1b05f718ab2bd232a251487e074f65d13ad56367bf5e501317be270b534"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showStatus \u0026\u0026 issue.status === \u0022blocked\u0022 \u0026\u0026 blockerAttention?.state === \u0022covered\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":3132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ef5d0ff206d72c19bbf052daeb35da6a3078780b8175dd0cd1faf470b7339b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sidebar.agents.length \u003E 0 || sidebar.projects.length \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/services/company-portability.ts, ui/src/lib/company-portability-sidebar.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4d163272e39017eb5ea66696efe7b244a02bcbe8aa7901b7034bc61e760d2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060signOutMutation.isPending \u0026\u0026 \u0022cursor-not-allowed opacity-60\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAccountMenu.production.tsx, ui/src/components/SidebarAccountMenu.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":"ui/src/components/SidebarAccountMenu.production.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c3ba1384528b0a6839cd5f9d4fb123941f5b037207e289667081d547103bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060signal.aborted || Date.now() \u003E= deadlineAt\u0060 appears character-identically in 3 files \u2014 server/src/services/connectors/supabase/index.ts, server/src/services/connectors/vercel/index.ts, server/src/services/native-rest-client.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ca6e74988942ef5c9479bca82f212a8fe92aed3cd37182b7f581a5639a144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060size !== entry.size || hash.digest(\u0022hex\u0022) !== entry.sha256\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-file-durability.ts, server/src/services/remote-workspace-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":"server/src/services/agent-file-durability.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"60414d8ef663a929764b535dca6e14fa51866a654531834383771fa93b342884"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060size \u003C 2 || end \u003E bytes.length || end \u003E MAX_JPEG_HEADER_BYTES\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-teams-inline-images.ts, server/src/services/chat-telegram-photo.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-inline-images.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d162d24474f309ddc32565516aceeff18112a395b08ae812a7838e97f6868bc3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.catalogKind === \u0022bundled\u0022 || catalogMatch?.kind === \u0022bundled\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b26d42ae94fb67587240d79438b3726b980c332848681931126bdbf732e6c3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.id === selectedSkillId \u0026\u0026 \u0022text-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"52536c34cd76639e0ae37e1f7776b0e5f13502e41f13541e63f10e95bed62edf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.kind === \u0022optional\u0022 \u0026\u0026 \u0022opacity-70\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c15e0ff73317d0e614af21facdd82208197b91e8baeaea9315370be72db6a32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.sourceBadge === \u0022github\u0022 || skill.sourceBadge === \u0022skills_sh\u0022 || skill.sourceBadge === \u0022url\u0022 || skill.sourceBadge === \u0022local\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6000c5ef4944df8350d3bf48ec7dce1853e95a838a0368c845ee30b7797b8ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.sourcePath || skill.sourceLocator || null\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e429681944743fe6cb1fbe40aa17c238a512f2b89fae4fc20b96108115bfac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.sourceType === \u0022catalog\u0022 || skill.sourceBadge === \u0022catalog\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b217070f07d9c8f0b499d2113c145a7dbd35d9476db73acbbcabda6ef60dc916"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.sourceType === \u0022github\u0022 || skill.sourceType === \u0022skills_sh\u0022\u0060 appears character-identically in 4 files \u2014 scripts/benchmark-skill-preparation.ts, server/src/services/company-portability.ts, server/src/services/company-skills.ts, server/src/services/runtime-skill-cache.ts. It is one line, so the duplication detector\u0027s token 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/benchmark-skill-preparation.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"065999d28fa0d2ca49f205d943acaeac74198c5cfe03d0cd6f454f8aa92c543f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.sourceType === \u0022github\u0022 || skill.sourceType === \u0022skills_sh\u0022 || skill.sourceType === \u0022url\u0022\u0060 appears character-identically in 4 files \u2014 server/src/services/company-export-readme.ts, server/src/services/company-portability.ts, server/src/services/feedback.ts, server/src/services/skill-installation-maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-export-readme.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef36a9a7d76ecf38f70d9672f82811b02f87d336c053193228bc346de292864"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.sourceType === \u0022local_path\u0022 \u0026\u0026 !skill.sourceBadge.toString().includes(\u0022github\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4e2c8951ee9fa08ad60dc7d8860fae11844a5ae4aee32f968a366b2228ab57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skillsQuery.isLoading || catalogListQuery.isLoading || skillsView.kind === \u0022reconnecting\u0022 || catalogListView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5461}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf187b7ed5dcc00e46787e53d44798fd5abc3666487d9499aa41dace6a8eca5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skillsQuery.isLoading || detailQuery.isLoading || skillsView.kind === \u0022reconnecting\u0022 || detailView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4830ef794748b27df9411589ba4c57e154b7570907f52f34f5fcdc986c368f20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skillsQuery.isLoading || skillsView.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5656}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b81def80e82eda967543ec4c73393323e78e846e34b293a13db62dc9bfbb1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot === null || console_.state === null\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx, packages/paperclip-runner/src/react/runner-console-app.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/paperclip-runner/devtools/browser/src/live/LiveConsole.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4ca1c632fbb55dc127141ba04185815003591c0075ac686dada656aa8e37dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.blocked || !after.reconciled || after.revision !== before.revision\u0060 appears character-identically in 2 files \u2014 server/src/services/external-objects.ts, server/src/services/status-card-idle-schedule.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bbe44eeb4bfb73a8294a2b148f56a4d75b9121f603eba9c5674fce8eabf6a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.semanticResult === undefined || snapshot.semanticResult === null\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/backends/harness-driver-backend.ts, packages/paperclip-runner/src/conformance/harness-driver.ts, packages/paperclip-runner/src/native-session-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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad4e697005469ef9f1b4d765010a1c372fd5856542188c07d5b990d7335faad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.terminalTurns !== undefined \u0026\u0026 !Array.isArray(snapshot.terminalTurns)\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/backends/harness-driver-backend.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts, packages/paperclip-runner/src/live/live-session.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0411fd2aac8d1cca9b260cfa681cf717d3f68eda197831d7120e51186a58ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshotKey(after) !== snapshotKey(before) || snapshotKey(moved) !== snapshotKey(before)\u0060 appears character-identically in 2 files \u2014 server/src/services/isolated-repository-rehome.ts, server/src/services/nested-clone-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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2918912370fd734e4e57950277add8a5157bf3e2ff1d9f3e0dc9855cd99c954d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.repositoryId \u0026\u0026 String(repository.id) !== source.repositoryId\u0060 appears character-identically in 2 files \u2014 server/src/services/skill-source-branches.ts, server/src/services/skill-sources.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-branches.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7ea498d28ba88bff097facae2616c71a8bd836145d3288ac1b1fe30fc9e5a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceFilter !== \u0022all\u0022 \u0026\u0026 skills.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c61c97468ef22db3f54a0f77467c421ef7703bb8ff3091d4193c9659cc9f98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceLocatorText \u0026\u0026 /^(https?:\\/\\/|[\\w.-]\u002B\\.[a-z]{2,}\\/)/i.test(sourceLocatorText)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba1a53ba14900df2981973e3074b6339873d4db1a11213a31124467ba1f6649"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sshSessionState \u0026\u0026 runtimeSessionId \u0026\u0026 !sshSessionState.canResume\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b7be9db5d2ee65513c6c24b04d7f4bec5cbd30d121277610ad3256655ce135"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060st.viewMode !== \u0022list\u0022 || st.flatNavEntries.length === 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85c8e0140ce422d80f73cd54dcdf548e9452321a7d88624fc546f49b2d3de8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stamp.schema !== BUILD_INPUTS_SCHEMA || !Array.isArray(stamp.outputs)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/build-inputs.mjs, scripts/runner-image-layout.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/paperclip-runner/scripts/build-inputs.mjs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13fe0ff2b49453cd67ee0ce4813c3d7e1d6e8fc1adf13ef2e5fb4d0e30ab6b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starred \u0026\u0026 \u0022fill-amber-500 text-amber-500\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"13271ed0916a989b12c6391a84fd87fee7f129e84bc849cf6a4fc54b0358f90d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u003C 0 \u0026\u0026 /^\u003Cproposed_plan\u003E$/i.test(trimmed)\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/provider-events.ts, server/src/services/heartbeat-run-summary.ts, ui/src/components/transcript/native-run-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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4f392375335ae09b52a878b8095015daf0f396fecafc2e0b04ed937e589056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start \u003E= 0 \u0026\u0026 /^\u003C\\/proposed_plan\u003E$/i.test(trimmed)\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/provider-events.ts, server/src/services/heartbeat-run-summary.ts, ui/src/components/transcript/native-run-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/paperclip-runner/src/provider-events.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"0809bce800bf30430cfae0dedf8fb3ceb8f15c8c5ab10a88fd25f2bd0ec32604"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stat.isDirectory() \u0026\u0026 !stat.isSymbolicLink()\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-harness-backup-expiration.ts, server/src/services/runtime-skill-cache.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-expiration.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d3c51bdac38f8358fac175b5f6b6b0b47272ccadc2630311fbfd06c80d7233"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stat.isSymbolicLink() || !stat.isDirectory()\u0060 appears character-identically in 3 files \u2014 server/src/services/isolated-task-directory-retention.ts, server/src/services/isolated-task-directory-snapshot.ts, server/src/services/native-runtime/native-workspace-sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-task-directory-retention.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc632d75d9d83c2e33bc22bc97f2ff7b7d6df65edd5e9cd6da87a315d7b4af0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stat?.isDirectory() \u0026\u0026 !stat.isSymbolicLink()\u0060 appears character-identically in 4 files \u2014 server/src/services/fresh-workspace-continuation.ts, server/src/services/fresh-workspace-seed.ts, server/src/services/native-runtime/native-harness-backup-expiration.ts, server/src/services/native-runtime/native-workspace-sync-retention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fresh-workspace-continuation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57b9f2220e31dad6d560f281c39815b054fdf08305bf48834b7bf4af1546d69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state === \u0022active-turn\u0022 || state === \u0022submitting\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/components/ui/composer.tsx, packages/paperclip-runner/src/react/components/composer.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/composer.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9153ef517c277aefda36ea6d2a48de54d53e5fb86de5aeaae5c95925d3cda3d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state === \u0022running\u0022 || state === \u0022stopped\u0022 || state === \u0022manual\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/heartbeat/workspaces.ts, server/src/services/project-workspace-runtime-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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b11a236edac854a67989f28c3e97df609f59e32f4b285002ce4440e792fc1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state === null || connection === \u0022disconnected\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx, packages/paperclip-runner/src/react/session-timeline.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/paperclip-runner/devtools/browser/src/live/SessionPanel.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b58a517f2d22389335516b6362f10cfffcf9c224803c68dac9f21c6b461ef6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.read.pendingOriginInput \u0026\u0026 call.tag === \u0022tool_call\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts, packages/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5105931e6c3de7dc38a579fc758f03b42d3449ee17d11579d4d66f8cf0332283"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state?.status === \u0022pending\u0022 \u0026\u0026 state.currentParticipant?.type === \u0022user\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/attention-retention.ts, server/src/services/decision-retention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/attention-retention.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c5b4a7575f75fd73f06beb064d0349bd21b3bf0aa387175f8ce86f10b2315"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stateRow.interactionId \u0026\u0026 linkedInteraction?.kind === \u0022request_confirmation\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/cloud-callback.ts, server/src/services/tool-access/oauth/direct-callback.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/cloud-callback.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d50c3ef1116d6a93f43c5b62b3976dfd35f7988923d36e388c84ef639f20b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status !== \u0022done\u0022 \u0026\u0026 status !== \u0022cancelled\u0022 \u0026\u0026 status !== \u0022blocked\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/lib/issue-detail-subissues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssuesList.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b39d26406efbe7ed956c73cf714d33a1175cc283ce2daa455b4481ccba7031"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022active\u0022 || status === \u0022expiring\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/apps/gateways/ConnectClientDialog.tsx, ui/src/pages/apps/gateways/gateway-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":"ui/src/pages/apps/gateways/ConnectClientDialog.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"46851bbc8cee3ac3544a58d7f707c9a4429965e175bbe8c6f3046f1b890f4c40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022active\u0022 || status === \u0022running\u0022 || status === \u0022idle\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Agents.production.tsx, ui/src/pages/Agents.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":"ui/src/pages/Agents.production.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2645409fc1aafef60ef8fd402c40112cdd575b5f4a42bb25a86959a534ea06e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022blocked\u0022 || status === \u0022failed\u0022\u0060 appears character-identically in 4 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/app.tsx, ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx, ui/src/components/task-chat/TaskChatTurnStatusIsland.tsx, ui/src/components/transcript/native-run-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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":4315}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a0447992e47f11155b1c1acb6293e058a32d1216ed172cd5447d20fa935748"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022cancelled\u0022 || status === \u0022canceled\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/live/live-session.ts, packages/paperclip-runner/src/provider-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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e5f80b32d05347a420a52f717697ea717fa5c7d347370de5e311976a3415c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022done\u0022 || status === \u0022cancelled\u0022\u0060 appears character-identically in 5 files \u2014 server/src/modules/active-run-watchdog/domain/policy.ts, server/src/routes/cases.ts, server/src/routes/issues.ts, server/src/services/issue-thread-interactions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/active-run-watchdog/domain/policy.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75e8375af9e83e55aaabf0a5ab2537058d0d82536c5227e244687d2d15b70ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022failed\u0022 || status === \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/claude-subagent-lineage.ts, packages/paperclip-runner/src/provider-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/paperclip-runner/src/claude-subagent-lineage.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d9b9f16264dd90477e628d03483b2821ed9b545bfc50a433608d76e277f2cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022queued\u0022 || status === \u0022running\u0022\u0060 appears character-identically in 4 files \u2014 server/src/services/heartbeat/run-lifecycle.ts, ui/src/components/LiveRunWidget.tsx, ui/src/components/transcript/useNativeRunTranscripts.ts, ui/src/lib/liveIssueIds.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-lifecycle.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6506e463b33b10c3ec1bda20460a5acbe33275e5d8630f571ae837bb04baeb92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022running\u0022 || status === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/components/ui/tool-item.tsx, packages/paperclip-runner/src/react/components/tool-item.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/browser/src/components/ui/tool-item.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1dd4fd4a8b458e9920130017c8e368809e9bb238b4a77212e12cb38bb6dec9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022running\u0022 || status === \u0022starting\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/plugin-worker-manager.ts, server/src/services/workspace-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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9a4e4b07e5cbd3c4c256628eca4150f8b4e754ae57c685c0ff81404525e27b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022todo\u0022 || status === \u0022backlog\u0022\u0060 appears character-identically in 2 files \u2014 ui/storybook/support/design-proposals/agent-workload-trial-data.ts, ui/storybook/support/design-proposals/project-health-trial-data.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/support/design-proposals/agent-workload-trial-data.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ed3289f7c052a8d567a730730c08481ca4856c410081c6c99e58848ddaf71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.phase === \u0022Succeeded\u0022 || status.phase === \u0022Failed\u0022\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/kubernetes/src/job-orchestrator.ts, packages/plugins/sandbox-providers/kubernetes/src/lease-lifecycle.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sandbox-providers/kubernetes/src/job-orchestrator.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e905db667740c246ee28708cbd9d47343fb872a7c39fbd691cd43eda97bac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.stderr || status.stdout || \u0022[paperclip] migration-status returned invalid JSON payload\\n\u0022\u0060 appears character-identically in 2 files \u2014 scripts/dev-runner.mjs, scripts/dev-runner.ts. It is one line, so the duplication detector\u0027s token 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/dev-runner.mjs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34e7e6d86a2fa4fea7f8a46defdde6539ce438a69cac8ffb7961ba965517b7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step.status === \u0022completed\u0022 \u0026\u0026 \u0022text-muted-foreground line-through\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx, ui/src/components/task-chat/TaskChatProtocolCard.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":"ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f112ff2155a72ddf84bca72619187dd2d9715fd56a016fbed3eb24a5481ed0e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060streamlinedUiEnabled \u0026\u0026 combinedInboxTasksEnabled\u0060 appears character-identically in 2 files \u2014 ui/src/App.tsx, ui/src/pages/Issues.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":"ui/src/App.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8201754234c8628daf2711cf0363d273649400e27cac7142b35173cc7351cfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060streamlinedUiEnabled \u0026\u0026 taskChatShellEnabled\u0060 appears character-identically in 2 files \u2014 ui/src/components/issue-properties/IssueProperties.tsx, ui/src/pages/IssueDetail.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":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec3d197b651a6d8aa6061eba56c252d69bb7ecc788870bd648c533e68243ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060structured.status === \u0022failed\u0022 || structured.status === \u0022error\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/transcript/RunTranscriptView.tsx, ui/src/lib/transcriptPresentation.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/transcript/RunTranscriptView.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e31d3b8dd1b5f68508caa44f32a025d740daf24073c3453d06f607b62606ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060studioForkFromId \u0026\u0026 !studioForkDetailQuery.data\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5430}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1166dcb333eb127a1537b04a3d8944d368cfeb6979b0d60ca779909fbec921"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060studioForkFromId \u0026\u0026 studioForkDetailQuery.isLoading\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":5428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d167f781911bc6d9a604fe4ce6e2fc6c4817da5edc80ffe8770cacec59d07f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subject.kind === \u0022video\u0022 \u0026\u0026 !subject.thumbnailUrl\u0060 appears character-identically in 2 files \u2014 ui/src/components/artifacts/v1/ArtifactPrint.tsx, ui/src/components/artifacts/v1/ArtifactRow.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":"ui/src/components/artifacts/v1/ArtifactPrint.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a784e58ef94316e536aff08fa14539f3bd0e6d9093420f7e48726b53642acb92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtype === \u0022completed\u0022 || subtype === \u0022complete\u0022 || subtype === \u0022finished\u0022\u0060 appears character-identically in 4 files \u2014 packages/adapters/cursor-local/src/cli/format-event.ts, packages/adapters/cursor-local/src/ui/parse-stdout.ts, packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeec6ed981e5be6c7e38963b7ac98be71d21b1f328587c5363d64747c8be8a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subtype === \u0022started\u0022 || subtype === \u0022start\u0022\u0060 appears character-identically in 4 files \u2014 packages/adapters/cursor-local/src/cli/format-event.ts, packages/adapters/cursor-local/src/ui/parse-stdout.ts, packages/adapters/gemini-local/src/cli/format-event.ts, packages/adapters/gemini-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/cli/format-event.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d9a4887656424154ef61233be95efd75360a261e387a85852690606feee4b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supplied.length === expected.length \u0026\u0026 timingSafeEqual(supplied, expected)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, packages/paperclip-runner/src/drivers/runner-tool-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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fca9aa204e8de4c87166ce0be5c0f3d110e95caefeaf23ab208c04fad6ee1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab === \u0022all\u0022 \u0026\u0026 !showFailedRunsCategory\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"30baee1e5a86ab2237334c975abdfd0b2574cbe5cccdd018bec270a81786b237"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tab === \u0022all\u0022 \u0026\u0026 !showJoinRequestsCategory\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a94e05f02c5884d838db936514cf9bbd9273829a91d332332ed9dd4d814b0ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target === root || target.startsWith(root \u002B path.sep)\u0060 appears character-identically in 2 files \u2014 server/src/services/online-workspace-source.ts, server/src/services/remote-workspace-migration-tree.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/online-workspace-source.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb11ffc0e5c7dcb9ca1bb960814e0f1d69368142bcc86b34aba71b40847cb60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.transport === \u0022sandbox\u0022 \u0026\u0026 target.runnerTask\u0060 appears character-identically in 2 files \u2014 server/src/services/copilot-connection-probe.ts, server/src/services/kimi-connection-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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaf5a7b3044353f4aaf2649b8d2b0eb7b5a29d3f27a2a81b398ab8367f8aec7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.type === \u0022issue_document\u0022 \u0026\u0026 target.key === \u0022plan\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/attention.ts, ui/src/components/IssueThreadInteractionCard.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":"server/src/services/attention.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7064ec62a1e2aeb659823aba6381538c588204bc1212dbabe7c8bbca97749547"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.workspaceCommandId \u0026\u0026 !workspaceCommand\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d4fc6fd54511cd883ce1652a937ac21415719c3b930ca932635639297622b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target?.kind === \u0022remote\u0022 \u0026\u0026 !sandboxTargetHasProcessSessionBridge(target)\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/kimi-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a7f52feba153bb93c76d84ca96df60b9eb5a4e0c1154115c42b87df6b2ebeb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target?.kind === \u0022remote\u0022 \u0026\u0026 !sandboxTargetHasProcessSessionBridge(target) \u0026\u0026 !managedSsh\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/codex-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbac7435c5f0673e3878587a3dc73d0e125e82d2fc6ab7e97c501fbee242e3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target?.kind === \u0022remote\u0022 \u0026\u0026 target.transport === \u0022sandbox\u0022\u0060 appears character-identically in 9 files \u2014 packages/adapter-utils/src/execution-target.ts, packages/adapters/claude-local/src/server/acp.ts, packages/adapters/claude-local/src/server/test.ts, packages/adapters/codex-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d476e16a6c4221c61f48d5f81604339763b4fa74b9f679ca13b3482fb0820d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target?.kind === \u0022remote\u0022 \u0026\u0026 target.transport === \u0022sandbox\u0022 \u0026\u0026 Boolean(target.runner)\u0060 appears character-identically in 4 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/codex-local/src/server/acp.ts, packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/kimi-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef012beba3c59f4e1a48147778d1f1b98bc9f21396f4487784da160f06738153"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target?.kind === \u0022remote\u0022 \u0026\u0026 target.transport === \u0022ssh\u0022 \u0026\u0026 target.spec.useHostAuth === false \u0026\u0026 Boolean(input.config.managedAiConnection)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/codex-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e569cee051e6242c52ea7b173f6cf67cd19c235ad656a8acfe6049c191a930"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target?.type !== \u0022issue_document\u0022 || target.key !== \u0022plan\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/components/task-chat/TaskChatCompactInteractionCard.tsx, ui/src/components/task-chat/interaction-thread-order.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5275a59f8e9a9cec543356d2cb49854d914c145ac49226575a786a1fd484eb33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.checkoutRunId !== null \u0026\u0026 task.checkoutRunId !== run.id\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-controller-host-recovery.ts, server/src/services/native-runtime/native-failed-run-owner-release.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-host-recovery.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"af15bbba7f391b176d1b6b2ca038ae56996240867f5b38429a3ae5368b73edbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task.executionWorkspaceId !== input.fresh.previousWorkspaceId || task.workspaceBindingRevision !== input.expectedBindingRevision\u0060 appears character-identically in 2 files \u2014 server/src/services/plugin-workspaces.ts, server/src/services/provider-fresh-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":"server/src/services/plugin-workspaces.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e8097029747ce578cdc9998b02f53e7a49aec9a5a8d92d96698e15e0e6ea2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060testCall.decision !== \u0022allowed\u0022 || testCall.error || typeof testCall.invocationId !== \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccc03975a757b2e5fca8daab78bb3b2fa85822267ebee5b17fe207b45cd6bee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text \u0026\u0026 spec.label \u0026\u0026 labelWidth(text, spec.label.size) \u003E room\u0060 appears character-identically in 2 files \u2014 ui/src/artifact-directions/directions/d2-tint/KindGlyph.tsx, ui/src/artifact-directions/directions/d4-hybrid/KindGlyph.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":"ui/src/artifact-directions/directions/d2-tint/KindGlyph.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9274f2b78c2c63334986738c5776c0d4fb1763a164e649e3c39957babd8fd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.#activeTurnId \u0026\u0026 this.#terminalTurns.has(this.#activeTurnId)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts, packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a89997a2206c423c3a25b5d4f123ba904bf54e90277c27019c9f9c59bc8a517"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.retiringEndpoints.size \u003E 0 || this.lifecycleTails.size \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-runtime.ts, server/src/services/chat-sdk-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":"server/src/services/chat-runtime.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce320022c1a8d260338d88b8b10894f01853a735c85fe49af5def81a08861e78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timelineEntry.eventType === \u0022harness.diagnostic\u0022 || timelineEntry.eventType === \u0022runner.diagnostic\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/devtools/browser/src/live/transcript-model.ts, packages/paperclip-runner/src/browser/transcript-model.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/browser/src/live/transcript-model.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f381e509f516922c12b01de65215cdf77fa85d1096f1eee394f62d345e7515"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timeoutAt \u0026\u0026 input.now.getTime() \u003E= timeoutAt.getTime()\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/scheduling.ts, server/src/services/issue-execution-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":"server/src/services/heartbeat/scheduling.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0d87bd630e213b159af6f1fa1bf5465677f87e5847e3773dce570e4480c92c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.connector.id !== credential.connectorId \u0026\u0026 token.connector.uid !== credential.connectorUid\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/vercel-callback.ts, server/src/services/tool-access/vercel-credentials.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/vercel-callback.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f976a05e2d22b1ec178dd433e6028cc31a52c2986c197555956ef59acf6a74e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tokens === null || typeof tokens !== \u0022object\u0022 || Array.isArray(tokens)\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/codex-auth-cache.ts, packages/adapters/codex-local/src/server/codex-auth-merge-decision.cjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f453c8bb1e3e5d09b751dc6f4560f168edc2d96c3074b3f0d54217a6ddc67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool === PRP_COMPLETION_TOOL_NAME || tool === PRP_BLOCK_TOOL_NAME\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts, packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20455f3e25491a1aa6b1029302d3db945420205178089e967513e037d4fbd07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolEvidence \u0026\u0026 \u0022captureSemanticReceipt\u0022 in toolEvidence\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e9c231b26404a3ccf01ff8228d27b5e6f331cd24a93b87b06f7a5451e9fd0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolShellPrefixInstalled \u0026\u0026 remoteToolShellPrefixPath\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/acp.ts, packages/adapters/claude-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/acp.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"715f9e44c151e53a2abe03b6f7cd5afa2e23e1b5e0bae64805047fe4a545013b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transfer.consentMessageId || transfer.responseActivityId\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-publication-batches.ts, server/src/services/chat-teams-file-publication.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-batches.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"24809e9e67076ceebfc5dcba140475b9dff73319afe12f14519437639686a2d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trigger === \u0022initial\u0022 \u0026\u0026 !hasMoreRenderedRows \u0026\u0026 hasMoreIssues \u0026\u0026 !hasScrollableOverflow\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b459a4034b66b42df4a80e9270edcc9f709055bfe1bbb321d84ed80dca462c58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trigger.kind === \u0022schedule\u0022 \u0026\u0026 trigger.enabled \u0026\u0026 trigger.cronExpression\u0060 appears character-identically in 2 files \u2014 ui/src/components/routine-sections/editable-sections.production.tsx, ui/src/components/routine-sections/editable-sections.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":"ui/src/components/routine-sections/editable-sections.production.tsx"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"27996fd7eb68c21965c4b69a4d2691c2c418ea19ceab081cebf078d8067c0e8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trigger.kind === \u0022schedule\u0022 \u0026\u0026 trigger.nextRunAt\u0060 appears character-identically in 3 files \u2014 ui/src/components/RoutineTriggerCard.tsx, ui/src/components/routine-sections/editable-sections.production.tsx, ui/src/components/routine-sections/editable-sections.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":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d842037ac12c1f00e6be9e370e08486d4e23afbad9e0041b853aadcc3693674"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed === PRP_COMPLETION_TOOL_NAME || trimmed === PRP_BLOCK_TOOL_NAME\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, packages/paperclip-runner/src/drivers/runner-tool-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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2abbbc959e07324591a5175042d97dc2714e62b3fb3954615ee883e7d02fa7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.includes(\u0022/\u0022) || trimmed.includes(\u0022\\\\\u0022) || trimmed.includes(\u0022\\0\u0022)\u0060 appears character-identically in 4 files \u2014 packages/adapters/codex-local/src/server/adapter-auth-promotion.ts, packages/adapters/codex-local/src/server/codex-auth-cache.ts, packages/adapters/codex-local/src/server/device-login-export.ts, packages/adapters/grok-local/src/server/adapter-auth-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/adapters/codex-local/src/server/adapter-auth-promotion.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1079c60d38f354ccaa2ef2683e3a675a2a4a45a8c2d5f972796221d2193fb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.length === 0 || trimmed.length \u003E 200_000\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"99426cf2a2c755e2593ffdd284c58e5a981cdbf5f8fe7d9d07a5df1208c15458"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.slice(0, trimmed.indexOf(\u0022/\u0022)).trim() || null\u0060 appears character-identically in 2 files \u2014 packages/adapters/opencode-local/src/server/execute.ts, packages/adapters/pi-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/opencode-local/src/server/execute.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"063ad50e5874e1d0962a4d1de5fefd5fce9b9b8eff66e6c1f5071e1ae16e7c78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022\u0027\u0022) || trimmed.startsWith(\u0022\\\u0022\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/kimi-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ca4c4cac9d49b0e6d6b2cb3d68a1a5e9b8b91bddebabb89bbc2b362a0d624b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022Error:\u0022) || trimmed.startsWith(\u0022ERROR:\u0022) || trimmed.startsWith(\u0022Traceback\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/src/ui/parse-stdout.ts, packages/adapters/hermes/ui-parser.cjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"86504b5cf337584b641bfa3a1879d01bb5658badee3c153304aeff1fc130863a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022[hermes]\u0022) || trimmed.startsWith(\u0022[paperclip]\u0022)\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/src/ui/parse-stdout.ts, packages/adapters/hermes/ui-parser.cjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/hermes/src/ui/parse-stdout.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"21000cc3624050fde5252d461e7faf03d9d413c493f01099e9bd8dae0d93fa5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.startsWith(\u0022\\\u0022\u0022) || trimmed.startsWith(\u0022[\u0022) || trimmed.startsWith(\u0022{\u0022)\u0060 appears character-identically in 3 files \u2014 packages/shared/src/frontmatter.ts, packages/teams-catalog/src/frontmatter.ts, server/src/services/company-portability.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/frontmatter.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebea48668ed1cd0e07c86642d6900f8e178d6f08fb97e3df0f6f909166244088"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof CSS !== \u0022undefined\u0022 \u0026\u0026 typeof CSS.escape === \u0022function\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ea84561ec4b5d0f43056a0c728201f74a5ee3ed711cebd2802192223e8863c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof accountId === \u0022string\u0022 \u0026\u0026 accountId.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/codex-home.ts, packages/adapters/codex-local/src/server/quota.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf95567dbae6ebb1d4b22383b2a48b487bd3eea9d03b7935e2470f45206ab1f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof apiKey !== \u0022string\u0022 || !apiKey.trim() || /[\\0\\r\\n]/.test(apiKey) || Buffer.byteLength(apiKey) \u003E 16 * 1024\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts, server/src/services/kimi-connection-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":"packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea67e891faec2253c2c901006493a469b79370742e4204643a01061b60362da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof apiKey === \u0022string\u0022 \u0026\u0026 apiKey.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/codex-auth-cache.ts, packages/adapters/codex-local/src/server/codex-home.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/codex-auth-cache.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0746a8104a3540d730e26b6dda1447ff525ae32063f6ae9ca6f38f4a21f4b07e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof args === \u0022object\u0022 \u0026\u0026 args !== null \u0026\u0026 !Array.isArray(args)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts, ui/src/components/IssueChatThread.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/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc331270eb6d3c579ecc0dfe4f4e9ff2a0642a2a3c159726e1277fd2140bb3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof binding !== \u0022object\u0022 || binding === null || Array.isArray(binding)\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/secrets.ts, scripts/migrate-inline-env-secrets.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/secrets.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"10151c0cb9bb67421d1ab2417aef8d08533e9b4a264d0f7f68fa53f1f8dd65b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof bindings !== \u0022object\u0022 || bindings === null || Array.isArray(bindings)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/env-bindings.ts, packages/adapters/kimi-local/src/ui/build-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/adapter-utils/src/env-bindings.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9d931a3f41543dfde96d02442547e311dbac13559be8490bbbd46a918b29b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof candidate !== \u0022object\u0022 || seen.has(candidate)\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf13d24999bc6d3fd5cae438f257b0f57e2a3c5abe567c1961b563880122c5cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof candidate === \u0022string\u0022 \u0026\u0026 candidate.trim()\u0060 appears character-identically in 2 files \u2014 server/src/services/cross-issue-influence-limit.ts, ui/src/components/transcript/RunTranscriptView.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":"server/src/services/cross-issue-influence-limit.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8d62511aed72eec0481bfb293ae94a2ef08d4e8251f7e06a989dfddd5a499c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof code === \u0022number\u0022 \u0026\u0026 KNOWN_EXIT_CODES.has(code)\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/codex-auth-merge-decision.ts, packages/adapters/grok-local/src/server/grok-auth-merge-decision.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/codex-auth-merge-decision.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a58d113b4357bffdce471991d4e14ce5b747480f10291c89394383c0411f979"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof code === \u0022string\u0022 \u0026\u0026 ERROR_CODES.has(code)\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/workspace-restore-diagnostics.ts, packages/plugins/sdk/src/environment-sync-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":"packages/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6e69081f8b199869a8223f3ecbc11def9af2acf21a76b2c53f266d37d49757"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof code === \u0022string\u0022 \u0026\u0026 code.length \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/routes/file-resources.ts, server/src/services/workspace-file-resources.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/file-resources.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"936a85ee203cc3501c2d87d21fe32076ebf9d5d242b48d8a5662e3e76a7789ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof companyId !== \u0022string\u0022 || companyId.trim().length === 0\u0060 appears character-identically in 2 files \u2014 server/src/routes/plugins.ts, server/src/services/plugin-secrets-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":"server/src/routes/plugins.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"a243f8de060311cd08b260c62f5fb75277791b2e58ecbb4c2756246f4a6700d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof companyIdQuery === \u0022string\u0022 \u0026\u0026 companyIdQuery.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e58adb9597305f264d441bcd2f53e0bcd787c8ac37d9d400909d5a4c80962ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof config.env === \u0022object\u0022 \u0026\u0026 config.env !== null \u0026\u0026 !Array.isArray(config.env)\u0060 appears character-identically in 7 files \u2014 packages/adapters/claude-local/src/server/skills.ts, packages/adapters/cursor-local/src/server/skills.ts, packages/adapters/gemini-local/src/server/skills.ts, packages/adapters/hermes/src/server/skills.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/skills.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6311393e15350a44d9455ae33e79dc623e5c8543d8dc106a54ce2f846e8b84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof config.model === \u0022string\u0022 \u0026\u0026 config.model.trim()\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/ui/build-config.ts, server/src/services/agent-runner-selection.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de38e68570c94df901c85079e6aa63a67f399ccb26b6152489642fc02c99d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof context.approvalId === \u0022string\u0022 \u0026\u0026 context.approvalId.trim().length \u003E 0\u0060 appears character-identically in 8 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97cf57f75fc219a00d447d375e00c9c17a0281ede4be7fec84547eeb827c22e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof context.approvalStatus === \u0022string\u0022 \u0026\u0026 context.approvalStatus.trim().length \u003E 0\u0060 appears character-identically in 8 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"05de8b7b36a838463b36994ed193fcb6cd361886f4b239b18d9427bce5392560"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof context.wakeReason === \u0022string\u0022 \u0026\u0026 context.wakeReason.trim().length \u003E 0\u0060 appears character-identically in 8 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts, packages/adapters/gemini-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83252daa99ad2c96381bf366ecf11b091d9f1304f893b44b0885fda93bfc38a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof cost === \u0022number\u0022 \u0026\u0026 Number.isFinite(cost) \u0026\u0026 cost \u003E= 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts, server/src/services/provider-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":"packages/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"782839488e88cc5223fbb726948901254ee7e0d235f56ee2dfcf7862a863afa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof count === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(count) \u0026\u0026 count \u003E= 0\u0060 appears character-identically in 3 files \u2014 packages/adapter-utils/src/startup-reuse.ts, server/src/services/native-runtime/native-restart-recovery.ts, ui/src/components/chat/board-send-draft.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/startup-reuse.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2320a6d0f18e339ed11f5fbff22d9d4d150c15a8393e176069339dfded5092"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof crypto !== \u0022undefined\u0022 \u0026\u0026 typeof crypto.randomUUID === \u0022function\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/task-chat/RunnerGoalWidget.tsx, ui/src/lib/cross-tab-poll.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ffba6f6eaa549c532d69bf79f93b817a6cc57e5608ab4ee40d39a0650cae22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof current === \u0022object\u0022 \u0026\u0026 current !== null \u0026\u0026 !seen.has(current)\u0060 appears character-identically in 3 files \u2014 server/src/services/issue-prefix.ts, server/src/services/remote-http-fetch.ts, server/src/services/secrets.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issue-prefix.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"502c9fd56ef97b650388166072f298feaa02d853686bb963211baf89bd2a59af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof current === \u0022string\u0022 \u0026\u0026 current.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/server/quota.ts, ui/src/pages/InviteLanding.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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe49a0a7bb20cf9028cd91b1d862886c12adc2b619ed3dcfdb82aec0ac33a31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof currentIndex !== \u0022number\u0022 || typeof nextIndex !== \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c7a0ecd0e75b6da95836293e1bea554d8977558988740727074cc02cf2ded6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof database.embeddedPostgresDataDir !== \u0022string\u0022 \u0026\u0026 typeof database.pgliteDataDir === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 cli/src/config/store.ts, packages/db/src/runtime-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":"cli/src/config/store.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf26d0dab057fdf16ce7aaf9e9fe5b55b4d59e0aaa2d6ebefa19f8b8861175c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof database.embeddedPostgresPort !== \u0022number\u0022 \u0026\u0026 typeof database.pglitePort === \u0022number\u0022 \u0026\u0026 Number.isFinite(database.pglitePort)\u0060 appears character-identically in 2 files \u2014 cli/src/config/store.ts, packages/db/src/runtime-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":"cli/src/config/store.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f4faebac1ee579eb4bf01c7f240e9fd194d67e822a21ce8630e40ba43e3738"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof databaseRaw !== \u0022object\u0022 || databaseRaw === null || Array.isArray(databaseRaw)\u0060 appears character-identically in 2 files \u2014 cli/src/config/store.ts, packages/db/src/runtime-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":"cli/src/config/store.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ae793bcb8b11be12ae29242b5748f804d94ec2346bff33d57ec7f5ea4d6288"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof directIssueId === \u0022string\u0022 \u0026\u0026 isUuidLike(directIssueId)\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/routes/workspace-runtime-service-authz.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afad5d11be4d48e3bac78cdbb8b6316cd7abaf8f96d0a0264e192a36fd32c1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry !== \u0022object\u0022 || entry === null || Array.isArray(entry)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/parse.ts, packages/adapters/gemini-local/src/server/parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c898a6cccefae81b51d0f9d469f1030625b10884f62b31b5a824da4c1387e64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry === \u0022object\u0022 \u0026\u0026 entry !== null\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/eval/eval-bundle.ts, ui/src/components/IssueChatThread.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/paperclip-runner/src/eval/eval-bundle.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73588c7cc4deea6e0aa6d584dc7debd33a408640626c13caa85bedf48d8b90d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry === \u0022object\u0022 \u0026\u0026 entry !== null \u0026\u0026 !Array.isArray(entry)\u0060 appears character-identically in 2 files \u2014 packages/adapters/cursor-cloud/src/server/execute.ts, packages/adapters/cursor-cloud/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e09c7abdbce56e7e281b77751262c542bb22a91f1dd034d42ffa429b5cc895"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry === \u0022string\u0022 \u0026\u0026 entry.length \u003E 0\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/secrets.ts, ui/src/lib/activity-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":"cli/src/commands/client/secrets.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeaf018ad71200829d3dd8c30b622a0c60a7b995aabf9fd95d30fb4a4c25932"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry === \u0022string\u0022 \u0026\u0026 entry.trim().length \u003E 0\u0060 appears character-identically in 8 files \u2014 packages/adapters/openclaw-gateway/src/server/execute.ts, scripts/dev-runner.mjs, scripts/dev-runner.ts, server/src/lib/built-in-agent-metadata.ts. It is one line, so the duplication detector\u0027s token 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"f438ee4195344b296bee5fefe381e9b90c3633f63336f767752de7541aff5434"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof envConfig.HOME === \u0022string\u0022 \u0026\u0026 envConfig.HOME.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/gemini-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd4313146565bfcbabc1f21acd997e1b6cb176fe0281077e131ad6ac4a98837"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof envConfig.PATH === \u0022string\u0022 \u0026\u0026 envConfig.PATH.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/gemini-local/src/server/acp.ts, packages/adapters/kimi-local/src/server/acp.ts. It is one line, so the duplication detector\u0027s token 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/adapters/gemini-local/src/server/acp.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6d6ebc342362dc1cb1923cbcdaa4398dfa259eebb59ebe26810fd2228dfecf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error !== \u0022object\u0022 || error === null\u0060 appears character-identically in 3 files \u2014 server/src/services/environments.ts, server/src/services/plugin-registry.ts, ui/src/components/task-chat/TaskChatQueuedMessages.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":"server/src/services/environments.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a4a012df7ccf8e5dbca678bc2e7ff65949bfdf5150937cc98b87ad35583e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0022object\u0022 \u0026\u0026 error !== null \u0026\u0026 \u0022code\u0022 in error\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/codex-credentials.ts, packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03038e9f0d3dce65e68a06580489a260d1fb260fa67d551eb726deebf38e2fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0022object\u0022 \u0026\u0026 error \u0026\u0026 \u0022code\u0022 in error\u0060 appears character-identically in 2 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/plugin-local-folders.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspaces.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb825f52abf061b5124bfe776abf61a736b726933497497ff9e47524d4bc0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0022object\u0022 \u0026\u0026 error \u0026\u0026 \u0022status\u0022 in error\u0060 appears character-identically in 2 files \u2014 server/src/services/case-handoff-delivery.ts, server/src/services/heartbeat/case-handoff-lifecycle.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoff-delivery.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"29379b25b050824dfff93078cf0b2919b4fc4b549093b02611a98fc61a8712ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof event.messageId === \u0022string\u0022 \u0026\u0026 event.messageId\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2a98eb4cb3a18264d76bc21e0a82124393a5611720cdb6ef73c662d3e84d61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof exitCode === \u0022number\u0022 \u0026\u0026 Number.isInteger(exitCode) \u0026\u0026 exitCode \u003E= 0 \u0026\u0026 exitCode \u003C= 255\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-provider-failure.ts, server/src/services/run-failure-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":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace2c3e81a02fd1fb90fe25501f9095b946f20f5262b11cad08aa359cfec3bef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof expiresAt === \u0022number\u0022 \u0026\u0026 Number.isFinite(expiresAt)\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/quota.ts, server/src/services/legacy-shutdown-workspace-settlement.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c8aa2775442f7b25ace9b5dad7e2695945c7c2af561deec00192ce9a822a60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof fromEnv === \u0022string\u0022 \u0026\u0026 fromEnv.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/server/quota.ts, packages/adapters/codex-local/src/server/quota.ts, packages/db/scripts/clean-poisoned-claude-sessions.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bbed32190f0efbcaf3c6de883526deca335051c8596afdfe08b768b0be65fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id !== \u0022string\u0022 \u0026\u0026 typeof id !== \u0022number\u0022\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts, packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts, packages/paperclip-runner/src/drivers/runner-tool-bridge.ts, server/src/services/chat-channels/telegram/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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf11c5d15968d54a1b5e53ff32a1b064ea48be50ad713acb2cc662cb21fbf5f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id !== \u0022string\u0022 || !/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(id)\u0060 appears character-identically in 2 files \u2014 server/src/services/legacy-workspace-recovery-migration.ts, server/src/services/workspace-recovery-source.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/legacy-workspace-recovery-migration.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c8b953e35965b4a6a42212cc91e71a752f820872d750021c850852f13a36e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id !== \u0022string\u0022 || !isUuidLike(id)\u0060 appears character-identically in 4 files \u2014 server/src/modules/run-dispatch/adapters/postgres.ts, server/src/services/agent-commentary.ts, server/src/services/chat-channels/failed-run-retry.ts, server/src/services/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"41093c1a491d169554c4e5207a914e5fa3c98f15636257d79f556b116b35c541"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id === \u0022string\u0022 \u0026\u0026 isUuidLike(id)\u0060 appears character-identically in 4 files \u2014 server/src/services/case-access.ts, server/src/services/chat-channels/publications/requests.ts, server/src/services/heartbeat/run-slot-admission.ts, ui/src/pages/IssueDetail.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":"server/src/services/case-access.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"678486835a77d5c6f9e3182916852c027460d106213d41b7f2abca03f5a15dc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id === \u0022string\u0022 || typeof id === \u0022number\u0022\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts, packages/paperclip-runner/src/drivers/acpx/claude-provider-turns.ts, packages/paperclip-runner/src/drivers/acpx/copilot-policy.ts, packages/paperclip-runner/src/drivers/opencode/mcp-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/paperclip-runner/src/drivers/acpx/claude-background-tasks.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2b5a95c85c629251ecae83c8eb1cfbf1b7cca22396995395b0ff4842a85c7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof input !== \u0022object\u0022 || input === null || Array.isArray(input)\u0060 appears character-identically in 4 files \u2014 packages/adapters/grok-local/src/server/test.ts, packages/adapters/opencode-local/src/server/test.ts, packages/adapters/pi-local/src/server/test.ts, packages/paperclip-runner/src/semantic-tools/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":"packages/adapters/grok-local/src/server/test.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc3621dc7e558483ae43e976a71d0b7b140c257f2f1a7a7f46f153c9af68fbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof input === \u0022object\u0022 \u0026\u0026 input !== null \u0026\u0026 !Array.isArray(input)\u0060 appears character-identically in 3 files \u2014 packages/adapters/opencode-local/src/server/models.ts, packages/adapters/pi-local/src/server/models.ts, packages/paperclip-runner/src/drivers/tool-input-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":"packages/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3437cbed4ca5cef0e76cd6ed030f9256b26bd254bed6358a7e3f7483c4d47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof issueId === \u0022string\u0022 \u0026\u0026 isUuidLike(issueId)\u0060 appears character-identically in 2 files \u2014 server/src/routes/cases.ts, server/src/services/case-mutation-authorization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"487dfdeda2ee8a9a9a4d58e9f62c5ce46f30993fe3ae9d4a0991fb2ec391543c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof issueId === \u0022string\u0022 \u0026\u0026 issueId.length \u003E 0\u0060 appears character-identically in 4 files \u2014 server/src/modules/active-run-watchdog/adapters/postgres.ts, server/src/services/attention-source-eligibility.ts, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"server/src/modules/active-run-watchdog/adapters/postgres.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e15ef6e9cea620652c4e17d98acd07ccd6c25a8a1545d669c1850321eb9883b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof issueId === \u0022string\u0022 \u0026\u0026 issueId.trim()\u0060 appears character-identically in 2 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/issue-attachments.ts, server/src/services/heartbeat/storage-wait-notice.ts. It is one line, so the duplication detector\u0027s token 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/plugins/plugin-llm-wiki/src/ui/issue-attachments.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd796f7df347763e61535939191db3bfb3a6bc57d2e8d00e9a3bb81652824c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item !== \u0022number\u0022 || !Number.isInteger(item) || item \u003C field.minimum || item \u003E field.maximum\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/provider-failure.generated.ts, packages/shared/src/provider-failure.generated.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/provider-failure.generated.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7dcbaa2b00d36ca8428ac99ef345d72240f4295aac11d184b173baf29192ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item !== \u0022object\u0022 || item === null\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/server/models.ts, server/src/adapters/codex-models.ts, server/src/adapters/cursor-models.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/models.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b7a7495a3808e7eb4cf68a1d751c8377f1d6fd60034accb288ee4752515d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item === \u0022object\u0022 \u0026\u0026 item !== null\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/common.ts, ui/src/components/CaseFieldsPanel.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":"cli/src/commands/client/common.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cd11f6daf3230e13a057b9512684a9b2cb23910ca16ae5c97374dab52e03d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item === \u0022string\u0022 \u0026\u0026 item.length \u003E 0\u0060 appears character-identically in 3 files \u2014 server/src/services/issues.ts, ui/src/lib/agent-order.ts, ui/src/lib/project-order.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"918cffd33d34a78d1ea4d16e70b1b95a6d0b57b2d91705deec6fbfde3f173f78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item === \u0022string\u0022 \u0026\u0026 item.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/shared/src/mcp-apps.ts, server/src/services/tool-access/oauth/metadata.ts, server/src/services/tool-access/policy-selector-index.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/mcp-apps.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d753b6fabbb4bd845aebe664d6ad7512daddda422a18ab526c13a0778d9ccf82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item.exit_code === \u0022number\u0022 \u0026\u0026 Number.isFinite(item.exit_code)\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/cli/format-event.ts, packages/adapters/codex-local/src/ui/parse-stdout.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10a2b83999ae9360394c1e79169f15b7340f1010938249acea16e5f3d805065"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof key === \u0022string\u0022 \u0026\u0026 key.trim().length \u003E 0 \u0026\u0026 typeof refreshToken === \u0022string\u0022 \u0026\u0026 refreshToken.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapters/grok-local/src/server/grok-auth-merge-decision.cjs, packages/adapters/grok-local/src/server/grok-home.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/grok-auth-merge-decision.cjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a8ba15c5a9b47c377acee5502dee8f7b5d1d4ee3c6c9aa3e9affd68f4631d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof left === \u0022number\u0022 \u0026\u0026 typeof right === \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/lib/issue-sort.ts, ui/src/lib/task-list.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-sort.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"130d6233f8debcebc0e15282390307507e09269e35ea3b65cd995c217e20d496"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof message.id !== \u0022string\u0022 \u0026\u0026 typeof message.id !== \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/config-admission.ts, packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da8091182f5a3cab390494efde92f7928259bd2df905191fbeb3f3f343eb649"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof message.providerSentAt === \u0022string\u0022 \u0026\u0026 message.providerSentAt.length \u003C= 64\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-control-chronology.ts, server/src/services/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-control-chronology.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5627f266c94f6e2e1bf62a82953520e0d568cafd33a0be595e5011a0495cf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof model !== \u0022string\u0022 || !model.trim() || model.includes(\u0022\\0\u0022) || Buffer.byteLength(model) \u003E 512 || Buffer.from(model).toString(\u0022utf8\u0022) \u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts, server/src/services/kimi-connection-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":"packages/paperclip-runner/src/drivers/acpx/kimi-metadata-probe.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6fb425cbfc4c7f71180f10b053ef9bf2c1021c9cf408df68019bd2814ee07f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof nestedIssueId === \u0022string\u0022 \u0026\u0026 isUuidLike(nestedIssueId)\u0060 appears character-identically in 2 files \u2014 server/src/routes/agents.ts, server/src/routes/workspace-runtime-service-authz.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cf796702d3da93616678ba3d5914c19adc01069e3a9a958d6fd8b1c2057326"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof oauth.clientId === \u0022string\u0022 \u0026\u0026 oauth.clientId.trim()\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/client-credentials.ts, server/src/services/tool-access/oauth/credential-store.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"47477913379b21810b273b3c6d8fe840ec6cd961618dfaa990cd05da5bacb4ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof oauth.issuer === \u0022string\u0022 \u0026\u0026 oauth.issuer.trim()\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/oauth/client-credentials.ts, server/src/services/tool-access/oauth/discovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/client-credentials.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b81fca8afcfdab94ec39d047270c6b31730baf4a880c33dc3d106ce6aad36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof oauth.resource === \u0022string\u0022 \u0026\u0026 oauth.resource\u0060 appears character-identically in 3 files \u2014 server/src/services/tool-access/oauth/client-credentials.ts, server/src/services/tool-access/oauth/connection-refresh.ts, server/src/services/tool-access/oauth/grant-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":"server/src/services/tool-access/oauth/client-credentials.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad138bb026299a3d9ecccfaea86dd541dae89b1026a4c5f27e672f78c7164f2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof packageJson.name === \u0022string\u0022 \u0026\u0026 packageJson.name.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/ensure-workspace-package-links.ts, server/src/services/workspace-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":"scripts/ensure-workspace-package-links.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3215c30e03439d28ffe174d0648f8cc3359601055e3ded780aef2d7aae842d7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof params.cwd === \u0022string\u0022 \u0026\u0026 params.cwd.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/db/scripts/clean-poisoned-claude-sessions.ts, packages/plugins/paperclip-plugin-fake-sandbox/src/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":"packages/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b8715716ab8da4c2dee8f7f271480a9cebbf5ca145288fe7617794e35bc8cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof params.lease.metadata?.remoteCwd === \u0022string\u0022 \u0026\u0026 params.lease.metadata.remoteCwd.trim().length \u003E 0\u0060 appears character-identically in 4 files \u2014 packages/plugins/sandbox-providers/cloudflare/src/plugin.ts, packages/plugins/sandbox-providers/daytona/src/plugin.ts, packages/plugins/sandbox-providers/e2b/src/plugin.ts, packages/plugins/sandbox-providers/novita/src/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":"packages/plugins/sandbox-providers/cloudflare/src/plugin.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d847abb345c529ee0e87d19874a2b5ae1619749b5f6da760828eff4a328edc34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof params.leaseMetadata?.remoteCwd === \u0022string\u0022 \u0026\u0026 params.leaseMetadata.remoteCwd.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/cloudflare/src/plugin.ts, packages/plugins/sandbox-providers/novita/src/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":"packages/plugins/sandbox-providers/cloudflare/src/plugin.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b6c0f123bfe6e2a8683de673068e1542faec6eccf3c8005d996c53f19801d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof params.sessionId !== \u0022string\u0022 || !sessions.has(params.sessionId)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts, packages/paperclip-runner/src/drivers/acpx/copilot-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":"packages/paperclip-runner/src/drivers/acpx/antigravity-admission.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa594e8c68242a3b3ded25aa4e731954d401c5bd900f42161142da3eb96972fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed !== \u0022object\u0022 || parsed === null\u0060 appears character-identically in 4 files \u2014 packages/adapters/claude-local/src/server/quota.ts, packages/adapters/codex-local/src/server/quota.ts, packages/adapters/cursor-local/src/server/test.ts, packages/plugins/sdk/src/protocol.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73b9f052d6cdec3ea9c6d296fd32b34d8b87305b2798b7c3835d988a8b0ca93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed !== \u0022object\u0022 || parsed === null || Array.isArray(parsed)\u0060 appears character-identically in 11 files \u2014 cli/src/commands/client/agent.ts, cli/src/commands/client/approval.ts, packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/ui.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/agent.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a30a792106c0db51eb4457b2db280dfcfe5ef8807e96a3a07d10e313e3262ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0022object\u0022 \u0026\u0026 parsed !== null\u0060 appears character-identically in 4 files \u2014 packages/adapters/codex-local/src/server/quota.ts, packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts, server/src/adapters/cursor-models.ts, ui/src/lib/summary-draft-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":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ebb1fe28a78cd4ab6f0d81593c552d91a60a6cfccff1ab9e5063abbed5b373"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0022object\u0022 \u0026\u0026 parsed !== null \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 5 files \u2014 cli/src/client/http.ts, packages/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts, packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts, ui/src/adapters/openclaw-gateway/config-fields.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":"cli/src/client/http.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"18103549c26a038dc1c2729296ed97928c13aac23c08650695beece454270730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0022object\u0022 \u0026\u0026 parsed !== null \u0026\u0026 \u0022error\u0022 in parsed \u0026\u0026 typeof parsed.error === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/asset.ts, cli/src/commands/client/issue.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/asset.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a00b924824e9fc852c498de1addc20e0b2bdebc56bab166666293100b15ce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed.id === \u0022string\u0022 \u0026\u0026 parsed.id.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/execution-target.ts, packages/adapter-utils/src/sandbox-callback-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/adapter-utils/src/execution-target.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"842da19d76038c469cd4a3c80ac0fc84b3f2dec1d6dbbfe50ff2f08711e852a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed.invocationId !== \u0022string\u0022 || !parsed.invocationId.trim()\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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":"scripts/smoke/notion-generic-live-lib.mjs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5f01dea808bbf2a487543cf183f8c21c21b391803ae016f86048a7a9331158"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof pid === \u0022number\u0022 \u0026\u0026 Number.isInteger(pid) \u0026\u0026 pid \u003E 0\u0060 appears character-identically in 2 files \u2014 server/src/services/heartbeat/run-control.ts, server/src/services/owner-proof.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-control.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07dce606295ed5ef9cef794938cccd33498df4555f24e3326a8a3e997c60b89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw !== \u0022object\u0022 || raw === null || Array.isArray(raw)\u0060 appears character-identically in 16 files \u2014 cli/src/client/context.ts, cli/src/config/store.ts, packages/adapter-utils/src/acpx-engine/session-codec.ts, packages/adapter-utils/src/env-bindings.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/context.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eba558a1256dbe6c3cd7e2cf6d05c0af1ffe7a2e2d9d60ff00e9b7083b9170"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw !== \u0022string\u0022 || raw.trim().length === 0\u0060 appears character-identically in 3 files \u2014 packages/adapters/codex-local/src/server/runtime-config.ts, packages/adapters/opencode-local/src/server/runtime-config.ts, packages/adapters/pi-local/src/server/runtime-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/adapters/codex-local/src/server/runtime-config.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe65d9c2105f2fc7d4370ec2b643beb96548414715ce947c64eac4479345e13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw === \u0022number\u0022 \u0026\u0026 Number.isFinite(raw)\u0060 appears character-identically in 2 files \u2014 packages/adapters/grok-local/src/server/grok-auth-merge-decision.cjs, server/src/services/routines.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/grok-auth-merge-decision.cjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50c3ed967b11a62f0abef2f5bb89e74da1e3f68ccbeea3128494f182f6a1756"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw === \u0022string\u0022 \u0026\u0026 raw.trim().length \u003E 0\u0060 appears character-identically in 10 files \u2014 packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/codex-home.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b0601940f486cd8e92d12102274cc6db5a186e72e3e8699108966fd1c91295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof reason === \u0022string\u0022 \u0026\u0026 reason.trim()\u0060 appears character-identically in 3 files \u2014 cli/src/commands/client/feedback.ts, server/src/services/decision-history.ts, ui/src/pages/CompanyEnvironments.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":"cli/src/commands/client/feedback.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7924578be8937d5e0efe3329addacde68099006105339433629fcbfafbc842f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof requestId === \u0022string\u0022 || typeof requestId === \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/opencode/mcp-bridge.ts, packages/paperclip-runner/src/drivers/runner-tool-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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6225d213579f47235fd9d3e804ef5de9048133d287aa7a969487682895c12b6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof result !== \u0022object\u0022 || result === null || Array.isArray(result)\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/cli/live-runner.ts, packages/paperclip-runner/src/conformance/capability-semantic-conformance.ts, packages/paperclip-runner/src/scenarios/scenario-plan.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/cli/live-runner.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dcaa2fbe03a96884d204dc104338336d8ce279347b5fb84a15dc10d9c2342d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof resultJson !== \u0022object\u0022 || resultJson === null || Array.isArray(resultJson)\u0060 appears character-identically in 2 files \u2014 packages/shared/src/run-failure-cause.ts, server/src/services/heartbeat/run-failure-cause.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/run-failure-cause.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5821cabfc8afeb8e35a87ad92f0fec0b0afb4dd0d52865a4ab14574de8408871"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof row.adapterConfig === \u0022object\u0022 \u0026\u0026 row.adapterConfig !== null \u0026\u0026 !Array.isArray(row.adapterConfig)\u0060 appears character-identically in 2 files \u2014 server/src/lib/agent-records.ts, server/src/services/hire-hook.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-records.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f849a58819216ca5717a770363f89a68068fc1d172743ed9ef15acbcf4d3578f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof schema === \u0022object\u0022 \u0026\u0026 schema !== null\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts, packages/paperclip-runner/src/drivers/tool-input-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":"packages/paperclip-runner/src/drivers/repeated-tool-input-rejection.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"125747ac28c2a9e6cedd488cba716ae987b086cb6d7401e4e72eaee0287f6642"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof sessionId !== \u0022string\u0022 || !sessionId.trim()\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/drivers/acpx/config-admission.ts, packages/paperclip-runner/src/drivers/acpx/cursor-instructions.ts, packages/paperclip-runner/src/drivers/acpx/cursor-mode.ts, packages/paperclip-runner/src/drivers/acpx/grok-effort.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/config-admission.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"14da6dbd164f2c2c9abc44630c73b082fdf3def9e6793840e8a488be73f02fce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof sessionId === \u0022string\u0022 \u0026\u0026 sessionId.length \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/scripts/capability-issue-thread-smoke.mjs, packages/paperclip-runner/scripts/qualify-cursor-denial.mjs, packages/paperclip-runner/src/live/runnerd-codex-transport.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/capability-issue-thread-smoke.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb04df38fd27853b4b60fcb0bbd9c4b4bfa5019382af05f542a2dfa3e7c5e16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof source.url === \u0022string\u0022 \u0026\u0026 /^https?:\\/\\//.test(source.url)\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx, ui/src/components/IssueChatThread.tsx, ui/src/components/transcript/RunTranscriptView.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/paperclip-runner/devtools/issue-thread/src/ThreadItems.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bc6b69cdfbdffa6a30d3d8f28b1526874711c0216cb5a819c15c4855fe58be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof status === \u0022number\u0022 \u0026\u0026 Number.isInteger(status)\u0060 appears character-identically in 2 files \u2014 packages/adapters/opencode-local/src/server/parse.ts, server/src/services/chat-channels/publications/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":"packages/adapters/opencode-local/src/server/parse.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"904b0f340eae7d7a517b906f57a46ab1fea092b5f31fbb81df530ef0f43c05b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof status === \u0022number\u0022 \u0026\u0026 Number.isInteger(status) \u0026\u0026 status \u003E= 100 \u0026\u0026 status \u003C= 599\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/plugin.ts, server/src/services/run-failure-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":"packages/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"64704c85e7421ce396369c1c90d36c7a6dced640ed76603a1e170aed9314dc02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof taskId === \u0022string\u0022 \u0026\u0026 taskId.length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe69c6bd67e69eadc7f3dcda6c758266c75b0f926d0c0acb34262bb30c6f7504"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof text !== \u0022string\u0022 || text.length === 0\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/server/setup-token-parse.ts, packages/adapters/codex-local/src/server/device-login-parse.ts, packages/adapters/grok-local/src/server/device-login-parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/setup-token-parse.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a51492562faf78e941964c7b7c73496e230b316c04b21e1a9c200de77256640"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof token !== \u0022string\u0022 || !/^[a-f0-9]{64}$/.test(token)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/cli/eval-gateway-runtime.ts, packages/paperclip-runner/src/cli/eval-observability-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/paperclip-runner/src/cli/eval-gateway-runtime.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc192935a282dcd65ed90b4f84508ce8679903f886c6dc4b24a8dbbe770bcca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof token === \u0022string\u0022 \u0026\u0026 token.trim() \u0026\u0026 !token.includes(\u0022\\0\u0022)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/discover-copilot-acp.mjs, packages/paperclip-runner/scripts/qualify-copilot-acp.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/paperclip-runner/scripts/discover-copilot-acp.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b35b81a4a78023c58bccadc8c627121331e9b2d66c76fcced2517356ae734ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(v) \u0026\u0026 v \u003E= 0 \u0026\u0026 v \u003C= 2_147_483_647\u0060 appears character-identically in 2 files \u2014 server/src/services/decision-model-provider.ts, server/src/services/provider-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":"server/src/services/decision-model-provider.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3024ed37a7893433a4f7c097457cd8c5bf278bbc8bdc8f95416ea593284e87c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022string\u0022 \u0026\u0026 /^[a-f0-9]{64}$/.test(v)\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts, packages/paperclip-runner/src/drivers/semantic-tool-receipt.ts, server/src/services/idle-incoming-wake-capability.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a92c244db660e859a9310239092690cf1a34eba9d6d3df712f94b17478c52b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022string\u0022 \u0026\u0026 v.length \u003E 0 \u0026\u0026 v.length \u003C= 240 \u0026\u0026 !/[\\u0000-\\u001f\\u007f]/u.test(v)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts, packages/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b6c33fd61a96a9ec969e447a87ff2f4a4f2e8638fc4e49012dc4783dda466e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022string\u0022 \u0026\u0026 v.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 server/src/routes/adapters.ts, ui/src/pages/AgentToolsTab.tsx, ui/src/pages/tools/AuditTab.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":"server/src/routes/adapters.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f147ea5e976d4b4a64f188c759a23dbf0fd7860cd6dc60b9cdde9904cb28aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isFinite(value)\u0060 appears character-identically in 15 files \u2014 packages/adapters/codex-local/src/server/quota.ts, packages/db/src/backup.ts, packages/db/src/runtime-config.ts, packages/paperclip-runner/src/contracts/question-set.ts. It is one line, so the duplication detector\u0027s token 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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d973efbca39df3070cc291115809c372055994ce07ac451a005b3299ea5a004a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isSafeInteger(value) || value \u003C= 0 || value \u003E maximum\u0060 appears character-identically in 2 files \u2014 packages/adapters/codex-local/src/ui/build-config.ts, server/src/services/native-runtime/provider-profile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaf5e57650f8b5abfa8f3b00bfef903c2db8202f83243fedf56827a8c74a63a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022object\u0022 || value === null\u0060 appears character-identically in 15 files \u2014 cli/src/client/board-auth.ts, packages/adapter-utils/src/login-capability.ts, packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts, packages/paperclip-runner/src/drivers/codex/app-server-transport.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/board-auth.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"474eaa37deab66f776180a5df0e36731f52bf0f6904ced2376749a1e3f83b627"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022object\u0022 || value === null || Array.isArray(value)\u0060 appears character-identically in 68 files \u2014 cli/src/client/context.ts, cli/src/commands/client/secrets.ts, packages/adapter-utils/src/acpx-engine/ui.ts, packages/adapter-utils/src/log-redaction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/context.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"86abc1f59bcc84ef82aaadb40ac4b1757f06eec9b5c71a04bbd3269bec092583"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022object\u0022 || value === null || Object.isFrozen(value)\u0060 appears character-identically in 11 files \u2014 packages/paperclip-runner/src/drivers/acpx/qualified-profiles.ts, packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/paperclip-runner/src/semantic-tools/dispatcher.ts, packages/paperclip-runner/src/semantic-tools/paperclip-discovery.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/qualified-profiles.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c8e75de28752d31b28ee319770f4590a22a70111d9eec5906aa39f7b2ccb15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !value.trim()\u0060 appears character-identically in 5 files \u2014 packages/paperclip-runner/src/contracts/runtime-context.ts, packages/paperclip-runner/src/tool-file-changes.ts, packages/shared/src/oauth-endpoint-url.ts, server/src/routes/attention.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/contracts/runtime-context.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"62aa7bc039d963a9754a883a3d51467987d3b1f89f1f088ada8f055b4f7fddc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || value.length === 0\u0060 appears character-identically in 7 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/plugins/sdk/src/protocol.ts, scripts/extract-proposed-events.mjs, server/src/adapters/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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a773c40a8062f0998be756e80cfe7d540fbf182e375ad8d41ff1ad6acd6f8ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || value.length \u003E 2048\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-github-webhook-config.ts, server/src/services/chat-sdk-runtime.ts, server/src/services/public-mcp/discovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-webhook-config.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab849ba2be50a4d1926dfc5764497fdb7c717fdb9da4d74351119916b42db832"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || value.trim() === \u0022\u0022\u0060 appears character-identically in 3 files \u2014 .agents/skills/garden-inbox/scripts/garden-inbox.mjs, server/src/services/native-runtime/paperclip-runner-tool-authority.ts, server/src/services/tool-access/github-default-owner.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/garden-inbox/scripts/garden-inbox.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2088056987b3a7624e017b17e8301875195edbf6ea68342d6b4aba9643abf28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || value.trim().length === 0\u0060 appears character-identically in 14 files \u2014 packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs, packages/paperclip-runner/src/cli/eval-session-contract.ts, packages/paperclip-runner/src/conformance/harness-driver.ts, packages/paperclip-runner/src/contracts/native-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":"packages/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"911d992a4f21df9ec63b88afe395fa388962398a6d730b2446a8dcf1f3d9ab45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022boolean\u0022 || typeof value === \u0022number\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/company-portability.ts, server/src/services/secrets.ts, ui/src/pages/secrets/ImportFromVaultDialog.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":"server/src/services/company-portability.ts"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbb7aaf244cbd3bd2e966aedf497e27dd504a2d39d21b967a54ed5ec276374f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 56 files \u2014 packages/adapter-utils/src/acpx-engine/cli.ts, packages/adapter-utils/src/acpx-engine/startup-timing.ts, packages/adapter-utils/src/acpx-engine/ui.ts, packages/adapter-utils/src/session-compaction.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/cli.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffb1732ed301ded67254792ebc2c997d2d3f41c03bbc3ed2e08796e7702c679"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 6 files \u2014 packages/adapter-utils/src/remote-text-file-sync.ts, packages/adapter-utils/src/sandbox-callback-bridge.ts, packages/adapter-utils/src/sandbox-run-log-stream.ts, server/src/services/chat-publication-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/adapter-utils/src/remote-text-file-sync.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4581bfeeb909655db73f5f72a0b1bd41092fb4c7f5fadbac17ca4ac875ec47d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 23 files \u2014 packages/adapters/cursor-local/src/server/parse.ts, packages/adapters/gemini-local/src/server/parse.ts, packages/adapters/pi-local/src/server/parse.ts, packages/db/src/client.ts. It is one line, so the duplication detector\u0027s token 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/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"924098f3e8e065f799df722ab90a066928c416c2f65aa69392d5fd0db146aa77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isInteger(value)\u0060 appears character-identically in 4 files \u2014 server/src/services/company-portability.ts, server/src/services/native-runtime/paperclip-runner-tool-authority.ts, server/src/services/native-runtime/runner-semantic-authority.ts, server/src/services/recovery/ownership-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":"server/src/services/company-portability.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"061046e5a8f1cc07978ae9212b8a240b6a8081d37dbc22fc88e0ca2a878ddada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isInteger(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 6 files \u2014 server/src/modules/active-run-watchdog/adapters/process.ts, server/src/redaction.ts, server/src/services/hot-restart.ts, server/src/services/native-runtime/native-restart-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":"server/src/modules/active-run-watchdog/adapters/process.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a8b4038c4096e2bce3905a04505a287df638c9e52406f1a85c6416e1885267"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isInteger(value) \u0026\u0026 value \u003E= 1\u0060 appears character-identically in 2 files \u2014 packages/kv-demo-mcp-server/src/tasks/tools.ts, packages/paperclip-runner/src/contracts/tool-input-variants.ts. It is one line, so the duplication detector\u0027s token 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/kv-demo-mcp-server/src/tasks/tools.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"096804184fc32e97a153938e5fce50cbf21aa568359037b7676de718aadeaf2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isInteger(value) \u0026\u0026 value \u003E= minimum \u0026\u0026 value \u003C= maximum\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/workspace-restore-diagnostics.ts, packages/plugins/sdk/src/environment-sync-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":"packages/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12134984b6fb55d3c229537eba8caf6c7995f2499868800749eec5a5f574735"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value)\u0060 appears character-identically in 4 files \u2014 packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts, server/src/services/chat-github-receipt-reactions.ts, server/src/services/mcp-http.ts, ui/src/components/transcript/native-run-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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ca9735436cd0652327b3215f7db2fe746670713b96a4628532b036bb9d192"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 3 files \u2014 server/src/services/chat-channels/telegram/messages.ts, server/src/services/github-connection-events.ts, server/src/services/tool-access/github-access-discovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/telegram/messages.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f0f2f1e70d160110e2828ac4dbb95538d07fc6b70827229df9f573a7657c90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 16 files \u2014 packages/adapters/codex-local/src/server/parse.ts, packages/adapters/cursor-local/src/server/parse.ts, packages/adapters/opencode-local/src/server/parse.ts, packages/paperclip-runner/src/drivers/acpx/pi-acp-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/adapters/codex-local/src/server/parse.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9adfa69eaa66ccf8614bbae1b9eaeb8948211bc4641f825e1941719b2ca2807"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value) \u0026\u0026 value \u003E= minimum\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-telegram-ephemeral.ts, server/src/services/chat-telegram-video-note.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-ephemeral.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcd1fa6a605924637f726ae597f1da7421463954df73d0113bbd97b3150ac7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 13 files \u2014 cli/src/commands/client/common.ts, cli/src/commands/client/skills.ts, cli/src/commands/client/teams.ts, packages/paperclip-runner/src/live/evidence-redaction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/common.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7c78f85cc8328ce7e541bddcf439e72a9caa5cbf2d7e88b5777a3394f3a0aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022 || value === null\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/usage-checkpoint.ts, packages/paperclip-runner/src/issue-thread/public-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/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc056226f9341785d577158114e362b65a733f2417665d6556ad0723d89650"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null\u0060 appears character-identically in 32 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fe71b9fa8e90612c514e714cbe4bed0bff45429ee2d097382fb42d77f35494"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 136 files \u2014 cli/src/commands/heartbeat-run.ts, packages/adapter-utils/src/acpx-engine/session-codec.ts, packages/adapter-utils/src/duplex-frame-codec.ts, packages/adapter-utils/src/session-compaction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"95186d1c37502067971f8d35aa95ffcd5ed905fbfa3236c12306c4d426b54071"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^[1-9][0-9]{0,30}$/.test(value)\u0060 appears character-identically in 2 files \u2014 server/src/services/github-connection-events.ts, server/src/services/tool-access/github-access-discovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/github-connection-events.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adae4a50f0bed5e3273f54ca58f074bbf245e875767d3981c5ba386f39cfd6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^[A-Za-z0-9][A-Za-z0-9._:-]{0,239}$/.test(value)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/acpx/candidate-admission.ts, packages/paperclip-runner/src/drivers/acpx/grok-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":"packages/paperclip-runner/src/drivers/acpx/candidate-admission.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50f6b4606c54269432bff4cc7bf13b55e3ab9e006c477607f766939a33c5bd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^[a-f0-9]{64}$/.test(value)\u0060 appears character-identically in 3 files \u2014 server/src/services/idle-api-wake-admission.ts, server/src/services/public-mcp/revocation-index-contract.ts, server/src/services/public-mcp/wake-admission.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/idle-api-wake-admission.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"566a9dbbc49c56416bbd62deaf4c018739aa5fd9ae52bc65bda1aab8a7e6fcaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/.test(value)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-workspace-migration.ts, server/src/services/public-mcp/revocation-index-contract.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-migration.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5798e7d0ab1f15493e8bcd8c79dfa5512cbcc2dc7c2ea71a081e94193d38fafd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^\\d\u002B$/.test(value)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/governance-events.ts, server/src/services/chat-channels/github/resources.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/governance-events.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4402a7881df89f4df40e2981a7f31cabcd339535780c8302e277d47928ad90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^sha256:[a-f0-9]{64}$/.test(value)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-provider-artifact-files.ts, server/src/services/native-runtime/retained-provider-pack-oci.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-artifact-files.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a120102fd083825cc6a42c1fab3e7a539a880860b6ac731fae8406506919ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 Number.isFinite(Date.parse(value))\u0060 appears character-identically in 4 files \u2014 scripts/eval-schedule-monitor.mjs, server/src/services/chat-channels/slack/form-publication.ts, server/src/services/remote-workspace-snapshot-retention.ts, server/src/services/voice/voice-delivery-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":"scripts/eval-schedule-monitor.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2251aa7929a31cdd1a43f6fde8f1632cb09c2ec7e16723db2c83dafed6a365"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 propertyNames.has(value)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/drivers/acpx/acp-question-adapter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d167a54ada0b281106be14f291f622b1a1aa97a93302930de24174c2a0d7d854"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.length\u0060 appears character-identically in 2 files \u2014 server/src/services/agent-interaction-delivery.ts, server/src/services/local-ai-credentials.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-interaction-delivery.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cccf78c4cc074e29f6ef102aac25db5b97cbb2e1bd2fc3500f3ee10d1c32a09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 43 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/claude-local/src/server/execute.ts, packages/adapters/hermes/src/server/execute.ts, packages/adapters/hermes/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a432eb707ae596106e835256f01f52982b24b38f65e3676a294d3247970de18f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.length \u003E 0 \u0026\u0026 value.length \u003C= 2048 \u0026\u0026 !/[\\s\\u0000-\\u001f\\u007f]/u.test(value)\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-telegram-media-intake.ts, server/src/services/chat-telegram-video-note.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c06253efdefe9878db13c198fd6afbd8955e36a17b6f96d24874bcf73ca0617"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.startsWith(\u0022plugin:\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/ExecutionWorkspaceDetail.tsx, ui/src/pages/ProjectDetail.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":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb943344e3709f4b42833379ce598dc71e1836d51329e932a67a5fd9417e420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim()\u0060 appears character-identically in 24 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/app.tsx, packages/shared/src/connection-instructions.ts, scripts/smoke/notion-generic-live-lib.mjs, scripts/smoke/posthog-live-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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30fae98aed39161e403ec43589d510ef04ee89a30c46eadc99964ad1228435d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 171 files \u2014 cli/src/client/board-auth.ts, cli/src/client/context.ts, cli/src/commands/routines.ts, cli/src/commands/worktree-lib.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/client/board-auth.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cbb8c7c37d8ba44ae1356b33b556d78ecfa00fb287ce501e9f79d9c516b960"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 || typeof value === \u0022number\u0022\u0060 appears character-identically in 5 files \u2014 scripts/smoke/posthog-live-lib.mjs, server/src/services/activity.ts, server/src/services/chat-publication-errors.ts, server/src/services/heartbeat/run-lifecycle.ts. It is one line, so the duplication detector\u0027s token 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/smoke/posthog-live-lib.mjs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6de1b10f57f858890f48b9f49e0097279ef08083c36ab1cd7e226101b406f4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 || typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.ts, packages/paperclip-runner/src/live/evidence-redaction.ts, server/src/services/mcp-elicitation.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28857b22585601769455635d1e986ded648172f561527ce0d78748dad504b90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 || value === null\u0060 appears character-identically in 2 files \u2014 server/src/services/secrets.ts, ui/src/pages/secrets/ImportFromVaultDialog.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":"server/src/services/secrets.ts"},"region":{"startLine":3004}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa965bcbed4ae637a47670965444fae2c68b8450400c050b7dd303d0cc47384"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof version !== \u0022string\u0022 || !version.startsWith(\u0022workspace:\u0022)\u0060 appears character-identically in 3 files \u2014 packages/adapters/hermes/scripts/prepare-publish-package.mjs, scripts/ensure-workspace-package-links.ts, server/src/services/workspace-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/adapters/hermes/scripts/prepare-publish-package.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"005eccc18c7dda6b28ec0b4a820096c1b25192a7a7c3d65fd6b447a90442500a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 typeof window.localStorage !== \u0022undefined\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/lib/invite-memory.ts, ui/src/lib/recent-searches.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/invite-memory.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bb9f9d3e8326d073b0d0d134118c1c6da684e5afc6b0d3a5f266123f292630"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window === \u0022undefined\u0022 || !window.matchMedia\u0060 appears character-identically in 2 files \u2014 ui/src/hooks/usePrefersReducedMotion.ts, ui/src/lib/external-objects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/usePrefersReducedMotion.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874639ba75ab47a8638ac9f242ae5705ecc58dcd49f10061e9e39649fe0ee86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window === \u0022undefined\u0022 || typeof window.matchMedia !== \u0022function\u0022\u0060 appears character-identically in 9 files \u2014 packages/plugins/plugin-llm-wiki/src/ui/app.tsx, packages/plugins/plugin-workspace-diff/src/ui/index.tsx, ui/src/components/IssueDocumentAnnotations.tsx, ui/src/components/PropertiesPanel.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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e77e2aba331001b2047151c6d1d2b992a585320a016a66e9df6f5e7d367c45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window === \u0022undefined\u0022 || window.confirm(message)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"14045a22d8f54774bd641987daf55929f4be68316dd8fcadb06f1292c6e553c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window.detail === \u0022string\u0022 \u0026\u0026 window.detail.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 ui/src/components/ClaudeSubscriptionPanel.tsx, ui/src/components/CodexSubscriptionPanel.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":"ui/src/components/ClaudeSubscriptionPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"834272d14a3cd71447e691bb4a0e45559497d57576dc557619a1bcbadc329986"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window.matchMedia === \u0022function\u0022 \u0026\u0026 window.matchMedia(\u0022(prefers-reduced-motion: reduce)\u0022).matches\u0060 appears character-identically in 2 files \u2014 ui/src/components/side-panel/SidePanelTabs.tsx, ui/src/pages/IssueChatUxLab.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":"ui/src/components/side-panel/SidePanelTabs.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1ef0ee17f63b6571accc75ca1e4ae5f51bb62bf95b7af6ab6da32095b2fa40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unreadState === \u0022visible\u0022 || unreadState === \u0022fading\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/IssueRow.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssueRow.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"adac2e15ee9f09775bedfbeeab9c295308a619dfcd2dabfe1520153c096f1eca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updatePermissions.isPending || taskAssignLocked\u0060 appears character-identically in 2 files \u2014 ui/src/pages/AgentDetail.production.tsx, ui/src/pages/AgentDetail.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":"ui/src/pages/AgentDetail.production.tsx"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"3088aa674dad7564cf7a7734769e7988c7f6b4e0f8f971d5290e53830e0e5856"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updateRoutineStatus.isPending || routine.status === \u0022archived\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/RoutineDetail.production.tsx, ui/src/pages/RoutineDetail.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":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e16dace3c53c89abd5f6752461785ba10a5d4aa1051e522e04afb4cceb9f8d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updateStatus?.supported \u0026\u0026 !updateStatus.hasUpdate \u0026\u0026 !updateStatusLoading\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5359af552235f5e81f87c8f198cebd7e2dd19e0ccbfb7ef8cbf39b3a3ef3f08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updateStatus?.supported \u0026\u0026 updateStatus.hasUpdate\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16007107d9593ed10a1fb6859d608c51a8d60d41c4c4dd37b6a8267f49db192"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updatedRun \u0026\u0026 isNewTerminalRunFailure(row.run, updatedRun)\u0060 appears character-identically in 2 files \u2014 server/src/services/native-runtime/native-finalization-reconciler.ts, server/src/services/native-runtime/native-restart-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":"server/src/services/native-runtime/native-finalization-reconciler.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a7d15ad3087bef3ba709835f4fff0ad3244e19d550b1ea37e0a68a5a4d6af7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.port === DEFAULT_HERMES_DASHBOARD_PORT \u0026\u0026 HERMES_DASHBOARD_API_PATHS.has(normalizedPath)\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/src/gateway/server/execute.ts, packages/adapters/hermes/src/gateway/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2734c42f1c5e410863c5242e24f0b956c0b1460ba5410c0cb7cc0bd793a63690"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022file:\u0022 || url.search || url.hash\u0060 appears character-identically in 5 files \u2014 cli/src/commands/runtime.ts, packages/paperclip-runner/scripts/antigravity-provisioner-layout.mjs, packages/paperclip-runner/scripts/cursor-provisioner-layout.mjs, packages/paperclip-runner/src/drivers/acpx/provider-assets-root.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/runtime.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce76db08b8bd070f74c86e07b23e288f61235f4450fa3f78489dc11899816259"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022http:\u0022 \u0026\u0026 url.protocol !== \u0022https:\u0022\u0060 appears character-identically in 7 files \u2014 cli/src/prompts/server.ts, packages/adapters/hermes/src/gateway/server/execute.ts, packages/adapters/hermes/src/gateway/server/test.ts, packages/shared/src/external-objects-server.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/prompts/server.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2119422601e008acd2c15cff2b0579ef566ffa1893c0fc1d34e21b5a420034c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 \u0026\u0026 url.protocol !== \u0022http:\u0022\u0060 appears character-identically in 3 files \u2014 packages/shared/src/validators/skill-policy.ts, server/src/services/chat-channels/slack/callback-verification.ts, ui/src/lib/cloudLinks.ts. It is one line, so the duplication detector\u0027s token 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/shared/src/validators/skill-policy.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2ffb48d3a9193b81d5bd671367bc44f1ec497d83cd72b82e09d93cf506f9fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 || url.hostname !== \u0022files.slack.com\u0022 || url.username || url.password || url.port\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack-writes.ts, server/src/services/connectors/slack.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-writes.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"078a06538fec3986da46a93e221babb47c534da3a96d683e04b2b4de0237c102"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 || url.username || url.password\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts, packages/shared/src/mcp-apps.ts, server/src/services/connectors/slack-search-oauth.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a240c0ac6b95ad5feb24e6ed1faf1f1ec9783657188d2828837b84170e9f39ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 || url.username || url.password || url.pathname !== \u0022/\u0022 || url.search || url.hash\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack/setup/development-manager.ts, server/src/services/connectors/slack/setup/registration.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack/setup/development-manager.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"35887fcd7642cea459e61d858a78197fac58508aa4fe34caafc0e4614ee382c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 || url.username || url.password || url.search || url.hash\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs, packages/plugins/sandbox-providers/daytona/src/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":"packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6410a3450bb63afaa923e2bd492c4b25e6fd99c6623ed3773bde40661a6b9c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 || url.username || url.password || url.search || url.hash || url.pathname !== \u0022/\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/chat-github-registration.ts, server/src/services/native-runtime/remote-mcp-relay.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-registration.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"97759191b986e78063ba163264ffb7a90c69bbf3208192e8ae1d71ad36b67cd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol === \u0022http:\u0022 || url.protocol === \u0022https:\u0022\u0060 appears character-identically in 4 files \u2014 ui/src/components/TaskChatThread.tsx, ui/src/components/task-chat/transcript-adapter.ts, ui/src/pages/apps/chat/SetupPrompt.tsx, ui/storybook/.storybook/main.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/TaskChatThread.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc7d206f66bb8210e58d87a8ed1098891f69aa3d3947b3ca13594d62496dd8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol === \u0022https:\u0022 \u0026\u0026 [\u0022openrouter.ai\u0022, \u0022eu.openrouter.ai\u0022, \u0022us.openrouter.ai\u0022].includes(url.hostname) \u0026\u0026 !url.username \u0026\u0026 !url.passw\u2026\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/openrouter-attribution.ts, packages/shared/src/openrouter-attribution.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/openrouter-attribution.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24d3132ec337fc8d150c831dd92404a0ca73aa73b3e61d41edd45f49ff6fdd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol === \u0022https:\u0022 \u0026\u0026 url.hostname.toLowerCase() === \u0022github.com\u0022\u0060 appears character-identically in 4 files \u2014 server/src/routes/tool-access.ts, server/src/services/github-connection-events.ts, ui/src/features/connections/ConnectionSetupFlow.tsx, ui/src/pages/apps/app-detail/AccessRetryBanner.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":"server/src/routes/tool-access.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ba9f419905a6a3a94c6987d4b595b513bfe4c9edc5aa9965c42118b2970b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol === \u0022https:\u0022 || url.protocol === \u0022http:\u0022\u0060 appears character-identically in 4 files \u2014 packages/shared/src/validators/access.ts, ui/src/components/WorkspaceBaseRefRecovery.tsx, ui/src/components/mcp-app/mcp-app-host.ts, ui/src/components/task-chat/TaskChatProtocolActivityRow.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/shared/src/validators/access.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cf5fca36c88738a2f97a29a4f925ed6e81f4438230aa7dc918b6137ae0d490"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.username || url.password || url.search || url.hash\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/runner-connectivity.ts, server/src/services/company-skills.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/runner-connectivity.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28e32ff7b3c85c09d42dd9e00bc8ded0ebf33f3be0a374610213775454fa97b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.username.length \u003E 0 || url.password.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/drivers/codex/app-server-transport.ts, server/src/services/remote-url-credentials.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab4e9ac9b70e39d8476e8f6147e88e8d8dc875052c4c42b2ef206d7d2074a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usedTokens === null || windowTokens === null || windowTokens \u003C 1\u0060 appears character-identically in 2 files \u2014 server/src/services/issue-context-usage.ts, ui/src/components/transcript/native-run-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":"server/src/services/issue-context-usage.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdcb6a0d8bd79f767808e5dc007dec2940cca471002e9ac04723217da1d0749"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.id !== authority.slackUserId || user.deleted === true || user.is_bot === true || user.team_id !== authority.endpoint.providerAccountId\u0060 appears character-identically in 2 files \u2014 server/src/services/connectors/slack-access.ts, server/src/services/connectors/slack-writes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/slack-access.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26caae00224521097e745021f7c579656b408160a00a0e71c0f23fd1807f07b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.name?.trim() || user.email?.trim() || user.id\u0060 appears character-identically in 2 files \u2014 server/src/services/tool-access/activity/service.ts, server/src/services/tool-connection-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":"server/src/services/tool-access/activity/service.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b95560ac149c55d86e699553faefbe06a9eb43b0d08713042888728a1c55f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v !== null \u0026\u0026 typeof v === \u0022object\u0022 \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 6 files \u2014 packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts, packages/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts, packages/paperclip-runner/src/drivers/codex/codex-notification-identity.ts, server/src/services/decision-model-provider.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfa80a1702609d3bb91310e5c1121d61402ec68d05f09c3029929898674746a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v \u0026\u0026 typeof v === \u0022object\u0022 \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 10 files \u2014 packages/paperclip-runner/src/drivers/dot/dot-harness-driver.ts, server/src/services/execution-continuation.ts, server/src/services/fast-response-provider.ts, server/src/services/idle-incoming-wake-capability.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9903b146103f1e54b5a1d6756ee7003c790d1a20ab3ddaa0307cb84d77d043"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v === \u0022true\u0022 || v === \u00221\u0022 || v === \u0022yes\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/opencode-local/src/server/models.ts, server/src/services/execution-policy-bootstrap.ts. It is one line, so the duplication detector\u0027s token 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f847a270057eb9fb5327e76f7e7b3a2cbf0c76495a87e9e34df3892a3efdd65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v.runner === \u0022paperclip\u0022 || ((v.runner === undefined || v.runner === \u0022auto\u0022) \u0026\u0026 v.resolvedRunner === \u0022paperclip\u0022)\u0060 appears character-identically in 3 files \u2014 packages/adapters/claude-local/src/ui/build-config.ts, packages/adapters/opencode-local/src/ui/build-config.ts, packages/adapters/pi-local/src/ui/build-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/adapters/claude-local/src/ui/build-config.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8451fe586ba0fd7eb9af3bb51d5e311f2f98a2e7c01d28e7029311972e66684c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation.inputType === \u0022number\u0022 || validation.inputType === \u0022integer\u0022 || validation.inputType === \u0022text\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/contracts/question-set.ts, ui/src/adapters/paperclip-runner/index.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/contracts/question-set.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dcb031be74a0708c0b48ee94fe8137ffbb40e5aa9373796c5df8b347910c4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation.maximum !== undefined \u0026\u0026 numeric \u003E validation.maximum\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"383197a9732d6c09c639a76a0f0a895b6485141bfdc9f88396370d10ff6d04d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation.minimum !== undefined \u0026\u0026 numeric \u003C validation.minimum\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"479e446b00d116c4044257195a28eb83135b909bda9615c0bed000e009bcb7bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation?.inputType === \u0022number\u0022 || validation?.inputType === \u0022integer\u0022\u0060 appears character-identically in 3 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts, ui/src/components/task-chat/QuestionForm.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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd3132fe706f36fa660db9d5ad5655e544295c5dcc63f2096abd7aee0fd1f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation?.maxLength !== undefined \u0026\u0026 boundedText.length \u003E validation.maxLength\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0140b1b652ea07a381956efbfbfd2ece7e4485b5f7f22096ef727014783ac3de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation?.minLength !== undefined \u0026\u0026 boundedText.length \u003C validation.minLength\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/contracts/question-set.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/scripts/protocol-contract.mjs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b842db4aca2e984638305c6299b6a75409fa9cff82d0d70fead03d6b83852fcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0022object\u0022\u0060 appears character-identically in 7 files \u2014 packages/db/src/response-capture.ts, packages/db/src/run-event-payload.ts, packages/paperclip-runner/src/browser/transcript-model.ts, packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts. It is one line, so the duplication detector\u0027s token 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/db/src/response-capture.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"23862468135b398450fb2e7a74611711609c6a2e31c13da530767c7fde0775d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 66 files \u2014 packages/adapter-utils/src/acpx-engine/terminal-session-failure.ts, packages/paperclip-runner/scripts/probe-antigravity-metadata.mjs, packages/paperclip-runner/src/cli/eval-failure-diagnostics.ts, packages/paperclip-runner/src/cli/opencode-proxy-output.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec92db4f63123fd0bdbcb9198e42a334f5b7bf88d5a0a9678478b113eff8921e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 /^[0-9a-f]{40}$/i.test(value.trim())\u0060 appears character-identically in 2 files \u2014 server/src/services/company-skills.ts, server/src/services/teams-catalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-skills.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e249d1b9def12184c5ced9c1d6f529ca76bc0c5c46f04e2ffd33746d09f39c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 174 files \u2014 cli/src/commands/managed-agent.ts, packages/adapter-utils/src/execution-target.ts, packages/adapter-utils/src/remote-managed-runtime.ts, packages/adapter-utils/src/sandbox-managed-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":"cli/src/commands/managed-agent.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ccabb9fe05a33a1c003d6e25a4d3b34a448eab879863b410fc2033424cf5ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 Array.isArray(value[key])\u0060 appears character-identically in 2 files \u2014 scripts/smoke/notion-generic-live.mjs, scripts/smoke/posthog-live.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/smoke/notion-generic-live.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d0464edcf67d64957b307d52d9af9766e7a4b1a0b5d61a5ea524f39c589ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 value.type\u0060 appears character-identically in 3 files \u2014 scripts/ci/repository-file-inputs.mjs, scripts/ci/reviewed-test-dependencies.mjs, scripts/ci/vitest-selection-graph.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/ci/repository-file-inputs.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d0f711408002d9c73e83f987d2158df6a3fcacbd9bdfde65ce96f98f0109f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || (typeof value === \u0022string\u0022 \u0026\u0026 value.trim().length === 0)\u0060 appears character-identically in 2 files \u2014 server/src/services/routines.ts, ui/src/components/RoutineRunVariablesDialog.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":"server/src/services/routines.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c1d01bd7d5e4f9b005b87749bb9b7db7b6da8ac6ec1a2c52b02c7fbd8a14bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || typeof value === \u0022string\u0022 || typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/issues.ts, server/src/services/routines.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/issues.ts"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"865a8995c16d18a26e29fa33eef97d647cf4bb8679a2f5ff38f048bc9781f4be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022agent\u0022 || value === \u0022plan\u0022 || value === \u0022ask\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapter-utils/src/paperclip-runner-permissions.ts, packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/paperclip-runner-permissions.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bca62a7bead041fff68973f193b2f2ecbf7cd6e904eaebcd0c626204c44f574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022alphabetical\u0022 || value === \u0022recent\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/SidebarAgents.production.tsx, ui/src/components/SidebarAgents.tsx, ui/src/components/SidebarProjects.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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"57385d78e5b57b17fec3d3ef1cca8ea35038db50e5f83d02b685e8868c6355b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022alphabetical\u0022 || value === \u0022recent\u0022 || value === \u0022top\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/lib/agent-order.ts, ui/src/lib/project-order.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-order.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c0478caff4e1dde79068b7dd7de1fea17446a6fcadd4694d78c6ac3ad44b9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022claude\u0022 || value === \u0022codex\u0022 || value === \u0022grok\u0022\u0060 appears character-identically in 2 files \u2014 packages/plugins/sandbox-providers/daytona/src/login-pty.ts, server/src/services/login-command.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/daytona/src/login-pty.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"76133a89369922d1eb6c5d8c8577d471391eaaf8b574ecef326a2c61f6ade3b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022collapsed\u0022 || value === \u0022expanded\u0022 || value === \u0022auto\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cc934b00faf5dcb406480a0b050d9317ef3f12202a0cd5dabd90fd8e2619be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022compact\u0022 || value === \u0022comfortable\u0022 || value === \u0022auto\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca3754c7005c2f5775d22ab7e4e133a0b64ce64f3695810e3e352ebfdbe1bd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022localhost\u0022 || value === \u0022127.0.0.1\u0022 || value === \u0022::1\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/openclaw-gateway/src/server/execute.ts, packages/adapters/openclaw-gateway/src/server/test.ts. It is one line, so the duplication detector\u0027s token 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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bef3b5a08fe569159d8214937545c5c6ec0c589b0380495f4a43f328e42502"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022running\u0022 || value === \u0022stopped\u0022 || value === \u0022manual\u0022\u0060 appears character-identically in 3 files \u2014 server/src/services/execution-workspaces.ts, server/src/services/project-workspace-runtime-config.ts, server/src/services/workspace-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":"server/src/services/execution-workspaces.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"383377bac0f5f02ea3a861ab567ba47d05b5755509ab6895f6b65bd7628bf574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0022user\u0022 || value === \u0022agent\u0022 || value === \u0022system\u0022\u0060 appears character-identically in 3 files \u2014 packages/plugins/sdk/src/testing.ts, packages/plugins/sdk/src/worker-rpc-host.ts, server/src/modules/wake-queue/adapters/postgres.ts. It is one line, so the duplication detector\u0027s token 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/plugins/sdk/src/testing.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1a70a2824ec89a7cace93490971983e7077f9893a339756c440fd0de854a39"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || Array.isArray(value) || typeof value !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs, packages/paperclip-runner/scripts/runner-protocol-eval-campaign.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/paperclip-runner/scripts/publish-runner-protocol-eval-history.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba7369b62eccd155dbb2693f96885d5ff7bdb858b39b3a4c6c7e05c4ba46f3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0022object\u0022\u0060 appears character-identically in 13 files \u2014 packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx, packages/paperclip-runner/scripts/protocol-contract.mjs, packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts, packages/paperclip-runner/src/drivers/codex/codex-usage-baseline.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52abd5a0851c446154022e688831eee0634564153c27d58ca186305dbcc1c49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 8 files \u2014 packages/adapters/grok-local/src/server/grok-auth-merge-decision.cjs, packages/adapters/grok-local/src/server/grok-home.ts, packages/paperclip-runner/devtools/issue-thread/src/DevtoolsInspector.tsx, packages/paperclip-runner/src/drivers/acpx/candidate-admission.ts. It is one line, so the duplication detector\u0027s token 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/adapters/grok-local/src/server/grok-auth-merge-decision.cjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4180724ad0e5c9b1be32c545d1bb742beb07fff7b41b17238d445e95d964059a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value === \u0022boolean\u0022 || typeof value === \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/devtools/index.ts, packages/paperclip-runner/src/live/evidence-redaction.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/devtools/index.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f363b0c327e6436613dc558b1959b21188cbb9f53782e72325c2ca4fd070c6ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value === \u0022boolean\u0022 || typeof value === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/src/conformance/semantic-conformance.ts, packages/paperclip-runner/src/control-plane/durable-prp-control-plane.ts. It is one line, so the duplication detector\u0027s token 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/paperclip-runner/src/conformance/semantic-conformance.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8526001b8c57cb529f05575f1ca99d01e60d326b806e509b077613483beb091f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssueChatThread.tsx, ui/src/lib/recent-composer-effort.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueChatThread.tsx"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457483ac479354b0a1dedb0c2898ca5630f7038f9f2189a0c8b7dd48d98e4dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value === \u0022string\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 6 files \u2014 packages/paperclip-runner/src/drivers/runner-tool-bridge.ts, packages/paperclip-runner/src/mock-core/capability-mock-control-plane-adapter.ts, packages/shared/src/customer-success.ts, packages/shared/src/frontmatter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"163d5a3b9090d3f78c2824d9b6010a45f13af9fc8dcb93bdaad0335f7be8264f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || value === undefined || value === \u0022\u0022\u0060 appears character-identically in 4 files \u2014 cli/src/commands/client/skills.ts, server/src/services/heartbeat/timer-policy.ts, server/src/services/tool-access/oauth/endpoint-policy.ts, ui/src/lib/issue-change-receipt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/skills.ts"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feb9ca3a2b1f5c388962171365179fb3bba035308e5d2f6450cba51a747e098"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === true || value === \u0022true\u0022 || value === \u00221\u0022\u0060 appears character-identically in 5 files \u2014 server/src/routes/cases.ts, server/src/routes/companies.ts, server/src/routes/file-resources.ts, server/src/routes/issues.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/cases.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae49bb2467ed807540f4fecb8a8a44e9b9c6de2ef084c29e6575f3772f443ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === undefined || value === \u0022\u0022 || value.startsWith(\u0022--\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/runner-image-layout.mjs, scripts/runner-image-publish.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/runner-image-layout.mjs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"343fa549b8e6befd802f5d9f397a0cd4fbd491f0d4727e9f2471deb71589cce3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === undefined || value === null || value === \u0022\u0022\u0060 appears character-identically in 4 files \u2014 packages/adapters/codex-local/src/ui/build-config.ts, server/src/routes/companies.ts, server/src/services/native-runtime/provider-profile.ts, ui/src/components/JsonSchemaForm.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/adapters/codex-local/src/ui/build-config.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b158053f4148cece32c4833efcd6f9dddddf93495bf3498670f7ac231112b7c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === undefined || value.startsWith(\u0022--\u0022)\u0060 appears character-identically in 3 files \u2014 .agents/skills/directions-lab/scripts/lib/args.mjs, .agents/skills/garden-inbox/scripts/garden-inbox.mjs, scripts/recovery-cutover.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":".agents/skills/directions-lab/scripts/lib/args.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4734915468eef280e58164207b31c08d42e70b2dd6073ab9c03011720c4d103"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value instanceof Date \u0026\u0026 Number.isFinite(value.getTime())\u0060 appears character-identically in 2 files \u2014 server/src/services/run-failure-diagnostics.ts, server/src/services/tool-runtime-supervisor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1184d2e974814c2ab3af1e0d65361d1b1bfba4c919d00d7955abf11c6ae7b399"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value?.schema === REMOTE_WORKSPACE_ABANDONED_EPOCH_SCHEMA \u0026\u0026 value.released == null \u0026\u0026 typeof value.location?.providerLeaseId === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 server/src/services/remote-workspace-abandoned-files-hold.ts, server/src/services/remote-workspace-epoch-abandonment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-workspace-abandoned-files-hold.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b3d848d6195130d615eba5d7120a4e6a98cddd2c8691fbfc102f6c2e1ba15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060values.includes(\u0022issues\u0022) || values.includes(\u0022tasks\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/commands/client/company.ts, cli/src/commands/client/secrets.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68f3e9721dae7b97c7d07f0ae6da62b156ae8ef3e5ec7d7b54599a677f8afa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060values.includes(option.id) \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/ExecutionParticipantPicker.tsx, ui/src/components/issue-properties/IssueProperties.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":"ui/src/components/ExecutionParticipantPicker.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8160b2b9e4e551445ed5499dfb990b667e481afefa610b65eeea3505c0abefb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060verified.year !== input.year || verified.month !== input.month || verified.day !== input.day || verified.hour !== input.hour || verified.min\u2026\u0060 appears character-identically in 2 files \u2014 packages/adapters/claude-local/src/server/parse.ts, packages/adapters/codex-local/src/server/parse.ts. It is one line, so the duplication detector\u0027s token 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cf39807798b547fa76fe4f02f7bacdc70aaa1321af19060b3d4d9c14551d6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060version.repositorySnapshotId || version.packageSnapshotId\u0060 appears character-identically in 2 files \u2014 server/src/services/company-skills.ts, server/src/services/skill-execution-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":"server/src/services/company-skills.ts"},"region":{"startLine":3605}}}],"partialFingerprints":{"codehealthFindingId/v1":"018111ea0a4f7b3da78debb08fe2476ea226712e8e37dade15891f054eda3e6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060view.kind === \u0022error\u0022 \u0026\u0026 view.errorKind !== \u0022forbidden\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/tools/AdvancedToolsRoute.tsx, ui/src/pages/tools/profiles/ToolsAdminGate.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":"ui/src/pages/tools/AdvancedToolsRoute.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae583fbd4f20b62493a8fd6ff546e18d4ce0ff4b97a538596b6f066b46341d68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060view.kind === \u0022loading\u0022 || view.kind === \u0022reconnecting\u0022\u0060 appears character-identically in 3 files \u2014 ui/src/components/ProjectRepositoryInput.tsx, ui/src/components/decision-models/DecisionModelSettings.tsx, ui/src/pages/audit/AuditRuns.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":"ui/src/components/ProjectRepositoryInput.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"178ced9aeb3766e4718b9de8de88e3e5816342f34912d6891ee95bffaeead264"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewKind === \u0022error\u0022 \u0026\u0026 !transientFailure\u0060 appears character-identically in 2 files \u2014 ui/src/plugins/launchers.tsx, ui/src/plugins/slots.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":"ui/src/plugins/launchers.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8af6648f14a86bdb6649f060f78d83c1159d8a25a5309c815b0c71ef3ca8d69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewKind === \u0022error\u0022 \u0026\u0026 isTransientError(error)\u0060 appears character-identically in 2 files \u2014 ui/src/plugins/launchers.tsx, ui/src/plugins/slots.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":"ui/src/plugins/launchers.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e8f37298c9b0bbd56063046183b9d6d5ad62c41a70fc7ebb9de5baad78f5b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewMode !== \u0022code\u0022 \u0026\u0026 \u0022text-muted-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"0981d5550f5e4293c467ddae9f7f629924c98f63b712d8a7e7a717e2f2ab36fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewMode !== \u0022preview\u0022 \u0026\u0026 \u0022text-muted-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3960}}}],"partialFingerprints":{"codehealthFindingId/v1":"017ad75c038e67d5e8ae137489ee42ea3f296da1364807858978abd5b1dd7288"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewMode === \u0022code\u0022 \u0026\u0026 \u0022text-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db904fffc85a2fd331cbd41342024fb3d4837db26285300bdbc964290ea58e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewMode === \u0022preview\u0022 \u0026\u0026 \u0022text-foreground\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/pages/CompanySkills.production.tsx, ui/src/pages/CompanySkills.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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":3960}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46ab2b8e8b928c7db7f7d2cbb070840ba203d884f7d99f32926afa871c37f51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.boardCardDensity !== \u0022auto\u0022 || viewState.boardColdLaneMode !== \u0022auto\u0022 || viewState.boardColumnPageSize !== KANBAN_COLUMN_DEFAULT_P\u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9cf0b54c86b601411c868a4d6bdf86d3d861111475f8adc63e86f830768fa5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.boardCardDensity === \u0022compact\u0022 || (viewState.boardCardDensity === \u0022auto\u0022 \u0026\u0026 boardHighVolume)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"191aa25764d6199fba0144e05a4a02916aa986d4602ab5026b9fb15e35dcb9a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.boardColdLaneMode === \u0022collapsed\u0022 || (viewState.boardColdLaneMode === \u0022auto\u0022 \u0026\u0026 boardHighVolume)\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9abc25a4de60f7509624b38d48704d26547b484d8e9394ef3756c426191bfaf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.boardColumnPageSize !== KANBAN_COLUMN_DEFAULT_PAGE_SIZE \u0026\u0026 \u0022bg-accent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b46c4107bcccbb2b2b5c33e6eb39c4b788449087eae3a3e1177df6ea7357dbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.groupBy === \u0022assignee\u0022 \u0026\u0026 groupKey !== \u0022__unassigned\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1c0e169a132063b46c9e8b8dc212aa5a362e0262222d78afe12c22921b50e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.groupBy === \u0022parent\u0022 \u0026\u0026 groupKey !== \u0022__no_parent\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"951b1e2ddf645627ea496e3476320485c9162268c5c563b7ed6720e349541b25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.groupBy === \u0022project\u0022 \u0026\u0026 groupKey !== \u0022__no_project\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"b656b223111f8e8a1ed96311e4682694c69575c17871c41e26b96fb9cd93b59d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.groupBy === \u0022workspace\u0022 \u0026\u0026 groupKey !== \u0022__no_workspace\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838cf83cc979f793a43b84c621892619c2ad4eb7918caaeeacb58ce18ce52dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.viewMode !== \u0022board\u0022 || searchWithinLoadedIssues\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d1850dcb9fce2940b4094b615fcd38c46948e94614f644a63de4ef9edc16af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.viewMode === \u0022board\u0022 \u0026\u0026 filtered.length \u003E KANBAN_BOARD_HIGH_VOLUME_THRESHOLD\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b4be1ed99e0731b6f124520e79d30baca6dcbb1fe6cde0db7343caa60932be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.viewMode === \u0022list\u0022 \u0026\u0026 !isLoading \u0026\u0026 (hasMoreRenderedRows || (hasMoreHierarchyRows \u0026\u0026 !hierarchy.isFetching) || (hasMoreIssues \u0026\u0026 \u2026\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5436415a15d2a08cbbc377b365f1452ef82ad1c0d0927597a699ec4be5bb20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.viewMode === \u0022list\u0022 \u0026\u0026 renderedIssueRowLimit \u003C visibleListRowCount\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d572f01da37a212131aaf60e917d31dc14ab29034141ac0bfe3d2cf8d0948b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060viewState.viewMode === \u0022list\u0022 || hasExternalObjectStatusFilters\u0060 appears character-identically in 2 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d9a9cecd4366bb2e733eefacc174cbdc2b1a30db180017174b2237d0720e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibleIssueColumnSet.has(\u0022id\u0022) \u0026\u0026 availableIssueColumnSet.has(\u0022id\u0022)\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"721e59b2dfcc9b9382c5a8ca42fe1825179a3a284ae93c80e2c20983c9a4da0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibleIssueColumnSet.has(\u0022status\u0022) \u0026\u0026 availableIssueColumnSet.has(\u0022status\u0022)\u0060 appears character-identically in 4 files \u2014 ui/src/components/IssuesList.tsx, ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/IssuesList.tsx"},"region":{"startLine":2418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e38f895c2c5c2b3692e558a2f6ca019539740c7b6ec925413d02933565222a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibleIssueColumnSet.has(\u0022updated\u0022) \u0026\u0026 availableIssueColumnSet.has(\u0022updated\u0022)\u0060 appears character-identically in 2 files \u2014 ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/pages/Inbox.tsx"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d498f1066c4e90d2c9684ca4830b8f109f37ff34b226e811a6b636c17de6c438"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibleIssueColumnSet.has(column) \u0026\u0026 availableIssueColumnSet.has(column)\u0060 appears character-identically in 3 files \u2014 ui/src/components/LegacyIssuesList.tsx, ui/src/pages/Inbox.tsx, ui/src/pages/LegacyInbox.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":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc2bf95a1c6f1128c1c2a74e96a2b384158dfaccd6d09a301da5649140c0bd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060warning.includes(\u0027not included\u0027) || warning.includes(\u0027couldn\u2019t be included\u0027)\u0060 appears character-identically in 3 files \u2014 server/src/services/github-skill-source.ts, server/src/services/skill-sources.ts, ui/src/pages/skills/SkillImportWarnings.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":"server/src/services/github-skill-source.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdd8eab1c3fd0cf108becc2eb902d74a167e9e968f455f2e3ea3580d69f7fba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspace \u0026\u0026 typeof workspace === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 packages/adapters/hermes/src/server/execute.ts, packages/mcp-server/src/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":"packages/adapters/hermes/src/server/execute.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff23dc4e37ff0f70b1d32799561fd8b275c8ecadcf5251107b31a71c65b6c01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspaceCommand?.kind === \u0022job\u0022 \u0026\u0026 action !== \u0022run\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb21ca16a46694cf19a330a2caee221d2968ae1368d55c23188ff26f76a9ba2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspaceCommand?.kind === \u0022service\u0022 \u0026\u0026 !target.runtimeServiceId\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4995dec002e592d7c7acc2f7c91febe3f80a875544b6f04394565a0f7225cbb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspaceCommand?.kind === \u0022service\u0022 \u0026\u0026 action === \u0022run\u0022\u0060 appears character-identically in 2 files \u2014 server/src/routes/execution-workspaces.ts, server/src/routes/projects.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14e44e7a5a035fc79b093d88411f2127522092e1a3ce4e62f28741e2098d4bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspaceRaw === \u0022execution\u0022 || workspaceRaw === \u0022project\u0022\u0060 appears character-identically in 2 files \u2014 ui/src/context/FileViewerContext.tsx, ui/src/lib/remark-workspace-file-refs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/FileViewerContext.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8cc72b1f214c72f1f6e0c5832ad3df3aff5cc26dddf92645c2c25dac94b38f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspaceSource === \u0022agent_home\u0022 \u0026\u0026 configuredCwd.length \u003E 0\u0060 appears character-identically in 9 files \u2014 packages/adapter-utils/src/acpx-engine/execute.ts, packages/adapters/claude-local/src/server/execute.ts, packages/adapters/codex-local/src/server/execute.ts, packages/adapters/cursor-local/src/server/execute.ts. It is one line, so the duplication detector\u0027s token 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c31302bdf293cf91b7a3cf28cff0f04cd0b16f70cccf2e80d57d33f9129ce92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022assignmentId\u0022 in receipt and receipt[\u0022assignmentId\u0022] != value[\u0022assignmentId\u0022]\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed31f3311376dfa2978cac00677eb65f5fd8d265ff90255ff650f0f4b5f94954"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022generation\u0022 in self.config and \u0022delegationScope\u0022 in self.config\u0060 appears character-identically in 6 files \u2014 server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py, server/src/services/scripts/v6/client.py, server/src/services/scripts/v7/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"709ed67e2c97a116f74dacefc882128351be75fa19de736031a1fb968e062597"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022generation\u0022 in self.config and self.config[\u0022generation\u0022] != value[\u0022generation\u0022]\u0060 appears character-identically in 8 files \u2014 server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d8b9c18550e812e03f563aa1afac8ad69672f6a926c322bc805e6815d1f0c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022receipt\u0022 in journal and not isinstance(journal[\u0022receipt\u0022], dict)\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6a0fce2c3f699361fc8496b32846d7368ea71c0af426bc35f8a4e694aac6fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022requestId\u0022 in receipt and receipt[\u0022requestId\u0022] != command[\u0022requestId\u0022]\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad218744f0f66fd200c0c9fc0d4798a982b96b484ecc1835b5100602a394fd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.detector_removed or args.detector_removal_requested\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"900407e3e91fd177dd78cd9db6b32347a7ffe77dadf6fb12c963a44ad476f5f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b\u0027\u0022assignmentId\u0022\u0027 in content and b\u0027\u0022inputs\u0022\u0027 in content\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6eb7ad0bc1402bab9c6d2f3582b46a0e9c824b9c98a434fff96c6ba163b587"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060continuation[\u0022assignmentId\u0022] != assignment or value.get(\u0022assignmentId\u0022) != assignment or value.get(\u0022bindingId\u0022) != self.binding or value.get\u2026\u0060 appears character-identically in 6 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"11094bbe4b8763237a326863de139e0519ed4602a060f87dd666e287b648f427"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current[\u0022consumed\u0022] and not self.prepared_consume(value, stored=True)\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e700651be460d493c3600dded2b8fef17850020ef31c9092702bd2f74bc728b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060encoded is not None and len(encoded) \u003E 262144\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e816abfc35195013396239b54152b6cd7daad31d11a7f84ca5ca359cc3cf32d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field in answer and (not input_text(answer[field], 0, 100000))\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8affdfcb494bdd147efcfddbdcb159f253e9d1809303ec6982f44aefe6b57ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(old, dict) and isinstance(old.get(\u0022inputs\u0022), dict)\u0060 appears character-identically in 2 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"854b6fa4d27a8dab8b32c72b7ee48ae9b54444a4009cacbfac62199c6bde3d19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and str(uuid.UUID(value)) == value\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb496ab399acaf2cc62b282272dd5076eb92a92fe7bb92a766a38c74d39f7337"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060journal[\u0022request\u0022][\u0022bindingId\u0022] != self.binding or journal[\u0022request\u0022][\u0022generation\u0022] != self.config[\u0022generation\u0022]\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"034fb7a3f5ff7b0a4342d7e1dd6434c31e83b928c9e34391e7f1aae761fe9500"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == \u0022inputs\u0022 and isinstance(value, dict)\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e30f3596cbf165ddb871500fddd5c06c2671c5c4016ec1f7071bc99af07aada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not credential_name or not credential_name.startswith(\u0022custom.paperclip-muse-\u0022)\u0060 appears character-identically in 8 files \u2014 server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d68253018112b51d8ada6ec1d15dcf2050b4afb28607ea9069abd9a7a5f62b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(answers, dict) or len(answers) \u003E 64\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"af25e0b194a86758d670fcdcbb7fb5619476e8907c68d678c9456bf3dbe07720"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, dict) or set(value) != fields\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c193a8723d317b654c32b08a5adfa1c489e7cc7e3fd3fb2d732ba031f1cdb21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not minimum \u003C= len(value) \u003C= maximum\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bc056327c61ee5f67167c542e168112ae4ad98a9309faf77b9f86b6c0e3409"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value[field], str) or not value[field].strip() or len(value[field]) \u003E 500\u0060 appears character-identically in 6 files \u2014 server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py, server/src/services/scripts/v6/client.py, server/src/services/scripts/v7/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v4/client.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"943c263397108b833ce41c825e214f40878ac6c68ede377f589aa8702191117e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.scheme != \u0022https\u0022 or not parsed.hostname or parsed.username or parsed.password or parsed.query or parsed.fragment\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b583dc1c0955dc149a4468accb417c2972e5185047e9cede4110dc33bc25a1c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.scheme != \u0022https\u0022 or not parsed.hostname or parsed.username or parsed.password or parsed.query or parsed.fragment or parsed.path not \u2026\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"511f8bcef7969f171f030daa6410754b5ac6beffa616605c969da90c9ae00459"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous[\u0022consumed\u0022] and not value[\u0022consumed\u0022]\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ffad3f1eb79771b1b2c49cdd23b1d1d0ef2cffe4c5e64395e58e5d81b9ceb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous[\u0022inputDigest\u0022] != value[\u0022inputDigest\u0022] or previous[\u0022turnId\u0022] != value[\u0022turnId\u0022]\u0060 appears character-identically in 6 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f60e6af265b7f375e35416c1e0f4ddac90a16385ac8aeb206d83f7918caa305"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proposed != expected or journal[\u0022digest\u0022] != hashlib.sha256(canonical(proposed)).hexdigest()\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9de9bde550c243d7aa34becc20578eceb3a7eaef612711dc3653b119d2f61f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status != 200 or response.headers.get_content_type() != \u0022application/json\u0022\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dddb11d865aa368ade89cdf2bcd7890ba93cc37be66c72012e3afb348b64075"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.get(\u0022bindingId\u0022) != self.binding or result.get(\u0022generation\u0022) != self.config[\u0022generation\u0022] or not isinstance(result.get(\u0022items\u0022), list\u2026\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16276ab9e58c0fed98a70b8f10dbe54d7080b3041418d3d2b41a64b8da17677"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state[\u0022bindingId\u0022] != self.binding or state[\u0022generation\u0022] != self.config[\u0022generation\u0022]\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c710de7b634670940d70f319fc7bf145f051bfa1bb94276c3d01f86dfe036f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stored and not input_uuid(value[\u0022continuationReceiptId\u0022])\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5978eadca492f5865a40344cddd605d9ebb4f6e60494814fa0d009fdc1a8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(generation) is not int or generation \u003C 1\u0060 appears character-identically in 9 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d18cd88287d95481fa66ac2248f41458e591d16abc73eab17a7d06f2bf9321"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(value[\u0022generation\u0022]) is not int or value[\u0022generation\u0022] \u003C 1\u0060 appears character-identically in 8 files \u2014 server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0488d03856c954342ff36766d5747e67ae151159e7e72a8b2086bd7df07430"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.get(\u0022assignmentId\u0022) != assignment or value.get(\u0022bindingId\u0022) != self.binding or value.get(\u0022generation\u0022) != self.config[\u0022generation\u0022] or\u2026\u0060 appears character-identically in 6 files \u2014 server/src/services/scripts/v1/client.py, server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v1/client.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d52cabdc7c899b43c7e03f2247d60c4543e02ff7ae6f63c045a89eeb663c3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.get(\u0022bindingId\u0022) != self.binding or type(value.get(\u0022generation\u0022)) is not int or value[\u0022generation\u0022] \u003C 1\u0060 appears character-identically in 8 files \u2014 server/src/services/scripts/v2/client.py, server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v2/client.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ecd20745605c7be3d06380ad5e532dc21a42b923f469e5392d07bdecc4dedb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.get(\u0022resource\u0022) != base \u002B \u0022/api/muse/v1\u0022 or value.get(\u0022issuer\u0022) != base \u002B \u0022/api/muse/v1/oauth\u0022\u0060 appears character-identically in 7 files \u2014 server/src/services/scripts/v3/client.py, server/src/services/scripts/v4/client.py, server/src/services/scripts/v5/client.py, server/src/services/scripts/v6/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v3/client.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"894fbf57fe7607d3767c6a9f2ca643f2683300d37c4419e7c8edc8b41c26d7fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value[\u0022consumed\u0022] and not current[\u0022consumed\u0022]\u0060 appears character-identically in 3 files \u2014 server/src/services/scripts/v7/client.py, server/src/services/scripts/v8/client.py, server/src/services/scripts/v9/client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc55295c4d125068c64aadbb79fbfd69147630ac8175d199b9c84335dbb4c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!invocation_id.is_empty() \u0026\u0026 invocation_id.len() \u003C= 512 \u0026\u0026 !invocation_id.chars().any(char::is_control)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs, packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/aws_agentcore_provider.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f902043d72f353f0ab11a9c452a7c87434a8fa8fde41ba8ad507bf356dd4831d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character.is_ascii_alphanumeric() || \u0022._:-\u0022.contains(character)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/runner/crates/runner-core/src/governance_events.rs, packages/paperclip-runner/runner/crates/runner-core/src/provider_events.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/governance_events.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"31088d964115eab06f8f7bfb53e5967a3133c70abede4fad9d46e672b679dd51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.command != profile.command.path || config.args.as_slice() != [proxy_script.as_ref()]\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs, packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"95662fde95e168e201a5b5dc3999978f06681cd9960125cb1e47f2e62156161e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060criterion.is_empty() || criterion.len() \u003E 240 || criterion.chars().any(char::is_control)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs, packages/paperclip-runner/runner/crates/runner-core/src/provider_backend.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46e92bdf4db5b620999d52c407120c62cc744ec3493c96270f9bfa919a5f952"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.catalog_revision == 0 || self.catalog_revision \u003E MAX_JSON_SAFE_INTEGER\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs, packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_session.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/acpx_provider_checkpoint.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9637d76fcc53658014da0a970735a203abd42b89c88980854fd218d861a4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.is_empty() || value.len() \u003E 512 || value.chars().any(char::is_control)\u0060 appears character-identically in 2 files \u2014 packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs, packages/paperclip-runner/runner/crates/runner-core/src/managed_provider_backend.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/durable/mod.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2091226ef69de58c8d7e4d871c0849db7fda0954f7604f7564cb571ed84185"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060formatHydratedSnippetConfig\u0060 is exported, takes a document from its caller (line 246) and hands it to \u0060replaceSnippetConfigValue\u0060, which calls itself at line 236 (\u0060replaceSnippetConfigValue\u0060) with a piece of \u0060value\u0060 (and at line 240) \u2014 and nowhere in \u0060replaceSnippetConfigValue\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 \u0060replaceSnippetConfigValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/gateways/gateway-helpers.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70107f40a3d6d30db93bd9f3e9008b1e3454d66ec356c8894ece5c6a3e40c16"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060countSuggestedTaskNodes\u0060 is exported and takes \u0060node: SuggestedTaskTreeNode\u0060 from its caller, and it calls itself at line 365 (\u0060countSuggestedTaskNodes\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060countSuggestedTaskNodes\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 \u0060countSuggestedTaskNodes\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c9d8ef064e9e93316e10f453b35742306816b596fcd43fa7f411f4d9b31af0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collectSuggestedTaskClientKeys\u0060 is exported and takes \u0060node: SuggestedTaskTreeNode\u0060 from its caller, and it calls itself at line 371 (\u0060collectSuggestedTaskClientKeys\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060collectSuggestedTaskClientKeys\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 \u0060collectSuggestedTaskClientKeys\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-thread-interactions.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7592cd41e79f8e8481071448706fe9e6f695d7c1dcd38b2063ed4ef33a4ec0a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validateLocaleMessages\u0060 is exported, takes a document from its caller (line 110) and hands it to \u0060validateNode\u0060, which calls itself at line 105 (\u0060validateNode\u0060) with a piece of \u0060candidate\u0060 \u2014 and nowhere in \u0060validateNode\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 \u0060validateNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/i18n/locale-validation.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4905fde690fc0967c5230563128b3d79e4effbc8ea204cadcbcc97feba48f07d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060mapIssuesInQueryData\u0060 is exported and takes \u0060data: unknown\u0060 from its caller, and it calls itself at line 56 (\u0060mapIssuesInQueryData\u0060) with a piece of \u0060data\u0060 (and at line 68) \u2014 and nowhere in \u0060mapIssuesInQueryData\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 \u0060mapIssuesInQueryData\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useUpdateIssueMutation.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf27f93ce368da27953a1c33d64d655200931c84f1b834d07aef58346e82c52"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060overlayValuesEqual\u0060 is exported and takes \u0060a: unknown\u0060 from its caller, and it calls itself at line 216 (\u0060overlayValuesEqual\u0060) with a piece of \u0060a\u0060 (and at line 226) \u2014 and nowhere in \u0060overlayValuesEqual\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 \u0060overlayValuesEqual\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fcd6f34f263a3aba3c8fe9db7ca3f90b4e0a4e547766807b77f858dbc291af"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060buildFileTree\u0060 is exported, takes a document from its caller (line 65) and hands it to \u0060sortNode\u0060, which calls itself at line 100 (\u0060sortNode\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060sortNode\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 \u0060sortNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/FileTree.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7be14de59548562d6747ae7944b210c5a9a6601e3ec1584f36e179749701b03"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getDefaultForSchema\u0060 is exported and takes \u0060schema: JsonSchemaNode\u0060 from its caller, and it calls itself at line 180 (\u0060getDefaultForSchema\u0060) with a piece of \u0060schema\u0060 \u2014 and nowhere in \u0060getDefaultForSchema\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 \u0060getDefaultForSchema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22811ab439672c4f8afce1badc3506077159c4528e4be4b40e3045ebebc667"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validateJsonSchemaForm\u0060 is exported and takes \u0060schema: JsonSchemaNode\u0060 from its caller, and it calls itself at line 309 (\u0060validateJsonSchemaForm\u0060) with a piece of \u0060schema\u0060 (and at line 325) \u2014 and nowhere in \u0060validateJsonSchemaForm\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 \u0060validateJsonSchemaForm\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8466f76f4a7dbe59ed4839896992a0486b120dc05e721fadad22838677cd1c6b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isDatabaseConnectionUnavailableError\u0060 is exported and takes \u0060err: unknown\u0060 from its caller, and it calls itself at line 284 (\u0060isDatabaseConnectionUnavailableError\u0060) with a piece of \u0060err\u0060 \u2014 and nowhere in \u0060isDatabaseConnectionUnavailableError\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 \u0060isDatabaseConnectionUnavailableError\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/app.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fe83354c0aa67a3e847bcf94c1453cc74119e41514b7bdcc1749f1e2d913d0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060sanitizeRecord\u0060 is exported, takes a document from its caller (line 906) and hands it to \u0060sanitizeValue\u0060, which calls itself at line 770 (\u0060sanitizeValue\u0060) with a piece of \u0060value\u0060 (and at line 806) \u2014 and nowhere in \u0060sanitizeValue\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 \u0060sanitizeValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/redaction.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f9f405132c5776c4e4b0157b5613a2eb5f273bc37b51e4d9623e114015f8c9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060sanitizeBrowserUse\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 59 (\u0060sanitizeBrowserUse\u0060) with a piece of \u0060value\u0060 (and at line 69) \u2014 and nowhere in \u0060sanitizeBrowserUse\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 \u0060sanitizeBrowserUse\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/browser-use-client.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f910f308d7876c8d2af9f9ea1069983592cf8460caa880976195fc27c1a78c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060cloudConfigurationDigest\u0060 is exported, takes a document from its caller (line 14) and hands it to \u0060canonical\u0060, which calls itself at line 7 (\u0060canonical\u0060) with a piece of \u0060value\u0060 (and at line 9) \u2014 and nowhere in \u0060canonical\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 \u0060canonical\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/cloud-configuration-evidence.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c3bc14874c024f2288560a6cdecb2a4966fc0a54f9a11bbbfbba076480c233"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060signDecisionSpec\u0060 is exported, takes a document from its caller (line 157) and hands it to \u0060canonical\u0060, which calls itself at line 149 (\u0060canonical\u0060) with a piece of \u0060value\u0060 (and at line 152) \u2014 and nowhere in \u0060canonical\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 \u0060canonical\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-signing.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde8472743fd66e6079ca5f26a053d36c0df525b47938f5ad6c0cd971b0e3915"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060sanitizeFeedbackValue\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 175 (\u0060sanitizeFeedbackValue\u0060) with a piece of \u0060value\u0060 (and at line 189) \u2014 and nowhere in \u0060sanitizeFeedbackValue\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 \u0060sanitizeFeedbackValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback-redaction.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e65b7794b7d350e3d207c5e312b511c3179c6f44ef59284b1ba3073812c8d3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060stableStringify\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 210 (\u0060stableStringify\u0060) with a piece of \u0060value\u0060 (and at line 215) \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":"server/src/services/feedback-redaction.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4797cbf36346a9090a53b4ae16367a0780c776730d195f813b5d9c748a0c5f27"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060googleChatToolInputSchema\u0060 is exported, takes a document from its caller (line 77) and hands it to \u0060withoutUnreadFields\u0060, which calls itself at line 60 (\u0060withoutUnreadFields\u0060) with a piece of \u0060value\u0060 (and at line 68, line 73) \u2014 and nowhere in \u0060withoutUnreadFields\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 \u0060withoutUnreadFields\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/google-chat-tool-policy.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c06f3c77a0722389d244ab5cfbefe210f298d91e83d62b2dec6e28968a861"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collectSecretRefPaths\u0060 is exported, takes a document from its caller (line 33) and hands it to \u0060walk\u0060, which calls itself at line 45 (\u0060walk\u0060) with a piece of \u0060node\u0060 (and at line 57) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/json-schema-secret-refs.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"54becac5685d3a07be35c0f03d7f309ccd09b1616ea4527bef9758ddd0e02066"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060stableJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 10 (\u0060stableJson\u0060) with a piece of \u0060value\u0060 (and at line 14) \u2014 and nowhere in \u0060stableJson\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 \u0060stableJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-resource-drift.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc9c745df29fa588df433eaf4bf8685b9912e462f88e032628ea7c5c6d860e4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validateInstanceConfig\u0060 is exported, takes a document from its caller (line 71) and hands it to \u0060secretRefsAsIds\u0060, which calls itself at line 41 (\u0060secretRefsAsIds\u0060) with a piece of \u0060value\u0060 (and at line 48, line 57) \u2014 and nowhere in \u0060secretRefsAsIds\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 \u0060secretRefsAsIds\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-config-validator.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ccefa8b63bd287a2fae33de9b12f14d9cbbfa0c9564c2f91fed88b86897d59"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extractSecretRefBindingsFromConfig\u0060 is exported, takes a document from its caller (line 81) and hands it to \u0060walk\u0060, which calls itself at line 114 (\u0060walk\u0060) with a piece of \u0060value\u0060 (and at line 119) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-secrets-handler.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0cfa66c3235f031cfa285c2e0c3f246a4124cbdbb5ec0798513f8870f39cb0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060assertProfileMetadataContainsNoSecrets\u0060 is exported, takes a document from its caller (line 55) and hands it to \u0060containsSecretShapedValue\u0060, which calls itself at line 35 (\u0060containsSecretShapedValue\u0060) with a piece of \u0060value\u0060 (and at line 37) \u2014 and nowhere in \u0060containsSecretShapedValue\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 \u0060containsSecretShapedValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-profile-qualification.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2d7e6e135b2c62ba36a14c5578d892e931d8aba6934a76acae31aea1459cdd"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060assertProfileMetadataContainsNoSecrets\u0060 is exported, takes a document from its caller (line 55) and hands it to \u0060normalizeKnownPublicValues\u0060, which calls itself at line 47 (\u0060normalizeKnownPublicValues\u0060) with a piece of \u0060value\u0060 (and at line 51) \u2014 and nowhere in \u0060normalizeKnownPublicValues\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 \u0060normalizeKnownPublicValues\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-profile-qualification.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd0ec9bf4011c9afd87cd082ed058400de2ea78629196659cf6ebe8a7b4f371"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060computeQualifiedProfileRevision\u0060 is exported, takes a document from its caller (line 158) and hands it to \u0060canonicalize\u0060, which calls itself at line 146 (\u0060canonicalize\u0060) with a piece of \u0060value\u0060 (and at line 152) \u2014 and nowhere in \u0060canonicalize\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 \u0060canonicalize\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/provider-profile-qualification.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798a74a4bb07394c1280acbca62a58eae94cc41cd96fcda0453d59b855f0fc9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060receiptFingerprint\u0060 is exported, takes a document from its caller (line 10) and hands it to \u0060canonical\u0060, which calls itself at line 5 (\u0060canonical\u0060) with a piece of \u0060value\u0060 (and at line 6) \u2014 and nowhere in \u0060canonical\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 \u0060canonical\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/receipt-fingerprint.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b3e5c74cff226dcf2d903c13014c4cc5d90dff15405824540c433a91daeadc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060stableHash\u0060 is exported, takes a document from its caller (line 4) and hands it to \u0060flattenKeys\u0060, which calls itself at line 19 (\u0060flattenKeys\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060flattenKeys\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 \u0060flattenKeys\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-catalog-hash.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e17236ab13238f1981224ebd63316f42a43aa1e9c0b016c667f0444604c882"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalToolArguments\u0060 is exported, takes a document from its caller (line 84) and hands it to \u0060stableSerialize\u0060, which calls itself at line 36 (\u0060stableSerialize\u0060) with a piece of \u0060value\u0060 (and at line 39) \u2014 and nowhere in \u0060stableSerialize\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 \u0060stableSerialize\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-content-guards.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1e8af7838a6d0d7c0e7883ece4b78dacb185362c845b50ba94019aa6ac8e12"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060projectConnectionMethodToolArguments\u0060 is exported, takes a document from its caller (line 259) and hands it to \u0060mergeManagedToolArguments\u0060, which calls itself at line 250 (\u0060mergeManagedToolArguments\u0060) with a piece of \u0060supplied\u0060 \u2014 and nowhere in \u0060mergeManagedToolArguments\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 \u0060mergeManagedToolArguments\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connection-methods.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fb27bcf9af3f6c4557302244a02506055484d86ff047d76cec2da54aee86bf"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060projectConnectionMethodToolInputSchema\u0060 is exported, takes a document from its caller (line 307) and hands it to \u0060stripManagedToolArgumentSchema\u0060, which calls itself at line 285 (\u0060stripManagedToolArgumentSchema\u0060) with a piece of \u0060schema\u0060 \u2014 and nowhere in \u0060stripManagedToolArgumentSchema\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 \u0060stripManagedToolArgumentSchema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/connection-methods.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b53c265f26f09b9e48d410ae61e565b490b2bf99cc9ed2bb014653280bf69b6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalNativeJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 4 (\u0060canonicalNativeJson\u0060) with a piece of \u0060value\u0060 (and at line 10) \u2014 and nowhere in \u0060canonicalNativeJson\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 \u0060canonicalNativeJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/canonical.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba365951a1600141089c2188673c10213bb3f45fb0489bb0fc589980eb4419f4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060describeWarmCloseFailure\u0060 is exported, takes a document from its caller (line 752) and hands it to \u0060describe\u0060, which calls itself at line 754 (\u0060describe\u0060) with a piece of \u0060value\u0060 (and at line 759) \u2014 and nowhere in \u0060describe\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 \u0060describe\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e08132db780204f82f1c309c9c1c045ebf7ffd12307431898aa03bee5f7369c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalProviderPackJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 7 (\u0060canonicalProviderPackJson\u0060) with a piece of \u0060value\u0060 (and at line 9) \u2014 and nowhere in \u0060canonicalProviderPackJson\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 \u0060canonicalProviderPackJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack-verification.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"994741dbcd7e5df1f2894c26ef5edab0c790e4dcf29d2db9daff83dc12096c47"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060buildRunnerApiCatalog\u0060 is exported, takes a document from its caller (line 76) and hands it to \u0060dereference\u0060, which calls itself at line 78 (\u0060dereference\u0060) with a piece of \u0060value\u0060 (and at line 84, line 86) \u2014 and nowhere in \u0060dereference\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 \u0060dereference\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-api-catalog.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa78a4b04b8aa3d032c94f0fe113da1ebea5ad5e38adcd5d95521c5f5d527fc"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060vercelClient\u0060 is exported, takes a document from its caller (line 23) and hands it to \u0060sanitize\u0060, which calls itself at line 52 (\u0060sanitize\u0060) with a piece of \u0060value\u0060 (and at line 53) \u2014 and nowhere in \u0060sanitize\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 \u0060sanitize\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4c62b6b7d430e15f6a9107dd454f632bd620d20ba5b8e3731a749c0c6edc91"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060supabaseClient\u0060 is exported, takes a document from its caller (line 84) and hands it to \u0060sanitize\u0060, which calls itself at line 112 (\u0060sanitize\u0060) with a piece of \u0060value\u0060 (and at line 113) \u2014 and nowhere in \u0060sanitize\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 \u0060sanitize\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae76972d5d7ba280564993ce1408b60a59f8d7be6afd1173555bfad99b905f4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060restoreAgentConfigurationRedactions\u0060 is exported and takes \u0060requested: unknown\u0060 from its caller, and it calls itself at line 20 (\u0060restoreAgentConfigurationRedactions\u0060) with a piece of \u0060requested\u0060 (and at line 27) \u2014 and nowhere in \u0060restoreAgentConfigurationRedactions\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 \u0060restoreAgentConfigurationRedactions\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-configuration-revision.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"378b489884bcc98d559a75d309ae2495265035e43e92c88da5ee8e6d7a75473c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060containsRedactedMarker\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 160 (\u0060containsRedactedMarker\u0060) with a piece of \u0060value\u0060 (and at line 162) \u2014 and nowhere in \u0060containsRedactedMarker\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 \u0060containsRedactedMarker\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-records.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3115ea5c5e1d14be9b472100d944aea026e16c6f72b24199acdc993a8021f21a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060findPaperclipConfigKeyWarnings\u0060 is exported, takes a document from its caller (line 344) and hands it to \u0060collectConfigKeyWarnings\u0060, which calls itself at line 338 (\u0060collectConfigKeyWarnings\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060collectConfigKeyWarnings\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 \u0060collectConfigKeyWarnings\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/config-schema.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22c75b5dad9473a405ebfa92e7fa001f1336ded85c16a1fd57faec8e634c4e9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 123 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 128) \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/shared/src/customer-success.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"654d4bb65e8d9aa8c68e606bd44e0a206cf5edaa67ee5d05ae05d1e5ce8303ec"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalJson\u0060 is exported, takes a document from its caller (line 9) and hands it to \u0060sortJson\u0060, which calls itself at line 18 (\u0060sortJson\u0060) with a piece of \u0060value\u0060 (and at line 23) \u2014 and nowhere in \u0060sortJson\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 \u0060sortJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/shared/src/portability-hash.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0770a1a61f42b9de838cf65a7b76c5a9b795ddd8c3773757165369b2c5f1e48"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validateJsonSchema\u0060 is exported and takes \u0060schema: CapabilityJsonSchema\u0060 from its caller, and it calls itself at line 1619 (\u0060validateJsonSchema\u0060) with a piece of \u0060schema\u0060 (and at line 1634, line 1643, line 1646) \u2014 and nowhere in \u0060validateJsonSchema\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 \u0060validateJsonSchema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"803b0b5fb066efc082337e00b695a429909df0d4a836c2651ff03db768170205"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060digestPaperclipSemanticContent\u0060 is exported, takes a document from its caller (line 90) and hands it to \u0060canonicalJson\u0060, which calls itself at line 190 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 195) \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/paperclip-runner/src/semantic-tools/receipts.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5035285c0182e609d88dde1e67762e7407f5440fd2b63c707f1d61e1d84645c3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060resolvePlanRefs\u0060 is exported and takes \u0060value: CapabilityJsonValue\u0060 from its caller, and it calls itself at line 369 (\u0060resolvePlanRefs\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060resolvePlanRefs\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 \u0060resolvePlanRefs\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/scenarios/scenario-execution.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4aabd2047e121dbc20655b921b5c494e00e727ae0ba5e869ccc1a973e68ae3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redactValue\u0060 is exported, takes a document from its caller (line 395) and hands it to \u0060applyRedactionPath\u0060, which calls itself at line 422 (\u0060applyRedactionPath\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060applyRedactionPath\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 \u0060applyRedactionPath\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/scenarios/scenario-execution.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec302dc93be4b0171e2970b1ea56df5aa137543b09f1fda52e1a382a739210c0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060digestPrpSemanticContent\u0060 is exported, takes a document from its caller (line 218) and hands it to \u0060canonicalJson\u0060, which calls itself at line 244 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 249) \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/paperclip-runner/src/protocol/semantic-tool-receipts.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe5cba66eaa1902121823ad5415efd130746360b5660e4f09455c0de2bc9d99"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parsePaperclipNativeExecution\u0060 is exported, takes a document from its caller (line 203) and hands it to \u0060canonicalJson\u0060, which calls itself at line 177 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 182) \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/paperclip-runner/src/evals/native-execution.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6e767d4667f19dfdfcf06874ad62d193b50b57a21c03f6400fd8ae8091e1f8"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060assertEvalArtifactSecretFree\u0060 is exported, takes a document from its caller (line 206) and hands it to \u0060visit\u0060, which calls itself at line 223 (\u0060visit\u0060) with a piece of \u0060entry\u0060 (and at line 235) \u2014 and nowhere in \u0060visit\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 \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/eval/eval-bundle.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00c99bdc0aef84ace582debfa4295e47be76db5eb328331113919a81f92e573"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060semanticCanonicalJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 27 (\u0060semanticCanonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 28) \u2014 and nowhere in \u0060semanticCanonicalJson\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 \u0060semanticCanonicalJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/semantic-tool-receipt.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac7b81118b7f05846cdd99e94471949caa29582bf9f7bda2cb3fdeeea4cf4f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 190 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 198) \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/paperclip-runner/src/drivers/codex/codex-driver-values.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81fbb89537d583244f2201d2961090655378dfe8bd8de635d534a2ea1b5aa1c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060stringifyAcpxSidecarFrame\u0060 is exported, takes a document from its caller (line 191) and hands it to \u0060safeSidecarJsonValue\u0060, which calls itself at line 199 (\u0060safeSidecarJsonValue\u0060) with a piece of \u0060value\u0060 (and at line 212) \u2014 and nowhere in \u0060safeSidecarJsonValue\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 \u0060safeSidecarJsonValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e082f9b533d0211a471f3818edae946bc6bcfffb7dd3a809babfc2070bb13c"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060projectCapabilityDevtools\u0060 is exported, takes a document from its caller (line 136) and hands it to \u0060safe\u0060, which calls itself at line 53 (\u0060safe\u0060) with a piece of \u0060value\u0060 (and at line 58) \u2014 and nowhere in \u0060safe\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 \u0060safe\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/devtools/index.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09e0b15743bc7b341e8126a27f8201d94efdd2ce56828520259bed928a48f1e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060installPreparedQueries\u0060 is exported, takes a document from its caller (line 3) and hands it to \u0060visit\u0060, which calls itself at line 39 (\u0060visit\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060visit\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 \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/prepared-queries.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c80daf93fcba8cb206bf09f4263f1f292765190f6d6cc62e1fd4f806a78fa5"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060installDatabaseResponseCapture\u0060 is exported, takes a document from its caller (line 238) and hands it to \u0060query\u0060, which calls itself at line 260 (\u0060query\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060query\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 \u0060query\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/response-capture.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d25b49e9fba3aabfea790d7bbb3af5bbdfbecf9a40581b2ea830ba35d1567f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060installDatabaseResponseCapture\u0060 is exported, takes a document from its caller (line 238) and hands it to \u0060client\u0060, which calls itself at line 326 (\u0060client\u0060) with a piece of \u0060value\u0060 (and at line 334) \u2014 and nowhere in \u0060client\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 \u0060client\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/response-capture.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"15090c30fbe6e5fa8162bab84550609ba81c276813edb0c18bca5d113d2780db"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060installDatabaseResponseCapture\u0060 is exported, takes a document from its caller (line 238) and hands it to \u0060root\u0060, which calls itself at line 347 (\u0060root\u0060) with a piece of \u0060value\u0060 (and at line 362) \u2014 and nowhere in \u0060root\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 \u0060root\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/response-capture.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95e4b9bd40de21b0581de830facf0d5c736d3bd8e8d8052de8061b2943418d3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060encodeRunEventPayload\u0060 is exported, takes a document from its caller (line 7) and hands it to \u0060project\u0060, which calls itself at line 22 (\u0060project\u0060) with a piece of \u0060value\u0060 (and at line 25) \u2014 and nowhere in \u0060project\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 \u0060project\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/run-event-payload.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae90d8376154c261f0fe1c57b96650c0046fc805f8b15b1f5b6a992a4acd311"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060disposeGitWorkspaceSnapshot\u0060 is exported and takes \u0060snapshot: GitWorkspaceSnapshot | null\u0060 from its caller, and it calls itself at line 169 (\u0060disposeGitWorkspaceSnapshot\u0060) with a piece of \u0060snapshot\u0060 \u2014 and nowhere in \u0060disposeGitWorkspaceSnapshot\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 \u0060disposeGitWorkspaceSnapshot\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/git-workspace-sync.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d80bdfb64d9b6a03ec63a4a4563f03d17964d36543c329d6d73fbd0411223"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060workspaceSeedGeneration\u0060 is exported, takes a document from its caller (line 11) and hands it to \u0060identity\u0060, which calls itself at line 14 (\u0060identity\u0060) with a piece of \u0060snapshot\u0060 \u2014 and nowhere in \u0060identity\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 \u0060identity\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1511d5d50518e9dc9517b1a4757c3fb654d70a9564e61ac53be470f298f54903"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060workspaceSeedCloneSnapshot\u0060 is exported and takes \u0060snapshot: GitWorkspaceSnapshot\u0060 from its caller, and it calls itself at line 21 (\u0060workspaceSeedCloneSnapshot\u0060) with a piece of \u0060snapshot\u0060 \u2014 and nowhere in \u0060workspaceSeedCloneSnapshot\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 \u0060workspaceSeedCloneSnapshot\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/workspace-seed-cache.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ac632e3ab0b2f9530bdd6c84efc473fb632bfe1c1c0712c783fc0436cc2f58"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 234/304 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: composerImageFiles: \u0060composerImageFiles\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":"ui/storybook/support/composerImageFiles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26b3332f3c38591038499039d8722412609c978ed9bef54a7ee0a203478f70c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: queryFn: \u0060queryFn\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":"ui/storybook/prototypes/AiTaskConnectionReview.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc2c35e6de5f26ada2ce8ae6d549647174d05bf24afe6757678fbff2e3955f4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: importPluginModule: \u0060importPluginModule\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":"ui/src/plugins/slots.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d10288b63c436d0a17d503930fb7791fceb30de528da9568f0685b532f1a4e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadManifest: \u0060loadManifest\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":"ui/src/lib/app-brand-assets.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5719160dcc6e5c498b6f2d667624d3efb6306f825e97a490e891067316290f27"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: prepareOAuthNavigation: \u0060prepareOAuthNavigation\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/oauthHandoff.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"754976dbbcd7f81812d76af10986a02a4358f1b234126d5f0e62e695b68c9170"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchAttachmentText: \u0060fetchAttachmentText\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":"ui/src/components/IssueAttachmentsSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b55873e76f257017e34d13b2dc270a59018e6692dac062b862f1c28d58640e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: current: \u0060current\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/announcements.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac84d2d69cb281bd2f1dbcad11100ce318457974fba1e34f3cb1b4e59e1f8e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: exportAgentActionsCsv: \u0060exportAgentActionsCsv\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":"ui/src/api/audit.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99a20f720703f21ff0b678b943f0dfd2f1c3cabae0ca7b3a1e2cc4db8092dc7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: authPost: \u0060authPost\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":"ui/src/api/auth.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb450ac678b753be4abece329b583f1fa44ea831d17ecd8b3240d0276d3a644e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: authPatch: \u0060authPatch\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":"ui/src/api/auth.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"951e4d447111a8aa349ac34262cb9ad6546d09d20d5efcc1b5cc38154ff31010"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getProfile: \u0060getProfile\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":"ui/src/api/auth.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1723185b3553b5908ffe6a211b63610fb5479e96bb983f6904ca6027a9ee0eb3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestDevServerRestart: \u0060requestDevServerRestart\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":"ui/src/api/health.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7255fe70c9014a4e5bb5291ac2c6fdbf0ee268a3cd41879f2f7ef48608515cb9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadProviderTrace: \u0060downloadProviderTrace\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":"ui/src/api/heartbeats.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9768508500bbcebd0e7d0c3b23b1e101658a6873e910b96566de5162bb2b23cf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadDynamicParser: \u0060loadDynamicParser\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":"ui/src/adapters/dynamic-loader.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"921f9a57cad19d4633bc70146803d3a12b731e3f6c7816946f3197df4ebf3dab"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchConfigSchema: \u0060fetchConfigSchema\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":"ui/src/adapters/schema-config-fields.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7aaf10435f579e95ed0aa58a4425544f5bb7eb291fdc37337cc448bfe875a3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: refreshQuotaCredential: \u0060refreshQuotaCredential\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"406adb3f83b66f9271c824e0d6473d0fc3d8089af4765339d95d45f134259b9f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: realizeForRun: \u0060realizeForRun\u0060 holds an AbortSignal but calls \u0060resolveEnvironmentExecutionTarget(\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: \u0060resolveEnvironmentExecutionTarget(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1510d9e437bb6d281acbcf78004c16fc851db8f5aec9207910310cffee84f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: writeIgnoredFiles: \u0060writeIgnoredFiles\u0060 holds an AbortSignal but calls \u0060fs.writeFile(\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: \u0060fs.writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b6b1eb3e46c30aad4ced16fb013f6194ddd9048bdf752471664cb665078873"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: captureRestorePoint: \u0060captureRestorePoint\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d18006dc75361ec5bb5a471fdbb03b48d9f2704925c4c781bbcab5306d9518"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: importRestorePoint: \u0060importRestorePoint\u0060 holds an AbortSignal but calls \u0060fs.writeFile(\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: \u0060fs.writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-restore-point.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7b78e66c0660e362febb186c4be2ca649878bb2d3d7521fff3d4e4c6a1203e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: assertReproducibleBaseGitStorage: \u0060assertReproducibleBaseGitStorage\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7369e03d2e9a2873ffb4b94aa4823c9103fd2370d473d12ed73c24422317dc56"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: historyKey: \u0060historyKey\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce667d8bcf7264cd3d13be195f13365b3ca031016c866f69cc71bf764218b27"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: rehomeIsolatedRepositoryWorkspace: \u0060rehomeIsolatedRepositoryWorkspace\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c915d087d8739ed3a502f8712eb40d4cf8e290ff4f10dc5cde8d0d9fe665880c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: cloneDisposable: \u0060cloneDisposable\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9ddb5e08135fb3a9ed3db88a34c32f030c4bdf0a7a8e78bbb4e313fd99d74c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: worktreeOfClone: \u0060worktreeOfClone\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"404dc32faa706da017cdeeb25dd186829dca7a20ffc7b2b09a1dd1331494e0bc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: assertNoBranchOnlyReflogHistory: \u0060assertNoBranchOnlyReflogHistory\u0060 holds an AbortSignal but calls \u0060fs.readFile(\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: \u0060fs.readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/nested-clone-migration.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3a090d75aeffcfa1b4581df44dda8eb946d003c58909f9bb6607ad1089ebfe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: persistLegacyControllerEvidence: \u0060persistLegacyControllerEvidence\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-controller-archive.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42a43e8102c6ce6e76eaa1589f62f5142bff3ae05ea07fa30fff62536d69464"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: restoreCurrentNativeHarnessBackup: \u0060restoreCurrentNativeHarnessBackup\u0060 holds an AbortSignal but calls \u0060readFile(\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: \u0060readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-storage.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"290012ec3350b4d881cff3faebfca3b391123405d57069f162b6cf640057e083"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: check: \u0060check\u0060 holds an AbortSignal but calls \u0060project(\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: \u0060project(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-projection-work.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"238e2fe22d8818fe1605efa65f41aebb99887f1c8f3f3234b36af7d282989730"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: forwardRemoteMcpRequest: \u0060forwardRemoteMcpRequest\u0060 awaits \u0060http.request(\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: \u0060http.request(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-mcp-relay.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8cd2366278336757c9935fb164f6f1a3c5f811da4fd70d02d887acc20a4896"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: extractManifest: \u0060extractManifest\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ed5fc7cc0fd80f4d8ec3730fc055c61132e2f039dae956fe51bd90f6dfe878"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: importSource: \u0060importSource\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-pack-source.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ae4d9c07df85b62eb04e9b7e27404ba67b31db82cccf3802eac4e02fc1ba61"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: githubLifecycleEventFromRequest: \u0060githubLifecycleEventFromRequest\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/messages.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bf783f4d27f520fc271be2e6ca1802cf8f80d6d7be19943b87478ea906a1aa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: listen: \u0060listen\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":"server/scripts/benchmark-issue-summaries-read-filter.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b73b274293a8f641f38fc0860d386fa30efa15401aa44e296b608d33607513"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: get: \u0060get\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":"server/scripts/benchmark-review-attention.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e27d9cb9548fd840378e1feabfd64f50df67370a6d6db6fd44be7bffdec1b1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: request: \u0060request\u0060 awaits \u0060http.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: \u0060http.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-skill-list.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"74479a8c76d489de1ae2707287dbda1abeccb94c31bb39f7ad7661d39ae8d204"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: probe: \u0060probe\u0060 awaits \u0060http.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: \u0060http.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15e2e8dd7b83d8931df7a1cf4b09a573d8055a97a32c0fccee2ff398456b7be"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: run: \u0060run\u0060 awaits \u0060http.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: \u0060http.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/benchmark-native-backup-publication.mjs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa68619406f44fcf888daadf7908347ec0b8826ec095a5fa3185a68f90aa471"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: get: \u0060get\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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9793cc3126191fdfa65476672197a1b6802190109e65322d04e41be64837408a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: read: \u0060read\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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3e3d6b4d36d986801210e053aa60a26db364af37390e569ede5624e851a719"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: get: \u0060get\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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9fbc3b3bc5bf7f564c77e9834c9ea0c7907e1a7137bbeb7336dda954c633d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchGitHubTree: \u0060fetchGitHubTree\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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ede41e43aa75870ecb21f935b8a5433f4903ee449aa28a7c9dcb216cd4454"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchReferencedFileBytes: \u0060fetchReferencedFileBytes\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/skills-catalog/src/catalog-builder.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc1fecc22a1045c7dbb8d219743b0a5e1af7890aa87b3d0aa9c67e0376b3c14"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: json: \u0060json\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/client.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7a61e9d8e92b31f0243a05d24b1f3b19fc78c301180360c79ae73cce4f67b5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: syncFiles: \u0060syncFiles\u0060 holds an AbortSignal but calls \u0060upload(\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: \u0060upload(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/createos/src/file-sync.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ec3138860755fdb60eb0c946693f89fb6d4b1c2ae3ab3bc04931fe24b0c0b8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: readJson: \u0060readJson\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"990ccad9a3c4f408758bf9a0e8c33b6586f024e5a86027fef00a5f31e07d42ec"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: startRuntime: \u0060startRuntime\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce4bbe9c1cebc7dc875d677321b95cd79f4c4939c6e509a7e418948efbd9b0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createNativeAcpxDistributionSnapshot: \u0060createNativeAcpxDistributionSnapshot\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/acpx/native-distribution-integrity.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"61945521d704b46037d8d750dcb6dace7f86233b11628354a054a1153a739d32"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: nodeDistribution: \u0060nodeDistribution\u0060 holds an AbortSignal but calls \u0060readFile(\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: \u0060readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40c401635aa5a0d59bff57a5ca03842486abfec4dde206a514e9dcc0d323b90"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: buildKimiDistribution: \u0060buildKimiDistribution\u0060 holds an AbortSignal but calls \u0060readFile(\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: \u0060readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/materialize-kimi-distribution.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f4a92b12ccca973b5a92ec39d2a5fd2fb7becb15b6b74257af8f9ff8c4ba10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: provisionKimi: \u0060provisionKimi\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/provision-kimi.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8f99cc794b7a6b5b8f92ab349300242abd82de5cf268375cc0bfc27e21de1d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: startControlledObservability: \u0060startControlledObservability\u0060 holds an AbortSignal but calls \u0060writeFile(\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: \u0060writeFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/observability.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca2e74a3dd352da2816caa0f728005b825bf6c7dc2d8ad03103a823c4bd2d31"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: runControlledEval: \u0060runControlledEval\u0060 holds an AbortSignal but calls \u0060readFile(\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: \u0060readFile(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfad1655f55bface7ab75a4e1ead38bb985c4d0ca3fc7ea1735f12d4ec1e252"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: post: \u0060post\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/paperclip-runner/devtools/issue-thread/src/live-client.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"733416d441fbe70a16b90a26b420fbccd2ec1361a38e14de2c9e9167190d5dfe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: devtools: \u0060devtools\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/paperclip-runner/devtools/issue-thread/src/live-client.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95a170aeaa479c46ec335292bf56bc867c9d64f0a5beabde5353cd4539e488e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: load: \u0060load\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/paperclip-runner/devtools/issue-thread/src/live-client.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20675619dfe550e0cb2e47c87ff272b36020f98308c24f7c9413c45e8fc10f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadCleanRoom: \u0060loadCleanRoom\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/paperclip-runner/devtools/issue-thread/src/live-client.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f28be9dfc2aa5d231b376fddb97fbf061839fb93db28a97931f31e457d659e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestJson: \u0060requestJson\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/mcp-server/src/client.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa8d959eb619633597715b11a0958f5c3e8d27fd38d4b30b303d5e8a2402d3e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: callRuntimeConnectionTool: \u0060callRuntimeConnectionTool\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/mcp-server/src/tools.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e00f787ddf3f49441a3fa2a77fa4eaadef24e8556233544e3d834adc81b422"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: apiFetch: \u0060apiFetch\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/adapters/hermes/skills/paperclip-task-bridge/paperclip-task.mjs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6be96398a59366dadc3db3182555556a98baf765d36ea39628d812b76b858c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchCodexQuota: \u0060fetchCodexQuota\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3271014c53d1e5638c180a74be91cb1c28367ba7f9b074adfd6ffae3787a5533"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchClaudeQuota: \u0060fetchClaudeQuota\u0060 holds an AbortSignal but calls \u0060json(\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: \u0060json(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/server/quota.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c62e89fc3e6ee072f8884bb34fa657166d50380add62188841da04469bac54"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: startNetworkAllowlistProxy: \u0060startNetworkAllowlistProxy\u0060 awaits \u0060http.request(\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: \u0060http.request(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/local-process-sandbox.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"40494de5684bac05dc8989b2b467e5356329034eaedee88b531c5ca1ae1354cf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: onboard: \u0060onboard\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":"cli/src/commands/onboard.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e98726d8efceb39f982afcf9da8633b66cf1537e6dc2212fb1ffe028651137a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadAsset: \u0060uploadAsset\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":"cli/src/commands/client/asset.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1f20589a12f69112b9bcb1db47fbf9cd7fc980aebfc7fd3beb707fd44c48a4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadAsset: \u0060downloadAsset\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":"cli/src/commands/client/asset.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b094fa828627506ffd947a821a3103d5218ad242ec444919355ed07aa15a134"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: callRuntimeConnectionTool: \u0060callRuntimeConnectionTool\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":"cli/src/commands/client/connections.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dde91ba78ce900351ea501e6c863c70434dd1e9bb38be90f8abe82f44bf0de"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadAttachment: \u0060uploadAttachment\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/issue.ts"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeb25bf67f32d62f0c521d1c321b50a387c4f53a12171b2f845bb3cce5c40c9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadAttachment: \u0060downloadAttachment\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":"cli/src/commands/client/issue.ts"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a573988480b3530ace506485bfaff339b3b05663ba002aaefa105b1374ac34"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: llmCheck: \u0060llmCheck\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":"cli/src/checks/llm-check.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e87bf0a138d064de994225d9fec285f8adfba4c16585d5ce431f6e07569cce"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sha\u0060 is text this program did not author, and it is written into a URL attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. 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/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b105de21f07d38acc8de77c57df3faf0555663021522ba1d1a7c2141101ce938"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escape(run.publicUrl)\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":"packages/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb8e96ed844c1bc7ae0a9eabc35c5674e05bb6b8b2afac924b6a39c5aa73eae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escape(destination.publicUrl)\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":"packages/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0bdc471fc627cfb382f545d90e0e0346dba8dcecf21eb867810dac30bdb1de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escape(previous.publicUrl)\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":"packages/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4c3ac130662e9e4b418131dd9e1ac93ee8cee906fcf0d58c4ab1de4ecf16bc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escape(run.publicUrl)\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":"packages/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a0e41d024d78cf25914cad36dd8f90f7abf95dae360ebe09346d3d4d2fe547"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escape(stylesheetHref)\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":"packages/paperclip-runner/scripts/runner-protocol-eval-history-view.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3884f6e466aa058ee5e6711a42a46abeaf5a52d9b4c933c5f297d931030d84"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060continuePath===undefined?\u00220\u0022:\u00600;url=${attribute}\u0060\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/oauth-browser-return.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad8ce8674116cc77a38f426428df38204a6cb40507fd5a529e6f5047ee21074"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060bgColor\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8002dfa9998562f9e1f61a3e1523a6c5564bc418c15725e12c2b5976df0905"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"216ab658d95cba85c496799601c20bbea4836ff5c28e8c8e7a4b289ce426bc45"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"719eb27b5d1ae2ba0e2a66bc18c34800a38ac3d856b132182ee709b07565282f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.cardBg\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0534719b38340af1525474971998eae8651e1cce3036d1a3976967612d991ef3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7f172999e9b781350e104d7bf104c36bb8a60cb0670b45a6bbf5525ec124c0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cd2fe91013913a9fbf05cbeaa40d3e570f0ed5a5bbcd8aab9af254f697b4d2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.bgColor\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"900abbeb7a9e7cfc90707f6e0e9c842a61d503b7af69b49297a1de69857b6385"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d42b961adca0bc10889208606405d6f4b7ddd2d5dfbb75f737c41cd44671c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.cardShadow\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"176757f30ff10a7e37898e1411d4b9ef1aea233c5753f125e57a1193c268ac5b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060dotFill\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96674abd8f881c775289c92324deb66104256bbeb1839cf2f21cbbea4735991"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.cardBg\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3660bff9266019c4194b8d74258a67bbf9d4d3c78625e935d0c0b1493cbf58"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c672db58c6d191f6aebbb159cf0b41efdaa259c9150dc170657389e9749919"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.font\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d285e99dee52c21b6cdfb6e4a7d4b18bf0060f7a8e1710fcc38513651a905e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.nameColor\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c4ae5695ff881eb38deb76012367cbf60d184e0c1a305815bdfadfddb7547f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.roleColor\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec1865c1e54f4f67682ed714198d91f8d79f8835c621604c14d2531bcdc7124"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.defs(TARGET_W,TARGET_H)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e85a5111b636b1f0a27582eb69e9987b3b91561d0cd2490dd271a073f695e0e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.bgColor\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f1c10b66e42d2456682b608f6f69754271d864f6ef2f6ad7ead377b1d1ed4e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.bgExtras(TARGET_W,TARGET_H)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"678f3e25b558a355a90c30af5a4be182218b73bb9ac477d15392c9d6dd70f490"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060theme.watermarkColor\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"56542f225cb025225fa6ac213a3eb3e34c64c06b12401ef8066a20578ddf0afa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060renderCards(layout,theme)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/org-chart-svg.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedba5cba6ff9d8cd05ce7fae93f7ea66f62b596e303495aaa67713a0894ed74"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060message\u0060 is text this program did not author, and it is written into 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":"server/src/routes/tool-access.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef3df902272e69cd53a3653c4a8ef4d8fa547841e31247193b59f684a088e9a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060fallback\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":"server/src/routes/tool-access.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a1ea41ddd3e0cbbdf9fe19789994721b877de21fb561afb60fa398312dc4cb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(markdownUrl.toString())\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":"server/src/services/public-mcp/setup.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c0a33401ca3d06615be4110932844b7fc556dd8c3caf0a6148d6c94c72fe14"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060svg\u0060 is text this program did not author, and it is written into the text of an element through \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":"ui/src/components/MarkdownBody.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe1db996aede5a5c668060ec0d404e956ba56029df2a7771617f679279f520"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060text\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":6809}}}],"partialFingerprints":{"codehealthFindingId/v1":"447d34b048256cafffcec76935c9195a4197f61d120a0b636a536a889261d379"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb587f7538ce8c2a30b543fcc049b84bcab13e6f84ec72fc596d40b7550929b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/prototypes/github-chat/GitHubChatPreview.tsx"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c2cfd819dafd01aeae9d45c18fe0bb52a944975789facc80ac7fdfbefb59ca"}},{"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":"ui/storybook/prototypes/agent-settings/AgentSettingsPreview.tsx"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe5e12c5b7feca7c36e4f66dfa297c68637348cf62c8168e4c9d9f826efa2e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/storybook/.storybook/preview-base.tsx"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21dd653896d95b133b0284af6f0d51fc312b1716e6b87037484fd43c1dd3691"}},{"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":"ui/src/pages/AgentDetail.tsx"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa4106de4a646829852c2828895161eca0f909f139144676ca0c54276edd83e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dcd0ac98454cc08f64690efb205588ab83e40c7b51b0b6ca5a152f558ba26a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"12483026211cd2061c5f27e6b60356062c094586bf30359bcb83c43f06e98b36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f635f3e3db8afd430642342d1062b0b342430167adcc6c74020d72937edbcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/BoardChat.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"476951187afc627ecd983fdfa53720065a7d6f797c40d08629e31411cf7ef342"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyEnvironments.tsx"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacfd07c0200e51c4986765d9c6820df9c906c237ed5d9a365c3d0baf88cf03e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CompanyImport.tsx"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"01760822d64a3cf2b0e7d92da24ccf43207d20cf271b70e417f6d0e72dee858e"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4900}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fe5d4a239f81571c3ee330d197a1791d15f3d8757da6ddb1ba2711911a5269"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4914}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6b7f76fea44c16046d03d601edf966bddfe4021da605d8eb57218ee9b9f9e8"}},{"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":"ui/src/pages/CompanySkills.production.tsx"},"region":{"startLine":4930}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f9b6c36134fb8e00612f59e2a13f959b991a51cc59eddee7041b049af209e9"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":4864}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff9d318c2f2d0ac06adda9d21a1433ed85c123f984ffa35eaf6cb9ca08209eb"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":4878}}}],"partialFingerprints":{"codehealthFindingId/v1":"149e090d8ea55a45a013b2999be1c7673e600e294bd0b8ccff00a3b1086f372c"}},{"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":"ui/src/pages/CompanySkills.tsx"},"region":{"startLine":4894}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb959ff014940603b1776a168658b72c82c984119e81e31d3f0bb4e552a31827"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/CoordinatorTaskViews.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9b585ccacc2e39f8c57b6da72420dff0524dc92a64fd287c6dd8215dcaf7a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Dashboard.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cff29b3f26483002d62fd9684e7d2a70726095f8ea734670913a5a53b67c00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5551df9eca06540b528349764c360f604f9e6d93414c01510ce365b790935506"}},{"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":"ui/src/pages/InviteLanding.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03f61134d482f6adab47d358428dbc7e58860e9ed212914af3d6054002dcf3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/IssueDetail.tsx"},"region":{"startLine":7156}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e05928ae32db34019a3935b797d5ea3db802dc894aa7ad95d637597e586eab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/McpConnect.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7116991c56f32483464bb60cb8d902875d892756ccddc135932c296925a55c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"953aa587919c4d10aa6310566e912b375d3e09c9eb91b76226e4851731459ddc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectDetail.tsx"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1f1bd6526866efc5151fe005524b2c9dc35573d34aac0f8fd1db99fc01e37a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfbcff90f4f76584bf51e8a683c0d5795456d2b36ea2d1bc9ba6bebbf8cd715"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.production.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18c90a77326776e9e6999bcde5dabec7d0d617fc78637f0a2f9c6b0d8f54a40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/Routines.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"990494d85233a2b40b153c3d4fb67a28a1c6f8ad511404bdb56e4b765a454c09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"55897ff72517987363e89361abcf27a82788f5929f6f3514a415192cf2410a6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f3fbc3a6df00b307110a77828c8083dae7b1a57e369a779d1d97e3b5459275"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/SkillStudio.tsx"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4e3019edbdc852f7da7b68ab7db22c2dc5381d6e94b45441f59514687b3c1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/tools/PasteConfigTab.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e08d71a29b8c0bc0fef97f785e22dfe62203c10a89b1c986a438233c196182"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatConversationList.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d165f90051c8fe0636a1ff761fd723e62f790b6b9942b6c1a98d5301e8675c0"}},{"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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3982627888563937b4bf89c3a5782266a60b781f216e960fa5720e552319557d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e04c836576449be4ad488809945a446be4e2ffd58f00b1bdb3e2e5b76771bd"}},{"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":"ui/src/pages/apps/chat/ChatEndpointSetup.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e0296d58a21c8b4f92a6f7d41bdfcc70be434bab142d9ad45e2bdba140a19c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"905fbaf5e90095d9f9eee7d9ad36cd5f7cf160105a2d0aaccca7692c7200f579"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c85f5c9c8fe0fd920a8e593204682559e53ed9176f9f8f5dec520273f4c4086"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"90248a0a0676d81a15b1c866883ef656ad4b3dc637c0688534cea55bf3669e5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/GitHubConnectionRecovery.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f15eae792c0e5b6f6c6950eb6be65e0810762e91ec909792627f7ea0edcd72c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/SetupPrompt.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d252ff65eeb3f186e80d06cd10e78f9f649a45fcb568070a0afff1c5aacaa39a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/apps/chat/slack/ManagedSlackSetup.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae106f0c60a3dd2d05e5c0c271478867085a2dece9611e8ab52c4b4702592291"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/agent-skills/agent-skill-source.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8e8be4e4c84ec19e388f23bb2530e0a1562d3c6a0f9b2fef2104d3e66ced3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-order.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c236a19972c3c394860904f5c4a6b343307f29f84933e9466bc369795344612"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-order.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbf8be298ba76585bd0a33f0b4114443b6c9a4368764ec6597a3df9c0a166c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/announcement-dismissals.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0cdf70736f963e56955d75c59a383e6ac4402641a453b4fa56019f424e4e0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f017b98a59be9e7b3d4cc6df07223f5d3c93738add11a2a29d32d1de6c366a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"a523e55e73627bfd1fd64b846a1969fb617d813db029fc9b8dc92c1f7d395fe8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9bfc31b76c4a865696949c97af11b2bb9c2d4ca04de3570b5540cb8f4734b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a801bc2186e1e129bbecfa110c86c5aeb53a93375ba378021c22c2b80906eb97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94f767809e35307eaddd7715cf6d9302eb476172a791ec289663bd3476f8f79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6158190d4cd895400e8c00b34e8d45d30cc3a71e3434573e8043aaddd7a4a212"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d1a519720dad403d226c162fda0b954c6186ce0dc03613eca161a01e94a682"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4966a2b82a442e487831474933a81f6533397b8cc6b5fd47488525e6e94e7a0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e03a2639bd825e1af90728316c1b6604b7fa5048b3310144d0afd276291c98b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-error-context.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6575a51d2fbc3862a3868acbd406901aed41b1ea1e1d3765b7d4f98d89ff425e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/chat-message-request.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"603aca6dfa9e557168983963fd2269c87f6f01bd530cf5e303804d7d7abe55e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/clipboard.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40c052b0e537c883c1c39eb1749d747af9f6a6769af04743572fe9edf4f1c9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cloud-sign-in.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d765ea245e196018b17dfdc111146ec4896650cef6c658e85ef20f42f86968b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61bdfe365fec61fd9979db5bf4d78644a93b5470e30b853b194484490c0bc6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ee52e4db4ecec9a14e431d0baf16f816bdd556f13bcd33a27938200129e01c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0df879917b55f0400af5c0afdcf2a61348dbbdd1d6c32075dccc2f95bf6b522"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad85128d2e724dbb735c5c3bc7382cc6346b3e97f3b20a531bd49d4ce844fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7898a2ccea4f263e8dda613c830e425d1d6e1a1d0bb74a509d5940d88185ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/composer-draft.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e3f8fbfe79fe2d48dd532dbd7cf12c3e601252ed8397f8f998d57b7f78c1bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc9704701cc01a9e526ed2a9b8b9048da7de32c75cf634ba32a5bb12b161e07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdf783a453f8d8e5cd8dabe8387a77ceab1d2b5be69a976db9736618e788e1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"54890d8d8fb5d512f73bfed4615e9670e7b518aee433518684d08850678a6564"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b369d7fa7b424213bb116372bd405258104a382138df71c723c0c0040bbc26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f00e503aaa53611c4c02e31706fb9c0ff7ae5076906fe289d2f435726b68cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/cross-tab-poll.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30036ef682bd3bf1c2e94bbc78a1487c4acec5200f0b6bd5358ec386c5c09eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/import-job-watch.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ae5b039423c2cd544cc1986ad6a5adb6805a502e322ee229ae43aa368b8eef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/import-job-watch.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ace1487c45ccf191a5430c95739328fbd4f34a72b7e1f01442d39823f947bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/import-job-watch.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3483892e155cb62354d6e4942c6753dd9e139c4d7321f8be8bfafa72dfb938f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/import-job-watch.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba80a5ac6062484e8d7d55390db35be8e56f8a123be72a59d41cfaa285aad404"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"360fe856b1afd9ffe5eb26674ecfe8ea7f3c251526d68b5667577e5fc1dcb3b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"31906346159f161470316462190f2821ab1ac028bc2ca48f979fa40d303617f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"891971f5bab7e06631c8cf28e5b53f86d31ef6e156461c815a60a8d1f453e121"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9396223ebb66c53b06fc12d490ce37b26aed1b854dede016ad1b5cfc0f3045f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e5196dfd196baf86c5c55e44dae7b1715c114792bf9d7c0acac59f923bef8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3922002e4a758e1a7ca1d1f9d159accced23a337ea66a769deec0d653501089f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd01ec620e0551664c3ff5de42289fe4b5de201703a5823c79e71888e412e378"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d2ac72e640632289b08a44a56167b59da850824a26a5348491b58c2736225f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea9e6ca6f09f57c63ba628b5aa98bfc2f7111546d2c1fed305f19813c00af03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/invite-memory.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23143071af60771e61e3fbf51768b2545ed484e1a192e44a613d058bffff5b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/invite-memory.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e838fc41b91c4f4a94928fe5432c5a2cf0bfb023ff9a0c3b824d137b0212d94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-detail-performance.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c149c8fc98ea74bf267fbdae249e9feb83528a3256b33ac8931aa237036694"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/issue-detail-performance.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"907351fac554b1714abf71081f55d844d57fb8e75663fd021bb393fe3ba5fc69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/muse-invitation-draft.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"511fc84ac4aa5f36a90165b3449275019109a8cba344638cba82827f6fe72eb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/muse-invitation-draft.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a0eb600ffa25199950b02cc0fdfecc768f23ea36439bf0a2ea3d2cf92d59f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/muse-invitation-draft.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"34019b3c4ec6454ded1372d45ab6a6a3ab4c6729979e4cab5d4ac36bec49895e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/onboarding-state.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c835041287205591e5adfe656dacd5349b9f383deb56873d25a4a129997b9cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/onboarding-state.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ea5fcc81d2266390ded295a0ee0ebe741803e3f3408e1fd28a3704067e3d9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/pending-send.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"133a95355c018f8abdbffdda4077cbcb2ca9d1896783a20ea196d93049d9bc32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8467e83502c6cd67e87b7cd22f4070fb0803039c96a4bdbea8b4db5c5752c6ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"578b8a53e1cf7c0c2dabd43f0bc751f4a091095b145af15e9d98d6881c353c82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"58749a6636035e13fa9d86e2a5db1be1dda58366a0f0b2dd2303242049318c33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba01dedcc6f2686d885d53a55895296f42ac95ab1d2d8cf3e2c767ec7ae4ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0061dc2153bd56dcacd48609e0cb7099da76a66384f79d58a84482aefb47a9d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f2fd5b8dd72a73a8b5c4196fe9930e89aac6d86fea1812812a83f7d44b3d31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"297dd152b29a8ee7ea427f13405b74a6a59397d5ea1e42f533d2c2b227d50cf2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb45aca0a5298ed5e316cc53d99a051ccfbeaee7dd4b999e539b3ff0808ffae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b688755d1701c3e55a52af85f54480bd6b40ed73af8bf1c1074df795ade8138b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ba88827be1f1f038d510cc178abcf7868e7706520a1b54697a674d7b0797b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"50214283d6f9d969a51766c8bbf041ae6efb59471708b0b26a1ca8ba939f4dca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7728b8fd91fc9c785013620b063d515368877640e6c5cd05a095c1a34657475"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-order.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff872390015155afab33ad528b7c188e8fb43e670e1e9c09ccba8e5d8e5092c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-order.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4b271520d43067f035213175ca4a8f3b672d837ba355147a297f018c7405e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-agent-chats.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e845e7acc170cf80c7d12f00942791fef69dada552b0fc746466babe3ce494"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-composer-effort.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"57622cd1d42cc436e80edce55aa647fc6e5da4155fe0280c23197f5416cf0ec6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-projects.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6378ffa458ba71abf45a73234d589f584349b4b3c6530f870ffc1f1ba204356"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-searches.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4356799a357a474d8690e3d3a5db6c8096b77bdc95c58fcc3667b806707092c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-searches.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9683a2044257f274c45cdabe06e7bd45b180d06aa8f487f59f7b5cf59bb2741b"}},{"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":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52f033a152def594188c6043d3f8efcf2b4b98dc2a86f633bf80fdb4cd1edf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d73d363a834658bed5a256159b1de0fce4287713a881cee8410dd26abefd7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/revise-draft-store.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"561a47feb167c09f4b656fa651909f6e5e9763338a901ff79f299c258aa58810"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/revise-draft-store.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd766b6deb19e6160fa12ecdd38242d393e1a3f1e3b403dd01ca19708fbea8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de3f577147af1e1d1b597a6651fdea1a1d52c09f22f9d8105a7430751731b69"}},{"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":"ui/src/lib/sentry.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1032236a104afee64621fb2b2ebf0f531d8c8f3b4210233b0e7eaf0bce5b5a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/sentry.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d62bcb05858883227cd71dccb7fe6159c95b2aee6d1847a93fe130aa3569a74"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/sentry.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e8ce40e61a77825d0e1915224d74e9669220f779493ca2af472a0e63ae0203"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/sentry.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"76907626a9b67b7fe362952ff3026b5484c9f8e0c316e70a0bb1aec66b4fa83c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/sentry.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eebaf52578e6ff0fab41c0afa9399c564c7af008a3ad7ee149d72378d7e47e0"}},{"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":"ui/src/lib/service-worker-updates.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3794e04f860527c658a39efce7251de1b709b9e4d3a0125c0ad581a557326513"}},{"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":"ui/src/lib/service-worker-updates.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a127956c8a03c93c03c24ef1aa48ffa5cc82560bc4f830f8ad540c1e4bd225"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/shell-navigation.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab449e5931db7484c14e4ab37b95f60b6121e04dc38105149ce06f3a32a4411"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/task-collection-preferences.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5795eb80078c037a642e6bd1b55922462f35623bfe1e9e8c13c6dcfcd6396a90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/task-list-views.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"df36eb7d1098d28568a2def782ac1b806e637e17f641f6ffd8bfa36e22a17df9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/task-side-panel-state.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad150366be4c9484ac2bc4c4e4c50988a261eadbc7903d01fb3430fd72cd8968"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/task-views.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2ad3ef5c936c7f69bb2b6314720e5dd4a0eac9d2a2efb91e3c54b5a859ae3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/voice-call-attempt.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"006c616ce11744ba3c32690258adc42495ff4de17d44d2136c60c5b0a6b73d4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/browser-tracing/controller.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc30eeafa5d5f6c599dda9a9087e97d99e1e8278368c22c59e9b428b50b556b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAgentAppearanceDraft.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3add5451166e93412144b40c8d945d5db8612cc4c24c6e4252b5b5fb869ad23a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAgentAppearanceDraft.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"64848f5bc4eb6a1b79e06018c6b734c8e940981f6835f4d03fc7e17e340cb280"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAgentAppearanceDraft.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d46a22f063c9baf6a443eb3eeeb2d4a5dd06aa7d50771400c113c7e697b8f26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAnnouncement.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e016ba39380725a7c698fd30e3fe7bbc619c1f202d24833f6f25e76f422d23"}},{"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":"ui/src/hooks/useAnnouncement.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f46bca6cb6a6051e3f85ed1e88d53c3b20cdfa5792ccdece4124cc7a9ace8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAnnouncement.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbddb1333eae8460791a681eb954bafc05c3ada648f46518e9a001352cc6f6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useAnnouncementAnimation.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09fccdd1b8c034b1b9640b13da7ceb91a7b8c086f943d42da6b03924375ace6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f182873b0a2e2385ece646818dcf9a9359818c5cedd39d90f69d79a91227a931"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f279c3f931e58a7e0c3ef6375c2e8ae6b9237c3cca2ce3fb27e818eefb13f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37077a91b5972f3f103c38730812d4b496ace400dd00a1e1fe8e9f6cd882125"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff8b17f20e8b85e02b261596b9a1c8e745ab611b00a2fb79e269d1d83637167"}},{"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":"ui/src/hooks/useBrowserTimeZoneSync.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74944ce27b7bf413507a33bc8ef03945d21c94580ecd72c179b30816224ea55"}},{"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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c6dced7ba7961a4418a9cc3cc4f1de00e658ac32f0ae22472cd02dde3b15e6"}},{"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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"72591a26f22e85e972cec9028cc775655e6acee9cc8706d1ba6239eb11078a71"}},{"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":"ui/src/hooks/useBrowserViewport.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8e03ed22e9caef70220dcb68e50b3518bb3dc8f5faad2db2a21aa6166d69b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useCompanyPageMemory.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"90677f6d4ba86462b4116d72045b67769a3c65ee4c53c5c277c76a6ce1bc1c91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useDismissedTaskQuestions.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"096f502226606d975453e1f8ae60ba63a363bbfdf657c0e4442c0b2a05c170b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea891033dc62a4639a7928d3564897ab8db82ac9a6228dbbfdf4d38fd41517b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useDurableAutosave.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdfdb8475d7647181c764c3bc845e0146b60540417c66797e52750902352912"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskBrowsers.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8da0a8dd02de3be0b6b75512cc1cfd1eaad90d312576155edcfb2461a47bb8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskListColumnPreferences.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d292adc651b643685e2b7ed08be0016e7aa34c252cf7e0f6c688792b4b7d1aa1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/AgentMailIntentSetup.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b14afd80643cfc1933d61dd0ec29b56078220a9c317e8c6a654bafdb180e2cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/AgentMailIntentSetup.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ff0cf2735a66404fb65cf13ab7895cdfeb0dc719693704ac1dd2d6ec0074be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"32da69f95c912af16b20ea5b904559c148d973dcf3afc0b0a0663273a58f6b50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/ConnectionSetupFlow.tsx"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfabcc4b61cba79bf4438190c2a289ab8a3d7efee5734b1fbd8fe0019a38f6d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/MachineSignInSetup.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"294d2d4d74db53ebcce146fb695cb5e63bf6622f8945293aefc0c541aa7bb8d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpManagement.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddc4c66f5f930d2cd129a1803ab8c19efde3944e43cb11fdc52fec31678fced"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e013fb5a8a352bfd698aeb70960598d1d33f37befb596e3e8b174b9cac89dc9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff8933c8acc54cc147f13ffd60e466a3304136444ddc4a7b90552b75f05aedc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a56557c18cf8829b62e9f2abdf0e16ffb7f8d8f0b621688d5a5acb9dc58e952"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"496ed105764967e5256c5748980db5b3ca3031f54da564c8100f8af802db89fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec0be6dfa61425ec57b91e7cdbb9242334a077859f32d18865077267d045bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad88160ebb8a7ebb8777841af9532738f7c11aa30d3cdc75f780e13cd07138c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"220c1f8a9c097969c11a4d8712f0eef909f9561adf6eed86c3667018416671c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d509c47b38804dcd8e8c2d2474514fe13ba796568bd90508fea6469f211061c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/CompanyContext.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f58be5489874a63466f7a6dc5bf559e434def9e24a31e1893182dd661b203c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/DesignSandboxContext.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde99294a5ae536991b263b802c4dc06ba0e2aa9944353833f4f0c2ab986e088"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4f29331a5ddee5e2302e4b6183c926dc076b9db792f7ee3ec2a92e6fafaf26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/LiveUpdatesProvider.tsx"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac984d92f0456d906e8fdafa739331b87d68121464d9eaaa874f727fae81d654"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/PanelContext.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c402e88d3fc596706045e82765f3418608d16269281812b8967a5137e0cc965"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/ThemeContext.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9b74ea52a7d8d1483b5afc4b89026352a20c2ecf0a3cd6567e9abc603c2806"}},{"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":"ui/src/components/useAdapterLoginCancellation.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b3c96571c73d48b1ca08710e9eab6723e25d5b049fa07c312cc850fe548ca2"}},{"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":"ui/src/components/useAdapterLoginCancellation.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb04b0683062d55b632056d341eb74db37876e0ce3bc5aca293508f3c8dc43db"}},{"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":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c052671905c7c7b825b5a183d2a2ac2e823fc8b5cea8f44795471760db74c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/AdapterLoginChrome.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb185658061e8af7fc617ed1965af0562fe193f2ad78407a5a3a6c30fd9db45"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"130286c43e65e0540b07ef34694d961cca5b84114b310d78e843bce25399b174"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f6e8a66820824e53ab9985bec932a37253aca3495eac562a50454e1f5435c2"}},{"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":"ui/src/components/AgentConfigForm.tsx"},"region":{"startLine":3425}}}],"partialFingerprints":{"codehealthFindingId/v1":"05af98eea86d367a885e99ca44e2a6d5131102671d763e80cc09ba558754f649"}},{"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":"ui/src/components/AgentSetupPrompt.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e8899fe0f4de6c29e208bb5e9d2104de7efd1d59582317ba273b281b133185"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/BudgetPolicyCard.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"001322cc025ede3abd11c5a585af9c21450bff5672a0243a14261d5f02204c0a"}},{"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":"ui/src/components/ClassicWorkspaceSetting.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"943bbc0f9da7c976b63c79c27b7df8ae2e69fa5305efea05f87f20c0aac1593e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb765f004fa5172ae51f1389c2f0e41255177f3845b8d985f723ca8d680144e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adb9e3a5fcc936474d3b930ce2e1c467b15657b5223aed44504ab9ee95fd5af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/DesignPageAside.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6d7df4e72b3299315affe20dd6069caaeddd09f881cf199a93ef1dea422fa6"}},{"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":"ui/src/components/FrontmatterPanel.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"78129474b095ab3554f0d7c5c17eeb983784b54dda99049acea75c37acd508f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/GitHubStarPrompt.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d31db48dcaccb2366313eb2c815f92fbab2b0f82372f5d9e83314adf1e8965b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/InlineEditor.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e905bb50bda03a2ff8079cd678df8d13da84473a3759573ff95c93c515d748c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4802bb397814c74b6f4bc9f88c1c561ef44a81d4f70f46dbb19e15391e6e6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f080d645431157682487a96ea816ed4246ef785b550dfc06edf66b9891c1de64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueThreadInteractionCard.tsx"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"3313d642e0d0b29e568d672728fbef1c2bba27863e617a215c5fddf29fed2555"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/IssueWorkspaceCard.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acf456b31db02a93275011da9f59b80d8410856b891ae7009e75b747b1478f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc16013f3a370916aea46a33a32fb056d4588c7da42cf21f02ae039f21762de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/JsonSchemaForm.tsx"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"e787d32240c35b13583e63fb5eb0a42e6879d6d4a2bf615cb682fe3f19d24bd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/LegacyIssuesList.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce48178f926f0f130af0536e5bb6b2b98e758b2ee7638277f54ca2616fbf80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e6d02af683fdeb556e4cc4bb1cdfa157661365efa43568d31a1d6633a09070"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9601ff92c9746e944861a705cc730ba103eddb2377262ee6b92e0e8c17b2a52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b09ee6c8005190cfee71a1cbdd0ba922d094b1a96292439706e4852fee969d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d1db172b631573e0ea451821fd5ff0cc05977b21b8c65c4fe797fb4f46f51c"}},{"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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5deb64d62f6fa0e06e55322e45ae9a57a1bbc721135359b48afc9fedd4a10e"}},{"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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae15875132793e8349e02161721080101ea6b1ed78a2bc8a1db874b65730d8"}},{"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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f416b02d519d274e883d142d13d6e771bb39c2922fd0e15621ed761dcba9cbc"}},{"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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"b043d3dadd8b48bfd2ef54f4b5d30b45e1a069669b0d2765eb63f805ac28c3e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd48acc114a6605f0c2a49109711a897667c5686beae90abc38c5c5dd9e027dd"}},{"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":"ui/src/components/NewIssueDialog.tsx"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6219d234c66465c1f73bca7cec33b74dddb971d1de2d974dce8c53a3e3d55e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a57c17619424387b4c4edb5f3eebf0369fb548bc63e71c758a38742cdfde032"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecf32fbfa63d58da7809a38f7046363dd4884dea49aae241fc627fdb4278c82"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"71673dbb83bf2d95a196dc4e96e183970ed81f3b7920578be6e344ba8f0d9ffd"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeaf7312ef454d264495ef5e6cfb1995e6431fb4074416048d706c8ef358efd"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0d09f1bedd821f3f33d42dab5d68f0a957db35be2812c135fc8201552b3396"}},{"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":"ui/src/components/OnboardingWizard.tsx"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"009490cf1ff7d5360d101c14c6bd238e5162b4c66290f598744854a7fd605af4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83a70458d879cd7299724908851f68181d28c4a5bc541e510fb41552831cc4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/PropertiesPanel.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d1b5be50f5006475d4d68cc5522e05079a1ee8ab154a408347399f17800254"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarRecentTasks.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deb58cf9f2a11842ba02796d6aa52270d6bd045d5bf37d84bf6e84381633d51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.production.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec07c4469c4deb86e7c822dfb981d09b3a58a08d373e294b72035fc38591b58c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/SidebarShell.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"987dc3a6034358d0425af4e1a01d809b50f1b742b7dad7bf8c46f4f4164eda3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/WorkspaceBaseRefRecovery.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3fe28839c6f6382590bb8205cc5aa4c04b59339a4c05e672b13f1d42c4f23b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e5add4738c335a1038c1bb0038dd3197323d935709438aea49e762cbc549f"}},{"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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f8b5eea03aa5afd20045a6c885a2e307d4716403518bcd595b6daff8c9208d"}},{"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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dcf55a08f1556ee03b89c1b37113060afadb63db36f3a9519c46b8faf4e2f6"}},{"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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0a120dc4a03f6b692bc8574da0b8322e4f9603851d8192214cad9ddc81a6d7"}},{"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":"ui/src/components/task-chat/RunnerGoalWidget.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b53e3b9e41230c7cbadcc5e4c2d544a51442d307039e1d1198a0141acc2e6ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TaskChatRichInput.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cc7dd84e2cc5ad723fbb3371e02e5e85cb9200128e301c84fd348b71bf3c0d"}},{"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":"ui/src/components/task-chat/TaskMessageScroller.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0929d09af3d8e6827d6f772f70354b7693fa3b182ca9d15e4a750c3879203925"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/task-chat/TweakPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76800afc10fed86a80f802b003424f631e4528f0e02de47ea93d434045616f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f228f89f59af0c1b76b13a0f872b607257a6fb251361b0c7e5e9fd1d1093fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/LogViewer.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"35af484514f64650fa6897dcb6ba7e30ac71a4ab30d3ace4251834af9df4ef23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/run-log/RunDetails.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0ab8bd266c42db9037a4fc3e10715fc3e629be6f940378f8b75304922c2a4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-triggers/RoutineTriggers.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a293324157e4d1bd97d41a34431ff1b026b1d82c9434f274ac5868748896514b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/routine-sections/operate-sections.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1312303048934f4c0fe7a51cc0f2765b3d39e76c0f3dfdbee2c1ecbb7afec14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/issue-properties/IssueProperties.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"873338e61d18ffdf411ea51a3e3df8011d20af838706c6076ab52ffc9d3a4d46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4aa6961b716efd1394b62f91c6d89d758f8b695f1e8f7fdf6a03beadd806ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bd1209040931dbf1a67113810a41685d5d58d1c2feaa44e02bae0d35ebc665"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a4ccf3981e014b2560501ad6bfebab3e83b85fcbfff8c7815243bd148e22fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/chat/ExternallyConnectedTaskBanner.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8fbe2f63742254c1bc6591ed1e507543a0df73e1be6f97d240fcb680574070"}},{"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":"ui/src/components/ai-connections/useLocalAiLogin.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e1c7a9969222c9a4831ed138725e7b3d952aa6f01cfd6d23417cf35f5a7104"}},{"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":"ui/src/components/ai-connections/useLocalAiLogin.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f752ef49e64f6cecf6ef45afa1d562d8a871cb957c48022eb39cc60d3b0b7c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/shot.cjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9cdecada11e3b0c2b0df0712c9b4e53c9e086bbcadb58467b1b686d65b1800"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/api/client.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d457b94ffaf9c3b537b5837e6a6370a2765789baf301c2251383d6a35e7ef3cb"}},{"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":"ui/src/api/skillSources.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6d7e4c66823e62082056c7373f85be29c47f213d0bdd11cea4a209916bbd6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/runtime-json-fields.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"107e754ae8750ce551e4d8f6ca52087ef6a0f57cad34ddaf77705f4cc8734fe8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/adapters/openclaw-gateway/config-fields.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7472d19ca3781a5ea4b0687edb75562a9af4de4bcd7ca223f715362dfae31d64"}},{"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":"ui/public/sw.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e70bf4b67a86aebf83708f3e743bbed528a43750c123b8f37229eed03e0bcc"}},{"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":"ui/public/sw.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a4dc5dea13c522a5d571c1addc34c383c9e811fc2f8c1be943de70ffd4edf6"}},{"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":"ui/public/sw.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8268405308adff3fb97e528410ae10e3c0d3cfd2d219ac2b45559e2eb5fe27ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/public/sw.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26529709703326ffe0d86b8d9beea304c98170aabe5d8d30363f00f25f17c2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/build-commit.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396f14171e126c251846c46719b9f482dd5235940ed4ba96c327061e838ce62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/chat-webhook-public-url.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"396c40a66cf338ffaaa962f2e8b4dbccaf3caf019568b953351305ff9d23e269"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/dev-watch-ignore.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bb6e0ac73c9a741f2c15598dce2d774d9e2b5d1e56398eecb2acb0f9e2e480"}},{"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":"server/src/index.ts"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f236b23da07d8ae043ad5b52e1858b7f958d119633c536525fafd581a372e9ee"}},{"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":"server/src/index.ts"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"119c8728e6452e861085205d8eb2466f3441da5575309e10387c6bf622417360"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/instrumentation.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8474d846c5401433fc18ceb5eeb6515b51071143f6989d5daba27422f1c6b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/log-redaction.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c260aeba7036a51d0916ee3dc8fc3852480448674f690d547b2eaf9538504"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/log-redaction.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc65494a452611ff12c11143112fbc7d896cb75cbe3fb90ba487efd92c0b74e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/managed-cloud-prerequisites.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"687a35ef5adb86246c673ebcfb91117e09a2f0044426808f33dc20ae857a6b23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/managed-cloud-prerequisites.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0402fee8f17b8055a5a4948236a570da21a0985460f831826976d93029e7f41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/runtime-api.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdf4bf079b6e133d3d0eec56ff5e9454e083f39f1748639b98ad67f71d70786"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry-dynamic-import-provenance.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5326829c5f7df7b6842ab2e8c3bfed6885a966a3e512b1f0b28b3f5525bcafa7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry-links.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12a64ecf70deb0459bd6c19709e6ddc296cfd7b2d36d51b1866204cda99b585"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry-links.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d8b83041a739017120a028b7d52447e0c0fdd77ee77c116c68dfbc3fe1257b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/sentry.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbca9f6e2dd4f1b7cac24a51ee69e4c622fc0b2330794e3b8b20daa56001cb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/startup-recovery-timing.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"619228572f60c80d440a12f4d94912b6da55e56a98d48195266dc2d8d4403620"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/startup-recovery-timing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf605046a7ce8bc8904d5db91f0772f158f22081a27f72423344513ad44cd3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/startup-recovery-timing.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce5303326d7445c9bc2ac9d4c09aa9ea0cc92d37f8da1cb04cdaa3c7e258840"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/worktree-config.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d0209e0786c33b47a30fef5de522361612b37f43304f7112e702c4d7d8e803"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/worktree-config.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a77f732e9e12c50ab28399b646ed4d814ff249b81f4e9ecaa8d3fbf07fa2b6"}},{"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":"server/src/worktree-config.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e1abe192e2e2a5568c537d4dad7c8afe8ebc3b29b0104c1f13d44afe2480a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/storage/failure-cleanup.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7011b8b231fc40956aca18d787b9562200be575d563fb5ec72bb605e54e53cbb"}},{"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":"server/src/storage/storage-unavailable.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be6f041c99b8529ea0f33996acf88f2ae5987c3e9ee045649afe7972406a0f4"}},{"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":"server/src/services/activity-log.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d61edb84598d5fefd548aad6a5c6504e4750a06b84be3b4764a5b273cc2b453"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/adapter-execution-control.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"956c394fc1a32ed26bbb3fce10b6f735a88e7ba824dcde0bfd7b60368329dc21"}},{"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":"server/src/services/adapter-execution-phase.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f05776c2c410e2450e13f6f131d213a98c7de0b3e8eef4d906bf47566168d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-avatars.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"46634c3d72192494e254ca200c356e110866bb5b829a2931c3f01dda139c0d1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-file-durability.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"47864ddb4b172fffa1cae0c2b978aa8e7175e60c394d9c35d4d38542c6eb12ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instructions.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b2e5a1a12cd9797083ef8d98a74dd8cabe1dc0504653c60d9d3db351b7c459"}},{"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":"server/src/services/agent-profile-avatar.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f3cc9ff3978a9ee2b1af7555c6e9c7d910386ac1ff04aec6d1a5a653c97df1"}},{"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":"server/src/services/agentmail-api.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e9f64ec2196629a5b5b4ac9d8cc86c685bad06cd24647fe90b5969c5542fb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/aggregator-app-discovery.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c899254e2ade49f47e05fd1d007fc0af0ac48d3d802a09fdaab6c12ac701bc"}},{"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":"server/src/services/ai-connection-router.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e7601278431ea85214755fa5f12c3e0d9d5b9f72f92084f093be32bfbb2d75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/ai-connections.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f543816a1280004365aae205e6d761285a96d1cc9ffaa7474ab11377b6bcef6"}},{"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":"server/src/services/announcement-feed.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d05405e07c421859fbaffa3e880f44bef1979d431e6ce844ce6b9f5ee7f464d"}},{"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":"server/src/services/approvals.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f900763e04446242bf8d1ebc83afc04b8221d5983f65f4b7285e41b066d378"}},{"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":"server/src/services/browser-use-viewport.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3690d481b2792e43c98db78b87fa216cee9151c61b085ef4d6dbd1b5c7c631"}},{"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":"server/src/services/browser-use-viewport.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf6cedf2f093a9bf2734b4b22e9fe776a616ea19996ec09fa567113f323bb88"}},{"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":"server/src/services/browser-use-viewport.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"561c3a449917e114b5d12eceb5335b1084908f2abf833bdc1d2f2788273f556d"}},{"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":"server/src/services/browser-use-viewport.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3947014ed06d49846e6fb80bde60d4711a63cf2e5e83b022d12d1c71061aae3"}},{"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":"server/src/services/browser-use.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86a4627fa7bc2e119b47ab8ab5b17f20910a5c41d55e36bd1b2e1072e74f7af"}},{"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":"server/src/services/browser-use.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1cb3e3d23c11dff0baf41b82eea35bc6da14e0c37c73374816bb2f58534129"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-exposure.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"883f02a7c2a9f4e5a335a4792329aadd3cf437b898e59b715b0048351ff0ed8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-tracing.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2656ea56e83dc329d2d136ca4e229289aa6ebb4383d988910506045e90003f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/budget-tracing.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a790787b443f04c8a22f1f7f1ff387f3e1ce0dec83a1d3251d91a1f339058cdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/case-handoffs.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a4550ffeb37425c9f24ff837ed0bfe49d5dd5ad7c17eff0b9884a1fc1af7b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels.ts"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"75915506f87f9062d2ed3a56ab782a771f8add89acc6e9167805a66c548450d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-client.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c414a66fe6bee59d5cd2f23773d2767f1c8729fade168e3b8525d683216cdb2"}},{"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":"server/src/services/chat-github-client.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"81544e0fa58f3c2d823d035e247f8def4d7d16171f70a986555fdda98cf2023c"}},{"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":"server/src/services/chat-github-client.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8f1b8c8fe70802fffc9c5011fef2cf8523f73e9fb9caf23c32c152d6f77128"}},{"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":"server/src/services/chat-github-publication-lease.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a42d41d68218b3a5ebff31e93d3742464836e2dfc882562a1983bf89a10fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-github-wizard.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0cb43f2871ee3f811a2da91471ce6f6b2a4e0bad9cbb1db92a599cabda3b60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-provider-links.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e44f75c229f81aa3f875ab8842dd530373a4f6c8b7ff5989b1293d5e77e0ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-publication-reconciliation.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6769172e5c54fca6bb03805bdb45a1ac96e1eaf28e2ecd1241a71ca5639fc696"}},{"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":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"58478a0b8ea34cf25af30c72c87ce22b37fd10c9decaa0566798f3cb01ca3f86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80f504c365d444dc3be13c99493880e0751e167f25961d746005da3ea96d51f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1520ce06b9ee5710a5710891746a33e751906244c3a2f3ebd307b342358821f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-sdk-runtime.ts"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f87b5b2e3f570bfa9b94a6a90d3c990e9dbc1d57d7630373ddf079199b2901b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-slack-receipts.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de055fe11a1f77e7a5e8b8f9bf30f93f10425212cdb3a253a5d4ed82528c559"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-slack-sessions.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeeb45f55e25a8611b96c45fbb206b4c4356ba14f7661be7844f9f2f27aa7ed"}},{"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":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5c00e6cefd458ad5cb98883c6a04e7b96a876f0e96b03c4aff77b34db706b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-transfers.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"b939a584dabb55900f85056e825fef39c709cc02c063fd3a1b5ac87976c94442"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-webhook-diagnostics.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed0c5167e0acd916ce6a14cf265f8d63091572f4be3e50474471a20862be69a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef11c18bb432d30816ca261e62f80fc49769b58c82131705cfb5e6c62197d47d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/company-portability.ts"},"region":{"startLine":4806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee1b88c2e2f529e8ceb76622cdcde2a82252f772a011537718e0ebbacecf129"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":4286}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ed3707cb91ddd1512141ee2b53c5ecf157f308948596e2582d2a87f6833b90"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":4288}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dd70ee125f4c101c895236d427cc3c081cb6a6bdd5326945e1249203ebb18b"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":6964}}}],"partialFingerprints":{"codehealthFindingId/v1":"5488c4349c524ee496be708627796548593f5823476bdbef5bcbce9d55c5082a"}},{"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":"server/src/services/company-skills.ts"},"region":{"startLine":7343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcecc1c9451d4d7ccde1da45fbb92d4bc720705c516f82d8cc7b3d9e8bc1096e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/composio-app-setup.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54a9301d7be1aa82023b9123534dedbeadf9cb86e1f8bd0f3ed0409018e2b33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/connection-intent-delivery.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2baed8377d1f5252b188a51c4f05a139c38a163f2aefbcfafc7c2ec02ae106b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/controller-process-identity.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"60938c2f4039ad7a2ec6fe66c13ae93e41f894ec665a593dd7d958eeec57b95b"}},{"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":"server/src/services/copilot-connection-probe.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc3e4aea975477e95c4b04558528097d03b8ce15cf9d8fc0d7f6ada0a4d9257"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/costs.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3476438db673c60d5344cfdb16ec11149f8d16619edab0f8bc2a2e5627f5e34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/decision-model-provider.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d4de287957cacddad9503c4cab0be815fcfa1a12fa8aba64b4179e505ad20f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/delivery-work-coordinator.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"743516fb9c1ee1a483c67e182ad23ebdea0e22e3def802187f52061fe62ed223"}},{"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":"server/src/services/device-login-service.ts"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"64edd943a102fc947583408795f99dbe1947ba1cd8b5c19b2a5157a3dc58e674"}},{"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":"server/src/services/device-login-service.ts"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0f4b93d9e111a336c223be88f9baef1f9fb77cc59e9df354138c721ca7890e"}},{"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":"server/src/services/device-login-service.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8787e76e64dae005a535050bcee5ea59b98c3dc452a65bd677c7b110794a0200"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"86af357c45855927cadc6d7f44fbd6e4ac72a1f27347b3a609aaf71f030b3994"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e8c90728f4b7c1b459ba2610960787eac639a3cc5c11c10eabda89932b32bd"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09bd8dd01a0d3523a1b243fa6527a5b8509c2560c909d9369fae6825e2e56e0"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"368c28217182501c03421f52cfe350defda2a743930d7569149428851ec65c85"}},{"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":"server/src/services/email-channels.ts"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f93b4d34031d487b2db2f1ef8e0ce4105549da916b3abee6a4203216ff93b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/email-connections.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0856320a6f6fc8da3023a955d5b7583b3975451d7f499c912be9905b9fd314"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-custom-images.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b97cd3a17859821ae772c883b52041c1c9b3bc2241f85350dc7ecedb4fb5d38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-execution-target.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b66ce17f57e6ccb5d93e5c6a4d7031e61366031c8290ec9d90b89f9927f7c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-execution-target.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"152ed5e1cc036620ee69232e27c7c199e655b502650dbfb4ab94a53d8120e35d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-execution-target.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1297aef6806a0dfcfde63ae2cdce0d2b4a8ae386a55da9600cbaf6c0ac2404c"}},{"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":"server/src/services/environment-lease-fault-injection.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"352d368d76db9542e3d7b2c67dc913b4e5ba3535caa361f7bfc85c02677db168"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/environment-run-orchestrator.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9aca635a50d3c8a075db8d3f47443bae78750678eca7dd473c245f40b5eddc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4310b65087573f0c5dd2389d521dc65a0de1af7c72524e5f7c99eacb71cff450"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0def39d37b0cf794a8cf3b0b650bb7253bcbeb31481b157dbd3206bab9722105"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"19af92d16eaba1197a9d740019480ff1a89520991b19d628439bdad33932f525"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d55b9383cd9348c8c5e296422c0fe23facefed335dab01e67fbb0fbafd6dcb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"308f6bf172ff951d5f949768821bad850e68d57c3ef71084286a45f405f95911"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cdd115002e8a2cb820375fa992b7523c457fdc5a48001c65cc93e5cf1b38fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2367cf4d3e418b8610a784790adc8a23799a21e3e21f6f8518c5ed6322c39daa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-preparation-timing.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d8fdca3eb8524745a3165cef24423f2537d5b130a4e97808acd94ac9385412"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-projection.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"d652a47c854973ca2d1e1de6aff5934f8a4e4eae5397730bbb8a9d7206eabc38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/execution-workspace-repositories.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bca4b9f56fe6dbfddc35af5d7bc50b737ddb51bee7cb7d2e5e38febf288f9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-response-provider.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8f8d95d9ab6fb7b8614e7f9a33c31f4870bfd986c94b99e994ebc147499de7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"d876f9666f666117d6b9d5fa86608a6d4700ec1b22fde56c022508625874b893"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/fast-responses.ts"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd042b9cc9b76997a03781633c56135198fbb5fe7fdc23c4741a2fefc72a4f35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/feedback.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa649cf9df0098552464fdf68fcd831c7f9353ea7f8f8656aca9e358f362cd42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/finance.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d76c6daaba2ddd24e303d8b9b542645901b5212ebe0619f38d91dcb24967c"}},{"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":"server/src/services/github-workspace-delivery.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9d47198427a6277e3b5b7ec5a257d60814b284e0bbe384a3c9a6f9f8b109e1"}},{"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":"server/src/services/local-ai-credentials.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da523c091c557f526201b3ab2414c8248f4d9475df9de7c93ee7a3079b607ec"}},{"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":"server/src/services/local-ai-login.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f476239d4af401210c8fb34dad77e72a5637b74acf8eff7d53bdea2d38fe72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"73671303017626ec515c8f1d2fc184a16fc5019e948e9aa2240559cdc6f96526"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e394e4c5082be4cad3da2fcad5bfee0b9787d31197130298b15f0eed66b9d03f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/managed-ai-credential-writeback.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dae3f11781165e24ebfdc830b5a8b3667e3c8cec6f747eacbc16446b3daf75f"}},{"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":"server/src/services/mcp-http.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef81592d7a22cac2d2ea5cda277e3c80b7df3b23e97f84789eda76449eae3b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-http.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73f4212a314a5f741d5c60eb9fd7fd5e06146b13ed3b431d926655d0905bad2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/mcp-tasks.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e22267698c7571489edbe0231f59c4f8c16083eda9d1f6bcee841c41de7a1"}},{"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":"server/src/services/muse-receiver.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc9cf3780c44c9477223310ba838fff2569a4e092fa9193ffc7fffc8a8c4c4f"}},{"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":"server/src/services/muse-receiver.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c87a11d69d08c55afe05a7d7a30d01aef0630ffa842a79d15dba5ccaa559b"}},{"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":"server/src/services/native-rest-client.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d572fb9c4a67e789489b1c86186c1d5e6bfc1dea9b9b3a7edc2564effdb4ee26"}},{"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":"server/src/services/native-rest-client.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fd91821d3a485576fd5cc99bc1c2d067a27f192dac47c9269f43d50f746a2c"}},{"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":"server/src/services/native-rest-client.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e06c9e4bb781ee710b153600128654f25e7e56791ade4bbeaf849f6ce73ef1"}},{"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":"server/src/services/openrouter-models.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecdc58362b469c867b9786dd359d474a1bd1b2379617cc65b72d119b574f659"}},{"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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae49d8714b6e5961e89c190e10685bcef1f5b12ae7617dffb0a7203ded6b75c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6751b9ca223864d98882fb38cdc7c735650f175fb4437712d1890dd5b7aa491"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-lifecycle-delivery.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a153d3477c11aacc7f2f6eb884f288ebb9e4f787f7faaf29f7a70dcce92a7d5"}},{"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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"de69aa830c8bcee9daa40bb32a1dce7309cefc659b1c06f9876c89eab783e3ce"}},{"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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffd122c64b521d31fc069cbb3d55dfb345681c00d65185b84d25f54dba1cea5"}},{"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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"3871c5707e483261b1eef02c6442786eeebcc7a604566f0482b9fb1ffd9476e5"}},{"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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e64d1ae60e573ab121def9baf0977c0f7da757c17d544ed3dc9933246e16ae"}},{"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":"server/src/services/plugin-loader.ts"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb133f71d462ffb4cf23a38acdc11566cf6dca72c5c8e040a63af8fd58ca15"}},{"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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc74330776d49239c84399ffc085e5f6fcc99359e1496910ac3fef02e5c987e"}},{"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":"server/src/services/plugin-local-folders.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b12a3e5957a575a2b6359cba2e7d563e1aefcadace2ad02d1b64ff7b4e6acbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8be2613fd30372242ed65b8c0f19cbcfc0951a510582143ec407fbf1aff46b"}},{"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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac5d7c11550babcbc51e227c29e520b66a5a495e2493002fca96c0443413781"}},{"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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5350efaa139388fc02652df7d903335933447025c7cd82d7ddd20b5cb9236c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2907}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde07f1ffdbec658f062c71bb10d9f48058f4ae0c07ac758d32d8573c731ad23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95c6a78ce12bc2745e37e368de134356b3beffd84df887ef50b523ab763006"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2965}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a76f5fd36e54d3d0b9d9b40a6bac42ff38f98fc81bc08b7975e5c514e65781"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ddef5cbbb475c7025c1ded01e5139f15b88119290bf97131277569a375b45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3560}}}],"partialFingerprints":{"codehealthFindingId/v1":"905984f1ee62a52827e2e407ad3ff68f2df75edbb4669d3536d73dc0ee7be769"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6882c2021ddeab1588b2350c8ecd896725d7525479fd630905be3b26076d5cce"}},{"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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":4305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b76da6a4a5e0305d4694a7e9f437c029fa1651d6bfc1c330724d806a3bfcadc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/prompt-injection-provider.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"998e2a4ffbe009d71c33197c7c40838293f0df6dc6b319705bcc7ba9b70a4c6b"}},{"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":"server/src/services/railway.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"27905273680ba03405d308abe4f0600f0e2a96db4dd0a96254341ae29a878172"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-mcp-pending.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebbef27366df4133f16115e7bdefd49a8512b3dda555eff0f0b974c06476c16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-cost-accounting.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31bcc61af3443adfbb991d92df2547ab2e8318724ff7daa0542e63edb80bb52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-evidence-migration.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"533f739aaef5a8f74436bc76d093106b5624e7546de9881c59251127bc1fe398"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-failure-diagnostics.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9400a933f62560e85962aeac06ab0edf7555233b2ceca8532a321b8426906b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/run-start-handover.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1f7e592d7c06009475ca4b86e8cca55b0a16d2c8956e043e4681d025fb208c"}},{"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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bac709d2a03e8134f7fccb67b87bab33ad87fc920c9f7b948ef1db6de52b71"}},{"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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f17bbda4af27cf1ae34636bc0519bb41fc2cef5dc6685e9181ad1bcd29f7da0"}},{"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":"server/src/services/runtime-skill-cache.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"911bbdd2c25cabf8867af15fa90f53f4ec72c88887fd457a2fa2081b00d19783"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/sandbox-disk-full-fault.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3654c4bfae01fdeeab34c50988daae4a64dafc91cb43bcd6c3385885ce252c62"}},{"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":"server/src/services/setup-token-session.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0e5bd0d201342e443d7e529663b3c914f60df50a0c60b91c0f859f66e421ec"}},{"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":"server/src/services/setup-token-session.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7d0cba8711ef2a46cc5ab95569984cfa2c30d79a4bc243bc801e93107ab0c5"}},{"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":"server/src/services/setup-token-session.ts"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ea60fdb4b9a71b15ef5393a0da1fc9c40df653c39084cdb136be4a5bc11ded"}},{"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":"server/src/services/setup-token-transport-binding.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9755e282e187e54d8df0605e8e41f1fb27c947e28d96b7bb84addaf6cffd915e"}},{"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":"server/src/services/skill-package-files.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d174261937784401df5286f8b2ccafbd927f2acb5a374705949f8faa4b014bbf"}},{"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":"server/src/services/skill-package-files.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82ae22b42e59925520c3935d3e70a874f129d44fb3949cd0fbdffed059aa995"}},{"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":"server/src/services/skill-package-files.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d9157c2b93888e2a38d2a4edb3f1c429eb17b55fdff558a4e9f532a410e4fd"}},{"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":"server/src/services/skill-package-files.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce89be98e5b4f0bdc9c8b04e57ee05bbc586710212d83eb1679deb2785bdcbb3"}},{"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":"server/src/services/skill-package-inspection.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff321af5006c6b079d197408ee270c72c657df4e6f6b7517dded61d12e2ec46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc33087e8a4b5764aec3dd9f22c6e897b0be266d6801508f91ba32afa595596"}},{"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":"server/src/services/skill-source-git-snapshot.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f188f566ddfea1a59ced726aa3c426a75ded85351fa8c5bcd85043200a93303b"}},{"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":"server/src/services/skill-version-retention.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3328a91e1273e9d5067518f20dc82e3fb07e2e68fa74fa0bb9a6876cefbed530"}},{"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":"server/src/services/slack-board-lease.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0673dc7ed46a9e915166e3b866c5226f9749c86923fd9b28f1d3f49a290d5716"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/smoke-lab.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"58892a77d494f1166d839f67d1c5ce7f9dd9306a21595f1924b92f5c7d77e77e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/smoke-lab.ts"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6b17058498840436ad1af35a11d3a83ee19cf2c85b06f44fbc8e5bea325d9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/smoke-lab.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef73e02562429db1be1d3f9306d9858a0b3dc34171932eeaf9534197960ac06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/task-admission.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb545e7f0b5e9a0bc269696da415882f00673f2de2a7ec1471720a20d67c6e0e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/teams-catalog.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b36c85038d28417bf4ac1f13dafef5dde8433e0cbd4cc4328c54f6caf67672f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":3432}}}],"partialFingerprints":{"codehealthFindingId/v1":"64da0c477ade0ab41dd2deb8afc2ad73a197d882ecbb3072bf51c710fb0c2fea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":11690}}}],"partialFingerprints":{"codehealthFindingId/v1":"16499711972abc98aeb85ded5d836fe15da74fb2374b6c4c47d4df3b08d160cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":12438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad8eebe83c5b5dc7ce76dc27d68c18e7ff57ddb404b52d717837b9e5f7547f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":12556}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dd9b1f5475028afaacab8610d423e4bcb0cd3d5e6b9ae3c0b4eb9a06a5a14c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/usage-receipts.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55f5d5f45a1387cf9cf57498d6efc146a421a63c41daf6372100cc516673269"}},{"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":"server/src/services/workspace-compaction.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c1d3eb1eac508274e4e1b24a05e0efe78365facb24429340d8f0ab0238ba1c"}},{"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":"server/src/services/workspace-file-resources.ts"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8328338c793cb0c1e5bf3757fc2479ae7ded0acadf645d3166d011906271da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-operations.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c69089c9dc27814d6643233c451acdbcb82156a0cc89b1bf739dd7f3ade3968"}},{"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":"server/src/services/workspace-recovery-work.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b338fa219ebefad5a04836bb388029bfe61df9fe3d7c13d3712def1fdefd68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5299bda41e425d844affd41c5a5e368c0313ac5e6a8efc67b32a4582f36575"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"591a14c86593f2e1f264562d93e0662b9d1859e2cb233ef5c90ee9ef51acf17f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4655554710c7b93b0fcf286ba83407f189b237ac5c6c11e4b8e09a74c20d87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2849}}}],"partialFingerprints":{"codehealthFindingId/v1":"193106ae948d7eb71724dca5eecda662ad130e9d6942ef15fb028017e57e347f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"66980df2eb719dab758431cdd925847f2ffd2bbeaf8fe5bed14d0bdbf35c406b"}},{"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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b5661dfae239d2ac155e0aa06be31a42a3ea448bd7fc5abed7ad90afc2d177"}},{"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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4312}}}],"partialFingerprints":{"codehealthFindingId/v1":"576247ac7bb635b5e54f859e375035ea67c2b393eaecacfe90587e3d6826b996"}},{"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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306aef6060ab74d8eb357dc56df8d87a09cf86033934b2a5e42329fabc31ec7"}},{"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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":4379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7048814cd7917d512df659f845dd4f65c365607e0a64a892fa6adc5077a2424d"}},{"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":"server/src/services/tool-access/oauth/discovery.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"936a6d0fb835c7c1947949d49e3822ec343522ab22eae2c6450966f4f8a1eea4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/catalog/discovery.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1e15483c04c95213b55e72ce2e30aac0c043d2d836bfba33cabe64ccd08a5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/exposure-manager.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"506b04c14d642c208ae8935a3eb41c8c2be70116d6464bb09bd187e9057e2013"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/runtime-exposure/loopback-listener.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b1952f6ac252e0347a9c625200a7d600ea633a00b6a705d85c2b56b3e7b8d9"}},{"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":"server/src/services/recovery/remote-snapshot-ledger-settlement.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fc6671f6f3cb194dbc4e8fb2ae32160134e848bb0aaf4e25e35d0ee00fcc2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/capabilities.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c14bde3ac66ab4854ef549532019ebb4916909e8190271c8bef2291e00e022"}},{"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":"server/src/services/public-mcp/client-metadata.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b39b822d6cede20dca2d4a1760a98858551def8fabcede0a9d465e395121ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/dot-runner.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7a6f8549415644b19675da98b595195ce5e124499df3fbcb47ad79d03af059"}},{"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":"server/src/services/public-mcp/event-webhooks.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01161e4b379bf39dc9ec225408e30ee3236b35a06c37f20903e3455d16253d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/events.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0234f406706822c78713a2920988b3b07a8c699dd5fc0d8d547ccd95f99a89e0"}},{"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":"server/src/services/public-mcp/events.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ea90e158cc65a6f8e8bae22de376658f8b4e8f7d2c4407673371ef56585c26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/public-mcp/expanded-capabilities.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9700c97ec7d5719e29b5d06b5bcec183009a41bdae8c2d7a11a8c13690546b9"}},{"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":"server/src/services/photon/adapter.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17d1de745b7a196085a2a104ea30655e26e4d0ca63146075761dd232ac03c8a"}},{"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":"server/src/services/photon/adapter.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0329c1de96d43feaf6288a85171f29808923b0093b037c43a91bc666d9ceb4"}},{"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":"server/src/services/photon/cloud.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0fdcb793187e8fe4cfd50fe7a8cbedd1c4b70734d9a7ee10879fce23298221"}},{"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":"server/src/services/photon/receiver.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"90236b71931c72d7e913d1bae38919f2e908eca636097dc93861ecd36680de0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/generate-image-tool.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"26deb2cf7a9c15c74a3f63aa7edca54b980e4a3f3faeea1e5a32a69fa9a2e532"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ea536f64e38524c372cf1155534624dafcc32f1545f0b4bb0944372f37dcbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4630e14482b72c17b05b52b8f0e1338df51da1e1894a8a73473d185808a6af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf41845c66e3e45125fb39dd09f266a2099cf5d1057322ffe9e8cd295ad16836"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-codex-runner.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4f565338f68a3efa821d7d075be4a1f72182b105a2150a9e221d12ffab9e34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-harness-backup-stamp.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6035968735f1f2ed6d0d9e3df09c243f843a5e4e1593fd5e30ddf5c7447b24"}},{"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":"server/src/services/native-runtime/native-provider-artifacts.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd9edef1d36b333427cf92243a0e78459d62d24c60782b689bd5dfe01f54860"}},{"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":"server/src/services/native-runtime/native-provider-failure.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65e6fc7b469037f70848700bd23ebd87e51e28cfd0b1d8e5356b28b9c6928bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-provider-pack-admission.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29f96d80b705d0c7c258590b95bddfec8c552b433c3348cee12e8b353d3cfa1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-reconciliation-timing.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe923f57a8d87a5b7d0627e30b529ef86040c943aa53c2ce8d4eeaa8b9fcb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fd4eceed70134dff856c339712dde81fd069796e64b84693363e4b6a7b81d2"}},{"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":"server/src/services/native-runtime/native-run-log-export.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b720963e54555980442a5eddf52ff4fa569673631ab934feb026172ee5b58e02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"970d614992ccd685d17cc7ea7e12f342218629e1a62747aeec7b79759a943d4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf0d3de1ed816754275f5b3f8b6be9d7a804491ca0be03be6ea9178547b7fa1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61988bff87f235e40e77f092915c7bbbe68da6e72a55984dd45bc174ece1027"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd22f0631d4b3ef299883a0801e5e1ac962c21fef56cd479a955c508eee58bd0"}},{"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":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"99063b2ce8353c62419a97c129ce0da7ca6f0b4c4eb72c7b1f64121d83459207"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c59b485c0a9d0a738c831bc99252a4c0df7a72017c43f2334bae1becc24d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce71685378b5cb82637d865438d36e63971814db6294232926285d141312c41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"63203548f74664a45b5d04d06bfe6ee17e1414eb90696cbad05091dc69a84739"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1833840ac10fe7c0f62acc6afc64808fefecba4b4bed3eb3dc0a7327cc90f4f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4741987b36d5daffc034d7dcfcf06683d56983592c01bd690a2039d98bfff3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"8159119d99e0be435152059c2761321396539e39fe63e7fe4253f593956af538"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-run-trace.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"58eae7dcd1fe5b6be7ddc214d7bf395a70654ce7c0459d0f9c2d0cfd2b0aa2d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-runner-file-handoff.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"934ae799b02d0a6359da7f39beb71d21fc12fcd75aa2a2c2c6ea7e5e76e55ecb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26656f98f5b48e93dacc8876f7548ac400199c0f23209a1662e94b5f5e81b08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"63df982b8e91dd4cac8c345ecf5f88d0028cf0b16f551dd146c0591c780ca326"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":3924}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e5a0434ef22da35d4bed947dae1d39ae38e5ee66832393141d4d8346eebbc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"b300190d0e38181245018c839bfde1b4e8553f9d185b6a742e56d6b522a99731"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":5428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fece43b79294a1858e15d73026981f7488dff61ce6b279bca4cd09b9dc2990"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":6817}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb730cc46a6106cf677f35bba7daa0c215935008e22c45fa80d39c6c041e84f"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":8307}}}],"partialFingerprints":{"codehealthFindingId/v1":"601bd6657b8eaaeeeb8bab652d75208c0981f9229f2c094881e82c374a8751d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":10595}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d413e43c2c81280dc44132ad3cbec50da0130bdeaae7f018c7f03dc7b63161"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12777}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4259bc87e79b1ba43fcc8fed2e77837cad2e42176a1915eb20842d522a36fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12784}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dc3b2e591ae7c02dcf7b647315bf6a7bf4fd041a7c6cca6a16a26e8da6d219"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":12798}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70778eaee44e802e353042ad743e343cedd54fd2aa21dcadd3b5bc85ba88c87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15021}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d3eb91f5e8c0b8d80e33b871462e61301a6f6c4b670186472bab267aef370c"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":16255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292e640a10076f9521794a37a90562dc59141b352f075172629730d49751459"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":18785}}}],"partialFingerprints":{"codehealthFindingId/v1":"d606cef6f35c24ef485c82ca5830b4af9f25a066a0a559d8f6c1191f205dbc78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae86dd6ec0d03bd7ad5809412f91c6119a265875591768da49e4eac019bc093c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-export-retry.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb3ad4ecc9d93e62fc4311d49febc9236f79baf89f3133607db81852ef87ea6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-workspace-finalization-ownership.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ccaa86181765dbee4936954b101e5a3740571beb64de6dddd774b7379b4945"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e632088d7d2b313c8fa8504c3dba3a1fb84a9497368286a2592ad7270a0495"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f795999551349b8f095fcb9a0f8cd0faf26098df7789f1cdb7bd43d07680ab7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-control-plane-port.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddadc4b0040952665a4b5c65ee7aecec3989106656dbd1797be5b7648e0e273"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/paperclip-runner-tool-authority.ts"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eb04440686fc3f2e1da2745fd0676fb985f8392c611af39ff7c37a83ffcf5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/plugin-runner-task.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85e78759321febcc80c69c3aa6dd3c026b42be8dc990adc36dd8352d1a0e011"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack-authority.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7147e564ef17af0bbb3dab928f701d737bb4edf603d47315de6727d7c1cf1d4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe2661ae6827a75b2dbe56b256c78aeb0148817317d20fe35e652bae2e21bff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-provider-pack.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e572562692f433a4c5c44f059777f8455b723081917e83b6595dcd196287e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b6c5a4d8599385a6db852a1ea4e349c3df7cbd8cfa657fb85d19baf906340f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/retained-provider-cache.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0faad3be5aac1c0513cc910ff5698f696a1da28a62baa2921318b976a6cae8"}},{"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":"server/src/services/native-runtime/runner-api-client.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"293933425c8a6ff817f9f8b2f15535f9e7296135a549052ee16541764bac2975"}},{"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":"server/src/services/native-runtime/runner-api-response.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e508746fa7a41bd36f31b4381ca162c026cc5c543d1ff84baea52a6a995c0548"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-bridge-tools.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd00402b2db85bee7c99a5242263397c2b7ef845fff86d767c62fc8f2b0d6ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-bridge-tools.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b90fc74cec41af8832e59022db96867c5edc0e6a16554e328e08723eafe471"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6da5909278d32b4f8dfe3198a3570f265ed3343e4beb805e0789ab29bb64c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b4c11fb9f4a6661389adea68d45cd40c0defd5779e5eb006b662b5b94e789"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11d2ee82de5903ab950d1dfae52bbe67e1420afed40ae74709caaeded879caa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc64ffc0518484f9dba2cfd66191700e1c1e4ec4afdc666c11c4e70f99a6856"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/runner-operation-timing.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7767b67a417e541c342e803f001409b69aefda8e56607613a6981210ed3c77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/setup-readiness.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e7e6d9271284d728a37d6344b6234643aa7723932b28e8548da9dcf7382942"}},{"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":"server/src/services/heartbeat/queue.ts"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54bc1c569ecf19b56ffdb721ed1fbd1d1a973128422ef922a81a744dbc56db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/remote-workspace-source.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8da29115cc399845c94936f04a619f9a95b91f290acd11d1d2c1b959d35a44a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/heartbeat/run-output.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4aaa529a829fe5107c2d4b468d5337f1dcdff99f0db18012c52985f623359e"}},{"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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"20764c4219a02fc3382c10b04fa4ac434c722c17cb12c5fd85ab18605843e57a"}},{"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":"server/src/services/heartbeat/workspace-preparation.ts"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"d301b52dc02875162fe475c5d28ad4ab6172b59ad72ca6f3420896b56496f708"}},{"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":"server/src/services/grok-bot/webhook.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf163eb35eb18c34619b88be88aabbd7d20c684bf7655973fb3ceac28b0e66"}},{"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":"server/src/services/connectors/slack-client.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9606e46ab36bd8bcd805902db10a4e92000a02fff0b13de77259fd20bf010dd4"}},{"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":"server/src/services/connectors/slack-search-context.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3124087b3e0ab3fdbd23066e99cf42e95c073d48c7e9d71b68072d2c4cf511a"}},{"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":"server/src/services/connectors/slack.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1936b5f0aaf23b05b329e2621001f19d28362b669c373116980d697a93431e4a"}},{"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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a64fe1b968be9a7b784d805bbb9c5fafd0f72df64e474778d5f3d11b435b4cc"}},{"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":"server/src/services/connectors/vercel/index.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"382b190e052399b8a6aac291a8e38ed772a5a9c7b081a1cd0675bde352ca47bf"}},{"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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a434f2447ccd44b9146705eb42ef96cccfd1c157bf2b41d49200c3215ea4fa5"}},{"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":"server/src/services/connectors/supabase/index.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afb2aaad987e42bd2e181e0898bcd313412f1dec356e028a34f7b38938eac74"}},{"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":"server/src/services/chat-channels/slack/cloud-forms.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0efad98f1b826e9d560b34a8a29537e9fa8dd4dc5bd85d93ad1d4f767529ee1"}},{"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":"server/src/services/chat-channels/slack/form-idle-history.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2937f5baa812248ae5a46fdab2a641839986548b24873410985383f580899608"}},{"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":"server/src/services/chat-channels/slack/form-idle-history.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fca8dbbc849b878051fc6ebf6cbb4f1df65bf4014d22782ffe7e5061014d06"}},{"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":"server/src/services/chat-channels/slack/form-owner.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bc5f7445b8e264f1ea474ef20c31f0918871fc50cc59932afd793166e48e64"}},{"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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0325a323c258968f2fd79883bbec9bc98a271d7b7a40fbfd816325ff59467819"}},{"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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f1ef7ad117e2e8f053b52318f5d7966e27d115b0e66174e7474c0f2760b50e"}},{"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":"server/src/services/chat-channels/slack/idle-incoming.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdd40938a6fd23c2f56fb94933a39e665a3084ccff08f4322ed57b885ae77a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/receipt-timing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb6e262c0e794255f84d44f948ddce2522c32af355e4b8edf878239abe9cf70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/receipt-timing.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d0342100b83a97fb127c216378d7da07a70e41d0215d9f36fc7803589ad867"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/receipt-timing.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8ccff2c9c752fc8bc044720aba7510726e0176ec0d744aedc1e7c48f16fd02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/slack/task-start.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88873725054e5ee9646b1e59fdabb35e97150cabe48e7f384573767af6ae84e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/app-setup.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f06a0f5403a1649f84ae525dd2a9138cff90a2a846afab168ab7ed39a3580b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/messages.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f69a93fda34123aff3bde446231ed1b9788db1ec176477c63df8a12a922f1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-authentication.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f793271afb3cf24c05c715cd009d544a4796fa4a92de777afa27403754856119"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-channels/github/webhook-ingress.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b93d307a0e262c718e8ecb5d188ddc8598badfb9130ab054cfdd839e0c6ddd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"187492db304a8b6a2580737fcc5de7654b930e10b18d7be9a2aaee36391a7a93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/secrets/local-encrypted-provider.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a506e3237aece496b9a4d7d43b33195efe3174ccefd85c2c985d156e2b3714"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15aceaae81e5ef31351d9a7f8c95fc85a6cf3225443e963f43cfade72944ef9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34ad55731e5924c9c2a0eab3a32d76585f150a2b20c5e4cc352e30a0c6d396a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0395e97289c71b7b34bc7df79829cadf71afc1fd744ebac307ae0eb2c17d5101"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6b48987f5122a1a92fcad7e4dad424fb194bc70ff86029f6f557ffb4fb8d31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dd22ed062f30589181ae2fa6e07877cc00168501634ac1aa04738801843270"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"284fc325012989ee10dc46f90ce63157e001d39e43877e53f1c5b15e3243b4c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/access.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d0e35949f1849141f0f6a45864366109d58999109715cd3ca8c64727af2339"}},{"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":"server/src/routes/access.ts"},"region":{"startLine":4317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e43689190721242059c4b0be29f7e99431acb8c4b0a1fe5570221952035e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/adapters.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15bd47a2a7b03059474020590a84591dd84c03fc571d6d3a0c3b4ada251f71a"}},{"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":"server/src/routes/agent-avatars.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cc11e1135fe077ea5573773707def0be8f5c1345bc05ac5ac62098682e2abd"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"49706c489c1839e8e2be01227978cc936465847e863845419e4bca8694cde12f"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232219b4e8f290e7fc288779594043b2c01534e9d96d494cfb06931dd666b96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5d08d5a614b5bc962590a8478a58331eb91180a0af444a40154ce375a4d36"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac2ee5089ab29f66dcfee1ba98c1adfa86b816bcdc553c2d957c5e474efaaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/agents.ts"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d99be4acfe25080937f5f3225ab9d210112607877c88116d7a330f13893fe46"}},{"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":"server/src/routes/agents.ts"},"region":{"startLine":3786}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e86c66506389d3bb7fe61f12a7aef906feac2f28fc45980cab99e882845169b"}},{"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":"server/src/routes/board-chat.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd839a8d9497e0c5e08946fdb6a96000c14aad08d6bb21897e97ba5cf4dde010"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/board-chat.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfddb069b8479b2282d3d3fa3bec1940b80641d9028fbffb2dca41103bfaadc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/environments.ts"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77d23b90e6a8ba51ab14662d7a9b7ac7f8d8bfbf244a6e31f4451cbf85bc9bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf5c6b54761c88bf6b5d73906c4bfaf1427e9f32cee17333a9f8f0bb20bf136"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/execution-workspaces.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef4bf553ed89b4760048af7574c1767553f83ac5897591833f429cd02867f33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/muse.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ad486b260ef97cd836bfa1af1b854fe92254e3331247d7ba5a5340637ba8a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugin-ui-static.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9fd0f8850f95345440719033c70c30827488bfa4be7482b89ee7f35064ab9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"969588888f3f474df5ca1612a25983f714f1936e78070a701f8bb173c331c17a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3044be0acf4879767d4b83ceea425e5467af5173c989fc8ed0e0c27220cd8998"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"310fe209042a1c89d6d978da7de26e70f72e3756fe910ca6ab1ec0cf0b38c662"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/plugins.ts"},"region":{"startLine":3197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d460333a2648ada697c51d0ee43a6c7a768e7d1115f9b36526bb8f0e9699da86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae852bce6c012c18ab15bd48cf06d49ed9643f89706d72e04d6b74052c42fad7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3901987757ac84287eeaa0b926e9d60a4bcead751130a42d8de2336dc2765c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/routes/tool-access.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe92cbaba2b08ea85c8a289dbdd744ec9033be31aac6b87c1038019773f1360"}},{"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":"server/src/routes/tool-access.ts"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"db67dd2400d12032f82801baa6500fde663a77250d7b88565316f72e4af4d2c5"}},{"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":"server/src/realtime/live-event-delivery.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"037c35038c52b6fa7aa1554c7fc666e71b093975250b56200f3d118f4ca89f04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/realtime/runner-prp-outbound.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ded780c487a231525c2fd2c9ee251c074784d7c04bf93cb1c4970459568916"}},{"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":"server/src/modules/run-dispatch/adapters/postgres.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d047b7981182d12f75f1fac64fc0518605ef72a37551ff0a9605a65fa2f116e"}},{"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":"server/src/modules/external-agents/muse-verification-work.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8053ff7dbf1066ba03968254bbbb318665374b7e94703587b5abfaa09c3210be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/modules/external-agents/muse.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"342727f9fed700662f115b60947d6cabc8be5f88a8b0e7bc0398fbe031a2d07d"}},{"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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"141d66d7bf2af3be4728a48c0b600d341d92da6385736f11112ad3576aeb7277"}},{"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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f451614a504dfa363305f26e87c07e3ecfb9a6bded927944e79dd6a6c6952a"}},{"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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59e461f73a70e400ae97319d82e6ed0060e11dcfa3c3cdb54777d3df3256d68"}},{"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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b61cac93f7d05bc36766243ce31bd8ff9a1472b7ef2adc4ee7b40563bcd46"}},{"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":"server/src/modules/external-agents/native-broker.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbdeb6e97b4c42b404030e38fcb653d38d85e4b90be8bdbe84678e69b8de9f3"}},{"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":"server/src/modules/agent-lifecycle/index.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"37210a2e3e152a85e3e4d1cc09e4cdfa2b57d96d0d81e4854df45eb0f1d94e19"}},{"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":"server/src/modules/agent-lifecycle/application/worker.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7900a3608d9beabba5484a60b0e61296068230a881b10fb3b3981482239647dc"}},{"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":"server/src/modules/agent-lifecycle/application/worker.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b129b39f63c5698bf7f08f844b2ecb91890c276fb38d71a5bd1b908538e0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/auth.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"696b0db22eca490d84275b5db3870c800c3f0f45efb9e7e3f2dbba068fb300b6"}},{"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":"server/src/middleware/cloud-tenant-sync.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5462c98795e5655bb166c14df92f4c635013f697d8e6a59d4c74f0ff4dc7df25"}},{"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":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79e068325afd1af043e127197df01c293ea8bc80ef5f657dda92e4d7db086e8"}},{"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":"server/src/middleware/http-log-policy.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837929d4b895a48a77d8e1eb24dfe8ae7c94eb79c9f7be79a1aec2ebefc49b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/middleware/redact-sensitive.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c516bbd7ee2f56f18612018a94484bc71cfd36eae0ae56337af668821c203749"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/lib/agent-runner-platform.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f54c16489aa98ac3364d186fffcefa1a2e62242c6422188250dadf5829d81ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/auth/better-auth.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d40e97414b5f03bda16fcf186c2b70fc204c65186015c457f0aca5401ec443"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/cursor-models.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf59b10665a464406094133a5a3d968593d4ce34cad66e355b4cf1d685bac99b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/adapters/plugin-loader.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c7ece2edb8d3aa0aac03763ff4f31149f594489e92803197ad9d8e61e15324"}},{"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":"server/scripts/dot-runner-demo.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a4b6ab2a772c4385edf7a30eb85c6486b48933f6af0f9a659ec5df3b0a7c3d"}},{"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":"server/scripts/dot-runner-demo.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"623656a3b3d78818b70328248583154e31fe8de03fe9fb2cc64cf17a565d4e78"}},{"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":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39c867823fbfb5cc54cb7bd0237c30f1d09b77b61ac91105a62702a91b837bb"}},{"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":"server/scripts/qualify-opencode-cold-recovery.mts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8df4a66a91f92f391afc15145385c81357d0d6d79d4dbbdd48183953c4918f"}},{"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":"server/scripts/query-cost/drive.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0858e4846091bae69d8e3a659d0be97e6ad4b3b4e6f4e68ab73398d98d13bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd32e49f514fdb2838e49cf966491878cf3a2599c426ecc0fb88049dd86915b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40773fe1e0518625d2a24e62cb64ae52bad577f7a9cfd73b1a1f0fc66bb1d71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/scripts/query-cost/instrument.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bed7d83b3f5e5d0beeb6bc83490d329800920cb94ec84827d9daeb7d3fcdcd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f79a421b636c2943ec4ce43649e624bb769121481bf8b679dcd828f1daa891"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83b4f9ee942b23bcb35f669a0d4f1c101e8e3dced09fe3a0ea366107f1a2fe4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"d269f48a032dcfd49c911217bab5ccca7af14f7c2056cfe6168b0401bb287beb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tailscale-https-broker/src/proc-listener.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6d308f27b0b99d4b30f8c0aec277a1d786a275adca5e84a509a40313f6dfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tailscale-https-broker/src/proc-listener.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc447ef372b4917e56fc854ca633dea24b7b220ba587915c48e509b3373b8f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/tailscale-https-broker/src/socket-server.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8232ce93207e05791b95d6c7e46cc4b93b7ebdd5b307a8cbec263d70373bc100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/crash-points.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f4b260a1324cac2f6b66c14346e4543e88fe324195413a71758b2782645e8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/crash-points.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"accb9510ad811301b8c9d87ac5b97d54f4ecf3e97928d9b4c7bc6156697d1be5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/crash-points.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"465c0c90520c3c57db3ac6f1fd60f81c767ce9078f7af02027461437babf4f0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/env-file.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"278007c9c3324ac92d05629a11b3b59a03f9947382685bd0b027ea67a50ea1e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/worktree-port-registry.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc487c41e4992471694f0df48487b2d5d1dbe7120fe726edec9724ff65854bb"}},{"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/shared/src/validators/secret.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb2256bf47c19c233d34ff03ab4e992c7332f20b2c8038b82b30bdd5fa7642"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/telemetry/client.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffb6a9cf13d05086f852f8ac504c1904fc0973e6ffc7d78ba82c1539e5c04db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/shared/src/telemetry/state.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcae68920fa2280be2a957e80d0a5cd14c9cff7ea200791e8456a9fbcac2e2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sdk/src/dev-server.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa3369a534a1d6f106137c7880e228a0d1cfebb66a22ddd09848efe0409ba9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sdk/src/invocation-tracer.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9900973c141ab583092d3458eb6be3b4851e8d25e91d7095e7db50e689ae7c30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"1595c7fbec48d4210c956bb55b646329afe983974df21a417362839947883a8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sdk/src/worker-rpc-host.ts"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6f907b1e969fbbe3db4312f642f43f8d630e0573be14b90f3f5555b9b6da39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/modal/src/plugin.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e520e226b28cfc6ae359ee1ee44452eca0cf70d5cf7a5326f08009255a5db296"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dbd562bfcf25e7f42d7867865d9532c7639def74ee7e7cc4f53eb211548185"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b6c9dc80dc4a4a0d50d0285e4d17a63b6053c2b0616e4fd75dac20a7fc9c18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"840167d6a2dea9b1aebcf110facd6441d2b4fbb16cacf3505a4145f30cc00fcf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d4cb936264cc6cd034b4d212af67a73aff503720d880bcfadf73fefa4945c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4a38d2932d4e91bc7abb1b18d5274e9b6789c3772dff2d7bb2c357b4404625"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9266ba6698d638094a9c66cc0792cbaaee9c225eb9b25bd7d7027afe699c0e9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/kubernetes/src/pod-exec.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"667413aea754925076bbb54d92cf0b5f0731446a85be1eef00e32d213cf62819"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/e2b/src/plugin.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf45f20a99aeb29fd696ea9113f93391bd61bfb7c084f2e69b48a714247a36e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/daytona/src/file-sync.ts"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c693c2bde89009c02d043dd4b928d6239c65f6f4250adcf0c2dc02786f224321"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/daytona/src/lease-tracing.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"553041441ff4c2b3679b2727d85b6db43f975002e946c16b7372fdaa14b53e70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b4bbc38c633a2e12fe64e641ae7a02f44d87d450ee92855517b7841b74b750"}},{"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/plugins/sandbox-providers/daytona/src/plugin.ts"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698be9e089c4160f7306d0da5b163c36e33571f8f86cb11afe8443d9b2bd84a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/daytona/src/session-stream-exit.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"de927cf21d23ab9f588cab29ac3ea0928632085d8a98c82e4b46356b17663a53"}},{"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/plugins/sandbox-providers/createos/src/request-pacer.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0b6ed3cbe6d5be1eeff26072b342086e940897669a58798a62208b8ccc6bbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/sandbox-providers/cloudflare/bridge-template/src/routes.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea12eca53de7daea952d05b488202f481df54383b22c8048337b5d70a52caf34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/plugin-workspace-diff/src/ui/index.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c600b00649dd60611480ab170767080c1a37d2397b8214a050369e5848e68a14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02c21656bb9b2f192e3424544428d1f9e5f99ef766b7b0690047ba2fc1e0aee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb083ff76ea5abb601ff7583b21fdcd74e40474cca598f68c7e387479fb46afd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/plugins/plugin-llm-wiki/src/ui/app.tsx"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1d408a3457a1619286a25e629c6f5cde93397f79c0c19b9a45af8f69803e1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/crash-point.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd1868e2b2bc04e1d3273418ec5f064fbbc973486e6eff4f35c9080a46df119"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/crash-point.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9949ca27eadfc71fed7dd59c23773630b859745b028a20afadddaaa1b3022cd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/executable-digest-cache.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbdb9a50bd6b2499c263e4444af8099394cdf20b23e4de70416fde52ccc2ca5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78ce19b3704d93814990dc232d8739159708be8c117e9dd8fc3c412dd66d693"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"680fc55eeb14b5dabca4f7502285b15425720154740faadd30e6e8e8c768223e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b294e7976a635bbbcc5d774300f383b842457fe9084400a92fc2c0fbfe1c35e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88be4f1074db9e7d05e8571e6767cfb75b5f043d178ae427ad21cf8930c8071"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2832}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c12ab6b18ddd30b8aaf682857fe96b8d204dff6c3ec80326e90203e02a400c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"c912bb7393368ac2a56619465f6a61cfa4c249bb6b20ce3fab734af1c965c3d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5f5e1fcb61a16ae3332c2cc2a04ed7f0e8abb292d0a5e144e2e85ac125209a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":3786}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6b8ea57519e2fb5e91fdc25c8b130de25705300a29efcaf4468f6f3c00bdf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/native-session-runtime.ts"},"region":{"startLine":3844}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cb579e8c1bb126657aecce9245bb7f159fdcddc3a649b628f281d1cbe3349d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d36270970fcb6d665063cd58830e4c8924f290fe3a54d6a3e05d42b27b457b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/tools/capability-semantic-tool-runtime.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"b123fd8384bacf22506083eab810b76d78633b6258197a7fb4dd363801eb5c31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cc685ab54ff13157aa50a4bc0b16436c50881fbd98e9fad4db91ee792124c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/live-session.ts"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"146b569fa531e6a805c00d5f66aa37ea9b7e0264b351fc584a57bae9c34747d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b4e83c4b90fe599fe8b08414d6a17e27caad30f47c5727a625eafd736f06e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0676149f8c1755a8711f86418acbd44151410d0dca8bd1260adef2c0ad040ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11f5006ae8b4a6d24f9cdf92392d5b82074974667cd3575bf1f4f44e8539c2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa85c5f54ee344a4851fafe5a36fb2cc1bf268df3decc0b0ad30b0cd112c6b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91e6428c8991b01e7f728186ab9d9380b1c6f7de505f9bc4580b589639d64a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43125fd62b8f676741f70b697be1c3e15bcc2717fb9580e172d929bd5e69df9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":5950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee26327d2c7ae1c8770ab80286e8593c796e103c861b1b55ae3e311216938bc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6017}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97db7fe83e02454b0a3d869772a1f67b4053efb2ce14daa9de21e23f1bc78a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":6435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f418cb6cfdea5ca28af0b63c1c3fe78b74b0eb59b681c91f03ba9dae8cab089c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/live/runnerd-codex-transport.ts"},"region":{"startLine":7952}}}],"partialFingerprints":{"codehealthFindingId/v1":"df20e0bae56bf5b4657503aff33e3716e67106d91404c356cba0c045362b9323"}},{"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/paperclip-runner/src/live/runnerd-trace-frame-index.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0797324f2492e84dd346b168e06061c84246b0618c8a6f7c0ed63eb2522406e"}},{"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/paperclip-runner/src/live/workspace-file-reference.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c60c7646268f00e7ff8ed13980e8921aee2f6af81031a4eea7486df73b8a29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/agent-observability.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc56847ccfd8a747dff602f7ab539062644aec1ed182841c1ab64c1a2e455b12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/copilot-metadata-probe.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"84530a4d0554a90ce7d5ada692b2787291d0043718fba6217444dd79b2d95ec6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b5726eba1a25500f53015c29647f1b138b47802d430251ac224295cc039ac0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"902ac4728e0de5b444fa1b2e5774c7266943addc55a456fc864d5a63afffa30c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/runner-tool-bridge.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ac7736c378c8f3445c6ded58f2c7c00bcb0098497cb57c87e66e2ab6e2a173"}},{"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/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61c4d0c0bb0625e3625169562ea650e0f724f1f867dcb506e0b0b9bbf6cc19f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"07640b9948dff54320a65ff06261cded65bc86cfd5fb129c5c9f6c0a13735ac8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f818b9c579e8e6a849bcd1f783a4ee412b6a904787b35d87baf2a3085d4091"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9824fa145ae92eee5e70db1b67b6adf679db2ea664f36e585019460ff83c668e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fbf06c7d0b5b661395fb8421a329d0991a18a32e6cc392cf8cb435ffe3d17"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/mcp-bridge.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"96351a8dd501c9d9bded0334038c544e1007d52d01064fa67d55a7cfb400772e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb3e0683fcca3c87504513135bf5a7fb7100d97467535494a3a43bb1dff4e44"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"960977966ef976bbc779107915c0681a10f8deeb0fa6ce1d439324b9bd0716cb"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdb548a315f9f4caf4a05c5eb6fd6c3cdcdd2a933acd6590b571b326cf3de4d"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"38886424c623b8f97f593ad6cf92de1c726d20c095bd3981bb4b6c9151c46785"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"272dd6cdfffbddbea9ce7a4053023ab55756b3f0a110529c293c2fd63bf429d5"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5c81d31e28924b177f3aab09b0adaa27e05780f9b3e078c59141ea18d88f18"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2965}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3855e9194134191884dcbe3c00cbe659e1cc522b7000a939ca05186c6b53d3"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"7114013d85597602c0b58cef9236303775d2d9e385713daa8ef24746f872b59a"}},{"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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c7b80a72575768275dc18d917ff0390d956b904b63c6617c1f375094770d94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/opencode-server-driver.ts"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b167e6a7c3ace16de6504abf063c1b0ee801c9aaec3d683d6019eaea79a743"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/upstream-served.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b96cf8f41f6542cc64940edb3ea09f2bc72ec0a1cdc55f9a76e9568ce42bd8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/opencode/upstream-served.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761801ebd4db30e711de36ad5cadaab84f99fc9039f70a2059e68e5e305dba6"}},{"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/paperclip-runner/src/drivers/external/runnerd-external-driver.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e094f509b355ce96bfeb0fe037f2d872835759cb29a1dfa26a823ac8c5a81fe1"}},{"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/paperclip-runner/src/drivers/dot/dot-harness-driver.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae508c1be34e69204d4946adde8563e66d83a47bb1d07b5d20814c23b64e178f"}},{"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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c881ab36fa5d74415680e3c1be391a252f903d51d3a37e3ce70104f6552aa4"}},{"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/paperclip-runner/src/drivers/cursor-cloud/checkpoint.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f0b4e457fb1ad9aaa3dd58968dafd64bd67e7549519089063fc6359fe36f1d"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"82663bf9f98c5b59cf91fe3bce5d6b5bc0cb0db4b1943d76b7d46f9c490b1ff0"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d825d5e6be49304aafdebb3cff05afbf60bba9199f5d0cc68d3fb56488bac7"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a99c60746be263f9fb747cff882f69cf756ed9969299f14ab35f7610fdf01"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ec144b3b52867b2df3e57a58d6ed35d4539d92bbaafe958f565276efca52da"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f206d11fa85b898c2c307617862ffc6c464e3ee2b3190e371808e97e404c72b"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a66e58d678672a78a6e41d88c112260c9fc9a95a56939a4b01b624d1186d2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/cursor-cloud/cloud-client.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd14469b2ef8dbfbe47b0d8707e8fdf52f82662df00e97050437622c5fc8a76a"}},{"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/paperclip-runner/src/drivers/cursor-cloud/cursor-cloud-driver.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f3e609970316c9985995dd889435809d6263479a838ba9baf7e4a338939c39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/app-server-transport.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b5b268ee50121e5d311ba0dffcd1ff32ca8b173b26831c25b3bde05a151229"}},{"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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd773c5498b7697fabb6cc27d5bd68cb0c06398782f51660de374ff73ce363c3"}},{"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/paperclip-runner/src/drivers/codex/codex-app-server-driver-impl.ts"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffc978136d4c062fb43e46a40d2bda670281ffbbbfb87b7de2b51e3ba72c515"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-command.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9b9f3b87915bec9ef744c40bb57c14012bf3e0f7effb772e1b8a89ca24c56d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac87cd8aedaad513e673a4cef357bdac29c1a9b0c2fc30cf960675fdc63d958"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5350d7a910747aaed1137f4d2e56d1d0d3510ed63494fc93cf91b9fceeff2591"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"db60695ac0557419374dbb34bfa61933d92b9d97dc62634e1cc1228577f81da3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"127b25c836ee876ad99cf8d2df65cefc1b017d8b2806f8397192f3cbd01e8276"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b54085044e2e5d4e6f2dfa824d83f63548ab1a22b27d58605904b6167e25e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-session-notifications.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fc3a3f9f373919339226e64fa38519a58380b4e7fb012b1ed77e5baa259cb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/codex-session-server-requests.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"524cde36d96775815045b7fa9dbe242294adddb6a10d0b238817e4ce22bb9318"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/codex/provider-failure.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ac518361a0fbcaef8967b6f7f05553d9caa81f9f1a1a1a289994dc4a93763c"}},{"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/paperclip-runner/src/drivers/acpx/acp-edit-context.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4008e996588c238acf4fe9d2337c0f4068ed1548e0ae6ffbbe6579fa9290f0b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/acpx-runtime-adapter.ts"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36d8e1a71e41832958b4410d11f326bd2d0a071c7544d8f9cdae7ce4d7c756e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa9e30ef38dcccaa15b9ca45d0e6303080bc484aeb462dd0362a040d15b75b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/codex-acpx-driver.ts"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ca9181eef815cd29f59b1b191069f32836c0ef73cc37e6c9a204ed37c74d9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/codex-credentials.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7888ffd93b643f9bf89a1e0af405b5ddd6324179da421f94874ffc04e6da8cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d50d74dd6c8413a3356a4a110ad2a5286529242afe5037000c90b64cacb0dc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415246f09eb45ddb69b297a505fbcccbf52987b6784afb7a85b4a1eb95e8860"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f34aea65bbe4976f969cd5daa1be4d4beee39cf98d03e302e9a6a50c3c55cfe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/cursor-launch-policy.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"49deed88e91700c27895ac061a607d853c67771d30f8b76a5a39453a45ff173b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcea14170019f6e6978b9fe05c672b68c1536ee9ea311e48466140cda22415e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/cursor-tool-evidence.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e60efe2313e2a5c1573b58b901a016b878f57fc7fc94be1bc0205046f1620"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/installation-integrity.ts"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc8de30e8f0c2b72db122f9f7dd0628ebd63c795073aee067e2e9b426a402b0"}},{"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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8eaefe45ae913bc7c083912f189e5cde106c897cdea354285c75c3682678ef"}},{"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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3bd3345a3af8fcaa0d26dd1eeaf67cbb41df9535b54b3e734557e056fcfd7"}},{"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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e0a4abe91eaaef83b9fdc3e26b979e0d4e580a34d7e2947a6dfc3df28e6161"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b19b4868dab8bf37b96275b86aa30223f49d3a74ed145e0f04784e34056fbfb"}},{"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/paperclip-runner/src/drivers/acpx/kimi-models.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd27f523e8c9f2de0e2218aeef4454b1541799c1c7a61c18055ce14196fad6f"}},{"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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"565b806e54d28938a8ea777c0e42a929303db0790cc0dd8c866c7b9f748308a9"}},{"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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"030cdb636bc8fc56d827aacfb374ce3d5ad108e38f944176131b61dae85f0e59"}},{"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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b1fd02e2a786b31e68b6d9ac0ccac45e6a43d8f57d79135dbde786885dd6a"}},{"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/paperclip-runner/src/drivers/acpx/pi-acp-runtime.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"70811da92f500b6f795f4de012270e1f0eb63a19229ab05d3e6e370ff1f1096b"}},{"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/paperclip-runner/src/drivers/acpx/pi-runtime-extension.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c741909fb3cfdf88730dfca1a47f4652493a460e9ebbe1297987f5da87a863"}},{"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/paperclip-runner/src/drivers/acpx/profile-extensions.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"99384a64ce0cdee9bdf473f7fec979fa5959149fcc3d13a580240064539a8cb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/runtime-host.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"97824e97696f0392614f037e20bc1d1d4648994aae8e602eb9d051e4e3358d64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/drivers/acpx/sidecar-protocol.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d582e14703833450bbe03fe137b84280eab2692edd6705467515eb77540fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aca19cf5a131e4228abcd2a6e701c912401cf1e4e8607be33c75e1fc9b08ec8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe326cc4d39f4a9b20a547f647778d8d5353823eda195e147f0a120de2de5af8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"52eafcc0c58b706d3292ea0f17d0d9ac94835550b284d5269ff27c08e3d6549e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/control-plane/durable-prp-control-plane.ts"},"region":{"startLine":4940}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdce0452c821bebe282fcf8222c4f6e213212408640fd22a2716b8bfe7d4020a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/contracts/provider-trace-file-sink.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbfcf09d45e39fd8769cfee0f278d662cc3a3ed6039d7a23f447a3aac217610"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6685bf913b0dbf8380e278ba0166059756145e0232fd8f5fe832428c909786"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"3166e2a2c7d8bc9d2c837f4ebe708d62122336b24f3cc36eb624b72461941b9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a80120c7ba455e826fbfc807aa5012ba73fec795b1ecea8fbb5d42a88c6d8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/acpx-runtime-sidecar.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4fd9b5af566d5cea8747b3f1750904f393f6981951198080bbecf84385194c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"1339b28354b3f181b208cd20e79b11f64dc986d5b58c08c3764003a0b7033e7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/eval-session.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c081014bc5faad9dd90005ba52a74d819cad4cb5c4231620eb63b597ead705"}},{"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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd4671238feee54452940956323e9d8c3e34de99057a02538fcbfd513ea371f"}},{"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/paperclip-runner/src/cli/opencode-app-server-proxy.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"444fc442d3f47632bb7df535b1f7252925298006176a29aeb331af1822d44587"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d50efea432b817295308cbd01060ae3f4d2a29c6da810c7cb4db1ed094286c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/opencode-proxy-command.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1cde4de39a9355f0481374eadd062b25a1e0734d7cd0d5f4c1a4d6fa45edb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/opencode-proxy-events.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b082d9fecbc7ea17fdd7b41e00dbdd720cfb00671e13e68d03bb031511e0aab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"575cd81d9838b5f942a7303a1203e7a12e5b28ff9c3aff809a9580215c9ffa85"}},{"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/paperclip-runner/src/cli/opencode-proxy-finish-diagnostics.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f436b8af1133bc779558abc90460339cc9b176bbaaab1c8a686150026bcc9a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/opencode-proxy-output.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"936b4a9a708f97b374bcb94b3886f7f0dbc719552da4ba38b33a2cba9866ed4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/opencode-proxy-output.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"529f4fa221bbe41fcdc1ad93712344597b560144615f07280d60da49b9313723"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/cli/serial-input-queue.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a292a4650619d155ed67e3e4a2fe6e0d894297a9250b07cd54cf5d980312ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/src/backends/harness-driver-backend.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a199d711038dd66a79799bf6d753fe83293239c84ba6a7fb721a901ca2a7ba"}},{"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/paperclip-runner/scripts/build-inputs.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a028b60a92e3a8a8ced037bc541918103a7a6224fc3ad1a6eba2fde9f1499cc"}},{"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/paperclip-runner/scripts/build-inputs.mjs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68189730968f68fed83cfe315ab8bc2840f1c08c771254c75b088aa7a39e8cd"}},{"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/paperclip-runner/scripts/capability-issue-thread-server.mjs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19b4cf6da896dfaa38209ea5e5d86dc109602d8ed7a3f7db908a6a627f8a258"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/copilot-provider-pack-smoke.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2016b47d5dc0cc496b6c083582655ef79381ed3dce124354f5cfb794d7b7e9"}},{"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/paperclip-runner/scripts/materialize-pi-distribution.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d5483991423fefe851df6fac223108083dd3b4b6052041ff1f2afc686e38c0"}},{"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/paperclip-runner/scripts/probe-antigravity-metadata.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"030e30b8a166a42a4493b161f2dba81f5904c06d64a801520d715385aff0e7ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/render-runner-workflow-evalbook.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"595ced700447a18a4b05bcd69e693ab7e648060741629baa14dc8de66cb9d2d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/run-runner-live-eval-schedule.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598abf5aa2016ac16eaf2d7d84205f915a79af378f87c200b83130fcd0683ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/lib/codex-evidence.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe83fd7af142ccc54057067a8dc90d7140fe488e5b2a3b66167b410a637ee48e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/controlled-evals/archive.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcac3bae8a4e6690622fa895bd932b8bdf8640f877311680d93eae9afc4bb1d2"}},{"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/paperclip-runner/scripts/controlled-evals/observability.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"408e8e20610f025849627e98cc59178f222192e829b578063fb12f8c54f284c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/controlled-evals/report.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa59ab3ffcd1ab904218771a7110ff7a2d23864f1a09b03aa9c862a4aefa3b6b"}},{"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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a07841c223fc3fc2c9cb99f72684af2810b03bfb70cc15d71f1a96930a14cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850795bb9377a1d2c27256b2401ac0dd091ccc1a35eea61a23f70bdfb71a203"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"946a7dfb51cb08e91b9cceda409e2341890ed08e76fe94ce562b7769f93e728e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/scripts/controlled-evals/run.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"17025b58576166a356164c8df642b241df5ec0b7dffb42359c87bfe49051e0c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/devtools/issue-thread/src/live-client.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc4218bbb4f6bcb1a17b12f5525ffbb9184365118968a8b5a5859f86399ac6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74f3e58fd81c8fd2a244d092181326fa511ea36fd66eb567145f69bca057244"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59e1628e79d5c2293d64b8cc88d21b380ca5f8e63b5abf76e76e6f7029b59a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"085ddb33fd0974e9e2fa830d787f562cea33ae90082e8888950f6b8a0db7488a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a007aeef009987313bce1fe7c152ea589f8077c11562b81b006a44c46b75e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a70af771ae4951eddd9aad52972c458e7ab774b13775cece9ffb5bfd0ddc58c"}},{"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/db/src/backup-lib.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5797b4296b921fb0ae8f51b3b3ba78c4df8f4ca044ff00783c56e4119c4cc0"}},{"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/db/src/backup-lib.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0f63fa8d45bf094a9890b3e006e117bd3da9b9e4285b225c241337a980dc98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/backup-lib.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e9c0fdab86f663ba3bb86bedc5a14d90abb6d6f4d1e9794b72002eaa475b60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/backup-lib.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"596ccaa87c962cd3709147963e565dd5f70ef1039999428cf1168866a48bcad8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/backup-lib.ts"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ec0f7893eaef996a946d3b159253e323430ea3b20ba32b033389d1d6ea5fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/backup-lib.ts"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"917a6a45b63740a43338e06764cd3f862c0f2ddb13cf827809f10fcd6fd7d6fa"}},{"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/db/src/client.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f07d59a5bee94321c4f816212a20a1536309ac621ccd09d0c8cae7a5fc231"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/client.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9e1e31833665b74127948b085cd0e963741bdab30036babc243c8c76afd8bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/client.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c436151b3b845234862a692e846d31bff033d877ff082af90c887c7fbd3da38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/migration-runtime.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a8a75f4b6a4732b9738c3a73dcdb99b6b77850f20d329d7d7e48de45c7b6ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd1f430718612724e19f688ed91cf6efa2830e4e61458b0baa0e176374a74aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea6c374e82812bb0a78427e55137183616b33613d16e1ccf1c34de3a764efd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea90ae19a09d18a13f5244f18ee60c78db4ac8b9a88547ea650e6b2457d5374"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cbc11d226e401e8d1dcdf5d15dd9a068da9b6d56c306aa37d31ca37bd4c0cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1bd448744ed7f40d5181a5b2c2c7480890ed5b9cb0b422b688d305f0c2443f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc3a38a22dc5d5a5ad0734017f9791f4a7d14d054a1eb2b06e9af8dc13448a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1c6bcc7e912a6d9cd9de336ea5f23a825f0f56cb18fd8387b7a9ff1b4706d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc0cdeb0cb0fa5f239f3a77a040752a60c78e1fea0171a9bf56b692ee7de717"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb8e75eb1172d6bd83910f2ce164070f184aec2a7217a181636d4239ceb0081"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac874acebc3e0b2290d23bf3d724d64502ec8c707519fc7e9ed3c34365b8ec6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45b8e054819bdef0d92bf1600bb6ff92bd1b57be1b7b3e95d33d009457fd4c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"396ba43c339163ac9a3fc9955ab364f567b33295eb1efaa40b1f09f40f431e6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"362bf68a1ec58ffec60c92c2a19f326848c3ca5e35c61930c7ff6154bdf6497b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/db/src/response-capture.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec4c2725ad0afae19d49bb6b8e5d7195f9bf37d3a0ea21dc82304721b082d7"}},{"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/db/src/work-signals.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a99c450f86aed24be4b5fc66aba0050bd56b4be27fc1287622990909475c1c"}},{"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/db/scripts/clean-poisoned-claude-sessions.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc37864755be7fce78bea8fb878845ef7aa06ab0a8d703a581af349cc1b75514"}},{"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/adapters/pi-local/src/server/skills.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a5d4961156efc4323512904db47b4dd6c1edfd27d74d30d2bec85c7c93ee5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"297813a98fe185cc961e50ba86e4fed0ac71a1ee84eae5d7a5d96cd9c84a4342"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1c805aab6fc7facff00ada69a5c63cd9813a7ee822ecc554ca46e97edcd785"}},{"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/adapters/opencode-local/src/server/sandbox-tool-memory.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0304dda9389d5e74563dadacf1bf702c9d5cc63416f8ea8309daac3ff3922f9"}},{"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/adapters/opencode-local/src/server/sandbox-tool-memory.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df07df739e340cc95f5b3c6c0a996f05593134b63b09982643d0ac774ab9dce"}},{"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/adapters/opencode-local/src/server/skills.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ceb95d3413dc0d1e65e5a1cce508bc907786ccfc46d8ecc0959a4921f3d718"}},{"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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4bf6143b69152080690d37ec983e5f03bd1e256ca34b95b6b58c6306c24a57"}},{"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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"07af2cc9eb6cee110ec7495ed848893a910a217e6a74528e907dd9cce0eecec7"}},{"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/adapters/openclaw-gateway/src/server/execute.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d80a103b56b1c446abcefac480f591eda1e76724068096c4d053eca166d0ae7"}},{"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/adapters/kimi-local/src/server/skills.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1298fbb3241b3cf98a85bae6f3bc8e833811a58931ac080accafa9c023cf4f99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaebdef366c32fb62cf74ca15e5814cc687160d3d73e1e267b55b8d4b616516b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/hermes/src/server/execute.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6468c0977685b0a2afbed4c6d7df1ce7d18d5e0a36d08cbd7602e118ce006d1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/hermes/src/server/skills.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b21806f75c2ef2c5801671506aa98d860c239d3ea107cee3507ec7c27836f00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/hermes/src/server/skills.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbbe540406fbe2b4f8d842f9dcc5e8ff998335c3dfcd0b86beffb43e451c49c"}},{"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/adapters/hermes/src/server/skills.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"88647a091807be6c7b3cdd58e0a819385a6704336e398478c4c1871b42cab3e1"}},{"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/adapters/grok-local/src/server/adapter-auth-promotion.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5317f62a608c2fb1152097ac96499c363b513ba906b4d7c4e8ec379143dc03b1"}},{"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/adapters/grok-local/src/server/device-login-parse.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da4487909d8626db180b49aa040da15b158f6c36454fe2c4bc2efda7c6660c3"}},{"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/adapters/grok-local/src/server/grok-home.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9abc8c4f2ed14fe363d5ca579e674e5a2844c5a5f680602b58e244f4c392c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a1f76754c68a57a806a51226d0069f74c828a7f9180eee5ae8e6be4183925"}},{"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/adapters/gemini-local/src/server/skills.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c99e274f0af1dc3a0de67e456b9ed80a9cf6046765abc1f061381d67bfe30b"}},{"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/adapters/cursor-local/src/server/skills.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9122b5d2ad2d89eba2cdde56bf839376d7d2b793a2c06284e6a136a9bff3f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/cursor-cloud/src/server/execute.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050ce4ba6887d236c6642471863ba8f29414213a822ab9304411eefad40ca46"}},{"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/adapters/codex-local/src/server/acp.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8486f23ded153c7e0134a33b5c9f366c73471021e17d45c6fa866d39e5d960"}},{"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/adapters/codex-local/src/server/adapter-auth-promotion.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b2f1313cf32278123512d08dd7d91bdae52a548c7a2a485b73c6f91d828d1f"}},{"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/adapters/codex-local/src/server/codex-home.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2267eae0a518eee523771e3afa0fd16a36e389fd0adbd9cd612b1a746787d2"}},{"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/adapters/codex-local/src/server/device-login-parse.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b70cca1e3eeca583a0b92f246e4ae3dcc8fde720cb8dff407cc1d2f8f72bd0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68de8979099952fcb8c2332d5450c5106615864813baa88ab980cee74a87c67"}},{"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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"666686dd0f0267d206572b6cf09453fa89dbb9ba40d55c0d95698a509a66eb58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2ff57b4e8b78cca18396be4303036430bf3964b274c7ac7b3ef7a00d7a529e"}},{"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/adapters/codex-local/src/server/execute.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2909e728f76b0e079131a653a2063a03f538cefb7ca1b4e36a26a01a0f44ce8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/codex-local/src/server/process-activity-monitor.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577bef97ad8d3010bc9ee9ce9baff18decf4f8df545cd44ba95bdbead2cddcb"}},{"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/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae6c37b7daacedda7dae2a87655d6bd6d3b8917f00a9ba89b18b5e9af599b49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"415258d7eb2a343af8f80b75b7e4d6883ee4585eeb9236e840b53b23a13d9676"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/claude-local/src/server/execute.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e279700bfd338bf3a230a159e811a25535e6b4267d51499471916e4057a54290"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/claude-local/src/server/parse.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baeec7cd66f48108f1c5aa47bfbe5415c45d1919d0df32b43429bf54c2d7fec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/claude-local/src/server/probe-env.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d2028787923d06c506ee2de6acb7a427d04193b7d75dce46a686a85a57dd9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapters/claude-local/src/server/prompt-cache.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e205d5161e876ce18b37418074a05d5032edb24811f59cf0baee34f1bdd33131"}},{"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/adapters/claude-local/src/server/prompt-cache.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a9fc69aafaf6fa67cc4b2f316a8cfeb84dcd04e41753e92355685eb127a939"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/command-redaction.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"383c45ea9b983ebc56759adf55fc521f956eb2d6a5f80a4306420a17e4231b89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/duplex-observability.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c8f967fdc7c326910827f7d4820abec52eefa35eb1556053963125e78ab8ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/duplex-observability.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5535e52a376cb61f1d47f4b8f88b1782845889ad9409131369c4ea1393768e57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/duplex-observability.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ec5eb10c0418b2d0badb6456119cd51b5da6d2f6f0c33fc39c48732f595bdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-phase.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e698220f424424804b649dec6abf604129eac81fac57e131919af9223df2128"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-phase.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78820c43e51c90ae3cf0aabf37470b30155620153bd5260c236c4b59f8b4d989"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5c88154d2f4c855ef5257f8047d5afabc6783e2059c38c72cfb92bd986f5e9"}},{"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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2532bc9be25e74e8900c79362aee8c56ea4e8473453731d1b67e78369e3e5adc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"12efd9140a059296dc1d83be198f7a91f3abc9fca9c860d721fa07bacfa86966"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"368647790beeeeaaac1c3c5f679d54aeb460eb3795ad91fbaa7e09c2b6a393bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":3996}}}],"partialFingerprints":{"codehealthFindingId/v1":"a096630f98165e490a1b115efb50672e25b7e66452d55e290c9b6d665b9876be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4392}}}],"partialFingerprints":{"codehealthFindingId/v1":"820501efbf95f4c262d4429a47ee014d65e8a7ec6800b51e58dd3028d46370dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/execution-target.ts"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ce8d2ead1ea5d5c7dc33b2347023d86a846006f8ef7b4847df489462cfedb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b7caf31374e1adefef9c117344842232a7de94d03349ecaa5ef337d48c28c"}},{"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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0b83da0ecf01e6744623cdfbfc2c989685e1188efd11c420db7237b6afc918"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/http2-bridge-server.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c153d6eb545491eaf34d01f748cb45765f1cb91124a6051bf4092b7f98a5e2"}},{"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/adapter-utils/src/login-runner-lifecycle.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c07d3ab2c3e544d05c2807b42b41fd9eaecd7f88ca8a2477f6529f7fd7f31a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c262dbf8a488dd2c0d8a76c15e6d5ecb9d12323934d0beed4b77d74eb232e094"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/sandbox-callback-bridge.ts"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6401e082e5451bdf5cdc0b5ae461758e3318cc759f2097ddd26329d8ad4909e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/server-utils.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb6560df43e51a5d47c08c3baf5f52ab95510648f4581487258e023322e105d"}},{"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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4622}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcf7fac41df2081954f3a6560fb22119a738afa75fa77018e3c3efddb0cbc47"}},{"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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4703}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5ad33499c24f290732f4db4a8b2e5f52fa5054b2f4bd8ae6cc6389565f67ba"}},{"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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4736}}}],"partialFingerprints":{"codehealthFindingId/v1":"3583820fa901befdff81a33fa12d9de9088f1c0c3efa8a2e0b1c17754de2d1ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/ssh.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b59cc058c64ec4b54f6ed67d9812a418ef625cbdbce776a86491abe5af8b59"}},{"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/adapter-utils/src/ssh.ts"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b789684932e574d293c9ed8bf3360fe8527bda51599a7023521467225dac701d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/startup-reuse.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"785290070a268c9288d73e76aa79a655d1b1a42f5ae6e478a4747b62811a4a8e"}},{"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/adapter-utils/src/usage-checkpoint.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be303868b01459f5bdf13e32b6da7f6f489f6f63092f458e561147254a414a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/workspace-git-stream.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bba75d0784d388de3befb5bba423e82fa39c6b5929fd4a1615ddb781dba9440"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/workspace-git-stream.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db6658a1ded1e1482bfc49afd551e3af5d9eb3565619228c67a23566e4cce1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2031772ca3c003c5539b49359bea4c55cbd411626f64cf0009d2141cd576b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/workspace-restore-diagnostics.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"db89a73a493c2f960112987c953418391753fdee3c0b2a4892f4723a44548eac"}},{"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/adapter-utils/src/workspace-restore-teardown.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e0ffb30578ea88457dc01c622e06333c45ab8fb5a948571e18c0ba79973119"}},{"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/adapter-utils/src/workspace-restore-teardown.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7851e6c5104cc9a15bf5b3ad09e096d25c768f19bff39a35280d3f05962cc5a3"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8eb62e70a5ad6e5bc2f7a5768a44820c851a53024aa2855fae13775a45ef12"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ed21d33a9937f40b4e57347c737b815a9942fc0b3fcf67aa4c9e71adb62f9"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d546445ce62a77f2cd5f36474a8c1b0f30f1f4cf41c6096ef0fda69d96f5144"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"105c9d6055c871372811e4a8119eda3ca20030e06f28a8f5df2a1450e21071f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a530323193023b9680281894e976b6adeb5d475804281830bc168036724973"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2ed57c90fa896af25692c8e33c6ffa197c968c0295b932537d02f34db5dd02"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e573fcb0fb07c3f206d5c3029a0d1d5a6ecbb454ca353796e4553971eabccc5b"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"242ac5a25956c472d6d6987466845f62615c9bc47fbacea4e7cf398ac6b4d58f"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3778}}}],"partialFingerprints":{"codehealthFindingId/v1":"233e5e82cea7553b83e8f1a58c4e443829983f90328903544b274c59f5ea01de"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2623c6d246997e2fa8cf327c3fcfe5eb53cf75132a3febe3878376c2dcc647"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3873}}}],"partialFingerprints":{"codehealthFindingId/v1":"de07dc4bae0d77d22dac0966e0ccef576beaf1123991fbbbe21485803e269a05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":3987}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac1eb7d84e731d65d710fbf8b0c6931ff50f762830edd78089542c4ddae574"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4070}}}],"partialFingerprints":{"codehealthFindingId/v1":"beff27b80ebbdd7d306d56085fc02bee323fc272a858eed71fd7c8a39170afc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a525022ea016b174a04cb2f78fc87c301e6fac2fac8cbc490b0b32219dda1710"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4176}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6be08dc6411b18ed1c265ee7fe92db75845441685e3f1e615c586848ffd84"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e2b7ea0c0846b9802538fabc741b7a0e91bcf174ce32675f4e137d8fbc4c1e"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4715}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddd61c2ba2445ead510ff16a51c01b9909a696438bf41a887585ebd9f0e154d"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":4724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4b84af7781bdb81ec71984aabae82f5a2eef1a29f076532ba4fc4831a6cf09"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5213}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e5f561459d51564938a1d5acbac2ae680c4b672538ea17c067086b91466c9a"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7efc0de1aa0c6bb5636af5c27aa5ba5cb8b1137f048015d8ce6cd75e8e768b"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3fcf99a9738198bb101f069646cb26b87085f979ba1538d5f862c8fd5f28aa"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5288}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfaac802114fc19cca63b997394197317b2e005d351faa6143af85a53328731"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d703aef17a4b95aac5fa7b79e29ad6ed7dffc3c86db2435997d98ccd5768ec3"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5370}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bf7465abf471813f84846cd8aaaa6df4bb1ad0f7d5b654e7389fec4cad249d"}},{"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/adapter-utils/src/acpx-engine/execute.ts"},"region":{"startLine":5808}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1201b490747e2bfb28edcb9ed4f831bef8fa459b42328040a35858898a67a5"}},{"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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed96ec0d0b79f69aff1424f06e6199e4038f85d724216360091ea3bf5d3b7e72"}},{"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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"be49305cb5b8af0f0003b3a8283e23622386a1758fa61780325339b2523a8fad"}},{"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/adapter-utils/src/acpx-engine/run-site-sandbox.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4d493aef6ce1c50c7e6c5093afdcf323857c9f6d60cc4e6c246f9c6dfc669"}},{"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/adapter-utils/src/acpx-engine/startup-cancellation.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"697a30c79fd2dd02b854a2f19500e09aeac62012ca0ecbe4179f8bdd47c51e54"}},{"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/adapter-utils/src/acpx-engine/startup-cancellation.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8799006d26d3b48566b51bf5b12fd00d619533b51c67c61f9249a71895e13e6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"933eb536df200b9bdce607ef7107c99ec6db33a14e2420fab63a671bbc434628"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa52f03ae84961580b98ede26e54d63d35e44c9bf7c047fc99955455b0288f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6468fdeceb4aed06cb48a8fccc7c8af32258c03a87e490c23a98de9a66fd33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"b473829a54a6db63d87dca04f23783061706386bf97dd7e87924ba21e255af0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7b93be7dc9ceb0e3ed0db157fd931db2e2600dcefe6976a154231a239f727e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"480805bc79d7e15b5a3b2abed27d31779eab32ef6a4ea398ec18b4aa2b298f98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/startup-timing.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfed8bd0b90cb3c9205f8bc3f2b48bb5e82ad4a469a787d72f91ff96605e388e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/stock-runtime-options.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3ccbe2ceb0e51ae702232d932af3382dc5109db53fb2bb7cb172ee786ec210"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"64993e7f6fb7992f0f966d11663be65b7e8c317e0142aa9693d2b7a3a561531c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards 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/adapter-utils/src/acpx-engine/terminal-session-failure.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b2ac4886774e5c536e48cd26adee1b1445ca8badd459e721e9e276b75cfffe"}},{"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/adapter-utils/src/acpx-engine/turn-sequence.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b821a394196c2ae1d361e3993af1a0e3d6064051e0811dc7fabc43f80d3f6e98"}},{"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/adapter-utils/src/acpx-engine/turn-sequence.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8675762c30b70b7f65f37beb314bf99c42272dbccb9fa0d6efbd66c1e3e40100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/onboard-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6d456025e6467620ade609bbd7cad86e283f08d6b142b91334583af0fbef8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/onboard-service.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e575589767787f3bda6451f8258f3e38e8ea36cd817d923ae2c553da683e785"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/update-notice.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b7482341c09287f3bea9b65acdf413748e76e7c485ce0788440006b2a97d9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config/secrets-key.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e376acf27c28e6d534e312082286576313d2a1a1128d69dff621814238dd8b"}},{"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":"cli/src/commands/mcp.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d2ca05cd0f0bc8239d807b66601915a22a748157ed4779e02ae694e7dd2c7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba81cc56a8d1d2c5b05277489d04f8434c68f41703abb7ef1dd79662afc5633b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c9d67580e80b0814f20244b5d2a24810076bae24e373934a88abab54424669"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fd08d8ba3fcf7fc2d250a474b9634c962d9fe733a3732fb1e4402e3986fba8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeef85b1f19b97e12a8f67d458ca34d1c4e8ce0f23dc50ed95a213a899436d89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/worktree.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7146caa7d04627bcdaba98eebd4a92ebef402c1d0f63c41401423e6c13129f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/auth.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4237826f08cdf8e5247a2af5377938280f58770a8e2bfac860301db7e3e8b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/client/company.ts"},"region":{"startLine":1957}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ed3e574ffc224260cb95d82b4d76b4305f4423f49b1e82e59df4b01fcdeb1f"}},{"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":"cli/src/client/mcp-auth.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a1b0b92e74207f70514285f13fbbfa3b76174def0d63387d8c2684421981c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a19a1612a988422cdec4b9bc9695b92cd5059a12f7116939efd6adc44a0f64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/secrets-check.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f94c6e352580093f20d30701d996616d6dff0430fcc0584ec44f40be9bcb925"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/checks/service-health-check.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2168bac8294f7102cbfffaa8850be42d5fa97c5fcb36a834977fd35bacaf6e2b"}},{"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":"server/src/index.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dba5853d1bd3cbc17532c6ffb8ef0d4b2c6fc067375255c2bf7e36614a3a4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df7002362f78f8c98e538bb2f25bd78126e2d861caf5db5c25698dd56dbf12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 403 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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":"server/src/index.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e2c080d348656f1ddd89962f39c088a20fa47bdb973a4179cdf85e6c7973ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"server/src/index.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"098503bb04d6c04b6325fa5782150ed5a2dce80a5a85e25f41dc60e4d4141a00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 633 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"5802c9fc7569e4984b96e675d52353e8b2aaf1992455bcbc750f063879385eb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 645 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b0893a557334aa2fc48b5aeb402db32db3e3f9531a5cc322d97bde6881b083"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 651 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/index.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e2a9d4e010a877116fb19a081ea2873afc5240f3d557756e7495f09e54946a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"server/src/index.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b3a4832c4fa4b52addafa9aecb5884ffc860af540b26ab390d7f94902f7ad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"server/src/index.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb199b2ea221d7a65837272587a971d898b30899bb59bcc0ed35f0a8fe78fc82"}},{"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":"server/src/index.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90862dbd1bd19fdeb63dda3c2ef7b3b4455da38f6b57baf8f4caf16762d27e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1119 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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":"server/src/index.ts"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa64dcbc2ea0707faa7bdecb50cdf0386a8c44e6bdb47f566d7d564ddcb5d879"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2159 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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":"server/src/index.ts"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"925e89dc406c6279c2aade09b74e53cd1ad626db4f0011970f93580574016b68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2169 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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":"server/src/index.ts"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a41fc4760cd110f326c2947e550f82bccceed59881113f91e2b36b9659c1dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"server/src/services/database-backup-owner.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1468d9f6576ac929d8e261856d77e453714d15598ec99e594d514407e60cd3ea"}},{"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":"server/src/services/database-backup-owner.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42fdbec6a36120325fc0a11199b429e4816fc62e4a0e666ffc262d2e2b4f1e0"}},{"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":"server/src/services/database-backup-owner.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4868ee00bbe92ce215072b504c897f2016d108065e603f3be4b54370a55d6197"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 666 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/external-objects.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d30142377d42f4e2346c5f54a29e47cd42a326c3cf2de10dfc132db72ff397"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1881 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ef41691c1caa78b7a52d94e2cc5736a9269dbfcab4be4f491365fe8b264cb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1882 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"958cb217c286b5ce266a2f5abd07136d00cb6413ff2970c05e05aa305584e353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1883 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef0d2b5f816972647db6ca687ab10a4e40e104577094bfcf4850321432124da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1884 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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":"server/src/services/plugin-host-services.ts"},"region":{"startLine":1884}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a6fd10cb3258039411a174bbd7874bd89d073eef16234fb79deaf8b610edb9"}},{"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":"server/src/services/plugin-lifecycle.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2b4d0c5bd1e964d93efa3c09ed52d7111211a9314fe3d8e7d216c49e5e7571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2189 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":2189}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bba2207d566c1300e03b6b345b7e29713c6d209250b9d76ec7c35de5b68dec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3001 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2efdde223cee792cfa4abaf32112366c305a0e774834976753c3d94059f315"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3003 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3003}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f66afb074f0775509b28c5b61c8670be360768e110dec9b52b2fc9204ea7248"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3005 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd68cc3c4cc193c31033b51b87245c0100a302b3e268e62f3bc980833485be11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3007 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot 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":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3007}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73c6a57950fe841b87a831a5bc889d39f7f4fc1b2f5cc360b0e7ff0b1ea71f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3142 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/plugin-worker-manager.ts"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c267f4fec7360c0c1d69e6fd0eb3669218e6b22efe8e3201e578eac8a8d099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"server/src/adapters/plugin-loader.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8714e11d1dbdbeee02f875d0017a478e38c5b85252cdd71f9f5126233331f1"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~4.8 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 7195 assertion(s) across the 1505236 source line(s) of the 5524 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: server/src/services/native-runtime/native-session-executor.ts (133), ui/src/pages/IssueDetail.tsx (126), ui/src/pages/CompanySkills.production.tsx (100). 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":"ui/src/lib/run-log-chunks.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12423236edbc0b8ea56e2911b07402ec4830241dbe04eba9fe1c3c68e98d7b9"}},{"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":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e483eba8279d7f92e2f8b27e59da429c98175aedf6d339cf179a1f26d6cd5d0"}},{"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":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d0631ff7be44bb3e7de277f0b62d4b6ccb1798e0d0a6c81389feec93baf41"}},{"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":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0a6f3fd1ce7228d20eece1e8cc88bbb74f88da9278ba9fd7c2d3aa79d9a9b9"}},{"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":"server/src/services/chat-publication-projection.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c94ae1e99dbc2aeee9dcfb6e595021f96ab13bcf32557368c7b3b487220115"}},{"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":"server/src/services/documents.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bbc01eb16f2968a18496ab9da67cabe026be6388e965e4b870404619878704"}},{"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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c12f3e35357cf832a9084ed1c7371fbe71bc7e16e771979412f74846fc6373b"}},{"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":"server/src/services/heartbeat-run-summary.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f228af207f1e28e2e180e8b9b04d56d34b68b660bdf9f79717180b6c07d5d"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"e122d227de034321871b5b45157471af89c3acb351acb78e13ab473f8e0f32a9"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9047}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd4738a16a47d60bdc14ffee4430f5a6b004fe8284326517a736523e18363a4"}},{"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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":9133}}}],"partialFingerprints":{"codehealthFindingId/v1":"de059d9f928b2828cb94eacb3acc38e4f9ccb5d8ccc8abe728918e55ab5b21d5"}},{"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":"server/src/services/native-runtime/remote-warm-session-recovery.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"712bf567fc9b3b0460933dc83359ed8bb97548cfd2cdfbeb7c74049c5df87857"}},{"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":"server/scripts/benchmark-workspace-snapshot-crypto.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e904fde8cd29770fbe85de16ed8d916d4c4fc94053fd57b7e55aa1250d8fa6f"}},{"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/paperclip-runner/src/drivers/opencode/tool-call-markup.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c934ca3675dcbb70fcd13287cc56fe4f7ef944c294cd199a9643886e4ddbf7d"}},{"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/paperclip-runner/scripts/capability-aws-agentcore-smoke.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0fc01bcc0fe17c7e7b1ecd03e7f61565bd08685f4e2335010c0512cbd400e8"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading\u2026\u0060 under \u0060! contributions\u0060, but \u0060contributions\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":"ui/src/pages/PluginPage.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"893d5cf03374e0c0660966aa7976439eced67c86c15a2cc5d53eb42b28e8d232"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022mr-1.5 h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060identityActionPending\u0060, but \u0060identityActionPending\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":"ui/src/pages/apps/app-detail/AdvancedPanel.tsx"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"26586a453092fe8d890a8fa185af10765ab291b793807703e73762bf05ef0959"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading revisions...\u0060 under \u0060! revisions\u0060, but \u0060revisions\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":"ui/src/components/DocumentDiffModal.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffc15ba757a788d8f2dac0849b572e8c89488434ed0c702a3e9cb30e08752db"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading pull request\u2026\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/LinkPreview.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e056ffa7d522870478c07fff959cdd07e1c9a28c3f55651942badba17c8181f2"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading conversation...\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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"baef27238e6eadecc6439d754d76af2a9ca301af2b786d7c9feb9f86534f3628"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060sending\u0060, but \u0060sending\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":"ui/src/components/OnboardingChat.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2c5aea5ff63dfaf6d2443c7da70e7114fa984df4645032f794ddad7f9a97ee"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 motion-safe:animate-spin\u0022/\u003E\u0060 under \u0060starPending\u0060, but \u0060starPending\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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e104b31e3e533bf996fa38af24b5e9385e2f86b448ab41d02f6dd6d7ddf05297"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 motion-safe:animate-spin\u0022/\u003E\u0060 under \u0060leaving\u0060, but \u0060leaving\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":"ui/src/components/SidebarAgents.production.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3ec6ccaa68a8068e2178625be7e7d3aa8acbdb9a9f007f5b52a869a44657e3"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 motion-safe:animate-spin\u0022/\u003E\u0060 under \u0060starPending\u0060, but \u0060starPending\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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a4a756e3f3a2636112d9a5c6eb430db6e169183eeac3a8b2a9781b87d0f970"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022size-4 motion-safe:animate-spin\u0022/\u003E\u0060 under \u0060leaving\u0060, but \u0060leaving\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":"ui/src/components/SidebarAgents.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"724f71a519dd97b9c102235f162619b2b68801956dabe1ce6628b32a5abeec9c"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060busy\u0060, but \u0060busy\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/skill-studio/AgentsUsingSkillDialog.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4f072a8ad8a65cf3e9a475e3fa29c1918c43eb4dfb1b3e6a2bb8030d9b8225"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060New top-level folder\u2026\u0060 under \u0060creatingParent === null\u0060, but \u0060creatingParent\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":"ui/src/components/folders/SkillFolderTree.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4afb77aa6cf261ee1ea7ef3c7fe80f4865de0f7922efc7d1eee2b9adcc525f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060input_uuid\u0060 returns \u0060False\u0060 when \u0060(ValueError, TypeError, AttributeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v7/client.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbb53e3a53f306df878d97342a44abc725ddd09d9a605cfc307eb3409ceddd4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060input_uuid\u0060 returns \u0060False\u0060 when \u0060(ValueError, TypeError, AttributeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v8/client.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7105811378a5c8835243f2f0ecf63957ce3e6813b4cf1fcf0f3223b1f884eba8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060input_uuid\u0060 returns \u0060False\u0060 when \u0060(ValueError, TypeError, AttributeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/scripts/v9/client.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ddc3f5a0eaafdd3ee820f14ca6a2e57d6723e44e9acd894b60cfd1527458f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060runtime_notification_codex_args\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/runner/crates/runner-core/src/codex_provider.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a1853ac3cd0a519df38adfdf1471d449743462aeadfe140714d243af279c41"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseEnvFile\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config/env.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"115505326b045d71f6e8528df9f3b0295870c7ee5b860bf9ca02b1dca2f63b45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060asErrorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/heartbeat-run.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"feab8b116fd710e987d34e0d942297d1d8ee77d449f4c5ff1c489ac5006b4a19"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolvePathValue\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/server-utils.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c81aaca7e6dff66af2081f111edd04af16f7e278dcfab90d3497e0e3a0e1aed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listPaperclipSkillEntries\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/adapter-utils/src/server-utils.ts"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c679c164e93073a44cd56874eaf1c6d9589cc5709b24eb3727b28dee462ba45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060removeMaintainerOnlySkillSymlinks\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/adapter-utils/src/server-utils.ts"},"region":{"startLine":4774}}}],"partialFingerprints":{"codehealthFindingId/v1":"56497c68b70549b7e24bc17acbf7fc88b9cb261b9420a80e44da0e0dc41f6836"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060inferOpenAiCompatibleBiller\u0060 swallows every exception into \u0060return \u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapter-utils/src/billing.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9794dcce4b3baffb5609c86e9d6e3aafafa2c9e53d2262051545a0893b69109"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060asErrorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/cli/format-event.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df6c88db5fec260d576edf92f5ff4721754dfed82df516c101a06b0a2f80a40"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/claude-local/src/ui/parse-stdout.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13d3526e2f2201ba63cfa676dad527ab47a4d2e50eb2737a7c858a3c0a11f61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/cli/format-event.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4781215f2314d8f80eea4f6ee2407b71e94a3be01ba486ea271d8f906c3005"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readResponseTextPrefix\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/server/quota.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5d075072515298e4bca02191c72497c40336d483091809678c319fdda23fbb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/codex-local/src/ui/parse-stdout.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fa5ab613223afad68d9b89b88baf87cfb1236ac2210ed0a2910d8e15e14352"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060asErrorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/cursor-local/src/server/parse.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d67f9ac32063013947478bcd4836d0781cfe72fe5bdfb37c973ac006faf654"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/cli/format-event.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26ef1e09774c1cba16e57babc42ab600816dd13a3ae6c0b2be128be96b262b4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060asErrorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/server/parse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef9778fac724b468397be208d9e6a176702a6a37894d06c80fdad7ec773ef6a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/gemini-local/src/ui/parse-stdout.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f7e1839427fc2c680bbbeaa1d05e993d832a8c8e44ed0721a6030481098dcf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/grok-local/src/server/parse.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc80e1f2e812f1b5b23b0f64ce76b241677a9bead1f80c9147e761aa74f50810"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseHeaders\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/adapters/hermes/src/gateway/server/execute.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a484c46a9dd29650e6132b6fc43d0032b506d879b7e94b08779bc1c60faf3b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/kimi-local/src/server/parse.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9481e76589428d11544c7b5ab4e2cfaa3708c930dbcd253431282a55060b9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/cli/format-event.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32df2edfe01e8ee3fe4d1ce6eee43055d377f863bded7ce0beabcd6b5731a86"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/server/parse.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"327049f33d3f8121d8dee8f300efaea8c96511322e9369f557c1f22a2d9e89b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listOpenCodeModels\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/adapters/opencode-local/src/server/models.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d6bab2d44b919026586db906a356a78a75331bc68590f258927a4b58eedf34"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readJsonObject\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/adapters/opencode-local/src/server/runtime-config.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"98942bdd50a39d20d7e8b21d955d2d264ca7c1b34e6ac00fa0701a0c8bc7cae7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/adapters/opencode-local/src/ui/parse-stdout.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c45f7d2bbfc82c48056742847a85fd31de1b829390fc55f39e1d99181f1e4e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listPiModels\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/adapters/pi-local/src/server/models.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ffd6b46e2b084d4659463ad2d442025ebacd327d362fb18c589711104a4280"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listJournalMigrationEntries\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/db/src/client.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55dc4002c4bfed0b392accbf90cadec0dac57c35a7c343a031f8115cb4a73e2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060embeddedPostgresPackageVersion\u0060 swallows every exception into \u0060return \u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/db/src/test-embedded-postgres.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbb25b5d3fe6861148007ecefa5f300b79714058d997c7adcaf20e1dda3e421"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverPaperclipWorkspaceFileReferences\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/paperclip-runner/src/live/workspace-file-reference.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c49cb7a2a740df8bb8d52602dd5bdd6c20657c344e5b7aaa48e348d2d1f6323"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060codexExecutableReadOnlyRoots\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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"affe9d5998004d7bd808a5ece1d8375638ff2c4c6212dd26ef16be034c087f55"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizedCodexPlatformManifest\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/paperclip-runner/src/drivers/codex/codex-security-config.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca31a193bb043210c657583c3eb29e30c4810e05f713f7ff7390a0721efe44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060providerErrorEnvelope\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/paperclip-runner/src/drivers/opencode/provider-failure.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"579640429ff0cce6713fa3e83d8d2227dd0292a6c1f042dcbfb48c36de09f38f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060outputText\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/opencode/company-observability.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"48641ca9e68bc3eae393e0c6e09b8f3bbb9ee1712904f7ed0a9f0ba7f2e51e08"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readNativeSemanticReceipt\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/paperclip-runner/src/drivers/semantic-tool-receipt.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"648f024d535a778de8bc77f22152b435e5f5ac7b781b72498bab39eb94226efe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDraft\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/devtools/issue-thread/src/Composer.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a6880607666f033cf59c02af5e2c266df2db50842faf082db21a2d5f2a59b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readChatHistory\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/paperclip-runner/devtools/issue-thread/src/App.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a85e2e74c9fb0d17e4d0627cd774c94640f2aa609277d67b89ad84c71973e0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validRichPath\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":"server/src/services/chat-telegram-media-intake.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e6d353383cf48a56d0dffc60b041097b518b4ffed62ab1ede2c465b7c249f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sharePointUrl\u0060 swallows every exception into \u0060return \u0022invalid_upload_info\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/chat-teams-file-consent.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea361af0c90427d731e82c0c73d11a9543e3f9f57ef5a63d6378bfbc12c3c21"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060applyCompatibilityEnvironment\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":"server/src/services/cloud-runtime-identity.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e5b50eb752fe609f96000c7ab5cb896116524693eaad3acb82dcda0b4563b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createPaperclipCloudConnector.getCapabilities\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":"server/src/services/paperclip-cloud-connector.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"583110749b2b2c6cb5fcab1d32aa8947e12661e2d893218b8891af4aa697fd6e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchOpenAiModels\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":"server/src/adapters/codex-models.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"18819f94cb094180e40c86f897c16c4cff6e461d99e1513f73ca9f38bb33bb0f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060wellKnownMetadataUrls\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":"server/src/services/tool-access/oauth/metadata.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae224542215f21e9feb7baa0ebc783c304f50aa30e352e9f8bff248590b9c03d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060oauthProviderForConnection\u0060 swallows every exception into \u0060return \u0022generic\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access/oauth/metadata.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"238c40e13d5a015eae20449694b9b6c2a620795c621ab268132af0ec0f8fea46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060redactRemoteUrlCredential\u0060 swallows every exception into \u0060return \u0022configured remote MCP endpoint\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/remote-url-credentials.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"de667bb9bdd3b2db4f3727a48ae17ba498fec2b9c10cf5c47cc442568840e810"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProviderErrorCode\u0060 swallows every exception into \u0060return \u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agentmail-api.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dd4b42280fd50ef1a990994a0594f7c2ff26979ea2bac1d06e2dabcb2756a6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bigint\u0060 swallows every exception into \u0060return 0n\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":"server/src/services/chat-discord.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bb390abce223766aa8970fb839537b5ca28cc1e82e8f45543047bd509db81"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060managedSourcePaths\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":"server/src/services/git-workspace-restoration.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aadfeafd37dd962531e939768cf784dfc82dd56b12b6764e372d6e85edd01d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060expired\u0060 (in \u0060cloneConsumers\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":"server/src/services/isolated-repository-rehome.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d581c74e0510d0694bedd73191b2c421fc771c0dcc1ef0bbe0a36893ab8aa0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listLocalServiceRegistryRecords\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":"server/src/services/local-service-supervisor.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b918edb253383600c5a6d5c7747c15aad73cd9608ac6c33232dc4b2c131b1d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060defaultWorkspaceRuntimeExposureDeps.isBrokerAvailable\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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e16a8d37eef21a3a425e616f6dd3589122f4ab4b5e515999154ade70bdc4ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060defaultWorkspaceRuntimeExposureDeps.probeHealth\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":"server/src/services/workspace-runtime.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d842143d078d0629e4d3382c0f8f49f8beeb66d1b5ecf283300bdd8363a261"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060spawnLocalRuntimeService.readServiceOutputExcerpt\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-runtime.ts"},"region":{"startLine":6843}}}],"partialFingerprints":{"codehealthFindingId/v1":"79501824555cb9bb13741ed9b5fc6ab9e85298146756cb1d0a65c2c63c242bea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createPluginEnvironmentDriver.isPendingCleanupWorkerReady\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":"server/src/services/environment-runtime.ts"},"region":{"startLine":3752}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d2372d7d26c25364a04242e11f106a2abd9355cb427752a3b91fbc148dab64"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060auditSafeEndpoint\u0060 swallows every exception into \u0060return \u0022configured remote MCP endpoint\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-gateway.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c3d32cc351ac909bfbb43d701c4d2d5afc25adfb9a631ea2ebe17bcb56c5cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createToolGatewayService.browserUseSessionAuthorized\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":"server/src/services/tool-gateway.ts"},"region":{"startLine":11523}}}],"partialFingerprints":{"codehealthFindingId/v1":"685dd69ec6bced6552f287079febfdd5d63d1848f430e813ed5185f0836f3418"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060json\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":"server/src/services/subscription-identity.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e257d59581891e7046ef78c7f69c7acc6565a2f887d73277c185fb68b96b5f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060retire\u0060 (in \u0060admitExplicitNativeContinuation\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":"server/src/services/explicit-native-continuation.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecccbcda794420fb4a3eb74967c5bbf69225b81c049c971e86dfafc3aebf58dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060originFramesOf\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":"server/src/middleware/secret-sensitive-request-error.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc0128aaa50380ae76e73a258cb6eee4a8cecb286b396d4cc1fd26813a5818c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060agentDirectoryWorkingCopyService.hasChanges\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-directory-working-copies.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dee4e2ba993b9eb96ab66fbc74e28af9a99063ab5dddeead13af82787ae501e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060uncertainExternalAction\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/workspace-recovery-fallback.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"af72a32b4dfeeafcce0c88834cc7de63caeee81bcf1049308474dcc6d4f9fa0d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060agentInstructionWorkingCopyService.hasChanges\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/agent-instruction-working-copies.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a1e706deb3e6dc5d2df702a17406704a747f4b906b29877444be1ff2f3dabf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createSlackManagerGrants.available\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":"server/src/services/connectors/slack/setup/manager-grants.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7591344c84d6e2dbee01c113f7888d619c6513feb0d36e942caf702f5f73460d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toolAccessService.defaultLinkName\u0060 swallows every exception into \u0060return \u0022MCP app\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/tool-access.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e36f80c2ad8b50fc54986398c77df7c5d86c5c3e45d5f45b7efb3f8dbe5e277"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060runnerdAuthorityLifecycle\u0060 swallows every exception into \u0060return \u0022indeterminate\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e27bdfd711011e8a15c0a08eddc0e7a94f94473ad9d206e8b58d897975a2d5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readRemoteRunnerExitEvidence\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":"server/src/services/native-runtime/native-session-executor.ts"},"region":{"startLine":15442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271f1a34e6221caee4e51523c5306a65b6ea19217d0f3344225ecde1a4b9bc1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validControllerOutageReceipt\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":"tests/runner-e2e/controller-outage.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c8cf747f6308df3161bb54e919ee6a51822904bfce27478dfe984338e36cb6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toolResult\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":"tests/runner-e2e/api-artifact-transfer.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c788cfafdcb7d617962d68a337f0e1f1fc0cae9f37c0ae412c60dd241e8714d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readSnapshot\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":"tests/runner-e2e/remote-native-fixtures.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb361cd2dc2231ab933dd2099045ee2866d71e159c49fa73c7842cad15993486"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060mislabeledIssueLinks\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":"tests/runner-e2e/chat-rendered-links.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e067dd91f361f866787b32ae8f37ad41d90611b26169b517e9b7d01e6709dbe3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060verifyConnectionArtifact\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":"tests/runner-e2e/connection-evidence.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"478c8288d34997dac2f8fb7e6de9070d9156d42da4e1c907d6b8fe0598807beb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeBraintrustUrl\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":"tests/runner-e2e/braintrust-experiment.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34e773a3234df3456361a158b4c3c7968c9699e7d33fd037a6646702f4597f6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadShardDurations\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/general-server-shard.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bcf7586997c19733be3fce7d99a2b08cdc58f8c39109a5bb510ff7c4d9e457"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeAcpxLocations\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/paperclip-runner/src/drivers/acpx/safe-locations.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a936c538fb73da4e8ae40030350b0f476dfc271f6c004f71038737f67d835d4b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060traceMetadata.records\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/paperclip-runner/src/eval/live-workflow-executor.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"10df0925e0d9ebab13fa30b96cabf29c22d473bbfe9440e8ea62c009e0d20981"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseBindingMetadata\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5a169040ab2a6d240b6841764609f234009366f2ef448521ba7cd71e2a31cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonObject\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e298d322b525c2f85891941fe6d00ba77f6903136183f753ebfa053cc219eef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listLocalFiles\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/plugins/plugin-llm-wiki/src/wiki/core.ts"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c329f19d9fbd005a9e3ec9bdef138b2dd5ea331aaca4b52c914a2edd1ad5aa0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060thumbnail\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/shared/src/cliplab/renderer.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5decf77a6a19f8a5407dc28b17de77b4b395c7c9f6f3168d2b903d799d82e5a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060currentListenerIdentity\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tailscale-https-broker/src/broker-core.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae2bddcee376d189925eb1d6c70301c0011d3005f8204aa69c299c1fe2e5c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060run\u0060 swallows every exception into \u0060return \u0022unavailable\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/agent-build-cache.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"45872dfe42f273c6ad542ba79ab78a11b5ea8fa3fc6c642d359aae249d9a68f3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readRustcVersion\u0060 swallows every exception into \u0060return \u0022no-rustc\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runner-release-crate-cache.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9950e69c3048d211a59d3bcc0e381d71d7f6065bf4c84af575aa638dc30b972"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060requestUrlFromHeaders\u0060 swallows every exception into \u0060return \u0022https\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/src/auth/better-auth.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bfa68a63db920c3de6ba9ac6868655bf931044033dc6dc249d6888d71ab603"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060collectMergedPrSamples\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/pr-run-durations.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c01ef59a6d129ce45fbc68820d3cce6f03a05f50d93068c46f0f4c6c477be5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060version\u0060 swallows every exception into \u0060return \u0022unavailable\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ci/run-task.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c21814a2c3ebdc74e356d82d892e1e05ebe72831d1af339d2737afc4710cb43"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060version\u0060 swallows every exception into \u0060return \u0022unavailable\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/local-verify/inputs.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fdb814f21f6cfb1d7a594e44147a895f6aa5dd18bb14c79b32cc69a6de2066"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchVersions\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/release-registry-versions.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60a71c8dd41a3cd0209bea24657547d1e5de748b8c97c635a5cf2be174017f6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bundledPluginMetadata\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":"server/src/routes/plugins.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1571b92fe791a6bad0b2638d75c6955260d551bcc625ca17a4774455dfe7867a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060receipts\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":"tests/restart-chaos/disk-full-faults.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f74e7ce1c907abf08683a64fbf02b726695e37e5b46a217913108c9059f89b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProviderFaultEvents\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":"tests/restart-chaos/provider-faults.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e961af2510885777eb30b81773f47c9d0b9b36aa96e1f8d27446dbbbb5eb18"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseRecoveryStepReceipts\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":"tests/restart-chaos/recovery-step-faults.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f28f284e0fcd247a7f61feacbe5fff7d6a761d70ae869b813e8898557575b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060liveProcessCommands\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":"tests/runner-e2e/instance-retention.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3487c9d3c49431985fc8176f264d642cffbcbc24d98ca96d76beb0b0a05a1973"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060serverLogOffset\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/supervisor.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1c10e36b5fa2cfb64be698afcc514f7d1bc563da8f5f78ac3678e77eb724f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPhase\u0060 swallows every exception into \u0060return \u0022unreachable\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/supervisor.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1745716077f47aac03925c1f5bcf6220b9a05222a8f7a65845a6fcac08085f8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060git\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/restart-chaos/main.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb562c79e8af6e3cebeda963bf18430d26762386afd998b3baeaba80c66f37b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060campaignDatabaseEvidenceEligible\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":"tests/runner-e2e/chat-campaign.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3987a18b5095037b1f5e0caac07d3a2298d13e0c42218c40602cfb0be47775"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060reviewReplyStaysOnRecord\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":"tests/runner-e2e/chat-catalog-domains/external-app-review-outcomes.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7c016ca026cbe81655da196bc947d29ab2e247d77411d6747c58e19a57512f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060responseCode\u0060 swallows every exception into \u0060return \u0022invalid_body\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-app-review-probe.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9203f28d71f35a514a9b43e35b8d4f05f2d76acdfb776c26faac154d67ae09"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060publicSignInStorageMatches\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":"tests/runner-e2e/chat-catalog-domains/external-public-signin-contract.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"81594a4987c8a23e7eaef501f7c54c39da05f413dcff9065790876b936ce22c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060stage\u0060 swallows every exception into \u0060return \u0022unknown\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/external-chatgpt.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9463b50786de2776d3213b369a1e051ad87a4f1ca63a4a61d8a83d5034eb4122"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeChatgptSetup\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":"tests/runner-e2e/chat-catalog-domains/external-chatgpt-setup.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bb08487f203f02fe7d9f00c9316fb622cedcff33d6f830551d69120547d60c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060agentLink\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":"tests/runner-e2e/chat-catalog-domains/runtime-support.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c2229052fc517d185a7f57922d7fbaf70d849146c022cd1c9d9428bc5001ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeScopedAssistant\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":"tests/runner-e2e/chat-catalog-domains/external-assistant-scoped.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f709ddf8c8d33dd834c0909b4c67d18627063b630141fe64b0bd25b0fd5ab72"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060linksMissingTeamCatalogPage\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":"tests/runner-e2e/chat-catalog-domains/external-teams.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34ac4c5bda0db0ef53ad878972efd282c9a618c2cbc2256783d84b37129467d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeSecureKey\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":"tests/runner-e2e/chat-catalog-domains/external-secure-key.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b970521253ef37a0157acc4ca2883495c650a33f8464054cd1edc3aa030797fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060previewLink\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":"tests/runner-e2e/chat-catalog-domains/external-plugin-tool.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda8acd56950f125c62cf9bdb5f5f6a5533f0265f0647357ce7378277e2f01b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validSlackHumanConnect\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":"tests/runner-e2e/chat-catalog-domains/external-slack-human-contract.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b260411db7985ba34b451970e1fa26b4e331c307f89f3523db27d3e33ad90e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060relatedRequestHref\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":"tests/runner-e2e/chat-catalog-domains/external-wrong-resolver.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd1bbfa91e212906d9370cde54f43e5cbae60652c8dffb50e83b2f7713d969b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060notionStorageMatches\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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth-contract.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"971a0324f74edc8c4dbfb64a1148dacba0e7b6f7c6a06547e497b328061d3fb3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validNotionOAuthInput\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":"tests/runner-e2e/chat-catalog-domains/external-notion-oauth-contract.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b82f487aacfb727ffc5c729300aef4b45244eab4ef4e75e25d2c259a5dec946"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060personalSecretConfirmation\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":"tests/runner-e2e/chat-catalog-domains/external-personal-secret.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b23ea0c4a5d9afbfbb9054b06a2dd32c0f845c51d51752dfc6834e5cb5f297"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060membersPageLinks\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":"tests/runner-e2e/chat-catalog-domains/identity-access-grants.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d84410d4da83c85f5bd8e8f7f4bf0f416f3886fb15cd1b4cd9a6f88f77e53a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060foreignTaskLinks\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":"tests/runner-e2e/chat-catalog-domains/identity-access.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9024e719adcbd7765350b988a8272c02a3e5d50cc14b6d780c55cec6e18434"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060costsPageLinked\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":"tests/runner-e2e/chat-catalog-domains/identity-accounting.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5029ebbe5aabf64df32f23a4d88cc5a3df3a629a63842d1cfa4328bb534a1bd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validHireModelChoice\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":"tests/runner-e2e/chat-catalog-domains/identity-hire-model-choice.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde9565c4139dcbf9d6a2777c7b388297b55fcc06b7c53f248bc17d8e006c450"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060targetsSimilar\u0060 (in \u0060substitutesOriginal\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":"tests/runner-e2e/chat-catalog-domains/identity-navigation-boundaries.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a2eb2c2a51edcbf199e48166ee1efd9da708c88cc3fa31fc2595a341241d9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060reference\u0060 (in \u0060savedDesignInstruction\u0060) swallows every exception into \u0060return \u0022{{OTHERREF}}\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/chat-catalog-domains/internal-comment-reference.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a424c7f0907b75b0d8336d2ecb4291b39b2e58766b2aac7a4bdd5cf047c4d0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeQuestions\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":"tests/runner-e2e/chat-catalog-domains/identity-questions-and-approvals.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"339f3bf37c21ce5383b78abe1c07eaba22fee385b8138cc7ec29212ada89e4cd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resultHref\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":"tests/runner-e2e/chat-catalog-domains/integrator-support.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb00f7aa6f4c1044217cd4c1ad006c94dda6bdb9517faa29ee52f315efc6ae92"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeIntegratorCaseHistory\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":"tests/runner-e2e/chat-catalog-domains/integrator-case-history.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4ae27b24d6b57707ac5049d148169ed4b12321b786b30c52e7d2a89fd877b0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060privateWorkUndisclosed\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":"tests/runner-e2e/chat-catalog-domains/recorded-work-claims.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1281ef8cf8b5b6221f9c76036f8dc258a2e7ad947eadaa8acb772cb6671a0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060experimentalSettingsHref\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":"tests/runner-e2e/chat-catalog-domains/integrator-cases.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba17a353c825727e719a7a92ae6339c18b01f81abfd8e4acc390d0d40785e84"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pluginSettingsHref\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":"tests/runner-e2e/chat-catalog-domains/integrator-plugin-routine.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0ffcfd747e74b242fb5a33fa6a0e7fb7ad84c2861db19a35b6ba2a552b8bca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060linksTo\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":"tests/runner-e2e/chat-catalog-domains/integrator-routines.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dbe995f9f56c559adc5e264e39f200ea5548e27b833775ce2236bd64b52490"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060authorProfileLinked\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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfe15fef73d9932789db0963f632fbba5bf0b3de87e5731fbd37f5470bce73c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060statusBoardHref\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":"tests/runner-e2e/chat-catalog-domains/integrator-status-cards.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d7218227a4eba4a84e520779974c8a5d4b49f95548658694baa07fd7d9a68a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060commentaryHref\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":"tests/runner-e2e/chat-catalog-domains/internal-agent-feedback.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc10ba1706a929d0b8eb6b3b931fe9a25a81708712a94694fa473c8a3c95890"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fileLink\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":"tests/runner-e2e/chat-catalog-domains/internal-artifact-search.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e168d4836bdf3d357eedb9823d095c6971ba716d43fefb4a652b2f0b3edf5a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060approvalLink\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":"tests/runner-e2e/chat-catalog-domains/internal-decision-search.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1f59f0cd10dcfef1a159cd9458bb08801a809474c7be4ac6d46935d3452080"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060returnedTaskLink\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":"tests/runner-e2e/chat-catalog-domains/internal-design-search.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93c7b5aaccbddc54d861d03ff1d0bdd6a13206db0cd1cc26190b41cd2b5de30"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradePrivateDownload\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":"tests/runner-e2e/chat-catalog-domains/internal-private-download.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"906fed272b4e82884fb86d7e0f5f8fff9e55740a482396334d97effe2dba4c47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060mineLink\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":"tests/runner-e2e/chat-catalog-domains/internal-inbox-search.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb35dbd68e3d4e7e6b5509a0431828b3c7c82d50b56177de837f459c4a48146"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060usefulTriagePath\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":"tests/runner-e2e/chat-catalog-domains/internal-inbox-triage.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5f3b53a792adfc1998d854e4f90417be04daf7d1ef26b4dedb324a6539aa45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060actualToast\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":"tests/runner-e2e/chat-catalog-domains/internal-notification-audience.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8545605d75987d2023c7ab18f0003f2e1a69f3c4d396828c799b23777c34eb1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060routineLinks\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":"tests/runner-e2e/chat-catalog-domains/internal-routine-audit.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"766f701d96524c21b0a60102de7279e363a296851799b1bcc83985360b8cc82d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060runHref\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":"tests/runner-e2e/chat-catalog-domains/internal-run-history.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c79f02121dcdc92eacdab04ed3e4703b1380ae2369d17cbaabd9ea4c533b7a4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLinkedQuestionDom\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":"tests/runner-e2e/chat-linked-question.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea1ddcd6d9afc8ae7535d0aeea5fea2aa34cd537dc10c6d15c0fcbb9a0e156"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060downloadHref\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":"tests/runner-e2e/chat-catalog-domains/internal-website-delivery.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2abdcff21d939e5f4fd35ebbf0b37350620b90afaa122b86b16df8b81794936"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060reportsTarget\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":"tests/runner-e2e/chat-catalog-domains/privileged-owned-dev.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f64294de88de86b4d5fbf4f11ad72884064a8990e10e24774ad73b8529a15d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060zipEntryTexts\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":"tests/runner-e2e/chat-catalog-domains/runtime-queue.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"63831aa834fa13a9abf808709691caebe9575983b393166188fc422dffe2edc1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060agentKeyControlsLink\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":"tests/runner-e2e/chat-catalog-domains/runtime-agent-keys.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58c4fc57e60ef437098f43067cb01006bc73b9d41caf40a4266da3c3388d263"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hireDeniedHumanPathLink\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":"tests/runner-e2e/chat-catalog-domains/runtime-agents.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2ff11819841d3e607811973dc37a62df1bca9e4f004239e8e88891a22f0db"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060environmentSettingsLink\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":"tests/runner-e2e/chat-catalog-domains/runtime-capability-choice.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deea5cec45d9e9841acab84759bfd927fd069aa608a96fda622fdd34326bf51"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060supportedClaudeSetupLink\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":"tests/runner-e2e/chat-catalog-domains/runtime-claude-account.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18a240604ee62a811443f3731c0942990b4866f3e33b7cd823f104155e1d9e2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060linksOpenTask\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":"tests/runner-e2e/chat-catalog-domains/runtime-delegation.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d083ac36177fd11cf9f9b18e538549ad1eabaf74c2c5f85c89afe0c7fe36bb4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeLocateFiles\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":"tests/runner-e2e/chat-catalog-domains/runtime-workspaces.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d38f22ca1eb3f1cb60ff6c76da4bf3e636d5159e88c069dc905f69cd0af028"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060repliesLinkApproval\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":"tests/runner-e2e/chat-catalog-domains/runtime-hiring.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7034c8c06ccc20054231765af5ae1e9f0f35b22c7431eb5bde4fb2620a4f9798"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeRememberPreview\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":"tests/runner-e2e/chat-catalog-domains/runtime-history.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"368891b322160d95f3a732b6d01bd7ee002fe57521047f099f0855dca525934f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradeContextIntegrity\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":"tests/runner-e2e/context-integrity-scoring.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f9704f4d7b071d412be5c3fa85758c5c0e33f5797f7ad4c529fdf2fd4df6a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060reapNewDetachedDarwinSharedMemory\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":"tests/runner-e2e/shared-memory.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecae46f7cd38f5f638ef461a65ea4fe5e081e66f25977ae8a6c1c0e0c891c70"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060dependencyOutputMatches\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":"tests/runner-e2e/product-journeys/task-dependency-resume-evidence.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d6dde12a15a0cde2939ef7fa10ecff1440faf7a9d7b379f78991295f09d558"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060privateRefusalCode\u0060 swallows every exception into \u0060return \u0022unnamed\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runner-e2e/private-refusal-code.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59f2a94dd5498924cf00b41e0ed0190932d1886e332715f2f4e75a8617a410d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gradePlanTask\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":"tests/runner-e2e/plan-task-scoring.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a53ea9b1e4ea90099a5d2daa7f7a72fe94030bf603bec94c14706d0514a501"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProjectOrder\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":"ui/src/lib/project-order.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf19efb4f2c814d45978a60b51f7d63a4becd0bcf29fc2700145a4b8ddb3d4d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readProjectSortMode\u0060 swallows every exception into \u0060return \u0022top\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/project-order.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f24cf30768a6b848978851cf4c5c26b39f2d4cf9adbf08fda4ebfe216962d6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readRecentSelectionIds\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":"ui/src/lib/recent-selections.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efee76d676e3189ca6b506d24e60783b386f45817c9536115008ff6e7cb7df7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readRecentTasks\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":"ui/src/lib/recent-tasks.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7727b6914f73476960343993e723765035ff5ca97ad6de1919ce8977c58a0b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060useBackgroundSubmitQueue.readQueue\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":"ui/src/hooks/useBackgroundSubmitQueue.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"74656aaa5a8db72f05b21c1828992dfcfa3dd39139bdfdd8557817ea58067511"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAgentOrder\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":"ui/src/lib/agent-order.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ece95f84270c7dfd4cf85270eaaf882e78162b53bbd61315de7e62e4574a1f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAgentSortMode\u0060 swallows every exception into \u0060return \u0022top\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/agent-order.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"272c534a0cbb98937eaab4d543fad930d6a3bd63be56fc6de1923d75f0afdd73"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadInboxWorkItemGroupBy\u0060 swallows every exception into \u0060return \u0022none\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7db4fcdb7b19fab3bdaf47b7dcbd4abd07a174203e231e90868eec3e9598c35"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadLastInboxTab\u0060 swallows every exception into \u0060return \u0022mine\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/inbox.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d5d04877ce2d6d6acd4433ac6c281737eba6965c844d10f64159b3aac4a779"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060serializeParams\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/plugins/bridge.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43b35080c7b3f497e4145922ac193b399353bbc19070a738b32162510a4afe7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DesignSandboxProvider\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/context/DesignSandboxContext.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6b44ccd5f52e8e9e0da14645fe8ec9feabb1068bbcba2d66fc5fbb2d3d6642"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IssueRecoveryActionCard\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":"ui/src/components/IssueRecoveryActionCard.tsx"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"d816b404894006ea8bf4fa9d0ba265d7e94ae4c1ce8be56de3bf4b4e56099c0d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadDraftAttachments\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":"ui/src/lib/composer-draft.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d3c6591c734242b08b6f7f4e65595a40e51c84a00df874d9aed99fc2dab27b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadFoldedDocumentKeys\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":"ui/src/components/IssueDocumentsSection.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42cb22310b0bb8e04e95e1b55f41fb0f1d5de4f36c48f59d9eb022712b22ab7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validateWorkspaceForm\u0060 swallows every exception into \u0060return \u0022Repo URL must be a valid URL.\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ProjectWorkspaceDetail.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f3cf4677e71fee54ce7e4277d8374c6b3f3f9d43e58bd7fa5f8d6682e5a1a5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadRecentSearches\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":"ui/src/lib/recent-searches.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47fe3a0fdcf7200e40e8d17dacd1ae7e65a3eec76ce283a7cc245c0274986da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060AllUnfiledBanner\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":"ui/src/components/folders/FolderControls.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb439a28eac056773976096874442365a44ef1899a751278c3be8618857650c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatDetailValue\u0060 swallows every exception into \u0060return \u0022[unserializable]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineActivityRow.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1b86553089c65d41b4a693747059dc4ea046d4007faae203863069ce099dd7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getLocalTimezone\u0060 swallows every exception into \u0060return \u0022UTC\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"04be5d4035c2a9c5ffdcec8219c00e476bb4b0be42cb63d4d2c2e4002360056d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validateForm\u0060 swallows every exception into \u0060return \u0022Repo URL must be a valid URL.\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/ExecutionWorkspaceDetail.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01409dd1ad171e0eac8d2de5662efc211c06672c9c39e0fc763a373e88d798f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadAttentionGroupBy\u0060 swallows every exception into \u0060return \u0022none\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/attention.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0170e3bdd3ee95c3c75bb120c194f5584adec55fc77d298b2260704228663"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readEmailSetupDraft\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":"ui/src/pages/apps/chat/EmailEndpointSetup.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6742f790e61684369e4b2f34a0c96208fa55b34f99a6b31bf43149dd30bb272f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SourceDialog\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":"ui/src/pages/SkillSources.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ce067e5a3c2ef6ee8b681899c4908a8068c61083343b831fee58225024e63"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getLocalTimezone\u0060 swallows every exception into \u0060return \u0022UTC\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/RoutineTriggerCard.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"566fb70b1d94b704be6e50f43116fc0bcac564b513650ad8f4cee98f72cb1473"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getLocalTimezone\u0060 swallows every exception into \u0060return \u0022UTC\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/pages/RoutineDetail.production.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"490c629b4322858db19634e1a6c9c87a5f830deffa830621620f92245c7c8be9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pathOf\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/artifact-directions/directions/d3-tactile/kind.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa04f782480a1fe2128607ac8f2139740d0b712ac0f19f475e9290bb8e1be436"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadDraft\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/components/CommentThread.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b131bacdfb53523b77c2cd78a3fca846d12d91c1655d898a07a8d40dc8fcfcc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAccessDraft\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":"ui/src/features/connections/remote-mcp/RemoteMcpProductionSetup.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0743b8e1655607752519c6ae7e703ee782aa54a9798e8f31b4bfd3cdf84a69e1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parse\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":"ui/src/hooks/usePinnedNavigation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b41e157d049129a5236e281a9b8ffdfb6e2a68aa5f3085576327b9e58bdc52e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060useBrowserArrivals\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/hooks/useTaskBrowsers.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff0dfc11072e5e13cc442a4386b3642f5c8583ca84d902619bc6b0deb82dd9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060artifactUrl\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/artifact-card-data.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3ddbb9e1a13d9f44ee35ca9f9241939964fc3f9fbc9a68bf8d35934e98a2b2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readOAuthWindowOutcome\u0060 swallows every exception into \u0060return \u0022waiting\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/lib/oauthWindowOutcome.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5236366ab640789fef9ac082bc33f391513c5ff46af132576bb8e2e5b9c39a2f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060startPersistedQueryCache.readSaved\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":"ui/src/lib/persisted-query-cache.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"82810872c7793308a5b4c00e920d8f50d6fbe2ccf01e8ee1cae579556f5d7058"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseRecentAgentChats\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":"ui/src/lib/recent-agent-chats.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e132549c0f0c266a4c28fb47a8f59af043650cabc1c9d07cfb9542a2bb61919"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060useButtonPreviewStates\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":"ui/storybook/support/design-proposals/useButtonPreviewStates.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b847aa19d1bcbe544cae0e320b0f3d49405dd2f71e8444d722bed8a8ec7b2"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060path.startsWith(\u0022//\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060path.startsWith(\u0022//\u0022)\u0060 also satisfies \u0060path.startsWith(\u0022/\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-thread-normalization.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c986c9bc90842e073a1dc264659f7e9d129f367af0024d18e31907379e6a3d"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060candidate.startsWith(\u0022//\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060candidate.startsWith(\u0022//\u0022)\u0060 also satisfies \u0060candidate.startsWith(\u0022/\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/paperclip-runner/src/drivers/codex/codex-turn-diff.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbf0d15c2b474a5e922b8f2612bcd35e7740314d528865bec1503da5a6f24a9"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060normalized.endsWith(\u0022@paperclipai/server/src/index.ts\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060normalized.endsWith(\u0022@paperclipai/server/src/index.ts\u0022)\u0060 also satisfies \u0060normalized.endsWith(\u0022/server/src/index.ts\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/commands/run.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b59fe0d19f05bbe7af41dc0d2339a5b2c0b21e29b3c86a8e90f9d04b322cd10"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":156,"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."]}]}